-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathmessages_pb2.pyi
1260 lines (1183 loc) · 74.3 KB
/
messages_pb2.pyi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
import builtins
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.internal.enum_type_wrapper
import google.protobuf.message
import typing
import typing_extensions
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
class _OperationResult:
ValueType = typing.NewType('ValueType', builtins.int)
V: typing_extensions.TypeAlias = ValueType
class _OperationResultEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_OperationResult.ValueType], builtins.type):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
Success: _OperationResult.ValueType # 0
PrepareTimeout: _OperationResult.ValueType # 1
CommitTimeout: _OperationResult.ValueType # 2
ForwardTimeout: _OperationResult.ValueType # 3
WrongExpectedVersion: _OperationResult.ValueType # 4
StreamDeleted: _OperationResult.ValueType # 5
InvalidTransaction: _OperationResult.ValueType # 6
AccessDenied: _OperationResult.ValueType # 7
class OperationResult(_OperationResult, metaclass=_OperationResultEnumTypeWrapper):
pass
Success: OperationResult.ValueType # 0
PrepareTimeout: OperationResult.ValueType # 1
CommitTimeout: OperationResult.ValueType # 2
ForwardTimeout: OperationResult.ValueType # 3
WrongExpectedVersion: OperationResult.ValueType # 4
StreamDeleted: OperationResult.ValueType # 5
InvalidTransaction: OperationResult.ValueType # 6
AccessDenied: OperationResult.ValueType # 7
global___OperationResult = OperationResult
class NewEvent(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
EVENT_ID_FIELD_NUMBER: builtins.int
EVENT_TYPE_FIELD_NUMBER: builtins.int
DATA_CONTENT_TYPE_FIELD_NUMBER: builtins.int
METADATA_CONTENT_TYPE_FIELD_NUMBER: builtins.int
DATA_FIELD_NUMBER: builtins.int
METADATA_FIELD_NUMBER: builtins.int
event_id: builtins.bytes
event_type: typing.Text
data_content_type: builtins.int
metadata_content_type: builtins.int
data: builtins.bytes
metadata: builtins.bytes
def __init__(self,
*,
event_id: typing.Optional[builtins.bytes] = ...,
event_type: typing.Optional[typing.Text] = ...,
data_content_type: typing.Optional[builtins.int] = ...,
metadata_content_type: typing.Optional[builtins.int] = ...,
data: typing.Optional[builtins.bytes] = ...,
metadata: typing.Optional[builtins.bytes] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["data",b"data","data_content_type",b"data_content_type","event_id",b"event_id","event_type",b"event_type","metadata",b"metadata","metadata_content_type",b"metadata_content_type"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["data",b"data","data_content_type",b"data_content_type","event_id",b"event_id","event_type",b"event_type","metadata",b"metadata","metadata_content_type",b"metadata_content_type"]) -> None: ...
global___NewEvent = NewEvent
class EventRecord(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
EVENT_STREAM_ID_FIELD_NUMBER: builtins.int
EVENT_NUMBER_FIELD_NUMBER: builtins.int
EVENT_ID_FIELD_NUMBER: builtins.int
EVENT_TYPE_FIELD_NUMBER: builtins.int
DATA_CONTENT_TYPE_FIELD_NUMBER: builtins.int
METADATA_CONTENT_TYPE_FIELD_NUMBER: builtins.int
DATA_FIELD_NUMBER: builtins.int
METADATA_FIELD_NUMBER: builtins.int
CREATED_FIELD_NUMBER: builtins.int
CREATED_EPOCH_FIELD_NUMBER: builtins.int
event_stream_id: typing.Text
event_number: builtins.int
event_id: builtins.bytes
event_type: typing.Text
data_content_type: builtins.int
metadata_content_type: builtins.int
data: builtins.bytes
metadata: builtins.bytes
created: builtins.int
created_epoch: builtins.int
def __init__(self,
*,
event_stream_id: typing.Optional[typing.Text] = ...,
event_number: typing.Optional[builtins.int] = ...,
event_id: typing.Optional[builtins.bytes] = ...,
event_type: typing.Optional[typing.Text] = ...,
data_content_type: typing.Optional[builtins.int] = ...,
metadata_content_type: typing.Optional[builtins.int] = ...,
data: typing.Optional[builtins.bytes] = ...,
metadata: typing.Optional[builtins.bytes] = ...,
created: typing.Optional[builtins.int] = ...,
created_epoch: typing.Optional[builtins.int] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["created",b"created","created_epoch",b"created_epoch","data",b"data","data_content_type",b"data_content_type","event_id",b"event_id","event_number",b"event_number","event_stream_id",b"event_stream_id","event_type",b"event_type","metadata",b"metadata","metadata_content_type",b"metadata_content_type"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["created",b"created","created_epoch",b"created_epoch","data",b"data","data_content_type",b"data_content_type","event_id",b"event_id","event_number",b"event_number","event_stream_id",b"event_stream_id","event_type",b"event_type","metadata",b"metadata","metadata_content_type",b"metadata_content_type"]) -> None: ...
global___EventRecord = EventRecord
class ResolvedIndexedEvent(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
EVENT_FIELD_NUMBER: builtins.int
LINK_FIELD_NUMBER: builtins.int
@property
def event(self) -> global___EventRecord: ...
@property
def link(self) -> global___EventRecord: ...
def __init__(self,
*,
event: typing.Optional[global___EventRecord] = ...,
link: typing.Optional[global___EventRecord] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["event",b"event","link",b"link"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["event",b"event","link",b"link"]) -> None: ...
global___ResolvedIndexedEvent = ResolvedIndexedEvent
class ResolvedEvent(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
EVENT_FIELD_NUMBER: builtins.int
LINK_FIELD_NUMBER: builtins.int
COMMIT_POSITION_FIELD_NUMBER: builtins.int
PREPARE_POSITION_FIELD_NUMBER: builtins.int
@property
def event(self) -> global___EventRecord: ...
@property
def link(self) -> global___EventRecord: ...
commit_position: builtins.int
prepare_position: builtins.int
def __init__(self,
*,
event: typing.Optional[global___EventRecord] = ...,
link: typing.Optional[global___EventRecord] = ...,
commit_position: typing.Optional[builtins.int] = ...,
prepare_position: typing.Optional[builtins.int] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["commit_position",b"commit_position","event",b"event","link",b"link","prepare_position",b"prepare_position"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["commit_position",b"commit_position","event",b"event","link",b"link","prepare_position",b"prepare_position"]) -> None: ...
global___ResolvedEvent = ResolvedEvent
class WriteEvents(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
EVENT_STREAM_ID_FIELD_NUMBER: builtins.int
EXPECTED_VERSION_FIELD_NUMBER: builtins.int
EVENTS_FIELD_NUMBER: builtins.int
REQUIRE_LEADER_FIELD_NUMBER: builtins.int
event_stream_id: typing.Text
expected_version: builtins.int
@property
def events(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___NewEvent]: ...
require_leader: builtins.bool
def __init__(self,
*,
event_stream_id: typing.Optional[typing.Text] = ...,
expected_version: typing.Optional[builtins.int] = ...,
events: typing.Optional[typing.Iterable[global___NewEvent]] = ...,
require_leader: typing.Optional[builtins.bool] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["event_stream_id",b"event_stream_id","expected_version",b"expected_version","require_leader",b"require_leader"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["event_stream_id",b"event_stream_id","events",b"events","expected_version",b"expected_version","require_leader",b"require_leader"]) -> None: ...
global___WriteEvents = WriteEvents
class WriteEventsCompleted(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
RESULT_FIELD_NUMBER: builtins.int
MESSAGE_FIELD_NUMBER: builtins.int
FIRST_EVENT_NUMBER_FIELD_NUMBER: builtins.int
LAST_EVENT_NUMBER_FIELD_NUMBER: builtins.int
PREPARE_POSITION_FIELD_NUMBER: builtins.int
COMMIT_POSITION_FIELD_NUMBER: builtins.int
CURRENT_VERSION_FIELD_NUMBER: builtins.int
result: global___OperationResult.ValueType
message: typing.Text
first_event_number: builtins.int
last_event_number: builtins.int
prepare_position: builtins.int
commit_position: builtins.int
current_version: builtins.int
def __init__(self,
*,
result: typing.Optional[global___OperationResult.ValueType] = ...,
message: typing.Optional[typing.Text] = ...,
first_event_number: typing.Optional[builtins.int] = ...,
last_event_number: typing.Optional[builtins.int] = ...,
prepare_position: typing.Optional[builtins.int] = ...,
commit_position: typing.Optional[builtins.int] = ...,
current_version: typing.Optional[builtins.int] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["commit_position",b"commit_position","current_version",b"current_version","first_event_number",b"first_event_number","last_event_number",b"last_event_number","message",b"message","prepare_position",b"prepare_position","result",b"result"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["commit_position",b"commit_position","current_version",b"current_version","first_event_number",b"first_event_number","last_event_number",b"last_event_number","message",b"message","prepare_position",b"prepare_position","result",b"result"]) -> None: ...
global___WriteEventsCompleted = WriteEventsCompleted
class DeleteStream(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
EVENT_STREAM_ID_FIELD_NUMBER: builtins.int
EXPECTED_VERSION_FIELD_NUMBER: builtins.int
REQUIRE_LEADER_FIELD_NUMBER: builtins.int
HARD_DELETE_FIELD_NUMBER: builtins.int
event_stream_id: typing.Text
expected_version: builtins.int
require_leader: builtins.bool
hard_delete: builtins.bool
def __init__(self,
*,
event_stream_id: typing.Optional[typing.Text] = ...,
expected_version: typing.Optional[builtins.int] = ...,
require_leader: typing.Optional[builtins.bool] = ...,
hard_delete: typing.Optional[builtins.bool] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["event_stream_id",b"event_stream_id","expected_version",b"expected_version","hard_delete",b"hard_delete","require_leader",b"require_leader"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["event_stream_id",b"event_stream_id","expected_version",b"expected_version","hard_delete",b"hard_delete","require_leader",b"require_leader"]) -> None: ...
global___DeleteStream = DeleteStream
class DeleteStreamCompleted(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
RESULT_FIELD_NUMBER: builtins.int
MESSAGE_FIELD_NUMBER: builtins.int
PREPARE_POSITION_FIELD_NUMBER: builtins.int
COMMIT_POSITION_FIELD_NUMBER: builtins.int
result: global___OperationResult.ValueType
message: typing.Text
prepare_position: builtins.int
commit_position: builtins.int
def __init__(self,
*,
result: typing.Optional[global___OperationResult.ValueType] = ...,
message: typing.Optional[typing.Text] = ...,
prepare_position: typing.Optional[builtins.int] = ...,
commit_position: typing.Optional[builtins.int] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["commit_position",b"commit_position","message",b"message","prepare_position",b"prepare_position","result",b"result"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["commit_position",b"commit_position","message",b"message","prepare_position",b"prepare_position","result",b"result"]) -> None: ...
global___DeleteStreamCompleted = DeleteStreamCompleted
class TransactionStart(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
EVENT_STREAM_ID_FIELD_NUMBER: builtins.int
EXPECTED_VERSION_FIELD_NUMBER: builtins.int
REQUIRE_LEADER_FIELD_NUMBER: builtins.int
event_stream_id: typing.Text
expected_version: builtins.int
require_leader: builtins.bool
def __init__(self,
*,
event_stream_id: typing.Optional[typing.Text] = ...,
expected_version: typing.Optional[builtins.int] = ...,
require_leader: typing.Optional[builtins.bool] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["event_stream_id",b"event_stream_id","expected_version",b"expected_version","require_leader",b"require_leader"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["event_stream_id",b"event_stream_id","expected_version",b"expected_version","require_leader",b"require_leader"]) -> None: ...
global___TransactionStart = TransactionStart
class TransactionStartCompleted(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
TRANSACTION_ID_FIELD_NUMBER: builtins.int
RESULT_FIELD_NUMBER: builtins.int
MESSAGE_FIELD_NUMBER: builtins.int
transaction_id: builtins.int
result: global___OperationResult.ValueType
message: typing.Text
def __init__(self,
*,
transaction_id: typing.Optional[builtins.int] = ...,
result: typing.Optional[global___OperationResult.ValueType] = ...,
message: typing.Optional[typing.Text] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["message",b"message","result",b"result","transaction_id",b"transaction_id"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["message",b"message","result",b"result","transaction_id",b"transaction_id"]) -> None: ...
global___TransactionStartCompleted = TransactionStartCompleted
class TransactionWrite(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
TRANSACTION_ID_FIELD_NUMBER: builtins.int
EVENTS_FIELD_NUMBER: builtins.int
REQUIRE_LEADER_FIELD_NUMBER: builtins.int
transaction_id: builtins.int
@property
def events(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___NewEvent]: ...
require_leader: builtins.bool
def __init__(self,
*,
transaction_id: typing.Optional[builtins.int] = ...,
events: typing.Optional[typing.Iterable[global___NewEvent]] = ...,
require_leader: typing.Optional[builtins.bool] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["require_leader",b"require_leader","transaction_id",b"transaction_id"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["events",b"events","require_leader",b"require_leader","transaction_id",b"transaction_id"]) -> None: ...
global___TransactionWrite = TransactionWrite
class TransactionWriteCompleted(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
TRANSACTION_ID_FIELD_NUMBER: builtins.int
RESULT_FIELD_NUMBER: builtins.int
MESSAGE_FIELD_NUMBER: builtins.int
transaction_id: builtins.int
result: global___OperationResult.ValueType
message: typing.Text
def __init__(self,
*,
transaction_id: typing.Optional[builtins.int] = ...,
result: typing.Optional[global___OperationResult.ValueType] = ...,
message: typing.Optional[typing.Text] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["message",b"message","result",b"result","transaction_id",b"transaction_id"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["message",b"message","result",b"result","transaction_id",b"transaction_id"]) -> None: ...
global___TransactionWriteCompleted = TransactionWriteCompleted
class TransactionCommit(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
TRANSACTION_ID_FIELD_NUMBER: builtins.int
REQUIRE_LEADER_FIELD_NUMBER: builtins.int
transaction_id: builtins.int
require_leader: builtins.bool
def __init__(self,
*,
transaction_id: typing.Optional[builtins.int] = ...,
require_leader: typing.Optional[builtins.bool] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["require_leader",b"require_leader","transaction_id",b"transaction_id"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["require_leader",b"require_leader","transaction_id",b"transaction_id"]) -> None: ...
global___TransactionCommit = TransactionCommit
class TransactionCommitCompleted(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
TRANSACTION_ID_FIELD_NUMBER: builtins.int
RESULT_FIELD_NUMBER: builtins.int
MESSAGE_FIELD_NUMBER: builtins.int
FIRST_EVENT_NUMBER_FIELD_NUMBER: builtins.int
LAST_EVENT_NUMBER_FIELD_NUMBER: builtins.int
PREPARE_POSITION_FIELD_NUMBER: builtins.int
COMMIT_POSITION_FIELD_NUMBER: builtins.int
transaction_id: builtins.int
result: global___OperationResult.ValueType
message: typing.Text
first_event_number: builtins.int
last_event_number: builtins.int
prepare_position: builtins.int
commit_position: builtins.int
def __init__(self,
*,
transaction_id: typing.Optional[builtins.int] = ...,
result: typing.Optional[global___OperationResult.ValueType] = ...,
message: typing.Optional[typing.Text] = ...,
first_event_number: typing.Optional[builtins.int] = ...,
last_event_number: typing.Optional[builtins.int] = ...,
prepare_position: typing.Optional[builtins.int] = ...,
commit_position: typing.Optional[builtins.int] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["commit_position",b"commit_position","first_event_number",b"first_event_number","last_event_number",b"last_event_number","message",b"message","prepare_position",b"prepare_position","result",b"result","transaction_id",b"transaction_id"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["commit_position",b"commit_position","first_event_number",b"first_event_number","last_event_number",b"last_event_number","message",b"message","prepare_position",b"prepare_position","result",b"result","transaction_id",b"transaction_id"]) -> None: ...
global___TransactionCommitCompleted = TransactionCommitCompleted
class ReadEvent(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
EVENT_STREAM_ID_FIELD_NUMBER: builtins.int
EVENT_NUMBER_FIELD_NUMBER: builtins.int
RESOLVE_LINK_TOS_FIELD_NUMBER: builtins.int
REQUIRE_LEADER_FIELD_NUMBER: builtins.int
event_stream_id: typing.Text
event_number: builtins.int
resolve_link_tos: builtins.bool
require_leader: builtins.bool
def __init__(self,
*,
event_stream_id: typing.Optional[typing.Text] = ...,
event_number: typing.Optional[builtins.int] = ...,
resolve_link_tos: typing.Optional[builtins.bool] = ...,
require_leader: typing.Optional[builtins.bool] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["event_number",b"event_number","event_stream_id",b"event_stream_id","require_leader",b"require_leader","resolve_link_tos",b"resolve_link_tos"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["event_number",b"event_number","event_stream_id",b"event_stream_id","require_leader",b"require_leader","resolve_link_tos",b"resolve_link_tos"]) -> None: ...
global___ReadEvent = ReadEvent
class ReadEventCompleted(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
class _ReadEventResult:
ValueType = typing.NewType('ValueType', builtins.int)
V: typing_extensions.TypeAlias = ValueType
class _ReadEventResultEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ReadEventCompleted._ReadEventResult.ValueType], builtins.type):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
Success: ReadEventCompleted._ReadEventResult.ValueType # 0
NotFound: ReadEventCompleted._ReadEventResult.ValueType # 1
NoStream: ReadEventCompleted._ReadEventResult.ValueType # 2
StreamDeleted: ReadEventCompleted._ReadEventResult.ValueType # 3
Error: ReadEventCompleted._ReadEventResult.ValueType # 4
AccessDenied: ReadEventCompleted._ReadEventResult.ValueType # 5
class ReadEventResult(_ReadEventResult, metaclass=_ReadEventResultEnumTypeWrapper):
pass
Success: ReadEventCompleted.ReadEventResult.ValueType # 0
NotFound: ReadEventCompleted.ReadEventResult.ValueType # 1
NoStream: ReadEventCompleted.ReadEventResult.ValueType # 2
StreamDeleted: ReadEventCompleted.ReadEventResult.ValueType # 3
Error: ReadEventCompleted.ReadEventResult.ValueType # 4
AccessDenied: ReadEventCompleted.ReadEventResult.ValueType # 5
RESULT_FIELD_NUMBER: builtins.int
EVENT_FIELD_NUMBER: builtins.int
ERROR_FIELD_NUMBER: builtins.int
result: global___ReadEventCompleted.ReadEventResult.ValueType
@property
def event(self) -> global___ResolvedIndexedEvent: ...
error: typing.Text
def __init__(self,
*,
result: typing.Optional[global___ReadEventCompleted.ReadEventResult.ValueType] = ...,
event: typing.Optional[global___ResolvedIndexedEvent] = ...,
error: typing.Optional[typing.Text] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["error",b"error","event",b"event","result",b"result"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["error",b"error","event",b"event","result",b"result"]) -> None: ...
global___ReadEventCompleted = ReadEventCompleted
class ReadStreamEvents(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
EVENT_STREAM_ID_FIELD_NUMBER: builtins.int
FROM_EVENT_NUMBER_FIELD_NUMBER: builtins.int
MAX_COUNT_FIELD_NUMBER: builtins.int
RESOLVE_LINK_TOS_FIELD_NUMBER: builtins.int
REQUIRE_LEADER_FIELD_NUMBER: builtins.int
event_stream_id: typing.Text
from_event_number: builtins.int
max_count: builtins.int
resolve_link_tos: builtins.bool
require_leader: builtins.bool
def __init__(self,
*,
event_stream_id: typing.Optional[typing.Text] = ...,
from_event_number: typing.Optional[builtins.int] = ...,
max_count: typing.Optional[builtins.int] = ...,
resolve_link_tos: typing.Optional[builtins.bool] = ...,
require_leader: typing.Optional[builtins.bool] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["event_stream_id",b"event_stream_id","from_event_number",b"from_event_number","max_count",b"max_count","require_leader",b"require_leader","resolve_link_tos",b"resolve_link_tos"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["event_stream_id",b"event_stream_id","from_event_number",b"from_event_number","max_count",b"max_count","require_leader",b"require_leader","resolve_link_tos",b"resolve_link_tos"]) -> None: ...
global___ReadStreamEvents = ReadStreamEvents
class ReadStreamEventsCompleted(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
class _ReadStreamResult:
ValueType = typing.NewType('ValueType', builtins.int)
V: typing_extensions.TypeAlias = ValueType
class _ReadStreamResultEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ReadStreamEventsCompleted._ReadStreamResult.ValueType], builtins.type):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
Success: ReadStreamEventsCompleted._ReadStreamResult.ValueType # 0
NoStream: ReadStreamEventsCompleted._ReadStreamResult.ValueType # 1
StreamDeleted: ReadStreamEventsCompleted._ReadStreamResult.ValueType # 2
NotModified: ReadStreamEventsCompleted._ReadStreamResult.ValueType # 3
Error: ReadStreamEventsCompleted._ReadStreamResult.ValueType # 4
AccessDenied: ReadStreamEventsCompleted._ReadStreamResult.ValueType # 5
class ReadStreamResult(_ReadStreamResult, metaclass=_ReadStreamResultEnumTypeWrapper):
pass
Success: ReadStreamEventsCompleted.ReadStreamResult.ValueType # 0
NoStream: ReadStreamEventsCompleted.ReadStreamResult.ValueType # 1
StreamDeleted: ReadStreamEventsCompleted.ReadStreamResult.ValueType # 2
NotModified: ReadStreamEventsCompleted.ReadStreamResult.ValueType # 3
Error: ReadStreamEventsCompleted.ReadStreamResult.ValueType # 4
AccessDenied: ReadStreamEventsCompleted.ReadStreamResult.ValueType # 5
EVENTS_FIELD_NUMBER: builtins.int
RESULT_FIELD_NUMBER: builtins.int
NEXT_EVENT_NUMBER_FIELD_NUMBER: builtins.int
LAST_EVENT_NUMBER_FIELD_NUMBER: builtins.int
IS_END_OF_STREAM_FIELD_NUMBER: builtins.int
LAST_COMMIT_POSITION_FIELD_NUMBER: builtins.int
ERROR_FIELD_NUMBER: builtins.int
@property
def events(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ResolvedIndexedEvent]: ...
result: global___ReadStreamEventsCompleted.ReadStreamResult.ValueType
next_event_number: builtins.int
last_event_number: builtins.int
is_end_of_stream: builtins.bool
last_commit_position: builtins.int
error: typing.Text
def __init__(self,
*,
events: typing.Optional[typing.Iterable[global___ResolvedIndexedEvent]] = ...,
result: typing.Optional[global___ReadStreamEventsCompleted.ReadStreamResult.ValueType] = ...,
next_event_number: typing.Optional[builtins.int] = ...,
last_event_number: typing.Optional[builtins.int] = ...,
is_end_of_stream: typing.Optional[builtins.bool] = ...,
last_commit_position: typing.Optional[builtins.int] = ...,
error: typing.Optional[typing.Text] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["error",b"error","is_end_of_stream",b"is_end_of_stream","last_commit_position",b"last_commit_position","last_event_number",b"last_event_number","next_event_number",b"next_event_number","result",b"result"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["error",b"error","events",b"events","is_end_of_stream",b"is_end_of_stream","last_commit_position",b"last_commit_position","last_event_number",b"last_event_number","next_event_number",b"next_event_number","result",b"result"]) -> None: ...
global___ReadStreamEventsCompleted = ReadStreamEventsCompleted
class ReadAllEvents(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
COMMIT_POSITION_FIELD_NUMBER: builtins.int
PREPARE_POSITION_FIELD_NUMBER: builtins.int
MAX_COUNT_FIELD_NUMBER: builtins.int
RESOLVE_LINK_TOS_FIELD_NUMBER: builtins.int
REQUIRE_LEADER_FIELD_NUMBER: builtins.int
commit_position: builtins.int
prepare_position: builtins.int
max_count: builtins.int
resolve_link_tos: builtins.bool
require_leader: builtins.bool
def __init__(self,
*,
commit_position: typing.Optional[builtins.int] = ...,
prepare_position: typing.Optional[builtins.int] = ...,
max_count: typing.Optional[builtins.int] = ...,
resolve_link_tos: typing.Optional[builtins.bool] = ...,
require_leader: typing.Optional[builtins.bool] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["commit_position",b"commit_position","max_count",b"max_count","prepare_position",b"prepare_position","require_leader",b"require_leader","resolve_link_tos",b"resolve_link_tos"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["commit_position",b"commit_position","max_count",b"max_count","prepare_position",b"prepare_position","require_leader",b"require_leader","resolve_link_tos",b"resolve_link_tos"]) -> None: ...
global___ReadAllEvents = ReadAllEvents
class ReadAllEventsCompleted(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
class _ReadAllResult:
ValueType = typing.NewType('ValueType', builtins.int)
V: typing_extensions.TypeAlias = ValueType
class _ReadAllResultEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ReadAllEventsCompleted._ReadAllResult.ValueType], builtins.type):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
Success: ReadAllEventsCompleted._ReadAllResult.ValueType # 0
NotModified: ReadAllEventsCompleted._ReadAllResult.ValueType # 1
Error: ReadAllEventsCompleted._ReadAllResult.ValueType # 2
AccessDenied: ReadAllEventsCompleted._ReadAllResult.ValueType # 3
class ReadAllResult(_ReadAllResult, metaclass=_ReadAllResultEnumTypeWrapper):
pass
Success: ReadAllEventsCompleted.ReadAllResult.ValueType # 0
NotModified: ReadAllEventsCompleted.ReadAllResult.ValueType # 1
Error: ReadAllEventsCompleted.ReadAllResult.ValueType # 2
AccessDenied: ReadAllEventsCompleted.ReadAllResult.ValueType # 3
COMMIT_POSITION_FIELD_NUMBER: builtins.int
PREPARE_POSITION_FIELD_NUMBER: builtins.int
EVENTS_FIELD_NUMBER: builtins.int
NEXT_COMMIT_POSITION_FIELD_NUMBER: builtins.int
NEXT_PREPARE_POSITION_FIELD_NUMBER: builtins.int
RESULT_FIELD_NUMBER: builtins.int
ERROR_FIELD_NUMBER: builtins.int
commit_position: builtins.int
prepare_position: builtins.int
@property
def events(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ResolvedEvent]: ...
next_commit_position: builtins.int
next_prepare_position: builtins.int
result: global___ReadAllEventsCompleted.ReadAllResult.ValueType
error: typing.Text
def __init__(self,
*,
commit_position: typing.Optional[builtins.int] = ...,
prepare_position: typing.Optional[builtins.int] = ...,
events: typing.Optional[typing.Iterable[global___ResolvedEvent]] = ...,
next_commit_position: typing.Optional[builtins.int] = ...,
next_prepare_position: typing.Optional[builtins.int] = ...,
result: typing.Optional[global___ReadAllEventsCompleted.ReadAllResult.ValueType] = ...,
error: typing.Optional[typing.Text] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["commit_position",b"commit_position","error",b"error","next_commit_position",b"next_commit_position","next_prepare_position",b"next_prepare_position","prepare_position",b"prepare_position","result",b"result"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["commit_position",b"commit_position","error",b"error","events",b"events","next_commit_position",b"next_commit_position","next_prepare_position",b"next_prepare_position","prepare_position",b"prepare_position","result",b"result"]) -> None: ...
global___ReadAllEventsCompleted = ReadAllEventsCompleted
class Filter(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
class _FilterContext:
ValueType = typing.NewType('ValueType', builtins.int)
V: typing_extensions.TypeAlias = ValueType
class _FilterContextEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Filter._FilterContext.ValueType], builtins.type):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
StreamId: Filter._FilterContext.ValueType # 0
EventType: Filter._FilterContext.ValueType # 1
class FilterContext(_FilterContext, metaclass=_FilterContextEnumTypeWrapper):
pass
StreamId: Filter.FilterContext.ValueType # 0
EventType: Filter.FilterContext.ValueType # 1
class _FilterType:
ValueType = typing.NewType('ValueType', builtins.int)
V: typing_extensions.TypeAlias = ValueType
class _FilterTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Filter._FilterType.ValueType], builtins.type):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
Regex: Filter._FilterType.ValueType # 0
Prefix: Filter._FilterType.ValueType # 1
class FilterType(_FilterType, metaclass=_FilterTypeEnumTypeWrapper):
pass
Regex: Filter.FilterType.ValueType # 0
Prefix: Filter.FilterType.ValueType # 1
CONTEXT_FIELD_NUMBER: builtins.int
TYPE_FIELD_NUMBER: builtins.int
DATA_FIELD_NUMBER: builtins.int
context: global___Filter.FilterContext.ValueType
type: global___Filter.FilterType.ValueType
@property
def data(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
def __init__(self,
*,
context: typing.Optional[global___Filter.FilterContext.ValueType] = ...,
type: typing.Optional[global___Filter.FilterType.ValueType] = ...,
data: typing.Optional[typing.Iterable[typing.Text]] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["context",b"context","type",b"type"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["context",b"context","data",b"data","type",b"type"]) -> None: ...
global___Filter = Filter
class FilteredReadAllEvents(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
COMMIT_POSITION_FIELD_NUMBER: builtins.int
PREPARE_POSITION_FIELD_NUMBER: builtins.int
MAX_COUNT_FIELD_NUMBER: builtins.int
MAX_SEARCH_WINDOW_FIELD_NUMBER: builtins.int
RESOLVE_LINK_TOS_FIELD_NUMBER: builtins.int
REQUIRE_LEADER_FIELD_NUMBER: builtins.int
FILTER_FIELD_NUMBER: builtins.int
commit_position: builtins.int
prepare_position: builtins.int
max_count: builtins.int
max_search_window: builtins.int
resolve_link_tos: builtins.bool
require_leader: builtins.bool
@property
def filter(self) -> global___Filter: ...
def __init__(self,
*,
commit_position: typing.Optional[builtins.int] = ...,
prepare_position: typing.Optional[builtins.int] = ...,
max_count: typing.Optional[builtins.int] = ...,
max_search_window: typing.Optional[builtins.int] = ...,
resolve_link_tos: typing.Optional[builtins.bool] = ...,
require_leader: typing.Optional[builtins.bool] = ...,
filter: typing.Optional[global___Filter] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["commit_position",b"commit_position","filter",b"filter","max_count",b"max_count","max_search_window",b"max_search_window","prepare_position",b"prepare_position","require_leader",b"require_leader","resolve_link_tos",b"resolve_link_tos"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["commit_position",b"commit_position","filter",b"filter","max_count",b"max_count","max_search_window",b"max_search_window","prepare_position",b"prepare_position","require_leader",b"require_leader","resolve_link_tos",b"resolve_link_tos"]) -> None: ...
global___FilteredReadAllEvents = FilteredReadAllEvents
class FilteredReadAllEventsCompleted(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
class _FilteredReadAllResult:
ValueType = typing.NewType('ValueType', builtins.int)
V: typing_extensions.TypeAlias = ValueType
class _FilteredReadAllResultEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[FilteredReadAllEventsCompleted._FilteredReadAllResult.ValueType], builtins.type):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
Success: FilteredReadAllEventsCompleted._FilteredReadAllResult.ValueType # 0
NotModified: FilteredReadAllEventsCompleted._FilteredReadAllResult.ValueType # 1
Error: FilteredReadAllEventsCompleted._FilteredReadAllResult.ValueType # 2
AccessDenied: FilteredReadAllEventsCompleted._FilteredReadAllResult.ValueType # 3
class FilteredReadAllResult(_FilteredReadAllResult, metaclass=_FilteredReadAllResultEnumTypeWrapper):
pass
Success: FilteredReadAllEventsCompleted.FilteredReadAllResult.ValueType # 0
NotModified: FilteredReadAllEventsCompleted.FilteredReadAllResult.ValueType # 1
Error: FilteredReadAllEventsCompleted.FilteredReadAllResult.ValueType # 2
AccessDenied: FilteredReadAllEventsCompleted.FilteredReadAllResult.ValueType # 3
COMMIT_POSITION_FIELD_NUMBER: builtins.int
PREPARE_POSITION_FIELD_NUMBER: builtins.int
EVENTS_FIELD_NUMBER: builtins.int
NEXT_COMMIT_POSITION_FIELD_NUMBER: builtins.int
NEXT_PREPARE_POSITION_FIELD_NUMBER: builtins.int
IS_END_OF_STREAM_FIELD_NUMBER: builtins.int
RESULT_FIELD_NUMBER: builtins.int
ERROR_FIELD_NUMBER: builtins.int
commit_position: builtins.int
prepare_position: builtins.int
@property
def events(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ResolvedEvent]: ...
next_commit_position: builtins.int
next_prepare_position: builtins.int
is_end_of_stream: builtins.bool
result: global___FilteredReadAllEventsCompleted.FilteredReadAllResult.ValueType
error: typing.Text
def __init__(self,
*,
commit_position: typing.Optional[builtins.int] = ...,
prepare_position: typing.Optional[builtins.int] = ...,
events: typing.Optional[typing.Iterable[global___ResolvedEvent]] = ...,
next_commit_position: typing.Optional[builtins.int] = ...,
next_prepare_position: typing.Optional[builtins.int] = ...,
is_end_of_stream: typing.Optional[builtins.bool] = ...,
result: typing.Optional[global___FilteredReadAllEventsCompleted.FilteredReadAllResult.ValueType] = ...,
error: typing.Optional[typing.Text] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["commit_position",b"commit_position","error",b"error","is_end_of_stream",b"is_end_of_stream","next_commit_position",b"next_commit_position","next_prepare_position",b"next_prepare_position","prepare_position",b"prepare_position","result",b"result"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["commit_position",b"commit_position","error",b"error","events",b"events","is_end_of_stream",b"is_end_of_stream","next_commit_position",b"next_commit_position","next_prepare_position",b"next_prepare_position","prepare_position",b"prepare_position","result",b"result"]) -> None: ...
global___FilteredReadAllEventsCompleted = FilteredReadAllEventsCompleted
class CreatePersistentSubscription(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
SUBSCRIPTION_GROUP_NAME_FIELD_NUMBER: builtins.int
EVENT_STREAM_ID_FIELD_NUMBER: builtins.int
RESOLVE_LINK_TOS_FIELD_NUMBER: builtins.int
START_FROM_FIELD_NUMBER: builtins.int
MESSAGE_TIMEOUT_MILLISECONDS_FIELD_NUMBER: builtins.int
RECORD_STATISTICS_FIELD_NUMBER: builtins.int
LIVE_BUFFER_SIZE_FIELD_NUMBER: builtins.int
READ_BATCH_SIZE_FIELD_NUMBER: builtins.int
BUFFER_SIZE_FIELD_NUMBER: builtins.int
MAX_RETRY_COUNT_FIELD_NUMBER: builtins.int
PREFER_ROUND_ROBIN_FIELD_NUMBER: builtins.int
CHECKPOINT_AFTER_TIME_FIELD_NUMBER: builtins.int
CHECKPOINT_MAX_COUNT_FIELD_NUMBER: builtins.int
CHECKPOINT_MIN_COUNT_FIELD_NUMBER: builtins.int
SUBSCRIBER_MAX_COUNT_FIELD_NUMBER: builtins.int
NAMED_CONSUMER_STRATEGY_FIELD_NUMBER: builtins.int
subscription_group_name: typing.Text
event_stream_id: typing.Text
resolve_link_tos: builtins.bool
start_from: builtins.int
message_timeout_milliseconds: builtins.int
record_statistics: builtins.bool
live_buffer_size: builtins.int
read_batch_size: builtins.int
buffer_size: builtins.int
max_retry_count: builtins.int
prefer_round_robin: builtins.bool
checkpoint_after_time: builtins.int
checkpoint_max_count: builtins.int
checkpoint_min_count: builtins.int
subscriber_max_count: builtins.int
named_consumer_strategy: typing.Text
def __init__(self,
*,
subscription_group_name: typing.Optional[typing.Text] = ...,
event_stream_id: typing.Optional[typing.Text] = ...,
resolve_link_tos: typing.Optional[builtins.bool] = ...,
start_from: typing.Optional[builtins.int] = ...,
message_timeout_milliseconds: typing.Optional[builtins.int] = ...,
record_statistics: typing.Optional[builtins.bool] = ...,
live_buffer_size: typing.Optional[builtins.int] = ...,
read_batch_size: typing.Optional[builtins.int] = ...,
buffer_size: typing.Optional[builtins.int] = ...,
max_retry_count: typing.Optional[builtins.int] = ...,
prefer_round_robin: typing.Optional[builtins.bool] = ...,
checkpoint_after_time: typing.Optional[builtins.int] = ...,
checkpoint_max_count: typing.Optional[builtins.int] = ...,
checkpoint_min_count: typing.Optional[builtins.int] = ...,
subscriber_max_count: typing.Optional[builtins.int] = ...,
named_consumer_strategy: typing.Optional[typing.Text] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["buffer_size",b"buffer_size","checkpoint_after_time",b"checkpoint_after_time","checkpoint_max_count",b"checkpoint_max_count","checkpoint_min_count",b"checkpoint_min_count","event_stream_id",b"event_stream_id","live_buffer_size",b"live_buffer_size","max_retry_count",b"max_retry_count","message_timeout_milliseconds",b"message_timeout_milliseconds","named_consumer_strategy",b"named_consumer_strategy","prefer_round_robin",b"prefer_round_robin","read_batch_size",b"read_batch_size","record_statistics",b"record_statistics","resolve_link_tos",b"resolve_link_tos","start_from",b"start_from","subscriber_max_count",b"subscriber_max_count","subscription_group_name",b"subscription_group_name"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["buffer_size",b"buffer_size","checkpoint_after_time",b"checkpoint_after_time","checkpoint_max_count",b"checkpoint_max_count","checkpoint_min_count",b"checkpoint_min_count","event_stream_id",b"event_stream_id","live_buffer_size",b"live_buffer_size","max_retry_count",b"max_retry_count","message_timeout_milliseconds",b"message_timeout_milliseconds","named_consumer_strategy",b"named_consumer_strategy","prefer_round_robin",b"prefer_round_robin","read_batch_size",b"read_batch_size","record_statistics",b"record_statistics","resolve_link_tos",b"resolve_link_tos","start_from",b"start_from","subscriber_max_count",b"subscriber_max_count","subscription_group_name",b"subscription_group_name"]) -> None: ...
global___CreatePersistentSubscription = CreatePersistentSubscription
class DeletePersistentSubscription(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
SUBSCRIPTION_GROUP_NAME_FIELD_NUMBER: builtins.int
EVENT_STREAM_ID_FIELD_NUMBER: builtins.int
subscription_group_name: typing.Text
event_stream_id: typing.Text
def __init__(self,
*,
subscription_group_name: typing.Optional[typing.Text] = ...,
event_stream_id: typing.Optional[typing.Text] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["event_stream_id",b"event_stream_id","subscription_group_name",b"subscription_group_name"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["event_stream_id",b"event_stream_id","subscription_group_name",b"subscription_group_name"]) -> None: ...
global___DeletePersistentSubscription = DeletePersistentSubscription
class UpdatePersistentSubscription(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
SUBSCRIPTION_GROUP_NAME_FIELD_NUMBER: builtins.int
EVENT_STREAM_ID_FIELD_NUMBER: builtins.int
RESOLVE_LINK_TOS_FIELD_NUMBER: builtins.int
START_FROM_FIELD_NUMBER: builtins.int
MESSAGE_TIMEOUT_MILLISECONDS_FIELD_NUMBER: builtins.int
RECORD_STATISTICS_FIELD_NUMBER: builtins.int
LIVE_BUFFER_SIZE_FIELD_NUMBER: builtins.int
READ_BATCH_SIZE_FIELD_NUMBER: builtins.int
BUFFER_SIZE_FIELD_NUMBER: builtins.int
MAX_RETRY_COUNT_FIELD_NUMBER: builtins.int
PREFER_ROUND_ROBIN_FIELD_NUMBER: builtins.int
CHECKPOINT_AFTER_TIME_FIELD_NUMBER: builtins.int
CHECKPOINT_MAX_COUNT_FIELD_NUMBER: builtins.int
CHECKPOINT_MIN_COUNT_FIELD_NUMBER: builtins.int
SUBSCRIBER_MAX_COUNT_FIELD_NUMBER: builtins.int
NAMED_CONSUMER_STRATEGY_FIELD_NUMBER: builtins.int
subscription_group_name: typing.Text
event_stream_id: typing.Text
resolve_link_tos: builtins.bool
start_from: builtins.int
message_timeout_milliseconds: builtins.int
record_statistics: builtins.bool
live_buffer_size: builtins.int
read_batch_size: builtins.int
buffer_size: builtins.int
max_retry_count: builtins.int
prefer_round_robin: builtins.bool
checkpoint_after_time: builtins.int
checkpoint_max_count: builtins.int
checkpoint_min_count: builtins.int
subscriber_max_count: builtins.int
named_consumer_strategy: typing.Text
def __init__(self,
*,
subscription_group_name: typing.Optional[typing.Text] = ...,
event_stream_id: typing.Optional[typing.Text] = ...,
resolve_link_tos: typing.Optional[builtins.bool] = ...,
start_from: typing.Optional[builtins.int] = ...,
message_timeout_milliseconds: typing.Optional[builtins.int] = ...,
record_statistics: typing.Optional[builtins.bool] = ...,
live_buffer_size: typing.Optional[builtins.int] = ...,
read_batch_size: typing.Optional[builtins.int] = ...,
buffer_size: typing.Optional[builtins.int] = ...,
max_retry_count: typing.Optional[builtins.int] = ...,
prefer_round_robin: typing.Optional[builtins.bool] = ...,
checkpoint_after_time: typing.Optional[builtins.int] = ...,
checkpoint_max_count: typing.Optional[builtins.int] = ...,
checkpoint_min_count: typing.Optional[builtins.int] = ...,
subscriber_max_count: typing.Optional[builtins.int] = ...,
named_consumer_strategy: typing.Optional[typing.Text] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["buffer_size",b"buffer_size","checkpoint_after_time",b"checkpoint_after_time","checkpoint_max_count",b"checkpoint_max_count","checkpoint_min_count",b"checkpoint_min_count","event_stream_id",b"event_stream_id","live_buffer_size",b"live_buffer_size","max_retry_count",b"max_retry_count","message_timeout_milliseconds",b"message_timeout_milliseconds","named_consumer_strategy",b"named_consumer_strategy","prefer_round_robin",b"prefer_round_robin","read_batch_size",b"read_batch_size","record_statistics",b"record_statistics","resolve_link_tos",b"resolve_link_tos","start_from",b"start_from","subscriber_max_count",b"subscriber_max_count","subscription_group_name",b"subscription_group_name"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["buffer_size",b"buffer_size","checkpoint_after_time",b"checkpoint_after_time","checkpoint_max_count",b"checkpoint_max_count","checkpoint_min_count",b"checkpoint_min_count","event_stream_id",b"event_stream_id","live_buffer_size",b"live_buffer_size","max_retry_count",b"max_retry_count","message_timeout_milliseconds",b"message_timeout_milliseconds","named_consumer_strategy",b"named_consumer_strategy","prefer_round_robin",b"prefer_round_robin","read_batch_size",b"read_batch_size","record_statistics",b"record_statistics","resolve_link_tos",b"resolve_link_tos","start_from",b"start_from","subscriber_max_count",b"subscriber_max_count","subscription_group_name",b"subscription_group_name"]) -> None: ...
global___UpdatePersistentSubscription = UpdatePersistentSubscription
class UpdatePersistentSubscriptionCompleted(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
class _UpdatePersistentSubscriptionResult:
ValueType = typing.NewType('ValueType', builtins.int)
V: typing_extensions.TypeAlias = ValueType
class _UpdatePersistentSubscriptionResultEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[UpdatePersistentSubscriptionCompleted._UpdatePersistentSubscriptionResult.ValueType], builtins.type):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
Success: UpdatePersistentSubscriptionCompleted._UpdatePersistentSubscriptionResult.ValueType # 0
DoesNotExist: UpdatePersistentSubscriptionCompleted._UpdatePersistentSubscriptionResult.ValueType # 1
Fail: UpdatePersistentSubscriptionCompleted._UpdatePersistentSubscriptionResult.ValueType # 2
AccessDenied: UpdatePersistentSubscriptionCompleted._UpdatePersistentSubscriptionResult.ValueType # 3
class UpdatePersistentSubscriptionResult(_UpdatePersistentSubscriptionResult, metaclass=_UpdatePersistentSubscriptionResultEnumTypeWrapper):
pass
Success: UpdatePersistentSubscriptionCompleted.UpdatePersistentSubscriptionResult.ValueType # 0
DoesNotExist: UpdatePersistentSubscriptionCompleted.UpdatePersistentSubscriptionResult.ValueType # 1
Fail: UpdatePersistentSubscriptionCompleted.UpdatePersistentSubscriptionResult.ValueType # 2
AccessDenied: UpdatePersistentSubscriptionCompleted.UpdatePersistentSubscriptionResult.ValueType # 3
RESULT_FIELD_NUMBER: builtins.int
REASON_FIELD_NUMBER: builtins.int
result: global___UpdatePersistentSubscriptionCompleted.UpdatePersistentSubscriptionResult.ValueType
reason: typing.Text
def __init__(self,
*,
result: typing.Optional[global___UpdatePersistentSubscriptionCompleted.UpdatePersistentSubscriptionResult.ValueType] = ...,
reason: typing.Optional[typing.Text] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["reason",b"reason","result",b"result"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["reason",b"reason","result",b"result"]) -> None: ...
global___UpdatePersistentSubscriptionCompleted = UpdatePersistentSubscriptionCompleted
class CreatePersistentSubscriptionCompleted(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
class _CreatePersistentSubscriptionResult:
ValueType = typing.NewType('ValueType', builtins.int)
V: typing_extensions.TypeAlias = ValueType
class _CreatePersistentSubscriptionResultEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[CreatePersistentSubscriptionCompleted._CreatePersistentSubscriptionResult.ValueType], builtins.type):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
Success: CreatePersistentSubscriptionCompleted._CreatePersistentSubscriptionResult.ValueType # 0
AlreadyExists: CreatePersistentSubscriptionCompleted._CreatePersistentSubscriptionResult.ValueType # 1
Fail: CreatePersistentSubscriptionCompleted._CreatePersistentSubscriptionResult.ValueType # 2
AccessDenied: CreatePersistentSubscriptionCompleted._CreatePersistentSubscriptionResult.ValueType # 3
class CreatePersistentSubscriptionResult(_CreatePersistentSubscriptionResult, metaclass=_CreatePersistentSubscriptionResultEnumTypeWrapper):
pass
Success: CreatePersistentSubscriptionCompleted.CreatePersistentSubscriptionResult.ValueType # 0
AlreadyExists: CreatePersistentSubscriptionCompleted.CreatePersistentSubscriptionResult.ValueType # 1
Fail: CreatePersistentSubscriptionCompleted.CreatePersistentSubscriptionResult.ValueType # 2
AccessDenied: CreatePersistentSubscriptionCompleted.CreatePersistentSubscriptionResult.ValueType # 3
RESULT_FIELD_NUMBER: builtins.int
REASON_FIELD_NUMBER: builtins.int
result: global___CreatePersistentSubscriptionCompleted.CreatePersistentSubscriptionResult.ValueType
reason: typing.Text
def __init__(self,
*,
result: typing.Optional[global___CreatePersistentSubscriptionCompleted.CreatePersistentSubscriptionResult.ValueType] = ...,
reason: typing.Optional[typing.Text] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["reason",b"reason","result",b"result"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["reason",b"reason","result",b"result"]) -> None: ...
global___CreatePersistentSubscriptionCompleted = CreatePersistentSubscriptionCompleted
class DeletePersistentSubscriptionCompleted(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
class _DeletePersistentSubscriptionResult:
ValueType = typing.NewType('ValueType', builtins.int)
V: typing_extensions.TypeAlias = ValueType
class _DeletePersistentSubscriptionResultEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[DeletePersistentSubscriptionCompleted._DeletePersistentSubscriptionResult.ValueType], builtins.type):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
Success: DeletePersistentSubscriptionCompleted._DeletePersistentSubscriptionResult.ValueType # 0
DoesNotExist: DeletePersistentSubscriptionCompleted._DeletePersistentSubscriptionResult.ValueType # 1
Fail: DeletePersistentSubscriptionCompleted._DeletePersistentSubscriptionResult.ValueType # 2
AccessDenied: DeletePersistentSubscriptionCompleted._DeletePersistentSubscriptionResult.ValueType # 3
class DeletePersistentSubscriptionResult(_DeletePersistentSubscriptionResult, metaclass=_DeletePersistentSubscriptionResultEnumTypeWrapper):
pass
Success: DeletePersistentSubscriptionCompleted.DeletePersistentSubscriptionResult.ValueType # 0
DoesNotExist: DeletePersistentSubscriptionCompleted.DeletePersistentSubscriptionResult.ValueType # 1
Fail: DeletePersistentSubscriptionCompleted.DeletePersistentSubscriptionResult.ValueType # 2
AccessDenied: DeletePersistentSubscriptionCompleted.DeletePersistentSubscriptionResult.ValueType # 3
RESULT_FIELD_NUMBER: builtins.int
REASON_FIELD_NUMBER: builtins.int
result: global___DeletePersistentSubscriptionCompleted.DeletePersistentSubscriptionResult.ValueType
reason: typing.Text
def __init__(self,
*,
result: typing.Optional[global___DeletePersistentSubscriptionCompleted.DeletePersistentSubscriptionResult.ValueType] = ...,
reason: typing.Optional[typing.Text] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["reason",b"reason","result",b"result"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["reason",b"reason","result",b"result"]) -> None: ...
global___DeletePersistentSubscriptionCompleted = DeletePersistentSubscriptionCompleted
class ConnectToPersistentSubscription(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
SUBSCRIPTION_ID_FIELD_NUMBER: builtins.int
EVENT_STREAM_ID_FIELD_NUMBER: builtins.int
ALLOWED_IN_FLIGHT_MESSAGES_FIELD_NUMBER: builtins.int
subscription_id: typing.Text
event_stream_id: typing.Text
allowed_in_flight_messages: builtins.int
def __init__(self,
*,
subscription_id: typing.Optional[typing.Text] = ...,
event_stream_id: typing.Optional[typing.Text] = ...,
allowed_in_flight_messages: typing.Optional[builtins.int] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["allowed_in_flight_messages",b"allowed_in_flight_messages","event_stream_id",b"event_stream_id","subscription_id",b"subscription_id"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["allowed_in_flight_messages",b"allowed_in_flight_messages","event_stream_id",b"event_stream_id","subscription_id",b"subscription_id"]) -> None: ...
global___ConnectToPersistentSubscription = ConnectToPersistentSubscription
class PersistentSubscriptionAckEvents(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
SUBSCRIPTION_ID_FIELD_NUMBER: builtins.int
PROCESSED_EVENT_IDS_FIELD_NUMBER: builtins.int
subscription_id: typing.Text
@property
def processed_event_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ...
def __init__(self,
*,
subscription_id: typing.Optional[typing.Text] = ...,
processed_event_ids: typing.Optional[typing.Iterable[builtins.bytes]] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["subscription_id",b"subscription_id"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["processed_event_ids",b"processed_event_ids","subscription_id",b"subscription_id"]) -> None: ...
global___PersistentSubscriptionAckEvents = PersistentSubscriptionAckEvents
class PersistentSubscriptionNakEvents(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
class _NakAction:
ValueType = typing.NewType('ValueType', builtins.int)
V: typing_extensions.TypeAlias = ValueType
class _NakActionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PersistentSubscriptionNakEvents._NakAction.ValueType], builtins.type):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
Unknown: PersistentSubscriptionNakEvents._NakAction.ValueType # 0
Park: PersistentSubscriptionNakEvents._NakAction.ValueType # 1
Retry: PersistentSubscriptionNakEvents._NakAction.ValueType # 2
Skip: PersistentSubscriptionNakEvents._NakAction.ValueType # 3
Stop: PersistentSubscriptionNakEvents._NakAction.ValueType # 4
class NakAction(_NakAction, metaclass=_NakActionEnumTypeWrapper):
pass
Unknown: PersistentSubscriptionNakEvents.NakAction.ValueType # 0
Park: PersistentSubscriptionNakEvents.NakAction.ValueType # 1
Retry: PersistentSubscriptionNakEvents.NakAction.ValueType # 2
Skip: PersistentSubscriptionNakEvents.NakAction.ValueType # 3
Stop: PersistentSubscriptionNakEvents.NakAction.ValueType # 4
SUBSCRIPTION_ID_FIELD_NUMBER: builtins.int
PROCESSED_EVENT_IDS_FIELD_NUMBER: builtins.int
MESSAGE_FIELD_NUMBER: builtins.int
ACTION_FIELD_NUMBER: builtins.int
subscription_id: typing.Text
@property
def processed_event_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ...
message: typing.Text
action: global___PersistentSubscriptionNakEvents.NakAction.ValueType
def __init__(self,
*,
subscription_id: typing.Optional[typing.Text] = ...,
processed_event_ids: typing.Optional[typing.Iterable[builtins.bytes]] = ...,
message: typing.Optional[typing.Text] = ...,
action: typing.Optional[global___PersistentSubscriptionNakEvents.NakAction.ValueType] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["action",b"action","message",b"message","subscription_id",b"subscription_id"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["action",b"action","message",b"message","processed_event_ids",b"processed_event_ids","subscription_id",b"subscription_id"]) -> None: ...
global___PersistentSubscriptionNakEvents = PersistentSubscriptionNakEvents
class PersistentSubscriptionConfirmation(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
LAST_COMMIT_POSITION_FIELD_NUMBER: builtins.int
SUBSCRIPTION_ID_FIELD_NUMBER: builtins.int
LAST_EVENT_NUMBER_FIELD_NUMBER: builtins.int