-
Notifications
You must be signed in to change notification settings - Fork 0
/
prediction_pb2.pyi
556 lines (476 loc) · 25.1 KB
/
prediction_pb2.pyi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
# @generated by generate_proto_mypy_stubs.py. Do not edit!
import sys
from google.protobuf.any_pb2 import (
Any as google___protobuf___any_pb2___Any,
)
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
EnumDescriptor as google___protobuf___descriptor___EnumDescriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.internal.containers import (
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScalarFieldContainer,
)
from google.protobuf.internal.enum_type_wrapper import (
_EnumTypeWrapper as google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper,
)
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from google.protobuf.struct_pb2 import (
ListValue as google___protobuf___struct_pb2___ListValue,
Value as google___protobuf___struct_pb2___Value,
)
from tensorflow.core.framework.tensor_pb2 import (
TensorProto as tensorflow___core___framework___tensor_pb2___TensorProto,
)
from typing import (
Iterable as typing___Iterable,
Mapping as typing___Mapping,
MutableMapping as typing___MutableMapping,
NewType as typing___NewType,
Optional as typing___Optional,
Text as typing___Text,
Union as typing___Union,
cast as typing___cast,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
if sys.version_info < (3,):
builtin___buffer = buffer
builtin___unicode = unicode
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class SeldonMessage(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
binData: builtin___bytes = ...
strData: typing___Text = ...
@property
def status(self) -> type___Status: ...
@property
def meta(self) -> type___Meta: ...
@property
def data(self) -> type___DefaultData: ...
@property
def jsonData(self) -> google___protobuf___struct_pb2___Value: ...
@property
def customData(self) -> google___protobuf___any_pb2___Any: ...
def __init__(self,
*,
status : typing___Optional[type___Status] = None,
meta : typing___Optional[type___Meta] = None,
data : typing___Optional[type___DefaultData] = None,
binData : typing___Optional[builtin___bytes] = None,
strData : typing___Optional[typing___Text] = None,
jsonData : typing___Optional[google___protobuf___struct_pb2___Value] = None,
customData : typing___Optional[google___protobuf___any_pb2___Any] = None,
) -> None: ...
if sys.version_info >= (3,):
@classmethod
def FromString(cls, s: builtin___bytes) -> SeldonMessage: ...
else:
@classmethod
def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> SeldonMessage: ...
def HasField(self, field_name: typing_extensions___Literal[u"binData",b"binData",u"customData",b"customData",u"data",b"data",u"data_oneof",b"data_oneof",u"jsonData",b"jsonData",u"meta",b"meta",u"status",b"status",u"strData",b"strData"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"binData",b"binData",u"customData",b"customData",u"data",b"data",u"data_oneof",b"data_oneof",u"jsonData",b"jsonData",u"meta",b"meta",u"status",b"status",u"strData",b"strData"]) -> None: ...
def WhichOneof(self, oneof_group: typing_extensions___Literal[u"data_oneof",b"data_oneof"]) -> typing_extensions___Literal["data","binData","strData","jsonData","customData"]: ...
type___SeldonMessage = SeldonMessage
class DefaultData(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
names: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ...
@property
def tensor(self) -> type___Tensor: ...
@property
def ndarray(self) -> google___protobuf___struct_pb2___ListValue: ...
@property
def tftensor(self) -> tensorflow___core___framework___tensor_pb2___TensorProto: ...
def __init__(self,
*,
names : typing___Optional[typing___Iterable[typing___Text]] = None,
tensor : typing___Optional[type___Tensor] = None,
ndarray : typing___Optional[google___protobuf___struct_pb2___ListValue] = None,
tftensor : typing___Optional[tensorflow___core___framework___tensor_pb2___TensorProto] = None,
) -> None: ...
if sys.version_info >= (3,):
@classmethod
def FromString(cls, s: builtin___bytes) -> DefaultData: ...
else:
@classmethod
def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> DefaultData: ...
def HasField(self, field_name: typing_extensions___Literal[u"data_oneof",b"data_oneof",u"ndarray",b"ndarray",u"tensor",b"tensor",u"tftensor",b"tftensor"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"data_oneof",b"data_oneof",u"names",b"names",u"ndarray",b"ndarray",u"tensor",b"tensor",u"tftensor",b"tftensor"]) -> None: ...
def WhichOneof(self, oneof_group: typing_extensions___Literal[u"data_oneof",b"data_oneof"]) -> typing_extensions___Literal["tensor","ndarray","tftensor"]: ...
type___DefaultData = DefaultData
class Tensor(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
shape: google___protobuf___internal___containers___RepeatedScalarFieldContainer[builtin___int] = ...
values: google___protobuf___internal___containers___RepeatedScalarFieldContainer[builtin___float] = ...
def __init__(self,
*,
shape : typing___Optional[typing___Iterable[builtin___int]] = None,
values : typing___Optional[typing___Iterable[builtin___float]] = None,
) -> None: ...
if sys.version_info >= (3,):
@classmethod
def FromString(cls, s: builtin___bytes) -> Tensor: ...
else:
@classmethod
def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> Tensor: ...
def ClearField(self, field_name: typing_extensions___Literal[u"shape",b"shape",u"values",b"values"]) -> None: ...
type___Tensor = Tensor
class Meta(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
class TagsEntry(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
key: typing___Text = ...
@property
def value(self) -> google___protobuf___struct_pb2___Value: ...
def __init__(self,
*,
key : typing___Optional[typing___Text] = None,
value : typing___Optional[google___protobuf___struct_pb2___Value] = None,
) -> None: ...
if sys.version_info >= (3,):
@classmethod
def FromString(cls, s: builtin___bytes) -> Meta.TagsEntry: ...
else:
@classmethod
def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> Meta.TagsEntry: ...
def HasField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"key",b"key",u"value",b"value"]) -> None: ...
type___TagsEntry = TagsEntry
class RoutingEntry(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
key: typing___Text = ...
value: builtin___int = ...
def __init__(self,
*,
key : typing___Optional[typing___Text] = None,
value : typing___Optional[builtin___int] = None,
) -> None: ...
if sys.version_info >= (3,):
@classmethod
def FromString(cls, s: builtin___bytes) -> Meta.RoutingEntry: ...
else:
@classmethod
def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> Meta.RoutingEntry: ...
def ClearField(self, field_name: typing_extensions___Literal[u"key",b"key",u"value",b"value"]) -> None: ...
type___RoutingEntry = RoutingEntry
class RequestPathEntry(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
key: typing___Text = ...
value: typing___Text = ...
def __init__(self,
*,
key : typing___Optional[typing___Text] = None,
value : typing___Optional[typing___Text] = None,
) -> None: ...
if sys.version_info >= (3,):
@classmethod
def FromString(cls, s: builtin___bytes) -> Meta.RequestPathEntry: ...
else:
@classmethod
def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> Meta.RequestPathEntry: ...
def ClearField(self, field_name: typing_extensions___Literal[u"key",b"key",u"value",b"value"]) -> None: ...
type___RequestPathEntry = RequestPathEntry
puid: typing___Text = ...
@property
def tags(self) -> typing___MutableMapping[typing___Text, google___protobuf___struct_pb2___Value]: ...
@property
def routing(self) -> typing___MutableMapping[typing___Text, builtin___int]: ...
@property
def requestPath(self) -> typing___MutableMapping[typing___Text, typing___Text]: ...
@property
def metrics(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Metric]: ...
def __init__(self,
*,
puid : typing___Optional[typing___Text] = None,
tags : typing___Optional[typing___Mapping[typing___Text, google___protobuf___struct_pb2___Value]] = None,
routing : typing___Optional[typing___Mapping[typing___Text, builtin___int]] = None,
requestPath : typing___Optional[typing___Mapping[typing___Text, typing___Text]] = None,
metrics : typing___Optional[typing___Iterable[type___Metric]] = None,
) -> None: ...
if sys.version_info >= (3,):
@classmethod
def FromString(cls, s: builtin___bytes) -> Meta: ...
else:
@classmethod
def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> Meta: ...
def ClearField(self, field_name: typing_extensions___Literal[u"metrics",b"metrics",u"puid",b"puid",u"requestPath",b"requestPath",u"routing",b"routing",u"tags",b"tags"]) -> None: ...
type___Meta = Meta
class Metric(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
MetricTypeValue = typing___NewType('MetricTypeValue', builtin___int)
type___MetricTypeValue = MetricTypeValue
MetricType: _MetricType
class _MetricType(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[Metric.MetricTypeValue]):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
COUNTER = typing___cast(Metric.MetricTypeValue, 0)
GAUGE = typing___cast(Metric.MetricTypeValue, 1)
TIMER = typing___cast(Metric.MetricTypeValue, 2)
COUNTER = typing___cast(Metric.MetricTypeValue, 0)
GAUGE = typing___cast(Metric.MetricTypeValue, 1)
TIMER = typing___cast(Metric.MetricTypeValue, 2)
type___MetricType = MetricType
class TagsEntry(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
key: typing___Text = ...
value: typing___Text = ...
def __init__(self,
*,
key : typing___Optional[typing___Text] = None,
value : typing___Optional[typing___Text] = None,
) -> None: ...
if sys.version_info >= (3,):
@classmethod
def FromString(cls, s: builtin___bytes) -> Metric.TagsEntry: ...
else:
@classmethod
def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> Metric.TagsEntry: ...
def ClearField(self, field_name: typing_extensions___Literal[u"key",b"key",u"value",b"value"]) -> None: ...
type___TagsEntry = TagsEntry
key: typing___Text = ...
type: type___Metric.MetricTypeValue = ...
value: builtin___float = ...
@property
def tags(self) -> typing___MutableMapping[typing___Text, typing___Text]: ...
def __init__(self,
*,
key : typing___Optional[typing___Text] = None,
type : typing___Optional[type___Metric.MetricTypeValue] = None,
value : typing___Optional[builtin___float] = None,
tags : typing___Optional[typing___Mapping[typing___Text, typing___Text]] = None,
) -> None: ...
if sys.version_info >= (3,):
@classmethod
def FromString(cls, s: builtin___bytes) -> Metric: ...
else:
@classmethod
def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> Metric: ...
def ClearField(self, field_name: typing_extensions___Literal[u"key",b"key",u"tags",b"tags",u"type",b"type",u"value",b"value"]) -> None: ...
type___Metric = Metric
class SeldonMessageList(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
@property
def seldonMessages(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___SeldonMessage]: ...
def __init__(self,
*,
seldonMessages : typing___Optional[typing___Iterable[type___SeldonMessage]] = None,
) -> None: ...
if sys.version_info >= (3,):
@classmethod
def FromString(cls, s: builtin___bytes) -> SeldonMessageList: ...
else:
@classmethod
def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> SeldonMessageList: ...
def ClearField(self, field_name: typing_extensions___Literal[u"seldonMessages",b"seldonMessages"]) -> None: ...
type___SeldonMessageList = SeldonMessageList
class Status(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
StatusFlagValue = typing___NewType('StatusFlagValue', builtin___int)
type___StatusFlagValue = StatusFlagValue
StatusFlag: _StatusFlag
class _StatusFlag(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[Status.StatusFlagValue]):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
SUCCESS = typing___cast(Status.StatusFlagValue, 0)
FAILURE = typing___cast(Status.StatusFlagValue, 1)
SUCCESS = typing___cast(Status.StatusFlagValue, 0)
FAILURE = typing___cast(Status.StatusFlagValue, 1)
type___StatusFlag = StatusFlag
code: builtin___int = ...
info: typing___Text = ...
reason: typing___Text = ...
status: type___Status.StatusFlagValue = ...
def __init__(self,
*,
code : typing___Optional[builtin___int] = None,
info : typing___Optional[typing___Text] = None,
reason : typing___Optional[typing___Text] = None,
status : typing___Optional[type___Status.StatusFlagValue] = None,
) -> None: ...
if sys.version_info >= (3,):
@classmethod
def FromString(cls, s: builtin___bytes) -> Status: ...
else:
@classmethod
def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> Status: ...
def ClearField(self, field_name: typing_extensions___Literal[u"code",b"code",u"info",b"info",u"reason",b"reason",u"status",b"status"]) -> None: ...
type___Status = Status
class Feedback(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
reward: builtin___float = ...
@property
def request(self) -> type___SeldonMessage: ...
@property
def response(self) -> type___SeldonMessage: ...
@property
def truth(self) -> type___SeldonMessage: ...
def __init__(self,
*,
request : typing___Optional[type___SeldonMessage] = None,
response : typing___Optional[type___SeldonMessage] = None,
reward : typing___Optional[builtin___float] = None,
truth : typing___Optional[type___SeldonMessage] = None,
) -> None: ...
if sys.version_info >= (3,):
@classmethod
def FromString(cls, s: builtin___bytes) -> Feedback: ...
else:
@classmethod
def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> Feedback: ...
def HasField(self, field_name: typing_extensions___Literal[u"request",b"request",u"response",b"response",u"truth",b"truth"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"request",b"request",u"response",b"response",u"reward",b"reward",u"truth",b"truth"]) -> None: ...
type___Feedback = Feedback
class RequestResponse(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
@property
def request(self) -> type___SeldonMessage: ...
@property
def response(self) -> type___SeldonMessage: ...
def __init__(self,
*,
request : typing___Optional[type___SeldonMessage] = None,
response : typing___Optional[type___SeldonMessage] = None,
) -> None: ...
if sys.version_info >= (3,):
@classmethod
def FromString(cls, s: builtin___bytes) -> RequestResponse: ...
else:
@classmethod
def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> RequestResponse: ...
def HasField(self, field_name: typing_extensions___Literal[u"request",b"request",u"response",b"response"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"request",b"request",u"response",b"response"]) -> None: ...
type___RequestResponse = RequestResponse
class SeldonModelMetadataRequest(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
) -> None: ...
if sys.version_info >= (3,):
@classmethod
def FromString(cls, s: builtin___bytes) -> SeldonModelMetadataRequest: ...
else:
@classmethod
def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> SeldonModelMetadataRequest: ...
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name"]) -> None: ...
type___SeldonModelMetadataRequest = SeldonModelMetadataRequest
class SeldonMessageMetadata(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
messagetype: typing___Text = ...
name: typing___Text = ...
datatype: typing___Text = ...
shape: google___protobuf___internal___containers___RepeatedScalarFieldContainer[builtin___int] = ...
@property
def schema(self) -> google___protobuf___struct_pb2___Value: ...
def __init__(self,
*,
messagetype : typing___Optional[typing___Text] = None,
schema : typing___Optional[google___protobuf___struct_pb2___Value] = None,
name : typing___Optional[typing___Text] = None,
datatype : typing___Optional[typing___Text] = None,
shape : typing___Optional[typing___Iterable[builtin___int]] = None,
) -> None: ...
if sys.version_info >= (3,):
@classmethod
def FromString(cls, s: builtin___bytes) -> SeldonMessageMetadata: ...
else:
@classmethod
def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> SeldonMessageMetadata: ...
def HasField(self, field_name: typing_extensions___Literal[u"schema",b"schema"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"datatype",b"datatype",u"messagetype",b"messagetype",u"name",b"name",u"schema",b"schema",u"shape",b"shape"]) -> None: ...
type___SeldonMessageMetadata = SeldonMessageMetadata
class SeldonModelMetadata(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
class CustomEntry(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
key: typing___Text = ...
value: typing___Text = ...
def __init__(self,
*,
key : typing___Optional[typing___Text] = None,
value : typing___Optional[typing___Text] = None,
) -> None: ...
if sys.version_info >= (3,):
@classmethod
def FromString(cls, s: builtin___bytes) -> SeldonModelMetadata.CustomEntry: ...
else:
@classmethod
def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> SeldonModelMetadata.CustomEntry: ...
def ClearField(self, field_name: typing_extensions___Literal[u"key",b"key",u"value",b"value"]) -> None: ...
type___CustomEntry = CustomEntry
name: typing___Text = ...
versions: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ...
platform: typing___Text = ...
@property
def inputs(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___SeldonMessageMetadata]: ...
@property
def outputs(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___SeldonMessageMetadata]: ...
@property
def custom(self) -> typing___MutableMapping[typing___Text, typing___Text]: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
versions : typing___Optional[typing___Iterable[typing___Text]] = None,
platform : typing___Optional[typing___Text] = None,
inputs : typing___Optional[typing___Iterable[type___SeldonMessageMetadata]] = None,
outputs : typing___Optional[typing___Iterable[type___SeldonMessageMetadata]] = None,
custom : typing___Optional[typing___Mapping[typing___Text, typing___Text]] = None,
) -> None: ...
if sys.version_info >= (3,):
@classmethod
def FromString(cls, s: builtin___bytes) -> SeldonModelMetadata: ...
else:
@classmethod
def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> SeldonModelMetadata: ...
def ClearField(self, field_name: typing_extensions___Literal[u"custom",b"custom",u"inputs",b"inputs",u"name",b"name",u"outputs",b"outputs",u"platform",b"platform",u"versions",b"versions"]) -> None: ...
type___SeldonModelMetadata = SeldonModelMetadata
class SeldonGraphMetadata(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
class ModelsEntry(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
key: typing___Text = ...
@property
def value(self) -> type___SeldonModelMetadata: ...
def __init__(self,
*,
key : typing___Optional[typing___Text] = None,
value : typing___Optional[type___SeldonModelMetadata] = None,
) -> None: ...
if sys.version_info >= (3,):
@classmethod
def FromString(cls, s: builtin___bytes) -> SeldonGraphMetadata.ModelsEntry: ...
else:
@classmethod
def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> SeldonGraphMetadata.ModelsEntry: ...
def HasField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"key",b"key",u"value",b"value"]) -> None: ...
type___ModelsEntry = ModelsEntry
name: typing___Text = ...
@property
def models(self) -> typing___MutableMapping[typing___Text, type___SeldonModelMetadata]: ...
@property
def inputs(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___SeldonMessageMetadata]: ...
@property
def outputs(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___SeldonMessageMetadata]: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
models : typing___Optional[typing___Mapping[typing___Text, type___SeldonModelMetadata]] = None,
inputs : typing___Optional[typing___Iterable[type___SeldonMessageMetadata]] = None,
outputs : typing___Optional[typing___Iterable[type___SeldonMessageMetadata]] = None,
) -> None: ...
if sys.version_info >= (3,):
@classmethod
def FromString(cls, s: builtin___bytes) -> SeldonGraphMetadata: ...
else:
@classmethod
def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> SeldonGraphMetadata: ...
def ClearField(self, field_name: typing_extensions___Literal[u"inputs",b"inputs",u"models",b"models",u"name",b"name",u"outputs",b"outputs"]) -> None: ...
type___SeldonGraphMetadata = SeldonGraphMetadata