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, |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +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\"\xff\x01\n\x13ListMetricsResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12/\n\x06reason\x18\x02 \x01(\x0e\x32\x1f.dmi.ListMetricsResponse.Reason\x12#\n\x07metrics\x18\x03 \x01(\x0b\x32\x12.dmi.MetricsConfig\x12\x15\n\rreason_detail\x18\x04 \x01(\t\"^\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x03\"\x8d\x01\n\x1bMetricsConfigurationRequest\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12%\n\x07\x63hanges\x18\x02 \x01(\x0b\x32\x12.dmi.MetricsConfigH\x00\x12\x1a\n\x10reset_to_default\x18\x03 \x01(\x08H\x00\x42\x0b\n\toperation\"\xa0\x02\n\x1cMetricsConfigurationResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12\x38\n\x06reason\x18\x02 \x01(\x0e\x32(.dmi.MetricsConfigurationResponse.Reason\x12\x15\n\rreason_detail\x18\x03 \x01(\t\"\x91\x01\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x1d\n\x19POLL_INTERVAL_UNSUPPORTED\x10\x03\x12\x12\n\x0eINVALID_METRIC\x10\x04\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x05\"k\n\x0eMetricMetaData\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12!\n\x0e\x63omponent_uuid\x18\x02 \x01(\x0b\x32\t.dmi.Uuid\x12\x16\n\x0e\x63omponent_name\x18\x03 \x01(\t\"\x84\x01\n\x06Metric\x12#\n\tmetric_id\x18\x01 \x01(\x0e\x32\x10.dmi.MetricNames\x12,\n\x0fmetric_metadata\x18\x02 \x01(\x0b\x32\x13.dmi.MetricMetaData\x12\'\n\x05value\x18\x03 \x01(\x0b\x32\x18.dmi.ComponentSensorData\"_\n\x10GetMetricRequest\x12&\n\tmeta_data\x18\x01 \x01(\x0b\x32\x13.dmi.MetricMetaData\x12#\n\tmetric_id\x18\x02 \x01(\x0e\x32\x10.dmi.MetricNames\"\x9f\x02\n\x11GetMetricResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12-\n\x06reason\x18\x02 \x01(\x0e\x32\x1d.dmi.GetMetricResponse.Reason\x12\x1b\n\x06metric\x18\x03 \x01(\x0b\x32\x0b.dmi.Metric\x12\x15\n\rreason_detail\x18\x04 \x01(\t\"\x89\x01\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x15\n\x11UNKNOWN_COMPONENT\x10\x02\x12\x12\n\x0eINTERNAL_ERROR\x10\x03\x12\x12\n\x0eINVALID_METRIC\x10\x04\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x05*\xd9\x05\n\x0bMetricNames\x12\x19\n\x15METRIC_NAME_UNDEFINED\x10\x00\x12\x14\n\x10METRIC_FAN_SPEED\x10\x01\x12\x13\n\x0fMETRIC_CPU_TEMP\x10\x64\x12\x1f\n\x1bMETRIC_CPU_USAGE_PERCENTAGE\x10\x65\x12\x1c\n\x17METRIC_TRANSCEIVER_TEMP\x10\xc8\x01\x12\x1f\n\x1aMETRIC_TRANSCEIVER_VOLTAGE\x10\xc9\x01\x12\x1c\n\x17METRIC_TRANSCEIVER_BIAS\x10\xca\x01\x12 \n\x1bMETRIC_TRANSCEIVER_RX_POWER\x10\xcb\x01\x12 \n\x1bMETRIC_TRANSCEIVER_TX_POWER\x10\xcc\x01\x12\"\n\x1dMETRIC_TRANSCEIVER_WAVELENGTH\x10\xcd\x01\x12\x15\n\x10METRIC_DISK_TEMP\x10\xac\x02\x12\x19\n\x14METRIC_DISK_CAPACITY\x10\xad\x02\x12\x16\n\x11METRIC_DISK_USAGE\x10\xae\x02\x12!\n\x1cMETRIC_DISK_USAGE_PERCENTAGE\x10\xaf\x02\x12&\n!METRIC_DISK_READ_WRITE_PERCENTAGE\x10\xb0\x02\x12(\n#METRIC_DISK_FAULTY_CELLS_PERCENTAGE\x10\xb1\x02\x12\x14\n\x0fMETRIC_RAM_TEMP\x10\x90\x03\x12\x18\n\x13METRIC_RAM_CAPACITY\x10\x91\x03\x12\x15\n\x10METRIC_RAM_USAGE\x10\x92\x03\x12 \n\x1bMETRIC_RAM_USAGE_PERCENTAGE\x10\x93\x03\x12\x15\n\x10METRIC_POWER_MAX\x10\xf4\x03\x12\x17\n\x12METRIC_POWER_USAGE\x10\xf5\x03\x12\"\n\x1dMETRIC_POWER_USAGE_PERCENTAGE\x10\xf6\x03\x12\"\n\x1dMETRIC_INNER_SURROUNDING_TEMP\x10\xd8\x04\x32\xf9\x01\n\x1eNativeMetricsManagementService\x12\x38\n\x0bListMetrics\x12\x0f.dmi.HardwareID\x1a\x18.dmi.ListMetricsResponse\x12\x61\n\x1aUpdateMetricsConfiguration\x12 .dmi.MetricsConfigurationRequest\x1a!.dmi.MetricsConfigurationResponse\x12:\n\tGetMetric\x12\x15.dmi.GetMetricRequest\x1a\x16.dmi.GetMetricResponseB;Z9github.com/opencord/device-management-interface/v3/go/dmib\x06proto3' |
uwe 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, |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 159 | serialized_start=1552, |
| 160 | serialized_end=2281, |
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 | |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 191 | _LISTMETRICSRESPONSE_REASON = _descriptor.EnumDescriptor( |
| 192 | name='Reason', |
| 193 | full_name='dmi.ListMetricsResponse.Reason', |
| 194 | filename=None, |
| 195 | file=DESCRIPTOR, |
| 196 | create_key=_descriptor._internal_create_key, |
| 197 | values=[ |
| 198 | _descriptor.EnumValueDescriptor( |
| 199 | name='UNDEFINED_REASON', index=0, number=0, |
| 200 | serialized_options=None, |
| 201 | type=None, |
| 202 | create_key=_descriptor._internal_create_key), |
| 203 | _descriptor.EnumValueDescriptor( |
| 204 | name='UNKNOWN_DEVICE', index=1, number=1, |
| 205 | serialized_options=None, |
| 206 | type=None, |
| 207 | create_key=_descriptor._internal_create_key), |
| 208 | _descriptor.EnumValueDescriptor( |
| 209 | name='INTERNAL_ERROR', index=2, number=2, |
| 210 | serialized_options=None, |
| 211 | type=None, |
| 212 | create_key=_descriptor._internal_create_key), |
amit.ghosh | bd2022e | 2021-02-22 05:58:53 +0100 | [diff] [blame] | 213 | _descriptor.EnumValueDescriptor( |
| 214 | name='DEVICE_UNREACHABLE', index=3, number=3, |
| 215 | serialized_options=None, |
| 216 | type=None, |
| 217 | create_key=_descriptor._internal_create_key), |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 218 | ], |
| 219 | containing_type=None, |
| 220 | serialized_options=None, |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 221 | serialized_start=389, |
| 222 | serialized_end=483, |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 223 | ) |
| 224 | _sym_db.RegisterEnumDescriptor(_LISTMETRICSRESPONSE_REASON) |
| 225 | |
| 226 | _METRICSCONFIGURATIONRESPONSE_REASON = _descriptor.EnumDescriptor( |
| 227 | name='Reason', |
| 228 | full_name='dmi.MetricsConfigurationResponse.Reason', |
| 229 | filename=None, |
| 230 | file=DESCRIPTOR, |
| 231 | create_key=_descriptor._internal_create_key, |
| 232 | values=[ |
| 233 | _descriptor.EnumValueDescriptor( |
| 234 | name='UNDEFINED_REASON', index=0, number=0, |
| 235 | serialized_options=None, |
| 236 | type=None, |
| 237 | create_key=_descriptor._internal_create_key), |
| 238 | _descriptor.EnumValueDescriptor( |
| 239 | name='UNKNOWN_DEVICE', index=1, number=1, |
| 240 | serialized_options=None, |
| 241 | type=None, |
| 242 | create_key=_descriptor._internal_create_key), |
| 243 | _descriptor.EnumValueDescriptor( |
| 244 | name='INTERNAL_ERROR', index=2, number=2, |
| 245 | serialized_options=None, |
| 246 | type=None, |
| 247 | create_key=_descriptor._internal_create_key), |
| 248 | _descriptor.EnumValueDescriptor( |
| 249 | name='POLL_INTERVAL_UNSUPPORTED', index=3, number=3, |
| 250 | serialized_options=None, |
| 251 | type=None, |
| 252 | create_key=_descriptor._internal_create_key), |
| 253 | _descriptor.EnumValueDescriptor( |
| 254 | name='INVALID_METRIC', index=4, number=4, |
| 255 | serialized_options=None, |
| 256 | type=None, |
| 257 | create_key=_descriptor._internal_create_key), |
amit.ghosh | bd2022e | 2021-02-22 05:58:53 +0100 | [diff] [blame] | 258 | _descriptor.EnumValueDescriptor( |
| 259 | name='DEVICE_UNREACHABLE', index=5, number=5, |
| 260 | serialized_options=None, |
| 261 | type=None, |
| 262 | create_key=_descriptor._internal_create_key), |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 263 | ], |
| 264 | containing_type=None, |
| 265 | serialized_options=None, |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 266 | serialized_start=773, |
| 267 | serialized_end=918, |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 268 | ) |
| 269 | _sym_db.RegisterEnumDescriptor(_METRICSCONFIGURATIONRESPONSE_REASON) |
| 270 | |
| 271 | _GETMETRICRESPONSE_REASON = _descriptor.EnumDescriptor( |
| 272 | name='Reason', |
| 273 | full_name='dmi.GetMetricResponse.Reason', |
| 274 | filename=None, |
| 275 | file=DESCRIPTOR, |
| 276 | create_key=_descriptor._internal_create_key, |
| 277 | values=[ |
| 278 | _descriptor.EnumValueDescriptor( |
| 279 | name='UNDEFINED_REASON', index=0, number=0, |
| 280 | serialized_options=None, |
| 281 | type=None, |
| 282 | create_key=_descriptor._internal_create_key), |
| 283 | _descriptor.EnumValueDescriptor( |
| 284 | name='UNKNOWN_DEVICE', index=1, number=1, |
| 285 | serialized_options=None, |
| 286 | type=None, |
| 287 | create_key=_descriptor._internal_create_key), |
| 288 | _descriptor.EnumValueDescriptor( |
| 289 | name='UNKNOWN_COMPONENT', index=2, number=2, |
| 290 | serialized_options=None, |
| 291 | type=None, |
| 292 | create_key=_descriptor._internal_create_key), |
| 293 | _descriptor.EnumValueDescriptor( |
| 294 | name='INTERNAL_ERROR', index=3, number=3, |
| 295 | serialized_options=None, |
| 296 | type=None, |
| 297 | create_key=_descriptor._internal_create_key), |
| 298 | _descriptor.EnumValueDescriptor( |
| 299 | name='INVALID_METRIC', index=4, number=4, |
| 300 | serialized_options=None, |
| 301 | type=None, |
| 302 | create_key=_descriptor._internal_create_key), |
amit.ghosh | bd2022e | 2021-02-22 05:58:53 +0100 | [diff] [blame] | 303 | _descriptor.EnumValueDescriptor( |
| 304 | name='DEVICE_UNREACHABLE', index=5, number=5, |
| 305 | serialized_options=None, |
| 306 | type=None, |
| 307 | create_key=_descriptor._internal_create_key), |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 308 | ], |
| 309 | containing_type=None, |
| 310 | serialized_options=None, |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 311 | serialized_start=1412, |
| 312 | serialized_end=1549, |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 313 | ) |
| 314 | _sym_db.RegisterEnumDescriptor(_GETMETRICRESPONSE_REASON) |
| 315 | |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 316 | |
| 317 | _METRICCONFIG = _descriptor.Descriptor( |
| 318 | name='MetricConfig', |
| 319 | full_name='dmi.MetricConfig', |
| 320 | filename=None, |
| 321 | file=DESCRIPTOR, |
| 322 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 323 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 324 | fields=[ |
| 325 | _descriptor.FieldDescriptor( |
| 326 | name='metric_id', full_name='dmi.MetricConfig.metric_id', index=0, |
| 327 | number=1, type=14, cpp_type=8, label=1, |
| 328 | has_default_value=False, default_value=0, |
| 329 | message_type=None, enum_type=None, containing_type=None, |
| 330 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 331 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 332 | _descriptor.FieldDescriptor( |
| 333 | name='is_configured', full_name='dmi.MetricConfig.is_configured', index=1, |
| 334 | number=2, type=8, cpp_type=7, label=1, |
| 335 | has_default_value=False, default_value=False, |
| 336 | message_type=None, enum_type=None, containing_type=None, |
| 337 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 338 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 339 | _descriptor.FieldDescriptor( |
| 340 | name='poll_interval', full_name='dmi.MetricConfig.poll_interval', index=2, |
| 341 | number=3, type=13, cpp_type=3, label=1, |
| 342 | has_default_value=False, default_value=0, |
| 343 | message_type=None, enum_type=None, containing_type=None, |
| 344 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 345 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 346 | ], |
| 347 | extensions=[ |
| 348 | ], |
| 349 | nested_types=[], |
| 350 | enum_types=[ |
| 351 | ], |
| 352 | serialized_options=None, |
| 353 | is_extendable=False, |
| 354 | syntax='proto3', |
| 355 | extension_ranges=[], |
| 356 | oneofs=[ |
| 357 | ], |
| 358 | serialized_start=75, |
| 359 | serialized_end=172, |
| 360 | ) |
| 361 | |
| 362 | |
| 363 | _METRICSCONFIG = _descriptor.Descriptor( |
| 364 | name='MetricsConfig', |
| 365 | full_name='dmi.MetricsConfig', |
| 366 | filename=None, |
| 367 | file=DESCRIPTOR, |
| 368 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 369 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 370 | fields=[ |
| 371 | _descriptor.FieldDescriptor( |
| 372 | name='metrics', full_name='dmi.MetricsConfig.metrics', index=0, |
| 373 | number=1, type=11, cpp_type=10, label=3, |
| 374 | has_default_value=False, default_value=[], |
| 375 | message_type=None, enum_type=None, containing_type=None, |
| 376 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 377 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 378 | ], |
| 379 | extensions=[ |
| 380 | ], |
| 381 | nested_types=[], |
| 382 | enum_types=[ |
| 383 | ], |
| 384 | serialized_options=None, |
| 385 | is_extendable=False, |
| 386 | syntax='proto3', |
| 387 | extension_ranges=[], |
| 388 | oneofs=[ |
| 389 | ], |
| 390 | serialized_start=174, |
| 391 | serialized_end=225, |
| 392 | ) |
| 393 | |
| 394 | |
| 395 | _LISTMETRICSRESPONSE = _descriptor.Descriptor( |
| 396 | name='ListMetricsResponse', |
| 397 | full_name='dmi.ListMetricsResponse', |
| 398 | filename=None, |
| 399 | file=DESCRIPTOR, |
| 400 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 401 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 402 | fields=[ |
| 403 | _descriptor.FieldDescriptor( |
| 404 | name='status', full_name='dmi.ListMetricsResponse.status', index=0, |
| 405 | number=1, type=14, cpp_type=8, label=1, |
| 406 | has_default_value=False, default_value=0, |
| 407 | message_type=None, enum_type=None, containing_type=None, |
| 408 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 409 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 410 | _descriptor.FieldDescriptor( |
| 411 | name='reason', full_name='dmi.ListMetricsResponse.reason', index=1, |
| 412 | number=2, type=14, cpp_type=8, label=1, |
| 413 | has_default_value=False, default_value=0, |
| 414 | message_type=None, enum_type=None, containing_type=None, |
| 415 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 416 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 417 | _descriptor.FieldDescriptor( |
| 418 | name='metrics', full_name='dmi.ListMetricsResponse.metrics', index=2, |
| 419 | number=3, type=11, cpp_type=10, label=1, |
| 420 | has_default_value=False, default_value=None, |
| 421 | message_type=None, enum_type=None, containing_type=None, |
| 422 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 423 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 424 | _descriptor.FieldDescriptor( |
| 425 | name='reason_detail', full_name='dmi.ListMetricsResponse.reason_detail', index=3, |
| 426 | number=4, type=9, cpp_type=9, label=1, |
| 427 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 428 | message_type=None, enum_type=None, containing_type=None, |
| 429 | is_extension=False, extension_scope=None, |
| 430 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 431 | ], |
| 432 | extensions=[ |
| 433 | ], |
| 434 | nested_types=[], |
| 435 | enum_types=[ |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 436 | _LISTMETRICSRESPONSE_REASON, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 437 | ], |
| 438 | serialized_options=None, |
| 439 | is_extendable=False, |
| 440 | syntax='proto3', |
| 441 | extension_ranges=[], |
| 442 | oneofs=[ |
| 443 | ], |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 444 | serialized_start=228, |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 445 | serialized_end=483, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 446 | ) |
| 447 | |
| 448 | |
| 449 | _METRICSCONFIGURATIONREQUEST = _descriptor.Descriptor( |
| 450 | name='MetricsConfigurationRequest', |
| 451 | full_name='dmi.MetricsConfigurationRequest', |
| 452 | filename=None, |
| 453 | file=DESCRIPTOR, |
| 454 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 455 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 456 | fields=[ |
| 457 | _descriptor.FieldDescriptor( |
| 458 | name='device_uuid', full_name='dmi.MetricsConfigurationRequest.device_uuid', index=0, |
| 459 | number=1, type=11, cpp_type=10, label=1, |
| 460 | has_default_value=False, default_value=None, |
| 461 | message_type=None, enum_type=None, containing_type=None, |
| 462 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 463 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 464 | _descriptor.FieldDescriptor( |
| 465 | name='changes', full_name='dmi.MetricsConfigurationRequest.changes', index=1, |
| 466 | number=2, type=11, cpp_type=10, label=1, |
| 467 | has_default_value=False, default_value=None, |
| 468 | message_type=None, enum_type=None, containing_type=None, |
| 469 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 470 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 471 | _descriptor.FieldDescriptor( |
| 472 | name='reset_to_default', full_name='dmi.MetricsConfigurationRequest.reset_to_default', index=2, |
| 473 | number=3, type=8, cpp_type=7, label=1, |
| 474 | has_default_value=False, default_value=False, |
| 475 | message_type=None, enum_type=None, containing_type=None, |
| 476 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 477 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 478 | ], |
| 479 | extensions=[ |
| 480 | ], |
| 481 | nested_types=[], |
| 482 | enum_types=[ |
| 483 | ], |
| 484 | serialized_options=None, |
| 485 | is_extendable=False, |
| 486 | syntax='proto3', |
| 487 | extension_ranges=[], |
| 488 | oneofs=[ |
| 489 | _descriptor.OneofDescriptor( |
| 490 | name='operation', full_name='dmi.MetricsConfigurationRequest.operation', |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 491 | index=0, containing_type=None, |
| 492 | create_key=_descriptor._internal_create_key, |
| 493 | fields=[]), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 494 | ], |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 495 | serialized_start=486, |
| 496 | serialized_end=627, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 497 | ) |
| 498 | |
| 499 | |
| 500 | _METRICSCONFIGURATIONRESPONSE = _descriptor.Descriptor( |
| 501 | name='MetricsConfigurationResponse', |
| 502 | full_name='dmi.MetricsConfigurationResponse', |
| 503 | filename=None, |
| 504 | file=DESCRIPTOR, |
| 505 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 506 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 507 | fields=[ |
| 508 | _descriptor.FieldDescriptor( |
| 509 | name='status', full_name='dmi.MetricsConfigurationResponse.status', index=0, |
| 510 | number=1, type=14, cpp_type=8, label=1, |
| 511 | has_default_value=False, default_value=0, |
| 512 | message_type=None, enum_type=None, containing_type=None, |
| 513 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 514 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 515 | _descriptor.FieldDescriptor( |
| 516 | name='reason', full_name='dmi.MetricsConfigurationResponse.reason', index=1, |
| 517 | number=2, type=14, cpp_type=8, label=1, |
| 518 | has_default_value=False, default_value=0, |
| 519 | message_type=None, enum_type=None, containing_type=None, |
| 520 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 521 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 522 | _descriptor.FieldDescriptor( |
| 523 | name='reason_detail', full_name='dmi.MetricsConfigurationResponse.reason_detail', index=2, |
| 524 | number=3, type=9, cpp_type=9, label=1, |
| 525 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 526 | message_type=None, enum_type=None, containing_type=None, |
| 527 | is_extension=False, extension_scope=None, |
| 528 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 529 | ], |
| 530 | extensions=[ |
| 531 | ], |
| 532 | nested_types=[], |
| 533 | enum_types=[ |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 534 | _METRICSCONFIGURATIONRESPONSE_REASON, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 535 | ], |
| 536 | serialized_options=None, |
| 537 | is_extendable=False, |
| 538 | syntax='proto3', |
| 539 | extension_ranges=[], |
| 540 | oneofs=[ |
| 541 | ], |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 542 | serialized_start=630, |
| 543 | serialized_end=918, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 544 | ) |
| 545 | |
| 546 | |
| 547 | _METRICMETADATA = _descriptor.Descriptor( |
| 548 | name='MetricMetaData', |
| 549 | full_name='dmi.MetricMetaData', |
| 550 | filename=None, |
| 551 | file=DESCRIPTOR, |
| 552 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 553 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 554 | fields=[ |
| 555 | _descriptor.FieldDescriptor( |
| 556 | name='device_uuid', full_name='dmi.MetricMetaData.device_uuid', index=0, |
| 557 | number=1, type=11, cpp_type=10, label=1, |
| 558 | has_default_value=False, default_value=None, |
| 559 | message_type=None, enum_type=None, containing_type=None, |
| 560 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 561 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 562 | _descriptor.FieldDescriptor( |
| 563 | name='component_uuid', full_name='dmi.MetricMetaData.component_uuid', index=1, |
| 564 | number=2, type=11, cpp_type=10, label=1, |
| 565 | has_default_value=False, default_value=None, |
| 566 | message_type=None, enum_type=None, containing_type=None, |
| 567 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 568 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 569 | _descriptor.FieldDescriptor( |
| 570 | name='component_name', full_name='dmi.MetricMetaData.component_name', index=2, |
| 571 | number=3, type=9, cpp_type=9, label=1, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 572 | has_default_value=False, default_value=b"".decode('utf-8'), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 573 | message_type=None, enum_type=None, containing_type=None, |
| 574 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 575 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 576 | ], |
| 577 | extensions=[ |
| 578 | ], |
| 579 | nested_types=[], |
| 580 | enum_types=[ |
| 581 | ], |
| 582 | serialized_options=None, |
| 583 | is_extendable=False, |
| 584 | syntax='proto3', |
| 585 | extension_ranges=[], |
| 586 | oneofs=[ |
| 587 | ], |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 588 | serialized_start=920, |
| 589 | serialized_end=1027, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 590 | ) |
| 591 | |
| 592 | |
| 593 | _METRIC = _descriptor.Descriptor( |
| 594 | name='Metric', |
| 595 | full_name='dmi.Metric', |
| 596 | filename=None, |
| 597 | file=DESCRIPTOR, |
| 598 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 599 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 600 | fields=[ |
| 601 | _descriptor.FieldDescriptor( |
| 602 | name='metric_id', full_name='dmi.Metric.metric_id', index=0, |
| 603 | number=1, type=14, cpp_type=8, label=1, |
| 604 | has_default_value=False, default_value=0, |
| 605 | message_type=None, enum_type=None, containing_type=None, |
| 606 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 607 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 608 | _descriptor.FieldDescriptor( |
| 609 | name='metric_metadata', full_name='dmi.Metric.metric_metadata', index=1, |
| 610 | number=2, type=11, cpp_type=10, label=1, |
| 611 | has_default_value=False, default_value=None, |
| 612 | message_type=None, enum_type=None, containing_type=None, |
| 613 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 614 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 615 | _descriptor.FieldDescriptor( |
| 616 | name='value', full_name='dmi.Metric.value', index=2, |
| 617 | number=3, type=11, cpp_type=10, label=1, |
| 618 | has_default_value=False, default_value=None, |
| 619 | message_type=None, enum_type=None, containing_type=None, |
| 620 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 621 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 622 | ], |
| 623 | extensions=[ |
| 624 | ], |
| 625 | nested_types=[], |
| 626 | enum_types=[ |
| 627 | ], |
| 628 | serialized_options=None, |
| 629 | is_extendable=False, |
| 630 | syntax='proto3', |
| 631 | extension_ranges=[], |
| 632 | oneofs=[ |
| 633 | ], |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 634 | serialized_start=1030, |
| 635 | serialized_end=1162, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 636 | ) |
| 637 | |
| 638 | |
| 639 | _GETMETRICREQUEST = _descriptor.Descriptor( |
| 640 | name='GetMetricRequest', |
| 641 | full_name='dmi.GetMetricRequest', |
| 642 | filename=None, |
| 643 | file=DESCRIPTOR, |
| 644 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 645 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 646 | fields=[ |
| 647 | _descriptor.FieldDescriptor( |
| 648 | name='meta_data', full_name='dmi.GetMetricRequest.meta_data', index=0, |
| 649 | number=1, type=11, cpp_type=10, label=1, |
| 650 | has_default_value=False, default_value=None, |
| 651 | message_type=None, enum_type=None, containing_type=None, |
| 652 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 653 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 654 | _descriptor.FieldDescriptor( |
| 655 | name='metric_id', full_name='dmi.GetMetricRequest.metric_id', index=1, |
| 656 | number=2, type=14, cpp_type=8, label=1, |
| 657 | has_default_value=False, default_value=0, |
| 658 | message_type=None, enum_type=None, containing_type=None, |
| 659 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 660 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 661 | ], |
| 662 | extensions=[ |
| 663 | ], |
| 664 | nested_types=[], |
| 665 | enum_types=[ |
| 666 | ], |
| 667 | serialized_options=None, |
| 668 | is_extendable=False, |
| 669 | syntax='proto3', |
| 670 | extension_ranges=[], |
| 671 | oneofs=[ |
| 672 | ], |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 673 | serialized_start=1164, |
| 674 | serialized_end=1259, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 675 | ) |
| 676 | |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 677 | |
| 678 | _GETMETRICRESPONSE = _descriptor.Descriptor( |
| 679 | name='GetMetricResponse', |
| 680 | full_name='dmi.GetMetricResponse', |
| 681 | filename=None, |
| 682 | file=DESCRIPTOR, |
| 683 | containing_type=None, |
| 684 | create_key=_descriptor._internal_create_key, |
| 685 | fields=[ |
| 686 | _descriptor.FieldDescriptor( |
| 687 | name='status', full_name='dmi.GetMetricResponse.status', index=0, |
| 688 | number=1, type=14, cpp_type=8, label=1, |
| 689 | has_default_value=False, default_value=0, |
| 690 | message_type=None, enum_type=None, containing_type=None, |
| 691 | is_extension=False, extension_scope=None, |
| 692 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 693 | _descriptor.FieldDescriptor( |
| 694 | name='reason', full_name='dmi.GetMetricResponse.reason', index=1, |
| 695 | number=2, type=14, cpp_type=8, label=1, |
| 696 | has_default_value=False, default_value=0, |
| 697 | message_type=None, enum_type=None, containing_type=None, |
| 698 | is_extension=False, extension_scope=None, |
| 699 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 700 | _descriptor.FieldDescriptor( |
| 701 | name='metric', full_name='dmi.GetMetricResponse.metric', index=2, |
| 702 | number=3, type=11, cpp_type=10, label=1, |
| 703 | has_default_value=False, default_value=None, |
| 704 | message_type=None, enum_type=None, containing_type=None, |
| 705 | is_extension=False, extension_scope=None, |
| 706 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 707 | _descriptor.FieldDescriptor( |
| 708 | name='reason_detail', full_name='dmi.GetMetricResponse.reason_detail', index=3, |
| 709 | number=4, type=9, cpp_type=9, label=1, |
| 710 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 711 | message_type=None, enum_type=None, containing_type=None, |
| 712 | is_extension=False, extension_scope=None, |
| 713 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 714 | ], |
| 715 | extensions=[ |
| 716 | ], |
| 717 | nested_types=[], |
| 718 | enum_types=[ |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 719 | _GETMETRICRESPONSE_REASON, |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 720 | ], |
| 721 | serialized_options=None, |
| 722 | is_extendable=False, |
| 723 | syntax='proto3', |
| 724 | extension_ranges=[], |
| 725 | oneofs=[ |
| 726 | ], |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 727 | serialized_start=1262, |
| 728 | serialized_end=1549, |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 729 | ) |
| 730 | |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 731 | _METRICCONFIG.fields_by_name['metric_id'].enum_type = _METRICNAMES |
| 732 | _METRICSCONFIG.fields_by_name['metrics'].message_type = _METRICCONFIG |
| 733 | _LISTMETRICSRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 734 | _LISTMETRICSRESPONSE.fields_by_name['reason'].enum_type = _LISTMETRICSRESPONSE_REASON |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 735 | _LISTMETRICSRESPONSE.fields_by_name['metrics'].message_type = _METRICSCONFIG |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 736 | _LISTMETRICSRESPONSE_REASON.containing_type = _LISTMETRICSRESPONSE |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 737 | _METRICSCONFIGURATIONREQUEST.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID |
| 738 | _METRICSCONFIGURATIONREQUEST.fields_by_name['changes'].message_type = _METRICSCONFIG |
| 739 | _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'].fields.append( |
| 740 | _METRICSCONFIGURATIONREQUEST.fields_by_name['changes']) |
| 741 | _METRICSCONFIGURATIONREQUEST.fields_by_name['changes'].containing_oneof = _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'] |
| 742 | _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'].fields.append( |
| 743 | _METRICSCONFIGURATIONREQUEST.fields_by_name['reset_to_default']) |
| 744 | _METRICSCONFIGURATIONREQUEST.fields_by_name['reset_to_default'].containing_oneof = _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'] |
| 745 | _METRICSCONFIGURATIONRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 746 | _METRICSCONFIGURATIONRESPONSE.fields_by_name['reason'].enum_type = _METRICSCONFIGURATIONRESPONSE_REASON |
| 747 | _METRICSCONFIGURATIONRESPONSE_REASON.containing_type = _METRICSCONFIGURATIONRESPONSE |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 748 | _METRICMETADATA.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID |
| 749 | _METRICMETADATA.fields_by_name['component_uuid'].message_type = dmi_dot_hw__pb2._UUID |
| 750 | _METRIC.fields_by_name['metric_id'].enum_type = _METRICNAMES |
| 751 | _METRIC.fields_by_name['metric_metadata'].message_type = _METRICMETADATA |
| 752 | _METRIC.fields_by_name['value'].message_type = dmi_dot_hw__pb2._COMPONENTSENSORDATA |
| 753 | _GETMETRICREQUEST.fields_by_name['meta_data'].message_type = _METRICMETADATA |
| 754 | _GETMETRICREQUEST.fields_by_name['metric_id'].enum_type = _METRICNAMES |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 755 | _GETMETRICRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 756 | _GETMETRICRESPONSE.fields_by_name['reason'].enum_type = _GETMETRICRESPONSE_REASON |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 757 | _GETMETRICRESPONSE.fields_by_name['metric'].message_type = _METRIC |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 758 | _GETMETRICRESPONSE_REASON.containing_type = _GETMETRICRESPONSE |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 759 | DESCRIPTOR.message_types_by_name['MetricConfig'] = _METRICCONFIG |
| 760 | DESCRIPTOR.message_types_by_name['MetricsConfig'] = _METRICSCONFIG |
| 761 | DESCRIPTOR.message_types_by_name['ListMetricsResponse'] = _LISTMETRICSRESPONSE |
| 762 | DESCRIPTOR.message_types_by_name['MetricsConfigurationRequest'] = _METRICSCONFIGURATIONREQUEST |
| 763 | DESCRIPTOR.message_types_by_name['MetricsConfigurationResponse'] = _METRICSCONFIGURATIONRESPONSE |
| 764 | DESCRIPTOR.message_types_by_name['MetricMetaData'] = _METRICMETADATA |
| 765 | DESCRIPTOR.message_types_by_name['Metric'] = _METRIC |
| 766 | DESCRIPTOR.message_types_by_name['GetMetricRequest'] = _GETMETRICREQUEST |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 767 | DESCRIPTOR.message_types_by_name['GetMetricResponse'] = _GETMETRICRESPONSE |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 768 | DESCRIPTOR.enum_types_by_name['MetricNames'] = _METRICNAMES |
| 769 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) |
| 770 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 771 | MetricConfig = _reflection.GeneratedProtocolMessageType('MetricConfig', (_message.Message,), { |
| 772 | 'DESCRIPTOR' : _METRICCONFIG, |
| 773 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 774 | # @@protoc_insertion_point(class_scope:dmi.MetricConfig) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 775 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 776 | _sym_db.RegisterMessage(MetricConfig) |
| 777 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 778 | MetricsConfig = _reflection.GeneratedProtocolMessageType('MetricsConfig', (_message.Message,), { |
| 779 | 'DESCRIPTOR' : _METRICSCONFIG, |
| 780 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 781 | # @@protoc_insertion_point(class_scope:dmi.MetricsConfig) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 782 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 783 | _sym_db.RegisterMessage(MetricsConfig) |
| 784 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 785 | ListMetricsResponse = _reflection.GeneratedProtocolMessageType('ListMetricsResponse', (_message.Message,), { |
| 786 | 'DESCRIPTOR' : _LISTMETRICSRESPONSE, |
| 787 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 788 | # @@protoc_insertion_point(class_scope:dmi.ListMetricsResponse) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 789 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 790 | _sym_db.RegisterMessage(ListMetricsResponse) |
| 791 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 792 | MetricsConfigurationRequest = _reflection.GeneratedProtocolMessageType('MetricsConfigurationRequest', (_message.Message,), { |
| 793 | 'DESCRIPTOR' : _METRICSCONFIGURATIONREQUEST, |
| 794 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 795 | # @@protoc_insertion_point(class_scope:dmi.MetricsConfigurationRequest) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 796 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 797 | _sym_db.RegisterMessage(MetricsConfigurationRequest) |
| 798 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 799 | MetricsConfigurationResponse = _reflection.GeneratedProtocolMessageType('MetricsConfigurationResponse', (_message.Message,), { |
| 800 | 'DESCRIPTOR' : _METRICSCONFIGURATIONRESPONSE, |
| 801 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 802 | # @@protoc_insertion_point(class_scope:dmi.MetricsConfigurationResponse) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 803 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 804 | _sym_db.RegisterMessage(MetricsConfigurationResponse) |
| 805 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 806 | MetricMetaData = _reflection.GeneratedProtocolMessageType('MetricMetaData', (_message.Message,), { |
| 807 | 'DESCRIPTOR' : _METRICMETADATA, |
| 808 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 809 | # @@protoc_insertion_point(class_scope:dmi.MetricMetaData) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 810 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 811 | _sym_db.RegisterMessage(MetricMetaData) |
| 812 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 813 | Metric = _reflection.GeneratedProtocolMessageType('Metric', (_message.Message,), { |
| 814 | 'DESCRIPTOR' : _METRIC, |
| 815 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 816 | # @@protoc_insertion_point(class_scope:dmi.Metric) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 817 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 818 | _sym_db.RegisterMessage(Metric) |
| 819 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 820 | GetMetricRequest = _reflection.GeneratedProtocolMessageType('GetMetricRequest', (_message.Message,), { |
| 821 | 'DESCRIPTOR' : _GETMETRICREQUEST, |
| 822 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 823 | # @@protoc_insertion_point(class_scope:dmi.GetMetricRequest) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 824 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 825 | _sym_db.RegisterMessage(GetMetricRequest) |
| 826 | |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 827 | GetMetricResponse = _reflection.GeneratedProtocolMessageType('GetMetricResponse', (_message.Message,), { |
| 828 | 'DESCRIPTOR' : _GETMETRICRESPONSE, |
| 829 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
| 830 | # @@protoc_insertion_point(class_scope:dmi.GetMetricResponse) |
| 831 | }) |
| 832 | _sym_db.RegisterMessage(GetMetricResponse) |
| 833 | |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 834 | |
| 835 | DESCRIPTOR._options = None |
| 836 | |
| 837 | _NATIVEMETRICSMANAGEMENTSERVICE = _descriptor.ServiceDescriptor( |
| 838 | name='NativeMetricsManagementService', |
| 839 | full_name='dmi.NativeMetricsManagementService', |
| 840 | file=DESCRIPTOR, |
| 841 | index=0, |
| 842 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 843 | create_key=_descriptor._internal_create_key, |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 844 | serialized_start=2284, |
| 845 | serialized_end=2533, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 846 | methods=[ |
| 847 | _descriptor.MethodDescriptor( |
| 848 | name='ListMetrics', |
| 849 | full_name='dmi.NativeMetricsManagementService.ListMetrics', |
| 850 | index=0, |
| 851 | containing_service=None, |
| 852 | input_type=dmi_dot_hw__pb2._HARDWAREID, |
| 853 | output_type=_LISTMETRICSRESPONSE, |
| 854 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 855 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 856 | ), |
| 857 | _descriptor.MethodDescriptor( |
| 858 | name='UpdateMetricsConfiguration', |
| 859 | full_name='dmi.NativeMetricsManagementService.UpdateMetricsConfiguration', |
| 860 | index=1, |
| 861 | containing_service=None, |
| 862 | input_type=_METRICSCONFIGURATIONREQUEST, |
| 863 | output_type=_METRICSCONFIGURATIONRESPONSE, |
| 864 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 865 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 866 | ), |
| 867 | _descriptor.MethodDescriptor( |
| 868 | name='GetMetric', |
| 869 | full_name='dmi.NativeMetricsManagementService.GetMetric', |
| 870 | index=2, |
| 871 | containing_service=None, |
| 872 | input_type=_GETMETRICREQUEST, |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 873 | output_type=_GETMETRICRESPONSE, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 874 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 875 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 876 | ), |
| 877 | ]) |
| 878 | _sym_db.RegisterServiceDescriptor(_NATIVEMETRICSMANAGEMENTSERVICE) |
| 879 | |
| 880 | DESCRIPTOR.services_by_name['NativeMetricsManagementService'] = _NATIVEMETRICSMANAGEMENTSERVICE |
| 881 | |
| 882 | # @@protoc_insertion_point(module_scope) |