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.
- checksums.yaml +4 -4
- data/lib/api/db/put_pb.rb +1 -1
- data/lib/api/db/transaction_pb.rb +1 -1
- data/lib/common/auth/interceptor.rb +1 -1
- data/lib/common/auth/token_fetcher.rb +2 -2
- data/lib/key_path.rb +2 -2
- data/lib/statelydb.rb +2 -2
- data/lib/transaction/transaction.rb +4 -4
- data/rbi/auth/get_auth_token_pb.rbi +169 -0
- data/rbi/auth/service_pb.rbi +3 -0
- data/rbi/auth/service_services_pb.rbi +31 -0
- data/rbi/db/continue_list_pb.rbi +163 -0
- data/rbi/db/continue_scan_pb.rbi +123 -0
- data/rbi/db/delete_pb.rbi +329 -0
- data/rbi/db/get_pb.rbi +293 -0
- data/rbi/db/item_pb.rbi +125 -0
- data/rbi/db/item_property_pb.rbi +24 -0
- data/rbi/db/list_pb.rbi +472 -0
- data/rbi/db/list_token_pb.rbi +154 -0
- data/rbi/db/put_pb.rbi +340 -0
- data/rbi/db/scan_pb.rbi +370 -0
- data/rbi/db/scan_root_paths_pb.rbi +301 -0
- data/rbi/db/service_pb.rbi +3 -0
- data/rbi/db/service_services_pb.rbi +184 -0
- data/rbi/db/sync_list_pb.rbi +452 -0
- data/rbi/db/transaction_pb.rbi +1392 -0
- data/rbi/errors/error_details_pb.rbi +146 -0
- data/rbi/statelydb.rbi +12 -83
- data/sig/statelydb.rbs +8 -8
- metadata +21 -2
data/rbi/db/scan_pb.rbi
ADDED
@@ -0,0 +1,370 @@
|
|
1
|
+
# Code generated by protoc-gen-rbi. DO NOT EDIT.
|
2
|
+
# source: db/scan.proto
|
3
|
+
# typed: strict
|
4
|
+
|
5
|
+
class Stately::Db::FilterCondition
|
6
|
+
include ::Google::Protobuf::MessageExts
|
7
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
8
|
+
|
9
|
+
sig do
|
10
|
+
params(
|
11
|
+
item_type: T.nilable(String)
|
12
|
+
).void
|
13
|
+
end
|
14
|
+
def initialize(
|
15
|
+
item_type: ""
|
16
|
+
)
|
17
|
+
end
|
18
|
+
|
19
|
+
# item_type is the type of item to filter by.
|
20
|
+
sig { returns(String) }
|
21
|
+
def item_type
|
22
|
+
end
|
23
|
+
|
24
|
+
# item_type is the type of item to filter by.
|
25
|
+
sig { params(value: String).void }
|
26
|
+
def item_type=(value)
|
27
|
+
end
|
28
|
+
|
29
|
+
# item_type is the type of item to filter by.
|
30
|
+
sig { void }
|
31
|
+
def clear_item_type
|
32
|
+
end
|
33
|
+
|
34
|
+
sig { returns(T.nilable(Symbol)) }
|
35
|
+
def value
|
36
|
+
end
|
37
|
+
|
38
|
+
sig { params(field: String).returns(T.untyped) }
|
39
|
+
def [](field)
|
40
|
+
end
|
41
|
+
|
42
|
+
sig { params(field: String, value: T.untyped).void }
|
43
|
+
def []=(field, value)
|
44
|
+
end
|
45
|
+
|
46
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
47
|
+
def to_h
|
48
|
+
end
|
49
|
+
|
50
|
+
sig { params(str: String).returns(Stately::Db::FilterCondition) }
|
51
|
+
def self.decode(str)
|
52
|
+
end
|
53
|
+
|
54
|
+
sig { params(msg: Stately::Db::FilterCondition).returns(String) }
|
55
|
+
def self.encode(msg)
|
56
|
+
end
|
57
|
+
|
58
|
+
sig { params(str: String, kw: T.untyped).returns(Stately::Db::FilterCondition) }
|
59
|
+
def self.decode_json(str, **kw)
|
60
|
+
end
|
61
|
+
|
62
|
+
sig { params(msg: Stately::Db::FilterCondition, kw: T.untyped).returns(String) }
|
63
|
+
def self.encode_json(msg, **kw)
|
64
|
+
end
|
65
|
+
|
66
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
67
|
+
def self.descriptor
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
class Stately::Db::BeginScanRequest
|
72
|
+
include ::Google::Protobuf::MessageExts
|
73
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
74
|
+
|
75
|
+
sig do
|
76
|
+
params(
|
77
|
+
store_id: T.nilable(Integer),
|
78
|
+
filter_condition: T.nilable(T::Array[T.nilable(Stately::Db::FilterCondition)]),
|
79
|
+
limit: T.nilable(Integer),
|
80
|
+
segmentation_params: T.nilable(Stately::Db::SegmentationParams),
|
81
|
+
schema_version_id: T.nilable(Integer),
|
82
|
+
schema_id: T.nilable(Integer)
|
83
|
+
).void
|
84
|
+
end
|
85
|
+
def initialize(
|
86
|
+
store_id: 0,
|
87
|
+
filter_condition: [],
|
88
|
+
limit: 0,
|
89
|
+
segmentation_params: nil,
|
90
|
+
schema_version_id: 0,
|
91
|
+
schema_id: 0
|
92
|
+
)
|
93
|
+
end
|
94
|
+
|
95
|
+
# store_id is a globally unique Store ID, which can be looked up from the
|
96
|
+
# console or CLI.
|
97
|
+
sig { returns(Integer) }
|
98
|
+
def store_id
|
99
|
+
end
|
100
|
+
|
101
|
+
# store_id is a globally unique Store ID, which can be looked up from the
|
102
|
+
# console or CLI.
|
103
|
+
sig { params(value: Integer).void }
|
104
|
+
def store_id=(value)
|
105
|
+
end
|
106
|
+
|
107
|
+
# store_id is a globally unique Store ID, which can be looked up from the
|
108
|
+
# console or CLI.
|
109
|
+
sig { void }
|
110
|
+
def clear_store_id
|
111
|
+
end
|
112
|
+
|
113
|
+
# filter_condition is a set of conditions to filter the scan result by.
|
114
|
+
# If no conditions are provided, all items in the store will be returned.
|
115
|
+
# Filter conditions are combined with OR.
|
116
|
+
sig { returns(T::Array[T.nilable(Stately::Db::FilterCondition)]) }
|
117
|
+
def filter_condition
|
118
|
+
end
|
119
|
+
|
120
|
+
# filter_condition is a set of conditions to filter the scan result by.
|
121
|
+
# If no conditions are provided, all items in the store will be returned.
|
122
|
+
# Filter conditions are combined with OR.
|
123
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
124
|
+
def filter_condition=(value)
|
125
|
+
end
|
126
|
+
|
127
|
+
# filter_condition is a set of conditions to filter the scan result by.
|
128
|
+
# If no conditions are provided, all items in the store will be returned.
|
129
|
+
# Filter conditions are combined with OR.
|
130
|
+
sig { void }
|
131
|
+
def clear_filter_condition
|
132
|
+
end
|
133
|
+
|
134
|
+
# limit is the maximum number of items to return. If this is not specified or
|
135
|
+
# set to 0, it will return one server side page of items, which may contain zero of your selected
|
136
|
+
# item types and hence be an empty response.
|
137
|
+
# Be sure to check token.can_continue to see if you have more items left to fetch.
|
138
|
+
sig { returns(Integer) }
|
139
|
+
def limit
|
140
|
+
end
|
141
|
+
|
142
|
+
# limit is the maximum number of items to return. If this is not specified or
|
143
|
+
# set to 0, it will return one server side page of items, which may contain zero of your selected
|
144
|
+
# item types and hence be an empty response.
|
145
|
+
# Be sure to check token.can_continue to see if you have more items left to fetch.
|
146
|
+
sig { params(value: Integer).void }
|
147
|
+
def limit=(value)
|
148
|
+
end
|
149
|
+
|
150
|
+
# limit is the maximum number of items to return. If this is not specified or
|
151
|
+
# set to 0, it will return one server side page of items, which may contain zero of your selected
|
152
|
+
# item types and hence be an empty response.
|
153
|
+
# Be sure to check token.can_continue to see if you have more items left to fetch.
|
154
|
+
sig { void }
|
155
|
+
def clear_limit
|
156
|
+
end
|
157
|
+
|
158
|
+
# segmentation_params is used to enable parallelization of the list operation.
|
159
|
+
# This is useful for bulk processing of large stores.
|
160
|
+
# If this field is set then the list operation will be split into segment_params.total_segments
|
161
|
+
# and this request will process the segment defined in segmentation_params.segment_index.
|
162
|
+
# See SegmentationParams for more details.
|
163
|
+
# Please be warned that parallelization will result on increase throughput to your store
|
164
|
+
# which may result in throttling.
|
165
|
+
sig { returns(T.nilable(Stately::Db::SegmentationParams)) }
|
166
|
+
def segmentation_params
|
167
|
+
end
|
168
|
+
|
169
|
+
# segmentation_params is used to enable parallelization of the list operation.
|
170
|
+
# This is useful for bulk processing of large stores.
|
171
|
+
# If this field is set then the list operation will be split into segment_params.total_segments
|
172
|
+
# and this request will process the segment defined in segmentation_params.segment_index.
|
173
|
+
# See SegmentationParams for more details.
|
174
|
+
# Please be warned that parallelization will result on increase throughput to your store
|
175
|
+
# which may result in throttling.
|
176
|
+
sig { params(value: T.nilable(Stately::Db::SegmentationParams)).void }
|
177
|
+
def segmentation_params=(value)
|
178
|
+
end
|
179
|
+
|
180
|
+
# segmentation_params is used to enable parallelization of the list operation.
|
181
|
+
# This is useful for bulk processing of large stores.
|
182
|
+
# If this field is set then the list operation will be split into segment_params.total_segments
|
183
|
+
# and this request will process the segment defined in segmentation_params.segment_index.
|
184
|
+
# See SegmentationParams for more details.
|
185
|
+
# Please be warned that parallelization will result on increase throughput to your store
|
186
|
+
# which may result in throttling.
|
187
|
+
sig { void }
|
188
|
+
def clear_segmentation_params
|
189
|
+
end
|
190
|
+
|
191
|
+
# schema_version_id refers to the item version to return.
|
192
|
+
# If the store's schema does not have this version, the operation
|
193
|
+
# will error with SchemaVersionNotFound error. You should not have to
|
194
|
+
# set this manually as your generated SDK should know its schema version
|
195
|
+
# and wire this in for you.
|
196
|
+
sig { returns(Integer) }
|
197
|
+
def schema_version_id
|
198
|
+
end
|
199
|
+
|
200
|
+
# schema_version_id refers to the item version to return.
|
201
|
+
# If the store's schema does not have this version, the operation
|
202
|
+
# will error with SchemaVersionNotFound error. You should not have to
|
203
|
+
# set this manually as your generated SDK should know its schema version
|
204
|
+
# and wire this in for you.
|
205
|
+
sig { params(value: Integer).void }
|
206
|
+
def schema_version_id=(value)
|
207
|
+
end
|
208
|
+
|
209
|
+
# schema_version_id refers to the item version to return.
|
210
|
+
# If the store's schema does not have this version, the operation
|
211
|
+
# will error with SchemaVersionNotFound error. You should not have to
|
212
|
+
# set this manually as your generated SDK should know its schema version
|
213
|
+
# and wire this in for you.
|
214
|
+
sig { void }
|
215
|
+
def clear_schema_version_id
|
216
|
+
end
|
217
|
+
|
218
|
+
# schema_id refers to the schema to use for this operation.
|
219
|
+
# If the store_id does not have a schema with this ID, the operation will
|
220
|
+
# error with SchemaNotFound error. You should not have to set this manually
|
221
|
+
# as your generated SDK should know its schema and wire this in for you.
|
222
|
+
sig { returns(Integer) }
|
223
|
+
def schema_id
|
224
|
+
end
|
225
|
+
|
226
|
+
# schema_id refers to the schema to use for this operation.
|
227
|
+
# If the store_id does not have a schema with this ID, the operation will
|
228
|
+
# error with SchemaNotFound error. You should not have to set this manually
|
229
|
+
# as your generated SDK should know its schema and wire this in for you.
|
230
|
+
sig { params(value: Integer).void }
|
231
|
+
def schema_id=(value)
|
232
|
+
end
|
233
|
+
|
234
|
+
# schema_id refers to the schema to use for this operation.
|
235
|
+
# If the store_id does not have a schema with this ID, the operation will
|
236
|
+
# error with SchemaNotFound error. You should not have to set this manually
|
237
|
+
# as your generated SDK should know its schema and wire this in for you.
|
238
|
+
sig { void }
|
239
|
+
def clear_schema_id
|
240
|
+
end
|
241
|
+
|
242
|
+
sig { params(field: String).returns(T.untyped) }
|
243
|
+
def [](field)
|
244
|
+
end
|
245
|
+
|
246
|
+
sig { params(field: String, value: T.untyped).void }
|
247
|
+
def []=(field, value)
|
248
|
+
end
|
249
|
+
|
250
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
251
|
+
def to_h
|
252
|
+
end
|
253
|
+
|
254
|
+
sig { params(str: String).returns(Stately::Db::BeginScanRequest) }
|
255
|
+
def self.decode(str)
|
256
|
+
end
|
257
|
+
|
258
|
+
sig { params(msg: Stately::Db::BeginScanRequest).returns(String) }
|
259
|
+
def self.encode(msg)
|
260
|
+
end
|
261
|
+
|
262
|
+
sig { params(str: String, kw: T.untyped).returns(Stately::Db::BeginScanRequest) }
|
263
|
+
def self.decode_json(str, **kw)
|
264
|
+
end
|
265
|
+
|
266
|
+
sig { params(msg: Stately::Db::BeginScanRequest, kw: T.untyped).returns(String) }
|
267
|
+
def self.encode_json(msg, **kw)
|
268
|
+
end
|
269
|
+
|
270
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
271
|
+
def self.descriptor
|
272
|
+
end
|
273
|
+
end
|
274
|
+
|
275
|
+
class Stately::Db::SegmentationParams
|
276
|
+
include ::Google::Protobuf::MessageExts
|
277
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
278
|
+
|
279
|
+
sig do
|
280
|
+
params(
|
281
|
+
total_segments: T.nilable(Integer),
|
282
|
+
segment_index: T.nilable(Integer)
|
283
|
+
).void
|
284
|
+
end
|
285
|
+
def initialize(
|
286
|
+
total_segments: 0,
|
287
|
+
segment_index: 0
|
288
|
+
)
|
289
|
+
end
|
290
|
+
|
291
|
+
# total_segments is used to determine the number of segments the store will be split into.
|
292
|
+
# The segment_index field will then be used to determine which segment to process.
|
293
|
+
# For example, if total_segments is set to 5 then the store will be split into 5 segments
|
294
|
+
# and by setting segment_index to 0, 1, 2, 3, or 4 the request will process the corresponding
|
295
|
+
# segment.
|
296
|
+
sig { returns(Integer) }
|
297
|
+
def total_segments
|
298
|
+
end
|
299
|
+
|
300
|
+
# total_segments is used to determine the number of segments the store will be split into.
|
301
|
+
# The segment_index field will then be used to determine which segment to process.
|
302
|
+
# For example, if total_segments is set to 5 then the store will be split into 5 segments
|
303
|
+
# and by setting segment_index to 0, 1, 2, 3, or 4 the request will process the corresponding
|
304
|
+
# segment.
|
305
|
+
sig { params(value: Integer).void }
|
306
|
+
def total_segments=(value)
|
307
|
+
end
|
308
|
+
|
309
|
+
# total_segments is used to determine the number of segments the store will be split into.
|
310
|
+
# The segment_index field will then be used to determine which segment to process.
|
311
|
+
# For example, if total_segments is set to 5 then the store will be split into 5 segments
|
312
|
+
# and by setting segment_index to 0, 1, 2, 3, or 4 the request will process the corresponding
|
313
|
+
# segment.
|
314
|
+
sig { void }
|
315
|
+
def clear_total_segments
|
316
|
+
end
|
317
|
+
|
318
|
+
# segment_index is used to determine which segment of the store to process
|
319
|
+
# with this request.
|
320
|
+
# Segments are zero-indexed so the value of segment_index must be less than total_segments.
|
321
|
+
sig { returns(Integer) }
|
322
|
+
def segment_index
|
323
|
+
end
|
324
|
+
|
325
|
+
# segment_index is used to determine which segment of the store to process
|
326
|
+
# with this request.
|
327
|
+
# Segments are zero-indexed so the value of segment_index must be less than total_segments.
|
328
|
+
sig { params(value: Integer).void }
|
329
|
+
def segment_index=(value)
|
330
|
+
end
|
331
|
+
|
332
|
+
# segment_index is used to determine which segment of the store to process
|
333
|
+
# with this request.
|
334
|
+
# Segments are zero-indexed so the value of segment_index must be less than total_segments.
|
335
|
+
sig { void }
|
336
|
+
def clear_segment_index
|
337
|
+
end
|
338
|
+
|
339
|
+
sig { params(field: String).returns(T.untyped) }
|
340
|
+
def [](field)
|
341
|
+
end
|
342
|
+
|
343
|
+
sig { params(field: String, value: T.untyped).void }
|
344
|
+
def []=(field, value)
|
345
|
+
end
|
346
|
+
|
347
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
348
|
+
def to_h
|
349
|
+
end
|
350
|
+
|
351
|
+
sig { params(str: String).returns(Stately::Db::SegmentationParams) }
|
352
|
+
def self.decode(str)
|
353
|
+
end
|
354
|
+
|
355
|
+
sig { params(msg: Stately::Db::SegmentationParams).returns(String) }
|
356
|
+
def self.encode(msg)
|
357
|
+
end
|
358
|
+
|
359
|
+
sig { params(str: String, kw: T.untyped).returns(Stately::Db::SegmentationParams) }
|
360
|
+
def self.decode_json(str, **kw)
|
361
|
+
end
|
362
|
+
|
363
|
+
sig { params(msg: Stately::Db::SegmentationParams, kw: T.untyped).returns(String) }
|
364
|
+
def self.encode_json(msg, **kw)
|
365
|
+
end
|
366
|
+
|
367
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
368
|
+
def self.descriptor
|
369
|
+
end
|
370
|
+
end
|
@@ -0,0 +1,301 @@
|
|
1
|
+
# Code generated by protoc-gen-rbi. DO NOT EDIT.
|
2
|
+
# source: db/scan_root_paths.proto
|
3
|
+
# typed: strict
|
4
|
+
|
5
|
+
class Stately::Db::ScanRootPathsRequest
|
6
|
+
include ::Google::Protobuf::MessageExts
|
7
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
8
|
+
|
9
|
+
sig do
|
10
|
+
params(
|
11
|
+
store_id: T.nilable(Integer),
|
12
|
+
limit: T.nilable(Integer),
|
13
|
+
pagination_token: T.nilable(String),
|
14
|
+
schema_version_id: T.nilable(Integer),
|
15
|
+
schema_id: T.nilable(Integer)
|
16
|
+
).void
|
17
|
+
end
|
18
|
+
def initialize(
|
19
|
+
store_id: 0,
|
20
|
+
limit: 0,
|
21
|
+
pagination_token: "",
|
22
|
+
schema_version_id: 0,
|
23
|
+
schema_id: 0
|
24
|
+
)
|
25
|
+
end
|
26
|
+
|
27
|
+
# store_id is a globally unique Store ID, which can be looked up from the
|
28
|
+
# console or CLI.
|
29
|
+
sig { returns(Integer) }
|
30
|
+
def store_id
|
31
|
+
end
|
32
|
+
|
33
|
+
# store_id is a globally unique Store ID, which can be looked up from the
|
34
|
+
# console or CLI.
|
35
|
+
sig { params(value: Integer).void }
|
36
|
+
def store_id=(value)
|
37
|
+
end
|
38
|
+
|
39
|
+
# store_id is a globally unique Store ID, which can be looked up from the
|
40
|
+
# console or CLI.
|
41
|
+
sig { void }
|
42
|
+
def clear_store_id
|
43
|
+
end
|
44
|
+
|
45
|
+
# Limit sets an upper bound on how many root paths to return.
|
46
|
+
sig { returns(Integer) }
|
47
|
+
def limit
|
48
|
+
end
|
49
|
+
|
50
|
+
# Limit sets an upper bound on how many root paths to return.
|
51
|
+
sig { params(value: Integer).void }
|
52
|
+
def limit=(value)
|
53
|
+
end
|
54
|
+
|
55
|
+
# Limit sets an upper bound on how many root paths to return.
|
56
|
+
sig { void }
|
57
|
+
def clear_limit
|
58
|
+
end
|
59
|
+
|
60
|
+
# pagination_token is an optional token to continue retrieving the next page of results.
|
61
|
+
# This value must be read from a ScanRootPathsResponse and passed with a clone of the
|
62
|
+
# previous request to fetch the next page of data
|
63
|
+
sig { returns(String) }
|
64
|
+
def pagination_token
|
65
|
+
end
|
66
|
+
|
67
|
+
# pagination_token is an optional token to continue retrieving the next page of results.
|
68
|
+
# This value must be read from a ScanRootPathsResponse and passed with a clone of the
|
69
|
+
# previous request to fetch the next page of data
|
70
|
+
sig { params(value: String).void }
|
71
|
+
def pagination_token=(value)
|
72
|
+
end
|
73
|
+
|
74
|
+
# pagination_token is an optional token to continue retrieving the next page of results.
|
75
|
+
# This value must be read from a ScanRootPathsResponse and passed with a clone of the
|
76
|
+
# previous request to fetch the next page of data
|
77
|
+
sig { void }
|
78
|
+
def clear_pagination_token
|
79
|
+
end
|
80
|
+
|
81
|
+
# schema_version_id is the version of the schema to base all queries on.
|
82
|
+
sig { returns(Integer) }
|
83
|
+
def schema_version_id
|
84
|
+
end
|
85
|
+
|
86
|
+
# schema_version_id is the version of the schema to base all queries on.
|
87
|
+
sig { params(value: Integer).void }
|
88
|
+
def schema_version_id=(value)
|
89
|
+
end
|
90
|
+
|
91
|
+
# schema_version_id is the version of the schema to base all queries on.
|
92
|
+
sig { void }
|
93
|
+
def clear_schema_version_id
|
94
|
+
end
|
95
|
+
|
96
|
+
# schema_id refers to the schema to use for this operation.
|
97
|
+
# If the store_id does not have a schema with this ID, the operation will
|
98
|
+
# error with SchemaNotFound error. You should not have to set this manually
|
99
|
+
# as your generated SDK should know its schema and wire this in for you.
|
100
|
+
sig { returns(Integer) }
|
101
|
+
def schema_id
|
102
|
+
end
|
103
|
+
|
104
|
+
# schema_id refers to the schema to use for this operation.
|
105
|
+
# If the store_id does not have a schema with this ID, the operation will
|
106
|
+
# error with SchemaNotFound error. You should not have to set this manually
|
107
|
+
# as your generated SDK should know its schema and wire this in for you.
|
108
|
+
sig { params(value: Integer).void }
|
109
|
+
def schema_id=(value)
|
110
|
+
end
|
111
|
+
|
112
|
+
# schema_id refers to the schema to use for this operation.
|
113
|
+
# If the store_id does not have a schema with this ID, the operation will
|
114
|
+
# error with SchemaNotFound error. You should not have to set this manually
|
115
|
+
# as your generated SDK should know its schema and wire this in for you.
|
116
|
+
sig { void }
|
117
|
+
def clear_schema_id
|
118
|
+
end
|
119
|
+
|
120
|
+
sig { params(field: String).returns(T.untyped) }
|
121
|
+
def [](field)
|
122
|
+
end
|
123
|
+
|
124
|
+
sig { params(field: String, value: T.untyped).void }
|
125
|
+
def []=(field, value)
|
126
|
+
end
|
127
|
+
|
128
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
129
|
+
def to_h
|
130
|
+
end
|
131
|
+
|
132
|
+
sig { params(str: String).returns(Stately::Db::ScanRootPathsRequest) }
|
133
|
+
def self.decode(str)
|
134
|
+
end
|
135
|
+
|
136
|
+
sig { params(msg: Stately::Db::ScanRootPathsRequest).returns(String) }
|
137
|
+
def self.encode(msg)
|
138
|
+
end
|
139
|
+
|
140
|
+
sig { params(str: String, kw: T.untyped).returns(Stately::Db::ScanRootPathsRequest) }
|
141
|
+
def self.decode_json(str, **kw)
|
142
|
+
end
|
143
|
+
|
144
|
+
sig { params(msg: Stately::Db::ScanRootPathsRequest, kw: T.untyped).returns(String) }
|
145
|
+
def self.encode_json(msg, **kw)
|
146
|
+
end
|
147
|
+
|
148
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
149
|
+
def self.descriptor
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
class Stately::Db::ScanRootPathsResponse
|
154
|
+
include ::Google::Protobuf::MessageExts
|
155
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
156
|
+
|
157
|
+
sig do
|
158
|
+
params(
|
159
|
+
results: T.nilable(T::Array[T.nilable(Stately::Db::ScanRootPathResult)]),
|
160
|
+
pagination_token: T.nilable(String)
|
161
|
+
).void
|
162
|
+
end
|
163
|
+
def initialize(
|
164
|
+
results: [],
|
165
|
+
pagination_token: ""
|
166
|
+
)
|
167
|
+
end
|
168
|
+
|
169
|
+
# results is a list that contains one entry for each root path that was found.
|
170
|
+
sig { returns(T::Array[T.nilable(Stately::Db::ScanRootPathResult)]) }
|
171
|
+
def results
|
172
|
+
end
|
173
|
+
|
174
|
+
# results is a list that contains one entry for each root path that was found.
|
175
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
176
|
+
def results=(value)
|
177
|
+
end
|
178
|
+
|
179
|
+
# results is a list that contains one entry for each root path that was found.
|
180
|
+
sig { void }
|
181
|
+
def clear_results
|
182
|
+
end
|
183
|
+
|
184
|
+
# This field is optional and will be set if there are more query results to fetch.
|
185
|
+
# To fetch the next page of results you must make the exact same ScanRootPathsRequest as before
|
186
|
+
# but set ScanRootPathsRequest.pagination_token to the value returned here.
|
187
|
+
sig { returns(String) }
|
188
|
+
def pagination_token
|
189
|
+
end
|
190
|
+
|
191
|
+
# This field is optional and will be set if there are more query results to fetch.
|
192
|
+
# To fetch the next page of results you must make the exact same ScanRootPathsRequest as before
|
193
|
+
# but set ScanRootPathsRequest.pagination_token to the value returned here.
|
194
|
+
sig { params(value: String).void }
|
195
|
+
def pagination_token=(value)
|
196
|
+
end
|
197
|
+
|
198
|
+
# This field is optional and will be set if there are more query results to fetch.
|
199
|
+
# To fetch the next page of results you must make the exact same ScanRootPathsRequest as before
|
200
|
+
# but set ScanRootPathsRequest.pagination_token to the value returned here.
|
201
|
+
sig { void }
|
202
|
+
def clear_pagination_token
|
203
|
+
end
|
204
|
+
|
205
|
+
sig { params(field: String).returns(T.untyped) }
|
206
|
+
def [](field)
|
207
|
+
end
|
208
|
+
|
209
|
+
sig { params(field: String, value: T.untyped).void }
|
210
|
+
def []=(field, value)
|
211
|
+
end
|
212
|
+
|
213
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
214
|
+
def to_h
|
215
|
+
end
|
216
|
+
|
217
|
+
sig { params(str: String).returns(Stately::Db::ScanRootPathsResponse) }
|
218
|
+
def self.decode(str)
|
219
|
+
end
|
220
|
+
|
221
|
+
sig { params(msg: Stately::Db::ScanRootPathsResponse).returns(String) }
|
222
|
+
def self.encode(msg)
|
223
|
+
end
|
224
|
+
|
225
|
+
sig { params(str: String, kw: T.untyped).returns(Stately::Db::ScanRootPathsResponse) }
|
226
|
+
def self.decode_json(str, **kw)
|
227
|
+
end
|
228
|
+
|
229
|
+
sig { params(msg: Stately::Db::ScanRootPathsResponse, kw: T.untyped).returns(String) }
|
230
|
+
def self.encode_json(msg, **kw)
|
231
|
+
end
|
232
|
+
|
233
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
234
|
+
def self.descriptor
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
class Stately::Db::ScanRootPathResult
|
239
|
+
include ::Google::Protobuf::MessageExts
|
240
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
241
|
+
|
242
|
+
sig do
|
243
|
+
params(
|
244
|
+
key_path: T.nilable(String)
|
245
|
+
).void
|
246
|
+
end
|
247
|
+
def initialize(
|
248
|
+
key_path: ""
|
249
|
+
)
|
250
|
+
end
|
251
|
+
|
252
|
+
# key_path is a single root key path. Users can Query by this root path to
|
253
|
+
# get all of the items under it.
|
254
|
+
sig { returns(String) }
|
255
|
+
def key_path
|
256
|
+
end
|
257
|
+
|
258
|
+
# key_path is a single root key path. Users can Query by this root path to
|
259
|
+
# get all of the items under it.
|
260
|
+
sig { params(value: String).void }
|
261
|
+
def key_path=(value)
|
262
|
+
end
|
263
|
+
|
264
|
+
# key_path is a single root key path. Users can Query by this root path to
|
265
|
+
# get all of the items under it.
|
266
|
+
sig { void }
|
267
|
+
def clear_key_path
|
268
|
+
end
|
269
|
+
|
270
|
+
sig { params(field: String).returns(T.untyped) }
|
271
|
+
def [](field)
|
272
|
+
end
|
273
|
+
|
274
|
+
sig { params(field: String, value: T.untyped).void }
|
275
|
+
def []=(field, value)
|
276
|
+
end
|
277
|
+
|
278
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
279
|
+
def to_h
|
280
|
+
end
|
281
|
+
|
282
|
+
sig { params(str: String).returns(Stately::Db::ScanRootPathResult) }
|
283
|
+
def self.decode(str)
|
284
|
+
end
|
285
|
+
|
286
|
+
sig { params(msg: Stately::Db::ScanRootPathResult).returns(String) }
|
287
|
+
def self.encode(msg)
|
288
|
+
end
|
289
|
+
|
290
|
+
sig { params(str: String, kw: T.untyped).returns(Stately::Db::ScanRootPathResult) }
|
291
|
+
def self.decode_json(str, **kw)
|
292
|
+
end
|
293
|
+
|
294
|
+
sig { params(msg: Stately::Db::ScanRootPathResult, kw: T.untyped).returns(String) }
|
295
|
+
def self.encode_json(msg, **kw)
|
296
|
+
end
|
297
|
+
|
298
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
299
|
+
def self.descriptor
|
300
|
+
end
|
301
|
+
end
|