| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 | // source: dmi/hw_events_mgmt_service.proto |
| 3 | |
| 4 | #ifndef PROTOBUF_INCLUDED_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto |
| 5 | #define PROTOBUF_INCLUDED_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto |
| 6 | |
| 7 | #include <limits> |
| 8 | #include <string> |
| 9 | |
| 10 | #include <google/protobuf/port_def.inc> |
| 11 | #if PROTOBUF_VERSION < 3007000 |
| 12 | #error This file was generated by a newer version of protoc which is |
| 13 | #error incompatible with your Protocol Buffer headers. Please update |
| 14 | #error your headers. |
| 15 | #endif |
| 16 | #if 3007000 < PROTOBUF_MIN_PROTOC_VERSION |
| 17 | #error This file was generated by an older version of protoc which is |
| 18 | #error incompatible with your Protocol Buffer headers. Please |
| 19 | #error regenerate this file with a newer version of protoc. |
| 20 | #endif |
| 21 | |
| 22 | #include <google/protobuf/port_undef.inc> |
| 23 | #include <google/protobuf/io/coded_stream.h> |
| 24 | #include <google/protobuf/arena.h> |
| 25 | #include <google/protobuf/arenastring.h> |
| 26 | #include <google/protobuf/generated_message_table_driven.h> |
| 27 | #include <google/protobuf/generated_message_util.h> |
| 28 | #include <google/protobuf/inlined_string_field.h> |
| 29 | #include <google/protobuf/metadata.h> |
| 30 | #include <google/protobuf/message.h> |
| 31 | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
| 32 | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
| 33 | #include <google/protobuf/generated_enum_reflection.h> |
| 34 | #include <google/protobuf/unknown_field_set.h> |
| 35 | #include "dmi/commons.pb.h" |
| 36 | #include "dmi/hw.pb.h" |
| 37 | #include <google/protobuf/timestamp.pb.h> |
| Chandrakanth Nalkudre Gowda | 68590a4 | 2021-04-22 15:19:21 +0530 | [diff] [blame] | 38 | #include <google/protobuf/empty.pb.h> |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 39 | // @@protoc_insertion_point(includes) |
| 40 | #include <google/protobuf/port_def.inc> |
| 41 | #define PROTOBUF_INTERNAL_EXPORT_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto |
| 42 | |
| 43 | // Internal implementation detail -- do not use these members. |
| 44 | struct TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto { |
| 45 | static const ::google::protobuf::internal::ParseTableField entries[] |
| 46 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
| 47 | static const ::google::protobuf::internal::AuxillaryParseTableField aux[] |
| 48 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
| Amit Ghosh | d0151a3 | 2025-10-03 10:53:14 +0200 | [diff] [blame^] | 49 | static const ::google::protobuf::internal::ParseTable schema[18] |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 50 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
| 51 | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
| 52 | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
| 53 | static const ::google::protobuf::uint32 offsets[]; |
| 54 | }; |
| 55 | void AddDescriptors_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto(); |
| 56 | namespace dmi { |
| Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame] | 57 | class AdminStateChange; |
| 58 | class AdminStateChangeDefaultTypeInternal; |
| 59 | extern AdminStateChangeDefaultTypeInternal _AdminStateChange_default_instance_; |
| 60 | class AlarmStateChange; |
| 61 | class AlarmStateChangeDefaultTypeInternal; |
| 62 | extern AlarmStateChangeDefaultTypeInternal _AlarmStateChange_default_instance_; |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 63 | class Event; |
| 64 | class EventDefaultTypeInternal; |
| 65 | extern EventDefaultTypeInternal _Event_default_instance_; |
| 66 | class EventCfg; |
| 67 | class EventCfgDefaultTypeInternal; |
| 68 | extern EventCfgDefaultTypeInternal _EventCfg_default_instance_; |
| 69 | class EventMetaData; |
| 70 | class EventMetaDataDefaultTypeInternal; |
| 71 | extern EventMetaDataDefaultTypeInternal _EventMetaData_default_instance_; |
| 72 | class EventsCfg; |
| 73 | class EventsCfgDefaultTypeInternal; |
| 74 | extern EventsCfgDefaultTypeInternal _EventsCfg_default_instance_; |
| 75 | class EventsConfigurationRequest; |
| 76 | class EventsConfigurationRequestDefaultTypeInternal; |
| 77 | extern EventsConfigurationRequestDefaultTypeInternal _EventsConfigurationRequest_default_instance_; |
| 78 | class EventsConfigurationResponse; |
| 79 | class EventsConfigurationResponseDefaultTypeInternal; |
| 80 | extern EventsConfigurationResponseDefaultTypeInternal _EventsConfigurationResponse_default_instance_; |
| Amit Ghosh | d0151a3 | 2025-10-03 10:53:14 +0200 | [diff] [blame^] | 81 | class GenericEventInfo; |
| 82 | class GenericEventInfoDefaultTypeInternal; |
| 83 | extern GenericEventInfoDefaultTypeInternal _GenericEventInfo_default_instance_; |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 84 | class ListEventsResponse; |
| 85 | class ListEventsResponseDefaultTypeInternal; |
| 86 | extern ListEventsResponseDefaultTypeInternal _ListEventsResponse_default_instance_; |
| Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame] | 87 | class OperStateChange; |
| 88 | class OperStateChangeDefaultTypeInternal; |
| 89 | extern OperStateChangeDefaultTypeInternal _OperStateChange_default_instance_; |
| 90 | class StandbyStateChange; |
| 91 | class StandbyStateChangeDefaultTypeInternal; |
| 92 | extern StandbyStateChangeDefaultTypeInternal _StandbyStateChange_default_instance_; |
| 93 | class StateChangeInfo; |
| 94 | class StateChangeInfoDefaultTypeInternal; |
| 95 | extern StateChangeInfoDefaultTypeInternal _StateChangeInfo_default_instance_; |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 96 | class ThresholdInformation; |
| 97 | class ThresholdInformationDefaultTypeInternal; |
| 98 | extern ThresholdInformationDefaultTypeInternal _ThresholdInformation_default_instance_; |
| 99 | class Thresholds; |
| 100 | class ThresholdsDefaultTypeInternal; |
| 101 | extern ThresholdsDefaultTypeInternal _Thresholds_default_instance_; |
| Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame] | 102 | class UsageStateChange; |
| 103 | class UsageStateChangeDefaultTypeInternal; |
| 104 | extern UsageStateChangeDefaultTypeInternal _UsageStateChange_default_instance_; |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 105 | class ValueType; |
| 106 | class ValueTypeDefaultTypeInternal; |
| 107 | extern ValueTypeDefaultTypeInternal _ValueType_default_instance_; |
| 108 | class WaterMarks; |
| 109 | class WaterMarksDefaultTypeInternal; |
| 110 | extern WaterMarksDefaultTypeInternal _WaterMarks_default_instance_; |
| 111 | } // namespace dmi |
| 112 | namespace google { |
| 113 | namespace protobuf { |
| Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame] | 114 | template<> ::dmi::AdminStateChange* Arena::CreateMaybeMessage<::dmi::AdminStateChange>(Arena*); |
| 115 | template<> ::dmi::AlarmStateChange* Arena::CreateMaybeMessage<::dmi::AlarmStateChange>(Arena*); |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 116 | template<> ::dmi::Event* Arena::CreateMaybeMessage<::dmi::Event>(Arena*); |
| 117 | template<> ::dmi::EventCfg* Arena::CreateMaybeMessage<::dmi::EventCfg>(Arena*); |
| 118 | template<> ::dmi::EventMetaData* Arena::CreateMaybeMessage<::dmi::EventMetaData>(Arena*); |
| 119 | template<> ::dmi::EventsCfg* Arena::CreateMaybeMessage<::dmi::EventsCfg>(Arena*); |
| 120 | template<> ::dmi::EventsConfigurationRequest* Arena::CreateMaybeMessage<::dmi::EventsConfigurationRequest>(Arena*); |
| 121 | template<> ::dmi::EventsConfigurationResponse* Arena::CreateMaybeMessage<::dmi::EventsConfigurationResponse>(Arena*); |
| Amit Ghosh | d0151a3 | 2025-10-03 10:53:14 +0200 | [diff] [blame^] | 122 | template<> ::dmi::GenericEventInfo* Arena::CreateMaybeMessage<::dmi::GenericEventInfo>(Arena*); |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 123 | template<> ::dmi::ListEventsResponse* Arena::CreateMaybeMessage<::dmi::ListEventsResponse>(Arena*); |
| Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame] | 124 | template<> ::dmi::OperStateChange* Arena::CreateMaybeMessage<::dmi::OperStateChange>(Arena*); |
| 125 | template<> ::dmi::StandbyStateChange* Arena::CreateMaybeMessage<::dmi::StandbyStateChange>(Arena*); |
| 126 | template<> ::dmi::StateChangeInfo* Arena::CreateMaybeMessage<::dmi::StateChangeInfo>(Arena*); |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 127 | template<> ::dmi::ThresholdInformation* Arena::CreateMaybeMessage<::dmi::ThresholdInformation>(Arena*); |
| 128 | template<> ::dmi::Thresholds* Arena::CreateMaybeMessage<::dmi::Thresholds>(Arena*); |
| Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame] | 129 | template<> ::dmi::UsageStateChange* Arena::CreateMaybeMessage<::dmi::UsageStateChange>(Arena*); |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 130 | template<> ::dmi::ValueType* Arena::CreateMaybeMessage<::dmi::ValueType>(Arena*); |
| 131 | template<> ::dmi::WaterMarks* Arena::CreateMaybeMessage<::dmi::WaterMarks>(Arena*); |
| 132 | } // namespace protobuf |
| 133 | } // namespace google |
| 134 | namespace dmi { |
| 135 | |
| 136 | enum ListEventsResponse_Reason { |
| 137 | ListEventsResponse_Reason_UNDEFINED_REASON = 0, |
| 138 | ListEventsResponse_Reason_UNKNOWN_DEVICE = 1, |
| 139 | ListEventsResponse_Reason_INTERNAL_ERROR = 2, |
| 140 | ListEventsResponse_Reason_DEVICE_UNREACHABLE = 3, |
| 141 | ListEventsResponse_Reason_ListEventsResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 142 | ListEventsResponse_Reason_ListEventsResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 143 | }; |
| 144 | bool ListEventsResponse_Reason_IsValid(int value); |
| 145 | const ListEventsResponse_Reason ListEventsResponse_Reason_Reason_MIN = ListEventsResponse_Reason_UNDEFINED_REASON; |
| 146 | const ListEventsResponse_Reason ListEventsResponse_Reason_Reason_MAX = ListEventsResponse_Reason_DEVICE_UNREACHABLE; |
| 147 | const int ListEventsResponse_Reason_Reason_ARRAYSIZE = ListEventsResponse_Reason_Reason_MAX + 1; |
| 148 | |
| 149 | const ::google::protobuf::EnumDescriptor* ListEventsResponse_Reason_descriptor(); |
| 150 | inline const ::std::string& ListEventsResponse_Reason_Name(ListEventsResponse_Reason value) { |
| 151 | return ::google::protobuf::internal::NameOfEnum( |
| 152 | ListEventsResponse_Reason_descriptor(), value); |
| 153 | } |
| 154 | inline bool ListEventsResponse_Reason_Parse( |
| 155 | const ::std::string& name, ListEventsResponse_Reason* value) { |
| 156 | return ::google::protobuf::internal::ParseNamedEnum<ListEventsResponse_Reason>( |
| 157 | ListEventsResponse_Reason_descriptor(), name, value); |
| 158 | } |
| 159 | enum EventsConfigurationResponse_Reason { |
| 160 | EventsConfigurationResponse_Reason_UNDEFINED_REASON = 0, |
| 161 | EventsConfigurationResponse_Reason_UNKNOWN_DEVICE = 1, |
| 162 | EventsConfigurationResponse_Reason_INTERNAL_ERROR = 2, |
| 163 | EventsConfigurationResponse_Reason_INVALID_CONFIG = 3, |
| 164 | EventsConfigurationResponse_Reason_DEVICE_UNREACHABLE = 4, |
| 165 | EventsConfigurationResponse_Reason_EventsConfigurationResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 166 | EventsConfigurationResponse_Reason_EventsConfigurationResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 167 | }; |
| 168 | bool EventsConfigurationResponse_Reason_IsValid(int value); |
| 169 | const EventsConfigurationResponse_Reason EventsConfigurationResponse_Reason_Reason_MIN = EventsConfigurationResponse_Reason_UNDEFINED_REASON; |
| 170 | const EventsConfigurationResponse_Reason EventsConfigurationResponse_Reason_Reason_MAX = EventsConfigurationResponse_Reason_DEVICE_UNREACHABLE; |
| 171 | const int EventsConfigurationResponse_Reason_Reason_ARRAYSIZE = EventsConfigurationResponse_Reason_Reason_MAX + 1; |
| 172 | |
| 173 | const ::google::protobuf::EnumDescriptor* EventsConfigurationResponse_Reason_descriptor(); |
| 174 | inline const ::std::string& EventsConfigurationResponse_Reason_Name(EventsConfigurationResponse_Reason value) { |
| 175 | return ::google::protobuf::internal::NameOfEnum( |
| 176 | EventsConfigurationResponse_Reason_descriptor(), value); |
| 177 | } |
| 178 | inline bool EventsConfigurationResponse_Reason_Parse( |
| 179 | const ::std::string& name, EventsConfigurationResponse_Reason* value) { |
| 180 | return ::google::protobuf::internal::ParseNamedEnum<EventsConfigurationResponse_Reason>( |
| 181 | EventsConfigurationResponse_Reason_descriptor(), name, value); |
| 182 | } |
| Amit Ghosh | d0151a3 | 2025-10-03 10:53:14 +0200 | [diff] [blame^] | 183 | enum GenericEventInfo_EventSeverity { |
| 184 | GenericEventInfo_EventSeverity_EVENT_SEVERITY_UNSPECIFIED = 0, |
| 185 | GenericEventInfo_EventSeverity_CRITICAL = 1, |
| 186 | GenericEventInfo_EventSeverity_MAJOR = 2, |
| 187 | GenericEventInfo_EventSeverity_MINOR = 3, |
| 188 | GenericEventInfo_EventSeverity_NORMAL = 4, |
| 189 | GenericEventInfo_EventSeverity_INFO = 5, |
| 190 | GenericEventInfo_EventSeverity_GenericEventInfo_EventSeverity_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 191 | GenericEventInfo_EventSeverity_GenericEventInfo_EventSeverity_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 192 | }; |
| 193 | bool GenericEventInfo_EventSeverity_IsValid(int value); |
| 194 | const GenericEventInfo_EventSeverity GenericEventInfo_EventSeverity_EventSeverity_MIN = GenericEventInfo_EventSeverity_EVENT_SEVERITY_UNSPECIFIED; |
| 195 | const GenericEventInfo_EventSeverity GenericEventInfo_EventSeverity_EventSeverity_MAX = GenericEventInfo_EventSeverity_INFO; |
| 196 | const int GenericEventInfo_EventSeverity_EventSeverity_ARRAYSIZE = GenericEventInfo_EventSeverity_EventSeverity_MAX + 1; |
| 197 | |
| 198 | const ::google::protobuf::EnumDescriptor* GenericEventInfo_EventSeverity_descriptor(); |
| 199 | inline const ::std::string& GenericEventInfo_EventSeverity_Name(GenericEventInfo_EventSeverity value) { |
| 200 | return ::google::protobuf::internal::NameOfEnum( |
| 201 | GenericEventInfo_EventSeverity_descriptor(), value); |
| 202 | } |
| 203 | inline bool GenericEventInfo_EventSeverity_Parse( |
| 204 | const ::std::string& name, GenericEventInfo_EventSeverity* value) { |
| 205 | return ::google::protobuf::internal::ParseNamedEnum<GenericEventInfo_EventSeverity>( |
| 206 | GenericEventInfo_EventSeverity_descriptor(), name, value); |
| 207 | } |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 208 | enum EventIds { |
| 209 | EVENT_NAME_UNDEFINED = 0, |
| 210 | EVENT_TRANSCEIVER_PLUG_OUT = 100, |
| 211 | EVENT_TRANSCEIVER_PLUG_IN = 101, |
| 212 | EVENT_TRANSCEIVER_VOLTAGE_ABOVE_THRESHOLD = 102, |
| 213 | EVENT_TRANSCEIVER_VOLTAGE_BELOW_THRESHOLD = 103, |
| 214 | EVENT_TRANSCEIVER_TEMPERATURE_ABOVE_THRESHOLD = 104, |
| 215 | EVENT_TRANSCEIVER_TEMPERATURE_BELOW_THRESHOLD = 105, |
| 216 | EVENT_TRANSCEIVER_CURRENT_ABOVE_THRESHOLD = 106, |
| 217 | EVENT_TRANSCEIVER_CURRENT_BELOW_THRESHOLD = 107, |
| 218 | EVENT_TRANSCEIVER_RX_POWER_ABOVE_THRESHOLD = 108, |
| 219 | EVENT_TRANSCEIVER_RX_POWER_BELOW_THRESHOLD = 109, |
| 220 | EVENT_TRANSCEIVER_TX_POWER_ABOVE_THRESHOLD = 110, |
| 221 | EVENT_TRANSCEIVER_TX_POWER_BELOW_THRESHOLD = 111, |
| 222 | EVENT_TRANSCEIVER_FAILURE = 112, |
| 223 | EVENT_TRANSCEIVER_VOLTAGE_ABOVE_THRESHOLD_RECOVERED = 113, |
| 224 | EVENT_TRANSCEIVER_VOLTAGE_BELOW_THRESHOLD_RECOVERED = 114, |
| 225 | EVENT_TRANSCEIVER_TEMPERATURE_ABOVE_THRESHOLD_RECOVERED = 115, |
| 226 | EVENT_TRANSCEIVER_TEMPERATURE_BELOW_THRESHOLD_RECOVERED = 116, |
| 227 | EVENT_TRANSCEIVER_CURRENT_ABOVE_THRESHOLD_RECOVERED = 117, |
| 228 | EVENT_TRANSCEIVER_CURRENT_BELOW_THRESHOLD_RECOVERED = 118, |
| 229 | EVENT_TRANSCEIVER_RX_POWER_ABOVE_THRESHOLD_RECOVERED = 119, |
| 230 | EVENT_TRANSCEIVER_RX_POWER_BELOW_THRESHOLD_RECOVERED = 120, |
| 231 | EVENT_TRANSCEIVER_TX_POWER_ABOVE_THRESHOLD_RECOVERED = 121, |
| 232 | EVENT_TRANSCEIVER_TX_POWER_BELOW_THRESHOLD_RECOVERED = 122, |
| 233 | EVENT_TRANSCEIVER_FAILURE_RECOVERED = 123, |
| 234 | EVENT_PSU_PLUG_OUT = 200, |
| 235 | EVENT_PSU_PLUG_IN = 201, |
| 236 | EVENT_PSU_FAILURE = 202, |
| 237 | EVENT_PSU_FAILURE_RECOVERED = 203, |
| 238 | EVENT_FAN_FAILURE = 300, |
| 239 | EVENT_FAN_PLUG_OUT = 301, |
| 240 | EVENT_FAN_PLUG_IN = 302, |
| 241 | EVENT_FAN_FAILURE_RECOVERED = 303, |
| 242 | EVENT_CPU_TEMPERATURE_ABOVE_CRITICAL = 400, |
| 243 | EVENT_CPU_TEMPERATURE_ABOVE_FATAL = 401, |
| 244 | EVENT_CPU_TEMPERATURE_ABOVE_CRITICAL_RECOVERED = 402, |
| 245 | EVENT_CPU_TEMPERATURE_ABOVE_FATAL_RECOVERED = 403, |
| amit.ghosh | 06f4978 | 2023-06-15 13:53:51 +0200 | [diff] [blame] | 246 | EVENT_CPU_USAGE_ABOVE_THRESHOLD = 404, |
| 247 | EVENT_CPU_USAGE_ABOVE_THRESHOLD_RECOVERED = 405, |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 248 | EVENT_HW_DEVICE_RESET = 500, |
| 249 | EVENT_HW_DEVICE_TEMPERATURE_ABOVE_CRITICAL = 501, |
| 250 | EVENT_HW_DEVICE_TEMPERATURE_ABOVE_FATAL = 502, |
| 251 | EVENT_HW_DEVICE_TEMPERATURE_ABOVE_CRITICAL_RECOVERED = 503, |
| 252 | EVENT_HW_DEVICE_TEMPERATURE_ABOVE_FATAL_RECOVERED = 504, |
| Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 253 | EVENT_HW_DEVICE_REBOOT = 505, |
| amit.ghosh | 8fe610f | 2022-01-14 17:44:53 +0100 | [diff] [blame] | 254 | EVENT_HW_TEMPERATURE_SENSOR_FAILED = 506, |
| 255 | EVENT_HW_ALL_TEMPERATURE_SENSORS_FAILED = 507, |
| amit.ghosh | 06f4978 | 2023-06-15 13:53:51 +0200 | [diff] [blame] | 256 | EVENT_HW_DISK_USAGE_ABOVE_THRESHOLD = 508, |
| 257 | EVENT_HW_DISK_USAGE_ABOVE_THRESHOLD_RECOVERED = 509, |
| 258 | EVENT_HW_MEMORY_USAGE_ABOVE_THRESHOLD = 510, |
| 259 | EVENT_HW_MEMORY_USAGE_ABOVE_THRESHOLD_RECOVERED = 511, |
| 260 | EVENT_HW_NTP_SYNC_FAILURE = 512, |
| 261 | EVENT_HW_NTP_SYNC_FAILURE_RECOVERED = 513, |
| amit.ghosh | c0c3c24 | 2022-03-16 11:00:27 +0100 | [diff] [blame] | 262 | EVENT_LINE_CARD_PLUG_OUT = 600, |
| 263 | EVENT_LINE_CARD_PLUG_IN = 601, |
| Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame] | 264 | EVENT_COMPONENT_ADMIN_STATE_CHANGED = 700, |
| 265 | EVENT_COMPONENT_OPER_STATE_CHANGED = 701, |
| 266 | EVENT_COMPONENT_ALARM_STATE_CHANGED = 702, |
| 267 | EVENT_COMPONENT_USAGE_STATE_CHANGED = 703, |
| 268 | EVENT_COMPONENT_STANDBY_STATE_CHANGED = 704, |
| Amit Ghosh | d0151a3 | 2025-10-03 10:53:14 +0200 | [diff] [blame^] | 269 | EVENT_COMPONENT_GENERIC_EVENT = 705, |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 270 | EventIds_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 271 | EventIds_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 272 | }; |
| 273 | bool EventIds_IsValid(int value); |
| 274 | const EventIds EventIds_MIN = EVENT_NAME_UNDEFINED; |
| Amit Ghosh | d0151a3 | 2025-10-03 10:53:14 +0200 | [diff] [blame^] | 275 | const EventIds EventIds_MAX = EVENT_COMPONENT_GENERIC_EVENT; |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 276 | const int EventIds_ARRAYSIZE = EventIds_MAX + 1; |
| 277 | |
| 278 | const ::google::protobuf::EnumDescriptor* EventIds_descriptor(); |
| 279 | inline const ::std::string& EventIds_Name(EventIds value) { |
| 280 | return ::google::protobuf::internal::NameOfEnum( |
| 281 | EventIds_descriptor(), value); |
| 282 | } |
| 283 | inline bool EventIds_Parse( |
| 284 | const ::std::string& name, EventIds* value) { |
| 285 | return ::google::protobuf::internal::ParseNamedEnum<EventIds>( |
| 286 | EventIds_descriptor(), name, value); |
| 287 | } |
| 288 | // =================================================================== |
| 289 | |
| 290 | class ValueType final : |
| 291 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.ValueType) */ { |
| 292 | public: |
| 293 | ValueType(); |
| 294 | virtual ~ValueType(); |
| 295 | |
| 296 | ValueType(const ValueType& from); |
| 297 | |
| 298 | inline ValueType& operator=(const ValueType& from) { |
| 299 | CopyFrom(from); |
| 300 | return *this; |
| 301 | } |
| 302 | #if LANG_CXX11 |
| 303 | ValueType(ValueType&& from) noexcept |
| 304 | : ValueType() { |
| 305 | *this = ::std::move(from); |
| 306 | } |
| 307 | |
| 308 | inline ValueType& operator=(ValueType&& from) noexcept { |
| 309 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 310 | if (this != &from) InternalSwap(&from); |
| 311 | } else { |
| 312 | CopyFrom(from); |
| 313 | } |
| 314 | return *this; |
| 315 | } |
| 316 | #endif |
| 317 | static const ::google::protobuf::Descriptor* descriptor() { |
| 318 | return default_instance().GetDescriptor(); |
| 319 | } |
| 320 | static const ValueType& default_instance(); |
| 321 | |
| 322 | enum ValCase { |
| 323 | kIntVal = 1, |
| 324 | kUintVal = 2, |
| 325 | kFloatVal = 3, |
| 326 | VAL_NOT_SET = 0, |
| 327 | }; |
| 328 | |
| 329 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 330 | static inline const ValueType* internal_default_instance() { |
| 331 | return reinterpret_cast<const ValueType*>( |
| 332 | &_ValueType_default_instance_); |
| 333 | } |
| 334 | static constexpr int kIndexInFileMessages = |
| 335 | 0; |
| 336 | |
| 337 | void Swap(ValueType* other); |
| 338 | friend void swap(ValueType& a, ValueType& b) { |
| 339 | a.Swap(&b); |
| 340 | } |
| 341 | |
| 342 | // implements Message ---------------------------------------------- |
| 343 | |
| 344 | inline ValueType* New() const final { |
| 345 | return CreateMaybeMessage<ValueType>(nullptr); |
| 346 | } |
| 347 | |
| 348 | ValueType* New(::google::protobuf::Arena* arena) const final { |
| 349 | return CreateMaybeMessage<ValueType>(arena); |
| 350 | } |
| 351 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 352 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 353 | void CopyFrom(const ValueType& from); |
| 354 | void MergeFrom(const ValueType& from); |
| 355 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 356 | bool IsInitialized() const final; |
| 357 | |
| 358 | size_t ByteSizeLong() const final; |
| 359 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 360 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 361 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 362 | #else |
| 363 | bool MergePartialFromCodedStream( |
| 364 | ::google::protobuf::io::CodedInputStream* input) final; |
| 365 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 366 | void SerializeWithCachedSizes( |
| 367 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 368 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 369 | ::google::protobuf::uint8* target) const final; |
| 370 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 371 | |
| 372 | private: |
| 373 | void SharedCtor(); |
| 374 | void SharedDtor(); |
| 375 | void SetCachedSize(int size) const final; |
| 376 | void InternalSwap(ValueType* other); |
| 377 | private: |
| 378 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 379 | return nullptr; |
| 380 | } |
| 381 | inline void* MaybeArenaPtr() const { |
| 382 | return nullptr; |
| 383 | } |
| 384 | public: |
| 385 | |
| 386 | ::google::protobuf::Metadata GetMetadata() const final; |
| 387 | |
| 388 | // nested types ---------------------------------------------------- |
| 389 | |
| 390 | // accessors ------------------------------------------------------- |
| 391 | |
| amit.ghosh | 93921ec | 2022-09-08 17:22:40 +0200 | [diff] [blame] | 392 | // .dmi.DataValueType typeOfVal = 4; |
| 393 | void clear_typeofval(); |
| 394 | static const int kTypeOfValFieldNumber = 4; |
| 395 | ::dmi::DataValueType typeofval() const; |
| 396 | void set_typeofval(::dmi::DataValueType value); |
| 397 | |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 398 | // int64 int_val = 1; |
| 399 | private: |
| 400 | bool has_int_val() const; |
| 401 | public: |
| 402 | void clear_int_val(); |
| 403 | static const int kIntValFieldNumber = 1; |
| 404 | ::google::protobuf::int64 int_val() const; |
| 405 | void set_int_val(::google::protobuf::int64 value); |
| 406 | |
| 407 | // uint64 uint_val = 2; |
| 408 | private: |
| 409 | bool has_uint_val() const; |
| 410 | public: |
| 411 | void clear_uint_val(); |
| 412 | static const int kUintValFieldNumber = 2; |
| 413 | ::google::protobuf::uint64 uint_val() const; |
| 414 | void set_uint_val(::google::protobuf::uint64 value); |
| 415 | |
| 416 | // float float_val = 3; |
| 417 | private: |
| 418 | bool has_float_val() const; |
| 419 | public: |
| 420 | void clear_float_val(); |
| 421 | static const int kFloatValFieldNumber = 3; |
| 422 | float float_val() const; |
| 423 | void set_float_val(float value); |
| 424 | |
| 425 | void clear_val(); |
| 426 | ValCase val_case() const; |
| 427 | // @@protoc_insertion_point(class_scope:dmi.ValueType) |
| 428 | private: |
| 429 | class HasBitSetters; |
| 430 | void set_has_int_val(); |
| 431 | void set_has_uint_val(); |
| 432 | void set_has_float_val(); |
| 433 | |
| 434 | inline bool has_val() const; |
| 435 | inline void clear_has_val(); |
| 436 | |
| 437 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| amit.ghosh | 93921ec | 2022-09-08 17:22:40 +0200 | [diff] [blame] | 438 | int typeofval_; |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 439 | union ValUnion { |
| 440 | ValUnion() {} |
| 441 | ::google::protobuf::int64 int_val_; |
| 442 | ::google::protobuf::uint64 uint_val_; |
| 443 | float float_val_; |
| 444 | } val_; |
| 445 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 446 | ::google::protobuf::uint32 _oneof_case_[1]; |
| 447 | |
| 448 | friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto; |
| 449 | }; |
| 450 | // ------------------------------------------------------------------- |
| 451 | |
| 452 | class WaterMarks final : |
| 453 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.WaterMarks) */ { |
| 454 | public: |
| 455 | WaterMarks(); |
| 456 | virtual ~WaterMarks(); |
| 457 | |
| 458 | WaterMarks(const WaterMarks& from); |
| 459 | |
| 460 | inline WaterMarks& operator=(const WaterMarks& from) { |
| 461 | CopyFrom(from); |
| 462 | return *this; |
| 463 | } |
| 464 | #if LANG_CXX11 |
| 465 | WaterMarks(WaterMarks&& from) noexcept |
| 466 | : WaterMarks() { |
| 467 | *this = ::std::move(from); |
| 468 | } |
| 469 | |
| 470 | inline WaterMarks& operator=(WaterMarks&& from) noexcept { |
| 471 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 472 | if (this != &from) InternalSwap(&from); |
| 473 | } else { |
| 474 | CopyFrom(from); |
| 475 | } |
| 476 | return *this; |
| 477 | } |
| 478 | #endif |
| 479 | static const ::google::protobuf::Descriptor* descriptor() { |
| 480 | return default_instance().GetDescriptor(); |
| 481 | } |
| 482 | static const WaterMarks& default_instance(); |
| 483 | |
| 484 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 485 | static inline const WaterMarks* internal_default_instance() { |
| 486 | return reinterpret_cast<const WaterMarks*>( |
| 487 | &_WaterMarks_default_instance_); |
| 488 | } |
| 489 | static constexpr int kIndexInFileMessages = |
| 490 | 1; |
| 491 | |
| 492 | void Swap(WaterMarks* other); |
| 493 | friend void swap(WaterMarks& a, WaterMarks& b) { |
| 494 | a.Swap(&b); |
| 495 | } |
| 496 | |
| 497 | // implements Message ---------------------------------------------- |
| 498 | |
| 499 | inline WaterMarks* New() const final { |
| 500 | return CreateMaybeMessage<WaterMarks>(nullptr); |
| 501 | } |
| 502 | |
| 503 | WaterMarks* New(::google::protobuf::Arena* arena) const final { |
| 504 | return CreateMaybeMessage<WaterMarks>(arena); |
| 505 | } |
| 506 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 507 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 508 | void CopyFrom(const WaterMarks& from); |
| 509 | void MergeFrom(const WaterMarks& from); |
| 510 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 511 | bool IsInitialized() const final; |
| 512 | |
| 513 | size_t ByteSizeLong() const final; |
| 514 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 515 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 516 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 517 | #else |
| 518 | bool MergePartialFromCodedStream( |
| 519 | ::google::protobuf::io::CodedInputStream* input) final; |
| 520 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 521 | void SerializeWithCachedSizes( |
| 522 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 523 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 524 | ::google::protobuf::uint8* target) const final; |
| 525 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 526 | |
| 527 | private: |
| 528 | void SharedCtor(); |
| 529 | void SharedDtor(); |
| 530 | void SetCachedSize(int size) const final; |
| 531 | void InternalSwap(WaterMarks* other); |
| 532 | private: |
| 533 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 534 | return nullptr; |
| 535 | } |
| 536 | inline void* MaybeArenaPtr() const { |
| 537 | return nullptr; |
| 538 | } |
| 539 | public: |
| 540 | |
| 541 | ::google::protobuf::Metadata GetMetadata() const final; |
| 542 | |
| 543 | // nested types ---------------------------------------------------- |
| 544 | |
| 545 | // accessors ------------------------------------------------------- |
| 546 | |
| 547 | // .dmi.ValueType high = 1; |
| 548 | bool has_high() const; |
| 549 | void clear_high(); |
| 550 | static const int kHighFieldNumber = 1; |
| 551 | const ::dmi::ValueType& high() const; |
| 552 | ::dmi::ValueType* release_high(); |
| 553 | ::dmi::ValueType* mutable_high(); |
| 554 | void set_allocated_high(::dmi::ValueType* high); |
| 555 | |
| 556 | // .dmi.ValueType low = 2; |
| 557 | bool has_low() const; |
| 558 | void clear_low(); |
| 559 | static const int kLowFieldNumber = 2; |
| 560 | const ::dmi::ValueType& low() const; |
| 561 | ::dmi::ValueType* release_low(); |
| 562 | ::dmi::ValueType* mutable_low(); |
| 563 | void set_allocated_low(::dmi::ValueType* low); |
| 564 | |
| 565 | // @@protoc_insertion_point(class_scope:dmi.WaterMarks) |
| 566 | private: |
| 567 | class HasBitSetters; |
| 568 | |
| 569 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 570 | ::dmi::ValueType* high_; |
| 571 | ::dmi::ValueType* low_; |
| 572 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 573 | friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto; |
| 574 | }; |
| 575 | // ------------------------------------------------------------------- |
| 576 | |
| 577 | class Thresholds final : |
| 578 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.Thresholds) */ { |
| 579 | public: |
| 580 | Thresholds(); |
| 581 | virtual ~Thresholds(); |
| 582 | |
| 583 | Thresholds(const Thresholds& from); |
| 584 | |
| 585 | inline Thresholds& operator=(const Thresholds& from) { |
| 586 | CopyFrom(from); |
| 587 | return *this; |
| 588 | } |
| 589 | #if LANG_CXX11 |
| 590 | Thresholds(Thresholds&& from) noexcept |
| 591 | : Thresholds() { |
| 592 | *this = ::std::move(from); |
| 593 | } |
| 594 | |
| 595 | inline Thresholds& operator=(Thresholds&& from) noexcept { |
| 596 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 597 | if (this != &from) InternalSwap(&from); |
| 598 | } else { |
| 599 | CopyFrom(from); |
| 600 | } |
| 601 | return *this; |
| 602 | } |
| 603 | #endif |
| 604 | static const ::google::protobuf::Descriptor* descriptor() { |
| 605 | return default_instance().GetDescriptor(); |
| 606 | } |
| 607 | static const Thresholds& default_instance(); |
| 608 | |
| 609 | enum ThresholdCase { |
| 610 | kUpper = 1, |
| 611 | kLower = 2, |
| 612 | THRESHOLD_NOT_SET = 0, |
| 613 | }; |
| 614 | |
| 615 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 616 | static inline const Thresholds* internal_default_instance() { |
| 617 | return reinterpret_cast<const Thresholds*>( |
| 618 | &_Thresholds_default_instance_); |
| 619 | } |
| 620 | static constexpr int kIndexInFileMessages = |
| 621 | 2; |
| 622 | |
| 623 | void Swap(Thresholds* other); |
| 624 | friend void swap(Thresholds& a, Thresholds& b) { |
| 625 | a.Swap(&b); |
| 626 | } |
| 627 | |
| 628 | // implements Message ---------------------------------------------- |
| 629 | |
| 630 | inline Thresholds* New() const final { |
| 631 | return CreateMaybeMessage<Thresholds>(nullptr); |
| 632 | } |
| 633 | |
| 634 | Thresholds* New(::google::protobuf::Arena* arena) const final { |
| 635 | return CreateMaybeMessage<Thresholds>(arena); |
| 636 | } |
| 637 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 638 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 639 | void CopyFrom(const Thresholds& from); |
| 640 | void MergeFrom(const Thresholds& from); |
| 641 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 642 | bool IsInitialized() const final; |
| 643 | |
| 644 | size_t ByteSizeLong() const final; |
| 645 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 646 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 647 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 648 | #else |
| 649 | bool MergePartialFromCodedStream( |
| 650 | ::google::protobuf::io::CodedInputStream* input) final; |
| 651 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 652 | void SerializeWithCachedSizes( |
| 653 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 654 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 655 | ::google::protobuf::uint8* target) const final; |
| 656 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 657 | |
| 658 | private: |
| 659 | void SharedCtor(); |
| 660 | void SharedDtor(); |
| 661 | void SetCachedSize(int size) const final; |
| 662 | void InternalSwap(Thresholds* other); |
| 663 | private: |
| 664 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 665 | return nullptr; |
| 666 | } |
| 667 | inline void* MaybeArenaPtr() const { |
| 668 | return nullptr; |
| 669 | } |
| 670 | public: |
| 671 | |
| 672 | ::google::protobuf::Metadata GetMetadata() const final; |
| 673 | |
| 674 | // nested types ---------------------------------------------------- |
| 675 | |
| 676 | // accessors ------------------------------------------------------- |
| 677 | |
| 678 | // .dmi.WaterMarks upper = 1; |
| 679 | bool has_upper() const; |
| 680 | void clear_upper(); |
| 681 | static const int kUpperFieldNumber = 1; |
| 682 | const ::dmi::WaterMarks& upper() const; |
| 683 | ::dmi::WaterMarks* release_upper(); |
| 684 | ::dmi::WaterMarks* mutable_upper(); |
| 685 | void set_allocated_upper(::dmi::WaterMarks* upper); |
| 686 | |
| 687 | // .dmi.WaterMarks lower = 2; |
| 688 | bool has_lower() const; |
| 689 | void clear_lower(); |
| 690 | static const int kLowerFieldNumber = 2; |
| 691 | const ::dmi::WaterMarks& lower() const; |
| 692 | ::dmi::WaterMarks* release_lower(); |
| 693 | ::dmi::WaterMarks* mutable_lower(); |
| 694 | void set_allocated_lower(::dmi::WaterMarks* lower); |
| 695 | |
| 696 | void clear_threshold(); |
| 697 | ThresholdCase threshold_case() const; |
| 698 | // @@protoc_insertion_point(class_scope:dmi.Thresholds) |
| 699 | private: |
| 700 | class HasBitSetters; |
| 701 | void set_has_upper(); |
| 702 | void set_has_lower(); |
| 703 | |
| 704 | inline bool has_threshold() const; |
| 705 | inline void clear_has_threshold(); |
| 706 | |
| 707 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 708 | union ThresholdUnion { |
| 709 | ThresholdUnion() {} |
| 710 | ::dmi::WaterMarks* upper_; |
| 711 | ::dmi::WaterMarks* lower_; |
| 712 | } threshold_; |
| 713 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 714 | ::google::protobuf::uint32 _oneof_case_[1]; |
| 715 | |
| 716 | friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto; |
| 717 | }; |
| 718 | // ------------------------------------------------------------------- |
| 719 | |
| 720 | class ThresholdInformation final : |
| 721 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.ThresholdInformation) */ { |
| 722 | public: |
| 723 | ThresholdInformation(); |
| 724 | virtual ~ThresholdInformation(); |
| 725 | |
| 726 | ThresholdInformation(const ThresholdInformation& from); |
| 727 | |
| 728 | inline ThresholdInformation& operator=(const ThresholdInformation& from) { |
| 729 | CopyFrom(from); |
| 730 | return *this; |
| 731 | } |
| 732 | #if LANG_CXX11 |
| 733 | ThresholdInformation(ThresholdInformation&& from) noexcept |
| 734 | : ThresholdInformation() { |
| 735 | *this = ::std::move(from); |
| 736 | } |
| 737 | |
| 738 | inline ThresholdInformation& operator=(ThresholdInformation&& from) noexcept { |
| 739 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 740 | if (this != &from) InternalSwap(&from); |
| 741 | } else { |
| 742 | CopyFrom(from); |
| 743 | } |
| 744 | return *this; |
| 745 | } |
| 746 | #endif |
| 747 | static const ::google::protobuf::Descriptor* descriptor() { |
| 748 | return default_instance().GetDescriptor(); |
| 749 | } |
| 750 | static const ThresholdInformation& default_instance(); |
| 751 | |
| 752 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 753 | static inline const ThresholdInformation* internal_default_instance() { |
| 754 | return reinterpret_cast<const ThresholdInformation*>( |
| 755 | &_ThresholdInformation_default_instance_); |
| 756 | } |
| 757 | static constexpr int kIndexInFileMessages = |
| 758 | 3; |
| 759 | |
| 760 | void Swap(ThresholdInformation* other); |
| 761 | friend void swap(ThresholdInformation& a, ThresholdInformation& b) { |
| 762 | a.Swap(&b); |
| 763 | } |
| 764 | |
| 765 | // implements Message ---------------------------------------------- |
| 766 | |
| 767 | inline ThresholdInformation* New() const final { |
| 768 | return CreateMaybeMessage<ThresholdInformation>(nullptr); |
| 769 | } |
| 770 | |
| 771 | ThresholdInformation* New(::google::protobuf::Arena* arena) const final { |
| 772 | return CreateMaybeMessage<ThresholdInformation>(arena); |
| 773 | } |
| 774 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 775 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 776 | void CopyFrom(const ThresholdInformation& from); |
| 777 | void MergeFrom(const ThresholdInformation& from); |
| 778 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 779 | bool IsInitialized() const final; |
| 780 | |
| 781 | size_t ByteSizeLong() const final; |
| 782 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 783 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 784 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 785 | #else |
| 786 | bool MergePartialFromCodedStream( |
| 787 | ::google::protobuf::io::CodedInputStream* input) final; |
| 788 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 789 | void SerializeWithCachedSizes( |
| 790 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 791 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 792 | ::google::protobuf::uint8* target) const final; |
| 793 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 794 | |
| 795 | private: |
| 796 | void SharedCtor(); |
| 797 | void SharedDtor(); |
| 798 | void SetCachedSize(int size) const final; |
| 799 | void InternalSwap(ThresholdInformation* other); |
| 800 | private: |
| 801 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 802 | return nullptr; |
| 803 | } |
| 804 | inline void* MaybeArenaPtr() const { |
| 805 | return nullptr; |
| 806 | } |
| 807 | public: |
| 808 | |
| 809 | ::google::protobuf::Metadata GetMetadata() const final; |
| 810 | |
| 811 | // nested types ---------------------------------------------------- |
| 812 | |
| 813 | // accessors ------------------------------------------------------- |
| 814 | |
| 815 | // .dmi.ValueType observed_value = 1; |
| 816 | bool has_observed_value() const; |
| 817 | void clear_observed_value(); |
| 818 | static const int kObservedValueFieldNumber = 1; |
| 819 | const ::dmi::ValueType& observed_value() const; |
| 820 | ::dmi::ValueType* release_observed_value(); |
| 821 | ::dmi::ValueType* mutable_observed_value(); |
| 822 | void set_allocated_observed_value(::dmi::ValueType* observed_value); |
| 823 | |
| 824 | // .dmi.Thresholds thresholds = 2; |
| 825 | bool has_thresholds() const; |
| 826 | void clear_thresholds(); |
| 827 | static const int kThresholdsFieldNumber = 2; |
| 828 | const ::dmi::Thresholds& thresholds() const; |
| 829 | ::dmi::Thresholds* release_thresholds(); |
| 830 | ::dmi::Thresholds* mutable_thresholds(); |
| 831 | void set_allocated_thresholds(::dmi::Thresholds* thresholds); |
| 832 | |
| 833 | // @@protoc_insertion_point(class_scope:dmi.ThresholdInformation) |
| 834 | private: |
| 835 | class HasBitSetters; |
| 836 | |
| 837 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 838 | ::dmi::ValueType* observed_value_; |
| 839 | ::dmi::Thresholds* thresholds_; |
| 840 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 841 | friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto; |
| 842 | }; |
| 843 | // ------------------------------------------------------------------- |
| 844 | |
| 845 | class EventCfg final : |
| 846 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.EventCfg) */ { |
| 847 | public: |
| 848 | EventCfg(); |
| 849 | virtual ~EventCfg(); |
| 850 | |
| 851 | EventCfg(const EventCfg& from); |
| 852 | |
| 853 | inline EventCfg& operator=(const EventCfg& from) { |
| 854 | CopyFrom(from); |
| 855 | return *this; |
| 856 | } |
| 857 | #if LANG_CXX11 |
| 858 | EventCfg(EventCfg&& from) noexcept |
| 859 | : EventCfg() { |
| 860 | *this = ::std::move(from); |
| 861 | } |
| 862 | |
| 863 | inline EventCfg& operator=(EventCfg&& from) noexcept { |
| 864 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 865 | if (this != &from) InternalSwap(&from); |
| 866 | } else { |
| 867 | CopyFrom(from); |
| 868 | } |
| 869 | return *this; |
| 870 | } |
| 871 | #endif |
| 872 | static const ::google::protobuf::Descriptor* descriptor() { |
| 873 | return default_instance().GetDescriptor(); |
| 874 | } |
| 875 | static const EventCfg& default_instance(); |
| 876 | |
| 877 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 878 | static inline const EventCfg* internal_default_instance() { |
| 879 | return reinterpret_cast<const EventCfg*>( |
| 880 | &_EventCfg_default_instance_); |
| 881 | } |
| 882 | static constexpr int kIndexInFileMessages = |
| 883 | 4; |
| 884 | |
| 885 | void Swap(EventCfg* other); |
| 886 | friend void swap(EventCfg& a, EventCfg& b) { |
| 887 | a.Swap(&b); |
| 888 | } |
| 889 | |
| 890 | // implements Message ---------------------------------------------- |
| 891 | |
| 892 | inline EventCfg* New() const final { |
| 893 | return CreateMaybeMessage<EventCfg>(nullptr); |
| 894 | } |
| 895 | |
| 896 | EventCfg* New(::google::protobuf::Arena* arena) const final { |
| 897 | return CreateMaybeMessage<EventCfg>(arena); |
| 898 | } |
| 899 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 900 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 901 | void CopyFrom(const EventCfg& from); |
| 902 | void MergeFrom(const EventCfg& from); |
| 903 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 904 | bool IsInitialized() const final; |
| 905 | |
| 906 | size_t ByteSizeLong() const final; |
| 907 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 908 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 909 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 910 | #else |
| 911 | bool MergePartialFromCodedStream( |
| 912 | ::google::protobuf::io::CodedInputStream* input) final; |
| 913 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 914 | void SerializeWithCachedSizes( |
| 915 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 916 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 917 | ::google::protobuf::uint8* target) const final; |
| 918 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 919 | |
| 920 | private: |
| 921 | void SharedCtor(); |
| 922 | void SharedDtor(); |
| 923 | void SetCachedSize(int size) const final; |
| 924 | void InternalSwap(EventCfg* other); |
| 925 | private: |
| 926 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 927 | return nullptr; |
| 928 | } |
| 929 | inline void* MaybeArenaPtr() const { |
| 930 | return nullptr; |
| 931 | } |
| 932 | public: |
| 933 | |
| 934 | ::google::protobuf::Metadata GetMetadata() const final; |
| 935 | |
| 936 | // nested types ---------------------------------------------------- |
| 937 | |
| 938 | // accessors ------------------------------------------------------- |
| 939 | |
| 940 | // .dmi.Thresholds thresholds = 3; |
| 941 | bool has_thresholds() const; |
| 942 | void clear_thresholds(); |
| 943 | static const int kThresholdsFieldNumber = 3; |
| 944 | const ::dmi::Thresholds& thresholds() const; |
| 945 | ::dmi::Thresholds* release_thresholds(); |
| 946 | ::dmi::Thresholds* mutable_thresholds(); |
| 947 | void set_allocated_thresholds(::dmi::Thresholds* thresholds); |
| 948 | |
| amit.ghosh | 7a093bd | 2023-03-07 16:31:56 +0100 | [diff] [blame] | 949 | // .dmi.Uuid component_uuid = 4; |
| 950 | bool has_component_uuid() const; |
| 951 | void clear_component_uuid(); |
| 952 | static const int kComponentUuidFieldNumber = 4; |
| 953 | const ::dmi::Uuid& component_uuid() const; |
| 954 | ::dmi::Uuid* release_component_uuid(); |
| 955 | ::dmi::Uuid* mutable_component_uuid(); |
| 956 | void set_allocated_component_uuid(::dmi::Uuid* component_uuid); |
| 957 | |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 958 | // .dmi.EventIds event_id = 1; |
| 959 | void clear_event_id(); |
| 960 | static const int kEventIdFieldNumber = 1; |
| 961 | ::dmi::EventIds event_id() const; |
| 962 | void set_event_id(::dmi::EventIds value); |
| 963 | |
| 964 | // bool is_configured = 2; |
| 965 | void clear_is_configured(); |
| 966 | static const int kIsConfiguredFieldNumber = 2; |
| 967 | bool is_configured() const; |
| 968 | void set_is_configured(bool value); |
| 969 | |
| 970 | // @@protoc_insertion_point(class_scope:dmi.EventCfg) |
| 971 | private: |
| 972 | class HasBitSetters; |
| 973 | |
| 974 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 975 | ::dmi::Thresholds* thresholds_; |
| amit.ghosh | 7a093bd | 2023-03-07 16:31:56 +0100 | [diff] [blame] | 976 | ::dmi::Uuid* component_uuid_; |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 977 | int event_id_; |
| 978 | bool is_configured_; |
| 979 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 980 | friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto; |
| 981 | }; |
| 982 | // ------------------------------------------------------------------- |
| 983 | |
| 984 | class EventsCfg final : |
| 985 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.EventsCfg) */ { |
| 986 | public: |
| 987 | EventsCfg(); |
| 988 | virtual ~EventsCfg(); |
| 989 | |
| 990 | EventsCfg(const EventsCfg& from); |
| 991 | |
| 992 | inline EventsCfg& operator=(const EventsCfg& from) { |
| 993 | CopyFrom(from); |
| 994 | return *this; |
| 995 | } |
| 996 | #if LANG_CXX11 |
| 997 | EventsCfg(EventsCfg&& from) noexcept |
| 998 | : EventsCfg() { |
| 999 | *this = ::std::move(from); |
| 1000 | } |
| 1001 | |
| 1002 | inline EventsCfg& operator=(EventsCfg&& from) noexcept { |
| 1003 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1004 | if (this != &from) InternalSwap(&from); |
| 1005 | } else { |
| 1006 | CopyFrom(from); |
| 1007 | } |
| 1008 | return *this; |
| 1009 | } |
| 1010 | #endif |
| 1011 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1012 | return default_instance().GetDescriptor(); |
| 1013 | } |
| 1014 | static const EventsCfg& default_instance(); |
| 1015 | |
| 1016 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1017 | static inline const EventsCfg* internal_default_instance() { |
| 1018 | return reinterpret_cast<const EventsCfg*>( |
| 1019 | &_EventsCfg_default_instance_); |
| 1020 | } |
| 1021 | static constexpr int kIndexInFileMessages = |
| 1022 | 5; |
| 1023 | |
| 1024 | void Swap(EventsCfg* other); |
| 1025 | friend void swap(EventsCfg& a, EventsCfg& b) { |
| 1026 | a.Swap(&b); |
| 1027 | } |
| 1028 | |
| 1029 | // implements Message ---------------------------------------------- |
| 1030 | |
| 1031 | inline EventsCfg* New() const final { |
| 1032 | return CreateMaybeMessage<EventsCfg>(nullptr); |
| 1033 | } |
| 1034 | |
| 1035 | EventsCfg* New(::google::protobuf::Arena* arena) const final { |
| 1036 | return CreateMaybeMessage<EventsCfg>(arena); |
| 1037 | } |
| 1038 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1039 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1040 | void CopyFrom(const EventsCfg& from); |
| 1041 | void MergeFrom(const EventsCfg& from); |
| 1042 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1043 | bool IsInitialized() const final; |
| 1044 | |
| 1045 | size_t ByteSizeLong() const final; |
| 1046 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1047 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1048 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1049 | #else |
| 1050 | bool MergePartialFromCodedStream( |
| 1051 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1052 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1053 | void SerializeWithCachedSizes( |
| 1054 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1055 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1056 | ::google::protobuf::uint8* target) const final; |
| 1057 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1058 | |
| 1059 | private: |
| 1060 | void SharedCtor(); |
| 1061 | void SharedDtor(); |
| 1062 | void SetCachedSize(int size) const final; |
| 1063 | void InternalSwap(EventsCfg* other); |
| 1064 | private: |
| 1065 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1066 | return nullptr; |
| 1067 | } |
| 1068 | inline void* MaybeArenaPtr() const { |
| 1069 | return nullptr; |
| 1070 | } |
| 1071 | public: |
| 1072 | |
| 1073 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1074 | |
| 1075 | // nested types ---------------------------------------------------- |
| 1076 | |
| 1077 | // accessors ------------------------------------------------------- |
| 1078 | |
| 1079 | // repeated .dmi.EventCfg items = 1; |
| 1080 | int items_size() const; |
| 1081 | void clear_items(); |
| 1082 | static const int kItemsFieldNumber = 1; |
| 1083 | ::dmi::EventCfg* mutable_items(int index); |
| 1084 | ::google::protobuf::RepeatedPtrField< ::dmi::EventCfg >* |
| 1085 | mutable_items(); |
| 1086 | const ::dmi::EventCfg& items(int index) const; |
| 1087 | ::dmi::EventCfg* add_items(); |
| 1088 | const ::google::protobuf::RepeatedPtrField< ::dmi::EventCfg >& |
| 1089 | items() const; |
| 1090 | |
| 1091 | // @@protoc_insertion_point(class_scope:dmi.EventsCfg) |
| 1092 | private: |
| 1093 | class HasBitSetters; |
| 1094 | |
| 1095 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1096 | ::google::protobuf::RepeatedPtrField< ::dmi::EventCfg > items_; |
| 1097 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1098 | friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto; |
| 1099 | }; |
| 1100 | // ------------------------------------------------------------------- |
| 1101 | |
| 1102 | class ListEventsResponse final : |
| 1103 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.ListEventsResponse) */ { |
| 1104 | public: |
| 1105 | ListEventsResponse(); |
| 1106 | virtual ~ListEventsResponse(); |
| 1107 | |
| 1108 | ListEventsResponse(const ListEventsResponse& from); |
| 1109 | |
| 1110 | inline ListEventsResponse& operator=(const ListEventsResponse& from) { |
| 1111 | CopyFrom(from); |
| 1112 | return *this; |
| 1113 | } |
| 1114 | #if LANG_CXX11 |
| 1115 | ListEventsResponse(ListEventsResponse&& from) noexcept |
| 1116 | : ListEventsResponse() { |
| 1117 | *this = ::std::move(from); |
| 1118 | } |
| 1119 | |
| 1120 | inline ListEventsResponse& operator=(ListEventsResponse&& from) noexcept { |
| 1121 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1122 | if (this != &from) InternalSwap(&from); |
| 1123 | } else { |
| 1124 | CopyFrom(from); |
| 1125 | } |
| 1126 | return *this; |
| 1127 | } |
| 1128 | #endif |
| 1129 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1130 | return default_instance().GetDescriptor(); |
| 1131 | } |
| 1132 | static const ListEventsResponse& default_instance(); |
| 1133 | |
| 1134 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1135 | static inline const ListEventsResponse* internal_default_instance() { |
| 1136 | return reinterpret_cast<const ListEventsResponse*>( |
| 1137 | &_ListEventsResponse_default_instance_); |
| 1138 | } |
| 1139 | static constexpr int kIndexInFileMessages = |
| 1140 | 6; |
| 1141 | |
| 1142 | void Swap(ListEventsResponse* other); |
| 1143 | friend void swap(ListEventsResponse& a, ListEventsResponse& b) { |
| 1144 | a.Swap(&b); |
| 1145 | } |
| 1146 | |
| 1147 | // implements Message ---------------------------------------------- |
| 1148 | |
| 1149 | inline ListEventsResponse* New() const final { |
| 1150 | return CreateMaybeMessage<ListEventsResponse>(nullptr); |
| 1151 | } |
| 1152 | |
| 1153 | ListEventsResponse* New(::google::protobuf::Arena* arena) const final { |
| 1154 | return CreateMaybeMessage<ListEventsResponse>(arena); |
| 1155 | } |
| 1156 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1157 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1158 | void CopyFrom(const ListEventsResponse& from); |
| 1159 | void MergeFrom(const ListEventsResponse& from); |
| 1160 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1161 | bool IsInitialized() const final; |
| 1162 | |
| 1163 | size_t ByteSizeLong() const final; |
| 1164 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1165 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1166 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1167 | #else |
| 1168 | bool MergePartialFromCodedStream( |
| 1169 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1170 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1171 | void SerializeWithCachedSizes( |
| 1172 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1173 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1174 | ::google::protobuf::uint8* target) const final; |
| 1175 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1176 | |
| 1177 | private: |
| 1178 | void SharedCtor(); |
| 1179 | void SharedDtor(); |
| 1180 | void SetCachedSize(int size) const final; |
| 1181 | void InternalSwap(ListEventsResponse* other); |
| 1182 | private: |
| 1183 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1184 | return nullptr; |
| 1185 | } |
| 1186 | inline void* MaybeArenaPtr() const { |
| 1187 | return nullptr; |
| 1188 | } |
| 1189 | public: |
| 1190 | |
| 1191 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1192 | |
| 1193 | // nested types ---------------------------------------------------- |
| 1194 | |
| 1195 | typedef ListEventsResponse_Reason Reason; |
| 1196 | static const Reason UNDEFINED_REASON = |
| 1197 | ListEventsResponse_Reason_UNDEFINED_REASON; |
| 1198 | static const Reason UNKNOWN_DEVICE = |
| 1199 | ListEventsResponse_Reason_UNKNOWN_DEVICE; |
| 1200 | static const Reason INTERNAL_ERROR = |
| 1201 | ListEventsResponse_Reason_INTERNAL_ERROR; |
| 1202 | static const Reason DEVICE_UNREACHABLE = |
| 1203 | ListEventsResponse_Reason_DEVICE_UNREACHABLE; |
| 1204 | static inline bool Reason_IsValid(int value) { |
| 1205 | return ListEventsResponse_Reason_IsValid(value); |
| 1206 | } |
| 1207 | static const Reason Reason_MIN = |
| 1208 | ListEventsResponse_Reason_Reason_MIN; |
| 1209 | static const Reason Reason_MAX = |
| 1210 | ListEventsResponse_Reason_Reason_MAX; |
| 1211 | static const int Reason_ARRAYSIZE = |
| 1212 | ListEventsResponse_Reason_Reason_ARRAYSIZE; |
| 1213 | static inline const ::google::protobuf::EnumDescriptor* |
| 1214 | Reason_descriptor() { |
| 1215 | return ListEventsResponse_Reason_descriptor(); |
| 1216 | } |
| 1217 | static inline const ::std::string& Reason_Name(Reason value) { |
| 1218 | return ListEventsResponse_Reason_Name(value); |
| 1219 | } |
| 1220 | static inline bool Reason_Parse(const ::std::string& name, |
| 1221 | Reason* value) { |
| 1222 | return ListEventsResponse_Reason_Parse(name, value); |
| 1223 | } |
| 1224 | |
| 1225 | // accessors ------------------------------------------------------- |
| 1226 | |
| 1227 | // string reason_detail = 4; |
| 1228 | void clear_reason_detail(); |
| 1229 | static const int kReasonDetailFieldNumber = 4; |
| 1230 | const ::std::string& reason_detail() const; |
| 1231 | void set_reason_detail(const ::std::string& value); |
| 1232 | #if LANG_CXX11 |
| 1233 | void set_reason_detail(::std::string&& value); |
| 1234 | #endif |
| 1235 | void set_reason_detail(const char* value); |
| 1236 | void set_reason_detail(const char* value, size_t size); |
| 1237 | ::std::string* mutable_reason_detail(); |
| 1238 | ::std::string* release_reason_detail(); |
| 1239 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 1240 | |
| 1241 | // .dmi.EventsCfg events = 3; |
| 1242 | bool has_events() const; |
| 1243 | void clear_events(); |
| 1244 | static const int kEventsFieldNumber = 3; |
| 1245 | const ::dmi::EventsCfg& events() const; |
| 1246 | ::dmi::EventsCfg* release_events(); |
| 1247 | ::dmi::EventsCfg* mutable_events(); |
| 1248 | void set_allocated_events(::dmi::EventsCfg* events); |
| 1249 | |
| 1250 | // .dmi.Status status = 1; |
| 1251 | void clear_status(); |
| 1252 | static const int kStatusFieldNumber = 1; |
| 1253 | ::dmi::Status status() const; |
| 1254 | void set_status(::dmi::Status value); |
| 1255 | |
| 1256 | // .dmi.ListEventsResponse.Reason reason = 2; |
| 1257 | void clear_reason(); |
| 1258 | static const int kReasonFieldNumber = 2; |
| 1259 | ::dmi::ListEventsResponse_Reason reason() const; |
| 1260 | void set_reason(::dmi::ListEventsResponse_Reason value); |
| 1261 | |
| 1262 | // @@protoc_insertion_point(class_scope:dmi.ListEventsResponse) |
| 1263 | private: |
| 1264 | class HasBitSetters; |
| 1265 | |
| 1266 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1267 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 1268 | ::dmi::EventsCfg* events_; |
| 1269 | int status_; |
| 1270 | int reason_; |
| 1271 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1272 | friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto; |
| 1273 | }; |
| 1274 | // ------------------------------------------------------------------- |
| 1275 | |
| 1276 | class EventsConfigurationRequest final : |
| 1277 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.EventsConfigurationRequest) */ { |
| 1278 | public: |
| 1279 | EventsConfigurationRequest(); |
| 1280 | virtual ~EventsConfigurationRequest(); |
| 1281 | |
| 1282 | EventsConfigurationRequest(const EventsConfigurationRequest& from); |
| 1283 | |
| 1284 | inline EventsConfigurationRequest& operator=(const EventsConfigurationRequest& from) { |
| 1285 | CopyFrom(from); |
| 1286 | return *this; |
| 1287 | } |
| 1288 | #if LANG_CXX11 |
| 1289 | EventsConfigurationRequest(EventsConfigurationRequest&& from) noexcept |
| 1290 | : EventsConfigurationRequest() { |
| 1291 | *this = ::std::move(from); |
| 1292 | } |
| 1293 | |
| 1294 | inline EventsConfigurationRequest& operator=(EventsConfigurationRequest&& from) noexcept { |
| 1295 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1296 | if (this != &from) InternalSwap(&from); |
| 1297 | } else { |
| 1298 | CopyFrom(from); |
| 1299 | } |
| 1300 | return *this; |
| 1301 | } |
| 1302 | #endif |
| 1303 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1304 | return default_instance().GetDescriptor(); |
| 1305 | } |
| 1306 | static const EventsConfigurationRequest& default_instance(); |
| 1307 | |
| 1308 | enum OperationCase { |
| 1309 | kChanges = 2, |
| 1310 | kResetToDefault = 3, |
| 1311 | OPERATION_NOT_SET = 0, |
| 1312 | }; |
| 1313 | |
| 1314 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1315 | static inline const EventsConfigurationRequest* internal_default_instance() { |
| 1316 | return reinterpret_cast<const EventsConfigurationRequest*>( |
| 1317 | &_EventsConfigurationRequest_default_instance_); |
| 1318 | } |
| 1319 | static constexpr int kIndexInFileMessages = |
| 1320 | 7; |
| 1321 | |
| 1322 | void Swap(EventsConfigurationRequest* other); |
| 1323 | friend void swap(EventsConfigurationRequest& a, EventsConfigurationRequest& b) { |
| 1324 | a.Swap(&b); |
| 1325 | } |
| 1326 | |
| 1327 | // implements Message ---------------------------------------------- |
| 1328 | |
| 1329 | inline EventsConfigurationRequest* New() const final { |
| 1330 | return CreateMaybeMessage<EventsConfigurationRequest>(nullptr); |
| 1331 | } |
| 1332 | |
| 1333 | EventsConfigurationRequest* New(::google::protobuf::Arena* arena) const final { |
| 1334 | return CreateMaybeMessage<EventsConfigurationRequest>(arena); |
| 1335 | } |
| 1336 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1337 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1338 | void CopyFrom(const EventsConfigurationRequest& from); |
| 1339 | void MergeFrom(const EventsConfigurationRequest& from); |
| 1340 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1341 | bool IsInitialized() const final; |
| 1342 | |
| 1343 | size_t ByteSizeLong() const final; |
| 1344 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1345 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1346 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1347 | #else |
| 1348 | bool MergePartialFromCodedStream( |
| 1349 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1350 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1351 | void SerializeWithCachedSizes( |
| 1352 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1353 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1354 | ::google::protobuf::uint8* target) const final; |
| 1355 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1356 | |
| 1357 | private: |
| 1358 | void SharedCtor(); |
| 1359 | void SharedDtor(); |
| 1360 | void SetCachedSize(int size) const final; |
| 1361 | void InternalSwap(EventsConfigurationRequest* other); |
| 1362 | private: |
| 1363 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1364 | return nullptr; |
| 1365 | } |
| 1366 | inline void* MaybeArenaPtr() const { |
| 1367 | return nullptr; |
| 1368 | } |
| 1369 | public: |
| 1370 | |
| 1371 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1372 | |
| 1373 | // nested types ---------------------------------------------------- |
| 1374 | |
| 1375 | // accessors ------------------------------------------------------- |
| 1376 | |
| 1377 | // .dmi.Uuid device_uuid = 1; |
| 1378 | bool has_device_uuid() const; |
| 1379 | void clear_device_uuid(); |
| 1380 | static const int kDeviceUuidFieldNumber = 1; |
| 1381 | const ::dmi::Uuid& device_uuid() const; |
| 1382 | ::dmi::Uuid* release_device_uuid(); |
| 1383 | ::dmi::Uuid* mutable_device_uuid(); |
| 1384 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 1385 | |
| 1386 | // .dmi.EventsCfg changes = 2; |
| 1387 | bool has_changes() const; |
| 1388 | void clear_changes(); |
| 1389 | static const int kChangesFieldNumber = 2; |
| 1390 | const ::dmi::EventsCfg& changes() const; |
| 1391 | ::dmi::EventsCfg* release_changes(); |
| 1392 | ::dmi::EventsCfg* mutable_changes(); |
| 1393 | void set_allocated_changes(::dmi::EventsCfg* changes); |
| 1394 | |
| 1395 | // bool reset_to_default = 3; |
| 1396 | private: |
| 1397 | bool has_reset_to_default() const; |
| 1398 | public: |
| 1399 | void clear_reset_to_default(); |
| 1400 | static const int kResetToDefaultFieldNumber = 3; |
| 1401 | bool reset_to_default() const; |
| 1402 | void set_reset_to_default(bool value); |
| 1403 | |
| 1404 | void clear_operation(); |
| 1405 | OperationCase operation_case() const; |
| 1406 | // @@protoc_insertion_point(class_scope:dmi.EventsConfigurationRequest) |
| 1407 | private: |
| 1408 | class HasBitSetters; |
| 1409 | void set_has_changes(); |
| 1410 | void set_has_reset_to_default(); |
| 1411 | |
| 1412 | inline bool has_operation() const; |
| 1413 | inline void clear_has_operation(); |
| 1414 | |
| 1415 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1416 | ::dmi::Uuid* device_uuid_; |
| 1417 | union OperationUnion { |
| 1418 | OperationUnion() {} |
| 1419 | ::dmi::EventsCfg* changes_; |
| 1420 | bool reset_to_default_; |
| 1421 | } operation_; |
| 1422 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1423 | ::google::protobuf::uint32 _oneof_case_[1]; |
| 1424 | |
| 1425 | friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto; |
| 1426 | }; |
| 1427 | // ------------------------------------------------------------------- |
| 1428 | |
| 1429 | class EventsConfigurationResponse final : |
| 1430 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.EventsConfigurationResponse) */ { |
| 1431 | public: |
| 1432 | EventsConfigurationResponse(); |
| 1433 | virtual ~EventsConfigurationResponse(); |
| 1434 | |
| 1435 | EventsConfigurationResponse(const EventsConfigurationResponse& from); |
| 1436 | |
| 1437 | inline EventsConfigurationResponse& operator=(const EventsConfigurationResponse& from) { |
| 1438 | CopyFrom(from); |
| 1439 | return *this; |
| 1440 | } |
| 1441 | #if LANG_CXX11 |
| 1442 | EventsConfigurationResponse(EventsConfigurationResponse&& from) noexcept |
| 1443 | : EventsConfigurationResponse() { |
| 1444 | *this = ::std::move(from); |
| 1445 | } |
| 1446 | |
| 1447 | inline EventsConfigurationResponse& operator=(EventsConfigurationResponse&& from) noexcept { |
| 1448 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1449 | if (this != &from) InternalSwap(&from); |
| 1450 | } else { |
| 1451 | CopyFrom(from); |
| 1452 | } |
| 1453 | return *this; |
| 1454 | } |
| 1455 | #endif |
| 1456 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1457 | return default_instance().GetDescriptor(); |
| 1458 | } |
| 1459 | static const EventsConfigurationResponse& default_instance(); |
| 1460 | |
| 1461 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1462 | static inline const EventsConfigurationResponse* internal_default_instance() { |
| 1463 | return reinterpret_cast<const EventsConfigurationResponse*>( |
| 1464 | &_EventsConfigurationResponse_default_instance_); |
| 1465 | } |
| 1466 | static constexpr int kIndexInFileMessages = |
| 1467 | 8; |
| 1468 | |
| 1469 | void Swap(EventsConfigurationResponse* other); |
| 1470 | friend void swap(EventsConfigurationResponse& a, EventsConfigurationResponse& b) { |
| 1471 | a.Swap(&b); |
| 1472 | } |
| 1473 | |
| 1474 | // implements Message ---------------------------------------------- |
| 1475 | |
| 1476 | inline EventsConfigurationResponse* New() const final { |
| 1477 | return CreateMaybeMessage<EventsConfigurationResponse>(nullptr); |
| 1478 | } |
| 1479 | |
| 1480 | EventsConfigurationResponse* New(::google::protobuf::Arena* arena) const final { |
| 1481 | return CreateMaybeMessage<EventsConfigurationResponse>(arena); |
| 1482 | } |
| 1483 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1484 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1485 | void CopyFrom(const EventsConfigurationResponse& from); |
| 1486 | void MergeFrom(const EventsConfigurationResponse& from); |
| 1487 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1488 | bool IsInitialized() const final; |
| 1489 | |
| 1490 | size_t ByteSizeLong() const final; |
| 1491 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1492 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1493 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1494 | #else |
| 1495 | bool MergePartialFromCodedStream( |
| 1496 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1497 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1498 | void SerializeWithCachedSizes( |
| 1499 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1500 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1501 | ::google::protobuf::uint8* target) const final; |
| 1502 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1503 | |
| 1504 | private: |
| 1505 | void SharedCtor(); |
| 1506 | void SharedDtor(); |
| 1507 | void SetCachedSize(int size) const final; |
| 1508 | void InternalSwap(EventsConfigurationResponse* other); |
| 1509 | private: |
| 1510 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1511 | return nullptr; |
| 1512 | } |
| 1513 | inline void* MaybeArenaPtr() const { |
| 1514 | return nullptr; |
| 1515 | } |
| 1516 | public: |
| 1517 | |
| 1518 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1519 | |
| 1520 | // nested types ---------------------------------------------------- |
| 1521 | |
| 1522 | typedef EventsConfigurationResponse_Reason Reason; |
| 1523 | static const Reason UNDEFINED_REASON = |
| 1524 | EventsConfigurationResponse_Reason_UNDEFINED_REASON; |
| 1525 | static const Reason UNKNOWN_DEVICE = |
| 1526 | EventsConfigurationResponse_Reason_UNKNOWN_DEVICE; |
| 1527 | static const Reason INTERNAL_ERROR = |
| 1528 | EventsConfigurationResponse_Reason_INTERNAL_ERROR; |
| 1529 | static const Reason INVALID_CONFIG = |
| 1530 | EventsConfigurationResponse_Reason_INVALID_CONFIG; |
| 1531 | static const Reason DEVICE_UNREACHABLE = |
| 1532 | EventsConfigurationResponse_Reason_DEVICE_UNREACHABLE; |
| 1533 | static inline bool Reason_IsValid(int value) { |
| 1534 | return EventsConfigurationResponse_Reason_IsValid(value); |
| 1535 | } |
| 1536 | static const Reason Reason_MIN = |
| 1537 | EventsConfigurationResponse_Reason_Reason_MIN; |
| 1538 | static const Reason Reason_MAX = |
| 1539 | EventsConfigurationResponse_Reason_Reason_MAX; |
| 1540 | static const int Reason_ARRAYSIZE = |
| 1541 | EventsConfigurationResponse_Reason_Reason_ARRAYSIZE; |
| 1542 | static inline const ::google::protobuf::EnumDescriptor* |
| 1543 | Reason_descriptor() { |
| 1544 | return EventsConfigurationResponse_Reason_descriptor(); |
| 1545 | } |
| 1546 | static inline const ::std::string& Reason_Name(Reason value) { |
| 1547 | return EventsConfigurationResponse_Reason_Name(value); |
| 1548 | } |
| 1549 | static inline bool Reason_Parse(const ::std::string& name, |
| 1550 | Reason* value) { |
| 1551 | return EventsConfigurationResponse_Reason_Parse(name, value); |
| 1552 | } |
| 1553 | |
| 1554 | // accessors ------------------------------------------------------- |
| 1555 | |
| 1556 | // string reason_detail = 3; |
| 1557 | void clear_reason_detail(); |
| 1558 | static const int kReasonDetailFieldNumber = 3; |
| 1559 | const ::std::string& reason_detail() const; |
| 1560 | void set_reason_detail(const ::std::string& value); |
| 1561 | #if LANG_CXX11 |
| 1562 | void set_reason_detail(::std::string&& value); |
| 1563 | #endif |
| 1564 | void set_reason_detail(const char* value); |
| 1565 | void set_reason_detail(const char* value, size_t size); |
| 1566 | ::std::string* mutable_reason_detail(); |
| 1567 | ::std::string* release_reason_detail(); |
| 1568 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 1569 | |
| 1570 | // .dmi.Status status = 1; |
| 1571 | void clear_status(); |
| 1572 | static const int kStatusFieldNumber = 1; |
| 1573 | ::dmi::Status status() const; |
| 1574 | void set_status(::dmi::Status value); |
| 1575 | |
| 1576 | // .dmi.EventsConfigurationResponse.Reason reason = 2; |
| 1577 | void clear_reason(); |
| 1578 | static const int kReasonFieldNumber = 2; |
| 1579 | ::dmi::EventsConfigurationResponse_Reason reason() const; |
| 1580 | void set_reason(::dmi::EventsConfigurationResponse_Reason value); |
| 1581 | |
| 1582 | // @@protoc_insertion_point(class_scope:dmi.EventsConfigurationResponse) |
| 1583 | private: |
| 1584 | class HasBitSetters; |
| 1585 | |
| 1586 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1587 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 1588 | int status_; |
| 1589 | int reason_; |
| 1590 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1591 | friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto; |
| 1592 | }; |
| 1593 | // ------------------------------------------------------------------- |
| 1594 | |
| 1595 | class EventMetaData final : |
| 1596 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.EventMetaData) */ { |
| 1597 | public: |
| 1598 | EventMetaData(); |
| 1599 | virtual ~EventMetaData(); |
| 1600 | |
| 1601 | EventMetaData(const EventMetaData& from); |
| 1602 | |
| 1603 | inline EventMetaData& operator=(const EventMetaData& from) { |
| 1604 | CopyFrom(from); |
| 1605 | return *this; |
| 1606 | } |
| 1607 | #if LANG_CXX11 |
| 1608 | EventMetaData(EventMetaData&& from) noexcept |
| 1609 | : EventMetaData() { |
| 1610 | *this = ::std::move(from); |
| 1611 | } |
| 1612 | |
| 1613 | inline EventMetaData& operator=(EventMetaData&& from) noexcept { |
| 1614 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1615 | if (this != &from) InternalSwap(&from); |
| 1616 | } else { |
| 1617 | CopyFrom(from); |
| 1618 | } |
| 1619 | return *this; |
| 1620 | } |
| 1621 | #endif |
| 1622 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1623 | return default_instance().GetDescriptor(); |
| 1624 | } |
| 1625 | static const EventMetaData& default_instance(); |
| 1626 | |
| 1627 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1628 | static inline const EventMetaData* internal_default_instance() { |
| 1629 | return reinterpret_cast<const EventMetaData*>( |
| 1630 | &_EventMetaData_default_instance_); |
| 1631 | } |
| 1632 | static constexpr int kIndexInFileMessages = |
| 1633 | 9; |
| 1634 | |
| 1635 | void Swap(EventMetaData* other); |
| 1636 | friend void swap(EventMetaData& a, EventMetaData& b) { |
| 1637 | a.Swap(&b); |
| 1638 | } |
| 1639 | |
| 1640 | // implements Message ---------------------------------------------- |
| 1641 | |
| 1642 | inline EventMetaData* New() const final { |
| 1643 | return CreateMaybeMessage<EventMetaData>(nullptr); |
| 1644 | } |
| 1645 | |
| 1646 | EventMetaData* New(::google::protobuf::Arena* arena) const final { |
| 1647 | return CreateMaybeMessage<EventMetaData>(arena); |
| 1648 | } |
| 1649 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1650 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1651 | void CopyFrom(const EventMetaData& from); |
| 1652 | void MergeFrom(const EventMetaData& from); |
| 1653 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1654 | bool IsInitialized() const final; |
| 1655 | |
| 1656 | size_t ByteSizeLong() const final; |
| 1657 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1658 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1659 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1660 | #else |
| 1661 | bool MergePartialFromCodedStream( |
| 1662 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1663 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1664 | void SerializeWithCachedSizes( |
| 1665 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1666 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1667 | ::google::protobuf::uint8* target) const final; |
| 1668 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1669 | |
| 1670 | private: |
| 1671 | void SharedCtor(); |
| 1672 | void SharedDtor(); |
| 1673 | void SetCachedSize(int size) const final; |
| 1674 | void InternalSwap(EventMetaData* other); |
| 1675 | private: |
| 1676 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1677 | return nullptr; |
| 1678 | } |
| 1679 | inline void* MaybeArenaPtr() const { |
| 1680 | return nullptr; |
| 1681 | } |
| 1682 | public: |
| 1683 | |
| 1684 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1685 | |
| 1686 | // nested types ---------------------------------------------------- |
| 1687 | |
| 1688 | // accessors ------------------------------------------------------- |
| 1689 | |
| 1690 | // string component_name = 3; |
| 1691 | void clear_component_name(); |
| 1692 | static const int kComponentNameFieldNumber = 3; |
| 1693 | const ::std::string& component_name() const; |
| 1694 | void set_component_name(const ::std::string& value); |
| 1695 | #if LANG_CXX11 |
| 1696 | void set_component_name(::std::string&& value); |
| 1697 | #endif |
| 1698 | void set_component_name(const char* value); |
| 1699 | void set_component_name(const char* value, size_t size); |
| 1700 | ::std::string* mutable_component_name(); |
| 1701 | ::std::string* release_component_name(); |
| 1702 | void set_allocated_component_name(::std::string* component_name); |
| 1703 | |
| 1704 | // .dmi.Uuid device_uuid = 1; |
| 1705 | bool has_device_uuid() const; |
| 1706 | void clear_device_uuid(); |
| 1707 | static const int kDeviceUuidFieldNumber = 1; |
| 1708 | const ::dmi::Uuid& device_uuid() const; |
| 1709 | ::dmi::Uuid* release_device_uuid(); |
| 1710 | ::dmi::Uuid* mutable_device_uuid(); |
| 1711 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 1712 | |
| 1713 | // .dmi.Uuid component_uuid = 2; |
| 1714 | bool has_component_uuid() const; |
| 1715 | void clear_component_uuid(); |
| 1716 | static const int kComponentUuidFieldNumber = 2; |
| 1717 | const ::dmi::Uuid& component_uuid() const; |
| 1718 | ::dmi::Uuid* release_component_uuid(); |
| 1719 | ::dmi::Uuid* mutable_component_uuid(); |
| 1720 | void set_allocated_component_uuid(::dmi::Uuid* component_uuid); |
| 1721 | |
| 1722 | // @@protoc_insertion_point(class_scope:dmi.EventMetaData) |
| 1723 | private: |
| 1724 | class HasBitSetters; |
| 1725 | |
| 1726 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1727 | ::google::protobuf::internal::ArenaStringPtr component_name_; |
| 1728 | ::dmi::Uuid* device_uuid_; |
| 1729 | ::dmi::Uuid* component_uuid_; |
| 1730 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1731 | friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto; |
| 1732 | }; |
| 1733 | // ------------------------------------------------------------------- |
| 1734 | |
| Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame] | 1735 | class AdminStateChange final : |
| 1736 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.AdminStateChange) */ { |
| 1737 | public: |
| 1738 | AdminStateChange(); |
| 1739 | virtual ~AdminStateChange(); |
| 1740 | |
| 1741 | AdminStateChange(const AdminStateChange& from); |
| 1742 | |
| 1743 | inline AdminStateChange& operator=(const AdminStateChange& from) { |
| 1744 | CopyFrom(from); |
| 1745 | return *this; |
| 1746 | } |
| 1747 | #if LANG_CXX11 |
| 1748 | AdminStateChange(AdminStateChange&& from) noexcept |
| 1749 | : AdminStateChange() { |
| 1750 | *this = ::std::move(from); |
| 1751 | } |
| 1752 | |
| 1753 | inline AdminStateChange& operator=(AdminStateChange&& from) noexcept { |
| 1754 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1755 | if (this != &from) InternalSwap(&from); |
| 1756 | } else { |
| 1757 | CopyFrom(from); |
| 1758 | } |
| 1759 | return *this; |
| 1760 | } |
| 1761 | #endif |
| 1762 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1763 | return default_instance().GetDescriptor(); |
| 1764 | } |
| 1765 | static const AdminStateChange& default_instance(); |
| 1766 | |
| 1767 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1768 | static inline const AdminStateChange* internal_default_instance() { |
| 1769 | return reinterpret_cast<const AdminStateChange*>( |
| 1770 | &_AdminStateChange_default_instance_); |
| 1771 | } |
| 1772 | static constexpr int kIndexInFileMessages = |
| 1773 | 10; |
| 1774 | |
| 1775 | void Swap(AdminStateChange* other); |
| 1776 | friend void swap(AdminStateChange& a, AdminStateChange& b) { |
| 1777 | a.Swap(&b); |
| 1778 | } |
| 1779 | |
| 1780 | // implements Message ---------------------------------------------- |
| 1781 | |
| 1782 | inline AdminStateChange* New() const final { |
| 1783 | return CreateMaybeMessage<AdminStateChange>(nullptr); |
| 1784 | } |
| 1785 | |
| 1786 | AdminStateChange* New(::google::protobuf::Arena* arena) const final { |
| 1787 | return CreateMaybeMessage<AdminStateChange>(arena); |
| 1788 | } |
| 1789 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1790 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1791 | void CopyFrom(const AdminStateChange& from); |
| 1792 | void MergeFrom(const AdminStateChange& from); |
| 1793 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1794 | bool IsInitialized() const final; |
| 1795 | |
| 1796 | size_t ByteSizeLong() const final; |
| 1797 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1798 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1799 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1800 | #else |
| 1801 | bool MergePartialFromCodedStream( |
| 1802 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1803 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1804 | void SerializeWithCachedSizes( |
| 1805 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1806 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1807 | ::google::protobuf::uint8* target) const final; |
| 1808 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1809 | |
| 1810 | private: |
| 1811 | void SharedCtor(); |
| 1812 | void SharedDtor(); |
| 1813 | void SetCachedSize(int size) const final; |
| 1814 | void InternalSwap(AdminStateChange* other); |
| 1815 | private: |
| 1816 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1817 | return nullptr; |
| 1818 | } |
| 1819 | inline void* MaybeArenaPtr() const { |
| 1820 | return nullptr; |
| 1821 | } |
| 1822 | public: |
| 1823 | |
| 1824 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1825 | |
| 1826 | // nested types ---------------------------------------------------- |
| 1827 | |
| 1828 | // accessors ------------------------------------------------------- |
| 1829 | |
| 1830 | // .dmi.ComponentAdminState old = 1; |
| 1831 | void clear_old(); |
| 1832 | static const int kOldFieldNumber = 1; |
| 1833 | ::dmi::ComponentAdminState old() const; |
| 1834 | void set_old(::dmi::ComponentAdminState value); |
| 1835 | |
| 1836 | // .dmi.ComponentAdminState new = 2; |
| 1837 | void clear_new_(); |
| 1838 | static const int kNewFieldNumber = 2; |
| 1839 | ::dmi::ComponentAdminState new_() const; |
| 1840 | void set_new_(::dmi::ComponentAdminState value); |
| 1841 | |
| 1842 | // @@protoc_insertion_point(class_scope:dmi.AdminStateChange) |
| 1843 | private: |
| 1844 | class HasBitSetters; |
| 1845 | |
| 1846 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1847 | int old_; |
| 1848 | int new__; |
| 1849 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1850 | friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto; |
| 1851 | }; |
| 1852 | // ------------------------------------------------------------------- |
| 1853 | |
| 1854 | class OperStateChange final : |
| 1855 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.OperStateChange) */ { |
| 1856 | public: |
| 1857 | OperStateChange(); |
| 1858 | virtual ~OperStateChange(); |
| 1859 | |
| 1860 | OperStateChange(const OperStateChange& from); |
| 1861 | |
| 1862 | inline OperStateChange& operator=(const OperStateChange& from) { |
| 1863 | CopyFrom(from); |
| 1864 | return *this; |
| 1865 | } |
| 1866 | #if LANG_CXX11 |
| 1867 | OperStateChange(OperStateChange&& from) noexcept |
| 1868 | : OperStateChange() { |
| 1869 | *this = ::std::move(from); |
| 1870 | } |
| 1871 | |
| 1872 | inline OperStateChange& operator=(OperStateChange&& from) noexcept { |
| 1873 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1874 | if (this != &from) InternalSwap(&from); |
| 1875 | } else { |
| 1876 | CopyFrom(from); |
| 1877 | } |
| 1878 | return *this; |
| 1879 | } |
| 1880 | #endif |
| 1881 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1882 | return default_instance().GetDescriptor(); |
| 1883 | } |
| 1884 | static const OperStateChange& default_instance(); |
| 1885 | |
| 1886 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1887 | static inline const OperStateChange* internal_default_instance() { |
| 1888 | return reinterpret_cast<const OperStateChange*>( |
| 1889 | &_OperStateChange_default_instance_); |
| 1890 | } |
| 1891 | static constexpr int kIndexInFileMessages = |
| 1892 | 11; |
| 1893 | |
| 1894 | void Swap(OperStateChange* other); |
| 1895 | friend void swap(OperStateChange& a, OperStateChange& b) { |
| 1896 | a.Swap(&b); |
| 1897 | } |
| 1898 | |
| 1899 | // implements Message ---------------------------------------------- |
| 1900 | |
| 1901 | inline OperStateChange* New() const final { |
| 1902 | return CreateMaybeMessage<OperStateChange>(nullptr); |
| 1903 | } |
| 1904 | |
| 1905 | OperStateChange* New(::google::protobuf::Arena* arena) const final { |
| 1906 | return CreateMaybeMessage<OperStateChange>(arena); |
| 1907 | } |
| 1908 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1909 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1910 | void CopyFrom(const OperStateChange& from); |
| 1911 | void MergeFrom(const OperStateChange& from); |
| 1912 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1913 | bool IsInitialized() const final; |
| 1914 | |
| 1915 | size_t ByteSizeLong() const final; |
| 1916 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1917 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1918 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1919 | #else |
| 1920 | bool MergePartialFromCodedStream( |
| 1921 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1922 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1923 | void SerializeWithCachedSizes( |
| 1924 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1925 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1926 | ::google::protobuf::uint8* target) const final; |
| 1927 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1928 | |
| 1929 | private: |
| 1930 | void SharedCtor(); |
| 1931 | void SharedDtor(); |
| 1932 | void SetCachedSize(int size) const final; |
| 1933 | void InternalSwap(OperStateChange* other); |
| 1934 | private: |
| 1935 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1936 | return nullptr; |
| 1937 | } |
| 1938 | inline void* MaybeArenaPtr() const { |
| 1939 | return nullptr; |
| 1940 | } |
| 1941 | public: |
| 1942 | |
| 1943 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1944 | |
| 1945 | // nested types ---------------------------------------------------- |
| 1946 | |
| 1947 | // accessors ------------------------------------------------------- |
| 1948 | |
| 1949 | // .dmi.ComponentOperState old = 1; |
| 1950 | void clear_old(); |
| 1951 | static const int kOldFieldNumber = 1; |
| 1952 | ::dmi::ComponentOperState old() const; |
| 1953 | void set_old(::dmi::ComponentOperState value); |
| 1954 | |
| 1955 | // .dmi.ComponentOperState new = 2; |
| 1956 | void clear_new_(); |
| 1957 | static const int kNewFieldNumber = 2; |
| 1958 | ::dmi::ComponentOperState new_() const; |
| 1959 | void set_new_(::dmi::ComponentOperState value); |
| 1960 | |
| 1961 | // @@protoc_insertion_point(class_scope:dmi.OperStateChange) |
| 1962 | private: |
| 1963 | class HasBitSetters; |
| 1964 | |
| 1965 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1966 | int old_; |
| 1967 | int new__; |
| 1968 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1969 | friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto; |
| 1970 | }; |
| 1971 | // ------------------------------------------------------------------- |
| 1972 | |
| 1973 | class AlarmStateChange final : |
| 1974 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.AlarmStateChange) */ { |
| 1975 | public: |
| 1976 | AlarmStateChange(); |
| 1977 | virtual ~AlarmStateChange(); |
| 1978 | |
| 1979 | AlarmStateChange(const AlarmStateChange& from); |
| 1980 | |
| 1981 | inline AlarmStateChange& operator=(const AlarmStateChange& from) { |
| 1982 | CopyFrom(from); |
| 1983 | return *this; |
| 1984 | } |
| 1985 | #if LANG_CXX11 |
| 1986 | AlarmStateChange(AlarmStateChange&& from) noexcept |
| 1987 | : AlarmStateChange() { |
| 1988 | *this = ::std::move(from); |
| 1989 | } |
| 1990 | |
| 1991 | inline AlarmStateChange& operator=(AlarmStateChange&& from) noexcept { |
| 1992 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1993 | if (this != &from) InternalSwap(&from); |
| 1994 | } else { |
| 1995 | CopyFrom(from); |
| 1996 | } |
| 1997 | return *this; |
| 1998 | } |
| 1999 | #endif |
| 2000 | static const ::google::protobuf::Descriptor* descriptor() { |
| 2001 | return default_instance().GetDescriptor(); |
| 2002 | } |
| 2003 | static const AlarmStateChange& default_instance(); |
| 2004 | |
| 2005 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2006 | static inline const AlarmStateChange* internal_default_instance() { |
| 2007 | return reinterpret_cast<const AlarmStateChange*>( |
| 2008 | &_AlarmStateChange_default_instance_); |
| 2009 | } |
| 2010 | static constexpr int kIndexInFileMessages = |
| 2011 | 12; |
| 2012 | |
| 2013 | void Swap(AlarmStateChange* other); |
| 2014 | friend void swap(AlarmStateChange& a, AlarmStateChange& b) { |
| 2015 | a.Swap(&b); |
| 2016 | } |
| 2017 | |
| 2018 | // implements Message ---------------------------------------------- |
| 2019 | |
| 2020 | inline AlarmStateChange* New() const final { |
| 2021 | return CreateMaybeMessage<AlarmStateChange>(nullptr); |
| 2022 | } |
| 2023 | |
| 2024 | AlarmStateChange* New(::google::protobuf::Arena* arena) const final { |
| 2025 | return CreateMaybeMessage<AlarmStateChange>(arena); |
| 2026 | } |
| 2027 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2028 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2029 | void CopyFrom(const AlarmStateChange& from); |
| 2030 | void MergeFrom(const AlarmStateChange& from); |
| 2031 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2032 | bool IsInitialized() const final; |
| 2033 | |
| 2034 | size_t ByteSizeLong() const final; |
| 2035 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2036 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 2037 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 2038 | #else |
| 2039 | bool MergePartialFromCodedStream( |
| 2040 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2041 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2042 | void SerializeWithCachedSizes( |
| 2043 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2044 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2045 | ::google::protobuf::uint8* target) const final; |
| 2046 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2047 | |
| 2048 | private: |
| 2049 | void SharedCtor(); |
| 2050 | void SharedDtor(); |
| 2051 | void SetCachedSize(int size) const final; |
| 2052 | void InternalSwap(AlarmStateChange* other); |
| 2053 | private: |
| 2054 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2055 | return nullptr; |
| 2056 | } |
| 2057 | inline void* MaybeArenaPtr() const { |
| 2058 | return nullptr; |
| 2059 | } |
| 2060 | public: |
| 2061 | |
| 2062 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2063 | |
| 2064 | // nested types ---------------------------------------------------- |
| 2065 | |
| 2066 | // accessors ------------------------------------------------------- |
| 2067 | |
| 2068 | // .dmi.ComponentAlarmState old = 1; |
| 2069 | void clear_old(); |
| 2070 | static const int kOldFieldNumber = 1; |
| 2071 | ::dmi::ComponentAlarmState old() const; |
| 2072 | void set_old(::dmi::ComponentAlarmState value); |
| 2073 | |
| 2074 | // .dmi.ComponentAlarmState new = 2; |
| 2075 | void clear_new_(); |
| 2076 | static const int kNewFieldNumber = 2; |
| 2077 | ::dmi::ComponentAlarmState new_() const; |
| 2078 | void set_new_(::dmi::ComponentAlarmState value); |
| 2079 | |
| 2080 | // @@protoc_insertion_point(class_scope:dmi.AlarmStateChange) |
| 2081 | private: |
| 2082 | class HasBitSetters; |
| 2083 | |
| 2084 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2085 | int old_; |
| 2086 | int new__; |
| 2087 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2088 | friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto; |
| 2089 | }; |
| 2090 | // ------------------------------------------------------------------- |
| 2091 | |
| 2092 | class UsageStateChange final : |
| 2093 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.UsageStateChange) */ { |
| 2094 | public: |
| 2095 | UsageStateChange(); |
| 2096 | virtual ~UsageStateChange(); |
| 2097 | |
| 2098 | UsageStateChange(const UsageStateChange& from); |
| 2099 | |
| 2100 | inline UsageStateChange& operator=(const UsageStateChange& from) { |
| 2101 | CopyFrom(from); |
| 2102 | return *this; |
| 2103 | } |
| 2104 | #if LANG_CXX11 |
| 2105 | UsageStateChange(UsageStateChange&& from) noexcept |
| 2106 | : UsageStateChange() { |
| 2107 | *this = ::std::move(from); |
| 2108 | } |
| 2109 | |
| 2110 | inline UsageStateChange& operator=(UsageStateChange&& from) noexcept { |
| 2111 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2112 | if (this != &from) InternalSwap(&from); |
| 2113 | } else { |
| 2114 | CopyFrom(from); |
| 2115 | } |
| 2116 | return *this; |
| 2117 | } |
| 2118 | #endif |
| 2119 | static const ::google::protobuf::Descriptor* descriptor() { |
| 2120 | return default_instance().GetDescriptor(); |
| 2121 | } |
| 2122 | static const UsageStateChange& default_instance(); |
| 2123 | |
| 2124 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2125 | static inline const UsageStateChange* internal_default_instance() { |
| 2126 | return reinterpret_cast<const UsageStateChange*>( |
| 2127 | &_UsageStateChange_default_instance_); |
| 2128 | } |
| 2129 | static constexpr int kIndexInFileMessages = |
| 2130 | 13; |
| 2131 | |
| 2132 | void Swap(UsageStateChange* other); |
| 2133 | friend void swap(UsageStateChange& a, UsageStateChange& b) { |
| 2134 | a.Swap(&b); |
| 2135 | } |
| 2136 | |
| 2137 | // implements Message ---------------------------------------------- |
| 2138 | |
| 2139 | inline UsageStateChange* New() const final { |
| 2140 | return CreateMaybeMessage<UsageStateChange>(nullptr); |
| 2141 | } |
| 2142 | |
| 2143 | UsageStateChange* New(::google::protobuf::Arena* arena) const final { |
| 2144 | return CreateMaybeMessage<UsageStateChange>(arena); |
| 2145 | } |
| 2146 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2147 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2148 | void CopyFrom(const UsageStateChange& from); |
| 2149 | void MergeFrom(const UsageStateChange& from); |
| 2150 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2151 | bool IsInitialized() const final; |
| 2152 | |
| 2153 | size_t ByteSizeLong() const final; |
| 2154 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2155 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 2156 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 2157 | #else |
| 2158 | bool MergePartialFromCodedStream( |
| 2159 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2160 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2161 | void SerializeWithCachedSizes( |
| 2162 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2163 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2164 | ::google::protobuf::uint8* target) const final; |
| 2165 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2166 | |
| 2167 | private: |
| 2168 | void SharedCtor(); |
| 2169 | void SharedDtor(); |
| 2170 | void SetCachedSize(int size) const final; |
| 2171 | void InternalSwap(UsageStateChange* other); |
| 2172 | private: |
| 2173 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2174 | return nullptr; |
| 2175 | } |
| 2176 | inline void* MaybeArenaPtr() const { |
| 2177 | return nullptr; |
| 2178 | } |
| 2179 | public: |
| 2180 | |
| 2181 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2182 | |
| 2183 | // nested types ---------------------------------------------------- |
| 2184 | |
| 2185 | // accessors ------------------------------------------------------- |
| 2186 | |
| 2187 | // .dmi.ComponentUsageState old = 1; |
| 2188 | void clear_old(); |
| 2189 | static const int kOldFieldNumber = 1; |
| 2190 | ::dmi::ComponentUsageState old() const; |
| 2191 | void set_old(::dmi::ComponentUsageState value); |
| 2192 | |
| 2193 | // .dmi.ComponentUsageState new = 2; |
| 2194 | void clear_new_(); |
| 2195 | static const int kNewFieldNumber = 2; |
| 2196 | ::dmi::ComponentUsageState new_() const; |
| 2197 | void set_new_(::dmi::ComponentUsageState value); |
| 2198 | |
| 2199 | // @@protoc_insertion_point(class_scope:dmi.UsageStateChange) |
| 2200 | private: |
| 2201 | class HasBitSetters; |
| 2202 | |
| 2203 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2204 | int old_; |
| 2205 | int new__; |
| 2206 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2207 | friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto; |
| 2208 | }; |
| 2209 | // ------------------------------------------------------------------- |
| 2210 | |
| 2211 | class StandbyStateChange final : |
| 2212 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.StandbyStateChange) */ { |
| 2213 | public: |
| 2214 | StandbyStateChange(); |
| 2215 | virtual ~StandbyStateChange(); |
| 2216 | |
| 2217 | StandbyStateChange(const StandbyStateChange& from); |
| 2218 | |
| 2219 | inline StandbyStateChange& operator=(const StandbyStateChange& from) { |
| 2220 | CopyFrom(from); |
| 2221 | return *this; |
| 2222 | } |
| 2223 | #if LANG_CXX11 |
| 2224 | StandbyStateChange(StandbyStateChange&& from) noexcept |
| 2225 | : StandbyStateChange() { |
| 2226 | *this = ::std::move(from); |
| 2227 | } |
| 2228 | |
| 2229 | inline StandbyStateChange& operator=(StandbyStateChange&& from) noexcept { |
| 2230 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2231 | if (this != &from) InternalSwap(&from); |
| 2232 | } else { |
| 2233 | CopyFrom(from); |
| 2234 | } |
| 2235 | return *this; |
| 2236 | } |
| 2237 | #endif |
| 2238 | static const ::google::protobuf::Descriptor* descriptor() { |
| 2239 | return default_instance().GetDescriptor(); |
| 2240 | } |
| 2241 | static const StandbyStateChange& default_instance(); |
| 2242 | |
| 2243 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2244 | static inline const StandbyStateChange* internal_default_instance() { |
| 2245 | return reinterpret_cast<const StandbyStateChange*>( |
| 2246 | &_StandbyStateChange_default_instance_); |
| 2247 | } |
| 2248 | static constexpr int kIndexInFileMessages = |
| 2249 | 14; |
| 2250 | |
| 2251 | void Swap(StandbyStateChange* other); |
| 2252 | friend void swap(StandbyStateChange& a, StandbyStateChange& b) { |
| 2253 | a.Swap(&b); |
| 2254 | } |
| 2255 | |
| 2256 | // implements Message ---------------------------------------------- |
| 2257 | |
| 2258 | inline StandbyStateChange* New() const final { |
| 2259 | return CreateMaybeMessage<StandbyStateChange>(nullptr); |
| 2260 | } |
| 2261 | |
| 2262 | StandbyStateChange* New(::google::protobuf::Arena* arena) const final { |
| 2263 | return CreateMaybeMessage<StandbyStateChange>(arena); |
| 2264 | } |
| 2265 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2266 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2267 | void CopyFrom(const StandbyStateChange& from); |
| 2268 | void MergeFrom(const StandbyStateChange& from); |
| 2269 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2270 | bool IsInitialized() const final; |
| 2271 | |
| 2272 | size_t ByteSizeLong() const final; |
| 2273 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2274 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 2275 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 2276 | #else |
| 2277 | bool MergePartialFromCodedStream( |
| 2278 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2279 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2280 | void SerializeWithCachedSizes( |
| 2281 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2282 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2283 | ::google::protobuf::uint8* target) const final; |
| 2284 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2285 | |
| 2286 | private: |
| 2287 | void SharedCtor(); |
| 2288 | void SharedDtor(); |
| 2289 | void SetCachedSize(int size) const final; |
| 2290 | void InternalSwap(StandbyStateChange* other); |
| 2291 | private: |
| 2292 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2293 | return nullptr; |
| 2294 | } |
| 2295 | inline void* MaybeArenaPtr() const { |
| 2296 | return nullptr; |
| 2297 | } |
| 2298 | public: |
| 2299 | |
| 2300 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2301 | |
| 2302 | // nested types ---------------------------------------------------- |
| 2303 | |
| 2304 | // accessors ------------------------------------------------------- |
| 2305 | |
| 2306 | // .dmi.ComponentStandbyState old = 1; |
| 2307 | void clear_old(); |
| 2308 | static const int kOldFieldNumber = 1; |
| 2309 | ::dmi::ComponentStandbyState old() const; |
| 2310 | void set_old(::dmi::ComponentStandbyState value); |
| 2311 | |
| 2312 | // .dmi.ComponentStandbyState new = 2; |
| 2313 | void clear_new_(); |
| 2314 | static const int kNewFieldNumber = 2; |
| 2315 | ::dmi::ComponentStandbyState new_() const; |
| 2316 | void set_new_(::dmi::ComponentStandbyState value); |
| 2317 | |
| 2318 | // @@protoc_insertion_point(class_scope:dmi.StandbyStateChange) |
| 2319 | private: |
| 2320 | class HasBitSetters; |
| 2321 | |
| 2322 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2323 | int old_; |
| 2324 | int new__; |
| 2325 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2326 | friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto; |
| 2327 | }; |
| 2328 | // ------------------------------------------------------------------- |
| 2329 | |
| 2330 | class StateChangeInfo final : |
| 2331 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.StateChangeInfo) */ { |
| 2332 | public: |
| 2333 | StateChangeInfo(); |
| 2334 | virtual ~StateChangeInfo(); |
| 2335 | |
| 2336 | StateChangeInfo(const StateChangeInfo& from); |
| 2337 | |
| 2338 | inline StateChangeInfo& operator=(const StateChangeInfo& from) { |
| 2339 | CopyFrom(from); |
| 2340 | return *this; |
| 2341 | } |
| 2342 | #if LANG_CXX11 |
| 2343 | StateChangeInfo(StateChangeInfo&& from) noexcept |
| 2344 | : StateChangeInfo() { |
| 2345 | *this = ::std::move(from); |
| 2346 | } |
| 2347 | |
| 2348 | inline StateChangeInfo& operator=(StateChangeInfo&& from) noexcept { |
| 2349 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2350 | if (this != &from) InternalSwap(&from); |
| 2351 | } else { |
| 2352 | CopyFrom(from); |
| 2353 | } |
| 2354 | return *this; |
| 2355 | } |
| 2356 | #endif |
| 2357 | static const ::google::protobuf::Descriptor* descriptor() { |
| 2358 | return default_instance().GetDescriptor(); |
| 2359 | } |
| 2360 | static const StateChangeInfo& default_instance(); |
| 2361 | |
| 2362 | enum StateChangeCase { |
| 2363 | kAdminStateChange = 1, |
| 2364 | kOperStateChange = 2, |
| 2365 | kAlarmStateChange = 3, |
| 2366 | kUsageStateChange = 4, |
| 2367 | kStandbyStateChange = 5, |
| 2368 | STATE_CHANGE_NOT_SET = 0, |
| 2369 | }; |
| 2370 | |
| 2371 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2372 | static inline const StateChangeInfo* internal_default_instance() { |
| 2373 | return reinterpret_cast<const StateChangeInfo*>( |
| 2374 | &_StateChangeInfo_default_instance_); |
| 2375 | } |
| 2376 | static constexpr int kIndexInFileMessages = |
| 2377 | 15; |
| 2378 | |
| 2379 | void Swap(StateChangeInfo* other); |
| 2380 | friend void swap(StateChangeInfo& a, StateChangeInfo& b) { |
| 2381 | a.Swap(&b); |
| 2382 | } |
| 2383 | |
| 2384 | // implements Message ---------------------------------------------- |
| 2385 | |
| 2386 | inline StateChangeInfo* New() const final { |
| 2387 | return CreateMaybeMessage<StateChangeInfo>(nullptr); |
| 2388 | } |
| 2389 | |
| 2390 | StateChangeInfo* New(::google::protobuf::Arena* arena) const final { |
| 2391 | return CreateMaybeMessage<StateChangeInfo>(arena); |
| 2392 | } |
| 2393 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2394 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2395 | void CopyFrom(const StateChangeInfo& from); |
| 2396 | void MergeFrom(const StateChangeInfo& from); |
| 2397 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2398 | bool IsInitialized() const final; |
| 2399 | |
| 2400 | size_t ByteSizeLong() const final; |
| 2401 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2402 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 2403 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 2404 | #else |
| 2405 | bool MergePartialFromCodedStream( |
| 2406 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2407 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2408 | void SerializeWithCachedSizes( |
| 2409 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2410 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2411 | ::google::protobuf::uint8* target) const final; |
| 2412 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2413 | |
| 2414 | private: |
| 2415 | void SharedCtor(); |
| 2416 | void SharedDtor(); |
| 2417 | void SetCachedSize(int size) const final; |
| 2418 | void InternalSwap(StateChangeInfo* other); |
| 2419 | private: |
| 2420 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2421 | return nullptr; |
| 2422 | } |
| 2423 | inline void* MaybeArenaPtr() const { |
| 2424 | return nullptr; |
| 2425 | } |
| 2426 | public: |
| 2427 | |
| 2428 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2429 | |
| 2430 | // nested types ---------------------------------------------------- |
| 2431 | |
| 2432 | // accessors ------------------------------------------------------- |
| 2433 | |
| 2434 | // .dmi.AdminStateChange admin_state_change = 1; |
| 2435 | bool has_admin_state_change() const; |
| 2436 | void clear_admin_state_change(); |
| 2437 | static const int kAdminStateChangeFieldNumber = 1; |
| 2438 | const ::dmi::AdminStateChange& admin_state_change() const; |
| 2439 | ::dmi::AdminStateChange* release_admin_state_change(); |
| 2440 | ::dmi::AdminStateChange* mutable_admin_state_change(); |
| 2441 | void set_allocated_admin_state_change(::dmi::AdminStateChange* admin_state_change); |
| 2442 | |
| 2443 | // .dmi.OperStateChange oper_state_change = 2; |
| 2444 | bool has_oper_state_change() const; |
| 2445 | void clear_oper_state_change(); |
| 2446 | static const int kOperStateChangeFieldNumber = 2; |
| 2447 | const ::dmi::OperStateChange& oper_state_change() const; |
| 2448 | ::dmi::OperStateChange* release_oper_state_change(); |
| 2449 | ::dmi::OperStateChange* mutable_oper_state_change(); |
| 2450 | void set_allocated_oper_state_change(::dmi::OperStateChange* oper_state_change); |
| 2451 | |
| 2452 | // .dmi.AlarmStateChange alarm_state_change = 3; |
| 2453 | bool has_alarm_state_change() const; |
| 2454 | void clear_alarm_state_change(); |
| 2455 | static const int kAlarmStateChangeFieldNumber = 3; |
| 2456 | const ::dmi::AlarmStateChange& alarm_state_change() const; |
| 2457 | ::dmi::AlarmStateChange* release_alarm_state_change(); |
| 2458 | ::dmi::AlarmStateChange* mutable_alarm_state_change(); |
| 2459 | void set_allocated_alarm_state_change(::dmi::AlarmStateChange* alarm_state_change); |
| 2460 | |
| 2461 | // .dmi.UsageStateChange usage_state_change = 4; |
| 2462 | bool has_usage_state_change() const; |
| 2463 | void clear_usage_state_change(); |
| 2464 | static const int kUsageStateChangeFieldNumber = 4; |
| 2465 | const ::dmi::UsageStateChange& usage_state_change() const; |
| 2466 | ::dmi::UsageStateChange* release_usage_state_change(); |
| 2467 | ::dmi::UsageStateChange* mutable_usage_state_change(); |
| 2468 | void set_allocated_usage_state_change(::dmi::UsageStateChange* usage_state_change); |
| 2469 | |
| 2470 | // .dmi.StandbyStateChange standby_state_change = 5; |
| 2471 | bool has_standby_state_change() const; |
| 2472 | void clear_standby_state_change(); |
| 2473 | static const int kStandbyStateChangeFieldNumber = 5; |
| 2474 | const ::dmi::StandbyStateChange& standby_state_change() const; |
| 2475 | ::dmi::StandbyStateChange* release_standby_state_change(); |
| 2476 | ::dmi::StandbyStateChange* mutable_standby_state_change(); |
| 2477 | void set_allocated_standby_state_change(::dmi::StandbyStateChange* standby_state_change); |
| 2478 | |
| 2479 | void clear_state_change(); |
| 2480 | StateChangeCase state_change_case() const; |
| 2481 | // @@protoc_insertion_point(class_scope:dmi.StateChangeInfo) |
| 2482 | private: |
| 2483 | class HasBitSetters; |
| 2484 | void set_has_admin_state_change(); |
| 2485 | void set_has_oper_state_change(); |
| 2486 | void set_has_alarm_state_change(); |
| 2487 | void set_has_usage_state_change(); |
| 2488 | void set_has_standby_state_change(); |
| 2489 | |
| 2490 | inline bool has_state_change() const; |
| 2491 | inline void clear_has_state_change(); |
| 2492 | |
| 2493 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2494 | union StateChangeUnion { |
| 2495 | StateChangeUnion() {} |
| 2496 | ::dmi::AdminStateChange* admin_state_change_; |
| 2497 | ::dmi::OperStateChange* oper_state_change_; |
| 2498 | ::dmi::AlarmStateChange* alarm_state_change_; |
| 2499 | ::dmi::UsageStateChange* usage_state_change_; |
| 2500 | ::dmi::StandbyStateChange* standby_state_change_; |
| 2501 | } state_change_; |
| 2502 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2503 | ::google::protobuf::uint32 _oneof_case_[1]; |
| 2504 | |
| 2505 | friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto; |
| 2506 | }; |
| 2507 | // ------------------------------------------------------------------- |
| 2508 | |
| Amit Ghosh | d0151a3 | 2025-10-03 10:53:14 +0200 | [diff] [blame^] | 2509 | class GenericEventInfo final : |
| 2510 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.GenericEventInfo) */ { |
| 2511 | public: |
| 2512 | GenericEventInfo(); |
| 2513 | virtual ~GenericEventInfo(); |
| 2514 | |
| 2515 | GenericEventInfo(const GenericEventInfo& from); |
| 2516 | |
| 2517 | inline GenericEventInfo& operator=(const GenericEventInfo& from) { |
| 2518 | CopyFrom(from); |
| 2519 | return *this; |
| 2520 | } |
| 2521 | #if LANG_CXX11 |
| 2522 | GenericEventInfo(GenericEventInfo&& from) noexcept |
| 2523 | : GenericEventInfo() { |
| 2524 | *this = ::std::move(from); |
| 2525 | } |
| 2526 | |
| 2527 | inline GenericEventInfo& operator=(GenericEventInfo&& from) noexcept { |
| 2528 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2529 | if (this != &from) InternalSwap(&from); |
| 2530 | } else { |
| 2531 | CopyFrom(from); |
| 2532 | } |
| 2533 | return *this; |
| 2534 | } |
| 2535 | #endif |
| 2536 | static const ::google::protobuf::Descriptor* descriptor() { |
| 2537 | return default_instance().GetDescriptor(); |
| 2538 | } |
| 2539 | static const GenericEventInfo& default_instance(); |
| 2540 | |
| 2541 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2542 | static inline const GenericEventInfo* internal_default_instance() { |
| 2543 | return reinterpret_cast<const GenericEventInfo*>( |
| 2544 | &_GenericEventInfo_default_instance_); |
| 2545 | } |
| 2546 | static constexpr int kIndexInFileMessages = |
| 2547 | 16; |
| 2548 | |
| 2549 | void Swap(GenericEventInfo* other); |
| 2550 | friend void swap(GenericEventInfo& a, GenericEventInfo& b) { |
| 2551 | a.Swap(&b); |
| 2552 | } |
| 2553 | |
| 2554 | // implements Message ---------------------------------------------- |
| 2555 | |
| 2556 | inline GenericEventInfo* New() const final { |
| 2557 | return CreateMaybeMessage<GenericEventInfo>(nullptr); |
| 2558 | } |
| 2559 | |
| 2560 | GenericEventInfo* New(::google::protobuf::Arena* arena) const final { |
| 2561 | return CreateMaybeMessage<GenericEventInfo>(arena); |
| 2562 | } |
| 2563 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2564 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2565 | void CopyFrom(const GenericEventInfo& from); |
| 2566 | void MergeFrom(const GenericEventInfo& from); |
| 2567 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2568 | bool IsInitialized() const final; |
| 2569 | |
| 2570 | size_t ByteSizeLong() const final; |
| 2571 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2572 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 2573 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 2574 | #else |
| 2575 | bool MergePartialFromCodedStream( |
| 2576 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2577 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2578 | void SerializeWithCachedSizes( |
| 2579 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2580 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2581 | ::google::protobuf::uint8* target) const final; |
| 2582 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2583 | |
| 2584 | private: |
| 2585 | void SharedCtor(); |
| 2586 | void SharedDtor(); |
| 2587 | void SetCachedSize(int size) const final; |
| 2588 | void InternalSwap(GenericEventInfo* other); |
| 2589 | private: |
| 2590 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2591 | return nullptr; |
| 2592 | } |
| 2593 | inline void* MaybeArenaPtr() const { |
| 2594 | return nullptr; |
| 2595 | } |
| 2596 | public: |
| 2597 | |
| 2598 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2599 | |
| 2600 | // nested types ---------------------------------------------------- |
| 2601 | |
| 2602 | typedef GenericEventInfo_EventSeverity EventSeverity; |
| 2603 | static const EventSeverity EVENT_SEVERITY_UNSPECIFIED = |
| 2604 | GenericEventInfo_EventSeverity_EVENT_SEVERITY_UNSPECIFIED; |
| 2605 | static const EventSeverity CRITICAL = |
| 2606 | GenericEventInfo_EventSeverity_CRITICAL; |
| 2607 | static const EventSeverity MAJOR = |
| 2608 | GenericEventInfo_EventSeverity_MAJOR; |
| 2609 | static const EventSeverity MINOR = |
| 2610 | GenericEventInfo_EventSeverity_MINOR; |
| 2611 | static const EventSeverity NORMAL = |
| 2612 | GenericEventInfo_EventSeverity_NORMAL; |
| 2613 | static const EventSeverity INFO = |
| 2614 | GenericEventInfo_EventSeverity_INFO; |
| 2615 | static inline bool EventSeverity_IsValid(int value) { |
| 2616 | return GenericEventInfo_EventSeverity_IsValid(value); |
| 2617 | } |
| 2618 | static const EventSeverity EventSeverity_MIN = |
| 2619 | GenericEventInfo_EventSeverity_EventSeverity_MIN; |
| 2620 | static const EventSeverity EventSeverity_MAX = |
| 2621 | GenericEventInfo_EventSeverity_EventSeverity_MAX; |
| 2622 | static const int EventSeverity_ARRAYSIZE = |
| 2623 | GenericEventInfo_EventSeverity_EventSeverity_ARRAYSIZE; |
| 2624 | static inline const ::google::protobuf::EnumDescriptor* |
| 2625 | EventSeverity_descriptor() { |
| 2626 | return GenericEventInfo_EventSeverity_descriptor(); |
| 2627 | } |
| 2628 | static inline const ::std::string& EventSeverity_Name(EventSeverity value) { |
| 2629 | return GenericEventInfo_EventSeverity_Name(value); |
| 2630 | } |
| 2631 | static inline bool EventSeverity_Parse(const ::std::string& name, |
| 2632 | EventSeverity* value) { |
| 2633 | return GenericEventInfo_EventSeverity_Parse(name, value); |
| 2634 | } |
| 2635 | |
| 2636 | // accessors ------------------------------------------------------- |
| 2637 | |
| 2638 | // string message = 1; |
| 2639 | void clear_message(); |
| 2640 | static const int kMessageFieldNumber = 1; |
| 2641 | const ::std::string& message() const; |
| 2642 | void set_message(const ::std::string& value); |
| 2643 | #if LANG_CXX11 |
| 2644 | void set_message(::std::string&& value); |
| 2645 | #endif |
| 2646 | void set_message(const char* value); |
| 2647 | void set_message(const char* value, size_t size); |
| 2648 | ::std::string* mutable_message(); |
| 2649 | ::std::string* release_message(); |
| 2650 | void set_allocated_message(::std::string* message); |
| 2651 | |
| 2652 | // string message_code = 2; |
| 2653 | void clear_message_code(); |
| 2654 | static const int kMessageCodeFieldNumber = 2; |
| 2655 | const ::std::string& message_code() const; |
| 2656 | void set_message_code(const ::std::string& value); |
| 2657 | #if LANG_CXX11 |
| 2658 | void set_message_code(::std::string&& value); |
| 2659 | #endif |
| 2660 | void set_message_code(const char* value); |
| 2661 | void set_message_code(const char* value, size_t size); |
| 2662 | ::std::string* mutable_message_code(); |
| 2663 | ::std::string* release_message_code(); |
| 2664 | void set_allocated_message_code(::std::string* message_code); |
| 2665 | |
| 2666 | // .dmi.GenericEventInfo.EventSeverity severity = 3; |
| 2667 | void clear_severity(); |
| 2668 | static const int kSeverityFieldNumber = 3; |
| 2669 | ::dmi::GenericEventInfo_EventSeverity severity() const; |
| 2670 | void set_severity(::dmi::GenericEventInfo_EventSeverity value); |
| 2671 | |
| 2672 | // @@protoc_insertion_point(class_scope:dmi.GenericEventInfo) |
| 2673 | private: |
| 2674 | class HasBitSetters; |
| 2675 | |
| 2676 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2677 | ::google::protobuf::internal::ArenaStringPtr message_; |
| 2678 | ::google::protobuf::internal::ArenaStringPtr message_code_; |
| 2679 | int severity_; |
| 2680 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2681 | friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto; |
| 2682 | }; |
| 2683 | // ------------------------------------------------------------------- |
| 2684 | |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 2685 | class Event final : |
| 2686 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.Event) */ { |
| 2687 | public: |
| 2688 | Event(); |
| 2689 | virtual ~Event(); |
| 2690 | |
| 2691 | Event(const Event& from); |
| 2692 | |
| 2693 | inline Event& operator=(const Event& from) { |
| 2694 | CopyFrom(from); |
| 2695 | return *this; |
| 2696 | } |
| 2697 | #if LANG_CXX11 |
| 2698 | Event(Event&& from) noexcept |
| 2699 | : Event() { |
| 2700 | *this = ::std::move(from); |
| 2701 | } |
| 2702 | |
| 2703 | inline Event& operator=(Event&& from) noexcept { |
| 2704 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2705 | if (this != &from) InternalSwap(&from); |
| 2706 | } else { |
| 2707 | CopyFrom(from); |
| 2708 | } |
| 2709 | return *this; |
| 2710 | } |
| 2711 | #endif |
| 2712 | static const ::google::protobuf::Descriptor* descriptor() { |
| 2713 | return default_instance().GetDescriptor(); |
| 2714 | } |
| 2715 | static const Event& default_instance(); |
| 2716 | |
| 2717 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2718 | static inline const Event* internal_default_instance() { |
| 2719 | return reinterpret_cast<const Event*>( |
| 2720 | &_Event_default_instance_); |
| 2721 | } |
| 2722 | static constexpr int kIndexInFileMessages = |
| Amit Ghosh | d0151a3 | 2025-10-03 10:53:14 +0200 | [diff] [blame^] | 2723 | 17; |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 2724 | |
| 2725 | void Swap(Event* other); |
| 2726 | friend void swap(Event& a, Event& b) { |
| 2727 | a.Swap(&b); |
| 2728 | } |
| 2729 | |
| 2730 | // implements Message ---------------------------------------------- |
| 2731 | |
| 2732 | inline Event* New() const final { |
| 2733 | return CreateMaybeMessage<Event>(nullptr); |
| 2734 | } |
| 2735 | |
| 2736 | Event* New(::google::protobuf::Arena* arena) const final { |
| 2737 | return CreateMaybeMessage<Event>(arena); |
| 2738 | } |
| 2739 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2740 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2741 | void CopyFrom(const Event& from); |
| 2742 | void MergeFrom(const Event& from); |
| 2743 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2744 | bool IsInitialized() const final; |
| 2745 | |
| 2746 | size_t ByteSizeLong() const final; |
| 2747 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2748 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 2749 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 2750 | #else |
| 2751 | bool MergePartialFromCodedStream( |
| 2752 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2753 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2754 | void SerializeWithCachedSizes( |
| 2755 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2756 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2757 | ::google::protobuf::uint8* target) const final; |
| 2758 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2759 | |
| 2760 | private: |
| 2761 | void SharedCtor(); |
| 2762 | void SharedDtor(); |
| 2763 | void SetCachedSize(int size) const final; |
| 2764 | void InternalSwap(Event* other); |
| 2765 | private: |
| 2766 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2767 | return nullptr; |
| 2768 | } |
| 2769 | inline void* MaybeArenaPtr() const { |
| 2770 | return nullptr; |
| 2771 | } |
| 2772 | public: |
| 2773 | |
| 2774 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2775 | |
| 2776 | // nested types ---------------------------------------------------- |
| 2777 | |
| 2778 | // accessors ------------------------------------------------------- |
| 2779 | |
| 2780 | // string add_info = 5; |
| 2781 | void clear_add_info(); |
| 2782 | static const int kAddInfoFieldNumber = 5; |
| 2783 | const ::std::string& add_info() const; |
| 2784 | void set_add_info(const ::std::string& value); |
| 2785 | #if LANG_CXX11 |
| 2786 | void set_add_info(::std::string&& value); |
| 2787 | #endif |
| 2788 | void set_add_info(const char* value); |
| 2789 | void set_add_info(const char* value, size_t size); |
| 2790 | ::std::string* mutable_add_info(); |
| 2791 | ::std::string* release_add_info(); |
| 2792 | void set_allocated_add_info(::std::string* add_info); |
| 2793 | |
| 2794 | // .dmi.EventMetaData event_metadata = 1; |
| 2795 | bool has_event_metadata() const; |
| 2796 | void clear_event_metadata(); |
| 2797 | static const int kEventMetadataFieldNumber = 1; |
| 2798 | const ::dmi::EventMetaData& event_metadata() const; |
| 2799 | ::dmi::EventMetaData* release_event_metadata(); |
| 2800 | ::dmi::EventMetaData* mutable_event_metadata(); |
| 2801 | void set_allocated_event_metadata(::dmi::EventMetaData* event_metadata); |
| 2802 | |
| 2803 | // .google.protobuf.Timestamp raised_ts = 3; |
| 2804 | bool has_raised_ts() const; |
| 2805 | void clear_raised_ts(); |
| 2806 | static const int kRaisedTsFieldNumber = 3; |
| 2807 | const ::google::protobuf::Timestamp& raised_ts() const; |
| 2808 | ::google::protobuf::Timestamp* release_raised_ts(); |
| 2809 | ::google::protobuf::Timestamp* mutable_raised_ts(); |
| 2810 | void set_allocated_raised_ts(::google::protobuf::Timestamp* raised_ts); |
| 2811 | |
| 2812 | // .dmi.ThresholdInformation threshold_info = 4; |
| 2813 | bool has_threshold_info() const; |
| 2814 | void clear_threshold_info(); |
| 2815 | static const int kThresholdInfoFieldNumber = 4; |
| 2816 | const ::dmi::ThresholdInformation& threshold_info() const; |
| 2817 | ::dmi::ThresholdInformation* release_threshold_info(); |
| 2818 | ::dmi::ThresholdInformation* mutable_threshold_info(); |
| 2819 | void set_allocated_threshold_info(::dmi::ThresholdInformation* threshold_info); |
| 2820 | |
| Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame] | 2821 | // .dmi.StateChangeInfo state_change_info = 6; |
| 2822 | bool has_state_change_info() const; |
| 2823 | void clear_state_change_info(); |
| 2824 | static const int kStateChangeInfoFieldNumber = 6; |
| 2825 | const ::dmi::StateChangeInfo& state_change_info() const; |
| 2826 | ::dmi::StateChangeInfo* release_state_change_info(); |
| 2827 | ::dmi::StateChangeInfo* mutable_state_change_info(); |
| 2828 | void set_allocated_state_change_info(::dmi::StateChangeInfo* state_change_info); |
| 2829 | |
| Amit Ghosh | d0151a3 | 2025-10-03 10:53:14 +0200 | [diff] [blame^] | 2830 | // .dmi.GenericEventInfo generic_event_info = 7; |
| 2831 | bool has_generic_event_info() const; |
| 2832 | void clear_generic_event_info(); |
| 2833 | static const int kGenericEventInfoFieldNumber = 7; |
| 2834 | const ::dmi::GenericEventInfo& generic_event_info() const; |
| 2835 | ::dmi::GenericEventInfo* release_generic_event_info(); |
| 2836 | ::dmi::GenericEventInfo* mutable_generic_event_info(); |
| 2837 | void set_allocated_generic_event_info(::dmi::GenericEventInfo* generic_event_info); |
| 2838 | |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 2839 | // .dmi.EventIds event_id = 2; |
| 2840 | void clear_event_id(); |
| 2841 | static const int kEventIdFieldNumber = 2; |
| 2842 | ::dmi::EventIds event_id() const; |
| 2843 | void set_event_id(::dmi::EventIds value); |
| 2844 | |
| 2845 | // @@protoc_insertion_point(class_scope:dmi.Event) |
| 2846 | private: |
| 2847 | class HasBitSetters; |
| 2848 | |
| 2849 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2850 | ::google::protobuf::internal::ArenaStringPtr add_info_; |
| 2851 | ::dmi::EventMetaData* event_metadata_; |
| 2852 | ::google::protobuf::Timestamp* raised_ts_; |
| 2853 | ::dmi::ThresholdInformation* threshold_info_; |
| Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame] | 2854 | ::dmi::StateChangeInfo* state_change_info_; |
| Amit Ghosh | d0151a3 | 2025-10-03 10:53:14 +0200 | [diff] [blame^] | 2855 | ::dmi::GenericEventInfo* generic_event_info_; |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 2856 | int event_id_; |
| 2857 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2858 | friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto; |
| 2859 | }; |
| 2860 | // =================================================================== |
| 2861 | |
| 2862 | |
| 2863 | // =================================================================== |
| 2864 | |
| 2865 | #ifdef __GNUC__ |
| 2866 | #pragma GCC diagnostic push |
| 2867 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
| 2868 | #endif // __GNUC__ |
| 2869 | // ValueType |
| 2870 | |
| 2871 | // int64 int_val = 1; |
| 2872 | inline bool ValueType::has_int_val() const { |
| 2873 | return val_case() == kIntVal; |
| 2874 | } |
| 2875 | inline void ValueType::set_has_int_val() { |
| 2876 | _oneof_case_[0] = kIntVal; |
| 2877 | } |
| 2878 | inline void ValueType::clear_int_val() { |
| 2879 | if (has_int_val()) { |
| 2880 | val_.int_val_ = PROTOBUF_LONGLONG(0); |
| 2881 | clear_has_val(); |
| 2882 | } |
| 2883 | } |
| 2884 | inline ::google::protobuf::int64 ValueType::int_val() const { |
| 2885 | // @@protoc_insertion_point(field_get:dmi.ValueType.int_val) |
| 2886 | if (has_int_val()) { |
| 2887 | return val_.int_val_; |
| 2888 | } |
| 2889 | return PROTOBUF_LONGLONG(0); |
| 2890 | } |
| 2891 | inline void ValueType::set_int_val(::google::protobuf::int64 value) { |
| 2892 | if (!has_int_val()) { |
| 2893 | clear_val(); |
| 2894 | set_has_int_val(); |
| 2895 | } |
| 2896 | val_.int_val_ = value; |
| 2897 | // @@protoc_insertion_point(field_set:dmi.ValueType.int_val) |
| 2898 | } |
| 2899 | |
| 2900 | // uint64 uint_val = 2; |
| 2901 | inline bool ValueType::has_uint_val() const { |
| 2902 | return val_case() == kUintVal; |
| 2903 | } |
| 2904 | inline void ValueType::set_has_uint_val() { |
| 2905 | _oneof_case_[0] = kUintVal; |
| 2906 | } |
| 2907 | inline void ValueType::clear_uint_val() { |
| 2908 | if (has_uint_val()) { |
| 2909 | val_.uint_val_ = PROTOBUF_ULONGLONG(0); |
| 2910 | clear_has_val(); |
| 2911 | } |
| 2912 | } |
| 2913 | inline ::google::protobuf::uint64 ValueType::uint_val() const { |
| 2914 | // @@protoc_insertion_point(field_get:dmi.ValueType.uint_val) |
| 2915 | if (has_uint_val()) { |
| 2916 | return val_.uint_val_; |
| 2917 | } |
| 2918 | return PROTOBUF_ULONGLONG(0); |
| 2919 | } |
| 2920 | inline void ValueType::set_uint_val(::google::protobuf::uint64 value) { |
| 2921 | if (!has_uint_val()) { |
| 2922 | clear_val(); |
| 2923 | set_has_uint_val(); |
| 2924 | } |
| 2925 | val_.uint_val_ = value; |
| 2926 | // @@protoc_insertion_point(field_set:dmi.ValueType.uint_val) |
| 2927 | } |
| 2928 | |
| 2929 | // float float_val = 3; |
| 2930 | inline bool ValueType::has_float_val() const { |
| 2931 | return val_case() == kFloatVal; |
| 2932 | } |
| 2933 | inline void ValueType::set_has_float_val() { |
| 2934 | _oneof_case_[0] = kFloatVal; |
| 2935 | } |
| 2936 | inline void ValueType::clear_float_val() { |
| 2937 | if (has_float_val()) { |
| 2938 | val_.float_val_ = 0; |
| 2939 | clear_has_val(); |
| 2940 | } |
| 2941 | } |
| 2942 | inline float ValueType::float_val() const { |
| 2943 | // @@protoc_insertion_point(field_get:dmi.ValueType.float_val) |
| 2944 | if (has_float_val()) { |
| 2945 | return val_.float_val_; |
| 2946 | } |
| 2947 | return 0; |
| 2948 | } |
| 2949 | inline void ValueType::set_float_val(float value) { |
| 2950 | if (!has_float_val()) { |
| 2951 | clear_val(); |
| 2952 | set_has_float_val(); |
| 2953 | } |
| 2954 | val_.float_val_ = value; |
| 2955 | // @@protoc_insertion_point(field_set:dmi.ValueType.float_val) |
| 2956 | } |
| 2957 | |
| amit.ghosh | 93921ec | 2022-09-08 17:22:40 +0200 | [diff] [blame] | 2958 | // .dmi.DataValueType typeOfVal = 4; |
| 2959 | inline void ValueType::clear_typeofval() { |
| 2960 | typeofval_ = 0; |
| 2961 | } |
| 2962 | inline ::dmi::DataValueType ValueType::typeofval() const { |
| 2963 | // @@protoc_insertion_point(field_get:dmi.ValueType.typeOfVal) |
| 2964 | return static_cast< ::dmi::DataValueType >(typeofval_); |
| 2965 | } |
| 2966 | inline void ValueType::set_typeofval(::dmi::DataValueType value) { |
| 2967 | |
| 2968 | typeofval_ = value; |
| 2969 | // @@protoc_insertion_point(field_set:dmi.ValueType.typeOfVal) |
| 2970 | } |
| 2971 | |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 2972 | inline bool ValueType::has_val() const { |
| 2973 | return val_case() != VAL_NOT_SET; |
| 2974 | } |
| 2975 | inline void ValueType::clear_has_val() { |
| 2976 | _oneof_case_[0] = VAL_NOT_SET; |
| 2977 | } |
| 2978 | inline ValueType::ValCase ValueType::val_case() const { |
| 2979 | return ValueType::ValCase(_oneof_case_[0]); |
| 2980 | } |
| 2981 | // ------------------------------------------------------------------- |
| 2982 | |
| 2983 | // WaterMarks |
| 2984 | |
| 2985 | // .dmi.ValueType high = 1; |
| 2986 | inline bool WaterMarks::has_high() const { |
| 2987 | return this != internal_default_instance() && high_ != nullptr; |
| 2988 | } |
| 2989 | inline void WaterMarks::clear_high() { |
| 2990 | if (GetArenaNoVirtual() == nullptr && high_ != nullptr) { |
| 2991 | delete high_; |
| 2992 | } |
| 2993 | high_ = nullptr; |
| 2994 | } |
| 2995 | inline const ::dmi::ValueType& WaterMarks::high() const { |
| 2996 | const ::dmi::ValueType* p = high_; |
| 2997 | // @@protoc_insertion_point(field_get:dmi.WaterMarks.high) |
| 2998 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::ValueType*>( |
| 2999 | &::dmi::_ValueType_default_instance_); |
| 3000 | } |
| 3001 | inline ::dmi::ValueType* WaterMarks::release_high() { |
| 3002 | // @@protoc_insertion_point(field_release:dmi.WaterMarks.high) |
| 3003 | |
| 3004 | ::dmi::ValueType* temp = high_; |
| 3005 | high_ = nullptr; |
| 3006 | return temp; |
| 3007 | } |
| 3008 | inline ::dmi::ValueType* WaterMarks::mutable_high() { |
| 3009 | |
| 3010 | if (high_ == nullptr) { |
| 3011 | auto* p = CreateMaybeMessage<::dmi::ValueType>(GetArenaNoVirtual()); |
| 3012 | high_ = p; |
| 3013 | } |
| 3014 | // @@protoc_insertion_point(field_mutable:dmi.WaterMarks.high) |
| 3015 | return high_; |
| 3016 | } |
| 3017 | inline void WaterMarks::set_allocated_high(::dmi::ValueType* high) { |
| 3018 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 3019 | if (message_arena == nullptr) { |
| 3020 | delete high_; |
| 3021 | } |
| 3022 | if (high) { |
| 3023 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 3024 | if (message_arena != submessage_arena) { |
| 3025 | high = ::google::protobuf::internal::GetOwnedMessage( |
| 3026 | message_arena, high, submessage_arena); |
| 3027 | } |
| 3028 | |
| 3029 | } else { |
| 3030 | |
| 3031 | } |
| 3032 | high_ = high; |
| 3033 | // @@protoc_insertion_point(field_set_allocated:dmi.WaterMarks.high) |
| 3034 | } |
| 3035 | |
| 3036 | // .dmi.ValueType low = 2; |
| 3037 | inline bool WaterMarks::has_low() const { |
| 3038 | return this != internal_default_instance() && low_ != nullptr; |
| 3039 | } |
| 3040 | inline void WaterMarks::clear_low() { |
| 3041 | if (GetArenaNoVirtual() == nullptr && low_ != nullptr) { |
| 3042 | delete low_; |
| 3043 | } |
| 3044 | low_ = nullptr; |
| 3045 | } |
| 3046 | inline const ::dmi::ValueType& WaterMarks::low() const { |
| 3047 | const ::dmi::ValueType* p = low_; |
| 3048 | // @@protoc_insertion_point(field_get:dmi.WaterMarks.low) |
| 3049 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::ValueType*>( |
| 3050 | &::dmi::_ValueType_default_instance_); |
| 3051 | } |
| 3052 | inline ::dmi::ValueType* WaterMarks::release_low() { |
| 3053 | // @@protoc_insertion_point(field_release:dmi.WaterMarks.low) |
| 3054 | |
| 3055 | ::dmi::ValueType* temp = low_; |
| 3056 | low_ = nullptr; |
| 3057 | return temp; |
| 3058 | } |
| 3059 | inline ::dmi::ValueType* WaterMarks::mutable_low() { |
| 3060 | |
| 3061 | if (low_ == nullptr) { |
| 3062 | auto* p = CreateMaybeMessage<::dmi::ValueType>(GetArenaNoVirtual()); |
| 3063 | low_ = p; |
| 3064 | } |
| 3065 | // @@protoc_insertion_point(field_mutable:dmi.WaterMarks.low) |
| 3066 | return low_; |
| 3067 | } |
| 3068 | inline void WaterMarks::set_allocated_low(::dmi::ValueType* low) { |
| 3069 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 3070 | if (message_arena == nullptr) { |
| 3071 | delete low_; |
| 3072 | } |
| 3073 | if (low) { |
| 3074 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 3075 | if (message_arena != submessage_arena) { |
| 3076 | low = ::google::protobuf::internal::GetOwnedMessage( |
| 3077 | message_arena, low, submessage_arena); |
| 3078 | } |
| 3079 | |
| 3080 | } else { |
| 3081 | |
| 3082 | } |
| 3083 | low_ = low; |
| 3084 | // @@protoc_insertion_point(field_set_allocated:dmi.WaterMarks.low) |
| 3085 | } |
| 3086 | |
| 3087 | // ------------------------------------------------------------------- |
| 3088 | |
| 3089 | // Thresholds |
| 3090 | |
| 3091 | // .dmi.WaterMarks upper = 1; |
| 3092 | inline bool Thresholds::has_upper() const { |
| 3093 | return threshold_case() == kUpper; |
| 3094 | } |
| 3095 | inline void Thresholds::set_has_upper() { |
| 3096 | _oneof_case_[0] = kUpper; |
| 3097 | } |
| 3098 | inline void Thresholds::clear_upper() { |
| 3099 | if (has_upper()) { |
| 3100 | delete threshold_.upper_; |
| 3101 | clear_has_threshold(); |
| 3102 | } |
| 3103 | } |
| 3104 | inline ::dmi::WaterMarks* Thresholds::release_upper() { |
| 3105 | // @@protoc_insertion_point(field_release:dmi.Thresholds.upper) |
| 3106 | if (has_upper()) { |
| 3107 | clear_has_threshold(); |
| 3108 | ::dmi::WaterMarks* temp = threshold_.upper_; |
| 3109 | threshold_.upper_ = nullptr; |
| 3110 | return temp; |
| 3111 | } else { |
| 3112 | return nullptr; |
| 3113 | } |
| 3114 | } |
| 3115 | inline const ::dmi::WaterMarks& Thresholds::upper() const { |
| 3116 | // @@protoc_insertion_point(field_get:dmi.Thresholds.upper) |
| 3117 | return has_upper() |
| 3118 | ? *threshold_.upper_ |
| 3119 | : *reinterpret_cast< ::dmi::WaterMarks*>(&::dmi::_WaterMarks_default_instance_); |
| 3120 | } |
| 3121 | inline ::dmi::WaterMarks* Thresholds::mutable_upper() { |
| 3122 | if (!has_upper()) { |
| 3123 | clear_threshold(); |
| 3124 | set_has_upper(); |
| 3125 | threshold_.upper_ = CreateMaybeMessage< ::dmi::WaterMarks >( |
| 3126 | GetArenaNoVirtual()); |
| 3127 | } |
| 3128 | // @@protoc_insertion_point(field_mutable:dmi.Thresholds.upper) |
| 3129 | return threshold_.upper_; |
| 3130 | } |
| 3131 | |
| 3132 | // .dmi.WaterMarks lower = 2; |
| 3133 | inline bool Thresholds::has_lower() const { |
| 3134 | return threshold_case() == kLower; |
| 3135 | } |
| 3136 | inline void Thresholds::set_has_lower() { |
| 3137 | _oneof_case_[0] = kLower; |
| 3138 | } |
| 3139 | inline void Thresholds::clear_lower() { |
| 3140 | if (has_lower()) { |
| 3141 | delete threshold_.lower_; |
| 3142 | clear_has_threshold(); |
| 3143 | } |
| 3144 | } |
| 3145 | inline ::dmi::WaterMarks* Thresholds::release_lower() { |
| 3146 | // @@protoc_insertion_point(field_release:dmi.Thresholds.lower) |
| 3147 | if (has_lower()) { |
| 3148 | clear_has_threshold(); |
| 3149 | ::dmi::WaterMarks* temp = threshold_.lower_; |
| 3150 | threshold_.lower_ = nullptr; |
| 3151 | return temp; |
| 3152 | } else { |
| 3153 | return nullptr; |
| 3154 | } |
| 3155 | } |
| 3156 | inline const ::dmi::WaterMarks& Thresholds::lower() const { |
| 3157 | // @@protoc_insertion_point(field_get:dmi.Thresholds.lower) |
| 3158 | return has_lower() |
| 3159 | ? *threshold_.lower_ |
| 3160 | : *reinterpret_cast< ::dmi::WaterMarks*>(&::dmi::_WaterMarks_default_instance_); |
| 3161 | } |
| 3162 | inline ::dmi::WaterMarks* Thresholds::mutable_lower() { |
| 3163 | if (!has_lower()) { |
| 3164 | clear_threshold(); |
| 3165 | set_has_lower(); |
| 3166 | threshold_.lower_ = CreateMaybeMessage< ::dmi::WaterMarks >( |
| 3167 | GetArenaNoVirtual()); |
| 3168 | } |
| 3169 | // @@protoc_insertion_point(field_mutable:dmi.Thresholds.lower) |
| 3170 | return threshold_.lower_; |
| 3171 | } |
| 3172 | |
| 3173 | inline bool Thresholds::has_threshold() const { |
| 3174 | return threshold_case() != THRESHOLD_NOT_SET; |
| 3175 | } |
| 3176 | inline void Thresholds::clear_has_threshold() { |
| 3177 | _oneof_case_[0] = THRESHOLD_NOT_SET; |
| 3178 | } |
| 3179 | inline Thresholds::ThresholdCase Thresholds::threshold_case() const { |
| 3180 | return Thresholds::ThresholdCase(_oneof_case_[0]); |
| 3181 | } |
| 3182 | // ------------------------------------------------------------------- |
| 3183 | |
| 3184 | // ThresholdInformation |
| 3185 | |
| 3186 | // .dmi.ValueType observed_value = 1; |
| 3187 | inline bool ThresholdInformation::has_observed_value() const { |
| 3188 | return this != internal_default_instance() && observed_value_ != nullptr; |
| 3189 | } |
| 3190 | inline void ThresholdInformation::clear_observed_value() { |
| 3191 | if (GetArenaNoVirtual() == nullptr && observed_value_ != nullptr) { |
| 3192 | delete observed_value_; |
| 3193 | } |
| 3194 | observed_value_ = nullptr; |
| 3195 | } |
| 3196 | inline const ::dmi::ValueType& ThresholdInformation::observed_value() const { |
| 3197 | const ::dmi::ValueType* p = observed_value_; |
| 3198 | // @@protoc_insertion_point(field_get:dmi.ThresholdInformation.observed_value) |
| 3199 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::ValueType*>( |
| 3200 | &::dmi::_ValueType_default_instance_); |
| 3201 | } |
| 3202 | inline ::dmi::ValueType* ThresholdInformation::release_observed_value() { |
| 3203 | // @@protoc_insertion_point(field_release:dmi.ThresholdInformation.observed_value) |
| 3204 | |
| 3205 | ::dmi::ValueType* temp = observed_value_; |
| 3206 | observed_value_ = nullptr; |
| 3207 | return temp; |
| 3208 | } |
| 3209 | inline ::dmi::ValueType* ThresholdInformation::mutable_observed_value() { |
| 3210 | |
| 3211 | if (observed_value_ == nullptr) { |
| 3212 | auto* p = CreateMaybeMessage<::dmi::ValueType>(GetArenaNoVirtual()); |
| 3213 | observed_value_ = p; |
| 3214 | } |
| 3215 | // @@protoc_insertion_point(field_mutable:dmi.ThresholdInformation.observed_value) |
| 3216 | return observed_value_; |
| 3217 | } |
| 3218 | inline void ThresholdInformation::set_allocated_observed_value(::dmi::ValueType* observed_value) { |
| 3219 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 3220 | if (message_arena == nullptr) { |
| 3221 | delete observed_value_; |
| 3222 | } |
| 3223 | if (observed_value) { |
| 3224 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 3225 | if (message_arena != submessage_arena) { |
| 3226 | observed_value = ::google::protobuf::internal::GetOwnedMessage( |
| 3227 | message_arena, observed_value, submessage_arena); |
| 3228 | } |
| 3229 | |
| 3230 | } else { |
| 3231 | |
| 3232 | } |
| 3233 | observed_value_ = observed_value; |
| 3234 | // @@protoc_insertion_point(field_set_allocated:dmi.ThresholdInformation.observed_value) |
| 3235 | } |
| 3236 | |
| 3237 | // .dmi.Thresholds thresholds = 2; |
| 3238 | inline bool ThresholdInformation::has_thresholds() const { |
| 3239 | return this != internal_default_instance() && thresholds_ != nullptr; |
| 3240 | } |
| 3241 | inline void ThresholdInformation::clear_thresholds() { |
| 3242 | if (GetArenaNoVirtual() == nullptr && thresholds_ != nullptr) { |
| 3243 | delete thresholds_; |
| 3244 | } |
| 3245 | thresholds_ = nullptr; |
| 3246 | } |
| 3247 | inline const ::dmi::Thresholds& ThresholdInformation::thresholds() const { |
| 3248 | const ::dmi::Thresholds* p = thresholds_; |
| 3249 | // @@protoc_insertion_point(field_get:dmi.ThresholdInformation.thresholds) |
| 3250 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Thresholds*>( |
| 3251 | &::dmi::_Thresholds_default_instance_); |
| 3252 | } |
| 3253 | inline ::dmi::Thresholds* ThresholdInformation::release_thresholds() { |
| 3254 | // @@protoc_insertion_point(field_release:dmi.ThresholdInformation.thresholds) |
| 3255 | |
| 3256 | ::dmi::Thresholds* temp = thresholds_; |
| 3257 | thresholds_ = nullptr; |
| 3258 | return temp; |
| 3259 | } |
| 3260 | inline ::dmi::Thresholds* ThresholdInformation::mutable_thresholds() { |
| 3261 | |
| 3262 | if (thresholds_ == nullptr) { |
| 3263 | auto* p = CreateMaybeMessage<::dmi::Thresholds>(GetArenaNoVirtual()); |
| 3264 | thresholds_ = p; |
| 3265 | } |
| 3266 | // @@protoc_insertion_point(field_mutable:dmi.ThresholdInformation.thresholds) |
| 3267 | return thresholds_; |
| 3268 | } |
| 3269 | inline void ThresholdInformation::set_allocated_thresholds(::dmi::Thresholds* thresholds) { |
| 3270 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 3271 | if (message_arena == nullptr) { |
| 3272 | delete thresholds_; |
| 3273 | } |
| 3274 | if (thresholds) { |
| 3275 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 3276 | if (message_arena != submessage_arena) { |
| 3277 | thresholds = ::google::protobuf::internal::GetOwnedMessage( |
| 3278 | message_arena, thresholds, submessage_arena); |
| 3279 | } |
| 3280 | |
| 3281 | } else { |
| 3282 | |
| 3283 | } |
| 3284 | thresholds_ = thresholds; |
| 3285 | // @@protoc_insertion_point(field_set_allocated:dmi.ThresholdInformation.thresholds) |
| 3286 | } |
| 3287 | |
| 3288 | // ------------------------------------------------------------------- |
| 3289 | |
| 3290 | // EventCfg |
| 3291 | |
| 3292 | // .dmi.EventIds event_id = 1; |
| 3293 | inline void EventCfg::clear_event_id() { |
| 3294 | event_id_ = 0; |
| 3295 | } |
| 3296 | inline ::dmi::EventIds EventCfg::event_id() const { |
| 3297 | // @@protoc_insertion_point(field_get:dmi.EventCfg.event_id) |
| 3298 | return static_cast< ::dmi::EventIds >(event_id_); |
| 3299 | } |
| 3300 | inline void EventCfg::set_event_id(::dmi::EventIds value) { |
| 3301 | |
| 3302 | event_id_ = value; |
| 3303 | // @@protoc_insertion_point(field_set:dmi.EventCfg.event_id) |
| 3304 | } |
| 3305 | |
| 3306 | // bool is_configured = 2; |
| 3307 | inline void EventCfg::clear_is_configured() { |
| 3308 | is_configured_ = false; |
| 3309 | } |
| 3310 | inline bool EventCfg::is_configured() const { |
| 3311 | // @@protoc_insertion_point(field_get:dmi.EventCfg.is_configured) |
| 3312 | return is_configured_; |
| 3313 | } |
| 3314 | inline void EventCfg::set_is_configured(bool value) { |
| 3315 | |
| 3316 | is_configured_ = value; |
| 3317 | // @@protoc_insertion_point(field_set:dmi.EventCfg.is_configured) |
| 3318 | } |
| 3319 | |
| 3320 | // .dmi.Thresholds thresholds = 3; |
| 3321 | inline bool EventCfg::has_thresholds() const { |
| 3322 | return this != internal_default_instance() && thresholds_ != nullptr; |
| 3323 | } |
| 3324 | inline void EventCfg::clear_thresholds() { |
| 3325 | if (GetArenaNoVirtual() == nullptr && thresholds_ != nullptr) { |
| 3326 | delete thresholds_; |
| 3327 | } |
| 3328 | thresholds_ = nullptr; |
| 3329 | } |
| 3330 | inline const ::dmi::Thresholds& EventCfg::thresholds() const { |
| 3331 | const ::dmi::Thresholds* p = thresholds_; |
| 3332 | // @@protoc_insertion_point(field_get:dmi.EventCfg.thresholds) |
| 3333 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Thresholds*>( |
| 3334 | &::dmi::_Thresholds_default_instance_); |
| 3335 | } |
| 3336 | inline ::dmi::Thresholds* EventCfg::release_thresholds() { |
| 3337 | // @@protoc_insertion_point(field_release:dmi.EventCfg.thresholds) |
| 3338 | |
| 3339 | ::dmi::Thresholds* temp = thresholds_; |
| 3340 | thresholds_ = nullptr; |
| 3341 | return temp; |
| 3342 | } |
| 3343 | inline ::dmi::Thresholds* EventCfg::mutable_thresholds() { |
| 3344 | |
| 3345 | if (thresholds_ == nullptr) { |
| 3346 | auto* p = CreateMaybeMessage<::dmi::Thresholds>(GetArenaNoVirtual()); |
| 3347 | thresholds_ = p; |
| 3348 | } |
| 3349 | // @@protoc_insertion_point(field_mutable:dmi.EventCfg.thresholds) |
| 3350 | return thresholds_; |
| 3351 | } |
| 3352 | inline void EventCfg::set_allocated_thresholds(::dmi::Thresholds* thresholds) { |
| 3353 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 3354 | if (message_arena == nullptr) { |
| 3355 | delete thresholds_; |
| 3356 | } |
| 3357 | if (thresholds) { |
| 3358 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 3359 | if (message_arena != submessage_arena) { |
| 3360 | thresholds = ::google::protobuf::internal::GetOwnedMessage( |
| 3361 | message_arena, thresholds, submessage_arena); |
| 3362 | } |
| 3363 | |
| 3364 | } else { |
| 3365 | |
| 3366 | } |
| 3367 | thresholds_ = thresholds; |
| 3368 | // @@protoc_insertion_point(field_set_allocated:dmi.EventCfg.thresholds) |
| 3369 | } |
| 3370 | |
| amit.ghosh | 7a093bd | 2023-03-07 16:31:56 +0100 | [diff] [blame] | 3371 | // .dmi.Uuid component_uuid = 4; |
| 3372 | inline bool EventCfg::has_component_uuid() const { |
| 3373 | return this != internal_default_instance() && component_uuid_ != nullptr; |
| 3374 | } |
| 3375 | inline const ::dmi::Uuid& EventCfg::component_uuid() const { |
| 3376 | const ::dmi::Uuid* p = component_uuid_; |
| 3377 | // @@protoc_insertion_point(field_get:dmi.EventCfg.component_uuid) |
| 3378 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 3379 | &::dmi::_Uuid_default_instance_); |
| 3380 | } |
| 3381 | inline ::dmi::Uuid* EventCfg::release_component_uuid() { |
| 3382 | // @@protoc_insertion_point(field_release:dmi.EventCfg.component_uuid) |
| 3383 | |
| 3384 | ::dmi::Uuid* temp = component_uuid_; |
| 3385 | component_uuid_ = nullptr; |
| 3386 | return temp; |
| 3387 | } |
| 3388 | inline ::dmi::Uuid* EventCfg::mutable_component_uuid() { |
| 3389 | |
| 3390 | if (component_uuid_ == nullptr) { |
| 3391 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 3392 | component_uuid_ = p; |
| 3393 | } |
| 3394 | // @@protoc_insertion_point(field_mutable:dmi.EventCfg.component_uuid) |
| 3395 | return component_uuid_; |
| 3396 | } |
| 3397 | inline void EventCfg::set_allocated_component_uuid(::dmi::Uuid* component_uuid) { |
| 3398 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 3399 | if (message_arena == nullptr) { |
| 3400 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(component_uuid_); |
| 3401 | } |
| 3402 | if (component_uuid) { |
| 3403 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 3404 | if (message_arena != submessage_arena) { |
| 3405 | component_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 3406 | message_arena, component_uuid, submessage_arena); |
| 3407 | } |
| 3408 | |
| 3409 | } else { |
| 3410 | |
| 3411 | } |
| 3412 | component_uuid_ = component_uuid; |
| 3413 | // @@protoc_insertion_point(field_set_allocated:dmi.EventCfg.component_uuid) |
| 3414 | } |
| 3415 | |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 3416 | // ------------------------------------------------------------------- |
| 3417 | |
| 3418 | // EventsCfg |
| 3419 | |
| 3420 | // repeated .dmi.EventCfg items = 1; |
| 3421 | inline int EventsCfg::items_size() const { |
| 3422 | return items_.size(); |
| 3423 | } |
| 3424 | inline void EventsCfg::clear_items() { |
| 3425 | items_.Clear(); |
| 3426 | } |
| 3427 | inline ::dmi::EventCfg* EventsCfg::mutable_items(int index) { |
| 3428 | // @@protoc_insertion_point(field_mutable:dmi.EventsCfg.items) |
| 3429 | return items_.Mutable(index); |
| 3430 | } |
| 3431 | inline ::google::protobuf::RepeatedPtrField< ::dmi::EventCfg >* |
| 3432 | EventsCfg::mutable_items() { |
| 3433 | // @@protoc_insertion_point(field_mutable_list:dmi.EventsCfg.items) |
| 3434 | return &items_; |
| 3435 | } |
| 3436 | inline const ::dmi::EventCfg& EventsCfg::items(int index) const { |
| 3437 | // @@protoc_insertion_point(field_get:dmi.EventsCfg.items) |
| 3438 | return items_.Get(index); |
| 3439 | } |
| 3440 | inline ::dmi::EventCfg* EventsCfg::add_items() { |
| 3441 | // @@protoc_insertion_point(field_add:dmi.EventsCfg.items) |
| 3442 | return items_.Add(); |
| 3443 | } |
| 3444 | inline const ::google::protobuf::RepeatedPtrField< ::dmi::EventCfg >& |
| 3445 | EventsCfg::items() const { |
| 3446 | // @@protoc_insertion_point(field_list:dmi.EventsCfg.items) |
| 3447 | return items_; |
| 3448 | } |
| 3449 | |
| 3450 | // ------------------------------------------------------------------- |
| 3451 | |
| 3452 | // ListEventsResponse |
| 3453 | |
| 3454 | // .dmi.Status status = 1; |
| 3455 | inline void ListEventsResponse::clear_status() { |
| 3456 | status_ = 0; |
| 3457 | } |
| 3458 | inline ::dmi::Status ListEventsResponse::status() const { |
| 3459 | // @@protoc_insertion_point(field_get:dmi.ListEventsResponse.status) |
| 3460 | return static_cast< ::dmi::Status >(status_); |
| 3461 | } |
| 3462 | inline void ListEventsResponse::set_status(::dmi::Status value) { |
| 3463 | |
| 3464 | status_ = value; |
| 3465 | // @@protoc_insertion_point(field_set:dmi.ListEventsResponse.status) |
| 3466 | } |
| 3467 | |
| 3468 | // .dmi.ListEventsResponse.Reason reason = 2; |
| 3469 | inline void ListEventsResponse::clear_reason() { |
| 3470 | reason_ = 0; |
| 3471 | } |
| 3472 | inline ::dmi::ListEventsResponse_Reason ListEventsResponse::reason() const { |
| 3473 | // @@protoc_insertion_point(field_get:dmi.ListEventsResponse.reason) |
| 3474 | return static_cast< ::dmi::ListEventsResponse_Reason >(reason_); |
| 3475 | } |
| 3476 | inline void ListEventsResponse::set_reason(::dmi::ListEventsResponse_Reason value) { |
| 3477 | |
| 3478 | reason_ = value; |
| 3479 | // @@protoc_insertion_point(field_set:dmi.ListEventsResponse.reason) |
| 3480 | } |
| 3481 | |
| 3482 | // .dmi.EventsCfg events = 3; |
| 3483 | inline bool ListEventsResponse::has_events() const { |
| 3484 | return this != internal_default_instance() && events_ != nullptr; |
| 3485 | } |
| 3486 | inline void ListEventsResponse::clear_events() { |
| 3487 | if (GetArenaNoVirtual() == nullptr && events_ != nullptr) { |
| 3488 | delete events_; |
| 3489 | } |
| 3490 | events_ = nullptr; |
| 3491 | } |
| 3492 | inline const ::dmi::EventsCfg& ListEventsResponse::events() const { |
| 3493 | const ::dmi::EventsCfg* p = events_; |
| 3494 | // @@protoc_insertion_point(field_get:dmi.ListEventsResponse.events) |
| 3495 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::EventsCfg*>( |
| 3496 | &::dmi::_EventsCfg_default_instance_); |
| 3497 | } |
| 3498 | inline ::dmi::EventsCfg* ListEventsResponse::release_events() { |
| 3499 | // @@protoc_insertion_point(field_release:dmi.ListEventsResponse.events) |
| 3500 | |
| 3501 | ::dmi::EventsCfg* temp = events_; |
| 3502 | events_ = nullptr; |
| 3503 | return temp; |
| 3504 | } |
| 3505 | inline ::dmi::EventsCfg* ListEventsResponse::mutable_events() { |
| 3506 | |
| 3507 | if (events_ == nullptr) { |
| 3508 | auto* p = CreateMaybeMessage<::dmi::EventsCfg>(GetArenaNoVirtual()); |
| 3509 | events_ = p; |
| 3510 | } |
| 3511 | // @@protoc_insertion_point(field_mutable:dmi.ListEventsResponse.events) |
| 3512 | return events_; |
| 3513 | } |
| 3514 | inline void ListEventsResponse::set_allocated_events(::dmi::EventsCfg* events) { |
| 3515 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 3516 | if (message_arena == nullptr) { |
| 3517 | delete events_; |
| 3518 | } |
| 3519 | if (events) { |
| 3520 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 3521 | if (message_arena != submessage_arena) { |
| 3522 | events = ::google::protobuf::internal::GetOwnedMessage( |
| 3523 | message_arena, events, submessage_arena); |
| 3524 | } |
| 3525 | |
| 3526 | } else { |
| 3527 | |
| 3528 | } |
| 3529 | events_ = events; |
| 3530 | // @@protoc_insertion_point(field_set_allocated:dmi.ListEventsResponse.events) |
| 3531 | } |
| 3532 | |
| 3533 | // string reason_detail = 4; |
| 3534 | inline void ListEventsResponse::clear_reason_detail() { |
| 3535 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 3536 | } |
| 3537 | inline const ::std::string& ListEventsResponse::reason_detail() const { |
| 3538 | // @@protoc_insertion_point(field_get:dmi.ListEventsResponse.reason_detail) |
| 3539 | return reason_detail_.GetNoArena(); |
| 3540 | } |
| 3541 | inline void ListEventsResponse::set_reason_detail(const ::std::string& value) { |
| 3542 | |
| 3543 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 3544 | // @@protoc_insertion_point(field_set:dmi.ListEventsResponse.reason_detail) |
| 3545 | } |
| 3546 | #if LANG_CXX11 |
| 3547 | inline void ListEventsResponse::set_reason_detail(::std::string&& value) { |
| 3548 | |
| 3549 | reason_detail_.SetNoArena( |
| 3550 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 3551 | // @@protoc_insertion_point(field_set_rvalue:dmi.ListEventsResponse.reason_detail) |
| 3552 | } |
| 3553 | #endif |
| 3554 | inline void ListEventsResponse::set_reason_detail(const char* value) { |
| 3555 | GOOGLE_DCHECK(value != nullptr); |
| 3556 | |
| 3557 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 3558 | // @@protoc_insertion_point(field_set_char:dmi.ListEventsResponse.reason_detail) |
| 3559 | } |
| 3560 | inline void ListEventsResponse::set_reason_detail(const char* value, size_t size) { |
| 3561 | |
| 3562 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 3563 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 3564 | // @@protoc_insertion_point(field_set_pointer:dmi.ListEventsResponse.reason_detail) |
| 3565 | } |
| 3566 | inline ::std::string* ListEventsResponse::mutable_reason_detail() { |
| 3567 | |
| 3568 | // @@protoc_insertion_point(field_mutable:dmi.ListEventsResponse.reason_detail) |
| 3569 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 3570 | } |
| 3571 | inline ::std::string* ListEventsResponse::release_reason_detail() { |
| 3572 | // @@protoc_insertion_point(field_release:dmi.ListEventsResponse.reason_detail) |
| 3573 | |
| 3574 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 3575 | } |
| 3576 | inline void ListEventsResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 3577 | if (reason_detail != nullptr) { |
| 3578 | |
| 3579 | } else { |
| 3580 | |
| 3581 | } |
| 3582 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 3583 | // @@protoc_insertion_point(field_set_allocated:dmi.ListEventsResponse.reason_detail) |
| 3584 | } |
| 3585 | |
| 3586 | // ------------------------------------------------------------------- |
| 3587 | |
| 3588 | // EventsConfigurationRequest |
| 3589 | |
| 3590 | // .dmi.Uuid device_uuid = 1; |
| 3591 | inline bool EventsConfigurationRequest::has_device_uuid() const { |
| 3592 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 3593 | } |
| 3594 | inline const ::dmi::Uuid& EventsConfigurationRequest::device_uuid() const { |
| 3595 | const ::dmi::Uuid* p = device_uuid_; |
| 3596 | // @@protoc_insertion_point(field_get:dmi.EventsConfigurationRequest.device_uuid) |
| 3597 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 3598 | &::dmi::_Uuid_default_instance_); |
| 3599 | } |
| 3600 | inline ::dmi::Uuid* EventsConfigurationRequest::release_device_uuid() { |
| 3601 | // @@protoc_insertion_point(field_release:dmi.EventsConfigurationRequest.device_uuid) |
| 3602 | |
| 3603 | ::dmi::Uuid* temp = device_uuid_; |
| 3604 | device_uuid_ = nullptr; |
| 3605 | return temp; |
| 3606 | } |
| 3607 | inline ::dmi::Uuid* EventsConfigurationRequest::mutable_device_uuid() { |
| 3608 | |
| 3609 | if (device_uuid_ == nullptr) { |
| 3610 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 3611 | device_uuid_ = p; |
| 3612 | } |
| 3613 | // @@protoc_insertion_point(field_mutable:dmi.EventsConfigurationRequest.device_uuid) |
| 3614 | return device_uuid_; |
| 3615 | } |
| 3616 | inline void EventsConfigurationRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 3617 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 3618 | if (message_arena == nullptr) { |
| 3619 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 3620 | } |
| 3621 | if (device_uuid) { |
| 3622 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 3623 | if (message_arena != submessage_arena) { |
| 3624 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 3625 | message_arena, device_uuid, submessage_arena); |
| 3626 | } |
| 3627 | |
| 3628 | } else { |
| 3629 | |
| 3630 | } |
| 3631 | device_uuid_ = device_uuid; |
| 3632 | // @@protoc_insertion_point(field_set_allocated:dmi.EventsConfigurationRequest.device_uuid) |
| 3633 | } |
| 3634 | |
| 3635 | // .dmi.EventsCfg changes = 2; |
| 3636 | inline bool EventsConfigurationRequest::has_changes() const { |
| 3637 | return operation_case() == kChanges; |
| 3638 | } |
| 3639 | inline void EventsConfigurationRequest::set_has_changes() { |
| 3640 | _oneof_case_[0] = kChanges; |
| 3641 | } |
| 3642 | inline void EventsConfigurationRequest::clear_changes() { |
| 3643 | if (has_changes()) { |
| 3644 | delete operation_.changes_; |
| 3645 | clear_has_operation(); |
| 3646 | } |
| 3647 | } |
| 3648 | inline ::dmi::EventsCfg* EventsConfigurationRequest::release_changes() { |
| 3649 | // @@protoc_insertion_point(field_release:dmi.EventsConfigurationRequest.changes) |
| 3650 | if (has_changes()) { |
| 3651 | clear_has_operation(); |
| 3652 | ::dmi::EventsCfg* temp = operation_.changes_; |
| 3653 | operation_.changes_ = nullptr; |
| 3654 | return temp; |
| 3655 | } else { |
| 3656 | return nullptr; |
| 3657 | } |
| 3658 | } |
| 3659 | inline const ::dmi::EventsCfg& EventsConfigurationRequest::changes() const { |
| 3660 | // @@protoc_insertion_point(field_get:dmi.EventsConfigurationRequest.changes) |
| 3661 | return has_changes() |
| 3662 | ? *operation_.changes_ |
| 3663 | : *reinterpret_cast< ::dmi::EventsCfg*>(&::dmi::_EventsCfg_default_instance_); |
| 3664 | } |
| 3665 | inline ::dmi::EventsCfg* EventsConfigurationRequest::mutable_changes() { |
| 3666 | if (!has_changes()) { |
| 3667 | clear_operation(); |
| 3668 | set_has_changes(); |
| 3669 | operation_.changes_ = CreateMaybeMessage< ::dmi::EventsCfg >( |
| 3670 | GetArenaNoVirtual()); |
| 3671 | } |
| 3672 | // @@protoc_insertion_point(field_mutable:dmi.EventsConfigurationRequest.changes) |
| 3673 | return operation_.changes_; |
| 3674 | } |
| 3675 | |
| 3676 | // bool reset_to_default = 3; |
| 3677 | inline bool EventsConfigurationRequest::has_reset_to_default() const { |
| 3678 | return operation_case() == kResetToDefault; |
| 3679 | } |
| 3680 | inline void EventsConfigurationRequest::set_has_reset_to_default() { |
| 3681 | _oneof_case_[0] = kResetToDefault; |
| 3682 | } |
| 3683 | inline void EventsConfigurationRequest::clear_reset_to_default() { |
| 3684 | if (has_reset_to_default()) { |
| 3685 | operation_.reset_to_default_ = false; |
| 3686 | clear_has_operation(); |
| 3687 | } |
| 3688 | } |
| 3689 | inline bool EventsConfigurationRequest::reset_to_default() const { |
| 3690 | // @@protoc_insertion_point(field_get:dmi.EventsConfigurationRequest.reset_to_default) |
| 3691 | if (has_reset_to_default()) { |
| 3692 | return operation_.reset_to_default_; |
| 3693 | } |
| 3694 | return false; |
| 3695 | } |
| 3696 | inline void EventsConfigurationRequest::set_reset_to_default(bool value) { |
| 3697 | if (!has_reset_to_default()) { |
| 3698 | clear_operation(); |
| 3699 | set_has_reset_to_default(); |
| 3700 | } |
| 3701 | operation_.reset_to_default_ = value; |
| 3702 | // @@protoc_insertion_point(field_set:dmi.EventsConfigurationRequest.reset_to_default) |
| 3703 | } |
| 3704 | |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 3705 | inline bool EventsConfigurationRequest::has_operation() const { |
| 3706 | return operation_case() != OPERATION_NOT_SET; |
| 3707 | } |
| 3708 | inline void EventsConfigurationRequest::clear_has_operation() { |
| 3709 | _oneof_case_[0] = OPERATION_NOT_SET; |
| 3710 | } |
| 3711 | inline EventsConfigurationRequest::OperationCase EventsConfigurationRequest::operation_case() const { |
| 3712 | return EventsConfigurationRequest::OperationCase(_oneof_case_[0]); |
| 3713 | } |
| 3714 | // ------------------------------------------------------------------- |
| 3715 | |
| 3716 | // EventsConfigurationResponse |
| 3717 | |
| 3718 | // .dmi.Status status = 1; |
| 3719 | inline void EventsConfigurationResponse::clear_status() { |
| 3720 | status_ = 0; |
| 3721 | } |
| 3722 | inline ::dmi::Status EventsConfigurationResponse::status() const { |
| 3723 | // @@protoc_insertion_point(field_get:dmi.EventsConfigurationResponse.status) |
| 3724 | return static_cast< ::dmi::Status >(status_); |
| 3725 | } |
| 3726 | inline void EventsConfigurationResponse::set_status(::dmi::Status value) { |
| 3727 | |
| 3728 | status_ = value; |
| 3729 | // @@protoc_insertion_point(field_set:dmi.EventsConfigurationResponse.status) |
| 3730 | } |
| 3731 | |
| 3732 | // .dmi.EventsConfigurationResponse.Reason reason = 2; |
| 3733 | inline void EventsConfigurationResponse::clear_reason() { |
| 3734 | reason_ = 0; |
| 3735 | } |
| 3736 | inline ::dmi::EventsConfigurationResponse_Reason EventsConfigurationResponse::reason() const { |
| 3737 | // @@protoc_insertion_point(field_get:dmi.EventsConfigurationResponse.reason) |
| 3738 | return static_cast< ::dmi::EventsConfigurationResponse_Reason >(reason_); |
| 3739 | } |
| 3740 | inline void EventsConfigurationResponse::set_reason(::dmi::EventsConfigurationResponse_Reason value) { |
| 3741 | |
| 3742 | reason_ = value; |
| 3743 | // @@protoc_insertion_point(field_set:dmi.EventsConfigurationResponse.reason) |
| 3744 | } |
| 3745 | |
| 3746 | // string reason_detail = 3; |
| 3747 | inline void EventsConfigurationResponse::clear_reason_detail() { |
| 3748 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 3749 | } |
| 3750 | inline const ::std::string& EventsConfigurationResponse::reason_detail() const { |
| 3751 | // @@protoc_insertion_point(field_get:dmi.EventsConfigurationResponse.reason_detail) |
| 3752 | return reason_detail_.GetNoArena(); |
| 3753 | } |
| 3754 | inline void EventsConfigurationResponse::set_reason_detail(const ::std::string& value) { |
| 3755 | |
| 3756 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 3757 | // @@protoc_insertion_point(field_set:dmi.EventsConfigurationResponse.reason_detail) |
| 3758 | } |
| 3759 | #if LANG_CXX11 |
| 3760 | inline void EventsConfigurationResponse::set_reason_detail(::std::string&& value) { |
| 3761 | |
| 3762 | reason_detail_.SetNoArena( |
| 3763 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 3764 | // @@protoc_insertion_point(field_set_rvalue:dmi.EventsConfigurationResponse.reason_detail) |
| 3765 | } |
| 3766 | #endif |
| 3767 | inline void EventsConfigurationResponse::set_reason_detail(const char* value) { |
| 3768 | GOOGLE_DCHECK(value != nullptr); |
| 3769 | |
| 3770 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 3771 | // @@protoc_insertion_point(field_set_char:dmi.EventsConfigurationResponse.reason_detail) |
| 3772 | } |
| 3773 | inline void EventsConfigurationResponse::set_reason_detail(const char* value, size_t size) { |
| 3774 | |
| 3775 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 3776 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 3777 | // @@protoc_insertion_point(field_set_pointer:dmi.EventsConfigurationResponse.reason_detail) |
| 3778 | } |
| 3779 | inline ::std::string* EventsConfigurationResponse::mutable_reason_detail() { |
| 3780 | |
| 3781 | // @@protoc_insertion_point(field_mutable:dmi.EventsConfigurationResponse.reason_detail) |
| 3782 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 3783 | } |
| 3784 | inline ::std::string* EventsConfigurationResponse::release_reason_detail() { |
| 3785 | // @@protoc_insertion_point(field_release:dmi.EventsConfigurationResponse.reason_detail) |
| 3786 | |
| 3787 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 3788 | } |
| 3789 | inline void EventsConfigurationResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 3790 | if (reason_detail != nullptr) { |
| 3791 | |
| 3792 | } else { |
| 3793 | |
| 3794 | } |
| 3795 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 3796 | // @@protoc_insertion_point(field_set_allocated:dmi.EventsConfigurationResponse.reason_detail) |
| 3797 | } |
| 3798 | |
| 3799 | // ------------------------------------------------------------------- |
| 3800 | |
| 3801 | // EventMetaData |
| 3802 | |
| 3803 | // .dmi.Uuid device_uuid = 1; |
| 3804 | inline bool EventMetaData::has_device_uuid() const { |
| 3805 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 3806 | } |
| 3807 | inline const ::dmi::Uuid& EventMetaData::device_uuid() const { |
| 3808 | const ::dmi::Uuid* p = device_uuid_; |
| 3809 | // @@protoc_insertion_point(field_get:dmi.EventMetaData.device_uuid) |
| 3810 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 3811 | &::dmi::_Uuid_default_instance_); |
| 3812 | } |
| 3813 | inline ::dmi::Uuid* EventMetaData::release_device_uuid() { |
| 3814 | // @@protoc_insertion_point(field_release:dmi.EventMetaData.device_uuid) |
| 3815 | |
| 3816 | ::dmi::Uuid* temp = device_uuid_; |
| 3817 | device_uuid_ = nullptr; |
| 3818 | return temp; |
| 3819 | } |
| 3820 | inline ::dmi::Uuid* EventMetaData::mutable_device_uuid() { |
| 3821 | |
| 3822 | if (device_uuid_ == nullptr) { |
| 3823 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 3824 | device_uuid_ = p; |
| 3825 | } |
| 3826 | // @@protoc_insertion_point(field_mutable:dmi.EventMetaData.device_uuid) |
| 3827 | return device_uuid_; |
| 3828 | } |
| 3829 | inline void EventMetaData::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 3830 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 3831 | if (message_arena == nullptr) { |
| 3832 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 3833 | } |
| 3834 | if (device_uuid) { |
| 3835 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 3836 | if (message_arena != submessage_arena) { |
| 3837 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 3838 | message_arena, device_uuid, submessage_arena); |
| 3839 | } |
| 3840 | |
| 3841 | } else { |
| 3842 | |
| 3843 | } |
| 3844 | device_uuid_ = device_uuid; |
| 3845 | // @@protoc_insertion_point(field_set_allocated:dmi.EventMetaData.device_uuid) |
| 3846 | } |
| 3847 | |
| 3848 | // .dmi.Uuid component_uuid = 2; |
| 3849 | inline bool EventMetaData::has_component_uuid() const { |
| 3850 | return this != internal_default_instance() && component_uuid_ != nullptr; |
| 3851 | } |
| 3852 | inline const ::dmi::Uuid& EventMetaData::component_uuid() const { |
| 3853 | const ::dmi::Uuid* p = component_uuid_; |
| 3854 | // @@protoc_insertion_point(field_get:dmi.EventMetaData.component_uuid) |
| 3855 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 3856 | &::dmi::_Uuid_default_instance_); |
| 3857 | } |
| 3858 | inline ::dmi::Uuid* EventMetaData::release_component_uuid() { |
| 3859 | // @@protoc_insertion_point(field_release:dmi.EventMetaData.component_uuid) |
| 3860 | |
| 3861 | ::dmi::Uuid* temp = component_uuid_; |
| 3862 | component_uuid_ = nullptr; |
| 3863 | return temp; |
| 3864 | } |
| 3865 | inline ::dmi::Uuid* EventMetaData::mutable_component_uuid() { |
| 3866 | |
| 3867 | if (component_uuid_ == nullptr) { |
| 3868 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 3869 | component_uuid_ = p; |
| 3870 | } |
| 3871 | // @@protoc_insertion_point(field_mutable:dmi.EventMetaData.component_uuid) |
| 3872 | return component_uuid_; |
| 3873 | } |
| 3874 | inline void EventMetaData::set_allocated_component_uuid(::dmi::Uuid* component_uuid) { |
| 3875 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 3876 | if (message_arena == nullptr) { |
| 3877 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(component_uuid_); |
| 3878 | } |
| 3879 | if (component_uuid) { |
| 3880 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 3881 | if (message_arena != submessage_arena) { |
| 3882 | component_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 3883 | message_arena, component_uuid, submessage_arena); |
| 3884 | } |
| 3885 | |
| 3886 | } else { |
| 3887 | |
| 3888 | } |
| 3889 | component_uuid_ = component_uuid; |
| 3890 | // @@protoc_insertion_point(field_set_allocated:dmi.EventMetaData.component_uuid) |
| 3891 | } |
| 3892 | |
| 3893 | // string component_name = 3; |
| 3894 | inline void EventMetaData::clear_component_name() { |
| 3895 | component_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 3896 | } |
| 3897 | inline const ::std::string& EventMetaData::component_name() const { |
| 3898 | // @@protoc_insertion_point(field_get:dmi.EventMetaData.component_name) |
| 3899 | return component_name_.GetNoArena(); |
| 3900 | } |
| 3901 | inline void EventMetaData::set_component_name(const ::std::string& value) { |
| 3902 | |
| 3903 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 3904 | // @@protoc_insertion_point(field_set:dmi.EventMetaData.component_name) |
| 3905 | } |
| 3906 | #if LANG_CXX11 |
| 3907 | inline void EventMetaData::set_component_name(::std::string&& value) { |
| 3908 | |
| 3909 | component_name_.SetNoArena( |
| 3910 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 3911 | // @@protoc_insertion_point(field_set_rvalue:dmi.EventMetaData.component_name) |
| 3912 | } |
| 3913 | #endif |
| 3914 | inline void EventMetaData::set_component_name(const char* value) { |
| 3915 | GOOGLE_DCHECK(value != nullptr); |
| 3916 | |
| 3917 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 3918 | // @@protoc_insertion_point(field_set_char:dmi.EventMetaData.component_name) |
| 3919 | } |
| 3920 | inline void EventMetaData::set_component_name(const char* value, size_t size) { |
| 3921 | |
| 3922 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 3923 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 3924 | // @@protoc_insertion_point(field_set_pointer:dmi.EventMetaData.component_name) |
| 3925 | } |
| 3926 | inline ::std::string* EventMetaData::mutable_component_name() { |
| 3927 | |
| 3928 | // @@protoc_insertion_point(field_mutable:dmi.EventMetaData.component_name) |
| 3929 | return component_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 3930 | } |
| 3931 | inline ::std::string* EventMetaData::release_component_name() { |
| 3932 | // @@protoc_insertion_point(field_release:dmi.EventMetaData.component_name) |
| 3933 | |
| 3934 | return component_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 3935 | } |
| 3936 | inline void EventMetaData::set_allocated_component_name(::std::string* component_name) { |
| 3937 | if (component_name != nullptr) { |
| 3938 | |
| 3939 | } else { |
| 3940 | |
| 3941 | } |
| 3942 | component_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), component_name); |
| 3943 | // @@protoc_insertion_point(field_set_allocated:dmi.EventMetaData.component_name) |
| 3944 | } |
| 3945 | |
| 3946 | // ------------------------------------------------------------------- |
| 3947 | |
| Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame] | 3948 | // AdminStateChange |
| 3949 | |
| 3950 | // .dmi.ComponentAdminState old = 1; |
| 3951 | inline void AdminStateChange::clear_old() { |
| 3952 | old_ = 0; |
| 3953 | } |
| 3954 | inline ::dmi::ComponentAdminState AdminStateChange::old() const { |
| 3955 | // @@protoc_insertion_point(field_get:dmi.AdminStateChange.old) |
| 3956 | return static_cast< ::dmi::ComponentAdminState >(old_); |
| 3957 | } |
| 3958 | inline void AdminStateChange::set_old(::dmi::ComponentAdminState value) { |
| 3959 | |
| 3960 | old_ = value; |
| 3961 | // @@protoc_insertion_point(field_set:dmi.AdminStateChange.old) |
| 3962 | } |
| 3963 | |
| 3964 | // .dmi.ComponentAdminState new = 2; |
| 3965 | inline void AdminStateChange::clear_new_() { |
| 3966 | new__ = 0; |
| 3967 | } |
| 3968 | inline ::dmi::ComponentAdminState AdminStateChange::new_() const { |
| 3969 | // @@protoc_insertion_point(field_get:dmi.AdminStateChange.new) |
| 3970 | return static_cast< ::dmi::ComponentAdminState >(new__); |
| 3971 | } |
| 3972 | inline void AdminStateChange::set_new_(::dmi::ComponentAdminState value) { |
| 3973 | |
| 3974 | new__ = value; |
| 3975 | // @@protoc_insertion_point(field_set:dmi.AdminStateChange.new) |
| 3976 | } |
| 3977 | |
| 3978 | // ------------------------------------------------------------------- |
| 3979 | |
| 3980 | // OperStateChange |
| 3981 | |
| 3982 | // .dmi.ComponentOperState old = 1; |
| 3983 | inline void OperStateChange::clear_old() { |
| 3984 | old_ = 0; |
| 3985 | } |
| 3986 | inline ::dmi::ComponentOperState OperStateChange::old() const { |
| 3987 | // @@protoc_insertion_point(field_get:dmi.OperStateChange.old) |
| 3988 | return static_cast< ::dmi::ComponentOperState >(old_); |
| 3989 | } |
| 3990 | inline void OperStateChange::set_old(::dmi::ComponentOperState value) { |
| 3991 | |
| 3992 | old_ = value; |
| 3993 | // @@protoc_insertion_point(field_set:dmi.OperStateChange.old) |
| 3994 | } |
| 3995 | |
| 3996 | // .dmi.ComponentOperState new = 2; |
| 3997 | inline void OperStateChange::clear_new_() { |
| 3998 | new__ = 0; |
| 3999 | } |
| 4000 | inline ::dmi::ComponentOperState OperStateChange::new_() const { |
| 4001 | // @@protoc_insertion_point(field_get:dmi.OperStateChange.new) |
| 4002 | return static_cast< ::dmi::ComponentOperState >(new__); |
| 4003 | } |
| 4004 | inline void OperStateChange::set_new_(::dmi::ComponentOperState value) { |
| 4005 | |
| 4006 | new__ = value; |
| 4007 | // @@protoc_insertion_point(field_set:dmi.OperStateChange.new) |
| 4008 | } |
| 4009 | |
| 4010 | // ------------------------------------------------------------------- |
| 4011 | |
| 4012 | // AlarmStateChange |
| 4013 | |
| 4014 | // .dmi.ComponentAlarmState old = 1; |
| 4015 | inline void AlarmStateChange::clear_old() { |
| 4016 | old_ = 0; |
| 4017 | } |
| 4018 | inline ::dmi::ComponentAlarmState AlarmStateChange::old() const { |
| 4019 | // @@protoc_insertion_point(field_get:dmi.AlarmStateChange.old) |
| 4020 | return static_cast< ::dmi::ComponentAlarmState >(old_); |
| 4021 | } |
| 4022 | inline void AlarmStateChange::set_old(::dmi::ComponentAlarmState value) { |
| 4023 | |
| 4024 | old_ = value; |
| 4025 | // @@protoc_insertion_point(field_set:dmi.AlarmStateChange.old) |
| 4026 | } |
| 4027 | |
| 4028 | // .dmi.ComponentAlarmState new = 2; |
| 4029 | inline void AlarmStateChange::clear_new_() { |
| 4030 | new__ = 0; |
| 4031 | } |
| 4032 | inline ::dmi::ComponentAlarmState AlarmStateChange::new_() const { |
| 4033 | // @@protoc_insertion_point(field_get:dmi.AlarmStateChange.new) |
| 4034 | return static_cast< ::dmi::ComponentAlarmState >(new__); |
| 4035 | } |
| 4036 | inline void AlarmStateChange::set_new_(::dmi::ComponentAlarmState value) { |
| 4037 | |
| 4038 | new__ = value; |
| 4039 | // @@protoc_insertion_point(field_set:dmi.AlarmStateChange.new) |
| 4040 | } |
| 4041 | |
| 4042 | // ------------------------------------------------------------------- |
| 4043 | |
| 4044 | // UsageStateChange |
| 4045 | |
| 4046 | // .dmi.ComponentUsageState old = 1; |
| 4047 | inline void UsageStateChange::clear_old() { |
| 4048 | old_ = 0; |
| 4049 | } |
| 4050 | inline ::dmi::ComponentUsageState UsageStateChange::old() const { |
| 4051 | // @@protoc_insertion_point(field_get:dmi.UsageStateChange.old) |
| 4052 | return static_cast< ::dmi::ComponentUsageState >(old_); |
| 4053 | } |
| 4054 | inline void UsageStateChange::set_old(::dmi::ComponentUsageState value) { |
| 4055 | |
| 4056 | old_ = value; |
| 4057 | // @@protoc_insertion_point(field_set:dmi.UsageStateChange.old) |
| 4058 | } |
| 4059 | |
| 4060 | // .dmi.ComponentUsageState new = 2; |
| 4061 | inline void UsageStateChange::clear_new_() { |
| 4062 | new__ = 0; |
| 4063 | } |
| 4064 | inline ::dmi::ComponentUsageState UsageStateChange::new_() const { |
| 4065 | // @@protoc_insertion_point(field_get:dmi.UsageStateChange.new) |
| 4066 | return static_cast< ::dmi::ComponentUsageState >(new__); |
| 4067 | } |
| 4068 | inline void UsageStateChange::set_new_(::dmi::ComponentUsageState value) { |
| 4069 | |
| 4070 | new__ = value; |
| 4071 | // @@protoc_insertion_point(field_set:dmi.UsageStateChange.new) |
| 4072 | } |
| 4073 | |
| 4074 | // ------------------------------------------------------------------- |
| 4075 | |
| 4076 | // StandbyStateChange |
| 4077 | |
| 4078 | // .dmi.ComponentStandbyState old = 1; |
| 4079 | inline void StandbyStateChange::clear_old() { |
| 4080 | old_ = 0; |
| 4081 | } |
| 4082 | inline ::dmi::ComponentStandbyState StandbyStateChange::old() const { |
| 4083 | // @@protoc_insertion_point(field_get:dmi.StandbyStateChange.old) |
| 4084 | return static_cast< ::dmi::ComponentStandbyState >(old_); |
| 4085 | } |
| 4086 | inline void StandbyStateChange::set_old(::dmi::ComponentStandbyState value) { |
| 4087 | |
| 4088 | old_ = value; |
| 4089 | // @@protoc_insertion_point(field_set:dmi.StandbyStateChange.old) |
| 4090 | } |
| 4091 | |
| 4092 | // .dmi.ComponentStandbyState new = 2; |
| 4093 | inline void StandbyStateChange::clear_new_() { |
| 4094 | new__ = 0; |
| 4095 | } |
| 4096 | inline ::dmi::ComponentStandbyState StandbyStateChange::new_() const { |
| 4097 | // @@protoc_insertion_point(field_get:dmi.StandbyStateChange.new) |
| 4098 | return static_cast< ::dmi::ComponentStandbyState >(new__); |
| 4099 | } |
| 4100 | inline void StandbyStateChange::set_new_(::dmi::ComponentStandbyState value) { |
| 4101 | |
| 4102 | new__ = value; |
| 4103 | // @@protoc_insertion_point(field_set:dmi.StandbyStateChange.new) |
| 4104 | } |
| 4105 | |
| 4106 | // ------------------------------------------------------------------- |
| 4107 | |
| 4108 | // StateChangeInfo |
| 4109 | |
| 4110 | // .dmi.AdminStateChange admin_state_change = 1; |
| 4111 | inline bool StateChangeInfo::has_admin_state_change() const { |
| 4112 | return state_change_case() == kAdminStateChange; |
| 4113 | } |
| 4114 | inline void StateChangeInfo::set_has_admin_state_change() { |
| 4115 | _oneof_case_[0] = kAdminStateChange; |
| 4116 | } |
| 4117 | inline void StateChangeInfo::clear_admin_state_change() { |
| 4118 | if (has_admin_state_change()) { |
| 4119 | delete state_change_.admin_state_change_; |
| 4120 | clear_has_state_change(); |
| 4121 | } |
| 4122 | } |
| 4123 | inline ::dmi::AdminStateChange* StateChangeInfo::release_admin_state_change() { |
| 4124 | // @@protoc_insertion_point(field_release:dmi.StateChangeInfo.admin_state_change) |
| 4125 | if (has_admin_state_change()) { |
| 4126 | clear_has_state_change(); |
| 4127 | ::dmi::AdminStateChange* temp = state_change_.admin_state_change_; |
| 4128 | state_change_.admin_state_change_ = nullptr; |
| 4129 | return temp; |
| 4130 | } else { |
| 4131 | return nullptr; |
| 4132 | } |
| 4133 | } |
| 4134 | inline const ::dmi::AdminStateChange& StateChangeInfo::admin_state_change() const { |
| 4135 | // @@protoc_insertion_point(field_get:dmi.StateChangeInfo.admin_state_change) |
| 4136 | return has_admin_state_change() |
| 4137 | ? *state_change_.admin_state_change_ |
| 4138 | : *reinterpret_cast< ::dmi::AdminStateChange*>(&::dmi::_AdminStateChange_default_instance_); |
| 4139 | } |
| 4140 | inline ::dmi::AdminStateChange* StateChangeInfo::mutable_admin_state_change() { |
| 4141 | if (!has_admin_state_change()) { |
| 4142 | clear_state_change(); |
| 4143 | set_has_admin_state_change(); |
| 4144 | state_change_.admin_state_change_ = CreateMaybeMessage< ::dmi::AdminStateChange >( |
| 4145 | GetArenaNoVirtual()); |
| 4146 | } |
| 4147 | // @@protoc_insertion_point(field_mutable:dmi.StateChangeInfo.admin_state_change) |
| 4148 | return state_change_.admin_state_change_; |
| 4149 | } |
| 4150 | |
| 4151 | // .dmi.OperStateChange oper_state_change = 2; |
| 4152 | inline bool StateChangeInfo::has_oper_state_change() const { |
| 4153 | return state_change_case() == kOperStateChange; |
| 4154 | } |
| 4155 | inline void StateChangeInfo::set_has_oper_state_change() { |
| 4156 | _oneof_case_[0] = kOperStateChange; |
| 4157 | } |
| 4158 | inline void StateChangeInfo::clear_oper_state_change() { |
| 4159 | if (has_oper_state_change()) { |
| 4160 | delete state_change_.oper_state_change_; |
| 4161 | clear_has_state_change(); |
| 4162 | } |
| 4163 | } |
| 4164 | inline ::dmi::OperStateChange* StateChangeInfo::release_oper_state_change() { |
| 4165 | // @@protoc_insertion_point(field_release:dmi.StateChangeInfo.oper_state_change) |
| 4166 | if (has_oper_state_change()) { |
| 4167 | clear_has_state_change(); |
| 4168 | ::dmi::OperStateChange* temp = state_change_.oper_state_change_; |
| 4169 | state_change_.oper_state_change_ = nullptr; |
| 4170 | return temp; |
| 4171 | } else { |
| 4172 | return nullptr; |
| 4173 | } |
| 4174 | } |
| 4175 | inline const ::dmi::OperStateChange& StateChangeInfo::oper_state_change() const { |
| 4176 | // @@protoc_insertion_point(field_get:dmi.StateChangeInfo.oper_state_change) |
| 4177 | return has_oper_state_change() |
| 4178 | ? *state_change_.oper_state_change_ |
| 4179 | : *reinterpret_cast< ::dmi::OperStateChange*>(&::dmi::_OperStateChange_default_instance_); |
| 4180 | } |
| 4181 | inline ::dmi::OperStateChange* StateChangeInfo::mutable_oper_state_change() { |
| 4182 | if (!has_oper_state_change()) { |
| 4183 | clear_state_change(); |
| 4184 | set_has_oper_state_change(); |
| 4185 | state_change_.oper_state_change_ = CreateMaybeMessage< ::dmi::OperStateChange >( |
| 4186 | GetArenaNoVirtual()); |
| 4187 | } |
| 4188 | // @@protoc_insertion_point(field_mutable:dmi.StateChangeInfo.oper_state_change) |
| 4189 | return state_change_.oper_state_change_; |
| 4190 | } |
| 4191 | |
| 4192 | // .dmi.AlarmStateChange alarm_state_change = 3; |
| 4193 | inline bool StateChangeInfo::has_alarm_state_change() const { |
| 4194 | return state_change_case() == kAlarmStateChange; |
| 4195 | } |
| 4196 | inline void StateChangeInfo::set_has_alarm_state_change() { |
| 4197 | _oneof_case_[0] = kAlarmStateChange; |
| 4198 | } |
| 4199 | inline void StateChangeInfo::clear_alarm_state_change() { |
| 4200 | if (has_alarm_state_change()) { |
| 4201 | delete state_change_.alarm_state_change_; |
| 4202 | clear_has_state_change(); |
| 4203 | } |
| 4204 | } |
| 4205 | inline ::dmi::AlarmStateChange* StateChangeInfo::release_alarm_state_change() { |
| 4206 | // @@protoc_insertion_point(field_release:dmi.StateChangeInfo.alarm_state_change) |
| 4207 | if (has_alarm_state_change()) { |
| 4208 | clear_has_state_change(); |
| 4209 | ::dmi::AlarmStateChange* temp = state_change_.alarm_state_change_; |
| 4210 | state_change_.alarm_state_change_ = nullptr; |
| 4211 | return temp; |
| 4212 | } else { |
| 4213 | return nullptr; |
| 4214 | } |
| 4215 | } |
| 4216 | inline const ::dmi::AlarmStateChange& StateChangeInfo::alarm_state_change() const { |
| 4217 | // @@protoc_insertion_point(field_get:dmi.StateChangeInfo.alarm_state_change) |
| 4218 | return has_alarm_state_change() |
| 4219 | ? *state_change_.alarm_state_change_ |
| 4220 | : *reinterpret_cast< ::dmi::AlarmStateChange*>(&::dmi::_AlarmStateChange_default_instance_); |
| 4221 | } |
| 4222 | inline ::dmi::AlarmStateChange* StateChangeInfo::mutable_alarm_state_change() { |
| 4223 | if (!has_alarm_state_change()) { |
| 4224 | clear_state_change(); |
| 4225 | set_has_alarm_state_change(); |
| 4226 | state_change_.alarm_state_change_ = CreateMaybeMessage< ::dmi::AlarmStateChange >( |
| 4227 | GetArenaNoVirtual()); |
| 4228 | } |
| 4229 | // @@protoc_insertion_point(field_mutable:dmi.StateChangeInfo.alarm_state_change) |
| 4230 | return state_change_.alarm_state_change_; |
| 4231 | } |
| 4232 | |
| 4233 | // .dmi.UsageStateChange usage_state_change = 4; |
| 4234 | inline bool StateChangeInfo::has_usage_state_change() const { |
| 4235 | return state_change_case() == kUsageStateChange; |
| 4236 | } |
| 4237 | inline void StateChangeInfo::set_has_usage_state_change() { |
| 4238 | _oneof_case_[0] = kUsageStateChange; |
| 4239 | } |
| 4240 | inline void StateChangeInfo::clear_usage_state_change() { |
| 4241 | if (has_usage_state_change()) { |
| 4242 | delete state_change_.usage_state_change_; |
| 4243 | clear_has_state_change(); |
| 4244 | } |
| 4245 | } |
| 4246 | inline ::dmi::UsageStateChange* StateChangeInfo::release_usage_state_change() { |
| 4247 | // @@protoc_insertion_point(field_release:dmi.StateChangeInfo.usage_state_change) |
| 4248 | if (has_usage_state_change()) { |
| 4249 | clear_has_state_change(); |
| 4250 | ::dmi::UsageStateChange* temp = state_change_.usage_state_change_; |
| 4251 | state_change_.usage_state_change_ = nullptr; |
| 4252 | return temp; |
| 4253 | } else { |
| 4254 | return nullptr; |
| 4255 | } |
| 4256 | } |
| 4257 | inline const ::dmi::UsageStateChange& StateChangeInfo::usage_state_change() const { |
| 4258 | // @@protoc_insertion_point(field_get:dmi.StateChangeInfo.usage_state_change) |
| 4259 | return has_usage_state_change() |
| 4260 | ? *state_change_.usage_state_change_ |
| 4261 | : *reinterpret_cast< ::dmi::UsageStateChange*>(&::dmi::_UsageStateChange_default_instance_); |
| 4262 | } |
| 4263 | inline ::dmi::UsageStateChange* StateChangeInfo::mutable_usage_state_change() { |
| 4264 | if (!has_usage_state_change()) { |
| 4265 | clear_state_change(); |
| 4266 | set_has_usage_state_change(); |
| 4267 | state_change_.usage_state_change_ = CreateMaybeMessage< ::dmi::UsageStateChange >( |
| 4268 | GetArenaNoVirtual()); |
| 4269 | } |
| 4270 | // @@protoc_insertion_point(field_mutable:dmi.StateChangeInfo.usage_state_change) |
| 4271 | return state_change_.usage_state_change_; |
| 4272 | } |
| 4273 | |
| 4274 | // .dmi.StandbyStateChange standby_state_change = 5; |
| 4275 | inline bool StateChangeInfo::has_standby_state_change() const { |
| 4276 | return state_change_case() == kStandbyStateChange; |
| 4277 | } |
| 4278 | inline void StateChangeInfo::set_has_standby_state_change() { |
| 4279 | _oneof_case_[0] = kStandbyStateChange; |
| 4280 | } |
| 4281 | inline void StateChangeInfo::clear_standby_state_change() { |
| 4282 | if (has_standby_state_change()) { |
| 4283 | delete state_change_.standby_state_change_; |
| 4284 | clear_has_state_change(); |
| 4285 | } |
| 4286 | } |
| 4287 | inline ::dmi::StandbyStateChange* StateChangeInfo::release_standby_state_change() { |
| 4288 | // @@protoc_insertion_point(field_release:dmi.StateChangeInfo.standby_state_change) |
| 4289 | if (has_standby_state_change()) { |
| 4290 | clear_has_state_change(); |
| 4291 | ::dmi::StandbyStateChange* temp = state_change_.standby_state_change_; |
| 4292 | state_change_.standby_state_change_ = nullptr; |
| 4293 | return temp; |
| 4294 | } else { |
| 4295 | return nullptr; |
| 4296 | } |
| 4297 | } |
| 4298 | inline const ::dmi::StandbyStateChange& StateChangeInfo::standby_state_change() const { |
| 4299 | // @@protoc_insertion_point(field_get:dmi.StateChangeInfo.standby_state_change) |
| 4300 | return has_standby_state_change() |
| 4301 | ? *state_change_.standby_state_change_ |
| 4302 | : *reinterpret_cast< ::dmi::StandbyStateChange*>(&::dmi::_StandbyStateChange_default_instance_); |
| 4303 | } |
| 4304 | inline ::dmi::StandbyStateChange* StateChangeInfo::mutable_standby_state_change() { |
| 4305 | if (!has_standby_state_change()) { |
| 4306 | clear_state_change(); |
| 4307 | set_has_standby_state_change(); |
| 4308 | state_change_.standby_state_change_ = CreateMaybeMessage< ::dmi::StandbyStateChange >( |
| 4309 | GetArenaNoVirtual()); |
| 4310 | } |
| 4311 | // @@protoc_insertion_point(field_mutable:dmi.StateChangeInfo.standby_state_change) |
| 4312 | return state_change_.standby_state_change_; |
| 4313 | } |
| 4314 | |
| 4315 | inline bool StateChangeInfo::has_state_change() const { |
| 4316 | return state_change_case() != STATE_CHANGE_NOT_SET; |
| 4317 | } |
| 4318 | inline void StateChangeInfo::clear_has_state_change() { |
| 4319 | _oneof_case_[0] = STATE_CHANGE_NOT_SET; |
| 4320 | } |
| 4321 | inline StateChangeInfo::StateChangeCase StateChangeInfo::state_change_case() const { |
| 4322 | return StateChangeInfo::StateChangeCase(_oneof_case_[0]); |
| 4323 | } |
| 4324 | // ------------------------------------------------------------------- |
| 4325 | |
| Amit Ghosh | d0151a3 | 2025-10-03 10:53:14 +0200 | [diff] [blame^] | 4326 | // GenericEventInfo |
| 4327 | |
| 4328 | // string message = 1; |
| 4329 | inline void GenericEventInfo::clear_message() { |
| 4330 | message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4331 | } |
| 4332 | inline const ::std::string& GenericEventInfo::message() const { |
| 4333 | // @@protoc_insertion_point(field_get:dmi.GenericEventInfo.message) |
| 4334 | return message_.GetNoArena(); |
| 4335 | } |
| 4336 | inline void GenericEventInfo::set_message(const ::std::string& value) { |
| 4337 | |
| 4338 | message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 4339 | // @@protoc_insertion_point(field_set:dmi.GenericEventInfo.message) |
| 4340 | } |
| 4341 | #if LANG_CXX11 |
| 4342 | inline void GenericEventInfo::set_message(::std::string&& value) { |
| 4343 | |
| 4344 | message_.SetNoArena( |
| 4345 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 4346 | // @@protoc_insertion_point(field_set_rvalue:dmi.GenericEventInfo.message) |
| 4347 | } |
| 4348 | #endif |
| 4349 | inline void GenericEventInfo::set_message(const char* value) { |
| 4350 | GOOGLE_DCHECK(value != nullptr); |
| 4351 | |
| 4352 | message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 4353 | // @@protoc_insertion_point(field_set_char:dmi.GenericEventInfo.message) |
| 4354 | } |
| 4355 | inline void GenericEventInfo::set_message(const char* value, size_t size) { |
| 4356 | |
| 4357 | message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 4358 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 4359 | // @@protoc_insertion_point(field_set_pointer:dmi.GenericEventInfo.message) |
| 4360 | } |
| 4361 | inline ::std::string* GenericEventInfo::mutable_message() { |
| 4362 | |
| 4363 | // @@protoc_insertion_point(field_mutable:dmi.GenericEventInfo.message) |
| 4364 | return message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4365 | } |
| 4366 | inline ::std::string* GenericEventInfo::release_message() { |
| 4367 | // @@protoc_insertion_point(field_release:dmi.GenericEventInfo.message) |
| 4368 | |
| 4369 | return message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4370 | } |
| 4371 | inline void GenericEventInfo::set_allocated_message(::std::string* message) { |
| 4372 | if (message != nullptr) { |
| 4373 | |
| 4374 | } else { |
| 4375 | |
| 4376 | } |
| 4377 | message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), message); |
| 4378 | // @@protoc_insertion_point(field_set_allocated:dmi.GenericEventInfo.message) |
| 4379 | } |
| 4380 | |
| 4381 | // string message_code = 2; |
| 4382 | inline void GenericEventInfo::clear_message_code() { |
| 4383 | message_code_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4384 | } |
| 4385 | inline const ::std::string& GenericEventInfo::message_code() const { |
| 4386 | // @@protoc_insertion_point(field_get:dmi.GenericEventInfo.message_code) |
| 4387 | return message_code_.GetNoArena(); |
| 4388 | } |
| 4389 | inline void GenericEventInfo::set_message_code(const ::std::string& value) { |
| 4390 | |
| 4391 | message_code_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 4392 | // @@protoc_insertion_point(field_set:dmi.GenericEventInfo.message_code) |
| 4393 | } |
| 4394 | #if LANG_CXX11 |
| 4395 | inline void GenericEventInfo::set_message_code(::std::string&& value) { |
| 4396 | |
| 4397 | message_code_.SetNoArena( |
| 4398 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 4399 | // @@protoc_insertion_point(field_set_rvalue:dmi.GenericEventInfo.message_code) |
| 4400 | } |
| 4401 | #endif |
| 4402 | inline void GenericEventInfo::set_message_code(const char* value) { |
| 4403 | GOOGLE_DCHECK(value != nullptr); |
| 4404 | |
| 4405 | message_code_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 4406 | // @@protoc_insertion_point(field_set_char:dmi.GenericEventInfo.message_code) |
| 4407 | } |
| 4408 | inline void GenericEventInfo::set_message_code(const char* value, size_t size) { |
| 4409 | |
| 4410 | message_code_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 4411 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 4412 | // @@protoc_insertion_point(field_set_pointer:dmi.GenericEventInfo.message_code) |
| 4413 | } |
| 4414 | inline ::std::string* GenericEventInfo::mutable_message_code() { |
| 4415 | |
| 4416 | // @@protoc_insertion_point(field_mutable:dmi.GenericEventInfo.message_code) |
| 4417 | return message_code_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4418 | } |
| 4419 | inline ::std::string* GenericEventInfo::release_message_code() { |
| 4420 | // @@protoc_insertion_point(field_release:dmi.GenericEventInfo.message_code) |
| 4421 | |
| 4422 | return message_code_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4423 | } |
| 4424 | inline void GenericEventInfo::set_allocated_message_code(::std::string* message_code) { |
| 4425 | if (message_code != nullptr) { |
| 4426 | |
| 4427 | } else { |
| 4428 | |
| 4429 | } |
| 4430 | message_code_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), message_code); |
| 4431 | // @@protoc_insertion_point(field_set_allocated:dmi.GenericEventInfo.message_code) |
| 4432 | } |
| 4433 | |
| 4434 | // .dmi.GenericEventInfo.EventSeverity severity = 3; |
| 4435 | inline void GenericEventInfo::clear_severity() { |
| 4436 | severity_ = 0; |
| 4437 | } |
| 4438 | inline ::dmi::GenericEventInfo_EventSeverity GenericEventInfo::severity() const { |
| 4439 | // @@protoc_insertion_point(field_get:dmi.GenericEventInfo.severity) |
| 4440 | return static_cast< ::dmi::GenericEventInfo_EventSeverity >(severity_); |
| 4441 | } |
| 4442 | inline void GenericEventInfo::set_severity(::dmi::GenericEventInfo_EventSeverity value) { |
| 4443 | |
| 4444 | severity_ = value; |
| 4445 | // @@protoc_insertion_point(field_set:dmi.GenericEventInfo.severity) |
| 4446 | } |
| 4447 | |
| 4448 | // ------------------------------------------------------------------- |
| 4449 | |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 4450 | // Event |
| 4451 | |
| 4452 | // .dmi.EventMetaData event_metadata = 1; |
| 4453 | inline bool Event::has_event_metadata() const { |
| 4454 | return this != internal_default_instance() && event_metadata_ != nullptr; |
| 4455 | } |
| 4456 | inline void Event::clear_event_metadata() { |
| 4457 | if (GetArenaNoVirtual() == nullptr && event_metadata_ != nullptr) { |
| 4458 | delete event_metadata_; |
| 4459 | } |
| 4460 | event_metadata_ = nullptr; |
| 4461 | } |
| 4462 | inline const ::dmi::EventMetaData& Event::event_metadata() const { |
| 4463 | const ::dmi::EventMetaData* p = event_metadata_; |
| 4464 | // @@protoc_insertion_point(field_get:dmi.Event.event_metadata) |
| 4465 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::EventMetaData*>( |
| 4466 | &::dmi::_EventMetaData_default_instance_); |
| 4467 | } |
| 4468 | inline ::dmi::EventMetaData* Event::release_event_metadata() { |
| 4469 | // @@protoc_insertion_point(field_release:dmi.Event.event_metadata) |
| 4470 | |
| 4471 | ::dmi::EventMetaData* temp = event_metadata_; |
| 4472 | event_metadata_ = nullptr; |
| 4473 | return temp; |
| 4474 | } |
| 4475 | inline ::dmi::EventMetaData* Event::mutable_event_metadata() { |
| 4476 | |
| 4477 | if (event_metadata_ == nullptr) { |
| 4478 | auto* p = CreateMaybeMessage<::dmi::EventMetaData>(GetArenaNoVirtual()); |
| 4479 | event_metadata_ = p; |
| 4480 | } |
| 4481 | // @@protoc_insertion_point(field_mutable:dmi.Event.event_metadata) |
| 4482 | return event_metadata_; |
| 4483 | } |
| 4484 | inline void Event::set_allocated_event_metadata(::dmi::EventMetaData* event_metadata) { |
| 4485 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 4486 | if (message_arena == nullptr) { |
| 4487 | delete event_metadata_; |
| 4488 | } |
| 4489 | if (event_metadata) { |
| 4490 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 4491 | if (message_arena != submessage_arena) { |
| 4492 | event_metadata = ::google::protobuf::internal::GetOwnedMessage( |
| 4493 | message_arena, event_metadata, submessage_arena); |
| 4494 | } |
| 4495 | |
| 4496 | } else { |
| 4497 | |
| 4498 | } |
| 4499 | event_metadata_ = event_metadata; |
| 4500 | // @@protoc_insertion_point(field_set_allocated:dmi.Event.event_metadata) |
| 4501 | } |
| 4502 | |
| 4503 | // .dmi.EventIds event_id = 2; |
| 4504 | inline void Event::clear_event_id() { |
| 4505 | event_id_ = 0; |
| 4506 | } |
| 4507 | inline ::dmi::EventIds Event::event_id() const { |
| 4508 | // @@protoc_insertion_point(field_get:dmi.Event.event_id) |
| 4509 | return static_cast< ::dmi::EventIds >(event_id_); |
| 4510 | } |
| 4511 | inline void Event::set_event_id(::dmi::EventIds value) { |
| 4512 | |
| 4513 | event_id_ = value; |
| 4514 | // @@protoc_insertion_point(field_set:dmi.Event.event_id) |
| 4515 | } |
| 4516 | |
| 4517 | // .google.protobuf.Timestamp raised_ts = 3; |
| 4518 | inline bool Event::has_raised_ts() const { |
| 4519 | return this != internal_default_instance() && raised_ts_ != nullptr; |
| 4520 | } |
| 4521 | inline const ::google::protobuf::Timestamp& Event::raised_ts() const { |
| 4522 | const ::google::protobuf::Timestamp* p = raised_ts_; |
| 4523 | // @@protoc_insertion_point(field_get:dmi.Event.raised_ts) |
| 4524 | return p != nullptr ? *p : *reinterpret_cast<const ::google::protobuf::Timestamp*>( |
| 4525 | &::google::protobuf::_Timestamp_default_instance_); |
| 4526 | } |
| 4527 | inline ::google::protobuf::Timestamp* Event::release_raised_ts() { |
| 4528 | // @@protoc_insertion_point(field_release:dmi.Event.raised_ts) |
| 4529 | |
| 4530 | ::google::protobuf::Timestamp* temp = raised_ts_; |
| 4531 | raised_ts_ = nullptr; |
| 4532 | return temp; |
| 4533 | } |
| 4534 | inline ::google::protobuf::Timestamp* Event::mutable_raised_ts() { |
| 4535 | |
| 4536 | if (raised_ts_ == nullptr) { |
| 4537 | auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); |
| 4538 | raised_ts_ = p; |
| 4539 | } |
| 4540 | // @@protoc_insertion_point(field_mutable:dmi.Event.raised_ts) |
| 4541 | return raised_ts_; |
| 4542 | } |
| 4543 | inline void Event::set_allocated_raised_ts(::google::protobuf::Timestamp* raised_ts) { |
| 4544 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 4545 | if (message_arena == nullptr) { |
| 4546 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(raised_ts_); |
| 4547 | } |
| 4548 | if (raised_ts) { |
| 4549 | ::google::protobuf::Arena* submessage_arena = |
| 4550 | reinterpret_cast<::google::protobuf::MessageLite*>(raised_ts)->GetArena(); |
| 4551 | if (message_arena != submessage_arena) { |
| 4552 | raised_ts = ::google::protobuf::internal::GetOwnedMessage( |
| 4553 | message_arena, raised_ts, submessage_arena); |
| 4554 | } |
| 4555 | |
| 4556 | } else { |
| 4557 | |
| 4558 | } |
| 4559 | raised_ts_ = raised_ts; |
| 4560 | // @@protoc_insertion_point(field_set_allocated:dmi.Event.raised_ts) |
| 4561 | } |
| 4562 | |
| 4563 | // .dmi.ThresholdInformation threshold_info = 4; |
| 4564 | inline bool Event::has_threshold_info() const { |
| 4565 | return this != internal_default_instance() && threshold_info_ != nullptr; |
| 4566 | } |
| 4567 | inline void Event::clear_threshold_info() { |
| 4568 | if (GetArenaNoVirtual() == nullptr && threshold_info_ != nullptr) { |
| 4569 | delete threshold_info_; |
| 4570 | } |
| 4571 | threshold_info_ = nullptr; |
| 4572 | } |
| 4573 | inline const ::dmi::ThresholdInformation& Event::threshold_info() const { |
| 4574 | const ::dmi::ThresholdInformation* p = threshold_info_; |
| 4575 | // @@protoc_insertion_point(field_get:dmi.Event.threshold_info) |
| 4576 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::ThresholdInformation*>( |
| 4577 | &::dmi::_ThresholdInformation_default_instance_); |
| 4578 | } |
| 4579 | inline ::dmi::ThresholdInformation* Event::release_threshold_info() { |
| 4580 | // @@protoc_insertion_point(field_release:dmi.Event.threshold_info) |
| 4581 | |
| 4582 | ::dmi::ThresholdInformation* temp = threshold_info_; |
| 4583 | threshold_info_ = nullptr; |
| 4584 | return temp; |
| 4585 | } |
| 4586 | inline ::dmi::ThresholdInformation* Event::mutable_threshold_info() { |
| 4587 | |
| 4588 | if (threshold_info_ == nullptr) { |
| 4589 | auto* p = CreateMaybeMessage<::dmi::ThresholdInformation>(GetArenaNoVirtual()); |
| 4590 | threshold_info_ = p; |
| 4591 | } |
| 4592 | // @@protoc_insertion_point(field_mutable:dmi.Event.threshold_info) |
| 4593 | return threshold_info_; |
| 4594 | } |
| 4595 | inline void Event::set_allocated_threshold_info(::dmi::ThresholdInformation* threshold_info) { |
| 4596 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 4597 | if (message_arena == nullptr) { |
| 4598 | delete threshold_info_; |
| 4599 | } |
| 4600 | if (threshold_info) { |
| 4601 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 4602 | if (message_arena != submessage_arena) { |
| 4603 | threshold_info = ::google::protobuf::internal::GetOwnedMessage( |
| 4604 | message_arena, threshold_info, submessage_arena); |
| 4605 | } |
| 4606 | |
| 4607 | } else { |
| 4608 | |
| 4609 | } |
| 4610 | threshold_info_ = threshold_info; |
| 4611 | // @@protoc_insertion_point(field_set_allocated:dmi.Event.threshold_info) |
| 4612 | } |
| 4613 | |
| 4614 | // string add_info = 5; |
| 4615 | inline void Event::clear_add_info() { |
| 4616 | add_info_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4617 | } |
| 4618 | inline const ::std::string& Event::add_info() const { |
| 4619 | // @@protoc_insertion_point(field_get:dmi.Event.add_info) |
| 4620 | return add_info_.GetNoArena(); |
| 4621 | } |
| 4622 | inline void Event::set_add_info(const ::std::string& value) { |
| 4623 | |
| 4624 | add_info_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 4625 | // @@protoc_insertion_point(field_set:dmi.Event.add_info) |
| 4626 | } |
| 4627 | #if LANG_CXX11 |
| 4628 | inline void Event::set_add_info(::std::string&& value) { |
| 4629 | |
| 4630 | add_info_.SetNoArena( |
| 4631 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 4632 | // @@protoc_insertion_point(field_set_rvalue:dmi.Event.add_info) |
| 4633 | } |
| 4634 | #endif |
| 4635 | inline void Event::set_add_info(const char* value) { |
| 4636 | GOOGLE_DCHECK(value != nullptr); |
| 4637 | |
| 4638 | add_info_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 4639 | // @@protoc_insertion_point(field_set_char:dmi.Event.add_info) |
| 4640 | } |
| 4641 | inline void Event::set_add_info(const char* value, size_t size) { |
| 4642 | |
| 4643 | add_info_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 4644 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 4645 | // @@protoc_insertion_point(field_set_pointer:dmi.Event.add_info) |
| 4646 | } |
| 4647 | inline ::std::string* Event::mutable_add_info() { |
| 4648 | |
| 4649 | // @@protoc_insertion_point(field_mutable:dmi.Event.add_info) |
| 4650 | return add_info_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4651 | } |
| 4652 | inline ::std::string* Event::release_add_info() { |
| 4653 | // @@protoc_insertion_point(field_release:dmi.Event.add_info) |
| 4654 | |
| 4655 | return add_info_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4656 | } |
| 4657 | inline void Event::set_allocated_add_info(::std::string* add_info) { |
| 4658 | if (add_info != nullptr) { |
| 4659 | |
| 4660 | } else { |
| 4661 | |
| 4662 | } |
| 4663 | add_info_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), add_info); |
| 4664 | // @@protoc_insertion_point(field_set_allocated:dmi.Event.add_info) |
| 4665 | } |
| 4666 | |
| Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame] | 4667 | // .dmi.StateChangeInfo state_change_info = 6; |
| 4668 | inline bool Event::has_state_change_info() const { |
| 4669 | return this != internal_default_instance() && state_change_info_ != nullptr; |
| 4670 | } |
| 4671 | inline void Event::clear_state_change_info() { |
| 4672 | if (GetArenaNoVirtual() == nullptr && state_change_info_ != nullptr) { |
| 4673 | delete state_change_info_; |
| 4674 | } |
| 4675 | state_change_info_ = nullptr; |
| 4676 | } |
| 4677 | inline const ::dmi::StateChangeInfo& Event::state_change_info() const { |
| 4678 | const ::dmi::StateChangeInfo* p = state_change_info_; |
| 4679 | // @@protoc_insertion_point(field_get:dmi.Event.state_change_info) |
| 4680 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::StateChangeInfo*>( |
| 4681 | &::dmi::_StateChangeInfo_default_instance_); |
| 4682 | } |
| 4683 | inline ::dmi::StateChangeInfo* Event::release_state_change_info() { |
| 4684 | // @@protoc_insertion_point(field_release:dmi.Event.state_change_info) |
| 4685 | |
| 4686 | ::dmi::StateChangeInfo* temp = state_change_info_; |
| 4687 | state_change_info_ = nullptr; |
| 4688 | return temp; |
| 4689 | } |
| 4690 | inline ::dmi::StateChangeInfo* Event::mutable_state_change_info() { |
| 4691 | |
| 4692 | if (state_change_info_ == nullptr) { |
| 4693 | auto* p = CreateMaybeMessage<::dmi::StateChangeInfo>(GetArenaNoVirtual()); |
| 4694 | state_change_info_ = p; |
| 4695 | } |
| 4696 | // @@protoc_insertion_point(field_mutable:dmi.Event.state_change_info) |
| 4697 | return state_change_info_; |
| 4698 | } |
| 4699 | inline void Event::set_allocated_state_change_info(::dmi::StateChangeInfo* state_change_info) { |
| 4700 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 4701 | if (message_arena == nullptr) { |
| 4702 | delete state_change_info_; |
| 4703 | } |
| 4704 | if (state_change_info) { |
| 4705 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 4706 | if (message_arena != submessage_arena) { |
| 4707 | state_change_info = ::google::protobuf::internal::GetOwnedMessage( |
| 4708 | message_arena, state_change_info, submessage_arena); |
| 4709 | } |
| 4710 | |
| 4711 | } else { |
| 4712 | |
| 4713 | } |
| 4714 | state_change_info_ = state_change_info; |
| 4715 | // @@protoc_insertion_point(field_set_allocated:dmi.Event.state_change_info) |
| 4716 | } |
| 4717 | |
| Amit Ghosh | d0151a3 | 2025-10-03 10:53:14 +0200 | [diff] [blame^] | 4718 | // .dmi.GenericEventInfo generic_event_info = 7; |
| 4719 | inline bool Event::has_generic_event_info() const { |
| 4720 | return this != internal_default_instance() && generic_event_info_ != nullptr; |
| 4721 | } |
| 4722 | inline void Event::clear_generic_event_info() { |
| 4723 | if (GetArenaNoVirtual() == nullptr && generic_event_info_ != nullptr) { |
| 4724 | delete generic_event_info_; |
| 4725 | } |
| 4726 | generic_event_info_ = nullptr; |
| 4727 | } |
| 4728 | inline const ::dmi::GenericEventInfo& Event::generic_event_info() const { |
| 4729 | const ::dmi::GenericEventInfo* p = generic_event_info_; |
| 4730 | // @@protoc_insertion_point(field_get:dmi.Event.generic_event_info) |
| 4731 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::GenericEventInfo*>( |
| 4732 | &::dmi::_GenericEventInfo_default_instance_); |
| 4733 | } |
| 4734 | inline ::dmi::GenericEventInfo* Event::release_generic_event_info() { |
| 4735 | // @@protoc_insertion_point(field_release:dmi.Event.generic_event_info) |
| 4736 | |
| 4737 | ::dmi::GenericEventInfo* temp = generic_event_info_; |
| 4738 | generic_event_info_ = nullptr; |
| 4739 | return temp; |
| 4740 | } |
| 4741 | inline ::dmi::GenericEventInfo* Event::mutable_generic_event_info() { |
| 4742 | |
| 4743 | if (generic_event_info_ == nullptr) { |
| 4744 | auto* p = CreateMaybeMessage<::dmi::GenericEventInfo>(GetArenaNoVirtual()); |
| 4745 | generic_event_info_ = p; |
| 4746 | } |
| 4747 | // @@protoc_insertion_point(field_mutable:dmi.Event.generic_event_info) |
| 4748 | return generic_event_info_; |
| 4749 | } |
| 4750 | inline void Event::set_allocated_generic_event_info(::dmi::GenericEventInfo* generic_event_info) { |
| 4751 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 4752 | if (message_arena == nullptr) { |
| 4753 | delete generic_event_info_; |
| 4754 | } |
| 4755 | if (generic_event_info) { |
| 4756 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 4757 | if (message_arena != submessage_arena) { |
| 4758 | generic_event_info = ::google::protobuf::internal::GetOwnedMessage( |
| 4759 | message_arena, generic_event_info, submessage_arena); |
| 4760 | } |
| 4761 | |
| 4762 | } else { |
| 4763 | |
| 4764 | } |
| 4765 | generic_event_info_ = generic_event_info; |
| 4766 | // @@protoc_insertion_point(field_set_allocated:dmi.Event.generic_event_info) |
| 4767 | } |
| 4768 | |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 4769 | #ifdef __GNUC__ |
| 4770 | #pragma GCC diagnostic pop |
| 4771 | #endif // __GNUC__ |
| 4772 | // ------------------------------------------------------------------- |
| 4773 | |
| 4774 | // ------------------------------------------------------------------- |
| 4775 | |
| 4776 | // ------------------------------------------------------------------- |
| 4777 | |
| 4778 | // ------------------------------------------------------------------- |
| 4779 | |
| 4780 | // ------------------------------------------------------------------- |
| 4781 | |
| 4782 | // ------------------------------------------------------------------- |
| 4783 | |
| 4784 | // ------------------------------------------------------------------- |
| 4785 | |
| 4786 | // ------------------------------------------------------------------- |
| 4787 | |
| 4788 | // ------------------------------------------------------------------- |
| 4789 | |
| 4790 | // ------------------------------------------------------------------- |
| 4791 | |
| Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame] | 4792 | // ------------------------------------------------------------------- |
| 4793 | |
| 4794 | // ------------------------------------------------------------------- |
| 4795 | |
| 4796 | // ------------------------------------------------------------------- |
| 4797 | |
| 4798 | // ------------------------------------------------------------------- |
| 4799 | |
| 4800 | // ------------------------------------------------------------------- |
| 4801 | |
| 4802 | // ------------------------------------------------------------------- |
| 4803 | |
| Amit Ghosh | d0151a3 | 2025-10-03 10:53:14 +0200 | [diff] [blame^] | 4804 | // ------------------------------------------------------------------- |
| 4805 | |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 4806 | |
| 4807 | // @@protoc_insertion_point(namespace_scope) |
| 4808 | |
| 4809 | } // namespace dmi |
| 4810 | |
| 4811 | namespace google { |
| 4812 | namespace protobuf { |
| 4813 | |
| 4814 | template <> struct is_proto_enum< ::dmi::ListEventsResponse_Reason> : ::std::true_type {}; |
| 4815 | template <> |
| 4816 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::ListEventsResponse_Reason>() { |
| 4817 | return ::dmi::ListEventsResponse_Reason_descriptor(); |
| 4818 | } |
| 4819 | template <> struct is_proto_enum< ::dmi::EventsConfigurationResponse_Reason> : ::std::true_type {}; |
| 4820 | template <> |
| 4821 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::EventsConfigurationResponse_Reason>() { |
| 4822 | return ::dmi::EventsConfigurationResponse_Reason_descriptor(); |
| 4823 | } |
| Amit Ghosh | d0151a3 | 2025-10-03 10:53:14 +0200 | [diff] [blame^] | 4824 | template <> struct is_proto_enum< ::dmi::GenericEventInfo_EventSeverity> : ::std::true_type {}; |
| 4825 | template <> |
| 4826 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::GenericEventInfo_EventSeverity>() { |
| 4827 | return ::dmi::GenericEventInfo_EventSeverity_descriptor(); |
| 4828 | } |
| Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 4829 | template <> struct is_proto_enum< ::dmi::EventIds> : ::std::true_type {}; |
| 4830 | template <> |
| 4831 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::EventIds>() { |
| 4832 | return ::dmi::EventIds_descriptor(); |
| 4833 | } |
| 4834 | |
| 4835 | } // namespace protobuf |
| 4836 | } // namespace google |
| 4837 | |
| 4838 | // @@protoc_insertion_point(global_scope) |
| 4839 | |
| 4840 | #include <google/protobuf/port_undef.inc> |
| 4841 | #endif // PROTOBUF_INCLUDED_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto |