blob: 4362c37f9f585da16527ff5b9ad705c7c47e4000 [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.ghoshae473032021-01-10 11:59:10 +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\"\xd0\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\"F\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\"\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\"\xf0\x01\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\"y\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\"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\"\xef\x01\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\"q\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*\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.ghoshae473032021-01-10 11:59:10 +0100159 serialized_start=1409,
160 serialized_end=2138,
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),
213 ],
214 containing_type=None,
215 serialized_options=None,
216 serialized_start=366,
217 serialized_end=436,
218)
219_sym_db.RegisterEnumDescriptor(_LISTMETRICSRESPONSE_REASON)
220
221_METRICSCONFIGURATIONRESPONSE_REASON = _descriptor.EnumDescriptor(
222 name='Reason',
223 full_name='dmi.MetricsConfigurationResponse.Reason',
224 filename=None,
225 file=DESCRIPTOR,
226 create_key=_descriptor._internal_create_key,
227 values=[
228 _descriptor.EnumValueDescriptor(
229 name='UNDEFINED_REASON', index=0, number=0,
230 serialized_options=None,
231 type=None,
232 create_key=_descriptor._internal_create_key),
233 _descriptor.EnumValueDescriptor(
234 name='UNKNOWN_DEVICE', index=1, number=1,
235 serialized_options=None,
236 type=None,
237 create_key=_descriptor._internal_create_key),
238 _descriptor.EnumValueDescriptor(
239 name='INTERNAL_ERROR', index=2, number=2,
240 serialized_options=None,
241 type=None,
242 create_key=_descriptor._internal_create_key),
243 _descriptor.EnumValueDescriptor(
244 name='POLL_INTERVAL_UNSUPPORTED', index=3, number=3,
245 serialized_options=None,
246 type=None,
247 create_key=_descriptor._internal_create_key),
248 _descriptor.EnumValueDescriptor(
249 name='INVALID_METRIC', index=4, number=4,
250 serialized_options=None,
251 type=None,
252 create_key=_descriptor._internal_create_key),
253 ],
254 containing_type=None,
255 serialized_options=None,
256 serialized_start=702,
257 serialized_end=823,
258)
259_sym_db.RegisterEnumDescriptor(_METRICSCONFIGURATIONRESPONSE_REASON)
260
261_GETMETRICRESPONSE_REASON = _descriptor.EnumDescriptor(
262 name='Reason',
263 full_name='dmi.GetMetricResponse.Reason',
264 filename=None,
265 file=DESCRIPTOR,
266 create_key=_descriptor._internal_create_key,
267 values=[
268 _descriptor.EnumValueDescriptor(
269 name='UNDEFINED_REASON', index=0, number=0,
270 serialized_options=None,
271 type=None,
272 create_key=_descriptor._internal_create_key),
273 _descriptor.EnumValueDescriptor(
274 name='UNKNOWN_DEVICE', index=1, number=1,
275 serialized_options=None,
276 type=None,
277 create_key=_descriptor._internal_create_key),
278 _descriptor.EnumValueDescriptor(
279 name='UNKNOWN_COMPONENT', index=2, number=2,
280 serialized_options=None,
281 type=None,
282 create_key=_descriptor._internal_create_key),
283 _descriptor.EnumValueDescriptor(
284 name='INTERNAL_ERROR', index=3, number=3,
285 serialized_options=None,
286 type=None,
287 create_key=_descriptor._internal_create_key),
288 _descriptor.EnumValueDescriptor(
289 name='INVALID_METRIC', index=4, number=4,
290 serialized_options=None,
291 type=None,
292 create_key=_descriptor._internal_create_key),
293 ],
294 containing_type=None,
295 serialized_options=None,
296 serialized_start=1293,
297 serialized_end=1406,
298)
299_sym_db.RegisterEnumDescriptor(_GETMETRICRESPONSE_REASON)
300
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200301
302_METRICCONFIG = _descriptor.Descriptor(
303 name='MetricConfig',
304 full_name='dmi.MetricConfig',
305 filename=None,
306 file=DESCRIPTOR,
307 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200308 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200309 fields=[
310 _descriptor.FieldDescriptor(
311 name='metric_id', full_name='dmi.MetricConfig.metric_id', index=0,
312 number=1, type=14, cpp_type=8, label=1,
313 has_default_value=False, default_value=0,
314 message_type=None, enum_type=None, containing_type=None,
315 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200316 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200317 _descriptor.FieldDescriptor(
318 name='is_configured', full_name='dmi.MetricConfig.is_configured', index=1,
319 number=2, type=8, cpp_type=7, label=1,
320 has_default_value=False, default_value=False,
321 message_type=None, enum_type=None, containing_type=None,
322 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200323 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200324 _descriptor.FieldDescriptor(
325 name='poll_interval', full_name='dmi.MetricConfig.poll_interval', index=2,
326 number=3, type=13, cpp_type=3, label=1,
327 has_default_value=False, default_value=0,
328 message_type=None, enum_type=None, containing_type=None,
329 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200330 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200331 ],
332 extensions=[
333 ],
334 nested_types=[],
335 enum_types=[
336 ],
337 serialized_options=None,
338 is_extendable=False,
339 syntax='proto3',
340 extension_ranges=[],
341 oneofs=[
342 ],
343 serialized_start=75,
344 serialized_end=172,
345)
346
347
348_METRICSCONFIG = _descriptor.Descriptor(
349 name='MetricsConfig',
350 full_name='dmi.MetricsConfig',
351 filename=None,
352 file=DESCRIPTOR,
353 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200354 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200355 fields=[
356 _descriptor.FieldDescriptor(
357 name='metrics', full_name='dmi.MetricsConfig.metrics', index=0,
358 number=1, type=11, cpp_type=10, label=3,
359 has_default_value=False, default_value=[],
360 message_type=None, enum_type=None, containing_type=None,
361 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200362 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200363 ],
364 extensions=[
365 ],
366 nested_types=[],
367 enum_types=[
368 ],
369 serialized_options=None,
370 is_extendable=False,
371 syntax='proto3',
372 extension_ranges=[],
373 oneofs=[
374 ],
375 serialized_start=174,
376 serialized_end=225,
377)
378
379
380_LISTMETRICSRESPONSE = _descriptor.Descriptor(
381 name='ListMetricsResponse',
382 full_name='dmi.ListMetricsResponse',
383 filename=None,
384 file=DESCRIPTOR,
385 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200386 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200387 fields=[
388 _descriptor.FieldDescriptor(
389 name='status', full_name='dmi.ListMetricsResponse.status', index=0,
390 number=1, type=14, cpp_type=8, label=1,
391 has_default_value=False, default_value=0,
392 message_type=None, enum_type=None, containing_type=None,
393 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200394 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200395 _descriptor.FieldDescriptor(
396 name='reason', full_name='dmi.ListMetricsResponse.reason', index=1,
397 number=2, type=14, cpp_type=8, label=1,
398 has_default_value=False, default_value=0,
399 message_type=None, enum_type=None, containing_type=None,
400 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200401 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200402 _descriptor.FieldDescriptor(
403 name='metrics', full_name='dmi.ListMetricsResponse.metrics', index=2,
404 number=3, type=11, cpp_type=10, label=1,
405 has_default_value=False, default_value=None,
406 message_type=None, enum_type=None, containing_type=None,
407 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200408 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200409 ],
410 extensions=[
411 ],
412 nested_types=[],
413 enum_types=[
amit.ghoshae473032021-01-10 11:59:10 +0100414 _LISTMETRICSRESPONSE_REASON,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200415 ],
416 serialized_options=None,
417 is_extendable=False,
418 syntax='proto3',
419 extension_ranges=[],
420 oneofs=[
421 ],
amit.ghoshae473032021-01-10 11:59:10 +0100422 serialized_start=228,
423 serialized_end=436,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200424)
425
426
427_METRICSCONFIGURATIONREQUEST = _descriptor.Descriptor(
428 name='MetricsConfigurationRequest',
429 full_name='dmi.MetricsConfigurationRequest',
430 filename=None,
431 file=DESCRIPTOR,
432 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200433 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200434 fields=[
435 _descriptor.FieldDescriptor(
436 name='device_uuid', full_name='dmi.MetricsConfigurationRequest.device_uuid', index=0,
437 number=1, type=11, cpp_type=10, label=1,
438 has_default_value=False, default_value=None,
439 message_type=None, enum_type=None, containing_type=None,
440 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200441 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200442 _descriptor.FieldDescriptor(
443 name='changes', full_name='dmi.MetricsConfigurationRequest.changes', index=1,
444 number=2, type=11, cpp_type=10, label=1,
445 has_default_value=False, default_value=None,
446 message_type=None, enum_type=None, containing_type=None,
447 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200448 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200449 _descriptor.FieldDescriptor(
450 name='reset_to_default', full_name='dmi.MetricsConfigurationRequest.reset_to_default', index=2,
451 number=3, type=8, cpp_type=7, label=1,
452 has_default_value=False, default_value=False,
453 message_type=None, enum_type=None, containing_type=None,
454 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200455 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200456 ],
457 extensions=[
458 ],
459 nested_types=[],
460 enum_types=[
461 ],
462 serialized_options=None,
463 is_extendable=False,
464 syntax='proto3',
465 extension_ranges=[],
466 oneofs=[
467 _descriptor.OneofDescriptor(
468 name='operation', full_name='dmi.MetricsConfigurationRequest.operation',
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200469 index=0, containing_type=None,
470 create_key=_descriptor._internal_create_key,
471 fields=[]),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200472 ],
amit.ghoshae473032021-01-10 11:59:10 +0100473 serialized_start=439,
474 serialized_end=580,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200475)
476
477
478_METRICSCONFIGURATIONRESPONSE = _descriptor.Descriptor(
479 name='MetricsConfigurationResponse',
480 full_name='dmi.MetricsConfigurationResponse',
481 filename=None,
482 file=DESCRIPTOR,
483 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200484 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200485 fields=[
486 _descriptor.FieldDescriptor(
487 name='status', full_name='dmi.MetricsConfigurationResponse.status', index=0,
488 number=1, type=14, cpp_type=8, label=1,
489 has_default_value=False, default_value=0,
490 message_type=None, enum_type=None, containing_type=None,
491 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200492 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200493 _descriptor.FieldDescriptor(
494 name='reason', full_name='dmi.MetricsConfigurationResponse.reason', index=1,
495 number=2, type=14, cpp_type=8, label=1,
496 has_default_value=False, default_value=0,
497 message_type=None, enum_type=None, containing_type=None,
498 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200499 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200500 ],
501 extensions=[
502 ],
503 nested_types=[],
504 enum_types=[
amit.ghoshae473032021-01-10 11:59:10 +0100505 _METRICSCONFIGURATIONRESPONSE_REASON,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200506 ],
507 serialized_options=None,
508 is_extendable=False,
509 syntax='proto3',
510 extension_ranges=[],
511 oneofs=[
512 ],
amit.ghoshae473032021-01-10 11:59:10 +0100513 serialized_start=583,
514 serialized_end=823,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200515)
516
517
518_METRICMETADATA = _descriptor.Descriptor(
519 name='MetricMetaData',
520 full_name='dmi.MetricMetaData',
521 filename=None,
522 file=DESCRIPTOR,
523 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200524 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200525 fields=[
526 _descriptor.FieldDescriptor(
527 name='device_uuid', full_name='dmi.MetricMetaData.device_uuid', index=0,
528 number=1, type=11, cpp_type=10, label=1,
529 has_default_value=False, default_value=None,
530 message_type=None, enum_type=None, containing_type=None,
531 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200532 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200533 _descriptor.FieldDescriptor(
534 name='component_uuid', full_name='dmi.MetricMetaData.component_uuid', index=1,
535 number=2, type=11, cpp_type=10, label=1,
536 has_default_value=False, default_value=None,
537 message_type=None, enum_type=None, containing_type=None,
538 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200539 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200540 _descriptor.FieldDescriptor(
541 name='component_name', full_name='dmi.MetricMetaData.component_name', index=2,
542 number=3, type=9, cpp_type=9, label=1,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200543 has_default_value=False, default_value=b"".decode('utf-8'),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200544 message_type=None, enum_type=None, containing_type=None,
545 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200546 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200547 ],
548 extensions=[
549 ],
550 nested_types=[],
551 enum_types=[
552 ],
553 serialized_options=None,
554 is_extendable=False,
555 syntax='proto3',
556 extension_ranges=[],
557 oneofs=[
558 ],
amit.ghoshae473032021-01-10 11:59:10 +0100559 serialized_start=825,
560 serialized_end=932,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200561)
562
563
564_METRIC = _descriptor.Descriptor(
565 name='Metric',
566 full_name='dmi.Metric',
567 filename=None,
568 file=DESCRIPTOR,
569 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200570 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200571 fields=[
572 _descriptor.FieldDescriptor(
573 name='metric_id', full_name='dmi.Metric.metric_id', index=0,
574 number=1, type=14, cpp_type=8, label=1,
575 has_default_value=False, default_value=0,
576 message_type=None, enum_type=None, containing_type=None,
577 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200578 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200579 _descriptor.FieldDescriptor(
580 name='metric_metadata', full_name='dmi.Metric.metric_metadata', index=1,
581 number=2, type=11, cpp_type=10, label=1,
582 has_default_value=False, default_value=None,
583 message_type=None, enum_type=None, containing_type=None,
584 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200585 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200586 _descriptor.FieldDescriptor(
587 name='value', full_name='dmi.Metric.value', index=2,
588 number=3, type=11, cpp_type=10, label=1,
589 has_default_value=False, default_value=None,
590 message_type=None, enum_type=None, containing_type=None,
591 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200592 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200593 ],
594 extensions=[
595 ],
596 nested_types=[],
597 enum_types=[
598 ],
599 serialized_options=None,
600 is_extendable=False,
601 syntax='proto3',
602 extension_ranges=[],
603 oneofs=[
604 ],
amit.ghoshae473032021-01-10 11:59:10 +0100605 serialized_start=935,
606 serialized_end=1067,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200607)
608
609
610_GETMETRICREQUEST = _descriptor.Descriptor(
611 name='GetMetricRequest',
612 full_name='dmi.GetMetricRequest',
613 filename=None,
614 file=DESCRIPTOR,
615 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200616 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200617 fields=[
618 _descriptor.FieldDescriptor(
619 name='meta_data', full_name='dmi.GetMetricRequest.meta_data', index=0,
620 number=1, type=11, cpp_type=10, label=1,
621 has_default_value=False, default_value=None,
622 message_type=None, enum_type=None, containing_type=None,
623 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200624 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200625 _descriptor.FieldDescriptor(
626 name='metric_id', full_name='dmi.GetMetricRequest.metric_id', index=1,
627 number=2, type=14, cpp_type=8, label=1,
628 has_default_value=False, default_value=0,
629 message_type=None, enum_type=None, containing_type=None,
630 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200631 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200632 ],
633 extensions=[
634 ],
635 nested_types=[],
636 enum_types=[
637 ],
638 serialized_options=None,
639 is_extendable=False,
640 syntax='proto3',
641 extension_ranges=[],
642 oneofs=[
643 ],
amit.ghoshae473032021-01-10 11:59:10 +0100644 serialized_start=1069,
645 serialized_end=1164,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200646)
647
aghoshc301dcd2020-09-03 16:55:34 +0100648
649_GETMETRICRESPONSE = _descriptor.Descriptor(
650 name='GetMetricResponse',
651 full_name='dmi.GetMetricResponse',
652 filename=None,
653 file=DESCRIPTOR,
654 containing_type=None,
655 create_key=_descriptor._internal_create_key,
656 fields=[
657 _descriptor.FieldDescriptor(
658 name='status', full_name='dmi.GetMetricResponse.status', index=0,
659 number=1, type=14, cpp_type=8, label=1,
660 has_default_value=False, default_value=0,
661 message_type=None, enum_type=None, containing_type=None,
662 is_extension=False, extension_scope=None,
663 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
664 _descriptor.FieldDescriptor(
665 name='reason', full_name='dmi.GetMetricResponse.reason', index=1,
666 number=2, type=14, cpp_type=8, label=1,
667 has_default_value=False, default_value=0,
668 message_type=None, enum_type=None, containing_type=None,
669 is_extension=False, extension_scope=None,
670 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
671 _descriptor.FieldDescriptor(
672 name='metric', full_name='dmi.GetMetricResponse.metric', index=2,
673 number=3, type=11, cpp_type=10, label=1,
674 has_default_value=False, default_value=None,
675 message_type=None, enum_type=None, containing_type=None,
676 is_extension=False, extension_scope=None,
677 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
678 ],
679 extensions=[
680 ],
681 nested_types=[],
682 enum_types=[
amit.ghoshae473032021-01-10 11:59:10 +0100683 _GETMETRICRESPONSE_REASON,
aghoshc301dcd2020-09-03 16:55:34 +0100684 ],
685 serialized_options=None,
686 is_extendable=False,
687 syntax='proto3',
688 extension_ranges=[],
689 oneofs=[
690 ],
amit.ghoshae473032021-01-10 11:59:10 +0100691 serialized_start=1167,
692 serialized_end=1406,
aghoshc301dcd2020-09-03 16:55:34 +0100693)
694
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200695_METRICCONFIG.fields_by_name['metric_id'].enum_type = _METRICNAMES
696_METRICSCONFIG.fields_by_name['metrics'].message_type = _METRICCONFIG
697_LISTMETRICSRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS
amit.ghoshae473032021-01-10 11:59:10 +0100698_LISTMETRICSRESPONSE.fields_by_name['reason'].enum_type = _LISTMETRICSRESPONSE_REASON
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200699_LISTMETRICSRESPONSE.fields_by_name['metrics'].message_type = _METRICSCONFIG
amit.ghoshae473032021-01-10 11:59:10 +0100700_LISTMETRICSRESPONSE_REASON.containing_type = _LISTMETRICSRESPONSE
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200701_METRICSCONFIGURATIONREQUEST.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID
702_METRICSCONFIGURATIONREQUEST.fields_by_name['changes'].message_type = _METRICSCONFIG
703_METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'].fields.append(
704 _METRICSCONFIGURATIONREQUEST.fields_by_name['changes'])
705_METRICSCONFIGURATIONREQUEST.fields_by_name['changes'].containing_oneof = _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation']
706_METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'].fields.append(
707 _METRICSCONFIGURATIONREQUEST.fields_by_name['reset_to_default'])
708_METRICSCONFIGURATIONREQUEST.fields_by_name['reset_to_default'].containing_oneof = _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation']
709_METRICSCONFIGURATIONRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS
amit.ghoshae473032021-01-10 11:59:10 +0100710_METRICSCONFIGURATIONRESPONSE.fields_by_name['reason'].enum_type = _METRICSCONFIGURATIONRESPONSE_REASON
711_METRICSCONFIGURATIONRESPONSE_REASON.containing_type = _METRICSCONFIGURATIONRESPONSE
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200712_METRICMETADATA.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID
713_METRICMETADATA.fields_by_name['component_uuid'].message_type = dmi_dot_hw__pb2._UUID
714_METRIC.fields_by_name['metric_id'].enum_type = _METRICNAMES
715_METRIC.fields_by_name['metric_metadata'].message_type = _METRICMETADATA
716_METRIC.fields_by_name['value'].message_type = dmi_dot_hw__pb2._COMPONENTSENSORDATA
717_GETMETRICREQUEST.fields_by_name['meta_data'].message_type = _METRICMETADATA
718_GETMETRICREQUEST.fields_by_name['metric_id'].enum_type = _METRICNAMES
aghoshc301dcd2020-09-03 16:55:34 +0100719_GETMETRICRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS
amit.ghoshae473032021-01-10 11:59:10 +0100720_GETMETRICRESPONSE.fields_by_name['reason'].enum_type = _GETMETRICRESPONSE_REASON
aghoshc301dcd2020-09-03 16:55:34 +0100721_GETMETRICRESPONSE.fields_by_name['metric'].message_type = _METRIC
amit.ghoshae473032021-01-10 11:59:10 +0100722_GETMETRICRESPONSE_REASON.containing_type = _GETMETRICRESPONSE
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200723DESCRIPTOR.message_types_by_name['MetricConfig'] = _METRICCONFIG
724DESCRIPTOR.message_types_by_name['MetricsConfig'] = _METRICSCONFIG
725DESCRIPTOR.message_types_by_name['ListMetricsResponse'] = _LISTMETRICSRESPONSE
726DESCRIPTOR.message_types_by_name['MetricsConfigurationRequest'] = _METRICSCONFIGURATIONREQUEST
727DESCRIPTOR.message_types_by_name['MetricsConfigurationResponse'] = _METRICSCONFIGURATIONRESPONSE
728DESCRIPTOR.message_types_by_name['MetricMetaData'] = _METRICMETADATA
729DESCRIPTOR.message_types_by_name['Metric'] = _METRIC
730DESCRIPTOR.message_types_by_name['GetMetricRequest'] = _GETMETRICREQUEST
aghoshc301dcd2020-09-03 16:55:34 +0100731DESCRIPTOR.message_types_by_name['GetMetricResponse'] = _GETMETRICRESPONSE
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200732DESCRIPTOR.enum_types_by_name['MetricNames'] = _METRICNAMES
733_sym_db.RegisterFileDescriptor(DESCRIPTOR)
734
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200735MetricConfig = _reflection.GeneratedProtocolMessageType('MetricConfig', (_message.Message,), {
736 'DESCRIPTOR' : _METRICCONFIG,
737 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200738 # @@protoc_insertion_point(class_scope:dmi.MetricConfig)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200739 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200740_sym_db.RegisterMessage(MetricConfig)
741
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200742MetricsConfig = _reflection.GeneratedProtocolMessageType('MetricsConfig', (_message.Message,), {
743 'DESCRIPTOR' : _METRICSCONFIG,
744 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200745 # @@protoc_insertion_point(class_scope:dmi.MetricsConfig)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200746 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200747_sym_db.RegisterMessage(MetricsConfig)
748
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200749ListMetricsResponse = _reflection.GeneratedProtocolMessageType('ListMetricsResponse', (_message.Message,), {
750 'DESCRIPTOR' : _LISTMETRICSRESPONSE,
751 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200752 # @@protoc_insertion_point(class_scope:dmi.ListMetricsResponse)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200753 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200754_sym_db.RegisterMessage(ListMetricsResponse)
755
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200756MetricsConfigurationRequest = _reflection.GeneratedProtocolMessageType('MetricsConfigurationRequest', (_message.Message,), {
757 'DESCRIPTOR' : _METRICSCONFIGURATIONREQUEST,
758 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200759 # @@protoc_insertion_point(class_scope:dmi.MetricsConfigurationRequest)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200760 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200761_sym_db.RegisterMessage(MetricsConfigurationRequest)
762
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200763MetricsConfigurationResponse = _reflection.GeneratedProtocolMessageType('MetricsConfigurationResponse', (_message.Message,), {
764 'DESCRIPTOR' : _METRICSCONFIGURATIONRESPONSE,
765 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200766 # @@protoc_insertion_point(class_scope:dmi.MetricsConfigurationResponse)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200767 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200768_sym_db.RegisterMessage(MetricsConfigurationResponse)
769
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200770MetricMetaData = _reflection.GeneratedProtocolMessageType('MetricMetaData', (_message.Message,), {
771 'DESCRIPTOR' : _METRICMETADATA,
772 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200773 # @@protoc_insertion_point(class_scope:dmi.MetricMetaData)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200774 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200775_sym_db.RegisterMessage(MetricMetaData)
776
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200777Metric = _reflection.GeneratedProtocolMessageType('Metric', (_message.Message,), {
778 'DESCRIPTOR' : _METRIC,
779 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200780 # @@protoc_insertion_point(class_scope:dmi.Metric)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200781 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200782_sym_db.RegisterMessage(Metric)
783
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200784GetMetricRequest = _reflection.GeneratedProtocolMessageType('GetMetricRequest', (_message.Message,), {
785 'DESCRIPTOR' : _GETMETRICREQUEST,
786 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200787 # @@protoc_insertion_point(class_scope:dmi.GetMetricRequest)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200788 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200789_sym_db.RegisterMessage(GetMetricRequest)
790
aghoshc301dcd2020-09-03 16:55:34 +0100791GetMetricResponse = _reflection.GeneratedProtocolMessageType('GetMetricResponse', (_message.Message,), {
792 'DESCRIPTOR' : _GETMETRICRESPONSE,
793 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
794 # @@protoc_insertion_point(class_scope:dmi.GetMetricResponse)
795 })
796_sym_db.RegisterMessage(GetMetricResponse)
797
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200798
799DESCRIPTOR._options = None
800
801_NATIVEMETRICSMANAGEMENTSERVICE = _descriptor.ServiceDescriptor(
802 name='NativeMetricsManagementService',
803 full_name='dmi.NativeMetricsManagementService',
804 file=DESCRIPTOR,
805 index=0,
806 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200807 create_key=_descriptor._internal_create_key,
amit.ghoshae473032021-01-10 11:59:10 +0100808 serialized_start=2141,
809 serialized_end=2390,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200810 methods=[
811 _descriptor.MethodDescriptor(
812 name='ListMetrics',
813 full_name='dmi.NativeMetricsManagementService.ListMetrics',
814 index=0,
815 containing_service=None,
816 input_type=dmi_dot_hw__pb2._HARDWAREID,
817 output_type=_LISTMETRICSRESPONSE,
818 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200819 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200820 ),
821 _descriptor.MethodDescriptor(
822 name='UpdateMetricsConfiguration',
823 full_name='dmi.NativeMetricsManagementService.UpdateMetricsConfiguration',
824 index=1,
825 containing_service=None,
826 input_type=_METRICSCONFIGURATIONREQUEST,
827 output_type=_METRICSCONFIGURATIONRESPONSE,
828 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200829 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200830 ),
831 _descriptor.MethodDescriptor(
832 name='GetMetric',
833 full_name='dmi.NativeMetricsManagementService.GetMetric',
834 index=2,
835 containing_service=None,
836 input_type=_GETMETRICREQUEST,
aghoshc301dcd2020-09-03 16:55:34 +0100837 output_type=_GETMETRICRESPONSE,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200838 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200839 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200840 ),
841])
842_sym_db.RegisterServiceDescriptor(_NATIVEMETRICSMANAGEMENTSERVICE)
843
844DESCRIPTOR.services_by_name['NativeMetricsManagementService'] = _NATIVEMETRICSMANAGEMENTSERVICE
845
846# @@protoc_insertion_point(module_scope)