uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 1 | # -*- coding: utf-8 -*- |
| 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 3 | # source: dmi/hw_metrics_mgmt_service.proto |
Andrea Campanella | cb990bc | 2020-09-22 12:50:56 +0200 | [diff] [blame] | 4 | """Generated protocol buffer code.""" |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 5 | from google.protobuf.internal import enum_type_wrapper |
| 6 | from google.protobuf import descriptor as _descriptor |
| 7 | from google.protobuf import message as _message |
| 8 | from google.protobuf import reflection as _reflection |
| 9 | from google.protobuf import symbol_database as _symbol_database |
| 10 | # @@protoc_insertion_point(imports) |
| 11 | |
| 12 | _sym_db = _symbol_database.Default() |
| 13 | |
| 14 | |
| 15 | from dmi import commons_pb2 as dmi_dot_commons__pb2 |
| 16 | from dmi import hw_pb2 as dmi_dot_hw__pb2 |
| 17 | |
| 18 | |
| 19 | DESCRIPTOR = _descriptor.FileDescriptor( |
| 20 | name='dmi/hw_metrics_mgmt_service.proto', |
| 21 | package='dmi', |
| 22 | syntax='proto3', |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 23 | serialized_options=b'Z9github.com/opencord/device-management-interface/v3/go/dmi', |
| 24 | create_key=_descriptor._internal_create_key, |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 25 | 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\"t\n\x13ListMetricsResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12\x1b\n\x06reason\x18\x02 \x01(\x0e\x32\x0b.dmi.Reason\x12#\n\x07metrics\x18\x03 \x01(\x0b\x32\x12.dmi.MetricsConfig\"\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\"X\n\x1cMetricsConfigurationResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12\x1b\n\x06reason\x18\x02 \x01(\x0e\x32\x0b.dmi.Reason\"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\"j\n\x11GetMetricResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12\x1b\n\x06reason\x18\x02 \x01(\x0e\x32\x0b.dmi.Reason\x12\x1b\n\x06metric\x18\x03 \x01(\x0b\x32\x0b.dmi.Metric*\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 ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 26 | , |
| 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 ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 34 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 35 | values=[ |
| 36 | _descriptor.EnumValueDescriptor( |
| 37 | name='METRIC_NAME_UNDEFINED', index=0, number=0, |
| 38 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 39 | type=None, |
| 40 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 41 | _descriptor.EnumValueDescriptor( |
| 42 | name='METRIC_FAN_SPEED', index=1, number=1, |
| 43 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 44 | type=None, |
| 45 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 46 | _descriptor.EnumValueDescriptor( |
| 47 | name='METRIC_CPU_TEMP', index=2, number=100, |
| 48 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 49 | type=None, |
| 50 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 51 | _descriptor.EnumValueDescriptor( |
| 52 | name='METRIC_CPU_USAGE_PERCENTAGE', index=3, number=101, |
| 53 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 54 | type=None, |
| 55 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 56 | _descriptor.EnumValueDescriptor( |
| 57 | name='METRIC_TRANSCEIVER_TEMP', index=4, number=200, |
| 58 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 59 | type=None, |
| 60 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 61 | _descriptor.EnumValueDescriptor( |
| 62 | name='METRIC_TRANSCEIVER_VOLTAGE', index=5, number=201, |
| 63 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 64 | type=None, |
| 65 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 66 | _descriptor.EnumValueDescriptor( |
| 67 | name='METRIC_TRANSCEIVER_BIAS', index=6, number=202, |
| 68 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 69 | type=None, |
| 70 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 71 | _descriptor.EnumValueDescriptor( |
| 72 | name='METRIC_TRANSCEIVER_RX_POWER', index=7, number=203, |
| 73 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 74 | type=None, |
| 75 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 76 | _descriptor.EnumValueDescriptor( |
| 77 | name='METRIC_TRANSCEIVER_TX_POWER', index=8, number=204, |
| 78 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 79 | type=None, |
| 80 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 81 | _descriptor.EnumValueDescriptor( |
| 82 | name='METRIC_TRANSCEIVER_WAVELENGTH', index=9, number=205, |
| 83 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 84 | type=None, |
| 85 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 86 | _descriptor.EnumValueDescriptor( |
| 87 | name='METRIC_DISK_TEMP', index=10, number=300, |
| 88 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 89 | type=None, |
| 90 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 91 | _descriptor.EnumValueDescriptor( |
| 92 | name='METRIC_DISK_CAPACITY', index=11, number=301, |
| 93 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 94 | type=None, |
| 95 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 96 | _descriptor.EnumValueDescriptor( |
| 97 | name='METRIC_DISK_USAGE', index=12, number=302, |
| 98 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 99 | type=None, |
| 100 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 101 | _descriptor.EnumValueDescriptor( |
| 102 | name='METRIC_DISK_USAGE_PERCENTAGE', index=13, number=303, |
| 103 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 104 | type=None, |
| 105 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 106 | _descriptor.EnumValueDescriptor( |
| 107 | name='METRIC_DISK_READ_WRITE_PERCENTAGE', index=14, number=304, |
| 108 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 109 | type=None, |
| 110 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 111 | _descriptor.EnumValueDescriptor( |
| 112 | name='METRIC_DISK_FAULTY_CELLS_PERCENTAGE', index=15, number=305, |
| 113 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 114 | type=None, |
| 115 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 116 | _descriptor.EnumValueDescriptor( |
| 117 | name='METRIC_RAM_TEMP', index=16, number=400, |
| 118 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 119 | type=None, |
| 120 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 121 | _descriptor.EnumValueDescriptor( |
| 122 | name='METRIC_RAM_CAPACITY', index=17, number=401, |
| 123 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 124 | type=None, |
| 125 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 126 | _descriptor.EnumValueDescriptor( |
| 127 | name='METRIC_RAM_USAGE', index=18, number=402, |
| 128 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 129 | type=None, |
| 130 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 131 | _descriptor.EnumValueDescriptor( |
| 132 | name='METRIC_RAM_USAGE_PERCENTAGE', index=19, number=403, |
| 133 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 134 | type=None, |
| 135 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 136 | _descriptor.EnumValueDescriptor( |
| 137 | name='METRIC_POWER_MAX', index=20, number=500, |
| 138 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 139 | type=None, |
| 140 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 141 | _descriptor.EnumValueDescriptor( |
| 142 | name='METRIC_POWER_USAGE', index=21, number=501, |
| 143 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 144 | type=None, |
| 145 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 146 | _descriptor.EnumValueDescriptor( |
| 147 | name='METRIC_POWER_USAGE_PERCENTAGE', index=22, number=502, |
| 148 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 149 | type=None, |
| 150 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 151 | _descriptor.EnumValueDescriptor( |
| 152 | name='METRIC_INNER_SURROUNDING_TEMP', index=23, number=600, |
| 153 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 154 | type=None, |
| 155 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 156 | ], |
| 157 | containing_type=None, |
| 158 | serialized_options=None, |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 159 | serialized_start=1029, |
| 160 | serialized_end=1758, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 161 | ) |
| 162 | _sym_db.RegisterEnumDescriptor(_METRICNAMES) |
| 163 | |
| 164 | MetricNames = enum_type_wrapper.EnumTypeWrapper(_METRICNAMES) |
| 165 | METRIC_NAME_UNDEFINED = 0 |
| 166 | METRIC_FAN_SPEED = 1 |
| 167 | METRIC_CPU_TEMP = 100 |
| 168 | METRIC_CPU_USAGE_PERCENTAGE = 101 |
| 169 | METRIC_TRANSCEIVER_TEMP = 200 |
| 170 | METRIC_TRANSCEIVER_VOLTAGE = 201 |
| 171 | METRIC_TRANSCEIVER_BIAS = 202 |
| 172 | METRIC_TRANSCEIVER_RX_POWER = 203 |
| 173 | METRIC_TRANSCEIVER_TX_POWER = 204 |
| 174 | METRIC_TRANSCEIVER_WAVELENGTH = 205 |
| 175 | METRIC_DISK_TEMP = 300 |
| 176 | METRIC_DISK_CAPACITY = 301 |
| 177 | METRIC_DISK_USAGE = 302 |
| 178 | METRIC_DISK_USAGE_PERCENTAGE = 303 |
| 179 | METRIC_DISK_READ_WRITE_PERCENTAGE = 304 |
| 180 | METRIC_DISK_FAULTY_CELLS_PERCENTAGE = 305 |
| 181 | METRIC_RAM_TEMP = 400 |
| 182 | METRIC_RAM_CAPACITY = 401 |
| 183 | METRIC_RAM_USAGE = 402 |
| 184 | METRIC_RAM_USAGE_PERCENTAGE = 403 |
| 185 | METRIC_POWER_MAX = 500 |
| 186 | METRIC_POWER_USAGE = 501 |
| 187 | METRIC_POWER_USAGE_PERCENTAGE = 502 |
| 188 | METRIC_INNER_SURROUNDING_TEMP = 600 |
| 189 | |
| 190 | |
| 191 | |
| 192 | _METRICCONFIG = _descriptor.Descriptor( |
| 193 | name='MetricConfig', |
| 194 | full_name='dmi.MetricConfig', |
| 195 | filename=None, |
| 196 | file=DESCRIPTOR, |
| 197 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 198 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 199 | fields=[ |
| 200 | _descriptor.FieldDescriptor( |
| 201 | name='metric_id', full_name='dmi.MetricConfig.metric_id', index=0, |
| 202 | number=1, type=14, cpp_type=8, label=1, |
| 203 | has_default_value=False, default_value=0, |
| 204 | message_type=None, enum_type=None, containing_type=None, |
| 205 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 206 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 207 | _descriptor.FieldDescriptor( |
| 208 | name='is_configured', full_name='dmi.MetricConfig.is_configured', index=1, |
| 209 | number=2, type=8, cpp_type=7, label=1, |
| 210 | has_default_value=False, default_value=False, |
| 211 | message_type=None, enum_type=None, containing_type=None, |
| 212 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 213 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 214 | _descriptor.FieldDescriptor( |
| 215 | name='poll_interval', full_name='dmi.MetricConfig.poll_interval', index=2, |
| 216 | number=3, type=13, cpp_type=3, label=1, |
| 217 | has_default_value=False, default_value=0, |
| 218 | message_type=None, enum_type=None, containing_type=None, |
| 219 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 220 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 221 | ], |
| 222 | extensions=[ |
| 223 | ], |
| 224 | nested_types=[], |
| 225 | enum_types=[ |
| 226 | ], |
| 227 | serialized_options=None, |
| 228 | is_extendable=False, |
| 229 | syntax='proto3', |
| 230 | extension_ranges=[], |
| 231 | oneofs=[ |
| 232 | ], |
| 233 | serialized_start=75, |
| 234 | serialized_end=172, |
| 235 | ) |
| 236 | |
| 237 | |
| 238 | _METRICSCONFIG = _descriptor.Descriptor( |
| 239 | name='MetricsConfig', |
| 240 | full_name='dmi.MetricsConfig', |
| 241 | filename=None, |
| 242 | file=DESCRIPTOR, |
| 243 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 244 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 245 | fields=[ |
| 246 | _descriptor.FieldDescriptor( |
| 247 | name='metrics', full_name='dmi.MetricsConfig.metrics', index=0, |
| 248 | number=1, type=11, cpp_type=10, label=3, |
| 249 | has_default_value=False, default_value=[], |
| 250 | message_type=None, enum_type=None, containing_type=None, |
| 251 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 252 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 253 | ], |
| 254 | extensions=[ |
| 255 | ], |
| 256 | nested_types=[], |
| 257 | enum_types=[ |
| 258 | ], |
| 259 | serialized_options=None, |
| 260 | is_extendable=False, |
| 261 | syntax='proto3', |
| 262 | extension_ranges=[], |
| 263 | oneofs=[ |
| 264 | ], |
| 265 | serialized_start=174, |
| 266 | serialized_end=225, |
| 267 | ) |
| 268 | |
| 269 | |
| 270 | _LISTMETRICSRESPONSE = _descriptor.Descriptor( |
| 271 | name='ListMetricsResponse', |
| 272 | full_name='dmi.ListMetricsResponse', |
| 273 | filename=None, |
| 274 | file=DESCRIPTOR, |
| 275 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 276 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 277 | fields=[ |
| 278 | _descriptor.FieldDescriptor( |
| 279 | name='status', full_name='dmi.ListMetricsResponse.status', index=0, |
| 280 | number=1, type=14, cpp_type=8, label=1, |
| 281 | has_default_value=False, default_value=0, |
| 282 | message_type=None, enum_type=None, containing_type=None, |
| 283 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 284 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 285 | _descriptor.FieldDescriptor( |
| 286 | name='reason', full_name='dmi.ListMetricsResponse.reason', index=1, |
| 287 | number=2, type=14, cpp_type=8, label=1, |
| 288 | has_default_value=False, default_value=0, |
| 289 | message_type=None, enum_type=None, containing_type=None, |
| 290 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 291 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 292 | _descriptor.FieldDescriptor( |
| 293 | name='metrics', full_name='dmi.ListMetricsResponse.metrics', index=2, |
| 294 | number=3, type=11, cpp_type=10, label=1, |
| 295 | has_default_value=False, default_value=None, |
| 296 | message_type=None, enum_type=None, containing_type=None, |
| 297 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 298 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 299 | ], |
| 300 | extensions=[ |
| 301 | ], |
| 302 | nested_types=[], |
| 303 | enum_types=[ |
| 304 | ], |
| 305 | serialized_options=None, |
| 306 | is_extendable=False, |
| 307 | syntax='proto3', |
| 308 | extension_ranges=[], |
| 309 | oneofs=[ |
| 310 | ], |
| 311 | serialized_start=227, |
| 312 | serialized_end=343, |
| 313 | ) |
| 314 | |
| 315 | |
| 316 | _METRICSCONFIGURATIONREQUEST = _descriptor.Descriptor( |
| 317 | name='MetricsConfigurationRequest', |
| 318 | full_name='dmi.MetricsConfigurationRequest', |
| 319 | filename=None, |
| 320 | file=DESCRIPTOR, |
| 321 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 322 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 323 | fields=[ |
| 324 | _descriptor.FieldDescriptor( |
| 325 | name='device_uuid', full_name='dmi.MetricsConfigurationRequest.device_uuid', index=0, |
| 326 | number=1, type=11, cpp_type=10, label=1, |
| 327 | has_default_value=False, default_value=None, |
| 328 | message_type=None, enum_type=None, containing_type=None, |
| 329 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 330 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 331 | _descriptor.FieldDescriptor( |
| 332 | name='changes', full_name='dmi.MetricsConfigurationRequest.changes', index=1, |
| 333 | number=2, type=11, cpp_type=10, label=1, |
| 334 | has_default_value=False, default_value=None, |
| 335 | message_type=None, enum_type=None, containing_type=None, |
| 336 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 337 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 338 | _descriptor.FieldDescriptor( |
| 339 | name='reset_to_default', full_name='dmi.MetricsConfigurationRequest.reset_to_default', index=2, |
| 340 | number=3, type=8, cpp_type=7, label=1, |
| 341 | has_default_value=False, default_value=False, |
| 342 | message_type=None, enum_type=None, containing_type=None, |
| 343 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 344 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 345 | ], |
| 346 | extensions=[ |
| 347 | ], |
| 348 | nested_types=[], |
| 349 | enum_types=[ |
| 350 | ], |
| 351 | serialized_options=None, |
| 352 | is_extendable=False, |
| 353 | syntax='proto3', |
| 354 | extension_ranges=[], |
| 355 | oneofs=[ |
| 356 | _descriptor.OneofDescriptor( |
| 357 | name='operation', full_name='dmi.MetricsConfigurationRequest.operation', |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 358 | index=0, containing_type=None, |
| 359 | create_key=_descriptor._internal_create_key, |
| 360 | fields=[]), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 361 | ], |
| 362 | serialized_start=346, |
| 363 | serialized_end=487, |
| 364 | ) |
| 365 | |
| 366 | |
| 367 | _METRICSCONFIGURATIONRESPONSE = _descriptor.Descriptor( |
| 368 | name='MetricsConfigurationResponse', |
| 369 | full_name='dmi.MetricsConfigurationResponse', |
| 370 | filename=None, |
| 371 | file=DESCRIPTOR, |
| 372 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 373 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 374 | fields=[ |
| 375 | _descriptor.FieldDescriptor( |
| 376 | name='status', full_name='dmi.MetricsConfigurationResponse.status', index=0, |
| 377 | number=1, type=14, cpp_type=8, label=1, |
| 378 | has_default_value=False, default_value=0, |
| 379 | message_type=None, enum_type=None, containing_type=None, |
| 380 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 381 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 382 | _descriptor.FieldDescriptor( |
| 383 | name='reason', full_name='dmi.MetricsConfigurationResponse.reason', index=1, |
| 384 | number=2, type=14, cpp_type=8, label=1, |
| 385 | has_default_value=False, default_value=0, |
| 386 | message_type=None, enum_type=None, containing_type=None, |
| 387 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 388 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 389 | ], |
| 390 | extensions=[ |
| 391 | ], |
| 392 | nested_types=[], |
| 393 | enum_types=[ |
| 394 | ], |
| 395 | serialized_options=None, |
| 396 | is_extendable=False, |
| 397 | syntax='proto3', |
| 398 | extension_ranges=[], |
| 399 | oneofs=[ |
| 400 | ], |
| 401 | serialized_start=489, |
| 402 | serialized_end=577, |
| 403 | ) |
| 404 | |
| 405 | |
| 406 | _METRICMETADATA = _descriptor.Descriptor( |
| 407 | name='MetricMetaData', |
| 408 | full_name='dmi.MetricMetaData', |
| 409 | filename=None, |
| 410 | file=DESCRIPTOR, |
| 411 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 412 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 413 | fields=[ |
| 414 | _descriptor.FieldDescriptor( |
| 415 | name='device_uuid', full_name='dmi.MetricMetaData.device_uuid', index=0, |
| 416 | number=1, type=11, cpp_type=10, label=1, |
| 417 | has_default_value=False, default_value=None, |
| 418 | message_type=None, enum_type=None, containing_type=None, |
| 419 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 420 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 421 | _descriptor.FieldDescriptor( |
| 422 | name='component_uuid', full_name='dmi.MetricMetaData.component_uuid', index=1, |
| 423 | number=2, type=11, cpp_type=10, label=1, |
| 424 | has_default_value=False, default_value=None, |
| 425 | message_type=None, enum_type=None, containing_type=None, |
| 426 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 427 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 428 | _descriptor.FieldDescriptor( |
| 429 | name='component_name', full_name='dmi.MetricMetaData.component_name', index=2, |
| 430 | number=3, type=9, cpp_type=9, label=1, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 431 | has_default_value=False, default_value=b"".decode('utf-8'), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 432 | message_type=None, enum_type=None, containing_type=None, |
| 433 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 434 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 435 | ], |
| 436 | extensions=[ |
| 437 | ], |
| 438 | nested_types=[], |
| 439 | enum_types=[ |
| 440 | ], |
| 441 | serialized_options=None, |
| 442 | is_extendable=False, |
| 443 | syntax='proto3', |
| 444 | extension_ranges=[], |
| 445 | oneofs=[ |
| 446 | ], |
| 447 | serialized_start=579, |
| 448 | serialized_end=686, |
| 449 | ) |
| 450 | |
| 451 | |
| 452 | _METRIC = _descriptor.Descriptor( |
| 453 | name='Metric', |
| 454 | full_name='dmi.Metric', |
| 455 | filename=None, |
| 456 | file=DESCRIPTOR, |
| 457 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 458 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 459 | fields=[ |
| 460 | _descriptor.FieldDescriptor( |
| 461 | name='metric_id', full_name='dmi.Metric.metric_id', index=0, |
| 462 | number=1, type=14, cpp_type=8, label=1, |
| 463 | has_default_value=False, default_value=0, |
| 464 | message_type=None, enum_type=None, containing_type=None, |
| 465 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 466 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 467 | _descriptor.FieldDescriptor( |
| 468 | name='metric_metadata', full_name='dmi.Metric.metric_metadata', index=1, |
| 469 | number=2, type=11, cpp_type=10, label=1, |
| 470 | has_default_value=False, default_value=None, |
| 471 | message_type=None, enum_type=None, containing_type=None, |
| 472 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 473 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 474 | _descriptor.FieldDescriptor( |
| 475 | name='value', full_name='dmi.Metric.value', index=2, |
| 476 | number=3, type=11, cpp_type=10, label=1, |
| 477 | has_default_value=False, default_value=None, |
| 478 | message_type=None, enum_type=None, containing_type=None, |
| 479 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 480 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 481 | ], |
| 482 | extensions=[ |
| 483 | ], |
| 484 | nested_types=[], |
| 485 | enum_types=[ |
| 486 | ], |
| 487 | serialized_options=None, |
| 488 | is_extendable=False, |
| 489 | syntax='proto3', |
| 490 | extension_ranges=[], |
| 491 | oneofs=[ |
| 492 | ], |
| 493 | serialized_start=689, |
| 494 | serialized_end=821, |
| 495 | ) |
| 496 | |
| 497 | |
| 498 | _GETMETRICREQUEST = _descriptor.Descriptor( |
| 499 | name='GetMetricRequest', |
| 500 | full_name='dmi.GetMetricRequest', |
| 501 | filename=None, |
| 502 | file=DESCRIPTOR, |
| 503 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 504 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 505 | fields=[ |
| 506 | _descriptor.FieldDescriptor( |
| 507 | name='meta_data', full_name='dmi.GetMetricRequest.meta_data', index=0, |
| 508 | number=1, type=11, cpp_type=10, label=1, |
| 509 | has_default_value=False, default_value=None, |
| 510 | message_type=None, enum_type=None, containing_type=None, |
| 511 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 512 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 513 | _descriptor.FieldDescriptor( |
| 514 | name='metric_id', full_name='dmi.GetMetricRequest.metric_id', index=1, |
| 515 | number=2, type=14, cpp_type=8, label=1, |
| 516 | has_default_value=False, default_value=0, |
| 517 | message_type=None, enum_type=None, containing_type=None, |
| 518 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 519 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 520 | ], |
| 521 | extensions=[ |
| 522 | ], |
| 523 | nested_types=[], |
| 524 | enum_types=[ |
| 525 | ], |
| 526 | serialized_options=None, |
| 527 | is_extendable=False, |
| 528 | syntax='proto3', |
| 529 | extension_ranges=[], |
| 530 | oneofs=[ |
| 531 | ], |
| 532 | serialized_start=823, |
| 533 | serialized_end=918, |
| 534 | ) |
| 535 | |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 536 | |
| 537 | _GETMETRICRESPONSE = _descriptor.Descriptor( |
| 538 | name='GetMetricResponse', |
| 539 | full_name='dmi.GetMetricResponse', |
| 540 | filename=None, |
| 541 | file=DESCRIPTOR, |
| 542 | containing_type=None, |
| 543 | create_key=_descriptor._internal_create_key, |
| 544 | fields=[ |
| 545 | _descriptor.FieldDescriptor( |
| 546 | name='status', full_name='dmi.GetMetricResponse.status', index=0, |
| 547 | number=1, type=14, cpp_type=8, label=1, |
| 548 | has_default_value=False, default_value=0, |
| 549 | message_type=None, enum_type=None, containing_type=None, |
| 550 | is_extension=False, extension_scope=None, |
| 551 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 552 | _descriptor.FieldDescriptor( |
| 553 | name='reason', full_name='dmi.GetMetricResponse.reason', index=1, |
| 554 | number=2, type=14, cpp_type=8, label=1, |
| 555 | has_default_value=False, default_value=0, |
| 556 | message_type=None, enum_type=None, containing_type=None, |
| 557 | is_extension=False, extension_scope=None, |
| 558 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 559 | _descriptor.FieldDescriptor( |
| 560 | name='metric', full_name='dmi.GetMetricResponse.metric', index=2, |
| 561 | number=3, type=11, cpp_type=10, label=1, |
| 562 | has_default_value=False, default_value=None, |
| 563 | message_type=None, enum_type=None, containing_type=None, |
| 564 | is_extension=False, extension_scope=None, |
| 565 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 566 | ], |
| 567 | extensions=[ |
| 568 | ], |
| 569 | nested_types=[], |
| 570 | enum_types=[ |
| 571 | ], |
| 572 | serialized_options=None, |
| 573 | is_extendable=False, |
| 574 | syntax='proto3', |
| 575 | extension_ranges=[], |
| 576 | oneofs=[ |
| 577 | ], |
| 578 | serialized_start=920, |
| 579 | serialized_end=1026, |
| 580 | ) |
| 581 | |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 582 | _METRICCONFIG.fields_by_name['metric_id'].enum_type = _METRICNAMES |
| 583 | _METRICSCONFIG.fields_by_name['metrics'].message_type = _METRICCONFIG |
| 584 | _LISTMETRICSRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS |
| 585 | _LISTMETRICSRESPONSE.fields_by_name['reason'].enum_type = dmi_dot_commons__pb2._REASON |
| 586 | _LISTMETRICSRESPONSE.fields_by_name['metrics'].message_type = _METRICSCONFIG |
| 587 | _METRICSCONFIGURATIONREQUEST.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID |
| 588 | _METRICSCONFIGURATIONREQUEST.fields_by_name['changes'].message_type = _METRICSCONFIG |
| 589 | _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'].fields.append( |
| 590 | _METRICSCONFIGURATIONREQUEST.fields_by_name['changes']) |
| 591 | _METRICSCONFIGURATIONREQUEST.fields_by_name['changes'].containing_oneof = _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'] |
| 592 | _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'].fields.append( |
| 593 | _METRICSCONFIGURATIONREQUEST.fields_by_name['reset_to_default']) |
| 594 | _METRICSCONFIGURATIONREQUEST.fields_by_name['reset_to_default'].containing_oneof = _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'] |
| 595 | _METRICSCONFIGURATIONRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS |
| 596 | _METRICSCONFIGURATIONRESPONSE.fields_by_name['reason'].enum_type = dmi_dot_commons__pb2._REASON |
| 597 | _METRICMETADATA.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID |
| 598 | _METRICMETADATA.fields_by_name['component_uuid'].message_type = dmi_dot_hw__pb2._UUID |
| 599 | _METRIC.fields_by_name['metric_id'].enum_type = _METRICNAMES |
| 600 | _METRIC.fields_by_name['metric_metadata'].message_type = _METRICMETADATA |
| 601 | _METRIC.fields_by_name['value'].message_type = dmi_dot_hw__pb2._COMPONENTSENSORDATA |
| 602 | _GETMETRICREQUEST.fields_by_name['meta_data'].message_type = _METRICMETADATA |
| 603 | _GETMETRICREQUEST.fields_by_name['metric_id'].enum_type = _METRICNAMES |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 604 | _GETMETRICRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS |
| 605 | _GETMETRICRESPONSE.fields_by_name['reason'].enum_type = dmi_dot_commons__pb2._REASON |
| 606 | _GETMETRICRESPONSE.fields_by_name['metric'].message_type = _METRIC |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 607 | DESCRIPTOR.message_types_by_name['MetricConfig'] = _METRICCONFIG |
| 608 | DESCRIPTOR.message_types_by_name['MetricsConfig'] = _METRICSCONFIG |
| 609 | DESCRIPTOR.message_types_by_name['ListMetricsResponse'] = _LISTMETRICSRESPONSE |
| 610 | DESCRIPTOR.message_types_by_name['MetricsConfigurationRequest'] = _METRICSCONFIGURATIONREQUEST |
| 611 | DESCRIPTOR.message_types_by_name['MetricsConfigurationResponse'] = _METRICSCONFIGURATIONRESPONSE |
| 612 | DESCRIPTOR.message_types_by_name['MetricMetaData'] = _METRICMETADATA |
| 613 | DESCRIPTOR.message_types_by_name['Metric'] = _METRIC |
| 614 | DESCRIPTOR.message_types_by_name['GetMetricRequest'] = _GETMETRICREQUEST |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 615 | DESCRIPTOR.message_types_by_name['GetMetricResponse'] = _GETMETRICRESPONSE |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 616 | DESCRIPTOR.enum_types_by_name['MetricNames'] = _METRICNAMES |
| 617 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) |
| 618 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 619 | MetricConfig = _reflection.GeneratedProtocolMessageType('MetricConfig', (_message.Message,), { |
| 620 | 'DESCRIPTOR' : _METRICCONFIG, |
| 621 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 622 | # @@protoc_insertion_point(class_scope:dmi.MetricConfig) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 623 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 624 | _sym_db.RegisterMessage(MetricConfig) |
| 625 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 626 | MetricsConfig = _reflection.GeneratedProtocolMessageType('MetricsConfig', (_message.Message,), { |
| 627 | 'DESCRIPTOR' : _METRICSCONFIG, |
| 628 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 629 | # @@protoc_insertion_point(class_scope:dmi.MetricsConfig) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 630 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 631 | _sym_db.RegisterMessage(MetricsConfig) |
| 632 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 633 | ListMetricsResponse = _reflection.GeneratedProtocolMessageType('ListMetricsResponse', (_message.Message,), { |
| 634 | 'DESCRIPTOR' : _LISTMETRICSRESPONSE, |
| 635 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 636 | # @@protoc_insertion_point(class_scope:dmi.ListMetricsResponse) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 637 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 638 | _sym_db.RegisterMessage(ListMetricsResponse) |
| 639 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 640 | MetricsConfigurationRequest = _reflection.GeneratedProtocolMessageType('MetricsConfigurationRequest', (_message.Message,), { |
| 641 | 'DESCRIPTOR' : _METRICSCONFIGURATIONREQUEST, |
| 642 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 643 | # @@protoc_insertion_point(class_scope:dmi.MetricsConfigurationRequest) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 644 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 645 | _sym_db.RegisterMessage(MetricsConfigurationRequest) |
| 646 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 647 | MetricsConfigurationResponse = _reflection.GeneratedProtocolMessageType('MetricsConfigurationResponse', (_message.Message,), { |
| 648 | 'DESCRIPTOR' : _METRICSCONFIGURATIONRESPONSE, |
| 649 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 650 | # @@protoc_insertion_point(class_scope:dmi.MetricsConfigurationResponse) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 651 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 652 | _sym_db.RegisterMessage(MetricsConfigurationResponse) |
| 653 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 654 | MetricMetaData = _reflection.GeneratedProtocolMessageType('MetricMetaData', (_message.Message,), { |
| 655 | 'DESCRIPTOR' : _METRICMETADATA, |
| 656 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 657 | # @@protoc_insertion_point(class_scope:dmi.MetricMetaData) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 658 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 659 | _sym_db.RegisterMessage(MetricMetaData) |
| 660 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 661 | Metric = _reflection.GeneratedProtocolMessageType('Metric', (_message.Message,), { |
| 662 | 'DESCRIPTOR' : _METRIC, |
| 663 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 664 | # @@protoc_insertion_point(class_scope:dmi.Metric) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 665 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 666 | _sym_db.RegisterMessage(Metric) |
| 667 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 668 | GetMetricRequest = _reflection.GeneratedProtocolMessageType('GetMetricRequest', (_message.Message,), { |
| 669 | 'DESCRIPTOR' : _GETMETRICREQUEST, |
| 670 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 671 | # @@protoc_insertion_point(class_scope:dmi.GetMetricRequest) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 672 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 673 | _sym_db.RegisterMessage(GetMetricRequest) |
| 674 | |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 675 | GetMetricResponse = _reflection.GeneratedProtocolMessageType('GetMetricResponse', (_message.Message,), { |
| 676 | 'DESCRIPTOR' : _GETMETRICRESPONSE, |
| 677 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
| 678 | # @@protoc_insertion_point(class_scope:dmi.GetMetricResponse) |
| 679 | }) |
| 680 | _sym_db.RegisterMessage(GetMetricResponse) |
| 681 | |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 682 | |
| 683 | DESCRIPTOR._options = None |
| 684 | |
| 685 | _NATIVEMETRICSMANAGEMENTSERVICE = _descriptor.ServiceDescriptor( |
| 686 | name='NativeMetricsManagementService', |
| 687 | full_name='dmi.NativeMetricsManagementService', |
| 688 | file=DESCRIPTOR, |
| 689 | index=0, |
| 690 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 691 | create_key=_descriptor._internal_create_key, |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 692 | serialized_start=1761, |
| 693 | serialized_end=2010, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 694 | methods=[ |
| 695 | _descriptor.MethodDescriptor( |
| 696 | name='ListMetrics', |
| 697 | full_name='dmi.NativeMetricsManagementService.ListMetrics', |
| 698 | index=0, |
| 699 | containing_service=None, |
| 700 | input_type=dmi_dot_hw__pb2._HARDWAREID, |
| 701 | output_type=_LISTMETRICSRESPONSE, |
| 702 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 703 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 704 | ), |
| 705 | _descriptor.MethodDescriptor( |
| 706 | name='UpdateMetricsConfiguration', |
| 707 | full_name='dmi.NativeMetricsManagementService.UpdateMetricsConfiguration', |
| 708 | index=1, |
| 709 | containing_service=None, |
| 710 | input_type=_METRICSCONFIGURATIONREQUEST, |
| 711 | output_type=_METRICSCONFIGURATIONRESPONSE, |
| 712 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 713 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 714 | ), |
| 715 | _descriptor.MethodDescriptor( |
| 716 | name='GetMetric', |
| 717 | full_name='dmi.NativeMetricsManagementService.GetMetric', |
| 718 | index=2, |
| 719 | containing_service=None, |
| 720 | input_type=_GETMETRICREQUEST, |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 721 | output_type=_GETMETRICRESPONSE, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 722 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 723 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 724 | ), |
| 725 | ]) |
| 726 | _sym_db.RegisterServiceDescriptor(_NATIVEMETRICSMANAGEMENTSERVICE) |
| 727 | |
| 728 | DESCRIPTOR.services_by_name['NativeMetricsManagementService'] = _NATIVEMETRICSMANAGEMENTSERVICE |
| 729 | |
| 730 | # @@protoc_insertion_point(module_scope) |