blob: 663ef75701873cbbff51380a6f255162a1938c43 [file] [log] [blame]
uwe ottrembka66d91ea2020-08-11 10:50:55 +02001# -*- coding: utf-8 -*-
2# Generated by the protocol buffer compiler. DO NOT EDIT!
3# source: dmi/hw_metrics_mgmt_service.proto
Andrea Campanellacb990bc2020-09-22 12:50:56 +02004"""Generated protocol buffer code."""
uwe ottrembka66d91ea2020-08-11 10:50:55 +02005from google.protobuf.internal import enum_type_wrapper
6from google.protobuf import descriptor as _descriptor
7from google.protobuf import message as _message
8from google.protobuf import reflection as _reflection
9from google.protobuf import symbol_database as _symbol_database
10# @@protoc_insertion_point(imports)
11
12_sym_db = _symbol_database.Default()
13
14
15from dmi import commons_pb2 as dmi_dot_commons__pb2
16from dmi import hw_pb2 as dmi_dot_hw__pb2
17
18
19DESCRIPTOR = _descriptor.FileDescriptor(
20 name='dmi/hw_metrics_mgmt_service.proto',
21 package='dmi',
22 syntax='proto3',
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020023 serialized_options=b'Z9github.com/opencord/device-management-interface/v3/go/dmi',
24 create_key=_descriptor._internal_create_key,
amit.ghosh8ab1e6e2021-02-23 07:40:17 +010025 serialized_pb=b'\n!dmi/hw_metrics_mgmt_service.proto\x12\x03\x64mi\x1a\x11\x64mi/commons.proto\x1a\x0c\x64mi/hw.proto\"a\n\x0cMetricConfig\x12#\n\tmetric_id\x18\x01 \x01(\x0e\x32\x10.dmi.MetricNames\x12\x15\n\ris_configured\x18\x02 \x01(\x08\x12\x15\n\rpoll_interval\x18\x03 \x01(\r\"3\n\rMetricsConfig\x12\"\n\x07metrics\x18\x01 \x03(\x0b\x32\x11.dmi.MetricConfig\"\xff\x01\n\x13ListMetricsResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12/\n\x06reason\x18\x02 \x01(\x0e\x32\x1f.dmi.ListMetricsResponse.Reason\x12#\n\x07metrics\x18\x03 \x01(\x0b\x32\x12.dmi.MetricsConfig\x12\x15\n\rreason_detail\x18\x04 \x01(\t\"^\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x03\"\x8d\x01\n\x1bMetricsConfigurationRequest\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12%\n\x07\x63hanges\x18\x02 \x01(\x0b\x32\x12.dmi.MetricsConfigH\x00\x12\x1a\n\x10reset_to_default\x18\x03 \x01(\x08H\x00\x42\x0b\n\toperation\"\xa0\x02\n\x1cMetricsConfigurationResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12\x38\n\x06reason\x18\x02 \x01(\x0e\x32(.dmi.MetricsConfigurationResponse.Reason\x12\x15\n\rreason_detail\x18\x03 \x01(\t\"\x91\x01\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x1d\n\x19POLL_INTERVAL_UNSUPPORTED\x10\x03\x12\x12\n\x0eINVALID_METRIC\x10\x04\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x05\"k\n\x0eMetricMetaData\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12!\n\x0e\x63omponent_uuid\x18\x02 \x01(\x0b\x32\t.dmi.Uuid\x12\x16\n\x0e\x63omponent_name\x18\x03 \x01(\t\"\x84\x01\n\x06Metric\x12#\n\tmetric_id\x18\x01 \x01(\x0e\x32\x10.dmi.MetricNames\x12,\n\x0fmetric_metadata\x18\x02 \x01(\x0b\x32\x13.dmi.MetricMetaData\x12\'\n\x05value\x18\x03 \x01(\x0b\x32\x18.dmi.ComponentSensorData\"_\n\x10GetMetricRequest\x12&\n\tmeta_data\x18\x01 \x01(\x0b\x32\x13.dmi.MetricMetaData\x12#\n\tmetric_id\x18\x02 \x01(\x0e\x32\x10.dmi.MetricNames\"\x9f\x02\n\x11GetMetricResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12-\n\x06reason\x18\x02 \x01(\x0e\x32\x1d.dmi.GetMetricResponse.Reason\x12\x1b\n\x06metric\x18\x03 \x01(\x0b\x32\x0b.dmi.Metric\x12\x15\n\rreason_detail\x18\x04 \x01(\t\"\x89\x01\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x15\n\x11UNKNOWN_COMPONENT\x10\x02\x12\x12\n\x0eINTERNAL_ERROR\x10\x03\x12\x12\n\x0eINVALID_METRIC\x10\x04\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x05*\xd9\x05\n\x0bMetricNames\x12\x19\n\x15METRIC_NAME_UNDEFINED\x10\x00\x12\x14\n\x10METRIC_FAN_SPEED\x10\x01\x12\x13\n\x0fMETRIC_CPU_TEMP\x10\x64\x12\x1f\n\x1bMETRIC_CPU_USAGE_PERCENTAGE\x10\x65\x12\x1c\n\x17METRIC_TRANSCEIVER_TEMP\x10\xc8\x01\x12\x1f\n\x1aMETRIC_TRANSCEIVER_VOLTAGE\x10\xc9\x01\x12\x1c\n\x17METRIC_TRANSCEIVER_BIAS\x10\xca\x01\x12 \n\x1bMETRIC_TRANSCEIVER_RX_POWER\x10\xcb\x01\x12 \n\x1bMETRIC_TRANSCEIVER_TX_POWER\x10\xcc\x01\x12\"\n\x1dMETRIC_TRANSCEIVER_WAVELENGTH\x10\xcd\x01\x12\x15\n\x10METRIC_DISK_TEMP\x10\xac\x02\x12\x19\n\x14METRIC_DISK_CAPACITY\x10\xad\x02\x12\x16\n\x11METRIC_DISK_USAGE\x10\xae\x02\x12!\n\x1cMETRIC_DISK_USAGE_PERCENTAGE\x10\xaf\x02\x12&\n!METRIC_DISK_READ_WRITE_PERCENTAGE\x10\xb0\x02\x12(\n#METRIC_DISK_FAULTY_CELLS_PERCENTAGE\x10\xb1\x02\x12\x14\n\x0fMETRIC_RAM_TEMP\x10\x90\x03\x12\x18\n\x13METRIC_RAM_CAPACITY\x10\x91\x03\x12\x15\n\x10METRIC_RAM_USAGE\x10\x92\x03\x12 \n\x1bMETRIC_RAM_USAGE_PERCENTAGE\x10\x93\x03\x12\x15\n\x10METRIC_POWER_MAX\x10\xf4\x03\x12\x17\n\x12METRIC_POWER_USAGE\x10\xf5\x03\x12\"\n\x1dMETRIC_POWER_USAGE_PERCENTAGE\x10\xf6\x03\x12\"\n\x1dMETRIC_INNER_SURROUNDING_TEMP\x10\xd8\x04\x32\xf9\x01\n\x1eNativeMetricsManagementService\x12\x38\n\x0bListMetrics\x12\x0f.dmi.HardwareID\x1a\x18.dmi.ListMetricsResponse\x12\x61\n\x1aUpdateMetricsConfiguration\x12 .dmi.MetricsConfigurationRequest\x1a!.dmi.MetricsConfigurationResponse\x12:\n\tGetMetric\x12\x15.dmi.GetMetricRequest\x1a\x16.dmi.GetMetricResponseB;Z9github.com/opencord/device-management-interface/v3/go/dmib\x06proto3'
uwe ottrembka66d91ea2020-08-11 10:50:55 +020026 ,
27 dependencies=[dmi_dot_commons__pb2.DESCRIPTOR,dmi_dot_hw__pb2.DESCRIPTOR,])
28
29_METRICNAMES = _descriptor.EnumDescriptor(
30 name='MetricNames',
31 full_name='dmi.MetricNames',
32 filename=None,
33 file=DESCRIPTOR,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020034 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +020035 values=[
36 _descriptor.EnumValueDescriptor(
37 name='METRIC_NAME_UNDEFINED', index=0, number=0,
38 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020039 type=None,
40 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020041 _descriptor.EnumValueDescriptor(
42 name='METRIC_FAN_SPEED', index=1, number=1,
43 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020044 type=None,
45 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020046 _descriptor.EnumValueDescriptor(
47 name='METRIC_CPU_TEMP', index=2, number=100,
48 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020049 type=None,
50 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020051 _descriptor.EnumValueDescriptor(
52 name='METRIC_CPU_USAGE_PERCENTAGE', index=3, number=101,
53 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020054 type=None,
55 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020056 _descriptor.EnumValueDescriptor(
57 name='METRIC_TRANSCEIVER_TEMP', index=4, number=200,
58 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020059 type=None,
60 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020061 _descriptor.EnumValueDescriptor(
62 name='METRIC_TRANSCEIVER_VOLTAGE', index=5, number=201,
63 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020064 type=None,
65 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020066 _descriptor.EnumValueDescriptor(
67 name='METRIC_TRANSCEIVER_BIAS', index=6, number=202,
68 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020069 type=None,
70 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020071 _descriptor.EnumValueDescriptor(
72 name='METRIC_TRANSCEIVER_RX_POWER', index=7, number=203,
73 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020074 type=None,
75 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020076 _descriptor.EnumValueDescriptor(
77 name='METRIC_TRANSCEIVER_TX_POWER', index=8, number=204,
78 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020079 type=None,
80 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020081 _descriptor.EnumValueDescriptor(
82 name='METRIC_TRANSCEIVER_WAVELENGTH', index=9, number=205,
83 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020084 type=None,
85 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020086 _descriptor.EnumValueDescriptor(
87 name='METRIC_DISK_TEMP', index=10, number=300,
88 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020089 type=None,
90 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020091 _descriptor.EnumValueDescriptor(
92 name='METRIC_DISK_CAPACITY', index=11, number=301,
93 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020094 type=None,
95 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020096 _descriptor.EnumValueDescriptor(
97 name='METRIC_DISK_USAGE', index=12, number=302,
98 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020099 type=None,
100 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200101 _descriptor.EnumValueDescriptor(
102 name='METRIC_DISK_USAGE_PERCENTAGE', index=13, number=303,
103 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200104 type=None,
105 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200106 _descriptor.EnumValueDescriptor(
107 name='METRIC_DISK_READ_WRITE_PERCENTAGE', index=14, number=304,
108 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200109 type=None,
110 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200111 _descriptor.EnumValueDescriptor(
112 name='METRIC_DISK_FAULTY_CELLS_PERCENTAGE', index=15, number=305,
113 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200114 type=None,
115 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200116 _descriptor.EnumValueDescriptor(
117 name='METRIC_RAM_TEMP', index=16, number=400,
118 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200119 type=None,
120 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200121 _descriptor.EnumValueDescriptor(
122 name='METRIC_RAM_CAPACITY', index=17, number=401,
123 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200124 type=None,
125 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200126 _descriptor.EnumValueDescriptor(
127 name='METRIC_RAM_USAGE', index=18, number=402,
128 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200129 type=None,
130 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200131 _descriptor.EnumValueDescriptor(
132 name='METRIC_RAM_USAGE_PERCENTAGE', index=19, number=403,
133 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200134 type=None,
135 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200136 _descriptor.EnumValueDescriptor(
137 name='METRIC_POWER_MAX', index=20, number=500,
138 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200139 type=None,
140 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200141 _descriptor.EnumValueDescriptor(
142 name='METRIC_POWER_USAGE', index=21, number=501,
143 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200144 type=None,
145 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200146 _descriptor.EnumValueDescriptor(
147 name='METRIC_POWER_USAGE_PERCENTAGE', index=22, number=502,
148 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200149 type=None,
150 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200151 _descriptor.EnumValueDescriptor(
152 name='METRIC_INNER_SURROUNDING_TEMP', index=23, number=600,
153 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200154 type=None,
155 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200156 ],
157 containing_type=None,
158 serialized_options=None,
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100159 serialized_start=1552,
160 serialized_end=2281,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200161)
162_sym_db.RegisterEnumDescriptor(_METRICNAMES)
163
164MetricNames = enum_type_wrapper.EnumTypeWrapper(_METRICNAMES)
165METRIC_NAME_UNDEFINED = 0
166METRIC_FAN_SPEED = 1
167METRIC_CPU_TEMP = 100
168METRIC_CPU_USAGE_PERCENTAGE = 101
169METRIC_TRANSCEIVER_TEMP = 200
170METRIC_TRANSCEIVER_VOLTAGE = 201
171METRIC_TRANSCEIVER_BIAS = 202
172METRIC_TRANSCEIVER_RX_POWER = 203
173METRIC_TRANSCEIVER_TX_POWER = 204
174METRIC_TRANSCEIVER_WAVELENGTH = 205
175METRIC_DISK_TEMP = 300
176METRIC_DISK_CAPACITY = 301
177METRIC_DISK_USAGE = 302
178METRIC_DISK_USAGE_PERCENTAGE = 303
179METRIC_DISK_READ_WRITE_PERCENTAGE = 304
180METRIC_DISK_FAULTY_CELLS_PERCENTAGE = 305
181METRIC_RAM_TEMP = 400
182METRIC_RAM_CAPACITY = 401
183METRIC_RAM_USAGE = 402
184METRIC_RAM_USAGE_PERCENTAGE = 403
185METRIC_POWER_MAX = 500
186METRIC_POWER_USAGE = 501
187METRIC_POWER_USAGE_PERCENTAGE = 502
188METRIC_INNER_SURROUNDING_TEMP = 600
189
190
amit.ghoshae473032021-01-10 11:59:10 +0100191_LISTMETRICSRESPONSE_REASON = _descriptor.EnumDescriptor(
192 name='Reason',
193 full_name='dmi.ListMetricsResponse.Reason',
194 filename=None,
195 file=DESCRIPTOR,
196 create_key=_descriptor._internal_create_key,
197 values=[
198 _descriptor.EnumValueDescriptor(
199 name='UNDEFINED_REASON', index=0, number=0,
200 serialized_options=None,
201 type=None,
202 create_key=_descriptor._internal_create_key),
203 _descriptor.EnumValueDescriptor(
204 name='UNKNOWN_DEVICE', index=1, number=1,
205 serialized_options=None,
206 type=None,
207 create_key=_descriptor._internal_create_key),
208 _descriptor.EnumValueDescriptor(
209 name='INTERNAL_ERROR', index=2, number=2,
210 serialized_options=None,
211 type=None,
212 create_key=_descriptor._internal_create_key),
amit.ghoshbd2022e2021-02-22 05:58:53 +0100213 _descriptor.EnumValueDescriptor(
214 name='DEVICE_UNREACHABLE', index=3, number=3,
215 serialized_options=None,
216 type=None,
217 create_key=_descriptor._internal_create_key),
amit.ghoshae473032021-01-10 11:59:10 +0100218 ],
219 containing_type=None,
220 serialized_options=None,
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100221 serialized_start=389,
222 serialized_end=483,
amit.ghoshae473032021-01-10 11:59:10 +0100223)
224_sym_db.RegisterEnumDescriptor(_LISTMETRICSRESPONSE_REASON)
225
226_METRICSCONFIGURATIONRESPONSE_REASON = _descriptor.EnumDescriptor(
227 name='Reason',
228 full_name='dmi.MetricsConfigurationResponse.Reason',
229 filename=None,
230 file=DESCRIPTOR,
231 create_key=_descriptor._internal_create_key,
232 values=[
233 _descriptor.EnumValueDescriptor(
234 name='UNDEFINED_REASON', index=0, number=0,
235 serialized_options=None,
236 type=None,
237 create_key=_descriptor._internal_create_key),
238 _descriptor.EnumValueDescriptor(
239 name='UNKNOWN_DEVICE', index=1, number=1,
240 serialized_options=None,
241 type=None,
242 create_key=_descriptor._internal_create_key),
243 _descriptor.EnumValueDescriptor(
244 name='INTERNAL_ERROR', index=2, number=2,
245 serialized_options=None,
246 type=None,
247 create_key=_descriptor._internal_create_key),
248 _descriptor.EnumValueDescriptor(
249 name='POLL_INTERVAL_UNSUPPORTED', index=3, number=3,
250 serialized_options=None,
251 type=None,
252 create_key=_descriptor._internal_create_key),
253 _descriptor.EnumValueDescriptor(
254 name='INVALID_METRIC', index=4, number=4,
255 serialized_options=None,
256 type=None,
257 create_key=_descriptor._internal_create_key),
amit.ghoshbd2022e2021-02-22 05:58:53 +0100258 _descriptor.EnumValueDescriptor(
259 name='DEVICE_UNREACHABLE', index=5, number=5,
260 serialized_options=None,
261 type=None,
262 create_key=_descriptor._internal_create_key),
amit.ghoshae473032021-01-10 11:59:10 +0100263 ],
264 containing_type=None,
265 serialized_options=None,
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100266 serialized_start=773,
267 serialized_end=918,
amit.ghoshae473032021-01-10 11:59:10 +0100268)
269_sym_db.RegisterEnumDescriptor(_METRICSCONFIGURATIONRESPONSE_REASON)
270
271_GETMETRICRESPONSE_REASON = _descriptor.EnumDescriptor(
272 name='Reason',
273 full_name='dmi.GetMetricResponse.Reason',
274 filename=None,
275 file=DESCRIPTOR,
276 create_key=_descriptor._internal_create_key,
277 values=[
278 _descriptor.EnumValueDescriptor(
279 name='UNDEFINED_REASON', index=0, number=0,
280 serialized_options=None,
281 type=None,
282 create_key=_descriptor._internal_create_key),
283 _descriptor.EnumValueDescriptor(
284 name='UNKNOWN_DEVICE', index=1, number=1,
285 serialized_options=None,
286 type=None,
287 create_key=_descriptor._internal_create_key),
288 _descriptor.EnumValueDescriptor(
289 name='UNKNOWN_COMPONENT', index=2, number=2,
290 serialized_options=None,
291 type=None,
292 create_key=_descriptor._internal_create_key),
293 _descriptor.EnumValueDescriptor(
294 name='INTERNAL_ERROR', index=3, number=3,
295 serialized_options=None,
296 type=None,
297 create_key=_descriptor._internal_create_key),
298 _descriptor.EnumValueDescriptor(
299 name='INVALID_METRIC', index=4, number=4,
300 serialized_options=None,
301 type=None,
302 create_key=_descriptor._internal_create_key),
amit.ghoshbd2022e2021-02-22 05:58:53 +0100303 _descriptor.EnumValueDescriptor(
304 name='DEVICE_UNREACHABLE', index=5, number=5,
305 serialized_options=None,
306 type=None,
307 create_key=_descriptor._internal_create_key),
amit.ghoshae473032021-01-10 11:59:10 +0100308 ],
309 containing_type=None,
310 serialized_options=None,
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100311 serialized_start=1412,
312 serialized_end=1549,
amit.ghoshae473032021-01-10 11:59:10 +0100313)
314_sym_db.RegisterEnumDescriptor(_GETMETRICRESPONSE_REASON)
315
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200316
317_METRICCONFIG = _descriptor.Descriptor(
318 name='MetricConfig',
319 full_name='dmi.MetricConfig',
320 filename=None,
321 file=DESCRIPTOR,
322 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200323 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200324 fields=[
325 _descriptor.FieldDescriptor(
326 name='metric_id', full_name='dmi.MetricConfig.metric_id', index=0,
327 number=1, type=14, cpp_type=8, label=1,
328 has_default_value=False, default_value=0,
329 message_type=None, enum_type=None, containing_type=None,
330 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200331 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200332 _descriptor.FieldDescriptor(
333 name='is_configured', full_name='dmi.MetricConfig.is_configured', index=1,
334 number=2, type=8, cpp_type=7, label=1,
335 has_default_value=False, default_value=False,
336 message_type=None, enum_type=None, containing_type=None,
337 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200338 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200339 _descriptor.FieldDescriptor(
340 name='poll_interval', full_name='dmi.MetricConfig.poll_interval', index=2,
341 number=3, type=13, cpp_type=3, label=1,
342 has_default_value=False, default_value=0,
343 message_type=None, enum_type=None, containing_type=None,
344 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200345 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200346 ],
347 extensions=[
348 ],
349 nested_types=[],
350 enum_types=[
351 ],
352 serialized_options=None,
353 is_extendable=False,
354 syntax='proto3',
355 extension_ranges=[],
356 oneofs=[
357 ],
358 serialized_start=75,
359 serialized_end=172,
360)
361
362
363_METRICSCONFIG = _descriptor.Descriptor(
364 name='MetricsConfig',
365 full_name='dmi.MetricsConfig',
366 filename=None,
367 file=DESCRIPTOR,
368 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200369 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200370 fields=[
371 _descriptor.FieldDescriptor(
372 name='metrics', full_name='dmi.MetricsConfig.metrics', index=0,
373 number=1, type=11, cpp_type=10, label=3,
374 has_default_value=False, default_value=[],
375 message_type=None, enum_type=None, containing_type=None,
376 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200377 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200378 ],
379 extensions=[
380 ],
381 nested_types=[],
382 enum_types=[
383 ],
384 serialized_options=None,
385 is_extendable=False,
386 syntax='proto3',
387 extension_ranges=[],
388 oneofs=[
389 ],
390 serialized_start=174,
391 serialized_end=225,
392)
393
394
395_LISTMETRICSRESPONSE = _descriptor.Descriptor(
396 name='ListMetricsResponse',
397 full_name='dmi.ListMetricsResponse',
398 filename=None,
399 file=DESCRIPTOR,
400 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200401 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200402 fields=[
403 _descriptor.FieldDescriptor(
404 name='status', full_name='dmi.ListMetricsResponse.status', index=0,
405 number=1, type=14, cpp_type=8, label=1,
406 has_default_value=False, default_value=0,
407 message_type=None, enum_type=None, containing_type=None,
408 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200409 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200410 _descriptor.FieldDescriptor(
411 name='reason', full_name='dmi.ListMetricsResponse.reason', index=1,
412 number=2, type=14, cpp_type=8, label=1,
413 has_default_value=False, default_value=0,
414 message_type=None, enum_type=None, containing_type=None,
415 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200416 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200417 _descriptor.FieldDescriptor(
418 name='metrics', full_name='dmi.ListMetricsResponse.metrics', index=2,
419 number=3, type=11, cpp_type=10, label=1,
420 has_default_value=False, default_value=None,
421 message_type=None, enum_type=None, containing_type=None,
422 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200423 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100424 _descriptor.FieldDescriptor(
425 name='reason_detail', full_name='dmi.ListMetricsResponse.reason_detail', index=3,
426 number=4, type=9, cpp_type=9, label=1,
427 has_default_value=False, default_value=b"".decode('utf-8'),
428 message_type=None, enum_type=None, containing_type=None,
429 is_extension=False, extension_scope=None,
430 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200431 ],
432 extensions=[
433 ],
434 nested_types=[],
435 enum_types=[
amit.ghoshae473032021-01-10 11:59:10 +0100436 _LISTMETRICSRESPONSE_REASON,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200437 ],
438 serialized_options=None,
439 is_extendable=False,
440 syntax='proto3',
441 extension_ranges=[],
442 oneofs=[
443 ],
amit.ghoshae473032021-01-10 11:59:10 +0100444 serialized_start=228,
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100445 serialized_end=483,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200446)
447
448
449_METRICSCONFIGURATIONREQUEST = _descriptor.Descriptor(
450 name='MetricsConfigurationRequest',
451 full_name='dmi.MetricsConfigurationRequest',
452 filename=None,
453 file=DESCRIPTOR,
454 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200455 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200456 fields=[
457 _descriptor.FieldDescriptor(
458 name='device_uuid', full_name='dmi.MetricsConfigurationRequest.device_uuid', index=0,
459 number=1, type=11, cpp_type=10, label=1,
460 has_default_value=False, default_value=None,
461 message_type=None, enum_type=None, containing_type=None,
462 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200463 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200464 _descriptor.FieldDescriptor(
465 name='changes', full_name='dmi.MetricsConfigurationRequest.changes', index=1,
466 number=2, type=11, cpp_type=10, label=1,
467 has_default_value=False, default_value=None,
468 message_type=None, enum_type=None, containing_type=None,
469 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200470 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200471 _descriptor.FieldDescriptor(
472 name='reset_to_default', full_name='dmi.MetricsConfigurationRequest.reset_to_default', index=2,
473 number=3, type=8, cpp_type=7, label=1,
474 has_default_value=False, default_value=False,
475 message_type=None, enum_type=None, containing_type=None,
476 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200477 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200478 ],
479 extensions=[
480 ],
481 nested_types=[],
482 enum_types=[
483 ],
484 serialized_options=None,
485 is_extendable=False,
486 syntax='proto3',
487 extension_ranges=[],
488 oneofs=[
489 _descriptor.OneofDescriptor(
490 name='operation', full_name='dmi.MetricsConfigurationRequest.operation',
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200491 index=0, containing_type=None,
492 create_key=_descriptor._internal_create_key,
493 fields=[]),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200494 ],
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100495 serialized_start=486,
496 serialized_end=627,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200497)
498
499
500_METRICSCONFIGURATIONRESPONSE = _descriptor.Descriptor(
501 name='MetricsConfigurationResponse',
502 full_name='dmi.MetricsConfigurationResponse',
503 filename=None,
504 file=DESCRIPTOR,
505 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200506 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200507 fields=[
508 _descriptor.FieldDescriptor(
509 name='status', full_name='dmi.MetricsConfigurationResponse.status', index=0,
510 number=1, type=14, cpp_type=8, label=1,
511 has_default_value=False, default_value=0,
512 message_type=None, enum_type=None, containing_type=None,
513 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200514 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200515 _descriptor.FieldDescriptor(
516 name='reason', full_name='dmi.MetricsConfigurationResponse.reason', index=1,
517 number=2, type=14, cpp_type=8, label=1,
518 has_default_value=False, default_value=0,
519 message_type=None, enum_type=None, containing_type=None,
520 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200521 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100522 _descriptor.FieldDescriptor(
523 name='reason_detail', full_name='dmi.MetricsConfigurationResponse.reason_detail', index=2,
524 number=3, type=9, cpp_type=9, label=1,
525 has_default_value=False, default_value=b"".decode('utf-8'),
526 message_type=None, enum_type=None, containing_type=None,
527 is_extension=False, extension_scope=None,
528 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200529 ],
530 extensions=[
531 ],
532 nested_types=[],
533 enum_types=[
amit.ghoshae473032021-01-10 11:59:10 +0100534 _METRICSCONFIGURATIONRESPONSE_REASON,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200535 ],
536 serialized_options=None,
537 is_extendable=False,
538 syntax='proto3',
539 extension_ranges=[],
540 oneofs=[
541 ],
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100542 serialized_start=630,
543 serialized_end=918,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200544)
545
546
547_METRICMETADATA = _descriptor.Descriptor(
548 name='MetricMetaData',
549 full_name='dmi.MetricMetaData',
550 filename=None,
551 file=DESCRIPTOR,
552 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200553 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200554 fields=[
555 _descriptor.FieldDescriptor(
556 name='device_uuid', full_name='dmi.MetricMetaData.device_uuid', index=0,
557 number=1, type=11, cpp_type=10, label=1,
558 has_default_value=False, default_value=None,
559 message_type=None, enum_type=None, containing_type=None,
560 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200561 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200562 _descriptor.FieldDescriptor(
563 name='component_uuid', full_name='dmi.MetricMetaData.component_uuid', index=1,
564 number=2, type=11, cpp_type=10, label=1,
565 has_default_value=False, default_value=None,
566 message_type=None, enum_type=None, containing_type=None,
567 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200568 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200569 _descriptor.FieldDescriptor(
570 name='component_name', full_name='dmi.MetricMetaData.component_name', index=2,
571 number=3, type=9, cpp_type=9, label=1,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200572 has_default_value=False, default_value=b"".decode('utf-8'),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200573 message_type=None, enum_type=None, containing_type=None,
574 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200575 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200576 ],
577 extensions=[
578 ],
579 nested_types=[],
580 enum_types=[
581 ],
582 serialized_options=None,
583 is_extendable=False,
584 syntax='proto3',
585 extension_ranges=[],
586 oneofs=[
587 ],
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100588 serialized_start=920,
589 serialized_end=1027,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200590)
591
592
593_METRIC = _descriptor.Descriptor(
594 name='Metric',
595 full_name='dmi.Metric',
596 filename=None,
597 file=DESCRIPTOR,
598 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200599 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200600 fields=[
601 _descriptor.FieldDescriptor(
602 name='metric_id', full_name='dmi.Metric.metric_id', index=0,
603 number=1, type=14, cpp_type=8, label=1,
604 has_default_value=False, default_value=0,
605 message_type=None, enum_type=None, containing_type=None,
606 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200607 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200608 _descriptor.FieldDescriptor(
609 name='metric_metadata', full_name='dmi.Metric.metric_metadata', index=1,
610 number=2, type=11, cpp_type=10, label=1,
611 has_default_value=False, default_value=None,
612 message_type=None, enum_type=None, containing_type=None,
613 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200614 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200615 _descriptor.FieldDescriptor(
616 name='value', full_name='dmi.Metric.value', index=2,
617 number=3, type=11, cpp_type=10, label=1,
618 has_default_value=False, default_value=None,
619 message_type=None, enum_type=None, containing_type=None,
620 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200621 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200622 ],
623 extensions=[
624 ],
625 nested_types=[],
626 enum_types=[
627 ],
628 serialized_options=None,
629 is_extendable=False,
630 syntax='proto3',
631 extension_ranges=[],
632 oneofs=[
633 ],
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100634 serialized_start=1030,
635 serialized_end=1162,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200636)
637
638
639_GETMETRICREQUEST = _descriptor.Descriptor(
640 name='GetMetricRequest',
641 full_name='dmi.GetMetricRequest',
642 filename=None,
643 file=DESCRIPTOR,
644 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200645 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200646 fields=[
647 _descriptor.FieldDescriptor(
648 name='meta_data', full_name='dmi.GetMetricRequest.meta_data', index=0,
649 number=1, type=11, cpp_type=10, label=1,
650 has_default_value=False, default_value=None,
651 message_type=None, enum_type=None, containing_type=None,
652 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200653 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200654 _descriptor.FieldDescriptor(
655 name='metric_id', full_name='dmi.GetMetricRequest.metric_id', index=1,
656 number=2, type=14, cpp_type=8, label=1,
657 has_default_value=False, default_value=0,
658 message_type=None, enum_type=None, containing_type=None,
659 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200660 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200661 ],
662 extensions=[
663 ],
664 nested_types=[],
665 enum_types=[
666 ],
667 serialized_options=None,
668 is_extendable=False,
669 syntax='proto3',
670 extension_ranges=[],
671 oneofs=[
672 ],
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100673 serialized_start=1164,
674 serialized_end=1259,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200675)
676
aghoshc301dcd2020-09-03 16:55:34 +0100677
678_GETMETRICRESPONSE = _descriptor.Descriptor(
679 name='GetMetricResponse',
680 full_name='dmi.GetMetricResponse',
681 filename=None,
682 file=DESCRIPTOR,
683 containing_type=None,
684 create_key=_descriptor._internal_create_key,
685 fields=[
686 _descriptor.FieldDescriptor(
687 name='status', full_name='dmi.GetMetricResponse.status', index=0,
688 number=1, type=14, cpp_type=8, label=1,
689 has_default_value=False, default_value=0,
690 message_type=None, enum_type=None, containing_type=None,
691 is_extension=False, extension_scope=None,
692 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
693 _descriptor.FieldDescriptor(
694 name='reason', full_name='dmi.GetMetricResponse.reason', index=1,
695 number=2, type=14, cpp_type=8, label=1,
696 has_default_value=False, default_value=0,
697 message_type=None, enum_type=None, containing_type=None,
698 is_extension=False, extension_scope=None,
699 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
700 _descriptor.FieldDescriptor(
701 name='metric', full_name='dmi.GetMetricResponse.metric', index=2,
702 number=3, type=11, cpp_type=10, label=1,
703 has_default_value=False, default_value=None,
704 message_type=None, enum_type=None, containing_type=None,
705 is_extension=False, extension_scope=None,
706 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100707 _descriptor.FieldDescriptor(
708 name='reason_detail', full_name='dmi.GetMetricResponse.reason_detail', index=3,
709 number=4, type=9, cpp_type=9, label=1,
710 has_default_value=False, default_value=b"".decode('utf-8'),
711 message_type=None, enum_type=None, containing_type=None,
712 is_extension=False, extension_scope=None,
713 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
aghoshc301dcd2020-09-03 16:55:34 +0100714 ],
715 extensions=[
716 ],
717 nested_types=[],
718 enum_types=[
amit.ghoshae473032021-01-10 11:59:10 +0100719 _GETMETRICRESPONSE_REASON,
aghoshc301dcd2020-09-03 16:55:34 +0100720 ],
721 serialized_options=None,
722 is_extendable=False,
723 syntax='proto3',
724 extension_ranges=[],
725 oneofs=[
726 ],
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100727 serialized_start=1262,
728 serialized_end=1549,
aghoshc301dcd2020-09-03 16:55:34 +0100729)
730
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200731_METRICCONFIG.fields_by_name['metric_id'].enum_type = _METRICNAMES
732_METRICSCONFIG.fields_by_name['metrics'].message_type = _METRICCONFIG
733_LISTMETRICSRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS
amit.ghoshae473032021-01-10 11:59:10 +0100734_LISTMETRICSRESPONSE.fields_by_name['reason'].enum_type = _LISTMETRICSRESPONSE_REASON
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200735_LISTMETRICSRESPONSE.fields_by_name['metrics'].message_type = _METRICSCONFIG
amit.ghoshae473032021-01-10 11:59:10 +0100736_LISTMETRICSRESPONSE_REASON.containing_type = _LISTMETRICSRESPONSE
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200737_METRICSCONFIGURATIONREQUEST.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID
738_METRICSCONFIGURATIONREQUEST.fields_by_name['changes'].message_type = _METRICSCONFIG
739_METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'].fields.append(
740 _METRICSCONFIGURATIONREQUEST.fields_by_name['changes'])
741_METRICSCONFIGURATIONREQUEST.fields_by_name['changes'].containing_oneof = _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation']
742_METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'].fields.append(
743 _METRICSCONFIGURATIONREQUEST.fields_by_name['reset_to_default'])
744_METRICSCONFIGURATIONREQUEST.fields_by_name['reset_to_default'].containing_oneof = _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation']
745_METRICSCONFIGURATIONRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS
amit.ghoshae473032021-01-10 11:59:10 +0100746_METRICSCONFIGURATIONRESPONSE.fields_by_name['reason'].enum_type = _METRICSCONFIGURATIONRESPONSE_REASON
747_METRICSCONFIGURATIONRESPONSE_REASON.containing_type = _METRICSCONFIGURATIONRESPONSE
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200748_METRICMETADATA.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID
749_METRICMETADATA.fields_by_name['component_uuid'].message_type = dmi_dot_hw__pb2._UUID
750_METRIC.fields_by_name['metric_id'].enum_type = _METRICNAMES
751_METRIC.fields_by_name['metric_metadata'].message_type = _METRICMETADATA
752_METRIC.fields_by_name['value'].message_type = dmi_dot_hw__pb2._COMPONENTSENSORDATA
753_GETMETRICREQUEST.fields_by_name['meta_data'].message_type = _METRICMETADATA
754_GETMETRICREQUEST.fields_by_name['metric_id'].enum_type = _METRICNAMES
aghoshc301dcd2020-09-03 16:55:34 +0100755_GETMETRICRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS
amit.ghoshae473032021-01-10 11:59:10 +0100756_GETMETRICRESPONSE.fields_by_name['reason'].enum_type = _GETMETRICRESPONSE_REASON
aghoshc301dcd2020-09-03 16:55:34 +0100757_GETMETRICRESPONSE.fields_by_name['metric'].message_type = _METRIC
amit.ghoshae473032021-01-10 11:59:10 +0100758_GETMETRICRESPONSE_REASON.containing_type = _GETMETRICRESPONSE
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200759DESCRIPTOR.message_types_by_name['MetricConfig'] = _METRICCONFIG
760DESCRIPTOR.message_types_by_name['MetricsConfig'] = _METRICSCONFIG
761DESCRIPTOR.message_types_by_name['ListMetricsResponse'] = _LISTMETRICSRESPONSE
762DESCRIPTOR.message_types_by_name['MetricsConfigurationRequest'] = _METRICSCONFIGURATIONREQUEST
763DESCRIPTOR.message_types_by_name['MetricsConfigurationResponse'] = _METRICSCONFIGURATIONRESPONSE
764DESCRIPTOR.message_types_by_name['MetricMetaData'] = _METRICMETADATA
765DESCRIPTOR.message_types_by_name['Metric'] = _METRIC
766DESCRIPTOR.message_types_by_name['GetMetricRequest'] = _GETMETRICREQUEST
aghoshc301dcd2020-09-03 16:55:34 +0100767DESCRIPTOR.message_types_by_name['GetMetricResponse'] = _GETMETRICRESPONSE
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200768DESCRIPTOR.enum_types_by_name['MetricNames'] = _METRICNAMES
769_sym_db.RegisterFileDescriptor(DESCRIPTOR)
770
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200771MetricConfig = _reflection.GeneratedProtocolMessageType('MetricConfig', (_message.Message,), {
772 'DESCRIPTOR' : _METRICCONFIG,
773 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200774 # @@protoc_insertion_point(class_scope:dmi.MetricConfig)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200775 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200776_sym_db.RegisterMessage(MetricConfig)
777
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200778MetricsConfig = _reflection.GeneratedProtocolMessageType('MetricsConfig', (_message.Message,), {
779 'DESCRIPTOR' : _METRICSCONFIG,
780 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200781 # @@protoc_insertion_point(class_scope:dmi.MetricsConfig)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200782 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200783_sym_db.RegisterMessage(MetricsConfig)
784
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200785ListMetricsResponse = _reflection.GeneratedProtocolMessageType('ListMetricsResponse', (_message.Message,), {
786 'DESCRIPTOR' : _LISTMETRICSRESPONSE,
787 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200788 # @@protoc_insertion_point(class_scope:dmi.ListMetricsResponse)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200789 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200790_sym_db.RegisterMessage(ListMetricsResponse)
791
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200792MetricsConfigurationRequest = _reflection.GeneratedProtocolMessageType('MetricsConfigurationRequest', (_message.Message,), {
793 'DESCRIPTOR' : _METRICSCONFIGURATIONREQUEST,
794 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200795 # @@protoc_insertion_point(class_scope:dmi.MetricsConfigurationRequest)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200796 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200797_sym_db.RegisterMessage(MetricsConfigurationRequest)
798
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200799MetricsConfigurationResponse = _reflection.GeneratedProtocolMessageType('MetricsConfigurationResponse', (_message.Message,), {
800 'DESCRIPTOR' : _METRICSCONFIGURATIONRESPONSE,
801 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200802 # @@protoc_insertion_point(class_scope:dmi.MetricsConfigurationResponse)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200803 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200804_sym_db.RegisterMessage(MetricsConfigurationResponse)
805
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200806MetricMetaData = _reflection.GeneratedProtocolMessageType('MetricMetaData', (_message.Message,), {
807 'DESCRIPTOR' : _METRICMETADATA,
808 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200809 # @@protoc_insertion_point(class_scope:dmi.MetricMetaData)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200810 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200811_sym_db.RegisterMessage(MetricMetaData)
812
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200813Metric = _reflection.GeneratedProtocolMessageType('Metric', (_message.Message,), {
814 'DESCRIPTOR' : _METRIC,
815 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200816 # @@protoc_insertion_point(class_scope:dmi.Metric)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200817 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200818_sym_db.RegisterMessage(Metric)
819
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200820GetMetricRequest = _reflection.GeneratedProtocolMessageType('GetMetricRequest', (_message.Message,), {
821 'DESCRIPTOR' : _GETMETRICREQUEST,
822 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200823 # @@protoc_insertion_point(class_scope:dmi.GetMetricRequest)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200824 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200825_sym_db.RegisterMessage(GetMetricRequest)
826
aghoshc301dcd2020-09-03 16:55:34 +0100827GetMetricResponse = _reflection.GeneratedProtocolMessageType('GetMetricResponse', (_message.Message,), {
828 'DESCRIPTOR' : _GETMETRICRESPONSE,
829 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
830 # @@protoc_insertion_point(class_scope:dmi.GetMetricResponse)
831 })
832_sym_db.RegisterMessage(GetMetricResponse)
833
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200834
835DESCRIPTOR._options = None
836
837_NATIVEMETRICSMANAGEMENTSERVICE = _descriptor.ServiceDescriptor(
838 name='NativeMetricsManagementService',
839 full_name='dmi.NativeMetricsManagementService',
840 file=DESCRIPTOR,
841 index=0,
842 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200843 create_key=_descriptor._internal_create_key,
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100844 serialized_start=2284,
845 serialized_end=2533,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200846 methods=[
847 _descriptor.MethodDescriptor(
848 name='ListMetrics',
849 full_name='dmi.NativeMetricsManagementService.ListMetrics',
850 index=0,
851 containing_service=None,
852 input_type=dmi_dot_hw__pb2._HARDWAREID,
853 output_type=_LISTMETRICSRESPONSE,
854 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200855 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200856 ),
857 _descriptor.MethodDescriptor(
858 name='UpdateMetricsConfiguration',
859 full_name='dmi.NativeMetricsManagementService.UpdateMetricsConfiguration',
860 index=1,
861 containing_service=None,
862 input_type=_METRICSCONFIGURATIONREQUEST,
863 output_type=_METRICSCONFIGURATIONRESPONSE,
864 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200865 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200866 ),
867 _descriptor.MethodDescriptor(
868 name='GetMetric',
869 full_name='dmi.NativeMetricsManagementService.GetMetric',
870 index=2,
871 containing_service=None,
872 input_type=_GETMETRICREQUEST,
aghoshc301dcd2020-09-03 16:55:34 +0100873 output_type=_GETMETRICRESPONSE,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200874 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200875 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200876 ),
877])
878_sym_db.RegisterServiceDescriptor(_NATIVEMETRICSMANAGEMENTSERVICE)
879
880DESCRIPTOR.services_by_name['NativeMetricsManagementService'] = _NATIVEMETRICSMANAGEMENTSERVICE
881
882# @@protoc_insertion_point(module_scope)