temporal-api-protos-2025.10.1.0: src/Proto/Temporal/Api/History/V1/Message.hs
{- 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"