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 |
Chandrakanth Nalkudre Gowda | 68590a4 | 2021-04-22 15:19:21 +0530 | [diff] [blame] | 17 | from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 18 | |
| 19 | |
| 20 | DESCRIPTOR = _descriptor.FileDescriptor( |
| 21 | name='dmi/hw_metrics_mgmt_service.proto', |
| 22 | package='dmi', |
| 23 | syntax='proto3', |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 24 | serialized_options=b'Z9github.com/opencord/device-management-interface/v3/go/dmi', |
| 25 | create_key=_descriptor._internal_create_key, |
Chandrakanth Nalkudre Gowda | 68590a4 | 2021-04-22 15:19:21 +0530 | [diff] [blame] | 26 | serialized_pb=b'\n!dmi/hw_metrics_mgmt_service.proto\x12\x03\x64mi\x1a\x11\x64mi/commons.proto\x1a\x0c\x64mi/hw.proto\x1a\x1bgoogle/protobuf/empty.proto\"a\n\x0cMetricConfig\x12#\n\tmetric_id\x18\x01 \x01(\x0e\x32\x10.dmi.MetricNames\x12\x15\n\ris_configured\x18\x02 \x01(\x08\x12\x15\n\rpoll_interval\x18\x03 \x01(\r\"3\n\rMetricsConfig\x12\"\n\x07metrics\x18\x01 \x03(\x0b\x32\x11.dmi.MetricConfig\"\xff\x01\n\x13ListMetricsResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12/\n\x06reason\x18\x02 \x01(\x0e\x32\x1f.dmi.ListMetricsResponse.Reason\x12#\n\x07metrics\x18\x03 \x01(\x0b\x32\x12.dmi.MetricsConfig\x12\x15\n\rreason_detail\x18\x04 \x01(\t\"^\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x03\"\x8d\x01\n\x1bMetricsConfigurationRequest\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12%\n\x07\x63hanges\x18\x02 \x01(\x0b\x32\x12.dmi.MetricsConfigH\x00\x12\x1a\n\x10reset_to_default\x18\x03 \x01(\x08H\x00\x42\x0b\n\toperation\"\xa0\x02\n\x1cMetricsConfigurationResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12\x38\n\x06reason\x18\x02 \x01(\x0e\x32(.dmi.MetricsConfigurationResponse.Reason\x12\x15\n\rreason_detail\x18\x03 \x01(\t\"\x91\x01\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x1d\n\x19POLL_INTERVAL_UNSUPPORTED\x10\x03\x12\x12\n\x0eINVALID_METRIC\x10\x04\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x05\"k\n\x0eMetricMetaData\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12!\n\x0e\x63omponent_uuid\x18\x02 \x01(\x0b\x32\t.dmi.Uuid\x12\x16\n\x0e\x63omponent_name\x18\x03 \x01(\t\"\x84\x01\n\x06Metric\x12#\n\tmetric_id\x18\x01 \x01(\x0e\x32\x10.dmi.MetricNames\x12,\n\x0fmetric_metadata\x18\x02 \x01(\x0b\x32\x13.dmi.MetricMetaData\x12\'\n\x05value\x18\x03 \x01(\x0b\x32\x18.dmi.ComponentSensorData\"_\n\x10GetMetricRequest\x12&\n\tmeta_data\x18\x01 \x01(\x0b\x32\x13.dmi.MetricMetaData\x12#\n\tmetric_id\x18\x02 \x01(\x0e\x32\x10.dmi.MetricNames\"\x9f\x02\n\x11GetMetricResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12-\n\x06reason\x18\x02 \x01(\x0e\x32\x1d.dmi.GetMetricResponse.Reason\x12\x1b\n\x06metric\x18\x03 \x01(\x0b\x32\x0b.dmi.Metric\x12\x15\n\rreason_detail\x18\x04 \x01(\t\"\x89\x01\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x15\n\x11UNKNOWN_COMPONENT\x10\x02\x12\x12\n\x0eINTERNAL_ERROR\x10\x03\x12\x12\n\x0eINVALID_METRIC\x10\x04\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x05*\xd9\x05\n\x0bMetricNames\x12\x19\n\x15METRIC_NAME_UNDEFINED\x10\x00\x12\x14\n\x10METRIC_FAN_SPEED\x10\x01\x12\x13\n\x0fMETRIC_CPU_TEMP\x10\x64\x12\x1f\n\x1bMETRIC_CPU_USAGE_PERCENTAGE\x10\x65\x12\x1c\n\x17METRIC_TRANSCEIVER_TEMP\x10\xc8\x01\x12\x1f\n\x1aMETRIC_TRANSCEIVER_VOLTAGE\x10\xc9\x01\x12\x1c\n\x17METRIC_TRANSCEIVER_BIAS\x10\xca\x01\x12 \n\x1bMETRIC_TRANSCEIVER_RX_POWER\x10\xcb\x01\x12 \n\x1bMETRIC_TRANSCEIVER_TX_POWER\x10\xcc\x01\x12\"\n\x1dMETRIC_TRANSCEIVER_WAVELENGTH\x10\xcd\x01\x12\x15\n\x10METRIC_DISK_TEMP\x10\xac\x02\x12\x19\n\x14METRIC_DISK_CAPACITY\x10\xad\x02\x12\x16\n\x11METRIC_DISK_USAGE\x10\xae\x02\x12!\n\x1cMETRIC_DISK_USAGE_PERCENTAGE\x10\xaf\x02\x12&\n!METRIC_DISK_READ_WRITE_PERCENTAGE\x10\xb0\x02\x12(\n#METRIC_DISK_FAULTY_CELLS_PERCENTAGE\x10\xb1\x02\x12\x14\n\x0fMETRIC_RAM_TEMP\x10\x90\x03\x12\x18\n\x13METRIC_RAM_CAPACITY\x10\x91\x03\x12\x15\n\x10METRIC_RAM_USAGE\x10\x92\x03\x12 \n\x1bMETRIC_RAM_USAGE_PERCENTAGE\x10\x93\x03\x12\x15\n\x10METRIC_POWER_MAX\x10\xf4\x03\x12\x17\n\x12METRIC_POWER_USAGE\x10\xf5\x03\x12\"\n\x1dMETRIC_POWER_USAGE_PERCENTAGE\x10\xf6\x03\x12\"\n\x1dMETRIC_INNER_SURROUNDING_TEMP\x10\xd8\x04\x32\xb1\x02\n\x1eNativeMetricsManagementService\x12\x38\n\x0bListMetrics\x12\x0f.dmi.HardwareID\x1a\x18.dmi.ListMetricsResponse\x12\x61\n\x1aUpdateMetricsConfiguration\x12 .dmi.MetricsConfigurationRequest\x1a!.dmi.MetricsConfigurationResponse\x12:\n\tGetMetric\x12\x15.dmi.GetMetricRequest\x1a\x16.dmi.GetMetricResponse\x12\x36\n\rStreamMetrics\x12\x16.google.protobuf.Empty\x1a\x0b.dmi.Metric0\x01\x42;Z9github.com/opencord/device-management-interface/v3/go/dmib\x06proto3' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 27 | , |
Chandrakanth Nalkudre Gowda | 68590a4 | 2021-04-22 15:19:21 +0530 | [diff] [blame] | 28 | dependencies=[dmi_dot_commons__pb2.DESCRIPTOR,dmi_dot_hw__pb2.DESCRIPTOR,google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,]) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 29 | |
| 30 | _METRICNAMES = _descriptor.EnumDescriptor( |
| 31 | name='MetricNames', |
| 32 | full_name='dmi.MetricNames', |
| 33 | filename=None, |
| 34 | file=DESCRIPTOR, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 35 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 36 | values=[ |
| 37 | _descriptor.EnumValueDescriptor( |
| 38 | name='METRIC_NAME_UNDEFINED', index=0, number=0, |
| 39 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 40 | type=None, |
| 41 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 42 | _descriptor.EnumValueDescriptor( |
| 43 | name='METRIC_FAN_SPEED', index=1, number=1, |
| 44 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 45 | type=None, |
| 46 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 47 | _descriptor.EnumValueDescriptor( |
| 48 | name='METRIC_CPU_TEMP', index=2, number=100, |
| 49 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 50 | type=None, |
| 51 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 52 | _descriptor.EnumValueDescriptor( |
| 53 | name='METRIC_CPU_USAGE_PERCENTAGE', index=3, number=101, |
| 54 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 55 | type=None, |
| 56 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 57 | _descriptor.EnumValueDescriptor( |
| 58 | name='METRIC_TRANSCEIVER_TEMP', index=4, number=200, |
| 59 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 60 | type=None, |
| 61 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 62 | _descriptor.EnumValueDescriptor( |
| 63 | name='METRIC_TRANSCEIVER_VOLTAGE', index=5, number=201, |
| 64 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 65 | type=None, |
| 66 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 67 | _descriptor.EnumValueDescriptor( |
| 68 | name='METRIC_TRANSCEIVER_BIAS', index=6, number=202, |
| 69 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 70 | type=None, |
| 71 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 72 | _descriptor.EnumValueDescriptor( |
| 73 | name='METRIC_TRANSCEIVER_RX_POWER', index=7, number=203, |
| 74 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 75 | type=None, |
| 76 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 77 | _descriptor.EnumValueDescriptor( |
| 78 | name='METRIC_TRANSCEIVER_TX_POWER', index=8, number=204, |
| 79 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 80 | type=None, |
| 81 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 82 | _descriptor.EnumValueDescriptor( |
| 83 | name='METRIC_TRANSCEIVER_WAVELENGTH', index=9, number=205, |
| 84 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 85 | type=None, |
| 86 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 87 | _descriptor.EnumValueDescriptor( |
| 88 | name='METRIC_DISK_TEMP', index=10, number=300, |
| 89 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 90 | type=None, |
| 91 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 92 | _descriptor.EnumValueDescriptor( |
| 93 | name='METRIC_DISK_CAPACITY', index=11, number=301, |
| 94 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 95 | type=None, |
| 96 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 97 | _descriptor.EnumValueDescriptor( |
| 98 | name='METRIC_DISK_USAGE', index=12, number=302, |
| 99 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 100 | type=None, |
| 101 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 102 | _descriptor.EnumValueDescriptor( |
| 103 | name='METRIC_DISK_USAGE_PERCENTAGE', index=13, number=303, |
| 104 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 105 | type=None, |
| 106 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 107 | _descriptor.EnumValueDescriptor( |
| 108 | name='METRIC_DISK_READ_WRITE_PERCENTAGE', index=14, number=304, |
| 109 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 110 | type=None, |
| 111 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 112 | _descriptor.EnumValueDescriptor( |
| 113 | name='METRIC_DISK_FAULTY_CELLS_PERCENTAGE', index=15, number=305, |
| 114 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 115 | type=None, |
| 116 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 117 | _descriptor.EnumValueDescriptor( |
| 118 | name='METRIC_RAM_TEMP', index=16, number=400, |
| 119 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 120 | type=None, |
| 121 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 122 | _descriptor.EnumValueDescriptor( |
| 123 | name='METRIC_RAM_CAPACITY', index=17, number=401, |
| 124 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 125 | type=None, |
| 126 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 127 | _descriptor.EnumValueDescriptor( |
| 128 | name='METRIC_RAM_USAGE', index=18, number=402, |
| 129 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 130 | type=None, |
| 131 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 132 | _descriptor.EnumValueDescriptor( |
| 133 | name='METRIC_RAM_USAGE_PERCENTAGE', index=19, number=403, |
| 134 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 135 | type=None, |
| 136 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 137 | _descriptor.EnumValueDescriptor( |
| 138 | name='METRIC_POWER_MAX', index=20, number=500, |
| 139 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 140 | type=None, |
| 141 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 142 | _descriptor.EnumValueDescriptor( |
| 143 | name='METRIC_POWER_USAGE', index=21, number=501, |
| 144 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 145 | type=None, |
| 146 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 147 | _descriptor.EnumValueDescriptor( |
| 148 | name='METRIC_POWER_USAGE_PERCENTAGE', index=22, number=502, |
| 149 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 150 | type=None, |
| 151 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 152 | _descriptor.EnumValueDescriptor( |
| 153 | name='METRIC_INNER_SURROUNDING_TEMP', index=23, number=600, |
| 154 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 155 | type=None, |
| 156 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 157 | ], |
| 158 | containing_type=None, |
| 159 | serialized_options=None, |
Chandrakanth Nalkudre Gowda | 68590a4 | 2021-04-22 15:19:21 +0530 | [diff] [blame] | 160 | serialized_start=1581, |
| 161 | serialized_end=2310, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 162 | ) |
| 163 | _sym_db.RegisterEnumDescriptor(_METRICNAMES) |
| 164 | |
| 165 | MetricNames = enum_type_wrapper.EnumTypeWrapper(_METRICNAMES) |
| 166 | METRIC_NAME_UNDEFINED = 0 |
| 167 | METRIC_FAN_SPEED = 1 |
| 168 | METRIC_CPU_TEMP = 100 |
| 169 | METRIC_CPU_USAGE_PERCENTAGE = 101 |
| 170 | METRIC_TRANSCEIVER_TEMP = 200 |
| 171 | METRIC_TRANSCEIVER_VOLTAGE = 201 |
| 172 | METRIC_TRANSCEIVER_BIAS = 202 |
| 173 | METRIC_TRANSCEIVER_RX_POWER = 203 |
| 174 | METRIC_TRANSCEIVER_TX_POWER = 204 |
| 175 | METRIC_TRANSCEIVER_WAVELENGTH = 205 |
| 176 | METRIC_DISK_TEMP = 300 |
| 177 | METRIC_DISK_CAPACITY = 301 |
| 178 | METRIC_DISK_USAGE = 302 |
| 179 | METRIC_DISK_USAGE_PERCENTAGE = 303 |
| 180 | METRIC_DISK_READ_WRITE_PERCENTAGE = 304 |
| 181 | METRIC_DISK_FAULTY_CELLS_PERCENTAGE = 305 |
| 182 | METRIC_RAM_TEMP = 400 |
| 183 | METRIC_RAM_CAPACITY = 401 |
| 184 | METRIC_RAM_USAGE = 402 |
| 185 | METRIC_RAM_USAGE_PERCENTAGE = 403 |
| 186 | METRIC_POWER_MAX = 500 |
| 187 | METRIC_POWER_USAGE = 501 |
| 188 | METRIC_POWER_USAGE_PERCENTAGE = 502 |
| 189 | METRIC_INNER_SURROUNDING_TEMP = 600 |
| 190 | |
| 191 | |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 192 | _LISTMETRICSRESPONSE_REASON = _descriptor.EnumDescriptor( |
| 193 | name='Reason', |
| 194 | full_name='dmi.ListMetricsResponse.Reason', |
| 195 | filename=None, |
| 196 | file=DESCRIPTOR, |
| 197 | create_key=_descriptor._internal_create_key, |
| 198 | values=[ |
| 199 | _descriptor.EnumValueDescriptor( |
| 200 | name='UNDEFINED_REASON', index=0, number=0, |
| 201 | serialized_options=None, |
| 202 | type=None, |
| 203 | create_key=_descriptor._internal_create_key), |
| 204 | _descriptor.EnumValueDescriptor( |
| 205 | name='UNKNOWN_DEVICE', index=1, number=1, |
| 206 | serialized_options=None, |
| 207 | type=None, |
| 208 | create_key=_descriptor._internal_create_key), |
| 209 | _descriptor.EnumValueDescriptor( |
| 210 | name='INTERNAL_ERROR', index=2, number=2, |
| 211 | serialized_options=None, |
| 212 | type=None, |
| 213 | create_key=_descriptor._internal_create_key), |
amit.ghosh | bd2022e | 2021-02-22 05:58:53 +0100 | [diff] [blame] | 214 | _descriptor.EnumValueDescriptor( |
| 215 | name='DEVICE_UNREACHABLE', index=3, number=3, |
| 216 | serialized_options=None, |
| 217 | type=None, |
| 218 | create_key=_descriptor._internal_create_key), |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 219 | ], |
| 220 | containing_type=None, |
| 221 | serialized_options=None, |
Chandrakanth Nalkudre Gowda | 68590a4 | 2021-04-22 15:19:21 +0530 | [diff] [blame] | 222 | serialized_start=418, |
| 223 | serialized_end=512, |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 224 | ) |
| 225 | _sym_db.RegisterEnumDescriptor(_LISTMETRICSRESPONSE_REASON) |
| 226 | |
| 227 | _METRICSCONFIGURATIONRESPONSE_REASON = _descriptor.EnumDescriptor( |
| 228 | name='Reason', |
| 229 | full_name='dmi.MetricsConfigurationResponse.Reason', |
| 230 | filename=None, |
| 231 | file=DESCRIPTOR, |
| 232 | create_key=_descriptor._internal_create_key, |
| 233 | values=[ |
| 234 | _descriptor.EnumValueDescriptor( |
| 235 | name='UNDEFINED_REASON', index=0, number=0, |
| 236 | serialized_options=None, |
| 237 | type=None, |
| 238 | create_key=_descriptor._internal_create_key), |
| 239 | _descriptor.EnumValueDescriptor( |
| 240 | name='UNKNOWN_DEVICE', index=1, number=1, |
| 241 | serialized_options=None, |
| 242 | type=None, |
| 243 | create_key=_descriptor._internal_create_key), |
| 244 | _descriptor.EnumValueDescriptor( |
| 245 | name='INTERNAL_ERROR', index=2, number=2, |
| 246 | serialized_options=None, |
| 247 | type=None, |
| 248 | create_key=_descriptor._internal_create_key), |
| 249 | _descriptor.EnumValueDescriptor( |
| 250 | name='POLL_INTERVAL_UNSUPPORTED', index=3, number=3, |
| 251 | serialized_options=None, |
| 252 | type=None, |
| 253 | create_key=_descriptor._internal_create_key), |
| 254 | _descriptor.EnumValueDescriptor( |
| 255 | name='INVALID_METRIC', index=4, number=4, |
| 256 | serialized_options=None, |
| 257 | type=None, |
| 258 | create_key=_descriptor._internal_create_key), |
amit.ghosh | bd2022e | 2021-02-22 05:58:53 +0100 | [diff] [blame] | 259 | _descriptor.EnumValueDescriptor( |
| 260 | name='DEVICE_UNREACHABLE', index=5, number=5, |
| 261 | serialized_options=None, |
| 262 | type=None, |
| 263 | create_key=_descriptor._internal_create_key), |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 264 | ], |
| 265 | containing_type=None, |
| 266 | serialized_options=None, |
Chandrakanth Nalkudre Gowda | 68590a4 | 2021-04-22 15:19:21 +0530 | [diff] [blame] | 267 | serialized_start=802, |
| 268 | serialized_end=947, |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 269 | ) |
| 270 | _sym_db.RegisterEnumDescriptor(_METRICSCONFIGURATIONRESPONSE_REASON) |
| 271 | |
| 272 | _GETMETRICRESPONSE_REASON = _descriptor.EnumDescriptor( |
| 273 | name='Reason', |
| 274 | full_name='dmi.GetMetricResponse.Reason', |
| 275 | filename=None, |
| 276 | file=DESCRIPTOR, |
| 277 | create_key=_descriptor._internal_create_key, |
| 278 | values=[ |
| 279 | _descriptor.EnumValueDescriptor( |
| 280 | name='UNDEFINED_REASON', index=0, number=0, |
| 281 | serialized_options=None, |
| 282 | type=None, |
| 283 | create_key=_descriptor._internal_create_key), |
| 284 | _descriptor.EnumValueDescriptor( |
| 285 | name='UNKNOWN_DEVICE', index=1, number=1, |
| 286 | serialized_options=None, |
| 287 | type=None, |
| 288 | create_key=_descriptor._internal_create_key), |
| 289 | _descriptor.EnumValueDescriptor( |
| 290 | name='UNKNOWN_COMPONENT', index=2, number=2, |
| 291 | serialized_options=None, |
| 292 | type=None, |
| 293 | create_key=_descriptor._internal_create_key), |
| 294 | _descriptor.EnumValueDescriptor( |
| 295 | name='INTERNAL_ERROR', index=3, number=3, |
| 296 | serialized_options=None, |
| 297 | type=None, |
| 298 | create_key=_descriptor._internal_create_key), |
| 299 | _descriptor.EnumValueDescriptor( |
| 300 | name='INVALID_METRIC', index=4, number=4, |
| 301 | serialized_options=None, |
| 302 | type=None, |
| 303 | create_key=_descriptor._internal_create_key), |
amit.ghosh | bd2022e | 2021-02-22 05:58:53 +0100 | [diff] [blame] | 304 | _descriptor.EnumValueDescriptor( |
| 305 | name='DEVICE_UNREACHABLE', index=5, number=5, |
| 306 | serialized_options=None, |
| 307 | type=None, |
| 308 | create_key=_descriptor._internal_create_key), |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 309 | ], |
| 310 | containing_type=None, |
| 311 | serialized_options=None, |
Chandrakanth Nalkudre Gowda | 68590a4 | 2021-04-22 15:19:21 +0530 | [diff] [blame] | 312 | serialized_start=1441, |
| 313 | serialized_end=1578, |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 314 | ) |
| 315 | _sym_db.RegisterEnumDescriptor(_GETMETRICRESPONSE_REASON) |
| 316 | |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 317 | |
| 318 | _METRICCONFIG = _descriptor.Descriptor( |
| 319 | name='MetricConfig', |
| 320 | full_name='dmi.MetricConfig', |
| 321 | filename=None, |
| 322 | file=DESCRIPTOR, |
| 323 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 324 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 325 | fields=[ |
| 326 | _descriptor.FieldDescriptor( |
| 327 | name='metric_id', full_name='dmi.MetricConfig.metric_id', index=0, |
| 328 | number=1, type=14, cpp_type=8, label=1, |
| 329 | has_default_value=False, default_value=0, |
| 330 | message_type=None, enum_type=None, containing_type=None, |
| 331 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 332 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 333 | _descriptor.FieldDescriptor( |
| 334 | name='is_configured', full_name='dmi.MetricConfig.is_configured', index=1, |
| 335 | number=2, type=8, cpp_type=7, label=1, |
| 336 | has_default_value=False, default_value=False, |
| 337 | message_type=None, enum_type=None, containing_type=None, |
| 338 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 339 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 340 | _descriptor.FieldDescriptor( |
| 341 | name='poll_interval', full_name='dmi.MetricConfig.poll_interval', index=2, |
| 342 | number=3, type=13, cpp_type=3, label=1, |
| 343 | has_default_value=False, default_value=0, |
| 344 | message_type=None, enum_type=None, containing_type=None, |
| 345 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 346 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 347 | ], |
| 348 | extensions=[ |
| 349 | ], |
| 350 | nested_types=[], |
| 351 | enum_types=[ |
| 352 | ], |
| 353 | serialized_options=None, |
| 354 | is_extendable=False, |
| 355 | syntax='proto3', |
| 356 | extension_ranges=[], |
| 357 | oneofs=[ |
| 358 | ], |
Chandrakanth Nalkudre Gowda | 68590a4 | 2021-04-22 15:19:21 +0530 | [diff] [blame] | 359 | serialized_start=104, |
| 360 | serialized_end=201, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 361 | ) |
| 362 | |
| 363 | |
| 364 | _METRICSCONFIG = _descriptor.Descriptor( |
| 365 | name='MetricsConfig', |
| 366 | full_name='dmi.MetricsConfig', |
| 367 | filename=None, |
| 368 | file=DESCRIPTOR, |
| 369 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 370 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 371 | fields=[ |
| 372 | _descriptor.FieldDescriptor( |
| 373 | name='metrics', full_name='dmi.MetricsConfig.metrics', index=0, |
| 374 | number=1, type=11, cpp_type=10, label=3, |
| 375 | has_default_value=False, default_value=[], |
| 376 | message_type=None, enum_type=None, containing_type=None, |
| 377 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 378 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 379 | ], |
| 380 | extensions=[ |
| 381 | ], |
| 382 | nested_types=[], |
| 383 | enum_types=[ |
| 384 | ], |
| 385 | serialized_options=None, |
| 386 | is_extendable=False, |
| 387 | syntax='proto3', |
| 388 | extension_ranges=[], |
| 389 | oneofs=[ |
| 390 | ], |
Chandrakanth Nalkudre Gowda | 68590a4 | 2021-04-22 15:19:21 +0530 | [diff] [blame] | 391 | serialized_start=203, |
| 392 | serialized_end=254, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 393 | ) |
| 394 | |
| 395 | |
| 396 | _LISTMETRICSRESPONSE = _descriptor.Descriptor( |
| 397 | name='ListMetricsResponse', |
| 398 | full_name='dmi.ListMetricsResponse', |
| 399 | filename=None, |
| 400 | file=DESCRIPTOR, |
| 401 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 402 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 403 | fields=[ |
| 404 | _descriptor.FieldDescriptor( |
| 405 | name='status', full_name='dmi.ListMetricsResponse.status', index=0, |
| 406 | number=1, type=14, cpp_type=8, label=1, |
| 407 | has_default_value=False, default_value=0, |
| 408 | message_type=None, enum_type=None, containing_type=None, |
| 409 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 410 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 411 | _descriptor.FieldDescriptor( |
| 412 | name='reason', full_name='dmi.ListMetricsResponse.reason', index=1, |
| 413 | number=2, type=14, cpp_type=8, label=1, |
| 414 | has_default_value=False, default_value=0, |
| 415 | message_type=None, enum_type=None, containing_type=None, |
| 416 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 417 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 418 | _descriptor.FieldDescriptor( |
| 419 | name='metrics', full_name='dmi.ListMetricsResponse.metrics', index=2, |
| 420 | number=3, type=11, cpp_type=10, label=1, |
| 421 | has_default_value=False, default_value=None, |
| 422 | message_type=None, enum_type=None, containing_type=None, |
| 423 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 424 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 425 | _descriptor.FieldDescriptor( |
| 426 | name='reason_detail', full_name='dmi.ListMetricsResponse.reason_detail', index=3, |
| 427 | number=4, type=9, cpp_type=9, label=1, |
| 428 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 429 | message_type=None, enum_type=None, containing_type=None, |
| 430 | is_extension=False, extension_scope=None, |
| 431 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 432 | ], |
| 433 | extensions=[ |
| 434 | ], |
| 435 | nested_types=[], |
| 436 | enum_types=[ |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 437 | _LISTMETRICSRESPONSE_REASON, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 438 | ], |
| 439 | serialized_options=None, |
| 440 | is_extendable=False, |
| 441 | syntax='proto3', |
| 442 | extension_ranges=[], |
| 443 | oneofs=[ |
| 444 | ], |
Chandrakanth Nalkudre Gowda | 68590a4 | 2021-04-22 15:19:21 +0530 | [diff] [blame] | 445 | serialized_start=257, |
| 446 | serialized_end=512, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 447 | ) |
| 448 | |
| 449 | |
| 450 | _METRICSCONFIGURATIONREQUEST = _descriptor.Descriptor( |
| 451 | name='MetricsConfigurationRequest', |
| 452 | full_name='dmi.MetricsConfigurationRequest', |
| 453 | filename=None, |
| 454 | file=DESCRIPTOR, |
| 455 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 456 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 457 | fields=[ |
| 458 | _descriptor.FieldDescriptor( |
| 459 | name='device_uuid', full_name='dmi.MetricsConfigurationRequest.device_uuid', index=0, |
| 460 | number=1, type=11, cpp_type=10, label=1, |
| 461 | has_default_value=False, default_value=None, |
| 462 | message_type=None, enum_type=None, containing_type=None, |
| 463 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 464 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 465 | _descriptor.FieldDescriptor( |
| 466 | name='changes', full_name='dmi.MetricsConfigurationRequest.changes', index=1, |
| 467 | number=2, type=11, cpp_type=10, label=1, |
| 468 | has_default_value=False, default_value=None, |
| 469 | message_type=None, enum_type=None, containing_type=None, |
| 470 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 471 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 472 | _descriptor.FieldDescriptor( |
| 473 | name='reset_to_default', full_name='dmi.MetricsConfigurationRequest.reset_to_default', index=2, |
| 474 | number=3, type=8, cpp_type=7, label=1, |
| 475 | has_default_value=False, default_value=False, |
| 476 | message_type=None, enum_type=None, containing_type=None, |
| 477 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 478 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 479 | ], |
| 480 | extensions=[ |
| 481 | ], |
| 482 | nested_types=[], |
| 483 | enum_types=[ |
| 484 | ], |
| 485 | serialized_options=None, |
| 486 | is_extendable=False, |
| 487 | syntax='proto3', |
| 488 | extension_ranges=[], |
| 489 | oneofs=[ |
| 490 | _descriptor.OneofDescriptor( |
| 491 | name='operation', full_name='dmi.MetricsConfigurationRequest.operation', |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 492 | index=0, containing_type=None, |
| 493 | create_key=_descriptor._internal_create_key, |
| 494 | fields=[]), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 495 | ], |
Chandrakanth Nalkudre Gowda | 68590a4 | 2021-04-22 15:19:21 +0530 | [diff] [blame] | 496 | serialized_start=515, |
| 497 | serialized_end=656, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 498 | ) |
| 499 | |
| 500 | |
| 501 | _METRICSCONFIGURATIONRESPONSE = _descriptor.Descriptor( |
| 502 | name='MetricsConfigurationResponse', |
| 503 | full_name='dmi.MetricsConfigurationResponse', |
| 504 | filename=None, |
| 505 | file=DESCRIPTOR, |
| 506 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 507 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 508 | fields=[ |
| 509 | _descriptor.FieldDescriptor( |
| 510 | name='status', full_name='dmi.MetricsConfigurationResponse.status', index=0, |
| 511 | number=1, type=14, cpp_type=8, label=1, |
| 512 | has_default_value=False, default_value=0, |
| 513 | message_type=None, enum_type=None, containing_type=None, |
| 514 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 515 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 516 | _descriptor.FieldDescriptor( |
| 517 | name='reason', full_name='dmi.MetricsConfigurationResponse.reason', index=1, |
| 518 | number=2, type=14, cpp_type=8, label=1, |
| 519 | has_default_value=False, default_value=0, |
| 520 | message_type=None, enum_type=None, containing_type=None, |
| 521 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 522 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 523 | _descriptor.FieldDescriptor( |
| 524 | name='reason_detail', full_name='dmi.MetricsConfigurationResponse.reason_detail', index=2, |
| 525 | number=3, type=9, cpp_type=9, label=1, |
| 526 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 527 | message_type=None, enum_type=None, containing_type=None, |
| 528 | is_extension=False, extension_scope=None, |
| 529 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 530 | ], |
| 531 | extensions=[ |
| 532 | ], |
| 533 | nested_types=[], |
| 534 | enum_types=[ |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 535 | _METRICSCONFIGURATIONRESPONSE_REASON, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 536 | ], |
| 537 | serialized_options=None, |
| 538 | is_extendable=False, |
| 539 | syntax='proto3', |
| 540 | extension_ranges=[], |
| 541 | oneofs=[ |
| 542 | ], |
Chandrakanth Nalkudre Gowda | 68590a4 | 2021-04-22 15:19:21 +0530 | [diff] [blame] | 543 | serialized_start=659, |
| 544 | serialized_end=947, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 545 | ) |
| 546 | |
| 547 | |
| 548 | _METRICMETADATA = _descriptor.Descriptor( |
| 549 | name='MetricMetaData', |
| 550 | full_name='dmi.MetricMetaData', |
| 551 | filename=None, |
| 552 | file=DESCRIPTOR, |
| 553 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 554 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 555 | fields=[ |
| 556 | _descriptor.FieldDescriptor( |
| 557 | name='device_uuid', full_name='dmi.MetricMetaData.device_uuid', index=0, |
| 558 | number=1, type=11, cpp_type=10, label=1, |
| 559 | has_default_value=False, default_value=None, |
| 560 | message_type=None, enum_type=None, containing_type=None, |
| 561 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 562 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 563 | _descriptor.FieldDescriptor( |
| 564 | name='component_uuid', full_name='dmi.MetricMetaData.component_uuid', index=1, |
| 565 | number=2, type=11, cpp_type=10, label=1, |
| 566 | has_default_value=False, default_value=None, |
| 567 | message_type=None, enum_type=None, containing_type=None, |
| 568 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 569 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 570 | _descriptor.FieldDescriptor( |
| 571 | name='component_name', full_name='dmi.MetricMetaData.component_name', index=2, |
| 572 | number=3, type=9, cpp_type=9, label=1, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 573 | has_default_value=False, default_value=b"".decode('utf-8'), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 574 | message_type=None, enum_type=None, containing_type=None, |
| 575 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 576 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 577 | ], |
| 578 | extensions=[ |
| 579 | ], |
| 580 | nested_types=[], |
| 581 | enum_types=[ |
| 582 | ], |
| 583 | serialized_options=None, |
| 584 | is_extendable=False, |
| 585 | syntax='proto3', |
| 586 | extension_ranges=[], |
| 587 | oneofs=[ |
| 588 | ], |
Chandrakanth Nalkudre Gowda | 68590a4 | 2021-04-22 15:19:21 +0530 | [diff] [blame] | 589 | serialized_start=949, |
| 590 | serialized_end=1056, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 591 | ) |
| 592 | |
| 593 | |
| 594 | _METRIC = _descriptor.Descriptor( |
| 595 | name='Metric', |
| 596 | full_name='dmi.Metric', |
| 597 | filename=None, |
| 598 | file=DESCRIPTOR, |
| 599 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 600 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 601 | fields=[ |
| 602 | _descriptor.FieldDescriptor( |
| 603 | name='metric_id', full_name='dmi.Metric.metric_id', index=0, |
| 604 | number=1, type=14, cpp_type=8, label=1, |
| 605 | has_default_value=False, default_value=0, |
| 606 | message_type=None, enum_type=None, containing_type=None, |
| 607 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 608 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 609 | _descriptor.FieldDescriptor( |
| 610 | name='metric_metadata', full_name='dmi.Metric.metric_metadata', index=1, |
| 611 | number=2, type=11, cpp_type=10, label=1, |
| 612 | has_default_value=False, default_value=None, |
| 613 | message_type=None, enum_type=None, containing_type=None, |
| 614 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 615 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 616 | _descriptor.FieldDescriptor( |
| 617 | name='value', full_name='dmi.Metric.value', index=2, |
| 618 | number=3, type=11, cpp_type=10, label=1, |
| 619 | has_default_value=False, default_value=None, |
| 620 | message_type=None, enum_type=None, containing_type=None, |
| 621 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 622 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 623 | ], |
| 624 | extensions=[ |
| 625 | ], |
| 626 | nested_types=[], |
| 627 | enum_types=[ |
| 628 | ], |
| 629 | serialized_options=None, |
| 630 | is_extendable=False, |
| 631 | syntax='proto3', |
| 632 | extension_ranges=[], |
| 633 | oneofs=[ |
| 634 | ], |
Chandrakanth Nalkudre Gowda | 68590a4 | 2021-04-22 15:19:21 +0530 | [diff] [blame] | 635 | serialized_start=1059, |
| 636 | serialized_end=1191, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 637 | ) |
| 638 | |
| 639 | |
| 640 | _GETMETRICREQUEST = _descriptor.Descriptor( |
| 641 | name='GetMetricRequest', |
| 642 | full_name='dmi.GetMetricRequest', |
| 643 | filename=None, |
| 644 | file=DESCRIPTOR, |
| 645 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 646 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 647 | fields=[ |
| 648 | _descriptor.FieldDescriptor( |
| 649 | name='meta_data', full_name='dmi.GetMetricRequest.meta_data', index=0, |
| 650 | number=1, type=11, cpp_type=10, label=1, |
| 651 | has_default_value=False, default_value=None, |
| 652 | message_type=None, enum_type=None, containing_type=None, |
| 653 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 654 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 655 | _descriptor.FieldDescriptor( |
| 656 | name='metric_id', full_name='dmi.GetMetricRequest.metric_id', index=1, |
| 657 | number=2, type=14, cpp_type=8, label=1, |
| 658 | has_default_value=False, default_value=0, |
| 659 | message_type=None, enum_type=None, containing_type=None, |
| 660 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 661 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 662 | ], |
| 663 | extensions=[ |
| 664 | ], |
| 665 | nested_types=[], |
| 666 | enum_types=[ |
| 667 | ], |
| 668 | serialized_options=None, |
| 669 | is_extendable=False, |
| 670 | syntax='proto3', |
| 671 | extension_ranges=[], |
| 672 | oneofs=[ |
| 673 | ], |
Chandrakanth Nalkudre Gowda | 68590a4 | 2021-04-22 15:19:21 +0530 | [diff] [blame] | 674 | serialized_start=1193, |
| 675 | serialized_end=1288, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 676 | ) |
| 677 | |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 678 | |
| 679 | _GETMETRICRESPONSE = _descriptor.Descriptor( |
| 680 | name='GetMetricResponse', |
| 681 | full_name='dmi.GetMetricResponse', |
| 682 | filename=None, |
| 683 | file=DESCRIPTOR, |
| 684 | containing_type=None, |
| 685 | create_key=_descriptor._internal_create_key, |
| 686 | fields=[ |
| 687 | _descriptor.FieldDescriptor( |
| 688 | name='status', full_name='dmi.GetMetricResponse.status', index=0, |
| 689 | number=1, type=14, cpp_type=8, label=1, |
| 690 | has_default_value=False, default_value=0, |
| 691 | message_type=None, enum_type=None, containing_type=None, |
| 692 | is_extension=False, extension_scope=None, |
| 693 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 694 | _descriptor.FieldDescriptor( |
| 695 | name='reason', full_name='dmi.GetMetricResponse.reason', index=1, |
| 696 | number=2, type=14, cpp_type=8, label=1, |
| 697 | has_default_value=False, default_value=0, |
| 698 | message_type=None, enum_type=None, containing_type=None, |
| 699 | is_extension=False, extension_scope=None, |
| 700 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 701 | _descriptor.FieldDescriptor( |
| 702 | name='metric', full_name='dmi.GetMetricResponse.metric', index=2, |
| 703 | number=3, type=11, cpp_type=10, label=1, |
| 704 | has_default_value=False, default_value=None, |
| 705 | message_type=None, enum_type=None, containing_type=None, |
| 706 | is_extension=False, extension_scope=None, |
| 707 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 708 | _descriptor.FieldDescriptor( |
| 709 | name='reason_detail', full_name='dmi.GetMetricResponse.reason_detail', index=3, |
| 710 | number=4, type=9, cpp_type=9, label=1, |
| 711 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 712 | message_type=None, enum_type=None, containing_type=None, |
| 713 | is_extension=False, extension_scope=None, |
| 714 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 715 | ], |
| 716 | extensions=[ |
| 717 | ], |
| 718 | nested_types=[], |
| 719 | enum_types=[ |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 720 | _GETMETRICRESPONSE_REASON, |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 721 | ], |
| 722 | serialized_options=None, |
| 723 | is_extendable=False, |
| 724 | syntax='proto3', |
| 725 | extension_ranges=[], |
| 726 | oneofs=[ |
| 727 | ], |
Chandrakanth Nalkudre Gowda | 68590a4 | 2021-04-22 15:19:21 +0530 | [diff] [blame] | 728 | serialized_start=1291, |
| 729 | serialized_end=1578, |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 730 | ) |
| 731 | |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 732 | _METRICCONFIG.fields_by_name['metric_id'].enum_type = _METRICNAMES |
| 733 | _METRICSCONFIG.fields_by_name['metrics'].message_type = _METRICCONFIG |
| 734 | _LISTMETRICSRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 735 | _LISTMETRICSRESPONSE.fields_by_name['reason'].enum_type = _LISTMETRICSRESPONSE_REASON |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 736 | _LISTMETRICSRESPONSE.fields_by_name['metrics'].message_type = _METRICSCONFIG |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 737 | _LISTMETRICSRESPONSE_REASON.containing_type = _LISTMETRICSRESPONSE |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 738 | _METRICSCONFIGURATIONREQUEST.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID |
| 739 | _METRICSCONFIGURATIONREQUEST.fields_by_name['changes'].message_type = _METRICSCONFIG |
| 740 | _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'].fields.append( |
| 741 | _METRICSCONFIGURATIONREQUEST.fields_by_name['changes']) |
| 742 | _METRICSCONFIGURATIONREQUEST.fields_by_name['changes'].containing_oneof = _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'] |
| 743 | _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'].fields.append( |
| 744 | _METRICSCONFIGURATIONREQUEST.fields_by_name['reset_to_default']) |
| 745 | _METRICSCONFIGURATIONREQUEST.fields_by_name['reset_to_default'].containing_oneof = _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'] |
| 746 | _METRICSCONFIGURATIONRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 747 | _METRICSCONFIGURATIONRESPONSE.fields_by_name['reason'].enum_type = _METRICSCONFIGURATIONRESPONSE_REASON |
| 748 | _METRICSCONFIGURATIONRESPONSE_REASON.containing_type = _METRICSCONFIGURATIONRESPONSE |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 749 | _METRICMETADATA.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID |
| 750 | _METRICMETADATA.fields_by_name['component_uuid'].message_type = dmi_dot_hw__pb2._UUID |
| 751 | _METRIC.fields_by_name['metric_id'].enum_type = _METRICNAMES |
| 752 | _METRIC.fields_by_name['metric_metadata'].message_type = _METRICMETADATA |
| 753 | _METRIC.fields_by_name['value'].message_type = dmi_dot_hw__pb2._COMPONENTSENSORDATA |
| 754 | _GETMETRICREQUEST.fields_by_name['meta_data'].message_type = _METRICMETADATA |
| 755 | _GETMETRICREQUEST.fields_by_name['metric_id'].enum_type = _METRICNAMES |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 756 | _GETMETRICRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 757 | _GETMETRICRESPONSE.fields_by_name['reason'].enum_type = _GETMETRICRESPONSE_REASON |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 758 | _GETMETRICRESPONSE.fields_by_name['metric'].message_type = _METRIC |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 759 | _GETMETRICRESPONSE_REASON.containing_type = _GETMETRICRESPONSE |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 760 | DESCRIPTOR.message_types_by_name['MetricConfig'] = _METRICCONFIG |
| 761 | DESCRIPTOR.message_types_by_name['MetricsConfig'] = _METRICSCONFIG |
| 762 | DESCRIPTOR.message_types_by_name['ListMetricsResponse'] = _LISTMETRICSRESPONSE |
| 763 | DESCRIPTOR.message_types_by_name['MetricsConfigurationRequest'] = _METRICSCONFIGURATIONREQUEST |
| 764 | DESCRIPTOR.message_types_by_name['MetricsConfigurationResponse'] = _METRICSCONFIGURATIONRESPONSE |
| 765 | DESCRIPTOR.message_types_by_name['MetricMetaData'] = _METRICMETADATA |
| 766 | DESCRIPTOR.message_types_by_name['Metric'] = _METRIC |
| 767 | DESCRIPTOR.message_types_by_name['GetMetricRequest'] = _GETMETRICREQUEST |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 768 | DESCRIPTOR.message_types_by_name['GetMetricResponse'] = _GETMETRICRESPONSE |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 769 | DESCRIPTOR.enum_types_by_name['MetricNames'] = _METRICNAMES |
| 770 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) |
| 771 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 772 | MetricConfig = _reflection.GeneratedProtocolMessageType('MetricConfig', (_message.Message,), { |
| 773 | 'DESCRIPTOR' : _METRICCONFIG, |
| 774 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 775 | # @@protoc_insertion_point(class_scope:dmi.MetricConfig) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 776 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 777 | _sym_db.RegisterMessage(MetricConfig) |
| 778 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 779 | MetricsConfig = _reflection.GeneratedProtocolMessageType('MetricsConfig', (_message.Message,), { |
| 780 | 'DESCRIPTOR' : _METRICSCONFIG, |
| 781 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 782 | # @@protoc_insertion_point(class_scope:dmi.MetricsConfig) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 783 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 784 | _sym_db.RegisterMessage(MetricsConfig) |
| 785 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 786 | ListMetricsResponse = _reflection.GeneratedProtocolMessageType('ListMetricsResponse', (_message.Message,), { |
| 787 | 'DESCRIPTOR' : _LISTMETRICSRESPONSE, |
| 788 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 789 | # @@protoc_insertion_point(class_scope:dmi.ListMetricsResponse) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 790 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 791 | _sym_db.RegisterMessage(ListMetricsResponse) |
| 792 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 793 | MetricsConfigurationRequest = _reflection.GeneratedProtocolMessageType('MetricsConfigurationRequest', (_message.Message,), { |
| 794 | 'DESCRIPTOR' : _METRICSCONFIGURATIONREQUEST, |
| 795 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 796 | # @@protoc_insertion_point(class_scope:dmi.MetricsConfigurationRequest) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 797 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 798 | _sym_db.RegisterMessage(MetricsConfigurationRequest) |
| 799 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 800 | MetricsConfigurationResponse = _reflection.GeneratedProtocolMessageType('MetricsConfigurationResponse', (_message.Message,), { |
| 801 | 'DESCRIPTOR' : _METRICSCONFIGURATIONRESPONSE, |
| 802 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 803 | # @@protoc_insertion_point(class_scope:dmi.MetricsConfigurationResponse) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 804 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 805 | _sym_db.RegisterMessage(MetricsConfigurationResponse) |
| 806 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 807 | MetricMetaData = _reflection.GeneratedProtocolMessageType('MetricMetaData', (_message.Message,), { |
| 808 | 'DESCRIPTOR' : _METRICMETADATA, |
| 809 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 810 | # @@protoc_insertion_point(class_scope:dmi.MetricMetaData) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 811 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 812 | _sym_db.RegisterMessage(MetricMetaData) |
| 813 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 814 | Metric = _reflection.GeneratedProtocolMessageType('Metric', (_message.Message,), { |
| 815 | 'DESCRIPTOR' : _METRIC, |
| 816 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 817 | # @@protoc_insertion_point(class_scope:dmi.Metric) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 818 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 819 | _sym_db.RegisterMessage(Metric) |
| 820 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 821 | GetMetricRequest = _reflection.GeneratedProtocolMessageType('GetMetricRequest', (_message.Message,), { |
| 822 | 'DESCRIPTOR' : _GETMETRICREQUEST, |
| 823 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 824 | # @@protoc_insertion_point(class_scope:dmi.GetMetricRequest) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 825 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 826 | _sym_db.RegisterMessage(GetMetricRequest) |
| 827 | |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 828 | GetMetricResponse = _reflection.GeneratedProtocolMessageType('GetMetricResponse', (_message.Message,), { |
| 829 | 'DESCRIPTOR' : _GETMETRICRESPONSE, |
| 830 | '__module__' : 'dmi.hw_metrics_mgmt_service_pb2' |
| 831 | # @@protoc_insertion_point(class_scope:dmi.GetMetricResponse) |
| 832 | }) |
| 833 | _sym_db.RegisterMessage(GetMetricResponse) |
| 834 | |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 835 | |
| 836 | DESCRIPTOR._options = None |
| 837 | |
| 838 | _NATIVEMETRICSMANAGEMENTSERVICE = _descriptor.ServiceDescriptor( |
| 839 | name='NativeMetricsManagementService', |
| 840 | full_name='dmi.NativeMetricsManagementService', |
| 841 | file=DESCRIPTOR, |
| 842 | index=0, |
| 843 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 844 | create_key=_descriptor._internal_create_key, |
Chandrakanth Nalkudre Gowda | 68590a4 | 2021-04-22 15:19:21 +0530 | [diff] [blame] | 845 | serialized_start=2313, |
| 846 | serialized_end=2618, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 847 | methods=[ |
| 848 | _descriptor.MethodDescriptor( |
| 849 | name='ListMetrics', |
| 850 | full_name='dmi.NativeMetricsManagementService.ListMetrics', |
| 851 | index=0, |
| 852 | containing_service=None, |
| 853 | input_type=dmi_dot_hw__pb2._HARDWAREID, |
| 854 | output_type=_LISTMETRICSRESPONSE, |
| 855 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 856 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 857 | ), |
| 858 | _descriptor.MethodDescriptor( |
| 859 | name='UpdateMetricsConfiguration', |
| 860 | full_name='dmi.NativeMetricsManagementService.UpdateMetricsConfiguration', |
| 861 | index=1, |
| 862 | containing_service=None, |
| 863 | input_type=_METRICSCONFIGURATIONREQUEST, |
| 864 | output_type=_METRICSCONFIGURATIONRESPONSE, |
| 865 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 866 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 867 | ), |
| 868 | _descriptor.MethodDescriptor( |
| 869 | name='GetMetric', |
| 870 | full_name='dmi.NativeMetricsManagementService.GetMetric', |
| 871 | index=2, |
| 872 | containing_service=None, |
| 873 | input_type=_GETMETRICREQUEST, |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 874 | output_type=_GETMETRICRESPONSE, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 875 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 876 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 877 | ), |
Chandrakanth Nalkudre Gowda | 68590a4 | 2021-04-22 15:19:21 +0530 | [diff] [blame] | 878 | _descriptor.MethodDescriptor( |
| 879 | name='StreamMetrics', |
| 880 | full_name='dmi.NativeMetricsManagementService.StreamMetrics', |
| 881 | index=3, |
| 882 | containing_service=None, |
| 883 | input_type=google_dot_protobuf_dot_empty__pb2._EMPTY, |
| 884 | output_type=_METRIC, |
| 885 | serialized_options=None, |
| 886 | create_key=_descriptor._internal_create_key, |
| 887 | ), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 888 | ]) |
| 889 | _sym_db.RegisterServiceDescriptor(_NATIVEMETRICSMANAGEMENTSERVICE) |
| 890 | |
| 891 | DESCRIPTOR.services_by_name['NativeMetricsManagementService'] = _NATIVEMETRICSMANAGEMENTSERVICE |
| 892 | |
| 893 | # @@protoc_insertion_point(module_scope) |