blob: e4dfac7c8269c3d97ec3232054aac9eae8b6226d [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
Chandrakanth Nalkudre Gowda68590a42021-04-22 15:19:21 +053017from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
uwe ottrembka66d91ea2020-08-11 10:50:55 +020018
19
20DESCRIPTOR = _descriptor.FileDescriptor(
21 name='dmi/hw_metrics_mgmt_service.proto',
22 package='dmi',
23 syntax='proto3',
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020024 serialized_options=b'Z9github.com/opencord/device-management-interface/v3/go/dmi',
25 create_key=_descriptor._internal_create_key,
Chandrakanth Nalkudre Gowda68590a42021-04-22 15:19:21 +053026 serialized_pb=b'\n!dmi/hw_metrics_mgmt_service.proto\x12\x03\x64mi\x1a\x11\x64mi/commons.proto\x1a\x0c\x64mi/hw.proto\x1a\x1bgoogle/protobuf/empty.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\xb1\x02\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.GetMetricResponse\x12\x36\n\rStreamMetrics\x12\x16.google.protobuf.Empty\x1a\x0b.dmi.Metric0\x01\x42;Z9github.com/opencord/device-management-interface/v3/go/dmib\x06proto3'
uwe ottrembka66d91ea2020-08-11 10:50:55 +020027 ,
Chandrakanth Nalkudre Gowda68590a42021-04-22 15:19:21 +053028 dependencies=[dmi_dot_commons__pb2.DESCRIPTOR,dmi_dot_hw__pb2.DESCRIPTOR,google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,])
uwe ottrembka66d91ea2020-08-11 10:50:55 +020029
30_METRICNAMES = _descriptor.EnumDescriptor(
31 name='MetricNames',
32 full_name='dmi.MetricNames',
33 filename=None,
34 file=DESCRIPTOR,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020035 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +020036 values=[
37 _descriptor.EnumValueDescriptor(
38 name='METRIC_NAME_UNDEFINED', index=0, number=0,
39 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020040 type=None,
41 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020042 _descriptor.EnumValueDescriptor(
43 name='METRIC_FAN_SPEED', index=1, number=1,
44 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020045 type=None,
46 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020047 _descriptor.EnumValueDescriptor(
48 name='METRIC_CPU_TEMP', index=2, number=100,
49 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020050 type=None,
51 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020052 _descriptor.EnumValueDescriptor(
53 name='METRIC_CPU_USAGE_PERCENTAGE', index=3, number=101,
54 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020055 type=None,
56 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020057 _descriptor.EnumValueDescriptor(
58 name='METRIC_TRANSCEIVER_TEMP', index=4, number=200,
59 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020060 type=None,
61 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020062 _descriptor.EnumValueDescriptor(
63 name='METRIC_TRANSCEIVER_VOLTAGE', index=5, number=201,
64 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020065 type=None,
66 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020067 _descriptor.EnumValueDescriptor(
68 name='METRIC_TRANSCEIVER_BIAS', index=6, number=202,
69 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020070 type=None,
71 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020072 _descriptor.EnumValueDescriptor(
73 name='METRIC_TRANSCEIVER_RX_POWER', index=7, number=203,
74 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020075 type=None,
76 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020077 _descriptor.EnumValueDescriptor(
78 name='METRIC_TRANSCEIVER_TX_POWER', index=8, number=204,
79 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020080 type=None,
81 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020082 _descriptor.EnumValueDescriptor(
83 name='METRIC_TRANSCEIVER_WAVELENGTH', index=9, number=205,
84 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020085 type=None,
86 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020087 _descriptor.EnumValueDescriptor(
88 name='METRIC_DISK_TEMP', index=10, number=300,
89 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020090 type=None,
91 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020092 _descriptor.EnumValueDescriptor(
93 name='METRIC_DISK_CAPACITY', index=11, number=301,
94 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020095 type=None,
96 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020097 _descriptor.EnumValueDescriptor(
98 name='METRIC_DISK_USAGE', index=12, number=302,
99 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200100 type=None,
101 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200102 _descriptor.EnumValueDescriptor(
103 name='METRIC_DISK_USAGE_PERCENTAGE', index=13, number=303,
104 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200105 type=None,
106 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200107 _descriptor.EnumValueDescriptor(
108 name='METRIC_DISK_READ_WRITE_PERCENTAGE', index=14, number=304,
109 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200110 type=None,
111 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200112 _descriptor.EnumValueDescriptor(
113 name='METRIC_DISK_FAULTY_CELLS_PERCENTAGE', index=15, number=305,
114 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200115 type=None,
116 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200117 _descriptor.EnumValueDescriptor(
118 name='METRIC_RAM_TEMP', index=16, number=400,
119 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200120 type=None,
121 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200122 _descriptor.EnumValueDescriptor(
123 name='METRIC_RAM_CAPACITY', index=17, number=401,
124 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200125 type=None,
126 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200127 _descriptor.EnumValueDescriptor(
128 name='METRIC_RAM_USAGE', index=18, number=402,
129 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200130 type=None,
131 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200132 _descriptor.EnumValueDescriptor(
133 name='METRIC_RAM_USAGE_PERCENTAGE', index=19, number=403,
134 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200135 type=None,
136 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200137 _descriptor.EnumValueDescriptor(
138 name='METRIC_POWER_MAX', index=20, number=500,
139 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200140 type=None,
141 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200142 _descriptor.EnumValueDescriptor(
143 name='METRIC_POWER_USAGE', index=21, number=501,
144 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200145 type=None,
146 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200147 _descriptor.EnumValueDescriptor(
148 name='METRIC_POWER_USAGE_PERCENTAGE', index=22, number=502,
149 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200150 type=None,
151 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200152 _descriptor.EnumValueDescriptor(
153 name='METRIC_INNER_SURROUNDING_TEMP', index=23, number=600,
154 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200155 type=None,
156 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200157 ],
158 containing_type=None,
159 serialized_options=None,
Chandrakanth Nalkudre Gowda68590a42021-04-22 15:19:21 +0530160 serialized_start=1581,
161 serialized_end=2310,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200162)
163_sym_db.RegisterEnumDescriptor(_METRICNAMES)
164
165MetricNames = enum_type_wrapper.EnumTypeWrapper(_METRICNAMES)
166METRIC_NAME_UNDEFINED = 0
167METRIC_FAN_SPEED = 1
168METRIC_CPU_TEMP = 100
169METRIC_CPU_USAGE_PERCENTAGE = 101
170METRIC_TRANSCEIVER_TEMP = 200
171METRIC_TRANSCEIVER_VOLTAGE = 201
172METRIC_TRANSCEIVER_BIAS = 202
173METRIC_TRANSCEIVER_RX_POWER = 203
174METRIC_TRANSCEIVER_TX_POWER = 204
175METRIC_TRANSCEIVER_WAVELENGTH = 205
176METRIC_DISK_TEMP = 300
177METRIC_DISK_CAPACITY = 301
178METRIC_DISK_USAGE = 302
179METRIC_DISK_USAGE_PERCENTAGE = 303
180METRIC_DISK_READ_WRITE_PERCENTAGE = 304
181METRIC_DISK_FAULTY_CELLS_PERCENTAGE = 305
182METRIC_RAM_TEMP = 400
183METRIC_RAM_CAPACITY = 401
184METRIC_RAM_USAGE = 402
185METRIC_RAM_USAGE_PERCENTAGE = 403
186METRIC_POWER_MAX = 500
187METRIC_POWER_USAGE = 501
188METRIC_POWER_USAGE_PERCENTAGE = 502
189METRIC_INNER_SURROUNDING_TEMP = 600
190
191
amit.ghoshae473032021-01-10 11:59:10 +0100192_LISTMETRICSRESPONSE_REASON = _descriptor.EnumDescriptor(
193 name='Reason',
194 full_name='dmi.ListMetricsResponse.Reason',
195 filename=None,
196 file=DESCRIPTOR,
197 create_key=_descriptor._internal_create_key,
198 values=[
199 _descriptor.EnumValueDescriptor(
200 name='UNDEFINED_REASON', index=0, number=0,
201 serialized_options=None,
202 type=None,
203 create_key=_descriptor._internal_create_key),
204 _descriptor.EnumValueDescriptor(
205 name='UNKNOWN_DEVICE', index=1, number=1,
206 serialized_options=None,
207 type=None,
208 create_key=_descriptor._internal_create_key),
209 _descriptor.EnumValueDescriptor(
210 name='INTERNAL_ERROR', index=2, number=2,
211 serialized_options=None,
212 type=None,
213 create_key=_descriptor._internal_create_key),
amit.ghoshbd2022e2021-02-22 05:58:53 +0100214 _descriptor.EnumValueDescriptor(
215 name='DEVICE_UNREACHABLE', index=3, number=3,
216 serialized_options=None,
217 type=None,
218 create_key=_descriptor._internal_create_key),
amit.ghoshae473032021-01-10 11:59:10 +0100219 ],
220 containing_type=None,
221 serialized_options=None,
Chandrakanth Nalkudre Gowda68590a42021-04-22 15:19:21 +0530222 serialized_start=418,
223 serialized_end=512,
amit.ghoshae473032021-01-10 11:59:10 +0100224)
225_sym_db.RegisterEnumDescriptor(_LISTMETRICSRESPONSE_REASON)
226
227_METRICSCONFIGURATIONRESPONSE_REASON = _descriptor.EnumDescriptor(
228 name='Reason',
229 full_name='dmi.MetricsConfigurationResponse.Reason',
230 filename=None,
231 file=DESCRIPTOR,
232 create_key=_descriptor._internal_create_key,
233 values=[
234 _descriptor.EnumValueDescriptor(
235 name='UNDEFINED_REASON', index=0, number=0,
236 serialized_options=None,
237 type=None,
238 create_key=_descriptor._internal_create_key),
239 _descriptor.EnumValueDescriptor(
240 name='UNKNOWN_DEVICE', index=1, number=1,
241 serialized_options=None,
242 type=None,
243 create_key=_descriptor._internal_create_key),
244 _descriptor.EnumValueDescriptor(
245 name='INTERNAL_ERROR', index=2, number=2,
246 serialized_options=None,
247 type=None,
248 create_key=_descriptor._internal_create_key),
249 _descriptor.EnumValueDescriptor(
250 name='POLL_INTERVAL_UNSUPPORTED', index=3, number=3,
251 serialized_options=None,
252 type=None,
253 create_key=_descriptor._internal_create_key),
254 _descriptor.EnumValueDescriptor(
255 name='INVALID_METRIC', index=4, number=4,
256 serialized_options=None,
257 type=None,
258 create_key=_descriptor._internal_create_key),
amit.ghoshbd2022e2021-02-22 05:58:53 +0100259 _descriptor.EnumValueDescriptor(
260 name='DEVICE_UNREACHABLE', index=5, number=5,
261 serialized_options=None,
262 type=None,
263 create_key=_descriptor._internal_create_key),
amit.ghoshae473032021-01-10 11:59:10 +0100264 ],
265 containing_type=None,
266 serialized_options=None,
Chandrakanth Nalkudre Gowda68590a42021-04-22 15:19:21 +0530267 serialized_start=802,
268 serialized_end=947,
amit.ghoshae473032021-01-10 11:59:10 +0100269)
270_sym_db.RegisterEnumDescriptor(_METRICSCONFIGURATIONRESPONSE_REASON)
271
272_GETMETRICRESPONSE_REASON = _descriptor.EnumDescriptor(
273 name='Reason',
274 full_name='dmi.GetMetricResponse.Reason',
275 filename=None,
276 file=DESCRIPTOR,
277 create_key=_descriptor._internal_create_key,
278 values=[
279 _descriptor.EnumValueDescriptor(
280 name='UNDEFINED_REASON', index=0, number=0,
281 serialized_options=None,
282 type=None,
283 create_key=_descriptor._internal_create_key),
284 _descriptor.EnumValueDescriptor(
285 name='UNKNOWN_DEVICE', index=1, number=1,
286 serialized_options=None,
287 type=None,
288 create_key=_descriptor._internal_create_key),
289 _descriptor.EnumValueDescriptor(
290 name='UNKNOWN_COMPONENT', index=2, number=2,
291 serialized_options=None,
292 type=None,
293 create_key=_descriptor._internal_create_key),
294 _descriptor.EnumValueDescriptor(
295 name='INTERNAL_ERROR', index=3, number=3,
296 serialized_options=None,
297 type=None,
298 create_key=_descriptor._internal_create_key),
299 _descriptor.EnumValueDescriptor(
300 name='INVALID_METRIC', index=4, number=4,
301 serialized_options=None,
302 type=None,
303 create_key=_descriptor._internal_create_key),
amit.ghoshbd2022e2021-02-22 05:58:53 +0100304 _descriptor.EnumValueDescriptor(
305 name='DEVICE_UNREACHABLE', index=5, number=5,
306 serialized_options=None,
307 type=None,
308 create_key=_descriptor._internal_create_key),
amit.ghoshae473032021-01-10 11:59:10 +0100309 ],
310 containing_type=None,
311 serialized_options=None,
Chandrakanth Nalkudre Gowda68590a42021-04-22 15:19:21 +0530312 serialized_start=1441,
313 serialized_end=1578,
amit.ghoshae473032021-01-10 11:59:10 +0100314)
315_sym_db.RegisterEnumDescriptor(_GETMETRICRESPONSE_REASON)
316
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200317
318_METRICCONFIG = _descriptor.Descriptor(
319 name='MetricConfig',
320 full_name='dmi.MetricConfig',
321 filename=None,
322 file=DESCRIPTOR,
323 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200324 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200325 fields=[
326 _descriptor.FieldDescriptor(
327 name='metric_id', full_name='dmi.MetricConfig.metric_id', index=0,
328 number=1, type=14, cpp_type=8, label=1,
329 has_default_value=False, default_value=0,
330 message_type=None, enum_type=None, containing_type=None,
331 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200332 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200333 _descriptor.FieldDescriptor(
334 name='is_configured', full_name='dmi.MetricConfig.is_configured', index=1,
335 number=2, type=8, cpp_type=7, label=1,
336 has_default_value=False, default_value=False,
337 message_type=None, enum_type=None, containing_type=None,
338 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200339 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200340 _descriptor.FieldDescriptor(
341 name='poll_interval', full_name='dmi.MetricConfig.poll_interval', index=2,
342 number=3, type=13, cpp_type=3, label=1,
343 has_default_value=False, default_value=0,
344 message_type=None, enum_type=None, containing_type=None,
345 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200346 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200347 ],
348 extensions=[
349 ],
350 nested_types=[],
351 enum_types=[
352 ],
353 serialized_options=None,
354 is_extendable=False,
355 syntax='proto3',
356 extension_ranges=[],
357 oneofs=[
358 ],
Chandrakanth Nalkudre Gowda68590a42021-04-22 15:19:21 +0530359 serialized_start=104,
360 serialized_end=201,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200361)
362
363
364_METRICSCONFIG = _descriptor.Descriptor(
365 name='MetricsConfig',
366 full_name='dmi.MetricsConfig',
367 filename=None,
368 file=DESCRIPTOR,
369 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200370 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200371 fields=[
372 _descriptor.FieldDescriptor(
373 name='metrics', full_name='dmi.MetricsConfig.metrics', index=0,
374 number=1, type=11, cpp_type=10, label=3,
375 has_default_value=False, default_value=[],
376 message_type=None, enum_type=None, containing_type=None,
377 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200378 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200379 ],
380 extensions=[
381 ],
382 nested_types=[],
383 enum_types=[
384 ],
385 serialized_options=None,
386 is_extendable=False,
387 syntax='proto3',
388 extension_ranges=[],
389 oneofs=[
390 ],
Chandrakanth Nalkudre Gowda68590a42021-04-22 15:19:21 +0530391 serialized_start=203,
392 serialized_end=254,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200393)
394
395
396_LISTMETRICSRESPONSE = _descriptor.Descriptor(
397 name='ListMetricsResponse',
398 full_name='dmi.ListMetricsResponse',
399 filename=None,
400 file=DESCRIPTOR,
401 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200402 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200403 fields=[
404 _descriptor.FieldDescriptor(
405 name='status', full_name='dmi.ListMetricsResponse.status', index=0,
406 number=1, type=14, cpp_type=8, label=1,
407 has_default_value=False, default_value=0,
408 message_type=None, enum_type=None, containing_type=None,
409 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200410 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200411 _descriptor.FieldDescriptor(
412 name='reason', full_name='dmi.ListMetricsResponse.reason', index=1,
413 number=2, type=14, cpp_type=8, label=1,
414 has_default_value=False, default_value=0,
415 message_type=None, enum_type=None, containing_type=None,
416 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200417 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200418 _descriptor.FieldDescriptor(
419 name='metrics', full_name='dmi.ListMetricsResponse.metrics', index=2,
420 number=3, type=11, cpp_type=10, label=1,
421 has_default_value=False, default_value=None,
422 message_type=None, enum_type=None, containing_type=None,
423 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200424 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100425 _descriptor.FieldDescriptor(
426 name='reason_detail', full_name='dmi.ListMetricsResponse.reason_detail', index=3,
427 number=4, type=9, cpp_type=9, label=1,
428 has_default_value=False, default_value=b"".decode('utf-8'),
429 message_type=None, enum_type=None, containing_type=None,
430 is_extension=False, extension_scope=None,
431 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200432 ],
433 extensions=[
434 ],
435 nested_types=[],
436 enum_types=[
amit.ghoshae473032021-01-10 11:59:10 +0100437 _LISTMETRICSRESPONSE_REASON,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200438 ],
439 serialized_options=None,
440 is_extendable=False,
441 syntax='proto3',
442 extension_ranges=[],
443 oneofs=[
444 ],
Chandrakanth Nalkudre Gowda68590a42021-04-22 15:19:21 +0530445 serialized_start=257,
446 serialized_end=512,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200447)
448
449
450_METRICSCONFIGURATIONREQUEST = _descriptor.Descriptor(
451 name='MetricsConfigurationRequest',
452 full_name='dmi.MetricsConfigurationRequest',
453 filename=None,
454 file=DESCRIPTOR,
455 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200456 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200457 fields=[
458 _descriptor.FieldDescriptor(
459 name='device_uuid', full_name='dmi.MetricsConfigurationRequest.device_uuid', index=0,
460 number=1, type=11, cpp_type=10, label=1,
461 has_default_value=False, default_value=None,
462 message_type=None, enum_type=None, containing_type=None,
463 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200464 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200465 _descriptor.FieldDescriptor(
466 name='changes', full_name='dmi.MetricsConfigurationRequest.changes', index=1,
467 number=2, type=11, cpp_type=10, label=1,
468 has_default_value=False, default_value=None,
469 message_type=None, enum_type=None, containing_type=None,
470 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200471 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200472 _descriptor.FieldDescriptor(
473 name='reset_to_default', full_name='dmi.MetricsConfigurationRequest.reset_to_default', index=2,
474 number=3, type=8, cpp_type=7, label=1,
475 has_default_value=False, default_value=False,
476 message_type=None, enum_type=None, containing_type=None,
477 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200478 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200479 ],
480 extensions=[
481 ],
482 nested_types=[],
483 enum_types=[
484 ],
485 serialized_options=None,
486 is_extendable=False,
487 syntax='proto3',
488 extension_ranges=[],
489 oneofs=[
490 _descriptor.OneofDescriptor(
491 name='operation', full_name='dmi.MetricsConfigurationRequest.operation',
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200492 index=0, containing_type=None,
493 create_key=_descriptor._internal_create_key,
494 fields=[]),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200495 ],
Chandrakanth Nalkudre Gowda68590a42021-04-22 15:19:21 +0530496 serialized_start=515,
497 serialized_end=656,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200498)
499
500
501_METRICSCONFIGURATIONRESPONSE = _descriptor.Descriptor(
502 name='MetricsConfigurationResponse',
503 full_name='dmi.MetricsConfigurationResponse',
504 filename=None,
505 file=DESCRIPTOR,
506 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200507 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200508 fields=[
509 _descriptor.FieldDescriptor(
510 name='status', full_name='dmi.MetricsConfigurationResponse.status', index=0,
511 number=1, type=14, cpp_type=8, label=1,
512 has_default_value=False, default_value=0,
513 message_type=None, enum_type=None, containing_type=None,
514 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200515 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200516 _descriptor.FieldDescriptor(
517 name='reason', full_name='dmi.MetricsConfigurationResponse.reason', index=1,
518 number=2, type=14, cpp_type=8, label=1,
519 has_default_value=False, default_value=0,
520 message_type=None, enum_type=None, containing_type=None,
521 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200522 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100523 _descriptor.FieldDescriptor(
524 name='reason_detail', full_name='dmi.MetricsConfigurationResponse.reason_detail', index=2,
525 number=3, type=9, cpp_type=9, label=1,
526 has_default_value=False, default_value=b"".decode('utf-8'),
527 message_type=None, enum_type=None, containing_type=None,
528 is_extension=False, extension_scope=None,
529 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200530 ],
531 extensions=[
532 ],
533 nested_types=[],
534 enum_types=[
amit.ghoshae473032021-01-10 11:59:10 +0100535 _METRICSCONFIGURATIONRESPONSE_REASON,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200536 ],
537 serialized_options=None,
538 is_extendable=False,
539 syntax='proto3',
540 extension_ranges=[],
541 oneofs=[
542 ],
Chandrakanth Nalkudre Gowda68590a42021-04-22 15:19:21 +0530543 serialized_start=659,
544 serialized_end=947,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200545)
546
547
548_METRICMETADATA = _descriptor.Descriptor(
549 name='MetricMetaData',
550 full_name='dmi.MetricMetaData',
551 filename=None,
552 file=DESCRIPTOR,
553 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200554 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200555 fields=[
556 _descriptor.FieldDescriptor(
557 name='device_uuid', full_name='dmi.MetricMetaData.device_uuid', index=0,
558 number=1, type=11, cpp_type=10, label=1,
559 has_default_value=False, default_value=None,
560 message_type=None, enum_type=None, containing_type=None,
561 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200562 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200563 _descriptor.FieldDescriptor(
564 name='component_uuid', full_name='dmi.MetricMetaData.component_uuid', index=1,
565 number=2, type=11, cpp_type=10, label=1,
566 has_default_value=False, default_value=None,
567 message_type=None, enum_type=None, containing_type=None,
568 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200569 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200570 _descriptor.FieldDescriptor(
571 name='component_name', full_name='dmi.MetricMetaData.component_name', index=2,
572 number=3, type=9, cpp_type=9, label=1,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200573 has_default_value=False, default_value=b"".decode('utf-8'),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200574 message_type=None, enum_type=None, containing_type=None,
575 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200576 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200577 ],
578 extensions=[
579 ],
580 nested_types=[],
581 enum_types=[
582 ],
583 serialized_options=None,
584 is_extendable=False,
585 syntax='proto3',
586 extension_ranges=[],
587 oneofs=[
588 ],
Chandrakanth Nalkudre Gowda68590a42021-04-22 15:19:21 +0530589 serialized_start=949,
590 serialized_end=1056,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200591)
592
593
594_METRIC = _descriptor.Descriptor(
595 name='Metric',
596 full_name='dmi.Metric',
597 filename=None,
598 file=DESCRIPTOR,
599 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200600 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200601 fields=[
602 _descriptor.FieldDescriptor(
603 name='metric_id', full_name='dmi.Metric.metric_id', index=0,
604 number=1, type=14, cpp_type=8, label=1,
605 has_default_value=False, default_value=0,
606 message_type=None, enum_type=None, containing_type=None,
607 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200608 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200609 _descriptor.FieldDescriptor(
610 name='metric_metadata', full_name='dmi.Metric.metric_metadata', index=1,
611 number=2, type=11, cpp_type=10, label=1,
612 has_default_value=False, default_value=None,
613 message_type=None, enum_type=None, containing_type=None,
614 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200615 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200616 _descriptor.FieldDescriptor(
617 name='value', full_name='dmi.Metric.value', index=2,
618 number=3, type=11, cpp_type=10, label=1,
619 has_default_value=False, default_value=None,
620 message_type=None, enum_type=None, containing_type=None,
621 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200622 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200623 ],
624 extensions=[
625 ],
626 nested_types=[],
627 enum_types=[
628 ],
629 serialized_options=None,
630 is_extendable=False,
631 syntax='proto3',
632 extension_ranges=[],
633 oneofs=[
634 ],
Chandrakanth Nalkudre Gowda68590a42021-04-22 15:19:21 +0530635 serialized_start=1059,
636 serialized_end=1191,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200637)
638
639
640_GETMETRICREQUEST = _descriptor.Descriptor(
641 name='GetMetricRequest',
642 full_name='dmi.GetMetricRequest',
643 filename=None,
644 file=DESCRIPTOR,
645 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200646 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200647 fields=[
648 _descriptor.FieldDescriptor(
649 name='meta_data', full_name='dmi.GetMetricRequest.meta_data', index=0,
650 number=1, type=11, cpp_type=10, label=1,
651 has_default_value=False, default_value=None,
652 message_type=None, enum_type=None, containing_type=None,
653 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200654 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200655 _descriptor.FieldDescriptor(
656 name='metric_id', full_name='dmi.GetMetricRequest.metric_id', index=1,
657 number=2, type=14, cpp_type=8, label=1,
658 has_default_value=False, default_value=0,
659 message_type=None, enum_type=None, containing_type=None,
660 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200661 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200662 ],
663 extensions=[
664 ],
665 nested_types=[],
666 enum_types=[
667 ],
668 serialized_options=None,
669 is_extendable=False,
670 syntax='proto3',
671 extension_ranges=[],
672 oneofs=[
673 ],
Chandrakanth Nalkudre Gowda68590a42021-04-22 15:19:21 +0530674 serialized_start=1193,
675 serialized_end=1288,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200676)
677
aghoshc301dcd2020-09-03 16:55:34 +0100678
679_GETMETRICRESPONSE = _descriptor.Descriptor(
680 name='GetMetricResponse',
681 full_name='dmi.GetMetricResponse',
682 filename=None,
683 file=DESCRIPTOR,
684 containing_type=None,
685 create_key=_descriptor._internal_create_key,
686 fields=[
687 _descriptor.FieldDescriptor(
688 name='status', full_name='dmi.GetMetricResponse.status', index=0,
689 number=1, type=14, cpp_type=8, label=1,
690 has_default_value=False, default_value=0,
691 message_type=None, enum_type=None, containing_type=None,
692 is_extension=False, extension_scope=None,
693 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
694 _descriptor.FieldDescriptor(
695 name='reason', full_name='dmi.GetMetricResponse.reason', index=1,
696 number=2, type=14, cpp_type=8, label=1,
697 has_default_value=False, default_value=0,
698 message_type=None, enum_type=None, containing_type=None,
699 is_extension=False, extension_scope=None,
700 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
701 _descriptor.FieldDescriptor(
702 name='metric', full_name='dmi.GetMetricResponse.metric', index=2,
703 number=3, type=11, cpp_type=10, label=1,
704 has_default_value=False, default_value=None,
705 message_type=None, enum_type=None, containing_type=None,
706 is_extension=False, extension_scope=None,
707 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
amit.ghosh8ab1e6e2021-02-23 07:40:17 +0100708 _descriptor.FieldDescriptor(
709 name='reason_detail', full_name='dmi.GetMetricResponse.reason_detail', index=3,
710 number=4, type=9, cpp_type=9, label=1,
711 has_default_value=False, default_value=b"".decode('utf-8'),
712 message_type=None, enum_type=None, containing_type=None,
713 is_extension=False, extension_scope=None,
714 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
aghoshc301dcd2020-09-03 16:55:34 +0100715 ],
716 extensions=[
717 ],
718 nested_types=[],
719 enum_types=[
amit.ghoshae473032021-01-10 11:59:10 +0100720 _GETMETRICRESPONSE_REASON,
aghoshc301dcd2020-09-03 16:55:34 +0100721 ],
722 serialized_options=None,
723 is_extendable=False,
724 syntax='proto3',
725 extension_ranges=[],
726 oneofs=[
727 ],
Chandrakanth Nalkudre Gowda68590a42021-04-22 15:19:21 +0530728 serialized_start=1291,
729 serialized_end=1578,
aghoshc301dcd2020-09-03 16:55:34 +0100730)
731
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200732_METRICCONFIG.fields_by_name['metric_id'].enum_type = _METRICNAMES
733_METRICSCONFIG.fields_by_name['metrics'].message_type = _METRICCONFIG
734_LISTMETRICSRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS
amit.ghoshae473032021-01-10 11:59:10 +0100735_LISTMETRICSRESPONSE.fields_by_name['reason'].enum_type = _LISTMETRICSRESPONSE_REASON
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200736_LISTMETRICSRESPONSE.fields_by_name['metrics'].message_type = _METRICSCONFIG
amit.ghoshae473032021-01-10 11:59:10 +0100737_LISTMETRICSRESPONSE_REASON.containing_type = _LISTMETRICSRESPONSE
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200738_METRICSCONFIGURATIONREQUEST.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID
739_METRICSCONFIGURATIONREQUEST.fields_by_name['changes'].message_type = _METRICSCONFIG
740_METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'].fields.append(
741 _METRICSCONFIGURATIONREQUEST.fields_by_name['changes'])
742_METRICSCONFIGURATIONREQUEST.fields_by_name['changes'].containing_oneof = _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation']
743_METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'].fields.append(
744 _METRICSCONFIGURATIONREQUEST.fields_by_name['reset_to_default'])
745_METRICSCONFIGURATIONREQUEST.fields_by_name['reset_to_default'].containing_oneof = _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation']
746_METRICSCONFIGURATIONRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS
amit.ghoshae473032021-01-10 11:59:10 +0100747_METRICSCONFIGURATIONRESPONSE.fields_by_name['reason'].enum_type = _METRICSCONFIGURATIONRESPONSE_REASON
748_METRICSCONFIGURATIONRESPONSE_REASON.containing_type = _METRICSCONFIGURATIONRESPONSE
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200749_METRICMETADATA.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID
750_METRICMETADATA.fields_by_name['component_uuid'].message_type = dmi_dot_hw__pb2._UUID
751_METRIC.fields_by_name['metric_id'].enum_type = _METRICNAMES
752_METRIC.fields_by_name['metric_metadata'].message_type = _METRICMETADATA
753_METRIC.fields_by_name['value'].message_type = dmi_dot_hw__pb2._COMPONENTSENSORDATA
754_GETMETRICREQUEST.fields_by_name['meta_data'].message_type = _METRICMETADATA
755_GETMETRICREQUEST.fields_by_name['metric_id'].enum_type = _METRICNAMES
aghoshc301dcd2020-09-03 16:55:34 +0100756_GETMETRICRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS
amit.ghoshae473032021-01-10 11:59:10 +0100757_GETMETRICRESPONSE.fields_by_name['reason'].enum_type = _GETMETRICRESPONSE_REASON
aghoshc301dcd2020-09-03 16:55:34 +0100758_GETMETRICRESPONSE.fields_by_name['metric'].message_type = _METRIC
amit.ghoshae473032021-01-10 11:59:10 +0100759_GETMETRICRESPONSE_REASON.containing_type = _GETMETRICRESPONSE
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200760DESCRIPTOR.message_types_by_name['MetricConfig'] = _METRICCONFIG
761DESCRIPTOR.message_types_by_name['MetricsConfig'] = _METRICSCONFIG
762DESCRIPTOR.message_types_by_name['ListMetricsResponse'] = _LISTMETRICSRESPONSE
763DESCRIPTOR.message_types_by_name['MetricsConfigurationRequest'] = _METRICSCONFIGURATIONREQUEST
764DESCRIPTOR.message_types_by_name['MetricsConfigurationResponse'] = _METRICSCONFIGURATIONRESPONSE
765DESCRIPTOR.message_types_by_name['MetricMetaData'] = _METRICMETADATA
766DESCRIPTOR.message_types_by_name['Metric'] = _METRIC
767DESCRIPTOR.message_types_by_name['GetMetricRequest'] = _GETMETRICREQUEST
aghoshc301dcd2020-09-03 16:55:34 +0100768DESCRIPTOR.message_types_by_name['GetMetricResponse'] = _GETMETRICRESPONSE
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200769DESCRIPTOR.enum_types_by_name['MetricNames'] = _METRICNAMES
770_sym_db.RegisterFileDescriptor(DESCRIPTOR)
771
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200772MetricConfig = _reflection.GeneratedProtocolMessageType('MetricConfig', (_message.Message,), {
773 'DESCRIPTOR' : _METRICCONFIG,
774 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200775 # @@protoc_insertion_point(class_scope:dmi.MetricConfig)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200776 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200777_sym_db.RegisterMessage(MetricConfig)
778
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200779MetricsConfig = _reflection.GeneratedProtocolMessageType('MetricsConfig', (_message.Message,), {
780 'DESCRIPTOR' : _METRICSCONFIG,
781 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200782 # @@protoc_insertion_point(class_scope:dmi.MetricsConfig)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200783 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200784_sym_db.RegisterMessage(MetricsConfig)
785
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200786ListMetricsResponse = _reflection.GeneratedProtocolMessageType('ListMetricsResponse', (_message.Message,), {
787 'DESCRIPTOR' : _LISTMETRICSRESPONSE,
788 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200789 # @@protoc_insertion_point(class_scope:dmi.ListMetricsResponse)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200790 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200791_sym_db.RegisterMessage(ListMetricsResponse)
792
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200793MetricsConfigurationRequest = _reflection.GeneratedProtocolMessageType('MetricsConfigurationRequest', (_message.Message,), {
794 'DESCRIPTOR' : _METRICSCONFIGURATIONREQUEST,
795 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200796 # @@protoc_insertion_point(class_scope:dmi.MetricsConfigurationRequest)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200797 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200798_sym_db.RegisterMessage(MetricsConfigurationRequest)
799
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200800MetricsConfigurationResponse = _reflection.GeneratedProtocolMessageType('MetricsConfigurationResponse', (_message.Message,), {
801 'DESCRIPTOR' : _METRICSCONFIGURATIONRESPONSE,
802 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200803 # @@protoc_insertion_point(class_scope:dmi.MetricsConfigurationResponse)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200804 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200805_sym_db.RegisterMessage(MetricsConfigurationResponse)
806
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200807MetricMetaData = _reflection.GeneratedProtocolMessageType('MetricMetaData', (_message.Message,), {
808 'DESCRIPTOR' : _METRICMETADATA,
809 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200810 # @@protoc_insertion_point(class_scope:dmi.MetricMetaData)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200811 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200812_sym_db.RegisterMessage(MetricMetaData)
813
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200814Metric = _reflection.GeneratedProtocolMessageType('Metric', (_message.Message,), {
815 'DESCRIPTOR' : _METRIC,
816 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200817 # @@protoc_insertion_point(class_scope:dmi.Metric)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200818 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200819_sym_db.RegisterMessage(Metric)
820
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200821GetMetricRequest = _reflection.GeneratedProtocolMessageType('GetMetricRequest', (_message.Message,), {
822 'DESCRIPTOR' : _GETMETRICREQUEST,
823 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200824 # @@protoc_insertion_point(class_scope:dmi.GetMetricRequest)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200825 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200826_sym_db.RegisterMessage(GetMetricRequest)
827
aghoshc301dcd2020-09-03 16:55:34 +0100828GetMetricResponse = _reflection.GeneratedProtocolMessageType('GetMetricResponse', (_message.Message,), {
829 'DESCRIPTOR' : _GETMETRICRESPONSE,
830 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
831 # @@protoc_insertion_point(class_scope:dmi.GetMetricResponse)
832 })
833_sym_db.RegisterMessage(GetMetricResponse)
834
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200835
836DESCRIPTOR._options = None
837
838_NATIVEMETRICSMANAGEMENTSERVICE = _descriptor.ServiceDescriptor(
839 name='NativeMetricsManagementService',
840 full_name='dmi.NativeMetricsManagementService',
841 file=DESCRIPTOR,
842 index=0,
843 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200844 create_key=_descriptor._internal_create_key,
Chandrakanth Nalkudre Gowda68590a42021-04-22 15:19:21 +0530845 serialized_start=2313,
846 serialized_end=2618,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200847 methods=[
848 _descriptor.MethodDescriptor(
849 name='ListMetrics',
850 full_name='dmi.NativeMetricsManagementService.ListMetrics',
851 index=0,
852 containing_service=None,
853 input_type=dmi_dot_hw__pb2._HARDWAREID,
854 output_type=_LISTMETRICSRESPONSE,
855 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200856 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200857 ),
858 _descriptor.MethodDescriptor(
859 name='UpdateMetricsConfiguration',
860 full_name='dmi.NativeMetricsManagementService.UpdateMetricsConfiguration',
861 index=1,
862 containing_service=None,
863 input_type=_METRICSCONFIGURATIONREQUEST,
864 output_type=_METRICSCONFIGURATIONRESPONSE,
865 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200866 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200867 ),
868 _descriptor.MethodDescriptor(
869 name='GetMetric',
870 full_name='dmi.NativeMetricsManagementService.GetMetric',
871 index=2,
872 containing_service=None,
873 input_type=_GETMETRICREQUEST,
aghoshc301dcd2020-09-03 16:55:34 +0100874 output_type=_GETMETRICRESPONSE,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200875 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200876 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200877 ),
Chandrakanth Nalkudre Gowda68590a42021-04-22 15:19:21 +0530878 _descriptor.MethodDescriptor(
879 name='StreamMetrics',
880 full_name='dmi.NativeMetricsManagementService.StreamMetrics',
881 index=3,
882 containing_service=None,
883 input_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
884 output_type=_METRIC,
885 serialized_options=None,
886 create_key=_descriptor._internal_create_key,
887 ),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200888])
889_sym_db.RegisterServiceDescriptor(_NATIVEMETRICSMANAGEMENTSERVICE)
890
891DESCRIPTOR.services_by_name['NativeMetricsManagementService'] = _NATIVEMETRICSMANAGEMENTSERVICE
892
893# @@protoc_insertion_point(module_scope)