diff --git a/Makefile b/Makefile
index f1877cfbf..1ddfba73f 100644
--- a/Makefile
+++ b/Makefile
@@ -2,4 +2,10 @@
default: echo
echo:
- @echo "Hello world!"
\ No newline at end of file
+ @echo "Hello world!"
+
+generate-proto:
+ php resources/scripts/generate-proto.php
+
+generate-client:
+ php resources/scripts/generate-client.php
diff --git a/api/GPBMetadata/Protocol.php b/api/GPBMetadata/Protocol.php
deleted file mode 100644
index 7a1bf807e..000000000
--- a/api/GPBMetadata/Protocol.php
+++ /dev/null
@@ -1,26 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0ac0020a0e70726f746f636f6c2e70726f746f121c74656d706f72616c2e726f616472756e6e65722e696e7465726e616c1a2574656d706f72616c2f6170692f6661696c7572652f76312f6d6573736167652e70726f746f22400a054672616d6512370a086d6573736167657318012003280b32252e74656d706f72616c2e726f616472756e6e65722e696e7465726e616c2e4d657373616765229e010a074d657373616765120a0a026964180120012804120f0a07636f6d6d616e64180220012809120f0a076f7074696f6e7318032001280c12310a076661696c75726518042001280b32202e74656d706f72616c2e6170692e6661696c7572652e76312e4661696c75726512320a087061796c6f61647318052001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f616473620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Command/V1/Message.php b/api/GPBMetadata/Temporal/Api/Command/V1/Message.php
deleted file mode 100644
index 06622cee4..000000000
--- a/api/GPBMetadata/Temporal/Api/Command/V1/Message.php
+++ /dev/null
@@ -1,31 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0ab72d0a2574656d706f72616c2f6170692f636f6d6d616e642f76312f6d6573736167652e70726f746f121774656d706f72616c2e6170692e636f6d6d616e642e76311a21646570656e64656e636965732f676f676f70726f746f2f676f676f2e70726f746f1a2474656d706f72616c2f6170692f656e756d732f76312f776f726b666c6f772e70726f746f1a2874656d706f72616c2f6170692f656e756d732f76312f636f6d6d616e645f747970652e70726f746f1a2474656d706f72616c2f6170692f636f6d6d6f6e2f76312f6d6573736167652e70726f746f1a2574656d706f72616c2f6170692f6661696c7572652f76312f6d6573736167652e70726f746f1a2774656d706f72616c2f6170692f7461736b71756575652f76312f6d6573736167652e70726f746f22e7040a255363686564756c6541637469766974795461736b436f6d6d616e644174747269627574657312130a0b61637469766974795f6964180120012809123b0a0d61637469766974795f7479706518022001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e41637469766974795479706512110a096e616d65737061636518032001280912380a0a7461736b5f717565756518042001280b32242e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b5175657565122e0a0668656164657218052001280b321e2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e486561646572122f0a05696e70757418062001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312420a197363686564756c655f746f5f636c6f73655f74696d656f757418072001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f0112420a197363686564756c655f746f5f73746172745f74696d656f757418082001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123f0a1673746172745f746f5f636c6f73655f74696d656f757418092001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123a0a116865617274626561745f74696d656f7574180a2001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f0112390a0c72657472795f706f6c696379180b2001280b32232e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5265747279506f6c69637922480a2a5265717565737443616e63656c41637469766974795461736b436f6d6d616e6441747472696275746573121a0a127363686564756c65645f6576656e745f6964180120012803226f0a1b537461727454696d6572436f6d6d616e644174747269627574657312100a0874696d65725f6964180120012809123e0a1573746172745f746f5f666972655f74696d656f757418022001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01225e0a2a436f6d706c657465576f726b666c6f77457865637574696f6e436f6d6d616e644174747269627574657312300a06726573756c7418012001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f616473225b0a264661696c576f726b666c6f77457865637574696f6e436f6d6d616e644174747269627574657312310a076661696c75726518012001280b32202e74656d706f72616c2e6170692e6661696c7572652e76312e4661696c75726522300a1c43616e63656c54696d6572436f6d6d616e644174747269627574657312100a0874696d65725f6964180120012809225d0a2843616e63656c576f726b666c6f77457865637574696f6e436f6d6d616e644174747269627574657312310a0764657461696c7318012001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f616473229f010a375265717565737443616e63656c45787465726e616c576f726b666c6f77457865637574696f6e436f6d6d616e644174747269627574657312110a096e616d65737061636518012001280912130a0b776f726b666c6f775f6964180220012809120e0a0672756e5f6964180320012809120f0a07636f6e74726f6c180420012809121b0a136368696c645f776f726b666c6f775f6f6e6c7918052001280822f7010a305369676e616c45787465726e616c576f726b666c6f77457865637574696f6e436f6d6d616e644174747269627574657312110a096e616d657370616365180120012809123c0a09657865637574696f6e18022001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e12130a0b7369676e616c5f6e616d65180320012809122f0a05696e70757418042001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f616473120f0a07636f6e74726f6c180520012809121b0a136368696c645f776f726b666c6f775f6f6e6c7918062001280822760a2f557073657274576f726b666c6f7753656172636841747472696275746573436f6d6d616e644174747269627574657312430a117365617263685f6174747269627574657318012001280b32282e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5365617263684174747269627574657322bf020a1d5265636f72644d61726b6572436f6d6d616e644174747269627574657312130a0b6d61726b65725f6e616d6518012001280912540a0764657461696c7318022003280b32432e74656d706f72616c2e6170692e636f6d6d616e642e76312e5265636f72644d61726b6572436f6d6d616e64417474726962757465732e44657461696c73456e747279122e0a0668656164657218032001280b321e2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e48656164657212310a076661696c75726518042001280b32202e74656d706f72616c2e6170692e6661696c7572652e76312e4661696c7572651a500a0c44657461696c73456e747279120b0a036b6579180120012809122f0a0576616c756518022001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f6164733a02380122c3060a2f436f6e74696e756541734e6577576f726b666c6f77457865637574696f6e436f6d6d616e6441747472696275746573123b0a0d776f726b666c6f775f7479706518012001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f775479706512380a0a7461736b5f717565756518022001280b32242e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b5175657565122f0a05696e70757418032001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f616473123d0a14776f726b666c6f775f72756e5f74696d656f757418042001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123e0a15776f726b666c6f775f7461736b5f74696d656f757418052001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123f0a166261636b6f66665f73746172745f696e74657276616c18062001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f0112390a0c72657472795f706f6c69637918072001280b32232e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5265747279506f6c69637912400a09696e69746961746f7218082001280e322d2e74656d706f72616c2e6170692e656e756d732e76312e436f6e74696e756541734e6577496e69746961746f7212310a076661696c75726518092001280b32202e74656d706f72616c2e6170692e6661696c7572652e76312e4661696c75726512400a166c6173745f636f6d706c6574696f6e5f726573756c74180a2001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312150a0d63726f6e5f7363686564756c65180b20012809122e0a06686561646572180c2001280b321e2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e486561646572122a0a046d656d6f180d2001280b321c2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e4d656d6f12430a117365617263685f61747472696275746573180e2001280b32282e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5365617263684174747269627574657322dd060a2c53746172744368696c64576f726b666c6f77457865637574696f6e436f6d6d616e644174747269627574657312110a096e616d65737061636518012001280912130a0b776f726b666c6f775f6964180220012809123b0a0d776f726b666c6f775f7479706518032001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f775479706512380a0a7461736b5f717565756518042001280b32242e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b5175657565122f0a05696e70757418052001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312430a1a776f726b666c6f775f657865637574696f6e5f74696d656f757418062001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123d0a14776f726b666c6f775f72756e5f74696d656f757418072001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123e0a15776f726b666c6f775f7461736b5f74696d656f757418082001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f0112450a13706172656e745f636c6f73655f706f6c69637918092001280e32282e74656d706f72616c2e6170692e656e756d732e76312e506172656e74436c6f7365506f6c696379120f0a07636f6e74726f6c180a20012809124e0a18776f726b666c6f775f69645f72657573655f706f6c696379180b2001280e322c2e74656d706f72616c2e6170692e656e756d732e76312e576f726b666c6f7749645265757365506f6c69637912390a0c72657472795f706f6c696379180c2001280b32232e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5265747279506f6c69637912150a0d63726f6e5f7363686564756c65180d20012809122e0a06686561646572180e2001280b321e2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e486561646572122a0a046d656d6f180f2001280b321c2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e4d656d6f12430a117365617263685f6174747269627574657318102001280b32282e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5365617263684174747269627574657322a20d0a07436f6d6d616e6412380a0c636f6d6d616e645f7479706518012001280e32222e74656d706f72616c2e6170692e656e756d732e76312e436f6d6d616e645479706512730a297363686564756c655f61637469766974795f7461736b5f636f6d6d616e645f6174747269627574657318022001280b323e2e74656d706f72616c2e6170692e636f6d6d616e642e76312e5363686564756c6541637469766974795461736b436f6d6d616e64417474726962757465734800125e0a1e73746172745f74696d65725f636f6d6d616e645f6174747269627574657318032001280b32342e74656d706f72616c2e6170692e636f6d6d616e642e76312e537461727454696d6572436f6d6d616e64417474726962757465734800127d0a2e636f6d706c6574655f776f726b666c6f775f657865637574696f6e5f636f6d6d616e645f6174747269627574657318042001280b32432e74656d706f72616c2e6170692e636f6d6d616e642e76312e436f6d706c657465576f726b666c6f77457865637574696f6e436f6d6d616e6441747472696275746573480012750a2a6661696c5f776f726b666c6f775f657865637574696f6e5f636f6d6d616e645f6174747269627574657318052001280b323f2e74656d706f72616c2e6170692e636f6d6d616e642e76312e4661696c576f726b666c6f77457865637574696f6e436f6d6d616e64417474726962757465734800127e0a2f726571756573745f63616e63656c5f61637469766974795f7461736b5f636f6d6d616e645f6174747269627574657318062001280b32432e74656d706f72616c2e6170692e636f6d6d616e642e76312e5265717565737443616e63656c41637469766974795461736b436f6d6d616e6441747472696275746573480012600a1f63616e63656c5f74696d65725f636f6d6d616e645f6174747269627574657318072001280b32352e74656d706f72616c2e6170692e636f6d6d616e642e76312e43616e63656c54696d6572436f6d6d616e6441747472696275746573480012790a2c63616e63656c5f776f726b666c6f775f657865637574696f6e5f636f6d6d616e645f6174747269627574657318082001280b32412e74656d706f72616c2e6170692e636f6d6d616e642e76312e43616e63656c576f726b666c6f77457865637574696f6e436f6d6d616e644174747269627574657348001299010a3d726571756573745f63616e63656c5f65787465726e616c5f776f726b666c6f775f657865637574696f6e5f636f6d6d616e645f6174747269627574657318092001280b32502e74656d706f72616c2e6170692e636f6d6d616e642e76312e5265717565737443616e63656c45787465726e616c576f726b666c6f77457865637574696f6e436f6d6d616e6441747472696275746573480012620a207265636f72645f6d61726b65725f636f6d6d616e645f61747472696275746573180a2001280b32362e74656d706f72616c2e6170692e636f6d6d616e642e76312e5265636f72644d61726b6572436f6d6d616e644174747269627574657348001289010a35636f6e74696e75655f61735f6e65775f776f726b666c6f775f657865637574696f6e5f636f6d6d616e645f61747472696275746573180b2001280b32482e74656d706f72616c2e6170692e636f6d6d616e642e76312e436f6e74696e756541734e6577576f726b666c6f77457865637574696f6e436f6d6d616e644174747269627574657348001282010a3173746172745f6368696c645f776f726b666c6f775f657865637574696f6e5f636f6d6d616e645f61747472696275746573180c2001280b32452e74656d706f72616c2e6170692e636f6d6d616e642e76312e53746172744368696c64576f726b666c6f77457865637574696f6e436f6d6d616e64417474726962757465734800128a010a357369676e616c5f65787465726e616c5f776f726b666c6f775f657865637574696f6e5f636f6d6d616e645f61747472696275746573180d2001280b32492e74656d706f72616c2e6170692e636f6d6d616e642e76312e5369676e616c45787465726e616c576f726b666c6f77457865637574696f6e436f6d6d616e644174747269627574657348001288010a347570736572745f776f726b666c6f775f7365617263685f617474726962757465735f636f6d6d616e645f61747472696275746573180e2001280b32482e74656d706f72616c2e6170692e636f6d6d616e642e76312e557073657274576f726b666c6f7753656172636841747472696275746573436f6d6d616e64417474726962757465734800420c0a0a6174747269627574657342700a1a696f2e74656d706f72616c2e6170692e636f6d6d616e642e7631420c4d65737361676550726f746f50015a25676f2e74656d706f72616c2e696f2f6170692f636f6d6d616e642f76313b636f6d6d616e64ea021a54656d706f72616c3a3a4170693a3a436f6d6d616e643a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Common/V1/Message.php b/api/GPBMetadata/Temporal/Api/Common/V1/Message.php
deleted file mode 100644
index 1b25b955f..000000000
--- a/api/GPBMetadata/Temporal/Api/Common/V1/Message.php
+++ /dev/null
@@ -1,27 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0add0a0a2474656d706f72616c2f6170692f636f6d6d6f6e2f76312f6d6573736167652e70726f746f121674656d706f72616c2e6170692e636f6d6d6f6e2e76311a21646570656e64656e636965732f676f676f70726f746f2f676f676f2e70726f746f1a2274656d706f72616c2f6170692f656e756d732f76312f636f6d6d6f6e2e70726f746f22540a0844617461426c6f62123a0a0d656e636f64696e675f7479706518012001280e32232e74656d706f72616c2e6170692e656e756d732e76312e456e636f64696e6754797065120c0a046461746118022001280c223d0a085061796c6f61647312310a087061796c6f61647318012003280b321f2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61642289010a075061796c6f6164123f0a086d6574616461746118012003280b322d2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61642e4d65746164617461456e747279120c0a046461746118022001280c1a2f0a0d4d65746164617461456e747279120b0a036b6579180120012809120d0a0576616c756518022001280c3a02380122be010a105365617263684174747269627574657312530a0e696e64657865645f6669656c647318012003280b323b2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e536561726368417474726962757465732e496e64657865644669656c6473456e7472791a550a12496e64657865644669656c6473456e747279120b0a036b6579180120012809122e0a0576616c756518022001280b321f2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61643a0238012290010a044d656d6f12380a066669656c647318012003280b32282e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e4d656d6f2e4669656c6473456e7472791a4e0a0b4669656c6473456e747279120b0a036b6579180120012809122e0a0576616c756518022001280b321f2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61643a0238012294010a06486561646572123a0a066669656c647318012003280b322a2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e4865616465722e4669656c6473456e7472791a4e0a0b4669656c6473456e747279120b0a036b6579180120012809122e0a0576616c756518022001280b321f2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61643a02380122380a11576f726b666c6f77457865637574696f6e12130a0b776f726b666c6f775f6964180120012809120e0a0672756e5f6964180220012809221c0a0c576f726b666c6f7754797065120c0a046e616d65180120012809221c0a0c416374697669747954797065120c0a046e616d6518012001280922dd010a0b5265747279506f6c69637912390a10696e697469616c5f696e74657276616c18012001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01121b0a136261636b6f66665f636f656666696369656e7418022001280112390a106d6178696d756d5f696e74657276616c18032001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f0112180a106d6178696d756d5f617474656d70747318042001280512210a196e6f6e5f726574727961626c655f6572726f725f7479706573180520032809426c0a19696f2e74656d706f72616c2e6170692e636f6d6d6f6e2e7631420c4d65737361676550726f746f50015a23676f2e74656d706f72616c2e696f2f6170692f636f6d6d6f6e2f76313b636f6d6d6f6eea021954656d706f72616c3a3a4170693a3a436f6d6d6f6e3a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Enums/V1/CommandType.php b/api/GPBMetadata/Temporal/Api/Enums/V1/CommandType.php
deleted file mode 100644
index 374362f9e..000000000
--- a/api/GPBMetadata/Temporal/Api/Enums/V1/CommandType.php
+++ /dev/null
@@ -1,24 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0aaa060a2874656d706f72616c2f6170692f656e756d732f76312f636f6d6d616e645f747970652e70726f746f121574656d706f72616c2e6170692e656e756d732e76312af0040a0b436f6d6d616e6454797065121c0a18434f4d4d414e445f545950455f554e535045434946494544100012270a23434f4d4d414e445f545950455f5343484544554c455f41435449564954595f5441534b1001122d0a29434f4d4d414e445f545950455f524551554553545f43414e43454c5f41435449564954595f5441534b1002121c0a18434f4d4d414e445f545950455f53544152545f54494d45521003122c0a28434f4d4d414e445f545950455f434f4d504c4554455f574f524b464c4f575f455845435554494f4e100412280a24434f4d4d414e445f545950455f4641494c5f574f524b464c4f575f455845435554494f4e1005121d0a19434f4d4d414e445f545950455f43414e43454c5f54494d45521006122a0a26434f4d4d414e445f545950455f43414e43454c5f574f524b464c4f575f455845435554494f4e1007123b0a37434f4d4d414e445f545950455f524551554553545f43414e43454c5f45585445524e414c5f574f524b464c4f575f455845435554494f4e1008121e0a1a434f4d4d414e445f545950455f5245434f52445f4d41524b4552100912330a2f434f4d4d414e445f545950455f434f4e54494e55455f41535f4e45575f574f524b464c4f575f455845435554494f4e100a122f0a2b434f4d4d414e445f545950455f53544152545f4348494c445f574f524b464c4f575f455845435554494f4e100b12330a2f434f4d4d414e445f545950455f5349474e414c5f45585445524e414c5f574f524b464c4f575f455845435554494f4e100c12320a2e434f4d4d414e445f545950455f5550534552545f574f524b464c4f575f5345415243485f41545452494255544553100d426c0a18696f2e74656d706f72616c2e6170692e656e756d732e76314210436f6d6d616e645479706550726f746f50015a21676f2e74656d706f72616c2e696f2f6170692f656e756d732f76313b656e756d73ea021854656d706f72616c3a3a4170693a3a456e756d733a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Enums/V1/Common.php b/api/GPBMetadata/Temporal/Api/Enums/V1/Common.php
deleted file mode 100644
index cf70f1ef0..000000000
--- a/api/GPBMetadata/Temporal/Api/Enums/V1/Common.php
+++ /dev/null
@@ -1,24 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0ade040a2274656d706f72616c2f6170692f656e756d732f76312f636f6d6d6f6e2e70726f746f121574656d706f72616c2e6170692e656e756d732e76312a5f0a0c456e636f64696e6754797065121d0a19454e434f44494e475f545950455f554e535045434946494544100012180a14454e434f44494e475f545950455f50524f544f33100112160a12454e434f44494e475f545950455f4a534f4e10022aee010a10496e646578656456616c75655479706512220a1e494e44455845445f56414c55455f545950455f554e5350454349464945441000121d0a19494e44455845445f56414c55455f545950455f535452494e471001121e0a1a494e44455845445f56414c55455f545950455f4b4559574f52441002121a0a16494e44455845445f56414c55455f545950455f494e541003121d0a19494e44455845445f56414c55455f545950455f444f55424c451004121b0a17494e44455845445f56414c55455f545950455f424f4f4c1005121f0a1b494e44455845445f56414c55455f545950455f4441544554494d4510062a5e0a08536576657269747912180a1453455645524954595f554e535045434946494544100012110a0d53455645524954595f48494748100112130a0f53455645524954595f4d454449554d100212100a0c53455645524954595f4c4f57100342670a18696f2e74656d706f72616c2e6170692e656e756d732e7631420b436f6d6d6f6e50726f746f50015a21676f2e74656d706f72616c2e696f2f6170692f656e756d732f76313b656e756d73ea021854656d706f72616c3a3a4170693a3a456e756d733a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Enums/V1/EventType.php b/api/GPBMetadata/Temporal/Api/Enums/V1/EventType.php
deleted file mode 100644
index 871932aea..000000000
--- a/api/GPBMetadata/Temporal/Api/Enums/V1/EventType.php
+++ /dev/null
@@ -1,24 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0a8d100a2674656d706f72616c2f6170692f656e756d732f76312f6576656e745f747970652e70726f746f121574656d706f72616c2e6170692e656e756d732e76312ad70e0a094576656e7454797065121a0a164556454e545f545950455f554e535045434946494544100012290a254556454e545f545950455f574f524b464c4f575f455845435554494f4e5f535441525445441001122b0a274556454e545f545950455f574f524b464c4f575f455845435554494f4e5f434f4d504c45544544100212280a244556454e545f545950455f574f524b464c4f575f455845435554494f4e5f4641494c45441003122b0a274556454e545f545950455f574f524b464c4f575f455845435554494f4e5f54494d45445f4f5554100412260a224556454e545f545950455f574f524b464c4f575f5441534b5f5343484544554c4544100512240a204556454e545f545950455f574f524b464c4f575f5441534b5f53544152544544100612260a224556454e545f545950455f574f524b464c4f575f5441534b5f434f4d504c45544544100712260a224556454e545f545950455f574f524b464c4f575f5441534b5f54494d45445f4f5554100812230a1f4556454e545f545950455f574f524b464c4f575f5441534b5f4641494c4544100912260a224556454e545f545950455f41435449564954595f5441534b5f5343484544554c4544100a12240a204556454e545f545950455f41435449564954595f5441534b5f53544152544544100b12260a224556454e545f545950455f41435449564954595f5441534b5f434f4d504c45544544100c12230a1f4556454e545f545950455f41435449564954595f5441534b5f4641494c4544100d12260a224556454e545f545950455f41435449564954595f5441534b5f54494d45445f4f5554100e122d0a294556454e545f545950455f41435449564954595f5441534b5f43414e43454c5f524551554553544544100f12250a214556454e545f545950455f41435449564954595f5441534b5f43414e43454c45441010121c0a184556454e545f545950455f54494d45525f535441525445441011121a0a164556454e545f545950455f54494d45525f46495245441012121d0a194556454e545f545950455f54494d45525f43414e43454c4544101312320a2e4556454e545f545950455f574f524b464c4f575f455845435554494f4e5f43414e43454c5f5245515545535445441014122a0a264556454e545f545950455f574f524b464c4f575f455845435554494f4e5f43414e43454c4544101512430a3f4556454e545f545950455f524551554553545f43414e43454c5f45585445524e414c5f574f524b464c4f575f455845435554494f4e5f494e49544941544544101612400a3c4556454e545f545950455f524551554553545f43414e43454c5f45585445524e414c5f574f524b464c4f575f455845435554494f4e5f4641494c45441017123b0a374556454e545f545950455f45585445524e414c5f574f524b464c4f575f455845435554494f4e5f43414e43454c5f5245515545535445441018121e0a1a4556454e545f545950455f4d41524b45525f5245434f524445441019122a0a264556454e545f545950455f574f524b464c4f575f455845435554494f4e5f5349474e414c4544101a122c0a284556454e545f545950455f574f524b464c4f575f455845435554494f4e5f5445524d494e41544544101b12320a2e4556454e545f545950455f574f524b464c4f575f455845435554494f4e5f434f4e54494e5545445f41535f4e4557101c12370a334556454e545f545950455f53544152545f4348494c445f574f524b464c4f575f455845435554494f4e5f494e49544941544544101d12340a304556454e545f545950455f53544152545f4348494c445f574f524b464c4f575f455845435554494f4e5f4641494c4544101e122f0a2b4556454e545f545950455f4348494c445f574f524b464c4f575f455845435554494f4e5f53544152544544101f12310a2d4556454e545f545950455f4348494c445f574f524b464c4f575f455845435554494f4e5f434f4d504c455445441020122e0a2a4556454e545f545950455f4348494c445f574f524b464c4f575f455845435554494f4e5f4641494c4544102112300a2c4556454e545f545950455f4348494c445f574f524b464c4f575f455845435554494f4e5f43414e43454c4544102212310a2d4556454e545f545950455f4348494c445f574f524b464c4f575f455845435554494f4e5f54494d45445f4f5554102312320a2e4556454e545f545950455f4348494c445f574f524b464c4f575f455845435554494f4e5f5445524d494e415445441024123b0a374556454e545f545950455f5349474e414c5f45585445524e414c5f574f524b464c4f575f455845435554494f4e5f494e49544941544544102512380a344556454e545f545950455f5349474e414c5f45585445524e414c5f574f524b464c4f575f455845435554494f4e5f4641494c4544102612330a2f4556454e545f545950455f45585445524e414c5f574f524b464c4f575f455845435554494f4e5f5349474e414c4544102712300a2c4556454e545f545950455f5550534552545f574f524b464c4f575f5345415243485f415454524942555445531028426a0a18696f2e74656d706f72616c2e6170692e656e756d732e7631420e4576656e745479706550726f746f50015a21676f2e74656d706f72616c2e696f2f6170692f656e756d732f76313b656e756d73ea021854656d706f72616c3a3a4170693a3a456e756d733a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Enums/V1/FailedCause.php b/api/GPBMetadata/Temporal/Api/Enums/V1/FailedCause.php
deleted file mode 100644
index 503e4b82d..000000000
--- a/api/GPBMetadata/Temporal/Api/Enums/V1/FailedCause.php
+++ /dev/null
@@ -1,24 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0ad9110a2874656d706f72616c2f6170692f656e756d732f76312f6661696c65645f63617573652e70726f746f121574656d706f72616c2e6170692e656e756d732e76312ad80b0a17576f726b666c6f775461736b4661696c65644361757365122a0a26574f524b464c4f575f5441534b5f4641494c45445f43415553455f554e535045434946494544100012300a2c574f524b464c4f575f5441534b5f4641494c45445f43415553455f554e48414e444c45445f434f4d4d414e441001123f0a3b574f524b464c4f575f5441534b5f4641494c45445f43415553455f4241445f5343484544554c455f41435449564954595f41545452494255544553100212450a41574f524b464c4f575f5441534b5f4641494c45445f43415553455f4241445f524551554553545f43414e43454c5f41435449564954595f41545452494255544553100312390a35574f524b464c4f575f5441534b5f4641494c45445f43415553455f4241445f53544152545f54494d45525f415454524942555445531004123a0a36574f524b464c4f575f5441534b5f4641494c45445f43415553455f4241445f43414e43454c5f54494d45525f415454524942555445531005123b0a37574f524b464c4f575f5441534b5f4641494c45445f43415553455f4241445f5245434f52445f4d41524b45525f41545452494255544553100612490a45574f524b464c4f575f5441534b5f4641494c45445f43415553455f4241445f434f4d504c4554455f574f524b464c4f575f455845435554494f4e5f41545452494255544553100712450a41574f524b464c4f575f5441534b5f4641494c45445f43415553455f4241445f4641494c5f574f524b464c4f575f455845435554494f4e5f41545452494255544553100812470a43574f524b464c4f575f5441534b5f4641494c45445f43415553455f4241445f43414e43454c5f574f524b464c4f575f455845435554494f4e5f41545452494255544553100912580a54574f524b464c4f575f5441534b5f4641494c45445f43415553455f4241445f524551554553545f43414e43454c5f45585445524e414c5f574f524b464c4f575f455845435554494f4e5f41545452494255544553100a123d0a39574f524b464c4f575f5441534b5f4641494c45445f43415553455f4241445f434f4e54494e55455f41535f4e45575f41545452494255544553100b12370a33574f524b464c4f575f5441534b5f4641494c45445f43415553455f53544152545f54494d45525f4455504c49434154455f4944100c12360a32574f524b464c4f575f5441534b5f4641494c45445f43415553455f52455345545f535449434b595f5441534b5f5155455545100d12400a3c574f524b464c4f575f5441534b5f4641494c45445f43415553455f574f524b464c4f575f574f524b45525f554e48414e444c45445f4641494c555245100e12470a43574f524b464c4f575f5441534b5f4641494c45445f43415553455f4241445f5349474e414c5f574f524b464c4f575f455845435554494f4e5f41545452494255544553100f12430a3f574f524b464c4f575f5441534b5f4641494c45445f43415553455f4241445f53544152545f4348494c445f455845435554494f4e5f41545452494255544553101012320a2e574f524b464c4f575f5441534b5f4641494c45445f43415553455f464f5243455f434c4f53455f434f4d4d414e44101112350a31574f524b464c4f575f5441534b5f4641494c45445f43415553455f4641494c4f5645525f434c4f53455f434f4d4d414e44101212340a30574f524b464c4f575f5441534b5f4641494c45445f43415553455f4241445f5349474e414c5f494e5055545f53495a451013122d0a29574f524b464c4f575f5441534b5f4641494c45445f43415553455f52455345545f574f524b464c4f57101412290a25574f524b464c4f575f5441534b5f4641494c45445f43415553455f4241445f42494e4152591015123d0a39574f524b464c4f575f5441534b5f4641494c45445f43415553455f5343484544554c455f41435449564954595f4455504c49434154455f4944101612340a30574f524b464c4f575f5441534b5f4641494c45445f43415553455f4241445f5345415243485f4154545249425554455310172aae010a2653746172744368696c64576f726b666c6f77457865637574696f6e4661696c65644361757365123b0a3753544152545f4348494c445f574f524b464c4f575f455845435554494f4e5f4641494c45445f43415553455f554e535045434946494544100012470a4353544152545f4348494c445f574f524b464c4f575f455845435554494f4e5f4641494c45445f43415553455f574f524b464c4f575f414c52454144595f45584953545310012ac8010a2a43616e63656c45787465726e616c576f726b666c6f77457865637574696f6e4661696c65644361757365123f0a3b43414e43454c5f45585445524e414c5f574f524b464c4f575f455845435554494f4e5f4641494c45445f43415553455f554e535045434946494544100012590a5543414e43454c5f45585445524e414c5f574f524b464c4f575f455845435554494f4e5f4641494c45445f43415553455f45585445524e414c5f574f524b464c4f575f455845435554494f4e5f4e4f545f464f554e4410012ac8010a2a5369676e616c45787465726e616c576f726b666c6f77457865637574696f6e4661696c65644361757365123f0a3b5349474e414c5f45585445524e414c5f574f524b464c4f575f455845435554494f4e5f4641494c45445f43415553455f554e535045434946494544100012590a555349474e414c5f45585445524e414c5f574f524b464c4f575f455845435554494f4e5f4641494c45445f43415553455f45585445524e414c5f574f524b464c4f575f455845435554494f4e5f4e4f545f464f554e441001426c0a18696f2e74656d706f72616c2e6170692e656e756d732e763142104661696c6564436175736550726f746f50015a21676f2e74656d706f72616c2e696f2f6170692f656e756d732f76313b656e756d73ea021854656d706f72616c3a3a4170693a3a456e756d733a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Enums/V1/PBNamespace.php b/api/GPBMetadata/Temporal/Api/Enums/V1/PBNamespace.php
deleted file mode 100644
index cd91ecb2d..000000000
--- a/api/GPBMetadata/Temporal/Api/Enums/V1/PBNamespace.php
+++ /dev/null
@@ -1,24 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0aad030a2574656d706f72616c2f6170692f656e756d732f76312f6e616d6573706163652e70726f746f121574656d706f72616c2e6170692e656e756d732e76312a8e010a0e4e616d6573706163655374617465121f0a1b4e414d4553504143455f53544154455f554e5350454349464945441000121e0a1a4e414d4553504143455f53544154455f524547495354455245441001121e0a1a4e414d4553504143455f53544154455f444550524543415445441002121b0a174e414d4553504143455f53544154455f44454c4554454410032a680a0d417263686976616c5374617465121e0a1a415243484956414c5f53544154455f554e5350454349464945441000121b0a17415243484956414c5f53544154455f44495341424c45441001121a0a16415243484956414c5f53544154455f454e41424c45441002426a0a18696f2e74656d706f72616c2e6170692e656e756d732e7631420e4e616d65737061636550726f746f50015a21676f2e74656d706f72616c2e696f2f6170692f656e756d732f76313b656e756d73ea021854656d706f72616c3a3a4170693a3a456e756d733a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Enums/V1/Query.php b/api/GPBMetadata/Temporal/Api/Enums/V1/Query.php
deleted file mode 100644
index 406f69c92..000000000
--- a/api/GPBMetadata/Temporal/Api/Enums/V1/Query.php
+++ /dev/null
@@ -1,24 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0ad7030a2174656d706f72616c2f6170692f656e756d732f76312f71756572792e70726f746f121574656d706f72616c2e6170692e656e756d732e76312a720a0f5175657279526573756c745479706512210a1d51554552595f524553554c545f545950455f554e5350454349464945441000121e0a1a51554552595f524553554c545f545950455f414e5357455245441001121c0a1851554552595f524553554c545f545950455f4641494c454410022ab6010a14517565727952656a656374436f6e646974696f6e12260a2251554552595f52454a4543545f434f4e444954494f4e5f554e5350454349464945441000121f0a1b51554552595f52454a4543545f434f4e444954494f4e5f4e4f4e45100112230a1f51554552595f52454a4543545f434f4e444954494f4e5f4e4f545f4f50454e100212300a2c51554552595f52454a4543545f434f4e444954494f4e5f4e4f545f434f4d504c455445445f434c45414e4c59100342660a18696f2e74656d706f72616c2e6170692e656e756d732e7631420a517565727950726f746f50015a21676f2e74656d706f72616c2e696f2f6170692f656e756d732f76313b656e756d73ea021854656d706f72616c3a3a4170693a3a456e756d733a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Enums/V1/TaskQueue.php b/api/GPBMetadata/Temporal/Api/Enums/V1/TaskQueue.php
deleted file mode 100644
index 319e2ba1f..000000000
--- a/api/GPBMetadata/Temporal/Api/Enums/V1/TaskQueue.php
+++ /dev/null
@@ -1,24 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0a8b030a2674656d706f72616c2f6170692f656e756d732f76312f7461736b5f71756575652e70726f746f121574656d706f72616c2e6170692e656e756d732e76312a680a0d5461736b51756575654b696e64121f0a1b5441534b5f51554555455f4b494e445f554e5350454349464945441000121a0a165441534b5f51554555455f4b494e445f4e4f524d414c1001121a0a165441534b5f51554555455f4b494e445f535449434b5910022a6c0a0d5461736b517565756554797065121f0a1b5441534b5f51554555455f545950455f554e5350454349464945441000121c0a185441534b5f51554555455f545950455f574f524b464c4f571001121c0a185441534b5f51554555455f545950455f41435449564954591002426a0a18696f2e74656d706f72616c2e6170692e656e756d732e7631420e5461736b517565756550726f746f50015a21676f2e74656d706f72616c2e696f2f6170692f656e756d732f76313b656e756d73ea021854656d706f72616c3a3a4170693a3a456e756d733a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Enums/V1/Workflow.php b/api/GPBMetadata/Temporal/Api/Enums/V1/Workflow.php
deleted file mode 100644
index 80a8f3e0b..000000000
--- a/api/GPBMetadata/Temporal/Api/Enums/V1/Workflow.php
+++ /dev/null
@@ -1,24 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0a810f0a2474656d706f72616c2f6170692f656e756d732f76312f776f726b666c6f772e70726f746f121574656d706f72616c2e6170692e656e756d732e76312ad8010a15576f726b666c6f7749645265757365506f6c69637912280a24574f524b464c4f575f49445f52455553455f504f4c4943595f554e5350454349464945441000122c0a28574f524b464c4f575f49445f52455553455f504f4c4943595f414c4c4f575f4455504c4943415445100112380a34574f524b464c4f575f49445f52455553455f504f4c4943595f414c4c4f575f4455504c49434154455f4641494c45445f4f4e4c591002122d0a29574f524b464c4f575f49445f52455553455f504f4c4943595f52454a4543545f4455504c494341544510032aa4010a11506172656e74436c6f7365506f6c69637912230a1f504152454e545f434c4f53455f504f4c4943595f554e535045434946494544100012210a1d504152454e545f434c4f53455f504f4c4943595f5445524d494e4154451001121f0a1b504152454e545f434c4f53455f504f4c4943595f4142414e444f4e100212260a22504152454e545f434c4f53455f504f4c4943595f524551554553545f43414e43454c10032abd010a16436f6e74696e756541734e6577496e69746961746f7212290a25434f4e54494e55455f41535f4e45575f494e49544941544f525f554e535045434946494544100012260a22434f4e54494e55455f41535f4e45575f494e49544941544f525f574f524b464c4f57100112230a1f434f4e54494e55455f41535f4e45575f494e49544941544f525f52455452591002122b0a27434f4e54494e55455f41535f4e45575f494e49544941544f525f43524f4e5f5343484544554c4510032ae5020a17576f726b666c6f77457865637574696f6e53746174757312290a25574f524b464c4f575f455845435554494f4e5f5354415455535f554e535045434946494544100012250a21574f524b464c4f575f455845435554494f4e5f5354415455535f52554e4e494e47100112270a23574f524b464c4f575f455845435554494f4e5f5354415455535f434f4d504c45544544100212240a20574f524b464c4f575f455845435554494f4e5f5354415455535f4641494c4544100312260a22574f524b464c4f575f455845435554494f4e5f5354415455535f43414e43454c4544100412280a24574f524b464c4f575f455845435554494f4e5f5354415455535f5445524d494e415445441005122e0a2a574f524b464c4f575f455845435554494f4e5f5354415455535f434f4e54494e5545445f41535f4e4557100612270a23574f524b464c4f575f455845435554494f4e5f5354415455535f54494d45445f4f555410072ab5010a1450656e64696e674163746976697479537461746512260a2250454e44494e475f41435449564954595f53544154455f554e535045434946494544100012240a2050454e44494e475f41435449564954595f53544154455f5343484544554c4544100112220a1e50454e44494e475f41435449564954595f53544154455f535441525445441002122b0a2750454e44494e475f41435449564954595f53544154455f43414e43454c5f52455155455354454410032a97010a16486973746f72794576656e7446696c7465725479706512290a25484953544f52595f4556454e545f46494c5445525f545950455f554e535045434946494544100012270a23484953544f52595f4556454e545f46494c5445525f545950455f414c4c5f4556454e54100112290a25484953544f52595f4556454e545f46494c5445525f545950455f434c4f53455f4556454e5410022a9f020a0a52657472795374617465121b0a1752455452595f53544154455f554e5350454349464945441000121b0a1752455452595f53544154455f494e5f50524f4752455353100112250a2152455452595f53544154455f4e4f4e5f524554525941424c455f4641494c555245100212170a1352455452595f53544154455f54494d454f5554100312280a2452455452595f53544154455f4d4158494d554d5f415454454d5054535f52454143484544100412240a2052455452595f53544154455f52455452595f504f4c4943595f4e4f545f534554100512250a2152455452595f53544154455f494e5445524e414c5f5345525645525f4552524f52100612200a1c52455452595f53544154455f43414e43454c5f52455155455354454410072ab0010a0b54696d656f757454797065121c0a1854494d454f55545f545950455f554e5350454349464945441000121f0a1b54494d454f55545f545950455f53544152545f544f5f434c4f5345100112220a1e54494d454f55545f545950455f5343484544554c455f544f5f5354415254100212220a1e54494d454f55545f545950455f5343484544554c455f544f5f434c4f53451003121a0a1654494d454f55545f545950455f484541525442454154100442690a18696f2e74656d706f72616c2e6170692e656e756d732e7631420d576f726b666c6f7750726f746f50015a21676f2e74656d706f72616c2e696f2f6170692f656e756d732f76313b656e756d73ea021854656d706f72616c3a3a4170693a3a456e756d733a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Errordetails/V1/Message.php b/api/GPBMetadata/Temporal/Api/Errordetails/V1/Message.php
deleted file mode 100644
index 4665ac822..000000000
--- a/api/GPBMetadata/Temporal/Api/Errordetails/V1/Message.php
+++ /dev/null
@@ -1,24 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0a83060a2a74656d706f72616c2f6170692f6572726f7264657461696c732f76312f6d6573736167652e70726f746f121c74656d706f72616c2e6170692e6572726f7264657461696c732e763122420a0f4e6f74466f756e644661696c75726512170a0f63757272656e745f636c757374657218012001280912160a0e6163746976655f636c757374657218022001280922520a26576f726b666c6f77457865637574696f6e416c7265616479537461727465644661696c75726512180a1073746172745f726571756573745f6964180120012809120e0a0672756e5f6964180220012809225f0a194e616d6573706163654e6f744163746976654661696c75726512110a096e616d65737061636518012001280912170a0f63757272656e745f636c757374657218022001280912160a0e6163746976655f636c7573746572180320012809226b0a20436c69656e7456657273696f6e4e6f74537570706f727465644661696c75726512160a0e636c69656e745f76657273696f6e18012001280912130a0b636c69656e745f6e616d65180220012809121a0a12737570706f727465645f76657273696f6e7318032001280922640a2053657276657256657273696f6e4e6f74537570706f727465644661696c75726512160a0e7365727665725f76657273696f6e18012001280912280a20636c69656e745f737570706f727465645f7365727665725f76657273696f6e73180220012809221f0a1d4e616d657370616365416c72656164794578697374734661696c75726522250a2343616e63656c6c6174696f6e416c72656164795265717565737465644661696c75726522140a1251756572794661696c65644661696c7572654284010a1f696f2e74656d706f72616c2e6170692e6572726f7264657461696c732e7631420c4d65737361676550726f746f50015a2f676f2e74656d706f72616c2e696f2f6170692f6572726f7264657461696c732f76313b6572726f7264657461696c73ea021f54656d706f72616c3a3a4170693a3a4572726f7244657461696c733a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Failure/V1/Message.php b/api/GPBMetadata/Temporal/Api/Failure/V1/Message.php
deleted file mode 100644
index 3facb1822..000000000
--- a/api/GPBMetadata/Temporal/Api/Failure/V1/Message.php
+++ /dev/null
@@ -1,26 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0a8f100a2574656d706f72616c2f6170692f6661696c7572652f76312f6d6573736167652e70726f746f121774656d706f72616c2e6170692e6661696c7572652e76311a2474656d706f72616c2f6170692f656e756d732f76312f776f726b666c6f772e70726f746f22700a164170706c69636174696f6e4661696c757265496e666f120c0a047479706518012001280912150a0d6e6f6e5f726574727961626c6518022001280812310a0764657461696c7318032001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f6164732290010a1254696d656f75744661696c757265496e666f12380a0c74696d656f75745f7479706518012001280e32222e74656d706f72616c2e6170692e656e756d732e76312e54696d656f75745479706512400a166c6173745f6865617274626561745f64657461696c7318022001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647322480a1343616e63656c65644661696c757265496e666f12310a0764657461696c7318012001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647322170a155465726d696e617465644661696c757265496e666f222a0a115365727665724661696c757265496e666f12150a0d6e6f6e5f726574727961626c65180120012808225c0a185265736574576f726b666c6f774661696c757265496e666f12400a166c6173745f6865617274626561745f64657461696c7318012001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647322e7010a1341637469766974794661696c757265496e666f121a0a127363686564756c65645f6576656e745f696418012001280312180a10737461727465645f6576656e745f696418022001280312100a086964656e74697479180320012809123b0a0d61637469766974795f7479706518042001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e41637469766974795479706512130a0b61637469766974795f696418052001280912360a0b72657472795f737461746518062001280e32212e74656d706f72616c2e6170692e656e756d732e76312e5265747279537461746522a8020a214368696c64576f726b666c6f77457865637574696f6e4661696c757265496e666f12110a096e616d65737061636518012001280912450a12776f726b666c6f775f657865637574696f6e18022001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e123b0a0d776f726b666c6f775f7479706518032001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f7754797065121a0a12696e697469617465645f6576656e745f696418042001280312180a10737461727465645f6576656e745f696418052001280312360a0b72657472795f737461746518062001280e32212e74656d706f72616c2e6170692e656e756d732e76312e5265747279537461746522a5060a074661696c757265120f0a076d657373616765180120012809120e0a06736f7572636518022001280912130a0b737461636b5f7472616365180320012809122f0a05636175736518042001280b32202e74656d706f72616c2e6170692e6661696c7572652e76312e4661696c75726512530a186170706c69636174696f6e5f6661696c7572655f696e666f18052001280b322f2e74656d706f72616c2e6170692e6661696c7572652e76312e4170706c69636174696f6e4661696c757265496e666f4800124b0a1474696d656f75745f6661696c7572655f696e666f18062001280b322b2e74656d706f72616c2e6170692e6661696c7572652e76312e54696d656f75744661696c757265496e666f4800124d0a1563616e63656c65645f6661696c7572655f696e666f18072001280b322c2e74656d706f72616c2e6170692e6661696c7572652e76312e43616e63656c65644661696c757265496e666f480012510a177465726d696e617465645f6661696c7572655f696e666f18082001280b322e2e74656d706f72616c2e6170692e6661696c7572652e76312e5465726d696e617465644661696c757265496e666f480012490a137365727665725f6661696c7572655f696e666f18092001280b322a2e74656d706f72616c2e6170692e6661696c7572652e76312e5365727665724661696c757265496e666f480012580a1b72657365745f776f726b666c6f775f6661696c7572655f696e666f180a2001280b32312e74656d706f72616c2e6170692e6661696c7572652e76312e5265736574576f726b666c6f774661696c757265496e666f4800124d0a1561637469766974795f6661696c7572655f696e666f180b2001280b322c2e74656d706f72616c2e6170692e6661696c7572652e76312e41637469766974794661696c757265496e666f4800126b0a256368696c645f776f726b666c6f775f657865637574696f6e5f6661696c7572655f696e666f180c2001280b323a2e74656d706f72616c2e6170692e6661696c7572652e76312e4368696c64576f726b666c6f77457865637574696f6e4661696c757265496e666f4800420e0a0c6661696c7572655f696e666f42700a1a696f2e74656d706f72616c2e6170692e6661696c7572652e7631420c4d65737361676550726f746f50015a25676f2e74656d706f72616c2e696f2f6170692f6661696c7572652f76313b6661696c757265ea021a54656d706f72616c3a3a4170693a3a4661696c7572653a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Filter/V1/Message.php b/api/GPBMetadata/Temporal/Api/Filter/V1/Message.php
deleted file mode 100644
index cdd6dc841..000000000
--- a/api/GPBMetadata/Temporal/Api/Filter/V1/Message.php
+++ /dev/null
@@ -1,27 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0ab5040a2474656d706f72616c2f6170692f66696c7465722f76312f6d6573736167652e70726f746f121674656d706f72616c2e6170692e66696c7465722e76311a21646570656e64656e636965732f676f676f70726f746f2f676f676f2e70726f746f1a2474656d706f72616c2f6170692f656e756d732f76312f776f726b666c6f772e70726f746f223e0a17576f726b666c6f77457865637574696f6e46696c74657212130a0b776f726b666c6f775f6964180120012809120e0a0672756e5f696418022001280922220a12576f726b666c6f775479706546696c746572120c0a046e616d651801200128092281010a0f537461727454696d6546696c74657212370a0d6561726c696573745f74696d6518012001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f0112350a0b6c61746573745f74696d6518022001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f01224e0a0c53746174757346696c746572123e0a0673746174757318012001280e322e2e74656d706f72616c2e6170692e656e756d732e76312e576f726b666c6f77457865637574696f6e537461747573426c0a19696f2e74656d706f72616c2e6170692e66696c7465722e7631420c4d65737361676550726f746f50015a23676f2e74656d706f72616c2e696f2f6170692f66696c7465722f76313b66696c746572ea021954656d706f72616c3a3a4170693a3a46696c7465723a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/History/V1/Message.php b/api/GPBMetadata/Temporal/Api/History/V1/Message.php
deleted file mode 100644
index 32f928811..000000000
--- a/api/GPBMetadata/Temporal/Api/History/V1/Message.php
+++ /dev/null
@@ -1,34 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0aae86010a2574656d706f72616c2f6170692f686973746f72792f76312f6d6573736167652e70726f746f121774656d706f72616c2e6170692e686973746f72792e76311a1f676f6f676c652f70726f746f6275662f74696d657374616d702e70726f746f1a21646570656e64656e636965732f676f676f70726f746f2f676f676f2e70726f746f1a2674656d706f72616c2f6170692f656e756d732f76312f6576656e745f747970652e70726f746f1a2874656d706f72616c2f6170692f656e756d732f76312f6661696c65645f63617573652e70726f746f1a2474656d706f72616c2f6170692f656e756d732f76312f776f726b666c6f772e70726f746f1a2474656d706f72616c2f6170692f636f6d6d6f6e2f76312f6d6573736167652e70726f746f1a2574656d706f72616c2f6170692f6661696c7572652f76312f6d6573736167652e70726f746f1a2674656d706f72616c2f6170692f776f726b666c6f772f76312f6d6573736167652e70726f746f1a2774656d706f72616c2f6170692f7461736b71756575652f76312f6d6573736167652e70726f746f22c20a0a27576f726b666c6f77457865637574696f6e537461727465644576656e7441747472696275746573123b0a0d776f726b666c6f775f7479706518012001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f775479706512210a19706172656e745f776f726b666c6f775f6e616d657370616365180220012809124c0a19706172656e745f776f726b666c6f775f657865637574696f6e18032001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e12210a19706172656e745f696e697469617465645f6576656e745f696418042001280312380a0a7461736b5f717565756518052001280b32242e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b5175657565122f0a05696e70757418062001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312430a1a776f726b666c6f775f657865637574696f6e5f74696d656f757418072001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123d0a14776f726b666c6f775f72756e5f74696d656f757418082001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123e0a15776f726b666c6f775f7461736b5f74696d656f757418092001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f0112220a1a636f6e74696e7565645f657865637574696f6e5f72756e5f6964180a2001280912400a09696e69746961746f72180b2001280e322d2e74656d706f72616c2e6170692e656e756d732e76312e436f6e74696e756541734e6577496e69746961746f72123b0a11636f6e74696e7565645f6661696c757265180c2001280b32202e74656d706f72616c2e6170692e6661696c7572652e76312e4661696c75726512400a166c6173745f636f6d706c6574696f6e5f726573756c74180d2001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312210a196f726967696e616c5f657865637574696f6e5f72756e5f6964180e2001280912100a086964656e74697479180f20012809121e0a1666697273745f657865637574696f6e5f72756e5f696418102001280912390a0c72657472795f706f6c69637918112001280b32232e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5265747279506f6c696379120f0a07617474656d7074181220012805124c0a22776f726b666c6f775f657865637574696f6e5f65787069726174696f6e5f74696d6518132001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f0112150a0d63726f6e5f7363686564756c6518142001280912440a1b66697273745f776f726b666c6f775f7461736b5f6261636b6f666618152001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01122a0a046d656d6f18162001280b321c2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e4d656d6f12430a117365617263685f6174747269627574657318172001280b32282e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5365617263684174747269627574657312450a16707265765f6175746f5f72657365745f706f696e747318182001280b32252e74656d706f72616c2e6170692e776f726b666c6f772e76312e5265736574506f696e7473122e0a0668656164657218192001280b321e2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e4865616465722287010a29576f726b666c6f77457865637574696f6e436f6d706c657465644576656e744174747269627574657312300a06726573756c7418012001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312280a20776f726b666c6f775f7461736b5f636f6d706c657465645f6576656e745f696418022001280322bd010a26576f726b666c6f77457865637574696f6e4661696c65644576656e744174747269627574657312310a076661696c75726518012001280b32202e74656d706f72616c2e6170692e6661696c7572652e76312e4661696c75726512360a0b72657472795f737461746518022001280e32212e74656d706f72616c2e6170692e656e756d732e76312e5265747279537461746512280a20776f726b666c6f775f7461736b5f636f6d706c657465645f6576656e745f696418032001280322620a28576f726b666c6f77457865637574696f6e54696d65644f75744576656e744174747269627574657312360a0b72657472795f737461746518012001280e32212e74656d706f72616c2e6170692e656e756d732e76312e5265747279537461746522b8060a2e576f726b666c6f77457865637574696f6e436f6e74696e75656441734e65774576656e7441747472696275746573121c0a146e65775f657865637574696f6e5f72756e5f6964180120012809123b0a0d776f726b666c6f775f7479706518022001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f775479706512380a0a7461736b5f717565756518032001280b32242e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b5175657565122f0a05696e70757418042001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f616473123d0a14776f726b666c6f775f72756e5f74696d656f757418052001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123e0a15776f726b666c6f775f7461736b5f74696d656f757418062001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f0112280a20776f726b666c6f775f7461736b5f636f6d706c657465645f6576656e745f6964180720012803123f0a166261636b6f66665f73746172745f696e74657276616c18082001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f0112400a09696e69746961746f7218092001280e322d2e74656d706f72616c2e6170692e656e756d732e76312e436f6e74696e756541734e6577496e69746961746f7212310a076661696c757265180a2001280b32202e74656d706f72616c2e6170692e6661696c7572652e76312e4661696c75726512400a166c6173745f636f6d706c6574696f6e5f726573756c74180b2001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f616473122e0a06686561646572180c2001280b321e2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e486561646572122a0a046d656d6f180d2001280b321c2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e4d656d6f12430a117365617263685f61747472696275746573180e2001280b32282e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5365617263684174747269627574657322b2010a24576f726b666c6f775461736b5363686564756c65644576656e744174747269627574657312380a0a7461736b5f717565756518012001280b32242e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b5175657565123f0a1673746172745f746f5f636c6f73655f74696d656f757418022001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01120f0a07617474656d707418032001280522660a22576f726b666c6f775461736b537461727465644576656e7441747472696275746573121a0a127363686564756c65645f6576656e745f696418012001280312100a086964656e7469747918022001280912120a0a726571756573745f69641803200128092287010a24576f726b666c6f775461736b436f6d706c657465644576656e7441747472696275746573121a0a127363686564756c65645f6576656e745f696418012001280312180a10737461727465645f6576656e745f696418022001280312100a086964656e7469747918032001280912170a0f62696e6172795f636865636b73756d1804200128092295010a23576f726b666c6f775461736b54696d65644f75744576656e7441747472696275746573121a0a127363686564756c65645f6576656e745f696418012001280312180a10737461727465645f6576656e745f696418022001280312380a0c74696d656f75745f7479706518032001280e32222e74656d706f72616c2e6170692e656e756d732e76312e54696d656f75745479706522bb020a21576f726b666c6f775461736b4661696c65644576656e7441747472696275746573121a0a127363686564756c65645f6576656e745f696418012001280312180a10737461727465645f6576656e745f6964180220012803123d0a05636175736518032001280e322e2e74656d706f72616c2e6170692e656e756d732e76312e576f726b666c6f775461736b4661696c6564436175736512310a076661696c75726518042001280b32202e74656d706f72616c2e6170692e6661696c7572652e76312e4661696c75726512100a086964656e7469747918052001280912130a0b626173655f72756e5f696418062001280912120a0a6e65775f72756e5f6964180720012809121a0a12666f726b5f6576656e745f76657273696f6e18082001280312170a0f62696e6172795f636865636b73756d1809200128092290050a2441637469766974795461736b5363686564756c65644576656e744174747269627574657312130a0b61637469766974795f6964180120012809123b0a0d61637469766974795f7479706518022001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e41637469766974795479706512110a096e616d65737061636518032001280912380a0a7461736b5f717565756518042001280b32242e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b5175657565122e0a0668656164657218052001280b321e2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e486561646572122f0a05696e70757418062001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312420a197363686564756c655f746f5f636c6f73655f74696d656f757418072001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f0112420a197363686564756c655f746f5f73746172745f74696d656f757418082001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123f0a1673746172745f746f5f636c6f73655f74696d656f757418092001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123a0a116865617274626561745f74696d656f7574180a2001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f0112280a20776f726b666c6f775f7461736b5f636f6d706c657465645f6576656e745f6964180b2001280312390a0c72657472795f706f6c696379180c2001280b32232e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5265747279506f6c69637922af010a2241637469766974795461736b537461727465644576656e7441747472696275746573121a0a127363686564756c65645f6576656e745f696418012001280312100a086964656e7469747918022001280912120a0a726571756573745f6964180320012809120f0a07617474656d707418042001280512360a0c6c6173745f6661696c75726518052001280b32202e74656d706f72616c2e6170692e6661696c7572652e76312e4661696c75726522a0010a2441637469766974795461736b436f6d706c657465644576656e744174747269627574657312300a06726573756c7418012001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f616473121a0a127363686564756c65645f6576656e745f696418022001280312180a10737461727465645f6576656e745f696418032001280312100a086964656e7469747918042001280922d6010a2141637469766974795461736b4661696c65644576656e744174747269627574657312310a076661696c75726518012001280b32202e74656d706f72616c2e6170692e6661696c7572652e76312e4661696c757265121a0a127363686564756c65645f6576656e745f696418022001280312180a10737461727465645f6576656e745f696418032001280312100a086964656e7469747918042001280912360a0b72657472795f737461746518052001280e32212e74656d706f72616c2e6170692e656e756d732e76312e5265747279537461746522c6010a2341637469766974795461736b54696d65644f75744576656e744174747269627574657312310a076661696c75726518012001280b32202e74656d706f72616c2e6170692e6661696c7572652e76312e4661696c757265121a0a127363686564756c65645f6576656e745f696418022001280312180a10737461727465645f6576656e745f696418032001280312360a0b72657472795f737461746518042001280e32212e74656d706f72616c2e6170692e656e756d732e76312e5265747279537461746522720a2a41637469766974795461736b43616e63656c5265717565737465644576656e7441747472696275746573121a0a127363686564756c65645f6576656e745f696418012001280312280a20776f726b666c6f775f7461736b5f636f6d706c657465645f6576656e745f696418022001280322ca010a2341637469766974795461736b43616e63656c65644576656e744174747269627574657312310a0764657461696c7318012001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312280a206c61746573745f63616e63656c5f7265717565737465645f6576656e745f6964180220012803121a0a127363686564756c65645f6576656e745f696418032001280312180a10737461727465645f6576656e745f696418042001280312100a086964656e746974791805200128092299010a1b54696d6572537461727465644576656e744174747269627574657312100a0874696d65725f6964180120012809123e0a1573746172745f746f5f666972655f74696d656f757418022001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f0112280a20776f726b666c6f775f7461736b5f636f6d706c657465645f6576656e745f696418032001280322470a1954696d657246697265644576656e744174747269627574657312100a0874696d65725f696418012001280912180a10737461727465645f6576656e745f69641802200128032286010a1c54696d657243616e63656c65644576656e744174747269627574657312100a0874696d65725f696418012001280912180a10737461727465645f6576656e745f696418022001280312280a20776f726b666c6f775f7461736b5f636f6d706c657465645f6576656e745f696418032001280312100a086964656e7469747918042001280922c7010a2f576f726b666c6f77457865637574696f6e43616e63656c5265717565737465644576656e7441747472696275746573120d0a05636175736518012001280912230a1b65787465726e616c5f696e697469617465645f6576656e745f6964180220012803124e0a1b65787465726e616c5f776f726b666c6f775f657865637574696f6e18032001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e12100a086964656e746974791804200128092287010a28576f726b666c6f77457865637574696f6e43616e63656c65644576656e744174747269627574657312280a20776f726b666c6f775f7461736b5f636f6d706c657465645f6576656e745f696418012001280312310a0764657461696c7318022001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647322e9020a1d4d61726b65725265636f726465644576656e744174747269627574657312130a0b6d61726b65725f6e616d6518012001280912540a0764657461696c7318022003280b32432e74656d706f72616c2e6170692e686973746f72792e76312e4d61726b65725265636f726465644576656e74417474726962757465732e44657461696c73456e74727912280a20776f726b666c6f775f7461736b5f636f6d706c657465645f6576656e745f6964180320012803122e0a0668656164657218042001280b321e2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e48656164657212310a076661696c75726518052001280b32202e74656d706f72616c2e6170692e6661696c7572652e76312e4661696c7572651a500a0c44657461696c73456e747279120b0a036b6579180120012809122f0a0576616c756518022001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f6164733a0238012282010a28576f726b666c6f77457865637574696f6e5369676e616c65644576656e744174747269627574657312130a0b7369676e616c5f6e616d65180120012809122f0a05696e70757418022001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312100a086964656e746974791803200128092281010a2a576f726b666c6f77457865637574696f6e5465726d696e617465644576656e7441747472696275746573120e0a06726561736f6e18012001280912310a0764657461696c7318022001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312100a086964656e7469747918032001280922f2010a3e5265717565737443616e63656c45787465726e616c576f726b666c6f77457865637574696f6e496e697469617465644576656e744174747269627574657312280a20776f726b666c6f775f7461736b5f636f6d706c657465645f6576656e745f696418012001280312110a096e616d65737061636518022001280912450a12776f726b666c6f775f657865637574696f6e18032001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e120f0a07636f6e74726f6c180420012809121b0a136368696c645f776f726b666c6f775f6f6e6c7918052001280822c0020a3b5265717565737443616e63656c45787465726e616c576f726b666c6f77457865637574696f6e4661696c65644576656e744174747269627574657312500a05636175736518012001280e32412e74656d706f72616c2e6170692e656e756d732e76312e43616e63656c45787465726e616c576f726b666c6f77457865637574696f6e4661696c6564436175736512280a20776f726b666c6f775f7461736b5f636f6d706c657465645f6576656e745f696418022001280312110a096e616d65737061636518032001280912450a12776f726b666c6f775f657865637574696f6e18042001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e121a0a12696e697469617465645f6576656e745f6964180520012803120f0a07636f6e74726f6c18062001280922af010a3745787465726e616c576f726b666c6f77457865637574696f6e43616e63656c5265717565737465644576656e7441747472696275746573121a0a12696e697469617465645f6576656e745f696418012001280312110a096e616d65737061636518022001280912450a12776f726b666c6f775f657865637574696f6e18032001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e22b1020a375369676e616c45787465726e616c576f726b666c6f77457865637574696f6e496e697469617465644576656e744174747269627574657312280a20776f726b666c6f775f7461736b5f636f6d706c657465645f6576656e745f696418012001280312110a096e616d65737061636518022001280912450a12776f726b666c6f775f657865637574696f6e18032001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e12130a0b7369676e616c5f6e616d65180420012809122f0a05696e70757418052001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f616473120f0a07636f6e74726f6c180620012809121b0a136368696c645f776f726b666c6f775f6f6e6c7918072001280822b9020a345369676e616c45787465726e616c576f726b666c6f77457865637574696f6e4661696c65644576656e744174747269627574657312500a05636175736518012001280e32412e74656d706f72616c2e6170692e656e756d732e76312e5369676e616c45787465726e616c576f726b666c6f77457865637574696f6e4661696c6564436175736512280a20776f726b666c6f775f7461736b5f636f6d706c657465645f6576656e745f696418022001280312110a096e616d65737061636518032001280912450a12776f726b666c6f775f657865637574696f6e18042001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e121a0a12696e697469617465645f6576656e745f6964180520012803120f0a07636f6e74726f6c18062001280922b9010a3045787465726e616c576f726b666c6f77457865637574696f6e5369676e616c65644576656e7441747472696275746573121a0a12696e697469617465645f6576656e745f696418012001280312110a096e616d65737061636518022001280912450a12776f726b666c6f775f657865637574696f6e18032001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e120f0a07636f6e74726f6c180420012809229e010a2d557073657274576f726b666c6f77536561726368417474726962757465734576656e744174747269627574657312280a20776f726b666c6f775f7461736b5f636f6d706c657465645f6576656e745f696418012001280312430a117365617263685f6174747269627574657318022001280b32282e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e53656172636841747472696275746573228e070a3353746172744368696c64576f726b666c6f77457865637574696f6e496e697469617465644576656e744174747269627574657312110a096e616d65737061636518012001280912130a0b776f726b666c6f775f6964180220012809123b0a0d776f726b666c6f775f7479706518032001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f775479706512380a0a7461736b5f717565756518042001280b32242e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b5175657565122f0a05696e70757418052001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312430a1a776f726b666c6f775f657865637574696f6e5f74696d656f757418062001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123d0a14776f726b666c6f775f72756e5f74696d656f757418072001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123e0a15776f726b666c6f775f7461736b5f74696d656f757418082001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f0112450a13706172656e745f636c6f73655f706f6c69637918092001280e32282e74656d706f72616c2e6170692e656e756d732e76312e506172656e74436c6f7365506f6c696379120f0a07636f6e74726f6c180a2001280912280a20776f726b666c6f775f7461736b5f636f6d706c657465645f6576656e745f6964180b20012803124e0a18776f726b666c6f775f69645f72657573655f706f6c696379180c2001280e322c2e74656d706f72616c2e6170692e656e756d732e76312e576f726b666c6f7749645265757365506f6c69637912390a0c72657472795f706f6c696379180d2001280b32232e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5265747279506f6c69637912150a0d63726f6e5f7363686564756c65180e20012809122e0a06686561646572180f2001280b321e2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e486561646572122a0a046d656d6f18102001280b321c2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e4d656d6f12430a117365617263685f6174747269627574657318112001280b32282e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5365617263684174747269627574657322bc020a3053746172744368696c64576f726b666c6f77457865637574696f6e4661696c65644576656e744174747269627574657312110a096e616d65737061636518012001280912130a0b776f726b666c6f775f6964180220012809123b0a0d776f726b666c6f775f7479706518032001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f7754797065124c0a05636175736518042001280e323d2e74656d706f72616c2e6170692e656e756d732e76312e53746172744368696c64576f726b666c6f77457865637574696f6e4661696c65644361757365120f0a07636f6e74726f6c180520012809121a0a12696e697469617465645f6576656e745f696418062001280312280a20776f726b666c6f775f7461736b5f636f6d706c657465645f6576656e745f69641807200128032291020a2c4368696c64576f726b666c6f77457865637574696f6e537461727465644576656e744174747269627574657312110a096e616d657370616365180120012809121a0a12696e697469617465645f6576656e745f696418022001280312450a12776f726b666c6f775f657865637574696f6e18032001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e123b0a0d776f726b666c6f775f7479706518042001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f7754797065122e0a0668656164657218052001280b321e2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e48656164657222af020a2e4368696c64576f726b666c6f77457865637574696f6e436f6d706c657465644576656e744174747269627574657312300a06726573756c7418012001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312110a096e616d65737061636518022001280912450a12776f726b666c6f775f657865637574696f6e18032001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e123b0a0d776f726b666c6f775f7479706518042001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f7754797065121a0a12696e697469617465645f6576656e745f696418052001280312180a10737461727465645f6576656e745f696418062001280322e5020a2b4368696c64576f726b666c6f77457865637574696f6e4661696c65644576656e744174747269627574657312310a076661696c75726518012001280b32202e74656d706f72616c2e6170692e6661696c7572652e76312e4661696c75726512110a096e616d65737061636518022001280912450a12776f726b666c6f775f657865637574696f6e18032001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e123b0a0d776f726b666c6f775f7479706518042001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f7754797065121a0a12696e697469617465645f6576656e745f696418052001280312180a10737461727465645f6576656e745f696418062001280312360a0b72657472795f737461746518072001280e32212e74656d706f72616c2e6170692e656e756d732e76312e5265747279537461746522af020a2d4368696c64576f726b666c6f77457865637574696f6e43616e63656c65644576656e744174747269627574657312310a0764657461696c7318012001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312110a096e616d65737061636518022001280912450a12776f726b666c6f775f657865637574696f6e18032001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e123b0a0d776f726b666c6f775f7479706518042001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f7754797065121a0a12696e697469617465645f6576656e745f696418052001280312180a10737461727465645f6576656e745f696418062001280322b4020a2d4368696c64576f726b666c6f77457865637574696f6e54696d65644f75744576656e744174747269627574657312110a096e616d65737061636518012001280912450a12776f726b666c6f775f657865637574696f6e18022001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e123b0a0d776f726b666c6f775f7479706518032001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f7754797065121a0a12696e697469617465645f6576656e745f696418042001280312180a10737461727465645f6576656e745f696418052001280312360a0b72657472795f737461746518062001280e32212e74656d706f72616c2e6170692e656e756d732e76312e5265747279537461746522fe010a2f4368696c64576f726b666c6f77457865637574696f6e5465726d696e617465644576656e744174747269627574657312110a096e616d65737061636518012001280912450a12776f726b666c6f775f657865637574696f6e18022001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e123b0a0d776f726b666c6f775f7479706518032001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f7754797065121a0a12696e697469617465645f6576656e745f696418042001280312180a10737461727465645f6576656e745f69641805200128032289290a0c486973746f72794576656e7412100a086576656e745f696418012001280312340a0a6576656e745f74696d6518022001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f0112340a0a6576656e745f7479706518032001280e32202e74656d706f72616c2e6170692e656e756d732e76312e4576656e7454797065120f0a0776657273696f6e180420012803120f0a077461736b5f696418052001280312770a2b776f726b666c6f775f657865637574696f6e5f737461727465645f6576656e745f6174747269627574657318062001280b32402e74656d706f72616c2e6170692e686973746f72792e76312e576f726b666c6f77457865637574696f6e537461727465644576656e74417474726962757465734800127b0a2d776f726b666c6f775f657865637574696f6e5f636f6d706c657465645f6576656e745f6174747269627574657318072001280b32422e74656d706f72616c2e6170692e686973746f72792e76312e576f726b666c6f77457865637574696f6e436f6d706c657465644576656e7441747472696275746573480012750a2a776f726b666c6f775f657865637574696f6e5f6661696c65645f6576656e745f6174747269627574657318082001280b323f2e74656d706f72616c2e6170692e686973746f72792e76312e576f726b666c6f77457865637574696f6e4661696c65644576656e74417474726962757465734800127a0a2d776f726b666c6f775f657865637574696f6e5f74696d65645f6f75745f6576656e745f6174747269627574657318092001280b32412e74656d706f72616c2e6170692e686973746f72792e76312e576f726b666c6f77457865637574696f6e54696d65644f75744576656e7441747472696275746573480012710a28776f726b666c6f775f7461736b5f7363686564756c65645f6576656e745f61747472696275746573180a2001280b323d2e74656d706f72616c2e6170692e686973746f72792e76312e576f726b666c6f775461736b5363686564756c65644576656e74417474726962757465734800126d0a26776f726b666c6f775f7461736b5f737461727465645f6576656e745f61747472696275746573180b2001280b323b2e74656d706f72616c2e6170692e686973746f72792e76312e576f726b666c6f775461736b537461727465644576656e7441747472696275746573480012710a28776f726b666c6f775f7461736b5f636f6d706c657465645f6576656e745f61747472696275746573180c2001280b323d2e74656d706f72616c2e6170692e686973746f72792e76312e576f726b666c6f775461736b436f6d706c657465644576656e7441747472696275746573480012700a28776f726b666c6f775f7461736b5f74696d65645f6f75745f6576656e745f61747472696275746573180d2001280b323c2e74656d706f72616c2e6170692e686973746f72792e76312e576f726b666c6f775461736b54696d65644f75744576656e74417474726962757465734800126b0a25776f726b666c6f775f7461736b5f6661696c65645f6576656e745f61747472696275746573180e2001280b323a2e74656d706f72616c2e6170692e686973746f72792e76312e576f726b666c6f775461736b4661696c65644576656e7441747472696275746573480012710a2861637469766974795f7461736b5f7363686564756c65645f6576656e745f61747472696275746573180f2001280b323d2e74656d706f72616c2e6170692e686973746f72792e76312e41637469766974795461736b5363686564756c65644576656e74417474726962757465734800126d0a2661637469766974795f7461736b5f737461727465645f6576656e745f6174747269627574657318102001280b323b2e74656d706f72616c2e6170692e686973746f72792e76312e41637469766974795461736b537461727465644576656e7441747472696275746573480012710a2861637469766974795f7461736b5f636f6d706c657465645f6576656e745f6174747269627574657318112001280b323d2e74656d706f72616c2e6170692e686973746f72792e76312e41637469766974795461736b436f6d706c657465644576656e74417474726962757465734800126b0a2561637469766974795f7461736b5f6661696c65645f6576656e745f6174747269627574657318122001280b323a2e74656d706f72616c2e6170692e686973746f72792e76312e41637469766974795461736b4661696c65644576656e7441747472696275746573480012700a2861637469766974795f7461736b5f74696d65645f6f75745f6576656e745f6174747269627574657318132001280b323c2e74656d706f72616c2e6170692e686973746f72792e76312e41637469766974795461736b54696d65644f75744576656e74417474726962757465734800125e0a1e74696d65725f737461727465645f6576656e745f6174747269627574657318142001280b32342e74656d706f72616c2e6170692e686973746f72792e76312e54696d6572537461727465644576656e74417474726962757465734800125a0a1c74696d65725f66697265645f6576656e745f6174747269627574657318152001280b32322e74656d706f72616c2e6170692e686973746f72792e76312e54696d657246697265644576656e74417474726962757465734800127e0a2f61637469766974795f7461736b5f63616e63656c5f7265717565737465645f6576656e745f6174747269627574657318162001280b32432e74656d706f72616c2e6170692e686973746f72792e76312e41637469766974795461736b43616e63656c5265717565737465644576656e74417474726962757465734800126f0a2761637469766974795f7461736b5f63616e63656c65645f6576656e745f6174747269627574657318172001280b323c2e74656d706f72616c2e6170692e686973746f72792e76312e41637469766974795461736b43616e63656c65644576656e7441747472696275746573480012600a1f74696d65725f63616e63656c65645f6576656e745f6174747269627574657318182001280b32352e74656d706f72616c2e6170692e686973746f72792e76312e54696d657243616e63656c65644576656e7441747472696275746573480012620a206d61726b65725f7265636f726465645f6576656e745f6174747269627574657318192001280b32362e74656d706f72616c2e6170692e686973746f72792e76312e4d61726b65725265636f726465644576656e7441747472696275746573480012790a2c776f726b666c6f775f657865637574696f6e5f7369676e616c65645f6576656e745f61747472696275746573181a2001280b32412e74656d706f72616c2e6170692e686973746f72792e76312e576f726b666c6f77457865637574696f6e5369676e616c65644576656e74417474726962757465734800127d0a2e776f726b666c6f775f657865637574696f6e5f7465726d696e617465645f6576656e745f61747472696275746573181b2001280b32432e74656d706f72616c2e6170692e686973746f72792e76312e576f726b666c6f77457865637574696f6e5465726d696e617465644576656e744174747269627574657348001288010a34776f726b666c6f775f657865637574696f6e5f63616e63656c5f7265717565737465645f6576656e745f61747472696275746573181c2001280b32482e74656d706f72616c2e6170692e686973746f72792e76312e576f726b666c6f77457865637574696f6e43616e63656c5265717565737465644576656e7441747472696275746573480012790a2c776f726b666c6f775f657865637574696f6e5f63616e63656c65645f6576656e745f61747472696275746573181d2001280b32412e74656d706f72616c2e6170692e686973746f72792e76312e576f726b666c6f77457865637574696f6e43616e63656c65644576656e7441747472696275746573480012a8010a45726571756573745f63616e63656c5f65787465726e616c5f776f726b666c6f775f657865637574696f6e5f696e697469617465645f6576656e745f61747472696275746573181e2001280b32572e74656d706f72616c2e6170692e686973746f72792e76312e5265717565737443616e63656c45787465726e616c576f726b666c6f77457865637574696f6e496e697469617465644576656e7441747472696275746573480012a2010a42726571756573745f63616e63656c5f65787465726e616c5f776f726b666c6f775f657865637574696f6e5f6661696c65645f6576656e745f61747472696275746573181f2001280b32542e74656d706f72616c2e6170692e686973746f72792e76312e5265717565737443616e63656c45787465726e616c576f726b666c6f77457865637574696f6e4661696c65644576656e744174747269627574657348001299010a3d65787465726e616c5f776f726b666c6f775f657865637574696f6e5f63616e63656c5f7265717565737465645f6576656e745f6174747269627574657318202001280b32502e74656d706f72616c2e6170692e686973746f72792e76312e45787465726e616c576f726b666c6f77457865637574696f6e43616e63656c5265717565737465644576656e744174747269627574657348001287010a34776f726b666c6f775f657865637574696f6e5f636f6e74696e7565645f61735f6e65775f6576656e745f6174747269627574657318212001280b32472e74656d706f72616c2e6170692e686973746f72792e76312e576f726b666c6f77457865637574696f6e436f6e74696e75656441734e65774576656e744174747269627574657348001291010a3973746172745f6368696c645f776f726b666c6f775f657865637574696f6e5f696e697469617465645f6576656e745f6174747269627574657318222001280b324c2e74656d706f72616c2e6170692e686973746f72792e76312e53746172744368696c64576f726b666c6f77457865637574696f6e496e697469617465644576656e74417474726962757465734800128b010a3673746172745f6368696c645f776f726b666c6f775f657865637574696f6e5f6661696c65645f6576656e745f6174747269627574657318232001280b32492e74656d706f72616c2e6170692e686973746f72792e76312e53746172744368696c64576f726b666c6f77457865637574696f6e4661696c65644576656e744174747269627574657348001282010a316368696c645f776f726b666c6f775f657865637574696f6e5f737461727465645f6576656e745f6174747269627574657318242001280b32452e74656d706f72616c2e6170692e686973746f72792e76312e4368696c64576f726b666c6f77457865637574696f6e537461727465644576656e744174747269627574657348001286010a336368696c645f776f726b666c6f775f657865637574696f6e5f636f6d706c657465645f6576656e745f6174747269627574657318252001280b32472e74656d706f72616c2e6170692e686973746f72792e76312e4368696c64576f726b666c6f77457865637574696f6e436f6d706c657465644576656e744174747269627574657348001280010a306368696c645f776f726b666c6f775f657865637574696f6e5f6661696c65645f6576656e745f6174747269627574657318262001280b32442e74656d706f72616c2e6170692e686973746f72792e76312e4368696c64576f726b666c6f77457865637574696f6e4661696c65644576656e744174747269627574657348001284010a326368696c645f776f726b666c6f775f657865637574696f6e5f63616e63656c65645f6576656e745f6174747269627574657318272001280b32462e74656d706f72616c2e6170692e686973746f72792e76312e4368696c64576f726b666c6f77457865637574696f6e43616e63656c65644576656e744174747269627574657348001285010a336368696c645f776f726b666c6f775f657865637574696f6e5f74696d65645f6f75745f6576656e745f6174747269627574657318282001280b32462e74656d706f72616c2e6170692e686973746f72792e76312e4368696c64576f726b666c6f77457865637574696f6e54696d65644f75744576656e744174747269627574657348001288010a346368696c645f776f726b666c6f775f657865637574696f6e5f7465726d696e617465645f6576656e745f6174747269627574657318292001280b32482e74656d706f72616c2e6170692e686973746f72792e76312e4368696c64576f726b666c6f77457865637574696f6e5465726d696e617465644576656e744174747269627574657348001299010a3d7369676e616c5f65787465726e616c5f776f726b666c6f775f657865637574696f6e5f696e697469617465645f6576656e745f61747472696275746573182a2001280b32502e74656d706f72616c2e6170692e686973746f72792e76312e5369676e616c45787465726e616c576f726b666c6f77457865637574696f6e496e697469617465644576656e744174747269627574657348001293010a3a7369676e616c5f65787465726e616c5f776f726b666c6f775f657865637574696f6e5f6661696c65645f6576656e745f61747472696275746573182b2001280b324d2e74656d706f72616c2e6170692e686973746f72792e76312e5369676e616c45787465726e616c576f726b666c6f77457865637574696f6e4661696c65644576656e74417474726962757465734800128a010a3565787465726e616c5f776f726b666c6f775f657865637574696f6e5f7369676e616c65645f6576656e745f61747472696275746573182c2001280b32492e74656d706f72616c2e6170692e686973746f72792e76312e45787465726e616c576f726b666c6f77457865637574696f6e5369676e616c65644576656e744174747269627574657348001284010a327570736572745f776f726b666c6f775f7365617263685f617474726962757465735f6576656e745f61747472696275746573182d2001280b32462e74656d706f72616c2e6170692e686973746f72792e76312e557073657274576f726b666c6f77536561726368417474726962757465734576656e74417474726962757465734800420c0a0a6174747269627574657322400a07486973746f727912350a066576656e747318012003280b32252e74656d706f72616c2e6170692e686973746f72792e76312e486973746f72794576656e7442700a1a696f2e74656d706f72616c2e6170692e686973746f72792e7631420c4d65737361676550726f746f50015a25676f2e74656d706f72616c2e696f2f6170692f686973746f72792f76313b686973746f7279ea021a54656d706f72616c3a3a4170693a3a486973746f72793a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/PBNamespace/V1/Message.php b/api/GPBMetadata/Temporal/Api/PBNamespace/V1/Message.php
deleted file mode 100644
index 43f948a0c..000000000
--- a/api/GPBMetadata/Temporal/Api/PBNamespace/V1/Message.php
+++ /dev/null
@@ -1,28 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0aeb0a0a2774656d706f72616c2f6170692f6e616d6573706163652f76312f6d6573736167652e70726f746f121974656d706f72616c2e6170692e6e616d6573706163652e76311a1f676f6f676c652f70726f746f6275662f74696d657374616d702e70726f746f1a21646570656e64656e636965732f676f676f70726f746f2f676f676f2e70726f746f1a2574656d706f72616c2f6170692f656e756d732f76312f6e616d6573706163652e70726f746f22f8010a0d4e616d657370616365496e666f120c0a046e616d6518012001280912340a05737461746518022001280e32252e74656d706f72616c2e6170692e656e756d732e76312e4e616d657370616365537461746512130a0b6465736372697074696f6e18032001280912130a0b6f776e65725f656d61696c18042001280912400a046461746118052003280b32322e74656d706f72616c2e6170692e6e616d6573706163652e76312e4e616d657370616365496e666f2e44617461456e747279120a0a0269641806200128091a2b0a0944617461456e747279120b0a036b6579180120012809120d0a0576616c75651802200128093a02380122e8020a0f4e616d657370616365436f6e66696712490a20776f726b666c6f775f657865637574696f6e5f726574656e74696f6e5f74746c18012001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123c0a0c6261645f62696e617269657318022001280b32262e74656d706f72616c2e6170692e6e616d6573706163652e76312e42616442696e617269657312440a16686973746f72795f617263686976616c5f737461746518032001280e32242e74656d706f72616c2e6170692e656e756d732e76312e417263686976616c5374617465121c0a14686973746f72795f617263686976616c5f75726918042001280912470a197669736962696c6974795f617263686976616c5f737461746518052001280e32242e74656d706f72616c2e6170692e656e756d732e76312e417263686976616c5374617465121f0a177669736962696c6974795f617263686976616c5f75726918062001280922b0010a0b42616442696e617269657312460a0862696e617269657318012003280b32342e74656d706f72616c2e6170692e6e616d6573706163652e76312e42616442696e61726965732e42696e6172696573456e7472791a590a0d42696e6172696573456e747279120b0a036b657918012001280912370a0576616c756518022001280b32282e74656d706f72616c2e6170692e6e616d6573706163652e76312e42616442696e617279496e666f3a02380122680a0d42616442696e617279496e666f120e0a06726561736f6e18012001280912100a086f70657261746f7218022001280912350a0b6372656174655f74696d6518032001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f0122b4010a135570646174654e616d657370616365496e666f12130a0b6465736372697074696f6e18012001280912130a0b6f776e65725f656d61696c18022001280912460a046461746118032003280b32382e74656d706f72616c2e6170692e6e616d6573706163652e76312e5570646174654e616d657370616365496e666f2e44617461456e7472791a2b0a0944617461456e747279120b0a036b6579180120012809120d0a0576616c75651802200128093a02380142780a1c696f2e74656d706f72616c2e6170692e6e616d6573706163652e7631420c4d65737361676550726f746f50015a29676f2e74656d706f72616c2e696f2f6170692f6e616d6573706163652f76313b6e616d657370616365ea021c54656d706f72616c3a3a4170693a3a4e616d6573706163653a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Query/V1/Message.php b/api/GPBMetadata/Temporal/Api/Query/V1/Message.php
deleted file mode 100644
index 389143ab1..000000000
--- a/api/GPBMetadata/Temporal/Api/Query/V1/Message.php
+++ /dev/null
@@ -1,27 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0ac4040a2374656d706f72616c2f6170692f71756572792f76312f6d6573736167652e70726f746f121574656d706f72616c2e6170692e71756572792e76311a2474656d706f72616c2f6170692f656e756d732f76312f776f726b666c6f772e70726f746f1a2474656d706f72616c2f6170692f636f6d6d6f6e2f76312f6d6573736167652e70726f746f22590a0d576f726b666c6f77517565727912120a0a71756572795f7479706518012001280912340a0a71756572795f6172677318022001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f616473229b010a13576f726b666c6f775175657279526573756c74123b0a0b726573756c745f7479706518012001280e32262e74656d706f72616c2e6170692e656e756d732e76312e5175657279526573756c745479706512300a06616e7377657218022001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312150a0d6572726f725f6d657373616765180320012809224f0a0d517565727952656a6563746564123e0a0673746174757318012001280e322e2e74656d706f72616c2e6170692e656e756d732e76312e576f726b666c6f77457865637574696f6e53746174757342680a18696f2e74656d706f72616c2e6170692e71756572792e7631420c4d65737361676550726f746f50015a21676f2e74656d706f72616c2e696f2f6170692f71756572792f76313b7175657279ea021854656d706f72616c3a3a4170693a3a51756572793a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Replication/V1/Message.php b/api/GPBMetadata/Temporal/Api/Replication/V1/Message.php
deleted file mode 100644
index 64129751c..000000000
--- a/api/GPBMetadata/Temporal/Api/Replication/V1/Message.php
+++ /dev/null
@@ -1,24 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0a8a030a2974656d706f72616c2f6170692f7265706c69636174696f6e2f76312f6d6573736167652e70726f746f121b74656d706f72616c2e6170692e7265706c69636174696f6e2e763122300a18436c75737465725265706c69636174696f6e436f6e66696712140a0c636c75737465725f6e616d651801200128092282010a1a4e616d6573706163655265706c69636174696f6e436f6e666967121b0a136163746976655f636c75737465725f6e616d6518012001280912470a08636c75737465727318022003280b32352e74656d706f72616c2e6170692e7265706c69636174696f6e2e76312e436c75737465725265706c69636174696f6e436f6e6669674280010a1e696f2e74656d706f72616c2e6170692e7265706c69636174696f6e2e7631420c4d65737361676550726f746f50015a2d676f2e74656d706f72616c2e696f2f6170692f7265706c69636174696f6e2f76313b7265706c69636174696f6eea021e54656d706f72616c3a3a4170693a3a5265706c69636174696f6e3a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Taskqueue/V1/Message.php b/api/GPBMetadata/Temporal/Api/Taskqueue/V1/Message.php
deleted file mode 100644
index 7e75d04b2..000000000
--- a/api/GPBMetadata/Temporal/Api/Taskqueue/V1/Message.php
+++ /dev/null
@@ -1,29 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0aae080a2774656d706f72616c2f6170692f7461736b71756575652f76312f6d6573736167652e70726f746f121974656d706f72616c2e6170692e7461736b71756575652e76311a1f676f6f676c652f70726f746f6275662f74696d657374616d702e70726f746f1a1e676f6f676c652f70726f746f6275662f77726170706572732e70726f746f1a21646570656e64656e636965732f676f676f70726f746f2f676f676f2e70726f746f1a2674656d706f72616c2f6170692f656e756d732f76312f7461736b5f71756575652e70726f746f224d0a095461736b5175657565120c0a046e616d6518012001280912320a046b696e6418022001280e32242e74656d706f72616c2e6170692e656e756d732e76312e5461736b51756575654b696e64224f0a115461736b51756575654d65746164617461123a0a146d61785f7461736b735f7065725f7365636f6e6418012001280b321c2e676f6f676c652e70726f746f6275662e446f75626c6556616c756522ac010a0f5461736b5175657565537461747573121a0a126261636b6c6f675f636f756e745f68696e7418012001280312120a0a726561645f6c6576656c18022001280312110a0961636b5f6c6576656c18032001280312170a0f726174655f7065725f7365636f6e64180420012801123d0a0d7461736b5f69645f626c6f636b18052001280b32262e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b4964426c6f636b222f0a0b5461736b4964426c6f636b12100a0873746172745f6964180120012803120e0a06656e645f696418022001280322420a1a5461736b5175657565506172746974696f6e4d65746164617461120b0a036b657918012001280912170a0f6f776e65725f686f73745f6e616d6518022001280922730a0a506f6c6c6572496e666f123a0a106c6173745f6163636573735f74696d6518012001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f0112100a086964656e7469747918022001280912170a0f726174655f7065725f7365636f6e6418032001280122a0010a19537469636b79457865637574696f6e41747472696275746573123f0a11776f726b65725f7461736b5f717565756518012001280b32242e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b517565756512420a197363686564756c655f746f5f73746172745f74696d656f757418022001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f0142780a1c696f2e74656d706f72616c2e6170692e7461736b71756575652e7631420c4d65737361676550726f746f50015a29676f2e74656d706f72616c2e696f2f6170692f7461736b71756575652f76313b7461736b7175657565ea021c54656d706f72616c3a3a4170693a3a5461736b51756575653a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Version/V1/Message.php b/api/GPBMetadata/Temporal/Api/Version/V1/Message.php
deleted file mode 100644
index 754fadb57..000000000
--- a/api/GPBMetadata/Temporal/Api/Version/V1/Message.php
+++ /dev/null
@@ -1,27 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0ab9050a2574656d706f72616c2f6170692f76657273696f6e2f76312f6d6573736167652e70726f746f121774656d706f72616c2e6170692e76657273696f6e2e76311a21646570656e64656e636965732f676f676f70726f746f2f676f676f2e70726f746f1a2274656d706f72616c2f6170692f656e756d732f76312f636f6d6d6f6e2e70726f746f22650a0b52656c65617365496e666f120f0a0776657273696f6e18012001280912360a0c72656c656173655f74696d6518022001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f01120d0a056e6f746573180320012809224b0a05416c657274120f0a076d65737361676518012001280912310a08736576657269747918022001280e321f2e74656d706f72616c2e6170692e656e756d732e76312e53657665726974792281020a0b56657273696f6e496e666f12350a0763757272656e7418012001280b32242e74656d706f72616c2e6170692e76657273696f6e2e76312e52656c65617365496e666f12390a0b7265636f6d6d656e64656418022001280b32242e74656d706f72616c2e6170692e76657273696f6e2e76312e52656c65617365496e666f12140a0c696e737472756374696f6e73180320012809122e0a06616c6572747318042003280b321e2e74656d706f72616c2e6170692e76657273696f6e2e76312e416c657274123a0a106c6173745f7570646174655f74696d6518052001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f0142700a1a696f2e74656d706f72616c2e6170692e76657273696f6e2e7631420c4d65737361676550726f746f50015a25676f2e74656d706f72616c2e696f2f6170692f76657273696f6e2f76313b76657273696f6eea021a54656d706f72616c3a3a4170693a3a56657273696f6e3a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Workflow/V1/Message.php b/api/GPBMetadata/Temporal/Api/Workflow/V1/Message.php
deleted file mode 100644
index bcdf2da73..000000000
--- a/api/GPBMetadata/Temporal/Api/Workflow/V1/Message.php
+++ /dev/null
@@ -1,31 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0ab7130a2674656d706f72616c2f6170692f776f726b666c6f772f76312f6d6573736167652e70726f746f121874656d706f72616c2e6170692e776f726b666c6f772e76311a1f676f6f676c652f70726f746f6275662f74696d657374616d702e70726f746f1a21646570656e64656e636965732f676f676f70726f746f2f676f676f2e70726f746f1a2474656d706f72616c2f6170692f656e756d732f76312f776f726b666c6f772e70726f746f1a2474656d706f72616c2f6170692f636f6d6d6f6e2f76312f6d6573736167652e70726f746f1a2574656d706f72616c2f6170692f6661696c7572652f76312f6d6573736167652e70726f746f1a2774656d706f72616c2f6170692f7461736b71756575652f76312f6d6573736167652e70726f746f22b0050a15576f726b666c6f77457865637574696f6e496e666f123c0a09657865637574696f6e18012001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e12320a047479706518022001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f775479706512340a0a73746172745f74696d6518032001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f0112340a0a636c6f73655f74696d6518042001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f01123e0a0673746174757318052001280e322e2e74656d706f72616c2e6170692e656e756d732e76312e576f726b666c6f77457865637574696f6e53746174757312160a0e686973746f72795f6c656e677468180620012803121b0a13706172656e745f6e616d6573706163655f696418072001280912430a10706172656e745f657865637574696f6e18082001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e12380a0e657865637574696f6e5f74696d6518092001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f01122a0a046d656d6f180a2001280b321c2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e4d656d6f12430a117365617263685f61747472696275746573180b2001280b32282e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5365617263684174747269627574657312400a116175746f5f72657365745f706f696e7473180c2001280b32252e74656d706f72616c2e6170692e776f726b666c6f772e76312e5265736574506f696e747312120a0a7461736b5f7175657565180d20012809229f020a17576f726b666c6f77457865637574696f6e436f6e66696712380a0a7461736b5f717565756518012001280b32242e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b517565756512430a1a776f726b666c6f775f657865637574696f6e5f74696d656f757418022001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123d0a14776f726b666c6f775f72756e5f74696d656f757418032001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f0112460a1d64656661756c745f776f726b666c6f775f7461736b5f74696d656f757418042001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f0122d2040a1350656e64696e674163746976697479496e666f12130a0b61637469766974795f6964180120012809123b0a0d61637469766974795f7479706518022001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e416374697669747954797065123a0a05737461746518032001280e322b2e74656d706f72616c2e6170692e656e756d732e76312e50656e64696e6741637469766974795374617465123b0a116865617274626561745f64657461696c7318042001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f616473123d0a136c6173745f6865617274626561745f74696d6518052001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f01123b0a116c6173745f737461727465645f74696d6518062001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f01120f0a07617474656d707418072001280512180a106d6178696d756d5f617474656d70747318082001280512380a0e7363686564756c65645f74696d6518092001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f0112390a0f65787069726174696f6e5f74696d65180a2001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f0112360a0c6c6173745f6661696c757265180b2001280b32202e74656d706f72616c2e6170692e6661696c7572652e76312e4661696c757265121c0a146c6173745f776f726b65725f6964656e74697479180c2001280922b9010a1950656e64696e674368696c64457865637574696f6e496e666f12130a0b776f726b666c6f775f6964180120012809120e0a0672756e5f6964180220012809121a0a12776f726b666c6f775f747970655f6e616d6518032001280912140a0c696e697469617465645f696418042001280312450a13706172656e745f636c6f73655f706f6c69637918052001280e32282e74656d706f72616c2e6170692e656e756d732e76312e506172656e74436c6f7365506f6c69637922470a0b5265736574506f696e747312380a06706f696e747318012003280b32282e74656d706f72616c2e6170692e776f726b666c6f772e76312e5265736574506f696e74496e666f22e5010a0e5265736574506f696e74496e666f12170a0f62696e6172795f636865636b73756d180120012809120e0a0672756e5f696418022001280912280a2066697273745f776f726b666c6f775f7461736b5f636f6d706c657465645f696418032001280312350a0b6372656174655f74696d6518042001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f0112350a0b6578706972655f74696d6518052001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f0112120a0a72657365747461626c6518062001280842740a1b696f2e74656d706f72616c2e6170692e776f726b666c6f772e7631420c4d65737361676550726f746f50015a27676f2e74656d706f72616c2e696f2f6170692f776f726b666c6f772f76313b776f726b666c6f77ea021b54656d706f72616c3a3a4170693a3a576f726b666c6f773a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Workflowservice/V1/RequestResponse.php b/api/GPBMetadata/Temporal/Api/Workflowservice/V1/RequestResponse.php
deleted file mode 100644
index e96c6e66b..000000000
--- a/api/GPBMetadata/Temporal/Api/Workflowservice/V1/RequestResponse.php
+++ /dev/null
@@ -1,44 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0aae780a3674656d706f72616c2f6170692f776f726b666c6f77736572766963652f76312f726571756573745f726573706f6e73652e70726f746f121f74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76311a2574656d706f72616c2f6170692f656e756d732f76312f6e616d6573706163652e70726f746f1a2874656d706f72616c2f6170692f656e756d732f76312f6661696c65645f63617573652e70726f746f1a2274656d706f72616c2f6170692f656e756d732f76312f636f6d6d6f6e2e70726f746f1a2174656d706f72616c2f6170692f656e756d732f76312f71756572792e70726f746f1a2674656d706f72616c2f6170692f656e756d732f76312f7461736b5f71756575652e70726f746f1a2474656d706f72616c2f6170692f636f6d6d6f6e2f76312f6d6573736167652e70726f746f1a2574656d706f72616c2f6170692f686973746f72792f76312f6d6573736167652e70726f746f1a2674656d706f72616c2f6170692f776f726b666c6f772f76312f6d6573736167652e70726f746f1a2574656d706f72616c2f6170692f636f6d6d616e642f76312f6d6573736167652e70726f746f1a2574656d706f72616c2f6170692f6661696c7572652f76312f6d6573736167652e70726f746f1a2474656d706f72616c2f6170692f66696c7465722f76312f6d6573736167652e70726f746f1a2774656d706f72616c2f6170692f6e616d6573706163652f76312f6d6573736167652e70726f746f1a2374656d706f72616c2f6170692f71756572792f76312f6d6573736167652e70726f746f1a2974656d706f72616c2f6170692f7265706c69636174696f6e2f76312f6d6573736167652e70726f746f1a2774656d706f72616c2f6170692f7461736b71756575652f76312f6d6573736167652e70726f746f1a2574656d706f72616c2f6170692f76657273696f6e2f76312f6d6573736167652e70726f746f1a1e676f6f676c652f70726f746f6275662f6475726174696f6e2e70726f746f1a1f676f6f676c652f70726f746f6275662f74696d657374616d702e70726f746f1a21646570656e64656e636965732f676f676f70726f746f2f676f676f2e70726f746f228e050a1852656769737465724e616d6573706163655265717565737412110a096e616d65737061636518012001280912130a0b6465736372697074696f6e18022001280912130a0b6f776e65725f656d61696c180320012809124c0a23776f726b666c6f775f657865637574696f6e5f726574656e74696f6e5f706572696f6418042001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f0112470a08636c75737465727318052003280b32352e74656d706f72616c2e6170692e7265706c69636174696f6e2e76312e436c75737465725265706c69636174696f6e436f6e666967121b0a136163746976655f636c75737465725f6e616d6518062001280912510a046461746118072003280b32432e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e52656769737465724e616d657370616365526571756573742e44617461456e74727912160a0e73656375726974795f746f6b656e180820012809121b0a1369735f676c6f62616c5f6e616d65737061636518092001280812440a16686973746f72795f617263686976616c5f7374617465180a2001280e32242e74656d706f72616c2e6170692e656e756d732e76312e417263686976616c5374617465121c0a14686973746f72795f617263686976616c5f757269180b2001280912470a197669736962696c6974795f617263686976616c5f7374617465180c2001280e32242e74656d706f72616c2e6170692e656e756d732e76312e417263686976616c5374617465121f0a177669736962696c6974795f617263686976616c5f757269180d200128091a2b0a0944617461456e747279120b0a036b6579180120012809120d0a0576616c75651802200128093a023801221b0a1952656769737465724e616d657370616365526573706f6e736522430a154c6973744e616d657370616365735265717565737412110a09706167655f73697a6518012001280512170a0f6e6578745f706167655f746f6b656e18022001280c2281010a164c6973744e616d65737061636573526573706f6e7365124e0a0a6e616d6573706163657318012003280b323a2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e44657363726962654e616d657370616365526573706f6e736512170a0f6e6578745f706167655f746f6b656e18022001280c22390a1844657363726962654e616d6573706163655265717565737412110a096e616d657370616365180120012809120a0a02696418022001280922a5020a1944657363726962654e616d657370616365526573706f6e736512400a0e6e616d6573706163655f696e666f18012001280b32282e74656d706f72616c2e6170692e6e616d6573706163652e76312e4e616d657370616365496e666f123a0a06636f6e66696718022001280b322a2e74656d706f72616c2e6170692e6e616d6573706163652e76312e4e616d657370616365436f6e66696712530a127265706c69636174696f6e5f636f6e66696718032001280b32372e74656d706f72616c2e6170692e7265706c69636174696f6e2e76312e4e616d6573706163655265706c69636174696f6e436f6e66696712180a106661696c6f7665725f76657273696f6e180420012803121b0a1369735f676c6f62616c5f6e616d65737061636518052001280822b4020a165570646174654e616d6573706163655265717565737412110a096e616d65737061636518012001280912430a0b7570646174655f696e666f18022001280b322e2e74656d706f72616c2e6170692e6e616d6573706163652e76312e5570646174654e616d657370616365496e666f123a0a06636f6e66696718032001280b322a2e74656d706f72616c2e6170692e6e616d6573706163652e76312e4e616d657370616365436f6e66696712530a127265706c69636174696f6e5f636f6e66696718042001280b32372e74656d706f72616c2e6170692e7265706c69636174696f6e2e76312e4e616d6573706163655265706c69636174696f6e436f6e66696712160a0e73656375726974795f746f6b656e18052001280912190a1164656c6574655f6261645f62696e61727918062001280922a3020a175570646174654e616d657370616365526573706f6e736512400a0e6e616d6573706163655f696e666f18012001280b32282e74656d706f72616c2e6170692e6e616d6573706163652e76312e4e616d657370616365496e666f123a0a06636f6e66696718022001280b322a2e74656d706f72616c2e6170692e6e616d6573706163652e76312e4e616d657370616365436f6e66696712530a127265706c69636174696f6e5f636f6e66696718032001280b32372e74656d706f72616c2e6170692e7265706c69636174696f6e2e76312e4e616d6573706163655265706c69636174696f6e436f6e66696712180a106661696c6f7665725f76657273696f6e180420012803121b0a1369735f676c6f62616c5f6e616d65737061636518052001280822460a194465707265636174654e616d6573706163655265717565737412110a096e616d65737061636518012001280912160a0e73656375726974795f746f6b656e180220012809221c0a1a4465707265636174654e616d657370616365526573706f6e7365229c060a1d5374617274576f726b666c6f77457865637574696f6e5265717565737412110a096e616d65737061636518012001280912130a0b776f726b666c6f775f6964180220012809123b0a0d776f726b666c6f775f7479706518032001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f775479706512380a0a7461736b5f717565756518042001280b32242e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b5175657565122f0a05696e70757418052001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312430a1a776f726b666c6f775f657865637574696f6e5f74696d656f757418062001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123d0a14776f726b666c6f775f72756e5f74696d656f757418072001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123e0a15776f726b666c6f775f7461736b5f74696d656f757418082001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f0112100a086964656e7469747918092001280912120a0a726571756573745f6964180a20012809124e0a18776f726b666c6f775f69645f72657573655f706f6c696379180b2001280e322c2e74656d706f72616c2e6170692e656e756d732e76312e576f726b666c6f7749645265757365506f6c69637912390a0c72657472795f706f6c696379180c2001280b32232e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5265747279506f6c69637912150a0d63726f6e5f7363686564756c65180d20012809122a0a046d656d6f180e2001280b321c2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e4d656d6f12430a117365617263685f61747472696275746573180f2001280b32282e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e53656172636841747472696275746573122e0a0668656164657218102001280b321e2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e48656164657222300a1e5374617274576f726b666c6f77457865637574696f6e526573706f6e7365120e0a0672756e5f696418012001280922aa020a22476574576f726b666c6f77457865637574696f6e486973746f72795265717565737412110a096e616d657370616365180120012809123c0a09657865637574696f6e18022001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e12190a116d6178696d756d5f706167655f73697a6518032001280512170a0f6e6578745f706167655f746f6b656e18042001280c12160a0e776169745f6e65775f6576656e7418052001280812500a19686973746f72795f6576656e745f66696c7465725f7479706518062001280e322d2e74656d706f72616c2e6170692e656e756d732e76312e486973746f72794576656e7446696c7465725479706512150a0d736b69705f617263686976616c18072001280822ba010a23476574576f726b666c6f77457865637574696f6e486973746f7279526573706f6e736512310a07686973746f727918012001280b32202e74656d706f72616c2e6170692e686973746f72792e76312e486973746f727912350a0b7261775f686973746f727918022003280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e44617461426c6f6212170a0f6e6578745f706167655f746f6b656e18032001280c12100a0861726368697665641804200128082296010a1c506f6c6c576f726b666c6f775461736b51756575655265717565737412110a096e616d65737061636518012001280912380a0a7461736b5f717565756518022001280b32242e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b517565756512100a086964656e7469747918032001280912170a0f62696e6172795f636865636b73756d1804200128092295060a1d506f6c6c576f726b666c6f775461736b5175657565526573706f6e736512120a0a7461736b5f746f6b656e18012001280c12450a12776f726b666c6f775f657865637574696f6e18022001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e123b0a0d776f726b666c6f775f7479706518032001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f775479706512210a1970726576696f75735f737461727465645f6576656e745f696418042001280312180a10737461727465645f6576656e745f6964180520012803120f0a07617474656d7074180620012805121a0a126261636b6c6f675f636f756e745f68696e7418072001280312310a07686973746f727918082001280b32202e74656d706f72616c2e6170692e686973746f72792e76312e486973746f727912170a0f6e6578745f706167655f746f6b656e18092001280c12330a057175657279180a2001280b32242e74656d706f72616c2e6170692e71756572792e76312e576f726b666c6f775175657279124b0a1d776f726b666c6f775f657865637574696f6e5f7461736b5f7175657565180b2001280b32242e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b517565756512380a0e7363686564756c65645f74696d65180c2001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f0112360a0c737461727465645f74696d65180d2001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f01125c0a0771756572696573180e2003280b324b2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e506f6c6c576f726b666c6f775461736b5175657565526573706f6e73652e51756572696573456e7472791a540a0c51756572696573456e747279120b0a036b657918012001280912330a0576616c756518022001280b32242e74656d706f72616c2e6170692e71756572792e76312e576f726b666c6f7751756572793a0238012296040a23526573706f6e64576f726b666c6f775461736b436f6d706c657465645265717565737412120a0a7461736b5f746f6b656e18012001280c12320a08636f6d6d616e647318022003280b32202e74656d706f72616c2e6170692e636f6d6d616e642e76312e436f6d6d616e6412100a086964656e74697479180320012809124f0a11737469636b795f6174747269627574657318042001280b32342e74656d706f72616c2e6170692e7461736b71756575652e76312e537469636b79457865637574696f6e4174747269627574657312200a1872657475726e5f6e65775f776f726b666c6f775f7461736b18052001280812260a1e666f7263655f6372656174655f6e65775f776f726b666c6f775f7461736b18062001280812170a0f62696e6172795f636865636b73756d180720012809126d0a0d71756572795f726573756c747318082003280b32562e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e526573706f6e64576f726b666c6f775461736b436f6d706c65746564526571756573742e5175657279526573756c7473456e74727912110a096e616d6573706163651809200128091a5f0a115175657279526573756c7473456e747279120b0a036b657918012001280912390a0576616c756518022001280b322a2e74656d706f72616c2e6170692e71756572792e76312e576f726b666c6f775175657279526573756c743a023801227d0a24526573706f6e64576f726b666c6f775461736b436f6d706c65746564526573706f6e736512550a0d776f726b666c6f775f7461736b18012001280b323e2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e506f6c6c576f726b666c6f775461736b5175657565526573706f6e736522e6010a20526573706f6e64576f726b666c6f775461736b4661696c65645265717565737412120a0a7461736b5f746f6b656e18012001280c123d0a05636175736518022001280e322e2e74656d706f72616c2e6170692e656e756d732e76312e576f726b666c6f775461736b4661696c6564436175736512310a076661696c75726518032001280b32202e74656d706f72616c2e6170692e6661696c7572652e76312e4661696c75726512100a086964656e7469747918042001280912170a0f62696e6172795f636865636b73756d18052001280912110a096e616d65737061636518062001280922230a21526573706f6e64576f726b666c6f775461736b4661696c6564526573706f6e736522c8010a1c506f6c6c41637469766974795461736b51756575655265717565737412110a096e616d65737061636518012001280912380a0a7461736b5f717565756518022001280b32242e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b517565756512100a086964656e7469747918032001280912490a137461736b5f71756575655f6d6574616461746118042001280b322c2e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b51756575654d65746164617461228c070a1d506f6c6c41637469766974795461736b5175657565526573706f6e736512120a0a7461736b5f746f6b656e18012001280c121a0a12776f726b666c6f775f6e616d657370616365180220012809123b0a0d776f726b666c6f775f7479706518032001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f775479706512450a12776f726b666c6f775f657865637574696f6e18042001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e123b0a0d61637469766974795f7479706518052001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e41637469766974795479706512130a0b61637469766974795f6964180620012809122e0a0668656164657218072001280b321e2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e486561646572122f0a05696e70757418082001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f616473123b0a116865617274626561745f64657461696c7318092001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312380a0e7363686564756c65645f74696d65180a2001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f0112480a1e63757272656e745f617474656d70745f7363686564756c65645f74696d65180b2001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f0112360a0c737461727465645f74696d65180c2001280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d70420490df1f01120f0a07617474656d7074180d2001280512420a197363686564756c655f746f5f636c6f73655f74696d656f7574180e2001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123f0a1673746172745f746f5f636c6f73655f74696d656f7574180f2001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123a0a116865617274626561745f74696d656f757418102001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f0112390a0c72657472795f706f6c69637918112001280b32232e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5265747279506f6c6963792290010a225265636f726441637469766974795461736b4865617274626561745265717565737412120a0a7461736b5f746f6b656e18012001280c12310a0764657461696c7318022001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312100a086964656e7469747918032001280912110a096e616d657370616365180420012809223f0a235265636f726441637469766974795461736b486561727462656174526573706f6e736512180a1063616e63656c5f72657175657374656418012001280822ba010a265265636f726441637469766974795461736b486561727462656174427949645265717565737412110a096e616d65737061636518012001280912130a0b776f726b666c6f775f6964180220012809120e0a0672756e5f696418032001280912130a0b61637469766974795f696418042001280912310a0764657461696c7318052001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312100a086964656e7469747918062001280922430a275265636f726441637469766974795461736b48656172746265617442794964526573706f6e736512180a1063616e63656c5f7265717565737465641801200128082290010a23526573706f6e6441637469766974795461736b436f6d706c657465645265717565737412120a0a7461736b5f746f6b656e18012001280c12300a06726573756c7418022001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312100a086964656e7469747918032001280912110a096e616d65737061636518042001280922260a24526573706f6e6441637469766974795461736b436f6d706c65746564526573706f6e736522ba010a27526573706f6e6441637469766974795461736b436f6d706c65746564427949645265717565737412110a096e616d65737061636518012001280912130a0b776f726b666c6f775f6964180220012809120e0a0672756e5f696418032001280912130a0b61637469766974795f696418042001280912300a06726573756c7418052001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312100a086964656e74697479180620012809222a0a28526573706f6e6441637469766974795461736b436f6d706c6574656442794964526573706f6e7365228e010a20526573706f6e6441637469766974795461736b4661696c65645265717565737412120a0a7461736b5f746f6b656e18012001280c12310a076661696c75726518022001280b32202e74656d706f72616c2e6170692e6661696c7572652e76312e4661696c75726512100a086964656e7469747918032001280912110a096e616d65737061636518042001280922230a21526573706f6e6441637469766974795461736b4661696c6564526573706f6e736522b8010a24526573706f6e6441637469766974795461736b4661696c6564427949645265717565737412110a096e616d65737061636518012001280912130a0b776f726b666c6f775f6964180220012809120e0a0672756e5f696418032001280912130a0b61637469766974795f696418042001280912310a076661696c75726518052001280b32202e74656d706f72616c2e6170692e6661696c7572652e76312e4661696c75726512100a086964656e7469747918062001280922270a25526573706f6e6441637469766974795461736b4661696c656442794964526573706f6e73652290010a22526573706f6e6441637469766974795461736b43616e63656c65645265717565737412120a0a7461736b5f746f6b656e18012001280c12310a0764657461696c7318022001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312100a086964656e7469747918032001280912110a096e616d65737061636518042001280922250a23526573706f6e6441637469766974795461736b43616e63656c6564526573706f6e736522ba010a26526573706f6e6441637469766974795461736b43616e63656c6564427949645265717565737412110a096e616d65737061636518012001280912130a0b776f726b666c6f775f6964180220012809120e0a0672756e5f696418032001280912130a0b61637469766974795f696418042001280912310a0764657461696c7318052001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312100a086964656e7469747918062001280922290a27526573706f6e6441637469766974795461736b43616e63656c656442794964526573706f6e736522c7010a255265717565737443616e63656c576f726b666c6f77457865637574696f6e5265717565737412110a096e616d65737061636518012001280912450a12776f726b666c6f775f657865637574696f6e18022001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e12100a086964656e7469747918032001280912120a0a726571756573745f6964180420012809121e0a1666697273745f657865637574696f6e5f72756e5f696418052001280922280a265265717565737443616e63656c576f726b666c6f77457865637574696f6e526573706f6e736522f7010a1e5369676e616c576f726b666c6f77457865637574696f6e5265717565737412110a096e616d65737061636518012001280912450a12776f726b666c6f775f657865637574696f6e18022001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e12130a0b7369676e616c5f6e616d65180320012809122f0a05696e70757418042001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312100a086964656e7469747918052001280912120a0a726571756573745f6964180620012809120f0a07636f6e74726f6c18072001280922210a1f5369676e616c576f726b666c6f77457865637574696f6e526573706f6e73652284070a275369676e616c576974685374617274576f726b666c6f77457865637574696f6e5265717565737412110a096e616d65737061636518012001280912130a0b776f726b666c6f775f6964180220012809123b0a0d776f726b666c6f775f7479706518032001280b32242e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f775479706512380a0a7461736b5f717565756518042001280b32242e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b5175657565122f0a05696e70757418052001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312430a1a776f726b666c6f775f657865637574696f6e5f74696d656f757418062001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123d0a14776f726b666c6f775f72756e5f74696d656f757418072001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f01123e0a15776f726b666c6f775f7461736b5f74696d656f757418082001280b32192e676f6f676c652e70726f746f6275662e4475726174696f6e420498df1f0112100a086964656e7469747918092001280912120a0a726571756573745f6964180a20012809124e0a18776f726b666c6f775f69645f72657573655f706f6c696379180b2001280e322c2e74656d706f72616c2e6170692e656e756d732e76312e576f726b666c6f7749645265757365506f6c69637912130a0b7369676e616c5f6e616d65180c2001280912360a0c7369676e616c5f696e707574180d2001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f616473120f0a07636f6e74726f6c180e2001280912390a0c72657472795f706f6c696379180f2001280b32232e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5265747279506f6c69637912150a0d63726f6e5f7363686564756c65181020012809122a0a046d656d6f18112001280b321c2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e4d656d6f12430a117365617263685f6174747269627574657318122001280b32282e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e53656172636841747472696275746573122e0a0668656164657218132001280b321e2e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e486561646572223a0a285369676e616c576974685374617274576f726b666c6f77457865637574696f6e526573706f6e7365120e0a0672756e5f696418012001280922c4010a1d5265736574576f726b666c6f77457865637574696f6e5265717565737412110a096e616d65737061636518012001280912450a12776f726b666c6f775f657865637574696f6e18022001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e120e0a06726561736f6e18032001280912250a1d776f726b666c6f775f7461736b5f66696e6973685f6576656e745f696418042001280312120a0a726571756573745f696418052001280922300a1e5265736574576f726b666c6f77457865637574696f6e526573706f6e7365120e0a0672756e5f696418012001280922f2010a215465726d696e617465576f726b666c6f77457865637574696f6e5265717565737412110a096e616d65737061636518012001280912450a12776f726b666c6f775f657865637574696f6e18022001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e120e0a06726561736f6e18032001280912310a0764657461696c7318042001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312100a086964656e74697479180520012809121e0a1666697273745f657865637574696f6e5f72756e5f696418062001280922240a225465726d696e617465576f726b666c6f77457865637574696f6e526573706f6e736522c9020a214c6973744f70656e576f726b666c6f77457865637574696f6e735265717565737412110a096e616d65737061636518012001280912190a116d6178696d756d5f706167655f73697a6518022001280512170a0f6e6578745f706167655f746f6b656e18032001280c12420a1173746172745f74696d655f66696c74657218042001280b32272e74656d706f72616c2e6170692e66696c7465722e76312e537461727454696d6546696c746572124b0a10657865637574696f6e5f66696c74657218052001280b322f2e74656d706f72616c2e6170692e66696c7465722e76312e576f726b666c6f77457865637574696f6e46696c746572480012410a0b747970655f66696c74657218062001280b322a2e74656d706f72616c2e6170692e66696c7465722e76312e576f726b666c6f775479706546696c746572480042090a0766696c746572732282010a224c6973744f70656e576f726b666c6f77457865637574696f6e73526573706f6e736512430a0a657865637574696f6e7318012003280b322f2e74656d706f72616c2e6170692e776f726b666c6f772e76312e576f726b666c6f77457865637574696f6e496e666f12170a0f6e6578745f706167655f746f6b656e18022001280c228a030a234c697374436c6f736564576f726b666c6f77457865637574696f6e735265717565737412110a096e616d65737061636518012001280912190a116d6178696d756d5f706167655f73697a6518022001280512170a0f6e6578745f706167655f746f6b656e18032001280c12420a1173746172745f74696d655f66696c74657218042001280b32272e74656d706f72616c2e6170692e66696c7465722e76312e537461727454696d6546696c746572124b0a10657865637574696f6e5f66696c74657218052001280b322f2e74656d706f72616c2e6170692e66696c7465722e76312e576f726b666c6f77457865637574696f6e46696c746572480012410a0b747970655f66696c74657218062001280b322a2e74656d706f72616c2e6170692e66696c7465722e76312e576f726b666c6f775479706546696c7465724800123d0a0d7374617475735f66696c74657218072001280b32242e74656d706f72616c2e6170692e66696c7465722e76312e53746174757346696c746572480042090a0766696c746572732284010a244c697374436c6f736564576f726b666c6f77457865637574696f6e73526573706f6e736512430a0a657865637574696f6e7318012003280b322f2e74656d706f72616c2e6170692e776f726b666c6f772e76312e576f726b666c6f77457865637574696f6e496e666f12170a0f6e6578745f706167655f746f6b656e18022001280c226d0a1d4c697374576f726b666c6f77457865637574696f6e735265717565737412110a096e616d65737061636518012001280912110a09706167655f73697a6518022001280512170a0f6e6578745f706167655f746f6b656e18032001280c120d0a057175657279180420012809227e0a1e4c697374576f726b666c6f77457865637574696f6e73526573706f6e736512430a0a657865637574696f6e7318012003280b322f2e74656d706f72616c2e6170692e776f726b666c6f772e76312e576f726b666c6f77457865637574696f6e496e666f12170a0f6e6578745f706167655f746f6b656e18022001280c22750a254c6973744172636869766564576f726b666c6f77457865637574696f6e735265717565737412110a096e616d65737061636518012001280912110a09706167655f73697a6518022001280512170a0f6e6578745f706167655f746f6b656e18032001280c120d0a0571756572791804200128092286010a264c6973744172636869766564576f726b666c6f77457865637574696f6e73526573706f6e736512430a0a657865637574696f6e7318012003280b322f2e74656d706f72616c2e6170692e776f726b666c6f772e76312e576f726b666c6f77457865637574696f6e496e666f12170a0f6e6578745f706167655f746f6b656e18022001280c226d0a1d5363616e576f726b666c6f77457865637574696f6e735265717565737412110a096e616d65737061636518012001280912110a09706167655f73697a6518022001280512170a0f6e6578745f706167655f746f6b656e18032001280c120d0a057175657279180420012809227e0a1e5363616e576f726b666c6f77457865637574696f6e73526573706f6e736512430a0a657865637574696f6e7318012003280b322f2e74656d706f72616c2e6170692e776f726b666c6f772e76312e576f726b666c6f77457865637574696f6e496e666f12170a0f6e6578745f706167655f746f6b656e18022001280c22420a1e436f756e74576f726b666c6f77457865637574696f6e735265717565737412110a096e616d657370616365180120012809120d0a05717565727918022001280922300a1f436f756e74576f726b666c6f77457865637574696f6e73526573706f6e7365120d0a05636f756e74180120012803221c0a1a476574536561726368417474726962757465735265717565737422c9010a1b47657453656172636841747472696275746573526573706f6e736512540a046b65797318012003280b32462e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e47657453656172636841747472696275746573526573706f6e73652e4b657973456e7472791a540a094b657973456e747279120b0a036b657918012001280912360a0576616c756518022001280e32272e74656d706f72616c2e6170692e656e756d732e76312e496e646578656456616c7565547970653a02380122de010a20526573706f6e6451756572795461736b436f6d706c657465645265717565737412120a0a7461736b5f746f6b656e18012001280c123e0a0e636f6d706c657465645f7479706518022001280e32262e74656d706f72616c2e6170692e656e756d732e76312e5175657279526573756c745479706512360a0c71756572795f726573756c7418032001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f61647312150a0d6572726f725f6d65737361676518042001280912110a096e616d6573706163651806200128094a040805100622230a21526573706f6e6451756572795461736b436f6d706c65746564526573706f6e7365226e0a1b5265736574537469636b795461736b51756575655265717565737412110a096e616d657370616365180120012809123c0a09657865637574696f6e18022001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e221e0a1c5265736574537469636b795461736b5175657565526573706f6e736522e9010a145175657279576f726b666c6f775265717565737412110a096e616d657370616365180120012809123c0a09657865637574696f6e18022001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e12330a05717565727918032001280b32242e74656d706f72616c2e6170692e71756572792e76312e576f726b666c6f775175657279124b0a1671756572795f72656a6563745f636f6e646974696f6e18042001280e322b2e74656d706f72616c2e6170692e656e756d732e76312e517565727952656a656374436f6e646974696f6e228d010a155175657279576f726b666c6f77526573706f6e736512360a0c71756572795f726573756c7418012001280b32202e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e5061796c6f616473123c0a0e71756572795f72656a656374656418022001280b32242e74656d706f72616c2e6170692e71756572792e76312e517565727952656a656374656422730a204465736372696265576f726b666c6f77457865637574696f6e5265717565737412110a096e616d657370616365180120012809123c0a09657865637574696f6e18022001280b32292e74656d706f72616c2e6170692e636f6d6d6f6e2e76312e576f726b666c6f77457865637574696f6e22dc020a214465736372696265576f726b666c6f77457865637574696f6e526573706f6e7365124b0a10657865637574696f6e5f636f6e66696718012001280b32312e74656d706f72616c2e6170692e776f726b666c6f772e76312e576f726b666c6f77457865637574696f6e436f6e66696712500a17776f726b666c6f775f657865637574696f6e5f696e666f18022001280b322f2e74656d706f72616c2e6170692e776f726b666c6f772e76312e576f726b666c6f77457865637574696f6e496e666f12490a1270656e64696e675f6163746976697469657318032003280b322d2e74656d706f72616c2e6170692e776f726b666c6f772e76312e50656e64696e674163746976697479496e666f124d0a1070656e64696e675f6368696c6472656e18042003280b32332e74656d706f72616c2e6170692e776f726b666c6f772e76312e50656e64696e674368696c64457865637574696f6e496e666f22c9010a1844657363726962655461736b51756575655265717565737412110a096e616d65737061636518012001280912380a0a7461736b5f717565756518022001280b32242e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b5175657565123d0a0f7461736b5f71756575655f7479706518032001280e32242e74656d706f72616c2e6170692e656e756d732e76312e5461736b51756575655479706512210a19696e636c7564655f7461736b5f71756575655f737461747573180420012808229a010a1944657363726962655461736b5175657565526573706f6e736512360a07706f6c6c65727318012003280b32252e74656d706f72616c2e6170692e7461736b71756575652e76312e506f6c6c6572496e666f12450a117461736b5f71756575655f73746174757318022001280b322a2e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b517565756553746174757322170a15476574436c7573746572496e666f5265717565737422d6020a16476574436c7573746572496e666f526573706f6e736512680a11737570706f727465645f636c69656e747318012003280b324d2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e476574436c7573746572496e666f526573706f6e73652e537570706f72746564436c69656e7473456e74727912160a0e7365727665725f76657273696f6e18022001280912120a0a636c75737465725f6964180320012809123a0a0c76657273696f6e5f696e666f18042001280b32242e74656d706f72616c2e6170692e76657273696f6e2e76312e56657273696f6e496e666f12140a0c636c75737465725f6e616d65180520012809121b0a13686973746f72795f73686172645f636f756e741806200128051a370a15537570706f72746564436c69656e7473456e747279120b0a036b6579180120012809120d0a0576616c75651802200128093a023801226d0a1e4c6973745461736b5175657565506172746974696f6e735265717565737412110a096e616d65737061636518012001280912380a0a7461736b5f717565756518022001280b32242e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b517565756522df010a1f4c6973745461736b5175657565506172746974696f6e73526573706f6e7365125d0a1e61637469766974795f7461736b5f71756575655f706172746974696f6e7318012003280b32352e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b5175657565506172746974696f6e4d65746164617461125d0a1e776f726b666c6f775f7461736b5f71756575655f706172746974696f6e7318022003280b32352e74656d706f72616c2e6170692e7461736b71756575652e76312e5461736b5175657565506172746974696f6e4d657461646174614298010a22696f2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e7631421452657175657374526573706f6e736550726f746f50015a35676f2e74656d706f72616c2e696f2f6170692f776f726b666c6f77736572766963652f76313b776f726b666c6f7773657276696365ea022254656d706f72616c3a3a4170693a3a576f726b666c6f77536572766963653a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/GPBMetadata/Temporal/Api/Workflowservice/V1/Service.php b/api/GPBMetadata/Temporal/Api/Workflowservice/V1/Service.php
deleted file mode 100644
index 97c549da3..000000000
--- a/api/GPBMetadata/Temporal/Api/Workflowservice/V1/Service.php
+++ /dev/null
@@ -1,25 +0,0 @@
-internalAddGeneratedFile(hex2bin(
- "0aa4320a2d74656d706f72616c2f6170692f776f726b666c6f77736572766963652f76312f736572766963652e70726f746f121f74656d706f72616c2e6170692e776f726b666c6f77736572766963652e763132b6300a0f576f726b666c6f7753657276696365128c010a1152656769737465724e616d65737061636512392e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e52656769737465724e616d657370616365526571756573741a3a2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e52656769737465724e616d657370616365526573706f6e73652200128c010a1144657363726962654e616d65737061636512392e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e44657363726962654e616d657370616365526571756573741a3a2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e44657363726962654e616d657370616365526573706f6e736522001283010a0e4c6973744e616d6573706163657312362e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e4c6973744e616d65737061636573526571756573741a372e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e4c6973744e616d65737061636573526573706f6e736522001286010a0f5570646174654e616d65737061636512372e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5570646174654e616d657370616365526571756573741a382e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5570646174654e616d657370616365526573706f6e73652200128f010a124465707265636174654e616d657370616365123a2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e4465707265636174654e616d657370616365526571756573741a3b2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e4465707265636174654e616d657370616365526573706f6e73652200129b010a165374617274576f726b666c6f77457865637574696f6e123e2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5374617274576f726b666c6f77457865637574696f6e526571756573741a3f2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5374617274576f726b666c6f77457865637574696f6e526573706f6e7365220012aa010a1b476574576f726b666c6f77457865637574696f6e486973746f727912432e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e476574576f726b666c6f77457865637574696f6e486973746f7279526571756573741a442e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e476574576f726b666c6f77457865637574696f6e486973746f7279526573706f6e736522001298010a15506f6c6c576f726b666c6f775461736b5175657565123d2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e506f6c6c576f726b666c6f775461736b5175657565526571756573741a3e2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e506f6c6c576f726b666c6f775461736b5175657565526573706f6e7365220012ad010a1c526573706f6e64576f726b666c6f775461736b436f6d706c6574656412442e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e526573706f6e64576f726b666c6f775461736b436f6d706c65746564526571756573741a452e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e526573706f6e64576f726b666c6f775461736b436f6d706c65746564526573706f6e7365220012a4010a19526573706f6e64576f726b666c6f775461736b4661696c656412412e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e526573706f6e64576f726b666c6f775461736b4661696c6564526571756573741a422e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e526573706f6e64576f726b666c6f775461736b4661696c6564526573706f6e736522001298010a15506f6c6c41637469766974795461736b5175657565123d2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e506f6c6c41637469766974795461736b5175657565526571756573741a3e2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e506f6c6c41637469766974795461736b5175657565526573706f6e7365220012aa010a1b5265636f726441637469766974795461736b48656172746265617412432e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5265636f726441637469766974795461736b486561727462656174526571756573741a442e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5265636f726441637469766974795461736b486561727462656174526573706f6e7365220012b6010a1f5265636f726441637469766974795461736b4865617274626561744279496412472e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5265636f726441637469766974795461736b48656172746265617442794964526571756573741a482e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5265636f726441637469766974795461736b48656172746265617442794964526573706f6e7365220012ad010a1c526573706f6e6441637469766974795461736b436f6d706c6574656412442e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e526573706f6e6441637469766974795461736b436f6d706c65746564526571756573741a452e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e526573706f6e6441637469766974795461736b436f6d706c65746564526573706f6e7365220012b9010a20526573706f6e6441637469766974795461736b436f6d706c657465644279496412482e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e526573706f6e6441637469766974795461736b436f6d706c6574656442794964526571756573741a492e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e526573706f6e6441637469766974795461736b436f6d706c6574656442794964526573706f6e7365220012a4010a19526573706f6e6441637469766974795461736b4661696c656412412e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e526573706f6e6441637469766974795461736b4661696c6564526571756573741a422e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e526573706f6e6441637469766974795461736b4661696c6564526573706f6e7365220012b0010a1d526573706f6e6441637469766974795461736b4661696c65644279496412452e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e526573706f6e6441637469766974795461736b4661696c656442794964526571756573741a462e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e526573706f6e6441637469766974795461736b4661696c656442794964526573706f6e7365220012aa010a1b526573706f6e6441637469766974795461736b43616e63656c656412432e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e526573706f6e6441637469766974795461736b43616e63656c6564526571756573741a442e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e526573706f6e6441637469766974795461736b43616e63656c6564526573706f6e7365220012b6010a1f526573706f6e6441637469766974795461736b43616e63656c65644279496412472e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e526573706f6e6441637469766974795461736b43616e63656c656442794964526571756573741a482e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e526573706f6e6441637469766974795461736b43616e63656c656442794964526573706f6e7365220012b3010a1e5265717565737443616e63656c576f726b666c6f77457865637574696f6e12462e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5265717565737443616e63656c576f726b666c6f77457865637574696f6e526571756573741a472e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5265717565737443616e63656c576f726b666c6f77457865637574696f6e526573706f6e73652200129e010a175369676e616c576f726b666c6f77457865637574696f6e123f2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5369676e616c576f726b666c6f77457865637574696f6e526571756573741a402e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5369676e616c576f726b666c6f77457865637574696f6e526573706f6e7365220012b9010a205369676e616c576974685374617274576f726b666c6f77457865637574696f6e12482e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5369676e616c576974685374617274576f726b666c6f77457865637574696f6e526571756573741a492e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5369676e616c576974685374617274576f726b666c6f77457865637574696f6e526573706f6e73652200129b010a165265736574576f726b666c6f77457865637574696f6e123e2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5265736574576f726b666c6f77457865637574696f6e526571756573741a3f2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5265736574576f726b666c6f77457865637574696f6e526573706f6e7365220012a7010a1a5465726d696e617465576f726b666c6f77457865637574696f6e12422e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5465726d696e617465576f726b666c6f77457865637574696f6e526571756573741a432e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5465726d696e617465576f726b666c6f77457865637574696f6e526573706f6e7365220012a7010a1a4c6973744f70656e576f726b666c6f77457865637574696f6e7312422e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e4c6973744f70656e576f726b666c6f77457865637574696f6e73526571756573741a432e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e4c6973744f70656e576f726b666c6f77457865637574696f6e73526573706f6e7365220012ad010a1c4c697374436c6f736564576f726b666c6f77457865637574696f6e7312442e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e4c697374436c6f736564576f726b666c6f77457865637574696f6e73526571756573741a452e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e4c697374436c6f736564576f726b666c6f77457865637574696f6e73526573706f6e73652200129b010a164c697374576f726b666c6f77457865637574696f6e73123e2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e4c697374576f726b666c6f77457865637574696f6e73526571756573741a3f2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e4c697374576f726b666c6f77457865637574696f6e73526573706f6e7365220012b3010a1e4c6973744172636869766564576f726b666c6f77457865637574696f6e7312462e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e4c6973744172636869766564576f726b666c6f77457865637574696f6e73526571756573741a472e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e4c6973744172636869766564576f726b666c6f77457865637574696f6e73526573706f6e73652200129b010a165363616e576f726b666c6f77457865637574696f6e73123e2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5363616e576f726b666c6f77457865637574696f6e73526571756573741a3f2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5363616e576f726b666c6f77457865637574696f6e73526573706f6e73652200129e010a17436f756e74576f726b666c6f77457865637574696f6e73123f2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e436f756e74576f726b666c6f77457865637574696f6e73526571756573741a402e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e436f756e74576f726b666c6f77457865637574696f6e73526573706f6e736522001292010a1347657453656172636841747472696275746573123b2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e47657453656172636841747472696275746573526571756573741a3c2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e47657453656172636841747472696275746573526573706f6e7365220012a4010a19526573706f6e6451756572795461736b436f6d706c6574656412412e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e526573706f6e6451756572795461736b436f6d706c65746564526571756573741a422e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e526573706f6e6451756572795461736b436f6d706c65746564526573706f6e736522001295010a145265736574537469636b795461736b5175657565123c2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5265736574537469636b795461736b5175657565526571756573741a3d2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5265736574537469636b795461736b5175657565526573706f6e736522001280010a0d5175657279576f726b666c6f7712352e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5175657279576f726b666c6f77526571756573741a362e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e5175657279576f726b666c6f77526573706f6e7365220012a4010a194465736372696265576f726b666c6f77457865637574696f6e12412e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e4465736372696265576f726b666c6f77457865637574696f6e526571756573741a422e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e4465736372696265576f726b666c6f77457865637574696f6e526573706f6e73652200128c010a1144657363726962655461736b517565756512392e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e44657363726962655461736b5175657565526571756573741a3a2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e44657363726962655461736b5175657565526573706f6e736522001283010a0e476574436c7573746572496e666f12362e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e476574436c7573746572496e666f526571756573741a372e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e476574436c7573746572496e666f526573706f6e73652200129e010a174c6973745461736b5175657565506172746974696f6e73123f2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e4c6973745461736b5175657565506172746974696f6e73526571756573741a402e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e76312e4c6973745461736b5175657565506172746974696f6e73526573706f6e736522004290010a22696f2e74656d706f72616c2e6170692e776f726b666c6f77736572766963652e7631420c5365727669636550726f746f50015a35676f2e74656d706f72616c2e696f2f6170692f776f726b666c6f77736572766963652f76313b776f726b666c6f7773657276696365ea022254656d706f72616c3a3a4170693a3a576f726b666c6f77536572766963653a3a5631620670726f746f33"
- ), true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/api/Temporal/Api/Command/V1/CancelTimerCommandAttributes.php b/api/Temporal/Api/Command/V1/CancelTimerCommandAttributes.php
deleted file mode 100644
index 04e9aa3a6..000000000
--- a/api/Temporal/Api/Command/V1/CancelTimerCommandAttributes.php
+++ /dev/null
@@ -1,58 +0,0 @@
-temporal.api.command.v1.CancelTimerCommandAttributes
- */
-class CancelTimerCommandAttributes extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field string timer_id = 1;
- */
- protected $timer_id = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $timer_id
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Command\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field string timer_id = 1;
- * @return string
- */
- public function getTimerId()
- {
- return $this->timer_id;
- }
-
- /**
- * Generated from protobuf field string timer_id = 1;
- * @param string $var
- * @return $this
- */
- public function setTimerId($var)
- {
- GPBUtil::checkString($var, True);
- $this->timer_id = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Command/V1/CancelWorkflowExecutionCommandAttributes.php b/api/Temporal/Api/Command/V1/CancelWorkflowExecutionCommandAttributes.php
deleted file mode 100644
index 3df0ea374..000000000
--- a/api/Temporal/Api/Command/V1/CancelWorkflowExecutionCommandAttributes.php
+++ /dev/null
@@ -1,68 +0,0 @@
-temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes
- */
-class CancelWorkflowExecutionCommandAttributes extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads details = 1;
- */
- protected $details = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Temporal\Api\Common\V1\Payloads $details
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Command\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads details = 1;
- * @return \Temporal\Api\Common\V1\Payloads
- */
- public function getDetails()
- {
- return isset($this->details) ? $this->details : null;
- }
-
- public function hasDetails()
- {
- return isset($this->details);
- }
-
- public function clearDetails()
- {
- unset($this->details);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads details = 1;
- * @param \Temporal\Api\Common\V1\Payloads $var
- * @return $this
- */
- public function setDetails($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Payloads::class);
- $this->details = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Command/V1/Command.php b/api/Temporal/Api/Command/V1/Command.php
deleted file mode 100644
index a815e1444..000000000
--- a/api/Temporal/Api/Command/V1/Command.php
+++ /dev/null
@@ -1,431 +0,0 @@
-temporal.api.command.v1.Command
- */
-class Command extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field .temporal.api.enums.v1.CommandType command_type = 1;
- */
- protected $command_type = 0;
- protected $attributes;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $command_type
- * @type \Temporal\Api\Command\V1\ScheduleActivityTaskCommandAttributes $schedule_activity_task_command_attributes
- * @type \Temporal\Api\Command\V1\StartTimerCommandAttributes $start_timer_command_attributes
- * @type \Temporal\Api\Command\V1\CompleteWorkflowExecutionCommandAttributes $complete_workflow_execution_command_attributes
- * @type \Temporal\Api\Command\V1\FailWorkflowExecutionCommandAttributes $fail_workflow_execution_command_attributes
- * @type \Temporal\Api\Command\V1\RequestCancelActivityTaskCommandAttributes $request_cancel_activity_task_command_attributes
- * @type \Temporal\Api\Command\V1\CancelTimerCommandAttributes $cancel_timer_command_attributes
- * @type \Temporal\Api\Command\V1\CancelWorkflowExecutionCommandAttributes $cancel_workflow_execution_command_attributes
- * @type \Temporal\Api\Command\V1\RequestCancelExternalWorkflowExecutionCommandAttributes $request_cancel_external_workflow_execution_command_attributes
- * @type \Temporal\Api\Command\V1\RecordMarkerCommandAttributes $record_marker_command_attributes
- * @type \Temporal\Api\Command\V1\ContinueAsNewWorkflowExecutionCommandAttributes $continue_as_new_workflow_execution_command_attributes
- * @type \Temporal\Api\Command\V1\StartChildWorkflowExecutionCommandAttributes $start_child_workflow_execution_command_attributes
- * @type \Temporal\Api\Command\V1\SignalExternalWorkflowExecutionCommandAttributes $signal_external_workflow_execution_command_attributes
- * @type \Temporal\Api\Command\V1\UpsertWorkflowSearchAttributesCommandAttributes $upsert_workflow_search_attributes_command_attributes
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Command\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field .temporal.api.enums.v1.CommandType command_type = 1;
- * @return int
- */
- public function getCommandType()
- {
- return $this->command_type;
- }
-
- /**
- * Generated from protobuf field .temporal.api.enums.v1.CommandType command_type = 1;
- * @param int $var
- * @return $this
- */
- public function setCommandType($var)
- {
- GPBUtil::checkEnum($var, \Temporal\Api\Enums\V1\CommandType::class);
- $this->command_type = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.ScheduleActivityTaskCommandAttributes schedule_activity_task_command_attributes = 2;
- * @return \Temporal\Api\Command\V1\ScheduleActivityTaskCommandAttributes
- */
- public function getScheduleActivityTaskCommandAttributes()
- {
- return $this->readOneof(2);
- }
-
- public function hasScheduleActivityTaskCommandAttributes()
- {
- return $this->hasOneof(2);
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.ScheduleActivityTaskCommandAttributes schedule_activity_task_command_attributes = 2;
- * @param \Temporal\Api\Command\V1\ScheduleActivityTaskCommandAttributes $var
- * @return $this
- */
- public function setScheduleActivityTaskCommandAttributes($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Command\V1\ScheduleActivityTaskCommandAttributes::class);
- $this->writeOneof(2, $var);
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.StartTimerCommandAttributes start_timer_command_attributes = 3;
- * @return \Temporal\Api\Command\V1\StartTimerCommandAttributes
- */
- public function getStartTimerCommandAttributes()
- {
- return $this->readOneof(3);
- }
-
- public function hasStartTimerCommandAttributes()
- {
- return $this->hasOneof(3);
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.StartTimerCommandAttributes start_timer_command_attributes = 3;
- * @param \Temporal\Api\Command\V1\StartTimerCommandAttributes $var
- * @return $this
- */
- public function setStartTimerCommandAttributes($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Command\V1\StartTimerCommandAttributes::class);
- $this->writeOneof(3, $var);
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes complete_workflow_execution_command_attributes = 4;
- * @return \Temporal\Api\Command\V1\CompleteWorkflowExecutionCommandAttributes
- */
- public function getCompleteWorkflowExecutionCommandAttributes()
- {
- return $this->readOneof(4);
- }
-
- public function hasCompleteWorkflowExecutionCommandAttributes()
- {
- return $this->hasOneof(4);
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes complete_workflow_execution_command_attributes = 4;
- * @param \Temporal\Api\Command\V1\CompleteWorkflowExecutionCommandAttributes $var
- * @return $this
- */
- public function setCompleteWorkflowExecutionCommandAttributes($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Command\V1\CompleteWorkflowExecutionCommandAttributes::class);
- $this->writeOneof(4, $var);
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.FailWorkflowExecutionCommandAttributes fail_workflow_execution_command_attributes = 5;
- * @return \Temporal\Api\Command\V1\FailWorkflowExecutionCommandAttributes
- */
- public function getFailWorkflowExecutionCommandAttributes()
- {
- return $this->readOneof(5);
- }
-
- public function hasFailWorkflowExecutionCommandAttributes()
- {
- return $this->hasOneof(5);
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.FailWorkflowExecutionCommandAttributes fail_workflow_execution_command_attributes = 5;
- * @param \Temporal\Api\Command\V1\FailWorkflowExecutionCommandAttributes $var
- * @return $this
- */
- public function setFailWorkflowExecutionCommandAttributes($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Command\V1\FailWorkflowExecutionCommandAttributes::class);
- $this->writeOneof(5, $var);
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes request_cancel_activity_task_command_attributes = 6;
- * @return \Temporal\Api\Command\V1\RequestCancelActivityTaskCommandAttributes
- */
- public function getRequestCancelActivityTaskCommandAttributes()
- {
- return $this->readOneof(6);
- }
-
- public function hasRequestCancelActivityTaskCommandAttributes()
- {
- return $this->hasOneof(6);
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes request_cancel_activity_task_command_attributes = 6;
- * @param \Temporal\Api\Command\V1\RequestCancelActivityTaskCommandAttributes $var
- * @return $this
- */
- public function setRequestCancelActivityTaskCommandAttributes($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Command\V1\RequestCancelActivityTaskCommandAttributes::class);
- $this->writeOneof(6, $var);
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.CancelTimerCommandAttributes cancel_timer_command_attributes = 7;
- * @return \Temporal\Api\Command\V1\CancelTimerCommandAttributes
- */
- public function getCancelTimerCommandAttributes()
- {
- return $this->readOneof(7);
- }
-
- public function hasCancelTimerCommandAttributes()
- {
- return $this->hasOneof(7);
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.CancelTimerCommandAttributes cancel_timer_command_attributes = 7;
- * @param \Temporal\Api\Command\V1\CancelTimerCommandAttributes $var
- * @return $this
- */
- public function setCancelTimerCommandAttributes($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Command\V1\CancelTimerCommandAttributes::class);
- $this->writeOneof(7, $var);
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes cancel_workflow_execution_command_attributes = 8;
- * @return \Temporal\Api\Command\V1\CancelWorkflowExecutionCommandAttributes
- */
- public function getCancelWorkflowExecutionCommandAttributes()
- {
- return $this->readOneof(8);
- }
-
- public function hasCancelWorkflowExecutionCommandAttributes()
- {
- return $this->hasOneof(8);
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes cancel_workflow_execution_command_attributes = 8;
- * @param \Temporal\Api\Command\V1\CancelWorkflowExecutionCommandAttributes $var
- * @return $this
- */
- public function setCancelWorkflowExecutionCommandAttributes($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Command\V1\CancelWorkflowExecutionCommandAttributes::class);
- $this->writeOneof(8, $var);
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes request_cancel_external_workflow_execution_command_attributes = 9;
- * @return \Temporal\Api\Command\V1\RequestCancelExternalWorkflowExecutionCommandAttributes
- */
- public function getRequestCancelExternalWorkflowExecutionCommandAttributes()
- {
- return $this->readOneof(9);
- }
-
- public function hasRequestCancelExternalWorkflowExecutionCommandAttributes()
- {
- return $this->hasOneof(9);
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes request_cancel_external_workflow_execution_command_attributes = 9;
- * @param \Temporal\Api\Command\V1\RequestCancelExternalWorkflowExecutionCommandAttributes $var
- * @return $this
- */
- public function setRequestCancelExternalWorkflowExecutionCommandAttributes($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Command\V1\RequestCancelExternalWorkflowExecutionCommandAttributes::class);
- $this->writeOneof(9, $var);
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.RecordMarkerCommandAttributes record_marker_command_attributes = 10;
- * @return \Temporal\Api\Command\V1\RecordMarkerCommandAttributes
- */
- public function getRecordMarkerCommandAttributes()
- {
- return $this->readOneof(10);
- }
-
- public function hasRecordMarkerCommandAttributes()
- {
- return $this->hasOneof(10);
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.RecordMarkerCommandAttributes record_marker_command_attributes = 10;
- * @param \Temporal\Api\Command\V1\RecordMarkerCommandAttributes $var
- * @return $this
- */
- public function setRecordMarkerCommandAttributes($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Command\V1\RecordMarkerCommandAttributes::class);
- $this->writeOneof(10, $var);
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes continue_as_new_workflow_execution_command_attributes = 11;
- * @return \Temporal\Api\Command\V1\ContinueAsNewWorkflowExecutionCommandAttributes
- */
- public function getContinueAsNewWorkflowExecutionCommandAttributes()
- {
- return $this->readOneof(11);
- }
-
- public function hasContinueAsNewWorkflowExecutionCommandAttributes()
- {
- return $this->hasOneof(11);
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes continue_as_new_workflow_execution_command_attributes = 11;
- * @param \Temporal\Api\Command\V1\ContinueAsNewWorkflowExecutionCommandAttributes $var
- * @return $this
- */
- public function setContinueAsNewWorkflowExecutionCommandAttributes($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Command\V1\ContinueAsNewWorkflowExecutionCommandAttributes::class);
- $this->writeOneof(11, $var);
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes start_child_workflow_execution_command_attributes = 12;
- * @return \Temporal\Api\Command\V1\StartChildWorkflowExecutionCommandAttributes
- */
- public function getStartChildWorkflowExecutionCommandAttributes()
- {
- return $this->readOneof(12);
- }
-
- public function hasStartChildWorkflowExecutionCommandAttributes()
- {
- return $this->hasOneof(12);
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes start_child_workflow_execution_command_attributes = 12;
- * @param \Temporal\Api\Command\V1\StartChildWorkflowExecutionCommandAttributes $var
- * @return $this
- */
- public function setStartChildWorkflowExecutionCommandAttributes($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Command\V1\StartChildWorkflowExecutionCommandAttributes::class);
- $this->writeOneof(12, $var);
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes signal_external_workflow_execution_command_attributes = 13;
- * @return \Temporal\Api\Command\V1\SignalExternalWorkflowExecutionCommandAttributes
- */
- public function getSignalExternalWorkflowExecutionCommandAttributes()
- {
- return $this->readOneof(13);
- }
-
- public function hasSignalExternalWorkflowExecutionCommandAttributes()
- {
- return $this->hasOneof(13);
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes signal_external_workflow_execution_command_attributes = 13;
- * @param \Temporal\Api\Command\V1\SignalExternalWorkflowExecutionCommandAttributes $var
- * @return $this
- */
- public function setSignalExternalWorkflowExecutionCommandAttributes($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Command\V1\SignalExternalWorkflowExecutionCommandAttributes::class);
- $this->writeOneof(13, $var);
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes upsert_workflow_search_attributes_command_attributes = 14;
- * @return \Temporal\Api\Command\V1\UpsertWorkflowSearchAttributesCommandAttributes
- */
- public function getUpsertWorkflowSearchAttributesCommandAttributes()
- {
- return $this->readOneof(14);
- }
-
- public function hasUpsertWorkflowSearchAttributesCommandAttributes()
- {
- return $this->hasOneof(14);
- }
-
- /**
- * Generated from protobuf field .temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes upsert_workflow_search_attributes_command_attributes = 14;
- * @param \Temporal\Api\Command\V1\UpsertWorkflowSearchAttributesCommandAttributes $var
- * @return $this
- */
- public function setUpsertWorkflowSearchAttributesCommandAttributes($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Command\V1\UpsertWorkflowSearchAttributesCommandAttributes::class);
- $this->writeOneof(14, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getAttributes()
- {
- return $this->whichOneof("attributes");
- }
-
-}
-
diff --git a/api/Temporal/Api/Command/V1/CompleteWorkflowExecutionCommandAttributes.php b/api/Temporal/Api/Command/V1/CompleteWorkflowExecutionCommandAttributes.php
deleted file mode 100644
index 2a243fbbc..000000000
--- a/api/Temporal/Api/Command/V1/CompleteWorkflowExecutionCommandAttributes.php
+++ /dev/null
@@ -1,68 +0,0 @@
-temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes
- */
-class CompleteWorkflowExecutionCommandAttributes extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads result = 1;
- */
- protected $result = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Temporal\Api\Common\V1\Payloads $result
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Command\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads result = 1;
- * @return \Temporal\Api\Common\V1\Payloads
- */
- public function getResult()
- {
- return isset($this->result) ? $this->result : null;
- }
-
- public function hasResult()
- {
- return isset($this->result);
- }
-
- public function clearResult()
- {
- unset($this->result);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads result = 1;
- * @param \Temporal\Api\Common\V1\Payloads $var
- * @return $this
- */
- public function setResult($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Payloads::class);
- $this->result = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Command/V1/ContinueAsNewWorkflowExecutionCommandAttributes.php b/api/Temporal/Api/Command/V1/ContinueAsNewWorkflowExecutionCommandAttributes.php
deleted file mode 100644
index 17ace36a8..000000000
--- a/api/Temporal/Api/Command/V1/ContinueAsNewWorkflowExecutionCommandAttributes.php
+++ /dev/null
@@ -1,547 +0,0 @@
-temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes
- */
-class ContinueAsNewWorkflowExecutionCommandAttributes extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 1;
- */
- protected $workflow_type = null;
- /**
- * Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
- */
- protected $task_queue = null;
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads input = 3;
- */
- protected $input = null;
- /**
- * workflow_execution_timeout is omitted as it shouldn'be overridden from within a workflow.
- * Timeout of a single workflow run.
- *
- * Generated from protobuf field .google.protobuf.Duration workflow_run_timeout = 4 [(.gogoproto.stdduration) = true];
- */
- protected $workflow_run_timeout = null;
- /**
- * Timeout of a single workflow task.
- *
- * Generated from protobuf field .google.protobuf.Duration workflow_task_timeout = 5 [(.gogoproto.stdduration) = true];
- */
- protected $workflow_task_timeout = null;
- /**
- * Generated from protobuf field .google.protobuf.Duration backoff_start_interval = 6 [(.gogoproto.stdduration) = true];
- */
- protected $backoff_start_interval = null;
- /**
- * Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 7;
- */
- protected $retry_policy = null;
- /**
- * Generated from protobuf field .temporal.api.enums.v1.ContinueAsNewInitiator initiator = 8;
- */
- protected $initiator = 0;
- /**
- * Generated from protobuf field .temporal.api.failure.v1.Failure failure = 9;
- */
- protected $failure = null;
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads last_completion_result = 10;
- */
- protected $last_completion_result = null;
- /**
- * Generated from protobuf field string cron_schedule = 11;
- */
- protected $cron_schedule = '';
- /**
- * Generated from protobuf field .temporal.api.common.v1.Header header = 12;
- */
- protected $header = null;
- /**
- * Generated from protobuf field .temporal.api.common.v1.Memo memo = 13;
- */
- protected $memo = null;
- /**
- * Generated from protobuf field .temporal.api.common.v1.SearchAttributes search_attributes = 14;
- */
- protected $search_attributes = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Temporal\Api\Common\V1\WorkflowType $workflow_type
- * @type \Temporal\Api\Taskqueue\V1\TaskQueue $task_queue
- * @type \Temporal\Api\Common\V1\Payloads $input
- * @type \Google\Protobuf\Duration $workflow_run_timeout
- * workflow_execution_timeout is omitted as it shouldn'be overridden from within a workflow.
- * Timeout of a single workflow run.
- * @type \Google\Protobuf\Duration $workflow_task_timeout
- * Timeout of a single workflow task.
- * @type \Google\Protobuf\Duration $backoff_start_interval
- * @type \Temporal\Api\Common\V1\RetryPolicy $retry_policy
- * @type int $initiator
- * @type \Temporal\Api\Failure\V1\Failure $failure
- * @type \Temporal\Api\Common\V1\Payloads $last_completion_result
- * @type string $cron_schedule
- * @type \Temporal\Api\Common\V1\Header $header
- * @type \Temporal\Api\Common\V1\Memo $memo
- * @type \Temporal\Api\Common\V1\SearchAttributes $search_attributes
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Command\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 1;
- * @return \Temporal\Api\Common\V1\WorkflowType
- */
- public function getWorkflowType()
- {
- return isset($this->workflow_type) ? $this->workflow_type : null;
- }
-
- public function hasWorkflowType()
- {
- return isset($this->workflow_type);
- }
-
- public function clearWorkflowType()
- {
- unset($this->workflow_type);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 1;
- * @param \Temporal\Api\Common\V1\WorkflowType $var
- * @return $this
- */
- public function setWorkflowType($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\WorkflowType::class);
- $this->workflow_type = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
- * @return \Temporal\Api\Taskqueue\V1\TaskQueue
- */
- public function getTaskQueue()
- {
- return isset($this->task_queue) ? $this->task_queue : null;
- }
-
- public function hasTaskQueue()
- {
- return isset($this->task_queue);
- }
-
- public function clearTaskQueue()
- {
- unset($this->task_queue);
- }
-
- /**
- * Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
- * @param \Temporal\Api\Taskqueue\V1\TaskQueue $var
- * @return $this
- */
- public function setTaskQueue($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Taskqueue\V1\TaskQueue::class);
- $this->task_queue = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads input = 3;
- * @return \Temporal\Api\Common\V1\Payloads
- */
- public function getInput()
- {
- return isset($this->input) ? $this->input : null;
- }
-
- public function hasInput()
- {
- return isset($this->input);
- }
-
- public function clearInput()
- {
- unset($this->input);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads input = 3;
- * @param \Temporal\Api\Common\V1\Payloads $var
- * @return $this
- */
- public function setInput($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Payloads::class);
- $this->input = $var;
-
- return $this;
- }
-
- /**
- * workflow_execution_timeout is omitted as it shouldn'be overridden from within a workflow.
- * Timeout of a single workflow run.
- *
- * Generated from protobuf field .google.protobuf.Duration workflow_run_timeout = 4 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
- */
- public function getWorkflowRunTimeout()
- {
- return isset($this->workflow_run_timeout) ? $this->workflow_run_timeout : null;
- }
-
- public function hasWorkflowRunTimeout()
- {
- return isset($this->workflow_run_timeout);
- }
-
- public function clearWorkflowRunTimeout()
- {
- unset($this->workflow_run_timeout);
- }
-
- /**
- * workflow_execution_timeout is omitted as it shouldn'be overridden from within a workflow.
- * Timeout of a single workflow run.
- *
- * Generated from protobuf field .google.protobuf.Duration workflow_run_timeout = 4 [(.gogoproto.stdduration) = true];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setWorkflowRunTimeout($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->workflow_run_timeout = $var;
-
- return $this;
- }
-
- /**
- * Timeout of a single workflow task.
- *
- * Generated from protobuf field .google.protobuf.Duration workflow_task_timeout = 5 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
- */
- public function getWorkflowTaskTimeout()
- {
- return isset($this->workflow_task_timeout) ? $this->workflow_task_timeout : null;
- }
-
- public function hasWorkflowTaskTimeout()
- {
- return isset($this->workflow_task_timeout);
- }
-
- public function clearWorkflowTaskTimeout()
- {
- unset($this->workflow_task_timeout);
- }
-
- /**
- * Timeout of a single workflow task.
- *
- * Generated from protobuf field .google.protobuf.Duration workflow_task_timeout = 5 [(.gogoproto.stdduration) = true];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setWorkflowTaskTimeout($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->workflow_task_timeout = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.protobuf.Duration backoff_start_interval = 6 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
- */
- public function getBackoffStartInterval()
- {
- return isset($this->backoff_start_interval) ? $this->backoff_start_interval : null;
- }
-
- public function hasBackoffStartInterval()
- {
- return isset($this->backoff_start_interval);
- }
-
- public function clearBackoffStartInterval()
- {
- unset($this->backoff_start_interval);
- }
-
- /**
- * Generated from protobuf field .google.protobuf.Duration backoff_start_interval = 6 [(.gogoproto.stdduration) = true];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setBackoffStartInterval($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->backoff_start_interval = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 7;
- * @return \Temporal\Api\Common\V1\RetryPolicy
- */
- public function getRetryPolicy()
- {
- return isset($this->retry_policy) ? $this->retry_policy : null;
- }
-
- public function hasRetryPolicy()
- {
- return isset($this->retry_policy);
- }
-
- public function clearRetryPolicy()
- {
- unset($this->retry_policy);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 7;
- * @param \Temporal\Api\Common\V1\RetryPolicy $var
- * @return $this
- */
- public function setRetryPolicy($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\RetryPolicy::class);
- $this->retry_policy = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.enums.v1.ContinueAsNewInitiator initiator = 8;
- * @return int
- */
- public function getInitiator()
- {
- return $this->initiator;
- }
-
- /**
- * Generated from protobuf field .temporal.api.enums.v1.ContinueAsNewInitiator initiator = 8;
- * @param int $var
- * @return $this
- */
- public function setInitiator($var)
- {
- GPBUtil::checkEnum($var, \Temporal\Api\Enums\V1\ContinueAsNewInitiator::class);
- $this->initiator = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.failure.v1.Failure failure = 9;
- * @return \Temporal\Api\Failure\V1\Failure
- */
- public function getFailure()
- {
- return isset($this->failure) ? $this->failure : null;
- }
-
- public function hasFailure()
- {
- return isset($this->failure);
- }
-
- public function clearFailure()
- {
- unset($this->failure);
- }
-
- /**
- * Generated from protobuf field .temporal.api.failure.v1.Failure failure = 9;
- * @param \Temporal\Api\Failure\V1\Failure $var
- * @return $this
- */
- public function setFailure($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Failure\V1\Failure::class);
- $this->failure = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads last_completion_result = 10;
- * @return \Temporal\Api\Common\V1\Payloads
- */
- public function getLastCompletionResult()
- {
- return isset($this->last_completion_result) ? $this->last_completion_result : null;
- }
-
- public function hasLastCompletionResult()
- {
- return isset($this->last_completion_result);
- }
-
- public function clearLastCompletionResult()
- {
- unset($this->last_completion_result);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads last_completion_result = 10;
- * @param \Temporal\Api\Common\V1\Payloads $var
- * @return $this
- */
- public function setLastCompletionResult($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Payloads::class);
- $this->last_completion_result = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string cron_schedule = 11;
- * @return string
- */
- public function getCronSchedule()
- {
- return $this->cron_schedule;
- }
-
- /**
- * Generated from protobuf field string cron_schedule = 11;
- * @param string $var
- * @return $this
- */
- public function setCronSchedule($var)
- {
- GPBUtil::checkString($var, True);
- $this->cron_schedule = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Header header = 12;
- * @return \Temporal\Api\Common\V1\Header
- */
- public function getHeader()
- {
- return isset($this->header) ? $this->header : null;
- }
-
- public function hasHeader()
- {
- return isset($this->header);
- }
-
- public function clearHeader()
- {
- unset($this->header);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Header header = 12;
- * @param \Temporal\Api\Common\V1\Header $var
- * @return $this
- */
- public function setHeader($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Header::class);
- $this->header = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Memo memo = 13;
- * @return \Temporal\Api\Common\V1\Memo
- */
- public function getMemo()
- {
- return isset($this->memo) ? $this->memo : null;
- }
-
- public function hasMemo()
- {
- return isset($this->memo);
- }
-
- public function clearMemo()
- {
- unset($this->memo);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Memo memo = 13;
- * @param \Temporal\Api\Common\V1\Memo $var
- * @return $this
- */
- public function setMemo($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Memo::class);
- $this->memo = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.SearchAttributes search_attributes = 14;
- * @return \Temporal\Api\Common\V1\SearchAttributes
- */
- public function getSearchAttributes()
- {
- return isset($this->search_attributes) ? $this->search_attributes : null;
- }
-
- public function hasSearchAttributes()
- {
- return isset($this->search_attributes);
- }
-
- public function clearSearchAttributes()
- {
- unset($this->search_attributes);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.SearchAttributes search_attributes = 14;
- * @param \Temporal\Api\Common\V1\SearchAttributes $var
- * @return $this
- */
- public function setSearchAttributes($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\SearchAttributes::class);
- $this->search_attributes = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Command/V1/FailWorkflowExecutionCommandAttributes.php b/api/Temporal/Api/Command/V1/FailWorkflowExecutionCommandAttributes.php
deleted file mode 100644
index b6edfc605..000000000
--- a/api/Temporal/Api/Command/V1/FailWorkflowExecutionCommandAttributes.php
+++ /dev/null
@@ -1,68 +0,0 @@
-temporal.api.command.v1.FailWorkflowExecutionCommandAttributes
- */
-class FailWorkflowExecutionCommandAttributes extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field .temporal.api.failure.v1.Failure failure = 1;
- */
- protected $failure = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Temporal\Api\Failure\V1\Failure $failure
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Command\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field .temporal.api.failure.v1.Failure failure = 1;
- * @return \Temporal\Api\Failure\V1\Failure
- */
- public function getFailure()
- {
- return isset($this->failure) ? $this->failure : null;
- }
-
- public function hasFailure()
- {
- return isset($this->failure);
- }
-
- public function clearFailure()
- {
- unset($this->failure);
- }
-
- /**
- * Generated from protobuf field .temporal.api.failure.v1.Failure failure = 1;
- * @param \Temporal\Api\Failure\V1\Failure $var
- * @return $this
- */
- public function setFailure($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Failure\V1\Failure::class);
- $this->failure = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Command/V1/RecordMarkerCommandAttributes.php b/api/Temporal/Api/Command/V1/RecordMarkerCommandAttributes.php
deleted file mode 100644
index f0a952f20..000000000
--- a/api/Temporal/Api/Command/V1/RecordMarkerCommandAttributes.php
+++ /dev/null
@@ -1,159 +0,0 @@
-temporal.api.command.v1.RecordMarkerCommandAttributes
- */
-class RecordMarkerCommandAttributes extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field string marker_name = 1;
- */
- protected $marker_name = '';
- /**
- * Generated from protobuf field map details = 2;
- */
- private $details;
- /**
- * Generated from protobuf field .temporal.api.common.v1.Header header = 3;
- */
- protected $header = null;
- /**
- * Generated from protobuf field .temporal.api.failure.v1.Failure failure = 4;
- */
- protected $failure = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $marker_name
- * @type array|\Google\Protobuf\Internal\MapField $details
- * @type \Temporal\Api\Common\V1\Header $header
- * @type \Temporal\Api\Failure\V1\Failure $failure
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Command\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field string marker_name = 1;
- * @return string
- */
- public function getMarkerName()
- {
- return $this->marker_name;
- }
-
- /**
- * Generated from protobuf field string marker_name = 1;
- * @param string $var
- * @return $this
- */
- public function setMarkerName($var)
- {
- GPBUtil::checkString($var, True);
- $this->marker_name = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field map details = 2;
- * @return \Google\Protobuf\Internal\MapField
- */
- public function getDetails()
- {
- return $this->details;
- }
-
- /**
- * Generated from protobuf field map details = 2;
- * @param array|\Google\Protobuf\Internal\MapField $var
- * @return $this
- */
- public function setDetails($var)
- {
- $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Temporal\Api\Common\V1\Payloads::class);
- $this->details = $arr;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Header header = 3;
- * @return \Temporal\Api\Common\V1\Header
- */
- public function getHeader()
- {
- return isset($this->header) ? $this->header : null;
- }
-
- public function hasHeader()
- {
- return isset($this->header);
- }
-
- public function clearHeader()
- {
- unset($this->header);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Header header = 3;
- * @param \Temporal\Api\Common\V1\Header $var
- * @return $this
- */
- public function setHeader($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Header::class);
- $this->header = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.failure.v1.Failure failure = 4;
- * @return \Temporal\Api\Failure\V1\Failure
- */
- public function getFailure()
- {
- return isset($this->failure) ? $this->failure : null;
- }
-
- public function hasFailure()
- {
- return isset($this->failure);
- }
-
- public function clearFailure()
- {
- unset($this->failure);
- }
-
- /**
- * Generated from protobuf field .temporal.api.failure.v1.Failure failure = 4;
- * @param \Temporal\Api\Failure\V1\Failure $var
- * @return $this
- */
- public function setFailure($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Failure\V1\Failure::class);
- $this->failure = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Command/V1/RequestCancelActivityTaskCommandAttributes.php b/api/Temporal/Api/Command/V1/RequestCancelActivityTaskCommandAttributes.php
deleted file mode 100644
index 0c377a1c0..000000000
--- a/api/Temporal/Api/Command/V1/RequestCancelActivityTaskCommandAttributes.php
+++ /dev/null
@@ -1,58 +0,0 @@
-temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes
- */
-class RequestCancelActivityTaskCommandAttributes extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field int64 scheduled_event_id = 1;
- */
- protected $scheduled_event_id = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $scheduled_event_id
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Command\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field int64 scheduled_event_id = 1;
- * @return int|string
- */
- public function getScheduledEventId()
- {
- return $this->scheduled_event_id;
- }
-
- /**
- * Generated from protobuf field int64 scheduled_event_id = 1;
- * @param int|string $var
- * @return $this
- */
- public function setScheduledEventId($var)
- {
- GPBUtil::checkInt64($var);
- $this->scheduled_event_id = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Command/V1/RequestCancelExternalWorkflowExecutionCommandAttributes.php b/api/Temporal/Api/Command/V1/RequestCancelExternalWorkflowExecutionCommandAttributes.php
deleted file mode 100644
index bc119b592..000000000
--- a/api/Temporal/Api/Command/V1/RequestCancelExternalWorkflowExecutionCommandAttributes.php
+++ /dev/null
@@ -1,166 +0,0 @@
-temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes
- */
-class RequestCancelExternalWorkflowExecutionCommandAttributes extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field string namespace = 1;
- */
- protected $namespace = '';
- /**
- * Generated from protobuf field string workflow_id = 2;
- */
- protected $workflow_id = '';
- /**
- * Generated from protobuf field string run_id = 3;
- */
- protected $run_id = '';
- /**
- * Generated from protobuf field string control = 4;
- */
- protected $control = '';
- /**
- * Generated from protobuf field bool child_workflow_only = 5;
- */
- protected $child_workflow_only = false;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $namespace
- * @type string $workflow_id
- * @type string $run_id
- * @type string $control
- * @type bool $child_workflow_only
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Command\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field string namespace = 1;
- * @return string
- */
- public function getNamespace()
- {
- return $this->namespace;
- }
-
- /**
- * Generated from protobuf field string namespace = 1;
- * @param string $var
- * @return $this
- */
- public function setNamespace($var)
- {
- GPBUtil::checkString($var, True);
- $this->namespace = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string workflow_id = 2;
- * @return string
- */
- public function getWorkflowId()
- {
- return $this->workflow_id;
- }
-
- /**
- * Generated from protobuf field string workflow_id = 2;
- * @param string $var
- * @return $this
- */
- public function setWorkflowId($var)
- {
- GPBUtil::checkString($var, True);
- $this->workflow_id = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string run_id = 3;
- * @return string
- */
- public function getRunId()
- {
- return $this->run_id;
- }
-
- /**
- * Generated from protobuf field string run_id = 3;
- * @param string $var
- * @return $this
- */
- public function setRunId($var)
- {
- GPBUtil::checkString($var, True);
- $this->run_id = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string control = 4;
- * @return string
- */
- public function getControl()
- {
- return $this->control;
- }
-
- /**
- * Generated from protobuf field string control = 4;
- * @param string $var
- * @return $this
- */
- public function setControl($var)
- {
- GPBUtil::checkString($var, True);
- $this->control = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field bool child_workflow_only = 5;
- * @return bool
- */
- public function getChildWorkflowOnly()
- {
- return $this->child_workflow_only;
- }
-
- /**
- * Generated from protobuf field bool child_workflow_only = 5;
- * @param bool $var
- * @return $this
- */
- public function setChildWorkflowOnly($var)
- {
- GPBUtil::checkBool($var);
- $this->child_workflow_only = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Command/V1/ScheduleActivityTaskCommandAttributes.php b/api/Temporal/Api/Command/V1/ScheduleActivityTaskCommandAttributes.php
deleted file mode 100644
index 1d3fef491..000000000
--- a/api/Temporal/Api/Command/V1/ScheduleActivityTaskCommandAttributes.php
+++ /dev/null
@@ -1,505 +0,0 @@
-temporal.api.command.v1.ScheduleActivityTaskCommandAttributes
- */
-class ScheduleActivityTaskCommandAttributes extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field string activity_id = 1;
- */
- protected $activity_id = '';
- /**
- * Generated from protobuf field .temporal.api.common.v1.ActivityType activity_type = 2;
- */
- protected $activity_type = null;
- /**
- * Generated from protobuf field string namespace = 3;
- */
- protected $namespace = '';
- /**
- * Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
- */
- protected $task_queue = null;
- /**
- * Generated from protobuf field .temporal.api.common.v1.Header header = 5;
- */
- protected $header = null;
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads input = 6;
- */
- protected $input = null;
- /**
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Indicates how long the caller is willing to wait for an activity completion.
- * Limits for how long retries are happening. Either this or start_to_close_timeout_seconds must be specified.
- * When not specified defaults to the workflow execution timeout.
- *
- * Generated from protobuf field .google.protobuf.Duration schedule_to_close_timeout = 7 [(.gogoproto.stdduration) = true];
- */
- protected $schedule_to_close_timeout = null;
- /**
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Limits time an activity task can stay in a task queue before a worker picks it up.
- * This timeout is always non retryable as all a retry would achieve is to put it back into the same queue.
- * Defaults to schedule_to_close_timeout_seconds or workflow execution timeout if not specified.
- *
- * Generated from protobuf field .google.protobuf.Duration schedule_to_start_timeout = 8 [(.gogoproto.stdduration) = true];
- */
- protected $schedule_to_start_timeout = null;
- /**
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Maximum time an activity is allowed to execute after a pick up by a worker.
- * This timeout is always retryable. Either this or schedule_to_close_timeout_seconds must be specified.
- *
- * Generated from protobuf field .google.protobuf.Duration start_to_close_timeout = 9 [(.gogoproto.stdduration) = true];
- */
- protected $start_to_close_timeout = null;
- /**
- * Maximum time between successful worker heartbeats.
- *
- * Generated from protobuf field .google.protobuf.Duration heartbeat_timeout = 10 [(.gogoproto.stdduration) = true];
- */
- protected $heartbeat_timeout = null;
- /**
- * Activities are provided by a default retry policy controlled through the service dynamic configuration.
- * Retries are happening up to schedule_to_close_timeout.
- * To disable retries set retry_policy.maximum_attempts to 1.
- *
- * Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 11;
- */
- protected $retry_policy = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $activity_id
- * @type \Temporal\Api\Common\V1\ActivityType $activity_type
- * @type string $namespace
- * @type \Temporal\Api\Taskqueue\V1\TaskQueue $task_queue
- * @type \Temporal\Api\Common\V1\Header $header
- * @type \Temporal\Api\Common\V1\Payloads $input
- * @type \Google\Protobuf\Duration $schedule_to_close_timeout
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Indicates how long the caller is willing to wait for an activity completion.
- * Limits for how long retries are happening. Either this or start_to_close_timeout_seconds must be specified.
- * When not specified defaults to the workflow execution timeout.
- * @type \Google\Protobuf\Duration $schedule_to_start_timeout
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Limits time an activity task can stay in a task queue before a worker picks it up.
- * This timeout is always non retryable as all a retry would achieve is to put it back into the same queue.
- * Defaults to schedule_to_close_timeout_seconds or workflow execution timeout if not specified.
- * @type \Google\Protobuf\Duration $start_to_close_timeout
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Maximum time an activity is allowed to execute after a pick up by a worker.
- * This timeout is always retryable. Either this or schedule_to_close_timeout_seconds must be specified.
- * @type \Google\Protobuf\Duration $heartbeat_timeout
- * Maximum time between successful worker heartbeats.
- * @type \Temporal\Api\Common\V1\RetryPolicy $retry_policy
- * Activities are provided by a default retry policy controlled through the service dynamic configuration.
- * Retries are happening up to schedule_to_close_timeout.
- * To disable retries set retry_policy.maximum_attempts to 1.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Command\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field string activity_id = 1;
- * @return string
- */
- public function getActivityId()
- {
- return $this->activity_id;
- }
-
- /**
- * Generated from protobuf field string activity_id = 1;
- * @param string $var
- * @return $this
- */
- public function setActivityId($var)
- {
- GPBUtil::checkString($var, True);
- $this->activity_id = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.ActivityType activity_type = 2;
- * @return \Temporal\Api\Common\V1\ActivityType
- */
- public function getActivityType()
- {
- return isset($this->activity_type) ? $this->activity_type : null;
- }
-
- public function hasActivityType()
- {
- return isset($this->activity_type);
- }
-
- public function clearActivityType()
- {
- unset($this->activity_type);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.ActivityType activity_type = 2;
- * @param \Temporal\Api\Common\V1\ActivityType $var
- * @return $this
- */
- public function setActivityType($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\ActivityType::class);
- $this->activity_type = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string namespace = 3;
- * @return string
- */
- public function getNamespace()
- {
- return $this->namespace;
- }
-
- /**
- * Generated from protobuf field string namespace = 3;
- * @param string $var
- * @return $this
- */
- public function setNamespace($var)
- {
- GPBUtil::checkString($var, True);
- $this->namespace = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
- * @return \Temporal\Api\Taskqueue\V1\TaskQueue
- */
- public function getTaskQueue()
- {
- return isset($this->task_queue) ? $this->task_queue : null;
- }
-
- public function hasTaskQueue()
- {
- return isset($this->task_queue);
- }
-
- public function clearTaskQueue()
- {
- unset($this->task_queue);
- }
-
- /**
- * Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
- * @param \Temporal\Api\Taskqueue\V1\TaskQueue $var
- * @return $this
- */
- public function setTaskQueue($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Taskqueue\V1\TaskQueue::class);
- $this->task_queue = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Header header = 5;
- * @return \Temporal\Api\Common\V1\Header
- */
- public function getHeader()
- {
- return isset($this->header) ? $this->header : null;
- }
-
- public function hasHeader()
- {
- return isset($this->header);
- }
-
- public function clearHeader()
- {
- unset($this->header);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Header header = 5;
- * @param \Temporal\Api\Common\V1\Header $var
- * @return $this
- */
- public function setHeader($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Header::class);
- $this->header = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads input = 6;
- * @return \Temporal\Api\Common\V1\Payloads
- */
- public function getInput()
- {
- return isset($this->input) ? $this->input : null;
- }
-
- public function hasInput()
- {
- return isset($this->input);
- }
-
- public function clearInput()
- {
- unset($this->input);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads input = 6;
- * @param \Temporal\Api\Common\V1\Payloads $var
- * @return $this
- */
- public function setInput($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Payloads::class);
- $this->input = $var;
-
- return $this;
- }
-
- /**
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Indicates how long the caller is willing to wait for an activity completion.
- * Limits for how long retries are happening. Either this or start_to_close_timeout_seconds must be specified.
- * When not specified defaults to the workflow execution timeout.
- *
- * Generated from protobuf field .google.protobuf.Duration schedule_to_close_timeout = 7 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
- */
- public function getScheduleToCloseTimeout()
- {
- return isset($this->schedule_to_close_timeout) ? $this->schedule_to_close_timeout : null;
- }
-
- public function hasScheduleToCloseTimeout()
- {
- return isset($this->schedule_to_close_timeout);
- }
-
- public function clearScheduleToCloseTimeout()
- {
- unset($this->schedule_to_close_timeout);
- }
-
- /**
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Indicates how long the caller is willing to wait for an activity completion.
- * Limits for how long retries are happening. Either this or start_to_close_timeout_seconds must be specified.
- * When not specified defaults to the workflow execution timeout.
- *
- * Generated from protobuf field .google.protobuf.Duration schedule_to_close_timeout = 7 [(.gogoproto.stdduration) = true];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setScheduleToCloseTimeout($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->schedule_to_close_timeout = $var;
-
- return $this;
- }
-
- /**
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Limits time an activity task can stay in a task queue before a worker picks it up.
- * This timeout is always non retryable as all a retry would achieve is to put it back into the same queue.
- * Defaults to schedule_to_close_timeout_seconds or workflow execution timeout if not specified.
- *
- * Generated from protobuf field .google.protobuf.Duration schedule_to_start_timeout = 8 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
- */
- public function getScheduleToStartTimeout()
- {
- return isset($this->schedule_to_start_timeout) ? $this->schedule_to_start_timeout : null;
- }
-
- public function hasScheduleToStartTimeout()
- {
- return isset($this->schedule_to_start_timeout);
- }
-
- public function clearScheduleToStartTimeout()
- {
- unset($this->schedule_to_start_timeout);
- }
-
- /**
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Limits time an activity task can stay in a task queue before a worker picks it up.
- * This timeout is always non retryable as all a retry would achieve is to put it back into the same queue.
- * Defaults to schedule_to_close_timeout_seconds or workflow execution timeout if not specified.
- *
- * Generated from protobuf field .google.protobuf.Duration schedule_to_start_timeout = 8 [(.gogoproto.stdduration) = true];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setScheduleToStartTimeout($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->schedule_to_start_timeout = $var;
-
- return $this;
- }
-
- /**
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Maximum time an activity is allowed to execute after a pick up by a worker.
- * This timeout is always retryable. Either this or schedule_to_close_timeout_seconds must be specified.
- *
- * Generated from protobuf field .google.protobuf.Duration start_to_close_timeout = 9 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
- */
- public function getStartToCloseTimeout()
- {
- return isset($this->start_to_close_timeout) ? $this->start_to_close_timeout : null;
- }
-
- public function hasStartToCloseTimeout()
- {
- return isset($this->start_to_close_timeout);
- }
-
- public function clearStartToCloseTimeout()
- {
- unset($this->start_to_close_timeout);
- }
-
- /**
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Maximum time an activity is allowed to execute after a pick up by a worker.
- * This timeout is always retryable. Either this or schedule_to_close_timeout_seconds must be specified.
- *
- * Generated from protobuf field .google.protobuf.Duration start_to_close_timeout = 9 [(.gogoproto.stdduration) = true];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setStartToCloseTimeout($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->start_to_close_timeout = $var;
-
- return $this;
- }
-
- /**
- * Maximum time between successful worker heartbeats.
- *
- * Generated from protobuf field .google.protobuf.Duration heartbeat_timeout = 10 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
- */
- public function getHeartbeatTimeout()
- {
- return isset($this->heartbeat_timeout) ? $this->heartbeat_timeout : null;
- }
-
- public function hasHeartbeatTimeout()
- {
- return isset($this->heartbeat_timeout);
- }
-
- public function clearHeartbeatTimeout()
- {
- unset($this->heartbeat_timeout);
- }
-
- /**
- * Maximum time between successful worker heartbeats.
- *
- * Generated from protobuf field .google.protobuf.Duration heartbeat_timeout = 10 [(.gogoproto.stdduration) = true];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setHeartbeatTimeout($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->heartbeat_timeout = $var;
-
- return $this;
- }
-
- /**
- * Activities are provided by a default retry policy controlled through the service dynamic configuration.
- * Retries are happening up to schedule_to_close_timeout.
- * To disable retries set retry_policy.maximum_attempts to 1.
- *
- * Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 11;
- * @return \Temporal\Api\Common\V1\RetryPolicy
- */
- public function getRetryPolicy()
- {
- return isset($this->retry_policy) ? $this->retry_policy : null;
- }
-
- public function hasRetryPolicy()
- {
- return isset($this->retry_policy);
- }
-
- public function clearRetryPolicy()
- {
- unset($this->retry_policy);
- }
-
- /**
- * Activities are provided by a default retry policy controlled through the service dynamic configuration.
- * Retries are happening up to schedule_to_close_timeout.
- * To disable retries set retry_policy.maximum_attempts to 1.
- *
- * Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 11;
- * @param \Temporal\Api\Common\V1\RetryPolicy $var
- * @return $this
- */
- public function setRetryPolicy($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\RetryPolicy::class);
- $this->retry_policy = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Command/V1/SignalExternalWorkflowExecutionCommandAttributes.php b/api/Temporal/Api/Command/V1/SignalExternalWorkflowExecutionCommandAttributes.php
deleted file mode 100644
index a91f9d495..000000000
--- a/api/Temporal/Api/Command/V1/SignalExternalWorkflowExecutionCommandAttributes.php
+++ /dev/null
@@ -1,213 +0,0 @@
-temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes
- */
-class SignalExternalWorkflowExecutionCommandAttributes extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field string namespace = 1;
- */
- protected $namespace = '';
- /**
- * Generated from protobuf field .temporal.api.common.v1.WorkflowExecution execution = 2;
- */
- protected $execution = null;
- /**
- * Generated from protobuf field string signal_name = 3;
- */
- protected $signal_name = '';
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads input = 4;
- */
- protected $input = null;
- /**
- * Generated from protobuf field string control = 5;
- */
- protected $control = '';
- /**
- * Generated from protobuf field bool child_workflow_only = 6;
- */
- protected $child_workflow_only = false;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $namespace
- * @type \Temporal\Api\Common\V1\WorkflowExecution $execution
- * @type string $signal_name
- * @type \Temporal\Api\Common\V1\Payloads $input
- * @type string $control
- * @type bool $child_workflow_only
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Command\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field string namespace = 1;
- * @return string
- */
- public function getNamespace()
- {
- return $this->namespace;
- }
-
- /**
- * Generated from protobuf field string namespace = 1;
- * @param string $var
- * @return $this
- */
- public function setNamespace($var)
- {
- GPBUtil::checkString($var, True);
- $this->namespace = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.WorkflowExecution execution = 2;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
- */
- public function getExecution()
- {
- return isset($this->execution) ? $this->execution : null;
- }
-
- public function hasExecution()
- {
- return isset($this->execution);
- }
-
- public function clearExecution()
- {
- unset($this->execution);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.WorkflowExecution execution = 2;
- * @param \Temporal\Api\Common\V1\WorkflowExecution $var
- * @return $this
- */
- public function setExecution($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\WorkflowExecution::class);
- $this->execution = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string signal_name = 3;
- * @return string
- */
- public function getSignalName()
- {
- return $this->signal_name;
- }
-
- /**
- * Generated from protobuf field string signal_name = 3;
- * @param string $var
- * @return $this
- */
- public function setSignalName($var)
- {
- GPBUtil::checkString($var, True);
- $this->signal_name = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads input = 4;
- * @return \Temporal\Api\Common\V1\Payloads
- */
- public function getInput()
- {
- return isset($this->input) ? $this->input : null;
- }
-
- public function hasInput()
- {
- return isset($this->input);
- }
-
- public function clearInput()
- {
- unset($this->input);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads input = 4;
- * @param \Temporal\Api\Common\V1\Payloads $var
- * @return $this
- */
- public function setInput($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Payloads::class);
- $this->input = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string control = 5;
- * @return string
- */
- public function getControl()
- {
- return $this->control;
- }
-
- /**
- * Generated from protobuf field string control = 5;
- * @param string $var
- * @return $this
- */
- public function setControl($var)
- {
- GPBUtil::checkString($var, True);
- $this->control = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field bool child_workflow_only = 6;
- * @return bool
- */
- public function getChildWorkflowOnly()
- {
- return $this->child_workflow_only;
- }
-
- /**
- * Generated from protobuf field bool child_workflow_only = 6;
- * @param bool $var
- * @return $this
- */
- public function setChildWorkflowOnly($var)
- {
- GPBUtil::checkBool($var);
- $this->child_workflow_only = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Command/V1/StartChildWorkflowExecutionCommandAttributes.php b/api/Temporal/Api/Command/V1/StartChildWorkflowExecutionCommandAttributes.php
deleted file mode 100644
index 234dba402..000000000
--- a/api/Temporal/Api/Command/V1/StartChildWorkflowExecutionCommandAttributes.php
+++ /dev/null
@@ -1,598 +0,0 @@
-temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes
- */
-class StartChildWorkflowExecutionCommandAttributes extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field string namespace = 1;
- */
- protected $namespace = '';
- /**
- * Generated from protobuf field string workflow_id = 2;
- */
- protected $workflow_id = '';
- /**
- * Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 3;
- */
- protected $workflow_type = null;
- /**
- * Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
- */
- protected $task_queue = null;
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads input = 5;
- */
- protected $input = null;
- /**
- * Total workflow execution timeout including retries and continue as new.
- *
- * Generated from protobuf field .google.protobuf.Duration workflow_execution_timeout = 6 [(.gogoproto.stdduration) = true];
- */
- protected $workflow_execution_timeout = null;
- /**
- * Timeout of a single workflow run.
- *
- * Generated from protobuf field .google.protobuf.Duration workflow_run_timeout = 7 [(.gogoproto.stdduration) = true];
- */
- protected $workflow_run_timeout = null;
- /**
- * Timeout of a single workflow task.
- *
- * Generated from protobuf field .google.protobuf.Duration workflow_task_timeout = 8 [(.gogoproto.stdduration) = true];
- */
- protected $workflow_task_timeout = null;
- /**
- * Default: PARENT_CLOSE_POLICY_TERMINATE.
- *
- * Generated from protobuf field .temporal.api.enums.v1.ParentClosePolicy parent_close_policy = 9;
- */
- protected $parent_close_policy = 0;
- /**
- * Generated from protobuf field string control = 10;
- */
- protected $control = '';
- /**
- * Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
- *
- * Generated from protobuf field .temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 11;
- */
- protected $workflow_id_reuse_policy = 0;
- /**
- * Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 12;
- */
- protected $retry_policy = null;
- /**
- * Generated from protobuf field string cron_schedule = 13;
- */
- protected $cron_schedule = '';
- /**
- * Generated from protobuf field .temporal.api.common.v1.Header header = 14;
- */
- protected $header = null;
- /**
- * Generated from protobuf field .temporal.api.common.v1.Memo memo = 15;
- */
- protected $memo = null;
- /**
- * Generated from protobuf field .temporal.api.common.v1.SearchAttributes search_attributes = 16;
- */
- protected $search_attributes = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $namespace
- * @type string $workflow_id
- * @type \Temporal\Api\Common\V1\WorkflowType $workflow_type
- * @type \Temporal\Api\Taskqueue\V1\TaskQueue $task_queue
- * @type \Temporal\Api\Common\V1\Payloads $input
- * @type \Google\Protobuf\Duration $workflow_execution_timeout
- * Total workflow execution timeout including retries and continue as new.
- * @type \Google\Protobuf\Duration $workflow_run_timeout
- * Timeout of a single workflow run.
- * @type \Google\Protobuf\Duration $workflow_task_timeout
- * Timeout of a single workflow task.
- * @type int $parent_close_policy
- * Default: PARENT_CLOSE_POLICY_TERMINATE.
- * @type string $control
- * @type int $workflow_id_reuse_policy
- * Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
- * @type \Temporal\Api\Common\V1\RetryPolicy $retry_policy
- * @type string $cron_schedule
- * @type \Temporal\Api\Common\V1\Header $header
- * @type \Temporal\Api\Common\V1\Memo $memo
- * @type \Temporal\Api\Common\V1\SearchAttributes $search_attributes
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Command\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field string namespace = 1;
- * @return string
- */
- public function getNamespace()
- {
- return $this->namespace;
- }
-
- /**
- * Generated from protobuf field string namespace = 1;
- * @param string $var
- * @return $this
- */
- public function setNamespace($var)
- {
- GPBUtil::checkString($var, True);
- $this->namespace = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string workflow_id = 2;
- * @return string
- */
- public function getWorkflowId()
- {
- return $this->workflow_id;
- }
-
- /**
- * Generated from protobuf field string workflow_id = 2;
- * @param string $var
- * @return $this
- */
- public function setWorkflowId($var)
- {
- GPBUtil::checkString($var, True);
- $this->workflow_id = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 3;
- * @return \Temporal\Api\Common\V1\WorkflowType
- */
- public function getWorkflowType()
- {
- return isset($this->workflow_type) ? $this->workflow_type : null;
- }
-
- public function hasWorkflowType()
- {
- return isset($this->workflow_type);
- }
-
- public function clearWorkflowType()
- {
- unset($this->workflow_type);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 3;
- * @param \Temporal\Api\Common\V1\WorkflowType $var
- * @return $this
- */
- public function setWorkflowType($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\WorkflowType::class);
- $this->workflow_type = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
- * @return \Temporal\Api\Taskqueue\V1\TaskQueue
- */
- public function getTaskQueue()
- {
- return isset($this->task_queue) ? $this->task_queue : null;
- }
-
- public function hasTaskQueue()
- {
- return isset($this->task_queue);
- }
-
- public function clearTaskQueue()
- {
- unset($this->task_queue);
- }
-
- /**
- * Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
- * @param \Temporal\Api\Taskqueue\V1\TaskQueue $var
- * @return $this
- */
- public function setTaskQueue($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Taskqueue\V1\TaskQueue::class);
- $this->task_queue = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads input = 5;
- * @return \Temporal\Api\Common\V1\Payloads
- */
- public function getInput()
- {
- return isset($this->input) ? $this->input : null;
- }
-
- public function hasInput()
- {
- return isset($this->input);
- }
-
- public function clearInput()
- {
- unset($this->input);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads input = 5;
- * @param \Temporal\Api\Common\V1\Payloads $var
- * @return $this
- */
- public function setInput($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Payloads::class);
- $this->input = $var;
-
- return $this;
- }
-
- /**
- * Total workflow execution timeout including retries and continue as new.
- *
- * Generated from protobuf field .google.protobuf.Duration workflow_execution_timeout = 6 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
- */
- public function getWorkflowExecutionTimeout()
- {
- return isset($this->workflow_execution_timeout) ? $this->workflow_execution_timeout : null;
- }
-
- public function hasWorkflowExecutionTimeout()
- {
- return isset($this->workflow_execution_timeout);
- }
-
- public function clearWorkflowExecutionTimeout()
- {
- unset($this->workflow_execution_timeout);
- }
-
- /**
- * Total workflow execution timeout including retries and continue as new.
- *
- * Generated from protobuf field .google.protobuf.Duration workflow_execution_timeout = 6 [(.gogoproto.stdduration) = true];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setWorkflowExecutionTimeout($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->workflow_execution_timeout = $var;
-
- return $this;
- }
-
- /**
- * Timeout of a single workflow run.
- *
- * Generated from protobuf field .google.protobuf.Duration workflow_run_timeout = 7 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
- */
- public function getWorkflowRunTimeout()
- {
- return isset($this->workflow_run_timeout) ? $this->workflow_run_timeout : null;
- }
-
- public function hasWorkflowRunTimeout()
- {
- return isset($this->workflow_run_timeout);
- }
-
- public function clearWorkflowRunTimeout()
- {
- unset($this->workflow_run_timeout);
- }
-
- /**
- * Timeout of a single workflow run.
- *
- * Generated from protobuf field .google.protobuf.Duration workflow_run_timeout = 7 [(.gogoproto.stdduration) = true];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setWorkflowRunTimeout($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->workflow_run_timeout = $var;
-
- return $this;
- }
-
- /**
- * Timeout of a single workflow task.
- *
- * Generated from protobuf field .google.protobuf.Duration workflow_task_timeout = 8 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
- */
- public function getWorkflowTaskTimeout()
- {
- return isset($this->workflow_task_timeout) ? $this->workflow_task_timeout : null;
- }
-
- public function hasWorkflowTaskTimeout()
- {
- return isset($this->workflow_task_timeout);
- }
-
- public function clearWorkflowTaskTimeout()
- {
- unset($this->workflow_task_timeout);
- }
-
- /**
- * Timeout of a single workflow task.
- *
- * Generated from protobuf field .google.protobuf.Duration workflow_task_timeout = 8 [(.gogoproto.stdduration) = true];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setWorkflowTaskTimeout($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->workflow_task_timeout = $var;
-
- return $this;
- }
-
- /**
- * Default: PARENT_CLOSE_POLICY_TERMINATE.
- *
- * Generated from protobuf field .temporal.api.enums.v1.ParentClosePolicy parent_close_policy = 9;
- * @return int
- */
- public function getParentClosePolicy()
- {
- return $this->parent_close_policy;
- }
-
- /**
- * Default: PARENT_CLOSE_POLICY_TERMINATE.
- *
- * Generated from protobuf field .temporal.api.enums.v1.ParentClosePolicy parent_close_policy = 9;
- * @param int $var
- * @return $this
- */
- public function setParentClosePolicy($var)
- {
- GPBUtil::checkEnum($var, \Temporal\Api\Enums\V1\ParentClosePolicy::class);
- $this->parent_close_policy = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string control = 10;
- * @return string
- */
- public function getControl()
- {
- return $this->control;
- }
-
- /**
- * Generated from protobuf field string control = 10;
- * @param string $var
- * @return $this
- */
- public function setControl($var)
- {
- GPBUtil::checkString($var, True);
- $this->control = $var;
-
- return $this;
- }
-
- /**
- * Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
- *
- * Generated from protobuf field .temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 11;
- * @return int
- */
- public function getWorkflowIdReusePolicy()
- {
- return $this->workflow_id_reuse_policy;
- }
-
- /**
- * Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
- *
- * Generated from protobuf field .temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 11;
- * @param int $var
- * @return $this
- */
- public function setWorkflowIdReusePolicy($var)
- {
- GPBUtil::checkEnum($var, \Temporal\Api\Enums\V1\WorkflowIdReusePolicy::class);
- $this->workflow_id_reuse_policy = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 12;
- * @return \Temporal\Api\Common\V1\RetryPolicy
- */
- public function getRetryPolicy()
- {
- return isset($this->retry_policy) ? $this->retry_policy : null;
- }
-
- public function hasRetryPolicy()
- {
- return isset($this->retry_policy);
- }
-
- public function clearRetryPolicy()
- {
- unset($this->retry_policy);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 12;
- * @param \Temporal\Api\Common\V1\RetryPolicy $var
- * @return $this
- */
- public function setRetryPolicy($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\RetryPolicy::class);
- $this->retry_policy = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string cron_schedule = 13;
- * @return string
- */
- public function getCronSchedule()
- {
- return $this->cron_schedule;
- }
-
- /**
- * Generated from protobuf field string cron_schedule = 13;
- * @param string $var
- * @return $this
- */
- public function setCronSchedule($var)
- {
- GPBUtil::checkString($var, True);
- $this->cron_schedule = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Header header = 14;
- * @return \Temporal\Api\Common\V1\Header
- */
- public function getHeader()
- {
- return isset($this->header) ? $this->header : null;
- }
-
- public function hasHeader()
- {
- return isset($this->header);
- }
-
- public function clearHeader()
- {
- unset($this->header);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Header header = 14;
- * @param \Temporal\Api\Common\V1\Header $var
- * @return $this
- */
- public function setHeader($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Header::class);
- $this->header = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Memo memo = 15;
- * @return \Temporal\Api\Common\V1\Memo
- */
- public function getMemo()
- {
- return isset($this->memo) ? $this->memo : null;
- }
-
- public function hasMemo()
- {
- return isset($this->memo);
- }
-
- public function clearMemo()
- {
- unset($this->memo);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Memo memo = 15;
- * @param \Temporal\Api\Common\V1\Memo $var
- * @return $this
- */
- public function setMemo($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Memo::class);
- $this->memo = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.SearchAttributes search_attributes = 16;
- * @return \Temporal\Api\Common\V1\SearchAttributes
- */
- public function getSearchAttributes()
- {
- return isset($this->search_attributes) ? $this->search_attributes : null;
- }
-
- public function hasSearchAttributes()
- {
- return isset($this->search_attributes);
- }
-
- public function clearSearchAttributes()
- {
- unset($this->search_attributes);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.SearchAttributes search_attributes = 16;
- * @param \Temporal\Api\Common\V1\SearchAttributes $var
- * @return $this
- */
- public function setSearchAttributes($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\SearchAttributes::class);
- $this->search_attributes = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Command/V1/StartTimerCommandAttributes.php b/api/Temporal/Api/Command/V1/StartTimerCommandAttributes.php
deleted file mode 100644
index 03cdd819e..000000000
--- a/api/Temporal/Api/Command/V1/StartTimerCommandAttributes.php
+++ /dev/null
@@ -1,106 +0,0 @@
-temporal.api.command.v1.StartTimerCommandAttributes
- */
-class StartTimerCommandAttributes extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field string timer_id = 1;
- */
- protected $timer_id = '';
- /**
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- *
- * Generated from protobuf field .google.protobuf.Duration start_to_fire_timeout = 2 [(.gogoproto.stdduration) = true];
- */
- protected $start_to_fire_timeout = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $timer_id
- * @type \Google\Protobuf\Duration $start_to_fire_timeout
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Command\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field string timer_id = 1;
- * @return string
- */
- public function getTimerId()
- {
- return $this->timer_id;
- }
-
- /**
- * Generated from protobuf field string timer_id = 1;
- * @param string $var
- * @return $this
- */
- public function setTimerId($var)
- {
- GPBUtil::checkString($var, True);
- $this->timer_id = $var;
-
- return $this;
- }
-
- /**
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- *
- * Generated from protobuf field .google.protobuf.Duration start_to_fire_timeout = 2 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
- */
- public function getStartToFireTimeout()
- {
- return isset($this->start_to_fire_timeout) ? $this->start_to_fire_timeout : null;
- }
-
- public function hasStartToFireTimeout()
- {
- return isset($this->start_to_fire_timeout);
- }
-
- public function clearStartToFireTimeout()
- {
- unset($this->start_to_fire_timeout);
- }
-
- /**
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- *
- * Generated from protobuf field .google.protobuf.Duration start_to_fire_timeout = 2 [(.gogoproto.stdduration) = true];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setStartToFireTimeout($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->start_to_fire_timeout = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Command/V1/UpsertWorkflowSearchAttributesCommandAttributes.php b/api/Temporal/Api/Command/V1/UpsertWorkflowSearchAttributesCommandAttributes.php
deleted file mode 100644
index 3e5163e5a..000000000
--- a/api/Temporal/Api/Command/V1/UpsertWorkflowSearchAttributesCommandAttributes.php
+++ /dev/null
@@ -1,68 +0,0 @@
-temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes
- */
-class UpsertWorkflowSearchAttributesCommandAttributes extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field .temporal.api.common.v1.SearchAttributes search_attributes = 1;
- */
- protected $search_attributes = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Temporal\Api\Common\V1\SearchAttributes $search_attributes
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Command\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.SearchAttributes search_attributes = 1;
- * @return \Temporal\Api\Common\V1\SearchAttributes
- */
- public function getSearchAttributes()
- {
- return isset($this->search_attributes) ? $this->search_attributes : null;
- }
-
- public function hasSearchAttributes()
- {
- return isset($this->search_attributes);
- }
-
- public function clearSearchAttributes()
- {
- unset($this->search_attributes);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.SearchAttributes search_attributes = 1;
- * @param \Temporal\Api\Common\V1\SearchAttributes $var
- * @return $this
- */
- public function setSearchAttributes($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\SearchAttributes::class);
- $this->search_attributes = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Filter/V1/StartTimeFilter.php b/api/Temporal/Api/Filter/V1/StartTimeFilter.php
deleted file mode 100644
index 4fb95a986..000000000
--- a/api/Temporal/Api/Filter/V1/StartTimeFilter.php
+++ /dev/null
@@ -1,105 +0,0 @@
-temporal.api.filter.v1.StartTimeFilter
- */
-class StartTimeFilter extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field .google.protobuf.Timestamp earliest_time = 1 [(.gogoproto.stdtime) = true];
- */
- protected $earliest_time = null;
- /**
- * Generated from protobuf field .google.protobuf.Timestamp latest_time = 2 [(.gogoproto.stdtime) = true];
- */
- protected $latest_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\Timestamp $earliest_time
- * @type \Google\Protobuf\Timestamp $latest_time
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Filter\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field .google.protobuf.Timestamp earliest_time = 1 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
- */
- public function getEarliestTime()
- {
- return isset($this->earliest_time) ? $this->earliest_time : null;
- }
-
- public function hasEarliestTime()
- {
- return isset($this->earliest_time);
- }
-
- public function clearEarliestTime()
- {
- unset($this->earliest_time);
- }
-
- /**
- * Generated from protobuf field .google.protobuf.Timestamp earliest_time = 1 [(.gogoproto.stdtime) = true];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setEarliestTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->earliest_time = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.protobuf.Timestamp latest_time = 2 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
- */
- public function getLatestTime()
- {
- return isset($this->latest_time) ? $this->latest_time : null;
- }
-
- public function hasLatestTime()
- {
- return isset($this->latest_time);
- }
-
- public function clearLatestTime()
- {
- unset($this->latest_time);
- }
-
- /**
- * Generated from protobuf field .google.protobuf.Timestamp latest_time = 2 [(.gogoproto.stdtime) = true];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setLatestTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->latest_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Filter/V1/WorkflowExecutionFilter.php b/api/Temporal/Api/Filter/V1/WorkflowExecutionFilter.php
deleted file mode 100644
index 4db1a2cf4..000000000
--- a/api/Temporal/Api/Filter/V1/WorkflowExecutionFilter.php
+++ /dev/null
@@ -1,85 +0,0 @@
-temporal.api.filter.v1.WorkflowExecutionFilter
- */
-class WorkflowExecutionFilter extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field string workflow_id = 1;
- */
- protected $workflow_id = '';
- /**
- * Generated from protobuf field string run_id = 2;
- */
- protected $run_id = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $workflow_id
- * @type string $run_id
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Filter\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field string workflow_id = 1;
- * @return string
- */
- public function getWorkflowId()
- {
- return $this->workflow_id;
- }
-
- /**
- * Generated from protobuf field string workflow_id = 1;
- * @param string $var
- * @return $this
- */
- public function setWorkflowId($var)
- {
- GPBUtil::checkString($var, True);
- $this->workflow_id = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string run_id = 2;
- * @return string
- */
- public function getRunId()
- {
- return $this->run_id;
- }
-
- /**
- * Generated from protobuf field string run_id = 2;
- * @param string $var
- * @return $this
- */
- public function setRunId($var)
- {
- GPBUtil::checkString($var, True);
- $this->run_id = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Filter/V1/WorkflowTypeFilter.php b/api/Temporal/Api/Filter/V1/WorkflowTypeFilter.php
deleted file mode 100644
index 99a4aec4a..000000000
--- a/api/Temporal/Api/Filter/V1/WorkflowTypeFilter.php
+++ /dev/null
@@ -1,58 +0,0 @@
-temporal.api.filter.v1.WorkflowTypeFilter
- */
-class WorkflowTypeFilter extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Filter\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Generated from protobuf field string name = 1;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/PBNamespace/V1/BadBinaries.php b/api/Temporal/Api/PBNamespace/V1/BadBinaries.php
deleted file mode 100644
index 98375f603..000000000
--- a/api/Temporal/Api/PBNamespace/V1/BadBinaries.php
+++ /dev/null
@@ -1,58 +0,0 @@
-temporal.api.namespace.v1.BadBinaries
- */
-class BadBinaries extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field map binaries = 1;
- */
- private $binaries;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array|\Google\Protobuf\Internal\MapField $binaries
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\PBNamespace\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field map binaries = 1;
- * @return \Google\Protobuf\Internal\MapField
- */
- public function getBinaries()
- {
- return $this->binaries;
- }
-
- /**
- * Generated from protobuf field map binaries = 1;
- * @param array|\Google\Protobuf\Internal\MapField $var
- * @return $this
- */
- public function setBinaries($var)
- {
- $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Temporal\Api\PBNamespace\V1\BadBinaryInfo::class);
- $this->binaries = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/PBNamespace/V1/BadBinaryInfo.php b/api/Temporal/Api/PBNamespace/V1/BadBinaryInfo.php
deleted file mode 100644
index 7ba71547a..000000000
--- a/api/Temporal/Api/PBNamespace/V1/BadBinaryInfo.php
+++ /dev/null
@@ -1,122 +0,0 @@
-temporal.api.namespace.v1.BadBinaryInfo
- */
-class BadBinaryInfo extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field string reason = 1;
- */
- protected $reason = '';
- /**
- * Generated from protobuf field string operator = 2;
- */
- protected $operator = '';
- /**
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.gogoproto.stdtime) = true];
- */
- protected $create_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $reason
- * @type string $operator
- * @type \Google\Protobuf\Timestamp $create_time
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\PBNamespace\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field string reason = 1;
- * @return string
- */
- public function getReason()
- {
- return $this->reason;
- }
-
- /**
- * Generated from protobuf field string reason = 1;
- * @param string $var
- * @return $this
- */
- public function setReason($var)
- {
- GPBUtil::checkString($var, True);
- $this->reason = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string operator = 2;
- * @return string
- */
- public function getOperator()
- {
- return $this->operator;
- }
-
- /**
- * Generated from protobuf field string operator = 2;
- * @param string $var
- * @return $this
- */
- public function setOperator($var)
- {
- GPBUtil::checkString($var, True);
- $this->operator = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
- */
- public function getCreateTime()
- {
- return isset($this->create_time) ? $this->create_time : null;
- }
-
- public function hasCreateTime()
- {
- return isset($this->create_time);
- }
-
- public function clearCreateTime()
- {
- unset($this->create_time);
- }
-
- /**
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.gogoproto.stdtime) = true];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setCreateTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->create_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/PBNamespace/V1/NamespaceConfig.php b/api/Temporal/Api/PBNamespace/V1/NamespaceConfig.php
deleted file mode 100644
index ad1b19e50..000000000
--- a/api/Temporal/Api/PBNamespace/V1/NamespaceConfig.php
+++ /dev/null
@@ -1,227 +0,0 @@
-temporal.api.namespace.v1.NamespaceConfig
- */
-class NamespaceConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field .google.protobuf.Duration workflow_execution_retention_ttl = 1 [(.gogoproto.stdduration) = true];
- */
- protected $workflow_execution_retention_ttl = null;
- /**
- * Generated from protobuf field .temporal.api.namespace.v1.BadBinaries bad_binaries = 2;
- */
- protected $bad_binaries = null;
- /**
- * If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
- *
- * Generated from protobuf field .temporal.api.enums.v1.ArchivalState history_archival_state = 3;
- */
- protected $history_archival_state = 0;
- /**
- * Generated from protobuf field string history_archival_uri = 4;
- */
- protected $history_archival_uri = '';
- /**
- * If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
- *
- * Generated from protobuf field .temporal.api.enums.v1.ArchivalState visibility_archival_state = 5;
- */
- protected $visibility_archival_state = 0;
- /**
- * Generated from protobuf field string visibility_archival_uri = 6;
- */
- protected $visibility_archival_uri = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\Duration $workflow_execution_retention_ttl
- * @type \Temporal\Api\PBNamespace\V1\BadBinaries $bad_binaries
- * @type int $history_archival_state
- * If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
- * @type string $history_archival_uri
- * @type int $visibility_archival_state
- * If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
- * @type string $visibility_archival_uri
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\PBNamespace\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field .google.protobuf.Duration workflow_execution_retention_ttl = 1 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
- */
- public function getWorkflowExecutionRetentionTtl()
- {
- return isset($this->workflow_execution_retention_ttl) ? $this->workflow_execution_retention_ttl : null;
- }
-
- public function hasWorkflowExecutionRetentionTtl()
- {
- return isset($this->workflow_execution_retention_ttl);
- }
-
- public function clearWorkflowExecutionRetentionTtl()
- {
- unset($this->workflow_execution_retention_ttl);
- }
-
- /**
- * Generated from protobuf field .google.protobuf.Duration workflow_execution_retention_ttl = 1 [(.gogoproto.stdduration) = true];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setWorkflowExecutionRetentionTtl($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->workflow_execution_retention_ttl = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.namespace.v1.BadBinaries bad_binaries = 2;
- * @return \Temporal\Api\PBNamespace\V1\BadBinaries
- */
- public function getBadBinaries()
- {
- return isset($this->bad_binaries) ? $this->bad_binaries : null;
- }
-
- public function hasBadBinaries()
- {
- return isset($this->bad_binaries);
- }
-
- public function clearBadBinaries()
- {
- unset($this->bad_binaries);
- }
-
- /**
- * Generated from protobuf field .temporal.api.namespace.v1.BadBinaries bad_binaries = 2;
- * @param \Temporal\Api\PBNamespace\V1\BadBinaries $var
- * @return $this
- */
- public function setBadBinaries($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\PBNamespace\V1\BadBinaries::class);
- $this->bad_binaries = $var;
-
- return $this;
- }
-
- /**
- * If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
- *
- * Generated from protobuf field .temporal.api.enums.v1.ArchivalState history_archival_state = 3;
- * @return int
- */
- public function getHistoryArchivalState()
- {
- return $this->history_archival_state;
- }
-
- /**
- * If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
- *
- * Generated from protobuf field .temporal.api.enums.v1.ArchivalState history_archival_state = 3;
- * @param int $var
- * @return $this
- */
- public function setHistoryArchivalState($var)
- {
- GPBUtil::checkEnum($var, \Temporal\Api\Enums\V1\ArchivalState::class);
- $this->history_archival_state = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string history_archival_uri = 4;
- * @return string
- */
- public function getHistoryArchivalUri()
- {
- return $this->history_archival_uri;
- }
-
- /**
- * Generated from protobuf field string history_archival_uri = 4;
- * @param string $var
- * @return $this
- */
- public function setHistoryArchivalUri($var)
- {
- GPBUtil::checkString($var, True);
- $this->history_archival_uri = $var;
-
- return $this;
- }
-
- /**
- * If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
- *
- * Generated from protobuf field .temporal.api.enums.v1.ArchivalState visibility_archival_state = 5;
- * @return int
- */
- public function getVisibilityArchivalState()
- {
- return $this->visibility_archival_state;
- }
-
- /**
- * If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
- *
- * Generated from protobuf field .temporal.api.enums.v1.ArchivalState visibility_archival_state = 5;
- * @param int $var
- * @return $this
- */
- public function setVisibilityArchivalState($var)
- {
- GPBUtil::checkEnum($var, \Temporal\Api\Enums\V1\ArchivalState::class);
- $this->visibility_archival_state = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string visibility_archival_uri = 6;
- * @return string
- */
- public function getVisibilityArchivalUri()
- {
- return $this->visibility_archival_uri;
- }
-
- /**
- * Generated from protobuf field string visibility_archival_uri = 6;
- * @param string $var
- * @return $this
- */
- public function setVisibilityArchivalUri($var)
- {
- GPBUtil::checkString($var, True);
- $this->visibility_archival_uri = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/PBNamespace/V1/NamespaceInfo.php b/api/Temporal/Api/PBNamespace/V1/NamespaceInfo.php
deleted file mode 100644
index 20a0c28bf..000000000
--- a/api/Temporal/Api/PBNamespace/V1/NamespaceInfo.php
+++ /dev/null
@@ -1,200 +0,0 @@
-temporal.api.namespace.v1.NamespaceInfo
- */
-class NamespaceInfo extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * Generated from protobuf field .temporal.api.enums.v1.NamespaceState state = 2;
- */
- protected $state = 0;
- /**
- * Generated from protobuf field string description = 3;
- */
- protected $description = '';
- /**
- * Generated from protobuf field string owner_email = 4;
- */
- protected $owner_email = '';
- /**
- * A key-value map for any customized purpose.
- *
- * Generated from protobuf field map data = 5;
- */
- private $data;
- /**
- * Generated from protobuf field string id = 6;
- */
- protected $id = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * @type int $state
- * @type string $description
- * @type string $owner_email
- * @type array|\Google\Protobuf\Internal\MapField $data
- * A key-value map for any customized purpose.
- * @type string $id
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\PBNamespace\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Generated from protobuf field string name = 1;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.enums.v1.NamespaceState state = 2;
- * @return int
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * Generated from protobuf field .temporal.api.enums.v1.NamespaceState state = 2;
- * @param int $var
- * @return $this
- */
- public function setState($var)
- {
- GPBUtil::checkEnum($var, \Temporal\Api\Enums\V1\NamespaceState::class);
- $this->state = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string description = 3;
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
-
- /**
- * Generated from protobuf field string description = 3;
- * @param string $var
- * @return $this
- */
- public function setDescription($var)
- {
- GPBUtil::checkString($var, True);
- $this->description = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string owner_email = 4;
- * @return string
- */
- public function getOwnerEmail()
- {
- return $this->owner_email;
- }
-
- /**
- * Generated from protobuf field string owner_email = 4;
- * @param string $var
- * @return $this
- */
- public function setOwnerEmail($var)
- {
- GPBUtil::checkString($var, True);
- $this->owner_email = $var;
-
- return $this;
- }
-
- /**
- * A key-value map for any customized purpose.
- *
- * Generated from protobuf field map data = 5;
- * @return \Google\Protobuf\Internal\MapField
- */
- public function getData()
- {
- return $this->data;
- }
-
- /**
- * A key-value map for any customized purpose.
- *
- * Generated from protobuf field map data = 5;
- * @param array|\Google\Protobuf\Internal\MapField $var
- * @return $this
- */
- public function setData($var)
- {
- $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
- $this->data = $arr;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string id = 6;
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Generated from protobuf field string id = 6;
- * @param string $var
- * @return $this
- */
- public function setId($var)
- {
- GPBUtil::checkString($var, True);
- $this->id = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/PBNamespace/V1/UpdateNamespaceInfo.php b/api/Temporal/Api/PBNamespace/V1/UpdateNamespaceInfo.php
deleted file mode 100644
index 4768d5c6d..000000000
--- a/api/Temporal/Api/PBNamespace/V1/UpdateNamespaceInfo.php
+++ /dev/null
@@ -1,119 +0,0 @@
-temporal.api.namespace.v1.UpdateNamespaceInfo
- */
-class UpdateNamespaceInfo extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field string description = 1;
- */
- protected $description = '';
- /**
- * Generated from protobuf field string owner_email = 2;
- */
- protected $owner_email = '';
- /**
- * A key-value map for any customized purpose.
- *
- * Generated from protobuf field map data = 3;
- */
- private $data;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $description
- * @type string $owner_email
- * @type array|\Google\Protobuf\Internal\MapField $data
- * A key-value map for any customized purpose.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\PBNamespace\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field string description = 1;
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
-
- /**
- * Generated from protobuf field string description = 1;
- * @param string $var
- * @return $this
- */
- public function setDescription($var)
- {
- GPBUtil::checkString($var, True);
- $this->description = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string owner_email = 2;
- * @return string
- */
- public function getOwnerEmail()
- {
- return $this->owner_email;
- }
-
- /**
- * Generated from protobuf field string owner_email = 2;
- * @param string $var
- * @return $this
- */
- public function setOwnerEmail($var)
- {
- GPBUtil::checkString($var, True);
- $this->owner_email = $var;
-
- return $this;
- }
-
- /**
- * A key-value map for any customized purpose.
- *
- * Generated from protobuf field map data = 3;
- * @return \Google\Protobuf\Internal\MapField
- */
- public function getData()
- {
- return $this->data;
- }
-
- /**
- * A key-value map for any customized purpose.
- *
- * Generated from protobuf field map data = 3;
- * @param array|\Google\Protobuf\Internal\MapField $var
- * @return $this
- */
- public function setData($var)
- {
- $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
- $this->data = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Query/V1/WorkflowQuery.php b/api/Temporal/Api/Query/V1/WorkflowQuery.php
deleted file mode 100644
index d3a3e704b..000000000
--- a/api/Temporal/Api/Query/V1/WorkflowQuery.php
+++ /dev/null
@@ -1,95 +0,0 @@
-temporal.api.query.v1.WorkflowQuery
- */
-class WorkflowQuery extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field string query_type = 1;
- */
- protected $query_type = '';
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads query_args = 2;
- */
- protected $query_args = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $query_type
- * @type \Temporal\Api\Common\V1\Payloads $query_args
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Query\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field string query_type = 1;
- * @return string
- */
- public function getQueryType()
- {
- return $this->query_type;
- }
-
- /**
- * Generated from protobuf field string query_type = 1;
- * @param string $var
- * @return $this
- */
- public function setQueryType($var)
- {
- GPBUtil::checkString($var, True);
- $this->query_type = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads query_args = 2;
- * @return \Temporal\Api\Common\V1\Payloads
- */
- public function getQueryArgs()
- {
- return isset($this->query_args) ? $this->query_args : null;
- }
-
- public function hasQueryArgs()
- {
- return isset($this->query_args);
- }
-
- public function clearQueryArgs()
- {
- unset($this->query_args);
- }
-
- /**
- * Generated from protobuf field .temporal.api.common.v1.Payloads query_args = 2;
- * @param \Temporal\Api\Common\V1\Payloads $var
- * @return $this
- */
- public function setQueryArgs($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Payloads::class);
- $this->query_args = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Taskqueue/V1/PollerInfo.php b/api/Temporal/Api/Taskqueue/V1/PollerInfo.php
deleted file mode 100644
index 068c58b58..000000000
--- a/api/Temporal/Api/Taskqueue/V1/PollerInfo.php
+++ /dev/null
@@ -1,129 +0,0 @@
-temporal.api.taskqueue.v1.PollerInfo
- */
-class PollerInfo extends \Google\Protobuf\Internal\Message
-{
- /**
- * Unix Nano
- *
- * Generated from protobuf field .google.protobuf.Timestamp last_access_time = 1 [(.gogoproto.stdtime) = true];
- */
- protected $last_access_time = null;
- /**
- * Generated from protobuf field string identity = 2;
- */
- protected $identity = '';
- /**
- * Generated from protobuf field double rate_per_second = 3;
- */
- protected $rate_per_second = 0.0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\Timestamp $last_access_time
- * Unix Nano
- * @type string $identity
- * @type float $rate_per_second
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Taskqueue\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Unix Nano
- *
- * Generated from protobuf field .google.protobuf.Timestamp last_access_time = 1 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
- */
- public function getLastAccessTime()
- {
- return isset($this->last_access_time) ? $this->last_access_time : null;
- }
-
- public function hasLastAccessTime()
- {
- return isset($this->last_access_time);
- }
-
- public function clearLastAccessTime()
- {
- unset($this->last_access_time);
- }
-
- /**
- * Unix Nano
- *
- * Generated from protobuf field .google.protobuf.Timestamp last_access_time = 1 [(.gogoproto.stdtime) = true];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setLastAccessTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->last_access_time = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string identity = 2;
- * @return string
- */
- public function getIdentity()
- {
- return $this->identity;
- }
-
- /**
- * Generated from protobuf field string identity = 2;
- * @param string $var
- * @return $this
- */
- public function setIdentity($var)
- {
- GPBUtil::checkString($var, True);
- $this->identity = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field double rate_per_second = 3;
- * @return float
- */
- public function getRatePerSecond()
- {
- return $this->rate_per_second;
- }
-
- /**
- * Generated from protobuf field double rate_per_second = 3;
- * @param float $var
- * @return $this
- */
- public function setRatePerSecond($var)
- {
- GPBUtil::checkDouble($var);
- $this->rate_per_second = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Taskqueue/V1/StickyExecutionAttributes.php b/api/Temporal/Api/Taskqueue/V1/StickyExecutionAttributes.php
deleted file mode 100644
index d5adae8f9..000000000
--- a/api/Temporal/Api/Taskqueue/V1/StickyExecutionAttributes.php
+++ /dev/null
@@ -1,116 +0,0 @@
-temporal.api.taskqueue.v1.StickyExecutionAttributes
- */
-class StickyExecutionAttributes extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue worker_task_queue = 1;
- */
- protected $worker_task_queue = null;
- /**
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- *
- * Generated from protobuf field .google.protobuf.Duration schedule_to_start_timeout = 2 [(.gogoproto.stdduration) = true];
- */
- protected $schedule_to_start_timeout = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Temporal\Api\Taskqueue\V1\TaskQueue $worker_task_queue
- * @type \Google\Protobuf\Duration $schedule_to_start_timeout
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Taskqueue\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue worker_task_queue = 1;
- * @return \Temporal\Api\Taskqueue\V1\TaskQueue
- */
- public function getWorkerTaskQueue()
- {
- return isset($this->worker_task_queue) ? $this->worker_task_queue : null;
- }
-
- public function hasWorkerTaskQueue()
- {
- return isset($this->worker_task_queue);
- }
-
- public function clearWorkerTaskQueue()
- {
- unset($this->worker_task_queue);
- }
-
- /**
- * Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue worker_task_queue = 1;
- * @param \Temporal\Api\Taskqueue\V1\TaskQueue $var
- * @return $this
- */
- public function setWorkerTaskQueue($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Taskqueue\V1\TaskQueue::class);
- $this->worker_task_queue = $var;
-
- return $this;
- }
-
- /**
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- *
- * Generated from protobuf field .google.protobuf.Duration schedule_to_start_timeout = 2 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
- */
- public function getScheduleToStartTimeout()
- {
- return isset($this->schedule_to_start_timeout) ? $this->schedule_to_start_timeout : null;
- }
-
- public function hasScheduleToStartTimeout()
- {
- return isset($this->schedule_to_start_timeout);
- }
-
- public function clearScheduleToStartTimeout()
- {
- unset($this->schedule_to_start_timeout);
- }
-
- /**
- * (-- api-linter: core::0140::prepositions=disabled
- * aip.dev/not-precedent: "to" is used to indicate interval. --)
- *
- * Generated from protobuf field .google.protobuf.Duration schedule_to_start_timeout = 2 [(.gogoproto.stdduration) = true];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setScheduleToStartTimeout($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->schedule_to_start_timeout = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Taskqueue/V1/TaskIdBlock.php b/api/Temporal/Api/Taskqueue/V1/TaskIdBlock.php
deleted file mode 100644
index 52c6677ea..000000000
--- a/api/Temporal/Api/Taskqueue/V1/TaskIdBlock.php
+++ /dev/null
@@ -1,85 +0,0 @@
-temporal.api.taskqueue.v1.TaskIdBlock
- */
-class TaskIdBlock extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field int64 start_id = 1;
- */
- protected $start_id = 0;
- /**
- * Generated from protobuf field int64 end_id = 2;
- */
- protected $end_id = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $start_id
- * @type int|string $end_id
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Taskqueue\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field int64 start_id = 1;
- * @return int|string
- */
- public function getStartId()
- {
- return $this->start_id;
- }
-
- /**
- * Generated from protobuf field int64 start_id = 1;
- * @param int|string $var
- * @return $this
- */
- public function setStartId($var)
- {
- GPBUtil::checkInt64($var);
- $this->start_id = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field int64 end_id = 2;
- * @return int|string
- */
- public function getEndId()
- {
- return $this->end_id;
- }
-
- /**
- * Generated from protobuf field int64 end_id = 2;
- * @param int|string $var
- * @return $this
- */
- public function setEndId($var)
- {
- GPBUtil::checkInt64($var);
- $this->end_id = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Taskqueue/V1/TaskQueueMetadata.php b/api/Temporal/Api/Taskqueue/V1/TaskQueueMetadata.php
deleted file mode 100644
index c4f57acad..000000000
--- a/api/Temporal/Api/Taskqueue/V1/TaskQueueMetadata.php
+++ /dev/null
@@ -1,91 +0,0 @@
-temporal.api.taskqueue.v1.TaskQueueMetadata
- */
-class TaskQueueMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field .google.protobuf.DoubleValue max_tasks_per_second = 1;
- */
- protected $max_tasks_per_second = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\DoubleValue $max_tasks_per_second
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Taskqueue\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field .google.protobuf.DoubleValue max_tasks_per_second = 1;
- * @return \Google\Protobuf\DoubleValue
- */
- public function getMaxTasksPerSecond()
- {
- return isset($this->max_tasks_per_second) ? $this->max_tasks_per_second : null;
- }
-
- public function hasMaxTasksPerSecond()
- {
- return isset($this->max_tasks_per_second);
- }
-
- public function clearMaxTasksPerSecond()
- {
- unset($this->max_tasks_per_second);
- }
-
- /**
- * Returns the unboxed value from getMaxTasksPerSecond()
-
- * Generated from protobuf field .google.protobuf.DoubleValue max_tasks_per_second = 1;
- * @return float|null
- */
- public function getMaxTasksPerSecondUnwrapped()
- {
- return $this->readWrapperValue("max_tasks_per_second");
- }
-
- /**
- * Generated from protobuf field .google.protobuf.DoubleValue max_tasks_per_second = 1;
- * @param \Google\Protobuf\DoubleValue $var
- * @return $this
- */
- public function setMaxTasksPerSecond($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\DoubleValue::class);
- $this->max_tasks_per_second = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\DoubleValue object.
-
- * Generated from protobuf field .google.protobuf.DoubleValue max_tasks_per_second = 1;
- * @param float|null $var
- * @return $this
- */
- public function setMaxTasksPerSecondUnwrapped($var)
- {
- $this->writeWrapperValue("max_tasks_per_second", $var);
- return $this;}
-
-}
-
diff --git a/api/Temporal/Api/Taskqueue/V1/TaskQueuePartitionMetadata.php b/api/Temporal/Api/Taskqueue/V1/TaskQueuePartitionMetadata.php
deleted file mode 100644
index 6d16fbbb3..000000000
--- a/api/Temporal/Api/Taskqueue/V1/TaskQueuePartitionMetadata.php
+++ /dev/null
@@ -1,85 +0,0 @@
-temporal.api.taskqueue.v1.TaskQueuePartitionMetadata
- */
-class TaskQueuePartitionMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field string key = 1;
- */
- protected $key = '';
- /**
- * Generated from protobuf field string owner_host_name = 2;
- */
- protected $owner_host_name = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $key
- * @type string $owner_host_name
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Taskqueue\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field string key = 1;
- * @return string
- */
- public function getKey()
- {
- return $this->key;
- }
-
- /**
- * Generated from protobuf field string key = 1;
- * @param string $var
- * @return $this
- */
- public function setKey($var)
- {
- GPBUtil::checkString($var, True);
- $this->key = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string owner_host_name = 2;
- * @return string
- */
- public function getOwnerHostName()
- {
- return $this->owner_host_name;
- }
-
- /**
- * Generated from protobuf field string owner_host_name = 2;
- * @param string $var
- * @return $this
- */
- public function setOwnerHostName($var)
- {
- GPBUtil::checkString($var, True);
- $this->owner_host_name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Taskqueue/V1/TaskQueueStatus.php b/api/Temporal/Api/Taskqueue/V1/TaskQueueStatus.php
deleted file mode 100644
index 9ddb8c86b..000000000
--- a/api/Temporal/Api/Taskqueue/V1/TaskQueueStatus.php
+++ /dev/null
@@ -1,176 +0,0 @@
-temporal.api.taskqueue.v1.TaskQueueStatus
- */
-class TaskQueueStatus extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field int64 backlog_count_hint = 1;
- */
- protected $backlog_count_hint = 0;
- /**
- * Generated from protobuf field int64 read_level = 2;
- */
- protected $read_level = 0;
- /**
- * Generated from protobuf field int64 ack_level = 3;
- */
- protected $ack_level = 0;
- /**
- * Generated from protobuf field double rate_per_second = 4;
- */
- protected $rate_per_second = 0.0;
- /**
- * Generated from protobuf field .temporal.api.taskqueue.v1.TaskIdBlock task_id_block = 5;
- */
- protected $task_id_block = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $backlog_count_hint
- * @type int|string $read_level
- * @type int|string $ack_level
- * @type float $rate_per_second
- * @type \Temporal\Api\Taskqueue\V1\TaskIdBlock $task_id_block
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Taskqueue\V1\Message::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field int64 backlog_count_hint = 1;
- * @return int|string
- */
- public function getBacklogCountHint()
- {
- return $this->backlog_count_hint;
- }
-
- /**
- * Generated from protobuf field int64 backlog_count_hint = 1;
- * @param int|string $var
- * @return $this
- */
- public function setBacklogCountHint($var)
- {
- GPBUtil::checkInt64($var);
- $this->backlog_count_hint = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field int64 read_level = 2;
- * @return int|string
- */
- public function getReadLevel()
- {
- return $this->read_level;
- }
-
- /**
- * Generated from protobuf field int64 read_level = 2;
- * @param int|string $var
- * @return $this
- */
- public function setReadLevel($var)
- {
- GPBUtil::checkInt64($var);
- $this->read_level = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field int64 ack_level = 3;
- * @return int|string
- */
- public function getAckLevel()
- {
- return $this->ack_level;
- }
-
- /**
- * Generated from protobuf field int64 ack_level = 3;
- * @param int|string $var
- * @return $this
- */
- public function setAckLevel($var)
- {
- GPBUtil::checkInt64($var);
- $this->ack_level = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field double rate_per_second = 4;
- * @return float
- */
- public function getRatePerSecond()
- {
- return $this->rate_per_second;
- }
-
- /**
- * Generated from protobuf field double rate_per_second = 4;
- * @param float $var
- * @return $this
- */
- public function setRatePerSecond($var)
- {
- GPBUtil::checkDouble($var);
- $this->rate_per_second = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .temporal.api.taskqueue.v1.TaskIdBlock task_id_block = 5;
- * @return \Temporal\Api\Taskqueue\V1\TaskIdBlock
- */
- public function getTaskIdBlock()
- {
- return isset($this->task_id_block) ? $this->task_id_block : null;
- }
-
- public function hasTaskIdBlock()
- {
- return isset($this->task_id_block);
- }
-
- public function clearTaskIdBlock()
- {
- unset($this->task_id_block);
- }
-
- /**
- * Generated from protobuf field .temporal.api.taskqueue.v1.TaskIdBlock task_id_block = 5;
- * @param \Temporal\Api\Taskqueue\V1\TaskIdBlock $var
- * @return $this
- */
- public function setTaskIdBlock($var)
- {
- GPBUtil::checkMessage($var, \Temporal\Api\Taskqueue\V1\TaskIdBlock::class);
- $this->task_id_block = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedByIdResponse.php b/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedByIdResponse.php
deleted file mode 100644
index 2c9b2198c..000000000
--- a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedByIdResponse.php
+++ /dev/null
@@ -1,31 +0,0 @@
-temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse
- */
-class RespondActivityTaskFailedByIdResponse extends \Google\Protobuf\Internal\Message
-{
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Workflowservice\V1\RequestResponse::initOnce();
- parent::__construct($data);
- }
-
-}
-
diff --git a/api/Temporal/Roadrunner/Internal/Error.php b/api/Temporal/Roadrunner/Internal/Error.php
deleted file mode 100644
index 9ec03f35a..000000000
--- a/api/Temporal/Roadrunner/Internal/Error.php
+++ /dev/null
@@ -1,114 +0,0 @@
-temporal.roadrunner.internal.Error
- */
-class Error extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field int32 code = 1;
- */
- protected $code = 0;
- /**
- * Generated from protobuf field string message = 2;
- */
- protected $message = '';
- /**
- * Generated from protobuf field bytes data = 3;
- */
- protected $data = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $code
- * @type string $message
- * @type string $data
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Protocol::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field int32 code = 1;
- * @return int
- */
- public function getCode()
- {
- return $this->code;
- }
-
- /**
- * Generated from protobuf field int32 code = 1;
- * @param int $var
- * @return $this
- */
- public function setCode($var)
- {
- GPBUtil::checkInt32($var);
- $this->code = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string message = 2;
- * @return string
- */
- public function getMessage()
- {
- return $this->message;
- }
-
- /**
- * Generated from protobuf field string message = 2;
- * @param string $var
- * @return $this
- */
- public function setMessage($var)
- {
- GPBUtil::checkString($var, True);
- $this->message = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field bytes data = 3;
- * @return string
- */
- public function getData()
- {
- return $this->data;
- }
-
- /**
- * Generated from protobuf field bytes data = 3;
- * @param string $var
- * @return $this
- */
- public function setData($var)
- {
- GPBUtil::checkString($var, False);
- $this->data = $var;
-
- return $this;
- }
-
-}
-
diff --git a/api/GPBMetadata/Dependencies/Gogoproto/Gogo.php b/api/v1/GPBMetadata/Dependencies/Gogoproto/Gogo.php
similarity index 57%
rename from api/GPBMetadata/Dependencies/Gogoproto/Gogo.php
rename to api/v1/GPBMetadata/Dependencies/Gogoproto/Gogo.php
index 9e17f6533..86c1bb147 100644
--- a/api/GPBMetadata/Dependencies/Gogoproto/Gogo.php
+++ b/api/v1/GPBMetadata/Dependencies/Gogoproto/Gogo.php
@@ -14,9 +14,11 @@ public static function initOnce() {
if (static::$is_initialized == true) {
return;
}
- $pool->internalAddGeneratedFile(hex2bin(
- "0a7e0a21646570656e64656e636965732f676f676f70726f746f2f676f676f2e70726f746f1209676f676f70726f746f1a20676f6f676c652f70726f746f6275662f64657363726970746f722e70726f746f42245a226769746875622e636f6d2f676f676f2f70726f746f6275662f676f676f70726f746f620670726f746f33"
- ), true);
+ $pool->internalAddGeneratedFile(
+ '
+~
+!dependencies/gogoproto/gogo.proto gogoproto google/protobuf/descriptor.protoB$Z"github.com/gogo/protobuf/gogoprotobproto3'
+ , true);
static::$is_initialized = true;
}
diff --git a/api/v1/GPBMetadata/Protocol.php b/api/v1/GPBMetadata/Protocol.php
new file mode 100644
index 000000000..9a3078f0f
--- /dev/null
+++ b/api/v1/GPBMetadata/Protocol.php
@@ -0,0 +1,37 @@
+internalAddGeneratedFile(
+ '
+À
+protocol.prototemporal.roadrunner.internal%temporal/api/failure/v1/message.proto"@
+Frame7
+messages (2%.temporal.roadrunner.internal.Message"ž
+Message
+
+id (
+command (
+options (1
+failure (2 .temporal.api.failure.v1.Failure2
+payloads (2 .temporal.api.common.v1.Payloadsbproto3'
+ , true);
+
+ static::$is_initialized = true;
+ }
+}
+
diff --git a/api/v1/GPBMetadata/Temporal/Api/Command/V1/Message.php b/api/v1/GPBMetadata/Temporal/Api/Command/V1/Message.php
new file mode 100644
index 000000000..b226c660e
Binary files /dev/null and b/api/v1/GPBMetadata/Temporal/Api/Command/V1/Message.php differ
diff --git a/api/v1/GPBMetadata/Temporal/Api/Common/V1/Message.php b/api/v1/GPBMetadata/Temporal/Api/Common/V1/Message.php
new file mode 100644
index 000000000..121e5c22a
--- /dev/null
+++ b/api/v1/GPBMetadata/Temporal/Api/Common/V1/Message.php
@@ -0,0 +1,70 @@
+internalAddGeneratedFile(
+ '
+÷
+
+$temporal/api/common/v1/message.prototemporal.api.common.v1!dependencies/gogoproto/gogo.proto"temporal/api/enums/v1/common.proto"T
+DataBlob:
+
encoding_type (2#.temporal.api.enums.v1.EncodingType
+data ("=
+Payloads1
+payloads (2.temporal.api.common.v1.Payload"‰
+Payload?
+metadata (2-.temporal.api.common.v1.Payload.MetadataEntry
+data (/
+
MetadataEntry
+key (
+value (:8"¾
+SearchAttributesS
+indexed_fields (2;.temporal.api.common.v1.SearchAttributes.IndexedFieldsEntryU
+IndexedFieldsEntry
+key ( .
+value (2.temporal.api.common.v1.Payload:8"
+Memo8
+fields (2(.temporal.api.common.v1.Memo.FieldsEntryN
+FieldsEntry
+key ( .
+value (2.temporal.api.common.v1.Payload:8"”
+Header:
+fields (2*.temporal.api.common.v1.Header.FieldsEntryN
+FieldsEntry
+key ( .
+value (2.temporal.api.common.v1.Payload:8"8
+WorkflowExecution
+workflow_id (
+run_id ( "
+WorkflowType
+name ( "
+ActivityType
+name ( "Ý
+RetryPolicy9
+initial_interval (2.google.protobuf.DurationB˜ß
+backoff_coefficient (9
+maximum_interval (2.google.protobuf.DurationB˜ß
+maximum_attempts (!
+non_retryable_error_types ( B…
+io.temporal.api.common.v1BMessageProtoPZ#go.temporal.io/api/common/v1;commonªTemporal.Api.Common.V1êTemporal::Api::Common::V1bproto3'
+ , true);
+
+ static::$is_initialized = true;
+ }
+}
+
diff --git a/api/v1/GPBMetadata/Temporal/Api/Enums/V1/CommandType.php b/api/v1/GPBMetadata/Temporal/Api/Enums/V1/CommandType.php
new file mode 100644
index 000000000..709cb6049
Binary files /dev/null and b/api/v1/GPBMetadata/Temporal/Api/Enums/V1/CommandType.php differ
diff --git a/api/v1/GPBMetadata/Temporal/Api/Enums/V1/Common.php b/api/v1/GPBMetadata/Temporal/Api/Enums/V1/Common.php
new file mode 100644
index 000000000..078334bbe
Binary files /dev/null and b/api/v1/GPBMetadata/Temporal/Api/Enums/V1/Common.php differ
diff --git a/api/v1/GPBMetadata/Temporal/Api/Enums/V1/EventType.php b/api/v1/GPBMetadata/Temporal/Api/Enums/V1/EventType.php
new file mode 100644
index 000000000..a19bd2ac0
Binary files /dev/null and b/api/v1/GPBMetadata/Temporal/Api/Enums/V1/EventType.php differ
diff --git a/api/v1/GPBMetadata/Temporal/Api/Enums/V1/FailedCause.php b/api/v1/GPBMetadata/Temporal/Api/Enums/V1/FailedCause.php
new file mode 100644
index 000000000..b7449d6e7
Binary files /dev/null and b/api/v1/GPBMetadata/Temporal/Api/Enums/V1/FailedCause.php differ
diff --git a/api/v1/GPBMetadata/Temporal/Api/Enums/V1/PBNamespace.php b/api/v1/GPBMetadata/Temporal/Api/Enums/V1/PBNamespace.php
new file mode 100644
index 000000000..febd6fc83
Binary files /dev/null and b/api/v1/GPBMetadata/Temporal/Api/Enums/V1/PBNamespace.php differ
diff --git a/api/v1/GPBMetadata/Temporal/Api/Enums/V1/Query.php b/api/v1/GPBMetadata/Temporal/Api/Enums/V1/Query.php
new file mode 100644
index 000000000..bcd55a3cc
Binary files /dev/null and b/api/v1/GPBMetadata/Temporal/Api/Enums/V1/Query.php differ
diff --git a/api/v1/GPBMetadata/Temporal/Api/Enums/V1/Reset.php b/api/v1/GPBMetadata/Temporal/Api/Enums/V1/Reset.php
new file mode 100644
index 000000000..246105fa2
Binary files /dev/null and b/api/v1/GPBMetadata/Temporal/Api/Enums/V1/Reset.php differ
diff --git a/api/v1/GPBMetadata/Temporal/Api/Enums/V1/TaskQueue.php b/api/v1/GPBMetadata/Temporal/Api/Enums/V1/TaskQueue.php
new file mode 100644
index 000000000..9c6e68d02
Binary files /dev/null and b/api/v1/GPBMetadata/Temporal/Api/Enums/V1/TaskQueue.php differ
diff --git a/api/v1/GPBMetadata/Temporal/Api/Enums/V1/Workflow.php b/api/v1/GPBMetadata/Temporal/Api/Enums/V1/Workflow.php
new file mode 100644
index 000000000..8c453518b
Binary files /dev/null and b/api/v1/GPBMetadata/Temporal/Api/Enums/V1/Workflow.php differ
diff --git a/api/v1/GPBMetadata/Temporal/Api/Errordetails/V1/Message.php b/api/v1/GPBMetadata/Temporal/Api/Errordetails/V1/Message.php
new file mode 100644
index 000000000..36e2fa6eb
--- /dev/null
+++ b/api/v1/GPBMetadata/Temporal/Api/Errordetails/V1/Message.php
@@ -0,0 +1,56 @@
+internalAddGeneratedFile(
+ '
+É
+*temporal/api/errordetails/v1/message.prototemporal.api.errordetails.v1(temporal/api/enums/v1/failed_cause.proto"B
+NotFoundFailure
+current_cluster (
+active_cluster ( "R
+&WorkflowExecutionAlreadyStartedFailure
+start_request_id (
+run_id ( "_
+NamespaceNotActiveFailure
+ namespace (
+current_cluster (
+active_cluster ( "k
+ ClientVersionNotSupportedFailure
+client_version (
+client_name (
+supported_versions ( "d
+ ServerVersionNotSupportedFailure
+server_version ( (
+ client_supported_server_versions ( "
+NamespaceAlreadyExistsFailure"%
+#CancellationAlreadyRequestedFailure"
+QueryFailedFailure")
+PermissionDeniedFailure
+reason ( "X
+ResourceExhaustedFailure<
+cause (2-.temporal.api.enums.v1.ResourceExhaustedCause"v
+SystemWorkflowFailureE
+workflow_execution (2).temporal.api.common.v1.WorkflowExecution
+workflow_error ( B£
+io.temporal.api.errordetails.v1BMessageProtoPZ/go.temporal.io/api/errordetails/v1;errordetailsªTemporal.Api.ErrorDetails.V1êTemporal::Api::ErrorDetails::V1bproto3'
+ , true);
+
+ static::$is_initialized = true;
+ }
+}
+
diff --git a/api/v1/GPBMetadata/Temporal/Api/Failure/V1/Message.php b/api/v1/GPBMetadata/Temporal/Api/Failure/V1/Message.php
new file mode 100644
index 000000000..3ea9145fb
Binary files /dev/null and b/api/v1/GPBMetadata/Temporal/Api/Failure/V1/Message.php differ
diff --git a/api/v1/GPBMetadata/Temporal/Api/Filter/V1/Message.php b/api/v1/GPBMetadata/Temporal/Api/Filter/V1/Message.php
new file mode 100644
index 000000000..52fb5b145
--- /dev/null
+++ b/api/v1/GPBMetadata/Temporal/Api/Filter/V1/Message.php
@@ -0,0 +1,40 @@
+internalAddGeneratedFile(
+ '
+Ï
+$temporal/api/filter/v1/message.prototemporal.api.filter.v1!dependencies/gogoproto/gogo.proto$temporal/api/enums/v1/workflow.proto">
+WorkflowExecutionFilter
+workflow_id (
+run_id ( ""
+WorkflowTypeFilter
+name ( "
+StartTimeFilter7
+
earliest_time (2.google.protobuf.TimestampBß5
+latest_time (2.google.protobuf.TimestampBß"N
+StatusFilter>
+status (2..temporal.api.enums.v1.WorkflowExecutionStatusB…
+io.temporal.api.filter.v1BMessageProtoPZ#go.temporal.io/api/filter/v1;filterªTemporal.Api.Filter.V1êTemporal::Api::Filter::V1bproto3'
+ , true);
+
+ static::$is_initialized = true;
+ }
+}
+
diff --git a/api/v1/GPBMetadata/Temporal/Api/History/V1/Message.php b/api/v1/GPBMetadata/Temporal/Api/History/V1/Message.php
new file mode 100644
index 000000000..5466d5aa6
--- /dev/null
+++ b/api/v1/GPBMetadata/Temporal/Api/History/V1/Message.php
@@ -0,0 +1,373 @@
+internalAddGeneratedFile(
+ '
+„ˆ
+%temporal/api/history/v1/message.prototemporal.api.history.v1google/protobuf/timestamp.proto!dependencies/gogoproto/gogo.proto&temporal/api/enums/v1/event_type.proto(temporal/api/enums/v1/failed_cause.proto$temporal/api/enums/v1/workflow.proto$temporal/api/common/v1/message.proto%temporal/api/failure/v1/message.proto&temporal/api/workflow/v1/message.proto\'temporal/api/taskqueue/v1/message.proto"Â
+
+\'WorkflowExecutionStartedEventAttributes;
+
workflow_type (2$.temporal.api.common.v1.WorkflowType!
+parent_workflow_namespace ( L
+parent_workflow_execution (2).temporal.api.common.v1.WorkflowExecution!
+parent_initiated_event_id (8
+
+task_queue (2$.temporal.api.taskqueue.v1.TaskQueue/
+input (2 .temporal.api.common.v1.PayloadsC
+workflow_execution_timeout (2.google.protobuf.DurationB˜ß=
+workflow_run_timeout (2.google.protobuf.DurationB˜ß>
+workflow_task_timeout (2.google.protobuf.DurationB˜ß"
+continued_execution_run_id
+ ( @
+ initiator (2-.temporal.api.enums.v1.ContinueAsNewInitiator;
+continued_failure (2 .temporal.api.failure.v1.Failure@
+last_completion_result
(2 .temporal.api.common.v1.Payloads!
+original_execution_run_id (
+identity (
+first_execution_run_id ( 9
+retry_policy (2#.temporal.api.common.v1.RetryPolicy
+attempt (L
+"workflow_execution_expiration_time (2.google.protobuf.TimestampBß
+
cron_schedule ( D
+first_workflow_task_backoff (2.google.protobuf.DurationB˜ß*
+memo (2.temporal.api.common.v1.MemoC
+search_attributes (2(.temporal.api.common.v1.SearchAttributesE
+prev_auto_reset_points (2%.temporal.api.workflow.v1.ResetPoints.
+header (2.temporal.api.common.v1.Header"¥
+)WorkflowExecutionCompletedEventAttributes0
+result (2 .temporal.api.common.v1.Payloads(
+ workflow_task_completed_event_id (
+new_execution_run_id ( "Û
+&WorkflowExecutionFailedEventAttributes1
+failure (2 .temporal.api.failure.v1.Failure6
+retry_state (2!.temporal.api.enums.v1.RetryState(
+ workflow_task_completed_event_id (
+new_execution_run_id ( "€
+(WorkflowExecutionTimedOutEventAttributes6
+retry_state (2!.temporal.api.enums.v1.RetryState
+new_execution_run_id ( "¸
+.WorkflowExecutionContinuedAsNewEventAttributes
+new_execution_run_id ( ;
+
workflow_type (2$.temporal.api.common.v1.WorkflowType8
+
+task_queue (2$.temporal.api.taskqueue.v1.TaskQueue/
+input (2 .temporal.api.common.v1.Payloads=
+workflow_run_timeout (2.google.protobuf.DurationB˜ß>
+workflow_task_timeout (2.google.protobuf.DurationB˜ß(
+ workflow_task_completed_event_id (?
+backoff_start_interval (2.google.protobuf.DurationB˜ß@
+ initiator (2-.temporal.api.enums.v1.ContinueAsNewInitiator1
+failure
+ (2 .temporal.api.failure.v1.Failure@
+last_completion_result (2 .temporal.api.common.v1.Payloads.
+header (2.temporal.api.common.v1.Header*
+memo
(2.temporal.api.common.v1.MemoC
+search_attributes (2(.temporal.api.common.v1.SearchAttributes"²
+$WorkflowTaskScheduledEventAttributes8
+
+task_queue (2$.temporal.api.taskqueue.v1.TaskQueue?
+start_to_close_timeout (2.google.protobuf.DurationB˜ß
+attempt ("f
+"WorkflowTaskStartedEventAttributes
+scheduled_event_id (
+identity (
+
+request_id ( "‡
+$WorkflowTaskCompletedEventAttributes
+scheduled_event_id (
+started_event_id (
+identity (
+binary_checksum ( "•
+#WorkflowTaskTimedOutEventAttributes
+scheduled_event_id (
+started_event_id (8
+timeout_type (2".temporal.api.enums.v1.TimeoutType"»
+!WorkflowTaskFailedEventAttributes
+scheduled_event_id (
+started_event_id (=
+cause (2..temporal.api.enums.v1.WorkflowTaskFailedCause1
+failure (2 .temporal.api.failure.v1.Failure
+identity (
+base_run_id (
+
+new_run_id (
+fork_event_version (
+binary_checksum ( "
+$ActivityTaskScheduledEventAttributes
+activity_id ( ;
+
activity_type (2$.temporal.api.common.v1.ActivityType
+ namespace ( 8
+
+task_queue (2$.temporal.api.taskqueue.v1.TaskQueue.
+header (2.temporal.api.common.v1.Header/
+input (2 .temporal.api.common.v1.PayloadsB
+schedule_to_close_timeout (2.google.protobuf.DurationB˜ßB
+schedule_to_start_timeout (2.google.protobuf.DurationB˜ß?
+start_to_close_timeout (2.google.protobuf.DurationB˜ß:
+heartbeat_timeout
+ (2.google.protobuf.DurationB˜ß(
+ workflow_task_completed_event_id (9
+retry_policy (2#.temporal.api.common.v1.RetryPolicy"¯
+"ActivityTaskStartedEventAttributes
+scheduled_event_id (
+identity (
+
+request_id (
+attempt (6
+last_failure (2 .temporal.api.failure.v1.Failure"
+$ActivityTaskCompletedEventAttributes0
+result (2 .temporal.api.common.v1.Payloads
+scheduled_event_id (
+started_event_id (
+identity ( "Ö
+!ActivityTaskFailedEventAttributes1
+failure (2 .temporal.api.failure.v1.Failure
+scheduled_event_id (
+started_event_id (
+identity ( 6
+retry_state (2!.temporal.api.enums.v1.RetryState"Æ
+#ActivityTaskTimedOutEventAttributes1
+failure (2 .temporal.api.failure.v1.Failure
+scheduled_event_id (
+started_event_id (6
+retry_state (2!.temporal.api.enums.v1.RetryState"r
+*ActivityTaskCancelRequestedEventAttributes
+scheduled_event_id ((
+ workflow_task_completed_event_id ("Ê
+#ActivityTaskCanceledEventAttributes1
+details (2 .temporal.api.common.v1.Payloads(
+ latest_cancel_requested_event_id (
+scheduled_event_id (
+started_event_id (
+identity ( "™
+TimerStartedEventAttributes
+timer_id ( >
+start_to_fire_timeout (2.google.protobuf.DurationB˜ß(
+ workflow_task_completed_event_id ("G
+TimerFiredEventAttributes
+timer_id (
+started_event_id ("†
+TimerCanceledEventAttributes
+timer_id (
+started_event_id ((
+ workflow_task_completed_event_id (
+identity ( "Ç
+/WorkflowExecutionCancelRequestedEventAttributes
+cause ( #
+external_initiated_event_id (N
+external_workflow_execution (2).temporal.api.common.v1.WorkflowExecution
+identity ( "‡
+(WorkflowExecutionCanceledEventAttributes(
+ workflow_task_completed_event_id (1
+details (2 .temporal.api.common.v1.Payloads"é
+MarkerRecordedEventAttributes
+marker_name ( T
+details (2C.temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry(
+ workflow_task_completed_event_id (.
+header (2.temporal.api.common.v1.Header1
+failure (2 .temporal.api.failure.v1.FailureP
+DetailsEntry
+key ( /
+value (2 .temporal.api.common.v1.Payloads:8"²
+(WorkflowExecutionSignaledEventAttributes
+signal_name ( /
+input (2 .temporal.api.common.v1.Payloads
+identity ( .
+header (2.temporal.api.common.v1.Header"
+*WorkflowExecutionTerminatedEventAttributes
+reason ( 1
+details (2 .temporal.api.common.v1.Payloads
+identity ( "ò
+>RequestCancelExternalWorkflowExecutionInitiatedEventAttributes(
+ workflow_task_completed_event_id (
+ namespace ( E
+workflow_execution (2).temporal.api.common.v1.WorkflowExecution
+control (
+child_workflow_only ("À
+;RequestCancelExternalWorkflowExecutionFailedEventAttributesP
+cause (2A.temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause(
+ workflow_task_completed_event_id (
+ namespace ( E
+workflow_execution (2).temporal.api.common.v1.WorkflowExecution
+initiated_event_id (
+control ( "¯
+7ExternalWorkflowExecutionCancelRequestedEventAttributes
+initiated_event_id (
+ namespace ( E
+workflow_execution (2).temporal.api.common.v1.WorkflowExecution"á
+7SignalExternalWorkflowExecutionInitiatedEventAttributes(
+ workflow_task_completed_event_id (
+ namespace ( E
+workflow_execution (2).temporal.api.common.v1.WorkflowExecution
+signal_name ( /
+input (2 .temporal.api.common.v1.Payloads
+control (
+child_workflow_only (.
+header (2.temporal.api.common.v1.Header"¹
+4SignalExternalWorkflowExecutionFailedEventAttributesP
+cause (2A.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause(
+ workflow_task_completed_event_id (
+ namespace ( E
+workflow_execution (2).temporal.api.common.v1.WorkflowExecution
+initiated_event_id (
+control ( "¹
+0ExternalWorkflowExecutionSignaledEventAttributes
+initiated_event_id (
+ namespace ( E
+workflow_execution (2).temporal.api.common.v1.WorkflowExecution
+control ( "ž
+-UpsertWorkflowSearchAttributesEventAttributes(
+ workflow_task_completed_event_id (C
+search_attributes (2(.temporal.api.common.v1.SearchAttributes"Ž
+3StartChildWorkflowExecutionInitiatedEventAttributes
+ namespace (
+workflow_id ( ;
+
workflow_type (2$.temporal.api.common.v1.WorkflowType8
+
+task_queue (2$.temporal.api.taskqueue.v1.TaskQueue/
+input (2 .temporal.api.common.v1.PayloadsC
+workflow_execution_timeout (2.google.protobuf.DurationB˜ß=
+workflow_run_timeout (2.google.protobuf.DurationB˜ß>
+workflow_task_timeout (2.google.protobuf.DurationB˜ßE
+parent_close_policy (2(.temporal.api.enums.v1.ParentClosePolicy
+control
+ ( (
+ workflow_task_completed_event_id (N
+workflow_id_reuse_policy (2,.temporal.api.enums.v1.WorkflowIdReusePolicy9
+retry_policy
(2#.temporal.api.common.v1.RetryPolicy
+
cron_schedule ( .
+header (2.temporal.api.common.v1.Header*
+memo (2.temporal.api.common.v1.MemoC
+search_attributes (2(.temporal.api.common.v1.SearchAttributes"¼
+0StartChildWorkflowExecutionFailedEventAttributes
+ namespace (
+workflow_id ( ;
+
workflow_type (2$.temporal.api.common.v1.WorkflowTypeL
+cause (2=.temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause
+control (
+initiated_event_id ((
+ workflow_task_completed_event_id ("‘
+,ChildWorkflowExecutionStartedEventAttributes
+ namespace (
+initiated_event_id (E
+workflow_execution (2).temporal.api.common.v1.WorkflowExecution;
+
workflow_type (2$.temporal.api.common.v1.WorkflowType.
+header (2.temporal.api.common.v1.Header"¯
+.ChildWorkflowExecutionCompletedEventAttributes0
+result (2 .temporal.api.common.v1.Payloads
+ namespace ( E
+workflow_execution (2).temporal.api.common.v1.WorkflowExecution;
+
workflow_type (2$.temporal.api.common.v1.WorkflowType
+initiated_event_id (
+started_event_id ("å
++ChildWorkflowExecutionFailedEventAttributes1
+failure (2 .temporal.api.failure.v1.Failure
+ namespace ( E
+workflow_execution (2).temporal.api.common.v1.WorkflowExecution;
+
workflow_type (2$.temporal.api.common.v1.WorkflowType
+initiated_event_id (
+started_event_id (6
+retry_state (2!.temporal.api.enums.v1.RetryState"¯
+-ChildWorkflowExecutionCanceledEventAttributes1
+details (2 .temporal.api.common.v1.Payloads
+ namespace ( E
+workflow_execution (2).temporal.api.common.v1.WorkflowExecution;
+
workflow_type (2$.temporal.api.common.v1.WorkflowType
+initiated_event_id (
+started_event_id ("´
+-ChildWorkflowExecutionTimedOutEventAttributes
+ namespace ( E
+workflow_execution (2).temporal.api.common.v1.WorkflowExecution;
+
workflow_type (2$.temporal.api.common.v1.WorkflowType
+initiated_event_id (
+started_event_id (6
+retry_state (2!.temporal.api.enums.v1.RetryState"þ
+/ChildWorkflowExecutionTerminatedEventAttributes
+ namespace ( E
+workflow_execution (2).temporal.api.common.v1.WorkflowExecution;
+
workflow_type (2$.temporal.api.common.v1.WorkflowType
+initiated_event_id (
+started_event_id ("‰)
+HistoryEvent
+event_id (4
+
+event_time (2.google.protobuf.TimestampBß4
+
+event_type (2 .temporal.api.enums.v1.EventType
+version (
+task_id (w
++workflow_execution_started_event_attributes (2@.temporal.api.history.v1.WorkflowExecutionStartedEventAttributesH {
+-workflow_execution_completed_event_attributes (2B.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributesH u
+*workflow_execution_failed_event_attributes (2?.temporal.api.history.v1.WorkflowExecutionFailedEventAttributesH z
+-workflow_execution_timed_out_event_attributes (2A.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributesH q
+(workflow_task_scheduled_event_attributes
+ (2=.temporal.api.history.v1.WorkflowTaskScheduledEventAttributesH m
+&workflow_task_started_event_attributes (2;.temporal.api.history.v1.WorkflowTaskStartedEventAttributesH q
+(workflow_task_completed_event_attributes (2=.temporal.api.history.v1.WorkflowTaskCompletedEventAttributesH p
+(workflow_task_timed_out_event_attributes
(2<.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributesH k
+%workflow_task_failed_event_attributes (2:.temporal.api.history.v1.WorkflowTaskFailedEventAttributesH q
+(activity_task_scheduled_event_attributes (2=.temporal.api.history.v1.ActivityTaskScheduledEventAttributesH m
+&activity_task_started_event_attributes (2;.temporal.api.history.v1.ActivityTaskStartedEventAttributesH q
+(activity_task_completed_event_attributes (2=.temporal.api.history.v1.ActivityTaskCompletedEventAttributesH k
+%activity_task_failed_event_attributes (2:.temporal.api.history.v1.ActivityTaskFailedEventAttributesH p
+(activity_task_timed_out_event_attributes (2<.temporal.api.history.v1.ActivityTaskTimedOutEventAttributesH ^
+timer_started_event_attributes (24.temporal.api.history.v1.TimerStartedEventAttributesH Z
+timer_fired_event_attributes (22.temporal.api.history.v1.TimerFiredEventAttributesH ~
+/activity_task_cancel_requested_event_attributes (2C.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributesH o
+\'activity_task_canceled_event_attributes (2<.temporal.api.history.v1.ActivityTaskCanceledEventAttributesH `
+timer_canceled_event_attributes (25.temporal.api.history.v1.TimerCanceledEventAttributesH b
+ marker_recorded_event_attributes (26.temporal.api.history.v1.MarkerRecordedEventAttributesH y
+,workflow_execution_signaled_event_attributes (2A.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributesH }
+.workflow_execution_terminated_event_attributes (2C.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributesH ˆ
+4workflow_execution_cancel_requested_event_attributes (2H.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesH y
+,workflow_execution_canceled_event_attributes (2A.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributesH ¨
+Erequest_cancel_external_workflow_execution_initiated_event_attributes (2W.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesH ¢
+Brequest_cancel_external_workflow_execution_failed_event_attributes (2T.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesH ™
+=external_workflow_execution_cancel_requested_event_attributes (2P.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesH ‡
+4workflow_execution_continued_as_new_event_attributes! (2G.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesH ‘
+9start_child_workflow_execution_initiated_event_attributes" (2L.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributesH ‹
+6start_child_workflow_execution_failed_event_attributes# (2I.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributesH ‚
+1child_workflow_execution_started_event_attributes$ (2E.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributesH †
+3child_workflow_execution_completed_event_attributes% (2G.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributesH €
+0child_workflow_execution_failed_event_attributes& (2D.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributesH „
+2child_workflow_execution_canceled_event_attributes\' (2F.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributesH …
+3child_workflow_execution_timed_out_event_attributes( (2F.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributesH ˆ
+4child_workflow_execution_terminated_event_attributes) (2H.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesH ™
+=signal_external_workflow_execution_initiated_event_attributes* (2P.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesH “
+:signal_external_workflow_execution_failed_event_attributes+ (2M.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributesH Š
+5external_workflow_execution_signaled_event_attributes, (2I.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributesH „
+2upsert_workflow_search_attributes_event_attributes- (2F.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributesH B
+
+attributes"@
+History5
+events (2%.temporal.api.history.v1.HistoryEventBŠ
+io.temporal.api.history.v1BMessageProtoPZ%go.temporal.io/api/history/v1;historyªTemporal.Api.History.V1êTemporal::Api::History::V1bproto3'
+ , true);
+
+ static::$is_initialized = true;
+ }
+}
+
diff --git a/api/v1/GPBMetadata/Temporal/Api/Operatorservice/V1/RequestResponse.php b/api/v1/GPBMetadata/Temporal/Api/Operatorservice/V1/RequestResponse.php
new file mode 100644
index 000000000..f2a129495
--- /dev/null
+++ b/api/v1/GPBMetadata/Temporal/Api/Operatorservice/V1/RequestResponse.php
@@ -0,0 +1,52 @@
+internalAddGeneratedFile(
+ '
+Ž
+
+6temporal/api/operatorservice/v1/request_response.prototemporal.api.operatorservice.v1"ì
+AddSearchAttributesRequestl
+search_attributes (2Q.temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntry`
+SearchAttributesEntry
+key ( 6
+value (2\'.temporal.api.enums.v1.IndexedValueType:8"
+AddSearchAttributesResponse":
+RemoveSearchAttributesRequest
+search_attributes ( "
+RemoveSearchAttributesResponse"
+ListSearchAttributesRequest"â
+ListSearchAttributesResponsen
+custom_attributes (2S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntryn
+system_attributes (2S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntryh
+storage_schema (2P.temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntry`
+CustomAttributesEntry
+key ( 6
+value (2\'.temporal.api.enums.v1.IndexedValueType:8`
+SystemAttributesEntry
+key ( 6
+value (2\'.temporal.api.enums.v1.IndexedValueType:84
+StorageSchemaEntry
+key (
+value ( :8Bº
+"io.temporal.api.operatorservice.v1BRequestResponseProtoPZ5go.temporal.io/api/operatorservice/v1;operatorserviceªTemporal.Api.OperatorService.V1ê"Temporal::Api::OperatorService::V1bproto3'
+ , true);
+
+ static::$is_initialized = true;
+ }
+}
+
diff --git a/api/v1/GPBMetadata/Temporal/Api/Operatorservice/V1/Service.php b/api/v1/GPBMetadata/Temporal/Api/Operatorservice/V1/Service.php
new file mode 100644
index 000000000..99921efe4
Binary files /dev/null and b/api/v1/GPBMetadata/Temporal/Api/Operatorservice/V1/Service.php differ
diff --git a/api/v1/GPBMetadata/Temporal/Api/PBNamespace/V1/Message.php b/api/v1/GPBMetadata/Temporal/Api/PBNamespace/V1/Message.php
new file mode 100644
index 000000000..2acdfe15a
--- /dev/null
+++ b/api/v1/GPBMetadata/Temporal/Api/PBNamespace/V1/Message.php
@@ -0,0 +1,66 @@
+internalAddGeneratedFile(
+ '
+¾
+\'temporal/api/namespace/v1/message.prototemporal.api.namespace.v1google/protobuf/timestamp.proto!dependencies/gogoproto/gogo.proto%temporal/api/enums/v1/namespace.proto"ø
+
NamespaceInfo
+name ( 4
+state (2%.temporal.api.enums.v1.NamespaceState
+description (
+owner_email ( @
+data (22.temporal.api.namespace.v1.NamespaceInfo.DataEntry
+
+id ( +
+ DataEntry
+key (
+value ( :8"è
+NamespaceConfigI
+ workflow_execution_retention_ttl (2.google.protobuf.DurationB˜ß<
+bad_binaries (2&.temporal.api.namespace.v1.BadBinariesD
+history_archival_state (2$.temporal.api.enums.v1.ArchivalState
+history_archival_uri ( G
+visibility_archival_state (2$.temporal.api.enums.v1.ArchivalState
+visibility_archival_uri ( "°
+BadBinariesF
+binaries (24.temporal.api.namespace.v1.BadBinaries.BinariesEntryY
+
BinariesEntry
+key ( 7
+value (2(.temporal.api.namespace.v1.BadBinaryInfo:8"h
+
BadBinaryInfo
+reason (
+operator ( 5
+create_time (2.google.protobuf.TimestampBß"ê
+UpdateNamespaceInfo
+description (
+owner_email ( F
+data (28.temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntry4
+state (2%.temporal.api.enums.v1.NamespaceState+
+ DataEntry
+key (
+value ( :8B”
+io.temporal.api.namespace.v1BMessageProtoPZ)go.temporal.io/api/namespace/v1;namespaceªTemporal.Api.Namespace.V1êTemporal::Api::Namespace::V1bproto3'
+ , true);
+
+ static::$is_initialized = true;
+ }
+}
+
diff --git a/api/v1/GPBMetadata/Temporal/Api/Query/V1/Message.php b/api/v1/GPBMetadata/Temporal/Api/Query/V1/Message.php
new file mode 100644
index 000000000..7a466cc62
--- /dev/null
+++ b/api/v1/GPBMetadata/Temporal/Api/Query/V1/Message.php
@@ -0,0 +1,42 @@
+internalAddGeneratedFile(
+ '
+Ž
+#temporal/api/query/v1/message.prototemporal.api.query.v1$temporal/api/enums/v1/workflow.proto$temporal/api/common/v1/message.proto"‰
+
WorkflowQuery
+
+query_type ( 4
+
+query_args (2 .temporal.api.common.v1.Payloads.
+header (2.temporal.api.common.v1.Header"›
+WorkflowQueryResult;
+result_type (2&.temporal.api.enums.v1.QueryResultType0
+answer (2 .temporal.api.common.v1.Payloads
+
error_message ( "O
+
QueryRejected>
+status (2..temporal.api.enums.v1.WorkflowExecutionStatusB€
+io.temporal.api.query.v1BMessageProtoPZ!go.temporal.io/api/query/v1;queryªTemporal.Api.Query.V1êTemporal::Api::Query::V1bproto3'
+ , true);
+
+ static::$is_initialized = true;
+ }
+}
+
diff --git a/api/v1/GPBMetadata/Temporal/Api/Replication/V1/Message.php b/api/v1/GPBMetadata/Temporal/Api/Replication/V1/Message.php
new file mode 100644
index 000000000..5ddf15e2b
--- /dev/null
+++ b/api/v1/GPBMetadata/Temporal/Api/Replication/V1/Message.php
@@ -0,0 +1,34 @@
+internalAddGeneratedFile(
+ '
+à
+)temporal/api/replication/v1/message.prototemporal.api.replication.v1"0
+ClusterReplicationConfig
+cluster_name ( "º
+NamespaceReplicationConfig
+active_cluster_name ( G
+clusters (25.temporal.api.replication.v1.ClusterReplicationConfig6
+state (2\'.temporal.api.enums.v1.ReplicationStateBž
+io.temporal.api.replication.v1BMessageProtoPZ-go.temporal.io/api/replication/v1;replicationªTemporal.Api.Replication.V1êTemporal::Api::Replication::V1bproto3'
+ , true);
+
+ static::$is_initialized = true;
+ }
+}
+
diff --git a/api/v1/GPBMetadata/Temporal/Api/Taskqueue/V1/Message.php b/api/v1/GPBMetadata/Temporal/Api/Taskqueue/V1/Message.php
new file mode 100644
index 000000000..f2c8f7202
--- /dev/null
+++ b/api/v1/GPBMetadata/Temporal/Api/Taskqueue/V1/Message.php
@@ -0,0 +1,58 @@
+internalAddGeneratedFile(
+ '
+Ë
+\'temporal/api/taskqueue/v1/message.prototemporal.api.taskqueue.v1google/protobuf/timestamp.protogoogle/protobuf/wrappers.proto!dependencies/gogoproto/gogo.proto&temporal/api/enums/v1/task_queue.proto"M
+ TaskQueue
+name ( 2
+kind (2$.temporal.api.enums.v1.TaskQueueKind"O
+TaskQueueMetadata:
+max_tasks_per_second (2.google.protobuf.DoubleValue"¬
+TaskQueueStatus
+backlog_count_hint (
+
+read_level (
+ ack_level (
+rate_per_second (=
+
task_id_block (2&.temporal.api.taskqueue.v1.TaskIdBlock"/
+TaskIdBlock
+start_id (
+end_id ("B
+TaskQueuePartitionMetadata
+key (
+owner_host_name ( "s
+
+PollerInfo:
+last_access_time (2.google.protobuf.TimestampBß
+identity (
+rate_per_second ("
+StickyExecutionAttributes?
+worker_task_queue (2$.temporal.api.taskqueue.v1.TaskQueueB
+schedule_to_start_timeout (2.google.protobuf.DurationB˜ßB”
+io.temporal.api.taskqueue.v1BMessageProtoPZ)go.temporal.io/api/taskqueue/v1;taskqueueªTemporal.Api.TaskQueue.V1êTemporal::Api::TaskQueue::V1bproto3'
+ , true);
+
+ static::$is_initialized = true;
+ }
+}
+
diff --git a/api/v1/GPBMetadata/Temporal/Api/Version/V1/Message.php b/api/v1/GPBMetadata/Temporal/Api/Version/V1/Message.php
new file mode 100644
index 000000000..8a8434785
--- /dev/null
+++ b/api/v1/GPBMetadata/Temporal/Api/Version/V1/Message.php
@@ -0,0 +1,43 @@
+internalAddGeneratedFile(
+ '
+Ô
+%temporal/api/version/v1/message.prototemporal.api.version.v1!dependencies/gogoproto/gogo.proto"temporal/api/enums/v1/common.proto"e
+ReleaseInfo
+version ( 6
+release_time (2.google.protobuf.TimestampBß
+notes ( "K
+Alert
+message ( 1
+severity (2.temporal.api.enums.v1.Severity"
+VersionInfo5
+current (2$.temporal.api.version.v1.ReleaseInfo9
+recommended (2$.temporal.api.version.v1.ReleaseInfo
+instructions ( .
+alerts (2.temporal.api.version.v1.Alert:
+last_update_time (2.google.protobuf.TimestampBßBŠ
+io.temporal.api.version.v1BMessageProtoPZ%go.temporal.io/api/version/v1;versionªTemporal.Api.Version.V1êTemporal::Api::Version::V1bproto3'
+ , true);
+
+ static::$is_initialized = true;
+ }
+}
+
diff --git a/api/v1/GPBMetadata/Temporal/Api/Workflow/V1/Message.php b/api/v1/GPBMetadata/Temporal/Api/Workflow/V1/Message.php
new file mode 100644
index 000000000..2748b7e18
--- /dev/null
+++ b/api/v1/GPBMetadata/Temporal/Api/Workflow/V1/Message.php
@@ -0,0 +1,95 @@
+internalAddGeneratedFile(
+ '
+•
+&temporal/api/workflow/v1/message.prototemporal.api.workflow.v1google/protobuf/timestamp.proto!dependencies/gogoproto/gogo.proto$temporal/api/enums/v1/workflow.proto$temporal/api/common/v1/message.proto%temporal/api/failure/v1/message.proto\'temporal/api/taskqueue/v1/message.proto"Ð
+WorkflowExecutionInfo<
+ execution (2).temporal.api.common.v1.WorkflowExecution2
+type (2$.temporal.api.common.v1.WorkflowType4
+
+start_time (2.google.protobuf.TimestampBß4
+
+close_time (2.google.protobuf.TimestampBß>
+status (2..temporal.api.enums.v1.WorkflowExecutionStatus
+history_length (
+parent_namespace_id ( C
+parent_execution (2).temporal.api.common.v1.WorkflowExecution8
+execution_time (2.google.protobuf.TimestampBß*
+memo
+ (2.temporal.api.common.v1.MemoC
+search_attributes (2(.temporal.api.common.v1.SearchAttributes@
+auto_reset_points (2%.temporal.api.workflow.v1.ResetPoints
+
+task_queue
(
+state_transition_count ("Ÿ
+WorkflowExecutionConfig8
+
+task_queue (2$.temporal.api.taskqueue.v1.TaskQueueC
+workflow_execution_timeout (2.google.protobuf.DurationB˜ß=
+workflow_run_timeout (2.google.protobuf.DurationB˜ßF
+default_workflow_task_timeout (2.google.protobuf.DurationB˜ß"Ò
+PendingActivityInfo
+activity_id ( ;
+
activity_type (2$.temporal.api.common.v1.ActivityType:
+state (2+.temporal.api.enums.v1.PendingActivityState;
+heartbeat_details (2 .temporal.api.common.v1.Payloads=
+last_heartbeat_time (2.google.protobuf.TimestampBß;
+last_started_time (2.google.protobuf.TimestampBß
+attempt (
+maximum_attempts (8
+scheduled_time (2.google.protobuf.TimestampBß9
+expiration_time
+ (2.google.protobuf.TimestampBß6
+last_failure (2 .temporal.api.failure.v1.Failure
+last_worker_identity ( "¹
+PendingChildExecutionInfo
+workflow_id (
+run_id (
+workflow_type_name (
+initiated_id (E
+parent_close_policy (2(.temporal.api.enums.v1.ParentClosePolicy"Ÿ
+PendingWorkflowTaskInfo>
+state (2/.temporal.api.enums.v1.PendingWorkflowTaskState8
+scheduled_time (2.google.protobuf.TimestampBßA
+original_scheduled_time (2.google.protobuf.TimestampBß6
+started_time (2.google.protobuf.TimestampBß
+attempt ("G
+ResetPoints8
+points (2(.temporal.api.workflow.v1.ResetPointInfo"å
+ResetPointInfo
+binary_checksum (
+run_id ( (
+ first_workflow_task_completed_id (5
+create_time (2.google.protobuf.TimestampBß5
+expire_time (2.google.protobuf.TimestampBß
+
+resettable (B
+io.temporal.api.workflow.v1BMessageProtoPZ\'go.temporal.io/api/workflow/v1;workflowªTemporal.Api.Workflow.V1êTemporal::Api::Workflow::V1bproto3'
+ , true);
+
+ static::$is_initialized = true;
+ }
+}
+
diff --git a/api/v1/GPBMetadata/Temporal/Api/Workflowservice/V1/RequestResponse.php b/api/v1/GPBMetadata/Temporal/Api/Workflowservice/V1/RequestResponse.php
new file mode 100644
index 000000000..dd24c6ad5
--- /dev/null
+++ b/api/v1/GPBMetadata/Temporal/Api/Workflowservice/V1/RequestResponse.php
@@ -0,0 +1,479 @@
+internalAddGeneratedFile(
+ '
+¡
+6temporal/api/workflowservice/v1/request_response.prototemporal.api.workflowservice.v1%temporal/api/enums/v1/namespace.proto(temporal/api/enums/v1/failed_cause.proto"temporal/api/enums/v1/common.proto!temporal/api/enums/v1/query.proto!temporal/api/enums/v1/reset.proto&temporal/api/enums/v1/task_queue.proto$temporal/api/common/v1/message.proto%temporal/api/history/v1/message.proto&temporal/api/workflow/v1/message.proto%temporal/api/command/v1/message.proto%temporal/api/failure/v1/message.proto$temporal/api/filter/v1/message.proto\'temporal/api/namespace/v1/message.proto#temporal/api/query/v1/message.proto)temporal/api/replication/v1/message.proto\'temporal/api/taskqueue/v1/message.proto%temporal/api/version/v1/message.protogoogle/protobuf/duration.protogoogle/protobuf/timestamp.proto!dependencies/gogoproto/gogo.proto"Ž
+RegisterNamespaceRequest
+ namespace (
+description (
+owner_email ( L
+#workflow_execution_retention_period (2.google.protobuf.DurationB˜ßG
+clusters (25.temporal.api.replication.v1.ClusterReplicationConfig
+active_cluster_name ( Q
+data (2C.temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry
+security_token (
+is_global_namespace (D
+history_archival_state
+ (2$.temporal.api.enums.v1.ArchivalState
+history_archival_uri ( G
+visibility_archival_state (2$.temporal.api.enums.v1.ArchivalState
+visibility_archival_uri
( +
+ DataEntry
+key (
+value ( :8"
+RegisterNamespaceResponse"C
+ListNamespacesRequest
+ page_size (
+next_page_token ("
+ListNamespacesResponseN
+
+namespaces (2:.temporal.api.workflowservice.v1.DescribeNamespaceResponse
+next_page_token ("9
+DescribeNamespaceRequest
+ namespace (
+
+id ( "¥
+DescribeNamespaceResponse@
+namespace_info (2(.temporal.api.namespace.v1.NamespaceInfo:
+config (2*.temporal.api.namespace.v1.NamespaceConfigS
+replication_config (27.temporal.api.replication.v1.NamespaceReplicationConfig
+failover_version (
+is_global_namespace ("Ï
+UpdateNamespaceRequest
+ namespace ( C
+update_info (2..temporal.api.namespace.v1.UpdateNamespaceInfo:
+config (2*.temporal.api.namespace.v1.NamespaceConfigS
+replication_config (27.temporal.api.replication.v1.NamespaceReplicationConfig
+security_token (
+delete_bad_binary (
+promote_namespace ("£
+UpdateNamespaceResponse@
+namespace_info (2(.temporal.api.namespace.v1.NamespaceInfo:
+config (2*.temporal.api.namespace.v1.NamespaceConfigS
+replication_config (27.temporal.api.replication.v1.NamespaceReplicationConfig
+failover_version (
+is_global_namespace ("F
+DeprecateNamespaceRequest
+ namespace (
+security_token ( "
+DeprecateNamespaceResponse"œ
+StartWorkflowExecutionRequest
+ namespace (
+workflow_id ( ;
+
workflow_type (2$.temporal.api.common.v1.WorkflowType8
+
+task_queue (2$.temporal.api.taskqueue.v1.TaskQueue/
+input (2 .temporal.api.common.v1.PayloadsC
+workflow_execution_timeout (2.google.protobuf.DurationB˜ß=
+workflow_run_timeout (2.google.protobuf.DurationB˜ß>
+workflow_task_timeout (2.google.protobuf.DurationB˜ß
+identity (
+
+request_id
+ ( N
+workflow_id_reuse_policy (2,.temporal.api.enums.v1.WorkflowIdReusePolicy9
+retry_policy (2#.temporal.api.common.v1.RetryPolicy
+
cron_schedule
( *
+memo (2.temporal.api.common.v1.MemoC
+search_attributes (2(.temporal.api.common.v1.SearchAttributes.
+header (2.temporal.api.common.v1.Header"0
+StartWorkflowExecutionResponse
+run_id ( "ª
+"GetWorkflowExecutionHistoryRequest
+ namespace ( <
+ execution (2).temporal.api.common.v1.WorkflowExecution
+maximum_page_size (
+next_page_token (
+wait_new_event (P
+history_event_filter_type (2-.temporal.api.enums.v1.HistoryEventFilterType
+
skip_archival ("º
+#GetWorkflowExecutionHistoryResponse1
+history (2 .temporal.api.history.v1.History5
+raw_history (2 .temporal.api.common.v1.DataBlob
+next_page_token (
+archived ("°
+)GetWorkflowExecutionHistoryReverseRequest
+ namespace ( <
+ execution (2).temporal.api.common.v1.WorkflowExecution
+maximum_page_size (
+next_page_token ("x
+*GetWorkflowExecutionHistoryReverseResponse1
+history (2 .temporal.api.history.v1.History
+next_page_token ("–
+PollWorkflowTaskQueueRequest
+ namespace ( 8
+
+task_queue (2$.temporal.api.taskqueue.v1.TaskQueue
+identity (
+binary_checksum ( "•
+PollWorkflowTaskQueueResponse
+
+task_token (E
+workflow_execution (2).temporal.api.common.v1.WorkflowExecution;
+
workflow_type (2$.temporal.api.common.v1.WorkflowType!
+previous_started_event_id (
+started_event_id (
+attempt (
+backlog_count_hint (1
+history (2 .temporal.api.history.v1.History
+next_page_token (3
+query
+ (2$.temporal.api.query.v1.WorkflowQueryK
+workflow_execution_task_queue (2$.temporal.api.taskqueue.v1.TaskQueue8
+scheduled_time (2.google.protobuf.TimestampBß6
+started_time
(2.google.protobuf.TimestampBß\\
+queries (2K.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntryT
+QueriesEntry
+key ( 3
+value (2$.temporal.api.query.v1.WorkflowQuery:8"–
+#RespondWorkflowTaskCompletedRequest
+
+task_token (2
+commands (2 .temporal.api.command.v1.Command
+identity ( O
+sticky_attributes (24.temporal.api.taskqueue.v1.StickyExecutionAttributes
+return_new_workflow_task (&
+force_create_new_workflow_task (
+binary_checksum ( m
+
query_results (2V.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry
+ namespace ( _
+QueryResultsEntry
+key ( 9
+value (2*.temporal.api.query.v1.WorkflowQueryResult:8"}
+$RespondWorkflowTaskCompletedResponseU
+
workflow_task (2>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse"æ
+ RespondWorkflowTaskFailedRequest
+
+task_token (=
+cause (2..temporal.api.enums.v1.WorkflowTaskFailedCause1
+failure (2 .temporal.api.failure.v1.Failure
+identity (
+binary_checksum (
+ namespace ( "#
+!RespondWorkflowTaskFailedResponse"È
+PollActivityTaskQueueRequest
+ namespace ( 8
+
+task_queue (2$.temporal.api.taskqueue.v1.TaskQueue
+identity ( I
+task_queue_metadata (2,.temporal.api.taskqueue.v1.TaskQueueMetadata"Œ
+PollActivityTaskQueueResponse
+
+task_token (
+workflow_namespace ( ;
+
workflow_type (2$.temporal.api.common.v1.WorkflowTypeE
+workflow_execution (2).temporal.api.common.v1.WorkflowExecution;
+
activity_type (2$.temporal.api.common.v1.ActivityType
+activity_id ( .
+header (2.temporal.api.common.v1.Header/
+input (2 .temporal.api.common.v1.Payloads;
+heartbeat_details (2 .temporal.api.common.v1.Payloads8
+scheduled_time
+ (2.google.protobuf.TimestampBßH
+current_attempt_scheduled_time (2.google.protobuf.TimestampBß6
+started_time (2.google.protobuf.TimestampBß
+attempt
(B
+schedule_to_close_timeout (2.google.protobuf.DurationB˜ß?
+start_to_close_timeout (2.google.protobuf.DurationB˜ß:
+heartbeat_timeout (2.google.protobuf.DurationB˜ß9
+retry_policy (2#.temporal.api.common.v1.RetryPolicy"
+"RecordActivityTaskHeartbeatRequest
+
+task_token (1
+details (2 .temporal.api.common.v1.Payloads
+identity (
+ namespace ( "?
+#RecordActivityTaskHeartbeatResponse
+cancel_requested ("º
+&RecordActivityTaskHeartbeatByIdRequest
+ namespace (
+workflow_id (
+run_id (
+activity_id ( 1
+details (2 .temporal.api.common.v1.Payloads
+identity ( "C
+\'RecordActivityTaskHeartbeatByIdResponse
+cancel_requested ("
+#RespondActivityTaskCompletedRequest
+
+task_token (0
+result (2 .temporal.api.common.v1.Payloads
+identity (
+ namespace ( "&
+$RespondActivityTaskCompletedResponse"º
+\'RespondActivityTaskCompletedByIdRequest
+ namespace (
+workflow_id (
+run_id (
+activity_id ( 0
+result (2 .temporal.api.common.v1.Payloads
+identity ( "*
+(RespondActivityTaskCompletedByIdResponse"Ð
+ RespondActivityTaskFailedRequest
+
+task_token (1
+failure (2 .temporal.api.failure.v1.Failure
+identity (
+ namespace ( @
+last_heartbeat_details (2 .temporal.api.common.v1.Payloads"W
+!RespondActivityTaskFailedResponse2
+failures (2 .temporal.api.failure.v1.Failure"ú
+$RespondActivityTaskFailedByIdRequest
+ namespace (
+workflow_id (
+run_id (
+activity_id ( 1
+failure (2 .temporal.api.failure.v1.Failure
+identity ( @
+last_heartbeat_details (2 .temporal.api.common.v1.Payloads"[
+%RespondActivityTaskFailedByIdResponse2
+failures (2 .temporal.api.failure.v1.Failure"
+"RespondActivityTaskCanceledRequest
+
+task_token (1
+details (2 .temporal.api.common.v1.Payloads
+identity (
+ namespace ( "%
+#RespondActivityTaskCanceledResponse"º
+&RespondActivityTaskCanceledByIdRequest
+ namespace (
+workflow_id (
+run_id (
+activity_id ( 1
+details (2 .temporal.api.common.v1.Payloads
+identity ( ")
+\'RespondActivityTaskCanceledByIdResponse"Ç
+%RequestCancelWorkflowExecutionRequest
+ namespace ( E
+workflow_execution (2).temporal.api.common.v1.WorkflowExecution
+identity (
+
+request_id (
+first_execution_run_id ( "(
+&RequestCancelWorkflowExecutionResponse"§
+SignalWorkflowExecutionRequest
+ namespace ( E
+workflow_execution (2).temporal.api.common.v1.WorkflowExecution
+signal_name ( /
+input (2 .temporal.api.common.v1.Payloads
+identity (
+
+request_id (
+control ( .
+header (2.temporal.api.common.v1.Header"!
+SignalWorkflowExecutionResponse"„
+\'SignalWithStartWorkflowExecutionRequest
+ namespace (
+workflow_id ( ;
+
workflow_type (2$.temporal.api.common.v1.WorkflowType8
+
+task_queue (2$.temporal.api.taskqueue.v1.TaskQueue/
+input (2 .temporal.api.common.v1.PayloadsC
+workflow_execution_timeout (2.google.protobuf.DurationB˜ß=
+workflow_run_timeout (2.google.protobuf.DurationB˜ß>
+workflow_task_timeout (2.google.protobuf.DurationB˜ß
+identity (
+
+request_id
+ ( N
+workflow_id_reuse_policy (2,.temporal.api.enums.v1.WorkflowIdReusePolicy
+signal_name ( 6
+signal_input
(2 .temporal.api.common.v1.Payloads
+control ( 9
+retry_policy (2#.temporal.api.common.v1.RetryPolicy
+
cron_schedule ( *
+memo (2.temporal.api.common.v1.MemoC
+search_attributes (2(.temporal.api.common.v1.SearchAttributes.
+header (2.temporal.api.common.v1.Header":
+(SignalWithStartWorkflowExecutionResponse
+run_id ( "‰
+ResetWorkflowExecutionRequest
+ namespace ( E
+workflow_execution (2).temporal.api.common.v1.WorkflowExecution
+reason ( %
+workflow_task_finish_event_id (
+
+request_id ( C
+reset_reapply_type (2\'.temporal.api.enums.v1.ResetReapplyType"0
+ResetWorkflowExecutionResponse
+run_id ( "ò
+!TerminateWorkflowExecutionRequest
+ namespace ( E
+workflow_execution (2).temporal.api.common.v1.WorkflowExecution
+reason ( 1
+details (2 .temporal.api.common.v1.Payloads
+identity (
+first_execution_run_id ( "$
+"TerminateWorkflowExecutionResponse"É
+!ListOpenWorkflowExecutionsRequest
+ namespace (
+maximum_page_size (
+next_page_token (B
+start_time_filter (2\'.temporal.api.filter.v1.StartTimeFilterK
+execution_filter (2/.temporal.api.filter.v1.WorkflowExecutionFilterH A
+type_filter (2*.temporal.api.filter.v1.WorkflowTypeFilterH B
+filters"‚
+"ListOpenWorkflowExecutionsResponseC
+
+executions (2/.temporal.api.workflow.v1.WorkflowExecutionInfo
+next_page_token ("Š
+#ListClosedWorkflowExecutionsRequest
+ namespace (
+maximum_page_size (
+next_page_token (B
+start_time_filter (2\'.temporal.api.filter.v1.StartTimeFilterK
+execution_filter (2/.temporal.api.filter.v1.WorkflowExecutionFilterH A
+type_filter (2*.temporal.api.filter.v1.WorkflowTypeFilterH =
+
status_filter (2$.temporal.api.filter.v1.StatusFilterH B
+filters"„
+$ListClosedWorkflowExecutionsResponseC
+
+executions (2/.temporal.api.workflow.v1.WorkflowExecutionInfo
+next_page_token ("m
+ListWorkflowExecutionsRequest
+ namespace (
+ page_size (
+next_page_token (
+query ( "~
+ListWorkflowExecutionsResponseC
+
+executions (2/.temporal.api.workflow.v1.WorkflowExecutionInfo
+next_page_token ("u
+%ListArchivedWorkflowExecutionsRequest
+ namespace (
+ page_size (
+next_page_token (
+query ( "†
+&ListArchivedWorkflowExecutionsResponseC
+
+executions (2/.temporal.api.workflow.v1.WorkflowExecutionInfo
+next_page_token ("m
+ScanWorkflowExecutionsRequest
+ namespace (
+ page_size (
+next_page_token (
+query ( "~
+ScanWorkflowExecutionsResponseC
+
+executions (2/.temporal.api.workflow.v1.WorkflowExecutionInfo
+next_page_token ("B
+CountWorkflowExecutionsRequest
+ namespace (
+query ( "0
+CountWorkflowExecutionsResponse
+count ("
+GetSearchAttributesRequest"É
+GetSearchAttributesResponseT
+keys (2F.temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntryT
+ KeysEntry
+key ( 6
+value (2\'.temporal.api.enums.v1.IndexedValueType:8"Þ
+ RespondQueryTaskCompletedRequest
+
+task_token (>
+completed_type (2&.temporal.api.enums.v1.QueryResultType6
+query_result (2 .temporal.api.common.v1.Payloads
+
error_message (
+ namespace ( J"#
+!RespondQueryTaskCompletedResponse"n
+ResetStickyTaskQueueRequest
+ namespace ( <
+ execution (2).temporal.api.common.v1.WorkflowExecution"
+ResetStickyTaskQueueResponse"é
+QueryWorkflowRequest
+ namespace ( <
+ execution (2).temporal.api.common.v1.WorkflowExecution3
+query (2$.temporal.api.query.v1.WorkflowQueryK
+query_reject_condition (2+.temporal.api.enums.v1.QueryRejectCondition"
+QueryWorkflowResponse6
+query_result (2 .temporal.api.common.v1.Payloads<
+query_rejected (2$.temporal.api.query.v1.QueryRejected"s
+ DescribeWorkflowExecutionRequest
+ namespace ( <
+ execution (2).temporal.api.common.v1.WorkflowExecution"®
+!DescribeWorkflowExecutionResponseK
+execution_config (21.temporal.api.workflow.v1.WorkflowExecutionConfigP
+workflow_execution_info (2/.temporal.api.workflow.v1.WorkflowExecutionInfoI
+pending_activities (2-.temporal.api.workflow.v1.PendingActivityInfoM
+pending_children (23.temporal.api.workflow.v1.PendingChildExecutionInfoP
+pending_workflow_task (21.temporal.api.workflow.v1.PendingWorkflowTaskInfo"É
+DescribeTaskQueueRequest
+ namespace ( 8
+
+task_queue (2$.temporal.api.taskqueue.v1.TaskQueue=
+task_queue_type (2$.temporal.api.enums.v1.TaskQueueType!
+include_task_queue_status ("š
+DescribeTaskQueueResponse6
+pollers (2%.temporal.api.taskqueue.v1.PollerInfoE
+task_queue_status (2*.temporal.api.taskqueue.v1.TaskQueueStatus"
+GetClusterInfoRequest"‹
+GetClusterInfoResponseh
+supported_clients (2M.temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry
+server_version (
+
+cluster_id ( :
+version_info (2$.temporal.api.version.v1.VersionInfo
+cluster_name (
+history_shard_count (
+persistence_store (
+visibility_store ( 7
+SupportedClientsEntry
+key (
+value ( :8"
+GetSystemInfoRequest"ã
+GetSystemInfoResponse
+server_version ( Y
+capabilities (2C.temporal.api.workflowservice.v1.GetSystemInfoResponse.CapabilitiesW
+Capabilities
+signal_and_query_header (&
+internal_error_differentiation ("m
+ListTaskQueuePartitionsRequest
+ namespace ( 8
+
+task_queue (2$.temporal.api.taskqueue.v1.TaskQueue"ß
+ListTaskQueuePartitionsResponse]
+activity_task_queue_partitions (25.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata]
+workflow_task_queue_partitions (25.temporal.api.taskqueue.v1.TaskQueuePartitionMetadataBº
+"io.temporal.api.workflowservice.v1BRequestResponseProtoPZ5go.temporal.io/api/workflowservice/v1;workflowserviceªTemporal.Api.WorkflowService.V1ê"Temporal::Api::WorkflowService::V1bproto3'
+ , true);
+
+ static::$is_initialized = true;
+ }
+}
+
diff --git a/api/v1/GPBMetadata/Temporal/Api/Workflowservice/V1/Service.php b/api/v1/GPBMetadata/Temporal/Api/Workflowservice/V1/Service.php
new file mode 100644
index 000000000..8dd33861d
Binary files /dev/null and b/api/v1/GPBMetadata/Temporal/Api/Workflowservice/V1/Service.php differ
diff --git a/api/Temporal/Api/Common/V1/ActivityType.php b/api/v1/Temporal/Api/Common/V1/ActivityType.php
similarity index 88%
rename from api/Temporal/Api/Common/V1/ActivityType.php
rename to api/v1/Temporal/Api/Common/V1/ActivityType.php
index 9b28a8f5e..2a4c9d59c 100644
--- a/api/Temporal/Api/Common/V1/ActivityType.php
+++ b/api/v1/Temporal/Api/Common/V1/ActivityType.php
@@ -9,6 +9,9 @@
use Google\Protobuf\Internal\GPBUtil;
/**
+ * Represents the identifier used by a activity author to define the activity. Typically, the
+ * name of a function. This is sometimes referred to as the activity's "name"
+ *
* Generated from protobuf message temporal.api.common.v1.ActivityType
*/
class ActivityType extends \Google\Protobuf\Internal\Message
diff --git a/api/Temporal/Api/Common/V1/DataBlob.php b/api/v1/Temporal/Api/Common/V1/DataBlob.php
similarity index 100%
rename from api/Temporal/Api/Common/V1/DataBlob.php
rename to api/v1/Temporal/Api/Common/V1/DataBlob.php
diff --git a/api/Temporal/Api/Common/V1/Header.php b/api/v1/Temporal/Api/Common/V1/Header.php
similarity index 90%
rename from api/Temporal/Api/Common/V1/Header.php
rename to api/v1/Temporal/Api/Common/V1/Header.php
index 80d5e77b0..f8d1e5b7e 100644
--- a/api/Temporal/Api/Common/V1/Header.php
+++ b/api/v1/Temporal/Api/Common/V1/Header.php
@@ -9,6 +9,9 @@
use Google\Protobuf\Internal\GPBUtil;
/**
+ * Contains metadata that can be attached to a variety of requests, like starting a workflow, and
+ * can be propagated between, for example, workflows and activities.
+ *
* Generated from protobuf message temporal.api.common.v1.Header
*/
class Header extends \Google\Protobuf\Internal\Message
diff --git a/api/Temporal/Api/Common/V1/Memo.php b/api/v1/Temporal/Api/Common/V1/Memo.php
similarity index 94%
rename from api/Temporal/Api/Common/V1/Memo.php
rename to api/v1/Temporal/Api/Common/V1/Memo.php
index c4d0a4a97..ae3fc5a86 100644
--- a/api/Temporal/Api/Common/V1/Memo.php
+++ b/api/v1/Temporal/Api/Common/V1/Memo.php
@@ -9,6 +9,8 @@
use Google\Protobuf\Internal\GPBUtil;
/**
+ * A user-defined set of *unindexed* fields that are exposed when listing/searching workflows
+ *
* Generated from protobuf message temporal.api.common.v1.Memo
*/
class Memo extends \Google\Protobuf\Internal\Message
diff --git a/api/Temporal/Api/Common/V1/Payload.php b/api/v1/Temporal/Api/Common/V1/Payload.php
similarity index 90%
rename from api/Temporal/Api/Common/V1/Payload.php
rename to api/v1/Temporal/Api/Common/V1/Payload.php
index f22cfa1ac..7d5ff148a 100644
--- a/api/Temporal/Api/Common/V1/Payload.php
+++ b/api/v1/Temporal/Api/Common/V1/Payload.php
@@ -9,6 +9,10 @@
use Google\Protobuf\Internal\GPBUtil;
/**
+ * Represents some binary (byte array) data (ex: activity input parameters or workflow result) with
+ * metadata which describes this binary data (format, encoding, encryption, etc). Serialization
+ * of the data may be user-defined.
+ *
* Generated from protobuf message temporal.api.common.v1.Payload
*/
class Payload extends \Google\Protobuf\Internal\Message
diff --git a/api/Temporal/Api/Common/V1/Payloads.php b/api/v1/Temporal/Api/Common/V1/Payloads.php
similarity index 98%
rename from api/Temporal/Api/Common/V1/Payloads.php
rename to api/v1/Temporal/Api/Common/V1/Payloads.php
index 5d552a07b..1c1298d5c 100644
--- a/api/Temporal/Api/Common/V1/Payloads.php
+++ b/api/v1/Temporal/Api/Common/V1/Payloads.php
@@ -9,6 +9,8 @@
use Google\Protobuf\Internal\GPBUtil;
/**
+ * See `Payload`
+ *
* Generated from protobuf message temporal.api.common.v1.Payloads
*/
class Payloads extends \Google\Protobuf\Internal\Message
diff --git a/api/Temporal/Api/Common/V1/RetryPolicy.php b/api/v1/Temporal/Api/Common/V1/RetryPolicy.php
similarity index 89%
rename from api/Temporal/Api/Common/V1/RetryPolicy.php
rename to api/v1/Temporal/Api/Common/V1/RetryPolicy.php
index 8030bfb05..644eeea4f 100644
--- a/api/Temporal/Api/Common/V1/RetryPolicy.php
+++ b/api/v1/Temporal/Api/Common/V1/RetryPolicy.php
@@ -9,6 +9,8 @@
use Google\Protobuf\Internal\GPBUtil;
/**
+ * How retries ought to be handled, usable by both workflows and activities
+ *
* Generated from protobuf message temporal.api.common.v1.RetryPolicy
*/
class RetryPolicy extends \Google\Protobuf\Internal\Message
@@ -42,7 +44,8 @@ class RetryPolicy extends \Google\Protobuf\Internal\Message
*/
protected $maximum_attempts = 0;
/**
- * Non-Retryable errors types. Will stop retrying if error type matches this list.
+ * Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that
+ * this is not a substring match, the error *type* (not message) must match exactly.
*
* Generated from protobuf field repeated string non_retryable_error_types = 5;
*/
@@ -67,7 +70,8 @@ class RetryPolicy extends \Google\Protobuf\Internal\Message
* Maximum number of attempts. When exceeded the retries stop even if not expired yet.
* 1 disables retries. 0 means unlimited (up to the timeouts)
* @type string[]|\Google\Protobuf\Internal\RepeatedField $non_retryable_error_types
- * Non-Retryable errors types. Will stop retrying if error type matches this list.
+ * Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that
+ * this is not a substring match, the error *type* (not message) must match exactly.
* }
*/
public function __construct($data = NULL) {
@@ -79,11 +83,11 @@ public function __construct($data = NULL) {
* Interval of the first retry. If retryBackoffCoefficient is 1.0 then it is used for all retries.
*
* Generated from protobuf field .google.protobuf.Duration initial_interval = 1 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getInitialInterval()
{
- return isset($this->initial_interval) ? $this->initial_interval : null;
+ return $this->initial_interval;
}
public function hasInitialInterval()
@@ -146,11 +150,11 @@ public function setBackoffCoefficient($var)
* This value is the cap of the increase. Default is 100x of the initial interval.
*
* Generated from protobuf field .google.protobuf.Duration maximum_interval = 3 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getMaximumInterval()
{
- return isset($this->maximum_interval) ? $this->maximum_interval : null;
+ return $this->maximum_interval;
}
public function hasMaximumInterval()
@@ -208,7 +212,8 @@ public function setMaximumAttempts($var)
}
/**
- * Non-Retryable errors types. Will stop retrying if error type matches this list.
+ * Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that
+ * this is not a substring match, the error *type* (not message) must match exactly.
*
* Generated from protobuf field repeated string non_retryable_error_types = 5;
* @return \Google\Protobuf\Internal\RepeatedField
@@ -219,7 +224,8 @@ public function getNonRetryableErrorTypes()
}
/**
- * Non-Retryable errors types. Will stop retrying if error type matches this list.
+ * Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that
+ * this is not a substring match, the error *type* (not message) must match exactly.
*
* Generated from protobuf field repeated string non_retryable_error_types = 5;
* @param string[]|\Google\Protobuf\Internal\RepeatedField $var
diff --git a/api/Temporal/Api/Common/V1/SearchAttributes.php b/api/v1/Temporal/Api/Common/V1/SearchAttributes.php
similarity index 91%
rename from api/Temporal/Api/Common/V1/SearchAttributes.php
rename to api/v1/Temporal/Api/Common/V1/SearchAttributes.php
index 4571a7e3b..7782457d7 100644
--- a/api/Temporal/Api/Common/V1/SearchAttributes.php
+++ b/api/v1/Temporal/Api/Common/V1/SearchAttributes.php
@@ -9,6 +9,9 @@
use Google\Protobuf\Internal\GPBUtil;
/**
+ * A user-defined set of *indexed* fields that are used/exposed when listing/searching workflows.
+ * The payload is not serialized in a user-defined way.
+ *
* Generated from protobuf message temporal.api.common.v1.SearchAttributes
*/
class SearchAttributes extends \Google\Protobuf\Internal\Message
diff --git a/api/Temporal/Api/Common/V1/WorkflowExecution.php b/api/v1/Temporal/Api/Common/V1/WorkflowExecution.php
similarity index 88%
rename from api/Temporal/Api/Common/V1/WorkflowExecution.php
rename to api/v1/Temporal/Api/Common/V1/WorkflowExecution.php
index 63a8307ed..363368fe7 100644
--- a/api/Temporal/Api/Common/V1/WorkflowExecution.php
+++ b/api/v1/Temporal/Api/Common/V1/WorkflowExecution.php
@@ -9,6 +9,10 @@
use Google\Protobuf\Internal\GPBUtil;
/**
+ * Identifies a specific workflow within a namespace. Practically speaking, because run_id is a
+ * uuid, a workflow execution is globally unique. Note that many commands allow specifying an empty
+ * run id as a way of saying "target the latest run of the workflow".
+ *
* Generated from protobuf message temporal.api.common.v1.WorkflowExecution
*/
class WorkflowExecution extends \Google\Protobuf\Internal\Message
diff --git a/api/Temporal/Api/Common/V1/WorkflowType.php b/api/v1/Temporal/Api/Common/V1/WorkflowType.php
similarity index 88%
rename from api/Temporal/Api/Common/V1/WorkflowType.php
rename to api/v1/Temporal/Api/Common/V1/WorkflowType.php
index 211bcff74..a051bdef8 100644
--- a/api/Temporal/Api/Common/V1/WorkflowType.php
+++ b/api/v1/Temporal/Api/Common/V1/WorkflowType.php
@@ -9,6 +9,9 @@
use Google\Protobuf\Internal\GPBUtil;
/**
+ * Represents the identifier used by a workflow author to define the workflow. Typically, the
+ * name of a function. This is sometimes referred to as the workflow's "name"
+ *
* Generated from protobuf message temporal.api.common.v1.WorkflowType
*/
class WorkflowType extends \Google\Protobuf\Internal\Message
diff --git a/api/Temporal/Api/Enums/V1/ArchivalState.php b/api/v1/Temporal/Api/Enums/V1/ArchivalState.php
similarity index 100%
rename from api/Temporal/Api/Enums/V1/ArchivalState.php
rename to api/v1/Temporal/Api/Enums/V1/ArchivalState.php
diff --git a/api/Temporal/Api/Enums/V1/CancelExternalWorkflowExecutionFailedCause.php b/api/v1/Temporal/Api/Enums/V1/CancelExternalWorkflowExecutionFailedCause.php
similarity index 100%
rename from api/Temporal/Api/Enums/V1/CancelExternalWorkflowExecutionFailedCause.php
rename to api/v1/Temporal/Api/Enums/V1/CancelExternalWorkflowExecutionFailedCause.php
diff --git a/api/Temporal/Api/Enums/V1/CommandType.php b/api/v1/Temporal/Api/Enums/V1/CommandType.php
similarity index 100%
rename from api/Temporal/Api/Enums/V1/CommandType.php
rename to api/v1/Temporal/Api/Enums/V1/CommandType.php
diff --git a/api/Temporal/Api/Enums/V1/ContinueAsNewInitiator.php b/api/v1/Temporal/Api/Enums/V1/ContinueAsNewInitiator.php
similarity index 90%
rename from api/Temporal/Api/Enums/V1/ContinueAsNewInitiator.php
rename to api/v1/Temporal/Api/Enums/V1/ContinueAsNewInitiator.php
index 24b611b74..5c7238240 100644
--- a/api/Temporal/Api/Enums/V1/ContinueAsNewInitiator.php
+++ b/api/v1/Temporal/Api/Enums/V1/ContinueAsNewInitiator.php
@@ -16,14 +16,20 @@ class ContinueAsNewInitiator
*/
const CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED = 0;
/**
+ * The workflow itself requested to continue as new
+ *
* Generated from protobuf enum CONTINUE_AS_NEW_INITIATOR_WORKFLOW = 1;
*/
const CONTINUE_AS_NEW_INITIATOR_WORKFLOW = 1;
/**
+ * The workflow continued as new because it is retrying
+ *
* Generated from protobuf enum CONTINUE_AS_NEW_INITIATOR_RETRY = 2;
*/
const CONTINUE_AS_NEW_INITIATOR_RETRY = 2;
/**
+ * The workflow continued as new because cron has triggered a new execution
+ *
* Generated from protobuf enum CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE = 3;
*/
const CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE = 3;
diff --git a/api/Temporal/Api/Enums/V1/EncodingType.php b/api/v1/Temporal/Api/Enums/V1/EncodingType.php
similarity index 100%
rename from api/Temporal/Api/Enums/V1/EncodingType.php
rename to api/v1/Temporal/Api/Enums/V1/EncodingType.php
diff --git a/api/Temporal/Api/Enums/V1/EventType.php b/api/v1/Temporal/Api/Enums/V1/EventType.php
similarity index 69%
rename from api/Temporal/Api/Enums/V1/EventType.php
rename to api/v1/Temporal/Api/Enums/V1/EventType.php
index 55477eb2e..f96c22055 100644
--- a/api/Temporal/Api/Enums/V1/EventType.php
+++ b/api/v1/Temporal/Api/Enums/V1/EventType.php
@@ -7,173 +7,291 @@
use UnexpectedValueException;
/**
- * Whenever this list of events is changed do change the function shouldBufferEvent in mutableStateBuilder.go to make sure to do the correct event ordering.
+ * Whenever this list of events is changed do change the function shouldBufferEvent in mutableStateBuilder.go to make sure to do the correct event ordering
*
* Protobuf type temporal.api.enums.v1.EventType
*/
class EventType
{
/**
+ * Place holder and should never appear in a Workflow execution history
+ *
* Generated from protobuf enum EVENT_TYPE_UNSPECIFIED = 0;
*/
const EVENT_TYPE_UNSPECIFIED = 0;
/**
+ * Workflow execution has been triggered/started
+ * It contains Workflow execution inputs, as well as Workflow timeout configurations
+ *
* Generated from protobuf enum EVENT_TYPE_WORKFLOW_EXECUTION_STARTED = 1;
*/
const EVENT_TYPE_WORKFLOW_EXECUTION_STARTED = 1;
/**
+ * Workflow execution has successfully completed and contains Workflow execution results
+ *
* Generated from protobuf enum EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED = 2;
*/
const EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED = 2;
/**
+ * Workflow execution has unsuccessfully completed and contains the Workflow execution error
+ *
* Generated from protobuf enum EVENT_TYPE_WORKFLOW_EXECUTION_FAILED = 3;
*/
const EVENT_TYPE_WORKFLOW_EXECUTION_FAILED = 3;
/**
+ * Workflow execution has timed out by the Temporal Server
+ * Usually due to the Workflow having not been completed within timeout settings
+ *
* Generated from protobuf enum EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT = 4;
*/
const EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT = 4;
/**
+ * Workflow Task has been scheduled and the SDK client should now be able to process any new history events
+ *
* Generated from protobuf enum EVENT_TYPE_WORKFLOW_TASK_SCHEDULED = 5;
*/
const EVENT_TYPE_WORKFLOW_TASK_SCHEDULED = 5;
/**
+ * Workflow Task has started and the SDK client has picked up the Workflow Task and is processing new history events
+ *
* Generated from protobuf enum EVENT_TYPE_WORKFLOW_TASK_STARTED = 6;
*/
const EVENT_TYPE_WORKFLOW_TASK_STARTED = 6;
/**
+ * Workflow Task has completed
+ * The SDK client picked up the Workflow Task and processed new history events
+ * SDK client may or may not ask the Temporal Server to do additional work, such as:
+ * EVENT_TYPE_ACTIVITY_TASK_SCHEDULED
+ * EVENT_TYPE_TIMER_STARTED
+ * EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
+ * EVENT_TYPE_MARKER_RECORDED
+ * EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED
+ * EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
+ * EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
+ * EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED
+ * EVENT_TYPE_WORKFLOW_EXECUTION_FAILED
+ * EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED
+ * EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW
+ *
* Generated from protobuf enum EVENT_TYPE_WORKFLOW_TASK_COMPLETED = 7;
*/
const EVENT_TYPE_WORKFLOW_TASK_COMPLETED = 7;
/**
+ * Workflow Task encountered a timeout
+ * Either an SDK client with a local cache was not available at the time, or it took too long for the SDK client to process the task
+ *
* Generated from protobuf enum EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT = 8;
*/
const EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT = 8;
/**
+ * Workflow Task encountered a failure
+ * Usually this means that the Workflow was non-deterministic
+ * However, the Workflow reset functionality also uses this event
+ *
* Generated from protobuf enum EVENT_TYPE_WORKFLOW_TASK_FAILED = 9;
*/
const EVENT_TYPE_WORKFLOW_TASK_FAILED = 9;
/**
+ * Activity Task was scheduled
+ * The SDK client should pick up this activity task and execute
+ * This event type contains activity inputs, as well as activity timeout configurations
+ *
* Generated from protobuf enum EVENT_TYPE_ACTIVITY_TASK_SCHEDULED = 10;
*/
const EVENT_TYPE_ACTIVITY_TASK_SCHEDULED = 10;
/**
+ * Activity Task has started executing
+ * The SDK client has picked up the Activity Task and is processing the Activity invocation
+ *
* Generated from protobuf enum EVENT_TYPE_ACTIVITY_TASK_STARTED = 11;
*/
const EVENT_TYPE_ACTIVITY_TASK_STARTED = 11;
/**
+ * Activity Task has finished successfully
+ * The SDK client has picked up and successfully completed the Activity Task
+ * This event type contains Activity execution results
+ *
* Generated from protobuf enum EVENT_TYPE_ACTIVITY_TASK_COMPLETED = 12;
*/
const EVENT_TYPE_ACTIVITY_TASK_COMPLETED = 12;
/**
+ * Activity Task has finished unsuccessfully
+ * The SDK picked up the Activity Task but unsuccessfully completed it
+ * This event type contains Activity execution errors
+ *
* Generated from protobuf enum EVENT_TYPE_ACTIVITY_TASK_FAILED = 13;
*/
const EVENT_TYPE_ACTIVITY_TASK_FAILED = 13;
/**
+ * Activity has timed out according to the Temporal Server
+ * Activity did not complete within the timeout settings
+ *
* Generated from protobuf enum EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT = 14;
*/
const EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT = 14;
/**
+ * A request to cancel the Activity has occurred
+ * The SDK client will be able to confirm cancellation of an Activity during an Activity heartbeat
+ *
* Generated from protobuf enum EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED = 15;
*/
const EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED = 15;
/**
+ * Activity has been cancelled
+ *
* Generated from protobuf enum EVENT_TYPE_ACTIVITY_TASK_CANCELED = 16;
*/
const EVENT_TYPE_ACTIVITY_TASK_CANCELED = 16;
/**
+ * A timer has started
+ *
* Generated from protobuf enum EVENT_TYPE_TIMER_STARTED = 17;
*/
const EVENT_TYPE_TIMER_STARTED = 17;
/**
+ * A timer has fired
+ *
* Generated from protobuf enum EVENT_TYPE_TIMER_FIRED = 18;
*/
const EVENT_TYPE_TIMER_FIRED = 18;
/**
+ * A time has been cancelled
+ *
* Generated from protobuf enum EVENT_TYPE_TIMER_CANCELED = 19;
*/
const EVENT_TYPE_TIMER_CANCELED = 19;
/**
+ * A request has been made to cancel the Workflow execution
+ *
* Generated from protobuf enum EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED = 20;
*/
const EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED = 20;
/**
+ * SDK client has confirmed the cancellation request and the Workflow execution has been cancelled
+ *
* Generated from protobuf enum EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED = 21;
*/
const EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED = 21;
/**
+ * Workflow has requested that the Temporal Server try to cancel another Workflow
+ *
* Generated from protobuf enum EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED = 22;
*/
const EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED = 22;
/**
+ * Temporal Server could not cancel the targeted Workflow
+ * This is usually because the target Workflow could not be found
+ *
* Generated from protobuf enum EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED = 23;
*/
const EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED = 23;
/**
+ * Temporal Server has successfully requested the cancellation of the target Workflow
+ *
* Generated from protobuf enum EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED = 24;
*/
const EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED = 24;
/**
+ * A marker has been recorded.
+ * This event type is transparent to the Temporal Server
+ * The Server will only store it and will not try to understand it.
+ *
* Generated from protobuf enum EVENT_TYPE_MARKER_RECORDED = 25;
*/
const EVENT_TYPE_MARKER_RECORDED = 25;
/**
+ * Workflow has received a Signal event
+ * The event type contains the Signal name, as well as a Signal payload
+ *
* Generated from protobuf enum EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED = 26;
*/
const EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED = 26;
/**
+ * Workflow execution has been forcefully terminated
+ * This is usually because the terminate Workflow API was called
+ *
* Generated from protobuf enum EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED = 27;
*/
const EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED = 27;
/**
+ * Workflow has successfully completed and a new Workflow has been started within the same transaction
+ * Contains last Workflow execution results as well as new Workflow execution inputs
+ *
* Generated from protobuf enum EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW = 28;
*/
const EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW = 28;
/**
+ * Temporal Server will try to start a child Workflow
+ *
* Generated from protobuf enum EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED = 29;
*/
const EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED = 29;
/**
+ * Child Workflow execution cannot be started/triggered
+ * Usually due to a child Workflow ID collision
+ *
* Generated from protobuf enum EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED = 30;
*/
const EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED = 30;
/**
+ * Child Workflow execution has successfully started/triggered
+ *
* Generated from protobuf enum EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED = 31;
*/
const EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED = 31;
/**
+ * Child Workflow execution has successfully completed
+ *
* Generated from protobuf enum EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED = 32;
*/
const EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED = 32;
/**
+ * Child Workflow execution has unsuccessfully completed
+ *
* Generated from protobuf enum EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED = 33;
*/
const EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED = 33;
/**
+ * Child Workflow execution has been cancelled
+ *
* Generated from protobuf enum EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED = 34;
*/
const EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED = 34;
/**
+ * Child Workflow execution has timed out by the Temporal Server
+ *
* Generated from protobuf enum EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT = 35;
*/
const EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT = 35;
/**
+ * Child Workflow execution has been terminated
+ *
* Generated from protobuf enum EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED = 36;
*/
const EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED = 36;
/**
+ * Temporal Server will try to Signal the targeted Workflow
+ * Contains the Signal name, as well as a Signal payload
+ *
* Generated from protobuf enum EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED = 37;
*/
const EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED = 37;
/**
+ * Temporal Server cannot Signal the targeted Workflow
+ * Usually because the Workflow could not be found
+ *
* Generated from protobuf enum EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED = 38;
*/
const EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED = 38;
/**
+ * Temporal Server has successfully Signaled the targeted Workflow
+ *
* Generated from protobuf enum EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED = 39;
*/
const EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED = 39;
/**
+ * Workflow search attributes should be updated and synchronized with the visibility store
+ *
* Generated from protobuf enum EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES = 40;
*/
const EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES = 40;
diff --git a/api/Temporal/Api/Enums/V1/HistoryEventFilterType.php b/api/v1/Temporal/Api/Enums/V1/HistoryEventFilterType.php
similarity index 100%
rename from api/Temporal/Api/Enums/V1/HistoryEventFilterType.php
rename to api/v1/Temporal/Api/Enums/V1/HistoryEventFilterType.php
diff --git a/api/Temporal/Api/Enums/V1/IndexedValueType.php b/api/v1/Temporal/Api/Enums/V1/IndexedValueType.php
similarity index 92%
rename from api/Temporal/Api/Enums/V1/IndexedValueType.php
rename to api/v1/Temporal/Api/Enums/V1/IndexedValueType.php
index d7551f407..5116b86fd 100644
--- a/api/Temporal/Api/Enums/V1/IndexedValueType.php
+++ b/api/v1/Temporal/Api/Enums/V1/IndexedValueType.php
@@ -16,9 +16,9 @@ class IndexedValueType
*/
const INDEXED_VALUE_TYPE_UNSPECIFIED = 0;
/**
- * Generated from protobuf enum INDEXED_VALUE_TYPE_STRING = 1;
+ * Generated from protobuf enum INDEXED_VALUE_TYPE_TEXT = 1;
*/
- const INDEXED_VALUE_TYPE_STRING = 1;
+ const INDEXED_VALUE_TYPE_TEXT = 1;
/**
* Generated from protobuf enum INDEXED_VALUE_TYPE_KEYWORD = 2;
*/
@@ -42,7 +42,7 @@ class IndexedValueType
private static $valueToName = [
self::INDEXED_VALUE_TYPE_UNSPECIFIED => 'INDEXED_VALUE_TYPE_UNSPECIFIED',
- self::INDEXED_VALUE_TYPE_STRING => 'INDEXED_VALUE_TYPE_STRING',
+ self::INDEXED_VALUE_TYPE_TEXT => 'INDEXED_VALUE_TYPE_TEXT',
self::INDEXED_VALUE_TYPE_KEYWORD => 'INDEXED_VALUE_TYPE_KEYWORD',
self::INDEXED_VALUE_TYPE_INT => 'INDEXED_VALUE_TYPE_INT',
self::INDEXED_VALUE_TYPE_DOUBLE => 'INDEXED_VALUE_TYPE_DOUBLE',
diff --git a/api/Temporal/Api/Enums/V1/NamespaceState.php b/api/v1/Temporal/Api/Enums/V1/NamespaceState.php
similarity index 100%
rename from api/Temporal/Api/Enums/V1/NamespaceState.php
rename to api/v1/Temporal/Api/Enums/V1/NamespaceState.php
diff --git a/api/Temporal/Api/Enums/V1/ParentClosePolicy.php b/api/v1/Temporal/Api/Enums/V1/ParentClosePolicy.php
similarity index 89%
rename from api/Temporal/Api/Enums/V1/ParentClosePolicy.php
rename to api/v1/Temporal/Api/Enums/V1/ParentClosePolicy.php
index 2cf03487e..00482cf4e 100644
--- a/api/Temporal/Api/Enums/V1/ParentClosePolicy.php
+++ b/api/v1/Temporal/Api/Enums/V1/ParentClosePolicy.php
@@ -7,6 +7,8 @@
use UnexpectedValueException;
/**
+ * Defines how child workflows will react to their parent completing
+ *
* Protobuf type temporal.api.enums.v1.ParentClosePolicy
*/
class ParentClosePolicy
@@ -16,19 +18,19 @@ class ParentClosePolicy
*/
const PARENT_CLOSE_POLICY_UNSPECIFIED = 0;
/**
- * Terminate means terminating the child workflow.
+ * The child workflow will also terminate
*
* Generated from protobuf enum PARENT_CLOSE_POLICY_TERMINATE = 1;
*/
const PARENT_CLOSE_POLICY_TERMINATE = 1;
/**
- * Abandon means not doing anything on the child workflow.
+ * The child workflow will do nothing
*
* Generated from protobuf enum PARENT_CLOSE_POLICY_ABANDON = 2;
*/
const PARENT_CLOSE_POLICY_ABANDON = 2;
/**
- * Cancel means requesting cancellation on the child workflow.
+ * Cancellation will be requested of the child workflow
*
* Generated from protobuf enum PARENT_CLOSE_POLICY_REQUEST_CANCEL = 3;
*/
diff --git a/api/Temporal/Api/Enums/V1/PendingActivityState.php b/api/v1/Temporal/Api/Enums/V1/PendingActivityState.php
similarity index 100%
rename from api/Temporal/Api/Enums/V1/PendingActivityState.php
rename to api/v1/Temporal/Api/Enums/V1/PendingActivityState.php
diff --git a/api/v1/Temporal/Api/Enums/V1/PendingWorkflowTaskState.php b/api/v1/Temporal/Api/Enums/V1/PendingWorkflowTaskState.php
new file mode 100644
index 000000000..425f3cd27
--- /dev/null
+++ b/api/v1/Temporal/Api/Enums/V1/PendingWorkflowTaskState.php
@@ -0,0 +1,53 @@
+temporal.api.enums.v1.PendingWorkflowTaskState
+ */
+class PendingWorkflowTaskState
+{
+ /**
+ * Generated from protobuf enum PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED = 0;
+ */
+ const PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED = 0;
+ /**
+ * Generated from protobuf enum PENDING_WORKFLOW_TASK_STATE_SCHEDULED = 1;
+ */
+ const PENDING_WORKFLOW_TASK_STATE_SCHEDULED = 1;
+ /**
+ * Generated from protobuf enum PENDING_WORKFLOW_TASK_STATE_STARTED = 2;
+ */
+ const PENDING_WORKFLOW_TASK_STATE_STARTED = 2;
+
+ private static $valueToName = [
+ self::PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED => 'PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED',
+ self::PENDING_WORKFLOW_TASK_STATE_SCHEDULED => 'PENDING_WORKFLOW_TASK_STATE_SCHEDULED',
+ self::PENDING_WORKFLOW_TASK_STATE_STARTED => 'PENDING_WORKFLOW_TASK_STATE_STARTED',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
diff --git a/api/Temporal/Api/Enums/V1/QueryRejectCondition.php b/api/v1/Temporal/Api/Enums/V1/QueryRejectCondition.php
similarity index 100%
rename from api/Temporal/Api/Enums/V1/QueryRejectCondition.php
rename to api/v1/Temporal/Api/Enums/V1/QueryRejectCondition.php
diff --git a/api/Temporal/Api/Enums/V1/QueryResultType.php b/api/v1/Temporal/Api/Enums/V1/QueryResultType.php
similarity index 100%
rename from api/Temporal/Api/Enums/V1/QueryResultType.php
rename to api/v1/Temporal/Api/Enums/V1/QueryResultType.php
diff --git a/api/v1/Temporal/Api/Enums/V1/ReplicationState.php b/api/v1/Temporal/Api/Enums/V1/ReplicationState.php
new file mode 100644
index 000000000..a95971ce7
--- /dev/null
+++ b/api/v1/Temporal/Api/Enums/V1/ReplicationState.php
@@ -0,0 +1,53 @@
+temporal.api.enums.v1.ReplicationState
+ */
+class ReplicationState
+{
+ /**
+ * Generated from protobuf enum REPLICATION_STATE_UNSPECIFIED = 0;
+ */
+ const REPLICATION_STATE_UNSPECIFIED = 0;
+ /**
+ * Generated from protobuf enum REPLICATION_STATE_NORMAL = 1;
+ */
+ const REPLICATION_STATE_NORMAL = 1;
+ /**
+ * Generated from protobuf enum REPLICATION_STATE_HANDOVER = 2;
+ */
+ const REPLICATION_STATE_HANDOVER = 2;
+
+ private static $valueToName = [
+ self::REPLICATION_STATE_UNSPECIFIED => 'REPLICATION_STATE_UNSPECIFIED',
+ self::REPLICATION_STATE_NORMAL => 'REPLICATION_STATE_NORMAL',
+ self::REPLICATION_STATE_HANDOVER => 'REPLICATION_STATE_HANDOVER',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
diff --git a/api/v1/Temporal/Api/Enums/V1/ResetReapplyType.php b/api/v1/Temporal/Api/Enums/V1/ResetReapplyType.php
new file mode 100644
index 000000000..88985734f
--- /dev/null
+++ b/api/v1/Temporal/Api/Enums/V1/ResetReapplyType.php
@@ -0,0 +1,55 @@
+temporal.api.enums.v1.ResetReapplyType
+ */
+class ResetReapplyType
+{
+ /**
+ * Generated from protobuf enum RESET_REAPPLY_TYPE_UNSPECIFIED = 0;
+ */
+ const RESET_REAPPLY_TYPE_UNSPECIFIED = 0;
+ /**
+ * Generated from protobuf enum RESET_REAPPLY_TYPE_SIGNAL = 1;
+ */
+ const RESET_REAPPLY_TYPE_SIGNAL = 1;
+ /**
+ * Generated from protobuf enum RESET_REAPPLY_TYPE_NONE = 2;
+ */
+ const RESET_REAPPLY_TYPE_NONE = 2;
+
+ private static $valueToName = [
+ self::RESET_REAPPLY_TYPE_UNSPECIFIED => 'RESET_REAPPLY_TYPE_UNSPECIFIED',
+ self::RESET_REAPPLY_TYPE_SIGNAL => 'RESET_REAPPLY_TYPE_SIGNAL',
+ self::RESET_REAPPLY_TYPE_NONE => 'RESET_REAPPLY_TYPE_NONE',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
diff --git a/api/v1/Temporal/Api/Enums/V1/ResourceExhaustedCause.php b/api/v1/Temporal/Api/Enums/V1/ResourceExhaustedCause.php
new file mode 100644
index 000000000..c8145a126
--- /dev/null
+++ b/api/v1/Temporal/Api/Enums/V1/ResourceExhaustedCause.php
@@ -0,0 +1,64 @@
+temporal.api.enums.v1.ResourceExhaustedCause
+ */
+class ResourceExhaustedCause
+{
+ /**
+ * Generated from protobuf enum RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED = 0;
+ */
+ const RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED = 0;
+ /**
+ * Caller exceeds request per second limit.
+ *
+ * Generated from protobuf enum RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT = 1;
+ */
+ const RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT = 1;
+ /**
+ * Caller exceeds max concurrent request limit.
+ *
+ * Generated from protobuf enum RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT = 2;
+ */
+ const RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT = 2;
+ /**
+ * System overloaded.
+ *
+ * Generated from protobuf enum RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED = 3;
+ */
+ const RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED = 3;
+
+ private static $valueToName = [
+ self::RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED => 'RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED',
+ self::RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT => 'RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT',
+ self::RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT => 'RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT',
+ self::RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED => 'RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
diff --git a/api/Temporal/Api/Enums/V1/RetryState.php b/api/v1/Temporal/Api/Enums/V1/RetryState.php
similarity index 100%
rename from api/Temporal/Api/Enums/V1/RetryState.php
rename to api/v1/Temporal/Api/Enums/V1/RetryState.php
diff --git a/api/Temporal/Api/Enums/V1/Severity.php b/api/v1/Temporal/Api/Enums/V1/Severity.php
similarity index 100%
rename from api/Temporal/Api/Enums/V1/Severity.php
rename to api/v1/Temporal/Api/Enums/V1/Severity.php
diff --git a/api/Temporal/Api/Enums/V1/SignalExternalWorkflowExecutionFailedCause.php b/api/v1/Temporal/Api/Enums/V1/SignalExternalWorkflowExecutionFailedCause.php
similarity index 100%
rename from api/Temporal/Api/Enums/V1/SignalExternalWorkflowExecutionFailedCause.php
rename to api/v1/Temporal/Api/Enums/V1/SignalExternalWorkflowExecutionFailedCause.php
diff --git a/api/Temporal/Api/Enums/V1/StartChildWorkflowExecutionFailedCause.php b/api/v1/Temporal/Api/Enums/V1/StartChildWorkflowExecutionFailedCause.php
similarity index 100%
rename from api/Temporal/Api/Enums/V1/StartChildWorkflowExecutionFailedCause.php
rename to api/v1/Temporal/Api/Enums/V1/StartChildWorkflowExecutionFailedCause.php
diff --git a/api/Temporal/Api/Enums/V1/TaskQueueKind.php b/api/v1/Temporal/Api/Enums/V1/TaskQueueKind.php
similarity index 66%
rename from api/Temporal/Api/Enums/V1/TaskQueueKind.php
rename to api/v1/Temporal/Api/Enums/V1/TaskQueueKind.php
index 6a6f2bb29..a0562ca30 100644
--- a/api/Temporal/Api/Enums/V1/TaskQueueKind.php
+++ b/api/v1/Temporal/Api/Enums/V1/TaskQueueKind.php
@@ -16,10 +16,22 @@ class TaskQueueKind
*/
const TASK_QUEUE_KIND_UNSPECIFIED = 0;
/**
+ * Tasks from a normal workflow task queue always include complete workflow history
+ * The task queue specified by the user is always a normal task queue. There can be as many
+ * workers as desired for a single normal task queue. All those workers may pick up tasks from
+ * that queue.
+ *
* Generated from protobuf enum TASK_QUEUE_KIND_NORMAL = 1;
*/
const TASK_QUEUE_KIND_NORMAL = 1;
/**
+ * A sticky queue only includes new history since the last workflow task, and they are
+ * per-worker.
+ * Sticky queues are created dynamically by each worker during their start up. They only exist
+ * for the lifetime of the worker process. Tasks in a sticky task queue are only available to
+ * the worker that created the sticky queue.
+ * Sticky queues are only for workflow tasks. There are no sticky task queues for activities.
+ *
* Generated from protobuf enum TASK_QUEUE_KIND_STICKY = 2;
*/
const TASK_QUEUE_KIND_STICKY = 2;
diff --git a/api/Temporal/Api/Enums/V1/TaskQueueType.php b/api/v1/Temporal/Api/Enums/V1/TaskQueueType.php
similarity index 100%
rename from api/Temporal/Api/Enums/V1/TaskQueueType.php
rename to api/v1/Temporal/Api/Enums/V1/TaskQueueType.php
diff --git a/api/Temporal/Api/Enums/V1/TimeoutType.php b/api/v1/Temporal/Api/Enums/V1/TimeoutType.php
similarity index 100%
rename from api/Temporal/Api/Enums/V1/TimeoutType.php
rename to api/v1/Temporal/Api/Enums/V1/TimeoutType.php
diff --git a/api/Temporal/Api/Enums/V1/WorkflowExecutionStatus.php b/api/v1/Temporal/Api/Enums/V1/WorkflowExecutionStatus.php
similarity index 100%
rename from api/Temporal/Api/Enums/V1/WorkflowExecutionStatus.php
rename to api/v1/Temporal/Api/Enums/V1/WorkflowExecutionStatus.php
diff --git a/api/Temporal/Api/Enums/V1/WorkflowIdReusePolicy.php b/api/v1/Temporal/Api/Enums/V1/WorkflowIdReusePolicy.php
similarity index 77%
rename from api/Temporal/Api/Enums/V1/WorkflowIdReusePolicy.php
rename to api/v1/Temporal/Api/Enums/V1/WorkflowIdReusePolicy.php
index b24b78a49..d813f229c 100644
--- a/api/Temporal/Api/Enums/V1/WorkflowIdReusePolicy.php
+++ b/api/v1/Temporal/Api/Enums/V1/WorkflowIdReusePolicy.php
@@ -7,6 +7,9 @@
use UnexpectedValueException;
/**
+ * Defines how new runs of a workflow with a particular ID may or may not be allowed. Note that
+ * it is *never* valid to have two actively running instances of the same workflow id.
+ *
* Protobuf type temporal.api.enums.v1.WorkflowIdReusePolicy
*/
class WorkflowIdReusePolicy
@@ -16,20 +19,21 @@ class WorkflowIdReusePolicy
*/
const WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED = 0;
/**
- * Allow start a workflow execution using the same workflow Id, when workflow not running.
+ * Allow starting a workflow execution using the same workflow id.
*
* Generated from protobuf enum WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE = 1;
*/
const WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE = 1;
/**
- * Allow start a workflow execution using the same workflow Id, when workflow not running, and the last execution close state is in
- * [terminated, cancelled, timed out, failed].
+ * Allow starting a workflow execution using the same workflow id, only when the last
+ * execution's final state is one of [terminated, cancelled, timed out, failed].
*
* Generated from protobuf enum WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY = 2;
*/
const WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY = 2;
/**
- * Do not allow start a workflow execution using the same workflow Id at all.
+ * Do not permit re-use of the workflow id for this workflow. Future start workflow requests
+ * could potentially change the policy, allowing re-use of the workflow id.
*
* Generated from protobuf enum WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE = 3;
*/
diff --git a/api/Temporal/Api/Enums/V1/WorkflowTaskFailedCause.php b/api/v1/Temporal/Api/Enums/V1/WorkflowTaskFailedCause.php
similarity index 88%
rename from api/Temporal/Api/Enums/V1/WorkflowTaskFailedCause.php
rename to api/v1/Temporal/Api/Enums/V1/WorkflowTaskFailedCause.php
index d1f73cad9..2182ef8b0 100644
--- a/api/Temporal/Api/Enums/V1/WorkflowTaskFailedCause.php
+++ b/api/v1/Temporal/Api/Enums/V1/WorkflowTaskFailedCause.php
@@ -7,6 +7,9 @@
use UnexpectedValueException;
/**
+ * Workflow tasks can fail for various reasons. Note that some of these reasons can only originate
+ * from the server, and some of them can only originate from the SDK/worker.
+ *
* Protobuf type temporal.api.enums.v1.WorkflowTaskFailedCause
*/
class WorkflowTaskFailedCause
@@ -16,6 +19,10 @@ class WorkflowTaskFailedCause
*/
const WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED = 0;
/**
+ * Between starting and completing the workflow task (with a workflow completion command), some
+ * new command (like a signal) was processed into workflow history. The outstanding task will be
+ * failed with this reason, and a worker must pick up a new task.
+ *
* Generated from protobuf enum WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND = 1;
*/
const WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND = 1;
@@ -64,6 +71,9 @@ class WorkflowTaskFailedCause
*/
const WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID = 12;
/**
+ * The worker wishes to fail the task and have the next one be generated on a normal, not sticky
+ * queue. Generally workers should prefer to use the explicit `ResetStickyTaskQueue` RPC call.
+ *
* Generated from protobuf enum WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE = 13;
*/
const WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE = 13;
@@ -107,6 +117,13 @@ class WorkflowTaskFailedCause
* Generated from protobuf enum WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES = 23;
*/
const WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES = 23;
+ /**
+ * The worker encountered a mismatch while replaying history between what was expected, and
+ * what the workflow code actually did.
+ *
+ * Generated from protobuf enum WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR = 24;
+ */
+ const WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR = 24;
private static $valueToName = [
self::WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED => 'WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED',
@@ -133,6 +150,7 @@ class WorkflowTaskFailedCause
self::WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY => 'WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY',
self::WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID => 'WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID',
self::WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES => 'WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES',
+ self::WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR => 'WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR',
];
public static function name($value)
diff --git a/api/Temporal/Api/Errordetails/V1/CancellationAlreadyRequestedFailure.php b/api/v1/Temporal/Api/Errordetails/V1/CancellationAlreadyRequestedFailure.php
similarity index 100%
rename from api/Temporal/Api/Errordetails/V1/CancellationAlreadyRequestedFailure.php
rename to api/v1/Temporal/Api/Errordetails/V1/CancellationAlreadyRequestedFailure.php
diff --git a/api/Temporal/Api/Errordetails/V1/ClientVersionNotSupportedFailure.php b/api/v1/Temporal/Api/Errordetails/V1/ClientVersionNotSupportedFailure.php
similarity index 100%
rename from api/Temporal/Api/Errordetails/V1/ClientVersionNotSupportedFailure.php
rename to api/v1/Temporal/Api/Errordetails/V1/ClientVersionNotSupportedFailure.php
diff --git a/api/Temporal/Api/Errordetails/V1/NamespaceAlreadyExistsFailure.php b/api/v1/Temporal/Api/Errordetails/V1/NamespaceAlreadyExistsFailure.php
similarity index 100%
rename from api/Temporal/Api/Errordetails/V1/NamespaceAlreadyExistsFailure.php
rename to api/v1/Temporal/Api/Errordetails/V1/NamespaceAlreadyExistsFailure.php
diff --git a/api/Temporal/Api/Errordetails/V1/NamespaceNotActiveFailure.php b/api/v1/Temporal/Api/Errordetails/V1/NamespaceNotActiveFailure.php
similarity index 100%
rename from api/Temporal/Api/Errordetails/V1/NamespaceNotActiveFailure.php
rename to api/v1/Temporal/Api/Errordetails/V1/NamespaceNotActiveFailure.php
diff --git a/api/Temporal/Api/Errordetails/V1/NotFoundFailure.php b/api/v1/Temporal/Api/Errordetails/V1/NotFoundFailure.php
similarity index 100%
rename from api/Temporal/Api/Errordetails/V1/NotFoundFailure.php
rename to api/v1/Temporal/Api/Errordetails/V1/NotFoundFailure.php
diff --git a/api/v1/Temporal/Api/Errordetails/V1/PermissionDeniedFailure.php b/api/v1/Temporal/Api/Errordetails/V1/PermissionDeniedFailure.php
new file mode 100644
index 000000000..10f899d00
--- /dev/null
+++ b/api/v1/Temporal/Api/Errordetails/V1/PermissionDeniedFailure.php
@@ -0,0 +1,58 @@
+temporal.api.errordetails.v1.PermissionDeniedFailure
+ */
+class PermissionDeniedFailure extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Generated from protobuf field string reason = 1;
+ */
+ protected $reason = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $reason
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Temporal\Api\Errordetails\V1\Message::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Generated from protobuf field string reason = 1;
+ * @return string
+ */
+ public function getReason()
+ {
+ return $this->reason;
+ }
+
+ /**
+ * Generated from protobuf field string reason = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setReason($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->reason = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/api/Temporal/Api/Errordetails/V1/QueryFailedFailure.php b/api/v1/Temporal/Api/Errordetails/V1/QueryFailedFailure.php
similarity index 100%
rename from api/Temporal/Api/Errordetails/V1/QueryFailedFailure.php
rename to api/v1/Temporal/Api/Errordetails/V1/QueryFailedFailure.php
diff --git a/api/Temporal/Api/Filter/V1/StatusFilter.php b/api/v1/Temporal/Api/Errordetails/V1/ResourceExhaustedFailure.php
similarity index 51%
rename from api/Temporal/Api/Filter/V1/StatusFilter.php
rename to api/v1/Temporal/Api/Errordetails/V1/ResourceExhaustedFailure.php
index 4215e57ed..c333d80ce 100644
--- a/api/Temporal/Api/Filter/V1/StatusFilter.php
+++ b/api/v1/Temporal/Api/Errordetails/V1/ResourceExhaustedFailure.php
@@ -1,22 +1,22 @@
temporal.api.filter.v1.StatusFilter
+ * Generated from protobuf message temporal.api.errordetails.v1.ResourceExhaustedFailure
*/
-class StatusFilter extends \Google\Protobuf\Internal\Message
+class ResourceExhaustedFailure extends \Google\Protobuf\Internal\Message
{
/**
- * Generated from protobuf field .temporal.api.enums.v1.WorkflowExecutionStatus status = 1;
+ * Generated from protobuf field .temporal.api.enums.v1.ResourceExhaustedCause cause = 1;
*/
- protected $status = 0;
+ protected $cause = 0;
/**
* Constructor.
@@ -24,32 +24,32 @@ class StatusFilter extends \Google\Protobuf\Internal\Message
* @param array $data {
* Optional. Data for populating the Message object.
*
- * @type int $status
+ * @type int $cause
* }
*/
public function __construct($data = NULL) {
- \GPBMetadata\Temporal\Api\Filter\V1\Message::initOnce();
+ \GPBMetadata\Temporal\Api\Errordetails\V1\Message::initOnce();
parent::__construct($data);
}
/**
- * Generated from protobuf field .temporal.api.enums.v1.WorkflowExecutionStatus status = 1;
+ * Generated from protobuf field .temporal.api.enums.v1.ResourceExhaustedCause cause = 1;
* @return int
*/
- public function getStatus()
+ public function getCause()
{
- return $this->status;
+ return $this->cause;
}
/**
- * Generated from protobuf field .temporal.api.enums.v1.WorkflowExecutionStatus status = 1;
+ * Generated from protobuf field .temporal.api.enums.v1.ResourceExhaustedCause cause = 1;
* @param int $var
* @return $this
*/
- public function setStatus($var)
+ public function setCause($var)
{
- GPBUtil::checkEnum($var, \Temporal\Api\Enums\V1\WorkflowExecutionStatus::class);
- $this->status = $var;
+ GPBUtil::checkEnum($var, \Temporal\Api\Enums\V1\ResourceExhaustedCause::class);
+ $this->cause = $var;
return $this;
}
diff --git a/api/Temporal/Api/Errordetails/V1/ServerVersionNotSupportedFailure.php b/api/v1/Temporal/Api/Errordetails/V1/ServerVersionNotSupportedFailure.php
similarity index 100%
rename from api/Temporal/Api/Errordetails/V1/ServerVersionNotSupportedFailure.php
rename to api/v1/Temporal/Api/Errordetails/V1/ServerVersionNotSupportedFailure.php
diff --git a/api/v1/Temporal/Api/Errordetails/V1/SystemWorkflowFailure.php b/api/v1/Temporal/Api/Errordetails/V1/SystemWorkflowFailure.php
new file mode 100644
index 000000000..8478c5d61
--- /dev/null
+++ b/api/v1/Temporal/Api/Errordetails/V1/SystemWorkflowFailure.php
@@ -0,0 +1,113 @@
+temporal.api.errordetails.v1.SystemWorkflowFailure
+ */
+class SystemWorkflowFailure extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * WorkflowId and RunId of the Temporal system workflow performing the underlying operation.
+ * Looking up the info of the system workflow run may help identify the issue causing the failure.
+ *
+ * Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 1;
+ */
+ protected $workflow_execution = null;
+ /**
+ * Serialized error returned by the system workflow performing the underlying operation.
+ *
+ * Generated from protobuf field string workflow_error = 2;
+ */
+ protected $workflow_error = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Temporal\Api\Common\V1\WorkflowExecution $workflow_execution
+ * WorkflowId and RunId of the Temporal system workflow performing the underlying operation.
+ * Looking up the info of the system workflow run may help identify the issue causing the failure.
+ * @type string $workflow_error
+ * Serialized error returned by the system workflow performing the underlying operation.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Temporal\Api\Errordetails\V1\Message::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * WorkflowId and RunId of the Temporal system workflow performing the underlying operation.
+ * Looking up the info of the system workflow run may help identify the issue causing the failure.
+ *
+ * Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 1;
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
+ */
+ public function getWorkflowExecution()
+ {
+ return $this->workflow_execution;
+ }
+
+ public function hasWorkflowExecution()
+ {
+ return isset($this->workflow_execution);
+ }
+
+ public function clearWorkflowExecution()
+ {
+ unset($this->workflow_execution);
+ }
+
+ /**
+ * WorkflowId and RunId of the Temporal system workflow performing the underlying operation.
+ * Looking up the info of the system workflow run may help identify the issue causing the failure.
+ *
+ * Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 1;
+ * @param \Temporal\Api\Common\V1\WorkflowExecution $var
+ * @return $this
+ */
+ public function setWorkflowExecution($var)
+ {
+ GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\WorkflowExecution::class);
+ $this->workflow_execution = $var;
+
+ return $this;
+ }
+
+ /**
+ * Serialized error returned by the system workflow performing the underlying operation.
+ *
+ * Generated from protobuf field string workflow_error = 2;
+ * @return string
+ */
+ public function getWorkflowError()
+ {
+ return $this->workflow_error;
+ }
+
+ /**
+ * Serialized error returned by the system workflow performing the underlying operation.
+ *
+ * Generated from protobuf field string workflow_error = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setWorkflowError($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->workflow_error = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/api/Temporal/Api/Errordetails/V1/WorkflowExecutionAlreadyStartedFailure.php b/api/v1/Temporal/Api/Errordetails/V1/WorkflowExecutionAlreadyStartedFailure.php
similarity index 100%
rename from api/Temporal/Api/Errordetails/V1/WorkflowExecutionAlreadyStartedFailure.php
rename to api/v1/Temporal/Api/Errordetails/V1/WorkflowExecutionAlreadyStartedFailure.php
diff --git a/api/Temporal/Api/Failure/V1/ActivityFailureInfo.php b/api/v1/Temporal/Api/Failure/V1/ActivityFailureInfo.php
similarity index 97%
rename from api/Temporal/Api/Failure/V1/ActivityFailureInfo.php
rename to api/v1/Temporal/Api/Failure/V1/ActivityFailureInfo.php
index 44d177854..c3c860292 100644
--- a/api/Temporal/Api/Failure/V1/ActivityFailureInfo.php
+++ b/api/v1/Temporal/Api/Failure/V1/ActivityFailureInfo.php
@@ -125,11 +125,11 @@ public function setIdentity($var)
/**
* Generated from protobuf field .temporal.api.common.v1.ActivityType activity_type = 4;
- * @return \Temporal\Api\Common\V1\ActivityType
+ * @return \Temporal\Api\Common\V1\ActivityType|null
*/
public function getActivityType()
{
- return isset($this->activity_type) ? $this->activity_type : null;
+ return $this->activity_type;
}
public function hasActivityType()
diff --git a/api/Temporal/Api/Failure/V1/ApplicationFailureInfo.php b/api/v1/Temporal/Api/Failure/V1/ApplicationFailureInfo.php
similarity index 96%
rename from api/Temporal/Api/Failure/V1/ApplicationFailureInfo.php
rename to api/v1/Temporal/Api/Failure/V1/ApplicationFailureInfo.php
index 0e2213561..50dd7c879 100644
--- a/api/Temporal/Api/Failure/V1/ApplicationFailureInfo.php
+++ b/api/v1/Temporal/Api/Failure/V1/ApplicationFailureInfo.php
@@ -88,11 +88,11 @@ public function setNonRetryable($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 3;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getDetails()
{
- return isset($this->details) ? $this->details : null;
+ return $this->details;
}
public function hasDetails()
diff --git a/api/Temporal/Api/Failure/V1/CanceledFailureInfo.php b/api/v1/Temporal/Api/Failure/V1/CanceledFailureInfo.php
similarity index 93%
rename from api/Temporal/Api/Failure/V1/CanceledFailureInfo.php
rename to api/v1/Temporal/Api/Failure/V1/CanceledFailureInfo.php
index 952c62c78..8e8296d8e 100644
--- a/api/Temporal/Api/Failure/V1/CanceledFailureInfo.php
+++ b/api/v1/Temporal/Api/Failure/V1/CanceledFailureInfo.php
@@ -34,11 +34,11 @@ public function __construct($data = NULL) {
/**
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 1;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getDetails()
{
- return isset($this->details) ? $this->details : null;
+ return $this->details;
}
public function hasDetails()
diff --git a/api/Temporal/Api/Failure/V1/ChildWorkflowExecutionFailureInfo.php b/api/v1/Temporal/Api/Failure/V1/ChildWorkflowExecutionFailureInfo.php
similarity index 95%
rename from api/Temporal/Api/Failure/V1/ChildWorkflowExecutionFailureInfo.php
rename to api/v1/Temporal/Api/Failure/V1/ChildWorkflowExecutionFailureInfo.php
index 0dd0d9e5a..d15d2f2bd 100644
--- a/api/Temporal/Api/Failure/V1/ChildWorkflowExecutionFailureInfo.php
+++ b/api/v1/Temporal/Api/Failure/V1/ChildWorkflowExecutionFailureInfo.php
@@ -81,11 +81,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getWorkflowExecution()
{
- return isset($this->workflow_execution) ? $this->workflow_execution : null;
+ return $this->workflow_execution;
}
public function hasWorkflowExecution()
@@ -113,11 +113,11 @@ public function setWorkflowExecution($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 3;
- * @return \Temporal\Api\Common\V1\WorkflowType
+ * @return \Temporal\Api\Common\V1\WorkflowType|null
*/
public function getWorkflowType()
{
- return isset($this->workflow_type) ? $this->workflow_type : null;
+ return $this->workflow_type;
}
public function hasWorkflowType()
diff --git a/api/Temporal/Api/Failure/V1/Failure.php b/api/v1/Temporal/Api/Failure/V1/Failure.php
similarity index 95%
rename from api/Temporal/Api/Failure/V1/Failure.php
rename to api/v1/Temporal/Api/Failure/V1/Failure.php
index d24ab1a5c..5562372f4 100644
--- a/api/Temporal/Api/Failure/V1/Failure.php
+++ b/api/v1/Temporal/Api/Failure/V1/Failure.php
@@ -124,11 +124,11 @@ public function setStackTrace($var)
/**
* Generated from protobuf field .temporal.api.failure.v1.Failure cause = 4;
- * @return \Temporal\Api\Failure\V1\Failure
+ * @return \Temporal\Api\Failure\V1\Failure|null
*/
public function getCause()
{
- return isset($this->cause) ? $this->cause : null;
+ return $this->cause;
}
public function hasCause()
@@ -156,7 +156,7 @@ public function setCause($var)
/**
* Generated from protobuf field .temporal.api.failure.v1.ApplicationFailureInfo application_failure_info = 5;
- * @return \Temporal\Api\Failure\V1\ApplicationFailureInfo
+ * @return \Temporal\Api\Failure\V1\ApplicationFailureInfo|null
*/
public function getApplicationFailureInfo()
{
@@ -183,7 +183,7 @@ public function setApplicationFailureInfo($var)
/**
* Generated from protobuf field .temporal.api.failure.v1.TimeoutFailureInfo timeout_failure_info = 6;
- * @return \Temporal\Api\Failure\V1\TimeoutFailureInfo
+ * @return \Temporal\Api\Failure\V1\TimeoutFailureInfo|null
*/
public function getTimeoutFailureInfo()
{
@@ -210,7 +210,7 @@ public function setTimeoutFailureInfo($var)
/**
* Generated from protobuf field .temporal.api.failure.v1.CanceledFailureInfo canceled_failure_info = 7;
- * @return \Temporal\Api\Failure\V1\CanceledFailureInfo
+ * @return \Temporal\Api\Failure\V1\CanceledFailureInfo|null
*/
public function getCanceledFailureInfo()
{
@@ -237,7 +237,7 @@ public function setCanceledFailureInfo($var)
/**
* Generated from protobuf field .temporal.api.failure.v1.TerminatedFailureInfo terminated_failure_info = 8;
- * @return \Temporal\Api\Failure\V1\TerminatedFailureInfo
+ * @return \Temporal\Api\Failure\V1\TerminatedFailureInfo|null
*/
public function getTerminatedFailureInfo()
{
@@ -264,7 +264,7 @@ public function setTerminatedFailureInfo($var)
/**
* Generated from protobuf field .temporal.api.failure.v1.ServerFailureInfo server_failure_info = 9;
- * @return \Temporal\Api\Failure\V1\ServerFailureInfo
+ * @return \Temporal\Api\Failure\V1\ServerFailureInfo|null
*/
public function getServerFailureInfo()
{
@@ -291,7 +291,7 @@ public function setServerFailureInfo($var)
/**
* Generated from protobuf field .temporal.api.failure.v1.ResetWorkflowFailureInfo reset_workflow_failure_info = 10;
- * @return \Temporal\Api\Failure\V1\ResetWorkflowFailureInfo
+ * @return \Temporal\Api\Failure\V1\ResetWorkflowFailureInfo|null
*/
public function getResetWorkflowFailureInfo()
{
@@ -318,7 +318,7 @@ public function setResetWorkflowFailureInfo($var)
/**
* Generated from protobuf field .temporal.api.failure.v1.ActivityFailureInfo activity_failure_info = 11;
- * @return \Temporal\Api\Failure\V1\ActivityFailureInfo
+ * @return \Temporal\Api\Failure\V1\ActivityFailureInfo|null
*/
public function getActivityFailureInfo()
{
@@ -345,7 +345,7 @@ public function setActivityFailureInfo($var)
/**
* Generated from protobuf field .temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo child_workflow_execution_failure_info = 12;
- * @return \Temporal\Api\Failure\V1\ChildWorkflowExecutionFailureInfo
+ * @return \Temporal\Api\Failure\V1\ChildWorkflowExecutionFailureInfo|null
*/
public function getChildWorkflowExecutionFailureInfo()
{
diff --git a/api/Temporal/Api/Failure/V1/ResetWorkflowFailureInfo.php b/api/v1/Temporal/Api/Failure/V1/ResetWorkflowFailureInfo.php
similarity index 92%
rename from api/Temporal/Api/Failure/V1/ResetWorkflowFailureInfo.php
rename to api/v1/Temporal/Api/Failure/V1/ResetWorkflowFailureInfo.php
index 72e659dad..ccb030183 100644
--- a/api/Temporal/Api/Failure/V1/ResetWorkflowFailureInfo.php
+++ b/api/v1/Temporal/Api/Failure/V1/ResetWorkflowFailureInfo.php
@@ -34,11 +34,11 @@ public function __construct($data = NULL) {
/**
* Generated from protobuf field .temporal.api.common.v1.Payloads last_heartbeat_details = 1;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getLastHeartbeatDetails()
{
- return isset($this->last_heartbeat_details) ? $this->last_heartbeat_details : null;
+ return $this->last_heartbeat_details;
}
public function hasLastHeartbeatDetails()
diff --git a/api/Temporal/Api/Failure/V1/ServerFailureInfo.php b/api/v1/Temporal/Api/Failure/V1/ServerFailureInfo.php
similarity index 100%
rename from api/Temporal/Api/Failure/V1/ServerFailureInfo.php
rename to api/v1/Temporal/Api/Failure/V1/ServerFailureInfo.php
diff --git a/api/Temporal/Api/Failure/V1/TerminatedFailureInfo.php b/api/v1/Temporal/Api/Failure/V1/TerminatedFailureInfo.php
similarity index 100%
rename from api/Temporal/Api/Failure/V1/TerminatedFailureInfo.php
rename to api/v1/Temporal/Api/Failure/V1/TerminatedFailureInfo.php
diff --git a/api/Temporal/Api/Failure/V1/TimeoutFailureInfo.php b/api/v1/Temporal/Api/Failure/V1/TimeoutFailureInfo.php
similarity index 94%
rename from api/Temporal/Api/Failure/V1/TimeoutFailureInfo.php
rename to api/v1/Temporal/Api/Failure/V1/TimeoutFailureInfo.php
index abe62d8cb..65f726d03 100644
--- a/api/Temporal/Api/Failure/V1/TimeoutFailureInfo.php
+++ b/api/v1/Temporal/Api/Failure/V1/TimeoutFailureInfo.php
@@ -61,11 +61,11 @@ public function setTimeoutType($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Payloads last_heartbeat_details = 2;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getLastHeartbeatDetails()
{
- return isset($this->last_heartbeat_details) ? $this->last_heartbeat_details : null;
+ return $this->last_heartbeat_details;
}
public function hasLastHeartbeatDetails()
diff --git a/api/Temporal/Api/History/V1/ActivityTaskCancelRequestedEventAttributes.php b/api/v1/Temporal/Api/History/V1/ActivityTaskCancelRequestedEventAttributes.php
similarity index 76%
rename from api/Temporal/Api/History/V1/ActivityTaskCancelRequestedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/ActivityTaskCancelRequestedEventAttributes.php
index f4f6d785e..cf368d0d9 100644
--- a/api/Temporal/Api/History/V1/ActivityTaskCancelRequestedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/ActivityTaskCancelRequestedEventAttributes.php
@@ -14,10 +14,14 @@
class ActivityTaskCancelRequestedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this cancel request corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 1;
*/
protected $scheduled_event_id = 0;
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 2;
*/
protected $workflow_task_completed_event_id = 0;
@@ -29,7 +33,9 @@ class ActivityTaskCancelRequestedEventAttributes extends \Google\Protobuf\Intern
* Optional. Data for populating the Message object.
*
* @type int|string $scheduled_event_id
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this cancel request corresponds to
* @type int|string $workflow_task_completed_event_id
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
* }
*/
public function __construct($data = NULL) {
@@ -38,6 +44,8 @@ public function __construct($data = NULL) {
}
/**
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this cancel request corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 1;
* @return int|string
*/
@@ -47,6 +55,8 @@ public function getScheduledEventId()
}
/**
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this cancel request corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 1;
* @param int|string $var
* @return $this
@@ -60,6 +70,8 @@ public function setScheduledEventId($var)
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 2;
* @return int|string
*/
@@ -69,6 +81,8 @@ public function getWorkflowTaskCompletedEventId()
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 2;
* @param int|string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/ActivityTaskCanceledEventAttributes.php b/api/v1/Temporal/Api/History/V1/ActivityTaskCanceledEventAttributes.php
similarity index 69%
rename from api/Temporal/Api/History/V1/ActivityTaskCanceledEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/ActivityTaskCanceledEventAttributes.php
index 881e93385..3dfcc1cc1 100644
--- a/api/Temporal/Api/History/V1/ActivityTaskCanceledEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/ActivityTaskCanceledEventAttributes.php
@@ -14,22 +14,33 @@
class ActivityTaskCanceledEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * Additional information that the activity reported upon confirming cancellation
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 1;
*/
protected $details = null;
/**
+ * id of the most recent `ACTIVITY_TASK_CANCEL_REQUESTED` event which refers to the same
+ * activity
+ *
* Generated from protobuf field int64 latest_cancel_requested_event_id = 2;
*/
protected $latest_cancel_requested_event_id = 0;
/**
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this cancel confirmation corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 3;
*/
protected $scheduled_event_id = 0;
/**
+ * The id of the `ACTIVITY_TASK_STARTED` event this cancel confirmation corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 4;
*/
protected $started_event_id = 0;
/**
+ * id of the worker who canceled this activity
+ *
* Generated from protobuf field string identity = 5;
*/
protected $identity = '';
@@ -41,10 +52,16 @@ class ActivityTaskCanceledEventAttributes extends \Google\Protobuf\Internal\Mess
* Optional. Data for populating the Message object.
*
* @type \Temporal\Api\Common\V1\Payloads $details
+ * Additional information that the activity reported upon confirming cancellation
* @type int|string $latest_cancel_requested_event_id
+ * id of the most recent `ACTIVITY_TASK_CANCEL_REQUESTED` event which refers to the same
+ * activity
* @type int|string $scheduled_event_id
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this cancel confirmation corresponds to
* @type int|string $started_event_id
+ * The id of the `ACTIVITY_TASK_STARTED` event this cancel confirmation corresponds to
* @type string $identity
+ * id of the worker who canceled this activity
* }
*/
public function __construct($data = NULL) {
@@ -53,12 +70,14 @@ public function __construct($data = NULL) {
}
/**
+ * Additional information that the activity reported upon confirming cancellation
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 1;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getDetails()
{
- return isset($this->details) ? $this->details : null;
+ return $this->details;
}
public function hasDetails()
@@ -72,6 +91,8 @@ public function clearDetails()
}
/**
+ * Additional information that the activity reported upon confirming cancellation
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 1;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -85,6 +106,9 @@ public function setDetails($var)
}
/**
+ * id of the most recent `ACTIVITY_TASK_CANCEL_REQUESTED` event which refers to the same
+ * activity
+ *
* Generated from protobuf field int64 latest_cancel_requested_event_id = 2;
* @return int|string
*/
@@ -94,6 +118,9 @@ public function getLatestCancelRequestedEventId()
}
/**
+ * id of the most recent `ACTIVITY_TASK_CANCEL_REQUESTED` event which refers to the same
+ * activity
+ *
* Generated from protobuf field int64 latest_cancel_requested_event_id = 2;
* @param int|string $var
* @return $this
@@ -107,6 +134,8 @@ public function setLatestCancelRequestedEventId($var)
}
/**
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this cancel confirmation corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 3;
* @return int|string
*/
@@ -116,6 +145,8 @@ public function getScheduledEventId()
}
/**
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this cancel confirmation corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 3;
* @param int|string $var
* @return $this
@@ -129,6 +160,8 @@ public function setScheduledEventId($var)
}
/**
+ * The id of the `ACTIVITY_TASK_STARTED` event this cancel confirmation corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 4;
* @return int|string
*/
@@ -138,6 +171,8 @@ public function getStartedEventId()
}
/**
+ * The id of the `ACTIVITY_TASK_STARTED` event this cancel confirmation corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 4;
* @param int|string $var
* @return $this
@@ -151,6 +186,8 @@ public function setStartedEventId($var)
}
/**
+ * id of the worker who canceled this activity
+ *
* Generated from protobuf field string identity = 5;
* @return string
*/
@@ -160,6 +197,8 @@ public function getIdentity()
}
/**
+ * id of the worker who canceled this activity
+ *
* Generated from protobuf field string identity = 5;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/ActivityTaskCompletedEventAttributes.php b/api/v1/Temporal/Api/History/V1/ActivityTaskCompletedEventAttributes.php
similarity index 72%
rename from api/Temporal/Api/History/V1/ActivityTaskCompletedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/ActivityTaskCompletedEventAttributes.php
index 67442e5b1..97fac6640 100644
--- a/api/Temporal/Api/History/V1/ActivityTaskCompletedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/ActivityTaskCompletedEventAttributes.php
@@ -14,18 +14,26 @@
class ActivityTaskCompletedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * Serialized results of the activity. IE: The return value of the activity function
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads result = 1;
*/
protected $result = null;
/**
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this completion corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 2;
*/
protected $scheduled_event_id = 0;
/**
+ * The id of the `ACTIVITY_TASK_STARTED` event this completion corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 3;
*/
protected $started_event_id = 0;
/**
+ * id of the worker that completed this task
+ *
* Generated from protobuf field string identity = 4;
*/
protected $identity = '';
@@ -37,9 +45,13 @@ class ActivityTaskCompletedEventAttributes extends \Google\Protobuf\Internal\Mes
* Optional. Data for populating the Message object.
*
* @type \Temporal\Api\Common\V1\Payloads $result
+ * Serialized results of the activity. IE: The return value of the activity function
* @type int|string $scheduled_event_id
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this completion corresponds to
* @type int|string $started_event_id
+ * The id of the `ACTIVITY_TASK_STARTED` event this completion corresponds to
* @type string $identity
+ * id of the worker that completed this task
* }
*/
public function __construct($data = NULL) {
@@ -48,12 +60,14 @@ public function __construct($data = NULL) {
}
/**
+ * Serialized results of the activity. IE: The return value of the activity function
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads result = 1;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getResult()
{
- return isset($this->result) ? $this->result : null;
+ return $this->result;
}
public function hasResult()
@@ -67,6 +81,8 @@ public function clearResult()
}
/**
+ * Serialized results of the activity. IE: The return value of the activity function
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads result = 1;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -80,6 +96,8 @@ public function setResult($var)
}
/**
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this completion corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 2;
* @return int|string
*/
@@ -89,6 +107,8 @@ public function getScheduledEventId()
}
/**
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this completion corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 2;
* @param int|string $var
* @return $this
@@ -102,6 +122,8 @@ public function setScheduledEventId($var)
}
/**
+ * The id of the `ACTIVITY_TASK_STARTED` event this completion corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 3;
* @return int|string
*/
@@ -111,6 +133,8 @@ public function getStartedEventId()
}
/**
+ * The id of the `ACTIVITY_TASK_STARTED` event this completion corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 3;
* @param int|string $var
* @return $this
@@ -124,6 +148,8 @@ public function setStartedEventId($var)
}
/**
+ * id of the worker that completed this task
+ *
* Generated from protobuf field string identity = 4;
* @return string
*/
@@ -133,6 +159,8 @@ public function getIdentity()
}
/**
+ * id of the worker that completed this task
+ *
* Generated from protobuf field string identity = 4;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/ActivityTaskFailedEventAttributes.php b/api/v1/Temporal/Api/History/V1/ActivityTaskFailedEventAttributes.php
similarity index 79%
rename from api/Temporal/Api/History/V1/ActivityTaskFailedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/ActivityTaskFailedEventAttributes.php
index a8ce347d0..af6420731 100644
--- a/api/Temporal/Api/History/V1/ActivityTaskFailedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/ActivityTaskFailedEventAttributes.php
@@ -14,18 +14,26 @@
class ActivityTaskFailedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * Failure details
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 1;
*/
protected $failure = null;
/**
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this failure corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 2;
*/
protected $scheduled_event_id = 0;
/**
+ * The id of the `ACTIVITY_TASK_STARTED` event this failure corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 3;
*/
protected $started_event_id = 0;
/**
+ * id of the worker that failed this task
+ *
* Generated from protobuf field string identity = 4;
*/
protected $identity = '';
@@ -41,9 +49,13 @@ class ActivityTaskFailedEventAttributes extends \Google\Protobuf\Internal\Messag
* Optional. Data for populating the Message object.
*
* @type \Temporal\Api\Failure\V1\Failure $failure
+ * Failure details
* @type int|string $scheduled_event_id
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this failure corresponds to
* @type int|string $started_event_id
+ * The id of the `ACTIVITY_TASK_STARTED` event this failure corresponds to
* @type string $identity
+ * id of the worker that failed this task
* @type int $retry_state
* }
*/
@@ -53,12 +65,14 @@ public function __construct($data = NULL) {
}
/**
+ * Failure details
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 1;
- * @return \Temporal\Api\Failure\V1\Failure
+ * @return \Temporal\Api\Failure\V1\Failure|null
*/
public function getFailure()
{
- return isset($this->failure) ? $this->failure : null;
+ return $this->failure;
}
public function hasFailure()
@@ -72,6 +86,8 @@ public function clearFailure()
}
/**
+ * Failure details
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 1;
* @param \Temporal\Api\Failure\V1\Failure $var
* @return $this
@@ -85,6 +101,8 @@ public function setFailure($var)
}
/**
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this failure corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 2;
* @return int|string
*/
@@ -94,6 +112,8 @@ public function getScheduledEventId()
}
/**
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this failure corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 2;
* @param int|string $var
* @return $this
@@ -107,6 +127,8 @@ public function setScheduledEventId($var)
}
/**
+ * The id of the `ACTIVITY_TASK_STARTED` event this failure corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 3;
* @return int|string
*/
@@ -116,6 +138,8 @@ public function getStartedEventId()
}
/**
+ * The id of the `ACTIVITY_TASK_STARTED` event this failure corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 3;
* @param int|string $var
* @return $this
@@ -129,6 +153,8 @@ public function setStartedEventId($var)
}
/**
+ * id of the worker that failed this task
+ *
* Generated from protobuf field string identity = 4;
* @return string
*/
@@ -138,6 +164,8 @@ public function getIdentity()
}
/**
+ * id of the worker that failed this task
+ *
* Generated from protobuf field string identity = 4;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/ActivityTaskScheduledEventAttributes.php b/api/v1/Temporal/Api/History/V1/ActivityTaskScheduledEventAttributes.php
similarity index 74%
rename from api/Temporal/Api/History/V1/ActivityTaskScheduledEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/ActivityTaskScheduledEventAttributes.php
index 4e157ed72..91d6fc0f9 100644
--- a/api/Temporal/Api/History/V1/ActivityTaskScheduledEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/ActivityTaskScheduledEventAttributes.php
@@ -14,6 +14,8 @@
class ActivityTaskScheduledEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * The worker/user assigned identifier for the activity
+ *
* Generated from protobuf field string activity_id = 1;
*/
protected $activity_id = '';
@@ -38,47 +40,51 @@ class ActivityTaskScheduledEventAttributes extends \Google\Protobuf\Internal\Mes
*/
protected $input = null;
/**
+ * Indicates how long the caller is willing to wait for an activity completion. Limits how long
+ * retries will be attempted. Either this or `start_to_close_timeout` must be specified.
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Indicates how long the caller is willing to wait for an activity completion.
- * Limits for how long retries are happening. Either this or start_to_close_timeout_seconds must be specified.
*
* Generated from protobuf field .google.protobuf.Duration schedule_to_close_timeout = 7 [(.gogoproto.stdduration) = true];
*/
protected $schedule_to_close_timeout = null;
/**
+ * Limits time an activity task can stay in a task queue before a worker picks it up. This
+ * timeout is always non retryable, as all a retry would achieve is to put it back into the same
+ * queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not
+ * specified.
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Limits time an activity task can stay in a task queue before a worker picks it up.
- * This timeout is always non retryable as all a retry would achieve is to put it back into the same queue.
- * Defaults to schedule_to_close_timeout_seconds or workflow execution timeout if not specified.
*
* Generated from protobuf field .google.protobuf.Duration schedule_to_start_timeout = 8 [(.gogoproto.stdduration) = true];
*/
protected $schedule_to_start_timeout = null;
/**
+ * Maximum time an activity is allowed to execute after being picked up by a worker. This
+ * timeout is always retryable. Either this or `schedule_to_close_timeout` must be
+ * specified.
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Maximum time an activity is allowed to execute after a pick up by a worker.
- * This timeout is always retryable. Either this or schedule_to_close_timeout_seconds must be specified.
*
* Generated from protobuf field .google.protobuf.Duration start_to_close_timeout = 9 [(.gogoproto.stdduration) = true];
*/
protected $start_to_close_timeout = null;
/**
- * Maximum time between successful worker heartbeats.
+ * Maximum permitted time between successful worker heartbeats.
*
* Generated from protobuf field .google.protobuf.Duration heartbeat_timeout = 10 [(.gogoproto.stdduration) = true];
*/
protected $heartbeat_timeout = null;
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 11;
*/
protected $workflow_task_completed_event_id = 0;
/**
- * Activities are provided by a default retry policy controlled through the service dynamic configuration.
- * Retries are happening up to schedule_to_close_timeout.
- * To disable retries set retry_policy.maximum_attempts to 1.
+ * Activities are assigned a default retry policy controlled by the service's dynamic
+ * configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set
+ * retry_policy.maximum_attempts to 1.
*
* Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 12;
*/
@@ -91,34 +97,38 @@ class ActivityTaskScheduledEventAttributes extends \Google\Protobuf\Internal\Mes
* Optional. Data for populating the Message object.
*
* @type string $activity_id
+ * The worker/user assigned identifier for the activity
* @type \Temporal\Api\Common\V1\ActivityType $activity_type
* @type string $namespace
* @type \Temporal\Api\Taskqueue\V1\TaskQueue $task_queue
* @type \Temporal\Api\Common\V1\Header $header
* @type \Temporal\Api\Common\V1\Payloads $input
* @type \Google\Protobuf\Duration $schedule_to_close_timeout
+ * Indicates how long the caller is willing to wait for an activity completion. Limits how long
+ * retries will be attempted. Either this or `start_to_close_timeout` must be specified.
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Indicates how long the caller is willing to wait for an activity completion.
- * Limits for how long retries are happening. Either this or start_to_close_timeout_seconds must be specified.
* @type \Google\Protobuf\Duration $schedule_to_start_timeout
+ * Limits time an activity task can stay in a task queue before a worker picks it up. This
+ * timeout is always non retryable, as all a retry would achieve is to put it back into the same
+ * queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not
+ * specified.
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Limits time an activity task can stay in a task queue before a worker picks it up.
- * This timeout is always non retryable as all a retry would achieve is to put it back into the same queue.
- * Defaults to schedule_to_close_timeout_seconds or workflow execution timeout if not specified.
* @type \Google\Protobuf\Duration $start_to_close_timeout
+ * Maximum time an activity is allowed to execute after being picked up by a worker. This
+ * timeout is always retryable. Either this or `schedule_to_close_timeout` must be
+ * specified.
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Maximum time an activity is allowed to execute after a pick up by a worker.
- * This timeout is always retryable. Either this or schedule_to_close_timeout_seconds must be specified.
* @type \Google\Protobuf\Duration $heartbeat_timeout
- * Maximum time between successful worker heartbeats.
+ * Maximum permitted time between successful worker heartbeats.
* @type int|string $workflow_task_completed_event_id
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
* @type \Temporal\Api\Common\V1\RetryPolicy $retry_policy
- * Activities are provided by a default retry policy controlled through the service dynamic configuration.
- * Retries are happening up to schedule_to_close_timeout.
- * To disable retries set retry_policy.maximum_attempts to 1.
+ * Activities are assigned a default retry policy controlled by the service's dynamic
+ * configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set
+ * retry_policy.maximum_attempts to 1.
* }
*/
public function __construct($data = NULL) {
@@ -127,6 +137,8 @@ public function __construct($data = NULL) {
}
/**
+ * The worker/user assigned identifier for the activity
+ *
* Generated from protobuf field string activity_id = 1;
* @return string
*/
@@ -136,6 +148,8 @@ public function getActivityId()
}
/**
+ * The worker/user assigned identifier for the activity
+ *
* Generated from protobuf field string activity_id = 1;
* @param string $var
* @return $this
@@ -150,11 +164,11 @@ public function setActivityId($var)
/**
* Generated from protobuf field .temporal.api.common.v1.ActivityType activity_type = 2;
- * @return \Temporal\Api\Common\V1\ActivityType
+ * @return \Temporal\Api\Common\V1\ActivityType|null
*/
public function getActivityType()
{
- return isset($this->activity_type) ? $this->activity_type : null;
+ return $this->activity_type;
}
public function hasActivityType()
@@ -204,11 +218,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
- * @return \Temporal\Api\Taskqueue\V1\TaskQueue
+ * @return \Temporal\Api\Taskqueue\V1\TaskQueue|null
*/
public function getTaskQueue()
{
- return isset($this->task_queue) ? $this->task_queue : null;
+ return $this->task_queue;
}
public function hasTaskQueue()
@@ -236,11 +250,11 @@ public function setTaskQueue($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Header header = 5;
- * @return \Temporal\Api\Common\V1\Header
+ * @return \Temporal\Api\Common\V1\Header|null
*/
public function getHeader()
{
- return isset($this->header) ? $this->header : null;
+ return $this->header;
}
public function hasHeader()
@@ -268,11 +282,11 @@ public function setHeader($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 6;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getInput()
{
- return isset($this->input) ? $this->input : null;
+ return $this->input;
}
public function hasInput()
@@ -299,17 +313,17 @@ public function setInput($var)
}
/**
+ * Indicates how long the caller is willing to wait for an activity completion. Limits how long
+ * retries will be attempted. Either this or `start_to_close_timeout` must be specified.
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Indicates how long the caller is willing to wait for an activity completion.
- * Limits for how long retries are happening. Either this or start_to_close_timeout_seconds must be specified.
*
* Generated from protobuf field .google.protobuf.Duration schedule_to_close_timeout = 7 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getScheduleToCloseTimeout()
{
- return isset($this->schedule_to_close_timeout) ? $this->schedule_to_close_timeout : null;
+ return $this->schedule_to_close_timeout;
}
public function hasScheduleToCloseTimeout()
@@ -323,10 +337,10 @@ public function clearScheduleToCloseTimeout()
}
/**
+ * Indicates how long the caller is willing to wait for an activity completion. Limits how long
+ * retries will be attempted. Either this or `start_to_close_timeout` must be specified.
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Indicates how long the caller is willing to wait for an activity completion.
- * Limits for how long retries are happening. Either this or start_to_close_timeout_seconds must be specified.
*
* Generated from protobuf field .google.protobuf.Duration schedule_to_close_timeout = 7 [(.gogoproto.stdduration) = true];
* @param \Google\Protobuf\Duration $var
@@ -341,18 +355,19 @@ public function setScheduleToCloseTimeout($var)
}
/**
+ * Limits time an activity task can stay in a task queue before a worker picks it up. This
+ * timeout is always non retryable, as all a retry would achieve is to put it back into the same
+ * queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not
+ * specified.
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Limits time an activity task can stay in a task queue before a worker picks it up.
- * This timeout is always non retryable as all a retry would achieve is to put it back into the same queue.
- * Defaults to schedule_to_close_timeout_seconds or workflow execution timeout if not specified.
*
* Generated from protobuf field .google.protobuf.Duration schedule_to_start_timeout = 8 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getScheduleToStartTimeout()
{
- return isset($this->schedule_to_start_timeout) ? $this->schedule_to_start_timeout : null;
+ return $this->schedule_to_start_timeout;
}
public function hasScheduleToStartTimeout()
@@ -366,11 +381,12 @@ public function clearScheduleToStartTimeout()
}
/**
+ * Limits time an activity task can stay in a task queue before a worker picks it up. This
+ * timeout is always non retryable, as all a retry would achieve is to put it back into the same
+ * queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not
+ * specified.
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Limits time an activity task can stay in a task queue before a worker picks it up.
- * This timeout is always non retryable as all a retry would achieve is to put it back into the same queue.
- * Defaults to schedule_to_close_timeout_seconds or workflow execution timeout if not specified.
*
* Generated from protobuf field .google.protobuf.Duration schedule_to_start_timeout = 8 [(.gogoproto.stdduration) = true];
* @param \Google\Protobuf\Duration $var
@@ -385,17 +401,18 @@ public function setScheduleToStartTimeout($var)
}
/**
+ * Maximum time an activity is allowed to execute after being picked up by a worker. This
+ * timeout is always retryable. Either this or `schedule_to_close_timeout` must be
+ * specified.
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Maximum time an activity is allowed to execute after a pick up by a worker.
- * This timeout is always retryable. Either this or schedule_to_close_timeout_seconds must be specified.
*
* Generated from protobuf field .google.protobuf.Duration start_to_close_timeout = 9 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getStartToCloseTimeout()
{
- return isset($this->start_to_close_timeout) ? $this->start_to_close_timeout : null;
+ return $this->start_to_close_timeout;
}
public function hasStartToCloseTimeout()
@@ -409,10 +426,11 @@ public function clearStartToCloseTimeout()
}
/**
+ * Maximum time an activity is allowed to execute after being picked up by a worker. This
+ * timeout is always retryable. Either this or `schedule_to_close_timeout` must be
+ * specified.
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
- * Maximum time an activity is allowed to execute after a pick up by a worker.
- * This timeout is always retryable. Either this or schedule_to_close_timeout_seconds must be specified.
*
* Generated from protobuf field .google.protobuf.Duration start_to_close_timeout = 9 [(.gogoproto.stdduration) = true];
* @param \Google\Protobuf\Duration $var
@@ -427,14 +445,14 @@ public function setStartToCloseTimeout($var)
}
/**
- * Maximum time between successful worker heartbeats.
+ * Maximum permitted time between successful worker heartbeats.
*
* Generated from protobuf field .google.protobuf.Duration heartbeat_timeout = 10 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getHeartbeatTimeout()
{
- return isset($this->heartbeat_timeout) ? $this->heartbeat_timeout : null;
+ return $this->heartbeat_timeout;
}
public function hasHeartbeatTimeout()
@@ -448,7 +466,7 @@ public function clearHeartbeatTimeout()
}
/**
- * Maximum time between successful worker heartbeats.
+ * Maximum permitted time between successful worker heartbeats.
*
* Generated from protobuf field .google.protobuf.Duration heartbeat_timeout = 10 [(.gogoproto.stdduration) = true];
* @param \Google\Protobuf\Duration $var
@@ -463,6 +481,8 @@ public function setHeartbeatTimeout($var)
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 11;
* @return int|string
*/
@@ -472,6 +492,8 @@ public function getWorkflowTaskCompletedEventId()
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 11;
* @param int|string $var
* @return $this
@@ -485,16 +507,16 @@ public function setWorkflowTaskCompletedEventId($var)
}
/**
- * Activities are provided by a default retry policy controlled through the service dynamic configuration.
- * Retries are happening up to schedule_to_close_timeout.
- * To disable retries set retry_policy.maximum_attempts to 1.
+ * Activities are assigned a default retry policy controlled by the service's dynamic
+ * configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set
+ * retry_policy.maximum_attempts to 1.
*
* Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 12;
- * @return \Temporal\Api\Common\V1\RetryPolicy
+ * @return \Temporal\Api\Common\V1\RetryPolicy|null
*/
public function getRetryPolicy()
{
- return isset($this->retry_policy) ? $this->retry_policy : null;
+ return $this->retry_policy;
}
public function hasRetryPolicy()
@@ -508,9 +530,9 @@ public function clearRetryPolicy()
}
/**
- * Activities are provided by a default retry policy controlled through the service dynamic configuration.
- * Retries are happening up to schedule_to_close_timeout.
- * To disable retries set retry_policy.maximum_attempts to 1.
+ * Activities are assigned a default retry policy controlled by the service's dynamic
+ * configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set
+ * retry_policy.maximum_attempts to 1.
*
* Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 12;
* @param \Temporal\Api\Common\V1\RetryPolicy $var
diff --git a/api/Temporal/Api/History/V1/ActivityTaskStartedEventAttributes.php b/api/v1/Temporal/Api/History/V1/ActivityTaskStartedEventAttributes.php
similarity index 72%
rename from api/Temporal/Api/History/V1/ActivityTaskStartedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/ActivityTaskStartedEventAttributes.php
index b58f5fd17..e2f491dfa 100644
--- a/api/Temporal/Api/History/V1/ActivityTaskStartedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/ActivityTaskStartedEventAttributes.php
@@ -14,22 +14,33 @@
class ActivityTaskStartedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this task corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 1;
*/
protected $scheduled_event_id = 0;
/**
+ * id of the worker that picked up this task
+ *
* Generated from protobuf field string identity = 2;
*/
protected $identity = '';
/**
+ * TODO ??
+ *
* Generated from protobuf field string request_id = 3;
*/
protected $request_id = '';
/**
+ * Starting at 1, the number of times this task has been attempted
+ *
* Generated from protobuf field int32 attempt = 4;
*/
protected $attempt = 0;
/**
+ * Will be set to the most recent failure details, if this task has previously failed and then
+ * been retried.
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure last_failure = 5;
*/
protected $last_failure = null;
@@ -41,10 +52,16 @@ class ActivityTaskStartedEventAttributes extends \Google\Protobuf\Internal\Messa
* Optional. Data for populating the Message object.
*
* @type int|string $scheduled_event_id
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this task corresponds to
* @type string $identity
+ * id of the worker that picked up this task
* @type string $request_id
+ * TODO ??
* @type int $attempt
+ * Starting at 1, the number of times this task has been attempted
* @type \Temporal\Api\Failure\V1\Failure $last_failure
+ * Will be set to the most recent failure details, if this task has previously failed and then
+ * been retried.
* }
*/
public function __construct($data = NULL) {
@@ -53,6 +70,8 @@ public function __construct($data = NULL) {
}
/**
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this task corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 1;
* @return int|string
*/
@@ -62,6 +81,8 @@ public function getScheduledEventId()
}
/**
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this task corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 1;
* @param int|string $var
* @return $this
@@ -75,6 +96,8 @@ public function setScheduledEventId($var)
}
/**
+ * id of the worker that picked up this task
+ *
* Generated from protobuf field string identity = 2;
* @return string
*/
@@ -84,6 +107,8 @@ public function getIdentity()
}
/**
+ * id of the worker that picked up this task
+ *
* Generated from protobuf field string identity = 2;
* @param string $var
* @return $this
@@ -97,6 +122,8 @@ public function setIdentity($var)
}
/**
+ * TODO ??
+ *
* Generated from protobuf field string request_id = 3;
* @return string
*/
@@ -106,6 +133,8 @@ public function getRequestId()
}
/**
+ * TODO ??
+ *
* Generated from protobuf field string request_id = 3;
* @param string $var
* @return $this
@@ -119,6 +148,8 @@ public function setRequestId($var)
}
/**
+ * Starting at 1, the number of times this task has been attempted
+ *
* Generated from protobuf field int32 attempt = 4;
* @return int
*/
@@ -128,6 +159,8 @@ public function getAttempt()
}
/**
+ * Starting at 1, the number of times this task has been attempted
+ *
* Generated from protobuf field int32 attempt = 4;
* @param int $var
* @return $this
@@ -141,12 +174,15 @@ public function setAttempt($var)
}
/**
+ * Will be set to the most recent failure details, if this task has previously failed and then
+ * been retried.
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure last_failure = 5;
- * @return \Temporal\Api\Failure\V1\Failure
+ * @return \Temporal\Api\Failure\V1\Failure|null
*/
public function getLastFailure()
{
- return isset($this->last_failure) ? $this->last_failure : null;
+ return $this->last_failure;
}
public function hasLastFailure()
@@ -160,6 +196,9 @@ public function clearLastFailure()
}
/**
+ * Will be set to the most recent failure details, if this task has previously failed and then
+ * been retried.
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure last_failure = 5;
* @param \Temporal\Api\Failure\V1\Failure $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/ActivityTaskTimedOutEventAttributes.php b/api/v1/Temporal/Api/History/V1/ActivityTaskTimedOutEventAttributes.php
similarity index 74%
rename from api/Temporal/Api/History/V1/ActivityTaskTimedOutEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/ActivityTaskTimedOutEventAttributes.php
index c06fe1fca..35a8e76c0 100644
--- a/api/Temporal/Api/History/V1/ActivityTaskTimedOutEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/ActivityTaskTimedOutEventAttributes.php
@@ -14,16 +14,21 @@
class ActivityTaskTimedOutEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
- * For retry activity, it may have a failure before timeout. It is stored as `cause` in `failure`.
+ * If this activity had failed, was retried, and then timed out, that failure is stored as the
+ * `cause` in here.
*
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 1;
*/
protected $failure = null;
/**
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this timeout corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 2;
*/
protected $scheduled_event_id = 0;
/**
+ * The id of the `ACTIVITY_TASK_STARTED` event this timeout corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 3;
*/
protected $started_event_id = 0;
@@ -39,9 +44,12 @@ class ActivityTaskTimedOutEventAttributes extends \Google\Protobuf\Internal\Mess
* Optional. Data for populating the Message object.
*
* @type \Temporal\Api\Failure\V1\Failure $failure
- * For retry activity, it may have a failure before timeout. It is stored as `cause` in `failure`.
+ * If this activity had failed, was retried, and then timed out, that failure is stored as the
+ * `cause` in here.
* @type int|string $scheduled_event_id
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this timeout corresponds to
* @type int|string $started_event_id
+ * The id of the `ACTIVITY_TASK_STARTED` event this timeout corresponds to
* @type int $retry_state
* }
*/
@@ -51,14 +59,15 @@ public function __construct($data = NULL) {
}
/**
- * For retry activity, it may have a failure before timeout. It is stored as `cause` in `failure`.
+ * If this activity had failed, was retried, and then timed out, that failure is stored as the
+ * `cause` in here.
*
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 1;
- * @return \Temporal\Api\Failure\V1\Failure
+ * @return \Temporal\Api\Failure\V1\Failure|null
*/
public function getFailure()
{
- return isset($this->failure) ? $this->failure : null;
+ return $this->failure;
}
public function hasFailure()
@@ -72,7 +81,8 @@ public function clearFailure()
}
/**
- * For retry activity, it may have a failure before timeout. It is stored as `cause` in `failure`.
+ * If this activity had failed, was retried, and then timed out, that failure is stored as the
+ * `cause` in here.
*
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 1;
* @param \Temporal\Api\Failure\V1\Failure $var
@@ -87,6 +97,8 @@ public function setFailure($var)
}
/**
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this timeout corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 2;
* @return int|string
*/
@@ -96,6 +108,8 @@ public function getScheduledEventId()
}
/**
+ * The id of the `ACTIVITY_TASK_SCHEDULED` event this timeout corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 2;
* @param int|string $var
* @return $this
@@ -109,6 +123,8 @@ public function setScheduledEventId($var)
}
/**
+ * The id of the `ACTIVITY_TASK_STARTED` event this timeout corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 3;
* @return int|string
*/
@@ -118,6 +134,8 @@ public function getStartedEventId()
}
/**
+ * The id of the `ACTIVITY_TASK_STARTED` event this timeout corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 3;
* @param int|string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/ChildWorkflowExecutionCanceledEventAttributes.php b/api/v1/Temporal/Api/History/V1/ChildWorkflowExecutionCanceledEventAttributes.php
similarity index 81%
rename from api/Temporal/Api/History/V1/ChildWorkflowExecutionCanceledEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/ChildWorkflowExecutionCanceledEventAttributes.php
index e467e5734..2fdf70bc0 100644
--- a/api/Temporal/Api/History/V1/ChildWorkflowExecutionCanceledEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/ChildWorkflowExecutionCanceledEventAttributes.php
@@ -18,6 +18,8 @@ class ChildWorkflowExecutionCanceledEventAttributes extends \Google\Protobuf\Int
*/
protected $details = null;
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 2;
*/
protected $namespace = '';
@@ -30,10 +32,14 @@ class ChildWorkflowExecutionCanceledEventAttributes extends \Google\Protobuf\Int
*/
protected $workflow_type = null;
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 5;
*/
protected $initiated_event_id = 0;
/**
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 6;
*/
protected $started_event_id = 0;
@@ -46,10 +52,13 @@ class ChildWorkflowExecutionCanceledEventAttributes extends \Google\Protobuf\Int
*
* @type \Temporal\Api\Common\V1\Payloads $details
* @type string $namespace
+ * Namespace of the child workflow
* @type \Temporal\Api\Common\V1\WorkflowExecution $workflow_execution
* @type \Temporal\Api\Common\V1\WorkflowType $workflow_type
* @type int|string $initiated_event_id
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
* @type int|string $started_event_id
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
* }
*/
public function __construct($data = NULL) {
@@ -59,11 +68,11 @@ public function __construct($data = NULL) {
/**
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 1;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getDetails()
{
- return isset($this->details) ? $this->details : null;
+ return $this->details;
}
public function hasDetails()
@@ -90,6 +99,8 @@ public function setDetails($var)
}
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 2;
* @return string
*/
@@ -99,6 +110,8 @@ public function getNamespace()
}
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 2;
* @param string $var
* @return $this
@@ -113,11 +126,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getWorkflowExecution()
{
- return isset($this->workflow_execution) ? $this->workflow_execution : null;
+ return $this->workflow_execution;
}
public function hasWorkflowExecution()
@@ -145,11 +158,11 @@ public function setWorkflowExecution($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 4;
- * @return \Temporal\Api\Common\V1\WorkflowType
+ * @return \Temporal\Api\Common\V1\WorkflowType|null
*/
public function getWorkflowType()
{
- return isset($this->workflow_type) ? $this->workflow_type : null;
+ return $this->workflow_type;
}
public function hasWorkflowType()
@@ -176,6 +189,8 @@ public function setWorkflowType($var)
}
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 5;
* @return int|string
*/
@@ -185,6 +200,8 @@ public function getInitiatedEventId()
}
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 5;
* @param int|string $var
* @return $this
@@ -198,6 +215,8 @@ public function setInitiatedEventId($var)
}
/**
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 6;
* @return int|string
*/
@@ -207,6 +226,8 @@ public function getStartedEventId()
}
/**
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 6;
* @param int|string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/ChildWorkflowExecutionCompletedEventAttributes.php b/api/v1/Temporal/Api/History/V1/ChildWorkflowExecutionCompletedEventAttributes.php
similarity index 81%
rename from api/Temporal/Api/History/V1/ChildWorkflowExecutionCompletedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/ChildWorkflowExecutionCompletedEventAttributes.php
index 3222c16e3..7dbc07ba7 100644
--- a/api/Temporal/Api/History/V1/ChildWorkflowExecutionCompletedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/ChildWorkflowExecutionCompletedEventAttributes.php
@@ -18,6 +18,8 @@ class ChildWorkflowExecutionCompletedEventAttributes extends \Google\Protobuf\In
*/
protected $result = null;
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 2;
*/
protected $namespace = '';
@@ -30,10 +32,14 @@ class ChildWorkflowExecutionCompletedEventAttributes extends \Google\Protobuf\In
*/
protected $workflow_type = null;
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 5;
*/
protected $initiated_event_id = 0;
/**
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 6;
*/
protected $started_event_id = 0;
@@ -46,10 +52,13 @@ class ChildWorkflowExecutionCompletedEventAttributes extends \Google\Protobuf\In
*
* @type \Temporal\Api\Common\V1\Payloads $result
* @type string $namespace
+ * Namespace of the child workflow
* @type \Temporal\Api\Common\V1\WorkflowExecution $workflow_execution
* @type \Temporal\Api\Common\V1\WorkflowType $workflow_type
* @type int|string $initiated_event_id
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
* @type int|string $started_event_id
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
* }
*/
public function __construct($data = NULL) {
@@ -59,11 +68,11 @@ public function __construct($data = NULL) {
/**
* Generated from protobuf field .temporal.api.common.v1.Payloads result = 1;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getResult()
{
- return isset($this->result) ? $this->result : null;
+ return $this->result;
}
public function hasResult()
@@ -90,6 +99,8 @@ public function setResult($var)
}
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 2;
* @return string
*/
@@ -99,6 +110,8 @@ public function getNamespace()
}
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 2;
* @param string $var
* @return $this
@@ -113,11 +126,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getWorkflowExecution()
{
- return isset($this->workflow_execution) ? $this->workflow_execution : null;
+ return $this->workflow_execution;
}
public function hasWorkflowExecution()
@@ -145,11 +158,11 @@ public function setWorkflowExecution($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 4;
- * @return \Temporal\Api\Common\V1\WorkflowType
+ * @return \Temporal\Api\Common\V1\WorkflowType|null
*/
public function getWorkflowType()
{
- return isset($this->workflow_type) ? $this->workflow_type : null;
+ return $this->workflow_type;
}
public function hasWorkflowType()
@@ -176,6 +189,8 @@ public function setWorkflowType($var)
}
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 5;
* @return int|string
*/
@@ -185,6 +200,8 @@ public function getInitiatedEventId()
}
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 5;
* @param int|string $var
* @return $this
@@ -198,6 +215,8 @@ public function setInitiatedEventId($var)
}
/**
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 6;
* @return int|string
*/
@@ -207,6 +226,8 @@ public function getStartedEventId()
}
/**
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 6;
* @param int|string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/ChildWorkflowExecutionFailedEventAttributes.php b/api/v1/Temporal/Api/History/V1/ChildWorkflowExecutionFailedEventAttributes.php
similarity index 83%
rename from api/Temporal/Api/History/V1/ChildWorkflowExecutionFailedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/ChildWorkflowExecutionFailedEventAttributes.php
index e91fbe32b..40a84d02b 100644
--- a/api/Temporal/Api/History/V1/ChildWorkflowExecutionFailedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/ChildWorkflowExecutionFailedEventAttributes.php
@@ -18,6 +18,8 @@ class ChildWorkflowExecutionFailedEventAttributes extends \Google\Protobuf\Inter
*/
protected $failure = null;
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 2;
*/
protected $namespace = '';
@@ -30,10 +32,14 @@ class ChildWorkflowExecutionFailedEventAttributes extends \Google\Protobuf\Inter
*/
protected $workflow_type = null;
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 5;
*/
protected $initiated_event_id = 0;
/**
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 6;
*/
protected $started_event_id = 0;
@@ -50,10 +56,13 @@ class ChildWorkflowExecutionFailedEventAttributes extends \Google\Protobuf\Inter
*
* @type \Temporal\Api\Failure\V1\Failure $failure
* @type string $namespace
+ * Namespace of the child workflow
* @type \Temporal\Api\Common\V1\WorkflowExecution $workflow_execution
* @type \Temporal\Api\Common\V1\WorkflowType $workflow_type
* @type int|string $initiated_event_id
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
* @type int|string $started_event_id
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
* @type int $retry_state
* }
*/
@@ -64,11 +73,11 @@ public function __construct($data = NULL) {
/**
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 1;
- * @return \Temporal\Api\Failure\V1\Failure
+ * @return \Temporal\Api\Failure\V1\Failure|null
*/
public function getFailure()
{
- return isset($this->failure) ? $this->failure : null;
+ return $this->failure;
}
public function hasFailure()
@@ -95,6 +104,8 @@ public function setFailure($var)
}
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 2;
* @return string
*/
@@ -104,6 +115,8 @@ public function getNamespace()
}
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 2;
* @param string $var
* @return $this
@@ -118,11 +131,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getWorkflowExecution()
{
- return isset($this->workflow_execution) ? $this->workflow_execution : null;
+ return $this->workflow_execution;
}
public function hasWorkflowExecution()
@@ -150,11 +163,11 @@ public function setWorkflowExecution($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 4;
- * @return \Temporal\Api\Common\V1\WorkflowType
+ * @return \Temporal\Api\Common\V1\WorkflowType|null
*/
public function getWorkflowType()
{
- return isset($this->workflow_type) ? $this->workflow_type : null;
+ return $this->workflow_type;
}
public function hasWorkflowType()
@@ -181,6 +194,8 @@ public function setWorkflowType($var)
}
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 5;
* @return int|string
*/
@@ -190,6 +205,8 @@ public function getInitiatedEventId()
}
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 5;
* @param int|string $var
* @return $this
@@ -203,6 +220,8 @@ public function setInitiatedEventId($var)
}
/**
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 6;
* @return int|string
*/
@@ -212,6 +231,8 @@ public function getStartedEventId()
}
/**
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 6;
* @param int|string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/ChildWorkflowExecutionStartedEventAttributes.php b/api/v1/Temporal/Api/History/V1/ChildWorkflowExecutionStartedEventAttributes.php
similarity index 85%
rename from api/Temporal/Api/History/V1/ChildWorkflowExecutionStartedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/ChildWorkflowExecutionStartedEventAttributes.php
index 185434ef5..bf12a1306 100644
--- a/api/Temporal/Api/History/V1/ChildWorkflowExecutionStartedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/ChildWorkflowExecutionStartedEventAttributes.php
@@ -14,10 +14,14 @@
class ChildWorkflowExecutionStartedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 1;
*/
protected $namespace = '';
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 2;
*/
protected $initiated_event_id = 0;
@@ -41,7 +45,9 @@ class ChildWorkflowExecutionStartedEventAttributes extends \Google\Protobuf\Inte
* Optional. Data for populating the Message object.
*
* @type string $namespace
+ * Namespace of the child workflow
* @type int|string $initiated_event_id
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
* @type \Temporal\Api\Common\V1\WorkflowExecution $workflow_execution
* @type \Temporal\Api\Common\V1\WorkflowType $workflow_type
* @type \Temporal\Api\Common\V1\Header $header
@@ -53,6 +59,8 @@ public function __construct($data = NULL) {
}
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 1;
* @return string
*/
@@ -62,6 +70,8 @@ public function getNamespace()
}
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 1;
* @param string $var
* @return $this
@@ -75,6 +85,8 @@ public function setNamespace($var)
}
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 2;
* @return int|string
*/
@@ -84,6 +96,8 @@ public function getInitiatedEventId()
}
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 2;
* @param int|string $var
* @return $this
@@ -98,11 +112,11 @@ public function setInitiatedEventId($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getWorkflowExecution()
{
- return isset($this->workflow_execution) ? $this->workflow_execution : null;
+ return $this->workflow_execution;
}
public function hasWorkflowExecution()
@@ -130,11 +144,11 @@ public function setWorkflowExecution($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 4;
- * @return \Temporal\Api\Common\V1\WorkflowType
+ * @return \Temporal\Api\Common\V1\WorkflowType|null
*/
public function getWorkflowType()
{
- return isset($this->workflow_type) ? $this->workflow_type : null;
+ return $this->workflow_type;
}
public function hasWorkflowType()
@@ -162,11 +176,11 @@ public function setWorkflowType($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Header header = 5;
- * @return \Temporal\Api\Common\V1\Header
+ * @return \Temporal\Api\Common\V1\Header|null
*/
public function getHeader()
{
- return isset($this->header) ? $this->header : null;
+ return $this->header;
}
public function hasHeader()
diff --git a/api/Temporal/Api/History/V1/ChildWorkflowExecutionTerminatedEventAttributes.php b/api/v1/Temporal/Api/History/V1/ChildWorkflowExecutionTerminatedEventAttributes.php
similarity index 80%
rename from api/Temporal/Api/History/V1/ChildWorkflowExecutionTerminatedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/ChildWorkflowExecutionTerminatedEventAttributes.php
index b79e4b8b5..4b6add549 100644
--- a/api/Temporal/Api/History/V1/ChildWorkflowExecutionTerminatedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/ChildWorkflowExecutionTerminatedEventAttributes.php
@@ -14,6 +14,8 @@
class ChildWorkflowExecutionTerminatedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 1;
*/
protected $namespace = '';
@@ -26,10 +28,14 @@ class ChildWorkflowExecutionTerminatedEventAttributes extends \Google\Protobuf\I
*/
protected $workflow_type = null;
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 4;
*/
protected $initiated_event_id = 0;
/**
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 5;
*/
protected $started_event_id = 0;
@@ -41,10 +47,13 @@ class ChildWorkflowExecutionTerminatedEventAttributes extends \Google\Protobuf\I
* Optional. Data for populating the Message object.
*
* @type string $namespace
+ * Namespace of the child workflow
* @type \Temporal\Api\Common\V1\WorkflowExecution $workflow_execution
* @type \Temporal\Api\Common\V1\WorkflowType $workflow_type
* @type int|string $initiated_event_id
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
* @type int|string $started_event_id
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
* }
*/
public function __construct($data = NULL) {
@@ -53,6 +62,8 @@ public function __construct($data = NULL) {
}
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 1;
* @return string
*/
@@ -62,6 +73,8 @@ public function getNamespace()
}
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 1;
* @param string $var
* @return $this
@@ -76,11 +89,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getWorkflowExecution()
{
- return isset($this->workflow_execution) ? $this->workflow_execution : null;
+ return $this->workflow_execution;
}
public function hasWorkflowExecution()
@@ -108,11 +121,11 @@ public function setWorkflowExecution($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 3;
- * @return \Temporal\Api\Common\V1\WorkflowType
+ * @return \Temporal\Api\Common\V1\WorkflowType|null
*/
public function getWorkflowType()
{
- return isset($this->workflow_type) ? $this->workflow_type : null;
+ return $this->workflow_type;
}
public function hasWorkflowType()
@@ -139,6 +152,8 @@ public function setWorkflowType($var)
}
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 4;
* @return int|string
*/
@@ -148,6 +163,8 @@ public function getInitiatedEventId()
}
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 4;
* @param int|string $var
* @return $this
@@ -161,6 +178,8 @@ public function setInitiatedEventId($var)
}
/**
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 5;
* @return int|string
*/
@@ -170,6 +189,8 @@ public function getStartedEventId()
}
/**
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 5;
* @param int|string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/ChildWorkflowExecutionTimedOutEventAttributes.php b/api/v1/Temporal/Api/History/V1/ChildWorkflowExecutionTimedOutEventAttributes.php
similarity index 82%
rename from api/Temporal/Api/History/V1/ChildWorkflowExecutionTimedOutEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/ChildWorkflowExecutionTimedOutEventAttributes.php
index 047e7fce3..468e3b97a 100644
--- a/api/Temporal/Api/History/V1/ChildWorkflowExecutionTimedOutEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/ChildWorkflowExecutionTimedOutEventAttributes.php
@@ -14,6 +14,8 @@
class ChildWorkflowExecutionTimedOutEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 1;
*/
protected $namespace = '';
@@ -26,10 +28,14 @@ class ChildWorkflowExecutionTimedOutEventAttributes extends \Google\Protobuf\Int
*/
protected $workflow_type = null;
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 4;
*/
protected $initiated_event_id = 0;
/**
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 5;
*/
protected $started_event_id = 0;
@@ -45,10 +51,13 @@ class ChildWorkflowExecutionTimedOutEventAttributes extends \Google\Protobuf\Int
* Optional. Data for populating the Message object.
*
* @type string $namespace
+ * Namespace of the child workflow
* @type \Temporal\Api\Common\V1\WorkflowExecution $workflow_execution
* @type \Temporal\Api\Common\V1\WorkflowType $workflow_type
* @type int|string $initiated_event_id
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
* @type int|string $started_event_id
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
* @type int $retry_state
* }
*/
@@ -58,6 +67,8 @@ public function __construct($data = NULL) {
}
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 1;
* @return string
*/
@@ -67,6 +78,8 @@ public function getNamespace()
}
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 1;
* @param string $var
* @return $this
@@ -81,11 +94,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getWorkflowExecution()
{
- return isset($this->workflow_execution) ? $this->workflow_execution : null;
+ return $this->workflow_execution;
}
public function hasWorkflowExecution()
@@ -113,11 +126,11 @@ public function setWorkflowExecution($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 3;
- * @return \Temporal\Api\Common\V1\WorkflowType
+ * @return \Temporal\Api\Common\V1\WorkflowType|null
*/
public function getWorkflowType()
{
- return isset($this->workflow_type) ? $this->workflow_type : null;
+ return $this->workflow_type;
}
public function hasWorkflowType()
@@ -144,6 +157,8 @@ public function setWorkflowType($var)
}
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 4;
* @return int|string
*/
@@ -153,6 +168,8 @@ public function getInitiatedEventId()
}
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 4;
* @param int|string $var
* @return $this
@@ -166,6 +183,8 @@ public function setInitiatedEventId($var)
}
/**
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 5;
* @return int|string
*/
@@ -175,6 +194,8 @@ public function getStartedEventId()
}
/**
+ * Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 5;
* @param int|string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/ExternalWorkflowExecutionCancelRequestedEventAttributes.php b/api/v1/Temporal/Api/History/V1/ExternalWorkflowExecutionCancelRequestedEventAttributes.php
similarity index 79%
rename from api/Temporal/Api/History/V1/ExternalWorkflowExecutionCancelRequestedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/ExternalWorkflowExecutionCancelRequestedEventAttributes.php
index 0f61eeeb5..cb92fac9e 100644
--- a/api/Temporal/Api/History/V1/ExternalWorkflowExecutionCancelRequestedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/ExternalWorkflowExecutionCancelRequestedEventAttributes.php
@@ -14,10 +14,15 @@
class ExternalWorkflowExecutionCancelRequestedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds
+ * to
+ *
* Generated from protobuf field int64 initiated_event_id = 1;
*/
protected $initiated_event_id = 0;
/**
+ * namespace of the to-be-cancelled workflow
+ *
* Generated from protobuf field string namespace = 2;
*/
protected $namespace = '';
@@ -33,7 +38,10 @@ class ExternalWorkflowExecutionCancelRequestedEventAttributes extends \Google\Pr
* Optional. Data for populating the Message object.
*
* @type int|string $initiated_event_id
+ * id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds
+ * to
* @type string $namespace
+ * namespace of the to-be-cancelled workflow
* @type \Temporal\Api\Common\V1\WorkflowExecution $workflow_execution
* }
*/
@@ -43,6 +51,9 @@ public function __construct($data = NULL) {
}
/**
+ * id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds
+ * to
+ *
* Generated from protobuf field int64 initiated_event_id = 1;
* @return int|string
*/
@@ -52,6 +63,9 @@ public function getInitiatedEventId()
}
/**
+ * id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds
+ * to
+ *
* Generated from protobuf field int64 initiated_event_id = 1;
* @param int|string $var
* @return $this
@@ -65,6 +79,8 @@ public function setInitiatedEventId($var)
}
/**
+ * namespace of the to-be-cancelled workflow
+ *
* Generated from protobuf field string namespace = 2;
* @return string
*/
@@ -74,6 +90,8 @@ public function getNamespace()
}
/**
+ * namespace of the to-be-cancelled workflow
+ *
* Generated from protobuf field string namespace = 2;
* @param string $var
* @return $this
@@ -88,11 +106,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getWorkflowExecution()
{
- return isset($this->workflow_execution) ? $this->workflow_execution : null;
+ return $this->workflow_execution;
}
public function hasWorkflowExecution()
diff --git a/api/Temporal/Api/History/V1/ExternalWorkflowExecutionSignaledEventAttributes.php b/api/v1/Temporal/Api/History/V1/ExternalWorkflowExecutionSignaledEventAttributes.php
similarity index 81%
rename from api/Temporal/Api/History/V1/ExternalWorkflowExecutionSignaledEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/ExternalWorkflowExecutionSignaledEventAttributes.php
index 6ee9e1665..bcbd18227 100644
--- a/api/Temporal/Api/History/V1/ExternalWorkflowExecutionSignaledEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/ExternalWorkflowExecutionSignaledEventAttributes.php
@@ -14,10 +14,14 @@
class ExternalWorkflowExecutionSignaledEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * id of the `SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 1;
*/
protected $initiated_event_id = 0;
/**
+ * namespace of the workflow which was signaled
+ *
* Generated from protobuf field string namespace = 2;
*/
protected $namespace = '';
@@ -26,6 +30,8 @@ class ExternalWorkflowExecutionSignaledEventAttributes extends \Google\Protobuf\
*/
protected $workflow_execution = null;
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 4;
*/
protected $control = '';
@@ -37,9 +43,12 @@ class ExternalWorkflowExecutionSignaledEventAttributes extends \Google\Protobuf\
* Optional. Data for populating the Message object.
*
* @type int|string $initiated_event_id
+ * id of the `SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds to
* @type string $namespace
+ * namespace of the workflow which was signaled
* @type \Temporal\Api\Common\V1\WorkflowExecution $workflow_execution
* @type string $control
+ * Deprecated
* }
*/
public function __construct($data = NULL) {
@@ -48,6 +57,8 @@ public function __construct($data = NULL) {
}
/**
+ * id of the `SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 1;
* @return int|string
*/
@@ -57,6 +68,8 @@ public function getInitiatedEventId()
}
/**
+ * id of the `SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 1;
* @param int|string $var
* @return $this
@@ -70,6 +83,8 @@ public function setInitiatedEventId($var)
}
/**
+ * namespace of the workflow which was signaled
+ *
* Generated from protobuf field string namespace = 2;
* @return string
*/
@@ -79,6 +94,8 @@ public function getNamespace()
}
/**
+ * namespace of the workflow which was signaled
+ *
* Generated from protobuf field string namespace = 2;
* @param string $var
* @return $this
@@ -93,11 +110,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getWorkflowExecution()
{
- return isset($this->workflow_execution) ? $this->workflow_execution : null;
+ return $this->workflow_execution;
}
public function hasWorkflowExecution()
@@ -124,6 +141,8 @@ public function setWorkflowExecution($var)
}
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 4;
* @return string
*/
@@ -133,6 +152,8 @@ public function getControl()
}
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 4;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/History.php b/api/v1/Temporal/Api/History/V1/History.php
similarity index 100%
rename from api/Temporal/Api/History/V1/History.php
rename to api/v1/Temporal/Api/History/V1/History.php
diff --git a/api/Temporal/Api/History/V1/HistoryEvent.php b/api/v1/Temporal/Api/History/V1/HistoryEvent.php
similarity index 96%
rename from api/Temporal/Api/History/V1/HistoryEvent.php
rename to api/v1/Temporal/Api/History/V1/HistoryEvent.php
index a044a0d7b..81e633ab4 100644
--- a/api/Temporal/Api/History/V1/HistoryEvent.php
+++ b/api/v1/Temporal/Api/History/V1/HistoryEvent.php
@@ -9,11 +9,16 @@
use Google\Protobuf\Internal\GPBUtil;
/**
+ * History events are the method by which Temporal SDKs advance (or recreate) workflow state.
+ * See the `EventType` enum for more info about what each event is for.
+ *
* Generated from protobuf message temporal.api.history.v1.HistoryEvent
*/
class HistoryEvent extends \Google\Protobuf\Internal\Message
{
/**
+ * Monotonically increasing event number, starts at 1.
+ *
* Generated from protobuf field int64 event_id = 1;
*/
protected $event_id = 0;
@@ -26,10 +31,14 @@ class HistoryEvent extends \Google\Protobuf\Internal\Message
*/
protected $event_type = 0;
/**
+ * TODO: What is this? Appears unused by SDKs
+ *
* Generated from protobuf field int64 version = 4;
*/
protected $version = 0;
/**
+ * TODO: What is this? Appears unused by SDKs
+ *
* Generated from protobuf field int64 task_id = 5;
*/
protected $task_id = 0;
@@ -42,10 +51,13 @@ class HistoryEvent extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type int|string $event_id
+ * Monotonically increasing event number, starts at 1.
* @type \Google\Protobuf\Timestamp $event_time
* @type int $event_type
* @type int|string $version
+ * TODO: What is this? Appears unused by SDKs
* @type int|string $task_id
+ * TODO: What is this? Appears unused by SDKs
* @type \Temporal\Api\History\V1\WorkflowExecutionStartedEventAttributes $workflow_execution_started_event_attributes
* @type \Temporal\Api\History\V1\WorkflowExecutionCompletedEventAttributes $workflow_execution_completed_event_attributes
* @type \Temporal\Api\History\V1\WorkflowExecutionFailedEventAttributes $workflow_execution_failed_event_attributes
@@ -94,6 +106,8 @@ public function __construct($data = NULL) {
}
/**
+ * Monotonically increasing event number, starts at 1.
+ *
* Generated from protobuf field int64 event_id = 1;
* @return int|string
*/
@@ -103,6 +117,8 @@ public function getEventId()
}
/**
+ * Monotonically increasing event number, starts at 1.
+ *
* Generated from protobuf field int64 event_id = 1;
* @param int|string $var
* @return $this
@@ -117,11 +133,11 @@ public function setEventId($var)
/**
* Generated from protobuf field .google.protobuf.Timestamp event_time = 2 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
+ * @return \Google\Protobuf\Timestamp|null
*/
public function getEventTime()
{
- return isset($this->event_time) ? $this->event_time : null;
+ return $this->event_time;
}
public function hasEventTime()
@@ -170,6 +186,8 @@ public function setEventType($var)
}
/**
+ * TODO: What is this? Appears unused by SDKs
+ *
* Generated from protobuf field int64 version = 4;
* @return int|string
*/
@@ -179,6 +197,8 @@ public function getVersion()
}
/**
+ * TODO: What is this? Appears unused by SDKs
+ *
* Generated from protobuf field int64 version = 4;
* @param int|string $var
* @return $this
@@ -192,6 +212,8 @@ public function setVersion($var)
}
/**
+ * TODO: What is this? Appears unused by SDKs
+ *
* Generated from protobuf field int64 task_id = 5;
* @return int|string
*/
@@ -201,6 +223,8 @@ public function getTaskId()
}
/**
+ * TODO: What is this? Appears unused by SDKs
+ *
* Generated from protobuf field int64 task_id = 5;
* @param int|string $var
* @return $this
@@ -215,7 +239,7 @@ public function setTaskId($var)
/**
* Generated from protobuf field .temporal.api.history.v1.WorkflowExecutionStartedEventAttributes workflow_execution_started_event_attributes = 6;
- * @return \Temporal\Api\History\V1\WorkflowExecutionStartedEventAttributes
+ * @return \Temporal\Api\History\V1\WorkflowExecutionStartedEventAttributes|null
*/
public function getWorkflowExecutionStartedEventAttributes()
{
@@ -242,7 +266,7 @@ public function setWorkflowExecutionStartedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes workflow_execution_completed_event_attributes = 7;
- * @return \Temporal\Api\History\V1\WorkflowExecutionCompletedEventAttributes
+ * @return \Temporal\Api\History\V1\WorkflowExecutionCompletedEventAttributes|null
*/
public function getWorkflowExecutionCompletedEventAttributes()
{
@@ -269,7 +293,7 @@ public function setWorkflowExecutionCompletedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.WorkflowExecutionFailedEventAttributes workflow_execution_failed_event_attributes = 8;
- * @return \Temporal\Api\History\V1\WorkflowExecutionFailedEventAttributes
+ * @return \Temporal\Api\History\V1\WorkflowExecutionFailedEventAttributes|null
*/
public function getWorkflowExecutionFailedEventAttributes()
{
@@ -296,7 +320,7 @@ public function setWorkflowExecutionFailedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes workflow_execution_timed_out_event_attributes = 9;
- * @return \Temporal\Api\History\V1\WorkflowExecutionTimedOutEventAttributes
+ * @return \Temporal\Api\History\V1\WorkflowExecutionTimedOutEventAttributes|null
*/
public function getWorkflowExecutionTimedOutEventAttributes()
{
@@ -323,7 +347,7 @@ public function setWorkflowExecutionTimedOutEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.WorkflowTaskScheduledEventAttributes workflow_task_scheduled_event_attributes = 10;
- * @return \Temporal\Api\History\V1\WorkflowTaskScheduledEventAttributes
+ * @return \Temporal\Api\History\V1\WorkflowTaskScheduledEventAttributes|null
*/
public function getWorkflowTaskScheduledEventAttributes()
{
@@ -350,7 +374,7 @@ public function setWorkflowTaskScheduledEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.WorkflowTaskStartedEventAttributes workflow_task_started_event_attributes = 11;
- * @return \Temporal\Api\History\V1\WorkflowTaskStartedEventAttributes
+ * @return \Temporal\Api\History\V1\WorkflowTaskStartedEventAttributes|null
*/
public function getWorkflowTaskStartedEventAttributes()
{
@@ -377,7 +401,7 @@ public function setWorkflowTaskStartedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.WorkflowTaskCompletedEventAttributes workflow_task_completed_event_attributes = 12;
- * @return \Temporal\Api\History\V1\WorkflowTaskCompletedEventAttributes
+ * @return \Temporal\Api\History\V1\WorkflowTaskCompletedEventAttributes|null
*/
public function getWorkflowTaskCompletedEventAttributes()
{
@@ -404,7 +428,7 @@ public function setWorkflowTaskCompletedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes workflow_task_timed_out_event_attributes = 13;
- * @return \Temporal\Api\History\V1\WorkflowTaskTimedOutEventAttributes
+ * @return \Temporal\Api\History\V1\WorkflowTaskTimedOutEventAttributes|null
*/
public function getWorkflowTaskTimedOutEventAttributes()
{
@@ -431,7 +455,7 @@ public function setWorkflowTaskTimedOutEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.WorkflowTaskFailedEventAttributes workflow_task_failed_event_attributes = 14;
- * @return \Temporal\Api\History\V1\WorkflowTaskFailedEventAttributes
+ * @return \Temporal\Api\History\V1\WorkflowTaskFailedEventAttributes|null
*/
public function getWorkflowTaskFailedEventAttributes()
{
@@ -458,7 +482,7 @@ public function setWorkflowTaskFailedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.ActivityTaskScheduledEventAttributes activity_task_scheduled_event_attributes = 15;
- * @return \Temporal\Api\History\V1\ActivityTaskScheduledEventAttributes
+ * @return \Temporal\Api\History\V1\ActivityTaskScheduledEventAttributes|null
*/
public function getActivityTaskScheduledEventAttributes()
{
@@ -485,7 +509,7 @@ public function setActivityTaskScheduledEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.ActivityTaskStartedEventAttributes activity_task_started_event_attributes = 16;
- * @return \Temporal\Api\History\V1\ActivityTaskStartedEventAttributes
+ * @return \Temporal\Api\History\V1\ActivityTaskStartedEventAttributes|null
*/
public function getActivityTaskStartedEventAttributes()
{
@@ -512,7 +536,7 @@ public function setActivityTaskStartedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.ActivityTaskCompletedEventAttributes activity_task_completed_event_attributes = 17;
- * @return \Temporal\Api\History\V1\ActivityTaskCompletedEventAttributes
+ * @return \Temporal\Api\History\V1\ActivityTaskCompletedEventAttributes|null
*/
public function getActivityTaskCompletedEventAttributes()
{
@@ -539,7 +563,7 @@ public function setActivityTaskCompletedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.ActivityTaskFailedEventAttributes activity_task_failed_event_attributes = 18;
- * @return \Temporal\Api\History\V1\ActivityTaskFailedEventAttributes
+ * @return \Temporal\Api\History\V1\ActivityTaskFailedEventAttributes|null
*/
public function getActivityTaskFailedEventAttributes()
{
@@ -566,7 +590,7 @@ public function setActivityTaskFailedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.ActivityTaskTimedOutEventAttributes activity_task_timed_out_event_attributes = 19;
- * @return \Temporal\Api\History\V1\ActivityTaskTimedOutEventAttributes
+ * @return \Temporal\Api\History\V1\ActivityTaskTimedOutEventAttributes|null
*/
public function getActivityTaskTimedOutEventAttributes()
{
@@ -593,7 +617,7 @@ public function setActivityTaskTimedOutEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.TimerStartedEventAttributes timer_started_event_attributes = 20;
- * @return \Temporal\Api\History\V1\TimerStartedEventAttributes
+ * @return \Temporal\Api\History\V1\TimerStartedEventAttributes|null
*/
public function getTimerStartedEventAttributes()
{
@@ -620,7 +644,7 @@ public function setTimerStartedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.TimerFiredEventAttributes timer_fired_event_attributes = 21;
- * @return \Temporal\Api\History\V1\TimerFiredEventAttributes
+ * @return \Temporal\Api\History\V1\TimerFiredEventAttributes|null
*/
public function getTimerFiredEventAttributes()
{
@@ -647,7 +671,7 @@ public function setTimerFiredEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes activity_task_cancel_requested_event_attributes = 22;
- * @return \Temporal\Api\History\V1\ActivityTaskCancelRequestedEventAttributes
+ * @return \Temporal\Api\History\V1\ActivityTaskCancelRequestedEventAttributes|null
*/
public function getActivityTaskCancelRequestedEventAttributes()
{
@@ -674,7 +698,7 @@ public function setActivityTaskCancelRequestedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.ActivityTaskCanceledEventAttributes activity_task_canceled_event_attributes = 23;
- * @return \Temporal\Api\History\V1\ActivityTaskCanceledEventAttributes
+ * @return \Temporal\Api\History\V1\ActivityTaskCanceledEventAttributes|null
*/
public function getActivityTaskCanceledEventAttributes()
{
@@ -701,7 +725,7 @@ public function setActivityTaskCanceledEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.TimerCanceledEventAttributes timer_canceled_event_attributes = 24;
- * @return \Temporal\Api\History\V1\TimerCanceledEventAttributes
+ * @return \Temporal\Api\History\V1\TimerCanceledEventAttributes|null
*/
public function getTimerCanceledEventAttributes()
{
@@ -728,7 +752,7 @@ public function setTimerCanceledEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.MarkerRecordedEventAttributes marker_recorded_event_attributes = 25;
- * @return \Temporal\Api\History\V1\MarkerRecordedEventAttributes
+ * @return \Temporal\Api\History\V1\MarkerRecordedEventAttributes|null
*/
public function getMarkerRecordedEventAttributes()
{
@@ -755,7 +779,7 @@ public function setMarkerRecordedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes workflow_execution_signaled_event_attributes = 26;
- * @return \Temporal\Api\History\V1\WorkflowExecutionSignaledEventAttributes
+ * @return \Temporal\Api\History\V1\WorkflowExecutionSignaledEventAttributes|null
*/
public function getWorkflowExecutionSignaledEventAttributes()
{
@@ -782,7 +806,7 @@ public function setWorkflowExecutionSignaledEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes workflow_execution_terminated_event_attributes = 27;
- * @return \Temporal\Api\History\V1\WorkflowExecutionTerminatedEventAttributes
+ * @return \Temporal\Api\History\V1\WorkflowExecutionTerminatedEventAttributes|null
*/
public function getWorkflowExecutionTerminatedEventAttributes()
{
@@ -809,7 +833,7 @@ public function setWorkflowExecutionTerminatedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes workflow_execution_cancel_requested_event_attributes = 28;
- * @return \Temporal\Api\History\V1\WorkflowExecutionCancelRequestedEventAttributes
+ * @return \Temporal\Api\History\V1\WorkflowExecutionCancelRequestedEventAttributes|null
*/
public function getWorkflowExecutionCancelRequestedEventAttributes()
{
@@ -836,7 +860,7 @@ public function setWorkflowExecutionCancelRequestedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes workflow_execution_canceled_event_attributes = 29;
- * @return \Temporal\Api\History\V1\WorkflowExecutionCanceledEventAttributes
+ * @return \Temporal\Api\History\V1\WorkflowExecutionCanceledEventAttributes|null
*/
public function getWorkflowExecutionCanceledEventAttributes()
{
@@ -863,7 +887,7 @@ public function setWorkflowExecutionCanceledEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes request_cancel_external_workflow_execution_initiated_event_attributes = 30;
- * @return \Temporal\Api\History\V1\RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
+ * @return \Temporal\Api\History\V1\RequestCancelExternalWorkflowExecutionInitiatedEventAttributes|null
*/
public function getRequestCancelExternalWorkflowExecutionInitiatedEventAttributes()
{
@@ -890,7 +914,7 @@ public function setRequestCancelExternalWorkflowExecutionInitiatedEventAttribute
/**
* Generated from protobuf field .temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes request_cancel_external_workflow_execution_failed_event_attributes = 31;
- * @return \Temporal\Api\History\V1\RequestCancelExternalWorkflowExecutionFailedEventAttributes
+ * @return \Temporal\Api\History\V1\RequestCancelExternalWorkflowExecutionFailedEventAttributes|null
*/
public function getRequestCancelExternalWorkflowExecutionFailedEventAttributes()
{
@@ -917,7 +941,7 @@ public function setRequestCancelExternalWorkflowExecutionFailedEventAttributes($
/**
* Generated from protobuf field .temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes external_workflow_execution_cancel_requested_event_attributes = 32;
- * @return \Temporal\Api\History\V1\ExternalWorkflowExecutionCancelRequestedEventAttributes
+ * @return \Temporal\Api\History\V1\ExternalWorkflowExecutionCancelRequestedEventAttributes|null
*/
public function getExternalWorkflowExecutionCancelRequestedEventAttributes()
{
@@ -944,7 +968,7 @@ public function setExternalWorkflowExecutionCancelRequestedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes workflow_execution_continued_as_new_event_attributes = 33;
- * @return \Temporal\Api\History\V1\WorkflowExecutionContinuedAsNewEventAttributes
+ * @return \Temporal\Api\History\V1\WorkflowExecutionContinuedAsNewEventAttributes|null
*/
public function getWorkflowExecutionContinuedAsNewEventAttributes()
{
@@ -971,7 +995,7 @@ public function setWorkflowExecutionContinuedAsNewEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes start_child_workflow_execution_initiated_event_attributes = 34;
- * @return \Temporal\Api\History\V1\StartChildWorkflowExecutionInitiatedEventAttributes
+ * @return \Temporal\Api\History\V1\StartChildWorkflowExecutionInitiatedEventAttributes|null
*/
public function getStartChildWorkflowExecutionInitiatedEventAttributes()
{
@@ -998,7 +1022,7 @@ public function setStartChildWorkflowExecutionInitiatedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes start_child_workflow_execution_failed_event_attributes = 35;
- * @return \Temporal\Api\History\V1\StartChildWorkflowExecutionFailedEventAttributes
+ * @return \Temporal\Api\History\V1\StartChildWorkflowExecutionFailedEventAttributes|null
*/
public function getStartChildWorkflowExecutionFailedEventAttributes()
{
@@ -1025,7 +1049,7 @@ public function setStartChildWorkflowExecutionFailedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes child_workflow_execution_started_event_attributes = 36;
- * @return \Temporal\Api\History\V1\ChildWorkflowExecutionStartedEventAttributes
+ * @return \Temporal\Api\History\V1\ChildWorkflowExecutionStartedEventAttributes|null
*/
public function getChildWorkflowExecutionStartedEventAttributes()
{
@@ -1052,7 +1076,7 @@ public function setChildWorkflowExecutionStartedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes child_workflow_execution_completed_event_attributes = 37;
- * @return \Temporal\Api\History\V1\ChildWorkflowExecutionCompletedEventAttributes
+ * @return \Temporal\Api\History\V1\ChildWorkflowExecutionCompletedEventAttributes|null
*/
public function getChildWorkflowExecutionCompletedEventAttributes()
{
@@ -1079,7 +1103,7 @@ public function setChildWorkflowExecutionCompletedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes child_workflow_execution_failed_event_attributes = 38;
- * @return \Temporal\Api\History\V1\ChildWorkflowExecutionFailedEventAttributes
+ * @return \Temporal\Api\History\V1\ChildWorkflowExecutionFailedEventAttributes|null
*/
public function getChildWorkflowExecutionFailedEventAttributes()
{
@@ -1106,7 +1130,7 @@ public function setChildWorkflowExecutionFailedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes child_workflow_execution_canceled_event_attributes = 39;
- * @return \Temporal\Api\History\V1\ChildWorkflowExecutionCanceledEventAttributes
+ * @return \Temporal\Api\History\V1\ChildWorkflowExecutionCanceledEventAttributes|null
*/
public function getChildWorkflowExecutionCanceledEventAttributes()
{
@@ -1133,7 +1157,7 @@ public function setChildWorkflowExecutionCanceledEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes child_workflow_execution_timed_out_event_attributes = 40;
- * @return \Temporal\Api\History\V1\ChildWorkflowExecutionTimedOutEventAttributes
+ * @return \Temporal\Api\History\V1\ChildWorkflowExecutionTimedOutEventAttributes|null
*/
public function getChildWorkflowExecutionTimedOutEventAttributes()
{
@@ -1160,7 +1184,7 @@ public function setChildWorkflowExecutionTimedOutEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes child_workflow_execution_terminated_event_attributes = 41;
- * @return \Temporal\Api\History\V1\ChildWorkflowExecutionTerminatedEventAttributes
+ * @return \Temporal\Api\History\V1\ChildWorkflowExecutionTerminatedEventAttributes|null
*/
public function getChildWorkflowExecutionTerminatedEventAttributes()
{
@@ -1187,7 +1211,7 @@ public function setChildWorkflowExecutionTerminatedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes signal_external_workflow_execution_initiated_event_attributes = 42;
- * @return \Temporal\Api\History\V1\SignalExternalWorkflowExecutionInitiatedEventAttributes
+ * @return \Temporal\Api\History\V1\SignalExternalWorkflowExecutionInitiatedEventAttributes|null
*/
public function getSignalExternalWorkflowExecutionInitiatedEventAttributes()
{
@@ -1214,7 +1238,7 @@ public function setSignalExternalWorkflowExecutionInitiatedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes signal_external_workflow_execution_failed_event_attributes = 43;
- * @return \Temporal\Api\History\V1\SignalExternalWorkflowExecutionFailedEventAttributes
+ * @return \Temporal\Api\History\V1\SignalExternalWorkflowExecutionFailedEventAttributes|null
*/
public function getSignalExternalWorkflowExecutionFailedEventAttributes()
{
@@ -1241,7 +1265,7 @@ public function setSignalExternalWorkflowExecutionFailedEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes external_workflow_execution_signaled_event_attributes = 44;
- * @return \Temporal\Api\History\V1\ExternalWorkflowExecutionSignaledEventAttributes
+ * @return \Temporal\Api\History\V1\ExternalWorkflowExecutionSignaledEventAttributes|null
*/
public function getExternalWorkflowExecutionSignaledEventAttributes()
{
@@ -1268,7 +1292,7 @@ public function setExternalWorkflowExecutionSignaledEventAttributes($var)
/**
* Generated from protobuf field .temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes upsert_workflow_search_attributes_event_attributes = 45;
- * @return \Temporal\Api\History\V1\UpsertWorkflowSearchAttributesEventAttributes
+ * @return \Temporal\Api\History\V1\UpsertWorkflowSearchAttributesEventAttributes|null
*/
public function getUpsertWorkflowSearchAttributesEventAttributes()
{
diff --git a/api/Temporal/Api/History/V1/MarkerRecordedEventAttributes.php b/api/v1/Temporal/Api/History/V1/MarkerRecordedEventAttributes.php
similarity index 75%
rename from api/Temporal/Api/History/V1/MarkerRecordedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/MarkerRecordedEventAttributes.php
index 304ef10c9..5c135bbb4 100644
--- a/api/Temporal/Api/History/V1/MarkerRecordedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/MarkerRecordedEventAttributes.php
@@ -14,14 +14,20 @@
class MarkerRecordedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.
+ *
* Generated from protobuf field string marker_name = 1;
*/
protected $marker_name = '';
/**
+ * Serialized information recorded in the marker
+ *
* Generated from protobuf field map details = 2;
*/
private $details;
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 3;
*/
protected $workflow_task_completed_event_id = 0;
@@ -30,6 +36,8 @@ class MarkerRecordedEventAttributes extends \Google\Protobuf\Internal\Message
*/
protected $header = null;
/**
+ * Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 5;
*/
protected $failure = null;
@@ -41,10 +49,14 @@ class MarkerRecordedEventAttributes extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $marker_name
+ * Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.
* @type array|\Google\Protobuf\Internal\MapField $details
+ * Serialized information recorded in the marker
* @type int|string $workflow_task_completed_event_id
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
* @type \Temporal\Api\Common\V1\Header $header
* @type \Temporal\Api\Failure\V1\Failure $failure
+ * Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
* }
*/
public function __construct($data = NULL) {
@@ -53,6 +65,8 @@ public function __construct($data = NULL) {
}
/**
+ * Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.
+ *
* Generated from protobuf field string marker_name = 1;
* @return string
*/
@@ -62,6 +76,8 @@ public function getMarkerName()
}
/**
+ * Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.
+ *
* Generated from protobuf field string marker_name = 1;
* @param string $var
* @return $this
@@ -75,6 +91,8 @@ public function setMarkerName($var)
}
/**
+ * Serialized information recorded in the marker
+ *
* Generated from protobuf field map details = 2;
* @return \Google\Protobuf\Internal\MapField
*/
@@ -84,6 +102,8 @@ public function getDetails()
}
/**
+ * Serialized information recorded in the marker
+ *
* Generated from protobuf field map details = 2;
* @param array|\Google\Protobuf\Internal\MapField $var
* @return $this
@@ -97,6 +117,8 @@ public function setDetails($var)
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 3;
* @return int|string
*/
@@ -106,6 +128,8 @@ public function getWorkflowTaskCompletedEventId()
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 3;
* @param int|string $var
* @return $this
@@ -120,11 +144,11 @@ public function setWorkflowTaskCompletedEventId($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Header header = 4;
- * @return \Temporal\Api\Common\V1\Header
+ * @return \Temporal\Api\Common\V1\Header|null
*/
public function getHeader()
{
- return isset($this->header) ? $this->header : null;
+ return $this->header;
}
public function hasHeader()
@@ -151,12 +175,14 @@ public function setHeader($var)
}
/**
+ * Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 5;
- * @return \Temporal\Api\Failure\V1\Failure
+ * @return \Temporal\Api\Failure\V1\Failure|null
*/
public function getFailure()
{
- return isset($this->failure) ? $this->failure : null;
+ return $this->failure;
}
public function hasFailure()
@@ -170,6 +196,8 @@ public function clearFailure()
}
/**
+ * Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 5;
* @param \Temporal\Api\Failure\V1\Failure $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/RequestCancelExternalWorkflowExecutionFailedEventAttributes.php b/api/v1/Temporal/Api/History/V1/RequestCancelExternalWorkflowExecutionFailedEventAttributes.php
similarity index 80%
rename from api/Temporal/Api/History/V1/RequestCancelExternalWorkflowExecutionFailedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/RequestCancelExternalWorkflowExecutionFailedEventAttributes.php
index dc7e3564b..30be39b7a 100644
--- a/api/Temporal/Api/History/V1/RequestCancelExternalWorkflowExecutionFailedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/RequestCancelExternalWorkflowExecutionFailedEventAttributes.php
@@ -18,10 +18,14 @@ class RequestCancelExternalWorkflowExecutionFailedEventAttributes extends \Googl
*/
protected $cause = 0;
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 2;
*/
protected $workflow_task_completed_event_id = 0;
/**
+ * namespace of the workflow which failed to cancel
+ *
* Generated from protobuf field string namespace = 3;
*/
protected $namespace = '';
@@ -30,10 +34,15 @@ class RequestCancelExternalWorkflowExecutionFailedEventAttributes extends \Googl
*/
protected $workflow_execution = null;
/**
+ * id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this failure
+ * corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 5;
*/
protected $initiated_event_id = 0;
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 6;
*/
protected $control = '';
@@ -46,10 +55,15 @@ class RequestCancelExternalWorkflowExecutionFailedEventAttributes extends \Googl
*
* @type int $cause
* @type int|string $workflow_task_completed_event_id
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
* @type string $namespace
+ * namespace of the workflow which failed to cancel
* @type \Temporal\Api\Common\V1\WorkflowExecution $workflow_execution
* @type int|string $initiated_event_id
+ * id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this failure
+ * corresponds to
* @type string $control
+ * Deprecated
* }
*/
public function __construct($data = NULL) {
@@ -80,6 +94,8 @@ public function setCause($var)
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 2;
* @return int|string
*/
@@ -89,6 +105,8 @@ public function getWorkflowTaskCompletedEventId()
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 2;
* @param int|string $var
* @return $this
@@ -102,6 +120,8 @@ public function setWorkflowTaskCompletedEventId($var)
}
/**
+ * namespace of the workflow which failed to cancel
+ *
* Generated from protobuf field string namespace = 3;
* @return string
*/
@@ -111,6 +131,8 @@ public function getNamespace()
}
/**
+ * namespace of the workflow which failed to cancel
+ *
* Generated from protobuf field string namespace = 3;
* @param string $var
* @return $this
@@ -125,11 +147,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getWorkflowExecution()
{
- return isset($this->workflow_execution) ? $this->workflow_execution : null;
+ return $this->workflow_execution;
}
public function hasWorkflowExecution()
@@ -156,6 +178,9 @@ public function setWorkflowExecution($var)
}
/**
+ * id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this failure
+ * corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 5;
* @return int|string
*/
@@ -165,6 +190,9 @@ public function getInitiatedEventId()
}
/**
+ * id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this failure
+ * corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 5;
* @param int|string $var
* @return $this
@@ -178,6 +206,8 @@ public function setInitiatedEventId($var)
}
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 6;
* @return string
*/
@@ -187,6 +217,8 @@ public function getControl()
}
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 6;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.php b/api/v1/Temporal/Api/History/V1/RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.php
similarity index 75%
rename from api/Temporal/Api/History/V1/RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.php
index 58acfa9f0..75d621227 100644
--- a/api/Temporal/Api/History/V1/RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.php
@@ -14,10 +14,14 @@
class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 1;
*/
protected $workflow_task_completed_event_id = 0;
/**
+ * The namespace the workflow to be cancelled lives in
+ *
* Generated from protobuf field string namespace = 2;
*/
protected $namespace = '';
@@ -26,10 +30,15 @@ class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes extends \Go
*/
protected $workflow_execution = null;
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 4;
*/
protected $control = '';
/**
+ * Workers are expected to set this to true if the workflow they are requesting to cancel is
+ * a child of the workflow which issued the request
+ *
* Generated from protobuf field bool child_workflow_only = 5;
*/
protected $child_workflow_only = false;
@@ -41,10 +50,15 @@ class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes extends \Go
* Optional. Data for populating the Message object.
*
* @type int|string $workflow_task_completed_event_id
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
* @type string $namespace
+ * The namespace the workflow to be cancelled lives in
* @type \Temporal\Api\Common\V1\WorkflowExecution $workflow_execution
* @type string $control
+ * Deprecated
* @type bool $child_workflow_only
+ * Workers are expected to set this to true if the workflow they are requesting to cancel is
+ * a child of the workflow which issued the request
* }
*/
public function __construct($data = NULL) {
@@ -53,6 +67,8 @@ public function __construct($data = NULL) {
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 1;
* @return int|string
*/
@@ -62,6 +78,8 @@ public function getWorkflowTaskCompletedEventId()
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 1;
* @param int|string $var
* @return $this
@@ -75,6 +93,8 @@ public function setWorkflowTaskCompletedEventId($var)
}
/**
+ * The namespace the workflow to be cancelled lives in
+ *
* Generated from protobuf field string namespace = 2;
* @return string
*/
@@ -84,6 +104,8 @@ public function getNamespace()
}
/**
+ * The namespace the workflow to be cancelled lives in
+ *
* Generated from protobuf field string namespace = 2;
* @param string $var
* @return $this
@@ -98,11 +120,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getWorkflowExecution()
{
- return isset($this->workflow_execution) ? $this->workflow_execution : null;
+ return $this->workflow_execution;
}
public function hasWorkflowExecution()
@@ -129,6 +151,8 @@ public function setWorkflowExecution($var)
}
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 4;
* @return string
*/
@@ -138,6 +162,8 @@ public function getControl()
}
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 4;
* @param string $var
* @return $this
@@ -151,6 +177,9 @@ public function setControl($var)
}
/**
+ * Workers are expected to set this to true if the workflow they are requesting to cancel is
+ * a child of the workflow which issued the request
+ *
* Generated from protobuf field bool child_workflow_only = 5;
* @return bool
*/
@@ -160,6 +189,9 @@ public function getChildWorkflowOnly()
}
/**
+ * Workers are expected to set this to true if the workflow they are requesting to cancel is
+ * a child of the workflow which issued the request
+ *
* Generated from protobuf field bool child_workflow_only = 5;
* @param bool $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/SignalExternalWorkflowExecutionFailedEventAttributes.php b/api/v1/Temporal/Api/History/V1/SignalExternalWorkflowExecutionFailedEventAttributes.php
similarity index 90%
rename from api/Temporal/Api/History/V1/SignalExternalWorkflowExecutionFailedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/SignalExternalWorkflowExecutionFailedEventAttributes.php
index b6c740312..0c86b308b 100644
--- a/api/Temporal/Api/History/V1/SignalExternalWorkflowExecutionFailedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/SignalExternalWorkflowExecutionFailedEventAttributes.php
@@ -18,6 +18,8 @@ class SignalExternalWorkflowExecutionFailedEventAttributes extends \Google\Proto
*/
protected $cause = 0;
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 2;
*/
protected $workflow_task_completed_event_id = 0;
@@ -34,6 +36,8 @@ class SignalExternalWorkflowExecutionFailedEventAttributes extends \Google\Proto
*/
protected $initiated_event_id = 0;
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 6;
*/
protected $control = '';
@@ -46,10 +50,12 @@ class SignalExternalWorkflowExecutionFailedEventAttributes extends \Google\Proto
*
* @type int $cause
* @type int|string $workflow_task_completed_event_id
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
* @type string $namespace
* @type \Temporal\Api\Common\V1\WorkflowExecution $workflow_execution
* @type int|string $initiated_event_id
* @type string $control
+ * Deprecated
* }
*/
public function __construct($data = NULL) {
@@ -80,6 +86,8 @@ public function setCause($var)
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 2;
* @return int|string
*/
@@ -89,6 +97,8 @@ public function getWorkflowTaskCompletedEventId()
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 2;
* @param int|string $var
* @return $this
@@ -125,11 +135,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getWorkflowExecution()
{
- return isset($this->workflow_execution) ? $this->workflow_execution : null;
+ return $this->workflow_execution;
}
public function hasWorkflowExecution()
@@ -178,6 +188,8 @@ public function setInitiatedEventId($var)
}
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 6;
* @return string
*/
@@ -187,6 +199,8 @@ public function getControl()
}
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 6;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/SignalExternalWorkflowExecutionInitiatedEventAttributes.php b/api/v1/Temporal/Api/History/V1/SignalExternalWorkflowExecutionInitiatedEventAttributes.php
similarity index 67%
rename from api/Temporal/Api/History/V1/SignalExternalWorkflowExecutionInitiatedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/SignalExternalWorkflowExecutionInitiatedEventAttributes.php
index 723b423eb..68c9d95a3 100644
--- a/api/Temporal/Api/History/V1/SignalExternalWorkflowExecutionInitiatedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/SignalExternalWorkflowExecutionInitiatedEventAttributes.php
@@ -14,10 +14,14 @@
class SignalExternalWorkflowExecutionInitiatedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 1;
*/
protected $workflow_task_completed_event_id = 0;
/**
+ * namespace of the to-be-signalled workflow
+ *
* Generated from protobuf field string namespace = 2;
*/
protected $namespace = '';
@@ -26,21 +30,34 @@ class SignalExternalWorkflowExecutionInitiatedEventAttributes extends \Google\Pr
*/
protected $workflow_execution = null;
/**
+ * name/type of the signal to fire in the external workflow
+ *
* Generated from protobuf field string signal_name = 4;
*/
protected $signal_name = '';
/**
+ * Serialized arguments to provide to the signal handler
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 5;
*/
protected $input = null;
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 6;
*/
protected $control = '';
/**
+ * Workers are expected to set this to true if the workflow they are requesting to cancel is
+ * a child of the workflow which issued the request
+ *
* Generated from protobuf field bool child_workflow_only = 7;
*/
protected $child_workflow_only = false;
+ /**
+ * Generated from protobuf field .temporal.api.common.v1.Header header = 8;
+ */
+ protected $header = null;
/**
* Constructor.
@@ -49,12 +66,20 @@ class SignalExternalWorkflowExecutionInitiatedEventAttributes extends \Google\Pr
* Optional. Data for populating the Message object.
*
* @type int|string $workflow_task_completed_event_id
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
* @type string $namespace
+ * namespace of the to-be-signalled workflow
* @type \Temporal\Api\Common\V1\WorkflowExecution $workflow_execution
* @type string $signal_name
+ * name/type of the signal to fire in the external workflow
* @type \Temporal\Api\Common\V1\Payloads $input
+ * Serialized arguments to provide to the signal handler
* @type string $control
+ * Deprecated
* @type bool $child_workflow_only
+ * Workers are expected to set this to true if the workflow they are requesting to cancel is
+ * a child of the workflow which issued the request
+ * @type \Temporal\Api\Common\V1\Header $header
* }
*/
public function __construct($data = NULL) {
@@ -63,6 +88,8 @@ public function __construct($data = NULL) {
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 1;
* @return int|string
*/
@@ -72,6 +99,8 @@ public function getWorkflowTaskCompletedEventId()
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 1;
* @param int|string $var
* @return $this
@@ -85,6 +114,8 @@ public function setWorkflowTaskCompletedEventId($var)
}
/**
+ * namespace of the to-be-signalled workflow
+ *
* Generated from protobuf field string namespace = 2;
* @return string
*/
@@ -94,6 +125,8 @@ public function getNamespace()
}
/**
+ * namespace of the to-be-signalled workflow
+ *
* Generated from protobuf field string namespace = 2;
* @param string $var
* @return $this
@@ -108,11 +141,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getWorkflowExecution()
{
- return isset($this->workflow_execution) ? $this->workflow_execution : null;
+ return $this->workflow_execution;
}
public function hasWorkflowExecution()
@@ -139,6 +172,8 @@ public function setWorkflowExecution($var)
}
/**
+ * name/type of the signal to fire in the external workflow
+ *
* Generated from protobuf field string signal_name = 4;
* @return string
*/
@@ -148,6 +183,8 @@ public function getSignalName()
}
/**
+ * name/type of the signal to fire in the external workflow
+ *
* Generated from protobuf field string signal_name = 4;
* @param string $var
* @return $this
@@ -161,12 +198,14 @@ public function setSignalName($var)
}
/**
+ * Serialized arguments to provide to the signal handler
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 5;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getInput()
{
- return isset($this->input) ? $this->input : null;
+ return $this->input;
}
public function hasInput()
@@ -180,6 +219,8 @@ public function clearInput()
}
/**
+ * Serialized arguments to provide to the signal handler
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 5;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -193,6 +234,8 @@ public function setInput($var)
}
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 6;
* @return string
*/
@@ -202,6 +245,8 @@ public function getControl()
}
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 6;
* @param string $var
* @return $this
@@ -215,6 +260,9 @@ public function setControl($var)
}
/**
+ * Workers are expected to set this to true if the workflow they are requesting to cancel is
+ * a child of the workflow which issued the request
+ *
* Generated from protobuf field bool child_workflow_only = 7;
* @return bool
*/
@@ -224,6 +272,9 @@ public function getChildWorkflowOnly()
}
/**
+ * Workers are expected to set this to true if the workflow they are requesting to cancel is
+ * a child of the workflow which issued the request
+ *
* Generated from protobuf field bool child_workflow_only = 7;
* @param bool $var
* @return $this
@@ -236,5 +287,37 @@ public function setChildWorkflowOnly($var)
return $this;
}
+ /**
+ * Generated from protobuf field .temporal.api.common.v1.Header header = 8;
+ * @return \Temporal\Api\Common\V1\Header|null
+ */
+ public function getHeader()
+ {
+ return $this->header;
+ }
+
+ public function hasHeader()
+ {
+ return isset($this->header);
+ }
+
+ public function clearHeader()
+ {
+ unset($this->header);
+ }
+
+ /**
+ * Generated from protobuf field .temporal.api.common.v1.Header header = 8;
+ * @param \Temporal\Api\Common\V1\Header $var
+ * @return $this
+ */
+ public function setHeader($var)
+ {
+ GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Header::class);
+ $this->header = $var;
+
+ return $this;
+ }
+
}
diff --git a/api/Temporal/Api/History/V1/StartChildWorkflowExecutionFailedEventAttributes.php b/api/v1/Temporal/Api/History/V1/StartChildWorkflowExecutionFailedEventAttributes.php
similarity index 83%
rename from api/Temporal/Api/History/V1/StartChildWorkflowExecutionFailedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/StartChildWorkflowExecutionFailedEventAttributes.php
index 5bd9a8d81..86d8481d0 100644
--- a/api/Temporal/Api/History/V1/StartChildWorkflowExecutionFailedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/StartChildWorkflowExecutionFailedEventAttributes.php
@@ -14,6 +14,8 @@
class StartChildWorkflowExecutionFailedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 1;
*/
protected $namespace = '';
@@ -30,14 +32,20 @@ class StartChildWorkflowExecutionFailedEventAttributes extends \Google\Protobuf\
*/
protected $cause = 0;
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 5;
*/
protected $control = '';
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 6;
*/
protected $initiated_event_id = 0;
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 7;
*/
protected $workflow_task_completed_event_id = 0;
@@ -49,12 +57,16 @@ class StartChildWorkflowExecutionFailedEventAttributes extends \Google\Protobuf\
* Optional. Data for populating the Message object.
*
* @type string $namespace
+ * Namespace of the child workflow
* @type string $workflow_id
* @type \Temporal\Api\Common\V1\WorkflowType $workflow_type
* @type int $cause
* @type string $control
+ * Deprecated
* @type int|string $initiated_event_id
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
* @type int|string $workflow_task_completed_event_id
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
* }
*/
public function __construct($data = NULL) {
@@ -63,6 +75,8 @@ public function __construct($data = NULL) {
}
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 1;
* @return string
*/
@@ -72,6 +86,8 @@ public function getNamespace()
}
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 1;
* @param string $var
* @return $this
@@ -108,11 +124,11 @@ public function setWorkflowId($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 3;
- * @return \Temporal\Api\Common\V1\WorkflowType
+ * @return \Temporal\Api\Common\V1\WorkflowType|null
*/
public function getWorkflowType()
{
- return isset($this->workflow_type) ? $this->workflow_type : null;
+ return $this->workflow_type;
}
public function hasWorkflowType()
@@ -161,6 +177,8 @@ public function setCause($var)
}
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 5;
* @return string
*/
@@ -170,6 +188,8 @@ public function getControl()
}
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 5;
* @param string $var
* @return $this
@@ -183,6 +203,8 @@ public function setControl($var)
}
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 6;
* @return int|string
*/
@@ -192,6 +214,8 @@ public function getInitiatedEventId()
}
/**
+ * Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
+ *
* Generated from protobuf field int64 initiated_event_id = 6;
* @param int|string $var
* @return $this
@@ -205,6 +229,8 @@ public function setInitiatedEventId($var)
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 7;
* @return int|string
*/
@@ -214,6 +240,8 @@ public function getWorkflowTaskCompletedEventId()
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 7;
* @param int|string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/StartChildWorkflowExecutionInitiatedEventAttributes.php b/api/v1/Temporal/Api/History/V1/StartChildWorkflowExecutionInitiatedEventAttributes.php
similarity index 90%
rename from api/Temporal/Api/History/V1/StartChildWorkflowExecutionInitiatedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/StartChildWorkflowExecutionInitiatedEventAttributes.php
index e93cdde11..3d5167ad6 100644
--- a/api/Temporal/Api/History/V1/StartChildWorkflowExecutionInitiatedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/StartChildWorkflowExecutionInitiatedEventAttributes.php
@@ -14,6 +14,8 @@
class StartChildWorkflowExecutionInitiatedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 1;
*/
protected $namespace = '';
@@ -58,10 +60,14 @@ class StartChildWorkflowExecutionInitiatedEventAttributes extends \Google\Protob
*/
protected $parent_close_policy = 0;
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 10;
*/
protected $control = '';
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 11;
*/
protected $workflow_task_completed_event_id = 0;
@@ -76,6 +82,8 @@ class StartChildWorkflowExecutionInitiatedEventAttributes extends \Google\Protob
*/
protected $retry_policy = null;
/**
+ * If this child runs on a cron schedule, it will appear here
+ *
* Generated from protobuf field string cron_schedule = 14;
*/
protected $cron_schedule = '';
@@ -99,6 +107,7 @@ class StartChildWorkflowExecutionInitiatedEventAttributes extends \Google\Protob
* Optional. Data for populating the Message object.
*
* @type string $namespace
+ * Namespace of the child workflow
* @type string $workflow_id
* @type \Temporal\Api\Common\V1\WorkflowType $workflow_type
* @type \Temporal\Api\Taskqueue\V1\TaskQueue $task_queue
@@ -112,11 +121,14 @@ class StartChildWorkflowExecutionInitiatedEventAttributes extends \Google\Protob
* @type int $parent_close_policy
* Default: PARENT_CLOSE_POLICY_TERMINATE.
* @type string $control
+ * Deprecated
* @type int|string $workflow_task_completed_event_id
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
* @type int $workflow_id_reuse_policy
* Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
* @type \Temporal\Api\Common\V1\RetryPolicy $retry_policy
* @type string $cron_schedule
+ * If this child runs on a cron schedule, it will appear here
* @type \Temporal\Api\Common\V1\Header $header
* @type \Temporal\Api\Common\V1\Memo $memo
* @type \Temporal\Api\Common\V1\SearchAttributes $search_attributes
@@ -128,6 +140,8 @@ public function __construct($data = NULL) {
}
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 1;
* @return string
*/
@@ -137,6 +151,8 @@ public function getNamespace()
}
/**
+ * Namespace of the child workflow
+ *
* Generated from protobuf field string namespace = 1;
* @param string $var
* @return $this
@@ -173,11 +189,11 @@ public function setWorkflowId($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 3;
- * @return \Temporal\Api\Common\V1\WorkflowType
+ * @return \Temporal\Api\Common\V1\WorkflowType|null
*/
public function getWorkflowType()
{
- return isset($this->workflow_type) ? $this->workflow_type : null;
+ return $this->workflow_type;
}
public function hasWorkflowType()
@@ -205,11 +221,11 @@ public function setWorkflowType($var)
/**
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
- * @return \Temporal\Api\Taskqueue\V1\TaskQueue
+ * @return \Temporal\Api\Taskqueue\V1\TaskQueue|null
*/
public function getTaskQueue()
{
- return isset($this->task_queue) ? $this->task_queue : null;
+ return $this->task_queue;
}
public function hasTaskQueue()
@@ -237,11 +253,11 @@ public function setTaskQueue($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 5;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getInput()
{
- return isset($this->input) ? $this->input : null;
+ return $this->input;
}
public function hasInput()
@@ -271,11 +287,11 @@ public function setInput($var)
* Total workflow execution timeout including retries and continue as new.
*
* Generated from protobuf field .google.protobuf.Duration workflow_execution_timeout = 6 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getWorkflowExecutionTimeout()
{
- return isset($this->workflow_execution_timeout) ? $this->workflow_execution_timeout : null;
+ return $this->workflow_execution_timeout;
}
public function hasWorkflowExecutionTimeout()
@@ -307,11 +323,11 @@ public function setWorkflowExecutionTimeout($var)
* Timeout of a single workflow run.
*
* Generated from protobuf field .google.protobuf.Duration workflow_run_timeout = 7 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getWorkflowRunTimeout()
{
- return isset($this->workflow_run_timeout) ? $this->workflow_run_timeout : null;
+ return $this->workflow_run_timeout;
}
public function hasWorkflowRunTimeout()
@@ -343,11 +359,11 @@ public function setWorkflowRunTimeout($var)
* Timeout of a single workflow task.
*
* Generated from protobuf field .google.protobuf.Duration workflow_task_timeout = 8 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getWorkflowTaskTimeout()
{
- return isset($this->workflow_task_timeout) ? $this->workflow_task_timeout : null;
+ return $this->workflow_task_timeout;
}
public function hasWorkflowTaskTimeout()
@@ -402,6 +418,8 @@ public function setParentClosePolicy($var)
}
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 10;
* @return string
*/
@@ -411,6 +429,8 @@ public function getControl()
}
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 10;
* @param string $var
* @return $this
@@ -424,6 +444,8 @@ public function setControl($var)
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 11;
* @return int|string
*/
@@ -433,6 +455,8 @@ public function getWorkflowTaskCompletedEventId()
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 11;
* @param int|string $var
* @return $this
@@ -473,11 +497,11 @@ public function setWorkflowIdReusePolicy($var)
/**
* Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 13;
- * @return \Temporal\Api\Common\V1\RetryPolicy
+ * @return \Temporal\Api\Common\V1\RetryPolicy|null
*/
public function getRetryPolicy()
{
- return isset($this->retry_policy) ? $this->retry_policy : null;
+ return $this->retry_policy;
}
public function hasRetryPolicy()
@@ -504,6 +528,8 @@ public function setRetryPolicy($var)
}
/**
+ * If this child runs on a cron schedule, it will appear here
+ *
* Generated from protobuf field string cron_schedule = 14;
* @return string
*/
@@ -513,6 +539,8 @@ public function getCronSchedule()
}
/**
+ * If this child runs on a cron schedule, it will appear here
+ *
* Generated from protobuf field string cron_schedule = 14;
* @param string $var
* @return $this
@@ -527,11 +555,11 @@ public function setCronSchedule($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Header header = 15;
- * @return \Temporal\Api\Common\V1\Header
+ * @return \Temporal\Api\Common\V1\Header|null
*/
public function getHeader()
{
- return isset($this->header) ? $this->header : null;
+ return $this->header;
}
public function hasHeader()
@@ -559,11 +587,11 @@ public function setHeader($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Memo memo = 16;
- * @return \Temporal\Api\Common\V1\Memo
+ * @return \Temporal\Api\Common\V1\Memo|null
*/
public function getMemo()
{
- return isset($this->memo) ? $this->memo : null;
+ return $this->memo;
}
public function hasMemo()
@@ -591,11 +619,11 @@ public function setMemo($var)
/**
* Generated from protobuf field .temporal.api.common.v1.SearchAttributes search_attributes = 17;
- * @return \Temporal\Api\Common\V1\SearchAttributes
+ * @return \Temporal\Api\Common\V1\SearchAttributes|null
*/
public function getSearchAttributes()
{
- return isset($this->search_attributes) ? $this->search_attributes : null;
+ return $this->search_attributes;
}
public function hasSearchAttributes()
diff --git a/api/Temporal/Api/History/V1/TimerCanceledEventAttributes.php b/api/v1/Temporal/Api/History/V1/TimerCanceledEventAttributes.php
similarity index 75%
rename from api/Temporal/Api/History/V1/TimerCanceledEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/TimerCanceledEventAttributes.php
index 7f354b927..1f9418ae5 100644
--- a/api/Temporal/Api/History/V1/TimerCanceledEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/TimerCanceledEventAttributes.php
@@ -14,18 +14,26 @@
class TimerCanceledEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * Will match the `timer_id` from `TIMER_STARTED` event for this timer
+ *
* Generated from protobuf field string timer_id = 1;
*/
protected $timer_id = '';
/**
+ * The id of the `TIMER_STARTED` event itself
+ *
* Generated from protobuf field int64 started_event_id = 2;
*/
protected $started_event_id = 0;
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 3;
*/
protected $workflow_task_completed_event_id = 0;
/**
+ * The id of the worker who requested this cancel
+ *
* Generated from protobuf field string identity = 4;
*/
protected $identity = '';
@@ -37,9 +45,13 @@ class TimerCanceledEventAttributes extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $timer_id
+ * Will match the `timer_id` from `TIMER_STARTED` event for this timer
* @type int|string $started_event_id
+ * The id of the `TIMER_STARTED` event itself
* @type int|string $workflow_task_completed_event_id
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
* @type string $identity
+ * The id of the worker who requested this cancel
* }
*/
public function __construct($data = NULL) {
@@ -48,6 +60,8 @@ public function __construct($data = NULL) {
}
/**
+ * Will match the `timer_id` from `TIMER_STARTED` event for this timer
+ *
* Generated from protobuf field string timer_id = 1;
* @return string
*/
@@ -57,6 +71,8 @@ public function getTimerId()
}
/**
+ * Will match the `timer_id` from `TIMER_STARTED` event for this timer
+ *
* Generated from protobuf field string timer_id = 1;
* @param string $var
* @return $this
@@ -70,6 +86,8 @@ public function setTimerId($var)
}
/**
+ * The id of the `TIMER_STARTED` event itself
+ *
* Generated from protobuf field int64 started_event_id = 2;
* @return int|string
*/
@@ -79,6 +97,8 @@ public function getStartedEventId()
}
/**
+ * The id of the `TIMER_STARTED` event itself
+ *
* Generated from protobuf field int64 started_event_id = 2;
* @param int|string $var
* @return $this
@@ -92,6 +112,8 @@ public function setStartedEventId($var)
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 3;
* @return int|string
*/
@@ -101,6 +123,8 @@ public function getWorkflowTaskCompletedEventId()
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 3;
* @param int|string $var
* @return $this
@@ -114,6 +138,8 @@ public function setWorkflowTaskCompletedEventId($var)
}
/**
+ * The id of the worker who requested this cancel
+ *
* Generated from protobuf field string identity = 4;
* @return string
*/
@@ -123,6 +149,8 @@ public function getIdentity()
}
/**
+ * The id of the worker who requested this cancel
+ *
* Generated from protobuf field string identity = 4;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/TimerFiredEventAttributes.php b/api/v1/Temporal/Api/History/V1/TimerFiredEventAttributes.php
similarity index 78%
rename from api/Temporal/Api/History/V1/TimerFiredEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/TimerFiredEventAttributes.php
index 16521204b..37f56ba18 100644
--- a/api/Temporal/Api/History/V1/TimerFiredEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/TimerFiredEventAttributes.php
@@ -14,10 +14,14 @@
class TimerFiredEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * Will match the `timer_id` from `TIMER_STARTED` event for this timer
+ *
* Generated from protobuf field string timer_id = 1;
*/
protected $timer_id = '';
/**
+ * The id of the `TIMER_STARTED` event itself
+ *
* Generated from protobuf field int64 started_event_id = 2;
*/
protected $started_event_id = 0;
@@ -29,7 +33,9 @@ class TimerFiredEventAttributes extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $timer_id
+ * Will match the `timer_id` from `TIMER_STARTED` event for this timer
* @type int|string $started_event_id
+ * The id of the `TIMER_STARTED` event itself
* }
*/
public function __construct($data = NULL) {
@@ -38,6 +44,8 @@ public function __construct($data = NULL) {
}
/**
+ * Will match the `timer_id` from `TIMER_STARTED` event for this timer
+ *
* Generated from protobuf field string timer_id = 1;
* @return string
*/
@@ -47,6 +55,8 @@ public function getTimerId()
}
/**
+ * Will match the `timer_id` from `TIMER_STARTED` event for this timer
+ *
* Generated from protobuf field string timer_id = 1;
* @param string $var
* @return $this
@@ -60,6 +70,8 @@ public function setTimerId($var)
}
/**
+ * The id of the `TIMER_STARTED` event itself
+ *
* Generated from protobuf field int64 started_event_id = 2;
* @return int|string
*/
@@ -69,6 +81,8 @@ public function getStartedEventId()
}
/**
+ * The id of the `TIMER_STARTED` event itself
+ *
* Generated from protobuf field int64 started_event_id = 2;
* @param int|string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/TimerStartedEventAttributes.php b/api/v1/Temporal/Api/History/V1/TimerStartedEventAttributes.php
similarity index 82%
rename from api/Temporal/Api/History/V1/TimerStartedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/TimerStartedEventAttributes.php
index 2a348a5dc..9f014f5e4 100644
--- a/api/Temporal/Api/History/V1/TimerStartedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/TimerStartedEventAttributes.php
@@ -14,10 +14,13 @@
class TimerStartedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * The worker/user assigned id for this timer
+ *
* Generated from protobuf field string timer_id = 1;
*/
protected $timer_id = '';
/**
+ * How long until this timer fires
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
*
@@ -25,6 +28,8 @@ class TimerStartedEventAttributes extends \Google\Protobuf\Internal\Message
*/
protected $start_to_fire_timeout = null;
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 3;
*/
protected $workflow_task_completed_event_id = 0;
@@ -36,10 +41,13 @@ class TimerStartedEventAttributes extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $timer_id
+ * The worker/user assigned id for this timer
* @type \Google\Protobuf\Duration $start_to_fire_timeout
+ * How long until this timer fires
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
* @type int|string $workflow_task_completed_event_id
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
* }
*/
public function __construct($data = NULL) {
@@ -48,6 +56,8 @@ public function __construct($data = NULL) {
}
/**
+ * The worker/user assigned id for this timer
+ *
* Generated from protobuf field string timer_id = 1;
* @return string
*/
@@ -57,6 +67,8 @@ public function getTimerId()
}
/**
+ * The worker/user assigned id for this timer
+ *
* Generated from protobuf field string timer_id = 1;
* @param string $var
* @return $this
@@ -70,15 +82,16 @@ public function setTimerId($var)
}
/**
+ * How long until this timer fires
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
*
* Generated from protobuf field .google.protobuf.Duration start_to_fire_timeout = 2 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getStartToFireTimeout()
{
- return isset($this->start_to_fire_timeout) ? $this->start_to_fire_timeout : null;
+ return $this->start_to_fire_timeout;
}
public function hasStartToFireTimeout()
@@ -92,6 +105,7 @@ public function clearStartToFireTimeout()
}
/**
+ * How long until this timer fires
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
*
@@ -108,6 +122,8 @@ public function setStartToFireTimeout($var)
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 3;
* @return int|string
*/
@@ -117,6 +133,8 @@ public function getWorkflowTaskCompletedEventId()
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 3;
* @param int|string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/UpsertWorkflowSearchAttributesEventAttributes.php b/api/v1/Temporal/Api/History/V1/UpsertWorkflowSearchAttributesEventAttributes.php
similarity index 85%
rename from api/Temporal/Api/History/V1/UpsertWorkflowSearchAttributesEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/UpsertWorkflowSearchAttributesEventAttributes.php
index 18f470043..97756bc01 100644
--- a/api/Temporal/Api/History/V1/UpsertWorkflowSearchAttributesEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/UpsertWorkflowSearchAttributesEventAttributes.php
@@ -14,6 +14,8 @@
class UpsertWorkflowSearchAttributesEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 1;
*/
protected $workflow_task_completed_event_id = 0;
@@ -29,6 +31,7 @@ class UpsertWorkflowSearchAttributesEventAttributes extends \Google\Protobuf\Int
* Optional. Data for populating the Message object.
*
* @type int|string $workflow_task_completed_event_id
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
* @type \Temporal\Api\Common\V1\SearchAttributes $search_attributes
* }
*/
@@ -38,6 +41,8 @@ public function __construct($data = NULL) {
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 1;
* @return int|string
*/
@@ -47,6 +52,8 @@ public function getWorkflowTaskCompletedEventId()
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 1;
* @param int|string $var
* @return $this
@@ -61,11 +68,11 @@ public function setWorkflowTaskCompletedEventId($var)
/**
* Generated from protobuf field .temporal.api.common.v1.SearchAttributes search_attributes = 2;
- * @return \Temporal\Api\Common\V1\SearchAttributes
+ * @return \Temporal\Api\Common\V1\SearchAttributes|null
*/
public function getSearchAttributes()
{
- return isset($this->search_attributes) ? $this->search_attributes : null;
+ return $this->search_attributes;
}
public function hasSearchAttributes()
diff --git a/api/Temporal/Api/History/V1/WorkflowExecutionCancelRequestedEventAttributes.php b/api/v1/Temporal/Api/History/V1/WorkflowExecutionCancelRequestedEventAttributes.php
similarity index 78%
rename from api/Temporal/Api/History/V1/WorkflowExecutionCancelRequestedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/WorkflowExecutionCancelRequestedEventAttributes.php
index 78dae870d..e8134065c 100644
--- a/api/Temporal/Api/History/V1/WorkflowExecutionCancelRequestedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/WorkflowExecutionCancelRequestedEventAttributes.php
@@ -14,10 +14,14 @@
class WorkflowExecutionCancelRequestedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * User provided reason for requesting cancellation
+ *
* Generated from protobuf field string cause = 1;
*/
protected $cause = '';
/**
+ * TODO: Is this the ID of the event in the workflow which initiated this cancel, if there was one?
+ *
* Generated from protobuf field int64 external_initiated_event_id = 2;
*/
protected $external_initiated_event_id = 0;
@@ -26,6 +30,8 @@ class WorkflowExecutionCancelRequestedEventAttributes extends \Google\Protobuf\I
*/
protected $external_workflow_execution = null;
/**
+ * id of the worker or client who requested this cancel
+ *
* Generated from protobuf field string identity = 4;
*/
protected $identity = '';
@@ -37,9 +43,12 @@ class WorkflowExecutionCancelRequestedEventAttributes extends \Google\Protobuf\I
* Optional. Data for populating the Message object.
*
* @type string $cause
+ * User provided reason for requesting cancellation
* @type int|string $external_initiated_event_id
+ * TODO: Is this the ID of the event in the workflow which initiated this cancel, if there was one?
* @type \Temporal\Api\Common\V1\WorkflowExecution $external_workflow_execution
* @type string $identity
+ * id of the worker or client who requested this cancel
* }
*/
public function __construct($data = NULL) {
@@ -48,6 +57,8 @@ public function __construct($data = NULL) {
}
/**
+ * User provided reason for requesting cancellation
+ *
* Generated from protobuf field string cause = 1;
* @return string
*/
@@ -57,6 +68,8 @@ public function getCause()
}
/**
+ * User provided reason for requesting cancellation
+ *
* Generated from protobuf field string cause = 1;
* @param string $var
* @return $this
@@ -70,6 +83,8 @@ public function setCause($var)
}
/**
+ * TODO: Is this the ID of the event in the workflow which initiated this cancel, if there was one?
+ *
* Generated from protobuf field int64 external_initiated_event_id = 2;
* @return int|string
*/
@@ -79,6 +94,8 @@ public function getExternalInitiatedEventId()
}
/**
+ * TODO: Is this the ID of the event in the workflow which initiated this cancel, if there was one?
+ *
* Generated from protobuf field int64 external_initiated_event_id = 2;
* @param int|string $var
* @return $this
@@ -93,11 +110,11 @@ public function setExternalInitiatedEventId($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution external_workflow_execution = 3;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getExternalWorkflowExecution()
{
- return isset($this->external_workflow_execution) ? $this->external_workflow_execution : null;
+ return $this->external_workflow_execution;
}
public function hasExternalWorkflowExecution()
@@ -124,6 +141,8 @@ public function setExternalWorkflowExecution($var)
}
/**
+ * id of the worker or client who requested this cancel
+ *
* Generated from protobuf field string identity = 4;
* @return string
*/
@@ -133,6 +152,8 @@ public function getIdentity()
}
/**
+ * id of the worker or client who requested this cancel
+ *
* Generated from protobuf field string identity = 4;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/WorkflowExecutionCanceledEventAttributes.php b/api/v1/Temporal/Api/History/V1/WorkflowExecutionCanceledEventAttributes.php
similarity index 85%
rename from api/Temporal/Api/History/V1/WorkflowExecutionCanceledEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/WorkflowExecutionCanceledEventAttributes.php
index 6649b381e..237684d36 100644
--- a/api/Temporal/Api/History/V1/WorkflowExecutionCanceledEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/WorkflowExecutionCanceledEventAttributes.php
@@ -14,6 +14,8 @@
class WorkflowExecutionCanceledEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 1;
*/
protected $workflow_task_completed_event_id = 0;
@@ -29,6 +31,7 @@ class WorkflowExecutionCanceledEventAttributes extends \Google\Protobuf\Internal
* Optional. Data for populating the Message object.
*
* @type int|string $workflow_task_completed_event_id
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
* @type \Temporal\Api\Common\V1\Payloads $details
* }
*/
@@ -38,6 +41,8 @@ public function __construct($data = NULL) {
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 1;
* @return int|string
*/
@@ -47,6 +52,8 @@ public function getWorkflowTaskCompletedEventId()
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 1;
* @param int|string $var
* @return $this
@@ -61,11 +68,11 @@ public function setWorkflowTaskCompletedEventId($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 2;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getDetails()
{
- return isset($this->details) ? $this->details : null;
+ return $this->details;
}
public function hasDetails()
diff --git a/api/Temporal/Api/History/V1/WorkflowExecutionCompletedEventAttributes.php b/api/v1/Temporal/Api/History/V1/WorkflowExecutionCompletedEventAttributes.php
similarity index 56%
rename from api/Temporal/Api/History/V1/WorkflowExecutionCompletedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/WorkflowExecutionCompletedEventAttributes.php
index 0506afcc1..82994c689 100644
--- a/api/Temporal/Api/History/V1/WorkflowExecutionCompletedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/WorkflowExecutionCompletedEventAttributes.php
@@ -14,13 +14,23 @@
class WorkflowExecutionCompletedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * Serialized result of workflow completion (ie: The return value of the workflow function)
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads result = 1;
*/
protected $result = null;
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 2;
*/
protected $workflow_task_completed_event_id = 0;
+ /**
+ * If another run is started by cron, this contains the new run id.
+ *
+ * Generated from protobuf field string new_execution_run_id = 3;
+ */
+ protected $new_execution_run_id = '';
/**
* Constructor.
@@ -29,7 +39,11 @@ class WorkflowExecutionCompletedEventAttributes extends \Google\Protobuf\Interna
* Optional. Data for populating the Message object.
*
* @type \Temporal\Api\Common\V1\Payloads $result
+ * Serialized result of workflow completion (ie: The return value of the workflow function)
* @type int|string $workflow_task_completed_event_id
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ * @type string $new_execution_run_id
+ * If another run is started by cron, this contains the new run id.
* }
*/
public function __construct($data = NULL) {
@@ -38,12 +52,14 @@ public function __construct($data = NULL) {
}
/**
+ * Serialized result of workflow completion (ie: The return value of the workflow function)
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads result = 1;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getResult()
{
- return isset($this->result) ? $this->result : null;
+ return $this->result;
}
public function hasResult()
@@ -57,6 +73,8 @@ public function clearResult()
}
/**
+ * Serialized result of workflow completion (ie: The return value of the workflow function)
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads result = 1;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -70,6 +88,8 @@ public function setResult($var)
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 2;
* @return int|string
*/
@@ -79,6 +99,8 @@ public function getWorkflowTaskCompletedEventId()
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 2;
* @param int|string $var
* @return $this
@@ -91,5 +113,31 @@ public function setWorkflowTaskCompletedEventId($var)
return $this;
}
+ /**
+ * If another run is started by cron, this contains the new run id.
+ *
+ * Generated from protobuf field string new_execution_run_id = 3;
+ * @return string
+ */
+ public function getNewExecutionRunId()
+ {
+ return $this->new_execution_run_id;
+ }
+
+ /**
+ * If another run is started by cron, this contains the new run id.
+ *
+ * Generated from protobuf field string new_execution_run_id = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setNewExecutionRunId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->new_execution_run_id = $var;
+
+ return $this;
+ }
+
}
diff --git a/api/Temporal/Api/History/V1/WorkflowExecutionContinuedAsNewEventAttributes.php b/api/v1/Temporal/Api/History/V1/WorkflowExecutionContinuedAsNewEventAttributes.php
similarity index 80%
rename from api/Temporal/Api/History/V1/WorkflowExecutionContinuedAsNewEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/WorkflowExecutionContinuedAsNewEventAttributes.php
index 0115b16be..da243bc77 100644
--- a/api/Temporal/Api/History/V1/WorkflowExecutionContinuedAsNewEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/WorkflowExecutionContinuedAsNewEventAttributes.php
@@ -14,6 +14,8 @@
class WorkflowExecutionContinuedAsNewEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * The run ID of the new workflow started by this continue-as-new
+ *
* Generated from protobuf field string new_execution_run_id = 1;
*/
protected $new_execution_run_id = '';
@@ -30,7 +32,6 @@ class WorkflowExecutionContinuedAsNewEventAttributes extends \Google\Protobuf\In
*/
protected $input = null;
/**
- * workflow_execution_timeout is omitted as it shouldn'be overridden from within a workflow.
* Timeout of a single workflow run.
*
* Generated from protobuf field .google.protobuf.Duration workflow_run_timeout = 5 [(.gogoproto.stdduration) = true];
@@ -43,10 +44,14 @@ class WorkflowExecutionContinuedAsNewEventAttributes extends \Google\Protobuf\In
*/
protected $workflow_task_timeout = null;
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 7;
*/
protected $workflow_task_completed_event_id = 0;
/**
+ * TODO: How and is this used?
+ *
* Generated from protobuf field .google.protobuf.Duration backoff_start_interval = 8 [(.gogoproto.stdduration) = true];
*/
protected $backoff_start_interval = null;
@@ -55,10 +60,17 @@ class WorkflowExecutionContinuedAsNewEventAttributes extends \Google\Protobuf\In
*/
protected $initiator = 0;
/**
+ * TODO: David are these right?
+ * Deprecated. If a workflow's retry policy would cause a new run to start when the current one
+ * has failed, this field would be populated with that failure. Now (when supported by server
+ * and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 10;
*/
protected $failure = null;
/**
+ * TODO: Is this the result of *this* workflow as it continued-as-new?
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads last_completion_result = 11;
*/
protected $last_completion_result = null;
@@ -82,19 +94,26 @@ class WorkflowExecutionContinuedAsNewEventAttributes extends \Google\Protobuf\In
* Optional. Data for populating the Message object.
*
* @type string $new_execution_run_id
+ * The run ID of the new workflow started by this continue-as-new
* @type \Temporal\Api\Common\V1\WorkflowType $workflow_type
* @type \Temporal\Api\Taskqueue\V1\TaskQueue $task_queue
* @type \Temporal\Api\Common\V1\Payloads $input
* @type \Google\Protobuf\Duration $workflow_run_timeout
- * workflow_execution_timeout is omitted as it shouldn'be overridden from within a workflow.
* Timeout of a single workflow run.
* @type \Google\Protobuf\Duration $workflow_task_timeout
* Timeout of a single workflow task.
* @type int|string $workflow_task_completed_event_id
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
* @type \Google\Protobuf\Duration $backoff_start_interval
+ * TODO: How and is this used?
* @type int $initiator
* @type \Temporal\Api\Failure\V1\Failure $failure
+ * TODO: David are these right?
+ * Deprecated. If a workflow's retry policy would cause a new run to start when the current one
+ * has failed, this field would be populated with that failure. Now (when supported by server
+ * and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
* @type \Temporal\Api\Common\V1\Payloads $last_completion_result
+ * TODO: Is this the result of *this* workflow as it continued-as-new?
* @type \Temporal\Api\Common\V1\Header $header
* @type \Temporal\Api\Common\V1\Memo $memo
* @type \Temporal\Api\Common\V1\SearchAttributes $search_attributes
@@ -106,6 +125,8 @@ public function __construct($data = NULL) {
}
/**
+ * The run ID of the new workflow started by this continue-as-new
+ *
* Generated from protobuf field string new_execution_run_id = 1;
* @return string
*/
@@ -115,6 +136,8 @@ public function getNewExecutionRunId()
}
/**
+ * The run ID of the new workflow started by this continue-as-new
+ *
* Generated from protobuf field string new_execution_run_id = 1;
* @param string $var
* @return $this
@@ -129,11 +152,11 @@ public function setNewExecutionRunId($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 2;
- * @return \Temporal\Api\Common\V1\WorkflowType
+ * @return \Temporal\Api\Common\V1\WorkflowType|null
*/
public function getWorkflowType()
{
- return isset($this->workflow_type) ? $this->workflow_type : null;
+ return $this->workflow_type;
}
public function hasWorkflowType()
@@ -161,11 +184,11 @@ public function setWorkflowType($var)
/**
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
- * @return \Temporal\Api\Taskqueue\V1\TaskQueue
+ * @return \Temporal\Api\Taskqueue\V1\TaskQueue|null
*/
public function getTaskQueue()
{
- return isset($this->task_queue) ? $this->task_queue : null;
+ return $this->task_queue;
}
public function hasTaskQueue()
@@ -193,11 +216,11 @@ public function setTaskQueue($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 4;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getInput()
{
- return isset($this->input) ? $this->input : null;
+ return $this->input;
}
public function hasInput()
@@ -224,15 +247,14 @@ public function setInput($var)
}
/**
- * workflow_execution_timeout is omitted as it shouldn'be overridden from within a workflow.
* Timeout of a single workflow run.
*
* Generated from protobuf field .google.protobuf.Duration workflow_run_timeout = 5 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getWorkflowRunTimeout()
{
- return isset($this->workflow_run_timeout) ? $this->workflow_run_timeout : null;
+ return $this->workflow_run_timeout;
}
public function hasWorkflowRunTimeout()
@@ -246,7 +268,6 @@ public function clearWorkflowRunTimeout()
}
/**
- * workflow_execution_timeout is omitted as it shouldn'be overridden from within a workflow.
* Timeout of a single workflow run.
*
* Generated from protobuf field .google.protobuf.Duration workflow_run_timeout = 5 [(.gogoproto.stdduration) = true];
@@ -265,11 +286,11 @@ public function setWorkflowRunTimeout($var)
* Timeout of a single workflow task.
*
* Generated from protobuf field .google.protobuf.Duration workflow_task_timeout = 6 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getWorkflowTaskTimeout()
{
- return isset($this->workflow_task_timeout) ? $this->workflow_task_timeout : null;
+ return $this->workflow_task_timeout;
}
public function hasWorkflowTaskTimeout()
@@ -298,6 +319,8 @@ public function setWorkflowTaskTimeout($var)
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 7;
* @return int|string
*/
@@ -307,6 +330,8 @@ public function getWorkflowTaskCompletedEventId()
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 7;
* @param int|string $var
* @return $this
@@ -320,12 +345,14 @@ public function setWorkflowTaskCompletedEventId($var)
}
/**
+ * TODO: How and is this used?
+ *
* Generated from protobuf field .google.protobuf.Duration backoff_start_interval = 8 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getBackoffStartInterval()
{
- return isset($this->backoff_start_interval) ? $this->backoff_start_interval : null;
+ return $this->backoff_start_interval;
}
public function hasBackoffStartInterval()
@@ -339,6 +366,8 @@ public function clearBackoffStartInterval()
}
/**
+ * TODO: How and is this used?
+ *
* Generated from protobuf field .google.protobuf.Duration backoff_start_interval = 8 [(.gogoproto.stdduration) = true];
* @param \Google\Protobuf\Duration $var
* @return $this
@@ -374,12 +403,17 @@ public function setInitiator($var)
}
/**
+ * TODO: David are these right?
+ * Deprecated. If a workflow's retry policy would cause a new run to start when the current one
+ * has failed, this field would be populated with that failure. Now (when supported by server
+ * and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 10;
- * @return \Temporal\Api\Failure\V1\Failure
+ * @return \Temporal\Api\Failure\V1\Failure|null
*/
public function getFailure()
{
- return isset($this->failure) ? $this->failure : null;
+ return $this->failure;
}
public function hasFailure()
@@ -393,6 +427,11 @@ public function clearFailure()
}
/**
+ * TODO: David are these right?
+ * Deprecated. If a workflow's retry policy would cause a new run to start when the current one
+ * has failed, this field would be populated with that failure. Now (when supported by server
+ * and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 10;
* @param \Temporal\Api\Failure\V1\Failure $var
* @return $this
@@ -406,12 +445,14 @@ public function setFailure($var)
}
/**
+ * TODO: Is this the result of *this* workflow as it continued-as-new?
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads last_completion_result = 11;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getLastCompletionResult()
{
- return isset($this->last_completion_result) ? $this->last_completion_result : null;
+ return $this->last_completion_result;
}
public function hasLastCompletionResult()
@@ -425,6 +466,8 @@ public function clearLastCompletionResult()
}
/**
+ * TODO: Is this the result of *this* workflow as it continued-as-new?
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads last_completion_result = 11;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -439,11 +482,11 @@ public function setLastCompletionResult($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Header header = 12;
- * @return \Temporal\Api\Common\V1\Header
+ * @return \Temporal\Api\Common\V1\Header|null
*/
public function getHeader()
{
- return isset($this->header) ? $this->header : null;
+ return $this->header;
}
public function hasHeader()
@@ -471,11 +514,11 @@ public function setHeader($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Memo memo = 13;
- * @return \Temporal\Api\Common\V1\Memo
+ * @return \Temporal\Api\Common\V1\Memo|null
*/
public function getMemo()
{
- return isset($this->memo) ? $this->memo : null;
+ return $this->memo;
}
public function hasMemo()
@@ -503,11 +546,11 @@ public function setMemo($var)
/**
* Generated from protobuf field .temporal.api.common.v1.SearchAttributes search_attributes = 14;
- * @return \Temporal\Api\Common\V1\SearchAttributes
+ * @return \Temporal\Api\Common\V1\SearchAttributes|null
*/
public function getSearchAttributes()
{
- return isset($this->search_attributes) ? $this->search_attributes : null;
+ return $this->search_attributes;
}
public function hasSearchAttributes()
diff --git a/api/Temporal/Api/History/V1/WorkflowExecutionFailedEventAttributes.php b/api/v1/Temporal/Api/History/V1/WorkflowExecutionFailedEventAttributes.php
similarity index 63%
rename from api/Temporal/Api/History/V1/WorkflowExecutionFailedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/WorkflowExecutionFailedEventAttributes.php
index b3ff83471..2cfd4272e 100644
--- a/api/Temporal/Api/History/V1/WorkflowExecutionFailedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/WorkflowExecutionFailedEventAttributes.php
@@ -14,6 +14,8 @@
class WorkflowExecutionFailedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * Serialized result of workflow failure (ex: An exception thrown, or error returned)
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 1;
*/
protected $failure = null;
@@ -22,9 +24,17 @@ class WorkflowExecutionFailedEventAttributes extends \Google\Protobuf\Internal\M
*/
protected $retry_state = 0;
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 3;
*/
protected $workflow_task_completed_event_id = 0;
+ /**
+ * If another run is started by cron or retry, this contains the new run id.
+ *
+ * Generated from protobuf field string new_execution_run_id = 4;
+ */
+ protected $new_execution_run_id = '';
/**
* Constructor.
@@ -33,8 +43,12 @@ class WorkflowExecutionFailedEventAttributes extends \Google\Protobuf\Internal\M
* Optional. Data for populating the Message object.
*
* @type \Temporal\Api\Failure\V1\Failure $failure
+ * Serialized result of workflow failure (ex: An exception thrown, or error returned)
* @type int $retry_state
* @type int|string $workflow_task_completed_event_id
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ * @type string $new_execution_run_id
+ * If another run is started by cron or retry, this contains the new run id.
* }
*/
public function __construct($data = NULL) {
@@ -43,12 +57,14 @@ public function __construct($data = NULL) {
}
/**
+ * Serialized result of workflow failure (ex: An exception thrown, or error returned)
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 1;
- * @return \Temporal\Api\Failure\V1\Failure
+ * @return \Temporal\Api\Failure\V1\Failure|null
*/
public function getFailure()
{
- return isset($this->failure) ? $this->failure : null;
+ return $this->failure;
}
public function hasFailure()
@@ -62,6 +78,8 @@ public function clearFailure()
}
/**
+ * Serialized result of workflow failure (ex: An exception thrown, or error returned)
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 1;
* @param \Temporal\Api\Failure\V1\Failure $var
* @return $this
@@ -97,6 +115,8 @@ public function setRetryState($var)
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 3;
* @return int|string
*/
@@ -106,6 +126,8 @@ public function getWorkflowTaskCompletedEventId()
}
/**
+ * The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
+ *
* Generated from protobuf field int64 workflow_task_completed_event_id = 3;
* @param int|string $var
* @return $this
@@ -118,5 +140,31 @@ public function setWorkflowTaskCompletedEventId($var)
return $this;
}
+ /**
+ * If another run is started by cron or retry, this contains the new run id.
+ *
+ * Generated from protobuf field string new_execution_run_id = 4;
+ * @return string
+ */
+ public function getNewExecutionRunId()
+ {
+ return $this->new_execution_run_id;
+ }
+
+ /**
+ * If another run is started by cron or retry, this contains the new run id.
+ *
+ * Generated from protobuf field string new_execution_run_id = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setNewExecutionRunId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->new_execution_run_id = $var;
+
+ return $this;
+ }
+
}
diff --git a/api/Temporal/Api/History/V1/WorkflowExecutionSignaledEventAttributes.php b/api/v1/Temporal/Api/History/V1/WorkflowExecutionSignaledEventAttributes.php
similarity index 55%
rename from api/Temporal/Api/History/V1/WorkflowExecutionSignaledEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/WorkflowExecutionSignaledEventAttributes.php
index d18ff7689..cf1d626eb 100644
--- a/api/Temporal/Api/History/V1/WorkflowExecutionSignaledEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/WorkflowExecutionSignaledEventAttributes.php
@@ -14,17 +14,30 @@
class WorkflowExecutionSignaledEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * The name/type of the signal to fire
+ *
* Generated from protobuf field string signal_name = 1;
*/
protected $signal_name = '';
/**
+ * Will be deserialized and provided as argument(s) to the signal handler
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 2;
*/
protected $input = null;
/**
+ * id of the worker/client who sent this signal
+ *
* Generated from protobuf field string identity = 3;
*/
protected $identity = '';
+ /**
+ * Headers that were passed by the sender of the signal and copied by temporal
+ * server into the workflow task.
+ *
+ * Generated from protobuf field .temporal.api.common.v1.Header header = 4;
+ */
+ protected $header = null;
/**
* Constructor.
@@ -33,8 +46,14 @@ class WorkflowExecutionSignaledEventAttributes extends \Google\Protobuf\Internal
* Optional. Data for populating the Message object.
*
* @type string $signal_name
+ * The name/type of the signal to fire
* @type \Temporal\Api\Common\V1\Payloads $input
+ * Will be deserialized and provided as argument(s) to the signal handler
* @type string $identity
+ * id of the worker/client who sent this signal
+ * @type \Temporal\Api\Common\V1\Header $header
+ * Headers that were passed by the sender of the signal and copied by temporal
+ * server into the workflow task.
* }
*/
public function __construct($data = NULL) {
@@ -43,6 +62,8 @@ public function __construct($data = NULL) {
}
/**
+ * The name/type of the signal to fire
+ *
* Generated from protobuf field string signal_name = 1;
* @return string
*/
@@ -52,6 +73,8 @@ public function getSignalName()
}
/**
+ * The name/type of the signal to fire
+ *
* Generated from protobuf field string signal_name = 1;
* @param string $var
* @return $this
@@ -65,12 +88,14 @@ public function setSignalName($var)
}
/**
+ * Will be deserialized and provided as argument(s) to the signal handler
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 2;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getInput()
{
- return isset($this->input) ? $this->input : null;
+ return $this->input;
}
public function hasInput()
@@ -84,6 +109,8 @@ public function clearInput()
}
/**
+ * Will be deserialized and provided as argument(s) to the signal handler
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 2;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -97,6 +124,8 @@ public function setInput($var)
}
/**
+ * id of the worker/client who sent this signal
+ *
* Generated from protobuf field string identity = 3;
* @return string
*/
@@ -106,6 +135,8 @@ public function getIdentity()
}
/**
+ * id of the worker/client who sent this signal
+ *
* Generated from protobuf field string identity = 3;
* @param string $var
* @return $this
@@ -118,5 +149,43 @@ public function setIdentity($var)
return $this;
}
+ /**
+ * Headers that were passed by the sender of the signal and copied by temporal
+ * server into the workflow task.
+ *
+ * Generated from protobuf field .temporal.api.common.v1.Header header = 4;
+ * @return \Temporal\Api\Common\V1\Header|null
+ */
+ public function getHeader()
+ {
+ return $this->header;
+ }
+
+ public function hasHeader()
+ {
+ return isset($this->header);
+ }
+
+ public function clearHeader()
+ {
+ unset($this->header);
+ }
+
+ /**
+ * Headers that were passed by the sender of the signal and copied by temporal
+ * server into the workflow task.
+ *
+ * Generated from protobuf field .temporal.api.common.v1.Header header = 4;
+ * @param \Temporal\Api\Common\V1\Header $var
+ * @return $this
+ */
+ public function setHeader($var)
+ {
+ GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Header::class);
+ $this->header = $var;
+
+ return $this;
+ }
+
}
diff --git a/api/Temporal/Api/History/V1/WorkflowExecutionStartedEventAttributes.php b/api/v1/Temporal/Api/History/V1/WorkflowExecutionStartedEventAttributes.php
similarity index 81%
rename from api/Temporal/Api/History/V1/WorkflowExecutionStartedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/WorkflowExecutionStartedEventAttributes.php
index 8823c211c..4f1af7d80 100644
--- a/api/Temporal/Api/History/V1/WorkflowExecutionStartedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/WorkflowExecutionStartedEventAttributes.php
@@ -9,6 +9,8 @@
use Google\Protobuf\Internal\GPBUtil;
/**
+ * Always the first event in workflow history
+ *
* Generated from protobuf message temporal.api.history.v1.WorkflowExecutionStartedEventAttributes
*/
class WorkflowExecutionStartedEventAttributes extends \Google\Protobuf\Internal\Message
@@ -18,6 +20,8 @@ class WorkflowExecutionStartedEventAttributes extends \Google\Protobuf\Internal\
*/
protected $workflow_type = null;
/**
+ * If this workflow is a child, the namespace our parent lives in
+ *
* Generated from protobuf field string parent_workflow_namespace = 2;
*/
protected $parent_workflow_namespace = '';
@@ -26,6 +30,8 @@ class WorkflowExecutionStartedEventAttributes extends \Google\Protobuf\Internal\
*/
protected $parent_workflow_execution = null;
/**
+ * TODO: What is this? ID of the event that requested this workflow execution if we are a child?
+ *
* Generated from protobuf field int64 parent_initiated_event_id = 4;
*/
protected $parent_initiated_event_id = 0;
@@ -34,6 +40,8 @@ class WorkflowExecutionStartedEventAttributes extends \Google\Protobuf\Internal\
*/
protected $task_queue = null;
/**
+ * SDK will deserialize this and provide it as arguments to the workflow function
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 6;
*/
protected $input = null;
@@ -56,6 +64,9 @@ class WorkflowExecutionStartedEventAttributes extends \Google\Protobuf\Internal\
*/
protected $workflow_task_timeout = null;
/**
+ * Run id of the previous workflow which continued-as-new or retired or cron executed into this
+ * workflow.
+ *
* Generated from protobuf field string continued_execution_run_id = 10;
*/
protected $continued_execution_run_id = '';
@@ -72,12 +83,14 @@ class WorkflowExecutionStartedEventAttributes extends \Google\Protobuf\Internal\
*/
protected $last_completion_result = null;
/**
- * This is the runId when the WorkflowExecutionStarted event is written.
+ * This is the run id when the WorkflowExecutionStarted event was written
*
* Generated from protobuf field string original_execution_run_id = 14;
*/
protected $original_execution_run_id = '';
/**
+ * Identity of the client who requested this execution
+ *
* Generated from protobuf field string identity = 15;
*/
protected $identity = '';
@@ -92,21 +105,28 @@ class WorkflowExecutionStartedEventAttributes extends \Google\Protobuf\Internal\
*/
protected $retry_policy = null;
/**
+ * Starting at 1, the number of times we have tried to execute this workflow
+ *
* Generated from protobuf field int32 attempt = 18;
*/
protected $attempt = 0;
/**
- * The absolute time at which workflow is timed out.
- * This time is passed without change to the next run/retry of a workflow.
+ * The absolute time at which the workflow will be timed out.
+ * This is passed without change to the next run/retry of a workflow.
*
* Generated from protobuf field .google.protobuf.Timestamp workflow_execution_expiration_time = 19 [(.gogoproto.stdtime) = true];
*/
protected $workflow_execution_expiration_time = null;
/**
+ * If this workflow runs on a cron schedule, it will appear here
+ *
* Generated from protobuf field string cron_schedule = 20;
*/
protected $cron_schedule = '';
/**
+ * For a cron workflow, this contains the amount of time between when this iteration of
+ * the cron workflow was scheduled and when it should run next per its cron_schedule.
+ *
* Generated from protobuf field .google.protobuf.Duration first_workflow_task_backoff = 21 [(.gogoproto.stdduration) = true];
*/
protected $first_workflow_task_backoff = null;
@@ -135,10 +155,13 @@ class WorkflowExecutionStartedEventAttributes extends \Google\Protobuf\Internal\
*
* @type \Temporal\Api\Common\V1\WorkflowType $workflow_type
* @type string $parent_workflow_namespace
+ * If this workflow is a child, the namespace our parent lives in
* @type \Temporal\Api\Common\V1\WorkflowExecution $parent_workflow_execution
* @type int|string $parent_initiated_event_id
+ * TODO: What is this? ID of the event that requested this workflow execution if we are a child?
* @type \Temporal\Api\Taskqueue\V1\TaskQueue $task_queue
* @type \Temporal\Api\Common\V1\Payloads $input
+ * SDK will deserialize this and provide it as arguments to the workflow function
* @type \Google\Protobuf\Duration $workflow_execution_timeout
* Total workflow execution timeout including retries and continue as new.
* @type \Google\Protobuf\Duration $workflow_run_timeout
@@ -146,21 +169,28 @@ class WorkflowExecutionStartedEventAttributes extends \Google\Protobuf\Internal\
* @type \Google\Protobuf\Duration $workflow_task_timeout
* Timeout of a single workflow task.
* @type string $continued_execution_run_id
+ * Run id of the previous workflow which continued-as-new or retired or cron executed into this
+ * workflow.
* @type int $initiator
* @type \Temporal\Api\Failure\V1\Failure $continued_failure
* @type \Temporal\Api\Common\V1\Payloads $last_completion_result
* @type string $original_execution_run_id
- * This is the runId when the WorkflowExecutionStarted event is written.
+ * This is the run id when the WorkflowExecutionStarted event was written
* @type string $identity
+ * Identity of the client who requested this execution
* @type string $first_execution_run_id
* This is the very first runId along the chain of ContinueAsNew and Reset.
* @type \Temporal\Api\Common\V1\RetryPolicy $retry_policy
* @type int $attempt
+ * Starting at 1, the number of times we have tried to execute this workflow
* @type \Google\Protobuf\Timestamp $workflow_execution_expiration_time
- * The absolute time at which workflow is timed out.
- * This time is passed without change to the next run/retry of a workflow.
+ * The absolute time at which the workflow will be timed out.
+ * This is passed without change to the next run/retry of a workflow.
* @type string $cron_schedule
+ * If this workflow runs on a cron schedule, it will appear here
* @type \Google\Protobuf\Duration $first_workflow_task_backoff
+ * For a cron workflow, this contains the amount of time between when this iteration of
+ * the cron workflow was scheduled and when it should run next per its cron_schedule.
* @type \Temporal\Api\Common\V1\Memo $memo
* @type \Temporal\Api\Common\V1\SearchAttributes $search_attributes
* @type \Temporal\Api\Workflow\V1\ResetPoints $prev_auto_reset_points
@@ -174,11 +204,11 @@ public function __construct($data = NULL) {
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 1;
- * @return \Temporal\Api\Common\V1\WorkflowType
+ * @return \Temporal\Api\Common\V1\WorkflowType|null
*/
public function getWorkflowType()
{
- return isset($this->workflow_type) ? $this->workflow_type : null;
+ return $this->workflow_type;
}
public function hasWorkflowType()
@@ -205,6 +235,8 @@ public function setWorkflowType($var)
}
/**
+ * If this workflow is a child, the namespace our parent lives in
+ *
* Generated from protobuf field string parent_workflow_namespace = 2;
* @return string
*/
@@ -214,6 +246,8 @@ public function getParentWorkflowNamespace()
}
/**
+ * If this workflow is a child, the namespace our parent lives in
+ *
* Generated from protobuf field string parent_workflow_namespace = 2;
* @param string $var
* @return $this
@@ -228,11 +262,11 @@ public function setParentWorkflowNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution parent_workflow_execution = 3;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getParentWorkflowExecution()
{
- return isset($this->parent_workflow_execution) ? $this->parent_workflow_execution : null;
+ return $this->parent_workflow_execution;
}
public function hasParentWorkflowExecution()
@@ -259,6 +293,8 @@ public function setParentWorkflowExecution($var)
}
/**
+ * TODO: What is this? ID of the event that requested this workflow execution if we are a child?
+ *
* Generated from protobuf field int64 parent_initiated_event_id = 4;
* @return int|string
*/
@@ -268,6 +304,8 @@ public function getParentInitiatedEventId()
}
/**
+ * TODO: What is this? ID of the event that requested this workflow execution if we are a child?
+ *
* Generated from protobuf field int64 parent_initiated_event_id = 4;
* @param int|string $var
* @return $this
@@ -282,11 +320,11 @@ public function setParentInitiatedEventId($var)
/**
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 5;
- * @return \Temporal\Api\Taskqueue\V1\TaskQueue
+ * @return \Temporal\Api\Taskqueue\V1\TaskQueue|null
*/
public function getTaskQueue()
{
- return isset($this->task_queue) ? $this->task_queue : null;
+ return $this->task_queue;
}
public function hasTaskQueue()
@@ -313,12 +351,14 @@ public function setTaskQueue($var)
}
/**
+ * SDK will deserialize this and provide it as arguments to the workflow function
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 6;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getInput()
{
- return isset($this->input) ? $this->input : null;
+ return $this->input;
}
public function hasInput()
@@ -332,6 +372,8 @@ public function clearInput()
}
/**
+ * SDK will deserialize this and provide it as arguments to the workflow function
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 6;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -348,11 +390,11 @@ public function setInput($var)
* Total workflow execution timeout including retries and continue as new.
*
* Generated from protobuf field .google.protobuf.Duration workflow_execution_timeout = 7 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getWorkflowExecutionTimeout()
{
- return isset($this->workflow_execution_timeout) ? $this->workflow_execution_timeout : null;
+ return $this->workflow_execution_timeout;
}
public function hasWorkflowExecutionTimeout()
@@ -384,11 +426,11 @@ public function setWorkflowExecutionTimeout($var)
* Timeout of a single workflow run.
*
* Generated from protobuf field .google.protobuf.Duration workflow_run_timeout = 8 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getWorkflowRunTimeout()
{
- return isset($this->workflow_run_timeout) ? $this->workflow_run_timeout : null;
+ return $this->workflow_run_timeout;
}
public function hasWorkflowRunTimeout()
@@ -420,11 +462,11 @@ public function setWorkflowRunTimeout($var)
* Timeout of a single workflow task.
*
* Generated from protobuf field .google.protobuf.Duration workflow_task_timeout = 9 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getWorkflowTaskTimeout()
{
- return isset($this->workflow_task_timeout) ? $this->workflow_task_timeout : null;
+ return $this->workflow_task_timeout;
}
public function hasWorkflowTaskTimeout()
@@ -453,6 +495,9 @@ public function setWorkflowTaskTimeout($var)
}
/**
+ * Run id of the previous workflow which continued-as-new or retired or cron executed into this
+ * workflow.
+ *
* Generated from protobuf field string continued_execution_run_id = 10;
* @return string
*/
@@ -462,6 +507,9 @@ public function getContinuedExecutionRunId()
}
/**
+ * Run id of the previous workflow which continued-as-new or retired or cron executed into this
+ * workflow.
+ *
* Generated from protobuf field string continued_execution_run_id = 10;
* @param string $var
* @return $this
@@ -498,11 +546,11 @@ public function setInitiator($var)
/**
* Generated from protobuf field .temporal.api.failure.v1.Failure continued_failure = 12;
- * @return \Temporal\Api\Failure\V1\Failure
+ * @return \Temporal\Api\Failure\V1\Failure|null
*/
public function getContinuedFailure()
{
- return isset($this->continued_failure) ? $this->continued_failure : null;
+ return $this->continued_failure;
}
public function hasContinuedFailure()
@@ -530,11 +578,11 @@ public function setContinuedFailure($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Payloads last_completion_result = 13;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getLastCompletionResult()
{
- return isset($this->last_completion_result) ? $this->last_completion_result : null;
+ return $this->last_completion_result;
}
public function hasLastCompletionResult()
@@ -561,7 +609,7 @@ public function setLastCompletionResult($var)
}
/**
- * This is the runId when the WorkflowExecutionStarted event is written.
+ * This is the run id when the WorkflowExecutionStarted event was written
*
* Generated from protobuf field string original_execution_run_id = 14;
* @return string
@@ -572,7 +620,7 @@ public function getOriginalExecutionRunId()
}
/**
- * This is the runId when the WorkflowExecutionStarted event is written.
+ * This is the run id when the WorkflowExecutionStarted event was written
*
* Generated from protobuf field string original_execution_run_id = 14;
* @param string $var
@@ -587,6 +635,8 @@ public function setOriginalExecutionRunId($var)
}
/**
+ * Identity of the client who requested this execution
+ *
* Generated from protobuf field string identity = 15;
* @return string
*/
@@ -596,6 +646,8 @@ public function getIdentity()
}
/**
+ * Identity of the client who requested this execution
+ *
* Generated from protobuf field string identity = 15;
* @param string $var
* @return $this
@@ -636,11 +688,11 @@ public function setFirstExecutionRunId($var)
/**
* Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 17;
- * @return \Temporal\Api\Common\V1\RetryPolicy
+ * @return \Temporal\Api\Common\V1\RetryPolicy|null
*/
public function getRetryPolicy()
{
- return isset($this->retry_policy) ? $this->retry_policy : null;
+ return $this->retry_policy;
}
public function hasRetryPolicy()
@@ -667,6 +719,8 @@ public function setRetryPolicy($var)
}
/**
+ * Starting at 1, the number of times we have tried to execute this workflow
+ *
* Generated from protobuf field int32 attempt = 18;
* @return int
*/
@@ -676,6 +730,8 @@ public function getAttempt()
}
/**
+ * Starting at 1, the number of times we have tried to execute this workflow
+ *
* Generated from protobuf field int32 attempt = 18;
* @param int $var
* @return $this
@@ -689,15 +745,15 @@ public function setAttempt($var)
}
/**
- * The absolute time at which workflow is timed out.
- * This time is passed without change to the next run/retry of a workflow.
+ * The absolute time at which the workflow will be timed out.
+ * This is passed without change to the next run/retry of a workflow.
*
* Generated from protobuf field .google.protobuf.Timestamp workflow_execution_expiration_time = 19 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
+ * @return \Google\Protobuf\Timestamp|null
*/
public function getWorkflowExecutionExpirationTime()
{
- return isset($this->workflow_execution_expiration_time) ? $this->workflow_execution_expiration_time : null;
+ return $this->workflow_execution_expiration_time;
}
public function hasWorkflowExecutionExpirationTime()
@@ -711,8 +767,8 @@ public function clearWorkflowExecutionExpirationTime()
}
/**
- * The absolute time at which workflow is timed out.
- * This time is passed without change to the next run/retry of a workflow.
+ * The absolute time at which the workflow will be timed out.
+ * This is passed without change to the next run/retry of a workflow.
*
* Generated from protobuf field .google.protobuf.Timestamp workflow_execution_expiration_time = 19 [(.gogoproto.stdtime) = true];
* @param \Google\Protobuf\Timestamp $var
@@ -727,6 +783,8 @@ public function setWorkflowExecutionExpirationTime($var)
}
/**
+ * If this workflow runs on a cron schedule, it will appear here
+ *
* Generated from protobuf field string cron_schedule = 20;
* @return string
*/
@@ -736,6 +794,8 @@ public function getCronSchedule()
}
/**
+ * If this workflow runs on a cron schedule, it will appear here
+ *
* Generated from protobuf field string cron_schedule = 20;
* @param string $var
* @return $this
@@ -749,12 +809,15 @@ public function setCronSchedule($var)
}
/**
+ * For a cron workflow, this contains the amount of time between when this iteration of
+ * the cron workflow was scheduled and when it should run next per its cron_schedule.
+ *
* Generated from protobuf field .google.protobuf.Duration first_workflow_task_backoff = 21 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getFirstWorkflowTaskBackoff()
{
- return isset($this->first_workflow_task_backoff) ? $this->first_workflow_task_backoff : null;
+ return $this->first_workflow_task_backoff;
}
public function hasFirstWorkflowTaskBackoff()
@@ -768,6 +831,9 @@ public function clearFirstWorkflowTaskBackoff()
}
/**
+ * For a cron workflow, this contains the amount of time between when this iteration of
+ * the cron workflow was scheduled and when it should run next per its cron_schedule.
+ *
* Generated from protobuf field .google.protobuf.Duration first_workflow_task_backoff = 21 [(.gogoproto.stdduration) = true];
* @param \Google\Protobuf\Duration $var
* @return $this
@@ -782,11 +848,11 @@ public function setFirstWorkflowTaskBackoff($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Memo memo = 22;
- * @return \Temporal\Api\Common\V1\Memo
+ * @return \Temporal\Api\Common\V1\Memo|null
*/
public function getMemo()
{
- return isset($this->memo) ? $this->memo : null;
+ return $this->memo;
}
public function hasMemo()
@@ -814,11 +880,11 @@ public function setMemo($var)
/**
* Generated from protobuf field .temporal.api.common.v1.SearchAttributes search_attributes = 23;
- * @return \Temporal\Api\Common\V1\SearchAttributes
+ * @return \Temporal\Api\Common\V1\SearchAttributes|null
*/
public function getSearchAttributes()
{
- return isset($this->search_attributes) ? $this->search_attributes : null;
+ return $this->search_attributes;
}
public function hasSearchAttributes()
@@ -846,11 +912,11 @@ public function setSearchAttributes($var)
/**
* Generated from protobuf field .temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;
- * @return \Temporal\Api\Workflow\V1\ResetPoints
+ * @return \Temporal\Api\Workflow\V1\ResetPoints|null
*/
public function getPrevAutoResetPoints()
{
- return isset($this->prev_auto_reset_points) ? $this->prev_auto_reset_points : null;
+ return $this->prev_auto_reset_points;
}
public function hasPrevAutoResetPoints()
@@ -878,11 +944,11 @@ public function setPrevAutoResetPoints($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Header header = 25;
- * @return \Temporal\Api\Common\V1\Header
+ * @return \Temporal\Api\Common\V1\Header|null
*/
public function getHeader()
{
- return isset($this->header) ? $this->header : null;
+ return $this->header;
}
public function hasHeader()
diff --git a/api/Temporal/Api/History/V1/WorkflowExecutionTerminatedEventAttributes.php b/api/v1/Temporal/Api/History/V1/WorkflowExecutionTerminatedEventAttributes.php
similarity index 84%
rename from api/Temporal/Api/History/V1/WorkflowExecutionTerminatedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/WorkflowExecutionTerminatedEventAttributes.php
index e512229d2..43a79fff9 100644
--- a/api/Temporal/Api/History/V1/WorkflowExecutionTerminatedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/WorkflowExecutionTerminatedEventAttributes.php
@@ -14,6 +14,8 @@
class WorkflowExecutionTerminatedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * User/client provided reason for termination
+ *
* Generated from protobuf field string reason = 1;
*/
protected $reason = '';
@@ -22,6 +24,8 @@ class WorkflowExecutionTerminatedEventAttributes extends \Google\Protobuf\Intern
*/
protected $details = null;
/**
+ * id of the client who requested termination
+ *
* Generated from protobuf field string identity = 3;
*/
protected $identity = '';
@@ -33,8 +37,10 @@ class WorkflowExecutionTerminatedEventAttributes extends \Google\Protobuf\Intern
* Optional. Data for populating the Message object.
*
* @type string $reason
+ * User/client provided reason for termination
* @type \Temporal\Api\Common\V1\Payloads $details
* @type string $identity
+ * id of the client who requested termination
* }
*/
public function __construct($data = NULL) {
@@ -43,6 +49,8 @@ public function __construct($data = NULL) {
}
/**
+ * User/client provided reason for termination
+ *
* Generated from protobuf field string reason = 1;
* @return string
*/
@@ -52,6 +60,8 @@ public function getReason()
}
/**
+ * User/client provided reason for termination
+ *
* Generated from protobuf field string reason = 1;
* @param string $var
* @return $this
@@ -66,11 +76,11 @@ public function setReason($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 2;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getDetails()
{
- return isset($this->details) ? $this->details : null;
+ return $this->details;
}
public function hasDetails()
@@ -97,6 +107,8 @@ public function setDetails($var)
}
/**
+ * id of the client who requested termination
+ *
* Generated from protobuf field string identity = 3;
* @return string
*/
@@ -106,6 +118,8 @@ public function getIdentity()
}
/**
+ * id of the client who requested termination
+ *
* Generated from protobuf field string identity = 3;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/WorkflowExecutionTimedOutEventAttributes.php b/api/v1/Temporal/Api/History/V1/WorkflowExecutionTimedOutEventAttributes.php
similarity index 58%
rename from api/Temporal/Api/History/V1/WorkflowExecutionTimedOutEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/WorkflowExecutionTimedOutEventAttributes.php
index d6374b63f..879830c98 100644
--- a/api/Temporal/Api/History/V1/WorkflowExecutionTimedOutEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/WorkflowExecutionTimedOutEventAttributes.php
@@ -17,6 +17,12 @@ class WorkflowExecutionTimedOutEventAttributes extends \Google\Protobuf\Internal
* Generated from protobuf field .temporal.api.enums.v1.RetryState retry_state = 1;
*/
protected $retry_state = 0;
+ /**
+ * If another run is started by cron or retry, this contains the new run id.
+ *
+ * Generated from protobuf field string new_execution_run_id = 2;
+ */
+ protected $new_execution_run_id = '';
/**
* Constructor.
@@ -25,6 +31,8 @@ class WorkflowExecutionTimedOutEventAttributes extends \Google\Protobuf\Internal
* Optional. Data for populating the Message object.
*
* @type int $retry_state
+ * @type string $new_execution_run_id
+ * If another run is started by cron or retry, this contains the new run id.
* }
*/
public function __construct($data = NULL) {
@@ -54,5 +62,31 @@ public function setRetryState($var)
return $this;
}
+ /**
+ * If another run is started by cron or retry, this contains the new run id.
+ *
+ * Generated from protobuf field string new_execution_run_id = 2;
+ * @return string
+ */
+ public function getNewExecutionRunId()
+ {
+ return $this->new_execution_run_id;
+ }
+
+ /**
+ * If another run is started by cron or retry, this contains the new run id.
+ *
+ * Generated from protobuf field string new_execution_run_id = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setNewExecutionRunId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->new_execution_run_id = $var;
+
+ return $this;
+ }
+
}
diff --git a/api/Temporal/Api/History/V1/WorkflowTaskCompletedEventAttributes.php b/api/v1/Temporal/Api/History/V1/WorkflowTaskCompletedEventAttributes.php
similarity index 74%
rename from api/Temporal/Api/History/V1/WorkflowTaskCompletedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/WorkflowTaskCompletedEventAttributes.php
index 79cab768d..7a5a402c2 100644
--- a/api/Temporal/Api/History/V1/WorkflowTaskCompletedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/WorkflowTaskCompletedEventAttributes.php
@@ -14,18 +14,26 @@
class WorkflowTaskCompletedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 1;
*/
protected $scheduled_event_id = 0;
/**
+ * The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 2;
*/
protected $started_event_id = 0;
/**
+ * Identity of the worker who completed this task
+ *
* Generated from protobuf field string identity = 3;
*/
protected $identity = '';
/**
+ * Binary ID of the worker who completed this task
+ *
* Generated from protobuf field string binary_checksum = 4;
*/
protected $binary_checksum = '';
@@ -37,9 +45,13 @@ class WorkflowTaskCompletedEventAttributes extends \Google\Protobuf\Internal\Mes
* Optional. Data for populating the Message object.
*
* @type int|string $scheduled_event_id
+ * The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
* @type int|string $started_event_id
+ * The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
* @type string $identity
+ * Identity of the worker who completed this task
* @type string $binary_checksum
+ * Binary ID of the worker who completed this task
* }
*/
public function __construct($data = NULL) {
@@ -48,6 +60,8 @@ public function __construct($data = NULL) {
}
/**
+ * The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 1;
* @return int|string
*/
@@ -57,6 +71,8 @@ public function getScheduledEventId()
}
/**
+ * The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 1;
* @param int|string $var
* @return $this
@@ -70,6 +86,8 @@ public function setScheduledEventId($var)
}
/**
+ * The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 2;
* @return int|string
*/
@@ -79,6 +97,8 @@ public function getStartedEventId()
}
/**
+ * The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 2;
* @param int|string $var
* @return $this
@@ -92,6 +112,8 @@ public function setStartedEventId($var)
}
/**
+ * Identity of the worker who completed this task
+ *
* Generated from protobuf field string identity = 3;
* @return string
*/
@@ -101,6 +123,8 @@ public function getIdentity()
}
/**
+ * Identity of the worker who completed this task
+ *
* Generated from protobuf field string identity = 3;
* @param string $var
* @return $this
@@ -114,6 +138,8 @@ public function setIdentity($var)
}
/**
+ * Binary ID of the worker who completed this task
+ *
* Generated from protobuf field string binary_checksum = 4;
* @return string
*/
@@ -123,6 +149,8 @@ public function getBinaryChecksum()
}
/**
+ * Binary ID of the worker who completed this task
+ *
* Generated from protobuf field string binary_checksum = 4;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/WorkflowTaskFailedEventAttributes.php b/api/v1/Temporal/Api/History/V1/WorkflowTaskFailedEventAttributes.php
similarity index 75%
rename from api/Temporal/Api/History/V1/WorkflowTaskFailedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/WorkflowTaskFailedEventAttributes.php
index fd40da5a0..bbf10566f 100644
--- a/api/Temporal/Api/History/V1/WorkflowTaskFailedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/WorkflowTaskFailedEventAttributes.php
@@ -14,10 +14,14 @@
class WorkflowTaskFailedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 1;
*/
protected $scheduled_event_id = 0;
/**
+ * The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 2;
*/
protected $started_event_id = 0;
@@ -26,28 +30,38 @@ class WorkflowTaskFailedEventAttributes extends \Google\Protobuf\Internal\Messag
*/
protected $cause = 0;
/**
+ * The failure details
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 4;
*/
protected $failure = null;
/**
+ * If a worker explicitly failed this task, it's identity. TODO: What is this set to if server fails the task?
+ *
* Generated from protobuf field string identity = 5;
*/
protected $identity = '';
/**
- * For reset workflow.
+ * The original run id of the workflow. For reset workflow.
*
* Generated from protobuf field string base_run_id = 6;
*/
protected $base_run_id = '';
/**
+ * If the workflow is being reset, the new run id.
+ *
* Generated from protobuf field string new_run_id = 7;
*/
protected $new_run_id = '';
/**
+ * TODO: ?
+ *
* Generated from protobuf field int64 fork_event_version = 8;
*/
protected $fork_event_version = 0;
/**
+ * If a worker explicitly failed this task, it's binary id
+ *
* Generated from protobuf field string binary_checksum = 9;
*/
protected $binary_checksum = '';
@@ -59,15 +73,22 @@ class WorkflowTaskFailedEventAttributes extends \Google\Protobuf\Internal\Messag
* Optional. Data for populating the Message object.
*
* @type int|string $scheduled_event_id
+ * The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
* @type int|string $started_event_id
+ * The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
* @type int $cause
* @type \Temporal\Api\Failure\V1\Failure $failure
+ * The failure details
* @type string $identity
+ * If a worker explicitly failed this task, it's identity. TODO: What is this set to if server fails the task?
* @type string $base_run_id
- * For reset workflow.
+ * The original run id of the workflow. For reset workflow.
* @type string $new_run_id
+ * If the workflow is being reset, the new run id.
* @type int|string $fork_event_version
+ * TODO: ?
* @type string $binary_checksum
+ * If a worker explicitly failed this task, it's binary id
* }
*/
public function __construct($data = NULL) {
@@ -76,6 +97,8 @@ public function __construct($data = NULL) {
}
/**
+ * The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 1;
* @return int|string
*/
@@ -85,6 +108,8 @@ public function getScheduledEventId()
}
/**
+ * The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 1;
* @param int|string $var
* @return $this
@@ -98,6 +123,8 @@ public function setScheduledEventId($var)
}
/**
+ * The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 2;
* @return int|string
*/
@@ -107,6 +134,8 @@ public function getStartedEventId()
}
/**
+ * The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 2;
* @param int|string $var
* @return $this
@@ -142,12 +171,14 @@ public function setCause($var)
}
/**
+ * The failure details
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 4;
- * @return \Temporal\Api\Failure\V1\Failure
+ * @return \Temporal\Api\Failure\V1\Failure|null
*/
public function getFailure()
{
- return isset($this->failure) ? $this->failure : null;
+ return $this->failure;
}
public function hasFailure()
@@ -161,6 +192,8 @@ public function clearFailure()
}
/**
+ * The failure details
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 4;
* @param \Temporal\Api\Failure\V1\Failure $var
* @return $this
@@ -174,6 +207,8 @@ public function setFailure($var)
}
/**
+ * If a worker explicitly failed this task, it's identity. TODO: What is this set to if server fails the task?
+ *
* Generated from protobuf field string identity = 5;
* @return string
*/
@@ -183,6 +218,8 @@ public function getIdentity()
}
/**
+ * If a worker explicitly failed this task, it's identity. TODO: What is this set to if server fails the task?
+ *
* Generated from protobuf field string identity = 5;
* @param string $var
* @return $this
@@ -196,7 +233,7 @@ public function setIdentity($var)
}
/**
- * For reset workflow.
+ * The original run id of the workflow. For reset workflow.
*
* Generated from protobuf field string base_run_id = 6;
* @return string
@@ -207,7 +244,7 @@ public function getBaseRunId()
}
/**
- * For reset workflow.
+ * The original run id of the workflow. For reset workflow.
*
* Generated from protobuf field string base_run_id = 6;
* @param string $var
@@ -222,6 +259,8 @@ public function setBaseRunId($var)
}
/**
+ * If the workflow is being reset, the new run id.
+ *
* Generated from protobuf field string new_run_id = 7;
* @return string
*/
@@ -231,6 +270,8 @@ public function getNewRunId()
}
/**
+ * If the workflow is being reset, the new run id.
+ *
* Generated from protobuf field string new_run_id = 7;
* @param string $var
* @return $this
@@ -244,6 +285,8 @@ public function setNewRunId($var)
}
/**
+ * TODO: ?
+ *
* Generated from protobuf field int64 fork_event_version = 8;
* @return int|string
*/
@@ -253,6 +296,8 @@ public function getForkEventVersion()
}
/**
+ * TODO: ?
+ *
* Generated from protobuf field int64 fork_event_version = 8;
* @param int|string $var
* @return $this
@@ -266,6 +311,8 @@ public function setForkEventVersion($var)
}
/**
+ * If a worker explicitly failed this task, it's binary id
+ *
* Generated from protobuf field string binary_checksum = 9;
* @return string
*/
@@ -275,6 +322,8 @@ public function getBinaryChecksum()
}
/**
+ * If a worker explicitly failed this task, it's binary id
+ *
* Generated from protobuf field string binary_checksum = 9;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/WorkflowTaskScheduledEventAttributes.php b/api/v1/Temporal/Api/History/V1/WorkflowTaskScheduledEventAttributes.php
similarity index 75%
rename from api/Temporal/Api/History/V1/WorkflowTaskScheduledEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/WorkflowTaskScheduledEventAttributes.php
index 0419e8a13..71a52116e 100644
--- a/api/Temporal/Api/History/V1/WorkflowTaskScheduledEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/WorkflowTaskScheduledEventAttributes.php
@@ -14,10 +14,13 @@
class WorkflowTaskScheduledEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * The task queue this workflow task was enqueued in, which could be a normal or sticky queue
+ *
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 1;
*/
protected $task_queue = null;
/**
+ * How long the worker has to process this task once receiving it before it times out
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
*
@@ -25,6 +28,8 @@ class WorkflowTaskScheduledEventAttributes extends \Google\Protobuf\Internal\Mes
*/
protected $start_to_close_timeout = null;
/**
+ * Starting at 1, how many attempts there have been to complete this task
+ *
* Generated from protobuf field int32 attempt = 3;
*/
protected $attempt = 0;
@@ -36,10 +41,13 @@ class WorkflowTaskScheduledEventAttributes extends \Google\Protobuf\Internal\Mes
* Optional. Data for populating the Message object.
*
* @type \Temporal\Api\Taskqueue\V1\TaskQueue $task_queue
+ * The task queue this workflow task was enqueued in, which could be a normal or sticky queue
* @type \Google\Protobuf\Duration $start_to_close_timeout
+ * How long the worker has to process this task once receiving it before it times out
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
* @type int $attempt
+ * Starting at 1, how many attempts there have been to complete this task
* }
*/
public function __construct($data = NULL) {
@@ -48,12 +56,14 @@ public function __construct($data = NULL) {
}
/**
+ * The task queue this workflow task was enqueued in, which could be a normal or sticky queue
+ *
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 1;
- * @return \Temporal\Api\Taskqueue\V1\TaskQueue
+ * @return \Temporal\Api\Taskqueue\V1\TaskQueue|null
*/
public function getTaskQueue()
{
- return isset($this->task_queue) ? $this->task_queue : null;
+ return $this->task_queue;
}
public function hasTaskQueue()
@@ -67,6 +77,8 @@ public function clearTaskQueue()
}
/**
+ * The task queue this workflow task was enqueued in, which could be a normal or sticky queue
+ *
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 1;
* @param \Temporal\Api\Taskqueue\V1\TaskQueue $var
* @return $this
@@ -80,15 +92,16 @@ public function setTaskQueue($var)
}
/**
+ * How long the worker has to process this task once receiving it before it times out
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
*
* Generated from protobuf field .google.protobuf.Duration start_to_close_timeout = 2 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getStartToCloseTimeout()
{
- return isset($this->start_to_close_timeout) ? $this->start_to_close_timeout : null;
+ return $this->start_to_close_timeout;
}
public function hasStartToCloseTimeout()
@@ -102,6 +115,7 @@ public function clearStartToCloseTimeout()
}
/**
+ * How long the worker has to process this task once receiving it before it times out
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
*
@@ -118,6 +132,8 @@ public function setStartToCloseTimeout($var)
}
/**
+ * Starting at 1, how many attempts there have been to complete this task
+ *
* Generated from protobuf field int32 attempt = 3;
* @return int
*/
@@ -127,6 +143,8 @@ public function getAttempt()
}
/**
+ * Starting at 1, how many attempts there have been to complete this task
+ *
* Generated from protobuf field int32 attempt = 3;
* @param int $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/WorkflowTaskStartedEventAttributes.php b/api/v1/Temporal/Api/History/V1/WorkflowTaskStartedEventAttributes.php
similarity index 78%
rename from api/Temporal/Api/History/V1/WorkflowTaskStartedEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/WorkflowTaskStartedEventAttributes.php
index 43d189ccc..295d4332c 100644
--- a/api/Temporal/Api/History/V1/WorkflowTaskStartedEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/WorkflowTaskStartedEventAttributes.php
@@ -14,14 +14,20 @@
class WorkflowTaskStartedEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 1;
*/
protected $scheduled_event_id = 0;
/**
+ * Identity of the worker who picked up this task
+ *
* Generated from protobuf field string identity = 2;
*/
protected $identity = '';
/**
+ * TODO: ? Appears unused?
+ *
* Generated from protobuf field string request_id = 3;
*/
protected $request_id = '';
@@ -33,8 +39,11 @@ class WorkflowTaskStartedEventAttributes extends \Google\Protobuf\Internal\Messa
* Optional. Data for populating the Message object.
*
* @type int|string $scheduled_event_id
+ * The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
* @type string $identity
+ * Identity of the worker who picked up this task
* @type string $request_id
+ * TODO: ? Appears unused?
* }
*/
public function __construct($data = NULL) {
@@ -43,6 +52,8 @@ public function __construct($data = NULL) {
}
/**
+ * The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 1;
* @return int|string
*/
@@ -52,6 +63,8 @@ public function getScheduledEventId()
}
/**
+ * The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 1;
* @param int|string $var
* @return $this
@@ -65,6 +78,8 @@ public function setScheduledEventId($var)
}
/**
+ * Identity of the worker who picked up this task
+ *
* Generated from protobuf field string identity = 2;
* @return string
*/
@@ -74,6 +89,8 @@ public function getIdentity()
}
/**
+ * Identity of the worker who picked up this task
+ *
* Generated from protobuf field string identity = 2;
* @param string $var
* @return $this
@@ -87,6 +104,8 @@ public function setIdentity($var)
}
/**
+ * TODO: ? Appears unused?
+ *
* Generated from protobuf field string request_id = 3;
* @return string
*/
@@ -96,6 +115,8 @@ public function getRequestId()
}
/**
+ * TODO: ? Appears unused?
+ *
* Generated from protobuf field string request_id = 3;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/History/V1/WorkflowTaskTimedOutEventAttributes.php b/api/v1/Temporal/Api/History/V1/WorkflowTaskTimedOutEventAttributes.php
similarity index 81%
rename from api/Temporal/Api/History/V1/WorkflowTaskTimedOutEventAttributes.php
rename to api/v1/Temporal/Api/History/V1/WorkflowTaskTimedOutEventAttributes.php
index 82249870a..e73542e6c 100644
--- a/api/Temporal/Api/History/V1/WorkflowTaskTimedOutEventAttributes.php
+++ b/api/v1/Temporal/Api/History/V1/WorkflowTaskTimedOutEventAttributes.php
@@ -14,10 +14,14 @@
class WorkflowTaskTimedOutEventAttributes extends \Google\Protobuf\Internal\Message
{
/**
+ * The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 1;
*/
protected $scheduled_event_id = 0;
/**
+ * The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 2;
*/
protected $started_event_id = 0;
@@ -33,7 +37,9 @@ class WorkflowTaskTimedOutEventAttributes extends \Google\Protobuf\Internal\Mess
* Optional. Data for populating the Message object.
*
* @type int|string $scheduled_event_id
+ * The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
* @type int|string $started_event_id
+ * The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
* @type int $timeout_type
* }
*/
@@ -43,6 +49,8 @@ public function __construct($data = NULL) {
}
/**
+ * The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 1;
* @return int|string
*/
@@ -52,6 +60,8 @@ public function getScheduledEventId()
}
/**
+ * The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
+ *
* Generated from protobuf field int64 scheduled_event_id = 1;
* @param int|string $var
* @return $this
@@ -65,6 +75,8 @@ public function setScheduledEventId($var)
}
/**
+ * The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 2;
* @return int|string
*/
@@ -74,6 +86,8 @@ public function getStartedEventId()
}
/**
+ * The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
+ *
* Generated from protobuf field int64 started_event_id = 2;
* @param int|string $var
* @return $this
diff --git a/api/Temporal/Api/Query/V1/QueryRejected.php b/api/v1/Temporal/Api/Query/V1/QueryRejected.php
similarity index 100%
rename from api/Temporal/Api/Query/V1/QueryRejected.php
rename to api/v1/Temporal/Api/Query/V1/QueryRejected.php
diff --git a/api/v1/Temporal/Api/Query/V1/WorkflowQuery.php b/api/v1/Temporal/Api/Query/V1/WorkflowQuery.php
new file mode 100644
index 000000000..b1f1e98ea
--- /dev/null
+++ b/api/v1/Temporal/Api/Query/V1/WorkflowQuery.php
@@ -0,0 +1,159 @@
+temporal.api.query.v1.WorkflowQuery
+ */
+class WorkflowQuery extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The workflow-author-defined identifier of the query. Typically a function name.
+ *
+ * Generated from protobuf field string query_type = 1;
+ */
+ protected $query_type = '';
+ /**
+ * Serialized arguments that will be provided to the query handler.
+ *
+ * Generated from protobuf field .temporal.api.common.v1.Payloads query_args = 2;
+ */
+ protected $query_args = null;
+ /**
+ * Headers that were passed by the caller of the query and copied by temporal
+ * server into the workflow task.
+ *
+ * Generated from protobuf field .temporal.api.common.v1.Header header = 3;
+ */
+ protected $header = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $query_type
+ * The workflow-author-defined identifier of the query. Typically a function name.
+ * @type \Temporal\Api\Common\V1\Payloads $query_args
+ * Serialized arguments that will be provided to the query handler.
+ * @type \Temporal\Api\Common\V1\Header $header
+ * Headers that were passed by the caller of the query and copied by temporal
+ * server into the workflow task.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Temporal\Api\Query\V1\Message::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The workflow-author-defined identifier of the query. Typically a function name.
+ *
+ * Generated from protobuf field string query_type = 1;
+ * @return string
+ */
+ public function getQueryType()
+ {
+ return $this->query_type;
+ }
+
+ /**
+ * The workflow-author-defined identifier of the query. Typically a function name.
+ *
+ * Generated from protobuf field string query_type = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setQueryType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->query_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Serialized arguments that will be provided to the query handler.
+ *
+ * Generated from protobuf field .temporal.api.common.v1.Payloads query_args = 2;
+ * @return \Temporal\Api\Common\V1\Payloads|null
+ */
+ public function getQueryArgs()
+ {
+ return $this->query_args;
+ }
+
+ public function hasQueryArgs()
+ {
+ return isset($this->query_args);
+ }
+
+ public function clearQueryArgs()
+ {
+ unset($this->query_args);
+ }
+
+ /**
+ * Serialized arguments that will be provided to the query handler.
+ *
+ * Generated from protobuf field .temporal.api.common.v1.Payloads query_args = 2;
+ * @param \Temporal\Api\Common\V1\Payloads $var
+ * @return $this
+ */
+ public function setQueryArgs($var)
+ {
+ GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Payloads::class);
+ $this->query_args = $var;
+
+ return $this;
+ }
+
+ /**
+ * Headers that were passed by the caller of the query and copied by temporal
+ * server into the workflow task.
+ *
+ * Generated from protobuf field .temporal.api.common.v1.Header header = 3;
+ * @return \Temporal\Api\Common\V1\Header|null
+ */
+ public function getHeader()
+ {
+ return $this->header;
+ }
+
+ public function hasHeader()
+ {
+ return isset($this->header);
+ }
+
+ public function clearHeader()
+ {
+ unset($this->header);
+ }
+
+ /**
+ * Headers that were passed by the caller of the query and copied by temporal
+ * server into the workflow task.
+ *
+ * Generated from protobuf field .temporal.api.common.v1.Header header = 3;
+ * @param \Temporal\Api\Common\V1\Header $var
+ * @return $this
+ */
+ public function setHeader($var)
+ {
+ GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Header::class);
+ $this->header = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/api/Temporal/Api/Query/V1/WorkflowQueryResult.php b/api/v1/Temporal/Api/Query/V1/WorkflowQueryResult.php
similarity index 78%
rename from api/Temporal/Api/Query/V1/WorkflowQueryResult.php
rename to api/v1/Temporal/Api/Query/V1/WorkflowQueryResult.php
index 907d7b522..6e9b979c2 100644
--- a/api/Temporal/Api/Query/V1/WorkflowQueryResult.php
+++ b/api/v1/Temporal/Api/Query/V1/WorkflowQueryResult.php
@@ -9,19 +9,27 @@
use Google\Protobuf\Internal\GPBUtil;
/**
+ * Answer to a `WorkflowQuery`
+ *
* Generated from protobuf message temporal.api.query.v1.WorkflowQueryResult
*/
class WorkflowQueryResult extends \Google\Protobuf\Internal\Message
{
/**
+ * Did the query succeed or fail?
+ *
* Generated from protobuf field .temporal.api.enums.v1.QueryResultType result_type = 1;
*/
protected $result_type = 0;
/**
+ * Set when the query succeeds with the results
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads answer = 2;
*/
protected $answer = null;
/**
+ * Mutually exclusive with `answer`. Set when the query fails.
+ *
* Generated from protobuf field string error_message = 3;
*/
protected $error_message = '';
@@ -33,8 +41,11 @@ class WorkflowQueryResult extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type int $result_type
+ * Did the query succeed or fail?
* @type \Temporal\Api\Common\V1\Payloads $answer
+ * Set when the query succeeds with the results
* @type string $error_message
+ * Mutually exclusive with `answer`. Set when the query fails.
* }
*/
public function __construct($data = NULL) {
@@ -43,6 +54,8 @@ public function __construct($data = NULL) {
}
/**
+ * Did the query succeed or fail?
+ *
* Generated from protobuf field .temporal.api.enums.v1.QueryResultType result_type = 1;
* @return int
*/
@@ -52,6 +65,8 @@ public function getResultType()
}
/**
+ * Did the query succeed or fail?
+ *
* Generated from protobuf field .temporal.api.enums.v1.QueryResultType result_type = 1;
* @param int $var
* @return $this
@@ -65,12 +80,14 @@ public function setResultType($var)
}
/**
+ * Set when the query succeeds with the results
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads answer = 2;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getAnswer()
{
- return isset($this->answer) ? $this->answer : null;
+ return $this->answer;
}
public function hasAnswer()
@@ -84,6 +101,8 @@ public function clearAnswer()
}
/**
+ * Set when the query succeeds with the results
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads answer = 2;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -97,6 +116,8 @@ public function setAnswer($var)
}
/**
+ * Mutually exclusive with `answer`. Set when the query fails.
+ *
* Generated from protobuf field string error_message = 3;
* @return string
*/
@@ -106,6 +127,8 @@ public function getErrorMessage()
}
/**
+ * Mutually exclusive with `answer`. Set when the query fails.
+ *
* Generated from protobuf field string error_message = 3;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/Replication/V1/ClusterReplicationConfig.php b/api/v1/Temporal/Api/Replication/V1/ClusterReplicationConfig.php
similarity index 100%
rename from api/Temporal/Api/Replication/V1/ClusterReplicationConfig.php
rename to api/v1/Temporal/Api/Replication/V1/ClusterReplicationConfig.php
diff --git a/api/Temporal/Api/Replication/V1/NamespaceReplicationConfig.php b/api/v1/Temporal/Api/Replication/V1/NamespaceReplicationConfig.php
similarity index 78%
rename from api/Temporal/Api/Replication/V1/NamespaceReplicationConfig.php
rename to api/v1/Temporal/Api/Replication/V1/NamespaceReplicationConfig.php
index a94a818e0..9b8e08c3e 100644
--- a/api/Temporal/Api/Replication/V1/NamespaceReplicationConfig.php
+++ b/api/v1/Temporal/Api/Replication/V1/NamespaceReplicationConfig.php
@@ -21,6 +21,10 @@ class NamespaceReplicationConfig extends \Google\Protobuf\Internal\Message
* Generated from protobuf field repeated .temporal.api.replication.v1.ClusterReplicationConfig clusters = 2;
*/
private $clusters;
+ /**
+ * Generated from protobuf field .temporal.api.enums.v1.ReplicationState state = 3;
+ */
+ protected $state = 0;
/**
* Constructor.
@@ -30,6 +34,7 @@ class NamespaceReplicationConfig extends \Google\Protobuf\Internal\Message
*
* @type string $active_cluster_name
* @type \Temporal\Api\Replication\V1\ClusterReplicationConfig[]|\Google\Protobuf\Internal\RepeatedField $clusters
+ * @type int $state
* }
*/
public function __construct($data = NULL) {
@@ -81,5 +86,27 @@ public function setClusters($var)
return $this;
}
+ /**
+ * Generated from protobuf field .temporal.api.enums.v1.ReplicationState state = 3;
+ * @return int
+ */
+ public function getState()
+ {
+ return $this->state;
+ }
+
+ /**
+ * Generated from protobuf field .temporal.api.enums.v1.ReplicationState state = 3;
+ * @param int $var
+ * @return $this
+ */
+ public function setState($var)
+ {
+ GPBUtil::checkEnum($var, \Temporal\Api\Enums\V1\ReplicationState::class);
+ $this->state = $var;
+
+ return $this;
+ }
+
}
diff --git a/api/Temporal/Api/Taskqueue/V1/TaskQueue.php b/api/v1/Temporal/Api/Taskqueue/V1/TaskQueue.php
similarity index 97%
rename from api/Temporal/Api/Taskqueue/V1/TaskQueue.php
rename to api/v1/Temporal/Api/Taskqueue/V1/TaskQueue.php
index f2e0612a6..b5cfea45d 100644
--- a/api/Temporal/Api/Taskqueue/V1/TaskQueue.php
+++ b/api/v1/Temporal/Api/Taskqueue/V1/TaskQueue.php
@@ -9,6 +9,8 @@
use Google\Protobuf\Internal\GPBUtil;
/**
+ * See https://docs.temporal.io/docs/concepts/task-queues/
+ *
* Generated from protobuf message temporal.api.taskqueue.v1.TaskQueue
*/
class TaskQueue extends \Google\Protobuf\Internal\Message
diff --git a/api/Temporal/Api/Version/V1/Alert.php b/api/v1/Temporal/Api/Version/V1/Alert.php
similarity index 100%
rename from api/Temporal/Api/Version/V1/Alert.php
rename to api/v1/Temporal/Api/Version/V1/Alert.php
diff --git a/api/Temporal/Api/Version/V1/ReleaseInfo.php b/api/v1/Temporal/Api/Version/V1/ReleaseInfo.php
similarity index 96%
rename from api/Temporal/Api/Version/V1/ReleaseInfo.php
rename to api/v1/Temporal/Api/Version/V1/ReleaseInfo.php
index dccdfd38d..dd130f989 100644
--- a/api/Temporal/Api/Version/V1/ReleaseInfo.php
+++ b/api/v1/Temporal/Api/Version/V1/ReleaseInfo.php
@@ -68,11 +68,11 @@ public function setVersion($var)
/**
* Generated from protobuf field .google.protobuf.Timestamp release_time = 2 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
+ * @return \Google\Protobuf\Timestamp|null
*/
public function getReleaseTime()
{
- return isset($this->release_time) ? $this->release_time : null;
+ return $this->release_time;
}
public function hasReleaseTime()
diff --git a/api/Temporal/Api/Version/V1/VersionInfo.php b/api/v1/Temporal/Api/Version/V1/VersionInfo.php
similarity index 93%
rename from api/Temporal/Api/Version/V1/VersionInfo.php
rename to api/v1/Temporal/Api/Version/V1/VersionInfo.php
index d1bf0717f..21e306eaf 100644
--- a/api/Temporal/Api/Version/V1/VersionInfo.php
+++ b/api/v1/Temporal/Api/Version/V1/VersionInfo.php
@@ -56,11 +56,11 @@ public function __construct($data = NULL) {
/**
* Generated from protobuf field .temporal.api.version.v1.ReleaseInfo current = 1;
- * @return \Temporal\Api\Version\V1\ReleaseInfo
+ * @return \Temporal\Api\Version\V1\ReleaseInfo|null
*/
public function getCurrent()
{
- return isset($this->current) ? $this->current : null;
+ return $this->current;
}
public function hasCurrent()
@@ -88,11 +88,11 @@ public function setCurrent($var)
/**
* Generated from protobuf field .temporal.api.version.v1.ReleaseInfo recommended = 2;
- * @return \Temporal\Api\Version\V1\ReleaseInfo
+ * @return \Temporal\Api\Version\V1\ReleaseInfo|null
*/
public function getRecommended()
{
- return isset($this->recommended) ? $this->recommended : null;
+ return $this->recommended;
}
public function hasRecommended()
@@ -164,11 +164,11 @@ public function setAlerts($var)
/**
* Generated from protobuf field .google.protobuf.Timestamp last_update_time = 5 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
+ * @return \Google\Protobuf\Timestamp|null
*/
public function getLastUpdateTime()
{
- return isset($this->last_update_time) ? $this->last_update_time : null;
+ return $this->last_update_time;
}
public function hasLastUpdateTime()
diff --git a/api/Temporal/Api/Workflow/V1/PendingActivityInfo.php b/api/v1/Temporal/Api/Workflow/V1/PendingActivityInfo.php
similarity index 92%
rename from api/Temporal/Api/Workflow/V1/PendingActivityInfo.php
rename to api/v1/Temporal/Api/Workflow/V1/PendingActivityInfo.php
index 50a3eee49..357972424 100644
--- a/api/Temporal/Api/Workflow/V1/PendingActivityInfo.php
+++ b/api/v1/Temporal/Api/Workflow/V1/PendingActivityInfo.php
@@ -111,11 +111,11 @@ public function setActivityId($var)
/**
* Generated from protobuf field .temporal.api.common.v1.ActivityType activity_type = 2;
- * @return \Temporal\Api\Common\V1\ActivityType
+ * @return \Temporal\Api\Common\V1\ActivityType|null
*/
public function getActivityType()
{
- return isset($this->activity_type) ? $this->activity_type : null;
+ return $this->activity_type;
}
public function hasActivityType()
@@ -165,11 +165,11 @@ public function setState($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Payloads heartbeat_details = 4;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getHeartbeatDetails()
{
- return isset($this->heartbeat_details) ? $this->heartbeat_details : null;
+ return $this->heartbeat_details;
}
public function hasHeartbeatDetails()
@@ -197,11 +197,11 @@ public function setHeartbeatDetails($var)
/**
* Generated from protobuf field .google.protobuf.Timestamp last_heartbeat_time = 5 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
+ * @return \Google\Protobuf\Timestamp|null
*/
public function getLastHeartbeatTime()
{
- return isset($this->last_heartbeat_time) ? $this->last_heartbeat_time : null;
+ return $this->last_heartbeat_time;
}
public function hasLastHeartbeatTime()
@@ -229,11 +229,11 @@ public function setLastHeartbeatTime($var)
/**
* Generated from protobuf field .google.protobuf.Timestamp last_started_time = 6 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
+ * @return \Google\Protobuf\Timestamp|null
*/
public function getLastStartedTime()
{
- return isset($this->last_started_time) ? $this->last_started_time : null;
+ return $this->last_started_time;
}
public function hasLastStartedTime()
@@ -305,11 +305,11 @@ public function setMaximumAttempts($var)
/**
* Generated from protobuf field .google.protobuf.Timestamp scheduled_time = 9 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
+ * @return \Google\Protobuf\Timestamp|null
*/
public function getScheduledTime()
{
- return isset($this->scheduled_time) ? $this->scheduled_time : null;
+ return $this->scheduled_time;
}
public function hasScheduledTime()
@@ -337,11 +337,11 @@ public function setScheduledTime($var)
/**
* Generated from protobuf field .google.protobuf.Timestamp expiration_time = 10 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
+ * @return \Google\Protobuf\Timestamp|null
*/
public function getExpirationTime()
{
- return isset($this->expiration_time) ? $this->expiration_time : null;
+ return $this->expiration_time;
}
public function hasExpirationTime()
@@ -369,11 +369,11 @@ public function setExpirationTime($var)
/**
* Generated from protobuf field .temporal.api.failure.v1.Failure last_failure = 11;
- * @return \Temporal\Api\Failure\V1\Failure
+ * @return \Temporal\Api\Failure\V1\Failure|null
*/
public function getLastFailure()
{
- return isset($this->last_failure) ? $this->last_failure : null;
+ return $this->last_failure;
}
public function hasLastFailure()
diff --git a/api/Temporal/Api/Workflow/V1/PendingChildExecutionInfo.php b/api/v1/Temporal/Api/Workflow/V1/PendingChildExecutionInfo.php
similarity index 100%
rename from api/Temporal/Api/Workflow/V1/PendingChildExecutionInfo.php
rename to api/v1/Temporal/Api/Workflow/V1/PendingChildExecutionInfo.php
diff --git a/api/v1/Temporal/Api/Workflow/V1/PendingWorkflowTaskInfo.php b/api/v1/Temporal/Api/Workflow/V1/PendingWorkflowTaskInfo.php
new file mode 100644
index 000000000..7eda74c38
--- /dev/null
+++ b/api/v1/Temporal/Api/Workflow/V1/PendingWorkflowTaskInfo.php
@@ -0,0 +1,215 @@
+temporal.api.workflow.v1.PendingWorkflowTaskInfo
+ */
+class PendingWorkflowTaskInfo extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Generated from protobuf field .temporal.api.enums.v1.PendingWorkflowTaskState state = 1;
+ */
+ protected $state = 0;
+ /**
+ * Generated from protobuf field .google.protobuf.Timestamp scheduled_time = 2 [(.gogoproto.stdtime) = true];
+ */
+ protected $scheduled_time = null;
+ /**
+ * original_scheduled_time is the scheduled time of the first workflow task during workflow task heartbeat.
+ * Heartbeat workflow task is done by RespondWorkflowTaskComplete with ForceCreateNewWorkflowTask == true and no command
+ * In this case, OriginalScheduledTime won't change. Then when current time - original_scheduled_time exceeds
+ * some threshold, the workflow task will be forced timeout.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp original_scheduled_time = 3 [(.gogoproto.stdtime) = true];
+ */
+ protected $original_scheduled_time = null;
+ /**
+ * Generated from protobuf field .google.protobuf.Timestamp started_time = 4 [(.gogoproto.stdtime) = true];
+ */
+ protected $started_time = null;
+ /**
+ * Generated from protobuf field int32 attempt = 5;
+ */
+ protected $attempt = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $state
+ * @type \Google\Protobuf\Timestamp $scheduled_time
+ * @type \Google\Protobuf\Timestamp $original_scheduled_time
+ * original_scheduled_time is the scheduled time of the first workflow task during workflow task heartbeat.
+ * Heartbeat workflow task is done by RespondWorkflowTaskComplete with ForceCreateNewWorkflowTask == true and no command
+ * In this case, OriginalScheduledTime won't change. Then when current time - original_scheduled_time exceeds
+ * some threshold, the workflow task will be forced timeout.
+ * @type \Google\Protobuf\Timestamp $started_time
+ * @type int $attempt
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Temporal\Api\Workflow\V1\Message::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Generated from protobuf field .temporal.api.enums.v1.PendingWorkflowTaskState state = 1;
+ * @return int
+ */
+ public function getState()
+ {
+ return $this->state;
+ }
+
+ /**
+ * Generated from protobuf field .temporal.api.enums.v1.PendingWorkflowTaskState state = 1;
+ * @param int $var
+ * @return $this
+ */
+ public function setState($var)
+ {
+ GPBUtil::checkEnum($var, \Temporal\Api\Enums\V1\PendingWorkflowTaskState::class);
+ $this->state = $var;
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field .google.protobuf.Timestamp scheduled_time = 2 [(.gogoproto.stdtime) = true];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getScheduledTime()
+ {
+ return $this->scheduled_time;
+ }
+
+ public function hasScheduledTime()
+ {
+ return isset($this->scheduled_time);
+ }
+
+ public function clearScheduledTime()
+ {
+ unset($this->scheduled_time);
+ }
+
+ /**
+ * Generated from protobuf field .google.protobuf.Timestamp scheduled_time = 2 [(.gogoproto.stdtime) = true];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setScheduledTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->scheduled_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * original_scheduled_time is the scheduled time of the first workflow task during workflow task heartbeat.
+ * Heartbeat workflow task is done by RespondWorkflowTaskComplete with ForceCreateNewWorkflowTask == true and no command
+ * In this case, OriginalScheduledTime won't change. Then when current time - original_scheduled_time exceeds
+ * some threshold, the workflow task will be forced timeout.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp original_scheduled_time = 3 [(.gogoproto.stdtime) = true];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getOriginalScheduledTime()
+ {
+ return $this->original_scheduled_time;
+ }
+
+ public function hasOriginalScheduledTime()
+ {
+ return isset($this->original_scheduled_time);
+ }
+
+ public function clearOriginalScheduledTime()
+ {
+ unset($this->original_scheduled_time);
+ }
+
+ /**
+ * original_scheduled_time is the scheduled time of the first workflow task during workflow task heartbeat.
+ * Heartbeat workflow task is done by RespondWorkflowTaskComplete with ForceCreateNewWorkflowTask == true and no command
+ * In this case, OriginalScheduledTime won't change. Then when current time - original_scheduled_time exceeds
+ * some threshold, the workflow task will be forced timeout.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp original_scheduled_time = 3 [(.gogoproto.stdtime) = true];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setOriginalScheduledTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->original_scheduled_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field .google.protobuf.Timestamp started_time = 4 [(.gogoproto.stdtime) = true];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getStartedTime()
+ {
+ return $this->started_time;
+ }
+
+ public function hasStartedTime()
+ {
+ return isset($this->started_time);
+ }
+
+ public function clearStartedTime()
+ {
+ unset($this->started_time);
+ }
+
+ /**
+ * Generated from protobuf field .google.protobuf.Timestamp started_time = 4 [(.gogoproto.stdtime) = true];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setStartedTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->started_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field int32 attempt = 5;
+ * @return int
+ */
+ public function getAttempt()
+ {
+ return $this->attempt;
+ }
+
+ /**
+ * Generated from protobuf field int32 attempt = 5;
+ * @param int $var
+ * @return $this
+ */
+ public function setAttempt($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->attempt = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/api/Temporal/Api/Workflow/V1/ResetPointInfo.php b/api/v1/Temporal/Api/Workflow/V1/ResetPointInfo.php
similarity index 96%
rename from api/Temporal/Api/Workflow/V1/ResetPointInfo.php
rename to api/v1/Temporal/Api/Workflow/V1/ResetPointInfo.php
index 35d3ac7bb..ffd88094d 100644
--- a/api/Temporal/Api/Workflow/V1/ResetPointInfo.php
+++ b/api/v1/Temporal/Api/Workflow/V1/ResetPointInfo.php
@@ -135,11 +135,11 @@ public function setFirstWorkflowTaskCompletedId($var)
/**
* Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
+ * @return \Google\Protobuf\Timestamp|null
*/
public function getCreateTime()
{
- return isset($this->create_time) ? $this->create_time : null;
+ return $this->create_time;
}
public function hasCreateTime()
@@ -171,11 +171,11 @@ public function setCreateTime($var)
* The time that the run is deleted due to retention.
*
* Generated from protobuf field .google.protobuf.Timestamp expire_time = 5 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
+ * @return \Google\Protobuf\Timestamp|null
*/
public function getExpireTime()
{
- return isset($this->expire_time) ? $this->expire_time : null;
+ return $this->expire_time;
}
public function hasExpireTime()
diff --git a/api/Temporal/Api/Workflow/V1/ResetPoints.php b/api/v1/Temporal/Api/Workflow/V1/ResetPoints.php
similarity index 100%
rename from api/Temporal/Api/Workflow/V1/ResetPoints.php
rename to api/v1/Temporal/Api/Workflow/V1/ResetPoints.php
diff --git a/api/Temporal/Api/Workflow/V1/WorkflowExecutionConfig.php b/api/v1/Temporal/Api/Workflow/V1/WorkflowExecutionConfig.php
similarity index 90%
rename from api/Temporal/Api/Workflow/V1/WorkflowExecutionConfig.php
rename to api/v1/Temporal/Api/Workflow/V1/WorkflowExecutionConfig.php
index f53d3d1ac..ee0942819 100644
--- a/api/Temporal/Api/Workflow/V1/WorkflowExecutionConfig.php
+++ b/api/v1/Temporal/Api/Workflow/V1/WorkflowExecutionConfig.php
@@ -49,11 +49,11 @@ public function __construct($data = NULL) {
/**
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 1;
- * @return \Temporal\Api\Taskqueue\V1\TaskQueue
+ * @return \Temporal\Api\Taskqueue\V1\TaskQueue|null
*/
public function getTaskQueue()
{
- return isset($this->task_queue) ? $this->task_queue : null;
+ return $this->task_queue;
}
public function hasTaskQueue()
@@ -81,11 +81,11 @@ public function setTaskQueue($var)
/**
* Generated from protobuf field .google.protobuf.Duration workflow_execution_timeout = 2 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getWorkflowExecutionTimeout()
{
- return isset($this->workflow_execution_timeout) ? $this->workflow_execution_timeout : null;
+ return $this->workflow_execution_timeout;
}
public function hasWorkflowExecutionTimeout()
@@ -113,11 +113,11 @@ public function setWorkflowExecutionTimeout($var)
/**
* Generated from protobuf field .google.protobuf.Duration workflow_run_timeout = 3 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getWorkflowRunTimeout()
{
- return isset($this->workflow_run_timeout) ? $this->workflow_run_timeout : null;
+ return $this->workflow_run_timeout;
}
public function hasWorkflowRunTimeout()
@@ -145,11 +145,11 @@ public function setWorkflowRunTimeout($var)
/**
* Generated from protobuf field .google.protobuf.Duration default_workflow_task_timeout = 4 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getDefaultWorkflowTaskTimeout()
{
- return isset($this->default_workflow_task_timeout) ? $this->default_workflow_task_timeout : null;
+ return $this->default_workflow_task_timeout;
}
public function hasDefaultWorkflowTaskTimeout()
diff --git a/api/Temporal/Api/Workflow/V1/WorkflowExecutionInfo.php b/api/v1/Temporal/Api/Workflow/V1/WorkflowExecutionInfo.php
similarity index 88%
rename from api/Temporal/Api/Workflow/V1/WorkflowExecutionInfo.php
rename to api/v1/Temporal/Api/Workflow/V1/WorkflowExecutionInfo.php
index b33cb13d4..3b2d9928e 100644
--- a/api/Temporal/Api/Workflow/V1/WorkflowExecutionInfo.php
+++ b/api/v1/Temporal/Api/Workflow/V1/WorkflowExecutionInfo.php
@@ -65,6 +65,10 @@ class WorkflowExecutionInfo extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string task_queue = 13;
*/
protected $task_queue = '';
+ /**
+ * Generated from protobuf field int64 state_transition_count = 14;
+ */
+ protected $state_transition_count = 0;
/**
* Constructor.
@@ -85,6 +89,7 @@ class WorkflowExecutionInfo extends \Google\Protobuf\Internal\Message
* @type \Temporal\Api\Common\V1\SearchAttributes $search_attributes
* @type \Temporal\Api\Workflow\V1\ResetPoints $auto_reset_points
* @type string $task_queue
+ * @type int|string $state_transition_count
* }
*/
public function __construct($data = NULL) {
@@ -94,11 +99,11 @@ public function __construct($data = NULL) {
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution execution = 1;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getExecution()
{
- return isset($this->execution) ? $this->execution : null;
+ return $this->execution;
}
public function hasExecution()
@@ -126,11 +131,11 @@ public function setExecution($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowType type = 2;
- * @return \Temporal\Api\Common\V1\WorkflowType
+ * @return \Temporal\Api\Common\V1\WorkflowType|null
*/
public function getType()
{
- return isset($this->type) ? $this->type : null;
+ return $this->type;
}
public function hasType()
@@ -158,11 +163,11 @@ public function setType($var)
/**
* Generated from protobuf field .google.protobuf.Timestamp start_time = 3 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
+ * @return \Google\Protobuf\Timestamp|null
*/
public function getStartTime()
{
- return isset($this->start_time) ? $this->start_time : null;
+ return $this->start_time;
}
public function hasStartTime()
@@ -190,11 +195,11 @@ public function setStartTime($var)
/**
* Generated from protobuf field .google.protobuf.Timestamp close_time = 4 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
+ * @return \Google\Protobuf\Timestamp|null
*/
public function getCloseTime()
{
- return isset($this->close_time) ? $this->close_time : null;
+ return $this->close_time;
}
public function hasCloseTime()
@@ -288,11 +293,11 @@ public function setParentNamespaceId($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution parent_execution = 8;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getParentExecution()
{
- return isset($this->parent_execution) ? $this->parent_execution : null;
+ return $this->parent_execution;
}
public function hasParentExecution()
@@ -320,11 +325,11 @@ public function setParentExecution($var)
/**
* Generated from protobuf field .google.protobuf.Timestamp execution_time = 9 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
+ * @return \Google\Protobuf\Timestamp|null
*/
public function getExecutionTime()
{
- return isset($this->execution_time) ? $this->execution_time : null;
+ return $this->execution_time;
}
public function hasExecutionTime()
@@ -352,11 +357,11 @@ public function setExecutionTime($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Memo memo = 10;
- * @return \Temporal\Api\Common\V1\Memo
+ * @return \Temporal\Api\Common\V1\Memo|null
*/
public function getMemo()
{
- return isset($this->memo) ? $this->memo : null;
+ return $this->memo;
}
public function hasMemo()
@@ -384,11 +389,11 @@ public function setMemo($var)
/**
* Generated from protobuf field .temporal.api.common.v1.SearchAttributes search_attributes = 11;
- * @return \Temporal\Api\Common\V1\SearchAttributes
+ * @return \Temporal\Api\Common\V1\SearchAttributes|null
*/
public function getSearchAttributes()
{
- return isset($this->search_attributes) ? $this->search_attributes : null;
+ return $this->search_attributes;
}
public function hasSearchAttributes()
@@ -416,11 +421,11 @@ public function setSearchAttributes($var)
/**
* Generated from protobuf field .temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
- * @return \Temporal\Api\Workflow\V1\ResetPoints
+ * @return \Temporal\Api\Workflow\V1\ResetPoints|null
*/
public function getAutoResetPoints()
{
- return isset($this->auto_reset_points) ? $this->auto_reset_points : null;
+ return $this->auto_reset_points;
}
public function hasAutoResetPoints()
@@ -468,5 +473,27 @@ public function setTaskQueue($var)
return $this;
}
+ /**
+ * Generated from protobuf field int64 state_transition_count = 14;
+ * @return int|string
+ */
+ public function getStateTransitionCount()
+ {
+ return $this->state_transition_count;
+ }
+
+ /**
+ * Generated from protobuf field int64 state_transition_count = 14;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setStateTransitionCount($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->state_transition_count = $var;
+
+ return $this;
+ }
+
}
diff --git a/api/Temporal/Api/Workflowservice/V1/CountWorkflowExecutionsRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/CountWorkflowExecutionsRequest.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/CountWorkflowExecutionsRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/CountWorkflowExecutionsRequest.php
diff --git a/api/Temporal/Api/Workflowservice/V1/CountWorkflowExecutionsResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/CountWorkflowExecutionsResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/CountWorkflowExecutionsResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/CountWorkflowExecutionsResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/DeprecateNamespaceRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/DeprecateNamespaceRequest.php
similarity index 99%
rename from api/Temporal/Api/Workflowservice/V1/DeprecateNamespaceRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/DeprecateNamespaceRequest.php
index b731f422f..41337a3fe 100644
--- a/api/Temporal/Api/Workflowservice/V1/DeprecateNamespaceRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/DeprecateNamespaceRequest.php
@@ -9,6 +9,8 @@
use Google\Protobuf\Internal\GPBUtil;
/**
+ * Deprecated.
+ *
* Generated from protobuf message temporal.api.workflowservice.v1.DeprecateNamespaceRequest
*/
class DeprecateNamespaceRequest extends \Google\Protobuf\Internal\Message
diff --git a/api/Temporal/Api/Workflowservice/V1/DeprecateNamespaceResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/DeprecateNamespaceResponse.php
similarity index 97%
rename from api/Temporal/Api/Workflowservice/V1/DeprecateNamespaceResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/DeprecateNamespaceResponse.php
index bc0971435..e5b76fda4 100644
--- a/api/Temporal/Api/Workflowservice/V1/DeprecateNamespaceResponse.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/DeprecateNamespaceResponse.php
@@ -9,6 +9,8 @@
use Google\Protobuf\Internal\GPBUtil;
/**
+ * Deprecated.
+ *
* Generated from protobuf message temporal.api.workflowservice.v1.DeprecateNamespaceResponse
*/
class DeprecateNamespaceResponse extends \Google\Protobuf\Internal\Message
diff --git a/api/Temporal/Api/Workflowservice/V1/DescribeNamespaceRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/DescribeNamespaceRequest.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/DescribeNamespaceRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/DescribeNamespaceRequest.php
diff --git a/api/Temporal/Api/Workflowservice/V1/DescribeNamespaceResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/DescribeNamespaceResponse.php
similarity index 93%
rename from api/Temporal/Api/Workflowservice/V1/DescribeNamespaceResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/DescribeNamespaceResponse.php
index 11ec4bb4b..0d4dda17a 100644
--- a/api/Temporal/Api/Workflowservice/V1/DescribeNamespaceResponse.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/DescribeNamespaceResponse.php
@@ -54,11 +54,11 @@ public function __construct($data = NULL) {
/**
* Generated from protobuf field .temporal.api.namespace.v1.NamespaceInfo namespace_info = 1;
- * @return \Temporal\Api\PBNamespace\V1\NamespaceInfo
+ * @return \Temporal\Api\PBNamespace\V1\NamespaceInfo|null
*/
public function getNamespaceInfo()
{
- return isset($this->namespace_info) ? $this->namespace_info : null;
+ return $this->namespace_info;
}
public function hasNamespaceInfo()
@@ -86,11 +86,11 @@ public function setNamespaceInfo($var)
/**
* Generated from protobuf field .temporal.api.namespace.v1.NamespaceConfig config = 2;
- * @return \Temporal\Api\PBNamespace\V1\NamespaceConfig
+ * @return \Temporal\Api\PBNamespace\V1\NamespaceConfig|null
*/
public function getConfig()
{
- return isset($this->config) ? $this->config : null;
+ return $this->config;
}
public function hasConfig()
@@ -118,11 +118,11 @@ public function setConfig($var)
/**
* Generated from protobuf field .temporal.api.replication.v1.NamespaceReplicationConfig replication_config = 3;
- * @return \Temporal\Api\Replication\V1\NamespaceReplicationConfig
+ * @return \Temporal\Api\Replication\V1\NamespaceReplicationConfig|null
*/
public function getReplicationConfig()
{
- return isset($this->replication_config) ? $this->replication_config : null;
+ return $this->replication_config;
}
public function hasReplicationConfig()
diff --git a/api/Temporal/Api/Workflowservice/V1/DescribeTaskQueueRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/DescribeTaskQueueRequest.php
similarity index 97%
rename from api/Temporal/Api/Workflowservice/V1/DescribeTaskQueueRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/DescribeTaskQueueRequest.php
index 70c87402b..69ec0272f 100644
--- a/api/Temporal/Api/Workflowservice/V1/DescribeTaskQueueRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/DescribeTaskQueueRequest.php
@@ -71,11 +71,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
- * @return \Temporal\Api\Taskqueue\V1\TaskQueue
+ * @return \Temporal\Api\Taskqueue\V1\TaskQueue|null
*/
public function getTaskQueue()
{
- return isset($this->task_queue) ? $this->task_queue : null;
+ return $this->task_queue;
}
public function hasTaskQueue()
diff --git a/api/Temporal/Api/Workflowservice/V1/DescribeTaskQueueResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/DescribeTaskQueueResponse.php
similarity index 95%
rename from api/Temporal/Api/Workflowservice/V1/DescribeTaskQueueResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/DescribeTaskQueueResponse.php
index 973aaa27a..3d787b72c 100644
--- a/api/Temporal/Api/Workflowservice/V1/DescribeTaskQueueResponse.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/DescribeTaskQueueResponse.php
@@ -61,11 +61,11 @@ public function setPollers($var)
/**
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueueStatus task_queue_status = 2;
- * @return \Temporal\Api\Taskqueue\V1\TaskQueueStatus
+ * @return \Temporal\Api\Taskqueue\V1\TaskQueueStatus|null
*/
public function getTaskQueueStatus()
{
- return isset($this->task_queue_status) ? $this->task_queue_status : null;
+ return $this->task_queue_status;
}
public function hasTaskQueueStatus()
diff --git a/api/Temporal/Api/Workflowservice/V1/DescribeWorkflowExecutionRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/DescribeWorkflowExecutionRequest.php
similarity index 95%
rename from api/Temporal/Api/Workflowservice/V1/DescribeWorkflowExecutionRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/DescribeWorkflowExecutionRequest.php
index d88be5eeb..359e40072 100644
--- a/api/Temporal/Api/Workflowservice/V1/DescribeWorkflowExecutionRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/DescribeWorkflowExecutionRequest.php
@@ -61,11 +61,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution execution = 2;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getExecution()
{
- return isset($this->execution) ? $this->execution : null;
+ return $this->execution;
}
public function hasExecution()
diff --git a/api/Temporal/Api/Workflowservice/V1/DescribeWorkflowExecutionResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/DescribeWorkflowExecutionResponse.php
similarity index 79%
rename from api/Temporal/Api/Workflowservice/V1/DescribeWorkflowExecutionResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/DescribeWorkflowExecutionResponse.php
index c75b0f9bc..ca2322f31 100644
--- a/api/Temporal/Api/Workflowservice/V1/DescribeWorkflowExecutionResponse.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/DescribeWorkflowExecutionResponse.php
@@ -29,6 +29,10 @@ class DescribeWorkflowExecutionResponse extends \Google\Protobuf\Internal\Messag
* Generated from protobuf field repeated .temporal.api.workflow.v1.PendingChildExecutionInfo pending_children = 4;
*/
private $pending_children;
+ /**
+ * Generated from protobuf field .temporal.api.workflow.v1.PendingWorkflowTaskInfo pending_workflow_task = 5;
+ */
+ protected $pending_workflow_task = null;
/**
* Constructor.
@@ -40,6 +44,7 @@ class DescribeWorkflowExecutionResponse extends \Google\Protobuf\Internal\Messag
* @type \Temporal\Api\Workflow\V1\WorkflowExecutionInfo $workflow_execution_info
* @type \Temporal\Api\Workflow\V1\PendingActivityInfo[]|\Google\Protobuf\Internal\RepeatedField $pending_activities
* @type \Temporal\Api\Workflow\V1\PendingChildExecutionInfo[]|\Google\Protobuf\Internal\RepeatedField $pending_children
+ * @type \Temporal\Api\Workflow\V1\PendingWorkflowTaskInfo $pending_workflow_task
* }
*/
public function __construct($data = NULL) {
@@ -49,11 +54,11 @@ public function __construct($data = NULL) {
/**
* Generated from protobuf field .temporal.api.workflow.v1.WorkflowExecutionConfig execution_config = 1;
- * @return \Temporal\Api\Workflow\V1\WorkflowExecutionConfig
+ * @return \Temporal\Api\Workflow\V1\WorkflowExecutionConfig|null
*/
public function getExecutionConfig()
{
- return isset($this->execution_config) ? $this->execution_config : null;
+ return $this->execution_config;
}
public function hasExecutionConfig()
@@ -81,11 +86,11 @@ public function setExecutionConfig($var)
/**
* Generated from protobuf field .temporal.api.workflow.v1.WorkflowExecutionInfo workflow_execution_info = 2;
- * @return \Temporal\Api\Workflow\V1\WorkflowExecutionInfo
+ * @return \Temporal\Api\Workflow\V1\WorkflowExecutionInfo|null
*/
public function getWorkflowExecutionInfo()
{
- return isset($this->workflow_execution_info) ? $this->workflow_execution_info : null;
+ return $this->workflow_execution_info;
}
public function hasWorkflowExecutionInfo()
@@ -155,5 +160,37 @@ public function setPendingChildren($var)
return $this;
}
+ /**
+ * Generated from protobuf field .temporal.api.workflow.v1.PendingWorkflowTaskInfo pending_workflow_task = 5;
+ * @return \Temporal\Api\Workflow\V1\PendingWorkflowTaskInfo|null
+ */
+ public function getPendingWorkflowTask()
+ {
+ return $this->pending_workflow_task;
+ }
+
+ public function hasPendingWorkflowTask()
+ {
+ return isset($this->pending_workflow_task);
+ }
+
+ public function clearPendingWorkflowTask()
+ {
+ unset($this->pending_workflow_task);
+ }
+
+ /**
+ * Generated from protobuf field .temporal.api.workflow.v1.PendingWorkflowTaskInfo pending_workflow_task = 5;
+ * @param \Temporal\Api\Workflow\V1\PendingWorkflowTaskInfo $var
+ * @return $this
+ */
+ public function setPendingWorkflowTask($var)
+ {
+ GPBUtil::checkMessage($var, \Temporal\Api\Workflow\V1\PendingWorkflowTaskInfo::class);
+ $this->pending_workflow_task = $var;
+
+ return $this;
+ }
+
}
diff --git a/api/Temporal/Api/Workflowservice/V1/GetClusterInfoRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/GetClusterInfoRequest.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/GetClusterInfoRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/GetClusterInfoRequest.php
diff --git a/api/Temporal/Api/Workflowservice/V1/GetClusterInfoResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/GetClusterInfoResponse.php
similarity index 80%
rename from api/Temporal/Api/Workflowservice/V1/GetClusterInfoResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/GetClusterInfoResponse.php
index 972b6023d..8b5c6c950 100644
--- a/api/Temporal/Api/Workflowservice/V1/GetClusterInfoResponse.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/GetClusterInfoResponse.php
@@ -42,6 +42,14 @@ class GetClusterInfoResponse extends \Google\Protobuf\Internal\Message
* Generated from protobuf field int32 history_shard_count = 6;
*/
protected $history_shard_count = 0;
+ /**
+ * Generated from protobuf field string persistence_store = 7;
+ */
+ protected $persistence_store = '';
+ /**
+ * Generated from protobuf field string visibility_store = 8;
+ */
+ protected $visibility_store = '';
/**
* Constructor.
@@ -57,6 +65,8 @@ class GetClusterInfoResponse extends \Google\Protobuf\Internal\Message
* @type \Temporal\Api\Version\V1\VersionInfo $version_info
* @type string $cluster_name
* @type int $history_shard_count
+ * @type string $persistence_store
+ * @type string $visibility_store
* }
*/
public function __construct($data = NULL) {
@@ -138,11 +148,11 @@ public function setClusterId($var)
/**
* Generated from protobuf field .temporal.api.version.v1.VersionInfo version_info = 4;
- * @return \Temporal\Api\Version\V1\VersionInfo
+ * @return \Temporal\Api\Version\V1\VersionInfo|null
*/
public function getVersionInfo()
{
- return isset($this->version_info) ? $this->version_info : null;
+ return $this->version_info;
}
public function hasVersionInfo()
@@ -212,5 +222,49 @@ public function setHistoryShardCount($var)
return $this;
}
+ /**
+ * Generated from protobuf field string persistence_store = 7;
+ * @return string
+ */
+ public function getPersistenceStore()
+ {
+ return $this->persistence_store;
+ }
+
+ /**
+ * Generated from protobuf field string persistence_store = 7;
+ * @param string $var
+ * @return $this
+ */
+ public function setPersistenceStore($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->persistence_store = $var;
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field string visibility_store = 8;
+ * @return string
+ */
+ public function getVisibilityStore()
+ {
+ return $this->visibility_store;
+ }
+
+ /**
+ * Generated from protobuf field string visibility_store = 8;
+ * @param string $var
+ * @return $this
+ */
+ public function setVisibilityStore($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->visibility_store = $var;
+
+ return $this;
+ }
+
}
diff --git a/api/Temporal/Api/Workflowservice/V1/GetSearchAttributesRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/GetSearchAttributesRequest.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/GetSearchAttributesRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/GetSearchAttributesRequest.php
diff --git a/api/Temporal/Api/Workflowservice/V1/GetSearchAttributesResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/GetSearchAttributesResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/GetSearchAttributesResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/GetSearchAttributesResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/GetSystemInfoRequest.php
similarity index 84%
rename from api/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/GetSystemInfoRequest.php
index 51ba77381..80bdac2ee 100644
--- a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedResponse.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/GetSystemInfoRequest.php
@@ -9,9 +9,9 @@
use Google\Protobuf\Internal\GPBUtil;
/**
- * Generated from protobuf message temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse
+ * Generated from protobuf message temporal.api.workflowservice.v1.GetSystemInfoRequest
*/
-class RespondActivityTaskFailedResponse extends \Google\Protobuf\Internal\Message
+class GetSystemInfoRequest extends \Google\Protobuf\Internal\Message
{
/**
diff --git a/api/v1/Temporal/Api/Workflowservice/V1/GetSystemInfoResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/GetSystemInfoResponse.php
new file mode 100644
index 000000000..845386c8c
--- /dev/null
+++ b/api/v1/Temporal/Api/Workflowservice/V1/GetSystemInfoResponse.php
@@ -0,0 +1,109 @@
+temporal.api.workflowservice.v1.GetSystemInfoResponse
+ */
+class GetSystemInfoResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Version of the server.
+ *
+ * Generated from protobuf field string server_version = 1;
+ */
+ protected $server_version = '';
+ /**
+ * All capabilities the system supports.
+ *
+ * Generated from protobuf field .temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities capabilities = 2;
+ */
+ protected $capabilities = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $server_version
+ * Version of the server.
+ * @type \Temporal\Api\Workflowservice\V1\GetSystemInfoResponse\Capabilities $capabilities
+ * All capabilities the system supports.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Temporal\Api\Workflowservice\V1\RequestResponse::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Version of the server.
+ *
+ * Generated from protobuf field string server_version = 1;
+ * @return string
+ */
+ public function getServerVersion()
+ {
+ return $this->server_version;
+ }
+
+ /**
+ * Version of the server.
+ *
+ * Generated from protobuf field string server_version = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setServerVersion($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->server_version = $var;
+
+ return $this;
+ }
+
+ /**
+ * All capabilities the system supports.
+ *
+ * Generated from protobuf field .temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities capabilities = 2;
+ * @return \Temporal\Api\Workflowservice\V1\GetSystemInfoResponse\Capabilities|null
+ */
+ public function getCapabilities()
+ {
+ return $this->capabilities;
+ }
+
+ public function hasCapabilities()
+ {
+ return isset($this->capabilities);
+ }
+
+ public function clearCapabilities()
+ {
+ unset($this->capabilities);
+ }
+
+ /**
+ * All capabilities the system supports.
+ *
+ * Generated from protobuf field .temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities capabilities = 2;
+ * @param \Temporal\Api\Workflowservice\V1\GetSystemInfoResponse\Capabilities $var
+ * @return $this
+ */
+ public function setCapabilities($var)
+ {
+ GPBUtil::checkMessage($var, \Temporal\Api\Workflowservice\V1\GetSystemInfoResponse\Capabilities::class);
+ $this->capabilities = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/api/v1/Temporal/Api/Workflowservice/V1/GetSystemInfoResponse/Capabilities.php b/api/v1/Temporal/Api/Workflowservice/V1/GetSystemInfoResponse/Capabilities.php
new file mode 100644
index 000000000..672972bd4
--- /dev/null
+++ b/api/v1/Temporal/Api/Workflowservice/V1/GetSystemInfoResponse/Capabilities.php
@@ -0,0 +1,116 @@
+temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities
+ */
+class Capabilities extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * True if signal and query headers are supported.
+ *
+ * Generated from protobuf field bool signal_and_query_header = 1;
+ */
+ protected $signal_and_query_header = false;
+ /**
+ * True if internal errors are differentiated from other types of errors for purposes of
+ * retrying non-internal errors.
+ * When unset/false, clients retry all failures. When true, clients should only retry
+ * non-internal errors.
+ *
+ * Generated from protobuf field bool internal_error_differentiation = 2;
+ */
+ protected $internal_error_differentiation = false;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type bool $signal_and_query_header
+ * True if signal and query headers are supported.
+ * @type bool $internal_error_differentiation
+ * True if internal errors are differentiated from other types of errors for purposes of
+ * retrying non-internal errors.
+ * When unset/false, clients retry all failures. When true, clients should only retry
+ * non-internal errors.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Temporal\Api\Workflowservice\V1\RequestResponse::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * True if signal and query headers are supported.
+ *
+ * Generated from protobuf field bool signal_and_query_header = 1;
+ * @return bool
+ */
+ public function getSignalAndQueryHeader()
+ {
+ return $this->signal_and_query_header;
+ }
+
+ /**
+ * True if signal and query headers are supported.
+ *
+ * Generated from protobuf field bool signal_and_query_header = 1;
+ * @param bool $var
+ * @return $this
+ */
+ public function setSignalAndQueryHeader($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->signal_and_query_header = $var;
+
+ return $this;
+ }
+
+ /**
+ * True if internal errors are differentiated from other types of errors for purposes of
+ * retrying non-internal errors.
+ * When unset/false, clients retry all failures. When true, clients should only retry
+ * non-internal errors.
+ *
+ * Generated from protobuf field bool internal_error_differentiation = 2;
+ * @return bool
+ */
+ public function getInternalErrorDifferentiation()
+ {
+ return $this->internal_error_differentiation;
+ }
+
+ /**
+ * True if internal errors are differentiated from other types of errors for purposes of
+ * retrying non-internal errors.
+ * When unset/false, clients retry all failures. When true, clients should only retry
+ * non-internal errors.
+ *
+ * Generated from protobuf field bool internal_error_differentiation = 2;
+ * @param bool $var
+ * @return $this
+ */
+ public function setInternalErrorDifferentiation($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->internal_error_differentiation = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Capabilities::class, \Temporal\Api\Workflowservice\V1\GetSystemInfoResponse_Capabilities::class);
+
diff --git a/api/v1/Temporal/Api/Workflowservice/V1/GetSystemInfoResponse_Capabilities.php b/api/v1/Temporal/Api/Workflowservice/V1/GetSystemInfoResponse_Capabilities.php
new file mode 100644
index 000000000..992a8215d
--- /dev/null
+++ b/api/v1/Temporal/Api/Workflowservice/V1/GetSystemInfoResponse_Capabilities.php
@@ -0,0 +1,16 @@
+bytes next_page_token = 4;
*/
protected $next_page_token = '';
/**
+ * If set to true, the RPC call will not resolve until there is a new event which matches
+ * the `history_event_filter_type`, or a timeout is hit.
+ *
* Generated from protobuf field bool wait_new_event = 5;
*/
protected $wait_new_event = false;
/**
+ * Filter returned events such that they match the specified filter type.
* Default: HISTORY_EVENT_FILTER_TYPE_ALL_EVENT.
*
* Generated from protobuf field .temporal.api.enums.v1.HistoryEventFilterType history_event_filter_type = 6;
@@ -54,8 +61,13 @@ class GetWorkflowExecutionHistoryRequest extends \Google\Protobuf\Internal\Messa
* @type \Temporal\Api\Common\V1\WorkflowExecution $execution
* @type int $maximum_page_size
* @type string $next_page_token
+ * If a `GetWorkflowExecutionHistoryResponse` or a `PollWorkflowTaskQueueResponse` had one of
+ * these, it should be passed here to fetch the next page.
* @type bool $wait_new_event
+ * If set to true, the RPC call will not resolve until there is a new event which matches
+ * the `history_event_filter_type`, or a timeout is hit.
* @type int $history_event_filter_type
+ * Filter returned events such that they match the specified filter type.
* Default: HISTORY_EVENT_FILTER_TYPE_ALL_EVENT.
* @type bool $skip_archival
* }
@@ -89,11 +101,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution execution = 2;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getExecution()
{
- return isset($this->execution) ? $this->execution : null;
+ return $this->execution;
}
public function hasExecution()
@@ -142,6 +154,9 @@ public function setMaximumPageSize($var)
}
/**
+ * If a `GetWorkflowExecutionHistoryResponse` or a `PollWorkflowTaskQueueResponse` had one of
+ * these, it should be passed here to fetch the next page.
+ *
* Generated from protobuf field bytes next_page_token = 4;
* @return string
*/
@@ -151,6 +166,9 @@ public function getNextPageToken()
}
/**
+ * If a `GetWorkflowExecutionHistoryResponse` or a `PollWorkflowTaskQueueResponse` had one of
+ * these, it should be passed here to fetch the next page.
+ *
* Generated from protobuf field bytes next_page_token = 4;
* @param string $var
* @return $this
@@ -164,6 +182,9 @@ public function setNextPageToken($var)
}
/**
+ * If set to true, the RPC call will not resolve until there is a new event which matches
+ * the `history_event_filter_type`, or a timeout is hit.
+ *
* Generated from protobuf field bool wait_new_event = 5;
* @return bool
*/
@@ -173,6 +194,9 @@ public function getWaitNewEvent()
}
/**
+ * If set to true, the RPC call will not resolve until there is a new event which matches
+ * the `history_event_filter_type`, or a timeout is hit.
+ *
* Generated from protobuf field bool wait_new_event = 5;
* @param bool $var
* @return $this
@@ -186,6 +210,7 @@ public function setWaitNewEvent($var)
}
/**
+ * Filter returned events such that they match the specified filter type.
* Default: HISTORY_EVENT_FILTER_TYPE_ALL_EVENT.
*
* Generated from protobuf field .temporal.api.enums.v1.HistoryEventFilterType history_event_filter_type = 6;
@@ -197,6 +222,7 @@ public function getHistoryEventFilterType()
}
/**
+ * Filter returned events such that they match the specified filter type.
* Default: HISTORY_EVENT_FILTER_TYPE_ALL_EVENT.
*
* Generated from protobuf field .temporal.api.enums.v1.HistoryEventFilterType history_event_filter_type = 6;
diff --git a/api/Temporal/Api/Workflowservice/V1/GetWorkflowExecutionHistoryResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/GetWorkflowExecutionHistoryResponse.php
similarity index 75%
rename from api/Temporal/Api/Workflowservice/V1/GetWorkflowExecutionHistoryResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/GetWorkflowExecutionHistoryResponse.php
index ef3a5ea7d..c41849fba 100644
--- a/api/Temporal/Api/Workflowservice/V1/GetWorkflowExecutionHistoryResponse.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/GetWorkflowExecutionHistoryResponse.php
@@ -18,10 +18,15 @@ class GetWorkflowExecutionHistoryResponse extends \Google\Protobuf\Internal\Mess
*/
protected $history = null;
/**
+ * Raw history is an alternate representation of history that may be returned if configured on
+ * the frontend. This is not supported by all SDKs. Either this or `history` will be set.
+ *
* Generated from protobuf field repeated .temporal.api.common.v1.DataBlob raw_history = 2;
*/
private $raw_history;
/**
+ * Will be set if there are more history events than were included in this response
+ *
* Generated from protobuf field bytes next_page_token = 3;
*/
protected $next_page_token = '';
@@ -38,7 +43,10 @@ class GetWorkflowExecutionHistoryResponse extends \Google\Protobuf\Internal\Mess
*
* @type \Temporal\Api\History\V1\History $history
* @type \Temporal\Api\Common\V1\DataBlob[]|\Google\Protobuf\Internal\RepeatedField $raw_history
+ * Raw history is an alternate representation of history that may be returned if configured on
+ * the frontend. This is not supported by all SDKs. Either this or `history` will be set.
* @type string $next_page_token
+ * Will be set if there are more history events than were included in this response
* @type bool $archived
* }
*/
@@ -49,11 +57,11 @@ public function __construct($data = NULL) {
/**
* Generated from protobuf field .temporal.api.history.v1.History history = 1;
- * @return \Temporal\Api\History\V1\History
+ * @return \Temporal\Api\History\V1\History|null
*/
public function getHistory()
{
- return isset($this->history) ? $this->history : null;
+ return $this->history;
}
public function hasHistory()
@@ -80,6 +88,9 @@ public function setHistory($var)
}
/**
+ * Raw history is an alternate representation of history that may be returned if configured on
+ * the frontend. This is not supported by all SDKs. Either this or `history` will be set.
+ *
* Generated from protobuf field repeated .temporal.api.common.v1.DataBlob raw_history = 2;
* @return \Google\Protobuf\Internal\RepeatedField
*/
@@ -89,6 +100,9 @@ public function getRawHistory()
}
/**
+ * Raw history is an alternate representation of history that may be returned if configured on
+ * the frontend. This is not supported by all SDKs. Either this or `history` will be set.
+ *
* Generated from protobuf field repeated .temporal.api.common.v1.DataBlob raw_history = 2;
* @param \Temporal\Api\Common\V1\DataBlob[]|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
@@ -102,6 +116,8 @@ public function setRawHistory($var)
}
/**
+ * Will be set if there are more history events than were included in this response
+ *
* Generated from protobuf field bytes next_page_token = 3;
* @return string
*/
@@ -111,6 +127,8 @@ public function getNextPageToken()
}
/**
+ * Will be set if there are more history events than were included in this response
+ *
* Generated from protobuf field bytes next_page_token = 3;
* @param string $var
* @return $this
diff --git a/api/v1/Temporal/Api/Workflowservice/V1/GetWorkflowExecutionHistoryReverseRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/GetWorkflowExecutionHistoryReverseRequest.php
new file mode 100644
index 000000000..c1a1dd5aa
--- /dev/null
+++ b/api/v1/Temporal/Api/Workflowservice/V1/GetWorkflowExecutionHistoryReverseRequest.php
@@ -0,0 +1,149 @@
+temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest
+ */
+class GetWorkflowExecutionHistoryReverseRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Generated from protobuf field string namespace = 1;
+ */
+ protected $namespace = '';
+ /**
+ * Generated from protobuf field .temporal.api.common.v1.WorkflowExecution execution = 2;
+ */
+ protected $execution = null;
+ /**
+ * Generated from protobuf field int32 maximum_page_size = 3;
+ */
+ protected $maximum_page_size = 0;
+ /**
+ * Generated from protobuf field bytes next_page_token = 4;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $namespace
+ * @type \Temporal\Api\Common\V1\WorkflowExecution $execution
+ * @type int $maximum_page_size
+ * @type string $next_page_token
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Temporal\Api\Workflowservice\V1\RequestResponse::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Generated from protobuf field string namespace = 1;
+ * @return string
+ */
+ public function getNamespace()
+ {
+ return $this->namespace;
+ }
+
+ /**
+ * Generated from protobuf field string namespace = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setNamespace($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->namespace = $var;
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field .temporal.api.common.v1.WorkflowExecution execution = 2;
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
+ */
+ public function getExecution()
+ {
+ return $this->execution;
+ }
+
+ public function hasExecution()
+ {
+ return isset($this->execution);
+ }
+
+ public function clearExecution()
+ {
+ unset($this->execution);
+ }
+
+ /**
+ * Generated from protobuf field .temporal.api.common.v1.WorkflowExecution execution = 2;
+ * @param \Temporal\Api\Common\V1\WorkflowExecution $var
+ * @return $this
+ */
+ public function setExecution($var)
+ {
+ GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\WorkflowExecution::class);
+ $this->execution = $var;
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field int32 maximum_page_size = 3;
+ * @return int
+ */
+ public function getMaximumPageSize()
+ {
+ return $this->maximum_page_size;
+ }
+
+ /**
+ * Generated from protobuf field int32 maximum_page_size = 3;
+ * @param int $var
+ * @return $this
+ */
+ public function setMaximumPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->maximum_page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field bytes next_page_token = 4;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * Generated from protobuf field bytes next_page_token = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, False);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/api/v1/Temporal/Api/Workflowservice/V1/GetWorkflowExecutionHistoryReverseResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/GetWorkflowExecutionHistoryReverseResponse.php
new file mode 100644
index 000000000..9af4f8c89
--- /dev/null
+++ b/api/v1/Temporal/Api/Workflowservice/V1/GetWorkflowExecutionHistoryReverseResponse.php
@@ -0,0 +1,102 @@
+temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse
+ */
+class GetWorkflowExecutionHistoryReverseResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Generated from protobuf field .temporal.api.history.v1.History history = 1;
+ */
+ protected $history = null;
+ /**
+ * Will be set if there are more history events than were included in this response
+ *
+ * Generated from protobuf field bytes next_page_token = 3;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Temporal\Api\History\V1\History $history
+ * @type string $next_page_token
+ * Will be set if there are more history events than were included in this response
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Temporal\Api\Workflowservice\V1\RequestResponse::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Generated from protobuf field .temporal.api.history.v1.History history = 1;
+ * @return \Temporal\Api\History\V1\History|null
+ */
+ public function getHistory()
+ {
+ return $this->history;
+ }
+
+ public function hasHistory()
+ {
+ return isset($this->history);
+ }
+
+ public function clearHistory()
+ {
+ unset($this->history);
+ }
+
+ /**
+ * Generated from protobuf field .temporal.api.history.v1.History history = 1;
+ * @param \Temporal\Api\History\V1\History $var
+ * @return $this
+ */
+ public function setHistory($var)
+ {
+ GPBUtil::checkMessage($var, \Temporal\Api\History\V1\History::class);
+ $this->history = $var;
+
+ return $this;
+ }
+
+ /**
+ * Will be set if there are more history events than were included in this response
+ *
+ * Generated from protobuf field bytes next_page_token = 3;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * Will be set if there are more history events than were included in this response
+ *
+ * Generated from protobuf field bytes next_page_token = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, False);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/api/Temporal/Api/Workflowservice/V1/ListArchivedWorkflowExecutionsRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/ListArchivedWorkflowExecutionsRequest.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/ListArchivedWorkflowExecutionsRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/ListArchivedWorkflowExecutionsRequest.php
diff --git a/api/Temporal/Api/Workflowservice/V1/ListArchivedWorkflowExecutionsResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/ListArchivedWorkflowExecutionsResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/ListArchivedWorkflowExecutionsResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/ListArchivedWorkflowExecutionsResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/ListClosedWorkflowExecutionsRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/ListClosedWorkflowExecutionsRequest.php
similarity index 95%
rename from api/Temporal/Api/Workflowservice/V1/ListClosedWorkflowExecutionsRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/ListClosedWorkflowExecutionsRequest.php
index a643da343..ffe6aef0b 100644
--- a/api/Temporal/Api/Workflowservice/V1/ListClosedWorkflowExecutionsRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/ListClosedWorkflowExecutionsRequest.php
@@ -119,11 +119,11 @@ public function setNextPageToken($var)
/**
* Generated from protobuf field .temporal.api.filter.v1.StartTimeFilter start_time_filter = 4;
- * @return \Temporal\Api\Filter\V1\StartTimeFilter
+ * @return \Temporal\Api\Filter\V1\StartTimeFilter|null
*/
public function getStartTimeFilter()
{
- return isset($this->start_time_filter) ? $this->start_time_filter : null;
+ return $this->start_time_filter;
}
public function hasStartTimeFilter()
@@ -151,7 +151,7 @@ public function setStartTimeFilter($var)
/**
* Generated from protobuf field .temporal.api.filter.v1.WorkflowExecutionFilter execution_filter = 5;
- * @return \Temporal\Api\Filter\V1\WorkflowExecutionFilter
+ * @return \Temporal\Api\Filter\V1\WorkflowExecutionFilter|null
*/
public function getExecutionFilter()
{
@@ -178,7 +178,7 @@ public function setExecutionFilter($var)
/**
* Generated from protobuf field .temporal.api.filter.v1.WorkflowTypeFilter type_filter = 6;
- * @return \Temporal\Api\Filter\V1\WorkflowTypeFilter
+ * @return \Temporal\Api\Filter\V1\WorkflowTypeFilter|null
*/
public function getTypeFilter()
{
@@ -205,7 +205,7 @@ public function setTypeFilter($var)
/**
* Generated from protobuf field .temporal.api.filter.v1.StatusFilter status_filter = 7;
- * @return \Temporal\Api\Filter\V1\StatusFilter
+ * @return \Temporal\Api\Filter\V1\StatusFilter|null
*/
public function getStatusFilter()
{
diff --git a/api/Temporal/Api/Workflowservice/V1/ListClosedWorkflowExecutionsResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/ListClosedWorkflowExecutionsResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/ListClosedWorkflowExecutionsResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/ListClosedWorkflowExecutionsResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/ListNamespacesRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/ListNamespacesRequest.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/ListNamespacesRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/ListNamespacesRequest.php
diff --git a/api/Temporal/Api/Workflowservice/V1/ListNamespacesResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/ListNamespacesResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/ListNamespacesResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/ListNamespacesResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/ListOpenWorkflowExecutionsRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/ListOpenWorkflowExecutionsRequest.php
similarity index 95%
rename from api/Temporal/Api/Workflowservice/V1/ListOpenWorkflowExecutionsRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/ListOpenWorkflowExecutionsRequest.php
index ce6df2f8c..0984f594d 100644
--- a/api/Temporal/Api/Workflowservice/V1/ListOpenWorkflowExecutionsRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/ListOpenWorkflowExecutionsRequest.php
@@ -118,11 +118,11 @@ public function setNextPageToken($var)
/**
* Generated from protobuf field .temporal.api.filter.v1.StartTimeFilter start_time_filter = 4;
- * @return \Temporal\Api\Filter\V1\StartTimeFilter
+ * @return \Temporal\Api\Filter\V1\StartTimeFilter|null
*/
public function getStartTimeFilter()
{
- return isset($this->start_time_filter) ? $this->start_time_filter : null;
+ return $this->start_time_filter;
}
public function hasStartTimeFilter()
@@ -150,7 +150,7 @@ public function setStartTimeFilter($var)
/**
* Generated from protobuf field .temporal.api.filter.v1.WorkflowExecutionFilter execution_filter = 5;
- * @return \Temporal\Api\Filter\V1\WorkflowExecutionFilter
+ * @return \Temporal\Api\Filter\V1\WorkflowExecutionFilter|null
*/
public function getExecutionFilter()
{
@@ -177,7 +177,7 @@ public function setExecutionFilter($var)
/**
* Generated from protobuf field .temporal.api.filter.v1.WorkflowTypeFilter type_filter = 6;
- * @return \Temporal\Api\Filter\V1\WorkflowTypeFilter
+ * @return \Temporal\Api\Filter\V1\WorkflowTypeFilter|null
*/
public function getTypeFilter()
{
diff --git a/api/Temporal/Api/Workflowservice/V1/ListOpenWorkflowExecutionsResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/ListOpenWorkflowExecutionsResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/ListOpenWorkflowExecutionsResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/ListOpenWorkflowExecutionsResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/ListTaskQueuePartitionsRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/ListTaskQueuePartitionsRequest.php
similarity index 95%
rename from api/Temporal/Api/Workflowservice/V1/ListTaskQueuePartitionsRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/ListTaskQueuePartitionsRequest.php
index 10fff2bea..49f837877 100644
--- a/api/Temporal/Api/Workflowservice/V1/ListTaskQueuePartitionsRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/ListTaskQueuePartitionsRequest.php
@@ -61,11 +61,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
- * @return \Temporal\Api\Taskqueue\V1\TaskQueue
+ * @return \Temporal\Api\Taskqueue\V1\TaskQueue|null
*/
public function getTaskQueue()
{
- return isset($this->task_queue) ? $this->task_queue : null;
+ return $this->task_queue;
}
public function hasTaskQueue()
diff --git a/api/Temporal/Api/Workflowservice/V1/ListTaskQueuePartitionsResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/ListTaskQueuePartitionsResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/ListTaskQueuePartitionsResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/ListTaskQueuePartitionsResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/ListWorkflowExecutionsRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/ListWorkflowExecutionsRequest.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/ListWorkflowExecutionsRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/ListWorkflowExecutionsRequest.php
diff --git a/api/Temporal/Api/Workflowservice/V1/ListWorkflowExecutionsResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/ListWorkflowExecutionsResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/ListWorkflowExecutionsResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/ListWorkflowExecutionsResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/PollActivityTaskQueueRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/PollActivityTaskQueueRequest.php
similarity index 91%
rename from api/Temporal/Api/Workflowservice/V1/PollActivityTaskQueueRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/PollActivityTaskQueueRequest.php
index 34bbda122..dc3ade88d 100644
--- a/api/Temporal/Api/Workflowservice/V1/PollActivityTaskQueueRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/PollActivityTaskQueueRequest.php
@@ -22,6 +22,8 @@ class PollActivityTaskQueueRequest extends \Google\Protobuf\Internal\Message
*/
protected $task_queue = null;
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
*/
protected $identity = '';
@@ -39,6 +41,7 @@ class PollActivityTaskQueueRequest extends \Google\Protobuf\Internal\Message
* @type string $namespace
* @type \Temporal\Api\Taskqueue\V1\TaskQueue $task_queue
* @type string $identity
+ * The identity of the worker/client
* @type \Temporal\Api\Taskqueue\V1\TaskQueueMetadata $task_queue_metadata
* }
*/
@@ -71,11 +74,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
- * @return \Temporal\Api\Taskqueue\V1\TaskQueue
+ * @return \Temporal\Api\Taskqueue\V1\TaskQueue|null
*/
public function getTaskQueue()
{
- return isset($this->task_queue) ? $this->task_queue : null;
+ return $this->task_queue;
}
public function hasTaskQueue()
@@ -102,6 +105,8 @@ public function setTaskQueue($var)
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
* @return string
*/
@@ -111,6 +116,8 @@ public function getIdentity()
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
* @param string $var
* @return $this
@@ -125,11 +132,11 @@ public function setIdentity($var)
/**
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueueMetadata task_queue_metadata = 4;
- * @return \Temporal\Api\Taskqueue\V1\TaskQueueMetadata
+ * @return \Temporal\Api\Taskqueue\V1\TaskQueueMetadata|null
*/
public function getTaskQueueMetadata()
{
- return isset($this->task_queue_metadata) ? $this->task_queue_metadata : null;
+ return $this->task_queue_metadata;
}
public function hasTaskQueueMetadata()
diff --git a/api/Temporal/Api/Workflowservice/V1/PollActivityTaskQueueResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/PollActivityTaskQueueResponse.php
similarity index 70%
rename from api/Temporal/Api/Workflowservice/V1/PollActivityTaskQueueResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/PollActivityTaskQueueResponse.php
index 633b4ca8c..5b6933921 100644
--- a/api/Temporal/Api/Workflowservice/V1/PollActivityTaskQueueResponse.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/PollActivityTaskQueueResponse.php
@@ -14,18 +14,26 @@
class PollActivityTaskQueueResponse extends \Google\Protobuf\Internal\Message
{
/**
+ * A unique identifier for this task
+ *
* Generated from protobuf field bytes task_token = 1;
*/
protected $task_token = '';
/**
+ * The namespace the workflow which requested this activity lives in
+ *
* Generated from protobuf field string workflow_namespace = 2;
*/
protected $workflow_namespace = '';
/**
+ * Type of the requesting workflow
+ *
* Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 3;
*/
protected $workflow_type = null;
/**
+ * Execution info of the requesting workflow
+ *
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
*/
protected $workflow_execution = null;
@@ -34,38 +42,59 @@ class PollActivityTaskQueueResponse extends \Google\Protobuf\Internal\Message
*/
protected $activity_type = null;
/**
+ * The autogenerated or user specified identifier of this activity. Can be used to complete the
+ * activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage
+ * has resolved, but unique IDs for every activity invocation is a good idea.
+ *
* Generated from protobuf field string activity_id = 6;
*/
protected $activity_id = '';
/**
+ * Headers specified by the scheduling workflow. Commonly used to propagate contextual info
+ * from the workflow to its activities. For example, tracing contexts.
+ *
* Generated from protobuf field .temporal.api.common.v1.Header header = 7;
*/
protected $header = null;
/**
+ * Arguments to the activity invocation
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 8;
*/
protected $input = null;
/**
+ * Details of the last heartbeat that was recorded for this activity as of the time this task
+ * was delivered.
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads heartbeat_details = 9;
*/
protected $heartbeat_details = null;
/**
+ * When was this task first scheduled
+ *
* Generated from protobuf field .google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
*/
protected $scheduled_time = null;
/**
+ * When was this task attempt scheduled
+ *
* Generated from protobuf field .google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(.gogoproto.stdtime) = true];
*/
protected $current_attempt_scheduled_time = null;
/**
+ * When was this task started (this attempt)
+ *
* Generated from protobuf field .google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
*/
protected $started_time = null;
/**
+ * Starting at 1, the number of attempts to perform this activity
+ *
* Generated from protobuf field int32 attempt = 13;
*/
protected $attempt = 0;
/**
+ * First scheduled -> final result reported timeout
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
*
@@ -73,6 +102,7 @@ class PollActivityTaskQueueResponse extends \Google\Protobuf\Internal\Message
*/
protected $schedule_to_close_timeout = null;
/**
+ * Current attempt start -> final result reported timeout
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
*
@@ -80,14 +110,15 @@ class PollActivityTaskQueueResponse extends \Google\Protobuf\Internal\Message
*/
protected $start_to_close_timeout = null;
/**
+ * Window within which the activity must report a heartbeat, or be timed out.
+ *
* Generated from protobuf field .google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
*/
protected $heartbeat_timeout = null;
/**
- * This is an actual retry policy the service uses.
- * It can be different from the one provided (or not) during activity scheduling
- * as the service can override the provided one in case its values are not specified
- * or exceed configured system limits.
+ * This is the retry policy the service uses which may be different from the one provided
+ * (or not) during activity scheduling. The service can override the provided one if some
+ * values are not specified or exceed configured system limits.
*
* Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 17;
*/
@@ -100,30 +131,48 @@ class PollActivityTaskQueueResponse extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $task_token
+ * A unique identifier for this task
* @type string $workflow_namespace
+ * The namespace the workflow which requested this activity lives in
* @type \Temporal\Api\Common\V1\WorkflowType $workflow_type
+ * Type of the requesting workflow
* @type \Temporal\Api\Common\V1\WorkflowExecution $workflow_execution
+ * Execution info of the requesting workflow
* @type \Temporal\Api\Common\V1\ActivityType $activity_type
* @type string $activity_id
+ * The autogenerated or user specified identifier of this activity. Can be used to complete the
+ * activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage
+ * has resolved, but unique IDs for every activity invocation is a good idea.
* @type \Temporal\Api\Common\V1\Header $header
+ * Headers specified by the scheduling workflow. Commonly used to propagate contextual info
+ * from the workflow to its activities. For example, tracing contexts.
* @type \Temporal\Api\Common\V1\Payloads $input
+ * Arguments to the activity invocation
* @type \Temporal\Api\Common\V1\Payloads $heartbeat_details
+ * Details of the last heartbeat that was recorded for this activity as of the time this task
+ * was delivered.
* @type \Google\Protobuf\Timestamp $scheduled_time
+ * When was this task first scheduled
* @type \Google\Protobuf\Timestamp $current_attempt_scheduled_time
+ * When was this task attempt scheduled
* @type \Google\Protobuf\Timestamp $started_time
+ * When was this task started (this attempt)
* @type int $attempt
+ * Starting at 1, the number of attempts to perform this activity
* @type \Google\Protobuf\Duration $schedule_to_close_timeout
+ * First scheduled -> final result reported timeout
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
* @type \Google\Protobuf\Duration $start_to_close_timeout
+ * Current attempt start -> final result reported timeout
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
* @type \Google\Protobuf\Duration $heartbeat_timeout
+ * Window within which the activity must report a heartbeat, or be timed out.
* @type \Temporal\Api\Common\V1\RetryPolicy $retry_policy
- * This is an actual retry policy the service uses.
- * It can be different from the one provided (or not) during activity scheduling
- * as the service can override the provided one in case its values are not specified
- * or exceed configured system limits.
+ * This is the retry policy the service uses which may be different from the one provided
+ * (or not) during activity scheduling. The service can override the provided one if some
+ * values are not specified or exceed configured system limits.
* }
*/
public function __construct($data = NULL) {
@@ -132,6 +181,8 @@ public function __construct($data = NULL) {
}
/**
+ * A unique identifier for this task
+ *
* Generated from protobuf field bytes task_token = 1;
* @return string
*/
@@ -141,6 +192,8 @@ public function getTaskToken()
}
/**
+ * A unique identifier for this task
+ *
* Generated from protobuf field bytes task_token = 1;
* @param string $var
* @return $this
@@ -154,6 +207,8 @@ public function setTaskToken($var)
}
/**
+ * The namespace the workflow which requested this activity lives in
+ *
* Generated from protobuf field string workflow_namespace = 2;
* @return string
*/
@@ -163,6 +218,8 @@ public function getWorkflowNamespace()
}
/**
+ * The namespace the workflow which requested this activity lives in
+ *
* Generated from protobuf field string workflow_namespace = 2;
* @param string $var
* @return $this
@@ -176,12 +233,14 @@ public function setWorkflowNamespace($var)
}
/**
+ * Type of the requesting workflow
+ *
* Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 3;
- * @return \Temporal\Api\Common\V1\WorkflowType
+ * @return \Temporal\Api\Common\V1\WorkflowType|null
*/
public function getWorkflowType()
{
- return isset($this->workflow_type) ? $this->workflow_type : null;
+ return $this->workflow_type;
}
public function hasWorkflowType()
@@ -195,6 +254,8 @@ public function clearWorkflowType()
}
/**
+ * Type of the requesting workflow
+ *
* Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 3;
* @param \Temporal\Api\Common\V1\WorkflowType $var
* @return $this
@@ -208,12 +269,14 @@ public function setWorkflowType($var)
}
/**
+ * Execution info of the requesting workflow
+ *
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getWorkflowExecution()
{
- return isset($this->workflow_execution) ? $this->workflow_execution : null;
+ return $this->workflow_execution;
}
public function hasWorkflowExecution()
@@ -227,6 +290,8 @@ public function clearWorkflowExecution()
}
/**
+ * Execution info of the requesting workflow
+ *
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
* @param \Temporal\Api\Common\V1\WorkflowExecution $var
* @return $this
@@ -241,11 +306,11 @@ public function setWorkflowExecution($var)
/**
* Generated from protobuf field .temporal.api.common.v1.ActivityType activity_type = 5;
- * @return \Temporal\Api\Common\V1\ActivityType
+ * @return \Temporal\Api\Common\V1\ActivityType|null
*/
public function getActivityType()
{
- return isset($this->activity_type) ? $this->activity_type : null;
+ return $this->activity_type;
}
public function hasActivityType()
@@ -272,6 +337,10 @@ public function setActivityType($var)
}
/**
+ * The autogenerated or user specified identifier of this activity. Can be used to complete the
+ * activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage
+ * has resolved, but unique IDs for every activity invocation is a good idea.
+ *
* Generated from protobuf field string activity_id = 6;
* @return string
*/
@@ -281,6 +350,10 @@ public function getActivityId()
}
/**
+ * The autogenerated or user specified identifier of this activity. Can be used to complete the
+ * activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage
+ * has resolved, but unique IDs for every activity invocation is a good idea.
+ *
* Generated from protobuf field string activity_id = 6;
* @param string $var
* @return $this
@@ -294,12 +367,15 @@ public function setActivityId($var)
}
/**
+ * Headers specified by the scheduling workflow. Commonly used to propagate contextual info
+ * from the workflow to its activities. For example, tracing contexts.
+ *
* Generated from protobuf field .temporal.api.common.v1.Header header = 7;
- * @return \Temporal\Api\Common\V1\Header
+ * @return \Temporal\Api\Common\V1\Header|null
*/
public function getHeader()
{
- return isset($this->header) ? $this->header : null;
+ return $this->header;
}
public function hasHeader()
@@ -313,6 +389,9 @@ public function clearHeader()
}
/**
+ * Headers specified by the scheduling workflow. Commonly used to propagate contextual info
+ * from the workflow to its activities. For example, tracing contexts.
+ *
* Generated from protobuf field .temporal.api.common.v1.Header header = 7;
* @param \Temporal\Api\Common\V1\Header $var
* @return $this
@@ -326,12 +405,14 @@ public function setHeader($var)
}
/**
+ * Arguments to the activity invocation
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 8;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getInput()
{
- return isset($this->input) ? $this->input : null;
+ return $this->input;
}
public function hasInput()
@@ -345,6 +426,8 @@ public function clearInput()
}
/**
+ * Arguments to the activity invocation
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 8;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -358,12 +441,15 @@ public function setInput($var)
}
/**
+ * Details of the last heartbeat that was recorded for this activity as of the time this task
+ * was delivered.
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads heartbeat_details = 9;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getHeartbeatDetails()
{
- return isset($this->heartbeat_details) ? $this->heartbeat_details : null;
+ return $this->heartbeat_details;
}
public function hasHeartbeatDetails()
@@ -377,6 +463,9 @@ public function clearHeartbeatDetails()
}
/**
+ * Details of the last heartbeat that was recorded for this activity as of the time this task
+ * was delivered.
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads heartbeat_details = 9;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -390,12 +479,14 @@ public function setHeartbeatDetails($var)
}
/**
+ * When was this task first scheduled
+ *
* Generated from protobuf field .google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
+ * @return \Google\Protobuf\Timestamp|null
*/
public function getScheduledTime()
{
- return isset($this->scheduled_time) ? $this->scheduled_time : null;
+ return $this->scheduled_time;
}
public function hasScheduledTime()
@@ -409,6 +500,8 @@ public function clearScheduledTime()
}
/**
+ * When was this task first scheduled
+ *
* Generated from protobuf field .google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
* @param \Google\Protobuf\Timestamp $var
* @return $this
@@ -422,12 +515,14 @@ public function setScheduledTime($var)
}
/**
+ * When was this task attempt scheduled
+ *
* Generated from protobuf field .google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
+ * @return \Google\Protobuf\Timestamp|null
*/
public function getCurrentAttemptScheduledTime()
{
- return isset($this->current_attempt_scheduled_time) ? $this->current_attempt_scheduled_time : null;
+ return $this->current_attempt_scheduled_time;
}
public function hasCurrentAttemptScheduledTime()
@@ -441,6 +536,8 @@ public function clearCurrentAttemptScheduledTime()
}
/**
+ * When was this task attempt scheduled
+ *
* Generated from protobuf field .google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(.gogoproto.stdtime) = true];
* @param \Google\Protobuf\Timestamp $var
* @return $this
@@ -454,12 +551,14 @@ public function setCurrentAttemptScheduledTime($var)
}
/**
+ * When was this task started (this attempt)
+ *
* Generated from protobuf field .google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
+ * @return \Google\Protobuf\Timestamp|null
*/
public function getStartedTime()
{
- return isset($this->started_time) ? $this->started_time : null;
+ return $this->started_time;
}
public function hasStartedTime()
@@ -473,6 +572,8 @@ public function clearStartedTime()
}
/**
+ * When was this task started (this attempt)
+ *
* Generated from protobuf field .google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
* @param \Google\Protobuf\Timestamp $var
* @return $this
@@ -486,6 +587,8 @@ public function setStartedTime($var)
}
/**
+ * Starting at 1, the number of attempts to perform this activity
+ *
* Generated from protobuf field int32 attempt = 13;
* @return int
*/
@@ -495,6 +598,8 @@ public function getAttempt()
}
/**
+ * Starting at 1, the number of attempts to perform this activity
+ *
* Generated from protobuf field int32 attempt = 13;
* @param int $var
* @return $this
@@ -508,15 +613,16 @@ public function setAttempt($var)
}
/**
+ * First scheduled -> final result reported timeout
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
*
* Generated from protobuf field .google.protobuf.Duration schedule_to_close_timeout = 14 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getScheduleToCloseTimeout()
{
- return isset($this->schedule_to_close_timeout) ? $this->schedule_to_close_timeout : null;
+ return $this->schedule_to_close_timeout;
}
public function hasScheduleToCloseTimeout()
@@ -530,6 +636,7 @@ public function clearScheduleToCloseTimeout()
}
/**
+ * First scheduled -> final result reported timeout
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
*
@@ -546,15 +653,16 @@ public function setScheduleToCloseTimeout($var)
}
/**
+ * Current attempt start -> final result reported timeout
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
*
* Generated from protobuf field .google.protobuf.Duration start_to_close_timeout = 15 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getStartToCloseTimeout()
{
- return isset($this->start_to_close_timeout) ? $this->start_to_close_timeout : null;
+ return $this->start_to_close_timeout;
}
public function hasStartToCloseTimeout()
@@ -568,6 +676,7 @@ public function clearStartToCloseTimeout()
}
/**
+ * Current attempt start -> final result reported timeout
* (-- api-linter: core::0140::prepositions=disabled
* aip.dev/not-precedent: "to" is used to indicate interval. --)
*
@@ -584,12 +693,14 @@ public function setStartToCloseTimeout($var)
}
/**
+ * Window within which the activity must report a heartbeat, or be timed out.
+ *
* Generated from protobuf field .google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getHeartbeatTimeout()
{
- return isset($this->heartbeat_timeout) ? $this->heartbeat_timeout : null;
+ return $this->heartbeat_timeout;
}
public function hasHeartbeatTimeout()
@@ -603,6 +714,8 @@ public function clearHeartbeatTimeout()
}
/**
+ * Window within which the activity must report a heartbeat, or be timed out.
+ *
* Generated from protobuf field .google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
* @param \Google\Protobuf\Duration $var
* @return $this
@@ -616,17 +729,16 @@ public function setHeartbeatTimeout($var)
}
/**
- * This is an actual retry policy the service uses.
- * It can be different from the one provided (or not) during activity scheduling
- * as the service can override the provided one in case its values are not specified
- * or exceed configured system limits.
+ * This is the retry policy the service uses which may be different from the one provided
+ * (or not) during activity scheduling. The service can override the provided one if some
+ * values are not specified or exceed configured system limits.
*
* Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 17;
- * @return \Temporal\Api\Common\V1\RetryPolicy
+ * @return \Temporal\Api\Common\V1\RetryPolicy|null
*/
public function getRetryPolicy()
{
- return isset($this->retry_policy) ? $this->retry_policy : null;
+ return $this->retry_policy;
}
public function hasRetryPolicy()
@@ -640,10 +752,9 @@ public function clearRetryPolicy()
}
/**
- * This is an actual retry policy the service uses.
- * It can be different from the one provided (or not) during activity scheduling
- * as the service can override the provided one in case its values are not specified
- * or exceed configured system limits.
+ * This is the retry policy the service uses which may be different from the one provided
+ * (or not) during activity scheduling. The service can override the provided one if some
+ * values are not specified or exceed configured system limits.
*
* Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 17;
* @param \Temporal\Api\Common\V1\RetryPolicy $var
diff --git a/api/Temporal/Api/Workflowservice/V1/PollWorkflowTaskQueueRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/PollWorkflowTaskQueueRequest.php
similarity index 81%
rename from api/Temporal/Api/Workflowservice/V1/PollWorkflowTaskQueueRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/PollWorkflowTaskQueueRequest.php
index fdb0e6f1c..30089fa99 100644
--- a/api/Temporal/Api/Workflowservice/V1/PollWorkflowTaskQueueRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/PollWorkflowTaskQueueRequest.php
@@ -22,10 +22,14 @@ class PollWorkflowTaskQueueRequest extends \Google\Protobuf\Internal\Message
*/
protected $task_queue = null;
/**
+ * The identity of the worker/client who is polling this task queue
+ *
* Generated from protobuf field string identity = 3;
*/
protected $identity = '';
/**
+ * Each worker process should provide an ID unique to the specific set of code it is running
+ *
* Generated from protobuf field string binary_checksum = 4;
*/
protected $binary_checksum = '';
@@ -39,7 +43,9 @@ class PollWorkflowTaskQueueRequest extends \Google\Protobuf\Internal\Message
* @type string $namespace
* @type \Temporal\Api\Taskqueue\V1\TaskQueue $task_queue
* @type string $identity
+ * The identity of the worker/client who is polling this task queue
* @type string $binary_checksum
+ * Each worker process should provide an ID unique to the specific set of code it is running
* }
*/
public function __construct($data = NULL) {
@@ -71,11 +77,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
- * @return \Temporal\Api\Taskqueue\V1\TaskQueue
+ * @return \Temporal\Api\Taskqueue\V1\TaskQueue|null
*/
public function getTaskQueue()
{
- return isset($this->task_queue) ? $this->task_queue : null;
+ return $this->task_queue;
}
public function hasTaskQueue()
@@ -102,6 +108,8 @@ public function setTaskQueue($var)
}
/**
+ * The identity of the worker/client who is polling this task queue
+ *
* Generated from protobuf field string identity = 3;
* @return string
*/
@@ -111,6 +119,8 @@ public function getIdentity()
}
/**
+ * The identity of the worker/client who is polling this task queue
+ *
* Generated from protobuf field string identity = 3;
* @param string $var
* @return $this
@@ -124,6 +134,8 @@ public function setIdentity($var)
}
/**
+ * Each worker process should provide an ID unique to the specific set of code it is running
+ *
* Generated from protobuf field string binary_checksum = 4;
* @return string
*/
@@ -133,6 +145,8 @@ public function getBinaryChecksum()
}
/**
+ * Each worker process should provide an ID unique to the specific set of code it is running
+ *
* Generated from protobuf field string binary_checksum = 4;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/Workflowservice/V1/PollWorkflowTaskQueueResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/PollWorkflowTaskQueueResponse.php
similarity index 60%
rename from api/Temporal/Api/Workflowservice/V1/PollWorkflowTaskQueueResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/PollWorkflowTaskQueueResponse.php
index 48c1bb356..f18c68b5b 100644
--- a/api/Temporal/Api/Workflowservice/V1/PollWorkflowTaskQueueResponse.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/PollWorkflowTaskQueueResponse.php
@@ -14,6 +14,8 @@
class PollWorkflowTaskQueueResponse extends \Google\Protobuf\Internal\Message
{
/**
+ * A unique identifier for this task
+ *
* Generated from protobuf field bytes task_token = 1;
*/
protected $task_token = '';
@@ -26,46 +28,79 @@ class PollWorkflowTaskQueueResponse extends \Google\Protobuf\Internal\Message
*/
protected $workflow_type = null;
/**
+ * The last workflow task started event which was processed by some worker for this execution.
+ * Will be zero if no task has ever started.
+ *
* Generated from protobuf field int64 previous_started_event_id = 4;
*/
protected $previous_started_event_id = 0;
/**
+ * The id of the most recent workflow task started event, which will have been generated as a
+ * result of this poll request being served.
+ *
* Generated from protobuf field int64 started_event_id = 5;
*/
protected $started_event_id = 0;
/**
+ * Starting at 1, the number of attempts to complete this task by any worker.
+ *
* Generated from protobuf field int32 attempt = 6;
*/
protected $attempt = 0;
/**
+ * A hint that there are more tasks already present in this task queue. Can be used to
+ * prioritize draining a sticky queue before polling from a normal queue.
+ *
* Generated from protobuf field int64 backlog_count_hint = 7;
*/
protected $backlog_count_hint = 0;
/**
+ * The history for this workflow, which will either be complete or partial. Partial histories
+ * are sent to workers who have signaled that they are using a sticky queue when completing
+ * a workflow task.
+ *
* Generated from protobuf field .temporal.api.history.v1.History history = 8;
*/
protected $history = null;
/**
+ * Will be set if there are more history events than were included in this response. Such events
+ * should be fetched via `GetWorkflowExecutionHistory`.
+ *
* Generated from protobuf field bytes next_page_token = 9;
*/
protected $next_page_token = '';
/**
+ * Legacy queries appear in this field. The query must be responded to via
+ * `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on
+ * closed workflows) then the `history` field will be populated with the entire history. It
+ * may also be populated if this task originates on a non-sticky queue.
+ *
* Generated from protobuf field .temporal.api.query.v1.WorkflowQuery query = 10;
*/
protected $query = null;
/**
+ * The task queue this task originated from, which will always be the original non-sticky name
+ * for the queue, even if this response came from polling a sticky queue.
+ *
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue workflow_execution_task_queue = 11;
*/
protected $workflow_execution_task_queue = null;
/**
+ * When this task was scheduled by the server
+ *
* Generated from protobuf field .google.protobuf.Timestamp scheduled_time = 12 [(.gogoproto.stdtime) = true];
*/
protected $scheduled_time = null;
/**
+ * When the current workflow task started event was generated, meaning the current attempt.
+ *
* Generated from protobuf field .google.protobuf.Timestamp started_time = 13 [(.gogoproto.stdtime) = true];
*/
protected $started_time = null;
/**
+ * Queries that should be executed after applying the history in this task. Responses should be
+ * attached to `RespondWorkflowTaskCompletedRequest::query_results`
+ *
* Generated from protobuf field map queries = 14;
*/
private $queries;
@@ -77,19 +112,42 @@ class PollWorkflowTaskQueueResponse extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $task_token
+ * A unique identifier for this task
* @type \Temporal\Api\Common\V1\WorkflowExecution $workflow_execution
* @type \Temporal\Api\Common\V1\WorkflowType $workflow_type
* @type int|string $previous_started_event_id
+ * The last workflow task started event which was processed by some worker for this execution.
+ * Will be zero if no task has ever started.
* @type int|string $started_event_id
+ * The id of the most recent workflow task started event, which will have been generated as a
+ * result of this poll request being served.
* @type int $attempt
+ * Starting at 1, the number of attempts to complete this task by any worker.
* @type int|string $backlog_count_hint
+ * A hint that there are more tasks already present in this task queue. Can be used to
+ * prioritize draining a sticky queue before polling from a normal queue.
* @type \Temporal\Api\History\V1\History $history
+ * The history for this workflow, which will either be complete or partial. Partial histories
+ * are sent to workers who have signaled that they are using a sticky queue when completing
+ * a workflow task.
* @type string $next_page_token
+ * Will be set if there are more history events than were included in this response. Such events
+ * should be fetched via `GetWorkflowExecutionHistory`.
* @type \Temporal\Api\Query\V1\WorkflowQuery $query
+ * Legacy queries appear in this field. The query must be responded to via
+ * `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on
+ * closed workflows) then the `history` field will be populated with the entire history. It
+ * may also be populated if this task originates on a non-sticky queue.
* @type \Temporal\Api\Taskqueue\V1\TaskQueue $workflow_execution_task_queue
+ * The task queue this task originated from, which will always be the original non-sticky name
+ * for the queue, even if this response came from polling a sticky queue.
* @type \Google\Protobuf\Timestamp $scheduled_time
+ * When this task was scheduled by the server
* @type \Google\Protobuf\Timestamp $started_time
+ * When the current workflow task started event was generated, meaning the current attempt.
* @type array|\Google\Protobuf\Internal\MapField $queries
+ * Queries that should be executed after applying the history in this task. Responses should be
+ * attached to `RespondWorkflowTaskCompletedRequest::query_results`
* }
*/
public function __construct($data = NULL) {
@@ -98,6 +156,8 @@ public function __construct($data = NULL) {
}
/**
+ * A unique identifier for this task
+ *
* Generated from protobuf field bytes task_token = 1;
* @return string
*/
@@ -107,6 +167,8 @@ public function getTaskToken()
}
/**
+ * A unique identifier for this task
+ *
* Generated from protobuf field bytes task_token = 1;
* @param string $var
* @return $this
@@ -121,11 +183,11 @@ public function setTaskToken($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getWorkflowExecution()
{
- return isset($this->workflow_execution) ? $this->workflow_execution : null;
+ return $this->workflow_execution;
}
public function hasWorkflowExecution()
@@ -153,11 +215,11 @@ public function setWorkflowExecution($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 3;
- * @return \Temporal\Api\Common\V1\WorkflowType
+ * @return \Temporal\Api\Common\V1\WorkflowType|null
*/
public function getWorkflowType()
{
- return isset($this->workflow_type) ? $this->workflow_type : null;
+ return $this->workflow_type;
}
public function hasWorkflowType()
@@ -184,6 +246,9 @@ public function setWorkflowType($var)
}
/**
+ * The last workflow task started event which was processed by some worker for this execution.
+ * Will be zero if no task has ever started.
+ *
* Generated from protobuf field int64 previous_started_event_id = 4;
* @return int|string
*/
@@ -193,6 +258,9 @@ public function getPreviousStartedEventId()
}
/**
+ * The last workflow task started event which was processed by some worker for this execution.
+ * Will be zero if no task has ever started.
+ *
* Generated from protobuf field int64 previous_started_event_id = 4;
* @param int|string $var
* @return $this
@@ -206,6 +274,9 @@ public function setPreviousStartedEventId($var)
}
/**
+ * The id of the most recent workflow task started event, which will have been generated as a
+ * result of this poll request being served.
+ *
* Generated from protobuf field int64 started_event_id = 5;
* @return int|string
*/
@@ -215,6 +286,9 @@ public function getStartedEventId()
}
/**
+ * The id of the most recent workflow task started event, which will have been generated as a
+ * result of this poll request being served.
+ *
* Generated from protobuf field int64 started_event_id = 5;
* @param int|string $var
* @return $this
@@ -228,6 +302,8 @@ public function setStartedEventId($var)
}
/**
+ * Starting at 1, the number of attempts to complete this task by any worker.
+ *
* Generated from protobuf field int32 attempt = 6;
* @return int
*/
@@ -237,6 +313,8 @@ public function getAttempt()
}
/**
+ * Starting at 1, the number of attempts to complete this task by any worker.
+ *
* Generated from protobuf field int32 attempt = 6;
* @param int $var
* @return $this
@@ -250,6 +328,9 @@ public function setAttempt($var)
}
/**
+ * A hint that there are more tasks already present in this task queue. Can be used to
+ * prioritize draining a sticky queue before polling from a normal queue.
+ *
* Generated from protobuf field int64 backlog_count_hint = 7;
* @return int|string
*/
@@ -259,6 +340,9 @@ public function getBacklogCountHint()
}
/**
+ * A hint that there are more tasks already present in this task queue. Can be used to
+ * prioritize draining a sticky queue before polling from a normal queue.
+ *
* Generated from protobuf field int64 backlog_count_hint = 7;
* @param int|string $var
* @return $this
@@ -272,12 +356,16 @@ public function setBacklogCountHint($var)
}
/**
+ * The history for this workflow, which will either be complete or partial. Partial histories
+ * are sent to workers who have signaled that they are using a sticky queue when completing
+ * a workflow task.
+ *
* Generated from protobuf field .temporal.api.history.v1.History history = 8;
- * @return \Temporal\Api\History\V1\History
+ * @return \Temporal\Api\History\V1\History|null
*/
public function getHistory()
{
- return isset($this->history) ? $this->history : null;
+ return $this->history;
}
public function hasHistory()
@@ -291,6 +379,10 @@ public function clearHistory()
}
/**
+ * The history for this workflow, which will either be complete or partial. Partial histories
+ * are sent to workers who have signaled that they are using a sticky queue when completing
+ * a workflow task.
+ *
* Generated from protobuf field .temporal.api.history.v1.History history = 8;
* @param \Temporal\Api\History\V1\History $var
* @return $this
@@ -304,6 +396,9 @@ public function setHistory($var)
}
/**
+ * Will be set if there are more history events than were included in this response. Such events
+ * should be fetched via `GetWorkflowExecutionHistory`.
+ *
* Generated from protobuf field bytes next_page_token = 9;
* @return string
*/
@@ -313,6 +408,9 @@ public function getNextPageToken()
}
/**
+ * Will be set if there are more history events than were included in this response. Such events
+ * should be fetched via `GetWorkflowExecutionHistory`.
+ *
* Generated from protobuf field bytes next_page_token = 9;
* @param string $var
* @return $this
@@ -326,12 +424,17 @@ public function setNextPageToken($var)
}
/**
+ * Legacy queries appear in this field. The query must be responded to via
+ * `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on
+ * closed workflows) then the `history` field will be populated with the entire history. It
+ * may also be populated if this task originates on a non-sticky queue.
+ *
* Generated from protobuf field .temporal.api.query.v1.WorkflowQuery query = 10;
- * @return \Temporal\Api\Query\V1\WorkflowQuery
+ * @return \Temporal\Api\Query\V1\WorkflowQuery|null
*/
public function getQuery()
{
- return isset($this->query) ? $this->query : null;
+ return $this->query;
}
public function hasQuery()
@@ -345,6 +448,11 @@ public function clearQuery()
}
/**
+ * Legacy queries appear in this field. The query must be responded to via
+ * `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on
+ * closed workflows) then the `history` field will be populated with the entire history. It
+ * may also be populated if this task originates on a non-sticky queue.
+ *
* Generated from protobuf field .temporal.api.query.v1.WorkflowQuery query = 10;
* @param \Temporal\Api\Query\V1\WorkflowQuery $var
* @return $this
@@ -358,12 +466,15 @@ public function setQuery($var)
}
/**
+ * The task queue this task originated from, which will always be the original non-sticky name
+ * for the queue, even if this response came from polling a sticky queue.
+ *
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue workflow_execution_task_queue = 11;
- * @return \Temporal\Api\Taskqueue\V1\TaskQueue
+ * @return \Temporal\Api\Taskqueue\V1\TaskQueue|null
*/
public function getWorkflowExecutionTaskQueue()
{
- return isset($this->workflow_execution_task_queue) ? $this->workflow_execution_task_queue : null;
+ return $this->workflow_execution_task_queue;
}
public function hasWorkflowExecutionTaskQueue()
@@ -377,6 +488,9 @@ public function clearWorkflowExecutionTaskQueue()
}
/**
+ * The task queue this task originated from, which will always be the original non-sticky name
+ * for the queue, even if this response came from polling a sticky queue.
+ *
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue workflow_execution_task_queue = 11;
* @param \Temporal\Api\Taskqueue\V1\TaskQueue $var
* @return $this
@@ -390,12 +504,14 @@ public function setWorkflowExecutionTaskQueue($var)
}
/**
+ * When this task was scheduled by the server
+ *
* Generated from protobuf field .google.protobuf.Timestamp scheduled_time = 12 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
+ * @return \Google\Protobuf\Timestamp|null
*/
public function getScheduledTime()
{
- return isset($this->scheduled_time) ? $this->scheduled_time : null;
+ return $this->scheduled_time;
}
public function hasScheduledTime()
@@ -409,6 +525,8 @@ public function clearScheduledTime()
}
/**
+ * When this task was scheduled by the server
+ *
* Generated from protobuf field .google.protobuf.Timestamp scheduled_time = 12 [(.gogoproto.stdtime) = true];
* @param \Google\Protobuf\Timestamp $var
* @return $this
@@ -422,12 +540,14 @@ public function setScheduledTime($var)
}
/**
+ * When the current workflow task started event was generated, meaning the current attempt.
+ *
* Generated from protobuf field .google.protobuf.Timestamp started_time = 13 [(.gogoproto.stdtime) = true];
- * @return \Google\Protobuf\Timestamp
+ * @return \Google\Protobuf\Timestamp|null
*/
public function getStartedTime()
{
- return isset($this->started_time) ? $this->started_time : null;
+ return $this->started_time;
}
public function hasStartedTime()
@@ -441,6 +561,8 @@ public function clearStartedTime()
}
/**
+ * When the current workflow task started event was generated, meaning the current attempt.
+ *
* Generated from protobuf field .google.protobuf.Timestamp started_time = 13 [(.gogoproto.stdtime) = true];
* @param \Google\Protobuf\Timestamp $var
* @return $this
@@ -454,6 +576,9 @@ public function setStartedTime($var)
}
/**
+ * Queries that should be executed after applying the history in this task. Responses should be
+ * attached to `RespondWorkflowTaskCompletedRequest::query_results`
+ *
* Generated from protobuf field map queries = 14;
* @return \Google\Protobuf\Internal\MapField
*/
@@ -463,6 +588,9 @@ public function getQueries()
}
/**
+ * Queries that should be executed after applying the history in this task. Responses should be
+ * attached to `RespondWorkflowTaskCompletedRequest::query_results`
+ *
* Generated from protobuf field map queries = 14;
* @param array|\Google\Protobuf\Internal\MapField $var
* @return $this
diff --git a/api/Temporal/Api/Workflowservice/V1/QueryWorkflowRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/QueryWorkflowRequest.php
similarity index 95%
rename from api/Temporal/Api/Workflowservice/V1/QueryWorkflowRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/QueryWorkflowRequest.php
index b52c53ee9..063e9039d 100644
--- a/api/Temporal/Api/Workflowservice/V1/QueryWorkflowRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/QueryWorkflowRequest.php
@@ -76,11 +76,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution execution = 2;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getExecution()
{
- return isset($this->execution) ? $this->execution : null;
+ return $this->execution;
}
public function hasExecution()
@@ -108,11 +108,11 @@ public function setExecution($var)
/**
* Generated from protobuf field .temporal.api.query.v1.WorkflowQuery query = 3;
- * @return \Temporal\Api\Query\V1\WorkflowQuery
+ * @return \Temporal\Api\Query\V1\WorkflowQuery|null
*/
public function getQuery()
{
- return isset($this->query) ? $this->query : null;
+ return $this->query;
}
public function hasQuery()
diff --git a/api/Temporal/Api/Workflowservice/V1/QueryWorkflowResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/QueryWorkflowResponse.php
similarity index 91%
rename from api/Temporal/Api/Workflowservice/V1/QueryWorkflowResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/QueryWorkflowResponse.php
index 8f6be5fd7..518f5ef14 100644
--- a/api/Temporal/Api/Workflowservice/V1/QueryWorkflowResponse.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/QueryWorkflowResponse.php
@@ -39,11 +39,11 @@ public function __construct($data = NULL) {
/**
* Generated from protobuf field .temporal.api.common.v1.Payloads query_result = 1;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getQueryResult()
{
- return isset($this->query_result) ? $this->query_result : null;
+ return $this->query_result;
}
public function hasQueryResult()
@@ -71,11 +71,11 @@ public function setQueryResult($var)
/**
* Generated from protobuf field .temporal.api.query.v1.QueryRejected query_rejected = 2;
- * @return \Temporal\Api\Query\V1\QueryRejected
+ * @return \Temporal\Api\Query\V1\QueryRejected|null
*/
public function getQueryRejected()
{
- return isset($this->query_rejected) ? $this->query_rejected : null;
+ return $this->query_rejected;
}
public function hasQueryRejected()
diff --git a/api/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatByIdRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatByIdRequest.php
similarity index 74%
rename from api/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatByIdRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatByIdRequest.php
index a21a39fd1..7c9d2fabb 100644
--- a/api/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatByIdRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatByIdRequest.php
@@ -14,26 +14,38 @@
class RecordActivityTaskHeartbeatByIdRequest extends \Google\Protobuf\Internal\Message
{
/**
+ * Namespace of the workflow which scheduled this activity
+ *
* Generated from protobuf field string namespace = 1;
*/
protected $namespace = '';
/**
+ * Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string workflow_id = 2;
*/
protected $workflow_id = '';
/**
+ * Run Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string run_id = 3;
*/
protected $run_id = '';
/**
+ * Id of the activity we're heartbeating
+ *
* Generated from protobuf field string activity_id = 4;
*/
protected $activity_id = '';
/**
+ * Arbitrary data, of which the most recent call is kept, to store for this activity
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 5;
*/
protected $details = null;
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 6;
*/
protected $identity = '';
@@ -45,11 +57,17 @@ class RecordActivityTaskHeartbeatByIdRequest extends \Google\Protobuf\Internal\M
* Optional. Data for populating the Message object.
*
* @type string $namespace
+ * Namespace of the workflow which scheduled this activity
* @type string $workflow_id
+ * Id of the workflow which scheduled this activity
* @type string $run_id
+ * Run Id of the workflow which scheduled this activity
* @type string $activity_id
+ * Id of the activity we're heartbeating
* @type \Temporal\Api\Common\V1\Payloads $details
+ * Arbitrary data, of which the most recent call is kept, to store for this activity
* @type string $identity
+ * The identity of the worker/client
* }
*/
public function __construct($data = NULL) {
@@ -58,6 +76,8 @@ public function __construct($data = NULL) {
}
/**
+ * Namespace of the workflow which scheduled this activity
+ *
* Generated from protobuf field string namespace = 1;
* @return string
*/
@@ -67,6 +87,8 @@ public function getNamespace()
}
/**
+ * Namespace of the workflow which scheduled this activity
+ *
* Generated from protobuf field string namespace = 1;
* @param string $var
* @return $this
@@ -80,6 +102,8 @@ public function setNamespace($var)
}
/**
+ * Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string workflow_id = 2;
* @return string
*/
@@ -89,6 +113,8 @@ public function getWorkflowId()
}
/**
+ * Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string workflow_id = 2;
* @param string $var
* @return $this
@@ -102,6 +128,8 @@ public function setWorkflowId($var)
}
/**
+ * Run Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string run_id = 3;
* @return string
*/
@@ -111,6 +139,8 @@ public function getRunId()
}
/**
+ * Run Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string run_id = 3;
* @param string $var
* @return $this
@@ -124,6 +154,8 @@ public function setRunId($var)
}
/**
+ * Id of the activity we're heartbeating
+ *
* Generated from protobuf field string activity_id = 4;
* @return string
*/
@@ -133,6 +165,8 @@ public function getActivityId()
}
/**
+ * Id of the activity we're heartbeating
+ *
* Generated from protobuf field string activity_id = 4;
* @param string $var
* @return $this
@@ -146,12 +180,14 @@ public function setActivityId($var)
}
/**
+ * Arbitrary data, of which the most recent call is kept, to store for this activity
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 5;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getDetails()
{
- return isset($this->details) ? $this->details : null;
+ return $this->details;
}
public function hasDetails()
@@ -165,6 +201,8 @@ public function clearDetails()
}
/**
+ * Arbitrary data, of which the most recent call is kept, to store for this activity
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 5;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -178,6 +216,8 @@ public function setDetails($var)
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 6;
* @return string
*/
@@ -187,6 +227,8 @@ public function getIdentity()
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 6;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatByIdResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatByIdResponse.php
similarity index 68%
rename from api/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatByIdResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatByIdResponse.php
index c79795658..2a77c9eee 100644
--- a/api/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatByIdResponse.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatByIdResponse.php
@@ -14,6 +14,9 @@
class RecordActivityTaskHeartbeatByIdResponse extends \Google\Protobuf\Internal\Message
{
/**
+ * Will be set to true if the activity has been asked to cancel itself. The SDK should then
+ * notify the activity of cancellation if it is still running.
+ *
* Generated from protobuf field bool cancel_requested = 1;
*/
protected $cancel_requested = false;
@@ -25,6 +28,8 @@ class RecordActivityTaskHeartbeatByIdResponse extends \Google\Protobuf\Internal\
* Optional. Data for populating the Message object.
*
* @type bool $cancel_requested
+ * Will be set to true if the activity has been asked to cancel itself. The SDK should then
+ * notify the activity of cancellation if it is still running.
* }
*/
public function __construct($data = NULL) {
@@ -33,6 +38,9 @@ public function __construct($data = NULL) {
}
/**
+ * Will be set to true if the activity has been asked to cancel itself. The SDK should then
+ * notify the activity of cancellation if it is still running.
+ *
* Generated from protobuf field bool cancel_requested = 1;
* @return bool
*/
@@ -42,6 +50,9 @@ public function getCancelRequested()
}
/**
+ * Will be set to true if the activity has been asked to cancel itself. The SDK should then
+ * notify the activity of cancellation if it is still running.
+ *
* Generated from protobuf field bool cancel_requested = 1;
* @param bool $var
* @return $this
diff --git a/api/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatRequest.php
similarity index 78%
rename from api/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatRequest.php
index 9b3ecc4fc..5f02fee7d 100644
--- a/api/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatRequest.php
@@ -14,14 +14,20 @@
class RecordActivityTaskHeartbeatRequest extends \Google\Protobuf\Internal\Message
{
/**
+ * The task token as received in `PollActivityTaskQueueResponse`
+ *
* Generated from protobuf field bytes task_token = 1;
*/
protected $task_token = '';
/**
+ * Arbitrary data, of which the most recent call is kept, to store for this activity
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 2;
*/
protected $details = null;
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
*/
protected $identity = '';
@@ -37,8 +43,11 @@ class RecordActivityTaskHeartbeatRequest extends \Google\Protobuf\Internal\Messa
* Optional. Data for populating the Message object.
*
* @type string $task_token
+ * The task token as received in `PollActivityTaskQueueResponse`
* @type \Temporal\Api\Common\V1\Payloads $details
+ * Arbitrary data, of which the most recent call is kept, to store for this activity
* @type string $identity
+ * The identity of the worker/client
* @type string $namespace
* }
*/
@@ -48,6 +57,8 @@ public function __construct($data = NULL) {
}
/**
+ * The task token as received in `PollActivityTaskQueueResponse`
+ *
* Generated from protobuf field bytes task_token = 1;
* @return string
*/
@@ -57,6 +68,8 @@ public function getTaskToken()
}
/**
+ * The task token as received in `PollActivityTaskQueueResponse`
+ *
* Generated from protobuf field bytes task_token = 1;
* @param string $var
* @return $this
@@ -70,12 +83,14 @@ public function setTaskToken($var)
}
/**
+ * Arbitrary data, of which the most recent call is kept, to store for this activity
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 2;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getDetails()
{
- return isset($this->details) ? $this->details : null;
+ return $this->details;
}
public function hasDetails()
@@ -89,6 +104,8 @@ public function clearDetails()
}
/**
+ * Arbitrary data, of which the most recent call is kept, to store for this activity
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 2;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -102,6 +119,8 @@ public function setDetails($var)
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
* @return string
*/
@@ -111,6 +130,8 @@ public function getIdentity()
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatResponse.php
similarity index 68%
rename from api/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatResponse.php
index 47ec1401e..01c6a8a6c 100644
--- a/api/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatResponse.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/RecordActivityTaskHeartbeatResponse.php
@@ -14,6 +14,9 @@
class RecordActivityTaskHeartbeatResponse extends \Google\Protobuf\Internal\Message
{
/**
+ * Will be set to true if the activity has been asked to cancel itself. The SDK should then
+ * notify the activity of cancellation if it is still running.
+ *
* Generated from protobuf field bool cancel_requested = 1;
*/
protected $cancel_requested = false;
@@ -25,6 +28,8 @@ class RecordActivityTaskHeartbeatResponse extends \Google\Protobuf\Internal\Mess
* Optional. Data for populating the Message object.
*
* @type bool $cancel_requested
+ * Will be set to true if the activity has been asked to cancel itself. The SDK should then
+ * notify the activity of cancellation if it is still running.
* }
*/
public function __construct($data = NULL) {
@@ -33,6 +38,9 @@ public function __construct($data = NULL) {
}
/**
+ * Will be set to true if the activity has been asked to cancel itself. The SDK should then
+ * notify the activity of cancellation if it is still running.
+ *
* Generated from protobuf field bool cancel_requested = 1;
* @return bool
*/
@@ -42,6 +50,9 @@ public function getCancelRequested()
}
/**
+ * Will be set to true if the activity has been asked to cancel itself. The SDK should then
+ * notify the activity of cancellation if it is still running.
+ *
* Generated from protobuf field bool cancel_requested = 1;
* @param bool $var
* @return $this
diff --git a/api/Temporal/Api/Workflowservice/V1/RegisterNamespaceRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/RegisterNamespaceRequest.php
similarity index 98%
rename from api/Temporal/Api/Workflowservice/V1/RegisterNamespaceRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RegisterNamespaceRequest.php
index eb4390f4d..57d13a2f4 100644
--- a/api/Temporal/Api/Workflowservice/V1/RegisterNamespaceRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/RegisterNamespaceRequest.php
@@ -169,11 +169,11 @@ public function setOwnerEmail($var)
/**
* Generated from protobuf field .google.protobuf.Duration workflow_execution_retention_period = 4 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getWorkflowExecutionRetentionPeriod()
{
- return isset($this->workflow_execution_retention_period) ? $this->workflow_execution_retention_period : null;
+ return $this->workflow_execution_retention_period;
}
public function hasWorkflowExecutionRetentionPeriod()
diff --git a/api/Temporal/Api/Workflowservice/V1/RegisterNamespaceResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/RegisterNamespaceResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/RegisterNamespaceResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RegisterNamespaceResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/RequestCancelWorkflowExecutionRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/RequestCancelWorkflowExecutionRequest.php
similarity index 76%
rename from api/Temporal/Api/Workflowservice/V1/RequestCancelWorkflowExecutionRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RequestCancelWorkflowExecutionRequest.php
index 4f17da148..306741472 100644
--- a/api/Temporal/Api/Workflowservice/V1/RequestCancelWorkflowExecutionRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/RequestCancelWorkflowExecutionRequest.php
@@ -22,14 +22,22 @@ class RequestCancelWorkflowExecutionRequest extends \Google\Protobuf\Internal\Me
*/
protected $workflow_execution = null;
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
*/
protected $identity = '';
/**
+ * Used to de-dupe cancellation requests
+ *
* Generated from protobuf field string request_id = 4;
*/
protected $request_id = '';
/**
+ * If set, this call will error if the most recent (if no run id is set on
+ * `workflow_execution`), or specified (if it is) workflow execution is not part of the same
+ * execution chain as this id.
+ *
* Generated from protobuf field string first_execution_run_id = 5;
*/
protected $first_execution_run_id = '';
@@ -43,8 +51,13 @@ class RequestCancelWorkflowExecutionRequest extends \Google\Protobuf\Internal\Me
* @type string $namespace
* @type \Temporal\Api\Common\V1\WorkflowExecution $workflow_execution
* @type string $identity
+ * The identity of the worker/client
* @type string $request_id
+ * Used to de-dupe cancellation requests
* @type string $first_execution_run_id
+ * If set, this call will error if the most recent (if no run id is set on
+ * `workflow_execution`), or specified (if it is) workflow execution is not part of the same
+ * execution chain as this id.
* }
*/
public function __construct($data = NULL) {
@@ -76,11 +89,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getWorkflowExecution()
{
- return isset($this->workflow_execution) ? $this->workflow_execution : null;
+ return $this->workflow_execution;
}
public function hasWorkflowExecution()
@@ -107,6 +120,8 @@ public function setWorkflowExecution($var)
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
* @return string
*/
@@ -116,6 +131,8 @@ public function getIdentity()
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
* @param string $var
* @return $this
@@ -129,6 +146,8 @@ public function setIdentity($var)
}
/**
+ * Used to de-dupe cancellation requests
+ *
* Generated from protobuf field string request_id = 4;
* @return string
*/
@@ -138,6 +157,8 @@ public function getRequestId()
}
/**
+ * Used to de-dupe cancellation requests
+ *
* Generated from protobuf field string request_id = 4;
* @param string $var
* @return $this
@@ -151,6 +172,10 @@ public function setRequestId($var)
}
/**
+ * If set, this call will error if the most recent (if no run id is set on
+ * `workflow_execution`), or specified (if it is) workflow execution is not part of the same
+ * execution chain as this id.
+ *
* Generated from protobuf field string first_execution_run_id = 5;
* @return string
*/
@@ -160,6 +185,10 @@ public function getFirstExecutionRunId()
}
/**
+ * If set, this call will error if the most recent (if no run id is set on
+ * `workflow_execution`), or specified (if it is) workflow execution is not part of the same
+ * execution chain as this id.
+ *
* Generated from protobuf field string first_execution_run_id = 5;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/Workflowservice/V1/RequestCancelWorkflowExecutionResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/RequestCancelWorkflowExecutionResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/RequestCancelWorkflowExecutionResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RequestCancelWorkflowExecutionResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/ResetStickyTaskQueueRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/ResetStickyTaskQueueRequest.php
similarity index 95%
rename from api/Temporal/Api/Workflowservice/V1/ResetStickyTaskQueueRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/ResetStickyTaskQueueRequest.php
index 0be27d5cf..eaacb4886 100644
--- a/api/Temporal/Api/Workflowservice/V1/ResetStickyTaskQueueRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/ResetStickyTaskQueueRequest.php
@@ -61,11 +61,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution execution = 2;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getExecution()
{
- return isset($this->execution) ? $this->execution : null;
+ return $this->execution;
}
public function hasExecution()
diff --git a/api/Temporal/Api/Workflowservice/V1/ResetStickyTaskQueueResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/ResetStickyTaskQueueResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/ResetStickyTaskQueueResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/ResetStickyTaskQueueResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/ResetWorkflowExecutionRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/ResetWorkflowExecutionRequest.php
similarity index 69%
rename from api/Temporal/Api/Workflowservice/V1/ResetWorkflowExecutionRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/ResetWorkflowExecutionRequest.php
index 73022653d..4e7d86ff8 100644
--- a/api/Temporal/Api/Workflowservice/V1/ResetWorkflowExecutionRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/ResetWorkflowExecutionRequest.php
@@ -26,13 +26,24 @@ class ResetWorkflowExecutionRequest extends \Google\Protobuf\Internal\Message
*/
protected $reason = '';
/**
+ * The id of a `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or
+ * `WORKFLOW_TASK_STARTED` event to reset to.
+ *
* Generated from protobuf field int64 workflow_task_finish_event_id = 4;
*/
protected $workflow_task_finish_event_id = 0;
/**
+ * Used to de-dupe reset requests
+ *
* Generated from protobuf field string request_id = 5;
*/
protected $request_id = '';
+ /**
+ * Should be removed. Appears unused.
+ *
+ * Generated from protobuf field .temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 6;
+ */
+ protected $reset_reapply_type = 0;
/**
* Constructor.
@@ -44,7 +55,12 @@ class ResetWorkflowExecutionRequest extends \Google\Protobuf\Internal\Message
* @type \Temporal\Api\Common\V1\WorkflowExecution $workflow_execution
* @type string $reason
* @type int|string $workflow_task_finish_event_id
+ * The id of a `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or
+ * `WORKFLOW_TASK_STARTED` event to reset to.
* @type string $request_id
+ * Used to de-dupe reset requests
+ * @type int $reset_reapply_type
+ * Should be removed. Appears unused.
* }
*/
public function __construct($data = NULL) {
@@ -76,11 +92,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getWorkflowExecution()
{
- return isset($this->workflow_execution) ? $this->workflow_execution : null;
+ return $this->workflow_execution;
}
public function hasWorkflowExecution()
@@ -129,6 +145,9 @@ public function setReason($var)
}
/**
+ * The id of a `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or
+ * `WORKFLOW_TASK_STARTED` event to reset to.
+ *
* Generated from protobuf field int64 workflow_task_finish_event_id = 4;
* @return int|string
*/
@@ -138,6 +157,9 @@ public function getWorkflowTaskFinishEventId()
}
/**
+ * The id of a `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or
+ * `WORKFLOW_TASK_STARTED` event to reset to.
+ *
* Generated from protobuf field int64 workflow_task_finish_event_id = 4;
* @param int|string $var
* @return $this
@@ -151,6 +173,8 @@ public function setWorkflowTaskFinishEventId($var)
}
/**
+ * Used to de-dupe reset requests
+ *
* Generated from protobuf field string request_id = 5;
* @return string
*/
@@ -160,6 +184,8 @@ public function getRequestId()
}
/**
+ * Used to de-dupe reset requests
+ *
* Generated from protobuf field string request_id = 5;
* @param string $var
* @return $this
@@ -172,5 +198,31 @@ public function setRequestId($var)
return $this;
}
+ /**
+ * Should be removed. Appears unused.
+ *
+ * Generated from protobuf field .temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 6;
+ * @return int
+ */
+ public function getResetReapplyType()
+ {
+ return $this->reset_reapply_type;
+ }
+
+ /**
+ * Should be removed. Appears unused.
+ *
+ * Generated from protobuf field .temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 6;
+ * @param int $var
+ * @return $this
+ */
+ public function setResetReapplyType($var)
+ {
+ GPBUtil::checkEnum($var, \Temporal\Api\Enums\V1\ResetReapplyType::class);
+ $this->reset_reapply_type = $var;
+
+ return $this;
+ }
+
}
diff --git a/api/Temporal/Api/Workflowservice/V1/ResetWorkflowExecutionResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/ResetWorkflowExecutionResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/ResetWorkflowExecutionResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/ResetWorkflowExecutionResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledByIdRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledByIdRequest.php
similarity index 74%
rename from api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledByIdRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledByIdRequest.php
index 58911013a..3979d8b18 100644
--- a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledByIdRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledByIdRequest.php
@@ -14,26 +14,38 @@
class RespondActivityTaskCanceledByIdRequest extends \Google\Protobuf\Internal\Message
{
/**
+ * Namespace of the workflow which scheduled this activity
+ *
* Generated from protobuf field string namespace = 1;
*/
protected $namespace = '';
/**
+ * Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string workflow_id = 2;
*/
protected $workflow_id = '';
/**
+ * Run Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string run_id = 3;
*/
protected $run_id = '';
/**
+ * Id of the activity to confirm is cancelled
+ *
* Generated from protobuf field string activity_id = 4;
*/
protected $activity_id = '';
/**
+ * Serialized additional information to attach to the cancellation
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 5;
*/
protected $details = null;
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 6;
*/
protected $identity = '';
@@ -45,11 +57,17 @@ class RespondActivityTaskCanceledByIdRequest extends \Google\Protobuf\Internal\M
* Optional. Data for populating the Message object.
*
* @type string $namespace
+ * Namespace of the workflow which scheduled this activity
* @type string $workflow_id
+ * Id of the workflow which scheduled this activity
* @type string $run_id
+ * Run Id of the workflow which scheduled this activity
* @type string $activity_id
+ * Id of the activity to confirm is cancelled
* @type \Temporal\Api\Common\V1\Payloads $details
+ * Serialized additional information to attach to the cancellation
* @type string $identity
+ * The identity of the worker/client
* }
*/
public function __construct($data = NULL) {
@@ -58,6 +76,8 @@ public function __construct($data = NULL) {
}
/**
+ * Namespace of the workflow which scheduled this activity
+ *
* Generated from protobuf field string namespace = 1;
* @return string
*/
@@ -67,6 +87,8 @@ public function getNamespace()
}
/**
+ * Namespace of the workflow which scheduled this activity
+ *
* Generated from protobuf field string namespace = 1;
* @param string $var
* @return $this
@@ -80,6 +102,8 @@ public function setNamespace($var)
}
/**
+ * Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string workflow_id = 2;
* @return string
*/
@@ -89,6 +113,8 @@ public function getWorkflowId()
}
/**
+ * Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string workflow_id = 2;
* @param string $var
* @return $this
@@ -102,6 +128,8 @@ public function setWorkflowId($var)
}
/**
+ * Run Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string run_id = 3;
* @return string
*/
@@ -111,6 +139,8 @@ public function getRunId()
}
/**
+ * Run Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string run_id = 3;
* @param string $var
* @return $this
@@ -124,6 +154,8 @@ public function setRunId($var)
}
/**
+ * Id of the activity to confirm is cancelled
+ *
* Generated from protobuf field string activity_id = 4;
* @return string
*/
@@ -133,6 +165,8 @@ public function getActivityId()
}
/**
+ * Id of the activity to confirm is cancelled
+ *
* Generated from protobuf field string activity_id = 4;
* @param string $var
* @return $this
@@ -146,12 +180,14 @@ public function setActivityId($var)
}
/**
+ * Serialized additional information to attach to the cancellation
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 5;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getDetails()
{
- return isset($this->details) ? $this->details : null;
+ return $this->details;
}
public function hasDetails()
@@ -165,6 +201,8 @@ public function clearDetails()
}
/**
+ * Serialized additional information to attach to the cancellation
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 5;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -178,6 +216,8 @@ public function setDetails($var)
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 6;
* @return string
*/
@@ -187,6 +227,8 @@ public function getIdentity()
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 6;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledByIdResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledByIdResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledByIdResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledByIdResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledRequest.php
similarity index 80%
rename from api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledRequest.php
index 557815be4..7f1b5ab55 100644
--- a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledRequest.php
@@ -14,14 +14,20 @@
class RespondActivityTaskCanceledRequest extends \Google\Protobuf\Internal\Message
{
/**
+ * The task token as received in `PollActivityTaskQueueResponse`
+ *
* Generated from protobuf field bytes task_token = 1;
*/
protected $task_token = '';
/**
+ * Serialized additional information to attach to the cancellation
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 2;
*/
protected $details = null;
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
*/
protected $identity = '';
@@ -37,8 +43,11 @@ class RespondActivityTaskCanceledRequest extends \Google\Protobuf\Internal\Messa
* Optional. Data for populating the Message object.
*
* @type string $task_token
+ * The task token as received in `PollActivityTaskQueueResponse`
* @type \Temporal\Api\Common\V1\Payloads $details
+ * Serialized additional information to attach to the cancellation
* @type string $identity
+ * The identity of the worker/client
* @type string $namespace
* }
*/
@@ -48,6 +57,8 @@ public function __construct($data = NULL) {
}
/**
+ * The task token as received in `PollActivityTaskQueueResponse`
+ *
* Generated from protobuf field bytes task_token = 1;
* @return string
*/
@@ -57,6 +68,8 @@ public function getTaskToken()
}
/**
+ * The task token as received in `PollActivityTaskQueueResponse`
+ *
* Generated from protobuf field bytes task_token = 1;
* @param string $var
* @return $this
@@ -70,12 +83,14 @@ public function setTaskToken($var)
}
/**
+ * Serialized additional information to attach to the cancellation
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 2;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getDetails()
{
- return isset($this->details) ? $this->details : null;
+ return $this->details;
}
public function hasDetails()
@@ -89,6 +104,8 @@ public function clearDetails()
}
/**
+ * Serialized additional information to attach to the cancellation
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 2;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -102,6 +119,8 @@ public function setDetails($var)
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
* @return string
*/
@@ -111,6 +130,8 @@ public function getIdentity()
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCanceledResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedByIdRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedByIdRequest.php
similarity index 76%
rename from api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedByIdRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedByIdRequest.php
index da7afc2c7..28d653b1c 100644
--- a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedByIdRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedByIdRequest.php
@@ -14,26 +14,38 @@
class RespondActivityTaskCompletedByIdRequest extends \Google\Protobuf\Internal\Message
{
/**
+ * Namespace of the workflow which scheduled this activity
+ *
* Generated from protobuf field string namespace = 1;
*/
protected $namespace = '';
/**
+ * Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string workflow_id = 2;
*/
protected $workflow_id = '';
/**
+ * Run Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string run_id = 3;
*/
protected $run_id = '';
/**
+ * Id of the activity to complete
+ *
* Generated from protobuf field string activity_id = 4;
*/
protected $activity_id = '';
/**
+ * The serialized result of activity execution
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads result = 5;
*/
protected $result = null;
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 6;
*/
protected $identity = '';
@@ -45,11 +57,17 @@ class RespondActivityTaskCompletedByIdRequest extends \Google\Protobuf\Internal\
* Optional. Data for populating the Message object.
*
* @type string $namespace
+ * Namespace of the workflow which scheduled this activity
* @type string $workflow_id
+ * Id of the workflow which scheduled this activity
* @type string $run_id
+ * Run Id of the workflow which scheduled this activity
* @type string $activity_id
+ * Id of the activity to complete
* @type \Temporal\Api\Common\V1\Payloads $result
+ * The serialized result of activity execution
* @type string $identity
+ * The identity of the worker/client
* }
*/
public function __construct($data = NULL) {
@@ -58,6 +76,8 @@ public function __construct($data = NULL) {
}
/**
+ * Namespace of the workflow which scheduled this activity
+ *
* Generated from protobuf field string namespace = 1;
* @return string
*/
@@ -67,6 +87,8 @@ public function getNamespace()
}
/**
+ * Namespace of the workflow which scheduled this activity
+ *
* Generated from protobuf field string namespace = 1;
* @param string $var
* @return $this
@@ -80,6 +102,8 @@ public function setNamespace($var)
}
/**
+ * Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string workflow_id = 2;
* @return string
*/
@@ -89,6 +113,8 @@ public function getWorkflowId()
}
/**
+ * Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string workflow_id = 2;
* @param string $var
* @return $this
@@ -102,6 +128,8 @@ public function setWorkflowId($var)
}
/**
+ * Run Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string run_id = 3;
* @return string
*/
@@ -111,6 +139,8 @@ public function getRunId()
}
/**
+ * Run Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string run_id = 3;
* @param string $var
* @return $this
@@ -124,6 +154,8 @@ public function setRunId($var)
}
/**
+ * Id of the activity to complete
+ *
* Generated from protobuf field string activity_id = 4;
* @return string
*/
@@ -133,6 +165,8 @@ public function getActivityId()
}
/**
+ * Id of the activity to complete
+ *
* Generated from protobuf field string activity_id = 4;
* @param string $var
* @return $this
@@ -146,12 +180,14 @@ public function setActivityId($var)
}
/**
+ * The serialized result of activity execution
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads result = 5;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getResult()
{
- return isset($this->result) ? $this->result : null;
+ return $this->result;
}
public function hasResult()
@@ -165,6 +201,8 @@ public function clearResult()
}
/**
+ * The serialized result of activity execution
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads result = 5;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -178,6 +216,8 @@ public function setResult($var)
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 6;
* @return string
*/
@@ -187,6 +227,8 @@ public function getIdentity()
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 6;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedByIdResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedByIdResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedByIdResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedByIdResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedRequest.php
similarity index 80%
rename from api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedRequest.php
index 78b53856b..87a9ffd1e 100644
--- a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedRequest.php
@@ -14,14 +14,20 @@
class RespondActivityTaskCompletedRequest extends \Google\Protobuf\Internal\Message
{
/**
+ * The task token as received in `PollActivityTaskQueueResponse`
+ *
* Generated from protobuf field bytes task_token = 1;
*/
protected $task_token = '';
/**
+ * The result of successfully executing the activity
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads result = 2;
*/
protected $result = null;
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
*/
protected $identity = '';
@@ -37,8 +43,11 @@ class RespondActivityTaskCompletedRequest extends \Google\Protobuf\Internal\Mess
* Optional. Data for populating the Message object.
*
* @type string $task_token
+ * The task token as received in `PollActivityTaskQueueResponse`
* @type \Temporal\Api\Common\V1\Payloads $result
+ * The result of successfully executing the activity
* @type string $identity
+ * The identity of the worker/client
* @type string $namespace
* }
*/
@@ -48,6 +57,8 @@ public function __construct($data = NULL) {
}
/**
+ * The task token as received in `PollActivityTaskQueueResponse`
+ *
* Generated from protobuf field bytes task_token = 1;
* @return string
*/
@@ -57,6 +68,8 @@ public function getTaskToken()
}
/**
+ * The task token as received in `PollActivityTaskQueueResponse`
+ *
* Generated from protobuf field bytes task_token = 1;
* @param string $var
* @return $this
@@ -70,12 +83,14 @@ public function setTaskToken($var)
}
/**
+ * The result of successfully executing the activity
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads result = 2;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getResult()
{
- return isset($this->result) ? $this->result : null;
+ return $this->result;
}
public function hasResult()
@@ -89,6 +104,8 @@ public function clearResult()
}
/**
+ * The result of successfully executing the activity
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads result = 2;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -102,6 +119,8 @@ public function setResult($var)
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
* @return string
*/
@@ -111,6 +130,8 @@ public function getIdentity()
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskCompletedResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedByIdRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedByIdRequest.php
similarity index 62%
rename from api/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedByIdRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedByIdRequest.php
index 10d1e86a0..6640605c4 100644
--- a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedByIdRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedByIdRequest.php
@@ -14,29 +14,47 @@
class RespondActivityTaskFailedByIdRequest extends \Google\Protobuf\Internal\Message
{
/**
+ * Namespace of the workflow which scheduled this activity
+ *
* Generated from protobuf field string namespace = 1;
*/
protected $namespace = '';
/**
+ * Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string workflow_id = 2;
*/
protected $workflow_id = '';
/**
+ * Run Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string run_id = 3;
*/
protected $run_id = '';
/**
+ * Id of the activity to fail
+ *
* Generated from protobuf field string activity_id = 4;
*/
protected $activity_id = '';
/**
+ * Detailed failure information
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 5;
*/
protected $failure = null;
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 6;
*/
protected $identity = '';
+ /**
+ * Additional details to be stored as last activity heartbeat
+ *
+ * Generated from protobuf field .temporal.api.common.v1.Payloads last_heartbeat_details = 7;
+ */
+ protected $last_heartbeat_details = null;
/**
* Constructor.
@@ -45,11 +63,19 @@ class RespondActivityTaskFailedByIdRequest extends \Google\Protobuf\Internal\Mes
* Optional. Data for populating the Message object.
*
* @type string $namespace
+ * Namespace of the workflow which scheduled this activity
* @type string $workflow_id
+ * Id of the workflow which scheduled this activity
* @type string $run_id
+ * Run Id of the workflow which scheduled this activity
* @type string $activity_id
+ * Id of the activity to fail
* @type \Temporal\Api\Failure\V1\Failure $failure
+ * Detailed failure information
* @type string $identity
+ * The identity of the worker/client
+ * @type \Temporal\Api\Common\V1\Payloads $last_heartbeat_details
+ * Additional details to be stored as last activity heartbeat
* }
*/
public function __construct($data = NULL) {
@@ -58,6 +84,8 @@ public function __construct($data = NULL) {
}
/**
+ * Namespace of the workflow which scheduled this activity
+ *
* Generated from protobuf field string namespace = 1;
* @return string
*/
@@ -67,6 +95,8 @@ public function getNamespace()
}
/**
+ * Namespace of the workflow which scheduled this activity
+ *
* Generated from protobuf field string namespace = 1;
* @param string $var
* @return $this
@@ -80,6 +110,8 @@ public function setNamespace($var)
}
/**
+ * Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string workflow_id = 2;
* @return string
*/
@@ -89,6 +121,8 @@ public function getWorkflowId()
}
/**
+ * Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string workflow_id = 2;
* @param string $var
* @return $this
@@ -102,6 +136,8 @@ public function setWorkflowId($var)
}
/**
+ * Run Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string run_id = 3;
* @return string
*/
@@ -111,6 +147,8 @@ public function getRunId()
}
/**
+ * Run Id of the workflow which scheduled this activity
+ *
* Generated from protobuf field string run_id = 3;
* @param string $var
* @return $this
@@ -124,6 +162,8 @@ public function setRunId($var)
}
/**
+ * Id of the activity to fail
+ *
* Generated from protobuf field string activity_id = 4;
* @return string
*/
@@ -133,6 +173,8 @@ public function getActivityId()
}
/**
+ * Id of the activity to fail
+ *
* Generated from protobuf field string activity_id = 4;
* @param string $var
* @return $this
@@ -146,12 +188,14 @@ public function setActivityId($var)
}
/**
+ * Detailed failure information
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 5;
- * @return \Temporal\Api\Failure\V1\Failure
+ * @return \Temporal\Api\Failure\V1\Failure|null
*/
public function getFailure()
{
- return isset($this->failure) ? $this->failure : null;
+ return $this->failure;
}
public function hasFailure()
@@ -165,6 +209,8 @@ public function clearFailure()
}
/**
+ * Detailed failure information
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 5;
* @param \Temporal\Api\Failure\V1\Failure $var
* @return $this
@@ -178,6 +224,8 @@ public function setFailure($var)
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 6;
* @return string
*/
@@ -187,6 +235,8 @@ public function getIdentity()
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 6;
* @param string $var
* @return $this
@@ -199,5 +249,41 @@ public function setIdentity($var)
return $this;
}
+ /**
+ * Additional details to be stored as last activity heartbeat
+ *
+ * Generated from protobuf field .temporal.api.common.v1.Payloads last_heartbeat_details = 7;
+ * @return \Temporal\Api\Common\V1\Payloads|null
+ */
+ public function getLastHeartbeatDetails()
+ {
+ return $this->last_heartbeat_details;
+ }
+
+ public function hasLastHeartbeatDetails()
+ {
+ return isset($this->last_heartbeat_details);
+ }
+
+ public function clearLastHeartbeatDetails()
+ {
+ unset($this->last_heartbeat_details);
+ }
+
+ /**
+ * Additional details to be stored as last activity heartbeat
+ *
+ * Generated from protobuf field .temporal.api.common.v1.Payloads last_heartbeat_details = 7;
+ * @param \Temporal\Api\Common\V1\Payloads $var
+ * @return $this
+ */
+ public function setLastHeartbeatDetails($var)
+ {
+ GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Payloads::class);
+ $this->last_heartbeat_details = $var;
+
+ return $this;
+ }
+
}
diff --git a/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedByIdResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedByIdResponse.php
new file mode 100644
index 000000000..e7438d1c9
--- /dev/null
+++ b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedByIdResponse.php
@@ -0,0 +1,69 @@
+temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse
+ */
+class RespondActivityTaskFailedByIdResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Server validation failures could include
+ * last_heartbeat_details payload is too large, request failure is too large
+ *
+ * Generated from protobuf field repeated .temporal.api.failure.v1.Failure failures = 1;
+ */
+ private $failures;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Temporal\Api\Failure\V1\Failure[]|\Google\Protobuf\Internal\RepeatedField $failures
+ * Server validation failures could include
+ * last_heartbeat_details payload is too large, request failure is too large
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Temporal\Api\Workflowservice\V1\RequestResponse::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Server validation failures could include
+ * last_heartbeat_details payload is too large, request failure is too large
+ *
+ * Generated from protobuf field repeated .temporal.api.failure.v1.Failure failures = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getFailures()
+ {
+ return $this->failures;
+ }
+
+ /**
+ * Server validation failures could include
+ * last_heartbeat_details payload is too large, request failure is too large
+ *
+ * Generated from protobuf field repeated .temporal.api.failure.v1.Failure failures = 1;
+ * @param \Temporal\Api\Failure\V1\Failure[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setFailures($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Temporal\Api\Failure\V1\Failure::class);
+ $this->failures = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedRequest.php
similarity index 61%
rename from api/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedRequest.php
index f2783c501..e5329a503 100644
--- a/api/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedRequest.php
@@ -14,14 +14,20 @@
class RespondActivityTaskFailedRequest extends \Google\Protobuf\Internal\Message
{
/**
+ * The task token as received in `PollActivityTaskQueueResponse`
+ *
* Generated from protobuf field bytes task_token = 1;
*/
protected $task_token = '';
/**
+ * Detailed failure information
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 2;
*/
protected $failure = null;
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
*/
protected $identity = '';
@@ -29,6 +35,12 @@ class RespondActivityTaskFailedRequest extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string namespace = 4;
*/
protected $namespace = '';
+ /**
+ * Additional details to be stored as last activity heartbeat
+ *
+ * Generated from protobuf field .temporal.api.common.v1.Payloads last_heartbeat_details = 5;
+ */
+ protected $last_heartbeat_details = null;
/**
* Constructor.
@@ -37,9 +49,14 @@ class RespondActivityTaskFailedRequest extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $task_token
+ * The task token as received in `PollActivityTaskQueueResponse`
* @type \Temporal\Api\Failure\V1\Failure $failure
+ * Detailed failure information
* @type string $identity
+ * The identity of the worker/client
* @type string $namespace
+ * @type \Temporal\Api\Common\V1\Payloads $last_heartbeat_details
+ * Additional details to be stored as last activity heartbeat
* }
*/
public function __construct($data = NULL) {
@@ -48,6 +65,8 @@ public function __construct($data = NULL) {
}
/**
+ * The task token as received in `PollActivityTaskQueueResponse`
+ *
* Generated from protobuf field bytes task_token = 1;
* @return string
*/
@@ -57,6 +76,8 @@ public function getTaskToken()
}
/**
+ * The task token as received in `PollActivityTaskQueueResponse`
+ *
* Generated from protobuf field bytes task_token = 1;
* @param string $var
* @return $this
@@ -70,12 +91,14 @@ public function setTaskToken($var)
}
/**
+ * Detailed failure information
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 2;
- * @return \Temporal\Api\Failure\V1\Failure
+ * @return \Temporal\Api\Failure\V1\Failure|null
*/
public function getFailure()
{
- return isset($this->failure) ? $this->failure : null;
+ return $this->failure;
}
public function hasFailure()
@@ -89,6 +112,8 @@ public function clearFailure()
}
/**
+ * Detailed failure information
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 2;
* @param \Temporal\Api\Failure\V1\Failure $var
* @return $this
@@ -102,6 +127,8 @@ public function setFailure($var)
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
* @return string
*/
@@ -111,6 +138,8 @@ public function getIdentity()
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
* @param string $var
* @return $this
@@ -145,5 +174,41 @@ public function setNamespace($var)
return $this;
}
+ /**
+ * Additional details to be stored as last activity heartbeat
+ *
+ * Generated from protobuf field .temporal.api.common.v1.Payloads last_heartbeat_details = 5;
+ * @return \Temporal\Api\Common\V1\Payloads|null
+ */
+ public function getLastHeartbeatDetails()
+ {
+ return $this->last_heartbeat_details;
+ }
+
+ public function hasLastHeartbeatDetails()
+ {
+ return isset($this->last_heartbeat_details);
+ }
+
+ public function clearLastHeartbeatDetails()
+ {
+ unset($this->last_heartbeat_details);
+ }
+
+ /**
+ * Additional details to be stored as last activity heartbeat
+ *
+ * Generated from protobuf field .temporal.api.common.v1.Payloads last_heartbeat_details = 5;
+ * @param \Temporal\Api\Common\V1\Payloads $var
+ * @return $this
+ */
+ public function setLastHeartbeatDetails($var)
+ {
+ GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Payloads::class);
+ $this->last_heartbeat_details = $var;
+
+ return $this;
+ }
+
}
diff --git a/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedResponse.php
new file mode 100644
index 000000000..11a806606
--- /dev/null
+++ b/api/v1/Temporal/Api/Workflowservice/V1/RespondActivityTaskFailedResponse.php
@@ -0,0 +1,69 @@
+temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse
+ */
+class RespondActivityTaskFailedResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Server validation failures could include
+ * last_heartbeat_details payload is too large, request failure is too large
+ *
+ * Generated from protobuf field repeated .temporal.api.failure.v1.Failure failures = 1;
+ */
+ private $failures;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Temporal\Api\Failure\V1\Failure[]|\Google\Protobuf\Internal\RepeatedField $failures
+ * Server validation failures could include
+ * last_heartbeat_details payload is too large, request failure is too large
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Temporal\Api\Workflowservice\V1\RequestResponse::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Server validation failures could include
+ * last_heartbeat_details payload is too large, request failure is too large
+ *
+ * Generated from protobuf field repeated .temporal.api.failure.v1.Failure failures = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getFailures()
+ {
+ return $this->failures;
+ }
+
+ /**
+ * Server validation failures could include
+ * last_heartbeat_details payload is too large, request failure is too large
+ *
+ * Generated from protobuf field repeated .temporal.api.failure.v1.Failure failures = 1;
+ * @param \Temporal\Api\Failure\V1\Failure[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setFailures($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Temporal\Api\Failure\V1\Failure::class);
+ $this->failures = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/api/Temporal/Api/Workflowservice/V1/RespondQueryTaskCompletedRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/RespondQueryTaskCompletedRequest.php
similarity index 96%
rename from api/Temporal/Api/Workflowservice/V1/RespondQueryTaskCompletedRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RespondQueryTaskCompletedRequest.php
index cacb3c66e..7bc586b5b 100644
--- a/api/Temporal/Api/Workflowservice/V1/RespondQueryTaskCompletedRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/RespondQueryTaskCompletedRequest.php
@@ -9,8 +9,6 @@
use Google\Protobuf\Internal\GPBUtil;
/**
- * TODO: deprecated APIs
- *
* Generated from protobuf message temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest
*/
class RespondQueryTaskCompletedRequest extends \Google\Protobuf\Internal\Message
@@ -100,11 +98,11 @@ public function setCompletedType($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Payloads query_result = 3;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getQueryResult()
{
- return isset($this->query_result) ? $this->query_result : null;
+ return $this->query_result;
}
public function hasQueryResult()
diff --git a/api/Temporal/Api/Workflowservice/V1/RespondQueryTaskCompletedResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/RespondQueryTaskCompletedResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/RespondQueryTaskCompletedResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RespondQueryTaskCompletedResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskCompletedRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskCompletedRequest.php
similarity index 65%
rename from api/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskCompletedRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskCompletedRequest.php
index 2e3c1e2b3..a99866cc9 100644
--- a/api/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskCompletedRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskCompletedRequest.php
@@ -14,34 +14,55 @@
class RespondWorkflowTaskCompletedRequest extends \Google\Protobuf\Internal\Message
{
/**
+ * The task token as received in `PollWorkflowTaskQueueResponse`
+ *
* Generated from protobuf field bytes task_token = 1;
*/
protected $task_token = '';
/**
+ * A list of commands generated when driving the workflow code in response to the new task
+ *
* Generated from protobuf field repeated .temporal.api.command.v1.Command commands = 2;
*/
private $commands;
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
*/
protected $identity = '';
/**
+ * May be set by workers to indicate that the worker desires future tasks to be provided with
+ * incremental history on a sticky queue.
+ *
* Generated from protobuf field .temporal.api.taskqueue.v1.StickyExecutionAttributes sticky_attributes = 4;
*/
protected $sticky_attributes = null;
/**
+ * If set, the worker wishes to immediately receive the next workflow task as a response to
+ * this completion. This can save on polling round-trips.
+ *
* Generated from protobuf field bool return_new_workflow_task = 5;
*/
protected $return_new_workflow_task = false;
/**
+ * Can be used to *force* creation of a new workflow task, even if no commands have resolved or
+ * one would not otherwise have been generated. This is used when the worker knows it is doing
+ * something useful, but cannot complete it within the workflow task timeout. Local activities
+ * which run for longer than the task timeout being the prime example.
+ *
* Generated from protobuf field bool force_create_new_workflow_task = 6;
*/
protected $force_create_new_workflow_task = false;
/**
+ * Worker process' unique binary id
+ *
* Generated from protobuf field string binary_checksum = 7;
*/
protected $binary_checksum = '';
/**
+ * Responses to the `queries` field in the task being responded to
+ *
* Generated from protobuf field map query_results = 8;
*/
private $query_results;
@@ -57,13 +78,26 @@ class RespondWorkflowTaskCompletedRequest extends \Google\Protobuf\Internal\Mess
* Optional. Data for populating the Message object.
*
* @type string $task_token
+ * The task token as received in `PollWorkflowTaskQueueResponse`
* @type \Temporal\Api\Command\V1\Command[]|\Google\Protobuf\Internal\RepeatedField $commands
+ * A list of commands generated when driving the workflow code in response to the new task
* @type string $identity
+ * The identity of the worker/client
* @type \Temporal\Api\Taskqueue\V1\StickyExecutionAttributes $sticky_attributes
+ * May be set by workers to indicate that the worker desires future tasks to be provided with
+ * incremental history on a sticky queue.
* @type bool $return_new_workflow_task
+ * If set, the worker wishes to immediately receive the next workflow task as a response to
+ * this completion. This can save on polling round-trips.
* @type bool $force_create_new_workflow_task
+ * Can be used to *force* creation of a new workflow task, even if no commands have resolved or
+ * one would not otherwise have been generated. This is used when the worker knows it is doing
+ * something useful, but cannot complete it within the workflow task timeout. Local activities
+ * which run for longer than the task timeout being the prime example.
* @type string $binary_checksum
+ * Worker process' unique binary id
* @type array|\Google\Protobuf\Internal\MapField $query_results
+ * Responses to the `queries` field in the task being responded to
* @type string $namespace
* }
*/
@@ -73,6 +107,8 @@ public function __construct($data = NULL) {
}
/**
+ * The task token as received in `PollWorkflowTaskQueueResponse`
+ *
* Generated from protobuf field bytes task_token = 1;
* @return string
*/
@@ -82,6 +118,8 @@ public function getTaskToken()
}
/**
+ * The task token as received in `PollWorkflowTaskQueueResponse`
+ *
* Generated from protobuf field bytes task_token = 1;
* @param string $var
* @return $this
@@ -95,6 +133,8 @@ public function setTaskToken($var)
}
/**
+ * A list of commands generated when driving the workflow code in response to the new task
+ *
* Generated from protobuf field repeated .temporal.api.command.v1.Command commands = 2;
* @return \Google\Protobuf\Internal\RepeatedField
*/
@@ -104,6 +144,8 @@ public function getCommands()
}
/**
+ * A list of commands generated when driving the workflow code in response to the new task
+ *
* Generated from protobuf field repeated .temporal.api.command.v1.Command commands = 2;
* @param \Temporal\Api\Command\V1\Command[]|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
@@ -117,6 +159,8 @@ public function setCommands($var)
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
* @return string
*/
@@ -126,6 +170,8 @@ public function getIdentity()
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 3;
* @param string $var
* @return $this
@@ -139,12 +185,15 @@ public function setIdentity($var)
}
/**
+ * May be set by workers to indicate that the worker desires future tasks to be provided with
+ * incremental history on a sticky queue.
+ *
* Generated from protobuf field .temporal.api.taskqueue.v1.StickyExecutionAttributes sticky_attributes = 4;
- * @return \Temporal\Api\Taskqueue\V1\StickyExecutionAttributes
+ * @return \Temporal\Api\Taskqueue\V1\StickyExecutionAttributes|null
*/
public function getStickyAttributes()
{
- return isset($this->sticky_attributes) ? $this->sticky_attributes : null;
+ return $this->sticky_attributes;
}
public function hasStickyAttributes()
@@ -158,6 +207,9 @@ public function clearStickyAttributes()
}
/**
+ * May be set by workers to indicate that the worker desires future tasks to be provided with
+ * incremental history on a sticky queue.
+ *
* Generated from protobuf field .temporal.api.taskqueue.v1.StickyExecutionAttributes sticky_attributes = 4;
* @param \Temporal\Api\Taskqueue\V1\StickyExecutionAttributes $var
* @return $this
@@ -171,6 +223,9 @@ public function setStickyAttributes($var)
}
/**
+ * If set, the worker wishes to immediately receive the next workflow task as a response to
+ * this completion. This can save on polling round-trips.
+ *
* Generated from protobuf field bool return_new_workflow_task = 5;
* @return bool
*/
@@ -180,6 +235,9 @@ public function getReturnNewWorkflowTask()
}
/**
+ * If set, the worker wishes to immediately receive the next workflow task as a response to
+ * this completion. This can save on polling round-trips.
+ *
* Generated from protobuf field bool return_new_workflow_task = 5;
* @param bool $var
* @return $this
@@ -193,6 +251,11 @@ public function setReturnNewWorkflowTask($var)
}
/**
+ * Can be used to *force* creation of a new workflow task, even if no commands have resolved or
+ * one would not otherwise have been generated. This is used when the worker knows it is doing
+ * something useful, but cannot complete it within the workflow task timeout. Local activities
+ * which run for longer than the task timeout being the prime example.
+ *
* Generated from protobuf field bool force_create_new_workflow_task = 6;
* @return bool
*/
@@ -202,6 +265,11 @@ public function getForceCreateNewWorkflowTask()
}
/**
+ * Can be used to *force* creation of a new workflow task, even if no commands have resolved or
+ * one would not otherwise have been generated. This is used when the worker knows it is doing
+ * something useful, but cannot complete it within the workflow task timeout. Local activities
+ * which run for longer than the task timeout being the prime example.
+ *
* Generated from protobuf field bool force_create_new_workflow_task = 6;
* @param bool $var
* @return $this
@@ -215,6 +283,8 @@ public function setForceCreateNewWorkflowTask($var)
}
/**
+ * Worker process' unique binary id
+ *
* Generated from protobuf field string binary_checksum = 7;
* @return string
*/
@@ -224,6 +294,8 @@ public function getBinaryChecksum()
}
/**
+ * Worker process' unique binary id
+ *
* Generated from protobuf field string binary_checksum = 7;
* @param string $var
* @return $this
@@ -237,6 +309,8 @@ public function setBinaryChecksum($var)
}
/**
+ * Responses to the `queries` field in the task being responded to
+ *
* Generated from protobuf field map query_results = 8;
* @return \Google\Protobuf\Internal\MapField
*/
@@ -246,6 +320,8 @@ public function getQueryResults()
}
/**
+ * Responses to the `queries` field in the task being responded to
+ *
* Generated from protobuf field map query_results = 8;
* @param array|\Google\Protobuf\Internal\MapField $var
* @return $this
diff --git a/api/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskCompletedResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskCompletedResponse.php
similarity index 83%
rename from api/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskCompletedResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskCompletedResponse.php
index aee335ccf..d15eac085 100644
--- a/api/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskCompletedResponse.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskCompletedResponse.php
@@ -14,6 +14,8 @@
class RespondWorkflowTaskCompletedResponse extends \Google\Protobuf\Internal\Message
{
/**
+ * See `RespondWorkflowTaskCompletedResponse::return_new_workflow_task`
+ *
* Generated from protobuf field .temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse workflow_task = 1;
*/
protected $workflow_task = null;
@@ -25,6 +27,7 @@ class RespondWorkflowTaskCompletedResponse extends \Google\Protobuf\Internal\Mes
* Optional. Data for populating the Message object.
*
* @type \Temporal\Api\Workflowservice\V1\PollWorkflowTaskQueueResponse $workflow_task
+ * See `RespondWorkflowTaskCompletedResponse::return_new_workflow_task`
* }
*/
public function __construct($data = NULL) {
@@ -33,12 +36,14 @@ public function __construct($data = NULL) {
}
/**
+ * See `RespondWorkflowTaskCompletedResponse::return_new_workflow_task`
+ *
* Generated from protobuf field .temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse workflow_task = 1;
- * @return \Temporal\Api\Workflowservice\V1\PollWorkflowTaskQueueResponse
+ * @return \Temporal\Api\Workflowservice\V1\PollWorkflowTaskQueueResponse|null
*/
public function getWorkflowTask()
{
- return isset($this->workflow_task) ? $this->workflow_task : null;
+ return $this->workflow_task;
}
public function hasWorkflowTask()
@@ -52,6 +57,8 @@ public function clearWorkflowTask()
}
/**
+ * See `RespondWorkflowTaskCompletedResponse::return_new_workflow_task`
+ *
* Generated from protobuf field .temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse workflow_task = 1;
* @param \Temporal\Api\Workflowservice\V1\PollWorkflowTaskQueueResponse $var
* @return $this
diff --git a/api/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskFailedRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskFailedRequest.php
similarity index 76%
rename from api/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskFailedRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskFailedRequest.php
index e7724d03b..4a41d09e1 100644
--- a/api/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskFailedRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskFailedRequest.php
@@ -14,22 +14,33 @@
class RespondWorkflowTaskFailedRequest extends \Google\Protobuf\Internal\Message
{
/**
+ * The task token as received in `PollWorkflowTaskQueueResponse`
+ *
* Generated from protobuf field bytes task_token = 1;
*/
protected $task_token = '';
/**
+ * Why did the task fail? It's important to note that many of the variants in this enum cannot
+ * apply to worker responses. See the type's doc for more.
+ *
* Generated from protobuf field .temporal.api.enums.v1.WorkflowTaskFailedCause cause = 2;
*/
protected $cause = 0;
/**
+ * Failure details
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 3;
*/
protected $failure = null;
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 4;
*/
protected $identity = '';
/**
+ * Worker process' unique binary id
+ *
* Generated from protobuf field string binary_checksum = 5;
*/
protected $binary_checksum = '';
@@ -45,10 +56,16 @@ class RespondWorkflowTaskFailedRequest extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $task_token
+ * The task token as received in `PollWorkflowTaskQueueResponse`
* @type int $cause
+ * Why did the task fail? It's important to note that many of the variants in this enum cannot
+ * apply to worker responses. See the type's doc for more.
* @type \Temporal\Api\Failure\V1\Failure $failure
+ * Failure details
* @type string $identity
+ * The identity of the worker/client
* @type string $binary_checksum
+ * Worker process' unique binary id
* @type string $namespace
* }
*/
@@ -58,6 +75,8 @@ public function __construct($data = NULL) {
}
/**
+ * The task token as received in `PollWorkflowTaskQueueResponse`
+ *
* Generated from protobuf field bytes task_token = 1;
* @return string
*/
@@ -67,6 +86,8 @@ public function getTaskToken()
}
/**
+ * The task token as received in `PollWorkflowTaskQueueResponse`
+ *
* Generated from protobuf field bytes task_token = 1;
* @param string $var
* @return $this
@@ -80,6 +101,9 @@ public function setTaskToken($var)
}
/**
+ * Why did the task fail? It's important to note that many of the variants in this enum cannot
+ * apply to worker responses. See the type's doc for more.
+ *
* Generated from protobuf field .temporal.api.enums.v1.WorkflowTaskFailedCause cause = 2;
* @return int
*/
@@ -89,6 +113,9 @@ public function getCause()
}
/**
+ * Why did the task fail? It's important to note that many of the variants in this enum cannot
+ * apply to worker responses. See the type's doc for more.
+ *
* Generated from protobuf field .temporal.api.enums.v1.WorkflowTaskFailedCause cause = 2;
* @param int $var
* @return $this
@@ -102,12 +129,14 @@ public function setCause($var)
}
/**
+ * Failure details
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 3;
- * @return \Temporal\Api\Failure\V1\Failure
+ * @return \Temporal\Api\Failure\V1\Failure|null
*/
public function getFailure()
{
- return isset($this->failure) ? $this->failure : null;
+ return $this->failure;
}
public function hasFailure()
@@ -121,6 +150,8 @@ public function clearFailure()
}
/**
+ * Failure details
+ *
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 3;
* @param \Temporal\Api\Failure\V1\Failure $var
* @return $this
@@ -134,6 +165,8 @@ public function setFailure($var)
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 4;
* @return string
*/
@@ -143,6 +176,8 @@ public function getIdentity()
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 4;
* @param string $var
* @return $this
@@ -156,6 +191,8 @@ public function setIdentity($var)
}
/**
+ * Worker process' unique binary id
+ *
* Generated from protobuf field string binary_checksum = 5;
* @return string
*/
@@ -165,6 +202,8 @@ public function getBinaryChecksum()
}
/**
+ * Worker process' unique binary id
+ *
* Generated from protobuf field string binary_checksum = 5;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskFailedResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskFailedResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskFailedResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/RespondWorkflowTaskFailedResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/ScanWorkflowExecutionsRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/ScanWorkflowExecutionsRequest.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/ScanWorkflowExecutionsRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/ScanWorkflowExecutionsRequest.php
diff --git a/api/Temporal/Api/Workflowservice/V1/ScanWorkflowExecutionsResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/ScanWorkflowExecutionsResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/ScanWorkflowExecutionsResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/ScanWorkflowExecutionsResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/SignalWithStartWorkflowExecutionRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/SignalWithStartWorkflowExecutionRequest.php
similarity index 83%
rename from api/Temporal/Api/Workflowservice/V1/SignalWithStartWorkflowExecutionRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/SignalWithStartWorkflowExecutionRequest.php
index 837ab5686..63bd15774 100644
--- a/api/Temporal/Api/Workflowservice/V1/SignalWithStartWorkflowExecutionRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/SignalWithStartWorkflowExecutionRequest.php
@@ -26,10 +26,14 @@ class SignalWithStartWorkflowExecutionRequest extends \Google\Protobuf\Internal\
*/
protected $workflow_type = null;
/**
+ * The task queue to start this workflow on, if it will be started
+ *
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
*/
protected $task_queue = null;
/**
+ * Serialized arguments to the workflow. These are passed as arguments to the workflow function.
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 5;
*/
protected $input = null;
@@ -52,10 +56,14 @@ class SignalWithStartWorkflowExecutionRequest extends \Google\Protobuf\Internal\
*/
protected $workflow_task_timeout = null;
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 9;
*/
protected $identity = '';
/**
+ * Used to de-dupe signal w/ start requests
+ *
* Generated from protobuf field string request_id = 10;
*/
protected $request_id = '';
@@ -64,24 +72,32 @@ class SignalWithStartWorkflowExecutionRequest extends \Google\Protobuf\Internal\
*/
protected $workflow_id_reuse_policy = 0;
/**
+ * The workflow author-defined name of the signal to send to the workflow
+ *
* Generated from protobuf field string signal_name = 12;
*/
protected $signal_name = '';
/**
+ * Serialized value(s) to provide with the signal
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads signal_input = 13;
*/
protected $signal_input = null;
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 14;
*/
protected $control = '';
/**
- * Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
+ * Retry policy for the workflow Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
*
* Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 15;
*/
protected $retry_policy = null;
/**
+ * See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
+ *
* Generated from protobuf field string cron_schedule = 16;
*/
protected $cron_schedule = '';
@@ -108,7 +124,9 @@ class SignalWithStartWorkflowExecutionRequest extends \Google\Protobuf\Internal\
* @type string $workflow_id
* @type \Temporal\Api\Common\V1\WorkflowType $workflow_type
* @type \Temporal\Api\Taskqueue\V1\TaskQueue $task_queue
+ * The task queue to start this workflow on, if it will be started
* @type \Temporal\Api\Common\V1\Payloads $input
+ * Serialized arguments to the workflow. These are passed as arguments to the workflow function.
* @type \Google\Protobuf\Duration $workflow_execution_timeout
* Total workflow execution timeout including retries and continue as new
* @type \Google\Protobuf\Duration $workflow_run_timeout
@@ -116,14 +134,20 @@ class SignalWithStartWorkflowExecutionRequest extends \Google\Protobuf\Internal\
* @type \Google\Protobuf\Duration $workflow_task_timeout
* Timeout of a single workflow task
* @type string $identity
+ * The identity of the worker/client
* @type string $request_id
+ * Used to de-dupe signal w/ start requests
* @type int $workflow_id_reuse_policy
* @type string $signal_name
+ * The workflow author-defined name of the signal to send to the workflow
* @type \Temporal\Api\Common\V1\Payloads $signal_input
+ * Serialized value(s) to provide with the signal
* @type string $control
+ * Deprecated
* @type \Temporal\Api\Common\V1\RetryPolicy $retry_policy
- * Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
+ * Retry policy for the workflow Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
* @type string $cron_schedule
+ * See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
* @type \Temporal\Api\Common\V1\Memo $memo
* @type \Temporal\Api\Common\V1\SearchAttributes $search_attributes
* @type \Temporal\Api\Common\V1\Header $header
@@ -180,11 +204,11 @@ public function setWorkflowId($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 3;
- * @return \Temporal\Api\Common\V1\WorkflowType
+ * @return \Temporal\Api\Common\V1\WorkflowType|null
*/
public function getWorkflowType()
{
- return isset($this->workflow_type) ? $this->workflow_type : null;
+ return $this->workflow_type;
}
public function hasWorkflowType()
@@ -211,12 +235,14 @@ public function setWorkflowType($var)
}
/**
+ * The task queue to start this workflow on, if it will be started
+ *
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
- * @return \Temporal\Api\Taskqueue\V1\TaskQueue
+ * @return \Temporal\Api\Taskqueue\V1\TaskQueue|null
*/
public function getTaskQueue()
{
- return isset($this->task_queue) ? $this->task_queue : null;
+ return $this->task_queue;
}
public function hasTaskQueue()
@@ -230,6 +256,8 @@ public function clearTaskQueue()
}
/**
+ * The task queue to start this workflow on, if it will be started
+ *
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
* @param \Temporal\Api\Taskqueue\V1\TaskQueue $var
* @return $this
@@ -243,12 +271,14 @@ public function setTaskQueue($var)
}
/**
+ * Serialized arguments to the workflow. These are passed as arguments to the workflow function.
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 5;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getInput()
{
- return isset($this->input) ? $this->input : null;
+ return $this->input;
}
public function hasInput()
@@ -262,6 +292,8 @@ public function clearInput()
}
/**
+ * Serialized arguments to the workflow. These are passed as arguments to the workflow function.
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 5;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -278,11 +310,11 @@ public function setInput($var)
* Total workflow execution timeout including retries and continue as new
*
* Generated from protobuf field .google.protobuf.Duration workflow_execution_timeout = 6 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getWorkflowExecutionTimeout()
{
- return isset($this->workflow_execution_timeout) ? $this->workflow_execution_timeout : null;
+ return $this->workflow_execution_timeout;
}
public function hasWorkflowExecutionTimeout()
@@ -314,11 +346,11 @@ public function setWorkflowExecutionTimeout($var)
* Timeout of a single workflow run
*
* Generated from protobuf field .google.protobuf.Duration workflow_run_timeout = 7 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getWorkflowRunTimeout()
{
- return isset($this->workflow_run_timeout) ? $this->workflow_run_timeout : null;
+ return $this->workflow_run_timeout;
}
public function hasWorkflowRunTimeout()
@@ -350,11 +382,11 @@ public function setWorkflowRunTimeout($var)
* Timeout of a single workflow task
*
* Generated from protobuf field .google.protobuf.Duration workflow_task_timeout = 8 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getWorkflowTaskTimeout()
{
- return isset($this->workflow_task_timeout) ? $this->workflow_task_timeout : null;
+ return $this->workflow_task_timeout;
}
public function hasWorkflowTaskTimeout()
@@ -383,6 +415,8 @@ public function setWorkflowTaskTimeout($var)
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 9;
* @return string
*/
@@ -392,6 +426,8 @@ public function getIdentity()
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 9;
* @param string $var
* @return $this
@@ -405,6 +441,8 @@ public function setIdentity($var)
}
/**
+ * Used to de-dupe signal w/ start requests
+ *
* Generated from protobuf field string request_id = 10;
* @return string
*/
@@ -414,6 +452,8 @@ public function getRequestId()
}
/**
+ * Used to de-dupe signal w/ start requests
+ *
* Generated from protobuf field string request_id = 10;
* @param string $var
* @return $this
@@ -449,6 +489,8 @@ public function setWorkflowIdReusePolicy($var)
}
/**
+ * The workflow author-defined name of the signal to send to the workflow
+ *
* Generated from protobuf field string signal_name = 12;
* @return string
*/
@@ -458,6 +500,8 @@ public function getSignalName()
}
/**
+ * The workflow author-defined name of the signal to send to the workflow
+ *
* Generated from protobuf field string signal_name = 12;
* @param string $var
* @return $this
@@ -471,12 +515,14 @@ public function setSignalName($var)
}
/**
+ * Serialized value(s) to provide with the signal
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads signal_input = 13;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getSignalInput()
{
- return isset($this->signal_input) ? $this->signal_input : null;
+ return $this->signal_input;
}
public function hasSignalInput()
@@ -490,6 +536,8 @@ public function clearSignalInput()
}
/**
+ * Serialized value(s) to provide with the signal
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads signal_input = 13;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -503,6 +551,8 @@ public function setSignalInput($var)
}
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 14;
* @return string
*/
@@ -512,6 +562,8 @@ public function getControl()
}
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 14;
* @param string $var
* @return $this
@@ -525,14 +577,14 @@ public function setControl($var)
}
/**
- * Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
+ * Retry policy for the workflow Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
*
* Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 15;
- * @return \Temporal\Api\Common\V1\RetryPolicy
+ * @return \Temporal\Api\Common\V1\RetryPolicy|null
*/
public function getRetryPolicy()
{
- return isset($this->retry_policy) ? $this->retry_policy : null;
+ return $this->retry_policy;
}
public function hasRetryPolicy()
@@ -546,7 +598,7 @@ public function clearRetryPolicy()
}
/**
- * Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
+ * Retry policy for the workflow Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
*
* Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 15;
* @param \Temporal\Api\Common\V1\RetryPolicy $var
@@ -561,6 +613,8 @@ public function setRetryPolicy($var)
}
/**
+ * See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
+ *
* Generated from protobuf field string cron_schedule = 16;
* @return string
*/
@@ -570,6 +624,8 @@ public function getCronSchedule()
}
/**
+ * See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
+ *
* Generated from protobuf field string cron_schedule = 16;
* @param string $var
* @return $this
@@ -584,11 +640,11 @@ public function setCronSchedule($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Memo memo = 17;
- * @return \Temporal\Api\Common\V1\Memo
+ * @return \Temporal\Api\Common\V1\Memo|null
*/
public function getMemo()
{
- return isset($this->memo) ? $this->memo : null;
+ return $this->memo;
}
public function hasMemo()
@@ -616,11 +672,11 @@ public function setMemo($var)
/**
* Generated from protobuf field .temporal.api.common.v1.SearchAttributes search_attributes = 18;
- * @return \Temporal\Api\Common\V1\SearchAttributes
+ * @return \Temporal\Api\Common\V1\SearchAttributes|null
*/
public function getSearchAttributes()
{
- return isset($this->search_attributes) ? $this->search_attributes : null;
+ return $this->search_attributes;
}
public function hasSearchAttributes()
@@ -648,11 +704,11 @@ public function setSearchAttributes($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Header header = 19;
- * @return \Temporal\Api\Common\V1\Header
+ * @return \Temporal\Api\Common\V1\Header|null
*/
public function getHeader()
{
- return isset($this->header) ? $this->header : null;
+ return $this->header;
}
public function hasHeader()
diff --git a/api/Temporal/Api/Workflowservice/V1/SignalWithStartWorkflowExecutionResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/SignalWithStartWorkflowExecutionResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/SignalWithStartWorkflowExecutionResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/SignalWithStartWorkflowExecutionResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/SignalWorkflowExecutionRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/SignalWorkflowExecutionRequest.php
similarity index 67%
rename from api/Temporal/Api/Workflowservice/V1/SignalWorkflowExecutionRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/SignalWorkflowExecutionRequest.php
index be670e541..7394b2670 100644
--- a/api/Temporal/Api/Workflowservice/V1/SignalWorkflowExecutionRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/SignalWorkflowExecutionRequest.php
@@ -22,25 +22,42 @@ class SignalWorkflowExecutionRequest extends \Google\Protobuf\Internal\Message
*/
protected $workflow_execution = null;
/**
+ * The workflow author-defined name of the signal to send to the workflow
+ *
* Generated from protobuf field string signal_name = 3;
*/
protected $signal_name = '';
/**
+ * Serialized value(s) to provide with the signal
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 4;
*/
protected $input = null;
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 5;
*/
protected $identity = '';
/**
+ * Used to de-dupe sent signals
+ *
* Generated from protobuf field string request_id = 6;
*/
protected $request_id = '';
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 7;
*/
protected $control = '';
+ /**
+ * Headers that are passed with the signal to the processing workflow.
+ * These can include things like auth or tracing tokens.
+ *
+ * Generated from protobuf field .temporal.api.common.v1.Header header = 8;
+ */
+ protected $header = null;
/**
* Constructor.
@@ -51,10 +68,18 @@ class SignalWorkflowExecutionRequest extends \Google\Protobuf\Internal\Message
* @type string $namespace
* @type \Temporal\Api\Common\V1\WorkflowExecution $workflow_execution
* @type string $signal_name
+ * The workflow author-defined name of the signal to send to the workflow
* @type \Temporal\Api\Common\V1\Payloads $input
+ * Serialized value(s) to provide with the signal
* @type string $identity
+ * The identity of the worker/client
* @type string $request_id
+ * Used to de-dupe sent signals
* @type string $control
+ * Deprecated
+ * @type \Temporal\Api\Common\V1\Header $header
+ * Headers that are passed with the signal to the processing workflow.
+ * These can include things like auth or tracing tokens.
* }
*/
public function __construct($data = NULL) {
@@ -86,11 +111,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getWorkflowExecution()
{
- return isset($this->workflow_execution) ? $this->workflow_execution : null;
+ return $this->workflow_execution;
}
public function hasWorkflowExecution()
@@ -117,6 +142,8 @@ public function setWorkflowExecution($var)
}
/**
+ * The workflow author-defined name of the signal to send to the workflow
+ *
* Generated from protobuf field string signal_name = 3;
* @return string
*/
@@ -126,6 +153,8 @@ public function getSignalName()
}
/**
+ * The workflow author-defined name of the signal to send to the workflow
+ *
* Generated from protobuf field string signal_name = 3;
* @param string $var
* @return $this
@@ -139,12 +168,14 @@ public function setSignalName($var)
}
/**
+ * Serialized value(s) to provide with the signal
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 4;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getInput()
{
- return isset($this->input) ? $this->input : null;
+ return $this->input;
}
public function hasInput()
@@ -158,6 +189,8 @@ public function clearInput()
}
/**
+ * Serialized value(s) to provide with the signal
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 4;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -171,6 +204,8 @@ public function setInput($var)
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 5;
* @return string
*/
@@ -180,6 +215,8 @@ public function getIdentity()
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 5;
* @param string $var
* @return $this
@@ -193,6 +230,8 @@ public function setIdentity($var)
}
/**
+ * Used to de-dupe sent signals
+ *
* Generated from protobuf field string request_id = 6;
* @return string
*/
@@ -202,6 +241,8 @@ public function getRequestId()
}
/**
+ * Used to de-dupe sent signals
+ *
* Generated from protobuf field string request_id = 6;
* @param string $var
* @return $this
@@ -215,6 +256,8 @@ public function setRequestId($var)
}
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 7;
* @return string
*/
@@ -224,6 +267,8 @@ public function getControl()
}
/**
+ * Deprecated
+ *
* Generated from protobuf field string control = 7;
* @param string $var
* @return $this
@@ -236,5 +281,43 @@ public function setControl($var)
return $this;
}
+ /**
+ * Headers that are passed with the signal to the processing workflow.
+ * These can include things like auth or tracing tokens.
+ *
+ * Generated from protobuf field .temporal.api.common.v1.Header header = 8;
+ * @return \Temporal\Api\Common\V1\Header|null
+ */
+ public function getHeader()
+ {
+ return $this->header;
+ }
+
+ public function hasHeader()
+ {
+ return isset($this->header);
+ }
+
+ public function clearHeader()
+ {
+ unset($this->header);
+ }
+
+ /**
+ * Headers that are passed with the signal to the processing workflow.
+ * These can include things like auth or tracing tokens.
+ *
+ * Generated from protobuf field .temporal.api.common.v1.Header header = 8;
+ * @param \Temporal\Api\Common\V1\Header $var
+ * @return $this
+ */
+ public function setHeader($var)
+ {
+ GPBUtil::checkMessage($var, \Temporal\Api\Common\V1\Header::class);
+ $this->header = $var;
+
+ return $this;
+ }
+
}
diff --git a/api/Temporal/Api/Workflowservice/V1/SignalWorkflowExecutionResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/SignalWorkflowExecutionResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/SignalWorkflowExecutionResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/SignalWorkflowExecutionResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/StartWorkflowExecutionRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/StartWorkflowExecutionRequest.php
similarity index 85%
rename from api/Temporal/Api/Workflowservice/V1/StartWorkflowExecutionRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/StartWorkflowExecutionRequest.php
index 9fa1f55b3..c6fe6e058 100644
--- a/api/Temporal/Api/Workflowservice/V1/StartWorkflowExecutionRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/StartWorkflowExecutionRequest.php
@@ -30,6 +30,8 @@ class StartWorkflowExecutionRequest extends \Google\Protobuf\Internal\Message
*/
protected $task_queue = null;
/**
+ * Serialized arguments to the workflow. These are passed as arguments to the workflow function.
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 5;
*/
protected $input = null;
@@ -52,10 +54,14 @@ class StartWorkflowExecutionRequest extends \Google\Protobuf\Internal\Message
*/
protected $workflow_task_timeout = null;
/**
+ * The identity of the client who initiated this request
+ *
* Generated from protobuf field string identity = 9;
*/
protected $identity = '';
/**
+ * A unique identifier for this start request. Typically UUIDv4.
+ *
* Generated from protobuf field string request_id = 10;
*/
protected $request_id = '';
@@ -66,12 +72,14 @@ class StartWorkflowExecutionRequest extends \Google\Protobuf\Internal\Message
*/
protected $workflow_id_reuse_policy = 0;
/**
- * Retries up to workflow_execution_timeout_seconds.
+ * The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
*
* Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 12;
*/
protected $retry_policy = null;
/**
+ * See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
+ *
* Generated from protobuf field string cron_schedule = 13;
*/
protected $cron_schedule = '';
@@ -99,6 +107,7 @@ class StartWorkflowExecutionRequest extends \Google\Protobuf\Internal\Message
* @type \Temporal\Api\Common\V1\WorkflowType $workflow_type
* @type \Temporal\Api\Taskqueue\V1\TaskQueue $task_queue
* @type \Temporal\Api\Common\V1\Payloads $input
+ * Serialized arguments to the workflow. These are passed as arguments to the workflow function.
* @type \Google\Protobuf\Duration $workflow_execution_timeout
* Total workflow execution timeout including retries and continue as new.
* @type \Google\Protobuf\Duration $workflow_run_timeout
@@ -106,12 +115,15 @@ class StartWorkflowExecutionRequest extends \Google\Protobuf\Internal\Message
* @type \Google\Protobuf\Duration $workflow_task_timeout
* Timeout of a single workflow task.
* @type string $identity
+ * The identity of the client who initiated this request
* @type string $request_id
+ * A unique identifier for this start request. Typically UUIDv4.
* @type int $workflow_id_reuse_policy
* Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
* @type \Temporal\Api\Common\V1\RetryPolicy $retry_policy
- * Retries up to workflow_execution_timeout_seconds.
+ * The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
* @type string $cron_schedule
+ * See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
* @type \Temporal\Api\Common\V1\Memo $memo
* @type \Temporal\Api\Common\V1\SearchAttributes $search_attributes
* @type \Temporal\Api\Common\V1\Header $header
@@ -168,11 +180,11 @@ public function setWorkflowId($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowType workflow_type = 3;
- * @return \Temporal\Api\Common\V1\WorkflowType
+ * @return \Temporal\Api\Common\V1\WorkflowType|null
*/
public function getWorkflowType()
{
- return isset($this->workflow_type) ? $this->workflow_type : null;
+ return $this->workflow_type;
}
public function hasWorkflowType()
@@ -200,11 +212,11 @@ public function setWorkflowType($var)
/**
* Generated from protobuf field .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
- * @return \Temporal\Api\Taskqueue\V1\TaskQueue
+ * @return \Temporal\Api\Taskqueue\V1\TaskQueue|null
*/
public function getTaskQueue()
{
- return isset($this->task_queue) ? $this->task_queue : null;
+ return $this->task_queue;
}
public function hasTaskQueue()
@@ -231,12 +243,14 @@ public function setTaskQueue($var)
}
/**
+ * Serialized arguments to the workflow. These are passed as arguments to the workflow function.
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 5;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getInput()
{
- return isset($this->input) ? $this->input : null;
+ return $this->input;
}
public function hasInput()
@@ -250,6 +264,8 @@ public function clearInput()
}
/**
+ * Serialized arguments to the workflow. These are passed as arguments to the workflow function.
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads input = 5;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -266,11 +282,11 @@ public function setInput($var)
* Total workflow execution timeout including retries and continue as new.
*
* Generated from protobuf field .google.protobuf.Duration workflow_execution_timeout = 6 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getWorkflowExecutionTimeout()
{
- return isset($this->workflow_execution_timeout) ? $this->workflow_execution_timeout : null;
+ return $this->workflow_execution_timeout;
}
public function hasWorkflowExecutionTimeout()
@@ -302,11 +318,11 @@ public function setWorkflowExecutionTimeout($var)
* Timeout of a single workflow run.
*
* Generated from protobuf field .google.protobuf.Duration workflow_run_timeout = 7 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getWorkflowRunTimeout()
{
- return isset($this->workflow_run_timeout) ? $this->workflow_run_timeout : null;
+ return $this->workflow_run_timeout;
}
public function hasWorkflowRunTimeout()
@@ -338,11 +354,11 @@ public function setWorkflowRunTimeout($var)
* Timeout of a single workflow task.
*
* Generated from protobuf field .google.protobuf.Duration workflow_task_timeout = 8 [(.gogoproto.stdduration) = true];
- * @return \Google\Protobuf\Duration
+ * @return \Google\Protobuf\Duration|null
*/
public function getWorkflowTaskTimeout()
{
- return isset($this->workflow_task_timeout) ? $this->workflow_task_timeout : null;
+ return $this->workflow_task_timeout;
}
public function hasWorkflowTaskTimeout()
@@ -371,6 +387,8 @@ public function setWorkflowTaskTimeout($var)
}
/**
+ * The identity of the client who initiated this request
+ *
* Generated from protobuf field string identity = 9;
* @return string
*/
@@ -380,6 +398,8 @@ public function getIdentity()
}
/**
+ * The identity of the client who initiated this request
+ *
* Generated from protobuf field string identity = 9;
* @param string $var
* @return $this
@@ -393,6 +413,8 @@ public function setIdentity($var)
}
/**
+ * A unique identifier for this start request. Typically UUIDv4.
+ *
* Generated from protobuf field string request_id = 10;
* @return string
*/
@@ -402,6 +424,8 @@ public function getRequestId()
}
/**
+ * A unique identifier for this start request. Typically UUIDv4.
+ *
* Generated from protobuf field string request_id = 10;
* @param string $var
* @return $this
@@ -441,14 +465,14 @@ public function setWorkflowIdReusePolicy($var)
}
/**
- * Retries up to workflow_execution_timeout_seconds.
+ * The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
*
* Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 12;
- * @return \Temporal\Api\Common\V1\RetryPolicy
+ * @return \Temporal\Api\Common\V1\RetryPolicy|null
*/
public function getRetryPolicy()
{
- return isset($this->retry_policy) ? $this->retry_policy : null;
+ return $this->retry_policy;
}
public function hasRetryPolicy()
@@ -462,7 +486,7 @@ public function clearRetryPolicy()
}
/**
- * Retries up to workflow_execution_timeout_seconds.
+ * The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
*
* Generated from protobuf field .temporal.api.common.v1.RetryPolicy retry_policy = 12;
* @param \Temporal\Api\Common\V1\RetryPolicy $var
@@ -477,6 +501,8 @@ public function setRetryPolicy($var)
}
/**
+ * See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
+ *
* Generated from protobuf field string cron_schedule = 13;
* @return string
*/
@@ -486,6 +512,8 @@ public function getCronSchedule()
}
/**
+ * See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
+ *
* Generated from protobuf field string cron_schedule = 13;
* @param string $var
* @return $this
@@ -500,11 +528,11 @@ public function setCronSchedule($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Memo memo = 14;
- * @return \Temporal\Api\Common\V1\Memo
+ * @return \Temporal\Api\Common\V1\Memo|null
*/
public function getMemo()
{
- return isset($this->memo) ? $this->memo : null;
+ return $this->memo;
}
public function hasMemo()
@@ -532,11 +560,11 @@ public function setMemo($var)
/**
* Generated from protobuf field .temporal.api.common.v1.SearchAttributes search_attributes = 15;
- * @return \Temporal\Api\Common\V1\SearchAttributes
+ * @return \Temporal\Api\Common\V1\SearchAttributes|null
*/
public function getSearchAttributes()
{
- return isset($this->search_attributes) ? $this->search_attributes : null;
+ return $this->search_attributes;
}
public function hasSearchAttributes()
@@ -564,11 +592,11 @@ public function setSearchAttributes($var)
/**
* Generated from protobuf field .temporal.api.common.v1.Header header = 16;
- * @return \Temporal\Api\Common\V1\Header
+ * @return \Temporal\Api\Common\V1\Header|null
*/
public function getHeader()
{
- return isset($this->header) ? $this->header : null;
+ return $this->header;
}
public function hasHeader()
diff --git a/api/Temporal/Api/Workflowservice/V1/StartWorkflowExecutionResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/StartWorkflowExecutionResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/StartWorkflowExecutionResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/StartWorkflowExecutionResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/TerminateWorkflowExecutionRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/TerminateWorkflowExecutionRequest.php
similarity index 76%
rename from api/Temporal/Api/Workflowservice/V1/TerminateWorkflowExecutionRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/TerminateWorkflowExecutionRequest.php
index 8c1d58af4..97c81ea1e 100644
--- a/api/Temporal/Api/Workflowservice/V1/TerminateWorkflowExecutionRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/TerminateWorkflowExecutionRequest.php
@@ -26,14 +26,22 @@ class TerminateWorkflowExecutionRequest extends \Google\Protobuf\Internal\Messag
*/
protected $reason = '';
/**
+ * Serialized additional information to attach to the termination event
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 4;
*/
protected $details = null;
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 5;
*/
protected $identity = '';
/**
+ * If set, this call will error if the most recent (if no run id is set on
+ * `workflow_execution`), or specified (if it is) workflow execution is not part of the same
+ * execution chain as this id.
+ *
* Generated from protobuf field string first_execution_run_id = 6;
*/
protected $first_execution_run_id = '';
@@ -48,8 +56,13 @@ class TerminateWorkflowExecutionRequest extends \Google\Protobuf\Internal\Messag
* @type \Temporal\Api\Common\V1\WorkflowExecution $workflow_execution
* @type string $reason
* @type \Temporal\Api\Common\V1\Payloads $details
+ * Serialized additional information to attach to the termination event
* @type string $identity
+ * The identity of the worker/client
* @type string $first_execution_run_id
+ * If set, this call will error if the most recent (if no run id is set on
+ * `workflow_execution`), or specified (if it is) workflow execution is not part of the same
+ * execution chain as this id.
* }
*/
public function __construct($data = NULL) {
@@ -81,11 +94,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
- * @return \Temporal\Api\Common\V1\WorkflowExecution
+ * @return \Temporal\Api\Common\V1\WorkflowExecution|null
*/
public function getWorkflowExecution()
{
- return isset($this->workflow_execution) ? $this->workflow_execution : null;
+ return $this->workflow_execution;
}
public function hasWorkflowExecution()
@@ -134,12 +147,14 @@ public function setReason($var)
}
/**
+ * Serialized additional information to attach to the termination event
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 4;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getDetails()
{
- return isset($this->details) ? $this->details : null;
+ return $this->details;
}
public function hasDetails()
@@ -153,6 +168,8 @@ public function clearDetails()
}
/**
+ * Serialized additional information to attach to the termination event
+ *
* Generated from protobuf field .temporal.api.common.v1.Payloads details = 4;
* @param \Temporal\Api\Common\V1\Payloads $var
* @return $this
@@ -166,6 +183,8 @@ public function setDetails($var)
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 5;
* @return string
*/
@@ -175,6 +194,8 @@ public function getIdentity()
}
/**
+ * The identity of the worker/client
+ *
* Generated from protobuf field string identity = 5;
* @param string $var
* @return $this
@@ -188,6 +209,10 @@ public function setIdentity($var)
}
/**
+ * If set, this call will error if the most recent (if no run id is set on
+ * `workflow_execution`), or specified (if it is) workflow execution is not part of the same
+ * execution chain as this id.
+ *
* Generated from protobuf field string first_execution_run_id = 6;
* @return string
*/
@@ -197,6 +222,10 @@ public function getFirstExecutionRunId()
}
/**
+ * If set, this call will error if the most recent (if no run id is set on
+ * `workflow_execution`), or specified (if it is) workflow execution is not part of the same
+ * execution chain as this id.
+ *
* Generated from protobuf field string first_execution_run_id = 6;
* @param string $var
* @return $this
diff --git a/api/Temporal/Api/Workflowservice/V1/TerminateWorkflowExecutionResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/TerminateWorkflowExecutionResponse.php
similarity index 100%
rename from api/Temporal/Api/Workflowservice/V1/TerminateWorkflowExecutionResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/TerminateWorkflowExecutionResponse.php
diff --git a/api/Temporal/Api/Workflowservice/V1/UpdateNamespaceRequest.php b/api/v1/Temporal/Api/Workflowservice/V1/UpdateNamespaceRequest.php
similarity index 82%
rename from api/Temporal/Api/Workflowservice/V1/UpdateNamespaceRequest.php
rename to api/v1/Temporal/Api/Workflowservice/V1/UpdateNamespaceRequest.php
index 00362fd68..524b34788 100644
--- a/api/Temporal/Api/Workflowservice/V1/UpdateNamespaceRequest.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/UpdateNamespaceRequest.php
@@ -42,6 +42,12 @@ class UpdateNamespaceRequest extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string delete_bad_binary = 6;
*/
protected $delete_bad_binary = '';
+ /**
+ * promote local namespace to global namespace. Ignored if namespace is already global namespace.
+ *
+ * Generated from protobuf field bool promote_namespace = 7;
+ */
+ protected $promote_namespace = false;
/**
* Constructor.
@@ -55,6 +61,8 @@ class UpdateNamespaceRequest extends \Google\Protobuf\Internal\Message
* @type \Temporal\Api\Replication\V1\NamespaceReplicationConfig $replication_config
* @type string $security_token
* @type string $delete_bad_binary
+ * @type bool $promote_namespace
+ * promote local namespace to global namespace. Ignored if namespace is already global namespace.
* }
*/
public function __construct($data = NULL) {
@@ -86,11 +94,11 @@ public function setNamespace($var)
/**
* Generated from protobuf field .temporal.api.namespace.v1.UpdateNamespaceInfo update_info = 2;
- * @return \Temporal\Api\PBNamespace\V1\UpdateNamespaceInfo
+ * @return \Temporal\Api\PBNamespace\V1\UpdateNamespaceInfo|null
*/
public function getUpdateInfo()
{
- return isset($this->update_info) ? $this->update_info : null;
+ return $this->update_info;
}
public function hasUpdateInfo()
@@ -118,11 +126,11 @@ public function setUpdateInfo($var)
/**
* Generated from protobuf field .temporal.api.namespace.v1.NamespaceConfig config = 3;
- * @return \Temporal\Api\PBNamespace\V1\NamespaceConfig
+ * @return \Temporal\Api\PBNamespace\V1\NamespaceConfig|null
*/
public function getConfig()
{
- return isset($this->config) ? $this->config : null;
+ return $this->config;
}
public function hasConfig()
@@ -150,11 +158,11 @@ public function setConfig($var)
/**
* Generated from protobuf field .temporal.api.replication.v1.NamespaceReplicationConfig replication_config = 4;
- * @return \Temporal\Api\Replication\V1\NamespaceReplicationConfig
+ * @return \Temporal\Api\Replication\V1\NamespaceReplicationConfig|null
*/
public function getReplicationConfig()
{
- return isset($this->replication_config) ? $this->replication_config : null;
+ return $this->replication_config;
}
public function hasReplicationConfig()
@@ -224,5 +232,31 @@ public function setDeleteBadBinary($var)
return $this;
}
+ /**
+ * promote local namespace to global namespace. Ignored if namespace is already global namespace.
+ *
+ * Generated from protobuf field bool promote_namespace = 7;
+ * @return bool
+ */
+ public function getPromoteNamespace()
+ {
+ return $this->promote_namespace;
+ }
+
+ /**
+ * promote local namespace to global namespace. Ignored if namespace is already global namespace.
+ *
+ * Generated from protobuf field bool promote_namespace = 7;
+ * @param bool $var
+ * @return $this
+ */
+ public function setPromoteNamespace($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->promote_namespace = $var;
+
+ return $this;
+ }
+
}
diff --git a/api/Temporal/Api/Workflowservice/V1/UpdateNamespaceResponse.php b/api/v1/Temporal/Api/Workflowservice/V1/UpdateNamespaceResponse.php
similarity index 93%
rename from api/Temporal/Api/Workflowservice/V1/UpdateNamespaceResponse.php
rename to api/v1/Temporal/Api/Workflowservice/V1/UpdateNamespaceResponse.php
index 505b4a4ed..645aec2fe 100644
--- a/api/Temporal/Api/Workflowservice/V1/UpdateNamespaceResponse.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/UpdateNamespaceResponse.php
@@ -54,11 +54,11 @@ public function __construct($data = NULL) {
/**
* Generated from protobuf field .temporal.api.namespace.v1.NamespaceInfo namespace_info = 1;
- * @return \Temporal\Api\PBNamespace\V1\NamespaceInfo
+ * @return \Temporal\Api\PBNamespace\V1\NamespaceInfo|null
*/
public function getNamespaceInfo()
{
- return isset($this->namespace_info) ? $this->namespace_info : null;
+ return $this->namespace_info;
}
public function hasNamespaceInfo()
@@ -86,11 +86,11 @@ public function setNamespaceInfo($var)
/**
* Generated from protobuf field .temporal.api.namespace.v1.NamespaceConfig config = 2;
- * @return \Temporal\Api\PBNamespace\V1\NamespaceConfig
+ * @return \Temporal\Api\PBNamespace\V1\NamespaceConfig|null
*/
public function getConfig()
{
- return isset($this->config) ? $this->config : null;
+ return $this->config;
}
public function hasConfig()
@@ -118,11 +118,11 @@ public function setConfig($var)
/**
* Generated from protobuf field .temporal.api.replication.v1.NamespaceReplicationConfig replication_config = 3;
- * @return \Temporal\Api\Replication\V1\NamespaceReplicationConfig
+ * @return \Temporal\Api\Replication\V1\NamespaceReplicationConfig|null
*/
public function getReplicationConfig()
{
- return isset($this->replication_config) ? $this->replication_config : null;
+ return $this->replication_config;
}
public function hasReplicationConfig()
diff --git a/api/Temporal/Api/Workflowservice/V1/WorkflowServiceClient.php b/api/v1/Temporal/Api/Workflowservice/V1/WorkflowServiceClient.php
similarity index 73%
rename from api/Temporal/Api/Workflowservice/V1/WorkflowServiceClient.php
rename to api/v1/Temporal/Api/Workflowservice/V1/WorkflowServiceClient.php
index 95192ca47..b314cf0d0 100644
--- a/api/Temporal/Api/Workflowservice/V1/WorkflowServiceClient.php
+++ b/api/v1/Temporal/Api/Workflowservice/V1/WorkflowServiceClient.php
@@ -3,19 +3,19 @@
// Original file comments:
// The MIT License
-//
+//
// Copyright (c) 2020 Temporal Technologies Inc. All rights reserved.
-//
+//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
-//
+//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
-//
+//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -27,12 +27,17 @@
namespace Temporal\Api\Workflowservice\V1;
/**
- * WorkflowService API is exposed to provide support for long running applications. Application is expected to call
- * StartWorkflowExecution to create an instance for each instance of long running workflow. Such applications are expected
- * to have a worker which regularly polls for WorkflowTask and ActivityTask from the WorkflowService. For each
- * WorkflowTask, application is expected to process the history of events for that session and respond back with next
- * commands. For each ActivityTask, application is expected to execute the actual logic for that task and respond back
- * with completion or failure. Worker is expected to regularly heartbeat while activity task is running.
+ * WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server
+ * to create and interact with workflows and activities.
+ *
+ * Users are expected to call `StartWorkflowExecution` to create a new workflow execution.
+ *
+ * To drive workflows, a worker using a Temporal SDK must exist which regularly polls for workflow
+ * and activity tasks from the service. For each workflow task, the sdk must process the
+ * (incremental or complete) event history and respond back with any newly generated commands.
+ *
+ * For each activity task, the worker is expected to execute the user's code which implements that
+ * activity, responding with completion or failure.
*/
class WorkflowServiceClient extends \Grpc\BaseStub {
@@ -46,9 +51,11 @@ public function __construct($hostname, $opts, $channel = null) {
}
/**
- * RegisterNamespace creates a new namespace which can be used as a container for all resources. Namespace is a top level
- * entity within Temporal, used as a container for all resources like workflow executions, task queues, etc. Namespace
- * acts as a sandbox and provides isolation for all resources within the namespace. All resources belongs to exactly one
+ * RegisterNamespace creates a new namespace which can be used as a container for all resources.
+ *
+ * A Namespace is a top level entity within Temporal, and is used as a container for resources
+ * like workflow executions, task queues, etc. A Namespace acts as a sandbox and provides
+ * isolation for all resources within the namespace. All resources belongs to exactly one
* namespace.
* @param \Temporal\Api\Workflowservice\V1\RegisterNamespaceRequest $argument input argument
* @param array $metadata metadata
@@ -94,11 +101,13 @@ public function ListNamespaces(\Temporal\Api\Workflowservice\V1\ListNamespacesRe
}
/**
+ * UpdateNamespace is used to update the information and configuration of a registered
+ * namespace.
+ *
* (-- api-linter: core::0134::method-signature=disabled
* aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --)
* (-- api-linter: core::0134::response-message-name=disabled
* aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --)
- * UpdateNamespace is used to update the information and configuration for a registered namespace.
* @param \Temporal\Api\Workflowservice\V1\UpdateNamespaceRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -113,9 +122,11 @@ public function UpdateNamespace(\Temporal\Api\Workflowservice\V1\UpdateNamespace
}
/**
- * DeprecateNamespace is used to update state of a registered namespace to DEPRECATED. Once the namespace is deprecated
- * it cannot be used to start new workflow executions. Existing workflow executions will continue to run on
- * deprecated namespaces.
+ * DeprecateNamespace is used to update the state of a registered namespace to DEPRECATED.
+ *
+ * Once the namespace is deprecated it cannot be used to start new workflow executions. Existing
+ * workflow executions will continue to run on deprecated namespaces.
+ * Deprecated.
* @param \Temporal\Api\Workflowservice\V1\DeprecateNamespaceRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -130,10 +141,11 @@ public function DeprecateNamespace(\Temporal\Api\Workflowservice\V1\DeprecateNam
}
/**
- * StartWorkflowExecution starts a new long running workflow instance. It will create the instance with
- * 'WorkflowExecutionStarted' event in history and also schedule the first WorkflowTask for the worker to make the
- * first command for this instance. It will return 'WorkflowExecutionAlreadyStartedFailure', if an instance already
- * exists with same workflowId.
+ * StartWorkflowExecution starts a new workflow execution.
+ *
+ * It will create the execution with a `WORKFLOW_EXECUTION_STARTED` event in its history and
+ * also schedule the first workflow task. Returns `WorkflowExecutionAlreadyStarted`, if an
+ * instance already exists with same workflow id.
* @param \Temporal\Api\Workflowservice\V1\StartWorkflowExecutionRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -148,8 +160,8 @@ public function StartWorkflowExecution(\Temporal\Api\Workflowservice\V1\StartWor
}
/**
- * GetWorkflowExecutionHistory returns the history of specified workflow execution. It fails with 'NotFoundFailure' if specified workflow
- * execution in unknown to the service.
+ * GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with
+ * `NotFound` if the specified workflow execution is unknown to the service.
* @param \Temporal\Api\Workflowservice\V1\GetWorkflowExecutionHistoryRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -164,11 +176,29 @@ public function GetWorkflowExecutionHistory(\Temporal\Api\Workflowservice\V1\Get
}
/**
- * PollWorkflowTaskQueue is called by application worker to process WorkflowTask from a specific task queue. A
- * WorkflowTask is dispatched to callers for active workflow executions, with pending workflow tasks.
- * Application is then expected to call 'RespondWorkflowTaskCompleted' API when it is done processing the WorkflowTask.
- * It will also create a 'WorkflowTaskStarted' event in the history for that session before handing off WorkflowTask to
- * application worker.
+ * GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse
+ * order (starting from last event). Fails with`NotFound` if the specified workflow execution is
+ * unknown to the service.
+ * @param \Temporal\Api\Workflowservice\V1\GetWorkflowExecutionHistoryReverseRequest $argument input argument
+ * @param array $metadata metadata
+ * @param array $options call options
+ * @return \Grpc\UnaryCall
+ */
+ public function GetWorkflowExecutionHistoryReverse(\Temporal\Api\Workflowservice\V1\GetWorkflowExecutionHistoryReverseRequest $argument,
+ $metadata = [], $options = []) {
+ return $this->_simpleRequest('/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistoryReverse',
+ $argument,
+ ['\Temporal\Api\Workflowservice\V1\GetWorkflowExecutionHistoryReverseResponse', 'decode'],
+ $metadata, $options);
+ }
+
+ /**
+ * PollWorkflowTaskQueue is called by workers to make progress on workflows.
+ *
+ * A WorkflowTask is dispatched to callers for active workflow executions with pending workflow
+ * tasks. The worker is expected to call `RespondWorkflowTaskCompleted` when it is done
+ * processing the task. The service will create a `WorkflowTaskStarted` event in the history for
+ * this task before handing it to the worker.
* @param \Temporal\Api\Workflowservice\V1\PollWorkflowTaskQueueRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -183,12 +213,12 @@ public function PollWorkflowTaskQueue(\Temporal\Api\Workflowservice\V1\PollWorkf
}
/**
- * RespondWorkflowTaskCompleted is called by application worker to complete a WorkflowTask handed as a result of
- * 'PollWorkflowTaskQueue' API call. Completing a WorkflowTask will result in new events for the workflow execution and
- * potentially new ActivityTask being created for corresponding commands. It will also create a WorkflowTaskCompleted
- * event in the history for that session. Use the 'taskToken' provided as response of PollWorkflowTaskQueue API call
- * for completing the WorkflowTask.
- * The response could contain a new workflow task if there is one or if the request asking for one.
+ * RespondWorkflowTaskCompleted is called by workers to successfully complete workflow tasks
+ * they received from `PollWorkflowTaskQueue`.
+ *
+ * Completing a WorkflowTask will write a `WORKFLOW_TASK_COMPLETED` event to the workflow's
+ * history, along with events corresponding to whatever commands the SDK generated while
+ * executing the task (ex timer started, activity task scheduled, etc).
* @param \Temporal\Api\Workflowservice\V1\RespondWorkflowTaskCompletedRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -203,10 +233,15 @@ public function RespondWorkflowTaskCompleted(\Temporal\Api\Workflowservice\V1\Re
}
/**
- * RespondWorkflowTaskFailed is called by application worker to indicate failure. This results in
- * WorkflowTaskFailedEvent written to the history and a new WorkflowTask created. This API can be used by client to
- * either clear sticky task queue or report any panics during WorkflowTask processing. Temporal will only append first
- * WorkflowTaskFailed event to the history of workflow execution for consecutive failures.
+ * RespondWorkflowTaskFailed is called by workers to indicate the processing of a workflow task
+ * failed.
+ *
+ * This results in a `WORKFLOW_TASK_FAILED` event written to the history, and a new workflow
+ * task will be scheduled. This API can be used to report unhandled failures resulting from
+ * applying the workflow task.
+ *
+ * Temporal will only append first WorkflowTaskFailed event to the history of workflow execution
+ * for consecutive failures.
* @param \Temporal\Api\Workflowservice\V1\RespondWorkflowTaskFailedRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -221,13 +256,18 @@ public function RespondWorkflowTaskFailed(\Temporal\Api\Workflowservice\V1\Respo
}
/**
- * PollActivityTaskQueue is called by application worker to process ActivityTask from a specific task queue. ActivityTask
- * is dispatched to callers whenever a ScheduleTask command is made for a workflow execution.
- * Application is expected to call 'RespondActivityTaskCompleted' or 'RespondActivityTaskFailed' once it is done
+ * PollActivityTaskQueue is called by workers to process activity tasks from a specific task
+ * queue.
+ *
+ * The worker is expected to call one of the `RespondActivityTaskXXX` methods when it is done
* processing the task.
- * Application also needs to call 'RecordActivityTaskHeartbeat' API within 'heartbeatTimeoutSeconds' interval to
- * prevent the task from getting timed out. An event 'ActivityTaskStarted' event is also written to workflow execution
- * history before the ActivityTask is dispatched to application worker.
+ *
+ * An activity task is dispatched whenever a `SCHEDULE_ACTIVITY_TASK` command is produced during
+ * workflow execution. An in memory `ACTIVITY_TASK_STARTED` event is written to mutable state
+ * before the task is dispatched to the worker. The started event, and the final event
+ * (`ACTIVITY_TASK_COMPLETED` / `ACTIVITY_TASK_FAILED` / `ACTIVITY_TASK_TIMED_OUT`) will both be
+ * written permanently to Workflow execution history when Activity is finished. This is done to
+ * avoid writing many events in the case of a failure/retry loop.
* @param \Temporal\Api\Workflowservice\V1\PollActivityTaskQueueRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -242,11 +282,12 @@ public function PollActivityTaskQueue(\Temporal\Api\Workflowservice\V1\PollActiv
}
/**
- * RecordActivityTaskHeartbeat is called by application worker while it is processing an ActivityTask. If worker fails
- * to heartbeat within 'heartbeatTimeoutSeconds' interval for the ActivityTask, then it will be marked as timedout and
- * 'ActivityTaskTimedOut' event will be written to the workflow history. Calling 'RecordActivityTaskHeartbeat' will
- * fail with 'NotFoundFailure' in such situations. Use the 'taskToken' provided as response of
- * PollActivityTaskQueue API call for heart beating.
+ * RecordActivityTaskHeartbeat is optionally called by workers while they execute activities.
+ *
+ * If worker fails to heartbeat within the `heartbeat_timeout` interval for the activity task,
+ * then it will be marked as timed out and an `ACTIVITY_TASK_TIMED_OUT` event will be written to
+ * the workflow history. Calling `RecordActivityTaskHeartbeat` will fail with `NotFound` in
+ * such situations, in that event, the SDK should request cancellation of the activity.
* @param \Temporal\Api\Workflowservice\V1\RecordActivityTaskHeartbeatRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -261,13 +302,11 @@ public function RecordActivityTaskHeartbeat(\Temporal\Api\Workflowservice\V1\Rec
}
/**
+ * See `RecordActivityTaskHeartbeat`. This version allows clients to record heartbeats by
+ * namespace/workflow id/activity id instead of task token.
+ *
* (-- api-linter: core::0136::prepositions=disabled
* aip.dev/not-precedent: "By" is used to indicate request type. --)
- * RecordActivityTaskHeartbeatById is called by application worker while it is processing an ActivityTask. If worker fails
- * to heartbeat within 'heartbeatTimeoutSeconds' interval for the ActivityTask, then it will be marked as timed out and
- * 'ActivityTaskTimedOut' event will be written to the workflow history. Calling 'RecordActivityTaskHeartbeatById' will
- * fail with 'NotFoundFailure' in such situations. Instead of using 'taskToken' like in RecordActivityTaskHeartbeat,
- * use Namespace, WorkflowId and ActivityId
* @param \Temporal\Api\Workflowservice\V1\RecordActivityTaskHeartbeatByIdRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -282,11 +321,12 @@ public function RecordActivityTaskHeartbeatById(\Temporal\Api\Workflowservice\V1
}
/**
- * RespondActivityTaskCompleted is called by application worker when it is done processing an ActivityTask. It will
- * result in a new 'ActivityTaskCompleted' event being written to the workflow history and a new WorkflowTask
- * created for the workflow so new commands could be made. Use the 'taskToken' provided as response of
- * PollActivityTaskQueue API call for completion. It fails with 'NotFoundFailure' if the taskToken is not valid
- * anymore due to activity timeout.
+ * RespondActivityTaskCompleted is called by workers when they successfully complete an activity
+ * task.
+ *
+ * This results in a new `ACTIVITY_TASK_COMPLETED` event being written to the workflow history
+ * and a new workflow task created for the workflow. Fails with `NotFound` if the task token is
+ * no longer valid due to activity timeout, already being completed, or never having existed.
* @param \Temporal\Api\Workflowservice\V1\RespondActivityTaskCompletedRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -301,13 +341,11 @@ public function RespondActivityTaskCompleted(\Temporal\Api\Workflowservice\V1\Re
}
/**
+ * See `RecordActivityTaskCompleted`. This version allows clients to record completions by
+ * namespace/workflow id/activity id instead of task token.
+ *
* (-- api-linter: core::0136::prepositions=disabled
* aip.dev/not-precedent: "By" is used to indicate request type. --)
- * RespondActivityTaskCompletedById is called by application worker when it is done processing an ActivityTask.
- * It will result in a new 'ActivityTaskCompleted' event being written to the workflow history and a new WorkflowTask
- * created for the workflow so new commands could be made. Similar to RespondActivityTaskCompleted but use Namespace,
- * WorkflowId and ActivityId instead of 'taskToken' for completion. It fails with 'NotFoundFailure'
- * if the these Ids are not valid anymore due to activity timeout.
* @param \Temporal\Api\Workflowservice\V1\RespondActivityTaskCompletedByIdRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -322,11 +360,11 @@ public function RespondActivityTaskCompletedById(\Temporal\Api\Workflowservice\V
}
/**
- * RespondActivityTaskFailed is called by application worker when it is done processing an ActivityTask. It will
- * result in a new 'ActivityTaskFailed' event being written to the workflow history and a new WorkflowTask
- * created for the workflow instance so new commands could be made. Use the 'taskToken' provided as response of
- * PollActivityTaskQueue API call for completion. It fails with 'NotFoundFailure' if the taskToken is not valid
- * anymore due to activity timeout.
+ * RespondActivityTaskFailed is called by workers when processing an activity task fails.
+ *
+ * This results in a new `ACTIVITY_TASK_FAILED` event being written to the workflow history and
+ * a new workflow task created for the workflow. Fails with `NotFound` if the task token is no
+ * longer valid due to activity timeout, already being completed, or never having existed.
* @param \Temporal\Api\Workflowservice\V1\RespondActivityTaskFailedRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -341,13 +379,11 @@ public function RespondActivityTaskFailed(\Temporal\Api\Workflowservice\V1\Respo
}
/**
+ * See `RecordActivityTaskFailed`. This version allows clients to record failures by
+ * namespace/workflow id/activity id instead of task token.
+ *
* (-- api-linter: core::0136::prepositions=disabled
* aip.dev/not-precedent: "By" is used to indicate request type. --)
- * RespondActivityTaskFailedById is called by application worker when it is done processing an ActivityTask.
- * It will result in a new 'ActivityTaskFailed' event being written to the workflow history and a new WorkflowTask
- * created for the workflow instance so new commands could be made. Similar to RespondActivityTaskFailed but use
- * Namespace, WorkflowId and ActivityId instead of 'taskToken' for completion. It fails with 'NotFoundFailure'
- * if the these Ids are not valid anymore due to activity timeout.
* @param \Temporal\Api\Workflowservice\V1\RespondActivityTaskFailedByIdRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -362,11 +398,11 @@ public function RespondActivityTaskFailedById(\Temporal\Api\Workflowservice\V1\R
}
/**
- * RespondActivityTaskCanceled is called by application worker when it is successfully canceled an ActivityTask. It will
- * result in a new 'ActivityTaskCanceled' event being written to the workflow history and a new WorkflowTask
- * created for the workflow instance so new commands could be made. Use the 'taskToken' provided as response of
- * PollActivityTaskQueue API call for completion. It fails with 'NotFoundFailure' if the taskToken is not valid
- * anymore due to activity timeout.
+ * RespondActivityTaskFailed is called by workers when processing an activity task fails.
+ *
+ * This results in a new `ACTIVITY_TASK_CANCELED` event being written to the workflow history
+ * and a new workflow task created for the workflow. Fails with `NotFound` if the task token is
+ * no longer valid due to activity timeout, already being completed, or never having existed.
* @param \Temporal\Api\Workflowservice\V1\RespondActivityTaskCanceledRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -381,13 +417,11 @@ public function RespondActivityTaskCanceled(\Temporal\Api\Workflowservice\V1\Res
}
/**
+ * See `RecordActivityTaskCanceled`. This version allows clients to record failures by
+ * namespace/workflow id/activity id instead of task token.
+ *
* (-- api-linter: core::0136::prepositions=disabled
* aip.dev/not-precedent: "By" is used to indicate request type. --)
- * RespondActivityTaskCanceledById is called by application worker when it is successfully canceled an ActivityTask.
- * It will result in a new 'ActivityTaskCanceled' event being written to the workflow history and a new WorkflowTask
- * created for the workflow instance so new commands could be made. Similar to RespondActivityTaskCanceled but use
- * Namespace, WorkflowId and ActivityId instead of 'taskToken' for completion. It fails with 'NotFoundFailure'
- * if the these Ids are not valid anymore due to activity timeout.
* @param \Temporal\Api\Workflowservice\V1\RespondActivityTaskCanceledByIdRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -402,10 +436,12 @@ public function RespondActivityTaskCanceledById(\Temporal\Api\Workflowservice\V1
}
/**
- * RequestCancelWorkflowExecution is called by application worker when it wants to request cancellation of a workflow instance.
- * It will result in a new 'WorkflowExecutionCancelRequested' event being written to the workflow history and a new WorkflowTask
- * created for the workflow instance so new commands could be made. It fails with 'NotFoundFailure' if the workflow is not valid
- * anymore due to completion or doesn't exist.
+ * RequestCancelWorkflowExecution is called by workers when they want to request cancellation of
+ * a workflow execution.
+ *
+ * This result in a new `WORKFLOW_EXECUTION_CANCEL_REQUESTED` event being written to the
+ * workflow history and a new workflow task created for the workflow. Fails with `NotFound` if
+ * the workflow is already completed or doesn't exist.
* @param \Temporal\Api\Workflowservice\V1\RequestCancelWorkflowExecutionRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -420,8 +456,10 @@ public function RequestCancelWorkflowExecution(\Temporal\Api\Workflowservice\V1\
}
/**
- * SignalWorkflowExecution is used to send a signal event to running workflow execution. This results in
- * WorkflowExecutionSignaled event recorded in the history and a workflow task being created for the execution.
+ * SignalWorkflowExecution is used to send a signal to a running workflow execution.
+ *
+ * This results in a `WORKFLOW_EXECUTION_SIGNALED` event recorded in the history and a workflow
+ * task being created for the execution.
* @param \Temporal\Api\Workflowservice\V1\SignalWorkflowExecutionRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -436,13 +474,18 @@ public function SignalWorkflowExecution(\Temporal\Api\Workflowservice\V1\SignalW
}
/**
+ * SignalWithStartWorkflowExecution is used to ensure a signal is sent to a workflow, even if
+ * it isn't yet started.
+ *
+ * If the workflow is running, a `WORKFLOW_EXECUTION_SIGNALED` event is recorded in the history
+ * and a workflow task is generated.
+ *
+ * If the workflow is not running or not found, then the workflow is created with
+ * `WORKFLOW_EXECUTION_STARTED` and `WORKFLOW_EXECUTION_SIGNALED` events in its history, and a
+ * workflow task is generated.
+ *
* (-- api-linter: core::0136::prepositions=disabled
* aip.dev/not-precedent: "With" is used to indicate combined operation. --)
- * SignalWithStartWorkflowExecution is used to ensure sending signal to a workflow.
- * If the workflow is running, this results in WorkflowExecutionSignaled event being recorded in the history
- * and a workflow task being created for the execution.
- * If the workflow is not running or not found, this results in WorkflowExecutionStarted and WorkflowExecutionSignaled
- * events being recorded in history, and a workflow task being created for the execution
* @param \Temporal\Api\Workflowservice\V1\SignalWithStartWorkflowExecutionRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -457,8 +500,10 @@ public function SignalWithStartWorkflowExecution(\Temporal\Api\Workflowservice\V
}
/**
- * ResetWorkflowExecution reset an existing workflow execution to WorkflowTaskCompleted event(exclusive).
- * And it will immediately terminating the current execution instance.
+ * ResetWorkflowExecution will reset an existing workflow execution to a specified
+ * `WORKFLOW_TASK_COMPLETED` event (exclusive). It will immediately terminate the current
+ * execution instance.
+ * TODO: Does exclusive here mean *just* the completed event, or also WFT started? Otherwise the task is doomed to time out?
* @param \Temporal\Api\Workflowservice\V1\ResetWorkflowExecutionRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -473,8 +518,9 @@ public function ResetWorkflowExecution(\Temporal\Api\Workflowservice\V1\ResetWor
}
/**
- * TerminateWorkflowExecution terminates an existing workflow execution by recording WorkflowExecutionTerminated event
- * in the history and immediately terminating the execution instance.
+ * TerminateWorkflowExecution terminates an existing workflow execution by recording a
+ * `WORKFLOW_EXECUTION_TERMINATED` event in the history and immediately terminating the
+ * execution instance.
* @param \Temporal\Api\Workflowservice\V1\TerminateWorkflowExecutionRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -594,9 +640,11 @@ public function GetSearchAttributes(\Temporal\Api\Workflowservice\V1\GetSearchAt
}
/**
- * RespondQueryTaskCompleted is called by application worker to complete a QueryTask (which is a WorkflowTask for query)
- * as a result of 'PollWorkflowTaskQueue' API call. Completing a QueryTask will unblock the client call to 'QueryWorkflow'
- * API and return the query result to client as a response to 'QueryWorkflow' API call.
+ * RespondQueryTaskCompleted is called by workers to complete queries which were delivered on
+ * the `query` (not `queries`) field of a `PollWorkflowTaskQueueResponse`.
+ *
+ * Completing the query will unblock the corresponding client call to `QueryWorkflow` and return
+ * the query result a response.
* @param \Temporal\Api\Workflowservice\V1\RespondQueryTaskCompletedRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -611,7 +659,10 @@ public function RespondQueryTaskCompleted(\Temporal\Api\Workflowservice\V1\Respo
}
/**
- * ResetStickyTaskQueue resets the sticky task queue related information in mutable state of a given workflow.
+ * ResetStickyTaskQueue resets the sticky task queue related information in the mutable state of
+ * a given workflow. This is prudent for workers to perform if a workflow has been paged out of
+ * their cache.
+ *
* Things cleared are:
* 1. StickyTaskQueue
* 2. StickyScheduleToStartTimeout
@@ -629,7 +680,7 @@ public function ResetStickyTaskQueue(\Temporal\Api\Workflowservice\V1\ResetStick
}
/**
- * QueryWorkflow returns query result for a specified workflow execution
+ * QueryWorkflow requests a query be executed for a specified workflow execution.
* @param \Temporal\Api\Workflowservice\V1\QueryWorkflowRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -659,8 +710,7 @@ public function DescribeWorkflowExecution(\Temporal\Api\Workflowservice\V1\Descr
}
/**
- * DescribeTaskQueue returns information about the target task queue, right now this API returns the
- * pollers which polled this task queue in last few minutes.
+ * DescribeTaskQueue returns information about the target task queue.
* @param \Temporal\Api\Workflowservice\V1\DescribeTaskQueueRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -689,6 +739,21 @@ public function GetClusterInfo(\Temporal\Api\Workflowservice\V1\GetClusterInfoRe
$metadata, $options);
}
+ /**
+ * GetSystemInfo returns information about the system.
+ * @param \Temporal\Api\Workflowservice\V1\GetSystemInfoRequest $argument input argument
+ * @param array $metadata metadata
+ * @param array $options call options
+ * @return \Grpc\UnaryCall
+ */
+ public function GetSystemInfo(\Temporal\Api\Workflowservice\V1\GetSystemInfoRequest $argument,
+ $metadata = [], $options = []) {
+ return $this->_simpleRequest('/temporal.api.workflowservice.v1.WorkflowService/GetSystemInfo',
+ $argument,
+ ['\Temporal\Api\Workflowservice\V1\GetSystemInfoResponse', 'decode'],
+ $metadata, $options);
+ }
+
/**
* @param \Temporal\Api\Workflowservice\V1\ListTaskQueuePartitionsRequest $argument input argument
* @param array $metadata metadata
diff --git a/api/Temporal/Roadrunner/Internal/Frame.php b/api/v1/Temporal/Roadrunner/Internal/Frame.php
similarity index 100%
rename from api/Temporal/Roadrunner/Internal/Frame.php
rename to api/v1/Temporal/Roadrunner/Internal/Frame.php
diff --git a/api/Temporal/Roadrunner/Internal/Message.php b/api/v1/Temporal/Roadrunner/Internal/Message.php
similarity index 95%
rename from api/Temporal/Roadrunner/Internal/Message.php
rename to api/v1/Temporal/Roadrunner/Internal/Message.php
index 16f6c15a0..de53384fa 100644
--- a/api/Temporal/Roadrunner/Internal/Message.php
+++ b/api/v1/Temporal/Roadrunner/Internal/Message.php
@@ -144,11 +144,11 @@ public function setOptions($var)
* error response.
*
* Generated from protobuf field .temporal.api.failure.v1.Failure failure = 4;
- * @return \Temporal\Api\Failure\V1\Failure
+ * @return \Temporal\Api\Failure\V1\Failure|null
*/
public function getFailure()
{
- return isset($this->failure) ? $this->failure : null;
+ return $this->failure;
}
public function hasFailure()
@@ -180,11 +180,11 @@ public function setFailure($var)
* invocation or result payloads.
*
* Generated from protobuf field .temporal.api.common.v1.Payloads payloads = 5;
- * @return \Temporal\Api\Common\V1\Payloads
+ * @return \Temporal\Api\Common\V1\Payloads|null
*/
public function getPayloads()
{
- return isset($this->payloads) ? $this->payloads : null;
+ return $this->payloads;
}
public function hasPayloads()
diff --git a/composer.json b/composer.json
index 6b37b53fc..4746e6e36 100644
--- a/composer.json
+++ b/composer.json
@@ -36,10 +36,10 @@
},
"autoload": {
"psr-4": {
- "GPBMetadata\\": "api/GPBMetadata",
+ "GPBMetadata\\": "api/v1/GPBMetadata",
"Temporal\\": "src",
- "Temporal\\Api\\": "api/Temporal/Api",
- "Temporal\\Roadrunner\\": "api/Temporal/Roadrunner"
+ "Temporal\\Api\\": "api/v1/Temporal/Api",
+ "Temporal\\Roadrunner\\": "api/v1/Temporal/Roadrunner"
}
},
"require-dev": {
diff --git a/proto b/proto
index e1c0551f1..336a14569 160000
--- a/proto
+++ b/proto
@@ -1 +1 @@
-Subproject commit e1c0551f105bd580c286ce816f8e1b05faa48e4b
+Subproject commit 336a14569b47d145300989c830cf50ab8ccad577
diff --git a/resources/scripts/generate-proto.php b/resources/scripts/generate-proto.php
index 96df68fa2..5efe8f3c6 100644
--- a/resources/scripts/generate-proto.php
+++ b/resources/scripts/generate-proto.php
@@ -76,7 +76,7 @@
echo "generating client files: ";
$result = exec(
sprintf(
- 'protoc --php_out=api --plugin=protoc-gen-grpc=%s --grpc_out=./api -Iproto %s',
+ 'protoc --php_out=api/v1 --plugin=protoc-gen-grpc=%s --grpc_out=./api/v1 -Iproto %s',
$plugin,
join(' ', $files)
)
@@ -105,7 +105,7 @@
$result = exec(
sprintf(
- 'protoc --php_out=api --plugin=protoc-gen-grpc=%s --grpc_out=./api -Iproto %s',
+ 'protoc --php_out=api/v1 --plugin=protoc-gen-grpc=%s --grpc_out=./api/v1 -Iproto %s',
$plugin,
'proto/dependencies/gogoproto/gogo.proto'
)
@@ -132,7 +132,7 @@
$result = exec(
sprintf(
- 'protoc --php_out=api --plugin=protoc-gen-grpc=%s --grpc_out=./api -Iproto %s',
+ 'protoc --php_out=api/v1 --plugin=protoc-gen-grpc=%s --grpc_out=./api/v1 -Iproto %s',
$plugin,
'proto/protocol.proto'
)
diff --git a/src/Client/GRPC/ServiceClient.php b/src/Client/GRPC/ServiceClient.php
index 88e66c71e..6a62344b8 100644
--- a/src/Client/GRPC/ServiceClient.php
+++ b/src/Client/GRPC/ServiceClient.php
@@ -1,5 +1,4 @@
invoke('RegisterNamespace', $arg, $ctx);
+ public function RegisterNamespace(V1\RegisterNamespaceRequest $arg, ContextInterface $ctx = null) : V1\RegisterNamespaceResponse
+ {
+ return $this->invoke("RegisterNamespace", $arg, $ctx);
}
/**
@@ -49,11 +48,9 @@ public function RegisterNamespace(
* @return V1\DescribeNamespaceResponse
* @throws ServiceClientException
*/
- public function DescribeNamespace(
- V1\DescribeNamespaceRequest $arg,
- ContextInterface $ctx = null
- ): V1\DescribeNamespaceResponse {
- return $this->invoke('DescribeNamespace', $arg, $ctx);
+ public function DescribeNamespace(V1\DescribeNamespaceRequest $arg, ContextInterface $ctx = null) : V1\DescribeNamespaceResponse
+ {
+ return $this->invoke("DescribeNamespace", $arg, $ctx);
}
/**
@@ -64,473 +61,467 @@ public function DescribeNamespace(
* @return V1\ListNamespacesResponse
* @throws ServiceClientException
*/
- public function ListNamespaces(
- V1\ListNamespacesRequest $arg,
- ContextInterface $ctx = null
- ): V1\ListNamespacesResponse {
- return $this->invoke('ListNamespaces', $arg, $ctx);
+ public function ListNamespaces(V1\ListNamespacesRequest $arg, ContextInterface $ctx = null) : V1\ListNamespacesResponse
+ {
+ return $this->invoke("ListNamespaces", $arg, $ctx);
}
/**
+ * UpdateNamespace is used to update the information and configuration of a
+ * registered
+ * namespace.
+ *
* (-- api-linter: core::0134::method-signature=disabled
* aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --)
* (-- api-linter: core::0134::response-message-name=disabled
* aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --)
- * UpdateNamespace is used to update the information and configuration for a
- * registered namespace.
*
* @param V1\UpdateNamespaceRequest $arg
* @param ContextInterface|null $ctx
* @return V1\UpdateNamespaceResponse
* @throws ServiceClientException
*/
- public function UpdateNamespace(
- V1\UpdateNamespaceRequest $arg,
- ContextInterface $ctx = null
- ): V1\UpdateNamespaceResponse {
- return $this->invoke('UpdateNamespace', $arg, $ctx);
+ public function UpdateNamespace(V1\UpdateNamespaceRequest $arg, ContextInterface $ctx = null) : V1\UpdateNamespaceResponse
+ {
+ return $this->invoke("UpdateNamespace", $arg, $ctx);
}
/**
- * DeprecateNamespace is used to update state of a registered namespace to
- * DEPRECATED. Once the namespace is deprecated
- * it cannot be used to start new workflow executions. Existing workflow
- * executions will continue to run on
- * deprecated namespaces.
+ * DeprecateNamespace is used to update the state of a registered namespace to
+ * DEPRECATED.
+ *
+ * Once the namespace is deprecated it cannot be used to start new workflow
+ * executions. Existing
+ * workflow executions will continue to run on deprecated namespaces.
+ * Deprecated.
*
* @param V1\DeprecateNamespaceRequest $arg
* @param ContextInterface|null $ctx
* @return V1\DeprecateNamespaceResponse
* @throws ServiceClientException
*/
- public function DeprecateNamespace(
- V1\DeprecateNamespaceRequest $arg,
- ContextInterface $ctx = null
- ): V1\DeprecateNamespaceResponse {
- return $this->invoke('DeprecateNamespace', $arg, $ctx);
+ public function DeprecateNamespace(V1\DeprecateNamespaceRequest $arg, ContextInterface $ctx = null) : V1\DeprecateNamespaceResponse
+ {
+ return $this->invoke("DeprecateNamespace", $arg, $ctx);
}
/**
- * StartWorkflowExecution starts a new long running workflow instance. It will
- * create the instance with
- * 'WorkflowExecutionStarted' event in history and also schedule the first
- * WorkflowTask for the worker to make the
- * first command for this instance. It will return
- * 'WorkflowExecutionAlreadyStartedFailure', if an instance already
- * exists with same workflowId.
+ * StartWorkflowExecution starts a new workflow execution.
+ *
+ * It will create the execution with a `WORKFLOW_EXECUTION_STARTED` event in its
+ * history and
+ * also schedule the first workflow task. Returns
+ * `WorkflowExecutionAlreadyStarted`, if an
+ * instance already exists with same workflow id.
*
* @param V1\StartWorkflowExecutionRequest $arg
* @param ContextInterface|null $ctx
* @return V1\StartWorkflowExecutionResponse
* @throws ServiceClientException
*/
- public function StartWorkflowExecution(
- V1\StartWorkflowExecutionRequest $arg,
- ContextInterface $ctx = null
- ): V1\StartWorkflowExecutionResponse {
- return $this->invoke('StartWorkflowExecution', $arg, $ctx);
+ public function StartWorkflowExecution(V1\StartWorkflowExecutionRequest $arg, ContextInterface $ctx = null) : V1\StartWorkflowExecutionResponse
+ {
+ return $this->invoke("StartWorkflowExecution", $arg, $ctx);
}
/**
* GetWorkflowExecutionHistory returns the history of specified workflow execution.
- * It fails with 'NotFoundFailure' if specified workflow
- * execution in unknown to the service.
+ * Fails with
+ * `NotFound` if the specified workflow execution is unknown to the service.
*
* @param V1\GetWorkflowExecutionHistoryRequest $arg
* @param ContextInterface|null $ctx
* @return V1\GetWorkflowExecutionHistoryResponse
* @throws ServiceClientException
*/
- public function GetWorkflowExecutionHistory(
- V1\GetWorkflowExecutionHistoryRequest $arg,
- ContextInterface $ctx = null
- ): V1\GetWorkflowExecutionHistoryResponse {
- return $this->invoke('GetWorkflowExecutionHistory', $arg, $ctx);
+ public function GetWorkflowExecutionHistory(V1\GetWorkflowExecutionHistoryRequest $arg, ContextInterface $ctx = null) : V1\GetWorkflowExecutionHistoryResponse
+ {
+ return $this->invoke("GetWorkflowExecutionHistory", $arg, $ctx);
}
/**
- * PollWorkflowTaskQueue is called by application worker to process WorkflowTask
- * from a specific task queue. A
- * WorkflowTask is dispatched to callers for active workflow executions, with
- * pending workflow tasks.
- * Application is then expected to call 'RespondWorkflowTaskCompleted' API when it
- * is done processing the WorkflowTask.
- * It will also create a 'WorkflowTaskStarted' event in the history for that
- * session before handing off WorkflowTask to
- * application worker.
+ * GetWorkflowExecutionHistoryReverse returns the history of specified workflow
+ * execution in reverse
+ * order (starting from last event). Fails with`NotFound` if the specified workflow
+ * execution is
+ * unknown to the service.
+ *
+ * @param
+ * V1\GetWorkflowExecutionHistoryReverseRequest $arg
+ * @param ContextInterface|null $ctx
+ * @return
+ * V1\GetWorkflowExecutionHistoryReverseResponse
+ * @throws ServiceClientException
+ */
+ public function GetWorkflowExecutionHistoryReverse(V1\GetWorkflowExecutionHistoryReverseRequest $arg, ContextInterface $ctx = null) : V1\GetWorkflowExecutionHistoryReverseResponse
+ {
+ return $this->invoke("GetWorkflowExecutionHistoryReverse", $arg, $ctx);
+ }
+
+ /**
+ * PollWorkflowTaskQueue is called by workers to make progress on workflows.
+ *
+ * A WorkflowTask is dispatched to callers for active workflow executions with
+ * pending workflow
+ * tasks. The worker is expected to call `RespondWorkflowTaskCompleted` when it is
+ * done
+ * processing the task. The service will create a `WorkflowTaskStarted` event in
+ * the history for
+ * this task before handing it to the worker.
*
* @param V1\PollWorkflowTaskQueueRequest $arg
* @param ContextInterface|null $ctx
* @return V1\PollWorkflowTaskQueueResponse
* @throws ServiceClientException
*/
- public function PollWorkflowTaskQueue(
- V1\PollWorkflowTaskQueueRequest $arg,
- ContextInterface $ctx = null
- ): V1\PollWorkflowTaskQueueResponse {
- return $this->invoke('PollWorkflowTaskQueue', $arg, $ctx);
+ public function PollWorkflowTaskQueue(V1\PollWorkflowTaskQueueRequest $arg, ContextInterface $ctx = null) : V1\PollWorkflowTaskQueueResponse
+ {
+ return $this->invoke("PollWorkflowTaskQueue", $arg, $ctx);
}
/**
- * RespondWorkflowTaskCompleted is called by application worker to complete a
- * WorkflowTask handed as a result of
- * 'PollWorkflowTaskQueue' API call. Completing a WorkflowTask will result in new
- * events for the workflow execution and
- * potentially new ActivityTask being created for corresponding commands. It will
- * also create a WorkflowTaskCompleted
- * event in the history for that session. Use the 'taskToken' provided as response
- * of PollWorkflowTaskQueue API call
- * for completing the WorkflowTask.
- * The response could contain a new workflow task if there is one or if the request
- * asking for one.
+ * RespondWorkflowTaskCompleted is called by workers to successfully complete
+ * workflow tasks
+ * they received from `PollWorkflowTaskQueue`.
+ *
+ * Completing a WorkflowTask will write a `WORKFLOW_TASK_COMPLETED` event to the
+ * workflow's
+ * history, along with events corresponding to whatever commands the SDK generated
+ * while
+ * executing the task (ex timer started, activity task scheduled, etc).
*
* @param V1\RespondWorkflowTaskCompletedRequest $arg
* @param ContextInterface|null $ctx
* @return V1\RespondWorkflowTaskCompletedResponse
* @throws ServiceClientException
*/
- public function RespondWorkflowTaskCompleted(
- V1\RespondWorkflowTaskCompletedRequest $arg,
- ContextInterface $ctx = null
- ): V1\RespondWorkflowTaskCompletedResponse {
- return $this->invoke('RespondWorkflowTaskCompleted', $arg, $ctx);
+ public function RespondWorkflowTaskCompleted(V1\RespondWorkflowTaskCompletedRequest $arg, ContextInterface $ctx = null) : V1\RespondWorkflowTaskCompletedResponse
+ {
+ return $this->invoke("RespondWorkflowTaskCompleted", $arg, $ctx);
}
/**
- * RespondWorkflowTaskFailed is called by application worker to indicate failure.
- * This results in
- * WorkflowTaskFailedEvent written to the history and a new WorkflowTask created.
- * This API can be used by client to
- * either clear sticky task queue or report any panics during WorkflowTask
- * processing. Temporal will only append first
- * WorkflowTaskFailed event to the history of workflow execution for consecutive
- * failures.
+ * RespondWorkflowTaskFailed is called by workers to indicate the processing of a
+ * workflow task
+ * failed.
+ *
+ * This results in a `WORKFLOW_TASK_FAILED` event written to the history, and a new
+ * workflow
+ * task will be scheduled. This API can be used to report unhandled failures
+ * resulting from
+ * applying the workflow task.
+ *
+ * Temporal will only append first WorkflowTaskFailed event to the history of
+ * workflow execution
+ * for consecutive failures.
*
* @param V1\RespondWorkflowTaskFailedRequest $arg
* @param ContextInterface|null $ctx
* @return V1\RespondWorkflowTaskFailedResponse
* @throws ServiceClientException
*/
- public function RespondWorkflowTaskFailed(
- V1\RespondWorkflowTaskFailedRequest $arg,
- ContextInterface $ctx = null
- ): V1\RespondWorkflowTaskFailedResponse {
- return $this->invoke('RespondWorkflowTaskFailed', $arg, $ctx);
+ public function RespondWorkflowTaskFailed(V1\RespondWorkflowTaskFailedRequest $arg, ContextInterface $ctx = null) : V1\RespondWorkflowTaskFailedResponse
+ {
+ return $this->invoke("RespondWorkflowTaskFailed", $arg, $ctx);
}
/**
- * PollActivityTaskQueue is called by application worker to process ActivityTask
- * from a specific task queue. ActivityTask
- * is dispatched to callers whenever a ScheduleTask command is made for a workflow
- * execution.
- * Application is expected to call 'RespondActivityTaskCompleted' or
- * 'RespondActivityTaskFailed' once it is done
+ * PollActivityTaskQueue is called by workers to process activity tasks from a
+ * specific task
+ * queue.
+ *
+ * The worker is expected to call one of the `RespondActivityTaskXXX` methods when
+ * it is done
* processing the task.
- * Application also needs to call 'RecordActivityTaskHeartbeat' API within
- * 'heartbeatTimeoutSeconds' interval to
- * prevent the task from getting timed out. An event 'ActivityTaskStarted' event
- * is also written to workflow execution
- * history before the ActivityTask is dispatched to application worker.
+ *
+ * An activity task is dispatched whenever a `SCHEDULE_ACTIVITY_TASK` command is
+ * produced during
+ * workflow execution. An in memory `ACTIVITY_TASK_STARTED` event is written to
+ * mutable state
+ * before the task is dispatched to the worker. The started event, and the final
+ * event
+ * (`ACTIVITY_TASK_COMPLETED` / `ACTIVITY_TASK_FAILED` / `ACTIVITY_TASK_TIMED_OUT`)
+ * will both be
+ * written permanently to Workflow execution history when Activity is finished.
+ * This is done to
+ * avoid writing many events in the case of a failure/retry loop.
*
* @param V1\PollActivityTaskQueueRequest $arg
* @param ContextInterface|null $ctx
* @return V1\PollActivityTaskQueueResponse
* @throws ServiceClientException
*/
- public function PollActivityTaskQueue(
- V1\PollActivityTaskQueueRequest $arg,
- ContextInterface $ctx = null
- ): V1\PollActivityTaskQueueResponse {
- return $this->invoke('PollActivityTaskQueue', $arg, $ctx);
+ public function PollActivityTaskQueue(V1\PollActivityTaskQueueRequest $arg, ContextInterface $ctx = null) : V1\PollActivityTaskQueueResponse
+ {
+ return $this->invoke("PollActivityTaskQueue", $arg, $ctx);
}
/**
- * RecordActivityTaskHeartbeat is called by application worker while it is
- * processing an ActivityTask. If worker fails
- * to heartbeat within 'heartbeatTimeoutSeconds' interval for the ActivityTask,
- * then it will be marked as timedout and
- * 'ActivityTaskTimedOut' event will be written to the workflow history. Calling
- * 'RecordActivityTaskHeartbeat' will
- * fail with 'NotFoundFailure' in such situations. Use the 'taskToken' provided as
- * response of
- * PollActivityTaskQueue API call for heart beating.
+ * RecordActivityTaskHeartbeat is optionally called by workers while they execute
+ * activities.
+ *
+ * If worker fails to heartbeat within the `heartbeat_timeout` interval for the
+ * activity task,
+ * then it will be marked as timed out and an `ACTIVITY_TASK_TIMED_OUT` event will
+ * be written to
+ * the workflow history. Calling `RecordActivityTaskHeartbeat` will fail with
+ * `NotFound` in
+ * such situations, in that event, the SDK should request cancellation of the
+ * activity.
*
* @param V1\RecordActivityTaskHeartbeatRequest $arg
* @param ContextInterface|null $ctx
* @return V1\RecordActivityTaskHeartbeatResponse
* @throws ServiceClientException
*/
- public function RecordActivityTaskHeartbeat(
- V1\RecordActivityTaskHeartbeatRequest $arg,
- ContextInterface $ctx = null
- ): V1\RecordActivityTaskHeartbeatResponse {
- return $this->invoke('RecordActivityTaskHeartbeat', $arg, $ctx);
+ public function RecordActivityTaskHeartbeat(V1\RecordActivityTaskHeartbeatRequest $arg, ContextInterface $ctx = null) : V1\RecordActivityTaskHeartbeatResponse
+ {
+ return $this->invoke("RecordActivityTaskHeartbeat", $arg, $ctx);
}
/**
+ * See `RecordActivityTaskHeartbeat`. This version allows clients to record
+ * heartbeats by
+ * namespace/workflow id/activity id instead of task token.
+ *
* (-- api-linter: core::0136::prepositions=disabled
* aip.dev/not-precedent: "By" is used to indicate request type. --)
- * RecordActivityTaskHeartbeatById is called by application worker while it is
- * processing an ActivityTask. If worker fails
- * to heartbeat within 'heartbeatTimeoutSeconds' interval for the ActivityTask,
- * then it will be marked as timed out and
- * 'ActivityTaskTimedOut' event will be written to the workflow history. Calling
- * 'RecordActivityTaskHeartbeatById' will
- * fail with 'NotFoundFailure' in such situations. Instead of using 'taskToken'
- * like in RecordActivityTaskHeartbeat,
- * use Namespace, WorkflowId and ActivityId
- *
- * @param V1\RecordActivityTaskHeartbeatByIdRequest $arg
+ *
+ * @param V1\RecordActivityTaskHeartbeatByIdRequest
+ * $arg
* @param ContextInterface|null $ctx
* @return V1\RecordActivityTaskHeartbeatByIdResponse
* @throws ServiceClientException
*/
- public function RecordActivityTaskHeartbeatById(
- V1\RecordActivityTaskHeartbeatByIdRequest $arg,
- ContextInterface $ctx = null
- ): V1\RecordActivityTaskHeartbeatByIdResponse {
- return $this->invoke('RecordActivityTaskHeartbeatById', $arg, $ctx);
+ public function RecordActivityTaskHeartbeatById(V1\RecordActivityTaskHeartbeatByIdRequest $arg, ContextInterface $ctx = null) : V1\RecordActivityTaskHeartbeatByIdResponse
+ {
+ return $this->invoke("RecordActivityTaskHeartbeatById", $arg, $ctx);
}
/**
- * RespondActivityTaskCompleted is called by application worker when it is done
- * processing an ActivityTask. It will
- * result in a new 'ActivityTaskCompleted' event being written to the workflow
- * history and a new WorkflowTask
- * created for the workflow so new commands could be made. Use the 'taskToken'
- * provided as response of
- * PollActivityTaskQueue API call for completion. It fails with 'NotFoundFailure'
- * if the taskToken is not valid
- * anymore due to activity timeout.
+ * RespondActivityTaskCompleted is called by workers when they successfully
+ * complete an activity
+ * task.
+ *
+ * This results in a new `ACTIVITY_TASK_COMPLETED` event being written to the
+ * workflow history
+ * and a new workflow task created for the workflow. Fails with `NotFound` if the
+ * task token is
+ * no longer valid due to activity timeout, already being completed, or never
+ * having existed.
*
* @param V1\RespondActivityTaskCompletedRequest $arg
* @param ContextInterface|null $ctx
* @return V1\RespondActivityTaskCompletedResponse
* @throws ServiceClientException
*/
- public function RespondActivityTaskCompleted(
- V1\RespondActivityTaskCompletedRequest $arg,
- ContextInterface $ctx = null
- ): V1\RespondActivityTaskCompletedResponse {
- return $this->invoke('RespondActivityTaskCompleted', $arg, $ctx);
+ public function RespondActivityTaskCompleted(V1\RespondActivityTaskCompletedRequest $arg, ContextInterface $ctx = null) : V1\RespondActivityTaskCompletedResponse
+ {
+ return $this->invoke("RespondActivityTaskCompleted", $arg, $ctx);
}
/**
+ * See `RecordActivityTaskCompleted`. This version allows clients to record
+ * completions by
+ * namespace/workflow id/activity id instead of task token.
+ *
* (-- api-linter: core::0136::prepositions=disabled
* aip.dev/not-precedent: "By" is used to indicate request type. --)
- * RespondActivityTaskCompletedById is called by application worker when it is done
- * processing an ActivityTask.
- * It will result in a new 'ActivityTaskCompleted' event being written to the
- * workflow history and a new WorkflowTask
- * created for the workflow so new commands could be made. Similar to
- * RespondActivityTaskCompleted but use Namespace,
- * WorkflowId and ActivityId instead of 'taskToken' for completion. It fails with
- * 'NotFoundFailure'
- * if the these Ids are not valid anymore due to activity timeout.
*
- * @param V1\RespondActivityTaskCompletedByIdRequest $arg
+ * @param V1\RespondActivityTaskCompletedByIdRequest
+ * $arg
* @param ContextInterface|null $ctx
- * @return V1\RespondActivityTaskCompletedByIdResponse
+ * @return
+ * V1\RespondActivityTaskCompletedByIdResponse
* @throws ServiceClientException
*/
- public function RespondActivityTaskCompletedById(
- V1\RespondActivityTaskCompletedByIdRequest $arg,
- ContextInterface $ctx = null
- ): V1\RespondActivityTaskCompletedByIdResponse {
- return $this->invoke('RespondActivityTaskCompletedById', $arg, $ctx);
+ public function RespondActivityTaskCompletedById(V1\RespondActivityTaskCompletedByIdRequest $arg, ContextInterface $ctx = null) : V1\RespondActivityTaskCompletedByIdResponse
+ {
+ return $this->invoke("RespondActivityTaskCompletedById", $arg, $ctx);
}
/**
- * RespondActivityTaskFailed is called by application worker when it is done
- * processing an ActivityTask. It will
- * result in a new 'ActivityTaskFailed' event being written to the workflow history
- * and a new WorkflowTask
- * created for the workflow instance so new commands could be made. Use the
- * 'taskToken' provided as response of
- * PollActivityTaskQueue API call for completion. It fails with 'NotFoundFailure'
- * if the taskToken is not valid
- * anymore due to activity timeout.
+ * RespondActivityTaskFailed is called by workers when processing an activity task
+ * fails.
+ *
+ * This results in a new `ACTIVITY_TASK_FAILED` event being written to the workflow
+ * history and
+ * a new workflow task created for the workflow. Fails with `NotFound` if the task
+ * token is no
+ * longer valid due to activity timeout, already being completed, or never having
+ * existed.
*
* @param V1\RespondActivityTaskFailedRequest $arg
* @param ContextInterface|null $ctx
* @return V1\RespondActivityTaskFailedResponse
* @throws ServiceClientException
*/
- public function RespondActivityTaskFailed(
- V1\RespondActivityTaskFailedRequest $arg,
- ContextInterface $ctx = null
- ): V1\RespondActivityTaskFailedResponse {
- return $this->invoke('RespondActivityTaskFailed', $arg, $ctx);
+ public function RespondActivityTaskFailed(V1\RespondActivityTaskFailedRequest $arg, ContextInterface $ctx = null) : V1\RespondActivityTaskFailedResponse
+ {
+ return $this->invoke("RespondActivityTaskFailed", $arg, $ctx);
}
/**
+ * See `RecordActivityTaskFailed`. This version allows clients to record failures
+ * by
+ * namespace/workflow id/activity id instead of task token.
+ *
* (-- api-linter: core::0136::prepositions=disabled
* aip.dev/not-precedent: "By" is used to indicate request type. --)
- * RespondActivityTaskFailedById is called by application worker when it is done
- * processing an ActivityTask.
- * It will result in a new 'ActivityTaskFailed' event being written to the workflow
- * history and a new WorkflowTask
- * created for the workflow instance so new commands could be made. Similar to
- * RespondActivityTaskFailed but use
- * Namespace, WorkflowId and ActivityId instead of 'taskToken' for completion. It
- * fails with 'NotFoundFailure'
- * if the these Ids are not valid anymore due to activity timeout.
- *
- * @param V1\RespondActivityTaskFailedByIdRequest $arg
+ *
+ * @param V1\RespondActivityTaskFailedByIdRequest
+ * $arg
* @param ContextInterface|null $ctx
* @return V1\RespondActivityTaskFailedByIdResponse
* @throws ServiceClientException
*/
- public function RespondActivityTaskFailedById(
- V1\RespondActivityTaskFailedByIdRequest $arg,
- ContextInterface $ctx = null
- ): V1\RespondActivityTaskFailedByIdResponse {
- return $this->invoke('RespondActivityTaskFailedById', $arg, $ctx);
+ public function RespondActivityTaskFailedById(V1\RespondActivityTaskFailedByIdRequest $arg, ContextInterface $ctx = null) : V1\RespondActivityTaskFailedByIdResponse
+ {
+ return $this->invoke("RespondActivityTaskFailedById", $arg, $ctx);
}
/**
- * RespondActivityTaskCanceled is called by application worker when it is
- * successfully canceled an ActivityTask. It will
- * result in a new 'ActivityTaskCanceled' event being written to the workflow
- * history and a new WorkflowTask
- * created for the workflow instance so new commands could be made. Use the
- * 'taskToken' provided as response of
- * PollActivityTaskQueue API call for completion. It fails with 'NotFoundFailure'
- * if the taskToken is not valid
- * anymore due to activity timeout.
+ * RespondActivityTaskFailed is called by workers when processing an activity task
+ * fails.
+ *
+ * This results in a new `ACTIVITY_TASK_CANCELED` event being written to the
+ * workflow history
+ * and a new workflow task created for the workflow. Fails with `NotFound` if the
+ * task token is
+ * no longer valid due to activity timeout, already being completed, or never
+ * having existed.
*
* @param V1\RespondActivityTaskCanceledRequest $arg
* @param ContextInterface|null $ctx
* @return V1\RespondActivityTaskCanceledResponse
* @throws ServiceClientException
*/
- public function RespondActivityTaskCanceled(
- V1\RespondActivityTaskCanceledRequest $arg,
- ContextInterface $ctx = null
- ): V1\RespondActivityTaskCanceledResponse {
- return $this->invoke('RespondActivityTaskCanceled', $arg, $ctx);
+ public function RespondActivityTaskCanceled(V1\RespondActivityTaskCanceledRequest $arg, ContextInterface $ctx = null) : V1\RespondActivityTaskCanceledResponse
+ {
+ return $this->invoke("RespondActivityTaskCanceled", $arg, $ctx);
}
/**
+ * See `RecordActivityTaskCanceled`. This version allows clients to record failures
+ * by
+ * namespace/workflow id/activity id instead of task token.
+ *
* (-- api-linter: core::0136::prepositions=disabled
* aip.dev/not-precedent: "By" is used to indicate request type. --)
- * RespondActivityTaskCanceledById is called by application worker when it is
- * successfully canceled an ActivityTask.
- * It will result in a new 'ActivityTaskCanceled' event being written to the
- * workflow history and a new WorkflowTask
- * created for the workflow instance so new commands could be made. Similar to
- * RespondActivityTaskCanceled but use
- * Namespace, WorkflowId and ActivityId instead of 'taskToken' for completion. It
- * fails with 'NotFoundFailure'
- * if the these Ids are not valid anymore due to activity timeout.
- *
- * @param V1\RespondActivityTaskCanceledByIdRequest $arg
+ *
+ * @param V1\RespondActivityTaskCanceledByIdRequest
+ * $arg
* @param ContextInterface|null $ctx
* @return V1\RespondActivityTaskCanceledByIdResponse
* @throws ServiceClientException
*/
- public function RespondActivityTaskCanceledById(
- V1\RespondActivityTaskCanceledByIdRequest $arg,
- ContextInterface $ctx = null
- ): V1\RespondActivityTaskCanceledByIdResponse {
- return $this->invoke('RespondActivityTaskCanceledById', $arg, $ctx);
+ public function RespondActivityTaskCanceledById(V1\RespondActivityTaskCanceledByIdRequest $arg, ContextInterface $ctx = null) : V1\RespondActivityTaskCanceledByIdResponse
+ {
+ return $this->invoke("RespondActivityTaskCanceledById", $arg, $ctx);
}
/**
- * RequestCancelWorkflowExecution is called by application worker when it wants to
- * request cancellation of a workflow instance.
- * It will result in a new 'WorkflowExecutionCancelRequested' event being written
- * to the workflow history and a new WorkflowTask
- * created for the workflow instance so new commands could be made. It fails with
- * 'NotFoundFailure' if the workflow is not valid
- * anymore due to completion or doesn't exist.
+ * RequestCancelWorkflowExecution is called by workers when they want to request
+ * cancellation of
+ * a workflow execution.
+ *
+ * This result in a new `WORKFLOW_EXECUTION_CANCEL_REQUESTED` event being written
+ * to the
+ * workflow history and a new workflow task created for the workflow. Fails with
+ * `NotFound` if
+ * the workflow is already completed or doesn't exist.
*
- * @param V1\RequestCancelWorkflowExecutionRequest $arg
+ * @param V1\RequestCancelWorkflowExecutionRequest
+ * $arg
* @param ContextInterface|null $ctx
* @return V1\RequestCancelWorkflowExecutionResponse
* @throws ServiceClientException
*/
- public function RequestCancelWorkflowExecution(
- V1\RequestCancelWorkflowExecutionRequest $arg,
- ContextInterface $ctx = null
- ): V1\RequestCancelWorkflowExecutionResponse {
- return $this->invoke('RequestCancelWorkflowExecution', $arg, $ctx);
+ public function RequestCancelWorkflowExecution(V1\RequestCancelWorkflowExecutionRequest $arg, ContextInterface $ctx = null) : V1\RequestCancelWorkflowExecutionResponse
+ {
+ return $this->invoke("RequestCancelWorkflowExecution", $arg, $ctx);
}
/**
- * SignalWorkflowExecution is used to send a signal event to running workflow
- * execution. This results in
- * WorkflowExecutionSignaled event recorded in the history and a workflow task
- * being created for the execution.
+ * SignalWorkflowExecution is used to send a signal to a running workflow
+ * execution.
+ *
+ * This results in a `WORKFLOW_EXECUTION_SIGNALED` event recorded in the history
+ * and a workflow
+ * task being created for the execution.
*
* @param V1\SignalWorkflowExecutionRequest $arg
* @param ContextInterface|null $ctx
* @return V1\SignalWorkflowExecutionResponse
* @throws ServiceClientException
*/
- public function SignalWorkflowExecution(
- V1\SignalWorkflowExecutionRequest $arg,
- ContextInterface $ctx = null
- ): V1\SignalWorkflowExecutionResponse {
- return $this->invoke('SignalWorkflowExecution', $arg, $ctx);
+ public function SignalWorkflowExecution(V1\SignalWorkflowExecutionRequest $arg, ContextInterface $ctx = null) : V1\SignalWorkflowExecutionResponse
+ {
+ return $this->invoke("SignalWorkflowExecution", $arg, $ctx);
}
/**
+ * SignalWithStartWorkflowExecution is used to ensure a signal is sent to a
+ * workflow, even if
+ * it isn't yet started.
+ *
+ * If the workflow is running, a `WORKFLOW_EXECUTION_SIGNALED` event is recorded in
+ * the history
+ * and a workflow task is generated.
+ *
+ * If the workflow is not running or not found, then the workflow is created with
+ * `WORKFLOW_EXECUTION_STARTED` and `WORKFLOW_EXECUTION_SIGNALED` events in its
+ * history, and a
+ * workflow task is generated.
+ *
* (-- api-linter: core::0136::prepositions=disabled
* aip.dev/not-precedent: "With" is used to indicate combined operation. --)
- * SignalWithStartWorkflowExecution is used to ensure sending signal to a workflow.
- * If the workflow is running, this results in WorkflowExecutionSignaled event
- * being recorded in the history
- * and a workflow task being created for the execution.
- * If the workflow is not running or not found, this results in
- * WorkflowExecutionStarted and WorkflowExecutionSignaled
- * events being recorded in history, and a workflow task being created for the
- * execution
*
- * @param V1\SignalWithStartWorkflowExecutionRequest $arg
+ * @param V1\SignalWithStartWorkflowExecutionRequest
+ * $arg
* @param ContextInterface|null $ctx
- * @return V1\SignalWithStartWorkflowExecutionResponse
+ * @return
+ * V1\SignalWithStartWorkflowExecutionResponse
* @throws ServiceClientException
*/
- public function SignalWithStartWorkflowExecution(
- V1\SignalWithStartWorkflowExecutionRequest $arg,
- ContextInterface $ctx = null
- ): V1\SignalWithStartWorkflowExecutionResponse {
- return $this->invoke('SignalWithStartWorkflowExecution', $arg, $ctx);
+ public function SignalWithStartWorkflowExecution(V1\SignalWithStartWorkflowExecutionRequest $arg, ContextInterface $ctx = null) : V1\SignalWithStartWorkflowExecutionResponse
+ {
+ return $this->invoke("SignalWithStartWorkflowExecution", $arg, $ctx);
}
/**
- * ResetWorkflowExecution reset an existing workflow execution to
- * WorkflowTaskCompleted event(exclusive).
- * And it will immediately terminating the current execution instance.
+ * ResetWorkflowExecution will reset an existing workflow execution to a specified
+ * `WORKFLOW_TASK_COMPLETED` event (exclusive). It will immediately terminate the
+ * current
+ * execution instance.
+ * TODO: Does exclusive here mean *just* the completed event, or also WFT started?
+ * Otherwise the task is doomed to time out?
*
* @param V1\ResetWorkflowExecutionRequest $arg
* @param ContextInterface|null $ctx
* @return V1\ResetWorkflowExecutionResponse
* @throws ServiceClientException
*/
- public function ResetWorkflowExecution(
- V1\ResetWorkflowExecutionRequest $arg,
- ContextInterface $ctx = null
- ): V1\ResetWorkflowExecutionResponse {
- return $this->invoke('ResetWorkflowExecution', $arg, $ctx);
+ public function ResetWorkflowExecution(V1\ResetWorkflowExecutionRequest $arg, ContextInterface $ctx = null) : V1\ResetWorkflowExecutionResponse
+ {
+ return $this->invoke("ResetWorkflowExecution", $arg, $ctx);
}
/**
* TerminateWorkflowExecution terminates an existing workflow execution by
- * recording WorkflowExecutionTerminated event
- * in the history and immediately terminating the execution instance.
+ * recording a
+ * `WORKFLOW_EXECUTION_TERMINATED` event in the history and immediately terminating
+ * the
+ * execution instance.
*
* @param V1\TerminateWorkflowExecutionRequest $arg
* @param ContextInterface|null $ctx
* @return V1\TerminateWorkflowExecutionResponse
* @throws ServiceClientException
*/
- public function TerminateWorkflowExecution(
- V1\TerminateWorkflowExecutionRequest $arg,
- ContextInterface $ctx = null
- ): V1\TerminateWorkflowExecutionResponse {
- return $this->invoke('TerminateWorkflowExecution', $arg, $ctx);
+ public function TerminateWorkflowExecution(V1\TerminateWorkflowExecutionRequest $arg, ContextInterface $ctx = null) : V1\TerminateWorkflowExecutionResponse
+ {
+ return $this->invoke("TerminateWorkflowExecution", $arg, $ctx);
}
/**
@@ -542,11 +533,9 @@ public function TerminateWorkflowExecution(
* @return V1\ListOpenWorkflowExecutionsResponse
* @throws ServiceClientException
*/
- public function ListOpenWorkflowExecutions(
- V1\ListOpenWorkflowExecutionsRequest $arg,
- ContextInterface $ctx = null
- ): V1\ListOpenWorkflowExecutionsResponse {
- return $this->invoke('ListOpenWorkflowExecutions', $arg, $ctx);
+ public function ListOpenWorkflowExecutions(V1\ListOpenWorkflowExecutionsRequest $arg, ContextInterface $ctx = null) : V1\ListOpenWorkflowExecutionsResponse
+ {
+ return $this->invoke("ListOpenWorkflowExecutions", $arg, $ctx);
}
/**
@@ -558,11 +547,9 @@ public function ListOpenWorkflowExecutions(
* @return V1\ListClosedWorkflowExecutionsResponse
* @throws ServiceClientException
*/
- public function ListClosedWorkflowExecutions(
- V1\ListClosedWorkflowExecutionsRequest $arg,
- ContextInterface $ctx = null
- ): V1\ListClosedWorkflowExecutionsResponse {
- return $this->invoke('ListClosedWorkflowExecutions', $arg, $ctx);
+ public function ListClosedWorkflowExecutions(V1\ListClosedWorkflowExecutionsRequest $arg, ContextInterface $ctx = null) : V1\ListClosedWorkflowExecutionsResponse
+ {
+ return $this->invoke("ListClosedWorkflowExecutions", $arg, $ctx);
}
/**
@@ -574,27 +561,24 @@ public function ListClosedWorkflowExecutions(
* @return V1\ListWorkflowExecutionsResponse
* @throws ServiceClientException
*/
- public function ListWorkflowExecutions(
- V1\ListWorkflowExecutionsRequest $arg,
- ContextInterface $ctx = null
- ): V1\ListWorkflowExecutionsResponse {
- return $this->invoke('ListWorkflowExecutions', $arg, $ctx);
+ public function ListWorkflowExecutions(V1\ListWorkflowExecutionsRequest $arg, ContextInterface $ctx = null) : V1\ListWorkflowExecutionsResponse
+ {
+ return $this->invoke("ListWorkflowExecutions", $arg, $ctx);
}
/**
* ListArchivedWorkflowExecutions is a visibility API to list archived workflow
* executions in a specific namespace.
*
- * @param V1\ListArchivedWorkflowExecutionsRequest $arg
+ * @param V1\ListArchivedWorkflowExecutionsRequest
+ * $arg
* @param ContextInterface|null $ctx
* @return V1\ListArchivedWorkflowExecutionsResponse
* @throws ServiceClientException
*/
- public function ListArchivedWorkflowExecutions(
- V1\ListArchivedWorkflowExecutionsRequest $arg,
- ContextInterface $ctx = null
- ): V1\ListArchivedWorkflowExecutionsResponse {
- return $this->invoke('ListArchivedWorkflowExecutions', $arg, $ctx);
+ public function ListArchivedWorkflowExecutions(V1\ListArchivedWorkflowExecutionsRequest $arg, ContextInterface $ctx = null) : V1\ListArchivedWorkflowExecutionsResponse
+ {
+ return $this->invoke("ListArchivedWorkflowExecutions", $arg, $ctx);
}
/**
@@ -606,11 +590,9 @@ public function ListArchivedWorkflowExecutions(
* @return V1\ScanWorkflowExecutionsResponse
* @throws ServiceClientException
*/
- public function ScanWorkflowExecutions(
- V1\ScanWorkflowExecutionsRequest $arg,
- ContextInterface $ctx = null
- ): V1\ScanWorkflowExecutionsResponse {
- return $this->invoke('ScanWorkflowExecutions', $arg, $ctx);
+ public function ScanWorkflowExecutions(V1\ScanWorkflowExecutionsRequest $arg, ContextInterface $ctx = null) : V1\ScanWorkflowExecutionsResponse
+ {
+ return $this->invoke("ScanWorkflowExecutions", $arg, $ctx);
}
/**
@@ -622,11 +604,9 @@ public function ScanWorkflowExecutions(
* @return V1\CountWorkflowExecutionsResponse
* @throws ServiceClientException
*/
- public function CountWorkflowExecutions(
- V1\CountWorkflowExecutionsRequest $arg,
- ContextInterface $ctx = null
- ): V1\CountWorkflowExecutionsResponse {
- return $this->invoke('CountWorkflowExecutions', $arg, $ctx);
+ public function CountWorkflowExecutions(V1\CountWorkflowExecutionsRequest $arg, ContextInterface $ctx = null) : V1\CountWorkflowExecutionsResponse
+ {
+ return $this->invoke("CountWorkflowExecutions", $arg, $ctx);
}
/**
@@ -638,36 +618,37 @@ public function CountWorkflowExecutions(
* @return V1\GetSearchAttributesResponse
* @throws ServiceClientException
*/
- public function GetSearchAttributes(
- V1\GetSearchAttributesRequest $arg,
- ContextInterface $ctx = null
- ): V1\GetSearchAttributesResponse {
- return $this->invoke('GetSearchAttributes', $arg, $ctx);
+ public function GetSearchAttributes(V1\GetSearchAttributesRequest $arg, ContextInterface $ctx = null) : V1\GetSearchAttributesResponse
+ {
+ return $this->invoke("GetSearchAttributes", $arg, $ctx);
}
/**
- * RespondQueryTaskCompleted is called by application worker to complete a
- * QueryTask (which is a WorkflowTask for query)
- * as a result of 'PollWorkflowTaskQueue' API call. Completing a QueryTask will
- * unblock the client call to 'QueryWorkflow'
- * API and return the query result to client as a response to 'QueryWorkflow' API
- * call.
+ * RespondQueryTaskCompleted is called by workers to complete queries which were
+ * delivered on
+ * the `query` (not `queries`) field of a `PollWorkflowTaskQueueResponse`.
+ *
+ * Completing the query will unblock the corresponding client call to
+ * `QueryWorkflow` and return
+ * the query result a response.
*
* @param V1\RespondQueryTaskCompletedRequest $arg
* @param ContextInterface|null $ctx
* @return V1\RespondQueryTaskCompletedResponse
* @throws ServiceClientException
*/
- public function RespondQueryTaskCompleted(
- V1\RespondQueryTaskCompletedRequest $arg,
- ContextInterface $ctx = null
- ): V1\RespondQueryTaskCompletedResponse {
- return $this->invoke('RespondQueryTaskCompleted', $arg, $ctx);
+ public function RespondQueryTaskCompleted(V1\RespondQueryTaskCompletedRequest $arg, ContextInterface $ctx = null) : V1\RespondQueryTaskCompletedResponse
+ {
+ return $this->invoke("RespondQueryTaskCompleted", $arg, $ctx);
}
/**
- * ResetStickyTaskQueue resets the sticky task queue related information in mutable
- * state of a given workflow.
+ * ResetStickyTaskQueue resets the sticky task queue related information in the
+ * mutable state of
+ * a given workflow. This is prudent for workers to perform if a workflow has been
+ * paged out of
+ * their cache.
+ *
* Things cleared are:
* 1. StickyTaskQueue
* 2. StickyScheduleToStartTimeout
@@ -677,24 +658,22 @@ public function RespondQueryTaskCompleted(
* @return V1\ResetStickyTaskQueueResponse
* @throws ServiceClientException
*/
- public function ResetStickyTaskQueue(
- V1\ResetStickyTaskQueueRequest $arg,
- ContextInterface $ctx = null
- ): V1\ResetStickyTaskQueueResponse {
- return $this->invoke('ResetStickyTaskQueue', $arg, $ctx);
+ public function ResetStickyTaskQueue(V1\ResetStickyTaskQueueRequest $arg, ContextInterface $ctx = null) : V1\ResetStickyTaskQueueResponse
+ {
+ return $this->invoke("ResetStickyTaskQueue", $arg, $ctx);
}
/**
- * QueryWorkflow returns query result for a specified workflow execution
+ * QueryWorkflow requests a query be executed for a specified workflow execution.
*
* @param V1\QueryWorkflowRequest $arg
* @param ContextInterface|null $ctx
* @return V1\QueryWorkflowResponse
* @throws ServiceClientException
*/
- public function QueryWorkflow(V1\QueryWorkflowRequest $arg, ContextInterface $ctx = null): V1\QueryWorkflowResponse
+ public function QueryWorkflow(V1\QueryWorkflowRequest $arg, ContextInterface $ctx = null) : V1\QueryWorkflowResponse
{
- return $this->invoke('QueryWorkflow', $arg, $ctx);
+ return $this->invoke("QueryWorkflow", $arg, $ctx);
}
/**
@@ -706,28 +685,22 @@ public function QueryWorkflow(V1\QueryWorkflowRequest $arg, ContextInterface $ct
* @return V1\DescribeWorkflowExecutionResponse
* @throws ServiceClientException
*/
- public function DescribeWorkflowExecution(
- V1\DescribeWorkflowExecutionRequest $arg,
- ContextInterface $ctx = null
- ): V1\DescribeWorkflowExecutionResponse {
- return $this->invoke('DescribeWorkflowExecution', $arg, $ctx);
+ public function DescribeWorkflowExecution(V1\DescribeWorkflowExecutionRequest $arg, ContextInterface $ctx = null) : V1\DescribeWorkflowExecutionResponse
+ {
+ return $this->invoke("DescribeWorkflowExecution", $arg, $ctx);
}
/**
- * DescribeTaskQueue returns information about the target task queue, right now
- * this API returns the
- * pollers which polled this task queue in last few minutes.
+ * DescribeTaskQueue returns information about the target task queue.
*
* @param V1\DescribeTaskQueueRequest $arg
* @param ContextInterface|null $ctx
* @return V1\DescribeTaskQueueResponse
* @throws ServiceClientException
*/
- public function DescribeTaskQueue(
- V1\DescribeTaskQueueRequest $arg,
- ContextInterface $ctx = null
- ): V1\DescribeTaskQueueResponse {
- return $this->invoke('DescribeTaskQueue', $arg, $ctx);
+ public function DescribeTaskQueue(V1\DescribeTaskQueueRequest $arg, ContextInterface $ctx = null) : V1\DescribeTaskQueueResponse
+ {
+ return $this->invoke("DescribeTaskQueue", $arg, $ctx);
}
/**
@@ -738,11 +711,22 @@ public function DescribeTaskQueue(
* @return V1\GetClusterInfoResponse
* @throws ServiceClientException
*/
- public function GetClusterInfo(
- V1\GetClusterInfoRequest $arg,
- ContextInterface $ctx = null
- ): V1\GetClusterInfoResponse {
- return $this->invoke('GetClusterInfo', $arg, $ctx);
+ public function GetClusterInfo(V1\GetClusterInfoRequest $arg, ContextInterface $ctx = null) : V1\GetClusterInfoResponse
+ {
+ return $this->invoke("GetClusterInfo", $arg, $ctx);
+ }
+
+ /**
+ * GetSystemInfo returns information about the system.
+ *
+ * @param V1\GetSystemInfoRequest $arg
+ * @param ContextInterface|null $ctx
+ * @return V1\GetSystemInfoResponse
+ * @throws ServiceClientException
+ */
+ public function GetSystemInfo(V1\GetSystemInfoRequest $arg, ContextInterface $ctx = null) : V1\GetSystemInfoResponse
+ {
+ return $this->invoke("GetSystemInfo", $arg, $ctx);
}
/**
@@ -751,10 +735,9 @@ public function GetClusterInfo(
* @return V1\ListTaskQueuePartitionsResponse
* @throws ServiceClientException
*/
- public function ListTaskQueuePartitions(
- V1\ListTaskQueuePartitionsRequest $arg,
- ContextInterface $ctx = null
- ): V1\ListTaskQueuePartitionsResponse {
- return $this->invoke('ListTaskQueuePartitions', $arg, $ctx);
+ public function ListTaskQueuePartitions(V1\ListTaskQueuePartitionsRequest $arg, ContextInterface $ctx = null) : V1\ListTaskQueuePartitionsResponse
+ {
+ return $this->invoke("ListTaskQueuePartitions", $arg, $ctx);
}
}
+
diff --git a/src/Client/GRPC/ServiceClientInterface.php b/src/Client/GRPC/ServiceClientInterface.php
index 65fe06467..b07a96be9 100644
--- a/src/Client/GRPC/ServiceClientInterface.php
+++ b/src/Client/GRPC/ServiceClientInterface.php
@@ -1,5 +1,4 @@