statelydb 0.22.0 → 0.24.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,1392 @@
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
+ schema_id: T.nilable(Integer)
426
+ ).void
427
+ end
428
+ def initialize(
429
+ store_id: 0,
430
+ schema_version_id: 0,
431
+ schema_id: 0
432
+ )
433
+ end
434
+
435
+ # store_id is a globally unique Store ID, which can be looked up from the
436
+ # console or CLI.
437
+ sig { returns(Integer) }
438
+ def store_id
439
+ end
440
+
441
+ # store_id is a globally unique Store ID, which can be looked up from the
442
+ # console or CLI.
443
+ sig { params(value: Integer).void }
444
+ def store_id=(value)
445
+ end
446
+
447
+ # store_id is a globally unique Store ID, which can be looked up from the
448
+ # console or CLI.
449
+ sig { void }
450
+ def clear_store_id
451
+ end
452
+
453
+ # schema_version_id refers to the item version to base this txn from. All items
454
+ # created or modified in this transaction will be based on this schema
455
+ # version.
456
+ #
457
+ # If the store's schema does not have this version, the operation
458
+ # will error with SchemaVersionNotFound error. You should not have to
459
+ # set this manually as your generated SDK should know its schema version
460
+ # and wire this in for you.
461
+ sig { returns(Integer) }
462
+ def schema_version_id
463
+ end
464
+
465
+ # schema_version_id refers to the item version to base this txn from. All items
466
+ # created or modified in this transaction will be based on this schema
467
+ # version.
468
+ #
469
+ # If the store's schema does not have this version, the operation
470
+ # will error with SchemaVersionNotFound error. You should not have to
471
+ # set this manually as your generated SDK should know its schema version
472
+ # and wire this in for you.
473
+ sig { params(value: Integer).void }
474
+ def schema_version_id=(value)
475
+ end
476
+
477
+ # schema_version_id refers to the item version to base this txn from. All items
478
+ # created or modified in this transaction will be based on this schema
479
+ # version.
480
+ #
481
+ # If the store's schema does not have this version, the operation
482
+ # will error with SchemaVersionNotFound error. You should not have to
483
+ # set this manually as your generated SDK should know its schema version
484
+ # and wire this in for you.
485
+ sig { void }
486
+ def clear_schema_version_id
487
+ end
488
+
489
+ # schema_id refers to the schema to use for this operation.
490
+ # If the store_id does not have a schema with this ID, the operation will
491
+ # error with SchemaNotFound error. You should not have to set this manually
492
+ # as your generated SDK should know its schema and wire this in for you.
493
+ sig { returns(Integer) }
494
+ def schema_id
495
+ end
496
+
497
+ # schema_id refers to the schema to use for this operation.
498
+ # If the store_id does not have a schema with this ID, the operation will
499
+ # error with SchemaNotFound error. You should not have to set this manually
500
+ # as your generated SDK should know its schema and wire this in for you.
501
+ sig { params(value: Integer).void }
502
+ def schema_id=(value)
503
+ end
504
+
505
+ # schema_id refers to the schema to use for this operation.
506
+ # If the store_id does not have a schema with this ID, the operation will
507
+ # error with SchemaNotFound error. You should not have to set this manually
508
+ # as your generated SDK should know its schema and wire this in for you.
509
+ sig { void }
510
+ def clear_schema_id
511
+ end
512
+
513
+ sig { params(field: String).returns(T.untyped) }
514
+ def [](field)
515
+ end
516
+
517
+ sig { params(field: String, value: T.untyped).void }
518
+ def []=(field, value)
519
+ end
520
+
521
+ sig { returns(T::Hash[Symbol, T.untyped]) }
522
+ def to_h
523
+ end
524
+
525
+ sig { params(str: String).returns(Stately::Db::TransactionBegin) }
526
+ def self.decode(str)
527
+ end
528
+
529
+ sig { params(msg: Stately::Db::TransactionBegin).returns(String) }
530
+ def self.encode(msg)
531
+ end
532
+
533
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionBegin) }
534
+ def self.decode_json(str, **kw)
535
+ end
536
+
537
+ sig { params(msg: Stately::Db::TransactionBegin, kw: T.untyped).returns(String) }
538
+ def self.encode_json(msg, **kw)
539
+ end
540
+
541
+ sig { returns(::Google::Protobuf::Descriptor) }
542
+ def self.descriptor
543
+ end
544
+ end
545
+
546
+ # TransactionGet is a subset of the GetRequest message, for performing point
547
+ # gets within the context of a transaction.
548
+ class Stately::Db::TransactionGet
549
+ include ::Google::Protobuf::MessageExts
550
+ extend ::Google::Protobuf::MessageExts::ClassMethods
551
+
552
+ sig do
553
+ params(
554
+ gets: T.nilable(T::Array[T.nilable(Stately::Db::GetItem)])
555
+ ).void
556
+ end
557
+ def initialize(
558
+ gets: []
559
+ )
560
+ end
561
+
562
+ # gets is up to 100 requests to get an item its key path.
563
+ sig { returns(T::Array[T.nilable(Stately::Db::GetItem)]) }
564
+ def gets
565
+ end
566
+
567
+ # gets is up to 100 requests to get an item its key path.
568
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
569
+ def gets=(value)
570
+ end
571
+
572
+ # gets is up to 100 requests to get an item its key path.
573
+ sig { void }
574
+ def clear_gets
575
+ end
576
+
577
+ sig { params(field: String).returns(T.untyped) }
578
+ def [](field)
579
+ end
580
+
581
+ sig { params(field: String, value: T.untyped).void }
582
+ def []=(field, value)
583
+ end
584
+
585
+ sig { returns(T::Hash[Symbol, T.untyped]) }
586
+ def to_h
587
+ end
588
+
589
+ sig { params(str: String).returns(Stately::Db::TransactionGet) }
590
+ def self.decode(str)
591
+ end
592
+
593
+ sig { params(msg: Stately::Db::TransactionGet).returns(String) }
594
+ def self.encode(msg)
595
+ end
596
+
597
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionGet) }
598
+ def self.decode_json(str, **kw)
599
+ end
600
+
601
+ sig { params(msg: Stately::Db::TransactionGet, kw: T.untyped).returns(String) }
602
+ def self.encode_json(msg, **kw)
603
+ end
604
+
605
+ sig { returns(::Google::Protobuf::Descriptor) }
606
+ def self.descriptor
607
+ end
608
+ end
609
+
610
+ # TransactionBeginList is a subset of the ListRequest message, for listing within
611
+ # the context of a transaction.
612
+ class Stately::Db::TransactionBeginList
613
+ include ::Google::Protobuf::MessageExts
614
+ extend ::Google::Protobuf::MessageExts::ClassMethods
615
+
616
+ sig do
617
+ params(
618
+ key_path_prefix: T.nilable(String),
619
+ limit: T.nilable(Integer),
620
+ sort_property: T.nilable(T.any(Symbol, String, Integer)),
621
+ sort_direction: T.nilable(T.any(Symbol, String, Integer))
622
+ ).void
623
+ end
624
+ def initialize(
625
+ key_path_prefix: "",
626
+ limit: 0,
627
+ sort_property: :SORTABLE_PROPERTY_KEY_PATH,
628
+ sort_direction: :SORT_ASCENDING
629
+ )
630
+ end
631
+
632
+ # key_path_prefix is the a prefix that limits what items we will return. This
633
+ # must contain at least a root segment. See Item#key_path for more details.
634
+ sig { returns(String) }
635
+ def key_path_prefix
636
+ end
637
+
638
+ # key_path_prefix is the a prefix that limits what items we will return. This
639
+ # must contain at least a root segment. See Item#key_path for more details.
640
+ sig { params(value: String).void }
641
+ def key_path_prefix=(value)
642
+ end
643
+
644
+ # key_path_prefix is the a prefix that limits what items we will return. This
645
+ # must contain at least a root segment. See Item#key_path for more details.
646
+ sig { void }
647
+ def clear_key_path_prefix
648
+ end
649
+
650
+ # limit is the maximum number of items to return. If this is not specified or
651
+ # set to 0, it will be unlimited. Fewer items than the limit may be
652
+ # returned even if there are more items to get - make sure to check
653
+ # token.can_continue.
654
+ sig { returns(Integer) }
655
+ def limit
656
+ end
657
+
658
+ # limit is the maximum number of items to return. If this is not specified or
659
+ # set to 0, it will be unlimited. Fewer items than the limit may be
660
+ # returned even if there are more items to get - make sure to check
661
+ # token.can_continue.
662
+ sig { params(value: Integer).void }
663
+ def limit=(value)
664
+ end
665
+
666
+ # limit is the maximum number of items to return. If this is not specified or
667
+ # set to 0, it will be unlimited. Fewer items than the limit may be
668
+ # returned even if there are more items to get - make sure to check
669
+ # token.can_continue.
670
+ sig { void }
671
+ def clear_limit
672
+ end
673
+
674
+ # sort_property is the property of the item to sort the results by. If this
675
+ # is not set, we will sort by key path.
676
+ sig { returns(T.any(Symbol, Integer)) }
677
+ def sort_property
678
+ end
679
+
680
+ # sort_property is the property of the item to sort the results by. If this
681
+ # is not set, we will sort by key path.
682
+ sig { params(value: T.any(Symbol, String, Integer)).void }
683
+ def sort_property=(value)
684
+ end
685
+
686
+ # sort_property is the property of the item to sort the results by. If this
687
+ # is not set, we will sort by key path.
688
+ sig { void }
689
+ def clear_sort_property
690
+ end
691
+
692
+ # sort_direction is the direction to sort the results in. If this is not set,
693
+ # we will sort in ascending order.
694
+ sig { returns(T.any(Symbol, Integer)) }
695
+ def sort_direction
696
+ end
697
+
698
+ # sort_direction is the direction to sort the results in. If this is not set,
699
+ # we will sort in ascending order.
700
+ sig { params(value: T.any(Symbol, String, Integer)).void }
701
+ def sort_direction=(value)
702
+ end
703
+
704
+ # sort_direction is the direction to sort the results in. If this is not set,
705
+ # we will sort in ascending order.
706
+ sig { void }
707
+ def clear_sort_direction
708
+ end
709
+
710
+ sig { params(field: String).returns(T.untyped) }
711
+ def [](field)
712
+ end
713
+
714
+ sig { params(field: String, value: T.untyped).void }
715
+ def []=(field, value)
716
+ end
717
+
718
+ sig { returns(T::Hash[Symbol, T.untyped]) }
719
+ def to_h
720
+ end
721
+
722
+ sig { params(str: String).returns(Stately::Db::TransactionBeginList) }
723
+ def self.decode(str)
724
+ end
725
+
726
+ sig { params(msg: Stately::Db::TransactionBeginList).returns(String) }
727
+ def self.encode(msg)
728
+ end
729
+
730
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionBeginList) }
731
+ def self.decode_json(str, **kw)
732
+ end
733
+
734
+ sig { params(msg: Stately::Db::TransactionBeginList, kw: T.untyped).returns(String) }
735
+ def self.encode_json(msg, **kw)
736
+ end
737
+
738
+ sig { returns(::Google::Protobuf::Descriptor) }
739
+ def self.descriptor
740
+ end
741
+ end
742
+
743
+ class Stately::Db::TransactionContinueList
744
+ include ::Google::Protobuf::MessageExts
745
+ extend ::Google::Protobuf::MessageExts::ClassMethods
746
+
747
+ sig do
748
+ params(
749
+ token_data: T.nilable(String),
750
+ direction: T.nilable(T.any(Symbol, String, Integer))
751
+ ).void
752
+ end
753
+ def initialize(
754
+ token_data: "",
755
+ direction: :CONTINUE_LIST_FORWARD
756
+ )
757
+ end
758
+
759
+ # token is an opaque list continuation token returned by a previous call to
760
+ # TransactionBeginList or TransactionContinueList.
761
+ sig { returns(String) }
762
+ def token_data
763
+ end
764
+
765
+ # token is an opaque list continuation token returned by a previous call to
766
+ # TransactionBeginList or TransactionContinueList.
767
+ sig { params(value: String).void }
768
+ def token_data=(value)
769
+ end
770
+
771
+ # token is an opaque list continuation token returned by a previous call to
772
+ # TransactionBeginList or TransactionContinueList.
773
+ sig { void }
774
+ def clear_token_data
775
+ end
776
+
777
+ # direction indicates whether we are expanding the result set (paginating)
778
+ # forward (in the direction of the original List operation) or backward (in
779
+ # the opposite direction). The default is to expand forward.
780
+ sig { returns(T.any(Symbol, Integer)) }
781
+ def direction
782
+ end
783
+
784
+ # direction indicates whether we are expanding the result set (paginating)
785
+ # forward (in the direction of the original List operation) or backward (in
786
+ # the opposite direction). The default is to expand forward.
787
+ sig { params(value: T.any(Symbol, String, Integer)).void }
788
+ def direction=(value)
789
+ end
790
+
791
+ # direction indicates whether we are expanding the result set (paginating)
792
+ # forward (in the direction of the original List operation) or backward (in
793
+ # the opposite direction). The default is to expand forward.
794
+ sig { void }
795
+ def clear_direction
796
+ end
797
+
798
+ sig { params(field: String).returns(T.untyped) }
799
+ def [](field)
800
+ end
801
+
802
+ sig { params(field: String, value: T.untyped).void }
803
+ def []=(field, value)
804
+ end
805
+
806
+ sig { returns(T::Hash[Symbol, T.untyped]) }
807
+ def to_h
808
+ end
809
+
810
+ sig { params(str: String).returns(Stately::Db::TransactionContinueList) }
811
+ def self.decode(str)
812
+ end
813
+
814
+ sig { params(msg: Stately::Db::TransactionContinueList).returns(String) }
815
+ def self.encode(msg)
816
+ end
817
+
818
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionContinueList) }
819
+ def self.decode_json(str, **kw)
820
+ end
821
+
822
+ sig { params(msg: Stately::Db::TransactionContinueList, kw: T.untyped).returns(String) }
823
+ def self.encode_json(msg, **kw)
824
+ end
825
+
826
+ sig { returns(::Google::Protobuf::Descriptor) }
827
+ def self.descriptor
828
+ end
829
+ end
830
+
831
+ # TransactionPut is a subset of the PutRequest message, for performing puts
832
+ # within the context of a transaction. These will not be acknowledged until the
833
+ # transaction is finished.
834
+ class Stately::Db::TransactionPut
835
+ include ::Google::Protobuf::MessageExts
836
+ extend ::Google::Protobuf::MessageExts::ClassMethods
837
+
838
+ sig do
839
+ params(
840
+ puts: T.nilable(T::Array[T.nilable(Stately::Db::PutItem)])
841
+ ).void
842
+ end
843
+ def initialize(
844
+ puts: []
845
+ )
846
+ end
847
+
848
+ # puts is up to 50 items to be put into the Store.
849
+ sig { returns(T::Array[T.nilable(Stately::Db::PutItem)]) }
850
+ def puts
851
+ end
852
+
853
+ # puts is up to 50 items to be put into the Store.
854
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
855
+ def puts=(value)
856
+ end
857
+
858
+ # puts is up to 50 items to be put into the Store.
859
+ sig { void }
860
+ def clear_puts
861
+ end
862
+
863
+ sig { params(field: String).returns(T.untyped) }
864
+ def [](field)
865
+ end
866
+
867
+ sig { params(field: String, value: T.untyped).void }
868
+ def []=(field, value)
869
+ end
870
+
871
+ sig { returns(T::Hash[Symbol, T.untyped]) }
872
+ def to_h
873
+ end
874
+
875
+ sig { params(str: String).returns(Stately::Db::TransactionPut) }
876
+ def self.decode(str)
877
+ end
878
+
879
+ sig { params(msg: Stately::Db::TransactionPut).returns(String) }
880
+ def self.encode(msg)
881
+ end
882
+
883
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionPut) }
884
+ def self.decode_json(str, **kw)
885
+ end
886
+
887
+ sig { params(msg: Stately::Db::TransactionPut, kw: T.untyped).returns(String) }
888
+ def self.encode_json(msg, **kw)
889
+ end
890
+
891
+ sig { returns(::Google::Protobuf::Descriptor) }
892
+ def self.descriptor
893
+ end
894
+ end
895
+
896
+ # TransactionDelete is a subset of the DeleteRequest message, for performing
897
+ # deletes within the context of a transaction. These will not be acknowledged
898
+ # until the transaction is finished.
899
+ class Stately::Db::TransactionDelete
900
+ include ::Google::Protobuf::MessageExts
901
+ extend ::Google::Protobuf::MessageExts::ClassMethods
902
+
903
+ sig do
904
+ params(
905
+ deletes: T.nilable(T::Array[T.nilable(Stately::Db::DeleteItem)])
906
+ ).void
907
+ end
908
+ def initialize(
909
+ deletes: []
910
+ )
911
+ end
912
+
913
+ # deletes is up to 50 to be deleted from the Group.
914
+ sig { returns(T::Array[T.nilable(Stately::Db::DeleteItem)]) }
915
+ def deletes
916
+ end
917
+
918
+ # deletes is up to 50 to be deleted from the Group.
919
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
920
+ def deletes=(value)
921
+ end
922
+
923
+ # deletes is up to 50 to be deleted from the Group.
924
+ sig { void }
925
+ def clear_deletes
926
+ end
927
+
928
+ sig { params(field: String).returns(T.untyped) }
929
+ def [](field)
930
+ end
931
+
932
+ sig { params(field: String, value: T.untyped).void }
933
+ def []=(field, value)
934
+ end
935
+
936
+ sig { returns(T::Hash[Symbol, T.untyped]) }
937
+ def to_h
938
+ end
939
+
940
+ sig { params(str: String).returns(Stately::Db::TransactionDelete) }
941
+ def self.decode(str)
942
+ end
943
+
944
+ sig { params(msg: Stately::Db::TransactionDelete).returns(String) }
945
+ def self.encode(msg)
946
+ end
947
+
948
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionDelete) }
949
+ def self.decode_json(str, **kw)
950
+ end
951
+
952
+ sig { params(msg: Stately::Db::TransactionDelete, kw: T.untyped).returns(String) }
953
+ def self.encode_json(msg, **kw)
954
+ end
955
+
956
+ sig { returns(::Google::Protobuf::Descriptor) }
957
+ def self.descriptor
958
+ end
959
+ end
960
+
961
+ # TransactionGetResponse is a subset of the GetResponse message, for
962
+ # returning results during the execution of a transaction.
963
+ class Stately::Db::TransactionGetResponse
964
+ include ::Google::Protobuf::MessageExts
965
+ extend ::Google::Protobuf::MessageExts::ClassMethods
966
+
967
+ sig do
968
+ params(
969
+ items: T.nilable(T::Array[T.nilable(Stately::Db::Item)])
970
+ ).void
971
+ end
972
+ def initialize(
973
+ items: []
974
+ )
975
+ end
976
+
977
+ # items is a list that contains one entry for each Item that was found.
978
+ sig { returns(T::Array[T.nilable(Stately::Db::Item)]) }
979
+ def items
980
+ end
981
+
982
+ # items is a list that contains one entry for each Item that was found.
983
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
984
+ def items=(value)
985
+ end
986
+
987
+ # items is a list that contains one entry for each Item that was found.
988
+ sig { void }
989
+ def clear_items
990
+ end
991
+
992
+ sig { params(field: String).returns(T.untyped) }
993
+ def [](field)
994
+ end
995
+
996
+ sig { params(field: String, value: T.untyped).void }
997
+ def []=(field, value)
998
+ end
999
+
1000
+ sig { returns(T::Hash[Symbol, T.untyped]) }
1001
+ def to_h
1002
+ end
1003
+
1004
+ sig { params(str: String).returns(Stately::Db::TransactionGetResponse) }
1005
+ def self.decode(str)
1006
+ end
1007
+
1008
+ sig { params(msg: Stately::Db::TransactionGetResponse).returns(String) }
1009
+ def self.encode(msg)
1010
+ end
1011
+
1012
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionGetResponse) }
1013
+ def self.decode_json(str, **kw)
1014
+ end
1015
+
1016
+ sig { params(msg: Stately::Db::TransactionGetResponse, kw: T.untyped).returns(String) }
1017
+ def self.encode_json(msg, **kw)
1018
+ end
1019
+
1020
+ sig { returns(::Google::Protobuf::Descriptor) }
1021
+ def self.descriptor
1022
+ end
1023
+ end
1024
+
1025
+ # GeneratedID represents a unique ID that was generated by the server for a new item.
1026
+ class Stately::Db::GeneratedID
1027
+ include ::Google::Protobuf::MessageExts
1028
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1029
+
1030
+ sig do
1031
+ params(
1032
+ uint: T.nilable(Integer),
1033
+ bytes: T.nilable(String)
1034
+ ).void
1035
+ end
1036
+ def initialize(
1037
+ uint: 0,
1038
+ bytes: ""
1039
+ )
1040
+ end
1041
+
1042
+ sig { returns(Integer) }
1043
+ def uint
1044
+ end
1045
+
1046
+ sig { params(value: Integer).void }
1047
+ def uint=(value)
1048
+ end
1049
+
1050
+ sig { void }
1051
+ def clear_uint
1052
+ end
1053
+
1054
+ sig { returns(String) }
1055
+ def bytes
1056
+ end
1057
+
1058
+ sig { params(value: String).void }
1059
+ def bytes=(value)
1060
+ end
1061
+
1062
+ sig { void }
1063
+ def clear_bytes
1064
+ end
1065
+
1066
+ sig { returns(T.nilable(Symbol)) }
1067
+ def value
1068
+ end
1069
+
1070
+ sig { params(field: String).returns(T.untyped) }
1071
+ def [](field)
1072
+ end
1073
+
1074
+ sig { params(field: String, value: T.untyped).void }
1075
+ def []=(field, value)
1076
+ end
1077
+
1078
+ sig { returns(T::Hash[Symbol, T.untyped]) }
1079
+ def to_h
1080
+ end
1081
+
1082
+ sig { params(str: String).returns(Stately::Db::GeneratedID) }
1083
+ def self.decode(str)
1084
+ end
1085
+
1086
+ sig { params(msg: Stately::Db::GeneratedID).returns(String) }
1087
+ def self.encode(msg)
1088
+ end
1089
+
1090
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::GeneratedID) }
1091
+ def self.decode_json(str, **kw)
1092
+ end
1093
+
1094
+ sig { params(msg: Stately::Db::GeneratedID, kw: T.untyped).returns(String) }
1095
+ def self.encode_json(msg, **kw)
1096
+ end
1097
+
1098
+ sig { returns(::Google::Protobuf::Descriptor) }
1099
+ def self.descriptor
1100
+ end
1101
+ end
1102
+
1103
+ class Stately::Db::TransactionPutAck
1104
+ include ::Google::Protobuf::MessageExts
1105
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1106
+
1107
+ sig do
1108
+ params(
1109
+ generated_ids: T.nilable(T::Array[T.nilable(Stately::Db::GeneratedID)])
1110
+ ).void
1111
+ end
1112
+ def initialize(
1113
+ generated_ids: []
1114
+ )
1115
+ end
1116
+
1117
+ # generated_ids is a list of generated identifiers for the items in a
1118
+ # TransactionPut. IDs are returned in the same order of the PutItems provided
1119
+ # in TransactionPut#puts. For each item where an ID was chosen via its
1120
+ # "initialValue" property, the chosen value is represented in the returned
1121
+ # GeneratedID. There is only at most one generated ID per Put, because we
1122
+ # only allow a single ID property to be generated per item. If the Put didn't
1123
+ # need any generated IDs, the GeneratedID in its position will be empty.
1124
+ #
1125
+ # Clients can use these IDs in subsequent Put operations (e.g. to insert
1126
+ # child or related items). If the transaction is aborted, the item(s) will
1127
+ # not be added and other item(s) could be created with the same IDs.
1128
+ sig { returns(T::Array[T.nilable(Stately::Db::GeneratedID)]) }
1129
+ def generated_ids
1130
+ end
1131
+
1132
+ # generated_ids is a list of generated identifiers for the items in a
1133
+ # TransactionPut. IDs are returned in the same order of the PutItems provided
1134
+ # in TransactionPut#puts. For each item where an ID was chosen via its
1135
+ # "initialValue" property, the chosen value is represented in the returned
1136
+ # GeneratedID. There is only at most one generated ID per Put, because we
1137
+ # only allow a single ID property to be generated per item. If the Put didn't
1138
+ # need any generated IDs, the GeneratedID in its position will be empty.
1139
+ #
1140
+ # Clients can use these IDs in subsequent Put operations (e.g. to insert
1141
+ # child or related items). If the transaction is aborted, the item(s) will
1142
+ # not be added and other item(s) could be created with the same IDs.
1143
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
1144
+ def generated_ids=(value)
1145
+ end
1146
+
1147
+ # generated_ids is a list of generated identifiers for the items in a
1148
+ # TransactionPut. IDs are returned in the same order of the PutItems provided
1149
+ # in TransactionPut#puts. For each item where an ID was chosen via its
1150
+ # "initialValue" property, the chosen value is represented in the returned
1151
+ # GeneratedID. There is only at most one generated ID per Put, because we
1152
+ # only allow a single ID property to be generated per item. If the Put didn't
1153
+ # need any generated IDs, the GeneratedID in its position will be empty.
1154
+ #
1155
+ # Clients can use these IDs in subsequent Put operations (e.g. to insert
1156
+ # child or related items). If the transaction is aborted, the item(s) will
1157
+ # not be added and other item(s) could be created with the same IDs.
1158
+ sig { void }
1159
+ def clear_generated_ids
1160
+ end
1161
+
1162
+ sig { params(field: String).returns(T.untyped) }
1163
+ def [](field)
1164
+ end
1165
+
1166
+ sig { params(field: String, value: T.untyped).void }
1167
+ def []=(field, value)
1168
+ end
1169
+
1170
+ sig { returns(T::Hash[Symbol, T.untyped]) }
1171
+ def to_h
1172
+ end
1173
+
1174
+ sig { params(str: String).returns(Stately::Db::TransactionPutAck) }
1175
+ def self.decode(str)
1176
+ end
1177
+
1178
+ sig { params(msg: Stately::Db::TransactionPutAck).returns(String) }
1179
+ def self.encode(msg)
1180
+ end
1181
+
1182
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionPutAck) }
1183
+ def self.decode_json(str, **kw)
1184
+ end
1185
+
1186
+ sig { params(msg: Stately::Db::TransactionPutAck, kw: T.untyped).returns(String) }
1187
+ def self.encode_json(msg, **kw)
1188
+ end
1189
+
1190
+ sig { returns(::Google::Protobuf::Descriptor) }
1191
+ def self.descriptor
1192
+ end
1193
+ end
1194
+
1195
+ # TransactionListResponse is a subset of the ListResponse message, for
1196
+ # returning results during the execution of a transaction.
1197
+ class Stately::Db::TransactionListResponse
1198
+ include ::Google::Protobuf::MessageExts
1199
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1200
+
1201
+ sig do
1202
+ params(
1203
+ result: T.nilable(Stately::Db::ListPartialResult),
1204
+ finished: T.nilable(Stately::Db::ListFinished)
1205
+ ).void
1206
+ end
1207
+ def initialize(
1208
+ result: nil,
1209
+ finished: nil
1210
+ )
1211
+ end
1212
+
1213
+ # Result is a segment of the result set - multiple of these may be returned
1214
+ # in a stream before the final "finished" message.
1215
+ sig { returns(T.nilable(Stately::Db::ListPartialResult)) }
1216
+ def result
1217
+ end
1218
+
1219
+ # Result is a segment of the result set - multiple of these may be returned
1220
+ # in a stream before the final "finished" message.
1221
+ sig { params(value: T.nilable(Stately::Db::ListPartialResult)).void }
1222
+ def result=(value)
1223
+ end
1224
+
1225
+ # Result is a segment of the result set - multiple of these may be returned
1226
+ # in a stream before the final "finished" message.
1227
+ sig { void }
1228
+ def clear_result
1229
+ end
1230
+
1231
+ # Finished is sent when there are no more results in this operation, and
1232
+ # there will only be one.
1233
+ sig { returns(T.nilable(Stately::Db::ListFinished)) }
1234
+ def finished
1235
+ end
1236
+
1237
+ # Finished is sent when there are no more results in this operation, and
1238
+ # there will only be one.
1239
+ sig { params(value: T.nilable(Stately::Db::ListFinished)).void }
1240
+ def finished=(value)
1241
+ end
1242
+
1243
+ # Finished is sent when there are no more results in this operation, and
1244
+ # there will only be one.
1245
+ sig { void }
1246
+ def clear_finished
1247
+ end
1248
+
1249
+ sig { returns(T.nilable(Symbol)) }
1250
+ def response
1251
+ end
1252
+
1253
+ sig { params(field: String).returns(T.untyped) }
1254
+ def [](field)
1255
+ end
1256
+
1257
+ sig { params(field: String, value: T.untyped).void }
1258
+ def []=(field, value)
1259
+ end
1260
+
1261
+ sig { returns(T::Hash[Symbol, T.untyped]) }
1262
+ def to_h
1263
+ end
1264
+
1265
+ sig { params(str: String).returns(Stately::Db::TransactionListResponse) }
1266
+ def self.decode(str)
1267
+ end
1268
+
1269
+ sig { params(msg: Stately::Db::TransactionListResponse).returns(String) }
1270
+ def self.encode(msg)
1271
+ end
1272
+
1273
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionListResponse) }
1274
+ def self.decode_json(str, **kw)
1275
+ end
1276
+
1277
+ sig { params(msg: Stately::Db::TransactionListResponse, kw: T.untyped).returns(String) }
1278
+ def self.encode_json(msg, **kw)
1279
+ end
1280
+
1281
+ sig { returns(::Google::Protobuf::Descriptor) }
1282
+ def self.descriptor
1283
+ end
1284
+ end
1285
+
1286
+ class Stately::Db::TransactionFinished
1287
+ include ::Google::Protobuf::MessageExts
1288
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1289
+
1290
+ sig do
1291
+ params(
1292
+ committed: T.nilable(T::Boolean),
1293
+ put_results: T.nilable(T::Array[T.nilable(Stately::Db::Item)]),
1294
+ delete_results: T.nilable(T::Array[T.nilable(Stately::Db::DeleteResult)])
1295
+ ).void
1296
+ end
1297
+ def initialize(
1298
+ committed: false,
1299
+ put_results: [],
1300
+ delete_results: []
1301
+ )
1302
+ end
1303
+
1304
+ # Did the commit finish (the alternative is that it was aborted/rolled back)
1305
+ sig { returns(T::Boolean) }
1306
+ def committed
1307
+ end
1308
+
1309
+ # Did the commit finish (the alternative is that it was aborted/rolled back)
1310
+ sig { params(value: T::Boolean).void }
1311
+ def committed=(value)
1312
+ end
1313
+
1314
+ # Did the commit finish (the alternative is that it was aborted/rolled back)
1315
+ sig { void }
1316
+ def clear_committed
1317
+ end
1318
+
1319
+ # put_results contains the full result of each Put operation. This only comes
1320
+ # back with the TransactionFinished message because full metadata isn't
1321
+ # available until then.
1322
+ sig { returns(T::Array[T.nilable(Stately::Db::Item)]) }
1323
+ def put_results
1324
+ end
1325
+
1326
+ # put_results contains the full result of each Put operation. This only comes
1327
+ # back with the TransactionFinished message because full metadata isn't
1328
+ # available until then.
1329
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
1330
+ def put_results=(value)
1331
+ end
1332
+
1333
+ # put_results contains the full result of each Put operation. This only comes
1334
+ # back with the TransactionFinished message because full metadata isn't
1335
+ # available until then.
1336
+ sig { void }
1337
+ def clear_put_results
1338
+ end
1339
+
1340
+ # delete_results contains the full result of each Delete operation. This only
1341
+ # comes back with the TransactionFinished message because full metadata isn't
1342
+ # available until then.
1343
+ sig { returns(T::Array[T.nilable(Stately::Db::DeleteResult)]) }
1344
+ def delete_results
1345
+ end
1346
+
1347
+ # delete_results contains the full result of each Delete operation. This only
1348
+ # comes back with the TransactionFinished message because full metadata isn't
1349
+ # available until then.
1350
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
1351
+ def delete_results=(value)
1352
+ end
1353
+
1354
+ # delete_results contains the full result of each Delete operation. This only
1355
+ # comes back with the TransactionFinished message because full metadata isn't
1356
+ # available until then.
1357
+ sig { void }
1358
+ def clear_delete_results
1359
+ end
1360
+
1361
+ sig { params(field: String).returns(T.untyped) }
1362
+ def [](field)
1363
+ end
1364
+
1365
+ sig { params(field: String, value: T.untyped).void }
1366
+ def []=(field, value)
1367
+ end
1368
+
1369
+ sig { returns(T::Hash[Symbol, T.untyped]) }
1370
+ def to_h
1371
+ end
1372
+
1373
+ sig { params(str: String).returns(Stately::Db::TransactionFinished) }
1374
+ def self.decode(str)
1375
+ end
1376
+
1377
+ sig { params(msg: Stately::Db::TransactionFinished).returns(String) }
1378
+ def self.encode(msg)
1379
+ end
1380
+
1381
+ sig { params(str: String, kw: T.untyped).returns(Stately::Db::TransactionFinished) }
1382
+ def self.decode_json(str, **kw)
1383
+ end
1384
+
1385
+ sig { params(msg: Stately::Db::TransactionFinished, kw: T.untyped).returns(String) }
1386
+ def self.encode_json(msg, **kw)
1387
+ end
1388
+
1389
+ sig { returns(::Google::Protobuf::Descriptor) }
1390
+ def self.descriptor
1391
+ end
1392
+ end