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.
Files changed (119) hide show
  1. streamlit/__init__.py +1 -1
  2. streamlit/auth_util.py +1 -1
  3. streamlit/cli_util.py +1 -1
  4. streamlit/components/v2/bidi_component/main.py +2 -2
  5. streamlit/connections/snowflake_connection.py +1 -1
  6. streamlit/dataframe_util.py +1 -3
  7. streamlit/elements/arrow.py +5 -1
  8. streamlit/elements/lib/color_util.py +1 -1
  9. streamlit/elements/lib/image_utils.py +1 -1
  10. streamlit/elements/vega_charts.py +4 -1
  11. streamlit/elements/widgets/multiselect.py +1 -1
  12. streamlit/elements/widgets/time_widgets.py +1 -1
  13. streamlit/elements/write.py +1 -2
  14. streamlit/errors.py +2 -0
  15. streamlit/external/langchain/streamlit_callback_handler.py +1 -1
  16. streamlit/proto/Alert_pb2.pyi +31 -31
  17. streamlit/proto/AppPage_pb2.pyi +30 -30
  18. streamlit/proto/ArrowData_pb2.pyi +15 -15
  19. streamlit/proto/ArrowNamedDataSet_pb2.pyi +25 -25
  20. streamlit/proto/ArrowVegaLiteChart_pb2.pyi +45 -45
  21. streamlit/proto/Arrow_pb2.pyi +126 -97
  22. streamlit/proto/AudioInput_pb2.pyi +39 -39
  23. streamlit/proto/Audio_pb2.pyi +39 -39
  24. streamlit/proto/AuthRedirect_pb2.pyi +15 -15
  25. streamlit/proto/AutoRerun_pb2.pyi +18 -18
  26. streamlit/proto/BackMsg_pb2.pyi +64 -64
  27. streamlit/proto/Balloons_pb2.pyi +15 -15
  28. streamlit/proto/BidiComponent_pb2.pyi +100 -100
  29. streamlit/proto/Block_pb2.pyi +295 -264
  30. streamlit/proto/BokehChart_pb2.pyi +21 -21
  31. streamlit/proto/ButtonGroup_pb2.pyi +96 -96
  32. streamlit/proto/ButtonLikeIconPosition_pb2.pyi +12 -12
  33. streamlit/proto/Button_pb2.pyi +63 -50
  34. streamlit/proto/CameraInput_pb2.pyi +34 -34
  35. streamlit/proto/ChatInput_pb2.pyi +63 -63
  36. streamlit/proto/Checkbox_pb2.pyi +49 -49
  37. streamlit/proto/ClientState_pb2.pyi +85 -85
  38. streamlit/proto/Code_pb2.pyi +41 -28
  39. streamlit/proto/ColorPicker_pb2.pyi +43 -43
  40. streamlit/proto/Common_pb2.pyi +175 -175
  41. streamlit/proto/Components_pb2.pyi +110 -110
  42. streamlit/proto/DataFrame_pb2.pyi +209 -209
  43. streamlit/proto/DateInput_pb2.pyi +59 -59
  44. streamlit/proto/DateTimeInput_pb2.pyi +62 -62
  45. streamlit/proto/DeckGlJsonChart_pb2.pyi +91 -56
  46. streamlit/proto/Delta_pb2.pyi +44 -44
  47. streamlit/proto/DocString_pb2.pyi +51 -51
  48. streamlit/proto/DownloadButton_pb2.pyi +59 -59
  49. streamlit/proto/Element_pb2.pyi +319 -319
  50. streamlit/proto/Empty_pb2.pyi +10 -10
  51. streamlit/proto/Exception_pb2.pyi +37 -37
  52. streamlit/proto/Favicon_pb2.pyi +15 -15
  53. streamlit/proto/FileUploader_pb2.pyi +49 -49
  54. streamlit/proto/ForwardMsg_pb2.pyi +176 -170
  55. streamlit/proto/GapSize_pb2.pyi +23 -23
  56. streamlit/proto/GitInfo_pb2.pyi +37 -37
  57. streamlit/proto/GraphVizChart_pb2.pyi +38 -25
  58. streamlit/proto/Heading_pb2.pyi +30 -30
  59. streamlit/proto/HeightConfig_pb2.pyi +31 -31
  60. streamlit/proto/Html_pb2.pyi +18 -18
  61. streamlit/proto/IFrame_pb2.pyi +76 -47
  62. streamlit/proto/Image_pb2.pyi +49 -36
  63. streamlit/proto/Json_pb2.pyi +25 -25
  64. streamlit/proto/LabelVisibilityMessage_pb2.pyi +18 -18
  65. streamlit/proto/LinkButton_pb2.pyi +43 -43
  66. streamlit/proto/Logo_pb2.pyi +24 -24
  67. streamlit/proto/Markdown_pb2.pyi +30 -30
  68. streamlit/proto/Metric_pb2.pyi +59 -59
  69. streamlit/proto/MetricsEvent_pb2.pyi +171 -171
  70. streamlit/proto/MultiSelect_pb2.pyi +72 -66
  71. streamlit/proto/NamedDataSet_pb2.pyi +25 -25
  72. streamlit/proto/Navigation_pb2.pyi +35 -35
  73. streamlit/proto/NewSession_pb2.pyi +511 -498
  74. streamlit/proto/NumberInput_pb2.pyi +79 -79
  75. streamlit/proto/PageConfig_pb2.pyi +71 -71
  76. streamlit/proto/PageInfo_pb2.pyi +15 -15
  77. streamlit/proto/PageLink_pb2.pyi +47 -47
  78. streamlit/proto/PageNotFound_pb2.pyi +15 -15
  79. streamlit/proto/PageProfile_pb2.pyi +85 -85
  80. streamlit/proto/PagesChanged_pb2.pyi +19 -19
  81. streamlit/proto/ParentMessage_pb2.pyi +15 -15
  82. streamlit/proto/PlotlyChart_pb2.pyi +79 -64
  83. streamlit/proto/Progress_pb2.pyi +18 -18
  84. streamlit/proto/Radio_pb2.pyi +62 -62
  85. streamlit/proto/RootContainer_pb2.pyi +12 -12
  86. streamlit/proto/Selectbox_pb2.pyi +80 -70
  87. streamlit/proto/SessionEvent_pb2.pyi +27 -27
  88. streamlit/proto/SessionStatus_pb2.pyi +18 -18
  89. streamlit/proto/Skeleton_pb2.pyi +25 -25
  90. streamlit/proto/Slider_pb2.pyi +74 -74
  91. streamlit/proto/Snow_pb2.pyi +15 -15
  92. streamlit/proto/Space_pb2.pyi +10 -10
  93. streamlit/proto/Spinner_pb2.pyi +21 -21
  94. streamlit/proto/TextAlignmentConfig_pb2.pyi +18 -18
  95. streamlit/proto/TextArea_pb2.pyi +72 -59
  96. streamlit/proto/TextInput_pb2.pyi +67 -67
  97. streamlit/proto/Text_pb2.pyi +18 -18
  98. streamlit/proto/TimeInput_pb2.pyi +52 -52
  99. streamlit/proto/Toast_pb2.pyi +25 -25
  100. streamlit/proto/Transient_pb2.pyi +19 -19
  101. streamlit/proto/VegaLiteChart_pb2.pyi +32 -32
  102. streamlit/proto/Video_pb2.pyi +65 -65
  103. streamlit/proto/WidgetStates_pb2.pyi +91 -85
  104. streamlit/proto/WidthConfig_pb2.pyi +31 -31
  105. streamlit/proto/openmetrics_data_model_pb2.pyi +269 -269
  106. streamlit/runtime/app_session.py +1 -1
  107. streamlit/runtime/credentials.py +2 -2
  108. streamlit/runtime/metrics_util.py +3 -3
  109. streamlit/runtime/secrets.py +1 -1
  110. streamlit/runtime/stats.py +1 -3
  111. streamlit/testing/v1/app_test.py +1 -1
  112. streamlit/web/server/starlette/starlette_routes.py +1 -3
  113. streamlit/web/server/stats_request_handler.py +1 -3
  114. {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.52.3.dev20260113.dist-info}/METADATA +1 -1
  115. {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.52.3.dev20260113.dist-info}/RECORD +119 -119
  116. {streamlit_nightly-1.52.3.dev20260112.data → streamlit_nightly-1.52.3.dev20260113.data}/scripts/streamlit.cmd +0 -0
  117. {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.52.3.dev20260113.dist-info}/WHEEL +0 -0
  118. {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.52.3.dev20260113.dist-info}/entry_points.txt +0 -0
  119. {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 builtins
10
- import collections.abc
11
- import google.protobuf.descriptor
12
- import google.protobuf.internal.containers
13
- import google.protobuf.internal.enum_type_wrapper
14
- import google.protobuf.message
15
- import google.protobuf.timestamp_pb2
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
- import typing as typing_extensions
20
+ from typing import TypeAlias as _TypeAlias
21
21
  else:
22
- import typing_extensions
22
+ from typing_extensions import TypeAlias as _TypeAlias
23
23
 
24
- DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
24
+ DESCRIPTOR: _descriptor.FileDescriptor
25
25
 
26
26
  class _MetricType:
27
- ValueType = typing.NewType("ValueType", builtins.int)
28
- V: typing_extensions.TypeAlias = ValueType
27
+ ValueType = _typing.NewType("ValueType", _builtins.int)
28
+ V: _TypeAlias = ValueType # noqa: Y015
29
29
 
30
- class _MetricTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_MetricType.ValueType], builtins.type):
31
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
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: typing_extensions.TypeAlias = MetricType
68
+ Global___MetricType: _TypeAlias = MetricType # noqa: Y015
69
69
 
