statelydb 0.21.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1366 @@
1
+ # Code generated by protoc-gen-rbi. DO NOT EDIT.
2
+ # source: db/transaction.proto
3
+ # typed: strict
4
+
5
+ # This is a streaming request, so the client may send several of them
6
+ class Stately::Db::TransactionRequest
7
+ include ::Google::Protobuf::MessageExts
8
+ extend ::Google::Protobuf::MessageExts::ClassMethods
9
+
10
+ sig do
11
+ params(
12
+ message_id: T.nilable(Integer),
13
+ begin: T.nilable(Stately::Db::TransactionBegin),
14
+ get_items: T.nilable(Stately::Db::TransactionGet),
15
+ begin_list: T.nilable(Stately::Db::TransactionBeginList),
16
+ continue_list: T.nilable(Stately::Db::TransactionContinueList),
17
+ put_items: T.nilable(Stately::Db::TransactionPut),
18
+ delete_items: T.nilable(Stately::Db::TransactionDelete),
19
+ commit: T.nilable(Google::Protobuf::Empty),
20
+ abort: T.nilable(Google::Protobuf::Empty)
21
+ ).void
22
+ end
23
+ def initialize(
24
+ message_id: 0,
25
+ begin: nil,
26
+ get_items: nil,
27
+ begin_list: nil,
28
+ continue_list: nil,
29
+ put_items: nil,
30
+ delete_items: nil,
31
+ commit: nil,
32
+ abort: nil
33
+ )
34
+ end
35
+
36
+ # message_id should be set to a unique number per request in this
37
+ # transaction. It will be returned with responses to make it easier to match
38
+ # up specific responses with their requests.
39
+ sig { returns(Integer) }
40
+ def message_id
41
+ end
42
+
43
+ # message_id should be set to a unique number per request in this
44
+ # transaction. It will be returned with responses to make it easier to match
45
+ # up specific responses with their requests.
46
+ sig { params(value: Integer).void }
47
+ def message_id=(value)
48
+ end
49
+
50
+ # message_id should be set to a unique number per request in this
51
+ # transaction. It will be returned with responses to make it easier to match
52
+ # up specific responses with their requests.
53
+ sig { void }
54
+ def clear_message_id
55
+ end
56
+
57
+ # begin sets up options for the transaction, such as what store we're
58
+ # operating on. It is not acknowledged unless there is an error, which
59
+ # kills the whole transaction.
60
+ sig { returns(T.nilable(Stately::Db::TransactionBegin)) }
61
+ def begin
62
+ end
63
+
64
+ # begin sets up options for the transaction, such as what store we're
65
+ # operating on. It is not acknowledged unless there is an error, which
66
+ # kills the whole transaction.
67
+ sig { params(value: T.nilable(Stately::Db::TransactionBegin)).void }
68
+ def begin=(value)
69
+ end
70
+
71
+ # begin sets up options for the transaction, such as what store we're
72
+ # operating on. It is not acknowledged unless there is an error, which
73
+ # kills the whole transaction.
74
+ sig { void }
75
+ def clear_begin
76
+ end
77
+
78
+ # The client is requesting to get one or more items. The results will be
79
+ # returned in TransactionResponse#get_results.
80
+ sig { returns(T.nilable(Stately::Db::TransactionGet)) }
81
+ def get_items
82
+ end
83
+
84
+ # The client is requesting to get one or more items. The results will be
85
+ # returned in TransactionResponse#get_results.
86
+ sig { params(value: T.nilable(Stately::Db::TransactionGet)).void }
87
+ def get_items=(value)
88
+ end
89
+
90
+ # The client is requesting to get one or more items. The results will be
91
+ # returned in TransactionResponse#get_results.
92
+ sig { void }
93
+ def clear_get_items
94
+ end
95
+
96
+ # The client is requesting a list of a path prefix. The results will be
97
+ # returned in TransactionResponse#list.
98
+ sig { returns(T.nilable(Stately::Db::TransactionBeginList)) }
99
+ def begin_list
100
+ end
101
+
102
+ # The client is requesting a list of a path prefix. The results will be
103
+ # returned in TransactionResponse#list.
104
+ sig { params(value: T.nilable(Stately::Db::TransactionBeginList)).void }
105
+ def begin_list=(value)
106
+ end
107
+
108
+ # The client is requesting a list of a path prefix. The results will be
109
+ # returned in TransactionResponse#list.
110
+ sig { void }
111
+ def clear_begin_list
112
+ end
113
+
114
+ # ContinueList takes the token from a BeginList call and returns the next
115
+ # "page" of results based on the original query parameters and pagination
116
+ # options. It has few options because it is a continuation of a previous
117
+ # list operation. It will return a new token which can be used for
118
+ # another ContinueList call, and so on. Each time you call either
119
+ # ContinueList, you should pass the latest version of the token, and then
120
+ # use the new token from the result in subsequent calls. Calls to
121
+ # ContinueList are tied to the authorization of the original BeginList
122
+ # call, so if the original BeginList call was allowed, ContinueList with
123
+ # its token should also be allowed.
124
+ sig { returns(T.nilable(Stately::Db::TransactionContinueList)) }
125
+ def continue_list
126
+ end
127
+
128
+ # ContinueList takes the token from a BeginList call and returns the next
129
+ # "page" of results based on the original query parameters and pagination
130
+ # options. It has few options because it is a continuation of a previous
131
+ # list operation. It will return a new token which can be used for
132
+ # another ContinueList call, and so on. Each time you call either
133
+ # ContinueList, you should pass the latest version of the token, and then
134
+ # use the new token from the result in subsequent calls. Calls to
135
+ # ContinueList are tied to the authorization of the original BeginList
136
+ # call, so if the original BeginList call was allowed, ContinueList with
137
+ # its token should also be allowed.
138
+ sig { params(value: T.nilable(Stately::Db::TransactionContinueList)).void }
139
+ def continue_list=(value)
140
+ end
141
+
142
+ # ContinueList takes the token from a BeginList call and returns the next
143
+ # "page" of results based on the original query parameters and pagination
144
+ # options. It has few options because it is a continuation of a previous
145
+ # list operation. It will return a new token which can be used for
146
+ # another ContinueList call, and so on. Each time you call either
147
+ # ContinueList, you should pass the latest version of the token, and then
148
+ # use the new token from the result in subsequent calls. Calls to
149
+ # ContinueList are tied to the authorization of the original BeginList
150
+ # call, so if the original BeginList call was allowed, ContinueList with
151
+ # its token should also be allowed.
152
+ sig { void }
153
+ def clear_continue_list
154
+ end
155
+
156
+ # The client is requesting to create new items. This is acknowledged in
157
+ # TransactionResponse#put_ack which contains the item's tentative full path
158
+ # (pending the transaction's commit). The final result of all puts will be
159
+ # returned in TransactionFinished#put_results.
160
+ sig { returns(T.nilable(Stately::Db::TransactionPut)) }
161
+ def put_items
162
+ end
163
+
164
+ # The client is requesting to create new items. This is acknowledged in
165
+ # TransactionResponse#put_ack which contains the item's tentative full path
166
+ # (pending the transaction's commit). The final result of all puts will be
167
+ # returned in TransactionFinished#put_results.
168
+ sig { params(value: T.nilable(Stately::Db::TransactionPut)).void }
169
+ def put_items=(value)
170
+ end
171
+
172
+ # The client is requesting to create new items. This is acknowledged in
173
+ # TransactionResponse#put_ack which contains the item's tentative full path
174
+ # (pending the transaction's commit). The final result of all puts will be
175
+ # returned in TransactionFinished#put_results.
176
+ sig { void }
177
+ def clear_put_items
178
+ end
179
+
180
+ # The client is requesting to delete items. It is not acknowledged unless
181
+ # there is an error, which kills the whole transaction. The final result of
182
+ # all deletes will be returned in TransactionFinished#delete_results.
183
+ sig { returns(T.nilable(Stately::Db::TransactionDelete)) }
184
+ def delete_items
185
+ end
186
+
187
+ # The client is requesting to delete items. It is not acknowledged unless
188
+ # there is an error, which kills the whole transaction. The final result of
189
+ # all deletes will be returned in TransactionFinished#delete_results.
190
+ sig { params(value: T.nilable(Stately::Db::TransactionDelete)).void }
191
+ def delete_items=(value)
192
+ end
193
+
194
+ # The client is requesting to delete items. It is not acknowledged unless
195
+ # there is an error, which kills the whole transaction. The final result of
196
+ # all deletes will be returned in TransactionFinished#delete_results.
197
+ sig { void }
198
+ def clear_delete_items
199
+ end
200
+
201
+ # The client is requesting to commit the transaction. The final results of
202
+ # the transaction will be returned in TransactionResponse#finished.
203
+ sig { returns(T.nilable(Google::Protobuf::Empty)) }
204
+ def commit
205
+ end
206
+
207
+ # The client is requesting to commit the transaction. The final results of
208
+ # the transaction will be returned in TransactionResponse#finished.
209
+ sig { params(value: T.nilable(Google::Protobuf::Empty)).void }
210
+ def commit=(value)
211
+ end
212
+
213
+ # The client is requesting to commit the transaction. The final results of
214
+ # the transaction will be returned in TransactionResponse#finished.
215
+ sig { void }
216
+ def clear_commit
217
+ end
218
+
219
+ # The client is requesting to abort/rollback the transaction.
220
+ sig { returns(T.nilable(Google::Protobuf::Empty)) }
221
+ def abort
222
+ end
223
+
224
+ # The client is requesting to abort/rollback the transaction.
225
+ sig { params(value: T.nilable(Google::Protobuf::Empty)).void }
226
+ def abort=(value)
227
+ end
228
+
229
+ # The client is requesting to abort/rollback the transaction.
230
+ sig { void }
231
+ def clear_abort
232
+ end
233
+
234
+ sig { returns(T.nilable(Symbol)) }
235
+ def command
236
+ end
237
+
238
+ sig { params(field: String).returns(T.untyped) }
239
+ def [](field)
240
+ end
241
+
242
+ sig { params(field: String, value: T.untyped).void }
243
+ def []=(field, value)
244
+ end
245
+
246
+ sig { returns(T::Hash[Symbol, T.untyped]) }
247
+ def to_h
248
+ end
249
+
250
+ sig { params(str: String).returns(Stately::Db::TransactionRequest) }
251
+ def self.decode(str)
252
+ end
253
+
254
+ sig { params(msg: Stately::Db::TransactionRequest).returns(String) }
255
+ def self.encode(msg)
256
+ end
257
+
258
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionRequest) }
259
+ def self.decode_json(str, **kw)
260
+ end
261
+
262
+ sig { params(msg: Stately::Db::TransactionRequest, kw: T.untyped).returns(String) }
263
+ def self.encode_json(msg, **kw)
264
+ end
265
+
266
+ sig { returns(::Google::Protobuf::Descriptor) }
267
+ def self.descriptor
268
+ end
269
+ end
270
+
271
+ # This is a streaming response, so the server may send several of them
272
+ class Stately::Db::TransactionResponse
273
+ include ::Google::Protobuf::MessageExts
274
+ extend ::Google::Protobuf::MessageExts::ClassMethods
275
+
276
+ sig do
277
+ params(
278
+ message_id: T.nilable(Integer),
279
+ get_results: T.nilable(Stately::Db::TransactionGetResponse),
280
+ put_ack: T.nilable(Stately::Db::TransactionPutAck),
281
+ list_results: T.nilable(Stately::Db::TransactionListResponse),
282
+ finished: T.nilable(Stately::Db::TransactionFinished)
283
+ ).void
284
+ end
285
+ def initialize(
286
+ message_id: 0,
287
+ get_results: nil,
288
+ put_ack: nil,
289
+ list_results: nil,
290
+ finished: nil
291
+ )
292
+ end
293
+
294
+ # message_id is the same as the message_id of the request that triggered this
295
+ # response. This makes it easier to distinguish between multiple responses to
296
+ # different requests..
297
+ sig { returns(Integer) }
298
+ def message_id
299
+ end
300
+
301
+ # message_id is the same as the message_id of the request that triggered this
302
+ # response. This makes it easier to distinguish between multiple responses to
303
+ # different requests..
304
+ sig { params(value: Integer).void }
305
+ def message_id=(value)
306
+ end
307
+
308
+ # message_id is the same as the message_id of the request that triggered this
309
+ # response. This makes it easier to distinguish between multiple responses to
310
+ # different requests..
311
+ sig { void }
312
+ def clear_message_id
313
+ end
314
+
315
+ # The server is responding to a GetItem request
316
+ sig { returns(T.nilable(Stately::Db::TransactionGetResponse)) }
317
+ def get_results
318
+ end
319
+
320
+ # The server is responding to a GetItem request
321
+ sig { params(value: T.nilable(Stately::Db::TransactionGetResponse)).void }
322
+ def get_results=(value)
323
+ end
324
+
325
+ # The server is responding to a GetItem request
326
+ sig { void }
327
+ def clear_get_results
328
+ end
329
+
330
+ # put_ack contains provisionally updated items from a put, including
331
+ # tentative IDs (pending transaction commit).
332
+ sig { returns(T.nilable(Stately::Db::TransactionPutAck)) }
333
+ def put_ack
334
+ end
335
+
336
+ # put_ack contains provisionally updated items from a put, including
337
+ # tentative IDs (pending transaction commit).
338
+ sig { params(value: T.nilable(Stately::Db::TransactionPutAck)).void }
339
+ def put_ack=(value)
340
+ end
341
+
342
+ # put_ack contains provisionally updated items from a put, including
343
+ # tentative IDs (pending transaction commit).
344
+ sig { void }
345
+ def clear_put_ack
346
+ end
347
+
348
+ # list_results is the result of a list request.
349
+ sig { returns(T.nilable(Stately::Db::TransactionListResponse)) }
350
+ def list_results
351
+ end
352
+
353
+ # list_results is the result of a list request.
354
+ sig { params(value: T.nilable(Stately::Db::TransactionListResponse)).void }
355
+ def list_results=(value)
356
+ end
357
+
358
+ # list_results is the result of a list request.
359
+ sig { void }
360
+ def clear_list_results
361
+ end
362
+
363
+ # Final information about the transaction, regardless of whether it was committed or aborted.
364
+ sig { returns(T.nilable(Stately::Db::TransactionFinished)) }
365
+ def finished
366
+ end
367
+
368
+ # Final information about the transaction, regardless of whether it was committed or aborted.
369
+ sig { params(value: T.nilable(Stately::Db::TransactionFinished)).void }
370
+ def finished=(value)
371
+ end
372
+
373
+ # Final information about the transaction, regardless of whether it was committed or aborted.
374
+ sig { void }
375
+ def clear_finished
376
+ end
377
+
378
+ sig { returns(T.nilable(Symbol)) }
379
+ def result
380
+ end
381
+
382
+ sig { params(field: String).returns(T.untyped) }
383
+ def [](field)
384
+ end
385
+
386
+ sig { params(field: String, value: T.untyped).void }
387
+ def []=(field, value)
388
+ end
389
+
390
+ sig { returns(T::Hash[Symbol, T.untyped]) }
391
+ def to_h
392
+ end
393
+
394
+ sig { params(str: String).returns(Stately::Db::TransactionResponse) }
395
+ def self.decode(str)
396
+ end
397
+
398
+ sig { params(msg: Stately::Db::TransactionResponse).returns(String) }
399
+ def self.encode(msg)
400
+ end
401
+
402
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionResponse) }
403
+ def self.decode_json(str, **kw)
404
+ end
405
+
406
+ sig { params(msg: Stately::Db::TransactionResponse, kw: T.untyped).returns(String) }
407
+ def self.encode_json(msg, **kw)
408
+ end
409
+
410
+ sig { returns(::Google::Protobuf::Descriptor) }
411
+ def self.descriptor
412
+ end
413
+ end
414
+
415
+ # TransactionBegin opens a transaction and sets various options that will be
416
+ # used throughout the transaction.
417
+ class Stately::Db::TransactionBegin
418
+ include ::Google::Protobuf::MessageExts
419
+ extend ::Google::Protobuf::MessageExts::ClassMethods
420
+
421
+ sig do
422
+ params(
423
+ store_id: T.nilable(Integer),
424
+ schema_version_id: T.nilable(Integer)
425
+ ).void
426
+ end
427
+ def initialize(
428
+ store_id: 0,
429
+ schema_version_id: 0
430
+ )
431
+ end
432
+
433
+ # store_id is a globally unique Store ID, which can be looked up from the
434
+ # console or CLI.
435
+ sig { returns(Integer) }
436
+ def store_id
437
+ end
438
+
439
+ # store_id is a globally unique Store ID, which can be looked up from the
440
+ # console or CLI.
441
+ sig { params(value: Integer).void }
442
+ def store_id=(value)
443
+ end
444
+
445
+ # store_id is a globally unique Store ID, which can be looked up from the
446
+ # console or CLI.
447
+ sig { void }
448
+ def clear_store_id
449
+ end
450
+
451
+ # schema_version_id refers to the item version to base this txn from. All items
452
+ # created or modified in this transaction will be based on this schema
453
+ # version.
454
+ #
455
+ # If the store's schema does not have this version, the operation
456
+ # will error with SchemaVersionNotFound error. You should not have to
457
+ # set this manually as your generated SDK should know its schema version
458
+ # and wire this in for you.
459
+ sig { returns(Integer) }
460
+ def schema_version_id
461
+ end
462
+
463
+ # schema_version_id refers to the item version to base this txn from. All items
464
+ # created or modified in this transaction will be based on this schema
465
+ # version.
466
+ #
467
+ # If the store's schema does not have this version, the operation
468
+ # will error with SchemaVersionNotFound error. You should not have to
469
+ # set this manually as your generated SDK should know its schema version
470
+ # and wire this in for you.
471
+ sig { params(value: Integer).void }
472
+ def schema_version_id=(value)
473
+ end
474
+
475
+ # schema_version_id refers to the item version to base this txn from. All items
476
+ # created or modified in this transaction will be based on this schema
477
+ # version.
478
+ #
479
+ # If the store's schema does not have this version, the operation
480
+ # will error with SchemaVersionNotFound error. You should not have to
481
+ # set this manually as your generated SDK should know its schema version
482
+ # and wire this in for you.
483
+ sig { void }
484
+ def clear_schema_version_id
485
+ end
486
+
487
+ sig { params(field: String).returns(T.untyped) }
488
+ def [](field)
489
+ end
490
+
491
+ sig { params(field: String, value: T.untyped).void }
492
+ def []=(field, value)
493
+ end
494
+
495
+ sig { returns(T::Hash[Symbol, T.untyped]) }
496
+ def to_h
497
+ end
498
+
499
+ sig { params(str: String).returns(Stately::Db::TransactionBegin) }
500
+ def self.decode(str)
501
+ end
502
+
503
+ sig { params(msg: Stately::Db::TransactionBegin).returns(String) }
504
+ def self.encode(msg)
505
+ end
506
+
507
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionBegin) }
508
+ def self.decode_json(str, **kw)
509
+ end
510
+
511
+ sig { params(msg: Stately::Db::TransactionBegin, kw: T.untyped).returns(String) }
512
+ def self.encode_json(msg, **kw)
513
+ end
514
+
515
+ sig { returns(::Google::Protobuf::Descriptor) }
516
+ def self.descriptor
517
+ end
518
+ end
519
+
520
+ # TransactionGet is a subset of the GetRequest message, for performing point
521
+ # gets within the context of a transaction.
522
+ class Stately::Db::TransactionGet
523
+ include ::Google::Protobuf::MessageExts
524
+ extend ::Google::Protobuf::MessageExts::ClassMethods
525
+
526
+ sig do
527
+ params(
528
+ gets: T.nilable(T::Array[T.nilable(Stately::Db::GetItem)])
529
+ ).void
530
+ end
531
+ def initialize(
532
+ gets: []
533
+ )
534
+ end
535
+
536
+ # gets is up to 100 requests to get an item its key path.
537
+ sig { returns(T::Array[T.nilable(Stately::Db::GetItem)]) }
538
+ def gets
539
+ end
540
+
541
+ # gets is up to 100 requests to get an item its key path.
542
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
543
+ def gets=(value)
544
+ end
545
+
546
+ # gets is up to 100 requests to get an item its key path.
547
+ sig { void }
548
+ def clear_gets
549
+ end
550
+
551
+ sig { params(field: String).returns(T.untyped) }
552
+ def [](field)
553
+ end
554
+
555
+ sig { params(field: String, value: T.untyped).void }
556
+ def []=(field, value)
557
+ end
558
+
559
+ sig { returns(T::Hash[Symbol, T.untyped]) }
560
+ def to_h
561
+ end
562
+
563
+ sig { params(str: String).returns(Stately::Db::TransactionGet) }
564
+ def self.decode(str)
565
+ end
566
+
567
+ sig { params(msg: Stately::Db::TransactionGet).returns(String) }
568
+ def self.encode(msg)
569
+ end
570
+
571
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionGet) }
572
+ def self.decode_json(str, **kw)
573
+ end
574
+
575
+ sig { params(msg: Stately::Db::TransactionGet, kw: T.untyped).returns(String) }
576
+ def self.encode_json(msg, **kw)
577
+ end
578
+
579
+ sig { returns(::Google::Protobuf::Descriptor) }
580
+ def self.descriptor
581
+ end
582
+ end
583
+
584
+ # TransactionBeginList is a subset of the ListRequest message, for listing within
585
+ # the context of a transaction.
586
+ class Stately::Db::TransactionBeginList
587
+ include ::Google::Protobuf::MessageExts
588
+ extend ::Google::Protobuf::MessageExts::ClassMethods
589
+
590
+ sig do
591
+ params(
592
+ key_path_prefix: T.nilable(String),
593
+ limit: T.nilable(Integer),
594
+ sort_property: T.nilable(T.any(Symbol, String, Integer)),
595
+ sort_direction: T.nilable(T.any(Symbol, String, Integer))
596
+ ).void
597
+ end
598
+ def initialize(
599
+ key_path_prefix: "",
600
+ limit: 0,
601
+ sort_property: :SORTABLE_PROPERTY_KEY_PATH,
602
+ sort_direction: :SORT_ASCENDING
603
+ )
604
+ end
605
+
606
+ # key_path_prefix is the a prefix that limits what items we will return. This
607
+ # must contain at least a root segment. See Item#key_path for more details.
608
+ sig { returns(String) }
609
+ def key_path_prefix
610
+ end
611
+
612
+ # key_path_prefix is the a prefix that limits what items we will return. This
613
+ # must contain at least a root segment. See Item#key_path for more details.
614
+ sig { params(value: String).void }
615
+ def key_path_prefix=(value)
616
+ end
617
+
618
+ # key_path_prefix is the a prefix that limits what items we will return. This
619
+ # must contain at least a root segment. See Item#key_path for more details.
620
+ sig { void }
621
+ def clear_key_path_prefix
622
+ end
623
+
624
+ # limit is the maximum number of items to return. If this is not specified or
625
+ # set to 0, it will be unlimited. Fewer items than the limit may be
626
+ # returned even if there are more items to get - make sure to check
627
+ # token.can_continue.
628
+ sig { returns(Integer) }
629
+ def limit
630
+ end
631
+
632
+ # limit is the maximum number of items to return. If this is not specified or
633
+ # set to 0, it will be unlimited. Fewer items than the limit may be
634
+ # returned even if there are more items to get - make sure to check
635
+ # token.can_continue.
636
+ sig { params(value: Integer).void }
637
+ def limit=(value)
638
+ end
639
+
640
+ # limit is the maximum number of items to return. If this is not specified or
641
+ # set to 0, it will be unlimited. Fewer items than the limit may be
642
+ # returned even if there are more items to get - make sure to check
643
+ # token.can_continue.
644
+ sig { void }
645
+ def clear_limit
646
+ end
647
+
648
+ # sort_property is the property of the item to sort the results by. If this
649
+ # is not set, we will sort by key path.
650
+ sig { returns(T.any(Symbol, Integer)) }
651
+ def sort_property
652
+ end
653
+
654
+ # sort_property is the property of the item to sort the results by. If this
655
+ # is not set, we will sort by key path.
656
+ sig { params(value: T.any(Symbol, String, Integer)).void }
657
+ def sort_property=(value)
658
+ end
659
+
660
+ # sort_property is the property of the item to sort the results by. If this
661
+ # is not set, we will sort by key path.
662
+ sig { void }
663
+ def clear_sort_property
664
+ end
665
+
666
+ # sort_direction is the direction to sort the results in. If this is not set,
667
+ # we will sort in ascending order.
668
+ sig { returns(T.any(Symbol, Integer)) }
669
+ def sort_direction
670
+ end
671
+
672
+ # sort_direction is the direction to sort the results in. If this is not set,
673
+ # we will sort in ascending order.
674
+ sig { params(value: T.any(Symbol, String, Integer)).void }
675
+ def sort_direction=(value)
676
+ end
677
+
678
+ # sort_direction is the direction to sort the results in. If this is not set,
679
+ # we will sort in ascending order.
680
+ sig { void }
681
+ def clear_sort_direction
682
+ end
683
+
684
+ sig { params(field: String).returns(T.untyped) }
685
+ def [](field)
686
+ end
687
+
688
+ sig { params(field: String, value: T.untyped).void }
689
+ def []=(field, value)
690
+ end
691
+
692
+ sig { returns(T::Hash[Symbol, T.untyped]) }
693
+ def to_h
694
+ end
695
+
696
+ sig { params(str: String).returns(Stately::Db::TransactionBeginList) }
697
+ def self.decode(str)
698
+ end
699
+
700
+ sig { params(msg: Stately::Db::TransactionBeginList).returns(String) }
701
+ def self.encode(msg)
702
+ end
703
+
704
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionBeginList) }
705
+ def self.decode_json(str, **kw)
706
+ end
707
+
708
+ sig { params(msg: Stately::Db::TransactionBeginList, kw: T.untyped).returns(String) }
709
+ def self.encode_json(msg, **kw)
710
+ end
711
+
712
+ sig { returns(::Google::Protobuf::Descriptor) }
713
+ def self.descriptor
714
+ end
715
+ end
716
+
717
+ class Stately::Db::TransactionContinueList
718
+ include ::Google::Protobuf::MessageExts
719
+ extend ::Google::Protobuf::MessageExts::ClassMethods
720
+
721
+ sig do
722
+ params(
723
+ token_data: T.nilable(String),
724
+ direction: T.nilable(T.any(Symbol, String, Integer))
725
+ ).void
726
+ end
727
+ def initialize(
728
+ token_data: "",
729
+ direction: :CONTINUE_LIST_FORWARD
730
+ )
731
+ end
732
+
733
+ # token is an opaque list continuation token returned by a previous call to
734
+ # TransactionBeginList or TransactionContinueList.
735
+ sig { returns(String) }
736
+ def token_data
737
+ end
738
+
739
+ # token is an opaque list continuation token returned by a previous call to
740
+ # TransactionBeginList or TransactionContinueList.
741
+ sig { params(value: String).void }
742
+ def token_data=(value)
743
+ end
744
+
745
+ # token is an opaque list continuation token returned by a previous call to
746
+ # TransactionBeginList or TransactionContinueList.
747
+ sig { void }
748
+ def clear_token_data
749
+ end
750
+
751
+ # direction indicates whether we are expanding the result set (paginating)
752
+ # forward (in the direction of the original List operation) or backward (in
753
+ # the opposite direction). The default is to expand forward.
754
+ sig { returns(T.any(Symbol, Integer)) }
755
+ def direction
756
+ end
757
+
758
+ # direction indicates whether we are expanding the result set (paginating)
759
+ # forward (in the direction of the original List operation) or backward (in
760
+ # the opposite direction). The default is to expand forward.
761
+ sig { params(value: T.any(Symbol, String, Integer)).void }
762
+ def direction=(value)
763
+ end
764
+
765
+ # direction indicates whether we are expanding the result set (paginating)
766
+ # forward (in the direction of the original List operation) or backward (in
767
+ # the opposite direction). The default is to expand forward.
768
+ sig { void }
769
+ def clear_direction
770
+ end
771
+
772
+ sig { params(field: String).returns(T.untyped) }
773
+ def [](field)
774
+ end
775
+
776
+ sig { params(field: String, value: T.untyped).void }
777
+ def []=(field, value)
778
+ end
779
+
780
+ sig { returns(T::Hash[Symbol, T.untyped]) }
781
+ def to_h
782
+ end
783
+
784
+ sig { params(str: String).returns(Stately::Db::TransactionContinueList) }
785
+ def self.decode(str)
786
+ end
787
+
788
+ sig { params(msg: Stately::Db::TransactionContinueList).returns(String) }
789
+ def self.encode(msg)
790
+ end
791
+
792
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionContinueList) }
793
+ def self.decode_json(str, **kw)
794
+ end
795
+
796
+ sig { params(msg: Stately::Db::TransactionContinueList, kw: T.untyped).returns(String) }
797
+ def self.encode_json(msg, **kw)
798
+ end
799
+
800
+ sig { returns(::Google::Protobuf::Descriptor) }
801
+ def self.descriptor
802
+ end
803
+ end
804
+
805
+ # TransactionPut is a subset of the PutRequest message, for performing puts
806
+ # within the context of a transaction. These will not be acknowledged until the
807
+ # transaction is finished.
808
+ class Stately::Db::TransactionPut
809
+ include ::Google::Protobuf::MessageExts
810
+ extend ::Google::Protobuf::MessageExts::ClassMethods
811
+
812
+ sig do
813
+ params(
814
+ puts: T.nilable(T::Array[T.nilable(Stately::Db::PutItem)])
815
+ ).void
816
+ end
817
+ def initialize(
818
+ puts: []
819
+ )
820
+ end
821
+
822
+ # puts is up to 50 items to be put into the Store.
823
+ sig { returns(T::Array[T.nilable(Stately::Db::PutItem)]) }
824
+ def puts
825
+ end
826
+
827
+ # puts is up to 50 items to be put into the Store.
828
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
829
+ def puts=(value)
830
+ end
831
+
832
+ # puts is up to 50 items to be put into the Store.
833
+ sig { void }
834
+ def clear_puts
835
+ end
836
+
837
+ sig { params(field: String).returns(T.untyped) }
838
+ def [](field)
839
+ end
840
+
841
+ sig { params(field: String, value: T.untyped).void }
842
+ def []=(field, value)
843
+ end
844
+
845
+ sig { returns(T::Hash[Symbol, T.untyped]) }
846
+ def to_h
847
+ end
848
+
849
+ sig { params(str: String).returns(Stately::Db::TransactionPut) }
850
+ def self.decode(str)
851
+ end
852
+
853
+ sig { params(msg: Stately::Db::TransactionPut).returns(String) }
854
+ def self.encode(msg)
855
+ end
856
+
857
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionPut) }
858
+ def self.decode_json(str, **kw)
859
+ end
860
+
861
+ sig { params(msg: Stately::Db::TransactionPut, kw: T.untyped).returns(String) }
862
+ def self.encode_json(msg, **kw)
863
+ end
864
+
865
+ sig { returns(::Google::Protobuf::Descriptor) }
866
+ def self.descriptor
867
+ end
868
+ end
869
+
870
+ # TransactionDelete is a subset of the DeleteRequest message, for performing
871
+ # deletes within the context of a transaction. These will not be acknowledged
872
+ # until the transaction is finished.
873
+ class Stately::Db::TransactionDelete
874
+ include ::Google::Protobuf::MessageExts
875
+ extend ::Google::Protobuf::MessageExts::ClassMethods
876
+
877
+ sig do
878
+ params(
879
+ deletes: T.nilable(T::Array[T.nilable(Stately::Db::DeleteItem)])
880
+ ).void
881
+ end
882
+ def initialize(
883
+ deletes: []
884
+ )
885
+ end
886
+
887
+ # deletes is up to 50 to be deleted from the Group.
888
+ sig { returns(T::Array[T.nilable(Stately::Db::DeleteItem)]) }
889
+ def deletes
890
+ end
891
+
892
+ # deletes is up to 50 to be deleted from the Group.
893
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
894
+ def deletes=(value)
895
+ end
896
+
897
+ # deletes is up to 50 to be deleted from the Group.
898
+ sig { void }
899
+ def clear_deletes
900
+ end
901
+
902
+ sig { params(field: String).returns(T.untyped) }
903
+ def [](field)
904
+ end
905
+
906
+ sig { params(field: String, value: T.untyped).void }
907
+ def []=(field, value)
908
+ end
909
+
910
+ sig { returns(T::Hash[Symbol, T.untyped]) }
911
+ def to_h
912
+ end
913
+
914
+ sig { params(str: String).returns(Stately::Db::TransactionDelete) }
915
+ def self.decode(str)
916
+ end
917
+
918
+ sig { params(msg: Stately::Db::TransactionDelete).returns(String) }
919
+ def self.encode(msg)
920
+ end
921
+
922
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionDelete) }
923
+ def self.decode_json(str, **kw)
924
+ end
925
+
926
+ sig { params(msg: Stately::Db::TransactionDelete, kw: T.untyped).returns(String) }
927
+ def self.encode_json(msg, **kw)
928
+ end
929
+
930
+ sig { returns(::Google::Protobuf::Descriptor) }
931
+ def self.descriptor
932
+ end
933
+ end
934
+
935
+ # TransactionGetResponse is a subset of the GetResponse message, for
936
+ # returning results during the execution of a transaction.
937
+ class Stately::Db::TransactionGetResponse
938
+ include ::Google::Protobuf::MessageExts
939
+ extend ::Google::Protobuf::MessageExts::ClassMethods
940
+
941
+ sig do
942
+ params(
943
+ items: T.nilable(T::Array[T.nilable(Stately::Db::Item)])
944
+ ).void
945
+ end
946
+ def initialize(
947
+ items: []
948
+ )
949
+ end
950
+
951
+ # items is a list that contains one entry for each Item that was found.
952
+ sig { returns(T::Array[T.nilable(Stately::Db::Item)]) }
953
+ def items
954
+ end
955
+
956
+ # items is a list that contains one entry for each Item that was found.
957
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
958
+ def items=(value)
959
+ end
960
+
961
+ # items is a list that contains one entry for each Item that was found.
962
+ sig { void }
963
+ def clear_items
964
+ end
965
+
966
+ sig { params(field: String).returns(T.untyped) }
967
+ def [](field)
968
+ end
969
+
970
+ sig { params(field: String, value: T.untyped).void }
971
+ def []=(field, value)
972
+ end
973
+
974
+ sig { returns(T::Hash[Symbol, T.untyped]) }
975
+ def to_h
976
+ end
977
+
978
+ sig { params(str: String).returns(Stately::Db::TransactionGetResponse) }
979
+ def self.decode(str)
980
+ end
981
+
982
+ sig { params(msg: Stately::Db::TransactionGetResponse).returns(String) }
983
+ def self.encode(msg)
984
+ end
985
+
986
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionGetResponse) }
987
+ def self.decode_json(str, **kw)
988
+ end
989
+
990
+ sig { params(msg: Stately::Db::TransactionGetResponse, kw: T.untyped).returns(String) }
991
+ def self.encode_json(msg, **kw)
992
+ end
993
+
994
+ sig { returns(::Google::Protobuf::Descriptor) }
995
+ def self.descriptor
996
+ end
997
+ end
998
+
999
+ # GeneratedID represents a unique ID that was generated by the server for a new item.
1000
+ class Stately::Db::GeneratedID
1001
+ include ::Google::Protobuf::MessageExts
1002
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1003
+
1004
+ sig do
1005
+ params(
1006
+ uint: T.nilable(Integer),
1007
+ bytes: T.nilable(String)
1008
+ ).void
1009
+ end
1010
+ def initialize(
1011
+ uint: 0,
1012
+ bytes: ""
1013
+ )
1014
+ end
1015
+
1016
+ sig { returns(Integer) }
1017
+ def uint
1018
+ end
1019
+
1020
+ sig { params(value: Integer).void }
1021
+ def uint=(value)
1022
+ end
1023
+
1024
+ sig { void }
1025
+ def clear_uint
1026
+ end
1027
+
1028
+ sig { returns(String) }
1029
+ def bytes
1030
+ end
1031
+
1032
+ sig { params(value: String).void }
1033
+ def bytes=(value)
1034
+ end
1035
+
1036
+ sig { void }
1037
+ def clear_bytes
1038
+ end
1039
+
1040
+ sig { returns(T.nilable(Symbol)) }
1041
+ def value
1042
+ end
1043
+
1044
+ sig { params(field: String).returns(T.untyped) }
1045
+ def [](field)
1046
+ end
1047
+
1048
+ sig { params(field: String, value: T.untyped).void }
1049
+ def []=(field, value)
1050
+ end
1051
+
1052
+ sig { returns(T::Hash[Symbol, T.untyped]) }
1053
+ def to_h
1054
+ end
1055
+
1056
+ sig { params(str: String).returns(Stately::Db::GeneratedID) }
1057
+ def self.decode(str)
1058
+ end
1059
+
1060
+ sig { params(msg: Stately::Db::GeneratedID).returns(String) }
1061
+ def self.encode(msg)
1062
+ end
1063
+
1064
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::GeneratedID) }
1065
+ def self.decode_json(str, **kw)
1066
+ end
1067
+
1068
+ sig { params(msg: Stately::Db::GeneratedID, kw: T.untyped).returns(String) }
1069
+ def self.encode_json(msg, **kw)
1070
+ end
1071
+
1072
+ sig { returns(::Google::Protobuf::Descriptor) }
1073
+ def self.descriptor
1074
+ end
1075
+ end
1076
+
1077
+ class Stately::Db::TransactionPutAck
1078
+ include ::Google::Protobuf::MessageExts
1079
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1080
+
1081
+ sig do
1082
+ params(
1083
+ generated_ids: T.nilable(T::Array[T.nilable(Stately::Db::GeneratedID)])
1084
+ ).void
1085
+ end
1086
+ def initialize(
1087
+ generated_ids: []
1088
+ )
1089
+ end
1090
+
1091
+ # generated_ids is a list of generated identifiers for the items in a
1092
+ # TransactionPut. IDs are returned in the same order of the PutItems provided
1093
+ # in TransactionPut#puts. For each item where an ID was chosen via its
1094
+ # "initialValue" property, the chosen value is represented in the returned
1095
+ # GeneratedID. There is only at most one generated ID per Put, because we
1096
+ # only allow a single ID property to be generated per item. If the Put didn't
1097
+ # need any generated IDs, the GeneratedID in its position will be empty.
1098
+ #
1099
+ # Clients can use these IDs in subsequent Put operations (e.g. to insert
1100
+ # child or related items). If the transaction is aborted, the item(s) will
1101
+ # not be added and other item(s) could be created with the same IDs.
1102
+ sig { returns(T::Array[T.nilable(Stately::Db::GeneratedID)]) }
1103
+ def generated_ids
1104
+ end
1105
+
1106
+ # generated_ids is a list of generated identifiers for the items in a
1107
+ # TransactionPut. IDs are returned in the same order of the PutItems provided
1108
+ # in TransactionPut#puts. For each item where an ID was chosen via its
1109
+ # "initialValue" property, the chosen value is represented in the returned
1110
+ # GeneratedID. There is only at most one generated ID per Put, because we
1111
+ # only allow a single ID property to be generated per item. If the Put didn't
1112
+ # need any generated IDs, the GeneratedID in its position will be empty.
1113
+ #
1114
+ # Clients can use these IDs in subsequent Put operations (e.g. to insert
1115
+ # child or related items). If the transaction is aborted, the item(s) will
1116
+ # not be added and other item(s) could be created with the same IDs.
1117
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
1118
+ def generated_ids=(value)
1119
+ end
1120
+
1121
+ # generated_ids is a list of generated identifiers for the items in a
1122
+ # TransactionPut. IDs are returned in the same order of the PutItems provided
1123
+ # in TransactionPut#puts. For each item where an ID was chosen via its
1124
+ # "initialValue" property, the chosen value is represented in the returned
1125
+ # GeneratedID. There is only at most one generated ID per Put, because we
1126
+ # only allow a single ID property to be generated per item. If the Put didn't
1127
+ # need any generated IDs, the GeneratedID in its position will be empty.
1128
+ #
1129
+ # Clients can use these IDs in subsequent Put operations (e.g. to insert
1130
+ # child or related items). If the transaction is aborted, the item(s) will
1131
+ # not be added and other item(s) could be created with the same IDs.
1132
+ sig { void }
1133
+ def clear_generated_ids
1134
+ end
1135
+
1136
+ sig { params(field: String).returns(T.untyped) }
1137
+ def [](field)
1138
+ end
1139
+
1140
+ sig { params(field: String, value: T.untyped).void }
1141
+ def []=(field, value)
1142
+ end
1143
+
1144
+ sig { returns(T::Hash[Symbol, T.untyped]) }
1145
+ def to_h
1146
+ end
1147
+
1148
+ sig { params(str: String).returns(Stately::Db::TransactionPutAck) }
1149
+ def self.decode(str)
1150
+ end
1151
+
1152
+ sig { params(msg: Stately::Db::TransactionPutAck).returns(String) }
1153
+ def self.encode(msg)
1154
+ end
1155
+
1156
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionPutAck) }
1157
+ def self.decode_json(str, **kw)
1158
+ end
1159
+
1160
+ sig { params(msg: Stately::Db::TransactionPutAck, kw: T.untyped).returns(String) }
1161
+ def self.encode_json(msg, **kw)
1162
+ end
1163
+
1164
+ sig { returns(::Google::Protobuf::Descriptor) }
1165
+ def self.descriptor
1166
+ end
1167
+ end
1168
+
1169
+ # TransactionListResponse is a subset of the ListResponse message, for
1170
+ # returning results during the execution of a transaction.
1171
+ class Stately::Db::TransactionListResponse
1172
+ include ::Google::Protobuf::MessageExts
1173
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1174
+
1175
+ sig do
1176
+ params(
1177
+ result: T.nilable(Stately::Db::ListPartialResult),
1178
+ finished: T.nilable(Stately::Db::ListFinished)
1179
+ ).void
1180
+ end
1181
+ def initialize(
1182
+ result: nil,
1183
+ finished: nil
1184
+ )
1185
+ end
1186
+
1187
+ # Result is a segment of the result set - multiple of these may be returned
1188
+ # in a stream before the final "finished" message.
1189
+ sig { returns(T.nilable(Stately::Db::ListPartialResult)) }
1190
+ def result
1191
+ end
1192
+
1193
+ # Result is a segment of the result set - multiple of these may be returned
1194
+ # in a stream before the final "finished" message.
1195
+ sig { params(value: T.nilable(Stately::Db::ListPartialResult)).void }
1196
+ def result=(value)
1197
+ end
1198
+
1199
+ # Result is a segment of the result set - multiple of these may be returned
1200
+ # in a stream before the final "finished" message.
1201
+ sig { void }
1202
+ def clear_result
1203
+ end
1204
+
1205
+ # Finished is sent when there are no more results in this operation, and
1206
+ # there will only be one.
1207
+ sig { returns(T.nilable(Stately::Db::ListFinished)) }
1208
+ def finished
1209
+ end
1210
+
1211
+ # Finished is sent when there are no more results in this operation, and
1212
+ # there will only be one.
1213
+ sig { params(value: T.nilable(Stately::Db::ListFinished)).void }
1214
+ def finished=(value)
1215
+ end
1216
+
1217
+ # Finished is sent when there are no more results in this operation, and
1218
+ # there will only be one.
1219
+ sig { void }
1220
+ def clear_finished
1221
+ end
1222
+
1223
+ sig { returns(T.nilable(Symbol)) }
1224
+ def response
1225
+ end
1226
+
1227
+ sig { params(field: String).returns(T.untyped) }
1228
+ def [](field)
1229
+ end
1230
+
1231
+ sig { params(field: String, value: T.untyped).void }
1232
+ def []=(field, value)
1233
+ end
1234
+
1235
+ sig { returns(T::Hash[Symbol, T.untyped]) }
1236
+ def to_h
1237
+ end
1238
+
1239
+ sig { params(str: String).returns(Stately::Db::TransactionListResponse) }
1240
+ def self.decode(str)
1241
+ end
1242
+
1243
+ sig { params(msg: Stately::Db::TransactionListResponse).returns(String) }
1244
+ def self.encode(msg)
1245
+ end
1246
+
1247
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionListResponse) }
1248
+ def self.decode_json(str, **kw)
1249
+ end
1250
+
1251
+ sig { params(msg: Stately::Db::TransactionListResponse, kw: T.untyped).returns(String) }
1252
+ def self.encode_json(msg, **kw)
1253
+ end
1254
+
1255
+ sig { returns(::Google::Protobuf::Descriptor) }
1256
+ def self.descriptor
1257
+ end
1258
+ end
1259
+
1260
+ class Stately::Db::TransactionFinished
1261
+ include ::Google::Protobuf::MessageExts
1262
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1263
+
1264
+ sig do
1265
+ params(
1266
+ committed: T.nilable(T::Boolean),
1267
+ put_results: T.nilable(T::Array[T.nilable(Stately::Db::Item)]),
1268
+ delete_results: T.nilable(T::Array[T.nilable(Stately::Db::DeleteResult)])
1269
+ ).void
1270
+ end
1271
+ def initialize(
1272
+ committed: false,
1273
+ put_results: [],
1274
+ delete_results: []
1275
+ )
1276
+ end
1277
+
1278
+ # Did the commit finish (the alternative is that it was aborted/rolled back)
1279
+ sig { returns(T::Boolean) }
1280
+ def committed
1281
+ end
1282
+
1283
+ # Did the commit finish (the alternative is that it was aborted/rolled back)
1284
+ sig { params(value: T::Boolean).void }
1285
+ def committed=(value)
1286
+ end
1287
+
1288
+ # Did the commit finish (the alternative is that it was aborted/rolled back)
1289
+ sig { void }
1290
+ def clear_committed
1291
+ end
1292
+
1293
+ # put_results contains the full result of each Put operation. This only comes
1294
+ # back with the TransactionFinished message because full metadata isn't
1295
+ # available until then.
1296
+ sig { returns(T::Array[T.nilable(Stately::Db::Item)]) }
1297
+ def put_results
1298
+ end
1299
+
1300
+ # put_results contains the full result of each Put operation. This only comes
1301
+ # back with the TransactionFinished message because full metadata isn't
1302
+ # available until then.
1303
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
1304
+ def put_results=(value)
1305
+ end
1306
+
1307
+ # put_results contains the full result of each Put operation. This only comes
1308
+ # back with the TransactionFinished message because full metadata isn't
1309
+ # available until then.
1310
+ sig { void }
1311
+ def clear_put_results
1312
+ end
1313
+
1314
+ # delete_results contains the full result of each Delete operation. This only
1315
+ # comes back with the TransactionFinished message because full metadata isn't
1316
+ # available until then.
1317
+ sig { returns(T::Array[T.nilable(Stately::Db::DeleteResult)]) }
1318
+ def delete_results
1319
+ end
1320
+
1321
+ # delete_results contains the full result of each Delete operation. This only
1322
+ # comes back with the TransactionFinished message because full metadata isn't
1323
+ # available until then.
1324
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
1325
+ def delete_results=(value)
1326
+ end
1327
+
1328
+ # delete_results contains the full result of each Delete operation. This only
1329
+ # comes back with the TransactionFinished message because full metadata isn't
1330
+ # available until then.
1331
+ sig { void }
1332
+ def clear_delete_results
1333
+ end
1334
+
1335
+ sig { params(field: String).returns(T.untyped) }
1336
+ def [](field)
1337
+ end
1338
+
1339
+ sig { params(field: String, value: T.untyped).void }
1340
+ def []=(field, value)
1341
+ end
1342
+
1343
+ sig { returns(T::Hash[Symbol, T.untyped]) }
1344
+ def to_h
1345
+ end
1346
+
1347
+ sig { params(str: String).returns(Stately::Db::TransactionFinished) }
1348
+ def self.decode(str)
1349
+ end
1350
+
1351
+ sig { params(msg: Stately::Db::TransactionFinished).returns(String) }
1352
+ def self.encode(msg)
1353
+ end
1354
+
1355
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionFinished) }
1356
+ def self.decode_json(str, **kw)
1357
+ end
1358
+
1359
+ sig { params(msg: Stately::Db::TransactionFinished, kw: T.untyped).returns(String) }
1360
+ def self.encode_json(msg, **kw)
1361
+ end
1362
+
1363
+ sig { returns(::Google::Protobuf::Descriptor) }
1364
+ def self.descriptor
1365
+ end
1366
+ end