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