streamlit-nightly 1.52.3.dev20260112__py3-none-any.whl → 1.52.3.dev20260113__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.
- streamlit/__init__.py +1 -1
- streamlit/auth_util.py +1 -1
- streamlit/cli_util.py +1 -1
- streamlit/components/v2/bidi_component/main.py +2 -2
- streamlit/connections/snowflake_connection.py +1 -1
- streamlit/dataframe_util.py +1 -3
- streamlit/elements/arrow.py +5 -1
- streamlit/elements/lib/color_util.py +1 -1
- streamlit/elements/lib/image_utils.py +1 -1
- streamlit/elements/vega_charts.py +4 -1
- streamlit/elements/widgets/multiselect.py +1 -1
- streamlit/elements/widgets/time_widgets.py +1 -1
- streamlit/elements/write.py +1 -2
- streamlit/errors.py +2 -0
- streamlit/external/langchain/streamlit_callback_handler.py +1 -1
- streamlit/proto/Alert_pb2.pyi +31 -31
- streamlit/proto/AppPage_pb2.pyi +30 -30
- streamlit/proto/ArrowData_pb2.pyi +15 -15
- streamlit/proto/ArrowNamedDataSet_pb2.pyi +25 -25
- streamlit/proto/ArrowVegaLiteChart_pb2.pyi +45 -45
- streamlit/proto/Arrow_pb2.pyi +126 -97
- streamlit/proto/AudioInput_pb2.pyi +39 -39
- streamlit/proto/Audio_pb2.pyi +39 -39
- streamlit/proto/AuthRedirect_pb2.pyi +15 -15
- streamlit/proto/AutoRerun_pb2.pyi +18 -18
- streamlit/proto/BackMsg_pb2.pyi +64 -64
- streamlit/proto/Balloons_pb2.pyi +15 -15
- streamlit/proto/BidiComponent_pb2.pyi +100 -100
- streamlit/proto/Block_pb2.pyi +295 -264
- streamlit/proto/BokehChart_pb2.pyi +21 -21
- streamlit/proto/ButtonGroup_pb2.pyi +96 -96
- streamlit/proto/ButtonLikeIconPosition_pb2.pyi +12 -12
- streamlit/proto/Button_pb2.pyi +63 -50
- streamlit/proto/CameraInput_pb2.pyi +34 -34
- streamlit/proto/ChatInput_pb2.pyi +63 -63
- streamlit/proto/Checkbox_pb2.pyi +49 -49
- streamlit/proto/ClientState_pb2.pyi +85 -85
- streamlit/proto/Code_pb2.pyi +41 -28
- streamlit/proto/ColorPicker_pb2.pyi +43 -43
- streamlit/proto/Common_pb2.pyi +175 -175
- streamlit/proto/Components_pb2.pyi +110 -110
- streamlit/proto/DataFrame_pb2.pyi +209 -209
- streamlit/proto/DateInput_pb2.pyi +59 -59
- streamlit/proto/DateTimeInput_pb2.pyi +62 -62
- streamlit/proto/DeckGlJsonChart_pb2.pyi +91 -56
- streamlit/proto/Delta_pb2.pyi +44 -44
- streamlit/proto/DocString_pb2.pyi +51 -51
- streamlit/proto/DownloadButton_pb2.pyi +59 -59
- streamlit/proto/Element_pb2.pyi +319 -319
- streamlit/proto/Empty_pb2.pyi +10 -10
- streamlit/proto/Exception_pb2.pyi +37 -37
- streamlit/proto/Favicon_pb2.pyi +15 -15
- streamlit/proto/FileUploader_pb2.pyi +49 -49
- streamlit/proto/ForwardMsg_pb2.pyi +176 -170
- streamlit/proto/GapSize_pb2.pyi +23 -23
- streamlit/proto/GitInfo_pb2.pyi +37 -37
- streamlit/proto/GraphVizChart_pb2.pyi +38 -25
- streamlit/proto/Heading_pb2.pyi +30 -30
- streamlit/proto/HeightConfig_pb2.pyi +31 -31
- streamlit/proto/Html_pb2.pyi +18 -18
- streamlit/proto/IFrame_pb2.pyi +76 -47
- streamlit/proto/Image_pb2.pyi +49 -36
- streamlit/proto/Json_pb2.pyi +25 -25
- streamlit/proto/LabelVisibilityMessage_pb2.pyi +18 -18
- streamlit/proto/LinkButton_pb2.pyi +43 -43
- streamlit/proto/Logo_pb2.pyi +24 -24
- streamlit/proto/Markdown_pb2.pyi +30 -30
- streamlit/proto/Metric_pb2.pyi +59 -59
- streamlit/proto/MetricsEvent_pb2.pyi +171 -171
- streamlit/proto/MultiSelect_pb2.pyi +72 -66
- streamlit/proto/NamedDataSet_pb2.pyi +25 -25
- streamlit/proto/Navigation_pb2.pyi +35 -35
- streamlit/proto/NewSession_pb2.pyi +511 -498
- streamlit/proto/NumberInput_pb2.pyi +79 -79
- streamlit/proto/PageConfig_pb2.pyi +71 -71
- streamlit/proto/PageInfo_pb2.pyi +15 -15
- streamlit/proto/PageLink_pb2.pyi +47 -47
- streamlit/proto/PageNotFound_pb2.pyi +15 -15
- streamlit/proto/PageProfile_pb2.pyi +85 -85
- streamlit/proto/PagesChanged_pb2.pyi +19 -19
- streamlit/proto/ParentMessage_pb2.pyi +15 -15
- streamlit/proto/PlotlyChart_pb2.pyi +79 -64
- streamlit/proto/Progress_pb2.pyi +18 -18
- streamlit/proto/Radio_pb2.pyi +62 -62
- streamlit/proto/RootContainer_pb2.pyi +12 -12
- streamlit/proto/Selectbox_pb2.pyi +80 -70
- streamlit/proto/SessionEvent_pb2.pyi +27 -27
- streamlit/proto/SessionStatus_pb2.pyi +18 -18
- streamlit/proto/Skeleton_pb2.pyi +25 -25
- streamlit/proto/Slider_pb2.pyi +74 -74
- streamlit/proto/Snow_pb2.pyi +15 -15
- streamlit/proto/Space_pb2.pyi +10 -10
- streamlit/proto/Spinner_pb2.pyi +21 -21
- streamlit/proto/TextAlignmentConfig_pb2.pyi +18 -18
- streamlit/proto/TextArea_pb2.pyi +72 -59
- streamlit/proto/TextInput_pb2.pyi +67 -67
- streamlit/proto/Text_pb2.pyi +18 -18
- streamlit/proto/TimeInput_pb2.pyi +52 -52
- streamlit/proto/Toast_pb2.pyi +25 -25
- streamlit/proto/Transient_pb2.pyi +19 -19
- streamlit/proto/VegaLiteChart_pb2.pyi +32 -32
- streamlit/proto/Video_pb2.pyi +65 -65
- streamlit/proto/WidgetStates_pb2.pyi +91 -85
- streamlit/proto/WidthConfig_pb2.pyi +31 -31
- streamlit/proto/openmetrics_data_model_pb2.pyi +269 -269
- streamlit/runtime/app_session.py +1 -1
- streamlit/runtime/credentials.py +2 -2
- streamlit/runtime/metrics_util.py +3 -3
- streamlit/runtime/secrets.py +1 -1
- streamlit/runtime/stats.py +1 -3
- streamlit/testing/v1/app_test.py +1 -1
- streamlit/web/server/starlette/starlette_routes.py +1 -3
- streamlit/web/server/stats_request_handler.py +1 -3
- {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.52.3.dev20260113.dist-info}/METADATA +1 -1
- {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.52.3.dev20260113.dist-info}/RECORD +119 -119
- {streamlit_nightly-1.52.3.dev20260112.data → streamlit_nightly-1.52.3.dev20260113.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.52.3.dev20260113.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.52.3.dev20260113.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.52.3.dev20260113.dist-info}/top_level.txt +0 -0
|
@@ -6,29 +6,29 @@ Ensure to interpret "required" as semantically required for a valid message.
|
|
|
6
6
|
All string fields MUST be UTF-8 encoded strings.
|
|
7
7
|
"""
|
|
8
8
|
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
import
|
|
9
|
+
from collections import abc as _abc
|
|
10
|
+
from google.protobuf import descriptor as _descriptor
|
|
11
|
+
from google.protobuf import message as _message
|
|
12
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
13
|
+
from google.protobuf.internal import containers as _containers
|
|
14
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
15
|
+
import builtins as _builtins
|
|
16
16
|
import sys
|
|
17
|
-
import typing
|
|
17
|
+
import typing as _typing
|
|
18
18
|
|
|
19
19
|
if sys.version_info >= (3, 10):
|
|
20
|
-
|
|
20
|
+
from typing import TypeAlias as _TypeAlias
|
|
21
21
|
else:
|
|
22
|
-
import
|
|
22
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
23
23
|
|
|
24
|
-
DESCRIPTOR:
|
|
24
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
25
25
|
|
|
26
26
|
class _MetricType:
|
|
27
|
-
ValueType =
|
|
28
|
-
V:
|
|
27
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
28
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
29
29
|
|
|
30
|
-
class _MetricTypeEnumTypeWrapper(
|
|
31
|
-
DESCRIPTOR:
|
|
30
|
+
class _MetricTypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_MetricType.ValueType], _builtins.type):
|
|
31
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
32
32
|
UNKNOWN: _MetricType.ValueType # 0
|
|
33
33
|
"""Unknown must use unknown MetricPoint values."""
|
|
34
34
|
GAUGE: _MetricType.ValueType # 1
|
|
@@ -65,150 +65,150 @@ GAUGE_HISTOGRAM: MetricType.ValueType # 6
|
|
|
65
65
|
"""Gauge histogram must use histogram value MetricPoint values."""
|
|
66
66
|
SUMMARY: MetricType.ValueType # 7
|
|
67
67
|
"""Summary quantiles must use summary value MetricPoint values."""
|
|
68
|
-
Global___MetricType:
|
|
68
|
+
Global___MetricType: _TypeAlias = MetricType # noqa: Y015
|
|
69
69
|
|
|
70
|
-
@
|
|
71
|
-
class MetricSet(
|
|
70
|
+
@_typing.final
|
|
71
|
+
class MetricSet(_message.Message):
|
|
72
72
|
"""The top-level container type that is encoded and sent over the wire."""
|
|
73
73
|
|
|
74
|
-
DESCRIPTOR:
|
|
74
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
75
75
|
|
|
76
|
-
METRIC_FAMILIES_FIELD_NUMBER:
|
|
77
|
-
@property
|
|
78
|
-
def metric_families(self) ->
|
|
76
|
+
METRIC_FAMILIES_FIELD_NUMBER: _builtins.int
|
|
77
|
+
@_builtins.property
|
|
78
|
+
def metric_families(self) -> _containers.RepeatedCompositeFieldContainer[Global___MetricFamily]:
|
|
79
79
|
"""Each MetricFamily has one or more MetricPoints for a single Metric."""
|
|
80
80
|
|
|
81
81
|
def __init__(
|
|
82
82
|
self,
|
|
83
83
|
*,
|
|
84
|
-
metric_families:
|
|
84
|
+
metric_families: _abc.Iterable[Global___MetricFamily] | None = ...,
|
|
85
85
|
) -> None: ...
|
|
86
|
-
_ClearFieldArgType:
|
|
86
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["metric_families", b"metric_families"] # noqa: Y015
|
|
87
87
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
88
88
|
|
|
89
|
-
Global___MetricSet:
|
|
89
|
+
Global___MetricSet: _TypeAlias = MetricSet # noqa: Y015
|
|
90
90
|
|
|
91
|
-
@
|
|
92
|
-
class MetricFamily(
|
|
91
|
+
@_typing.final
|
|
92
|
+
class MetricFamily(_message.Message):
|
|
93
93
|
"""One or more Metrics for a single MetricFamily, where each Metric
|
|
94
94
|
has one or more MetricPoints.
|
|
95
95
|
"""
|
|
96
96
|
|
|
97
|
-
DESCRIPTOR:
|
|
97
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
98
98
|
|
|
99
|
-
NAME_FIELD_NUMBER:
|
|
100
|
-
TYPE_FIELD_NUMBER:
|
|
101
|
-
UNIT_FIELD_NUMBER:
|
|
102
|
-
HELP_FIELD_NUMBER:
|
|
103
|
-
METRICS_FIELD_NUMBER:
|
|
104
|
-
name:
|
|
99
|
+
NAME_FIELD_NUMBER: _builtins.int
|
|
100
|
+
TYPE_FIELD_NUMBER: _builtins.int
|
|
101
|
+
UNIT_FIELD_NUMBER: _builtins.int
|
|
102
|
+
HELP_FIELD_NUMBER: _builtins.int
|
|
103
|
+
METRICS_FIELD_NUMBER: _builtins.int
|
|
104
|
+
name: _builtins.str
|
|
105
105
|
"""Required."""
|
|
106
106
|
type: Global___MetricType.ValueType
|
|
107
107
|
"""Optional."""
|
|
108
|
-
unit:
|
|
108
|
+
unit: _builtins.str
|
|
109
109
|
"""Optional."""
|
|
110
|
-
help:
|
|
110
|
+
help: _builtins.str
|
|
111
111
|
"""Optional."""
|
|
112
|
-
@property
|
|
113
|
-
def metrics(self) ->
|
|
112
|
+
@_builtins.property
|
|
113
|
+
def metrics(self) -> _containers.RepeatedCompositeFieldContainer[Global___Metric]:
|
|
114
114
|
"""Optional."""
|
|
115
115
|
|
|
116
116
|
def __init__(
|
|
117
117
|
self,
|
|
118
118
|
*,
|
|
119
|
-
name:
|
|
119
|
+
name: _builtins.str = ...,
|
|
120
120
|
type: Global___MetricType.ValueType = ...,
|
|
121
|
-
unit:
|
|
122
|
-
help:
|
|
123
|
-
metrics:
|
|
121
|
+
unit: _builtins.str = ...,
|
|
122
|
+
help: _builtins.str = ...,
|
|
123
|
+
metrics: _abc.Iterable[Global___Metric] | None = ...,
|
|
124
124
|
) -> None: ...
|
|
125
|
-
_ClearFieldArgType:
|
|
125
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["help", b"help", "metrics", b"metrics", "name", b"name", "type", b"type", "unit", b"unit"] # noqa: Y015
|
|
126
126
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
127
127
|
|
|
128
|
-
Global___MetricFamily:
|
|
128
|
+
Global___MetricFamily: _TypeAlias = MetricFamily # noqa: Y015
|
|
129
129
|
|
|
130
|
-
@
|
|
131
|
-
class Metric(
|
|
130
|
+
@_typing.final
|
|
131
|
+
class Metric(_message.Message):
|
|
132
132
|
"""A single metric with a unique set of labels within a metric family."""
|
|
133
133
|
|
|
134
|
-
DESCRIPTOR:
|
|
134
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
135
135
|
|
|
136
|
-
LABELS_FIELD_NUMBER:
|
|
137
|
-
METRIC_POINTS_FIELD_NUMBER:
|
|
138
|
-
@property
|
|
139
|
-
def labels(self) ->
|
|
136
|
+
LABELS_FIELD_NUMBER: _builtins.int
|
|
137
|
+
METRIC_POINTS_FIELD_NUMBER: _builtins.int
|
|
138
|
+
@_builtins.property
|
|
139
|
+
def labels(self) -> _containers.RepeatedCompositeFieldContainer[Global___Label]:
|
|
140
140
|
"""Optional."""
|
|
141
141
|
|
|
142
|
-
@property
|
|
143
|
-
def metric_points(self) ->
|
|
142
|
+
@_builtins.property
|
|
143
|
+
def metric_points(self) -> _containers.RepeatedCompositeFieldContainer[Global___MetricPoint]:
|
|
144
144
|
"""Optional."""
|
|
145
145
|
|
|
146
146
|
def __init__(
|
|
147
147
|
self,
|
|
148
148
|
*,
|
|
149
|
-
labels:
|
|
150
|
-
metric_points:
|
|
149
|
+
labels: _abc.Iterable[Global___Label] | None = ...,
|
|
150
|
+
metric_points: _abc.Iterable[Global___MetricPoint] | None = ...,
|
|
151
151
|
) -> None: ...
|
|
152
|
-
_ClearFieldArgType:
|
|
152
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["labels", b"labels", "metric_points", b"metric_points"] # noqa: Y015
|
|
153
153
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
154
154
|
|
|
155
|
-
Global___Metric:
|
|
155
|
+
Global___Metric: _TypeAlias = Metric # noqa: Y015
|
|
156
156
|
|
|
157
|
-
@
|
|
158
|
-
class Label(
|
|
157
|
+
@_typing.final
|
|
158
|
+
class Label(_message.Message):
|
|
159
159
|
"""A name-value pair. These are used in multiple places: identifying
|
|
160
160
|
timeseries, value of INFO metrics, and exemplars in Histograms.
|
|
161
161
|
"""
|
|
162
162
|
|
|
163
|
-
DESCRIPTOR:
|
|
163
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
164
164
|
|
|
165
|
-
NAME_FIELD_NUMBER:
|
|
166
|
-
VALUE_FIELD_NUMBER:
|
|
167
|
-
name:
|
|
165
|
+
NAME_FIELD_NUMBER: _builtins.int
|
|
166
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
167
|
+
name: _builtins.str
|
|
168
168
|
"""Required."""
|
|
169
|
-
value:
|
|
169
|
+
value: _builtins.str
|
|
170
170
|
"""Required."""
|
|
171
171
|
def __init__(
|
|
172
172
|
self,
|
|
173
173
|
*,
|
|
174
|
-
name:
|
|
175
|
-
value:
|
|
174
|
+
name: _builtins.str = ...,
|
|
175
|
+
value: _builtins.str = ...,
|
|
176
176
|
) -> None: ...
|
|
177
|
-
_ClearFieldArgType:
|
|
177
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["name", b"name", "value", b"value"] # noqa: Y015
|
|
178
178
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
179
179
|
|
|
180
|
-
Global___Label:
|
|
180
|
+
Global___Label: _TypeAlias = Label # noqa: Y015
|
|
181
181
|
|
|
182
|
-
@
|
|
183
|
-
class MetricPoint(
|
|
182
|
+
@_typing.final
|
|
183
|
+
class MetricPoint(_message.Message):
|
|
184
184
|
"""A MetricPoint in a Metric."""
|
|
185
185
|
|
|
186
|
-
DESCRIPTOR:
|
|
187
|
-
|
|
188
|
-
UNKNOWN_VALUE_FIELD_NUMBER:
|
|
189
|
-
GAUGE_VALUE_FIELD_NUMBER:
|
|
190
|
-
COUNTER_VALUE_FIELD_NUMBER:
|
|
191
|
-
HISTOGRAM_VALUE_FIELD_NUMBER:
|
|
192
|
-
STATE_SET_VALUE_FIELD_NUMBER:
|
|
193
|
-
INFO_VALUE_FIELD_NUMBER:
|
|
194
|
-
SUMMARY_VALUE_FIELD_NUMBER:
|
|
195
|
-
TIMESTAMP_FIELD_NUMBER:
|
|
196
|
-
@property
|
|
186
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
187
|
+
|
|
188
|
+
UNKNOWN_VALUE_FIELD_NUMBER: _builtins.int
|
|
189
|
+
GAUGE_VALUE_FIELD_NUMBER: _builtins.int
|
|
190
|
+
COUNTER_VALUE_FIELD_NUMBER: _builtins.int
|
|
191
|
+
HISTOGRAM_VALUE_FIELD_NUMBER: _builtins.int
|
|
192
|
+
STATE_SET_VALUE_FIELD_NUMBER: _builtins.int
|
|
193
|
+
INFO_VALUE_FIELD_NUMBER: _builtins.int
|
|
194
|
+
SUMMARY_VALUE_FIELD_NUMBER: _builtins.int
|
|
195
|
+
TIMESTAMP_FIELD_NUMBER: _builtins.int
|
|
196
|
+
@_builtins.property
|
|
197
197
|
def unknown_value(self) -> Global___UnknownValue: ...
|
|
198
|
-
@property
|
|
198
|
+
@_builtins.property
|
|
199
199
|
def gauge_value(self) -> Global___GaugeValue: ...
|
|
200
|
-
@property
|
|
200
|
+
@_builtins.property
|
|
201
201
|
def counter_value(self) -> Global___CounterValue: ...
|
|
202
|
-
@property
|
|
202
|
+
@_builtins.property
|
|
203
203
|
def histogram_value(self) -> Global___HistogramValue: ...
|
|
204
|
-
@property
|
|
204
|
+
@_builtins.property
|
|
205
205
|
def state_set_value(self) -> Global___StateSetValue: ...
|
|
206
|
-
@property
|
|
206
|
+
@_builtins.property
|
|
207
207
|
def info_value(self) -> Global___InfoValue: ...
|
|
208
|
-
@property
|
|
208
|
+
@_builtins.property
|
|
209
209
|
def summary_value(self) -> Global___SummaryValue: ...
|
|
210
|
-
@property
|
|
211
|
-
def timestamp(self) ->
|
|
210
|
+
@_builtins.property
|
|
211
|
+
def timestamp(self) -> _timestamp_pb2.Timestamp:
|
|
212
212
|
"""Optional."""
|
|
213
213
|
|
|
214
214
|
def __init__(
|
|
@@ -221,200 +221,200 @@ class MetricPoint(google.protobuf.message.Message):
|
|
|
221
221
|
state_set_value: Global___StateSetValue | None = ...,
|
|
222
222
|
info_value: Global___InfoValue | None = ...,
|
|
223
223
|
summary_value: Global___SummaryValue | None = ...,
|
|
224
|
-
timestamp:
|
|
224
|
+
timestamp: _timestamp_pb2.Timestamp | None = ...,
|
|
225
225
|
) -> None: ...
|
|
226
|
-
_HasFieldArgType:
|
|
227
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
228
|
-
_ClearFieldArgType:
|
|
226
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["counter_value", b"counter_value", "gauge_value", b"gauge_value", "histogram_value", b"histogram_value", "info_value", b"info_value", "state_set_value", b"state_set_value", "summary_value", b"summary_value", "timestamp", b"timestamp", "unknown_value", b"unknown_value", "value", b"value"] # noqa: Y015
|
|
227
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
228
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["counter_value", b"counter_value", "gauge_value", b"gauge_value", "histogram_value", b"histogram_value", "info_value", b"info_value", "state_set_value", b"state_set_value", "summary_value", b"summary_value", "timestamp", b"timestamp", "unknown_value", b"unknown_value", "value", b"value"] # noqa: Y015
|
|
229
229
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
230
|
-
_WhichOneofReturnType_value:
|
|
231
|
-
_WhichOneofArgType_value:
|
|
230
|
+
_WhichOneofReturnType_value: _TypeAlias = _typing.Literal["unknown_value", "gauge_value", "counter_value", "histogram_value", "state_set_value", "info_value", "summary_value"] # noqa: Y015
|
|
231
|
+
_WhichOneofArgType_value: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015
|
|
232
232
|
def WhichOneof(self, oneof_group: _WhichOneofArgType_value) -> _WhichOneofReturnType_value | None: ...
|
|
233
233
|
|
|
234
|
-
Global___MetricPoint:
|
|
234
|
+
Global___MetricPoint: _TypeAlias = MetricPoint # noqa: Y015
|
|
235
235
|
|
|
236
|
-
@
|
|
237
|
-
class UnknownValue(
|
|
236
|
+
@_typing.final
|
|
237
|
+
class UnknownValue(_message.Message):
|
|
238
238
|
"""Value for UNKNOWN MetricPoint."""
|
|
239
239
|
|
|
240
|
-
DESCRIPTOR:
|
|
240
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
241
241
|
|
|
242
|
-
DOUBLE_VALUE_FIELD_NUMBER:
|
|
243
|
-
INT_VALUE_FIELD_NUMBER:
|
|
244
|
-
double_value:
|
|
245
|
-
int_value:
|
|
242
|
+
DOUBLE_VALUE_FIELD_NUMBER: _builtins.int
|
|
243
|
+
INT_VALUE_FIELD_NUMBER: _builtins.int
|
|
244
|
+
double_value: _builtins.float
|
|
245
|
+
int_value: _builtins.int
|
|
246
246
|
def __init__(
|
|
247
247
|
self,
|
|
248
248
|
*,
|
|
249
|
-
double_value:
|
|
250
|
-
int_value:
|
|
249
|
+
double_value: _builtins.float = ...,
|
|
250
|
+
int_value: _builtins.int = ...,
|
|
251
251
|
) -> None: ...
|
|
252
|
-
_HasFieldArgType:
|
|
253
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
254
|
-
_ClearFieldArgType:
|
|
252
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["double_value", b"double_value", "int_value", b"int_value", "value", b"value"] # noqa: Y015
|
|
253
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
254
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["double_value", b"double_value", "int_value", b"int_value", "value", b"value"] # noqa: Y015
|
|
255
255
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
256
|
-
_WhichOneofReturnType_value:
|
|
257
|
-
_WhichOneofArgType_value:
|
|
256
|
+
_WhichOneofReturnType_value: _TypeAlias = _typing.Literal["double_value", "int_value"] # noqa: Y015
|
|
257
|
+
_WhichOneofArgType_value: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015
|
|
258
258
|
def WhichOneof(self, oneof_group: _WhichOneofArgType_value) -> _WhichOneofReturnType_value | None: ...
|
|
259
259
|
|
|
260
|
-
Global___UnknownValue:
|
|
260
|
+
Global___UnknownValue: _TypeAlias = UnknownValue # noqa: Y015
|
|
261
261
|
|
|
262
|
-
@
|
|
263
|
-
class GaugeValue(
|
|
262
|
+
@_typing.final
|
|
263
|
+
class GaugeValue(_message.Message):
|
|
264
264
|
"""Value for GAUGE MetricPoint."""
|
|
265
265
|
|
|
266
|
-
DESCRIPTOR:
|
|
266
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
267
267
|
|
|
268
|
-
DOUBLE_VALUE_FIELD_NUMBER:
|
|
269
|
-
INT_VALUE_FIELD_NUMBER:
|
|
270
|
-
double_value:
|
|
271
|
-
int_value:
|
|
268
|
+
DOUBLE_VALUE_FIELD_NUMBER: _builtins.int
|
|
269
|
+
INT_VALUE_FIELD_NUMBER: _builtins.int
|
|
270
|
+
double_value: _builtins.float
|
|
271
|
+
int_value: _builtins.int
|
|
272
272
|
def __init__(
|
|
273
273
|
self,
|
|
274
274
|
*,
|
|
275
|
-
double_value:
|
|
276
|
-
int_value:
|
|
275
|
+
double_value: _builtins.float = ...,
|
|
276
|
+
int_value: _builtins.int = ...,
|
|
277
277
|
) -> None: ...
|
|
278
|
-
_HasFieldArgType:
|
|
279
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
280
|
-
_ClearFieldArgType:
|
|
278
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["double_value", b"double_value", "int_value", b"int_value", "value", b"value"] # noqa: Y015
|
|
279
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
280
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["double_value", b"double_value", "int_value", b"int_value", "value", b"value"] # noqa: Y015
|
|
281
281
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
282
|
-
_WhichOneofReturnType_value:
|
|
283
|
-
_WhichOneofArgType_value:
|
|
282
|
+
_WhichOneofReturnType_value: _TypeAlias = _typing.Literal["double_value", "int_value"] # noqa: Y015
|
|
283
|
+
_WhichOneofArgType_value: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015
|
|
284
284
|
def WhichOneof(self, oneof_group: _WhichOneofArgType_value) -> _WhichOneofReturnType_value | None: ...
|
|
285
285
|
|
|
286
|
-
Global___GaugeValue:
|
|
286
|
+
Global___GaugeValue: _TypeAlias = GaugeValue # noqa: Y015
|
|
287
287
|
|
|
288
|
-
@
|
|
289
|
-
class CounterValue(
|
|
288
|
+
@_typing.final
|
|
289
|
+
class CounterValue(_message.Message):
|
|
290
290
|
"""Value for COUNTER MetricPoint."""
|
|
291
291
|
|
|
292
|
-
DESCRIPTOR:
|
|
292
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
293
293
|
|
|
294
|
-
DOUBLE_VALUE_FIELD_NUMBER:
|
|
295
|
-
INT_VALUE_FIELD_NUMBER:
|
|
296
|
-
CREATED_FIELD_NUMBER:
|
|
297
|
-
EXEMPLAR_FIELD_NUMBER:
|
|
298
|
-
double_value:
|
|
299
|
-
int_value:
|
|
300
|
-
@property
|
|
301
|
-
def created(self) ->
|
|
294
|
+
DOUBLE_VALUE_FIELD_NUMBER: _builtins.int
|
|
295
|
+
INT_VALUE_FIELD_NUMBER: _builtins.int
|
|
296
|
+
CREATED_FIELD_NUMBER: _builtins.int
|
|
297
|
+
EXEMPLAR_FIELD_NUMBER: _builtins.int
|
|
298
|
+
double_value: _builtins.float
|
|
299
|
+
int_value: _builtins.int
|
|
300
|
+
@_builtins.property
|
|
301
|
+
def created(self) -> _timestamp_pb2.Timestamp:
|
|
302
302
|
"""The time values began being collected for this counter.
|
|
303
303
|
Optional.
|
|
304
304
|
"""
|
|
305
305
|
|
|
306
|
-
@property
|
|
306
|
+
@_builtins.property
|
|
307
307
|
def exemplar(self) -> Global___Exemplar:
|
|
308
308
|
"""Optional."""
|
|
309
309
|
|
|
310
310
|
def __init__(
|
|
311
311
|
self,
|
|
312
312
|
*,
|
|
313
|
-
double_value:
|
|
314
|
-
int_value:
|
|
315
|
-
created:
|
|
313
|
+
double_value: _builtins.float = ...,
|
|
314
|
+
int_value: _builtins.int = ...,
|
|
315
|
+
created: _timestamp_pb2.Timestamp | None = ...,
|
|
316
316
|
exemplar: Global___Exemplar | None = ...,
|
|
317
317
|
) -> None: ...
|
|
318
|
-
_HasFieldArgType:
|
|
319
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
320
|
-
_ClearFieldArgType:
|
|
318
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["created", b"created", "double_value", b"double_value", "exemplar", b"exemplar", "int_value", b"int_value", "total", b"total"] # noqa: Y015
|
|
319
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
320
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["created", b"created", "double_value", b"double_value", "exemplar", b"exemplar", "int_value", b"int_value", "total", b"total"] # noqa: Y015
|
|
321
321
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
322
|
-
_WhichOneofReturnType_total:
|
|
323
|
-
_WhichOneofArgType_total:
|
|
322
|
+
_WhichOneofReturnType_total: _TypeAlias = _typing.Literal["double_value", "int_value"] # noqa: Y015
|
|
323
|
+
_WhichOneofArgType_total: _TypeAlias = _typing.Literal["total", b"total"] # noqa: Y015
|
|
324
324
|
def WhichOneof(self, oneof_group: _WhichOneofArgType_total) -> _WhichOneofReturnType_total | None: ...
|
|
325
325
|
|
|
326
|
-
Global___CounterValue:
|
|
326
|
+
Global___CounterValue: _TypeAlias = CounterValue # noqa: Y015
|
|
327
327
|
|
|
328
|
-
@
|
|
329
|
-
class HistogramValue(
|
|
328
|
+
@_typing.final
|
|
329
|
+
class HistogramValue(_message.Message):
|
|
330
330
|
"""Value for HISTOGRAM or GAUGE_HISTOGRAM MetricPoint."""
|
|
331
331
|
|
|
332
|
-
DESCRIPTOR:
|
|
332
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
333
333
|
|
|
334
|
-
@
|
|
335
|
-
class Bucket(
|
|
334
|
+
@_typing.final
|
|
335
|
+
class Bucket(_message.Message):
|
|
336
336
|
"""Bucket is the number of values for a bucket in the histogram
|
|
337
337
|
with an optional exemplar.
|
|
338
338
|
"""
|
|
339
339
|
|
|
340
|
-
DESCRIPTOR:
|
|
340
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
341
341
|
|
|
342
|
-
COUNT_FIELD_NUMBER:
|
|
343
|
-
UPPER_BOUND_FIELD_NUMBER:
|
|
344
|
-
EXEMPLAR_FIELD_NUMBER:
|
|
345
|
-
count:
|
|
342
|
+
COUNT_FIELD_NUMBER: _builtins.int
|
|
343
|
+
UPPER_BOUND_FIELD_NUMBER: _builtins.int
|
|
344
|
+
EXEMPLAR_FIELD_NUMBER: _builtins.int
|
|
345
|
+
count: _builtins.int
|
|
346
346
|
"""Required."""
|
|
347
|
-
upper_bound:
|
|
347
|
+
upper_bound: _builtins.float
|
|
348
348
|
"""Optional."""
|
|
349
|
-
@property
|
|
349
|
+
@_builtins.property
|
|
350
350
|
def exemplar(self) -> Global___Exemplar:
|
|
351
351
|
"""Optional."""
|
|
352
352
|
|
|
353
353
|
def __init__(
|
|
354
354
|
self,
|
|
355
355
|
*,
|
|
356
|
-
count:
|
|
357
|
-
upper_bound:
|
|
356
|
+
count: _builtins.int = ...,
|
|
357
|
+
upper_bound: _builtins.float = ...,
|
|
358
358
|
exemplar: Global___Exemplar | None = ...,
|
|
359
359
|
) -> None: ...
|
|
360
|
-
_HasFieldArgType:
|
|
361
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
362
|
-
_ClearFieldArgType:
|
|
360
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["exemplar", b"exemplar"] # noqa: Y015
|
|
361
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
362
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["count", b"count", "exemplar", b"exemplar", "upper_bound", b"upper_bound"] # noqa: Y015
|
|
363
363
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
364
364
|
|
|
365
|
-
DOUBLE_VALUE_FIELD_NUMBER:
|
|
366
|
-
INT_VALUE_FIELD_NUMBER:
|
|
367
|
-
COUNT_FIELD_NUMBER:
|
|
368
|
-
CREATED_FIELD_NUMBER:
|
|
369
|
-
BUCKETS_FIELD_NUMBER:
|
|
370
|
-
double_value:
|
|
371
|
-
int_value:
|
|
372
|
-
count:
|
|
365
|
+
DOUBLE_VALUE_FIELD_NUMBER: _builtins.int
|
|
366
|
+
INT_VALUE_FIELD_NUMBER: _builtins.int
|
|
367
|
+
COUNT_FIELD_NUMBER: _builtins.int
|
|
368
|
+
CREATED_FIELD_NUMBER: _builtins.int
|
|
369
|
+
BUCKETS_FIELD_NUMBER: _builtins.int
|
|
370
|
+
double_value: _builtins.float
|
|
371
|
+
int_value: _builtins.int
|
|
372
|
+
count: _builtins.int
|
|
373
373
|
"""Optional."""
|
|
374
|
-
@property
|
|
375
|
-
def created(self) ->
|
|
374
|
+
@_builtins.property
|
|
375
|
+
def created(self) -> _timestamp_pb2.Timestamp:
|
|
376
376
|
"""The time values began being collected for this histogram.
|
|
377
377
|
Optional.
|
|
378
378
|
"""
|
|
379
379
|
|
|
380
|
-
@property
|
|
381
|
-
def buckets(self) ->
|
|
380
|
+
@_builtins.property
|
|
381
|
+
def buckets(self) -> _containers.RepeatedCompositeFieldContainer[Global___HistogramValue.Bucket]:
|
|
382
382
|
"""Optional."""
|
|
383
383
|
|
|
384
384
|
def __init__(
|
|
385
385
|
self,
|
|
386
386
|
*,
|
|
387
|
-
double_value:
|
|
388
|
-
int_value:
|
|
389
|
-
count:
|
|
390
|
-
created:
|
|
391
|
-
buckets:
|
|
387
|
+
double_value: _builtins.float = ...,
|
|
388
|
+
int_value: _builtins.int = ...,
|
|
389
|
+
count: _builtins.int = ...,
|
|
390
|
+
created: _timestamp_pb2.Timestamp | None = ...,
|
|
391
|
+
buckets: _abc.Iterable[Global___HistogramValue.Bucket] | None = ...,
|
|
392
392
|
) -> None: ...
|
|
393
|
-
_HasFieldArgType:
|
|
394
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
395
|
-
_ClearFieldArgType:
|
|
393
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["created", b"created", "double_value", b"double_value", "int_value", b"int_value", "sum", b"sum"] # noqa: Y015
|
|
394
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
395
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["buckets", b"buckets", "count", b"count", "created", b"created", "double_value", b"double_value", "int_value", b"int_value", "sum", b"sum"] # noqa: Y015
|
|
396
396
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
397
|
-
_WhichOneofReturnType_sum:
|
|
398
|
-
_WhichOneofArgType_sum:
|
|
397
|
+
_WhichOneofReturnType_sum: _TypeAlias = _typing.Literal["double_value", "int_value"] # noqa: Y015
|
|
398
|
+
_WhichOneofArgType_sum: _TypeAlias = _typing.Literal["sum", b"sum"] # noqa: Y015
|
|
399
399
|
def WhichOneof(self, oneof_group: _WhichOneofArgType_sum) -> _WhichOneofReturnType_sum | None: ...
|
|
400
400
|
|
|
401
|
-
Global___HistogramValue:
|
|
401
|
+
Global___HistogramValue: _TypeAlias = HistogramValue # noqa: Y015
|
|
402
402
|
|
|
403
|
-
@
|
|
404
|
-
class Exemplar(
|
|
405
|
-
DESCRIPTOR:
|
|
403
|
+
@_typing.final
|
|
404
|
+
class Exemplar(_message.Message):
|
|
405
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
406
406
|
|
|
407
|
-
VALUE_FIELD_NUMBER:
|
|
408
|
-
TIMESTAMP_FIELD_NUMBER:
|
|
409
|
-
LABEL_FIELD_NUMBER:
|
|
410
|
-
value:
|
|
407
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
408
|
+
TIMESTAMP_FIELD_NUMBER: _builtins.int
|
|
409
|
+
LABEL_FIELD_NUMBER: _builtins.int
|
|
410
|
+
value: _builtins.float
|
|
411
411
|
"""Required."""
|
|
412
|
-
@property
|
|
413
|
-
def timestamp(self) ->
|
|
412
|
+
@_builtins.property
|
|
413
|
+
def timestamp(self) -> _timestamp_pb2.Timestamp:
|
|
414
414
|
"""Optional."""
|
|
415
415
|
|
|
416
|
-
@property
|
|
417
|
-
def label(self) ->
|
|
416
|
+
@_builtins.property
|
|
417
|
+
def label(self) -> _containers.RepeatedCompositeFieldContainer[Global___Label]:
|
|
418
418
|
"""Labels are additional information about the exemplar value (e.g. trace id).
|
|
419
419
|
Optional.
|
|
420
420
|
"""
|
|
@@ -422,137 +422,137 @@ class Exemplar(google.protobuf.message.Message):
|
|
|
422
422
|
def __init__(
|
|
423
423
|
self,
|
|
424
424
|
*,
|
|
425
|
-
value:
|
|
426
|
-
timestamp:
|
|
427
|
-
label:
|
|
425
|
+
value: _builtins.float = ...,
|
|
426
|
+
timestamp: _timestamp_pb2.Timestamp | None = ...,
|
|
427
|
+
label: _abc.Iterable[Global___Label] | None = ...,
|
|
428
428
|
) -> None: ...
|
|
429
|
-
_HasFieldArgType:
|
|
430
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
431
|
-
_ClearFieldArgType:
|
|
429
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["timestamp", b"timestamp"] # noqa: Y015
|
|
430
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
431
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["label", b"label", "timestamp", b"timestamp", "value", b"value"] # noqa: Y015
|
|
432
432
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
433
433
|
|
|
434
|
-
Global___Exemplar:
|
|
434
|
+
Global___Exemplar: _TypeAlias = Exemplar # noqa: Y015
|
|
435
435
|
|
|
436
|
-
@
|
|
437
|
-
class StateSetValue(
|
|
436
|
+
@_typing.final
|
|
437
|
+
class StateSetValue(_message.Message):
|
|
438
438
|
"""Value for STATE_SET MetricPoint."""
|
|
439
439
|
|
|
440
|
-
DESCRIPTOR:
|
|
440
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
441
441
|
|
|
442
|
-
@
|
|
443
|
-
class State(
|
|
444
|
-
DESCRIPTOR:
|
|
442
|
+
@_typing.final
|
|
443
|
+
class State(_message.Message):
|
|
444
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
445
445
|
|
|
446
|
-
ENABLED_FIELD_NUMBER:
|
|
447
|
-
NAME_FIELD_NUMBER:
|
|
448
|
-
enabled:
|
|
446
|
+
ENABLED_FIELD_NUMBER: _builtins.int
|
|
447
|
+
NAME_FIELD_NUMBER: _builtins.int
|
|
448
|
+
enabled: _builtins.bool
|
|
449
449
|
"""Required."""
|
|
450
|
-
name:
|
|
450
|
+
name: _builtins.str
|
|
451
451
|
"""Required."""
|
|
452
452
|
def __init__(
|
|
453
453
|
self,
|
|
454
454
|
*,
|
|
455
|
-
enabled:
|
|
456
|
-
name:
|
|
455
|
+
enabled: _builtins.bool = ...,
|
|
456
|
+
name: _builtins.str = ...,
|
|
457
457
|
) -> None: ...
|
|
458
|
-
_ClearFieldArgType:
|
|
458
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["enabled", b"enabled", "name", b"name"] # noqa: Y015
|
|
459
459
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
460
460
|
|
|
461
|
-
STATES_FIELD_NUMBER:
|
|
462
|
-
@property
|
|
463
|
-
def states(self) ->
|
|
461
|
+
STATES_FIELD_NUMBER: _builtins.int
|
|
462
|
+
@_builtins.property
|
|
463
|
+
def states(self) -> _containers.RepeatedCompositeFieldContainer[Global___StateSetValue.State]:
|
|
464
464
|
"""Optional."""
|
|
465
465
|
|
|
466
466
|
def __init__(
|
|
467
467
|
self,
|
|
468
468
|
*,
|
|
469
|
-
states:
|
|
469
|
+
states: _abc.Iterable[Global___StateSetValue.State] | None = ...,
|
|
470
470
|
) -> None: ...
|
|
471
|
-
_ClearFieldArgType:
|
|
471
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["states", b"states"] # noqa: Y015
|
|
472
472
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
473
473
|
|
|
474
|
-
Global___StateSetValue:
|
|
474
|
+
Global___StateSetValue: _TypeAlias = StateSetValue # noqa: Y015
|
|
475
475
|
|
|
476
|
-
@
|
|
477
|
-
class InfoValue(
|
|
476
|
+
@_typing.final
|
|
477
|
+
class InfoValue(_message.Message):
|
|
478
478
|
"""Value for INFO MetricPoint."""
|
|
479
479
|
|
|
480
|
-
DESCRIPTOR:
|
|
480
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
481
481
|
|
|
482
|
-
INFO_FIELD_NUMBER:
|
|
483
|
-
@property
|
|
484
|
-
def info(self) ->
|
|
482
|
+
INFO_FIELD_NUMBER: _builtins.int
|
|
483
|
+
@_builtins.property
|
|
484
|
+
def info(self) -> _containers.RepeatedCompositeFieldContainer[Global___Label]:
|
|
485
485
|
"""Optional."""
|
|
486
486
|
|
|
487
487
|
def __init__(
|
|
488
488
|
self,
|
|
489
489
|
*,
|
|
490
|
-
info:
|
|
490
|
+
info: _abc.Iterable[Global___Label] | None = ...,
|
|
491
491
|
) -> None: ...
|
|
492
|
-
_ClearFieldArgType:
|
|
492
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["info", b"info"] # noqa: Y015
|
|
493
493
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
494
494
|
|
|
495
|
-
Global___InfoValue:
|
|
495
|
+
Global___InfoValue: _TypeAlias = InfoValue # noqa: Y015
|
|
496
496
|
|
|
497
|
-
@
|
|
498
|
-
class SummaryValue(
|
|
497
|
+
@_typing.final
|
|
498
|
+
class SummaryValue(_message.Message):
|
|
499
499
|
"""Value for SUMMARY MetricPoint."""
|
|
500
500
|
|
|
501
|
-
DESCRIPTOR:
|
|
501
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
502
502
|
|
|
503
|
-
@
|
|
504
|
-
class Quantile(
|
|
505
|
-
DESCRIPTOR:
|
|
503
|
+
@_typing.final
|
|
504
|
+
class Quantile(_message.Message):
|
|
505
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
506
506
|
|
|
507
|
-
QUANTILE_FIELD_NUMBER:
|
|
508
|
-
VALUE_FIELD_NUMBER:
|
|
509
|
-
quantile:
|
|
507
|
+
QUANTILE_FIELD_NUMBER: _builtins.int
|
|
508
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
509
|
+
quantile: _builtins.float
|
|
510
510
|
"""Required."""
|
|
511
|
-
value:
|
|
511
|
+
value: _builtins.float
|
|
512
512
|
"""Required."""
|
|
513
513
|
def __init__(
|
|
514
514
|
self,
|
|
515
515
|
*,
|
|
516
|
-
quantile:
|
|
517
|
-
value:
|
|
516
|
+
quantile: _builtins.float = ...,
|
|
517
|
+
value: _builtins.float = ...,
|
|
518
518
|
) -> None: ...
|
|
519
|
-
_ClearFieldArgType:
|
|
519
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["quantile", b"quantile", "value", b"value"] # noqa: Y015
|
|
520
520
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
521
521
|
|
|
522
|
-
DOUBLE_VALUE_FIELD_NUMBER:
|
|
523
|
-
INT_VALUE_FIELD_NUMBER:
|
|
524
|
-
COUNT_FIELD_NUMBER:
|
|
525
|
-
CREATED_FIELD_NUMBER:
|
|
526
|
-
QUANTILE_FIELD_NUMBER:
|
|
527
|
-
double_value:
|
|
528
|
-
int_value:
|
|
529
|
-
count:
|
|
522
|
+
DOUBLE_VALUE_FIELD_NUMBER: _builtins.int
|
|
523
|
+
INT_VALUE_FIELD_NUMBER: _builtins.int
|
|
524
|
+
COUNT_FIELD_NUMBER: _builtins.int
|
|
525
|
+
CREATED_FIELD_NUMBER: _builtins.int
|
|
526
|
+
QUANTILE_FIELD_NUMBER: _builtins.int
|
|
527
|
+
double_value: _builtins.float
|
|
528
|
+
int_value: _builtins.int
|
|
529
|
+
count: _builtins.int
|
|
530
530
|
"""Optional."""
|
|
531
|
-
@property
|
|
532
|
-
def created(self) ->
|
|
531
|
+
@_builtins.property
|
|
532
|
+
def created(self) -> _timestamp_pb2.Timestamp:
|
|
533
533
|
"""The time sum and count values began being collected for this summary.
|
|
534
534
|
Optional.
|
|
535
535
|
"""
|
|
536
536
|
|
|
537
|
-
@property
|
|
538
|
-
def quantile(self) ->
|
|
537
|
+
@_builtins.property
|
|
538
|
+
def quantile(self) -> _containers.RepeatedCompositeFieldContainer[Global___SummaryValue.Quantile]:
|
|
539
539
|
"""Optional."""
|
|
540
540
|
|
|
541
541
|
def __init__(
|
|
542
542
|
self,
|
|
543
543
|
*,
|
|
544
|
-
double_value:
|
|
545
|
-
int_value:
|
|
546
|
-
count:
|
|
547
|
-
created:
|
|
548
|
-
quantile:
|
|
544
|
+
double_value: _builtins.float = ...,
|
|
545
|
+
int_value: _builtins.int = ...,
|
|
546
|
+
count: _builtins.int = ...,
|
|
547
|
+
created: _timestamp_pb2.Timestamp | None = ...,
|
|
548
|
+
quantile: _abc.Iterable[Global___SummaryValue.Quantile] | None = ...,
|
|
549
549
|
) -> None: ...
|
|
550
|
-
_HasFieldArgType:
|
|
551
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
552
|
-
_ClearFieldArgType:
|
|
550
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["created", b"created", "double_value", b"double_value", "int_value", b"int_value", "sum", b"sum"] # noqa: Y015
|
|
551
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
552
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["count", b"count", "created", b"created", "double_value", b"double_value", "int_value", b"int_value", "quantile", b"quantile", "sum", b"sum"] # noqa: Y015
|
|
553
553
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
554
|
-
_WhichOneofReturnType_sum:
|
|
555
|
-
_WhichOneofArgType_sum:
|
|
554
|
+
_WhichOneofReturnType_sum: _TypeAlias = _typing.Literal["double_value", "int_value"] # noqa: Y015
|
|
555
|
+
_WhichOneofArgType_sum: _TypeAlias = _typing.Literal["sum", b"sum"] # noqa: Y015
|
|
556
556
|
def WhichOneof(self, oneof_group: _WhichOneofArgType_sum) -> _WhichOneofReturnType_sum | None: ...
|
|
557
557
|
|
|
558
|
-
Global___SummaryValue:
|
|
558
|
+
Global___SummaryValue: _TypeAlias = SummaryValue # noqa: Y015
|