-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathValue_pb2.pyi
More file actions
531 lines (458 loc) · 22 KB
/
Value_pb2.pyi
File metadata and controls
531 lines (458 loc) · 22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
Copyright 2018 The Feast Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import builtins
import collections.abc
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.internal.enum_type_wrapper
import google.protobuf.message
import sys
import typing
if sys.version_info >= (3, 10):
import typing as typing_extensions
else:
import typing_extensions
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
class _Null:
ValueType = typing.NewType("ValueType", builtins.int)
V: typing_extensions.TypeAlias = ValueType
class _NullEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Null.ValueType], builtins.type): # noqa: F821
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
NULL: _Null.ValueType # 0
class Null(_Null, metaclass=_NullEnumTypeWrapper): ...
NULL: Null.ValueType # 0
global___Null = Null
class ValueType(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
class _Enum:
ValueType = typing.NewType("ValueType", builtins.int)
V: typing_extensions.TypeAlias = ValueType
class _EnumEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ValueType._Enum.ValueType], builtins.type): # noqa: F821
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
INVALID: ValueType._Enum.ValueType # 0
BYTES: ValueType._Enum.ValueType # 1
STRING: ValueType._Enum.ValueType # 2
INT32: ValueType._Enum.ValueType # 3
INT64: ValueType._Enum.ValueType # 4
DOUBLE: ValueType._Enum.ValueType # 5
FLOAT: ValueType._Enum.ValueType # 6
BOOL: ValueType._Enum.ValueType # 7
UNIX_TIMESTAMP: ValueType._Enum.ValueType # 8
BYTES_LIST: ValueType._Enum.ValueType # 11
STRING_LIST: ValueType._Enum.ValueType # 12
INT32_LIST: ValueType._Enum.ValueType # 13
INT64_LIST: ValueType._Enum.ValueType # 14
DOUBLE_LIST: ValueType._Enum.ValueType # 15
FLOAT_LIST: ValueType._Enum.ValueType # 16
BOOL_LIST: ValueType._Enum.ValueType # 17
UNIX_TIMESTAMP_LIST: ValueType._Enum.ValueType # 18
NULL: ValueType._Enum.ValueType # 19
MAP: ValueType._Enum.ValueType # 20
MAP_LIST: ValueType._Enum.ValueType # 21
BYTES_SET: ValueType._Enum.ValueType # 22
STRING_SET: ValueType._Enum.ValueType # 23
INT32_SET: ValueType._Enum.ValueType # 24
INT64_SET: ValueType._Enum.ValueType # 25
DOUBLE_SET: ValueType._Enum.ValueType # 26
FLOAT_SET: ValueType._Enum.ValueType # 27
BOOL_SET: ValueType._Enum.ValueType # 28
UNIX_TIMESTAMP_SET: ValueType._Enum.ValueType # 29
JSON: ValueType._Enum.ValueType # 32
JSON_LIST: ValueType._Enum.ValueType # 33
STRUCT: ValueType._Enum.ValueType # 34
STRUCT_LIST: ValueType._Enum.ValueType # 35
class Enum(_Enum, metaclass=_EnumEnumTypeWrapper): ...
INVALID: ValueType.Enum.ValueType # 0
BYTES: ValueType.Enum.ValueType # 1
STRING: ValueType.Enum.ValueType # 2
INT32: ValueType.Enum.ValueType # 3
INT64: ValueType.Enum.ValueType # 4
DOUBLE: ValueType.Enum.ValueType # 5
FLOAT: ValueType.Enum.ValueType # 6
BOOL: ValueType.Enum.ValueType # 7
UNIX_TIMESTAMP: ValueType.Enum.ValueType # 8
BYTES_LIST: ValueType.Enum.ValueType # 11
STRING_LIST: ValueType.Enum.ValueType # 12
INT32_LIST: ValueType.Enum.ValueType # 13
INT64_LIST: ValueType.Enum.ValueType # 14
DOUBLE_LIST: ValueType.Enum.ValueType # 15
FLOAT_LIST: ValueType.Enum.ValueType # 16
BOOL_LIST: ValueType.Enum.ValueType # 17
UNIX_TIMESTAMP_LIST: ValueType.Enum.ValueType # 18
NULL: ValueType.Enum.ValueType # 19
MAP: ValueType.Enum.ValueType # 20
MAP_LIST: ValueType.Enum.ValueType # 21
BYTES_SET: ValueType.Enum.ValueType # 22
STRING_SET: ValueType.Enum.ValueType # 23
INT32_SET: ValueType.Enum.ValueType # 24
INT64_SET: ValueType.Enum.ValueType # 25
DOUBLE_SET: ValueType.Enum.ValueType # 26
FLOAT_SET: ValueType.Enum.ValueType # 27
BOOL_SET: ValueType.Enum.ValueType # 28
UNIX_TIMESTAMP_SET: ValueType.Enum.ValueType # 29
JSON: ValueType.Enum.ValueType # 32
JSON_LIST: ValueType.Enum.ValueType # 33
STRUCT: ValueType.Enum.ValueType # 34
STRUCT_LIST: ValueType.Enum.ValueType # 35
def __init__(
self,
) -> None: ...
global___ValueType = ValueType
class Value(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
BYTES_VAL_FIELD_NUMBER: builtins.int
STRING_VAL_FIELD_NUMBER: builtins.int
INT32_VAL_FIELD_NUMBER: builtins.int
INT64_VAL_FIELD_NUMBER: builtins.int
DOUBLE_VAL_FIELD_NUMBER: builtins.int
FLOAT_VAL_FIELD_NUMBER: builtins.int
BOOL_VAL_FIELD_NUMBER: builtins.int
UNIX_TIMESTAMP_VAL_FIELD_NUMBER: builtins.int
BYTES_LIST_VAL_FIELD_NUMBER: builtins.int
STRING_LIST_VAL_FIELD_NUMBER: builtins.int
INT32_LIST_VAL_FIELD_NUMBER: builtins.int
INT64_LIST_VAL_FIELD_NUMBER: builtins.int
DOUBLE_LIST_VAL_FIELD_NUMBER: builtins.int
FLOAT_LIST_VAL_FIELD_NUMBER: builtins.int
BOOL_LIST_VAL_FIELD_NUMBER: builtins.int
UNIX_TIMESTAMP_LIST_VAL_FIELD_NUMBER: builtins.int
NULL_VAL_FIELD_NUMBER: builtins.int
MAP_VAL_FIELD_NUMBER: builtins.int
MAP_LIST_VAL_FIELD_NUMBER: builtins.int
BYTES_SET_VAL_FIELD_NUMBER: builtins.int
STRING_SET_VAL_FIELD_NUMBER: builtins.int
INT32_SET_VAL_FIELD_NUMBER: builtins.int
INT64_SET_VAL_FIELD_NUMBER: builtins.int
DOUBLE_SET_VAL_FIELD_NUMBER: builtins.int
FLOAT_SET_VAL_FIELD_NUMBER: builtins.int
BOOL_SET_VAL_FIELD_NUMBER: builtins.int
UNIX_TIMESTAMP_SET_VAL_FIELD_NUMBER: builtins.int
JSON_VAL_FIELD_NUMBER: builtins.int
JSON_LIST_VAL_FIELD_NUMBER: builtins.int
STRUCT_VAL_FIELD_NUMBER: builtins.int
STRUCT_LIST_VAL_FIELD_NUMBER: builtins.int
bytes_val: builtins.bytes
string_val: builtins.str
int32_val: builtins.int
int64_val: builtins.int
double_val: builtins.float
float_val: builtins.float
bool_val: builtins.bool
unix_timestamp_val: builtins.int
@property
def bytes_list_val(self) -> global___BytesList: ...
@property
def string_list_val(self) -> global___StringList: ...
@property
def int32_list_val(self) -> global___Int32List: ...
@property
def int64_list_val(self) -> global___Int64List: ...
@property
def double_list_val(self) -> global___DoubleList: ...
@property
def float_list_val(self) -> global___FloatList: ...
@property
def bool_list_val(self) -> global___BoolList: ...
@property
def unix_timestamp_list_val(self) -> global___Int64List: ...
null_val: global___Null.ValueType
@property
def map_val(self) -> global___Map: ...
@property
def map_list_val(self) -> global___MapList: ...
@property
def bytes_set_val(self) -> global___BytesSet: ...
@property
def string_set_val(self) -> global___StringSet: ...
@property
def int32_set_val(self) -> global___Int32Set: ...
@property
def int64_set_val(self) -> global___Int64Set: ...
@property
def double_set_val(self) -> global___DoubleSet: ...
@property
def float_set_val(self) -> global___FloatSet: ...
@property
def bool_set_val(self) -> global___BoolSet: ...
@property
def unix_timestamp_set_val(self) -> global___Int64Set: ...
json_val: builtins.str
@property
def json_list_val(self) -> global___StringList: ...
@property
def struct_val(self) -> global___Map: ...
@property
def struct_list_val(self) -> global___MapList: ...
def __init__(
self,
*,
bytes_val: builtins.bytes = ...,
string_val: builtins.str = ...,
int32_val: builtins.int = ...,
int64_val: builtins.int = ...,
double_val: builtins.float = ...,
float_val: builtins.float = ...,
bool_val: builtins.bool = ...,
unix_timestamp_val: builtins.int = ...,
bytes_list_val: global___BytesList | None = ...,
string_list_val: global___StringList | None = ...,
int32_list_val: global___Int32List | None = ...,
int64_list_val: global___Int64List | None = ...,
double_list_val: global___DoubleList | None = ...,
float_list_val: global___FloatList | None = ...,
bool_list_val: global___BoolList | None = ...,
unix_timestamp_list_val: global___Int64List | None = ...,
null_val: global___Null.ValueType = ...,
map_val: global___Map | None = ...,
map_list_val: global___MapList | None = ...,
bytes_set_val: global___BytesSet | None = ...,
string_set_val: global___StringSet | None = ...,
int32_set_val: global___Int32Set | None = ...,
int64_set_val: global___Int64Set | None = ...,
double_set_val: global___DoubleSet | None = ...,
float_set_val: global___FloatSet | None = ...,
bool_set_val: global___BoolSet | None = ...,
unix_timestamp_set_val: global___Int64Set | None = ...,
json_val: builtins.str = ...,
json_list_val: global___StringList | None = ...,
struct_val: global___Map | None = ...,
struct_list_val: global___MapList | None = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["bool_list_val", b"bool_list_val", "bool_set_val", b"bool_set_val", "bool_val", b"bool_val", "bytes_list_val", b"bytes_list_val", "bytes_set_val", b"bytes_set_val", "bytes_val", b"bytes_val", "double_list_val", b"double_list_val", "double_set_val", b"double_set_val", "double_val", b"double_val", "float_list_val", b"float_list_val", "float_set_val", b"float_set_val", "float_val", b"float_val", "int32_list_val", b"int32_list_val", "int32_set_val", b"int32_set_val", "int32_val", b"int32_val", "int64_list_val", b"int64_list_val", "int64_set_val", b"int64_set_val", "int64_val", b"int64_val", "json_list_val", b"json_list_val", "json_val", b"json_val", "map_list_val", b"map_list_val", "map_val", b"map_val", "null_val", b"null_val", "string_list_val", b"string_list_val", "string_set_val", b"string_set_val", "string_val", b"string_val", "struct_list_val", b"struct_list_val", "struct_val", b"struct_val", "unix_timestamp_list_val", b"unix_timestamp_list_val", "unix_timestamp_set_val", b"unix_timestamp_set_val", "unix_timestamp_val", b"unix_timestamp_val", "val", b"val"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["bool_list_val", b"bool_list_val", "bool_set_val", b"bool_set_val", "bool_val", b"bool_val", "bytes_list_val", b"bytes_list_val", "bytes_set_val", b"bytes_set_val", "bytes_val", b"bytes_val", "double_list_val", b"double_list_val", "double_set_val", b"double_set_val", "double_val", b"double_val", "float_list_val", b"float_list_val", "float_set_val", b"float_set_val", "float_val", b"float_val", "int32_list_val", b"int32_list_val", "int32_set_val", b"int32_set_val", "int32_val", b"int32_val", "int64_list_val", b"int64_list_val", "int64_set_val", b"int64_set_val", "int64_val", b"int64_val", "json_list_val", b"json_list_val", "json_val", b"json_val", "map_list_val", b"map_list_val", "map_val", b"map_val", "null_val", b"null_val", "string_list_val", b"string_list_val", "string_set_val", b"string_set_val", "string_val", b"string_val", "struct_list_val", b"struct_list_val", "struct_val", b"struct_val", "unix_timestamp_list_val", b"unix_timestamp_list_val", "unix_timestamp_set_val", b"unix_timestamp_set_val", "unix_timestamp_val", b"unix_timestamp_val", "val", b"val"]) -> None: ...
def WhichOneof(self, oneof_group: typing_extensions.Literal["val", b"val"]) -> typing_extensions.Literal["bytes_val", "string_val", "int32_val", "int64_val", "double_val", "float_val", "bool_val", "unix_timestamp_val", "bytes_list_val", "string_list_val", "int32_list_val", "int64_list_val", "double_list_val", "float_list_val", "bool_list_val", "unix_timestamp_list_val", "null_val", "map_val", "map_list_val", "bytes_set_val", "string_set_val", "int32_set_val", "int64_set_val", "double_set_val", "float_set_val", "bool_set_val", "unix_timestamp_set_val", "json_val", "json_list_val", "struct_val", "struct_list_val"] | None: ...
global___Value = Value
class BytesList(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
VAL_FIELD_NUMBER: builtins.int
@property
def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ...
def __init__(
self,
*,
val: collections.abc.Iterable[builtins.bytes] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ...
global___BytesList = BytesList
class StringList(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
VAL_FIELD_NUMBER: builtins.int
@property
def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
def __init__(
self,
*,
val: collections.abc.Iterable[builtins.str] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ...
global___StringList = StringList
class Int32List(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
VAL_FIELD_NUMBER: builtins.int
@property
def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ...
def __init__(
self,
*,
val: collections.abc.Iterable[builtins.int] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ...
global___Int32List = Int32List
class Int64List(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
VAL_FIELD_NUMBER: builtins.int
@property
def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ...
def __init__(
self,
*,
val: collections.abc.Iterable[builtins.int] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ...
global___Int64List = Int64List
class DoubleList(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
VAL_FIELD_NUMBER: builtins.int
@property
def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ...
def __init__(
self,
*,
val: collections.abc.Iterable[builtins.float] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ...
global___DoubleList = DoubleList
class FloatList(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
VAL_FIELD_NUMBER: builtins.int
@property
def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ...
def __init__(
self,
*,
val: collections.abc.Iterable[builtins.float] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ...
global___FloatList = FloatList
class BoolList(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
VAL_FIELD_NUMBER: builtins.int
@property
def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bool]: ...
def __init__(
self,
*,
val: collections.abc.Iterable[builtins.bool] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ...
global___BoolList = BoolList
class BytesSet(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
VAL_FIELD_NUMBER: builtins.int
@property
def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ...
def __init__(
self,
*,
val: collections.abc.Iterable[builtins.bytes] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ...
global___BytesSet = BytesSet
class StringSet(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
VAL_FIELD_NUMBER: builtins.int
@property
def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
def __init__(
self,
*,
val: collections.abc.Iterable[builtins.str] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ...
global___StringSet = StringSet
class Int32Set(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
VAL_FIELD_NUMBER: builtins.int
@property
def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ...
def __init__(
self,
*,
val: collections.abc.Iterable[builtins.int] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ...
global___Int32Set = Int32Set
class Int64Set(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
VAL_FIELD_NUMBER: builtins.int
@property
def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ...
def __init__(
self,
*,
val: collections.abc.Iterable[builtins.int] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ...
global___Int64Set = Int64Set
class DoubleSet(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
VAL_FIELD_NUMBER: builtins.int
@property
def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ...
def __init__(
self,
*,
val: collections.abc.Iterable[builtins.float] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ...
global___DoubleSet = DoubleSet
class FloatSet(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
VAL_FIELD_NUMBER: builtins.int
@property
def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ...
def __init__(
self,
*,
val: collections.abc.Iterable[builtins.float] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ...
global___FloatSet = FloatSet
class BoolSet(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
VAL_FIELD_NUMBER: builtins.int
@property
def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bool]: ...
def __init__(
self,
*,
val: collections.abc.Iterable[builtins.bool] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ...
global___BoolSet = BoolSet
class Map(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
class ValEntry(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
KEY_FIELD_NUMBER: builtins.int
VALUE_FIELD_NUMBER: builtins.int
key: builtins.str
@property
def value(self) -> global___Value: ...
def __init__(
self,
*,
key: builtins.str = ...,
value: global___Value | None = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
VAL_FIELD_NUMBER: builtins.int
@property
def val(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Value]: ...
def __init__(
self,
*,
val: collections.abc.Mapping[builtins.str, global___Value] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ...
global___Map = Map
class MapList(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
VAL_FIELD_NUMBER: builtins.int
@property
def val(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Map]: ...
def __init__(
self,
*,
val: collections.abc.Iterable[global___Map] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ...
global___MapList = MapList
class RepeatedValue(google.protobuf.message.Message):
"""This is to avoid an issue of being unable to specify `repeated value` in oneofs or maps
In JSON "val" field can be omitted
"""
DESCRIPTOR: google.protobuf.descriptor.Descriptor
VAL_FIELD_NUMBER: builtins.int
@property
def val(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Value]: ...
def __init__(
self,
*,
val: collections.abc.Iterable[global___Value] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ...
global___RepeatedValue = RepeatedValue