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