70
- @typing.final
71
- class MetricSet(google.protobuf.message.Message):
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: google.protobuf.descriptor.Descriptor
74
+ DESCRIPTOR: _descriptor.Descriptor
75
75
 
76
- METRIC_FAMILIES_FIELD_NUMBER: builtins.int
77
- @property
78
- def metric_families(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___MetricFamily]:
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: collections.abc.Iterable[Global___MetricFamily] | None = ...,
84
+ metric_families: _abc.Iterable[Global___MetricFamily] | None = ...,
85
85
  ) -> None: ...
86
- _ClearFieldArgType: typing_extensions.TypeAlias = typing.Literal["metric_families", b"metric_families"]
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: typing_extensions.TypeAlias = MetricSet
89
+ Global___MetricSet: _TypeAlias = MetricSet # noqa: Y015
90
90
 
91
- @typing.final
92
- class MetricFamily(google.protobuf.message.Message):
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: google.protobuf.descriptor.Descriptor
97
+ DESCRIPTOR: _descriptor.Descriptor
98
98
 
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
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: builtins.str
108
+ unit: _builtins.str
109
109
  """Optional."""
110
- help: builtins.str
110
+ help: _builtins.str
111
111
  """Optional."""
112
- @property
113
- def metrics(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___Metric]:
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: builtins.str = ...,
119
+ name: _builtins.str = ...,
120
120
  type: Global___MetricType.ValueType = ...,
