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