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