forked from feast-dev/feast
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathFeatureSet_pb2.pyi
More file actions
188 lines (161 loc) · 8.22 KB
/
FeatureSet_pb2.pyi
File metadata and controls
188 lines (161 loc) · 8.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
# @generated by generate_proto_mypy_stubs.py. Do not edit!
import sys
from feast.core.Source_pb2 import (
Source as feast___core___Source_pb2___Source,
)
from feast.types.Value_pb2 import (
ValueType as feast___types___Value_pb2___ValueType,
)
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
EnumDescriptor as google___protobuf___descriptor___EnumDescriptor,
)
from google.protobuf.duration_pb2 import (
Duration as google___protobuf___duration_pb2___Duration,
)
from google.protobuf.internal.containers import (
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
)
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 FeatureSetStatus(int):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
@classmethod
def Name(cls, number: int) -> str: ...
@classmethod
def Value(cls, name: str) -> FeatureSetStatus: ...
@classmethod
def keys(cls) -> typing___List[str]: ...
@classmethod
def values(cls) -> typing___List[FeatureSetStatus]: ...
@classmethod
def items(cls) -> typing___List[typing___Tuple[str, FeatureSetStatus]]: ...
STATUS_INVALID = typing___cast(FeatureSetStatus, 0)
STATUS_PENDING = typing___cast(FeatureSetStatus, 1)
STATUS_READY = typing___cast(FeatureSetStatus, 2)
STATUS_INVALID = typing___cast(FeatureSetStatus, 0)
STATUS_PENDING = typing___cast(FeatureSetStatus, 1)
STATUS_READY = typing___cast(FeatureSetStatus, 2)
class FeatureSet(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
@property
def spec(self) -> FeatureSetSpec: ...
@property
def meta(self) -> FeatureSetMeta: ...
def __init__(self,
*,
spec : typing___Optional[FeatureSetSpec] = None,
meta : typing___Optional[FeatureSetMeta] = None,
) -> None: ...
@classmethod
def FromString(cls, s: bytes) -> FeatureSet: ...
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"meta",u"spec"]) -> bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"meta",u"spec"]) -> None: ...
else:
def HasField(self, field_name: typing_extensions___Literal[u"meta",b"meta",u"spec",b"spec"]) -> bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"meta",b"meta",u"spec",b"spec"]) -> None: ...
class FeatureSetSpec(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
project = ... # type: typing___Text
name = ... # type: typing___Text
version = ... # type: int
@property
def entities(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[EntitySpec]: ...
@property
def features(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[FeatureSpec]: ...
@property
def max_age(self) -> google___protobuf___duration_pb2___Duration: ...
@property
def source(self) -> feast___core___Source_pb2___Source: ...
def __init__(self,
*,
project : typing___Optional[typing___Text] = None,
name : typing___Optional[typing___Text] = None,
version : typing___Optional[int] = None,
entities : typing___Optional[typing___Iterable[EntitySpec]] = None,
features : typing___Optional[typing___Iterable[FeatureSpec]] = None,
max_age : typing___Optional[google___protobuf___duration_pb2___Duration] = None,
source : typing___Optional[feast___core___Source_pb2___Source] = None,
) -> None: ...
@classmethod
def FromString(cls, s: bytes) -> FeatureSetSpec: ...
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"max_age",u"source"]) -> bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"entities",u"features",u"max_age",u"name",u"project",u"source",u"version"]) -> None: ...
else:
def HasField(self, field_name: typing_extensions___Literal[u"max_age",b"max_age",u"source",b"source"]) -> bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"entities",b"entities",u"features",b"features",u"max_age",b"max_age",u"name",b"name",u"project",b"project",u"source",b"source",u"version",b"version"]) -> None: ...
class EntitySpec(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name = ... # type: typing___Text
value_type = ... # type: feast___types___Value_pb2___ValueType.Enum
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
value_type : typing___Optional[feast___types___Value_pb2___ValueType.Enum] = None,
) -> None: ...
@classmethod
def FromString(cls, s: bytes) -> EntitySpec: ...
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"name",u"value_type"]) -> None: ...
else:
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"value_type",b"value_type"]) -> None: ...
class FeatureSpec(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name = ... # type: typing___Text
value_type = ... # type: feast___types___Value_pb2___ValueType.Enum
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
value_type : typing___Optional[feast___types___Value_pb2___ValueType.Enum] = None,
) -> None: ...
@classmethod
def FromString(cls, s: bytes) -> FeatureSpec: ...
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"name",u"value_type"]) -> None: ...
else:
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"value_type",b"value_type"]) -> None: ...
class FeatureSetMeta(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
status = ... # type: FeatureSetStatus
@property
def created_timestamp(self) -> google___protobuf___timestamp_pb2___Timestamp: ...
def __init__(self,
*,
created_timestamp : typing___Optional[google___protobuf___timestamp_pb2___Timestamp] = None,
status : typing___Optional[FeatureSetStatus] = None,
) -> None: ...
@classmethod
def FromString(cls, s: bytes) -> FeatureSetMeta: ...
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"created_timestamp"]) -> bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"created_timestamp",u"status"]) -> None: ...
else:
def HasField(self, field_name: typing_extensions___Literal[u"created_timestamp",b"created_timestamp"]) -> bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"created_timestamp",b"created_timestamp",u"status",b"status"]) -> None: ...