121
- unit: builtins.str = ...,
122
- help: builtins.str = ...,
123
- metrics: collections.abc.Iterable[Global___Metric] | None = ...,
121
+ unit: _builtins.str = ...,
122
+ help: _builtins.str = ...,
123
+ metrics: _abc.Iterable[Global___Metric] | None = ...,
124
124
  ) -> None: ...
125
- _ClearFieldArgType: typing_extensions.TypeAlias = typing.Literal["help", b"help", "metrics", b"metrics", "name", b"name", "type", b"type", "unit", b"unit"]
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: typing_extensions.TypeAlias = MetricFamily
128
+ Global___MetricFamily: _TypeAlias = MetricFamily # noqa: Y015
129
129
 
130
- @typing.final
131
- class Metric(google.protobuf.message.Message):
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: google.protobuf.descriptor.Descriptor
134
+ DESCRIPTOR: _descriptor.Descriptor
135
135
 
136
- LABELS_FIELD_NUMBER: builtins.int
137
- METRIC_POINTS_FIELD_NUMBER: builtins.int
138
- @property
139
- def labels(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___Label]:
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) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___MetricPoint]:
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: collections.abc.Iterable[Global___Label] | None = ...,
150
- metric_points: collections.abc.Iterable[Global___MetricPoint] | None = ...,
149
+ labels: _abc.Iterable[Global___Label] | None = ...,
150
+ metric_points: _abc.Iterable[Global___MetricPoint] | None = ...,
151
151
  ) -> None: ...
