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