blob: caacf2806b7bdff1330b7be5d31351010d8a9e4c [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);
49 static const ::google::protobuf::internal::ParseTable schema[11]
50 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
51 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
52 static const ::google::protobuf::internal::SerializationTable serialization_table[];
53 static const ::google::protobuf::uint32 offsets[];
54};
55void AddDescriptors_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto();
56namespace dmi {
57class Event;
58class EventDefaultTypeInternal;
59extern EventDefaultTypeInternal _Event_default_instance_;
60class EventCfg;
61class EventCfgDefaultTypeInternal;
62extern EventCfgDefaultTypeInternal _EventCfg_default_instance_;
63class EventMetaData;
64class EventMetaDataDefaultTypeInternal;
65extern EventMetaDataDefaultTypeInternal _EventMetaData_default_instance_;
66class EventsCfg;
67class EventsCfgDefaultTypeInternal;
68extern EventsCfgDefaultTypeInternal _EventsCfg_default_instance_;
69class EventsConfigurationRequest;
70class EventsConfigurationRequestDefaultTypeInternal;
71extern EventsConfigurationRequestDefaultTypeInternal _EventsConfigurationRequest_default_instance_;
72class EventsConfigurationResponse;
73class EventsConfigurationResponseDefaultTypeInternal;
74extern EventsConfigurationResponseDefaultTypeInternal _EventsConfigurationResponse_default_instance_;
75class ListEventsResponse;
76class ListEventsResponseDefaultTypeInternal;
77extern ListEventsResponseDefaultTypeInternal _ListEventsResponse_default_instance_;
78class ThresholdInformation;
79class ThresholdInformationDefaultTypeInternal;
80extern ThresholdInformationDefaultTypeInternal _ThresholdInformation_default_instance_;
81class Thresholds;
82class ThresholdsDefaultTypeInternal;
83extern ThresholdsDefaultTypeInternal _Thresholds_default_instance_;
84class ValueType;
85class ValueTypeDefaultTypeInternal;
86extern ValueTypeDefaultTypeInternal _ValueType_default_instance_;
87class WaterMarks;
88class WaterMarksDefaultTypeInternal;
89extern WaterMarksDefaultTypeInternal _WaterMarks_default_instance_;
90} // namespace dmi
91namespace google {
92namespace protobuf {
93template<> ::dmi::Event* Arena::CreateMaybeMessage<::dmi::Event>(Arena*);
94template<> ::dmi::EventCfg* Arena::CreateMaybeMessage<::dmi::EventCfg>(Arena*);
95template<> ::dmi::EventMetaData* Arena::CreateMaybeMessage<::dmi::EventMetaData>(Arena*);
96template<> ::dmi::EventsCfg* Arena::CreateMaybeMessage<::dmi::EventsCfg>(Arena*);
97template<> ::dmi::EventsConfigurationRequest* Arena::CreateMaybeMessage<::dmi::EventsConfigurationRequest>(Arena*);
98template<> ::dmi::EventsConfigurationResponse* Arena::CreateMaybeMessage<::dmi::EventsConfigurationResponse>(Arena*);
99template<> ::dmi::ListEventsResponse* Arena::CreateMaybeMessage<::dmi::ListEventsResponse>(Arena*);
100template<> ::dmi::ThresholdInformation* Arena::CreateMaybeMessage<::dmi::ThresholdInformation>(Arena*);
101template<> ::dmi::Thresholds* Arena::CreateMaybeMessage<::dmi::Thresholds>(Arena*);
102template<> ::dmi::ValueType* Arena::CreateMaybeMessage<::dmi::ValueType>(Arena*);
103template<> ::dmi::WaterMarks* Arena::CreateMaybeMessage<::dmi::WaterMarks>(Arena*);
104} // namespace protobuf
105} // namespace google
106namespace dmi {
107
108enum ListEventsResponse_Reason {
109 ListEventsResponse_Reason_UNDEFINED_REASON = 0,
110 ListEventsResponse_Reason_UNKNOWN_DEVICE = 1,
111 ListEventsResponse_Reason_INTERNAL_ERROR = 2,
112 ListEventsResponse_Reason_DEVICE_UNREACHABLE = 3,
113 ListEventsResponse_Reason_ListEventsResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(),
114 ListEventsResponse_Reason_ListEventsResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max()
115};
116bool ListEventsResponse_Reason_IsValid(int value);
117const ListEventsResponse_Reason ListEventsResponse_Reason_Reason_MIN = ListEventsResponse_Reason_UNDEFINED_REASON;
118const ListEventsResponse_Reason ListEventsResponse_Reason_Reason_MAX = ListEventsResponse_Reason_DEVICE_UNREACHABLE;
119const int ListEventsResponse_Reason_Reason_ARRAYSIZE = ListEventsResponse_Reason_Reason_MAX + 1;
120
121const ::google::protobuf::EnumDescriptor* ListEventsResponse_Reason_descriptor();
122inline const ::std::string& ListEventsResponse_Reason_Name(ListEventsResponse_Reason value) {
123 return ::google::protobuf::internal::NameOfEnum(
124 ListEventsResponse_Reason_descriptor(), value);
125}
126inline bool ListEventsResponse_Reason_Parse(
127 const ::std::string& name, ListEventsResponse_Reason* value) {
128 return ::google::protobuf::internal::ParseNamedEnum<ListEventsResponse_Reason>(
129 ListEventsResponse_Reason_descriptor(), name, value);
130}
131enum EventsConfigurationResponse_Reason {
132 EventsConfigurationResponse_Reason_UNDEFINED_REASON = 0,
133 EventsConfigurationResponse_Reason_UNKNOWN_DEVICE = 1,
134 EventsConfigurationResponse_Reason_INTERNAL_ERROR = 2,
135 EventsConfigurationResponse_Reason_INVALID_CONFIG = 3,
136 EventsConfigurationResponse_Reason_DEVICE_UNREACHABLE = 4,
137 EventsConfigurationResponse_Reason_EventsConfigurationResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(),
138 EventsConfigurationResponse_Reason_EventsConfigurationResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max()
139};
140bool EventsConfigurationResponse_Reason_IsValid(int value);
141const EventsConfigurationResponse_Reason EventsConfigurationResponse_Reason_Reason_MIN = EventsConfigurationResponse_Reason_UNDEFINED_REASON;
142const EventsConfigurationResponse_Reason EventsConfigurationResponse_Reason_Reason_MAX = EventsConfigurationResponse_Reason_DEVICE_UNREACHABLE;
143const int EventsConfigurationResponse_Reason_Reason_ARRAYSIZE = EventsConfigurationResponse_Reason_Reason_MAX + 1;
144
145const ::google::protobuf::EnumDescriptor* EventsConfigurationResponse_Reason_descriptor();
146inline const ::std::string& EventsConfigurationResponse_Reason_Name(EventsConfigurationResponse_Reason value) {
147 return ::google::protobuf::internal::NameOfEnum(
148 EventsConfigurationResponse_Reason_descriptor(), value);
149}
150inline bool EventsConfigurationResponse_Reason_Parse(
151 const ::std::string& name, EventsConfigurationResponse_Reason* value) {
152 return ::google::protobuf::internal::ParseNamedEnum<EventsConfigurationResponse_Reason>(
153 EventsConfigurationResponse_Reason_descriptor(), name, value);
154}
155enum EventIds {
156 EVENT_NAME_UNDEFINED = 0,
157 EVENT_TRANSCEIVER_PLUG_OUT = 100,
158 EVENT_TRANSCEIVER_PLUG_IN = 101,
159 EVENT_TRANSCEIVER_VOLTAGE_ABOVE_THRESHOLD = 102,
160 EVENT_TRANSCEIVER_VOLTAGE_BELOW_THRESHOLD = 103,
161 EVENT_TRANSCEIVER_TEMPERATURE_ABOVE_THRESHOLD = 104,
162 EVENT_TRANSCEIVER_TEMPERATURE_BELOW_THRESHOLD = 105,
163 EVENT_TRANSCEIVER_CURRENT_ABOVE_THRESHOLD = 106,
164 EVENT_TRANSCEIVER_CURRENT_BELOW_THRESHOLD = 107,
165 EVENT_TRANSCEIVER_RX_POWER_ABOVE_THRESHOLD = 108,
166 EVENT_TRANSCEIVER_RX_POWER_BELOW_THRESHOLD = 109,
167 EVENT_TRANSCEIVER_TX_POWER_ABOVE_THRESHOLD = 110,
168 EVENT_TRANSCEIVER_TX_POWER_BELOW_THRESHOLD = 111,
169 EVENT_TRANSCEIVER_FAILURE = 112,
170 EVENT_TRANSCEIVER_VOLTAGE_ABOVE_THRESHOLD_RECOVERED = 113,
171 EVENT_TRANSCEIVER_VOLTAGE_BELOW_THRESHOLD_RECOVERED = 114,
172 EVENT_TRANSCEIVER_TEMPERATURE_ABOVE_THRESHOLD_RECOVERED = 115,
173 EVENT_TRANSCEIVER_TEMPERATURE_BELOW_THRESHOLD_RECOVERED = 116,
174 EVENT_TRANSCEIVER_CURRENT_ABOVE_THRESHOLD_RECOVERED = 117,
175 EVENT_TRANSCEIVER_CURRENT_BELOW_THRESHOLD_RECOVERED = 118,
176 EVENT_TRANSCEIVER_RX_POWER_ABOVE_THRESHOLD_RECOVERED = 119,
177 EVENT_TRANSCEIVER_RX_POWER_BELOW_THRESHOLD_RECOVERED = 120,
178 EVENT_TRANSCEIVER_TX_POWER_ABOVE_THRESHOLD_RECOVERED = 121,
179 EVENT_TRANSCEIVER_TX_POWER_BELOW_THRESHOLD_RECOVERED = 122,
180 EVENT_TRANSCEIVER_FAILURE_RECOVERED = 123,
181 EVENT_PSU_PLUG_OUT = 200,
182 EVENT_PSU_PLUG_IN = 201,
183 EVENT_PSU_FAILURE = 202,
184 EVENT_PSU_FAILURE_RECOVERED = 203,
185 EVENT_FAN_FAILURE = 300,
186 EVENT_FAN_PLUG_OUT = 301,
187 EVENT_FAN_PLUG_IN = 302,
188 EVENT_FAN_FAILURE_RECOVERED = 303,
189 EVENT_CPU_TEMPERATURE_ABOVE_CRITICAL = 400,
190 EVENT_CPU_TEMPERATURE_ABOVE_FATAL = 401,
191 EVENT_CPU_TEMPERATURE_ABOVE_CRITICAL_RECOVERED = 402,
192 EVENT_CPU_TEMPERATURE_ABOVE_FATAL_RECOVERED = 403,
193 EVENT_HW_DEVICE_RESET = 500,
194 EVENT_HW_DEVICE_TEMPERATURE_ABOVE_CRITICAL = 501,
195 EVENT_HW_DEVICE_TEMPERATURE_ABOVE_FATAL = 502,
196 EVENT_HW_DEVICE_TEMPERATURE_ABOVE_CRITICAL_RECOVERED = 503,
197 EVENT_HW_DEVICE_TEMPERATURE_ABOVE_FATAL_RECOVERED = 504,
Chandrakanth Nalkudre Gowda2f6066c2021-05-13 12:36:32 +0530198 EVENT_HW_DEVICE_REBOOT = 505,
amit.ghosh8fe610f2022-01-14 17:44:53 +0100199 EVENT_HW_TEMPERATURE_SENSOR_FAILED = 506,
200 EVENT_HW_ALL_TEMPERATURE_SENSORS_FAILED = 507,
amit.ghoshc0c3c242022-03-16 11:00:27 +0100201 EVENT_LINE_CARD_PLUG_OUT = 600,
202 EVENT_LINE_CARD_PLUG_IN = 601,
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +0530203 EventIds_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(),
204 EventIds_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max()
205};
206bool EventIds_IsValid(int value);
207const EventIds EventIds_MIN = EVENT_NAME_UNDEFINED;
amit.ghoshc0c3c242022-03-16 11:00:27 +0100208const EventIds EventIds_MAX = EVENT_LINE_CARD_PLUG_IN;
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +0530209const int EventIds_ARRAYSIZE = EventIds_MAX + 1;
210
211const ::google::protobuf::EnumDescriptor* EventIds_descriptor();
212inline const ::std::string& EventIds_Name(EventIds value) {
213 return ::google::protobuf::internal::NameOfEnum(
214 EventIds_descriptor(), value);
215}
216inline bool EventIds_Parse(
217 const ::std::string& name, EventIds* value) {
218 return ::google::protobuf::internal::ParseNamedEnum<EventIds>(
219 EventIds_descriptor(), name, value);
220}
221// ===================================================================
222
223class ValueType final :
224 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.ValueType) */ {
225 public:
226 ValueType();
227 virtual ~ValueType();
228
229 ValueType(const ValueType& from);
230
231 inline ValueType& operator=(const ValueType& from) {
232 CopyFrom(from);
233 return *this;
234 }
235 #if LANG_CXX11
236 ValueType(ValueType&& from) noexcept
237 : ValueType() {
238 *this = ::std::move(from);
239 }
240
241 inline ValueType& operator=(ValueType&& from) noexcept {
242 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
243 if (this != &from) InternalSwap(&from);
244 } else {
245 CopyFrom(from);
246 }
247 return *this;
248 }
249 #endif
250 static const ::google::protobuf::Descriptor* descriptor() {
251 return default_instance().GetDescriptor();
252 }
253 static const ValueType& default_instance();
254
255 enum ValCase {
256 kIntVal = 1,
257 kUintVal = 2,
258 kFloatVal = 3,
259 VAL_NOT_SET = 0,
260 };
261
262 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
263 static inline const ValueType* internal_default_instance() {
264 return reinterpret_cast<const ValueType*>(
265 &_ValueType_default_instance_);
266 }
267 static constexpr int kIndexInFileMessages =
268 0;
269
270 void Swap(ValueType* other);
271 friend void swap(ValueType& a, ValueType& b) {
272 a.Swap(&b);
273 }
274
275 // implements Message ----------------------------------------------
276
277 inline ValueType* New() const final {
278 return CreateMaybeMessage<ValueType>(nullptr);
279 }
280
281 ValueType* New(::google::protobuf::Arena* arena) const final {
282 return CreateMaybeMessage<ValueType>(arena);
283 }
284 void CopyFrom(const ::google::protobuf::Message& from) final;
285 void MergeFrom(const ::google::protobuf::Message& from) final;
286 void CopyFrom(const ValueType& from);
287 void MergeFrom(const ValueType& from);
288 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
289 bool IsInitialized() const final;
290
291 size_t ByteSizeLong() const final;
292 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
293 static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
294 ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
295 #else
296 bool MergePartialFromCodedStream(
297 ::google::protobuf::io::CodedInputStream* input) final;
298 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
299 void SerializeWithCachedSizes(
300 ::google::protobuf::io::CodedOutputStream* output) const final;
301 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
302 ::google::protobuf::uint8* target) const final;
303 int GetCachedSize() const final { return _cached_size_.Get(); }
304
305 private:
306 void SharedCtor();
307 void SharedDtor();
308 void SetCachedSize(int size) const final;
309 void InternalSwap(ValueType* other);
310 private:
311 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
312 return nullptr;
313 }
314 inline void* MaybeArenaPtr() const {
315 return nullptr;
316 }
317 public:
318
319 ::google::protobuf::Metadata GetMetadata() const final;
320
321 // nested types ----------------------------------------------------
322
323 // accessors -------------------------------------------------------
324
amit.ghosh93921ec2022-09-08 17:22:40 +0200325 // .dmi.DataValueType typeOfVal = 4;
326 void clear_typeofval();
327 static const int kTypeOfValFieldNumber = 4;
328 ::dmi::DataValueType typeofval() const;
329 void set_typeofval(::dmi::DataValueType value);
330
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +0530331 // int64 int_val = 1;
332 private:
333 bool has_int_val() const;
334 public:
335 void clear_int_val();
336 static const int kIntValFieldNumber = 1;
337 ::google::protobuf::int64 int_val() const;
338 void set_int_val(::google::protobuf::int64 value);
339
340 // uint64 uint_val = 2;
341 private:
342 bool has_uint_val() const;
343 public:
344 void clear_uint_val();
345 static const int kUintValFieldNumber = 2;
346 ::google::protobuf::uint64 uint_val() const;
347 void set_uint_val(::google::protobuf::uint64 value);
348
349 // float float_val = 3;
350 private:
351 bool has_float_val() const;
352 public:
353 void clear_float_val();
354 static const int kFloatValFieldNumber = 3;
355 float float_val() const;
356 void set_float_val(float value);
357
358 void clear_val();
359 ValCase val_case() const;
360 // @@protoc_insertion_point(class_scope:dmi.ValueType)
361 private:
362 class HasBitSetters;
363 void set_has_int_val();
364 void set_has_uint_val();
365 void set_has_float_val();
366
367 inline bool has_val() const;
368 inline void clear_has_val();
369
370 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
amit.ghosh93921ec2022-09-08 17:22:40 +0200371 int typeofval_;
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +0530372 union ValUnion {
373 ValUnion() {}
374 ::google::protobuf::int64 int_val_;
375 ::google::protobuf::uint64 uint_val_;
376 float float_val_;
377 } val_;
378 mutable ::google::protobuf::internal::CachedSize _cached_size_;
379 ::google::protobuf::uint32 _oneof_case_[1];
380
381 friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto;
382};
383// -------------------------------------------------------------------
384
385class WaterMarks final :
386 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.WaterMarks) */ {
387 public:
388 WaterMarks();
389 virtual ~WaterMarks();
390
391 WaterMarks(const WaterMarks& from);
392
393 inline WaterMarks& operator=(const WaterMarks& from) {
394 CopyFrom(from);
395 return *this;
396 }
397 #if LANG_CXX11
398 WaterMarks(WaterMarks&& from) noexcept
399 : WaterMarks() {
400 *this = ::std::move(from);
401 }
402
403 inline WaterMarks& operator=(WaterMarks&& from) noexcept {
404 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
405 if (this != &from) InternalSwap(&from);
406 } else {
407 CopyFrom(from);
408 }
409 return *this;
410 }
411 #endif
412 static const ::google::protobuf::Descriptor* descriptor() {
413 return default_instance().GetDescriptor();
414 }
415 static const WaterMarks& default_instance();
416
417 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
418 static inline const WaterMarks* internal_default_instance() {
419 return reinterpret_cast<const WaterMarks*>(
420 &_WaterMarks_default_instance_);
421 }
422 static constexpr int kIndexInFileMessages =
423 1;
424
425 void Swap(WaterMarks* other);
426 friend void swap(WaterMarks& a, WaterMarks& b) {
427 a.Swap(&b);
428 }
429
430 // implements Message ----------------------------------------------
431
432 inline WaterMarks* New() const final {
433 return CreateMaybeMessage<WaterMarks>(nullptr);
434 }
435
436 WaterMarks* New(::google::protobuf::Arena* arena) const final {
437 return CreateMaybeMessage<WaterMarks>(arena);
438 }
439 void CopyFrom(const ::google::protobuf::Message& from) final;
440 void MergeFrom(const ::google::protobuf::Message& from) final;
441 void CopyFrom(const WaterMarks& from);
442 void MergeFrom(const WaterMarks& from);
443 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
444 bool IsInitialized() const final;
445
446 size_t ByteSizeLong() const final;
447 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
448 static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
449 ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
450 #else
451 bool MergePartialFromCodedStream(
452 ::google::protobuf::io::CodedInputStream* input) final;
453 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
454 void SerializeWithCachedSizes(
455 ::google::protobuf::io::CodedOutputStream* output) const final;
456 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
457 ::google::protobuf::uint8* target) const final;
458 int GetCachedSize() const final { return _cached_size_.Get(); }
459
460 private:
461 void SharedCtor();
462 void SharedDtor();
463 void SetCachedSize(int size) const final;
464 void InternalSwap(WaterMarks* other);
465 private:
466 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
467 return nullptr;
468 }
469 inline void* MaybeArenaPtr() const {
470 return nullptr;
471 }
472 public:
473
474 ::google::protobuf::Metadata GetMetadata() const final;
475
476 // nested types ----------------------------------------------------
477
478 // accessors -------------------------------------------------------
479
480 // .dmi.ValueType high = 1;
481 bool has_high() const;
482 void clear_high();
483 static const int kHighFieldNumber = 1;
484 const ::dmi::ValueType& high() const;
485 ::dmi::ValueType* release_high();
486 ::dmi::ValueType* mutable_high();
487 void set_allocated_high(::dmi::ValueType* high);
488
489 // .dmi.ValueType low = 2;
490 bool has_low() const;
491 void clear_low();
492 static const int kLowFieldNumber = 2;
493 const ::dmi::ValueType& low() const;
494 ::dmi::ValueType* release_low();
495 ::dmi::ValueType* mutable_low();
496 void set_allocated_low(::dmi::ValueType* low);
497
498 // @@protoc_insertion_point(class_scope:dmi.WaterMarks)
499 private:
500 class HasBitSetters;
501
502 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
503 ::dmi::ValueType* high_;
504 ::dmi::ValueType* low_;
505 mutable ::google::protobuf::internal::CachedSize _cached_size_;
506 friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto;
507};
508// -------------------------------------------------------------------
509
510class Thresholds final :
511 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.Thresholds) */ {
512 public:
513 Thresholds();
514 virtual ~Thresholds();
515
516 Thresholds(const Thresholds& from);
517
518 inline Thresholds& operator=(const Thresholds& from) {
519 CopyFrom(from);
520 return *this;
521 }
522 #if LANG_CXX11
523 Thresholds(Thresholds&& from) noexcept
524 : Thresholds() {
525 *this = ::std::move(from);
526 }
527
528 inline Thresholds& operator=(Thresholds&& from) noexcept {
529 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
530 if (this != &from) InternalSwap(&from);
531 } else {
532 CopyFrom(from);
533 }
534 return *this;
535 }
536 #endif
537 static const ::google::protobuf::Descriptor* descriptor() {
538 return default_instance().GetDescriptor();
539 }
540 static const Thresholds& default_instance();
541
542 enum ThresholdCase {
543 kUpper = 1,
544 kLower = 2,
545 THRESHOLD_NOT_SET = 0,
546 };
547
548 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
549 static inline const Thresholds* internal_default_instance() {
550 return reinterpret_cast<const Thresholds*>(
551 &_Thresholds_default_instance_);
552 }
553 static constexpr int kIndexInFileMessages =
554 2;
555
556 void Swap(Thresholds* other);
557 friend void swap(Thresholds& a, Thresholds& b) {
558 a.Swap(&b);
559 }
560
561 // implements Message ----------------------------------------------
562
563 inline Thresholds* New() const final {
564 return CreateMaybeMessage<Thresholds>(nullptr);
565 }
566
567 Thresholds* New(::google::protobuf::Arena* arena) const final {
568 return CreateMaybeMessage<Thresholds>(arena);
569 }
570 void CopyFrom(const ::google::protobuf::Message& from) final;
571 void MergeFrom(const ::google::protobuf::Message& from) final;
572 void CopyFrom(const Thresholds& from);
573 void MergeFrom(const Thresholds& from);
574 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
575 bool IsInitialized() const final;
576
577 size_t ByteSizeLong() const final;
578 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
579 static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
580 ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
581 #else
582 bool MergePartialFromCodedStream(
583 ::google::protobuf::io::CodedInputStream* input) final;
584 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
585 void SerializeWithCachedSizes(
586 ::google::protobuf::io::CodedOutputStream* output) const final;
587 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
588 ::google::protobuf::uint8* target) const final;
589 int GetCachedSize() const final { return _cached_size_.Get(); }
590
591 private:
592 void SharedCtor();
593 void SharedDtor();
594 void SetCachedSize(int size) const final;
595 void InternalSwap(Thresholds* other);
596 private:
597 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
598 return nullptr;
599 }
600 inline void* MaybeArenaPtr() const {
601 return nullptr;
602 }
603 public:
604
605 ::google::protobuf::Metadata GetMetadata() const final;
606
607 // nested types ----------------------------------------------------
608
609 // accessors -------------------------------------------------------
610
611 // .dmi.WaterMarks upper = 1;
612 bool has_upper() const;
613 void clear_upper();
614 static const int kUpperFieldNumber = 1;
615 const ::dmi::WaterMarks& upper() const;
616 ::dmi::WaterMarks* release_upper();
617 ::dmi::WaterMarks* mutable_upper();
618 void set_allocated_upper(::dmi::WaterMarks* upper);
619
620 // .dmi.WaterMarks lower = 2;
621 bool has_lower() const;
622 void clear_lower();
623 static const int kLowerFieldNumber = 2;
624 const ::dmi::WaterMarks& lower() const;
625 ::dmi::WaterMarks* release_lower();
626 ::dmi::WaterMarks* mutable_lower();
627 void set_allocated_lower(::dmi::WaterMarks* lower);
628
629 void clear_threshold();
630 ThresholdCase threshold_case() const;
631 // @@protoc_insertion_point(class_scope:dmi.Thresholds)
632 private:
633 class HasBitSetters;
634 void set_has_upper();
635 void set_has_lower();
636
637 inline bool has_threshold() const;
638 inline void clear_has_threshold();
639
640 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
641 union ThresholdUnion {
642 ThresholdUnion() {}
643 ::dmi::WaterMarks* upper_;
644 ::dmi::WaterMarks* lower_;
645 } threshold_;
646 mutable ::google::protobuf::internal::CachedSize _cached_size_;
647 ::google::protobuf::uint32 _oneof_case_[1];
648
649 friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto;
650};
651// -------------------------------------------------------------------
652
653class ThresholdInformation final :
654 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.ThresholdInformation) */ {
655 public:
656 ThresholdInformation();
657 virtual ~ThresholdInformation();
658
659 ThresholdInformation(const ThresholdInformation& from);
660
661 inline ThresholdInformation& operator=(const ThresholdInformation& from) {
662 CopyFrom(from);
663 return *this;
664 }
665 #if LANG_CXX11
666 ThresholdInformation(ThresholdInformation&& from) noexcept
667 : ThresholdInformation() {
668 *this = ::std::move(from);
669 }
670
671 inline ThresholdInformation& operator=(ThresholdInformation&& from) noexcept {
672 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
673 if (this != &from) InternalSwap(&from);
674 } else {
675 CopyFrom(from);
676 }
677 return *this;
678 }
679 #endif
680 static const ::google::protobuf::Descriptor* descriptor() {
681 return default_instance().GetDescriptor();
682 }
683 static const ThresholdInformation& default_instance();
684
685 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
686 static inline const ThresholdInformation* internal_default_instance() {
687 return reinterpret_cast<const ThresholdInformation*>(
688 &_ThresholdInformation_default_instance_);
689 }
690 static constexpr int kIndexInFileMessages =
691 3;
692
693 void Swap(ThresholdInformation* other);
694 friend void swap(ThresholdInformation& a, ThresholdInformation& b) {
695 a.Swap(&b);
696 }
697
698 // implements Message ----------------------------------------------
699
700 inline ThresholdInformation* New() const final {
701 return CreateMaybeMessage<ThresholdInformation>(nullptr);
702 }
703
704 ThresholdInformation* New(::google::protobuf::Arena* arena) const final {
705 return CreateMaybeMessage<ThresholdInformation>(arena);
706 }
707 void CopyFrom(const ::google::protobuf::Message& from) final;
708 void MergeFrom(const ::google::protobuf::Message& from) final;
709 void CopyFrom(const ThresholdInformation& from);
710 void MergeFrom(const ThresholdInformation& from);
711 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
712 bool IsInitialized() const final;
713
714 size_t ByteSizeLong() const final;
715 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
716 static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
717 ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
718 #else
719 bool MergePartialFromCodedStream(
720 ::google::protobuf::io::CodedInputStream* input) final;
721 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
722 void SerializeWithCachedSizes(
723 ::google::protobuf::io::CodedOutputStream* output) const final;
724 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
725 ::google::protobuf::uint8* target) const final;
726 int GetCachedSize() const final { return _cached_size_.Get(); }
727
728 private:
729 void SharedCtor();
730 void SharedDtor();
731 void SetCachedSize(int size) const final;
732 void InternalSwap(ThresholdInformation* other);
733 private:
734 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
735 return nullptr;
736 }
737 inline void* MaybeArenaPtr() const {
738 return nullptr;
739 }
740 public:
741
742 ::google::protobuf::Metadata GetMetadata() const final;
743
744 // nested types ----------------------------------------------------
745
746 // accessors -------------------------------------------------------
747
748 // .dmi.ValueType observed_value = 1;
749 bool has_observed_value() const;
750 void clear_observed_value();
751 static const int kObservedValueFieldNumber = 1;
752 const ::dmi::ValueType& observed_value() const;
753 ::dmi::ValueType* release_observed_value();
754 ::dmi::ValueType* mutable_observed_value();
755 void set_allocated_observed_value(::dmi::ValueType* observed_value);
756
757 // .dmi.Thresholds thresholds = 2;
758 bool has_thresholds() const;
759 void clear_thresholds();
760 static const int kThresholdsFieldNumber = 2;
761 const ::dmi::Thresholds& thresholds() const;
762 ::dmi::Thresholds* release_thresholds();
763 ::dmi::Thresholds* mutable_thresholds();
764 void set_allocated_thresholds(::dmi::Thresholds* thresholds);
765
766 // @@protoc_insertion_point(class_scope:dmi.ThresholdInformation)
767 private:
768 class HasBitSetters;
769
770 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
771 ::dmi::ValueType* observed_value_;
772 ::dmi::Thresholds* thresholds_;
773 mutable ::google::protobuf::internal::CachedSize _cached_size_;
774 friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto;
775};
776// -------------------------------------------------------------------
777
778class EventCfg final :
779 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.EventCfg) */ {
780 public:
781 EventCfg();
782 virtual ~EventCfg();
783
784 EventCfg(const EventCfg& from);
785
786 inline EventCfg& operator=(const EventCfg& from) {
787 CopyFrom(from);
788 return *this;
789 }
790 #if LANG_CXX11
791 EventCfg(EventCfg&& from) noexcept
792 : EventCfg() {
793 *this = ::std::move(from);
794 }
795
796 inline EventCfg& operator=(EventCfg&& from) noexcept {
797 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
798 if (this != &from) InternalSwap(&from);
799 } else {
800 CopyFrom(from);
801 }
802 return *this;
803 }
804 #endif
805 static const ::google::protobuf::Descriptor* descriptor() {
806 return default_instance().GetDescriptor();
807 }
808 static const EventCfg& default_instance();
809
810 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
811 static inline const EventCfg* internal_default_instance() {
812 return reinterpret_cast<const EventCfg*>(
813 &_EventCfg_default_instance_);
814 }
815 static constexpr int kIndexInFileMessages =
816 4;
817
818 void Swap(EventCfg* other);
819 friend void swap(EventCfg& a, EventCfg& b) {
820 a.Swap(&b);
821 }
822
823 // implements Message ----------------------------------------------
824
825 inline EventCfg* New() const final {
826 return CreateMaybeMessage<EventCfg>(nullptr);
827 }
828
829 EventCfg* New(::google::protobuf::Arena* arena) const final {
830 return CreateMaybeMessage<EventCfg>(arena);
831 }
832 void CopyFrom(const ::google::protobuf::Message& from) final;
833 void MergeFrom(const ::google::protobuf::Message& from) final;
834 void CopyFrom(const EventCfg& from);
835 void MergeFrom(const EventCfg& from);
836 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
837 bool IsInitialized() const final;
838
839 size_t ByteSizeLong() const final;
840 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
841 static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
842 ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
843 #else
844 bool MergePartialFromCodedStream(
845 ::google::protobuf::io::CodedInputStream* input) final;
846 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
847 void SerializeWithCachedSizes(
848 ::google::protobuf::io::CodedOutputStream* output) const final;
849 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
850 ::google::protobuf::uint8* target) const final;
851 int GetCachedSize() const final { return _cached_size_.Get(); }
852
853 private:
854 void SharedCtor();
855 void SharedDtor();
856 void SetCachedSize(int size) const final;
857 void InternalSwap(EventCfg* other);
858 private:
859 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
860 return nullptr;
861 }
862 inline void* MaybeArenaPtr() const {
863 return nullptr;
864 }
865 public:
866
867 ::google::protobuf::Metadata GetMetadata() const final;
868
869 // nested types ----------------------------------------------------
870
871 // accessors -------------------------------------------------------
872
873 // .dmi.Thresholds thresholds = 3;
874 bool has_thresholds() const;
875 void clear_thresholds();
876 static const int kThresholdsFieldNumber = 3;
877 const ::dmi::Thresholds& thresholds() const;
878 ::dmi::Thresholds* release_thresholds();
879 ::dmi::Thresholds* mutable_thresholds();
880 void set_allocated_thresholds(::dmi::Thresholds* thresholds);
881
amit.ghosh7a093bd2023-03-07 16:31:56 +0100882 // .dmi.Uuid component_uuid = 4;
883 bool has_component_uuid() const;
884 void clear_component_uuid();
885 static const int kComponentUuidFieldNumber = 4;
886 const ::dmi::Uuid& component_uuid() const;
887 ::dmi::Uuid* release_component_uuid();
888 ::dmi::Uuid* mutable_component_uuid();
889 void set_allocated_component_uuid(::dmi::Uuid* component_uuid);
890
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +0530891 // .dmi.EventIds event_id = 1;
892 void clear_event_id();
893 static const int kEventIdFieldNumber = 1;
894 ::dmi::EventIds event_id() const;
895 void set_event_id(::dmi::EventIds value);
896
897 // bool is_configured = 2;
898 void clear_is_configured();
899 static const int kIsConfiguredFieldNumber = 2;
900 bool is_configured() const;
901 void set_is_configured(bool value);
902
903 // @@protoc_insertion_point(class_scope:dmi.EventCfg)
904 private:
905 class HasBitSetters;
906
907 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
908 ::dmi::Thresholds* thresholds_;
amit.ghosh7a093bd2023-03-07 16:31:56 +0100909 ::dmi::Uuid* component_uuid_;
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +0530910 int event_id_;
911 bool is_configured_;
912 mutable ::google::protobuf::internal::CachedSize _cached_size_;
913 friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto;
914};
915// -------------------------------------------------------------------
916
917class EventsCfg final :
918 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.EventsCfg) */ {
919 public:
920 EventsCfg();
921 virtual ~EventsCfg();
922
923 EventsCfg(const EventsCfg& from);
924
925 inline EventsCfg& operator=(const EventsCfg& from) {
926 CopyFrom(from);
927 return *this;
928 }
929 #if LANG_CXX11
930 EventsCfg(EventsCfg&& from) noexcept
931 : EventsCfg() {
932 *this = ::std::move(from);
933 }
934
935 inline EventsCfg& operator=(EventsCfg&& from) noexcept {
936 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
937 if (this != &from) InternalSwap(&from);
938 } else {
939 CopyFrom(from);
940 }
941 return *this;
942 }
943 #endif
944 static const ::google::protobuf::Descriptor* descriptor() {
945 return default_instance().GetDescriptor();
946 }
947 static const EventsCfg& default_instance();
948
949 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
950 static inline const EventsCfg* internal_default_instance() {
951 return reinterpret_cast<const EventsCfg*>(
952 &_EventsCfg_default_instance_);
953 }
954 static constexpr int kIndexInFileMessages =
955 5;
956
957 void Swap(EventsCfg* other);
958 friend void swap(EventsCfg& a, EventsCfg& b) {
959 a.Swap(&b);
960 }
961
962 // implements Message ----------------------------------------------
963
964 inline EventsCfg* New() const final {
965 return CreateMaybeMessage<EventsCfg>(nullptr);
966 }
967
968 EventsCfg* New(::google::protobuf::Arena* arena) const final {
969 return CreateMaybeMessage<EventsCfg>(arena);
970 }
971 void CopyFrom(const ::google::protobuf::Message& from) final;
972 void MergeFrom(const ::google::protobuf::Message& from) final;
973 void CopyFrom(const EventsCfg& from);
974 void MergeFrom(const EventsCfg& from);
975 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
976 bool IsInitialized() const final;
977
978 size_t ByteSizeLong() const final;
979 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
980 static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
981 ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
982 #else
983 bool MergePartialFromCodedStream(
984 ::google::protobuf::io::CodedInputStream* input) final;
985 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
986 void SerializeWithCachedSizes(
987 ::google::protobuf::io::CodedOutputStream* output) const final;
988 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
989 ::google::protobuf::uint8* target) const final;
990 int GetCachedSize() const final { return _cached_size_.Get(); }
991
992 private:
993 void SharedCtor();
994 void SharedDtor();
995 void SetCachedSize(int size) const final;
996 void InternalSwap(EventsCfg* other);
997 private:
998 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
999 return nullptr;
1000 }
1001 inline void* MaybeArenaPtr() const {
1002 return nullptr;
1003 }
1004 public:
1005
1006 ::google::protobuf::Metadata GetMetadata() const final;
1007
1008 // nested types ----------------------------------------------------
1009
1010 // accessors -------------------------------------------------------
1011
1012 // repeated .dmi.EventCfg items = 1;
1013 int items_size() const;
1014 void clear_items();
1015 static const int kItemsFieldNumber = 1;
1016 ::dmi::EventCfg* mutable_items(int index);
1017 ::google::protobuf::RepeatedPtrField< ::dmi::EventCfg >*
1018 mutable_items();
1019 const ::dmi::EventCfg& items(int index) const;
1020 ::dmi::EventCfg* add_items();
1021 const ::google::protobuf::RepeatedPtrField< ::dmi::EventCfg >&
1022 items() const;
1023
1024 // @@protoc_insertion_point(class_scope:dmi.EventsCfg)
1025 private:
1026 class HasBitSetters;
1027
1028 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1029 ::google::protobuf::RepeatedPtrField< ::dmi::EventCfg > items_;
1030 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1031 friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto;
1032};
1033// -------------------------------------------------------------------
1034
1035class ListEventsResponse final :
1036 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.ListEventsResponse) */ {
1037 public:
1038 ListEventsResponse();
1039 virtual ~ListEventsResponse();
1040
1041 ListEventsResponse(const ListEventsResponse& from);
1042
1043 inline ListEventsResponse& operator=(const ListEventsResponse& from) {
1044 CopyFrom(from);
1045 return *this;
1046 }
1047 #if LANG_CXX11
1048 ListEventsResponse(ListEventsResponse&& from) noexcept
1049 : ListEventsResponse() {
1050 *this = ::std::move(from);
1051 }
1052
1053 inline ListEventsResponse& operator=(ListEventsResponse&& from) noexcept {
1054 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1055 if (this != &from) InternalSwap(&from);
1056 } else {
1057 CopyFrom(from);
1058 }
1059 return *this;
1060 }
1061 #endif
1062 static const ::google::protobuf::Descriptor* descriptor() {
1063 return default_instance().GetDescriptor();
1064 }
1065 static const ListEventsResponse& default_instance();
1066
1067 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1068 static inline const ListEventsResponse* internal_default_instance() {
1069 return reinterpret_cast<const ListEventsResponse*>(
1070 &_ListEventsResponse_default_instance_);
1071 }
1072 static constexpr int kIndexInFileMessages =
1073 6;
1074
1075 void Swap(ListEventsResponse* other);
1076 friend void swap(ListEventsResponse& a, ListEventsResponse& b) {
1077 a.Swap(&b);
1078 }
1079
1080 // implements Message ----------------------------------------------
1081
1082 inline ListEventsResponse* New() const final {
1083 return CreateMaybeMessage<ListEventsResponse>(nullptr);
1084 }
1085
1086 ListEventsResponse* New(::google::protobuf::Arena* arena) const final {
1087 return CreateMaybeMessage<ListEventsResponse>(arena);
1088 }
1089 void CopyFrom(const ::google::protobuf::Message& from) final;
1090 void MergeFrom(const ::google::protobuf::Message& from) final;
1091 void CopyFrom(const ListEventsResponse& from);
1092 void MergeFrom(const ListEventsResponse& from);
1093 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1094 bool IsInitialized() const final;
1095
1096 size_t ByteSizeLong() const final;
1097 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1098 static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
1099 ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
1100 #else
1101 bool MergePartialFromCodedStream(
1102 ::google::protobuf::io::CodedInputStream* input) final;
1103 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1104 void SerializeWithCachedSizes(
1105 ::google::protobuf::io::CodedOutputStream* output) const final;
1106 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1107 ::google::protobuf::uint8* target) const final;
1108 int GetCachedSize() const final { return _cached_size_.Get(); }
1109
1110 private:
1111 void SharedCtor();
1112 void SharedDtor();
1113 void SetCachedSize(int size) const final;
1114 void InternalSwap(ListEventsResponse* other);
1115 private:
1116 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1117 return nullptr;
1118 }
1119 inline void* MaybeArenaPtr() const {
1120 return nullptr;
1121 }
1122 public:
1123
1124 ::google::protobuf::Metadata GetMetadata() const final;
1125
1126 // nested types ----------------------------------------------------
1127
1128 typedef ListEventsResponse_Reason Reason;
1129 static const Reason UNDEFINED_REASON =
1130 ListEventsResponse_Reason_UNDEFINED_REASON;
1131 static const Reason UNKNOWN_DEVICE =
1132 ListEventsResponse_Reason_UNKNOWN_DEVICE;
1133 static const Reason INTERNAL_ERROR =
1134 ListEventsResponse_Reason_INTERNAL_ERROR;
1135 static const Reason DEVICE_UNREACHABLE =
1136 ListEventsResponse_Reason_DEVICE_UNREACHABLE;
1137 static inline bool Reason_IsValid(int value) {
1138 return ListEventsResponse_Reason_IsValid(value);
1139 }
1140 static const Reason Reason_MIN =
1141 ListEventsResponse_Reason_Reason_MIN;
1142 static const Reason Reason_MAX =
1143 ListEventsResponse_Reason_Reason_MAX;
1144 static const int Reason_ARRAYSIZE =
1145 ListEventsResponse_Reason_Reason_ARRAYSIZE;
1146 static inline const ::google::protobuf::EnumDescriptor*
1147 Reason_descriptor() {
1148 return ListEventsResponse_Reason_descriptor();
1149 }
1150 static inline const ::std::string& Reason_Name(Reason value) {
1151 return ListEventsResponse_Reason_Name(value);
1152 }
1153 static inline bool Reason_Parse(const ::std::string& name,
1154 Reason* value) {
1155 return ListEventsResponse_Reason_Parse(name, value);
1156 }
1157
1158 // accessors -------------------------------------------------------
1159
1160 // string reason_detail = 4;
1161 void clear_reason_detail();
1162 static const int kReasonDetailFieldNumber = 4;
1163 const ::std::string& reason_detail() const;
1164 void set_reason_detail(const ::std::string& value);
1165 #if LANG_CXX11
1166 void set_reason_detail(::std::string&& value);
1167 #endif
1168 void set_reason_detail(const char* value);
1169 void set_reason_detail(const char* value, size_t size);
1170 ::std::string* mutable_reason_detail();
1171 ::std::string* release_reason_detail();
1172 void set_allocated_reason_detail(::std::string* reason_detail);
1173
1174 // .dmi.EventsCfg events = 3;
1175 bool has_events() const;
1176 void clear_events();
1177 static const int kEventsFieldNumber = 3;
1178 const ::dmi::EventsCfg& events() const;
1179 ::dmi::EventsCfg* release_events();
1180 ::dmi::EventsCfg* mutable_events();
1181 void set_allocated_events(::dmi::EventsCfg* events);
1182
1183 // .dmi.Status status = 1;
1184 void clear_status();
1185 static const int kStatusFieldNumber = 1;
1186 ::dmi::Status status() const;
1187 void set_status(::dmi::Status value);
1188
1189 // .dmi.ListEventsResponse.Reason reason = 2;
1190 void clear_reason();
1191 static const int kReasonFieldNumber = 2;
1192 ::dmi::ListEventsResponse_Reason reason() const;
1193 void set_reason(::dmi::ListEventsResponse_Reason value);
1194
1195 // @@protoc_insertion_point(class_scope:dmi.ListEventsResponse)
1196 private:
1197 class HasBitSetters;
1198
1199 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1200 ::google::protobuf::internal::ArenaStringPtr reason_detail_;
1201 ::dmi::EventsCfg* events_;
1202 int status_;
1203 int reason_;
1204 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1205 friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto;
1206};
1207// -------------------------------------------------------------------
1208
1209class EventsConfigurationRequest final :
1210 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.EventsConfigurationRequest) */ {
1211 public:
1212 EventsConfigurationRequest();
1213 virtual ~EventsConfigurationRequest();
1214
1215 EventsConfigurationRequest(const EventsConfigurationRequest& from);
1216
1217 inline EventsConfigurationRequest& operator=(const EventsConfigurationRequest& from) {
1218 CopyFrom(from);
1219 return *this;
1220 }
1221 #if LANG_CXX11
1222 EventsConfigurationRequest(EventsConfigurationRequest&& from) noexcept
1223 : EventsConfigurationRequest() {
1224 *this = ::std::move(from);
1225 }
1226
1227 inline EventsConfigurationRequest& operator=(EventsConfigurationRequest&& from) noexcept {
1228 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1229 if (this != &from) InternalSwap(&from);
1230 } else {
1231 CopyFrom(from);
1232 }
1233 return *this;
1234 }
1235 #endif
1236 static const ::google::protobuf::Descriptor* descriptor() {
1237 return default_instance().GetDescriptor();
1238 }
1239 static const EventsConfigurationRequest& default_instance();
1240
1241 enum OperationCase {
1242 kChanges = 2,
1243 kResetToDefault = 3,
1244 OPERATION_NOT_SET = 0,
1245 };
1246
1247 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1248 static inline const EventsConfigurationRequest* internal_default_instance() {
1249 return reinterpret_cast<const EventsConfigurationRequest*>(
1250 &_EventsConfigurationRequest_default_instance_);
1251 }
1252 static constexpr int kIndexInFileMessages =
1253 7;
1254
1255 void Swap(EventsConfigurationRequest* other);
1256 friend void swap(EventsConfigurationRequest& a, EventsConfigurationRequest& b) {
1257 a.Swap(&b);
1258 }
1259
1260 // implements Message ----------------------------------------------
1261
1262 inline EventsConfigurationRequest* New() const final {
1263 return CreateMaybeMessage<EventsConfigurationRequest>(nullptr);
1264 }
1265
1266 EventsConfigurationRequest* New(::google::protobuf::Arena* arena) const final {
1267 return CreateMaybeMessage<EventsConfigurationRequest>(arena);
1268 }
1269 void CopyFrom(const ::google::protobuf::Message& from) final;
1270 void MergeFrom(const ::google::protobuf::Message& from) final;
1271 void CopyFrom(const EventsConfigurationRequest& from);
1272 void MergeFrom(const EventsConfigurationRequest& from);
1273 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1274 bool IsInitialized() const final;
1275
1276 size_t ByteSizeLong() const final;
1277 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1278 static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
1279 ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
1280 #else
1281 bool MergePartialFromCodedStream(
1282 ::google::protobuf::io::CodedInputStream* input) final;
1283 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1284 void SerializeWithCachedSizes(
1285 ::google::protobuf::io::CodedOutputStream* output) const final;
1286 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1287 ::google::protobuf::uint8* target) const final;
1288 int GetCachedSize() const final { return _cached_size_.Get(); }
1289
1290 private:
1291 void SharedCtor();
1292 void SharedDtor();
1293 void SetCachedSize(int size) const final;
1294 void InternalSwap(EventsConfigurationRequest* other);
1295 private:
1296 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1297 return nullptr;
1298 }
1299 inline void* MaybeArenaPtr() const {
1300 return nullptr;
1301 }
1302 public:
1303
1304 ::google::protobuf::Metadata GetMetadata() const final;
1305
1306 // nested types ----------------------------------------------------
1307
1308 // accessors -------------------------------------------------------
1309
1310 // .dmi.Uuid device_uuid = 1;
1311 bool has_device_uuid() const;
1312 void clear_device_uuid();
1313 static const int kDeviceUuidFieldNumber = 1;
1314 const ::dmi::Uuid& device_uuid() const;
1315 ::dmi::Uuid* release_device_uuid();
1316 ::dmi::Uuid* mutable_device_uuid();
1317 void set_allocated_device_uuid(::dmi::Uuid* device_uuid);
1318
1319 // .dmi.EventsCfg changes = 2;
1320 bool has_changes() const;
1321 void clear_changes();
1322 static const int kChangesFieldNumber = 2;
1323 const ::dmi::EventsCfg& changes() const;
1324 ::dmi::EventsCfg* release_changes();
1325 ::dmi::EventsCfg* mutable_changes();
1326 void set_allocated_changes(::dmi::EventsCfg* changes);
1327
1328 // bool reset_to_default = 3;
1329 private:
1330 bool has_reset_to_default() const;
1331 public:
1332 void clear_reset_to_default();
1333 static const int kResetToDefaultFieldNumber = 3;
1334 bool reset_to_default() const;
1335 void set_reset_to_default(bool value);
1336
1337 void clear_operation();
1338 OperationCase operation_case() const;
1339 // @@protoc_insertion_point(class_scope:dmi.EventsConfigurationRequest)
1340 private:
1341 class HasBitSetters;
1342 void set_has_changes();
1343 void set_has_reset_to_default();
1344
1345 inline bool has_operation() const;
1346 inline void clear_has_operation();
1347
1348 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1349 ::dmi::Uuid* device_uuid_;
1350 union OperationUnion {
1351 OperationUnion() {}
1352 ::dmi::EventsCfg* changes_;
1353 bool reset_to_default_;
1354 } operation_;
1355 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1356 ::google::protobuf::uint32 _oneof_case_[1];
1357
1358 friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto;
1359};
1360// -------------------------------------------------------------------
1361
1362class EventsConfigurationResponse final :
1363 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.EventsConfigurationResponse) */ {
1364 public:
1365 EventsConfigurationResponse();
1366 virtual ~EventsConfigurationResponse();
1367
1368 EventsConfigurationResponse(const EventsConfigurationResponse& from);
1369
1370 inline EventsConfigurationResponse& operator=(const EventsConfigurationResponse& from) {
1371 CopyFrom(from);
1372 return *this;
1373 }
1374 #if LANG_CXX11
1375 EventsConfigurationResponse(EventsConfigurationResponse&& from) noexcept
1376 : EventsConfigurationResponse() {
1377 *this = ::std::move(from);
1378 }
1379
1380 inline EventsConfigurationResponse& operator=(EventsConfigurationResponse&& from) noexcept {
1381 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1382 if (this != &from) InternalSwap(&from);
1383 } else {
1384 CopyFrom(from);
1385 }
1386 return *this;
1387 }
1388 #endif
1389 static const ::google::protobuf::Descriptor* descriptor() {
1390 return default_instance().GetDescriptor();
1391 }
1392 static const EventsConfigurationResponse& default_instance();
1393
1394 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1395 static inline const EventsConfigurationResponse* internal_default_instance() {
1396 return reinterpret_cast<const EventsConfigurationResponse*>(
1397 &_EventsConfigurationResponse_default_instance_);
1398 }
1399 static constexpr int kIndexInFileMessages =
1400 8;
1401
1402 void Swap(EventsConfigurationResponse* other);
1403 friend void swap(EventsConfigurationResponse& a, EventsConfigurationResponse& b) {
1404 a.Swap(&b);
1405 }
1406
1407 // implements Message ----------------------------------------------
1408
1409 inline EventsConfigurationResponse* New() const final {
1410 return CreateMaybeMessage<EventsConfigurationResponse>(nullptr);
1411 }
1412
1413 EventsConfigurationResponse* New(::google::protobuf::Arena* arena) const final {
1414 return CreateMaybeMessage<EventsConfigurationResponse>(arena);
1415 }
1416 void CopyFrom(const ::google::protobuf::Message& from) final;
1417 void MergeFrom(const ::google::protobuf::Message& from) final;
1418 void CopyFrom(const EventsConfigurationResponse& from);
1419 void MergeFrom(const EventsConfigurationResponse& from);
1420 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1421 bool IsInitialized() const final;
1422
1423 size_t ByteSizeLong() const final;
1424 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1425 static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
1426 ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
1427 #else
1428 bool MergePartialFromCodedStream(
1429 ::google::protobuf::io::CodedInputStream* input) final;
1430 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1431 void SerializeWithCachedSizes(
1432 ::google::protobuf::io::CodedOutputStream* output) const final;
1433 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1434 ::google::protobuf::uint8* target) const final;
1435 int GetCachedSize() const final { return _cached_size_.Get(); }
1436
1437 private:
1438 void SharedCtor();
1439 void SharedDtor();
1440 void SetCachedSize(int size) const final;
1441 void InternalSwap(EventsConfigurationResponse* other);
1442 private:
1443 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1444 return nullptr;
1445 }
1446 inline void* MaybeArenaPtr() const {
1447 return nullptr;
1448 }
1449 public:
1450
1451 ::google::protobuf::Metadata GetMetadata() const final;
1452
1453 // nested types ----------------------------------------------------
1454
1455 typedef EventsConfigurationResponse_Reason Reason;
1456 static const Reason UNDEFINED_REASON =
1457 EventsConfigurationResponse_Reason_UNDEFINED_REASON;
1458 static const Reason UNKNOWN_DEVICE =
1459 EventsConfigurationResponse_Reason_UNKNOWN_DEVICE;
1460 static const Reason INTERNAL_ERROR =
1461 EventsConfigurationResponse_Reason_INTERNAL_ERROR;
1462 static const Reason INVALID_CONFIG =
1463 EventsConfigurationResponse_Reason_INVALID_CONFIG;
1464 static const Reason DEVICE_UNREACHABLE =
1465 EventsConfigurationResponse_Reason_DEVICE_UNREACHABLE;
1466 static inline bool Reason_IsValid(int value) {
1467 return EventsConfigurationResponse_Reason_IsValid(value);
1468 }
1469 static const Reason Reason_MIN =
1470 EventsConfigurationResponse_Reason_Reason_MIN;
1471 static const Reason Reason_MAX =
1472 EventsConfigurationResponse_Reason_Reason_MAX;
1473 static const int Reason_ARRAYSIZE =
1474 EventsConfigurationResponse_Reason_Reason_ARRAYSIZE;
1475 static inline const ::google::protobuf::EnumDescriptor*
1476 Reason_descriptor() {
1477 return EventsConfigurationResponse_Reason_descriptor();
1478 }
1479 static inline const ::std::string& Reason_Name(Reason value) {
1480 return EventsConfigurationResponse_Reason_Name(value);
1481 }
1482 static inline bool Reason_Parse(const ::std::string& name,
1483 Reason* value) {
1484 return EventsConfigurationResponse_Reason_Parse(name, value);
1485 }
1486
1487 // accessors -------------------------------------------------------
1488
1489 // string reason_detail = 3;
1490 void clear_reason_detail();
1491 static const int kReasonDetailFieldNumber = 3;
1492 const ::std::string& reason_detail() const;
1493 void set_reason_detail(const ::std::string& value);
1494 #if LANG_CXX11
1495 void set_reason_detail(::std::string&& value);
1496 #endif
1497 void set_reason_detail(const char* value);
1498 void set_reason_detail(const char* value, size_t size);
1499 ::std::string* mutable_reason_detail();
1500 ::std::string* release_reason_detail();
1501 void set_allocated_reason_detail(::std::string* reason_detail);
1502
1503 // .dmi.Status status = 1;
1504 void clear_status();
1505 static const int kStatusFieldNumber = 1;
1506 ::dmi::Status status() const;
1507 void set_status(::dmi::Status value);
1508
1509 // .dmi.EventsConfigurationResponse.Reason reason = 2;
1510 void clear_reason();
1511 static const int kReasonFieldNumber = 2;
1512 ::dmi::EventsConfigurationResponse_Reason reason() const;
1513 void set_reason(::dmi::EventsConfigurationResponse_Reason value);
1514
1515 // @@protoc_insertion_point(class_scope:dmi.EventsConfigurationResponse)
1516 private:
1517 class HasBitSetters;
1518
1519 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1520 ::google::protobuf::internal::ArenaStringPtr reason_detail_;
1521 int status_;
1522 int reason_;
1523 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1524 friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto;
1525};
1526// -------------------------------------------------------------------
1527
1528class EventMetaData final :
1529 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.EventMetaData) */ {
1530 public:
1531 EventMetaData();
1532 virtual ~EventMetaData();
1533
1534 EventMetaData(const EventMetaData& from);
1535
1536 inline EventMetaData& operator=(const EventMetaData& from) {
1537 CopyFrom(from);
1538 return *this;
1539 }
1540 #if LANG_CXX11
1541 EventMetaData(EventMetaData&& from) noexcept
1542 : EventMetaData() {
1543 *this = ::std::move(from);
1544 }
1545
1546 inline EventMetaData& operator=(EventMetaData&& from) noexcept {
1547 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1548 if (this != &from) InternalSwap(&from);
1549 } else {
1550 CopyFrom(from);
1551 }
1552 return *this;
1553 }
1554 #endif
1555 static const ::google::protobuf::Descriptor* descriptor() {
1556 return default_instance().GetDescriptor();
1557 }
1558 static const EventMetaData& default_instance();
1559
1560 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1561 static inline const EventMetaData* internal_default_instance() {
1562 return reinterpret_cast<const EventMetaData*>(
1563 &_EventMetaData_default_instance_);
1564 }
1565 static constexpr int kIndexInFileMessages =
1566 9;
1567
1568 void Swap(EventMetaData* other);
1569 friend void swap(EventMetaData& a, EventMetaData& b) {
1570 a.Swap(&b);
1571 }
1572
1573 // implements Message ----------------------------------------------
1574
1575 inline EventMetaData* New() const final {
1576 return CreateMaybeMessage<EventMetaData>(nullptr);
1577 }
1578
1579 EventMetaData* New(::google::protobuf::Arena* arena) const final {
1580 return CreateMaybeMessage<EventMetaData>(arena);
1581 }
1582 void CopyFrom(const ::google::protobuf::Message& from) final;
1583 void MergeFrom(const ::google::protobuf::Message& from) final;
1584 void CopyFrom(const EventMetaData& from);
1585 void MergeFrom(const EventMetaData& from);
1586 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1587 bool IsInitialized() const final;
1588
1589 size_t ByteSizeLong() const final;
1590 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1591 static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
1592 ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
1593 #else
1594 bool MergePartialFromCodedStream(
1595 ::google::protobuf::io::CodedInputStream* input) final;
1596 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1597 void SerializeWithCachedSizes(
1598 ::google::protobuf::io::CodedOutputStream* output) const final;
1599 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1600 ::google::protobuf::uint8* target) const final;
1601 int GetCachedSize() const final { return _cached_size_.Get(); }
1602
1603 private:
1604 void SharedCtor();
1605 void SharedDtor();
1606 void SetCachedSize(int size) const final;
1607 void InternalSwap(EventMetaData* other);
1608 private:
1609 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1610 return nullptr;
1611 }
1612 inline void* MaybeArenaPtr() const {
1613 return nullptr;
1614 }
1615 public:
1616
1617 ::google::protobuf::Metadata GetMetadata() const final;
1618
1619 // nested types ----------------------------------------------------
1620
1621 // accessors -------------------------------------------------------
1622
1623 // string component_name = 3;
1624 void clear_component_name();
1625 static const int kComponentNameFieldNumber = 3;
1626 const ::std::string& component_name() const;
1627 void set_component_name(const ::std::string& value);
1628 #if LANG_CXX11
1629 void set_component_name(::std::string&& value);
1630 #endif
1631 void set_component_name(const char* value);
1632 void set_component_name(const char* value, size_t size);
1633 ::std::string* mutable_component_name();
1634 ::std::string* release_component_name();
1635 void set_allocated_component_name(::std::string* component_name);
1636
1637 // .dmi.Uuid device_uuid = 1;
1638 bool has_device_uuid() const;
1639 void clear_device_uuid();
1640 static const int kDeviceUuidFieldNumber = 1;
1641 const ::dmi::Uuid& device_uuid() const;
1642 ::dmi::Uuid* release_device_uuid();
1643 ::dmi::Uuid* mutable_device_uuid();
1644 void set_allocated_device_uuid(::dmi::Uuid* device_uuid);
1645
1646 // .dmi.Uuid component_uuid = 2;
1647 bool has_component_uuid() const;
1648 void clear_component_uuid();
1649 static const int kComponentUuidFieldNumber = 2;
1650 const ::dmi::Uuid& component_uuid() const;
1651 ::dmi::Uuid* release_component_uuid();
1652 ::dmi::Uuid* mutable_component_uuid();
1653 void set_allocated_component_uuid(::dmi::Uuid* component_uuid);
1654
1655 // @@protoc_insertion_point(class_scope:dmi.EventMetaData)
1656 private:
1657 class HasBitSetters;
1658
1659 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1660 ::google::protobuf::internal::ArenaStringPtr component_name_;
1661 ::dmi::Uuid* device_uuid_;
1662 ::dmi::Uuid* component_uuid_;
1663 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1664 friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto;
1665};
1666// -------------------------------------------------------------------
1667
1668class Event final :
1669 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.Event) */ {
1670 public:
1671 Event();
1672 virtual ~Event();
1673
1674 Event(const Event& from);
1675
1676 inline Event& operator=(const Event& from) {
1677 CopyFrom(from);
1678 return *this;
1679 }
1680 #if LANG_CXX11
1681 Event(Event&& from) noexcept
1682 : Event() {
1683 *this = ::std::move(from);
1684 }
1685
1686 inline Event& operator=(Event&& from) noexcept {
1687 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1688 if (this != &from) InternalSwap(&from);
1689 } else {
1690 CopyFrom(from);
1691 }
1692 return *this;
1693 }
1694 #endif
1695 static const ::google::protobuf::Descriptor* descriptor() {
1696 return default_instance().GetDescriptor();
1697 }
1698 static const Event& default_instance();
1699
1700 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1701 static inline const Event* internal_default_instance() {
1702 return reinterpret_cast<const Event*>(
1703 &_Event_default_instance_);
1704 }
1705 static constexpr int kIndexInFileMessages =
1706 10;
1707
1708 void Swap(Event* other);
1709 friend void swap(Event& a, Event& b) {
1710 a.Swap(&b);
1711 }
1712
1713 // implements Message ----------------------------------------------
1714
1715 inline Event* New() const final {
1716 return CreateMaybeMessage<Event>(nullptr);
1717 }
1718
1719 Event* New(::google::protobuf::Arena* arena) const final {
1720 return CreateMaybeMessage<Event>(arena);
1721 }
1722 void CopyFrom(const ::google::protobuf::Message& from) final;
1723 void MergeFrom(const ::google::protobuf::Message& from) final;
1724 void CopyFrom(const Event& from);
1725 void MergeFrom(const Event& from);
1726 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1727 bool IsInitialized() const final;
1728
1729 size_t ByteSizeLong() const final;
1730 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1731 static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
1732 ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
1733 #else
1734 bool MergePartialFromCodedStream(
1735 ::google::protobuf::io::CodedInputStream* input) final;
1736 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1737 void SerializeWithCachedSizes(
1738 ::google::protobuf::io::CodedOutputStream* output) const final;
1739 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1740 ::google::protobuf::uint8* target) const final;
1741 int GetCachedSize() const final { return _cached_size_.Get(); }
1742
1743 private:
1744 void SharedCtor();
1745 void SharedDtor();
1746 void SetCachedSize(int size) const final;
1747 void InternalSwap(Event* other);
1748 private:
1749 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1750 return nullptr;
1751 }
1752 inline void* MaybeArenaPtr() const {
1753 return nullptr;
1754 }
1755 public:
1756
1757 ::google::protobuf::Metadata GetMetadata() const final;
1758
1759 // nested types ----------------------------------------------------
1760
1761 // accessors -------------------------------------------------------
1762
1763 // string add_info = 5;
1764 void clear_add_info();
1765 static const int kAddInfoFieldNumber = 5;
1766 const ::std::string& add_info() const;
1767 void set_add_info(const ::std::string& value);
1768 #if LANG_CXX11
1769 void set_add_info(::std::string&& value);
1770 #endif
1771 void set_add_info(const char* value);
1772 void set_add_info(const char* value, size_t size);
1773 ::std::string* mutable_add_info();
1774 ::std::string* release_add_info();
1775 void set_allocated_add_info(::std::string* add_info);
1776
1777 // .dmi.EventMetaData event_metadata = 1;
1778 bool has_event_metadata() const;
1779 void clear_event_metadata();
1780 static const int kEventMetadataFieldNumber = 1;
1781 const ::dmi::EventMetaData& event_metadata() const;
1782 ::dmi::EventMetaData* release_event_metadata();
1783 ::dmi::EventMetaData* mutable_event_metadata();
1784 void set_allocated_event_metadata(::dmi::EventMetaData* event_metadata);
1785
1786 // .google.protobuf.Timestamp raised_ts = 3;
1787 bool has_raised_ts() const;
1788 void clear_raised_ts();
1789 static const int kRaisedTsFieldNumber = 3;
1790 const ::google::protobuf::Timestamp& raised_ts() const;
1791 ::google::protobuf::Timestamp* release_raised_ts();
1792 ::google::protobuf::Timestamp* mutable_raised_ts();
1793 void set_allocated_raised_ts(::google::protobuf::Timestamp* raised_ts);
1794
1795 // .dmi.ThresholdInformation threshold_info = 4;
1796 bool has_threshold_info() const;
1797 void clear_threshold_info();
1798 static const int kThresholdInfoFieldNumber = 4;
1799 const ::dmi::ThresholdInformation& threshold_info() const;
1800 ::dmi::ThresholdInformation* release_threshold_info();
1801 ::dmi::ThresholdInformation* mutable_threshold_info();
1802 void set_allocated_threshold_info(::dmi::ThresholdInformation* threshold_info);
1803
1804 // .dmi.EventIds event_id = 2;
1805 void clear_event_id();
1806 static const int kEventIdFieldNumber = 2;
1807 ::dmi::EventIds event_id() const;
1808 void set_event_id(::dmi::EventIds value);
1809
1810 // @@protoc_insertion_point(class_scope:dmi.Event)
1811 private:
1812 class HasBitSetters;
1813
1814 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1815 ::google::protobuf::internal::ArenaStringPtr add_info_;
1816 ::dmi::EventMetaData* event_metadata_;
1817 ::google::protobuf::Timestamp* raised_ts_;
1818 ::dmi::ThresholdInformation* threshold_info_;
1819 int event_id_;
1820 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1821 friend struct ::TableStruct_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto;
1822};
1823// ===================================================================
1824
1825
1826// ===================================================================
1827
1828#ifdef __GNUC__
1829 #pragma GCC diagnostic push
1830 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1831#endif // __GNUC__
1832// ValueType
1833
1834// int64 int_val = 1;
1835inline bool ValueType::has_int_val() const {
1836 return val_case() == kIntVal;
1837}
1838inline void ValueType::set_has_int_val() {
1839 _oneof_case_[0] = kIntVal;
1840}
1841inline void ValueType::clear_int_val() {
1842 if (has_int_val()) {
1843 val_.int_val_ = PROTOBUF_LONGLONG(0);
1844 clear_has_val();
1845 }
1846}
1847inline ::google::protobuf::int64 ValueType::int_val() const {
1848 // @@protoc_insertion_point(field_get:dmi.ValueType.int_val)
1849 if (has_int_val()) {
1850 return val_.int_val_;
1851 }
1852 return PROTOBUF_LONGLONG(0);
1853}
1854inline void ValueType::set_int_val(::google::protobuf::int64 value) {
1855 if (!has_int_val()) {
1856 clear_val();
1857 set_has_int_val();
1858 }
1859 val_.int_val_ = value;
1860 // @@protoc_insertion_point(field_set:dmi.ValueType.int_val)
1861}
1862
1863// uint64 uint_val = 2;
1864inline bool ValueType::has_uint_val() const {
1865 return val_case() == kUintVal;
1866}
1867inline void ValueType::set_has_uint_val() {
1868 _oneof_case_[0] = kUintVal;
1869}
1870inline void ValueType::clear_uint_val() {
1871 if (has_uint_val()) {
1872 val_.uint_val_ = PROTOBUF_ULONGLONG(0);
1873 clear_has_val();
1874 }
1875}
1876inline ::google::protobuf::uint64 ValueType::uint_val() const {
1877 // @@protoc_insertion_point(field_get:dmi.ValueType.uint_val)
1878 if (has_uint_val()) {
1879 return val_.uint_val_;
1880 }
1881 return PROTOBUF_ULONGLONG(0);
1882}
1883inline void ValueType::set_uint_val(::google::protobuf::uint64 value) {
1884 if (!has_uint_val()) {
1885 clear_val();
1886 set_has_uint_val();
1887 }
1888 val_.uint_val_ = value;
1889 // @@protoc_insertion_point(field_set:dmi.ValueType.uint_val)
1890}
1891
1892// float float_val = 3;
1893inline bool ValueType::has_float_val() const {
1894 return val_case() == kFloatVal;
1895}
1896inline void ValueType::set_has_float_val() {
1897 _oneof_case_[0] = kFloatVal;
1898}
1899inline void ValueType::clear_float_val() {
1900 if (has_float_val()) {
1901 val_.float_val_ = 0;
1902 clear_has_val();
1903 }
1904}
1905inline float ValueType::float_val() const {
1906 // @@protoc_insertion_point(field_get:dmi.ValueType.float_val)
1907 if (has_float_val()) {
1908 return val_.float_val_;
1909 }
1910 return 0;
1911}
1912inline void ValueType::set_float_val(float value) {
1913 if (!has_float_val()) {
1914 clear_val();
1915 set_has_float_val();
1916 }
1917 val_.float_val_ = value;
1918 // @@protoc_insertion_point(field_set:dmi.ValueType.float_val)
1919}
1920
amit.ghosh93921ec2022-09-08 17:22:40 +02001921// .dmi.DataValueType typeOfVal = 4;
1922inline void ValueType::clear_typeofval() {
1923 typeofval_ = 0;
1924}
1925inline ::dmi::DataValueType ValueType::typeofval() const {
1926 // @@protoc_insertion_point(field_get:dmi.ValueType.typeOfVal)
1927 return static_cast< ::dmi::DataValueType >(typeofval_);
1928}
1929inline void ValueType::set_typeofval(::dmi::DataValueType value) {
1930
1931 typeofval_ = value;
1932 // @@protoc_insertion_point(field_set:dmi.ValueType.typeOfVal)
1933}
1934
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +05301935inline bool ValueType::has_val() const {
1936 return val_case() != VAL_NOT_SET;
1937}
1938inline void ValueType::clear_has_val() {
1939 _oneof_case_[0] = VAL_NOT_SET;
1940}
1941inline ValueType::ValCase ValueType::val_case() const {
1942 return ValueType::ValCase(_oneof_case_[0]);
1943}
1944// -------------------------------------------------------------------
1945
1946// WaterMarks
1947
1948// .dmi.ValueType high = 1;
1949inline bool WaterMarks::has_high() const {
1950 return this != internal_default_instance() && high_ != nullptr;
1951}
1952inline void WaterMarks::clear_high() {
1953 if (GetArenaNoVirtual() == nullptr && high_ != nullptr) {
1954 delete high_;
1955 }
1956 high_ = nullptr;
1957}
1958inline const ::dmi::ValueType& WaterMarks::high() const {
1959 const ::dmi::ValueType* p = high_;
1960 // @@protoc_insertion_point(field_get:dmi.WaterMarks.high)
1961 return p != nullptr ? *p : *reinterpret_cast<const ::dmi::ValueType*>(
1962 &::dmi::_ValueType_default_instance_);
1963}
1964inline ::dmi::ValueType* WaterMarks::release_high() {
1965 // @@protoc_insertion_point(field_release:dmi.WaterMarks.high)
1966
1967 ::dmi::ValueType* temp = high_;
1968 high_ = nullptr;
1969 return temp;
1970}
1971inline ::dmi::ValueType* WaterMarks::mutable_high() {
1972
1973 if (high_ == nullptr) {
1974 auto* p = CreateMaybeMessage<::dmi::ValueType>(GetArenaNoVirtual());
1975 high_ = p;
1976 }
1977 // @@protoc_insertion_point(field_mutable:dmi.WaterMarks.high)
1978 return high_;
1979}
1980inline void WaterMarks::set_allocated_high(::dmi::ValueType* high) {
1981 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1982 if (message_arena == nullptr) {
1983 delete high_;
1984 }
1985 if (high) {
1986 ::google::protobuf::Arena* submessage_arena = nullptr;
1987 if (message_arena != submessage_arena) {
1988 high = ::google::protobuf::internal::GetOwnedMessage(
1989 message_arena, high, submessage_arena);
1990 }
1991
1992 } else {
1993
1994 }
1995 high_ = high;
1996 // @@protoc_insertion_point(field_set_allocated:dmi.WaterMarks.high)
1997}
1998
1999// .dmi.ValueType low = 2;
2000inline bool WaterMarks::has_low() const {
2001 return this != internal_default_instance() && low_ != nullptr;
2002}
2003inline void WaterMarks::clear_low() {
2004 if (GetArenaNoVirtual() == nullptr && low_ != nullptr) {
2005 delete low_;
2006 }
2007 low_ = nullptr;
2008}
2009inline const ::dmi::ValueType& WaterMarks::low() const {
2010 const ::dmi::ValueType* p = low_;
2011 // @@protoc_insertion_point(field_get:dmi.WaterMarks.low)
2012 return p != nullptr ? *p : *reinterpret_cast<const ::dmi::ValueType*>(
2013 &::dmi::_ValueType_default_instance_);
2014}
2015inline ::dmi::ValueType* WaterMarks::release_low() {
2016 // @@protoc_insertion_point(field_release:dmi.WaterMarks.low)
2017
2018 ::dmi::ValueType* temp = low_;
2019 low_ = nullptr;
2020 return temp;
2021}
2022inline ::dmi::ValueType* WaterMarks::mutable_low() {
2023
2024 if (low_ == nullptr) {
2025 auto* p = CreateMaybeMessage<::dmi::ValueType>(GetArenaNoVirtual());
2026 low_ = p;
2027 }
2028 // @@protoc_insertion_point(field_mutable:dmi.WaterMarks.low)
2029 return low_;
2030}
2031inline void WaterMarks::set_allocated_low(::dmi::ValueType* low) {
2032 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2033 if (message_arena == nullptr) {
2034 delete low_;
2035 }
2036 if (low) {
2037 ::google::protobuf::Arena* submessage_arena = nullptr;
2038 if (message_arena != submessage_arena) {
2039 low = ::google::protobuf::internal::GetOwnedMessage(
2040 message_arena, low, submessage_arena);
2041 }
2042
2043 } else {
2044
2045 }
2046 low_ = low;
2047 // @@protoc_insertion_point(field_set_allocated:dmi.WaterMarks.low)
2048}
2049
2050// -------------------------------------------------------------------
2051
2052// Thresholds
2053
2054// .dmi.WaterMarks upper = 1;
2055inline bool Thresholds::has_upper() const {
2056 return threshold_case() == kUpper;
2057}
2058inline void Thresholds::set_has_upper() {
2059 _oneof_case_[0] = kUpper;
2060}
2061inline void Thresholds::clear_upper() {
2062 if (has_upper()) {
2063 delete threshold_.upper_;
2064 clear_has_threshold();
2065 }
2066}
2067inline ::dmi::WaterMarks* Thresholds::release_upper() {
2068 // @@protoc_insertion_point(field_release:dmi.Thresholds.upper)
2069 if (has_upper()) {
2070 clear_has_threshold();
2071 ::dmi::WaterMarks* temp = threshold_.upper_;
2072 threshold_.upper_ = nullptr;
2073 return temp;
2074 } else {
2075 return nullptr;
2076 }
2077}
2078inline const ::dmi::WaterMarks& Thresholds::upper() const {
2079 // @@protoc_insertion_point(field_get:dmi.Thresholds.upper)
2080 return has_upper()
2081 ? *threshold_.upper_
2082 : *reinterpret_cast< ::dmi::WaterMarks*>(&::dmi::_WaterMarks_default_instance_);
2083}
2084inline ::dmi::WaterMarks* Thresholds::mutable_upper() {
2085 if (!has_upper()) {
2086 clear_threshold();
2087 set_has_upper();
2088 threshold_.upper_ = CreateMaybeMessage< ::dmi::WaterMarks >(
2089 GetArenaNoVirtual());
2090 }
2091 // @@protoc_insertion_point(field_mutable:dmi.Thresholds.upper)
2092 return threshold_.upper_;
2093}
2094
2095// .dmi.WaterMarks lower = 2;
2096inline bool Thresholds::has_lower() const {
2097 return threshold_case() == kLower;
2098}
2099inline void Thresholds::set_has_lower() {
2100 _oneof_case_[0] = kLower;
2101}
2102inline void Thresholds::clear_lower() {
2103 if (has_lower()) {
2104 delete threshold_.lower_;
2105 clear_has_threshold();
2106 }
2107}
2108inline ::dmi::WaterMarks* Thresholds::release_lower() {
2109 // @@protoc_insertion_point(field_release:dmi.Thresholds.lower)
2110 if (has_lower()) {
2111 clear_has_threshold();
2112 ::dmi::WaterMarks* temp = threshold_.lower_;
2113 threshold_.lower_ = nullptr;
2114 return temp;
2115 } else {
2116 return nullptr;
2117 }
2118}
2119inline const ::dmi::WaterMarks& Thresholds::lower() const {
2120 // @@protoc_insertion_point(field_get:dmi.Thresholds.lower)
2121 return has_lower()
2122 ? *threshold_.lower_
2123 : *reinterpret_cast< ::dmi::WaterMarks*>(&::dmi::_WaterMarks_default_instance_);
2124}
2125inline ::dmi::WaterMarks* Thresholds::mutable_lower() {
2126 if (!has_lower()) {
2127 clear_threshold();
2128 set_has_lower();
2129 threshold_.lower_ = CreateMaybeMessage< ::dmi::WaterMarks >(
2130 GetArenaNoVirtual());
2131 }
2132 // @@protoc_insertion_point(field_mutable:dmi.Thresholds.lower)
2133 return threshold_.lower_;
2134}
2135
2136inline bool Thresholds::has_threshold() const {
2137 return threshold_case() != THRESHOLD_NOT_SET;
2138}
2139inline void Thresholds::clear_has_threshold() {
2140 _oneof_case_[0] = THRESHOLD_NOT_SET;
2141}
2142inline Thresholds::ThresholdCase Thresholds::threshold_case() const {
2143 return Thresholds::ThresholdCase(_oneof_case_[0]);
2144}
2145// -------------------------------------------------------------------
2146
2147// ThresholdInformation
2148
2149// .dmi.ValueType observed_value = 1;
2150inline bool ThresholdInformation::has_observed_value() const {
2151 return this != internal_default_instance() && observed_value_ != nullptr;
2152}
2153inline void ThresholdInformation::clear_observed_value() {
2154 if (GetArenaNoVirtual() == nullptr && observed_value_ != nullptr) {
2155 delete observed_value_;
2156 }
2157 observed_value_ = nullptr;
2158}
2159inline const ::dmi::ValueType& ThresholdInformation::observed_value() const {
2160 const ::dmi::ValueType* p = observed_value_;
2161 // @@protoc_insertion_point(field_get:dmi.ThresholdInformation.observed_value)
2162 return p != nullptr ? *p : *reinterpret_cast<const ::dmi::ValueType*>(
2163 &::dmi::_ValueType_default_instance_);
2164}
2165inline ::dmi::ValueType* ThresholdInformation::release_observed_value() {
2166 // @@protoc_insertion_point(field_release:dmi.ThresholdInformation.observed_value)
2167
2168 ::dmi::ValueType* temp = observed_value_;
2169 observed_value_ = nullptr;
2170 return temp;
2171}
2172inline ::dmi::ValueType* ThresholdInformation::mutable_observed_value() {
2173
2174 if (observed_value_ == nullptr) {
2175 auto* p = CreateMaybeMessage<::dmi::ValueType>(GetArenaNoVirtual());
2176 observed_value_ = p;
2177 }
2178 // @@protoc_insertion_point(field_mutable:dmi.ThresholdInformation.observed_value)
2179 return observed_value_;
2180}
2181inline void ThresholdInformation::set_allocated_observed_value(::dmi::ValueType* observed_value) {
2182 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2183 if (message_arena == nullptr) {
2184 delete observed_value_;
2185 }
2186 if (observed_value) {
2187 ::google::protobuf::Arena* submessage_arena = nullptr;
2188 if (message_arena != submessage_arena) {
2189 observed_value = ::google::protobuf::internal::GetOwnedMessage(
2190 message_arena, observed_value, submessage_arena);
2191 }
2192
2193 } else {
2194
2195 }
2196 observed_value_ = observed_value;
2197 // @@protoc_insertion_point(field_set_allocated:dmi.ThresholdInformation.observed_value)
2198}
2199
2200// .dmi.Thresholds thresholds = 2;
2201inline bool ThresholdInformation::has_thresholds() const {
2202 return this != internal_default_instance() && thresholds_ != nullptr;
2203}
2204inline void ThresholdInformation::clear_thresholds() {
2205 if (GetArenaNoVirtual() == nullptr && thresholds_ != nullptr) {
2206 delete thresholds_;
2207 }
2208 thresholds_ = nullptr;
2209}
2210inline const ::dmi::Thresholds& ThresholdInformation::thresholds() const {
2211 const ::dmi::Thresholds* p = thresholds_;
2212 // @@protoc_insertion_point(field_get:dmi.ThresholdInformation.thresholds)
2213 return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Thresholds*>(
2214 &::dmi::_Thresholds_default_instance_);
2215}
2216inline ::dmi::Thresholds* ThresholdInformation::release_thresholds() {
2217 // @@protoc_insertion_point(field_release:dmi.ThresholdInformation.thresholds)
2218
2219 ::dmi::Thresholds* temp = thresholds_;
2220 thresholds_ = nullptr;
2221 return temp;
2222}
2223inline ::dmi::Thresholds* ThresholdInformation::mutable_thresholds() {
2224
2225 if (thresholds_ == nullptr) {
2226 auto* p = CreateMaybeMessage<::dmi::Thresholds>(GetArenaNoVirtual());
2227 thresholds_ = p;
2228 }
2229 // @@protoc_insertion_point(field_mutable:dmi.ThresholdInformation.thresholds)
2230 return thresholds_;
2231}
2232inline void ThresholdInformation::set_allocated_thresholds(::dmi::Thresholds* thresholds) {
2233 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2234 if (message_arena == nullptr) {
2235 delete thresholds_;
2236 }
2237 if (thresholds) {
2238 ::google::protobuf::Arena* submessage_arena = nullptr;
2239 if (message_arena != submessage_arena) {
2240 thresholds = ::google::protobuf::internal::GetOwnedMessage(
2241 message_arena, thresholds, submessage_arena);
2242 }
2243
2244 } else {
2245
2246 }
2247 thresholds_ = thresholds;
2248 // @@protoc_insertion_point(field_set_allocated:dmi.ThresholdInformation.thresholds)
2249}
2250
2251// -------------------------------------------------------------------
2252
2253// EventCfg
2254
2255// .dmi.EventIds event_id = 1;
2256inline void EventCfg::clear_event_id() {
2257 event_id_ = 0;
2258}
2259inline ::dmi::EventIds EventCfg::event_id() const {
2260 // @@protoc_insertion_point(field_get:dmi.EventCfg.event_id)
2261 return static_cast< ::dmi::EventIds >(event_id_);
2262}
2263inline void EventCfg::set_event_id(::dmi::EventIds value) {
2264
2265 event_id_ = value;
2266 // @@protoc_insertion_point(field_set:dmi.EventCfg.event_id)
2267}
2268
2269// bool is_configured = 2;
2270inline void EventCfg::clear_is_configured() {
2271 is_configured_ = false;
2272}
2273inline bool EventCfg::is_configured() const {
2274 // @@protoc_insertion_point(field_get:dmi.EventCfg.is_configured)
2275 return is_configured_;
2276}
2277inline void EventCfg::set_is_configured(bool value) {
2278
2279 is_configured_ = value;
2280 // @@protoc_insertion_point(field_set:dmi.EventCfg.is_configured)
2281}
2282
2283// .dmi.Thresholds thresholds = 3;
2284inline bool EventCfg::has_thresholds() const {
2285 return this != internal_default_instance() && thresholds_ != nullptr;
2286}
2287inline void EventCfg::clear_thresholds() {
2288 if (GetArenaNoVirtual() == nullptr && thresholds_ != nullptr) {
2289 delete thresholds_;
2290 }
2291 thresholds_ = nullptr;
2292}
2293inline const ::dmi::Thresholds& EventCfg::thresholds() const {
2294 const ::dmi::Thresholds* p = thresholds_;
2295 // @@protoc_insertion_point(field_get:dmi.EventCfg.thresholds)
2296 return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Thresholds*>(
2297 &::dmi::_Thresholds_default_instance_);
2298}
2299inline ::dmi::Thresholds* EventCfg::release_thresholds() {
2300 // @@protoc_insertion_point(field_release:dmi.EventCfg.thresholds)
2301
2302 ::dmi::Thresholds* temp = thresholds_;
2303 thresholds_ = nullptr;
2304 return temp;
2305}
2306inline ::dmi::Thresholds* EventCfg::mutable_thresholds() {
2307
2308 if (thresholds_ == nullptr) {
2309 auto* p = CreateMaybeMessage<::dmi::Thresholds>(GetArenaNoVirtual());
2310 thresholds_ = p;
2311 }
2312 // @@protoc_insertion_point(field_mutable:dmi.EventCfg.thresholds)
2313 return thresholds_;
2314}
2315inline void EventCfg::set_allocated_thresholds(::dmi::Thresholds* thresholds) {
2316 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2317 if (message_arena == nullptr) {
2318 delete thresholds_;
2319 }
2320 if (thresholds) {
2321 ::google::protobuf::Arena* submessage_arena = nullptr;
2322 if (message_arena != submessage_arena) {
2323 thresholds = ::google::protobuf::internal::GetOwnedMessage(
2324 message_arena, thresholds, submessage_arena);
2325 }
2326
2327 } else {
2328
2329 }
2330 thresholds_ = thresholds;
2331 // @@protoc_insertion_point(field_set_allocated:dmi.EventCfg.thresholds)
2332}
2333
amit.ghosh7a093bd2023-03-07 16:31:56 +01002334// .dmi.Uuid component_uuid = 4;
2335inline bool EventCfg::has_component_uuid() const {
2336 return this != internal_default_instance() && component_uuid_ != nullptr;
2337}
2338inline const ::dmi::Uuid& EventCfg::component_uuid() const {
2339 const ::dmi::Uuid* p = component_uuid_;
2340 // @@protoc_insertion_point(field_get:dmi.EventCfg.component_uuid)
2341 return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>(
2342 &::dmi::_Uuid_default_instance_);
2343}
2344inline ::dmi::Uuid* EventCfg::release_component_uuid() {
2345 // @@protoc_insertion_point(field_release:dmi.EventCfg.component_uuid)
2346
2347 ::dmi::Uuid* temp = component_uuid_;
2348 component_uuid_ = nullptr;
2349 return temp;
2350}
2351inline ::dmi::Uuid* EventCfg::mutable_component_uuid() {
2352
2353 if (component_uuid_ == nullptr) {
2354 auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual());
2355 component_uuid_ = p;
2356 }
2357 // @@protoc_insertion_point(field_mutable:dmi.EventCfg.component_uuid)
2358 return component_uuid_;
2359}
2360inline void EventCfg::set_allocated_component_uuid(::dmi::Uuid* component_uuid) {
2361 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2362 if (message_arena == nullptr) {
2363 delete reinterpret_cast< ::google::protobuf::MessageLite*>(component_uuid_);
2364 }
2365 if (component_uuid) {
2366 ::google::protobuf::Arena* submessage_arena = nullptr;
2367 if (message_arena != submessage_arena) {
2368 component_uuid = ::google::protobuf::internal::GetOwnedMessage(
2369 message_arena, component_uuid, submessage_arena);
2370 }
2371
2372 } else {
2373
2374 }
2375 component_uuid_ = component_uuid;
2376 // @@protoc_insertion_point(field_set_allocated:dmi.EventCfg.component_uuid)
2377}
2378
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +05302379// -------------------------------------------------------------------
2380
2381// EventsCfg
2382
2383// repeated .dmi.EventCfg items = 1;
2384inline int EventsCfg::items_size() const {
2385 return items_.size();
2386}
2387inline void EventsCfg::clear_items() {
2388 items_.Clear();
2389}
2390inline ::dmi::EventCfg* EventsCfg::mutable_items(int index) {
2391 // @@protoc_insertion_point(field_mutable:dmi.EventsCfg.items)
2392 return items_.Mutable(index);
2393}
2394inline ::google::protobuf::RepeatedPtrField< ::dmi::EventCfg >*
2395EventsCfg::mutable_items() {
2396 // @@protoc_insertion_point(field_mutable_list:dmi.EventsCfg.items)
2397 return &items_;
2398}
2399inline const ::dmi::EventCfg& EventsCfg::items(int index) const {
2400 // @@protoc_insertion_point(field_get:dmi.EventsCfg.items)
2401 return items_.Get(index);
2402}
2403inline ::dmi::EventCfg* EventsCfg::add_items() {
2404 // @@protoc_insertion_point(field_add:dmi.EventsCfg.items)
2405 return items_.Add();
2406}
2407inline const ::google::protobuf::RepeatedPtrField< ::dmi::EventCfg >&
2408EventsCfg::items() const {
2409 // @@protoc_insertion_point(field_list:dmi.EventsCfg.items)
2410 return items_;
2411}
2412
2413// -------------------------------------------------------------------
2414
2415// ListEventsResponse
2416
2417// .dmi.Status status = 1;
2418inline void ListEventsResponse::clear_status() {
2419 status_ = 0;
2420}
2421inline ::dmi::Status ListEventsResponse::status() const {
2422 // @@protoc_insertion_point(field_get:dmi.ListEventsResponse.status)
2423 return static_cast< ::dmi::Status >(status_);
2424}
2425inline void ListEventsResponse::set_status(::dmi::Status value) {
2426
2427 status_ = value;
2428 // @@protoc_insertion_point(field_set:dmi.ListEventsResponse.status)
2429}
2430
2431// .dmi.ListEventsResponse.Reason reason = 2;
2432inline void ListEventsResponse::clear_reason() {
2433 reason_ = 0;
2434}
2435inline ::dmi::ListEventsResponse_Reason ListEventsResponse::reason() const {
2436 // @@protoc_insertion_point(field_get:dmi.ListEventsResponse.reason)
2437 return static_cast< ::dmi::ListEventsResponse_Reason >(reason_);
2438}
2439inline void ListEventsResponse::set_reason(::dmi::ListEventsResponse_Reason value) {
2440
2441 reason_ = value;
2442 // @@protoc_insertion_point(field_set:dmi.ListEventsResponse.reason)
2443}
2444
2445// .dmi.EventsCfg events = 3;
2446inline bool ListEventsResponse::has_events() const {
2447 return this != internal_default_instance() && events_ != nullptr;
2448}
2449inline void ListEventsResponse::clear_events() {
2450 if (GetArenaNoVirtual() == nullptr && events_ != nullptr) {
2451 delete events_;
2452 }
2453 events_ = nullptr;
2454}
2455inline const ::dmi::EventsCfg& ListEventsResponse::events() const {
2456 const ::dmi::EventsCfg* p = events_;
2457 // @@protoc_insertion_point(field_get:dmi.ListEventsResponse.events)
2458 return p != nullptr ? *p : *reinterpret_cast<const ::dmi::EventsCfg*>(
2459 &::dmi::_EventsCfg_default_instance_);
2460}
2461inline ::dmi::EventsCfg* ListEventsResponse::release_events() {
2462 // @@protoc_insertion_point(field_release:dmi.ListEventsResponse.events)
2463
2464 ::dmi::EventsCfg* temp = events_;
2465 events_ = nullptr;
2466 return temp;
2467}
2468inline ::dmi::EventsCfg* ListEventsResponse::mutable_events() {
2469
2470 if (events_ == nullptr) {
2471 auto* p = CreateMaybeMessage<::dmi::EventsCfg>(GetArenaNoVirtual());
2472 events_ = p;
2473 }
2474 // @@protoc_insertion_point(field_mutable:dmi.ListEventsResponse.events)
2475 return events_;
2476}
2477inline void ListEventsResponse::set_allocated_events(::dmi::EventsCfg* events) {
2478 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2479 if (message_arena == nullptr) {
2480 delete events_;
2481 }
2482 if (events) {
2483 ::google::protobuf::Arena* submessage_arena = nullptr;
2484 if (message_arena != submessage_arena) {
2485 events = ::google::protobuf::internal::GetOwnedMessage(
2486 message_arena, events, submessage_arena);
2487 }
2488
2489 } else {
2490
2491 }
2492 events_ = events;
2493 // @@protoc_insertion_point(field_set_allocated:dmi.ListEventsResponse.events)
2494}
2495
2496// string reason_detail = 4;
2497inline void ListEventsResponse::clear_reason_detail() {
2498 reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2499}
2500inline const ::std::string& ListEventsResponse::reason_detail() const {
2501 // @@protoc_insertion_point(field_get:dmi.ListEventsResponse.reason_detail)
2502 return reason_detail_.GetNoArena();
2503}
2504inline void ListEventsResponse::set_reason_detail(const ::std::string& value) {
2505
2506 reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2507 // @@protoc_insertion_point(field_set:dmi.ListEventsResponse.reason_detail)
2508}
2509#if LANG_CXX11
2510inline void ListEventsResponse::set_reason_detail(::std::string&& value) {
2511
2512 reason_detail_.SetNoArena(
2513 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2514 // @@protoc_insertion_point(field_set_rvalue:dmi.ListEventsResponse.reason_detail)
2515}
2516#endif
2517inline void ListEventsResponse::set_reason_detail(const char* value) {
2518 GOOGLE_DCHECK(value != nullptr);
2519
2520 reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2521 // @@protoc_insertion_point(field_set_char:dmi.ListEventsResponse.reason_detail)
2522}
2523inline void ListEventsResponse::set_reason_detail(const char* value, size_t size) {
2524
2525 reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2526 ::std::string(reinterpret_cast<const char*>(value), size));
2527 // @@protoc_insertion_point(field_set_pointer:dmi.ListEventsResponse.reason_detail)
2528}
2529inline ::std::string* ListEventsResponse::mutable_reason_detail() {
2530
2531 // @@protoc_insertion_point(field_mutable:dmi.ListEventsResponse.reason_detail)
2532 return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2533}
2534inline ::std::string* ListEventsResponse::release_reason_detail() {
2535 // @@protoc_insertion_point(field_release:dmi.ListEventsResponse.reason_detail)
2536
2537 return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2538}
2539inline void ListEventsResponse::set_allocated_reason_detail(::std::string* reason_detail) {
2540 if (reason_detail != nullptr) {
2541
2542 } else {
2543
2544 }
2545 reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail);
2546 // @@protoc_insertion_point(field_set_allocated:dmi.ListEventsResponse.reason_detail)
2547}
2548
2549// -------------------------------------------------------------------
2550
2551// EventsConfigurationRequest
2552
2553// .dmi.Uuid device_uuid = 1;
2554inline bool EventsConfigurationRequest::has_device_uuid() const {
2555 return this != internal_default_instance() && device_uuid_ != nullptr;
2556}
2557inline const ::dmi::Uuid& EventsConfigurationRequest::device_uuid() const {
2558 const ::dmi::Uuid* p = device_uuid_;
2559 // @@protoc_insertion_point(field_get:dmi.EventsConfigurationRequest.device_uuid)
2560 return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>(
2561 &::dmi::_Uuid_default_instance_);
2562}
2563inline ::dmi::Uuid* EventsConfigurationRequest::release_device_uuid() {
2564 // @@protoc_insertion_point(field_release:dmi.EventsConfigurationRequest.device_uuid)
2565
2566 ::dmi::Uuid* temp = device_uuid_;
2567 device_uuid_ = nullptr;
2568 return temp;
2569}
2570inline ::dmi::Uuid* EventsConfigurationRequest::mutable_device_uuid() {
2571
2572 if (device_uuid_ == nullptr) {
2573 auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual());
2574 device_uuid_ = p;
2575 }
2576 // @@protoc_insertion_point(field_mutable:dmi.EventsConfigurationRequest.device_uuid)
2577 return device_uuid_;
2578}
2579inline void EventsConfigurationRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) {
2580 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2581 if (message_arena == nullptr) {
2582 delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_);
2583 }
2584 if (device_uuid) {
2585 ::google::protobuf::Arena* submessage_arena = nullptr;
2586 if (message_arena != submessage_arena) {
2587 device_uuid = ::google::protobuf::internal::GetOwnedMessage(
2588 message_arena, device_uuid, submessage_arena);
2589 }
2590
2591 } else {
2592
2593 }
2594 device_uuid_ = device_uuid;
2595 // @@protoc_insertion_point(field_set_allocated:dmi.EventsConfigurationRequest.device_uuid)
2596}
2597
2598// .dmi.EventsCfg changes = 2;
2599inline bool EventsConfigurationRequest::has_changes() const {
2600 return operation_case() == kChanges;
2601}
2602inline void EventsConfigurationRequest::set_has_changes() {
2603 _oneof_case_[0] = kChanges;
2604}
2605inline void EventsConfigurationRequest::clear_changes() {
2606 if (has_changes()) {
2607 delete operation_.changes_;
2608 clear_has_operation();
2609 }
2610}
2611inline ::dmi::EventsCfg* EventsConfigurationRequest::release_changes() {
2612 // @@protoc_insertion_point(field_release:dmi.EventsConfigurationRequest.changes)
2613 if (has_changes()) {
2614 clear_has_operation();
2615 ::dmi::EventsCfg* temp = operation_.changes_;
2616 operation_.changes_ = nullptr;
2617 return temp;
2618 } else {
2619 return nullptr;
2620 }
2621}
2622inline const ::dmi::EventsCfg& EventsConfigurationRequest::changes() const {
2623 // @@protoc_insertion_point(field_get:dmi.EventsConfigurationRequest.changes)
2624 return has_changes()
2625 ? *operation_.changes_
2626 : *reinterpret_cast< ::dmi::EventsCfg*>(&::dmi::_EventsCfg_default_instance_);
2627}
2628inline ::dmi::EventsCfg* EventsConfigurationRequest::mutable_changes() {
2629 if (!has_changes()) {
2630 clear_operation();
2631 set_has_changes();
2632 operation_.changes_ = CreateMaybeMessage< ::dmi::EventsCfg >(
2633 GetArenaNoVirtual());
2634 }
2635 // @@protoc_insertion_point(field_mutable:dmi.EventsConfigurationRequest.changes)
2636 return operation_.changes_;
2637}
2638
2639// bool reset_to_default = 3;
2640inline bool EventsConfigurationRequest::has_reset_to_default() const {
2641 return operation_case() == kResetToDefault;
2642}
2643inline void EventsConfigurationRequest::set_has_reset_to_default() {
2644 _oneof_case_[0] = kResetToDefault;
2645}
2646inline void EventsConfigurationRequest::clear_reset_to_default() {
2647 if (has_reset_to_default()) {
2648 operation_.reset_to_default_ = false;
2649 clear_has_operation();
2650 }
2651}
2652inline bool EventsConfigurationRequest::reset_to_default() const {
2653 // @@protoc_insertion_point(field_get:dmi.EventsConfigurationRequest.reset_to_default)
2654 if (has_reset_to_default()) {
2655 return operation_.reset_to_default_;
2656 }
2657 return false;
2658}
2659inline void EventsConfigurationRequest::set_reset_to_default(bool value) {
2660 if (!has_reset_to_default()) {
2661 clear_operation();
2662 set_has_reset_to_default();
2663 }
2664 operation_.reset_to_default_ = value;
2665 // @@protoc_insertion_point(field_set:dmi.EventsConfigurationRequest.reset_to_default)
2666}
2667
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +05302668inline bool EventsConfigurationRequest::has_operation() const {
2669 return operation_case() != OPERATION_NOT_SET;
2670}
2671inline void EventsConfigurationRequest::clear_has_operation() {
2672 _oneof_case_[0] = OPERATION_NOT_SET;
2673}
2674inline EventsConfigurationRequest::OperationCase EventsConfigurationRequest::operation_case() const {
2675 return EventsConfigurationRequest::OperationCase(_oneof_case_[0]);
2676}
2677// -------------------------------------------------------------------
2678
2679// EventsConfigurationResponse
2680
2681// .dmi.Status status = 1;
2682inline void EventsConfigurationResponse::clear_status() {
2683 status_ = 0;
2684}
2685inline ::dmi::Status EventsConfigurationResponse::status() const {
2686 // @@protoc_insertion_point(field_get:dmi.EventsConfigurationResponse.status)
2687 return static_cast< ::dmi::Status >(status_);
2688}
2689inline void EventsConfigurationResponse::set_status(::dmi::Status value) {
2690
2691 status_ = value;
2692 // @@protoc_insertion_point(field_set:dmi.EventsConfigurationResponse.status)
2693}
2694
2695// .dmi.EventsConfigurationResponse.Reason reason = 2;
2696inline void EventsConfigurationResponse::clear_reason() {
2697 reason_ = 0;
2698}
2699inline ::dmi::EventsConfigurationResponse_Reason EventsConfigurationResponse::reason() const {
2700 // @@protoc_insertion_point(field_get:dmi.EventsConfigurationResponse.reason)
2701 return static_cast< ::dmi::EventsConfigurationResponse_Reason >(reason_);
2702}
2703inline void EventsConfigurationResponse::set_reason(::dmi::EventsConfigurationResponse_Reason value) {
2704
2705 reason_ = value;
2706 // @@protoc_insertion_point(field_set:dmi.EventsConfigurationResponse.reason)
2707}
2708
2709// string reason_detail = 3;
2710inline void EventsConfigurationResponse::clear_reason_detail() {
2711 reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2712}
2713inline const ::std::string& EventsConfigurationResponse::reason_detail() const {
2714 // @@protoc_insertion_point(field_get:dmi.EventsConfigurationResponse.reason_detail)
2715 return reason_detail_.GetNoArena();
2716}
2717inline void EventsConfigurationResponse::set_reason_detail(const ::std::string& value) {
2718
2719 reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2720 // @@protoc_insertion_point(field_set:dmi.EventsConfigurationResponse.reason_detail)
2721}
2722#if LANG_CXX11
2723inline void EventsConfigurationResponse::set_reason_detail(::std::string&& value) {
2724
2725 reason_detail_.SetNoArena(
2726 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2727 // @@protoc_insertion_point(field_set_rvalue:dmi.EventsConfigurationResponse.reason_detail)
2728}
2729#endif
2730inline void EventsConfigurationResponse::set_reason_detail(const char* value) {
2731 GOOGLE_DCHECK(value != nullptr);
2732
2733 reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2734 // @@protoc_insertion_point(field_set_char:dmi.EventsConfigurationResponse.reason_detail)
2735}
2736inline void EventsConfigurationResponse::set_reason_detail(const char* value, size_t size) {
2737
2738 reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2739 ::std::string(reinterpret_cast<const char*>(value), size));
2740 // @@protoc_insertion_point(field_set_pointer:dmi.EventsConfigurationResponse.reason_detail)
2741}
2742inline ::std::string* EventsConfigurationResponse::mutable_reason_detail() {
2743
2744 // @@protoc_insertion_point(field_mutable:dmi.EventsConfigurationResponse.reason_detail)
2745 return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2746}
2747inline ::std::string* EventsConfigurationResponse::release_reason_detail() {
2748 // @@protoc_insertion_point(field_release:dmi.EventsConfigurationResponse.reason_detail)
2749
2750 return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2751}
2752inline void EventsConfigurationResponse::set_allocated_reason_detail(::std::string* reason_detail) {
2753 if (reason_detail != nullptr) {
2754
2755 } else {
2756
2757 }
2758 reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail);
2759 // @@protoc_insertion_point(field_set_allocated:dmi.EventsConfigurationResponse.reason_detail)
2760}
2761
2762// -------------------------------------------------------------------
2763
2764// EventMetaData
2765
2766// .dmi.Uuid device_uuid = 1;
2767inline bool EventMetaData::has_device_uuid() const {
2768 return this != internal_default_instance() && device_uuid_ != nullptr;
2769}
2770inline const ::dmi::Uuid& EventMetaData::device_uuid() const {
2771 const ::dmi::Uuid* p = device_uuid_;
2772 // @@protoc_insertion_point(field_get:dmi.EventMetaData.device_uuid)
2773 return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>(
2774 &::dmi::_Uuid_default_instance_);
2775}
2776inline ::dmi::Uuid* EventMetaData::release_device_uuid() {
2777 // @@protoc_insertion_point(field_release:dmi.EventMetaData.device_uuid)
2778
2779 ::dmi::Uuid* temp = device_uuid_;
2780 device_uuid_ = nullptr;
2781 return temp;
2782}
2783inline ::dmi::Uuid* EventMetaData::mutable_device_uuid() {
2784
2785 if (device_uuid_ == nullptr) {
2786 auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual());
2787 device_uuid_ = p;
2788 }
2789 // @@protoc_insertion_point(field_mutable:dmi.EventMetaData.device_uuid)
2790 return device_uuid_;
2791}
2792inline void EventMetaData::set_allocated_device_uuid(::dmi::Uuid* device_uuid) {
2793 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2794 if (message_arena == nullptr) {
2795 delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_);
2796 }
2797 if (device_uuid) {
2798 ::google::protobuf::Arena* submessage_arena = nullptr;
2799 if (message_arena != submessage_arena) {
2800 device_uuid = ::google::protobuf::internal::GetOwnedMessage(
2801 message_arena, device_uuid, submessage_arena);
2802 }
2803
2804 } else {
2805
2806 }
2807 device_uuid_ = device_uuid;
2808 // @@protoc_insertion_point(field_set_allocated:dmi.EventMetaData.device_uuid)
2809}
2810
2811// .dmi.Uuid component_uuid = 2;
2812inline bool EventMetaData::has_component_uuid() const {
2813 return this != internal_default_instance() && component_uuid_ != nullptr;
2814}
2815inline const ::dmi::Uuid& EventMetaData::component_uuid() const {
2816 const ::dmi::Uuid* p = component_uuid_;
2817 // @@protoc_insertion_point(field_get:dmi.EventMetaData.component_uuid)
2818 return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>(
2819 &::dmi::_Uuid_default_instance_);
2820}
2821inline ::dmi::Uuid* EventMetaData::release_component_uuid() {
2822 // @@protoc_insertion_point(field_release:dmi.EventMetaData.component_uuid)
2823
2824 ::dmi::Uuid* temp = component_uuid_;
2825 component_uuid_ = nullptr;
2826 return temp;
2827}
2828inline ::dmi::Uuid* EventMetaData::mutable_component_uuid() {
2829
2830 if (component_uuid_ == nullptr) {
2831 auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual());
2832 component_uuid_ = p;
2833 }
2834 // @@protoc_insertion_point(field_mutable:dmi.EventMetaData.component_uuid)
2835 return component_uuid_;
2836}
2837inline void EventMetaData::set_allocated_component_uuid(::dmi::Uuid* component_uuid) {
2838 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2839 if (message_arena == nullptr) {
2840 delete reinterpret_cast< ::google::protobuf::MessageLite*>(component_uuid_);
2841 }
2842 if (component_uuid) {
2843 ::google::protobuf::Arena* submessage_arena = nullptr;
2844 if (message_arena != submessage_arena) {
2845 component_uuid = ::google::protobuf::internal::GetOwnedMessage(
2846 message_arena, component_uuid, submessage_arena);
2847 }
2848
2849 } else {
2850
2851 }
2852 component_uuid_ = component_uuid;
2853 // @@protoc_insertion_point(field_set_allocated:dmi.EventMetaData.component_uuid)
2854}
2855
2856// string component_name = 3;
2857inline void EventMetaData::clear_component_name() {
2858 component_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2859}
2860inline const ::std::string& EventMetaData::component_name() const {
2861 // @@protoc_insertion_point(field_get:dmi.EventMetaData.component_name)
2862 return component_name_.GetNoArena();
2863}
2864inline void EventMetaData::set_component_name(const ::std::string& value) {
2865
2866 component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2867 // @@protoc_insertion_point(field_set:dmi.EventMetaData.component_name)
2868}
2869#if LANG_CXX11
2870inline void EventMetaData::set_component_name(::std::string&& value) {
2871
2872 component_name_.SetNoArena(
2873 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2874 // @@protoc_insertion_point(field_set_rvalue:dmi.EventMetaData.component_name)
2875}
2876#endif
2877inline void EventMetaData::set_component_name(const char* value) {
2878 GOOGLE_DCHECK(value != nullptr);
2879
2880 component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2881 // @@protoc_insertion_point(field_set_char:dmi.EventMetaData.component_name)
2882}
2883inline void EventMetaData::set_component_name(const char* value, size_t size) {
2884
2885 component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2886 ::std::string(reinterpret_cast<const char*>(value), size));
2887 // @@protoc_insertion_point(field_set_pointer:dmi.EventMetaData.component_name)
2888}
2889inline ::std::string* EventMetaData::mutable_component_name() {
2890
2891 // @@protoc_insertion_point(field_mutable:dmi.EventMetaData.component_name)
2892 return component_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2893}
2894inline ::std::string* EventMetaData::release_component_name() {
2895 // @@protoc_insertion_point(field_release:dmi.EventMetaData.component_name)
2896
2897 return component_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2898}
2899inline void EventMetaData::set_allocated_component_name(::std::string* component_name) {
2900 if (component_name != nullptr) {
2901
2902 } else {
2903
2904 }
2905 component_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), component_name);
2906 // @@protoc_insertion_point(field_set_allocated:dmi.EventMetaData.component_name)
2907}
2908
2909// -------------------------------------------------------------------
2910
2911// Event
2912
2913// .dmi.EventMetaData event_metadata = 1;
2914inline bool Event::has_event_metadata() const {
2915 return this != internal_default_instance() && event_metadata_ != nullptr;
2916}
2917inline void Event::clear_event_metadata() {
2918 if (GetArenaNoVirtual() == nullptr && event_metadata_ != nullptr) {
2919 delete event_metadata_;
2920 }
2921 event_metadata_ = nullptr;
2922}
2923inline const ::dmi::EventMetaData& Event::event_metadata() const {
2924 const ::dmi::EventMetaData* p = event_metadata_;
2925 // @@protoc_insertion_point(field_get:dmi.Event.event_metadata)
2926 return p != nullptr ? *p : *reinterpret_cast<const ::dmi::EventMetaData*>(
2927 &::dmi::_EventMetaData_default_instance_);
2928}
2929inline ::dmi::EventMetaData* Event::release_event_metadata() {
2930 // @@protoc_insertion_point(field_release:dmi.Event.event_metadata)
2931
2932 ::dmi::EventMetaData* temp = event_metadata_;
2933 event_metadata_ = nullptr;
2934 return temp;
2935}
2936inline ::dmi::EventMetaData* Event::mutable_event_metadata() {
2937
2938 if (event_metadata_ == nullptr) {
2939 auto* p = CreateMaybeMessage<::dmi::EventMetaData>(GetArenaNoVirtual());
2940 event_metadata_ = p;
2941 }
2942 // @@protoc_insertion_point(field_mutable:dmi.Event.event_metadata)
2943 return event_metadata_;
2944}
2945inline void Event::set_allocated_event_metadata(::dmi::EventMetaData* event_metadata) {
2946 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2947 if (message_arena == nullptr) {
2948 delete event_metadata_;
2949 }
2950 if (event_metadata) {
2951 ::google::protobuf::Arena* submessage_arena = nullptr;
2952 if (message_arena != submessage_arena) {
2953 event_metadata = ::google::protobuf::internal::GetOwnedMessage(
2954 message_arena, event_metadata, submessage_arena);
2955 }
2956
2957 } else {
2958
2959 }
2960 event_metadata_ = event_metadata;
2961 // @@protoc_insertion_point(field_set_allocated:dmi.Event.event_metadata)
2962}
2963
2964// .dmi.EventIds event_id = 2;
2965inline void Event::clear_event_id() {
2966 event_id_ = 0;
2967}
2968inline ::dmi::EventIds Event::event_id() const {
2969 // @@protoc_insertion_point(field_get:dmi.Event.event_id)
2970 return static_cast< ::dmi::EventIds >(event_id_);
2971}
2972inline void Event::set_event_id(::dmi::EventIds value) {
2973
2974 event_id_ = value;
2975 // @@protoc_insertion_point(field_set:dmi.Event.event_id)
2976}
2977
2978// .google.protobuf.Timestamp raised_ts = 3;
2979inline bool Event::has_raised_ts() const {
2980 return this != internal_default_instance() && raised_ts_ != nullptr;
2981}
2982inline const ::google::protobuf::Timestamp& Event::raised_ts() const {
2983 const ::google::protobuf::Timestamp* p = raised_ts_;
2984 // @@protoc_insertion_point(field_get:dmi.Event.raised_ts)
2985 return p != nullptr ? *p : *reinterpret_cast<const ::google::protobuf::Timestamp*>(
2986 &::google::protobuf::_Timestamp_default_instance_);
2987}
2988inline ::google::protobuf::Timestamp* Event::release_raised_ts() {
2989 // @@protoc_insertion_point(field_release:dmi.Event.raised_ts)
2990
2991 ::google::protobuf::Timestamp* temp = raised_ts_;
2992 raised_ts_ = nullptr;
2993 return temp;
2994}
2995inline ::google::protobuf::Timestamp* Event::mutable_raised_ts() {
2996
2997 if (raised_ts_ == nullptr) {
2998 auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual());
2999 raised_ts_ = p;
3000 }
3001 // @@protoc_insertion_point(field_mutable:dmi.Event.raised_ts)
3002 return raised_ts_;
3003}
3004inline void Event::set_allocated_raised_ts(::google::protobuf::Timestamp* raised_ts) {
3005 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3006 if (message_arena == nullptr) {
3007 delete reinterpret_cast< ::google::protobuf::MessageLite*>(raised_ts_);
3008 }
3009 if (raised_ts) {
3010 ::google::protobuf::Arena* submessage_arena =
3011 reinterpret_cast<::google::protobuf::MessageLite*>(raised_ts)->GetArena();
3012 if (message_arena != submessage_arena) {
3013 raised_ts = ::google::protobuf::internal::GetOwnedMessage(
3014 message_arena, raised_ts, submessage_arena);
3015 }
3016
3017 } else {
3018
3019 }
3020 raised_ts_ = raised_ts;
3021 // @@protoc_insertion_point(field_set_allocated:dmi.Event.raised_ts)
3022}
3023
3024// .dmi.ThresholdInformation threshold_info = 4;
3025inline bool Event::has_threshold_info() const {
3026 return this != internal_default_instance() && threshold_info_ != nullptr;
3027}
3028inline void Event::clear_threshold_info() {
3029 if (GetArenaNoVirtual() == nullptr && threshold_info_ != nullptr) {
3030 delete threshold_info_;
3031 }
3032 threshold_info_ = nullptr;
3033}
3034inline const ::dmi::ThresholdInformation& Event::threshold_info() const {
3035 const ::dmi::ThresholdInformation* p = threshold_info_;
3036 // @@protoc_insertion_point(field_get:dmi.Event.threshold_info)
3037 return p != nullptr ? *p : *reinterpret_cast<const ::dmi::ThresholdInformation*>(
3038 &::dmi::_ThresholdInformation_default_instance_);
3039}
3040inline ::dmi::ThresholdInformation* Event::release_threshold_info() {
3041 // @@protoc_insertion_point(field_release:dmi.Event.threshold_info)
3042
3043 ::dmi::ThresholdInformation* temp = threshold_info_;
3044 threshold_info_ = nullptr;
3045 return temp;
3046}
3047inline ::dmi::ThresholdInformation* Event::mutable_threshold_info() {
3048
3049 if (threshold_info_ == nullptr) {
3050 auto* p = CreateMaybeMessage<::dmi::ThresholdInformation>(GetArenaNoVirtual());
3051 threshold_info_ = p;
3052 }
3053 // @@protoc_insertion_point(field_mutable:dmi.Event.threshold_info)
3054 return threshold_info_;
3055}
3056inline void Event::set_allocated_threshold_info(::dmi::ThresholdInformation* threshold_info) {
3057 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3058 if (message_arena == nullptr) {
3059 delete threshold_info_;
3060 }
3061 if (threshold_info) {
3062 ::google::protobuf::Arena* submessage_arena = nullptr;
3063 if (message_arena != submessage_arena) {
3064 threshold_info = ::google::protobuf::internal::GetOwnedMessage(
3065 message_arena, threshold_info, submessage_arena);
3066 }
3067
3068 } else {
3069
3070 }
3071 threshold_info_ = threshold_info;
3072 // @@protoc_insertion_point(field_set_allocated:dmi.Event.threshold_info)
3073}
3074
3075// string add_info = 5;
3076inline void Event::clear_add_info() {
3077 add_info_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3078}
3079inline const ::std::string& Event::add_info() const {
3080 // @@protoc_insertion_point(field_get:dmi.Event.add_info)
3081 return add_info_.GetNoArena();
3082}
3083inline void Event::set_add_info(const ::std::string& value) {
3084
3085 add_info_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3086 // @@protoc_insertion_point(field_set:dmi.Event.add_info)
3087}
3088#if LANG_CXX11
3089inline void Event::set_add_info(::std::string&& value) {
3090
3091 add_info_.SetNoArena(
3092 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
3093 // @@protoc_insertion_point(field_set_rvalue:dmi.Event.add_info)
3094}
3095#endif
3096inline void Event::set_add_info(const char* value) {
3097 GOOGLE_DCHECK(value != nullptr);
3098
3099 add_info_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3100 // @@protoc_insertion_point(field_set_char:dmi.Event.add_info)
3101}
3102inline void Event::set_add_info(const char* value, size_t size) {
3103
3104 add_info_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3105 ::std::string(reinterpret_cast<const char*>(value), size));
3106 // @@protoc_insertion_point(field_set_pointer:dmi.Event.add_info)
3107}
3108inline ::std::string* Event::mutable_add_info() {
3109
3110 // @@protoc_insertion_point(field_mutable:dmi.Event.add_info)
3111 return add_info_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3112}
3113inline ::std::string* Event::release_add_info() {
3114 // @@protoc_insertion_point(field_release:dmi.Event.add_info)
3115
3116 return add_info_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3117}
3118inline void Event::set_allocated_add_info(::std::string* add_info) {
3119 if (add_info != nullptr) {
3120
3121 } else {
3122
3123 }
3124 add_info_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), add_info);
3125 // @@protoc_insertion_point(field_set_allocated:dmi.Event.add_info)
3126}
3127
3128#ifdef __GNUC__
3129 #pragma GCC diagnostic pop
3130#endif // __GNUC__
3131// -------------------------------------------------------------------
3132
3133// -------------------------------------------------------------------
3134
3135// -------------------------------------------------------------------
3136
3137// -------------------------------------------------------------------
3138
3139// -------------------------------------------------------------------
3140
3141// -------------------------------------------------------------------
3142
3143// -------------------------------------------------------------------
3144
3145// -------------------------------------------------------------------
3146
3147// -------------------------------------------------------------------
3148
3149// -------------------------------------------------------------------
3150
3151
3152// @@protoc_insertion_point(namespace_scope)
3153
3154} // namespace dmi
3155
3156namespace google {
3157namespace protobuf {
3158
3159template <> struct is_proto_enum< ::dmi::ListEventsResponse_Reason> : ::std::true_type {};
3160template <>
3161inline const EnumDescriptor* GetEnumDescriptor< ::dmi::ListEventsResponse_Reason>() {
3162 return ::dmi::ListEventsResponse_Reason_descriptor();
3163}
3164template <> struct is_proto_enum< ::dmi::EventsConfigurationResponse_Reason> : ::std::true_type {};
3165template <>
3166inline const EnumDescriptor* GetEnumDescriptor< ::dmi::EventsConfigurationResponse_Reason>() {
3167 return ::dmi::EventsConfigurationResponse_Reason_descriptor();
3168}
3169template <> struct is_proto_enum< ::dmi::EventIds> : ::std::true_type {};
3170template <>
3171inline const EnumDescriptor* GetEnumDescriptor< ::dmi::EventIds>() {
3172 return ::dmi::EventIds_descriptor();
3173}
3174
3175} // namespace protobuf
3176} // namespace google
3177
3178// @@protoc_insertion_point(global_scope)
3179
3180#include <google/protobuf/port_undef.inc>
3181#endif // PROTOBUF_INCLUDED_dmi_2fhw_5fevents_5fmgmt_5fservice_2eproto