152
- _ClearFieldArgType: typing_extensions.TypeAlias = typing.Literal["labels", b"labels", "metric_points", b"metric_points"]
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: typing_extensions.TypeAlias = Metric
155
+ Global___Metric: _TypeAlias = Metric # noqa: Y015
156
156
 
157
- @typing.final
158
- class Label(google.protobuf.message.Message):
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: google.protobuf.descriptor.Descriptor
163
+ DESCRIPTOR: _descriptor.Descriptor
164
164
 
165
- NAME_FIELD_NUMBER: builtins.int
166
- VALUE_FIELD_NUMBER: builtins.int
167
- name: builtins.str
165
+ NAME_FIELD_NUMBER: _builtins.int
166
+ VALUE_FIELD_NUMBER: _builtins.int
167
+ name: _builtins.str
168
168
  """Required."""
169
- value: builtins.str
169
+ value: _builtins.str
170
170
  """Required."""
171
171
  def __init__(
172
172
  self,
173
173
  *,
174
- name: builtins.str = ...,
175
- value: builtins.str = ...,
174
+ name: _builtins.str = ...,
175
+ value: _builtins.str = ...,
176
176
  ) -> None: ...
177
- _ClearFieldArgType: typing_extensions.TypeAlias = typing.Literal["name", b"name", "value", b"value"]
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: typing_extensions.TypeAlias = Label
180
+ Global___Label: _TypeAlias = Label # noqa: Y015
181
181
 
182
- @typing.final
183
- class MetricPoint(google.protobuf.message.Message):
182
+ @_typing.final
183
+ class MetricPoint(_message.Message):
184
184
  """A MetricPoint in a Metric."""
185
185
 
186
- DESCRIPTOR: google.protobuf.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
- @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) -> google.protobuf.timestamp_pb2.Timestamp:
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: google.protobuf.timestamp_pb2.Timestamp | None = ...,
224
+ timestamp: _timestamp_pb2.Timestamp | None = ...,
225
225
  ) -> None: ...
226
- _HasFieldArgType: typing_extensions.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"]
227
- def HasField(self, field_name: _HasFieldArgType) -> builtins.bool: ...
228
- _ClearFieldArgType: typing_extensions.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"]
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: typing_extensions.TypeAlias = typing.Literal["unknown_value", "gauge_value", "counter_value", "histogram_value", "state_set_value", "info_value", "summary_value"]
231
- _WhichOneofArgType_value: typing_extensions.TypeAlias = typing.Literal["value", b"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: typing_extensions.TypeAlias = MetricPoint
234
+ Global___MetricPoint: _TypeAlias = MetricPoint # noqa: Y015
235
235
 
236
- @typing.final
237
- class UnknownValue(google.protobuf.message.Message):
236
+ @_typing.final
237
+ class UnknownValue(_message.Message):
238
238
  """Value for UNKNOWN MetricPoint."""
239
239
 
240
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
240
+ DESCRIPTOR: _descriptor.Descriptor
241
241
 
242
- DOUBLE_VALUE_FIELD_NUMBER: builtins.int
243
- INT_VALUE_FIELD_NUMBER: builtins.int
244
- double_value: builtins.float
245
- int_value: builtins.int
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: builtins.float = ...,
250
- int_value: builtins.int = ...,
249
+ double_value: _builtins.float = ...,
250
+ int_value: _builtins.int = ...,
251
251
  ) -> None: ...
