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