forked from feast-dev/feast
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathValue_pb2.pyi
More file actions
298 lines (259 loc) · 14.3 KB
/
Copy pathValue_pb2.pyi
File metadata and controls
298 lines (259 loc) · 14.3 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
# @generated by generate_proto_mypy_stubs.py. Do not edit!
import sys
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
EnumDescriptor as google___protobuf___descriptor___EnumDescriptor,
)
from google.protobuf.internal.containers import (
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScalarFieldContainer,
)
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from google.protobuf.timestamp_pb2 import (
Timestamp as google___protobuf___timestamp_pb2___Timestamp,
)
from typing import (
Iterable as typing___Iterable,
List as typing___List,
Optional as typing___Optional,
Text as typing___Text,
Tuple as typing___Tuple,
cast as typing___cast,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
class ValueType(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
class Enum(int):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
@classmethod
def Name(cls, number: int) -> str: ...
@classmethod
def Value(cls, name: str) -> ValueType.Enum: ...
@classmethod
def keys(cls) -> typing___List[str]: ...
@classmethod
def values(cls) -> typing___List[ValueType.Enum]: ...
@classmethod
def items(cls) -> typing___List[typing___Tuple[str, ValueType.Enum]]: ...
UNKNOWN = typing___cast(ValueType.Enum, 0)
BYTES = typing___cast(ValueType.Enum, 1)
STRING = typing___cast(ValueType.Enum, 2)
INT32 = typing___cast(ValueType.Enum, 3)
INT64 = typing___cast(ValueType.Enum, 4)
DOUBLE = typing___cast(ValueType.Enum, 5)
FLOAT = typing___cast(ValueType.Enum, 6)
BOOL = typing___cast(ValueType.Enum, 7)
TIMESTAMP = typing___cast(ValueType.Enum, 8)
UNKNOWN = typing___cast(ValueType.Enum, 0)
BYTES = typing___cast(ValueType.Enum, 1)
STRING = typing___cast(ValueType.Enum, 2)
INT32 = typing___cast(ValueType.Enum, 3)
INT64 = typing___cast(ValueType.Enum, 4)
DOUBLE = typing___cast(ValueType.Enum, 5)
FLOAT = typing___cast(ValueType.Enum, 6)
BOOL = typing___cast(ValueType.Enum, 7)
TIMESTAMP = typing___cast(ValueType.Enum, 8)
def __init__(self,
) -> None: ...
@classmethod
def FromString(cls, s: bytes) -> ValueType: ...
def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
class Value(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
bytesVal = ... # type: bytes
stringVal = ... # type: typing___Text
int32Val = ... # type: int
int64Val = ... # type: int
doubleVal = ... # type: float
floatVal = ... # type: float
boolVal = ... # type: bool
@property
def timestampVal(self) -> google___protobuf___timestamp_pb2___Timestamp: ...
def __init__(self,
*,
bytesVal : typing___Optional[bytes] = None,
stringVal : typing___Optional[typing___Text] = None,
int32Val : typing___Optional[int] = None,
int64Val : typing___Optional[int] = None,
doubleVal : typing___Optional[float] = None,
floatVal : typing___Optional[float] = None,
boolVal : typing___Optional[bool] = None,
timestampVal : typing___Optional[google___protobuf___timestamp_pb2___Timestamp] = None,
) -> None: ...
@classmethod
def FromString(cls, s: bytes) -> Value: ...
def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
if sys.version_info >= (3,):
def HasField(self, field_name: typing_extensions___Literal[u"boolVal",u"bytesVal",u"doubleVal",u"floatVal",u"int32Val",u"int64Val",u"stringVal",u"timestampVal",u"val"]) -> bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"boolVal",u"bytesVal",u"doubleVal",u"floatVal",u"int32Val",u"int64Val",u"stringVal",u"timestampVal",u"val"]) -> None: ...
else:
def HasField(self, field_name: typing_extensions___Literal[u"boolVal",b"boolVal",u"bytesVal",b"bytesVal",u"doubleVal",b"doubleVal",u"floatVal",b"floatVal",u"int32Val",b"int32Val",u"int64Val",b"int64Val",u"stringVal",b"stringVal",u"timestampVal",b"timestampVal",u"val",b"val"]) -> bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"boolVal",b"boolVal",u"bytesVal",b"bytesVal",u"doubleVal",b"doubleVal",u"floatVal",b"floatVal",u"int32Val",b"int32Val",u"int64Val",b"int64Val",u"stringVal",b"stringVal",u"timestampVal",b"timestampVal",u"val",b"val"]) -> None: ...
def WhichOneof(self, oneof_group: typing_extensions___Literal[u"val",b"val"]) -> typing_extensions___Literal["bytesVal","stringVal","int32Val","int64Val","doubleVal","floatVal","boolVal","timestampVal"]: ...
class ValueList(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
@property
def bytesList(self) -> BytesList: ...
@property
def stringList(self) -> StringList: ...
@property
def int32List(self) -> Int32List: ...
@property
def int64List(self) -> Int64List: ...
@property
def doubleList(self) -> DoubleList: ...
@property
def floatList(self) -> FloatList: ...
@property
def boolList(self) -> BoolList: ...
@property
def timestampList(self) -> TimestampList: ...
def __init__(self,
*,
bytesList : typing___Optional[BytesList] = None,
stringList : typing___Optional[StringList] = None,
int32List : typing___Optional[Int32List] = None,
int64List : typing___Optional[Int64List] = None,
doubleList : typing___Optional[DoubleList] = None,
floatList : typing___Optional[FloatList] = None,
boolList : typing___Optional[BoolList] = None,
timestampList : typing___Optional[TimestampList] = None,
) -> None: ...
@classmethod
def FromString(cls, s: bytes) -> ValueList: ...
def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
if sys.version_info >= (3,):
def HasField(self, field_name: typing_extensions___Literal[u"boolList",u"bytesList",u"doubleList",u"floatList",u"int32List",u"int64List",u"stringList",u"timestampList",u"valueList"]) -> bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"boolList",u"bytesList",u"doubleList",u"floatList",u"int32List",u"int64List",u"stringList",u"timestampList",u"valueList"]) -> None: ...
else:
def HasField(self, field_name: typing_extensions___Literal[u"boolList",b"boolList",u"bytesList",b"bytesList",u"doubleList",b"doubleList",u"floatList",b"floatList",u"int32List",b"int32List",u"int64List",b"int64List",u"stringList",b"stringList",u"timestampList",b"timestampList",u"valueList",b"valueList"]) -> bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"boolList",b"boolList",u"bytesList",b"bytesList",u"doubleList",b"doubleList",u"floatList",b"floatList",u"int32List",b"int32List",u"int64List",b"int64List",u"stringList",b"stringList",u"timestampList",b"timestampList",u"valueList",b"valueList"]) -> None: ...
def WhichOneof(self, oneof_group: typing_extensions___Literal[u"valueList",b"valueList"]) -> typing_extensions___Literal["bytesList","stringList","int32List","int64List","doubleList","floatList","boolList","timestampList"]: ...
class BytesList(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
val = ... # type: google___protobuf___internal___containers___RepeatedScalarFieldContainer[bytes]
def __init__(self,
*,
val : typing___Optional[typing___Iterable[bytes]] = None,
) -> None: ...
@classmethod
def FromString(cls, s: bytes) -> BytesList: ...
def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
if sys.version_info >= (3,):
def ClearField(self, field_name: typing_extensions___Literal[u"val"]) -> None: ...
else:
def ClearField(self, field_name: typing_extensions___Literal[u"val",b"val"]) -> None: ...
class StringList(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
val = ... # type: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text]
def __init__(self,
*,
val : typing___Optional[typing___Iterable[typing___Text]] = None,
) -> None: ...
@classmethod
def FromString(cls, s: bytes) -> StringList: ...
def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
if sys.version_info >= (3,):
def ClearField(self, field_name: typing_extensions___Literal[u"val"]) -> None: ...
else:
def ClearField(self, field_name: typing_extensions___Literal[u"val",b"val"]) -> None: ...
class Int32List(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
val = ... # type: google___protobuf___internal___containers___RepeatedScalarFieldContainer[int]
def __init__(self,
*,
val : typing___Optional[typing___Iterable[int]] = None,
) -> None: ...
@classmethod
def FromString(cls, s: bytes) -> Int32List: ...
def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
if sys.version_info >= (3,):
def ClearField(self, field_name: typing_extensions___Literal[u"val"]) -> None: ...
else:
def ClearField(self, field_name: typing_extensions___Literal[u"val",b"val"]) -> None: ...
class Int64List(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
val = ... # type: google___protobuf___internal___containers___RepeatedScalarFieldContainer[int]
def __init__(self,
*,
val : typing___Optional[typing___Iterable[int]] = None,
) -> None: ...
@classmethod
def FromString(cls, s: bytes) -> Int64List: ...
def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
if sys.version_info >= (3,):
def ClearField(self, field_name: typing_extensions___Literal[u"val"]) -> None: ...
else:
def ClearField(self, field_name: typing_extensions___Literal[u"val",b"val"]) -> None: ...
class DoubleList(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
val = ... # type: google___protobuf___internal___containers___RepeatedScalarFieldContainer[float]
def __init__(self,
*,
val : typing___Optional[typing___Iterable[float]] = None,
) -> None: ...
@classmethod
def FromString(cls, s: bytes) -> DoubleList: ...
def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
if sys.version_info >= (3,):
def ClearField(self, field_name: typing_extensions___Literal[u"val"]) -> None: ...
else:
def ClearField(self, field_name: typing_extensions___Literal[u"val",b"val"]) -> None: ...
class FloatList(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
val = ... # type: google___protobuf___internal___containers___RepeatedScalarFieldContainer[float]
def __init__(self,
*,
val : typing___Optional[typing___Iterable[float]] = None,
) -> None: ...
@classmethod
def FromString(cls, s: bytes) -> FloatList: ...
def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
if sys.version_info >= (3,):
def ClearField(self, field_name: typing_extensions___Literal[u"val"]) -> None: ...
else:
def ClearField(self, field_name: typing_extensions___Literal[u"val",b"val"]) -> None: ...
class BoolList(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
val = ... # type: google___protobuf___internal___containers___RepeatedScalarFieldContainer[bool]
def __init__(self,
*,
val : typing___Optional[typing___Iterable[bool]] = None,
) -> None: ...
@classmethod
def FromString(cls, s: bytes) -> BoolList: ...
def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
if sys.version_info >= (3,):
def ClearField(self, field_name: typing_extensions___Literal[u"val"]) -> None: ...
else:
def ClearField(self, field_name: typing_extensions___Literal[u"val",b"val"]) -> None: ...
class TimestampList(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
@property
def val(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[google___protobuf___timestamp_pb2___Timestamp]: ...
def __init__(self,
*,
val : typing___Optional[typing___Iterable[google___protobuf___timestamp_pb2___Timestamp]] = None,
) -> None: ...
@classmethod
def FromString(cls, s: bytes) -> TimestampList: ...
def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
if sys.version_info >= (3,):
def ClearField(self, field_name: typing_extensions___Literal[u"val"]) -> None: ...
else:
def ClearField(self, field_name: typing_extensions___Literal[u"val",b"val"]) -> None: ...