VOL-4731: DMI EventCfg should contain an optional component_uuid attribute
Change-Id: Ic29045657b3c102218c1abb813ee42d46a512b5a
diff --git a/cpp/dmi/hw_events_mgmt_service.pb.h b/cpp/dmi/hw_events_mgmt_service.pb.h
index 1812d2c..9939a73 100644
--- a/cpp/dmi/hw_events_mgmt_service.pb.h
+++ b/cpp/dmi/hw_events_mgmt_service.pb.h
@@ -1299,6 +1299,15 @@
::dmi::Uuid* mutable_device_uuid();
void set_allocated_device_uuid(::dmi::Uuid* device_uuid);
+ // .dmi.Uuid component_uuid = 4;
+ bool has_component_uuid() const;
+ void clear_component_uuid();
+ static const int kComponentUuidFieldNumber = 4;
+ const ::dmi::Uuid& component_uuid() const;
+ ::dmi::Uuid* release_component_uuid();
+ ::dmi::Uuid* mutable_component_uuid();
+ void set_allocated_component_uuid(::dmi::Uuid* component_uuid);
+
// .dmi.EventsCfg changes = 2;
bool has_changes() const;
void clear_changes();
@@ -1330,6 +1339,7 @@
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::dmi::Uuid* device_uuid_;
+ ::dmi::Uuid* component_uuid_;
union OperationUnion {
OperationUnion() {}
::dmi::EventsCfg* changes_;
@@ -2589,6 +2599,51 @@
// @@protoc_insertion_point(field_set:dmi.EventsConfigurationRequest.reset_to_default)
}
+// .dmi.Uuid component_uuid = 4;
+inline bool EventsConfigurationRequest::has_component_uuid() const {
+ return this != internal_default_instance() && component_uuid_ != nullptr;
+}
+inline const ::dmi::Uuid& EventsConfigurationRequest::component_uuid() const {
+ const ::dmi::Uuid* p = component_uuid_;
+ // @@protoc_insertion_point(field_get:dmi.EventsConfigurationRequest.component_uuid)
+ return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>(
+ &::dmi::_Uuid_default_instance_);
+}
+inline ::dmi::Uuid* EventsConfigurationRequest::release_component_uuid() {
+ // @@protoc_insertion_point(field_release:dmi.EventsConfigurationRequest.component_uuid)
+
+ ::dmi::Uuid* temp = component_uuid_;
+ component_uuid_ = nullptr;
+ return temp;
+}
+inline ::dmi::Uuid* EventsConfigurationRequest::mutable_component_uuid() {
+
+ if (component_uuid_ == nullptr) {
+ auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual());
+ component_uuid_ = p;
+ }
+ // @@protoc_insertion_point(field_mutable:dmi.EventsConfigurationRequest.component_uuid)
+ return component_uuid_;
+}
+inline void EventsConfigurationRequest::set_allocated_component_uuid(::dmi::Uuid* component_uuid) {
+ ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
+ if (message_arena == nullptr) {
+ delete reinterpret_cast< ::google::protobuf::MessageLite*>(component_uuid_);
+ }
+ if (component_uuid) {
+ ::google::protobuf::Arena* submessage_arena = nullptr;
+ if (message_arena != submessage_arena) {
+ component_uuid = ::google::protobuf::internal::GetOwnedMessage(
+ message_arena, component_uuid, submessage_arena);
+ }
+
+ } else {
+
+ }
+ component_uuid_ = component_uuid;
+ // @@protoc_insertion_point(field_set_allocated:dmi.EventsConfigurationRequest.component_uuid)
+}
+
inline bool EventsConfigurationRequest::has_operation() const {
return operation_case() != OPERATION_NOT_SET;
}