forked from feast-dev/feast
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInfraObject_pb2.pyi
More file actions
108 lines (92 loc) · 4.5 KB
/
InfraObject_pb2.pyi
File metadata and controls
108 lines (92 loc) · 4.5 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
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
* Copyright 2021 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.
"""
from collections import abc as _abc
from feast.core import DatastoreTable_pb2 as _DatastoreTable_pb2
from feast.core import SqliteTable_pb2 as _SqliteTable_pb2
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf.internal import containers as _containers
import builtins as _builtins
import sys
import typing as _typing
if sys.version_info >= (3, 10):
from typing import TypeAlias as _TypeAlias
else:
from typing_extensions import TypeAlias as _TypeAlias
DESCRIPTOR: _descriptor.FileDescriptor
@_typing.final
class Infra(_message.Message):
"""Represents a set of infrastructure objects managed by Feast"""
DESCRIPTOR: _descriptor.Descriptor
INFRA_OBJECTS_FIELD_NUMBER: _builtins.int
@_builtins.property
def infra_objects(self) -> _containers.RepeatedCompositeFieldContainer[Global___InfraObject]:
"""List of infrastructure objects managed by Feast"""
def __init__(
self,
*,
infra_objects: _abc.Iterable[Global___InfraObject] | None = ...,
) -> None: ...
_ClearFieldArgType: _TypeAlias = _typing.Literal["infra_objects", b"infra_objects"] # noqa: Y015
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
Global___Infra: _TypeAlias = Infra # noqa: Y015
@_typing.final
class InfraObject(_message.Message):
"""Represents a single infrastructure object managed by Feast"""
DESCRIPTOR: _descriptor.Descriptor
@_typing.final
class CustomInfra(_message.Message):
"""Allows for custom infra objects to be added"""
DESCRIPTOR: _descriptor.Descriptor
FIELD_FIELD_NUMBER: _builtins.int
field: _builtins.bytes
def __init__(
self,
*,
field: _builtins.bytes = ...,
) -> None: ...
_ClearFieldArgType: _TypeAlias = _typing.Literal["field", b"field"] # noqa: Y015
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
INFRA_OBJECT_CLASS_TYPE_FIELD_NUMBER: _builtins.int
DATASTORE_TABLE_FIELD_NUMBER: _builtins.int
SQLITE_TABLE_FIELD_NUMBER: _builtins.int
CUSTOM_INFRA_FIELD_NUMBER: _builtins.int
infra_object_class_type: _builtins.str
"""Represents the Python class for the infrastructure object"""
@_builtins.property
def datastore_table(self) -> _DatastoreTable_pb2.DatastoreTable: ...
@_builtins.property
def sqlite_table(self) -> _SqliteTable_pb2.SqliteTable: ...
@_builtins.property
def custom_infra(self) -> Global___InfraObject.CustomInfra: ...
def __init__(
self,
*,
infra_object_class_type: _builtins.str = ...,
datastore_table: _DatastoreTable_pb2.DatastoreTable | None = ...,
sqlite_table: _SqliteTable_pb2.SqliteTable | None = ...,
custom_infra: Global___InfraObject.CustomInfra | None = ...,
) -> None: ...
_HasFieldArgType: _TypeAlias = _typing.Literal["custom_infra", b"custom_infra", "datastore_table", b"datastore_table", "infra_object", b"infra_object", "sqlite_table", b"sqlite_table"] # noqa: Y015
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
_ClearFieldArgType: _TypeAlias = _typing.Literal["custom_infra", b"custom_infra", "datastore_table", b"datastore_table", "infra_object", b"infra_object", "infra_object_class_type", b"infra_object_class_type", "sqlite_table", b"sqlite_table"] # noqa: Y015
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
_WhichOneofReturnType_infra_object: _TypeAlias = _typing.Literal["datastore_table", "sqlite_table", "custom_infra"] # noqa: Y015
_WhichOneofArgType_infra_object: _TypeAlias = _typing.Literal["infra_object", b"infra_object"] # noqa: Y015
def WhichOneof(self, oneof_group: _WhichOneofArgType_infra_object) -> _WhichOneofReturnType_infra_object | None: ...
Global___InfraObject: _TypeAlias = InfraObject # noqa: Y015