forked from feast-dev/feast
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathField_pb2.pyi
More file actions
80 lines (67 loc) · 2.75 KB
/
Field_pb2.pyi
File metadata and controls
80 lines (67 loc) · 2.75 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
"""
@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.
"""
from collections import abc as _abc
from feast.types import Value_pb2 as _Value_pb2 # type: ignore[attr-defined]
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 Field(_message.Message):
DESCRIPTOR: _descriptor.Descriptor
@_typing.final
class TagsEntry(_message.Message):
DESCRIPTOR: _descriptor.Descriptor
KEY_FIELD_NUMBER: _builtins.int
VALUE_FIELD_NUMBER: _builtins.int
key: _builtins.str
value: _builtins.str
def __init__(
self,
*,
key: _builtins.str = ...,
value: _builtins.str = ...,
) -> None: ...
_ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
NAME_FIELD_NUMBER: _builtins.int
VALUE_FIELD_NUMBER: _builtins.int
TAGS_FIELD_NUMBER: _builtins.int
DESCRIPTION_FIELD_NUMBER: _builtins.int
name: _builtins.str
value: _Value_pb2.ValueType.Enum.ValueType
description: _builtins.str
"""Description of the field."""
@_builtins.property
def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]:
"""Tags for user defined metadata on a field"""
def __init__(
self,
*,
name: _builtins.str = ...,
value: _Value_pb2.ValueType.Enum.ValueType = ...,
tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ...,
description: _builtins.str = ...,
) -> None: ...
_ClearFieldArgType: _TypeAlias = _typing.Literal["description", b"description", "name", b"name", "tags", b"tags", "value", b"value"] # noqa: Y015
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
Global___Field: _TypeAlias = Field # noqa: Y015