252
- _HasFieldArgType: typing_extensions.TypeAlias = typing.Literal["double_value", b"double_value", "int_value", b"int_value", "value", b"value"]
253
- def HasField(self, field_name: _HasFieldArgType) -> builtins.bool: ...
254
- _ClearFieldArgType: typing_extensions.TypeAlias = typing.Literal["double_value", b"double_value", "int_value", b"int_value", "value", b"value"]
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: typing_extensions.TypeAlias = typing.Literal["double_value", "int_value"]
257
- _WhichOneofArgType_value: typing_extensions.TypeAlias = typing.Literal["value", b"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: typing_extensions.TypeAlias = UnknownValue
260
+ Global___UnknownValue: _TypeAlias = UnknownValue # noqa: Y015
261
261
 
262
- @typing.final
263
- class GaugeValue(google.protobuf.message.Message):
262
+ @_typing.final
263
+ class GaugeValue(_message.Message):
264
264
  """Value for GAUGE MetricPoint."""
265
265
 
266
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
266
+ DESCRIPTOR: _descriptor.Descriptor
267
267
 
268
- DOUBLE_VALUE_FIELD_NUMBER: builtins.int
269
- INT_VALUE_FIELD_NUMBER: builtins.int
270
- double_value: builtins.float
271
- int_value: builtins.int
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: builtins.float = ...,
276
- int_value: builtins.int = ...,
275
+ double_value: _builtins.float = ...,
276
+ int_value: _builtins.int = ...,
277
277
  ) -> None: ...
278
- _HasFieldArgType: typing_extensions.TypeAlias = typing.Literal["double_value", b"double_value", "int_value", b"int_value", "value", b"value"]
279
- def HasField(self, field_name: _HasFieldArgType) -> builtins.bool: ...
280
- _ClearFieldArgType: typing_extensions.TypeAlias = typing.Literal["double_value", b"double_value", "int_value", b"int_value", "value", b"value"]
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: typing_extensions.TypeAlias = typing.Literal["double_value", "int_value"]
283
- _WhichOneofArgType_value: typing_extensions.TypeAlias = typing.Literal["value", b"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: typing_extensions.TypeAlias = GaugeValue
286
+ Global___GaugeValue: _TypeAlias = GaugeValue # noqa: Y015
287
287
 
288
- @typing.final
289
- class CounterValue(google.protobuf.message.Message):
288
+ @_typing.final
289
+ class CounterValue(_message.Message):
290
290
  """Value for COUNTER MetricPoint."""
291
291
 
292
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
292
+ DESCRIPTOR: _descriptor.Descriptor
293
293
 
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
- @property
301
- def created(self) -> google.protobuf.timestamp_pb2.Timestamp:
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: builtins.float = ...,
314
- int_value: builtins.int = ...,
315
- created: google.protobuf.timestamp_pb2.Timestamp | None = ...,
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: typing_extensions.TypeAlias = typing.Literal["created", b"created", "double_value", b"double_value", "exemplar", b"exemplar", "int_value", b"int_value", "total", b"total"]
319
- def HasField(self, field_name: _HasFieldArgType) -> builtins.bool: ...
320
- _ClearFieldArgType: typing_extensions.TypeAlias = typing.Literal["created", b"created", "double_value", b"double_value", "exemplar", b"exemplar", "int_value", b"int_value", "total", b"total"]
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: typing_extensions.TypeAlias = typing.Literal["double_value", "int_value"]
323
- _WhichOneofArgType_total: typing_extensions.TypeAlias = typing.Literal["total", b"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: typing_extensions.TypeAlias = CounterValue
326
+ Global___CounterValue: _TypeAlias = CounterValue # noqa: Y015
327
327
 
328
- @typing.final
329
- class HistogramValue(google.protobuf.message.Message):
328
+ @_typing.final
329
+ class HistogramValue(_message.Message):
330
330
  """Value for HISTOGRAM or GAUGE_HISTOGRAM MetricPoint."""
331
331
 
332
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
332
+ DESCRIPTOR: _descriptor.Descriptor
333
333
 
334
- @typing.final
335
- class Bucket(google.protobuf.message.Message):
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: google.protobuf.descriptor.Descriptor
340
+ DESCRIPTOR: _descriptor.Descriptor
341
341
 
342
- COUNT_FIELD_NUMBER: builtins.int
343
- UPPER_BOUND_FIELD_NUMBER: builtins.int
344
- EXEMPLAR_FIELD_NUMBER: builtins.int
345
- count: builtins.int
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: builtins.float
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: builtins.int = ...,
357
- upper_bound: builtins.float = ...,
356
+ count: _builtins.int = ...,
357
+ upper_bound: _builtins.float = ...,
358
358
  exemplar: Global___Exemplar | None = ...,
359
359
  ) -> None: ...
360
- _HasFieldArgType: typing_extensions.TypeAlias = typing.Literal["exemplar", b"exemplar"]
361
- def HasField(self, field_name: _HasFieldArgType) -> builtins.bool: ...
362
- _ClearFieldArgType: typing_extensions.TypeAlias = typing.Literal["count", b"count", "exemplar", b"exemplar", "upper_bound", b"upper_bound"]
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: 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
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) -> google.protobuf.timestamp_pb2.Timestamp:
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) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___HistogramValue.Bucket]:
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: builtins.float = ...,
388
- int_value: builtins.int = ...,
389
- count: builtins.int = ...,
390
- created: google.protobuf.timestamp_pb2.Timestamp | None = ...,
391
- buckets: collections.abc.Iterable[Global___HistogramValue.Bucket] | None = ...,
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: typing_extensions.TypeAlias = typing.Literal["created", b"created", "double_value", b"double_value", "int_value", b"int_value", "sum", b"sum"]
394
- def HasField(self, field_name: _HasFieldArgType) -> builtins.bool: ...
395
- _ClearFieldArgType: typing_extensions.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"]
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: typing_extensions.TypeAlias = typing.Literal["double_value", "int_value"]
398
- _WhichOneofArgType_sum: typing_extensions.TypeAlias = typing.Literal["sum", b"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: typing_extensions.TypeAlias = HistogramValue
401
+ Global___HistogramValue: _TypeAlias = HistogramValue # noqa: Y015
402
402
 
403
- @typing.final
404
- class Exemplar(google.protobuf.message.Message):
405
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
403
+ @_typing.final
404
+ class Exemplar(_message.Message):
405
+ DESCRIPTOR: _descriptor.Descriptor
406
406
 
407
- VALUE_FIELD_NUMBER: builtins.int
408
- TIMESTAMP_FIELD_NUMBER: builtins.int
409
- LABEL_FIELD_NUMBER: builtins.int
410
- value: builtins.float
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) -> google.protobuf.timestamp_pb2.Timestamp:
412
+ @_builtins.property
413
+ def timestamp(self) -> _timestamp_pb2.Timestamp:
414
414
  """Optional."""
