@@ -9,111 +9,111 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map
99DESCRIPTOR : _descriptor .FileDescriptor
1010
1111class Command (_message .Message ):
12- __slots__ = ["create" , "create_and_exercise" , "exercise" , "exercise_by_key" ]
13- CREATE_AND_EXERCISE_FIELD_NUMBER : _ClassVar [int ]
12+ __slots__ = ("create" , "exercise" , "exercise_by_key" , "create_and_exercise" )
1413 CREATE_FIELD_NUMBER : _ClassVar [int ]
15- EXERCISE_BY_KEY_FIELD_NUMBER : _ClassVar [int ]
1614 EXERCISE_FIELD_NUMBER : _ClassVar [int ]
15+ EXERCISE_BY_KEY_FIELD_NUMBER : _ClassVar [int ]
16+ CREATE_AND_EXERCISE_FIELD_NUMBER : _ClassVar [int ]
1717 create : CreateCommand
18- create_and_exercise : CreateAndExerciseCommand
1918 exercise : ExerciseCommand
2019 exercise_by_key : ExerciseByKeyCommand
20+ create_and_exercise : CreateAndExerciseCommand
2121 def __init__ (self , create : _Optional [_Union [CreateCommand , _Mapping ]] = ..., exercise : _Optional [_Union [ExerciseCommand , _Mapping ]] = ..., exercise_by_key : _Optional [_Union [ExerciseByKeyCommand , _Mapping ]] = ..., create_and_exercise : _Optional [_Union [CreateAndExerciseCommand , _Mapping ]] = ...) -> None : ...
2222
23+ class CreateCommand (_message .Message ):
24+ __slots__ = ("template_id" , "create_arguments" )
25+ TEMPLATE_ID_FIELD_NUMBER : _ClassVar [int ]
26+ CREATE_ARGUMENTS_FIELD_NUMBER : _ClassVar [int ]
27+ template_id : _value_pb2 .Identifier
28+ create_arguments : _value_pb2 .Record
29+ def __init__ (self , template_id : _Optional [_Union [_value_pb2 .Identifier , _Mapping ]] = ..., create_arguments : _Optional [_Union [_value_pb2 .Record , _Mapping ]] = ...) -> None : ...
30+
31+ class ExerciseCommand (_message .Message ):
32+ __slots__ = ("template_id" , "contract_id" , "choice" , "choice_argument" )
33+ TEMPLATE_ID_FIELD_NUMBER : _ClassVar [int ]
34+ CONTRACT_ID_FIELD_NUMBER : _ClassVar [int ]
35+ CHOICE_FIELD_NUMBER : _ClassVar [int ]
36+ CHOICE_ARGUMENT_FIELD_NUMBER : _ClassVar [int ]
37+ template_id : _value_pb2 .Identifier
38+ contract_id : str
39+ choice : str
40+ choice_argument : _value_pb2 .Value
41+ def __init__ (self , template_id : _Optional [_Union [_value_pb2 .Identifier , _Mapping ]] = ..., contract_id : _Optional [str ] = ..., choice : _Optional [str ] = ..., choice_argument : _Optional [_Union [_value_pb2 .Value , _Mapping ]] = ...) -> None : ...
42+
43+ class ExerciseByKeyCommand (_message .Message ):
44+ __slots__ = ("template_id" , "contract_key" , "choice" , "choice_argument" )
45+ TEMPLATE_ID_FIELD_NUMBER : _ClassVar [int ]
46+ CONTRACT_KEY_FIELD_NUMBER : _ClassVar [int ]
47+ CHOICE_FIELD_NUMBER : _ClassVar [int ]
48+ CHOICE_ARGUMENT_FIELD_NUMBER : _ClassVar [int ]
49+ template_id : _value_pb2 .Identifier
50+ contract_key : _value_pb2 .Value
51+ choice : str
52+ choice_argument : _value_pb2 .Value
53+ def __init__ (self , template_id : _Optional [_Union [_value_pb2 .Identifier , _Mapping ]] = ..., contract_key : _Optional [_Union [_value_pb2 .Value , _Mapping ]] = ..., choice : _Optional [str ] = ..., choice_argument : _Optional [_Union [_value_pb2 .Value , _Mapping ]] = ...) -> None : ...
54+
55+ class CreateAndExerciseCommand (_message .Message ):
56+ __slots__ = ("template_id" , "create_arguments" , "choice" , "choice_argument" )
57+ TEMPLATE_ID_FIELD_NUMBER : _ClassVar [int ]
58+ CREATE_ARGUMENTS_FIELD_NUMBER : _ClassVar [int ]
59+ CHOICE_FIELD_NUMBER : _ClassVar [int ]
60+ CHOICE_ARGUMENT_FIELD_NUMBER : _ClassVar [int ]
61+ template_id : _value_pb2 .Identifier
62+ create_arguments : _value_pb2 .Record
63+ choice : str
64+ choice_argument : _value_pb2 .Value
65+ def __init__ (self , template_id : _Optional [_Union [_value_pb2 .Identifier , _Mapping ]] = ..., create_arguments : _Optional [_Union [_value_pb2 .Record , _Mapping ]] = ..., choice : _Optional [str ] = ..., choice_argument : _Optional [_Union [_value_pb2 .Value , _Mapping ]] = ...) -> None : ...
66+
67+ class DisclosedContract (_message .Message ):
68+ __slots__ = ("template_id" , "contract_id" , "created_event_blob" , "synchronizer_id" )
69+ TEMPLATE_ID_FIELD_NUMBER : _ClassVar [int ]
70+ CONTRACT_ID_FIELD_NUMBER : _ClassVar [int ]
71+ CREATED_EVENT_BLOB_FIELD_NUMBER : _ClassVar [int ]
72+ SYNCHRONIZER_ID_FIELD_NUMBER : _ClassVar [int ]
73+ template_id : _value_pb2 .Identifier
74+ contract_id : str
75+ created_event_blob : bytes
76+ synchronizer_id : str
77+ def __init__ (self , template_id : _Optional [_Union [_value_pb2 .Identifier , _Mapping ]] = ..., contract_id : _Optional [str ] = ..., created_event_blob : _Optional [bytes ] = ..., synchronizer_id : _Optional [str ] = ...) -> None : ...
78+
2379class Commands (_message .Message ):
24- __slots__ = [ "act_as " , "command_id" , "commands" , "deduplication_duration" , "deduplication_offset" , "disclosed_contracts" , " min_ledger_time_abs" , "min_ledger_time_rel" , "package_id_selection_preference " , "prefetch_contract_keys " , "read_as " , "submission_id " , "synchronizer_id" , "user_id " , "workflow_id" ]
25- ACT_AS_FIELD_NUMBER : _ClassVar [int ]
26- COMMANDS_FIELD_NUMBER : _ClassVar [int ]
80+ __slots__ = ( "workflow_id " , "user_id" , " command_id" , "commands" , "deduplication_duration" , "deduplication_offset" , "min_ledger_time_abs" , "min_ledger_time_rel" , "act_as " , "read_as " , "submission_id " , "disclosed_contracts " , "synchronizer_id" , "package_id_selection_preference " , "prefetch_contract_keys" )
81+ WORKFLOW_ID_FIELD_NUMBER : _ClassVar [int ]
82+ USER_ID_FIELD_NUMBER : _ClassVar [int ]
2783 COMMAND_ID_FIELD_NUMBER : _ClassVar [int ]
84+ COMMANDS_FIELD_NUMBER : _ClassVar [int ]
2885 DEDUPLICATION_DURATION_FIELD_NUMBER : _ClassVar [int ]
2986 DEDUPLICATION_OFFSET_FIELD_NUMBER : _ClassVar [int ]
30- DISCLOSED_CONTRACTS_FIELD_NUMBER : _ClassVar [int ]
3187 MIN_LEDGER_TIME_ABS_FIELD_NUMBER : _ClassVar [int ]
3288 MIN_LEDGER_TIME_REL_FIELD_NUMBER : _ClassVar [int ]
33- PACKAGE_ID_SELECTION_PREFERENCE_FIELD_NUMBER : _ClassVar [int ]
34- PREFETCH_CONTRACT_KEYS_FIELD_NUMBER : _ClassVar [int ]
89+ ACT_AS_FIELD_NUMBER : _ClassVar [int ]
3590 READ_AS_FIELD_NUMBER : _ClassVar [int ]
3691 SUBMISSION_ID_FIELD_NUMBER : _ClassVar [int ]
92+ DISCLOSED_CONTRACTS_FIELD_NUMBER : _ClassVar [int ]
3793 SYNCHRONIZER_ID_FIELD_NUMBER : _ClassVar [int ]
38- USER_ID_FIELD_NUMBER : _ClassVar [int ]
39- WORKFLOW_ID_FIELD_NUMBER : _ClassVar [int ]
40- act_as : _containers .RepeatedScalarFieldContainer [str ]
94+ PACKAGE_ID_SELECTION_PREFERENCE_FIELD_NUMBER : _ClassVar [int ]
95+ PREFETCH_CONTRACT_KEYS_FIELD_NUMBER : _ClassVar [int ]
96+ workflow_id : str
97+ user_id : str
4198 command_id : str
4299 commands : _containers .RepeatedCompositeFieldContainer [Command ]
43100 deduplication_duration : _duration_pb2 .Duration
44101 deduplication_offset : int
45- disclosed_contracts : _containers .RepeatedCompositeFieldContainer [DisclosedContract ]
46102 min_ledger_time_abs : _timestamp_pb2 .Timestamp
47103 min_ledger_time_rel : _duration_pb2 .Duration
48- package_id_selection_preference : _containers .RepeatedScalarFieldContainer [str ]
49- prefetch_contract_keys : _containers .RepeatedCompositeFieldContainer [PrefetchContractKey ]
104+ act_as : _containers .RepeatedScalarFieldContainer [str ]
50105 read_as : _containers .RepeatedScalarFieldContainer [str ]
51106 submission_id : str
107+ disclosed_contracts : _containers .RepeatedCompositeFieldContainer [DisclosedContract ]
52108 synchronizer_id : str
53- user_id : str
54- workflow_id : str
109+ package_id_selection_preference : _containers . RepeatedScalarFieldContainer [ str ]
110+ prefetch_contract_keys : _containers . RepeatedCompositeFieldContainer [ PrefetchContractKey ]
55111 def __init__ (self , workflow_id : _Optional [str ] = ..., user_id : _Optional [str ] = ..., command_id : _Optional [str ] = ..., commands : _Optional [_Iterable [_Union [Command , _Mapping ]]] = ..., deduplication_duration : _Optional [_Union [_duration_pb2 .Duration , _Mapping ]] = ..., deduplication_offset : _Optional [int ] = ..., min_ledger_time_abs : _Optional [_Union [_timestamp_pb2 .Timestamp , _Mapping ]] = ..., min_ledger_time_rel : _Optional [_Union [_duration_pb2 .Duration , _Mapping ]] = ..., act_as : _Optional [_Iterable [str ]] = ..., read_as : _Optional [_Iterable [str ]] = ..., submission_id : _Optional [str ] = ..., disclosed_contracts : _Optional [_Iterable [_Union [DisclosedContract , _Mapping ]]] = ..., synchronizer_id : _Optional [str ] = ..., package_id_selection_preference : _Optional [_Iterable [str ]] = ..., prefetch_contract_keys : _Optional [_Iterable [_Union [PrefetchContractKey , _Mapping ]]] = ...) -> None : ...
56112
57- class CreateAndExerciseCommand (_message .Message ):
58- __slots__ = ["choice" , "choice_argument" , "create_arguments" , "template_id" ]
59- CHOICE_ARGUMENT_FIELD_NUMBER : _ClassVar [int ]
60- CHOICE_FIELD_NUMBER : _ClassVar [int ]
61- CREATE_ARGUMENTS_FIELD_NUMBER : _ClassVar [int ]
62- TEMPLATE_ID_FIELD_NUMBER : _ClassVar [int ]
63- choice : str
64- choice_argument : _value_pb2 .Value
65- create_arguments : _value_pb2 .Record
66- template_id : _value_pb2 .Identifier
67- def __init__ (self , template_id : _Optional [_Union [_value_pb2 .Identifier , _Mapping ]] = ..., create_arguments : _Optional [_Union [_value_pb2 .Record , _Mapping ]] = ..., choice : _Optional [str ] = ..., choice_argument : _Optional [_Union [_value_pb2 .Value , _Mapping ]] = ...) -> None : ...
68-
69- class CreateCommand (_message .Message ):
70- __slots__ = ["create_arguments" , "template_id" ]
71- CREATE_ARGUMENTS_FIELD_NUMBER : _ClassVar [int ]
72- TEMPLATE_ID_FIELD_NUMBER : _ClassVar [int ]
73- create_arguments : _value_pb2 .Record
74- template_id : _value_pb2 .Identifier
75- def __init__ (self , template_id : _Optional [_Union [_value_pb2 .Identifier , _Mapping ]] = ..., create_arguments : _Optional [_Union [_value_pb2 .Record , _Mapping ]] = ...) -> None : ...
76-
77- class DisclosedContract (_message .Message ):
78- __slots__ = ["contract_id" , "created_event_blob" , "synchronizer_id" , "template_id" ]
79- CONTRACT_ID_FIELD_NUMBER : _ClassVar [int ]
80- CREATED_EVENT_BLOB_FIELD_NUMBER : _ClassVar [int ]
81- SYNCHRONIZER_ID_FIELD_NUMBER : _ClassVar [int ]
113+ class PrefetchContractKey (_message .Message ):
114+ __slots__ = ("template_id" , "contract_key" )
82115 TEMPLATE_ID_FIELD_NUMBER : _ClassVar [int ]
83- contract_id : str
84- created_event_blob : bytes
85- synchronizer_id : str
86- template_id : _value_pb2 .Identifier
87- def __init__ (self , template_id : _Optional [_Union [_value_pb2 .Identifier , _Mapping ]] = ..., contract_id : _Optional [str ] = ..., created_event_blob : _Optional [bytes ] = ..., synchronizer_id : _Optional [str ] = ...) -> None : ...
88-
89- class ExerciseByKeyCommand (_message .Message ):
90- __slots__ = ["choice" , "choice_argument" , "contract_key" , "template_id" ]
91- CHOICE_ARGUMENT_FIELD_NUMBER : _ClassVar [int ]
92- CHOICE_FIELD_NUMBER : _ClassVar [int ]
93116 CONTRACT_KEY_FIELD_NUMBER : _ClassVar [int ]
94- TEMPLATE_ID_FIELD_NUMBER : _ClassVar [int ]
95- choice : str
96- choice_argument : _value_pb2 .Value
97- contract_key : _value_pb2 .Value
98117 template_id : _value_pb2 .Identifier
99- def __init__ (self , template_id : _Optional [_Union [_value_pb2 .Identifier , _Mapping ]] = ..., contract_key : _Optional [_Union [_value_pb2 .Value , _Mapping ]] = ..., choice : _Optional [str ] = ..., choice_argument : _Optional [_Union [_value_pb2 .Value , _Mapping ]] = ...) -> None : ...
100-
101- class ExerciseCommand (_message .Message ):
102- __slots__ = ["choice" , "choice_argument" , "contract_id" , "template_id" ]
103- CHOICE_ARGUMENT_FIELD_NUMBER : _ClassVar [int ]
104- CHOICE_FIELD_NUMBER : _ClassVar [int ]
105- CONTRACT_ID_FIELD_NUMBER : _ClassVar [int ]
106- TEMPLATE_ID_FIELD_NUMBER : _ClassVar [int ]
107- choice : str
108- choice_argument : _value_pb2 .Value
109- contract_id : str
110- template_id : _value_pb2 .Identifier
111- def __init__ (self , template_id : _Optional [_Union [_value_pb2 .Identifier , _Mapping ]] = ..., contract_id : _Optional [str ] = ..., choice : _Optional [str ] = ..., choice_argument : _Optional [_Union [_value_pb2 .Value , _Mapping ]] = ...) -> None : ...
112-
113- class PrefetchContractKey (_message .Message ):
114- __slots__ = ["contract_key" , "template_id" ]
115- CONTRACT_KEY_FIELD_NUMBER : _ClassVar [int ]
116- TEMPLATE_ID_FIELD_NUMBER : _ClassVar [int ]
117118 contract_key : _value_pb2 .Value
118- template_id : _value_pb2 .Identifier
119119 def __init__ (self , template_id : _Optional [_Union [_value_pb2 .Identifier , _Mapping ]] = ..., contract_key : _Optional [_Union [_value_pb2 .Value , _Mapping ]] = ...) -> None : ...
0 commit comments