{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
{-# OPTIONS_GHC -Wno-unused-imports#-}
{-# OPTIONS_GHC -Wno-duplicate-exports#-}
{-# OPTIONS_GHC -Wno-dodgy-exports#-}
module Proto.Temporal.Sdk.Core.Common.Common (
NamespacedWorkflowExecution(), VersioningIntent(..),
VersioningIntent(), VersioningIntent'UnrecognizedValue
) 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
data NamespacedWorkflowExecution
= NamespacedWorkflowExecution'_constructor {NamespacedWorkflowExecution -> Text
_NamespacedWorkflowExecution'namespace :: !Data.Text.Text,
NamespacedWorkflowExecution -> Text
_NamespacedWorkflowExecution'workflowId :: !Data.Text.Text,
NamespacedWorkflowExecution -> Text
_NamespacedWorkflowExecution'runId :: !Data.Text.Text,
NamespacedWorkflowExecution -> FieldSet
_NamespacedWorkflowExecution'_unknownFields :: !Data.ProtoLens.FieldSet}
deriving stock (NamespacedWorkflowExecution -> NamespacedWorkflowExecution -> Bool
(NamespacedWorkflowExecution
-> NamespacedWorkflowExecution -> Bool)
-> (NamespacedWorkflowExecution
-> NamespacedWorkflowExecution -> Bool)
-> Eq NamespacedWorkflowExecution
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: NamespacedWorkflowExecution -> NamespacedWorkflowExecution -> Bool
== :: NamespacedWorkflowExecution -> NamespacedWorkflowExecution -> Bool
$c/= :: NamespacedWorkflowExecution -> NamespacedWorkflowExecution -> Bool
/= :: NamespacedWorkflowExecution -> NamespacedWorkflowExecution -> Bool
Prelude.Eq, Eq NamespacedWorkflowExecution
Eq NamespacedWorkflowExecution =>
(NamespacedWorkflowExecution
-> NamespacedWorkflowExecution -> Ordering)
-> (NamespacedWorkflowExecution
-> NamespacedWorkflowExecution -> Bool)
-> (NamespacedWorkflowExecution
-> NamespacedWorkflowExecution -> Bool)
-> (NamespacedWorkflowExecution
-> NamespacedWorkflowExecution -> Bool)
-> (NamespacedWorkflowExecution
-> NamespacedWorkflowExecution -> Bool)
-> (NamespacedWorkflowExecution
-> NamespacedWorkflowExecution -> NamespacedWorkflowExecution)
-> (NamespacedWorkflowExecution
-> NamespacedWorkflowExecution -> NamespacedWorkflowExecution)
-> Ord NamespacedWorkflowExecution
NamespacedWorkflowExecution -> NamespacedWorkflowExecution -> Bool
NamespacedWorkflowExecution
-> NamespacedWorkflowExecution -> Ordering
NamespacedWorkflowExecution
-> NamespacedWorkflowExecution -> NamespacedWorkflowExecution
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: NamespacedWorkflowExecution
-> NamespacedWorkflowExecution -> Ordering
compare :: NamespacedWorkflowExecution
-> NamespacedWorkflowExecution -> Ordering
$c< :: NamespacedWorkflowExecution -> NamespacedWorkflowExecution -> Bool
< :: NamespacedWorkflowExecution -> NamespacedWorkflowExecution -> Bool
$c<= :: NamespacedWorkflowExecution -> NamespacedWorkflowExecution -> Bool
<= :: NamespacedWorkflowExecution -> NamespacedWorkflowExecution -> Bool
$c> :: NamespacedWorkflowExecution -> NamespacedWorkflowExecution -> Bool
> :: NamespacedWorkflowExecution -> NamespacedWorkflowExecution -> Bool
$c>= :: NamespacedWorkflowExecution -> NamespacedWorkflowExecution -> Bool
>= :: NamespacedWorkflowExecution -> NamespacedWorkflowExecution -> Bool
$cmax :: NamespacedWorkflowExecution
-> NamespacedWorkflowExecution -> NamespacedWorkflowExecution
max :: NamespacedWorkflowExecution
-> NamespacedWorkflowExecution -> NamespacedWorkflowExecution
$cmin :: NamespacedWorkflowExecution
-> NamespacedWorkflowExecution -> NamespacedWorkflowExecution
min :: NamespacedWorkflowExecution
-> NamespacedWorkflowExecution -> NamespacedWorkflowExecution
Prelude.Ord)
instance Prelude.Show NamespacedWorkflowExecution where
showsPrec :: Int -> NamespacedWorkflowExecution -> ShowS
showsPrec Int
_ NamespacedWorkflowExecution
__x String
__s
= Char -> ShowS
Prelude.showChar
Char
'{'
(String -> ShowS
Prelude.showString
(NamespacedWorkflowExecution -> String
forall msg. Message msg => msg -> String
Data.ProtoLens.showMessageShort NamespacedWorkflowExecution
__x) (Char -> ShowS
Prelude.showChar Char
'}' String
__s))
instance Data.ProtoLens.Field.HasField NamespacedWorkflowExecution "namespace" Data.Text.Text where
fieldOf :: forall (f :: * -> *).
Functor f =>
Proxy# "namespace"
-> (Text -> f Text)
-> NamespacedWorkflowExecution
-> f NamespacedWorkflowExecution
fieldOf Proxy# "namespace"
_
= ((Text -> f Text)
-> NamespacedWorkflowExecution -> f NamespacedWorkflowExecution)
-> ((Text -> f Text) -> Text -> f Text)
-> (Text -> f Text)
-> NamespacedWorkflowExecution
-> f NamespacedWorkflowExecution
forall b c a. (b -> c) -> (a -> b) -> a -> c
(Prelude..)
((NamespacedWorkflowExecution -> Text)
-> (NamespacedWorkflowExecution
-> Text -> NamespacedWorkflowExecution)
-> Lens
NamespacedWorkflowExecution NamespacedWorkflowExecution Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.Family2.Unchecked.lens
NamespacedWorkflowExecution -> Text
_NamespacedWorkflowExecution'namespace
(\ NamespacedWorkflowExecution
x__ Text
y__ -> NamespacedWorkflowExecution
x__ {_NamespacedWorkflowExecution'namespace = y__}))
(Text -> f Text) -> Text -> f Text
forall a. a -> a
Prelude.id
instance Data.ProtoLens.Field.HasField NamespacedWorkflowExecution "workflowId" Data.Text.Text where
fieldOf :: forall (f :: * -> *).
Functor f =>
Proxy# "workflowId"
-> (Text -> f Text)
-> NamespacedWorkflowExecution
-> f NamespacedWorkflowExecution
fieldOf Proxy# "workflowId"
_
= ((Text -> f Text)
-> NamespacedWorkflowExecution -> f NamespacedWorkflowExecution)
-> ((Text -> f Text) -> Text -> f Text)
-> (Text -> f Text)
-> NamespacedWorkflowExecution
-> f NamespacedWorkflowExecution
forall b c a. (b -> c) -> (a -> b) -> a -> c
(Prelude..)
((NamespacedWorkflowExecution -> Text)
-> (NamespacedWorkflowExecution
-> Text -> NamespacedWorkflowExecution)
-> Lens
NamespacedWorkflowExecution NamespacedWorkflowExecution Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.Family2.Unchecked.lens
NamespacedWorkflowExecution -> Text
_NamespacedWorkflowExecution'workflowId
(\ NamespacedWorkflowExecution
x__ Text
y__ -> NamespacedWorkflowExecution
x__ {_NamespacedWorkflowExecution'workflowId = y__}))
(Text -> f Text) -> Text -> f Text
forall a. a -> a
Prelude.id
instance Data.ProtoLens.Field.HasField NamespacedWorkflowExecution "runId" Data.Text.Text where
fieldOf :: forall (f :: * -> *).
Functor f =>
Proxy# "runId"
-> (Text -> f Text)
-> NamespacedWorkflowExecution
-> f NamespacedWorkflowExecution
fieldOf Proxy# "runId"
_
= ((Text -> f Text)
-> NamespacedWorkflowExecution -> f NamespacedWorkflowExecution)
-> ((Text -> f Text) -> Text -> f Text)
-> (Text -> f Text)
-> NamespacedWorkflowExecution
-> f NamespacedWorkflowExecution
forall b c a. (b -> c) -> (a -> b) -> a -> c
(Prelude..)
((NamespacedWorkflowExecution -> Text)
-> (NamespacedWorkflowExecution
-> Text -> NamespacedWorkflowExecution)
-> Lens
NamespacedWorkflowExecution NamespacedWorkflowExecution Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.Family2.Unchecked.lens
NamespacedWorkflowExecution -> Text
_NamespacedWorkflowExecution'runId
(\ NamespacedWorkflowExecution
x__ Text
y__ -> NamespacedWorkflowExecution
x__ {_NamespacedWorkflowExecution'runId = y__}))
(Text -> f Text) -> Text -> f Text
forall a. a -> a
Prelude.id
instance Data.ProtoLens.Message NamespacedWorkflowExecution where
messageName :: Proxy NamespacedWorkflowExecution -> Text
messageName Proxy NamespacedWorkflowExecution
_
= String -> Text
Data.Text.pack String
"coresdk.common.NamespacedWorkflowExecution"
packedMessageDescriptor :: Proxy NamespacedWorkflowExecution -> ByteString
packedMessageDescriptor Proxy NamespacedWorkflowExecution
_
= ByteString
"\n\
\\ESCNamespacedWorkflowExecution\DC2\FS\n\
\\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2\US\n\
\\vworkflow_id\CAN\STX \SOH(\tR\n\
\workflowId\DC2\NAK\n\
\\ACKrun_id\CAN\ETX \SOH(\tR\ENQrunId"
packedFileDescriptor :: Proxy NamespacedWorkflowExecution -> ByteString
packedFileDescriptor Proxy NamespacedWorkflowExecution
_ = ByteString
packedFileDescriptor
fieldsByTag :: Map Tag (FieldDescriptor NamespacedWorkflowExecution)
fieldsByTag
= let
namespace__field_descriptor :: FieldDescriptor NamespacedWorkflowExecution
namespace__field_descriptor
= String
-> FieldTypeDescriptor Text
-> FieldAccessor NamespacedWorkflowExecution Text
-> FieldDescriptor NamespacedWorkflowExecution
forall value msg.
String
-> FieldTypeDescriptor value
-> FieldAccessor msg value
-> FieldDescriptor msg
Data.ProtoLens.FieldDescriptor
String
"namespace"
(ScalarField Text -> FieldTypeDescriptor Text
forall value. ScalarField value -> FieldTypeDescriptor value
Data.ProtoLens.ScalarField ScalarField Text
Data.ProtoLens.StringField ::
Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
(WireDefault Text
-> Lens
NamespacedWorkflowExecution NamespacedWorkflowExecution Text Text
-> FieldAccessor NamespacedWorkflowExecution Text
forall value msg.
WireDefault value -> Lens' msg value -> FieldAccessor msg value
Data.ProtoLens.PlainField
WireDefault Text
forall value. (FieldDefault value, Eq value) => WireDefault value
Data.ProtoLens.Optional
(forall (x :: Symbol) s a (f :: * -> *).
(HasField s x a, Functor f) =>
(a -> f a) -> s -> f s
Data.ProtoLens.Field.field @"namespace")) ::
Data.ProtoLens.FieldDescriptor NamespacedWorkflowExecution
workflowId__field_descriptor :: FieldDescriptor NamespacedWorkflowExecution
workflowId__field_descriptor
= String
-> FieldTypeDescriptor Text
-> FieldAccessor NamespacedWorkflowExecution Text
-> FieldDescriptor NamespacedWorkflowExecution
forall value msg.
String
-> FieldTypeDescriptor value
-> FieldAccessor msg value
-> FieldDescriptor msg
Data.ProtoLens.FieldDescriptor
String
"workflow_id"
(ScalarField Text -> FieldTypeDescriptor Text
forall value. ScalarField value -> FieldTypeDescriptor value
Data.ProtoLens.ScalarField ScalarField Text
Data.ProtoLens.StringField ::
Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
(WireDefault Text
-> Lens
NamespacedWorkflowExecution NamespacedWorkflowExecution Text Text
-> FieldAccessor NamespacedWorkflowExecution Text
forall value msg.
WireDefault value -> Lens' msg value -> FieldAccessor msg value
Data.ProtoLens.PlainField
WireDefault Text
forall value. (FieldDefault value, Eq value) => WireDefault value
Data.ProtoLens.Optional
(forall (x :: Symbol) s a (f :: * -> *).
(HasField s x a, Functor f) =>
(a -> f a) -> s -> f s
Data.ProtoLens.Field.field @"workflowId")) ::
Data.ProtoLens.FieldDescriptor NamespacedWorkflowExecution
runId__field_descriptor :: FieldDescriptor NamespacedWorkflowExecution
runId__field_descriptor
= String
-> FieldTypeDescriptor Text
-> FieldAccessor NamespacedWorkflowExecution Text
-> FieldDescriptor NamespacedWorkflowExecution
forall value msg.
String
-> FieldTypeDescriptor value
-> FieldAccessor msg value
-> FieldDescriptor msg
Data.ProtoLens.FieldDescriptor
String
"run_id"
(ScalarField Text -> FieldTypeDescriptor Text
forall value. ScalarField value -> FieldTypeDescriptor value
Data.ProtoLens.ScalarField ScalarField Text
Data.ProtoLens.StringField ::
Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
(WireDefault Text
-> Lens
NamespacedWorkflowExecution NamespacedWorkflowExecution Text Text
-> FieldAccessor NamespacedWorkflowExecution Text
forall value msg.
WireDefault value -> Lens' msg value -> FieldAccessor msg value
Data.ProtoLens.PlainField
WireDefault Text
forall value. (FieldDefault value, Eq value) => WireDefault value
Data.ProtoLens.Optional (forall (x :: Symbol) s a (f :: * -> *).
(HasField s x a, Functor f) =>
(a -> f a) -> s -> f s
Data.ProtoLens.Field.field @"runId")) ::
Data.ProtoLens.FieldDescriptor NamespacedWorkflowExecution
in
[(Tag, FieldDescriptor NamespacedWorkflowExecution)]
-> Map Tag (FieldDescriptor NamespacedWorkflowExecution)
forall k a. Ord k => [(k, a)] -> Map k a
Data.Map.fromList
[(Int -> Tag
Data.ProtoLens.Tag Int
1, FieldDescriptor NamespacedWorkflowExecution
namespace__field_descriptor),
(Int -> Tag
Data.ProtoLens.Tag Int
2, FieldDescriptor NamespacedWorkflowExecution
workflowId__field_descriptor),
(Int -> Tag
Data.ProtoLens.Tag Int
3, FieldDescriptor NamespacedWorkflowExecution
runId__field_descriptor)]
unknownFields :: Lens' NamespacedWorkflowExecution FieldSet
unknownFields
= (NamespacedWorkflowExecution -> FieldSet)
-> (NamespacedWorkflowExecution
-> FieldSet -> NamespacedWorkflowExecution)
-> Lens' NamespacedWorkflowExecution FieldSet
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.Family2.Unchecked.lens
NamespacedWorkflowExecution -> FieldSet
_NamespacedWorkflowExecution'_unknownFields
(\ NamespacedWorkflowExecution
x__ FieldSet
y__
-> NamespacedWorkflowExecution
x__ {_NamespacedWorkflowExecution'_unknownFields = y__})
defMessage :: NamespacedWorkflowExecution
defMessage
= NamespacedWorkflowExecution'_constructor
{_NamespacedWorkflowExecution'namespace :: Text
_NamespacedWorkflowExecution'namespace = Text
forall value. FieldDefault value => value
Data.ProtoLens.fieldDefault,
_NamespacedWorkflowExecution'workflowId :: Text
_NamespacedWorkflowExecution'workflowId = Text
forall value. FieldDefault value => value
Data.ProtoLens.fieldDefault,
_NamespacedWorkflowExecution'runId :: Text
_NamespacedWorkflowExecution'runId = Text
forall value. FieldDefault value => value
Data.ProtoLens.fieldDefault,
_NamespacedWorkflowExecution'_unknownFields :: FieldSet
_NamespacedWorkflowExecution'_unknownFields = []}
parseMessage :: Parser NamespacedWorkflowExecution
parseMessage
= let
loop ::
NamespacedWorkflowExecution
-> Data.ProtoLens.Encoding.Bytes.Parser NamespacedWorkflowExecution
loop :: NamespacedWorkflowExecution -> Parser NamespacedWorkflowExecution
loop NamespacedWorkflowExecution
x
= do end <- Parser Bool
Data.ProtoLens.Encoding.Bytes.atEnd
if end then
do (let missing = []
in
if Prelude.null missing then
Prelude.return ()
else
Prelude.fail
((Prelude.++)
"Missing required fields: "
(Prelude.show (missing :: [Prelude.String]))))
Prelude.return
(Lens.Family2.over
Data.ProtoLens.unknownFields (\ !FieldSet
t -> FieldSet -> FieldSet
forall a. [a] -> [a]
Prelude.reverse FieldSet
t) x)
else
do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
case tag of
Word64
10
-> do y <- Parser Text -> String -> Parser Text
forall a. Parser a -> String -> Parser a
(Data.ProtoLens.Encoding.Bytes.<?>)
(do len <- Parser Word64
Data.ProtoLens.Encoding.Bytes.getVarInt
Data.ProtoLens.Encoding.Bytes.getText
(Prelude.fromIntegral len))
String
"namespace"
loop
(Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
Word64
18
-> do y <- Parser Text -> String -> Parser Text
forall a. Parser a -> String -> Parser a
(Data.ProtoLens.Encoding.Bytes.<?>)
(do len <- Parser Word64
Data.ProtoLens.Encoding.Bytes.getVarInt
Data.ProtoLens.Encoding.Bytes.getText
(Prelude.fromIntegral len))
String
"workflow_id"
loop
(Lens.Family2.set (Data.ProtoLens.Field.field @"workflowId") y x)
Word64
26
-> do y <- Parser Text -> String -> Parser Text
forall a. Parser a -> String -> Parser a
(Data.ProtoLens.Encoding.Bytes.<?>)
(do len <- Parser Word64
Data.ProtoLens.Encoding.Bytes.getVarInt
Data.ProtoLens.Encoding.Bytes.getText
(Prelude.fromIntegral len))
String
"run_id"
loop (Lens.Family2.set (Data.ProtoLens.Field.field @"runId") y x)
Word64
wire
-> do !y <- Word64 -> Parser TaggedValue
Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
Word64
wire
loop
(Lens.Family2.over
Data.ProtoLens.unknownFields (\ !FieldSet
t -> (:) TaggedValue
y FieldSet
t) x)
in
Parser NamespacedWorkflowExecution
-> String -> Parser NamespacedWorkflowExecution
forall a. Parser a -> String -> Parser a
(Data.ProtoLens.Encoding.Bytes.<?>)
(do NamespacedWorkflowExecution -> Parser NamespacedWorkflowExecution
loop NamespacedWorkflowExecution
forall msg. Message msg => msg
Data.ProtoLens.defMessage) String
"NamespacedWorkflowExecution"
buildMessage :: NamespacedWorkflowExecution -> Builder
buildMessage
= \ NamespacedWorkflowExecution
_x
-> Builder -> Builder -> Builder
forall a. Semigroup a => a -> a -> a
(Data.Monoid.<>)
(let
_v :: Text
_v = FoldLike
Text
NamespacedWorkflowExecution
NamespacedWorkflowExecution
Text
Text
-> NamespacedWorkflowExecution -> Text
forall a s t b. FoldLike a s t a b -> s -> a
Lens.Family2.view (forall (x :: Symbol) s a (f :: * -> *).
(HasField s x a, Functor f) =>
(a -> f a) -> s -> f s
Data.ProtoLens.Field.field @"namespace") NamespacedWorkflowExecution
_x
in
if Text -> Text -> Bool
forall a. Eq a => a -> a -> Bool
(Prelude.==) Text
_v Text
forall value. FieldDefault value => value
Data.ProtoLens.fieldDefault then
Builder
forall a. Monoid a => a
Data.Monoid.mempty
else
Builder -> Builder -> Builder
forall a. Semigroup a => a -> a -> a
(Data.Monoid.<>)
(Word64 -> Builder
Data.ProtoLens.Encoding.Bytes.putVarInt Word64
10)
((ByteString -> Builder) -> (Text -> ByteString) -> Text -> Builder
forall b c a. (b -> c) -> (a -> b) -> a -> c
(Prelude..)
(\ ByteString
bs
-> Builder -> Builder -> Builder
forall a. Semigroup a => a -> a -> a
(Data.Monoid.<>)
(Word64 -> Builder
Data.ProtoLens.Encoding.Bytes.putVarInt
(Int -> Word64
forall a b. (Integral a, Num b) => a -> b
Prelude.fromIntegral (ByteString -> Int
Data.ByteString.length ByteString
bs)))
(ByteString -> Builder
Data.ProtoLens.Encoding.Bytes.putBytes ByteString
bs))
Text -> ByteString
Data.Text.Encoding.encodeUtf8 Text
_v))
(Builder -> Builder -> Builder
forall a. Semigroup a => a -> a -> a
(Data.Monoid.<>)
(let
_v :: Text
_v
= FoldLike
Text
NamespacedWorkflowExecution
NamespacedWorkflowExecution
Text
Text
-> NamespacedWorkflowExecution -> Text
forall a s t b. FoldLike a s t a b -> s -> a
Lens.Family2.view (forall (x :: Symbol) s a (f :: * -> *).
(HasField s x a, Functor f) =>
(a -> f a) -> s -> f s
Data.ProtoLens.Field.field @"workflowId") NamespacedWorkflowExecution
_x
in
if Text -> Text -> Bool
forall a. Eq a => a -> a -> Bool
(Prelude.==) Text
_v Text
forall value. FieldDefault value => value
Data.ProtoLens.fieldDefault then
Builder
forall a. Monoid a => a
Data.Monoid.mempty
else
Builder -> Builder -> Builder
forall a. Semigroup a => a -> a -> a
(Data.Monoid.<>)
(Word64 -> Builder
Data.ProtoLens.Encoding.Bytes.putVarInt Word64
18)
((ByteString -> Builder) -> (Text -> ByteString) -> Text -> Builder
forall b c a. (b -> c) -> (a -> b) -> a -> c
(Prelude..)
(\ ByteString
bs
-> Builder -> Builder -> Builder
forall a. Semigroup a => a -> a -> a
(Data.Monoid.<>)
(Word64 -> Builder
Data.ProtoLens.Encoding.Bytes.putVarInt
(Int -> Word64
forall a b. (Integral a, Num b) => a -> b
Prelude.fromIntegral (ByteString -> Int
Data.ByteString.length ByteString
bs)))
(ByteString -> Builder
Data.ProtoLens.Encoding.Bytes.putBytes ByteString
bs))
Text -> ByteString
Data.Text.Encoding.encodeUtf8 Text
_v))
(Builder -> Builder -> Builder
forall a. Semigroup a => a -> a -> a
(Data.Monoid.<>)
(let
_v :: Text
_v = FoldLike
Text
NamespacedWorkflowExecution
NamespacedWorkflowExecution
Text
Text
-> NamespacedWorkflowExecution -> Text
forall a s t b. FoldLike a s t a b -> s -> a
Lens.Family2.view (forall (x :: Symbol) s a (f :: * -> *).
(HasField s x a, Functor f) =>
(a -> f a) -> s -> f s
Data.ProtoLens.Field.field @"runId") NamespacedWorkflowExecution
_x
in
if Text -> Text -> Bool
forall a. Eq a => a -> a -> Bool
(Prelude.==) Text
_v Text
forall value. FieldDefault value => value
Data.ProtoLens.fieldDefault then
Builder
forall a. Monoid a => a
Data.Monoid.mempty
else
Builder -> Builder -> Builder
forall a. Semigroup a => a -> a -> a
(Data.Monoid.<>)
(Word64 -> Builder
Data.ProtoLens.Encoding.Bytes.putVarInt Word64
26)
((ByteString -> Builder) -> (Text -> ByteString) -> Text -> Builder
forall b c a. (b -> c) -> (a -> b) -> a -> c
(Prelude..)
(\ ByteString
bs
-> Builder -> Builder -> Builder
forall a. Semigroup a => a -> a -> a
(Data.Monoid.<>)
(Word64 -> Builder
Data.ProtoLens.Encoding.Bytes.putVarInt
(Int -> Word64
forall a b. (Integral a, Num b) => a -> b
Prelude.fromIntegral (ByteString -> Int
Data.ByteString.length ByteString
bs)))
(ByteString -> Builder
Data.ProtoLens.Encoding.Bytes.putBytes ByteString
bs))
Text -> ByteString
Data.Text.Encoding.encodeUtf8 Text
_v))
(FieldSet -> Builder
Data.ProtoLens.Encoding.Wire.buildFieldSet
(FoldLike
FieldSet
NamespacedWorkflowExecution
NamespacedWorkflowExecution
FieldSet
FieldSet
-> NamespacedWorkflowExecution -> FieldSet
forall a s t b. FoldLike a s t a b -> s -> a
Lens.Family2.view FoldLike
FieldSet
NamespacedWorkflowExecution
NamespacedWorkflowExecution
FieldSet
FieldSet
forall msg. Message msg => Lens' msg FieldSet
Lens' NamespacedWorkflowExecution FieldSet
Data.ProtoLens.unknownFields NamespacedWorkflowExecution
_x))))
instance Control.DeepSeq.NFData NamespacedWorkflowExecution where
rnf :: NamespacedWorkflowExecution -> ()
rnf
= \ NamespacedWorkflowExecution
x__
-> FieldSet -> () -> ()
forall a b. NFData a => a -> b -> b
Control.DeepSeq.deepseq
(NamespacedWorkflowExecution -> FieldSet
_NamespacedWorkflowExecution'_unknownFields NamespacedWorkflowExecution
x__)
(Text -> () -> ()
forall a b. NFData a => a -> b -> b
Control.DeepSeq.deepseq
(NamespacedWorkflowExecution -> Text
_NamespacedWorkflowExecution'namespace NamespacedWorkflowExecution
x__)
(Text -> () -> ()
forall a b. NFData a => a -> b -> b
Control.DeepSeq.deepseq
(NamespacedWorkflowExecution -> Text
_NamespacedWorkflowExecution'workflowId NamespacedWorkflowExecution
x__)
(Text -> () -> ()
forall a b. NFData a => a -> b -> b
Control.DeepSeq.deepseq
(NamespacedWorkflowExecution -> Text
_NamespacedWorkflowExecution'runId NamespacedWorkflowExecution
x__) ())))
newtype VersioningIntent'UnrecognizedValue
= VersioningIntent'UnrecognizedValue Data.Int.Int32
deriving stock (VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool
(VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool)
-> (VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool)
-> Eq VersioningIntent'UnrecognizedValue
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool
== :: VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool
$c/= :: VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool
/= :: VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool
Prelude.Eq, Eq VersioningIntent'UnrecognizedValue
Eq VersioningIntent'UnrecognizedValue =>
(VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Ordering)
-> (VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool)
-> (VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool)
-> (VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool)
-> (VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool)
-> (VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue)
-> (VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue)
-> Ord VersioningIntent'UnrecognizedValue
VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool
VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Ordering
VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Ordering
compare :: VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Ordering
$c< :: VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool
< :: VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool
$c<= :: VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool
<= :: VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool
$c> :: VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool
> :: VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool
$c>= :: VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool
>= :: VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue -> Bool
$cmax :: VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue
max :: VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue
$cmin :: VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue
min :: VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue
-> VersioningIntent'UnrecognizedValue
Prelude.Ord, Int -> VersioningIntent'UnrecognizedValue -> ShowS
[VersioningIntent'UnrecognizedValue] -> ShowS
VersioningIntent'UnrecognizedValue -> String
(Int -> VersioningIntent'UnrecognizedValue -> ShowS)
-> (VersioningIntent'UnrecognizedValue -> String)
-> ([VersioningIntent'UnrecognizedValue] -> ShowS)
-> Show VersioningIntent'UnrecognizedValue
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> VersioningIntent'UnrecognizedValue -> ShowS
showsPrec :: Int -> VersioningIntent'UnrecognizedValue -> ShowS
$cshow :: VersioningIntent'UnrecognizedValue -> String
show :: VersioningIntent'UnrecognizedValue -> String
$cshowList :: [VersioningIntent'UnrecognizedValue] -> ShowS
showList :: [VersioningIntent'UnrecognizedValue] -> ShowS
Prelude.Show)
data VersioningIntent
= UNSPECIFIED |
COMPATIBLE |
DEFAULT |
VersioningIntent'Unrecognized !VersioningIntent'UnrecognizedValue
deriving stock (Int -> VersioningIntent -> ShowS
[VersioningIntent] -> ShowS
VersioningIntent -> String
(Int -> VersioningIntent -> ShowS)
-> (VersioningIntent -> String)
-> ([VersioningIntent] -> ShowS)
-> Show VersioningIntent
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> VersioningIntent -> ShowS
showsPrec :: Int -> VersioningIntent -> ShowS
$cshow :: VersioningIntent -> String
show :: VersioningIntent -> String
$cshowList :: [VersioningIntent] -> ShowS
showList :: [VersioningIntent] -> ShowS
Prelude.Show, VersioningIntent -> VersioningIntent -> Bool
(VersioningIntent -> VersioningIntent -> Bool)
-> (VersioningIntent -> VersioningIntent -> Bool)
-> Eq VersioningIntent
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: VersioningIntent -> VersioningIntent -> Bool
== :: VersioningIntent -> VersioningIntent -> Bool
$c/= :: VersioningIntent -> VersioningIntent -> Bool
/= :: VersioningIntent -> VersioningIntent -> Bool
Prelude.Eq, Eq VersioningIntent
Eq VersioningIntent =>
(VersioningIntent -> VersioningIntent -> Ordering)
-> (VersioningIntent -> VersioningIntent -> Bool)
-> (VersioningIntent -> VersioningIntent -> Bool)
-> (VersioningIntent -> VersioningIntent -> Bool)
-> (VersioningIntent -> VersioningIntent -> Bool)
-> (VersioningIntent -> VersioningIntent -> VersioningIntent)
-> (VersioningIntent -> VersioningIntent -> VersioningIntent)
-> Ord VersioningIntent
VersioningIntent -> VersioningIntent -> Bool
VersioningIntent -> VersioningIntent -> Ordering
VersioningIntent -> VersioningIntent -> VersioningIntent
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: VersioningIntent -> VersioningIntent -> Ordering
compare :: VersioningIntent -> VersioningIntent -> Ordering
$c< :: VersioningIntent -> VersioningIntent -> Bool
< :: VersioningIntent -> VersioningIntent -> Bool
$c<= :: VersioningIntent -> VersioningIntent -> Bool
<= :: VersioningIntent -> VersioningIntent -> Bool
$c> :: VersioningIntent -> VersioningIntent -> Bool
> :: VersioningIntent -> VersioningIntent -> Bool
$c>= :: VersioningIntent -> VersioningIntent -> Bool
>= :: VersioningIntent -> VersioningIntent -> Bool
$cmax :: VersioningIntent -> VersioningIntent -> VersioningIntent
max :: VersioningIntent -> VersioningIntent -> VersioningIntent
$cmin :: VersioningIntent -> VersioningIntent -> VersioningIntent
min :: VersioningIntent -> VersioningIntent -> VersioningIntent
Prelude.Ord)
instance Data.ProtoLens.MessageEnum VersioningIntent where
maybeToEnum :: Int -> Maybe VersioningIntent
maybeToEnum Int
0 = VersioningIntent -> Maybe VersioningIntent
forall a. a -> Maybe a
Prelude.Just VersioningIntent
UNSPECIFIED
maybeToEnum Int
1 = VersioningIntent -> Maybe VersioningIntent
forall a. a -> Maybe a
Prelude.Just VersioningIntent
COMPATIBLE
maybeToEnum Int
2 = VersioningIntent -> Maybe VersioningIntent
forall a. a -> Maybe a
Prelude.Just VersioningIntent
DEFAULT
maybeToEnum Int
k
= VersioningIntent -> Maybe VersioningIntent
forall a. a -> Maybe a
Prelude.Just
(VersioningIntent'UnrecognizedValue -> VersioningIntent
VersioningIntent'Unrecognized
(Int32 -> VersioningIntent'UnrecognizedValue
VersioningIntent'UnrecognizedValue (Int -> Int32
forall a b. (Integral a, Num b) => a -> b
Prelude.fromIntegral Int
k)))
showEnum :: VersioningIntent -> String
showEnum VersioningIntent
UNSPECIFIED = String
"UNSPECIFIED"
showEnum VersioningIntent
COMPATIBLE = String
"COMPATIBLE"
showEnum VersioningIntent
DEFAULT = String
"DEFAULT"
showEnum
(VersioningIntent'Unrecognized (VersioningIntent'UnrecognizedValue Int32
k))
= Int32 -> String
forall a. Show a => a -> String
Prelude.show Int32
k
readEnum :: String -> Maybe VersioningIntent
readEnum String
k
| String -> String -> Bool
forall a. Eq a => a -> a -> Bool
(Prelude.==) String
k String
"UNSPECIFIED" = VersioningIntent -> Maybe VersioningIntent
forall a. a -> Maybe a
Prelude.Just VersioningIntent
UNSPECIFIED
| String -> String -> Bool
forall a. Eq a => a -> a -> Bool
(Prelude.==) String
k String
"COMPATIBLE" = VersioningIntent -> Maybe VersioningIntent
forall a. a -> Maybe a
Prelude.Just VersioningIntent
COMPATIBLE
| String -> String -> Bool
forall a. Eq a => a -> a -> Bool
(Prelude.==) String
k String
"DEFAULT" = VersioningIntent -> Maybe VersioningIntent
forall a. a -> Maybe a
Prelude.Just VersioningIntent
DEFAULT
| Bool
Prelude.otherwise
= Maybe Int
-> (Int -> Maybe VersioningIntent) -> Maybe VersioningIntent
forall a b. Maybe a -> (a -> Maybe b) -> Maybe b
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
(Prelude.>>=) (String -> Maybe Int
forall a. Read a => String -> Maybe a
Text.Read.readMaybe String
k) Int -> Maybe VersioningIntent
forall a. MessageEnum a => Int -> Maybe a
Data.ProtoLens.maybeToEnum
instance Prelude.Bounded VersioningIntent where
minBound :: VersioningIntent
minBound = VersioningIntent
UNSPECIFIED
maxBound :: VersioningIntent
maxBound = VersioningIntent
DEFAULT
instance Prelude.Enum VersioningIntent where
toEnum :: Int -> VersioningIntent
toEnum Int
k__
= VersioningIntent
-> (VersioningIntent -> VersioningIntent)
-> Maybe VersioningIntent
-> VersioningIntent
forall b a. b -> (a -> b) -> Maybe a -> b
Prelude.maybe
(String -> VersioningIntent
forall a. HasCallStack => String -> a
Prelude.error
(String -> ShowS
forall a. [a] -> [a] -> [a]
(Prelude.++)
String
"toEnum: unknown value for enum VersioningIntent: "
(Int -> String
forall a. Show a => a -> String
Prelude.show Int
k__)))
VersioningIntent -> VersioningIntent
forall a. a -> a
Prelude.id (Int -> Maybe VersioningIntent
forall a. MessageEnum a => Int -> Maybe a
Data.ProtoLens.maybeToEnum Int
k__)
fromEnum :: VersioningIntent -> Int
fromEnum VersioningIntent
UNSPECIFIED = Int
0
fromEnum VersioningIntent
COMPATIBLE = Int
1
fromEnum VersioningIntent
DEFAULT = Int
2
fromEnum
(VersioningIntent'Unrecognized (VersioningIntent'UnrecognizedValue Int32
k))
= Int32 -> Int
forall a b. (Integral a, Num b) => a -> b
Prelude.fromIntegral Int32
k
succ :: VersioningIntent -> VersioningIntent
succ VersioningIntent
DEFAULT
= String -> VersioningIntent
forall a. HasCallStack => String -> a
Prelude.error
String
"VersioningIntent.succ: bad argument DEFAULT. This value would be out of bounds."
succ VersioningIntent
UNSPECIFIED = VersioningIntent
COMPATIBLE
succ VersioningIntent
COMPATIBLE = VersioningIntent
DEFAULT
succ (VersioningIntent'Unrecognized VersioningIntent'UnrecognizedValue
_)
= String -> VersioningIntent
forall a. HasCallStack => String -> a
Prelude.error
String
"VersioningIntent.succ: bad argument: unrecognized value"
pred :: VersioningIntent -> VersioningIntent
pred VersioningIntent
UNSPECIFIED
= String -> VersioningIntent
forall a. HasCallStack => String -> a
Prelude.error
String
"VersioningIntent.pred: bad argument UNSPECIFIED. This value would be out of bounds."
pred VersioningIntent
COMPATIBLE = VersioningIntent
UNSPECIFIED
pred VersioningIntent
DEFAULT = VersioningIntent
COMPATIBLE
pred (VersioningIntent'Unrecognized VersioningIntent'UnrecognizedValue
_)
= String -> VersioningIntent
forall a. HasCallStack => String -> a
Prelude.error
String
"VersioningIntent.pred: bad argument: unrecognized value"
enumFrom :: VersioningIntent -> [VersioningIntent]
enumFrom = VersioningIntent -> [VersioningIntent]
forall a. (Enum a, Bounded a) => a -> [a]
Data.ProtoLens.Message.Enum.messageEnumFrom
enumFromTo :: VersioningIntent -> VersioningIntent -> [VersioningIntent]
enumFromTo = VersioningIntent -> VersioningIntent -> [VersioningIntent]
forall a. Enum a => a -> a -> [a]
Data.ProtoLens.Message.Enum.messageEnumFromTo
enumFromThen :: VersioningIntent -> VersioningIntent -> [VersioningIntent]
enumFromThen = VersioningIntent -> VersioningIntent -> [VersioningIntent]
forall a. (Enum a, Bounded a) => a -> a -> [a]
Data.ProtoLens.Message.Enum.messageEnumFromThen
enumFromThenTo :: VersioningIntent
-> VersioningIntent -> VersioningIntent -> [VersioningIntent]
enumFromThenTo = VersioningIntent
-> VersioningIntent -> VersioningIntent -> [VersioningIntent]
forall a. Enum a => a -> a -> a -> [a]
Data.ProtoLens.Message.Enum.messageEnumFromThenTo
instance Data.ProtoLens.FieldDefault VersioningIntent where
fieldDefault :: VersioningIntent
fieldDefault = VersioningIntent
UNSPECIFIED
instance Control.DeepSeq.NFData VersioningIntent where
rnf :: VersioningIntent -> ()
rnf VersioningIntent
x__ = VersioningIntent -> () -> ()
forall a b. a -> b -> b
Prelude.seq VersioningIntent
x__ ()
packedFileDescriptor :: Data.ByteString.ByteString
packedFileDescriptor :: ByteString
packedFileDescriptor
= ByteString
"\n\
\%temporal/sdk/core/common/common.proto\DC2\SOcoresdk.common\SUB\RSgoogle/protobuf/duration.proto\"s\n\
\\ESCNamespacedWorkflowExecution\DC2\FS\n\
\\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2\US\n\
\\vworkflow_id\CAN\STX \SOH(\tR\n\
\workflowId\DC2\NAK\n\
\\ACKrun_id\CAN\ETX \SOH(\tR\ENQrunId*@\n\
\\DLEVersioningIntent\DC2\SI\n\
\\vUNSPECIFIED\DLE\NUL\DC2\SO\n\
\\n\
\COMPATIBLE\DLE\SOH\DC2\v\n\
\\aDEFAULT\DLE\STXB\"\234\STX\USTemporalio::Bridge::Api::CommonJ\236\t\n\
\\ACK\DC2\EOT\NUL\NUL\US\SOH\n\
\\b\n\
\\SOH\f\DC2\ETX\NUL\NUL\DC2\n\
\\b\n\
\\SOH\STX\DC2\ETX\STX\NUL\ETB\n\
\\b\n\
\\SOH\b\DC2\ETX\ETX\NUL8\n\
\\t\n\
\\STX\b-\DC2\ETX\ETX\NUL8\n\
\\t\n\
\\STX\ETX\NUL\DC2\ETX\ENQ\NUL(\n\
\`\n\
\\STX\EOT\NUL\DC2\EOT\b\NUL\SI\SOH\SUBT Identifying information about a particular workflow execution, including namespace\n\
\\n\
\\n\
\\n\
\\ETX\EOT\NUL\SOH\DC2\ETX\b\b#\n\
\7\n\
\\EOT\EOT\NUL\STX\NUL\DC2\ETX\n\
\\EOT\EM\SUB* Namespace the workflow run is located in\n\
\\n\
\\f\n\
\\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX\n\
\\EOT\n\
\\n\
\\f\n\
\\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX\n\
\\v\DC4\n\
\\f\n\
\\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX\n\
\\ETB\CAN\n\
\!\n\
\\EOT\EOT\NUL\STX\SOH\DC2\ETX\f\EOT\ESC\SUB\DC4 Can never be empty\n\
\\n\
\\f\n\
\\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX\f\EOT\n\
\\n\
\\f\n\
\\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX\f\v\SYN\n\
\\f\n\
\\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX\f\EM\SUB\n\
\f\n\
\\EOT\EOT\NUL\STX\STX\DC2\ETX\SO\EOT\SYN\SUBY May be empty if the most recent run of the workflow with the given ID is being targeted\n\
\\n\
\\f\n\
\\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETX\SO\EOT\n\
\\n\
\\f\n\
\\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX\SO\v\DC1\n\
\\f\n\
\\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX\SO\DC4\NAK\n\
\\128\SOH\n\
\\STX\ENQ\NUL\DC2\EOT\DC3\NUL\US\SOH\SUBt An indication of user's intent concerning what Build ID versioning approach should be used for\n\
\ a specific command\n\
\\n\
\\n\
\\n\
\\ETX\ENQ\NUL\SOH\DC2\ETX\DC3\ENQ\NAK\n\
\\204\SOH\n\
\\EOT\ENQ\NUL\STX\NUL\DC2\ETX\ETB\EOT\DC4\SUB\190\SOH Indicates that core should choose the most sensible default behavior for the type of\n\
\ command, accounting for whether the command will be run on the same task queue as the current\n\
\ worker.\n\
\\n\
\\f\n\
\\ENQ\ENQ\NUL\STX\NUL\SOH\DC2\ETX\ETB\EOT\SI\n\
\\f\n\
\\ENQ\ENQ\NUL\STX\NUL\STX\DC2\ETX\ETB\DC2\DC3\n\
\\215\SOH\n\
\\EOT\ENQ\NUL\STX\SOH\DC2\ETX\ESC\EOT\DC3\SUB\201\SOH Indicates that the command should run on a worker with compatible version if possible. It may\n\
\ not be possible if the target task queue does not also have knowledge of the current worker's\n\
\ build ID.\n\
\\n\
\\f\n\
\\ENQ\ENQ\NUL\STX\SOH\SOH\DC2\ETX\ESC\EOT\SO\n\
\\f\n\
\\ENQ\ENQ\NUL\STX\SOH\STX\DC2\ETX\ESC\DC1\DC2\n\
\r\n\
\\EOT\ENQ\NUL\STX\STX\DC2\ETX\RS\EOT\DLE\SUBe Indicates that the command should run on the target task queue's current overall-default\n\
\ build ID.\n\
\\n\
\\f\n\
\\ENQ\ENQ\NUL\STX\STX\SOH\DC2\ETX\RS\EOT\v\n\
\\f\n\
\\ENQ\ENQ\NUL\STX\STX\STX\DC2\ETX\RS\SO\SIb\ACKproto3"