415
415
 
416
- @property
417
- def label(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___Label]:
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: builtins.float = ...,
426
- timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ...,
427
- label: collections.abc.Iterable[Global___Label] | None = ...,
425
+ value: _builtins.float = ...,
426
+ timestamp: _timestamp_pb2.Timestamp | None = ...,
427
+ label: _abc.Iterable[Global___Label] | None = ...,
428
428
  ) -> None: ...
429
- _HasFieldArgType: typing_extensions.TypeAlias = typing.Literal["timestamp", b"timestamp"]
430
- def HasField(self, field_name: _HasFieldArgType) -> builtins.bool: ...
431
- _ClearFieldArgType: typing_extensions.TypeAlias = typing.Literal["label", b"label", "timestamp", b"timestamp", "value", b"value"]
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: typing_extensions.TypeAlias = Exemplar
434
+ Global___Exemplar: _TypeAlias = Exemplar # noqa: Y015
435
435
 
436
- @typing.final
437
- class StateSetValue(google.protobuf.message.Message):
436
+ @_typing.final
437
+ class StateSetValue(_message.Message):
438
438
  """Value for STATE_SET MetricPoint."""
439
439
 
440
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
440
+ DESCRIPTOR: _descriptor.Descriptor
441
441
 
442
- @typing.final
443
- class State(google.protobuf.message.Message):
444
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
442
+ @_typing.final
443
+ class State(_message.Message):
444
+ DESCRIPTOR: _descriptor.Descriptor
445
445
 
446
- ENABLED_FIELD_NUMBER: builtins.int
447
- NAME_FIELD_NUMBER: builtins.int
448
- enabled: builtins.bool
446
+ ENABLED_FIELD_NUMBER: _builtins.int
447
+ NAME_FIELD_NUMBER: _builtins.int
448
+ enabled: _builtins.bool
449
449
  """Required."""
450
- name: builtins.str
450
+ name: _builtins.str
451
451
  """Required."""
452
452
  def __init__(
453
453
  self,
454
454
  *,
455
- enabled: builtins.bool = ...,
456
- name: builtins.str = ...,
455
+ enabled: _builtins.bool = ...,
456
+ name: _builtins.str = ...,
457
457
  ) -> None: ...
