@@ -34,7 +34,6 @@ import temporalio.api.common.v1.message_pb2
34
34
import temporalio .api .enums .v1 .command_type_pb2
35
35
import temporalio .api .enums .v1 .workflow_pb2
36
36
import temporalio .api .failure .v1 .message_pb2
37
- import temporalio .api .interaction .v1 .message_pb2
38
37
import temporalio .api .taskqueue .v1 .message_pb2
39
38
40
39
if sys .version_info >= (3 , 8 ):
@@ -855,83 +854,22 @@ global___StartChildWorkflowExecutionCommandAttributes = (
855
854
StartChildWorkflowExecutionCommandAttributes
856
855
)
857
856
858
- class AcceptWorkflowUpdateCommandAttributes (google .protobuf .message .Message ):
857
+ class ProtocolMessageCommandAttributes (google .protobuf .message .Message ):
859
858
DESCRIPTOR : google .protobuf .descriptor .Descriptor
860
859
861
- META_FIELD_NUMBER : builtins .int
862
- INPUT_FIELD_NUMBER : builtins .int
863
- @property
864
- def meta (self ) -> temporalio .api .interaction .v1 .message_pb2 .Meta : ...
865
- @property
866
- def input (self ) -> temporalio .api .interaction .v1 .message_pb2 .Input : ...
867
- def __init__ (
868
- self ,
869
- * ,
870
- meta : temporalio .api .interaction .v1 .message_pb2 .Meta | None = ...,
871
- input : temporalio .api .interaction .v1 .message_pb2 .Input | None = ...,
872
- ) -> None : ...
873
- def HasField (
874
- self , field_name : typing_extensions .Literal ["input" , b"input" , "meta" , b"meta" ]
875
- ) -> builtins .bool : ...
876
- def ClearField (
877
- self , field_name : typing_extensions .Literal ["input" , b"input" , "meta" , b"meta" ]
878
- ) -> None : ...
879
-
880
- global___AcceptWorkflowUpdateCommandAttributes = AcceptWorkflowUpdateCommandAttributes
881
-
882
- class CompleteWorkflowUpdateCommandAttributes (google .protobuf .message .Message ):
883
- DESCRIPTOR : google .protobuf .descriptor .Descriptor
884
-
885
- META_FIELD_NUMBER : builtins .int
886
- OUTPUT_FIELD_NUMBER : builtins .int
887
- @property
888
- def meta (self ) -> temporalio .api .interaction .v1 .message_pb2 .Meta : ...
889
- @property
890
- def output (self ) -> temporalio .api .interaction .v1 .message_pb2 .Output : ...
860
+ MESSAGE_ID_FIELD_NUMBER : builtins .int
861
+ message_id : builtins .str
862
+ """The message ID of the message to which this command is a pointer."""
891
863
def __init__ (
892
864
self ,
893
865
* ,
894
- meta : temporalio .api .interaction .v1 .message_pb2 .Meta | None = ...,
895
- output : temporalio .api .interaction .v1 .message_pb2 .Output | None = ...,
866
+ message_id : builtins .str = ...,
896
867
) -> None : ...
897
- def HasField (
898
- self ,
899
- field_name : typing_extensions .Literal ["meta" , b"meta" , "output" , b"output" ],
900
- ) -> builtins .bool : ...
901
868
def ClearField (
902
- self ,
903
- field_name : typing_extensions .Literal ["meta" , b"meta" , "output" , b"output" ],
869
+ self , field_name : typing_extensions .Literal ["message_id" , b"message_id" ]
904
870
) -> None : ...
905
871
906
- global___CompleteWorkflowUpdateCommandAttributes = (
907
- CompleteWorkflowUpdateCommandAttributes
908
- )
909
-
910
- class RejectWorkflowUpdateCommandAttributes (google .protobuf .message .Message ):
911
- DESCRIPTOR : google .protobuf .descriptor .Descriptor
912
-
913
- META_FIELD_NUMBER : builtins .int
914
- FAILURE_FIELD_NUMBER : builtins .int
915
- @property
916
- def meta (self ) -> temporalio .api .interaction .v1 .message_pb2 .Meta : ...
917
- @property
918
- def failure (self ) -> temporalio .api .failure .v1 .message_pb2 .Failure : ...
919
- def __init__ (
920
- self ,
921
- * ,
922
- meta : temporalio .api .interaction .v1 .message_pb2 .Meta | None = ...,
923
- failure : temporalio .api .failure .v1 .message_pb2 .Failure | None = ...,
924
- ) -> None : ...
925
- def HasField (
926
- self ,
927
- field_name : typing_extensions .Literal ["failure" , b"failure" , "meta" , b"meta" ],
928
- ) -> builtins .bool : ...
929
- def ClearField (
930
- self ,
931
- field_name : typing_extensions .Literal ["failure" , b"failure" , "meta" , b"meta" ],
932
- ) -> None : ...
933
-
934
- global___RejectWorkflowUpdateCommandAttributes = RejectWorkflowUpdateCommandAttributes
872
+ global___ProtocolMessageCommandAttributes = ProtocolMessageCommandAttributes
935
873
936
874
class Command (google .protobuf .message .Message ):
937
875
DESCRIPTOR : google .protobuf .descriptor .Descriptor
@@ -950,10 +888,8 @@ class Command(google.protobuf.message.Message):
950
888
START_CHILD_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER : builtins .int
951
889
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER : builtins .int
952
890
UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_COMMAND_ATTRIBUTES_FIELD_NUMBER : builtins .int
953
- ACCEPT_WORKFLOW_UPDATE_COMMAND_ATTRIBUTES_FIELD_NUMBER : builtins .int
954
- COMPLETE_WORKFLOW_UPDATE_COMMAND_ATTRIBUTES_FIELD_NUMBER : builtins .int
891
+ PROTOCOL_MESSAGE_COMMAND_ATTRIBUTES_FIELD_NUMBER : builtins .int
955
892
MODIFY_WORKFLOW_PROPERTIES_COMMAND_ATTRIBUTES_FIELD_NUMBER : builtins .int
956
- REJECT_WORKFLOW_UPDATE_COMMAND_ATTRIBUTES_FIELD_NUMBER : builtins .int
957
893
command_type : temporalio .api .enums .v1 .command_type_pb2 .CommandType .ValueType
958
894
@property
959
895
def schedule_activity_task_command_attributes (
@@ -1008,21 +944,14 @@ class Command(google.protobuf.message.Message):
1008
944
self ,
1009
945
) -> global___UpsertWorkflowSearchAttributesCommandAttributes : ...
1010
946
@property
1011
- def accept_workflow_update_command_attributes (
947
+ def protocol_message_command_attributes (
1012
948
self ,
1013
- ) -> global___AcceptWorkflowUpdateCommandAttributes : ...
1014
- @property
1015
- def complete_workflow_update_command_attributes (
1016
- self ,
1017
- ) -> global___CompleteWorkflowUpdateCommandAttributes : ...
949
+ ) -> global___ProtocolMessageCommandAttributes : ...
1018
950
@property
1019
951
def modify_workflow_properties_command_attributes (
1020
952
self ,
1021
- ) -> global___ModifyWorkflowPropertiesCommandAttributes : ...
1022
- @property
1023
- def reject_workflow_update_command_attributes (
1024
- self ,
1025
- ) -> global___RejectWorkflowUpdateCommandAttributes : ...
953
+ ) -> global___ModifyWorkflowPropertiesCommandAttributes :
954
+ """16 is available for use - it was used as part of a prototype that never made it into a release"""
1026
955
def __init__ (
1027
956
self ,
1028
957
* ,
@@ -1053,20 +982,14 @@ class Command(google.protobuf.message.Message):
1053
982
| None = ...,
1054
983
upsert_workflow_search_attributes_command_attributes : global___UpsertWorkflowSearchAttributesCommandAttributes
1055
984
| None = ...,
1056
- accept_workflow_update_command_attributes : global___AcceptWorkflowUpdateCommandAttributes
1057
- | None = ...,
1058
- complete_workflow_update_command_attributes : global___CompleteWorkflowUpdateCommandAttributes
985
+ protocol_message_command_attributes : global___ProtocolMessageCommandAttributes
1059
986
| None = ...,
1060
987
modify_workflow_properties_command_attributes : global___ModifyWorkflowPropertiesCommandAttributes
1061
988
| None = ...,
1062
- reject_workflow_update_command_attributes : global___RejectWorkflowUpdateCommandAttributes
1063
- | None = ...,
1064
989
) -> None : ...
1065
990
def HasField (
1066
991
self ,
1067
992
field_name : typing_extensions .Literal [
1068
- "accept_workflow_update_command_attributes" ,
1069
- b"accept_workflow_update_command_attributes" ,
1070
993
"attributes" ,
1071
994
b"attributes" ,
1072
995
"cancel_timer_command_attributes" ,
@@ -1075,18 +998,16 @@ class Command(google.protobuf.message.Message):
1075
998
b"cancel_workflow_execution_command_attributes" ,
1076
999
"complete_workflow_execution_command_attributes" ,
1077
1000
b"complete_workflow_execution_command_attributes" ,
1078
- "complete_workflow_update_command_attributes" ,
1079
- b"complete_workflow_update_command_attributes" ,
1080
1001
"continue_as_new_workflow_execution_command_attributes" ,
1081
1002
b"continue_as_new_workflow_execution_command_attributes" ,
1082
1003
"fail_workflow_execution_command_attributes" ,
1083
1004
b"fail_workflow_execution_command_attributes" ,
1084
1005
"modify_workflow_properties_command_attributes" ,
1085
1006
b"modify_workflow_properties_command_attributes" ,
1007
+ "protocol_message_command_attributes" ,
1008
+ b"protocol_message_command_attributes" ,
1086
1009
"record_marker_command_attributes" ,
1087
1010
b"record_marker_command_attributes" ,
1088
- "reject_workflow_update_command_attributes" ,
1089
- b"reject_workflow_update_command_attributes" ,
1090
1011
"request_cancel_activity_task_command_attributes" ,
1091
1012
b"request_cancel_activity_task_command_attributes" ,
1092
1013
"request_cancel_external_workflow_execution_command_attributes" ,
@@ -1106,8 +1027,6 @@ class Command(google.protobuf.message.Message):
1106
1027
def ClearField (
1107
1028
self ,
1108
1029
field_name : typing_extensions .Literal [
1109
- "accept_workflow_update_command_attributes" ,
1110
- b"accept_workflow_update_command_attributes" ,
1111
1030
"attributes" ,
1112
1031
b"attributes" ,
1113
1032
"cancel_timer_command_attributes" ,
@@ -1118,18 +1037,16 @@ class Command(google.protobuf.message.Message):
1118
1037
b"command_type" ,
1119
1038
"complete_workflow_execution_command_attributes" ,
1120
1039
b"complete_workflow_execution_command_attributes" ,
1121
- "complete_workflow_update_command_attributes" ,
1122
- b"complete_workflow_update_command_attributes" ,
1123
1040
"continue_as_new_workflow_execution_command_attributes" ,
1124
1041
b"continue_as_new_workflow_execution_command_attributes" ,
1125
1042
"fail_workflow_execution_command_attributes" ,
1126
1043
b"fail_workflow_execution_command_attributes" ,
1127
1044
"modify_workflow_properties_command_attributes" ,
1128
1045
b"modify_workflow_properties_command_attributes" ,
1046
+ "protocol_message_command_attributes" ,
1047
+ b"protocol_message_command_attributes" ,
1129
1048
"record_marker_command_attributes" ,
1130
1049
b"record_marker_command_attributes" ,
1131
- "reject_workflow_update_command_attributes" ,
1132
- b"reject_workflow_update_command_attributes" ,
1133
1050
"request_cancel_activity_task_command_attributes" ,
1134
1051
b"request_cancel_activity_task_command_attributes" ,
1135
1052
"request_cancel_external_workflow_execution_command_attributes" ,
@@ -1163,10 +1080,8 @@ class Command(google.protobuf.message.Message):
1163
1080
"start_child_workflow_execution_command_attributes" ,
1164
1081
"signal_external_workflow_execution_command_attributes" ,
1165
1082
"upsert_workflow_search_attributes_command_attributes" ,
1166
- "accept_workflow_update_command_attributes" ,
1167
- "complete_workflow_update_command_attributes" ,
1083
+ "protocol_message_command_attributes" ,
1168
1084
"modify_workflow_properties_command_attributes" ,
1169
- "reject_workflow_update_command_attributes" ,
1170
1085
]
1171
1086
| None
1172
1087
): ...
0 commit comments