alis.usage.v1 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- alis/__init__.py +1 -0
- alis/__init__.pyi +1 -0
- alis/usage/__init__.py +1 -0
- alis/usage/__init__.pyi +1 -0
- alis/usage/v1/__init__.py +7 -0
- alis/usage/v1/__init__.pyi +7 -0
- alis/usage/v1/py.typed +0 -0
- alis/usage/v1/usage_pb2.py +50 -0
- alis/usage/v1/usage_pb2.pyi +217 -0
- alis/usage/v1/usage_pb2_grpc.py +24 -0
- alis/usage/v1/usage_pb2_grpc.pyi +20 -0
- alis_usage_v1-1.0.0.dist-info/METADATA +22 -0
- alis_usage_v1-1.0.0.dist-info/RECORD +15 -0
- alis_usage_v1-1.0.0.dist-info/WHEEL +5 -0
- alis_usage_v1-1.0.0.dist-info/top_level.txt +1 -0
alis/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
alis/__init__.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
alis/usage/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
alis/usage/__init__.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
alis/usage/v1/py.typed
ADDED
|
File without changes
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: alis/usage/v1/usage.proto
|
|
5
|
+
# Protobuf Python Version: 7.35.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
7,
|
|
15
|
+
35,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'alis/usage/v1/usage.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x61lis/usage/v1/usage.proto\x12\ralis.usage.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xca\x0b\n\x0cProductUsage\x12\x18\n\x07product\x18\x01 \x01(\tR\x07product\x12,\n\x12product_project_id\x18\x02 \x01(\tR\x10productProjectId\x12?\n\rsnapshot_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0csnapshotTime\x12<\n\x07windows\x18\x04 \x03(\x0b\x32\".alis.usage.v1.ProductUsage.WindowR\x07windows\x12G\n\x0b\x64\x61ily_trend\x18\x05 \x03(\x0b\x32&.alis.usage.v1.ProductUsage.DailyCountR\ndailyTrend\x1a\x85\x02\n\x06Window\x12:\n\x04kind\x18\x01 \x01(\x0e\x32&.alis.usage.v1.ProductUsage.WindowKindR\x04kind\x12\x39\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartTime\x12\x35\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndTime\x12M\n\x0b\x64\x65ployments\x18\x04 \x03(\x0b\x32+.alis.usage.v1.ProductUsage.DeploymentUsageR\x0b\x64\x65ployments\x1a\xc1\x01\n\x0f\x44\x65ploymentUsage\x12*\n\x11google_project_id\x18\x01 \x01(\tR\x0fgoogleProjectId\x12?\n\x06totals\x18\x02 \x01(\x0b\x32\'.alis.usage.v1.ProductUsage.MethodStatsR\x06totals\x12\x41\n\x07methods\x18\x03 \x03(\x0b\x32\'.alis.usage.v1.ProductUsage.MethodUsageR\x07methods\x1a\xc4\x01\n\x0bMethodUsage\x12\x18\n\x07package\x18\x01 \x01(\tR\x07package\x12\x18\n\x07service\x18\x02 \x01(\tR\x07service\x12\x16\n\x06method\x18\x03 \x01(\tR\x06method\x12*\n\x11\x63loud_run_service\x18\x04 \x01(\tR\x0f\x63loudRunService\x12=\n\x05stats\x18\x05 \x01(\x0b\x32\'.alis.usage.v1.ProductUsage.MethodStatsR\x05stats\x1a\x80\x02\n\x0bMethodStats\x12#\n\rrequest_count\x18\x01 \x01(\x03R\x0crequestCount\x12\x1f\n\x0b\x65rror_count\x18\x02 \x01(\x03R\nerrorCount\x12\x1d\n\nerror_rate\x18\x03 \x01(\x01R\terrorRate\x12\x1f\n\x0blatency_p50\x18\x04 \x01(\x01R\nlatencyP50\x12\x1f\n\x0blatency_p95\x18\x05 \x01(\x01R\nlatencyP95\x12\x1f\n\x0blatency_p99\x18\x06 \x01(\x01R\nlatencyP99\x12)\n\x10\x64istinct_callers\x18\x07 \x01(\x03R\x0f\x64istinctCallers\x1a\x92\x01\n\nDailyCount\x12\x12\n\x04\x64\x61te\x18\x01 \x01(\tR\x04\x64\x61te\x12*\n\x11google_project_id\x18\x02 \x01(\tR\x0fgoogleProjectId\x12#\n\rrequest_count\x18\x03 \x01(\x03R\x0crequestCount\x12\x1f\n\x0b\x65rror_count\x18\x04 \x01(\x03R\nerrorCount\"\x7f\n\nWindowKind\x12\x1b\n\x17WINDOW_KIND_UNSPECIFIED\x10\x00\x12\x1b\n\x17WINDOW_KIND_ROLLING_24H\x10\x01\x12\x1a\n\x16WINDOW_KIND_ROLLING_7D\x10\x02\x12\x1b\n\x17WINDOW_KIND_ROLLING_30D\x10\x03\x42!Z\x1fgo.alis.build/common/alis/usageb\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'alis.usage.v1.usage_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z\037go.alis.build/common/alis/usage'
|
|
36
|
+
_globals['_PRODUCTUSAGE']._serialized_start=78
|
|
37
|
+
_globals['_PRODUCTUSAGE']._serialized_end=1560
|
|
38
|
+
_globals['_PRODUCTUSAGE_WINDOW']._serialized_start=367
|
|
39
|
+
_globals['_PRODUCTUSAGE_WINDOW']._serialized_end=628
|
|
40
|
+
_globals['_PRODUCTUSAGE_DEPLOYMENTUSAGE']._serialized_start=631
|
|
41
|
+
_globals['_PRODUCTUSAGE_DEPLOYMENTUSAGE']._serialized_end=824
|
|
42
|
+
_globals['_PRODUCTUSAGE_METHODUSAGE']._serialized_start=827
|
|
43
|
+
_globals['_PRODUCTUSAGE_METHODUSAGE']._serialized_end=1023
|
|
44
|
+
_globals['_PRODUCTUSAGE_METHODSTATS']._serialized_start=1026
|
|
45
|
+
_globals['_PRODUCTUSAGE_METHODSTATS']._serialized_end=1282
|
|
46
|
+
_globals['_PRODUCTUSAGE_DAILYCOUNT']._serialized_start=1285
|
|
47
|
+
_globals['_PRODUCTUSAGE_DAILYCOUNT']._serialized_end=1431
|
|
48
|
+
_globals['_PRODUCTUSAGE_WINDOWKIND']._serialized_start=1433
|
|
49
|
+
_globals['_PRODUCTUSAGE_WINDOWKIND']._serialized_end=1560
|
|
50
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
from collections import abc as _abc
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import message as _message
|
|
9
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
10
|
+
from google.protobuf.internal import containers as _containers
|
|
11
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
12
|
+
import builtins as _builtins
|
|
13
|
+
import sys
|
|
14
|
+
import typing as _typing
|
|
15
|
+
|
|
16
|
+
if sys.version_info >= (3, 11):
|
|
17
|
+
from typing import TypeAlias as _TypeAlias, Never as _Never
|
|
18
|
+
else:
|
|
19
|
+
from typing_extensions import TypeAlias as _TypeAlias, Never as _Never
|
|
20
|
+
|
|
21
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
22
|
+
|
|
23
|
+
@_typing.final
|
|
24
|
+
class ProductUsage(_message.Message):
|
|
25
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
26
|
+
|
|
27
|
+
class _WindowKind:
|
|
28
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
29
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
30
|
+
|
|
31
|
+
class _WindowKindEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[ProductUsage._WindowKind.ValueType], _builtins.type):
|
|
32
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
33
|
+
WINDOW_KIND_UNSPECIFIED: ProductUsage._WindowKind.ValueType # 0
|
|
34
|
+
WINDOW_KIND_ROLLING_24H: ProductUsage._WindowKind.ValueType # 1
|
|
35
|
+
WINDOW_KIND_ROLLING_7D: ProductUsage._WindowKind.ValueType # 2
|
|
36
|
+
WINDOW_KIND_ROLLING_30D: ProductUsage._WindowKind.ValueType # 3
|
|
37
|
+
|
|
38
|
+
class WindowKind(_WindowKind, metaclass=_WindowKindEnumTypeWrapper): ...
|
|
39
|
+
WINDOW_KIND_UNSPECIFIED: ProductUsage.WindowKind.ValueType # 0
|
|
40
|
+
WINDOW_KIND_ROLLING_24H: ProductUsage.WindowKind.ValueType # 1
|
|
41
|
+
WINDOW_KIND_ROLLING_7D: ProductUsage.WindowKind.ValueType # 2
|
|
42
|
+
WINDOW_KIND_ROLLING_30D: ProductUsage.WindowKind.ValueType # 3
|
|
43
|
+
|
|
44
|
+
@_typing.final
|
|
45
|
+
class Window(_message.Message):
|
|
46
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
47
|
+
|
|
48
|
+
KIND_FIELD_NUMBER: _builtins.int
|
|
49
|
+
START_TIME_FIELD_NUMBER: _builtins.int
|
|
50
|
+
END_TIME_FIELD_NUMBER: _builtins.int
|
|
51
|
+
DEPLOYMENTS_FIELD_NUMBER: _builtins.int
|
|
52
|
+
kind: Global___ProductUsage.WindowKind.ValueType
|
|
53
|
+
@_builtins.property
|
|
54
|
+
def start_time(self) -> _timestamp_pb2.Timestamp: ...
|
|
55
|
+
@_builtins.property
|
|
56
|
+
def end_time(self) -> _timestamp_pb2.Timestamp: ...
|
|
57
|
+
@_builtins.property
|
|
58
|
+
def deployments(self) -> _containers.RepeatedCompositeFieldContainer[Global___ProductUsage.DeploymentUsage]: ...
|
|
59
|
+
def __init__(
|
|
60
|
+
self,
|
|
61
|
+
*,
|
|
62
|
+
kind: Global___ProductUsage.WindowKind.ValueType = ...,
|
|
63
|
+
start_time: _timestamp_pb2.Timestamp | None = ...,
|
|
64
|
+
end_time: _timestamp_pb2.Timestamp | None = ...,
|
|
65
|
+
deployments: _abc.Iterable[Global___ProductUsage.DeploymentUsage] | None = ...,
|
|
66
|
+
) -> None: ...
|
|
67
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["end_time", b"end_time", "start_time", b"start_time"] # noqa: Y015
|
|
68
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
69
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["deployments", b"deployments", "end_time", b"end_time", "kind", b"kind", "start_time", b"start_time"] # noqa: Y015
|
|
70
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
71
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
72
|
+
|
|
73
|
+
@_typing.final
|
|
74
|
+
class DeploymentUsage(_message.Message):
|
|
75
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
76
|
+
|
|
77
|
+
GOOGLE_PROJECT_ID_FIELD_NUMBER: _builtins.int
|
|
78
|
+
TOTALS_FIELD_NUMBER: _builtins.int
|
|
79
|
+
METHODS_FIELD_NUMBER: _builtins.int
|
|
80
|
+
google_project_id: _builtins.str
|
|
81
|
+
@_builtins.property
|
|
82
|
+
def totals(self) -> Global___ProductUsage.MethodStats: ...
|
|
83
|
+
@_builtins.property
|
|
84
|
+
def methods(self) -> _containers.RepeatedCompositeFieldContainer[Global___ProductUsage.MethodUsage]: ...
|
|
85
|
+
def __init__(
|
|
86
|
+
self,
|
|
87
|
+
*,
|
|
88
|
+
google_project_id: _builtins.str = ...,
|
|
89
|
+
totals: Global___ProductUsage.MethodStats | None = ...,
|
|
90
|
+
methods: _abc.Iterable[Global___ProductUsage.MethodUsage] | None = ...,
|
|
91
|
+
) -> None: ...
|
|
92
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["totals", b"totals"] # noqa: Y015
|
|
93
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
94
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["google_project_id", b"google_project_id", "methods", b"methods", "totals", b"totals"] # noqa: Y015
|
|
95
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
96
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
97
|
+
|
|
98
|
+
@_typing.final
|
|
99
|
+
class MethodUsage(_message.Message):
|
|
100
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
101
|
+
|
|
102
|
+
PACKAGE_FIELD_NUMBER: _builtins.int
|
|
103
|
+
SERVICE_FIELD_NUMBER: _builtins.int
|
|
104
|
+
METHOD_FIELD_NUMBER: _builtins.int
|
|
105
|
+
CLOUD_RUN_SERVICE_FIELD_NUMBER: _builtins.int
|
|
106
|
+
STATS_FIELD_NUMBER: _builtins.int
|
|
107
|
+
package: _builtins.str
|
|
108
|
+
service: _builtins.str
|
|
109
|
+
method: _builtins.str
|
|
110
|
+
cloud_run_service: _builtins.str
|
|
111
|
+
@_builtins.property
|
|
112
|
+
def stats(self) -> Global___ProductUsage.MethodStats: ...
|
|
113
|
+
def __init__(
|
|
114
|
+
self,
|
|
115
|
+
*,
|
|
116
|
+
package: _builtins.str = ...,
|
|
117
|
+
service: _builtins.str = ...,
|
|
118
|
+
method: _builtins.str = ...,
|
|
119
|
+
cloud_run_service: _builtins.str = ...,
|
|
120
|
+
stats: Global___ProductUsage.MethodStats | None = ...,
|
|
121
|
+
) -> None: ...
|
|
122
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["stats", b"stats"] # noqa: Y015
|
|
123
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
124
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["cloud_run_service", b"cloud_run_service", "method", b"method", "package", b"package", "service", b"service", "stats", b"stats"] # noqa: Y015
|
|
125
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
126
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
127
|
+
|
|
128
|
+
@_typing.final
|
|
129
|
+
class MethodStats(_message.Message):
|
|
130
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
131
|
+
|
|
132
|
+
REQUEST_COUNT_FIELD_NUMBER: _builtins.int
|
|
133
|
+
ERROR_COUNT_FIELD_NUMBER: _builtins.int
|
|
134
|
+
ERROR_RATE_FIELD_NUMBER: _builtins.int
|
|
135
|
+
LATENCY_P50_FIELD_NUMBER: _builtins.int
|
|
136
|
+
LATENCY_P95_FIELD_NUMBER: _builtins.int
|
|
137
|
+
LATENCY_P99_FIELD_NUMBER: _builtins.int
|
|
138
|
+
DISTINCT_CALLERS_FIELD_NUMBER: _builtins.int
|
|
139
|
+
request_count: _builtins.int
|
|
140
|
+
error_count: _builtins.int
|
|
141
|
+
error_rate: _builtins.float
|
|
142
|
+
latency_p50: _builtins.float
|
|
143
|
+
latency_p95: _builtins.float
|
|
144
|
+
latency_p99: _builtins.float
|
|
145
|
+
distinct_callers: _builtins.int
|
|
146
|
+
def __init__(
|
|
147
|
+
self,
|
|
148
|
+
*,
|
|
149
|
+
request_count: _builtins.int = ...,
|
|
150
|
+
error_count: _builtins.int = ...,
|
|
151
|
+
error_rate: _builtins.float = ...,
|
|
152
|
+
latency_p50: _builtins.float = ...,
|
|
153
|
+
latency_p95: _builtins.float = ...,
|
|
154
|
+
latency_p99: _builtins.float = ...,
|
|
155
|
+
distinct_callers: _builtins.int = ...,
|
|
156
|
+
) -> None: ...
|
|
157
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
158
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
159
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["distinct_callers", b"distinct_callers", "error_count", b"error_count", "error_rate", b"error_rate", "latency_p50", b"latency_p50", "latency_p95", b"latency_p95", "latency_p99", b"latency_p99", "request_count", b"request_count"] # noqa: Y015
|
|
160
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
161
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
162
|
+
|
|
163
|
+
@_typing.final
|
|
164
|
+
class DailyCount(_message.Message):
|
|
165
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
166
|
+
|
|
167
|
+
DATE_FIELD_NUMBER: _builtins.int
|
|
168
|
+
GOOGLE_PROJECT_ID_FIELD_NUMBER: _builtins.int
|
|
169
|
+
REQUEST_COUNT_FIELD_NUMBER: _builtins.int
|
|
170
|
+
ERROR_COUNT_FIELD_NUMBER: _builtins.int
|
|
171
|
+
date: _builtins.str
|
|
172
|
+
google_project_id: _builtins.str
|
|
173
|
+
request_count: _builtins.int
|
|
174
|
+
error_count: _builtins.int
|
|
175
|
+
def __init__(
|
|
176
|
+
self,
|
|
177
|
+
*,
|
|
178
|
+
date: _builtins.str = ...,
|
|
179
|
+
google_project_id: _builtins.str = ...,
|
|
180
|
+
request_count: _builtins.int = ...,
|
|
181
|
+
error_count: _builtins.int = ...,
|
|
182
|
+
) -> None: ...
|
|
183
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
184
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
185
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["date", b"date", "error_count", b"error_count", "google_project_id", b"google_project_id", "request_count", b"request_count"] # noqa: Y015
|
|
186
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
187
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
188
|
+
|
|
189
|
+
PRODUCT_FIELD_NUMBER: _builtins.int
|
|
190
|
+
PRODUCT_PROJECT_ID_FIELD_NUMBER: _builtins.int
|
|
191
|
+
SNAPSHOT_TIME_FIELD_NUMBER: _builtins.int
|
|
192
|
+
WINDOWS_FIELD_NUMBER: _builtins.int
|
|
193
|
+
DAILY_TREND_FIELD_NUMBER: _builtins.int
|
|
194
|
+
product: _builtins.str
|
|
195
|
+
product_project_id: _builtins.str
|
|
196
|
+
@_builtins.property
|
|
197
|
+
def snapshot_time(self) -> _timestamp_pb2.Timestamp: ...
|
|
198
|
+
@_builtins.property
|
|
199
|
+
def windows(self) -> _containers.RepeatedCompositeFieldContainer[Global___ProductUsage.Window]: ...
|
|
200
|
+
@_builtins.property
|
|
201
|
+
def daily_trend(self) -> _containers.RepeatedCompositeFieldContainer[Global___ProductUsage.DailyCount]: ...
|
|
202
|
+
def __init__(
|
|
203
|
+
self,
|
|
204
|
+
*,
|
|
205
|
+
product: _builtins.str = ...,
|
|
206
|
+
product_project_id: _builtins.str = ...,
|
|
207
|
+
snapshot_time: _timestamp_pb2.Timestamp | None = ...,
|
|
208
|
+
windows: _abc.Iterable[Global___ProductUsage.Window] | None = ...,
|
|
209
|
+
daily_trend: _abc.Iterable[Global___ProductUsage.DailyCount] | None = ...,
|
|
210
|
+
) -> None: ...
|
|
211
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["snapshot_time", b"snapshot_time"] # noqa: Y015
|
|
212
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
213
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["daily_trend", b"daily_trend", "product", b"product", "product_project_id", b"product_project_id", "snapshot_time", b"snapshot_time", "windows", b"windows"] # noqa: Y015
|
|
214
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
215
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
216
|
+
|
|
217
|
+
Global___ProductUsage: _TypeAlias = ProductUsage # noqa: Y015
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.83.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ ' but the generated code in alis/usage/v1/usage_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
from collections import abc as _abc
|
|
7
|
+
from grpc import aio as _aio
|
|
8
|
+
import abc as _abc_1
|
|
9
|
+
import grpc as _grpc
|
|
10
|
+
import typing as _typing
|
|
11
|
+
|
|
12
|
+
_T = _typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(_abc.AsyncIterator[_T], _abc.Iterator[_T], metaclass=_abc_1.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(_grpc.ServicerContext, _aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|
|
18
|
+
|
|
19
|
+
GRPC_GENERATED_VERSION: str
|
|
20
|
+
GRPC_VERSION: str
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: alis.usage.v1
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Python and gRPC stubs generated by Alis Build for alis.usage.v1
|
|
5
|
+
Author: Alis Build
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://alisx.com/build/
|
|
8
|
+
Keywords: alis-build,protobuf,grpc
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
12
|
+
Requires-Python: >=3.10
|
|
13
|
+
Requires-Dist: protobuf>=7.35.1
|
|
14
|
+
Requires-Dist: grpcio>=1.83.0
|
|
15
|
+
Dynamic: author
|
|
16
|
+
Dynamic: classifier
|
|
17
|
+
Dynamic: keywords
|
|
18
|
+
Dynamic: license
|
|
19
|
+
Dynamic: project-url
|
|
20
|
+
Dynamic: requires-dist
|
|
21
|
+
Dynamic: requires-python
|
|
22
|
+
Dynamic: summary
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
alis/__init__.py,sha256=q3JNmHn0CMPtEqkMR40lkjKQzuWUtT39xIFUYJ-MKIE,56
|
|
2
|
+
alis/__init__.pyi,sha256=q3JNmHn0CMPtEqkMR40lkjKQzuWUtT39xIFUYJ-MKIE,56
|
|
3
|
+
alis/usage/__init__.py,sha256=q3JNmHn0CMPtEqkMR40lkjKQzuWUtT39xIFUYJ-MKIE,56
|
|
4
|
+
alis/usage/__init__.pyi,sha256=q3JNmHn0CMPtEqkMR40lkjKQzuWUtT39xIFUYJ-MKIE,56
|
|
5
|
+
alis/usage/v1/__init__.py,sha256=BVf982ilgpmDNv8bcMdY04uj_FBoyiBU4OD-ZaI5dxA,138
|
|
6
|
+
alis/usage/v1/__init__.pyi,sha256=BVf982ilgpmDNv8bcMdY04uj_FBoyiBU4OD-ZaI5dxA,138
|
|
7
|
+
alis/usage/v1/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
+
alis/usage/v1/usage_pb2.py,sha256=6-HuJexf6UeNxw6yjdR-cxAmeCfV9RIcMCvKTwhjdnA,4610
|
|
9
|
+
alis/usage/v1/usage_pb2.pyi,sha256=76WtV3z9Rck1ldjyLrYfC4j87FpXR7qO1JUBfn-KMQs,10412
|
|
10
|
+
alis/usage/v1/usage_pb2_grpc.py,sha256=7NSieJhONL2lWHmPX78U2CCxIsEziipL8L57NikqPYQ,899
|
|
11
|
+
alis/usage/v1/usage_pb2_grpc.pyi,sha256=uC9Wnq6uyg488QiONpJ0ba1s_iouQCOYsjd_FDd1XUM,495
|
|
12
|
+
alis_usage_v1-1.0.0.dist-info/METADATA,sha256=nqTzQ2qeSqgCsuhlZf_h5Pwhy11XK3To3ir7LeA7jl0,642
|
|
13
|
+
alis_usage_v1-1.0.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
14
|
+
alis_usage_v1-1.0.0.dist-info/top_level.txt,sha256=DpFM29O35T7hskkQvEAVzmzJ_WQpR9g1ST1CEUgUFJQ,5
|
|
15
|
+
alis_usage_v1-1.0.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
alis
|