458
- _ClearFieldArgType: typing_extensions.TypeAlias = typing.Literal["enabled", b"enabled", "name", b"name"]
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: builtins.int
462
- @property
463
- def states(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___StateSetValue.State]:
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: collections.abc.Iterable[Global___StateSetValue.State] | None = ...,
469
+ states: _abc.Iterable[Global___StateSetValue.State] | None = ...,
470
470
  ) -> None: ...
471
- _ClearFieldArgType: typing_extensions.TypeAlias = typing.Literal["states", b"states"]
471
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["states", b"states"] # noqa: Y015
472
472
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
473
473
 
474
- Global___StateSetValue: typing_extensions.TypeAlias = StateSetValue
474
+ Global___StateSetValue: _TypeAlias = StateSetValue # noqa: Y015
475
475
 
476
- @typing.final
477
- class InfoValue(google.protobuf.message.Message):
476
+ @_typing.final
477
+ class InfoValue(_message.Message):
478
478
  """Value for INFO MetricPoint."""
479
479
 
480
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
480
+ DESCRIPTOR: _descriptor.Descriptor
481
481
 
482
- INFO_FIELD_NUMBER: builtins.int
483
- @property
484
- def info(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___Label]:
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: collections.abc.Iterable[Global___Label] | None = ...,
490
+ info: _abc.Iterable[Global___Label] | None = ...,
491
491
  ) -> None: ...
492
- _ClearFieldArgType: typing_extensions.TypeAlias = typing.Literal["info", b"info"]
492
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["info", b"info"] # noqa: Y015
493
493
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
494
494
 
495
- Global___InfoValue: typing_extensions.TypeAlias = InfoValue
495
+ Global___InfoValue: _TypeAlias = InfoValue # noqa: Y015
496
496
 
497
- @typing.final
498
- class SummaryValue(google.protobuf.message.Message):
497
+ @_typing.final
498
+ class SummaryValue(_message.Message):
499
499
  """Value for SUMMARY MetricPoint."""
500
500
 
501
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
501
+ DESCRIPTOR: _descriptor.Descriptor
502
502
 
503
- @typing.final
504
- class Quantile(google.protobuf.message.Message):
505
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
503
+ @_typing.final
504
+ class Quantile(_message.Message):
505
+ DESCRIPTOR: _descriptor.Descriptor
506
506
 
507
- QUANTILE_FIELD_NUMBER: builtins.int
508
- VALUE_FIELD_NUMBER: builtins.int
509
- quantile: builtins.float
507
+ QUANTILE_FIELD_NUMBER: _builtins.int
508
+ VALUE_FIELD_NUMBER: _builtins.int
509
+ quantile: _builtins.float
510
510
  """Required."""
511
- value: builtins.float
511
+ value: _builtins.float
512
512
  """Required."""
513
513
  def __init__(
514
514
  self,
515
515
  *,
516
- quantile: builtins.float = ...,
517
- value: builtins.float = ...,
516
+ quantile: _builtins.float = ...,
517
+ value: _builtins.float = ...,
518
518
  ) -> None: ...
519
- _ClearFieldArgType: typing_extensions.TypeAlias = typing.Literal["quantile", b"quantile", "value", b"value"]
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: 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
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) -> google.protobuf.timestamp_pb2.Timestamp:
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) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___SummaryValue.Quantile]:
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: builtins.float = ...,
545
- int_value: builtins.int = ...,
546
- count: builtins.int = ...,
547
- created: google.protobuf.timestamp_pb2.Timestamp | None = ...,
548
- quantile: collections.abc.Iterable[Global___SummaryValue.Quantile] | None = ...,
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: typing_extensions.TypeAlias = typing.Literal["created", b"created", "double_value", b"double_value", "int_value", b"int_value", "sum", b"sum"]
551
- def HasField(self, field_name: _HasFieldArgType) -> builtins.bool: ...
552
- _ClearFieldArgType: typing_extensions.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"]
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: typing_extensions.TypeAlias = typing.Literal["double_value", "int_value"]
555
- _WhichOneofArgType_sum: typing_extensions.TypeAlias = typing.Literal["sum", b"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: typing_extensions.TypeAlias = SummaryValue
558
+ Global___SummaryValue: _TypeAlias = SummaryValue # noqa: Y015