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