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