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_management_service.proto |
| 3 | |
| 4 | #ifndef PROTOBUF_INCLUDED_dmi_2fhw_5fmanagement_5fservice_2eproto |
| 5 | #define PROTOBUF_INCLUDED_dmi_2fhw_5fmanagement_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/empty.pb.h> |
| 38 | // @@protoc_insertion_point(includes) |
| 39 | #include <google/protobuf/port_def.inc> |
| 40 | #define PROTOBUF_INTERNAL_EXPORT_dmi_2fhw_5fmanagement_5fservice_2eproto |
| 41 | |
| 42 | // Internal implementation detail -- do not use these members. |
| 43 | struct TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto { |
| 44 | static const ::google::protobuf::internal::ParseTableField entries[] |
| 45 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
| 46 | static const ::google::protobuf::internal::AuxillaryParseTableField aux[] |
| 47 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 48 | static const ::google::protobuf::internal::ParseTable schema[35] |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 49 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
| 50 | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
| 51 | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
| 52 | static const ::google::protobuf::uint32 offsets[]; |
| 53 | }; |
| 54 | void AddDescriptors_dmi_2fhw_5fmanagement_5fservice_2eproto(); |
| 55 | namespace dmi { |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 56 | class DisableHWComponentRequest; |
| 57 | class DisableHWComponentRequestDefaultTypeInternal; |
| 58 | extern DisableHWComponentRequestDefaultTypeInternal _DisableHWComponentRequest_default_instance_; |
| 59 | class DisableHWComponentResponse; |
| 60 | class DisableHWComponentResponseDefaultTypeInternal; |
| 61 | extern DisableHWComponentResponseDefaultTypeInternal _DisableHWComponentResponse_default_instance_; |
| 62 | class EnableHWComponentRequest; |
| 63 | class EnableHWComponentRequestDefaultTypeInternal; |
| 64 | extern EnableHWComponentRequestDefaultTypeInternal _EnableHWComponentRequest_default_instance_; |
| 65 | class EnableHWComponentResponse; |
| 66 | class EnableHWComponentResponseDefaultTypeInternal; |
| 67 | extern EnableHWComponentResponseDefaultTypeInternal _EnableHWComponentResponse_default_instance_; |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 68 | class EntitiesLogLevel; |
| 69 | class EntitiesLogLevelDefaultTypeInternal; |
| 70 | extern EntitiesLogLevelDefaultTypeInternal _EntitiesLogLevel_default_instance_; |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 71 | class GetDmLogLevelRequest; |
| 72 | class GetDmLogLevelRequestDefaultTypeInternal; |
| 73 | extern GetDmLogLevelRequestDefaultTypeInternal _GetDmLogLevelRequest_default_instance_; |
| 74 | class GetDmLogLevelResponse; |
| 75 | class GetDmLogLevelResponseDefaultTypeInternal; |
| 76 | extern GetDmLogLevelResponseDefaultTypeInternal _GetDmLogLevelResponse_default_instance_; |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 77 | class GetLogLevelRequest; |
| 78 | class GetLogLevelRequestDefaultTypeInternal; |
| 79 | extern GetLogLevelRequestDefaultTypeInternal _GetLogLevelRequest_default_instance_; |
| 80 | class GetLogLevelResponse; |
| 81 | class GetLogLevelResponseDefaultTypeInternal; |
| 82 | extern GetLogLevelResponseDefaultTypeInternal _GetLogLevelResponse_default_instance_; |
| 83 | class GetLoggableEntitiesRequest; |
| 84 | class GetLoggableEntitiesRequestDefaultTypeInternal; |
| 85 | extern GetLoggableEntitiesRequestDefaultTypeInternal _GetLoggableEntitiesRequest_default_instance_; |
| 86 | class GetLoggingEndpointResponse; |
| 87 | class GetLoggingEndpointResponseDefaultTypeInternal; |
| 88 | extern GetLoggingEndpointResponseDefaultTypeInternal _GetLoggingEndpointResponse_default_instance_; |
| 89 | class GetMsgBusEndpointResponse; |
| 90 | class GetMsgBusEndpointResponseDefaultTypeInternal; |
| 91 | extern GetMsgBusEndpointResponseDefaultTypeInternal _GetMsgBusEndpointResponse_default_instance_; |
| 92 | class HWComponentInfoGetRequest; |
| 93 | class HWComponentInfoGetRequestDefaultTypeInternal; |
| 94 | extern HWComponentInfoGetRequestDefaultTypeInternal _HWComponentInfoGetRequest_default_instance_; |
| 95 | class HWComponentInfoGetResponse; |
| 96 | class HWComponentInfoGetResponseDefaultTypeInternal; |
| 97 | extern HWComponentInfoGetResponseDefaultTypeInternal _HWComponentInfoGetResponse_default_instance_; |
| 98 | class HWComponentInfoSetRequest; |
| 99 | class HWComponentInfoSetRequestDefaultTypeInternal; |
| 100 | extern HWComponentInfoSetRequestDefaultTypeInternal _HWComponentInfoSetRequest_default_instance_; |
| 101 | class HWComponentInfoSetResponse; |
| 102 | class HWComponentInfoSetResponseDefaultTypeInternal; |
| 103 | extern HWComponentInfoSetResponseDefaultTypeInternal _HWComponentInfoSetResponse_default_instance_; |
Chandrakanth Nalkudre Gowda | 415b83c | 2021-04-28 18:01:29 +0530 | [diff] [blame] | 104 | class Heartbeat; |
| 105 | class HeartbeatDefaultTypeInternal; |
| 106 | extern HeartbeatDefaultTypeInternal _Heartbeat_default_instance_; |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 107 | class ManagedDeviceInfo; |
| 108 | class ManagedDeviceInfoDefaultTypeInternal; |
| 109 | extern ManagedDeviceInfoDefaultTypeInternal _ManagedDeviceInfo_default_instance_; |
| 110 | class ManagedDevicesResponse; |
| 111 | class ManagedDevicesResponseDefaultTypeInternal; |
| 112 | extern ManagedDevicesResponseDefaultTypeInternal _ManagedDevicesResponse_default_instance_; |
| 113 | class PhysicalInventoryRequest; |
| 114 | class PhysicalInventoryRequestDefaultTypeInternal; |
| 115 | extern PhysicalInventoryRequestDefaultTypeInternal _PhysicalInventoryRequest_default_instance_; |
| 116 | class PhysicalInventoryResponse; |
| 117 | class PhysicalInventoryResponseDefaultTypeInternal; |
| 118 | extern PhysicalInventoryResponseDefaultTypeInternal _PhysicalInventoryResponse_default_instance_; |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 119 | class RebootDeviceRequest; |
| 120 | class RebootDeviceRequestDefaultTypeInternal; |
| 121 | extern RebootDeviceRequestDefaultTypeInternal _RebootDeviceRequest_default_instance_; |
| 122 | class RebootDeviceResponse; |
| 123 | class RebootDeviceResponseDefaultTypeInternal; |
| 124 | extern RebootDeviceResponseDefaultTypeInternal _RebootDeviceResponse_default_instance_; |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 125 | class ResetHWComponentRequest; |
| 126 | class ResetHWComponentRequestDefaultTypeInternal; |
| 127 | extern ResetHWComponentRequestDefaultTypeInternal _ResetHWComponentRequest_default_instance_; |
| 128 | class ResetHWComponentResponse; |
| 129 | class ResetHWComponentResponseDefaultTypeInternal; |
| 130 | extern ResetHWComponentResponseDefaultTypeInternal _ResetHWComponentResponse_default_instance_; |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 131 | class SetDmLogLevelRequest; |
| 132 | class SetDmLogLevelRequestDefaultTypeInternal; |
| 133 | extern SetDmLogLevelRequestDefaultTypeInternal _SetDmLogLevelRequest_default_instance_; |
| 134 | class SetDmLogLevelResponse; |
| 135 | class SetDmLogLevelResponseDefaultTypeInternal; |
| 136 | extern SetDmLogLevelResponseDefaultTypeInternal _SetDmLogLevelResponse_default_instance_; |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 137 | class SetLogLevelRequest; |
| 138 | class SetLogLevelRequestDefaultTypeInternal; |
| 139 | extern SetLogLevelRequestDefaultTypeInternal _SetLogLevelRequest_default_instance_; |
| 140 | class SetLogLevelResponse; |
| 141 | class SetLogLevelResponseDefaultTypeInternal; |
| 142 | extern SetLogLevelResponseDefaultTypeInternal _SetLogLevelResponse_default_instance_; |
| 143 | class SetLoggingEndpointRequest; |
| 144 | class SetLoggingEndpointRequestDefaultTypeInternal; |
| 145 | extern SetLoggingEndpointRequestDefaultTypeInternal _SetLoggingEndpointRequest_default_instance_; |
| 146 | class SetMsgBusEndpointRequest; |
| 147 | class SetMsgBusEndpointRequestDefaultTypeInternal; |
| 148 | extern SetMsgBusEndpointRequestDefaultTypeInternal _SetMsgBusEndpointRequest_default_instance_; |
| 149 | class SetRemoteEndpointResponse; |
| 150 | class SetRemoteEndpointResponseDefaultTypeInternal; |
| 151 | extern SetRemoteEndpointResponseDefaultTypeInternal _SetRemoteEndpointResponse_default_instance_; |
| 152 | class StartManagingDeviceResponse; |
| 153 | class StartManagingDeviceResponseDefaultTypeInternal; |
| 154 | extern StartManagingDeviceResponseDefaultTypeInternal _StartManagingDeviceResponse_default_instance_; |
| 155 | class StopManagingDeviceRequest; |
| 156 | class StopManagingDeviceRequestDefaultTypeInternal; |
| 157 | extern StopManagingDeviceRequestDefaultTypeInternal _StopManagingDeviceRequest_default_instance_; |
| 158 | class StopManagingDeviceResponse; |
| 159 | class StopManagingDeviceResponseDefaultTypeInternal; |
| 160 | extern StopManagingDeviceResponseDefaultTypeInternal _StopManagingDeviceResponse_default_instance_; |
| 161 | } // namespace dmi |
| 162 | namespace google { |
| 163 | namespace protobuf { |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 164 | template<> ::dmi::DisableHWComponentRequest* Arena::CreateMaybeMessage<::dmi::DisableHWComponentRequest>(Arena*); |
| 165 | template<> ::dmi::DisableHWComponentResponse* Arena::CreateMaybeMessage<::dmi::DisableHWComponentResponse>(Arena*); |
| 166 | template<> ::dmi::EnableHWComponentRequest* Arena::CreateMaybeMessage<::dmi::EnableHWComponentRequest>(Arena*); |
| 167 | template<> ::dmi::EnableHWComponentResponse* Arena::CreateMaybeMessage<::dmi::EnableHWComponentResponse>(Arena*); |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 168 | template<> ::dmi::EntitiesLogLevel* Arena::CreateMaybeMessage<::dmi::EntitiesLogLevel>(Arena*); |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 169 | template<> ::dmi::GetDmLogLevelRequest* Arena::CreateMaybeMessage<::dmi::GetDmLogLevelRequest>(Arena*); |
| 170 | template<> ::dmi::GetDmLogLevelResponse* Arena::CreateMaybeMessage<::dmi::GetDmLogLevelResponse>(Arena*); |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 171 | template<> ::dmi::GetLogLevelRequest* Arena::CreateMaybeMessage<::dmi::GetLogLevelRequest>(Arena*); |
| 172 | template<> ::dmi::GetLogLevelResponse* Arena::CreateMaybeMessage<::dmi::GetLogLevelResponse>(Arena*); |
| 173 | template<> ::dmi::GetLoggableEntitiesRequest* Arena::CreateMaybeMessage<::dmi::GetLoggableEntitiesRequest>(Arena*); |
| 174 | template<> ::dmi::GetLoggingEndpointResponse* Arena::CreateMaybeMessage<::dmi::GetLoggingEndpointResponse>(Arena*); |
| 175 | template<> ::dmi::GetMsgBusEndpointResponse* Arena::CreateMaybeMessage<::dmi::GetMsgBusEndpointResponse>(Arena*); |
| 176 | template<> ::dmi::HWComponentInfoGetRequest* Arena::CreateMaybeMessage<::dmi::HWComponentInfoGetRequest>(Arena*); |
| 177 | template<> ::dmi::HWComponentInfoGetResponse* Arena::CreateMaybeMessage<::dmi::HWComponentInfoGetResponse>(Arena*); |
| 178 | template<> ::dmi::HWComponentInfoSetRequest* Arena::CreateMaybeMessage<::dmi::HWComponentInfoSetRequest>(Arena*); |
| 179 | template<> ::dmi::HWComponentInfoSetResponse* Arena::CreateMaybeMessage<::dmi::HWComponentInfoSetResponse>(Arena*); |
Chandrakanth Nalkudre Gowda | 415b83c | 2021-04-28 18:01:29 +0530 | [diff] [blame] | 180 | template<> ::dmi::Heartbeat* Arena::CreateMaybeMessage<::dmi::Heartbeat>(Arena*); |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 181 | template<> ::dmi::ManagedDeviceInfo* Arena::CreateMaybeMessage<::dmi::ManagedDeviceInfo>(Arena*); |
| 182 | template<> ::dmi::ManagedDevicesResponse* Arena::CreateMaybeMessage<::dmi::ManagedDevicesResponse>(Arena*); |
| 183 | template<> ::dmi::PhysicalInventoryRequest* Arena::CreateMaybeMessage<::dmi::PhysicalInventoryRequest>(Arena*); |
| 184 | template<> ::dmi::PhysicalInventoryResponse* Arena::CreateMaybeMessage<::dmi::PhysicalInventoryResponse>(Arena*); |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 185 | template<> ::dmi::RebootDeviceRequest* Arena::CreateMaybeMessage<::dmi::RebootDeviceRequest>(Arena*); |
| 186 | template<> ::dmi::RebootDeviceResponse* Arena::CreateMaybeMessage<::dmi::RebootDeviceResponse>(Arena*); |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 187 | template<> ::dmi::ResetHWComponentRequest* Arena::CreateMaybeMessage<::dmi::ResetHWComponentRequest>(Arena*); |
| 188 | template<> ::dmi::ResetHWComponentResponse* Arena::CreateMaybeMessage<::dmi::ResetHWComponentResponse>(Arena*); |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 189 | template<> ::dmi::SetDmLogLevelRequest* Arena::CreateMaybeMessage<::dmi::SetDmLogLevelRequest>(Arena*); |
| 190 | template<> ::dmi::SetDmLogLevelResponse* Arena::CreateMaybeMessage<::dmi::SetDmLogLevelResponse>(Arena*); |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 191 | template<> ::dmi::SetLogLevelRequest* Arena::CreateMaybeMessage<::dmi::SetLogLevelRequest>(Arena*); |
| 192 | template<> ::dmi::SetLogLevelResponse* Arena::CreateMaybeMessage<::dmi::SetLogLevelResponse>(Arena*); |
| 193 | template<> ::dmi::SetLoggingEndpointRequest* Arena::CreateMaybeMessage<::dmi::SetLoggingEndpointRequest>(Arena*); |
| 194 | template<> ::dmi::SetMsgBusEndpointRequest* Arena::CreateMaybeMessage<::dmi::SetMsgBusEndpointRequest>(Arena*); |
| 195 | template<> ::dmi::SetRemoteEndpointResponse* Arena::CreateMaybeMessage<::dmi::SetRemoteEndpointResponse>(Arena*); |
| 196 | template<> ::dmi::StartManagingDeviceResponse* Arena::CreateMaybeMessage<::dmi::StartManagingDeviceResponse>(Arena*); |
| 197 | template<> ::dmi::StopManagingDeviceRequest* Arena::CreateMaybeMessage<::dmi::StopManagingDeviceRequest>(Arena*); |
| 198 | template<> ::dmi::StopManagingDeviceResponse* Arena::CreateMaybeMessage<::dmi::StopManagingDeviceResponse>(Arena*); |
| 199 | } // namespace protobuf |
| 200 | } // namespace google |
| 201 | namespace dmi { |
| 202 | |
| 203 | enum PhysicalInventoryResponse_Reason { |
| 204 | PhysicalInventoryResponse_Reason_UNDEFINED_REASON = 0, |
| 205 | PhysicalInventoryResponse_Reason_UNKNOWN_DEVICE = 1, |
| 206 | PhysicalInventoryResponse_Reason_INTERNAL_ERROR = 2, |
| 207 | PhysicalInventoryResponse_Reason_DEVICE_UNREACHABLE = 3, |
| 208 | PhysicalInventoryResponse_Reason_PhysicalInventoryResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 209 | PhysicalInventoryResponse_Reason_PhysicalInventoryResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 210 | }; |
| 211 | bool PhysicalInventoryResponse_Reason_IsValid(int value); |
| 212 | const PhysicalInventoryResponse_Reason PhysicalInventoryResponse_Reason_Reason_MIN = PhysicalInventoryResponse_Reason_UNDEFINED_REASON; |
| 213 | const PhysicalInventoryResponse_Reason PhysicalInventoryResponse_Reason_Reason_MAX = PhysicalInventoryResponse_Reason_DEVICE_UNREACHABLE; |
| 214 | const int PhysicalInventoryResponse_Reason_Reason_ARRAYSIZE = PhysicalInventoryResponse_Reason_Reason_MAX + 1; |
| 215 | |
| 216 | const ::google::protobuf::EnumDescriptor* PhysicalInventoryResponse_Reason_descriptor(); |
| 217 | inline const ::std::string& PhysicalInventoryResponse_Reason_Name(PhysicalInventoryResponse_Reason value) { |
| 218 | return ::google::protobuf::internal::NameOfEnum( |
| 219 | PhysicalInventoryResponse_Reason_descriptor(), value); |
| 220 | } |
| 221 | inline bool PhysicalInventoryResponse_Reason_Parse( |
| 222 | const ::std::string& name, PhysicalInventoryResponse_Reason* value) { |
| 223 | return ::google::protobuf::internal::ParseNamedEnum<PhysicalInventoryResponse_Reason>( |
| 224 | PhysicalInventoryResponse_Reason_descriptor(), name, value); |
| 225 | } |
| 226 | enum HWComponentInfoGetResponse_Reason { |
| 227 | HWComponentInfoGetResponse_Reason_UNDEFINED_REASON = 0, |
| 228 | HWComponentInfoGetResponse_Reason_UNKNOWN_DEVICE = 1, |
| 229 | HWComponentInfoGetResponse_Reason_UNKNOWN_COMPONENT = 2, |
| 230 | HWComponentInfoGetResponse_Reason_INTERNAL_ERROR = 3, |
| 231 | HWComponentInfoGetResponse_Reason_DEVICE_UNREACHABLE = 4, |
| 232 | HWComponentInfoGetResponse_Reason_HWComponentInfoGetResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 233 | HWComponentInfoGetResponse_Reason_HWComponentInfoGetResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 234 | }; |
| 235 | bool HWComponentInfoGetResponse_Reason_IsValid(int value); |
| 236 | const HWComponentInfoGetResponse_Reason HWComponentInfoGetResponse_Reason_Reason_MIN = HWComponentInfoGetResponse_Reason_UNDEFINED_REASON; |
| 237 | const HWComponentInfoGetResponse_Reason HWComponentInfoGetResponse_Reason_Reason_MAX = HWComponentInfoGetResponse_Reason_DEVICE_UNREACHABLE; |
| 238 | const int HWComponentInfoGetResponse_Reason_Reason_ARRAYSIZE = HWComponentInfoGetResponse_Reason_Reason_MAX + 1; |
| 239 | |
| 240 | const ::google::protobuf::EnumDescriptor* HWComponentInfoGetResponse_Reason_descriptor(); |
| 241 | inline const ::std::string& HWComponentInfoGetResponse_Reason_Name(HWComponentInfoGetResponse_Reason value) { |
| 242 | return ::google::protobuf::internal::NameOfEnum( |
| 243 | HWComponentInfoGetResponse_Reason_descriptor(), value); |
| 244 | } |
| 245 | inline bool HWComponentInfoGetResponse_Reason_Parse( |
| 246 | const ::std::string& name, HWComponentInfoGetResponse_Reason* value) { |
| 247 | return ::google::protobuf::internal::ParseNamedEnum<HWComponentInfoGetResponse_Reason>( |
| 248 | HWComponentInfoGetResponse_Reason_descriptor(), name, value); |
| 249 | } |
| 250 | enum HWComponentInfoSetResponse_Reason { |
| 251 | HWComponentInfoSetResponse_Reason_UNDEFINED_REASON = 0, |
| 252 | HWComponentInfoSetResponse_Reason_UNKNOWN_DEVICE = 1, |
| 253 | HWComponentInfoSetResponse_Reason_UNKNOWN_COMPONENT = 2, |
| 254 | HWComponentInfoSetResponse_Reason_INVALID_PARAMS = 3, |
| 255 | HWComponentInfoSetResponse_Reason_INTERNAL_ERROR = 4, |
| 256 | HWComponentInfoSetResponse_Reason_DEVICE_UNREACHABLE = 5, |
Girish Gowdra | 997432d | 2022-03-10 15:59:33 -0800 | [diff] [blame] | 257 | HWComponentInfoSetResponse_Reason_SET_UNSUPPORTED = 6, |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 258 | HWComponentInfoSetResponse_Reason_HWComponentInfoSetResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 259 | HWComponentInfoSetResponse_Reason_HWComponentInfoSetResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 260 | }; |
| 261 | bool HWComponentInfoSetResponse_Reason_IsValid(int value); |
| 262 | const HWComponentInfoSetResponse_Reason HWComponentInfoSetResponse_Reason_Reason_MIN = HWComponentInfoSetResponse_Reason_UNDEFINED_REASON; |
Girish Gowdra | 997432d | 2022-03-10 15:59:33 -0800 | [diff] [blame] | 263 | const HWComponentInfoSetResponse_Reason HWComponentInfoSetResponse_Reason_Reason_MAX = HWComponentInfoSetResponse_Reason_SET_UNSUPPORTED; |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 264 | const int HWComponentInfoSetResponse_Reason_Reason_ARRAYSIZE = HWComponentInfoSetResponse_Reason_Reason_MAX + 1; |
| 265 | |
| 266 | const ::google::protobuf::EnumDescriptor* HWComponentInfoSetResponse_Reason_descriptor(); |
| 267 | inline const ::std::string& HWComponentInfoSetResponse_Reason_Name(HWComponentInfoSetResponse_Reason value) { |
| 268 | return ::google::protobuf::internal::NameOfEnum( |
| 269 | HWComponentInfoSetResponse_Reason_descriptor(), value); |
| 270 | } |
| 271 | inline bool HWComponentInfoSetResponse_Reason_Parse( |
| 272 | const ::std::string& name, HWComponentInfoSetResponse_Reason* value) { |
| 273 | return ::google::protobuf::internal::ParseNamedEnum<HWComponentInfoSetResponse_Reason>( |
| 274 | HWComponentInfoSetResponse_Reason_descriptor(), name, value); |
| 275 | } |
| 276 | enum StartManagingDeviceResponse_Reason { |
| 277 | StartManagingDeviceResponse_Reason_UNDEFINED_REASON = 0, |
| 278 | StartManagingDeviceResponse_Reason_DEVICE_ALREADY_MANAGED = 1, |
| 279 | StartManagingDeviceResponse_Reason_OPERATION_ALREADY_IN_PROGRESS = 2, |
| 280 | StartManagingDeviceResponse_Reason_INVALID_PARAMS = 3, |
| 281 | StartManagingDeviceResponse_Reason_INTERNAL_ERROR = 4, |
amit.ghosh | 6bdb0f7 | 2021-06-02 14:42:29 +0200 | [diff] [blame] | 282 | StartManagingDeviceResponse_Reason_AUTHENTICATION_FAILURE = 5, |
| 283 | StartManagingDeviceResponse_Reason_INCOMPATIBLE_DEVICE = 6, |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 284 | StartManagingDeviceResponse_Reason_StartManagingDeviceResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 285 | StartManagingDeviceResponse_Reason_StartManagingDeviceResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 286 | }; |
| 287 | bool StartManagingDeviceResponse_Reason_IsValid(int value); |
| 288 | const StartManagingDeviceResponse_Reason StartManagingDeviceResponse_Reason_Reason_MIN = StartManagingDeviceResponse_Reason_UNDEFINED_REASON; |
amit.ghosh | 6bdb0f7 | 2021-06-02 14:42:29 +0200 | [diff] [blame] | 289 | const StartManagingDeviceResponse_Reason StartManagingDeviceResponse_Reason_Reason_MAX = StartManagingDeviceResponse_Reason_INCOMPATIBLE_DEVICE; |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 290 | const int StartManagingDeviceResponse_Reason_Reason_ARRAYSIZE = StartManagingDeviceResponse_Reason_Reason_MAX + 1; |
| 291 | |
| 292 | const ::google::protobuf::EnumDescriptor* StartManagingDeviceResponse_Reason_descriptor(); |
| 293 | inline const ::std::string& StartManagingDeviceResponse_Reason_Name(StartManagingDeviceResponse_Reason value) { |
| 294 | return ::google::protobuf::internal::NameOfEnum( |
| 295 | StartManagingDeviceResponse_Reason_descriptor(), value); |
| 296 | } |
| 297 | inline bool StartManagingDeviceResponse_Reason_Parse( |
| 298 | const ::std::string& name, StartManagingDeviceResponse_Reason* value) { |
| 299 | return ::google::protobuf::internal::ParseNamedEnum<StartManagingDeviceResponse_Reason>( |
| 300 | StartManagingDeviceResponse_Reason_descriptor(), name, value); |
| 301 | } |
| 302 | enum StopManagingDeviceResponse_Reason { |
| 303 | StopManagingDeviceResponse_Reason_UNDEFINED_REASON = 0, |
| 304 | StopManagingDeviceResponse_Reason_UNKNOWN_DEVICE = 1, |
amit.ghosh | dd12d88 | 2022-07-01 12:32:36 +0200 | [diff] [blame] | 305 | StopManagingDeviceResponse_Reason_DEVICE_UNREACHABLE = 2, |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 306 | StopManagingDeviceResponse_Reason_StopManagingDeviceResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 307 | StopManagingDeviceResponse_Reason_StopManagingDeviceResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 308 | }; |
| 309 | bool StopManagingDeviceResponse_Reason_IsValid(int value); |
| 310 | const StopManagingDeviceResponse_Reason StopManagingDeviceResponse_Reason_Reason_MIN = StopManagingDeviceResponse_Reason_UNDEFINED_REASON; |
amit.ghosh | dd12d88 | 2022-07-01 12:32:36 +0200 | [diff] [blame] | 311 | const StopManagingDeviceResponse_Reason StopManagingDeviceResponse_Reason_Reason_MAX = StopManagingDeviceResponse_Reason_DEVICE_UNREACHABLE; |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 312 | const int StopManagingDeviceResponse_Reason_Reason_ARRAYSIZE = StopManagingDeviceResponse_Reason_Reason_MAX + 1; |
| 313 | |
| 314 | const ::google::protobuf::EnumDescriptor* StopManagingDeviceResponse_Reason_descriptor(); |
| 315 | inline const ::std::string& StopManagingDeviceResponse_Reason_Name(StopManagingDeviceResponse_Reason value) { |
| 316 | return ::google::protobuf::internal::NameOfEnum( |
| 317 | StopManagingDeviceResponse_Reason_descriptor(), value); |
| 318 | } |
| 319 | inline bool StopManagingDeviceResponse_Reason_Parse( |
| 320 | const ::std::string& name, StopManagingDeviceResponse_Reason* value) { |
| 321 | return ::google::protobuf::internal::ParseNamedEnum<StopManagingDeviceResponse_Reason>( |
| 322 | StopManagingDeviceResponse_Reason_descriptor(), name, value); |
| 323 | } |
| 324 | enum ManagedDevicesResponse_Reason { |
| 325 | ManagedDevicesResponse_Reason_UNDEFINED_REASON = 0, |
| 326 | ManagedDevicesResponse_Reason_INTERNAL_ERROR = 1, |
| 327 | ManagedDevicesResponse_Reason_ManagedDevicesResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 328 | ManagedDevicesResponse_Reason_ManagedDevicesResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 329 | }; |
| 330 | bool ManagedDevicesResponse_Reason_IsValid(int value); |
| 331 | const ManagedDevicesResponse_Reason ManagedDevicesResponse_Reason_Reason_MIN = ManagedDevicesResponse_Reason_UNDEFINED_REASON; |
| 332 | const ManagedDevicesResponse_Reason ManagedDevicesResponse_Reason_Reason_MAX = ManagedDevicesResponse_Reason_INTERNAL_ERROR; |
| 333 | const int ManagedDevicesResponse_Reason_Reason_ARRAYSIZE = ManagedDevicesResponse_Reason_Reason_MAX + 1; |
| 334 | |
| 335 | const ::google::protobuf::EnumDescriptor* ManagedDevicesResponse_Reason_descriptor(); |
| 336 | inline const ::std::string& ManagedDevicesResponse_Reason_Name(ManagedDevicesResponse_Reason value) { |
| 337 | return ::google::protobuf::internal::NameOfEnum( |
| 338 | ManagedDevicesResponse_Reason_descriptor(), value); |
| 339 | } |
| 340 | inline bool ManagedDevicesResponse_Reason_Parse( |
| 341 | const ::std::string& name, ManagedDevicesResponse_Reason* value) { |
| 342 | return ::google::protobuf::internal::ParseNamedEnum<ManagedDevicesResponse_Reason>( |
| 343 | ManagedDevicesResponse_Reason_descriptor(), name, value); |
| 344 | } |
| 345 | enum SetRemoteEndpointResponse_Reason { |
| 346 | SetRemoteEndpointResponse_Reason_UNDEFINED_REASON = 0, |
| 347 | SetRemoteEndpointResponse_Reason_UNKNOWN_DEVICE = 1, |
| 348 | SetRemoteEndpointResponse_Reason_INTERNAL_ERROR = 2, |
| 349 | SetRemoteEndpointResponse_Reason_LOGGING_ENDPOINT_ERROR = 3, |
| 350 | SetRemoteEndpointResponse_Reason_LOGGING_ENDPOINT_PROTOCOL_ERROR = 4, |
| 351 | SetRemoteEndpointResponse_Reason_MSGBUS_ENDPOINT_ERROR = 5, |
| 352 | SetRemoteEndpointResponse_Reason_DEVICE_UNREACHABLE = 6, |
| 353 | SetRemoteEndpointResponse_Reason_SetRemoteEndpointResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 354 | SetRemoteEndpointResponse_Reason_SetRemoteEndpointResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 355 | }; |
| 356 | bool SetRemoteEndpointResponse_Reason_IsValid(int value); |
| 357 | const SetRemoteEndpointResponse_Reason SetRemoteEndpointResponse_Reason_Reason_MIN = SetRemoteEndpointResponse_Reason_UNDEFINED_REASON; |
| 358 | const SetRemoteEndpointResponse_Reason SetRemoteEndpointResponse_Reason_Reason_MAX = SetRemoteEndpointResponse_Reason_DEVICE_UNREACHABLE; |
| 359 | const int SetRemoteEndpointResponse_Reason_Reason_ARRAYSIZE = SetRemoteEndpointResponse_Reason_Reason_MAX + 1; |
| 360 | |
| 361 | const ::google::protobuf::EnumDescriptor* SetRemoteEndpointResponse_Reason_descriptor(); |
| 362 | inline const ::std::string& SetRemoteEndpointResponse_Reason_Name(SetRemoteEndpointResponse_Reason value) { |
| 363 | return ::google::protobuf::internal::NameOfEnum( |
| 364 | SetRemoteEndpointResponse_Reason_descriptor(), value); |
| 365 | } |
| 366 | inline bool SetRemoteEndpointResponse_Reason_Parse( |
| 367 | const ::std::string& name, SetRemoteEndpointResponse_Reason* value) { |
| 368 | return ::google::protobuf::internal::ParseNamedEnum<SetRemoteEndpointResponse_Reason>( |
| 369 | SetRemoteEndpointResponse_Reason_descriptor(), name, value); |
| 370 | } |
| 371 | enum GetLoggingEndpointResponse_Reason { |
| 372 | GetLoggingEndpointResponse_Reason_UNDEFINED_REASON = 0, |
| 373 | GetLoggingEndpointResponse_Reason_UNKNOWN_DEVICE = 1, |
| 374 | GetLoggingEndpointResponse_Reason_INTERNAL_ERROR = 2, |
| 375 | GetLoggingEndpointResponse_Reason_DEVICE_UNREACHABLE = 3, |
| 376 | GetLoggingEndpointResponse_Reason_GetLoggingEndpointResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 377 | GetLoggingEndpointResponse_Reason_GetLoggingEndpointResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 378 | }; |
| 379 | bool GetLoggingEndpointResponse_Reason_IsValid(int value); |
| 380 | const GetLoggingEndpointResponse_Reason GetLoggingEndpointResponse_Reason_Reason_MIN = GetLoggingEndpointResponse_Reason_UNDEFINED_REASON; |
| 381 | const GetLoggingEndpointResponse_Reason GetLoggingEndpointResponse_Reason_Reason_MAX = GetLoggingEndpointResponse_Reason_DEVICE_UNREACHABLE; |
| 382 | const int GetLoggingEndpointResponse_Reason_Reason_ARRAYSIZE = GetLoggingEndpointResponse_Reason_Reason_MAX + 1; |
| 383 | |
| 384 | const ::google::protobuf::EnumDescriptor* GetLoggingEndpointResponse_Reason_descriptor(); |
| 385 | inline const ::std::string& GetLoggingEndpointResponse_Reason_Name(GetLoggingEndpointResponse_Reason value) { |
| 386 | return ::google::protobuf::internal::NameOfEnum( |
| 387 | GetLoggingEndpointResponse_Reason_descriptor(), value); |
| 388 | } |
| 389 | inline bool GetLoggingEndpointResponse_Reason_Parse( |
| 390 | const ::std::string& name, GetLoggingEndpointResponse_Reason* value) { |
| 391 | return ::google::protobuf::internal::ParseNamedEnum<GetLoggingEndpointResponse_Reason>( |
| 392 | GetLoggingEndpointResponse_Reason_descriptor(), name, value); |
| 393 | } |
| 394 | enum GetMsgBusEndpointResponse_Reason { |
| 395 | GetMsgBusEndpointResponse_Reason_UNDEFINED_REASON = 0, |
| 396 | GetMsgBusEndpointResponse_Reason_INTERNAL_ERROR = 1, |
| 397 | GetMsgBusEndpointResponse_Reason_DEVICE_UNREACHABLE = 2, |
| 398 | GetMsgBusEndpointResponse_Reason_GetMsgBusEndpointResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 399 | GetMsgBusEndpointResponse_Reason_GetMsgBusEndpointResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 400 | }; |
| 401 | bool GetMsgBusEndpointResponse_Reason_IsValid(int value); |
| 402 | const GetMsgBusEndpointResponse_Reason GetMsgBusEndpointResponse_Reason_Reason_MIN = GetMsgBusEndpointResponse_Reason_UNDEFINED_REASON; |
| 403 | const GetMsgBusEndpointResponse_Reason GetMsgBusEndpointResponse_Reason_Reason_MAX = GetMsgBusEndpointResponse_Reason_DEVICE_UNREACHABLE; |
| 404 | const int GetMsgBusEndpointResponse_Reason_Reason_ARRAYSIZE = GetMsgBusEndpointResponse_Reason_Reason_MAX + 1; |
| 405 | |
| 406 | const ::google::protobuf::EnumDescriptor* GetMsgBusEndpointResponse_Reason_descriptor(); |
| 407 | inline const ::std::string& GetMsgBusEndpointResponse_Reason_Name(GetMsgBusEndpointResponse_Reason value) { |
| 408 | return ::google::protobuf::internal::NameOfEnum( |
| 409 | GetMsgBusEndpointResponse_Reason_descriptor(), value); |
| 410 | } |
| 411 | inline bool GetMsgBusEndpointResponse_Reason_Parse( |
| 412 | const ::std::string& name, GetMsgBusEndpointResponse_Reason* value) { |
| 413 | return ::google::protobuf::internal::ParseNamedEnum<GetMsgBusEndpointResponse_Reason>( |
| 414 | GetMsgBusEndpointResponse_Reason_descriptor(), name, value); |
| 415 | } |
| 416 | enum SetLogLevelResponse_Reason { |
| 417 | SetLogLevelResponse_Reason_UNDEFINED_REASON = 0, |
| 418 | SetLogLevelResponse_Reason_UNKNOWN_DEVICE = 1, |
| 419 | SetLogLevelResponse_Reason_INTERNAL_ERROR = 2, |
| 420 | SetLogLevelResponse_Reason_UNKNOWN_LOG_ENTITY = 3, |
| 421 | SetLogLevelResponse_Reason_DEVICE_UNREACHABLE = 4, |
| 422 | SetLogLevelResponse_Reason_SetLogLevelResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 423 | SetLogLevelResponse_Reason_SetLogLevelResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 424 | }; |
| 425 | bool SetLogLevelResponse_Reason_IsValid(int value); |
| 426 | const SetLogLevelResponse_Reason SetLogLevelResponse_Reason_Reason_MIN = SetLogLevelResponse_Reason_UNDEFINED_REASON; |
| 427 | const SetLogLevelResponse_Reason SetLogLevelResponse_Reason_Reason_MAX = SetLogLevelResponse_Reason_DEVICE_UNREACHABLE; |
| 428 | const int SetLogLevelResponse_Reason_Reason_ARRAYSIZE = SetLogLevelResponse_Reason_Reason_MAX + 1; |
| 429 | |
| 430 | const ::google::protobuf::EnumDescriptor* SetLogLevelResponse_Reason_descriptor(); |
| 431 | inline const ::std::string& SetLogLevelResponse_Reason_Name(SetLogLevelResponse_Reason value) { |
| 432 | return ::google::protobuf::internal::NameOfEnum( |
| 433 | SetLogLevelResponse_Reason_descriptor(), value); |
| 434 | } |
| 435 | inline bool SetLogLevelResponse_Reason_Parse( |
| 436 | const ::std::string& name, SetLogLevelResponse_Reason* value) { |
| 437 | return ::google::protobuf::internal::ParseNamedEnum<SetLogLevelResponse_Reason>( |
| 438 | SetLogLevelResponse_Reason_descriptor(), name, value); |
| 439 | } |
| 440 | enum GetLogLevelResponse_Reason { |
| 441 | GetLogLevelResponse_Reason_UNDEFINED_REASON = 0, |
| 442 | GetLogLevelResponse_Reason_UNKNOWN_DEVICE = 1, |
| 443 | GetLogLevelResponse_Reason_INTERNAL_ERROR = 2, |
| 444 | GetLogLevelResponse_Reason_UNKNOWN_LOG_ENTITY = 3, |
| 445 | GetLogLevelResponse_Reason_DEVICE_UNREACHABLE = 4, |
| 446 | GetLogLevelResponse_Reason_GetLogLevelResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 447 | GetLogLevelResponse_Reason_GetLogLevelResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 448 | }; |
| 449 | bool GetLogLevelResponse_Reason_IsValid(int value); |
| 450 | const GetLogLevelResponse_Reason GetLogLevelResponse_Reason_Reason_MIN = GetLogLevelResponse_Reason_UNDEFINED_REASON; |
| 451 | const GetLogLevelResponse_Reason GetLogLevelResponse_Reason_Reason_MAX = GetLogLevelResponse_Reason_DEVICE_UNREACHABLE; |
| 452 | const int GetLogLevelResponse_Reason_Reason_ARRAYSIZE = GetLogLevelResponse_Reason_Reason_MAX + 1; |
| 453 | |
| 454 | const ::google::protobuf::EnumDescriptor* GetLogLevelResponse_Reason_descriptor(); |
| 455 | inline const ::std::string& GetLogLevelResponse_Reason_Name(GetLogLevelResponse_Reason value) { |
| 456 | return ::google::protobuf::internal::NameOfEnum( |
| 457 | GetLogLevelResponse_Reason_descriptor(), value); |
| 458 | } |
| 459 | inline bool GetLogLevelResponse_Reason_Parse( |
| 460 | const ::std::string& name, GetLogLevelResponse_Reason* value) { |
| 461 | return ::google::protobuf::internal::ParseNamedEnum<GetLogLevelResponse_Reason>( |
| 462 | GetLogLevelResponse_Reason_descriptor(), name, value); |
| 463 | } |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 464 | enum SetDmLogLevelResponse_Reason { |
| 465 | SetDmLogLevelResponse_Reason_UNDEFINED_REASON = 0, |
| 466 | SetDmLogLevelResponse_Reason_INTERNAL_ERROR = 1, |
| 467 | SetDmLogLevelResponse_Reason_UNKNOWN_LOG_LEVEL = 2, |
| 468 | SetDmLogLevelResponse_Reason_SetDmLogLevelResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 469 | SetDmLogLevelResponse_Reason_SetDmLogLevelResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 470 | }; |
| 471 | bool SetDmLogLevelResponse_Reason_IsValid(int value); |
| 472 | const SetDmLogLevelResponse_Reason SetDmLogLevelResponse_Reason_Reason_MIN = SetDmLogLevelResponse_Reason_UNDEFINED_REASON; |
| 473 | const SetDmLogLevelResponse_Reason SetDmLogLevelResponse_Reason_Reason_MAX = SetDmLogLevelResponse_Reason_UNKNOWN_LOG_LEVEL; |
| 474 | const int SetDmLogLevelResponse_Reason_Reason_ARRAYSIZE = SetDmLogLevelResponse_Reason_Reason_MAX + 1; |
| 475 | |
| 476 | const ::google::protobuf::EnumDescriptor* SetDmLogLevelResponse_Reason_descriptor(); |
| 477 | inline const ::std::string& SetDmLogLevelResponse_Reason_Name(SetDmLogLevelResponse_Reason value) { |
| 478 | return ::google::protobuf::internal::NameOfEnum( |
| 479 | SetDmLogLevelResponse_Reason_descriptor(), value); |
| 480 | } |
| 481 | inline bool SetDmLogLevelResponse_Reason_Parse( |
| 482 | const ::std::string& name, SetDmLogLevelResponse_Reason* value) { |
| 483 | return ::google::protobuf::internal::ParseNamedEnum<SetDmLogLevelResponse_Reason>( |
| 484 | SetDmLogLevelResponse_Reason_descriptor(), name, value); |
| 485 | } |
| 486 | enum GetDmLogLevelResponse_Reason { |
| 487 | GetDmLogLevelResponse_Reason_UNDEFINED_REASON = 0, |
| 488 | GetDmLogLevelResponse_Reason_INTERNAL_ERROR = 1, |
| 489 | GetDmLogLevelResponse_Reason_GetDmLogLevelResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 490 | GetDmLogLevelResponse_Reason_GetDmLogLevelResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 491 | }; |
| 492 | bool GetDmLogLevelResponse_Reason_IsValid(int value); |
| 493 | const GetDmLogLevelResponse_Reason GetDmLogLevelResponse_Reason_Reason_MIN = GetDmLogLevelResponse_Reason_UNDEFINED_REASON; |
| 494 | const GetDmLogLevelResponse_Reason GetDmLogLevelResponse_Reason_Reason_MAX = GetDmLogLevelResponse_Reason_INTERNAL_ERROR; |
| 495 | const int GetDmLogLevelResponse_Reason_Reason_ARRAYSIZE = GetDmLogLevelResponse_Reason_Reason_MAX + 1; |
| 496 | |
| 497 | const ::google::protobuf::EnumDescriptor* GetDmLogLevelResponse_Reason_descriptor(); |
| 498 | inline const ::std::string& GetDmLogLevelResponse_Reason_Name(GetDmLogLevelResponse_Reason value) { |
| 499 | return ::google::protobuf::internal::NameOfEnum( |
| 500 | GetDmLogLevelResponse_Reason_descriptor(), value); |
| 501 | } |
| 502 | inline bool GetDmLogLevelResponse_Reason_Parse( |
| 503 | const ::std::string& name, GetDmLogLevelResponse_Reason* value) { |
| 504 | return ::google::protobuf::internal::ParseNamedEnum<GetDmLogLevelResponse_Reason>( |
| 505 | GetDmLogLevelResponse_Reason_descriptor(), name, value); |
| 506 | } |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 507 | enum RebootDeviceResponse_Reason { |
| 508 | RebootDeviceResponse_Reason_UNDEFINED_REASON = 0, |
| 509 | RebootDeviceResponse_Reason_UNKNOWN_DEVICE = 1, |
| 510 | RebootDeviceResponse_Reason_INTERNAL_ERROR = 2, |
| 511 | RebootDeviceResponse_Reason_DEVICE_UNREACHABLE = 3, |
amit.ghosh | 840cb60 | 2022-04-08 16:10:50 +0200 | [diff] [blame] | 512 | RebootDeviceResponse_Reason_DEVICE_IN_WRONG_STATE = 4, |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 513 | RebootDeviceResponse_Reason_RebootDeviceResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 514 | RebootDeviceResponse_Reason_RebootDeviceResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 515 | }; |
| 516 | bool RebootDeviceResponse_Reason_IsValid(int value); |
| 517 | const RebootDeviceResponse_Reason RebootDeviceResponse_Reason_Reason_MIN = RebootDeviceResponse_Reason_UNDEFINED_REASON; |
amit.ghosh | 840cb60 | 2022-04-08 16:10:50 +0200 | [diff] [blame] | 518 | const RebootDeviceResponse_Reason RebootDeviceResponse_Reason_Reason_MAX = RebootDeviceResponse_Reason_DEVICE_IN_WRONG_STATE; |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 519 | const int RebootDeviceResponse_Reason_Reason_ARRAYSIZE = RebootDeviceResponse_Reason_Reason_MAX + 1; |
| 520 | |
| 521 | const ::google::protobuf::EnumDescriptor* RebootDeviceResponse_Reason_descriptor(); |
| 522 | inline const ::std::string& RebootDeviceResponse_Reason_Name(RebootDeviceResponse_Reason value) { |
| 523 | return ::google::protobuf::internal::NameOfEnum( |
| 524 | RebootDeviceResponse_Reason_descriptor(), value); |
| 525 | } |
| 526 | inline bool RebootDeviceResponse_Reason_Parse( |
| 527 | const ::std::string& name, RebootDeviceResponse_Reason* value) { |
| 528 | return ::google::protobuf::internal::ParseNamedEnum<RebootDeviceResponse_Reason>( |
| 529 | RebootDeviceResponse_Reason_descriptor(), name, value); |
| 530 | } |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 531 | enum DisableHWComponentResponse_Reason { |
| 532 | DisableHWComponentResponse_Reason_UNDEFINED_REASON = 0, |
| 533 | DisableHWComponentResponse_Reason_UNKNOWN_DEVICE = 1, |
| 534 | DisableHWComponentResponse_Reason_UNKNOWN_COMPONENT = 2, |
| 535 | DisableHWComponentResponse_Reason_INTERNAL_ERROR = 3, |
| 536 | DisableHWComponentResponse_Reason_DEVICE_UNREACHABLE = 4, |
| 537 | DisableHWComponentResponse_Reason_DISABLE_UNSUPPORTED = 5, |
| 538 | DisableHWComponentResponse_Reason_INVALID_PARAMS = 6, |
| 539 | DisableHWComponentResponse_Reason_DisableHWComponentResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 540 | DisableHWComponentResponse_Reason_DisableHWComponentResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 541 | }; |
| 542 | bool DisableHWComponentResponse_Reason_IsValid(int value); |
| 543 | const DisableHWComponentResponse_Reason DisableHWComponentResponse_Reason_Reason_MIN = DisableHWComponentResponse_Reason_UNDEFINED_REASON; |
| 544 | const DisableHWComponentResponse_Reason DisableHWComponentResponse_Reason_Reason_MAX = DisableHWComponentResponse_Reason_INVALID_PARAMS; |
| 545 | const int DisableHWComponentResponse_Reason_Reason_ARRAYSIZE = DisableHWComponentResponse_Reason_Reason_MAX + 1; |
| 546 | |
| 547 | const ::google::protobuf::EnumDescriptor* DisableHWComponentResponse_Reason_descriptor(); |
| 548 | inline const ::std::string& DisableHWComponentResponse_Reason_Name(DisableHWComponentResponse_Reason value) { |
| 549 | return ::google::protobuf::internal::NameOfEnum( |
| 550 | DisableHWComponentResponse_Reason_descriptor(), value); |
| 551 | } |
| 552 | inline bool DisableHWComponentResponse_Reason_Parse( |
| 553 | const ::std::string& name, DisableHWComponentResponse_Reason* value) { |
| 554 | return ::google::protobuf::internal::ParseNamedEnum<DisableHWComponentResponse_Reason>( |
| 555 | DisableHWComponentResponse_Reason_descriptor(), name, value); |
| 556 | } |
| 557 | enum ResetHWComponentResponse_Reason { |
| 558 | ResetHWComponentResponse_Reason_UNDEFINED_REASON = 0, |
| 559 | ResetHWComponentResponse_Reason_UNKNOWN_DEVICE = 1, |
| 560 | ResetHWComponentResponse_Reason_UNKNOWN_COMPONENT = 2, |
| 561 | ResetHWComponentResponse_Reason_INTERNAL_ERROR = 3, |
| 562 | ResetHWComponentResponse_Reason_DEVICE_UNREACHABLE = 4, |
| 563 | ResetHWComponentResponse_Reason_RESET_UNSUPPORTED = 5, |
| 564 | ResetHWComponentResponse_Reason_INVALID_PARAMS = 6, |
| 565 | ResetHWComponentResponse_Reason_ResetHWComponentResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 566 | ResetHWComponentResponse_Reason_ResetHWComponentResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 567 | }; |
| 568 | bool ResetHWComponentResponse_Reason_IsValid(int value); |
| 569 | const ResetHWComponentResponse_Reason ResetHWComponentResponse_Reason_Reason_MIN = ResetHWComponentResponse_Reason_UNDEFINED_REASON; |
| 570 | const ResetHWComponentResponse_Reason ResetHWComponentResponse_Reason_Reason_MAX = ResetHWComponentResponse_Reason_INVALID_PARAMS; |
| 571 | const int ResetHWComponentResponse_Reason_Reason_ARRAYSIZE = ResetHWComponentResponse_Reason_Reason_MAX + 1; |
| 572 | |
| 573 | const ::google::protobuf::EnumDescriptor* ResetHWComponentResponse_Reason_descriptor(); |
| 574 | inline const ::std::string& ResetHWComponentResponse_Reason_Name(ResetHWComponentResponse_Reason value) { |
| 575 | return ::google::protobuf::internal::NameOfEnum( |
| 576 | ResetHWComponentResponse_Reason_descriptor(), value); |
| 577 | } |
| 578 | inline bool ResetHWComponentResponse_Reason_Parse( |
| 579 | const ::std::string& name, ResetHWComponentResponse_Reason* value) { |
| 580 | return ::google::protobuf::internal::ParseNamedEnum<ResetHWComponentResponse_Reason>( |
| 581 | ResetHWComponentResponse_Reason_descriptor(), name, value); |
| 582 | } |
| 583 | enum EnableHWComponentResponse_Reason { |
| 584 | EnableHWComponentResponse_Reason_UNDEFINED_REASON = 0, |
| 585 | EnableHWComponentResponse_Reason_UNKNOWN_DEVICE = 1, |
| 586 | EnableHWComponentResponse_Reason_UNKNOWN_COMPONENT = 2, |
| 587 | EnableHWComponentResponse_Reason_INTERNAL_ERROR = 3, |
| 588 | EnableHWComponentResponse_Reason_DEVICE_UNREACHABLE = 4, |
| 589 | EnableHWComponentResponse_Reason_ENABLE_UNSUPPORTED = 5, |
| 590 | EnableHWComponentResponse_Reason_INVALID_PARAMS = 6, |
| 591 | EnableHWComponentResponse_Reason_EnableHWComponentResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 592 | EnableHWComponentResponse_Reason_EnableHWComponentResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 593 | }; |
| 594 | bool EnableHWComponentResponse_Reason_IsValid(int value); |
| 595 | const EnableHWComponentResponse_Reason EnableHWComponentResponse_Reason_Reason_MIN = EnableHWComponentResponse_Reason_UNDEFINED_REASON; |
| 596 | const EnableHWComponentResponse_Reason EnableHWComponentResponse_Reason_Reason_MAX = EnableHWComponentResponse_Reason_INVALID_PARAMS; |
| 597 | const int EnableHWComponentResponse_Reason_Reason_ARRAYSIZE = EnableHWComponentResponse_Reason_Reason_MAX + 1; |
| 598 | |
| 599 | const ::google::protobuf::EnumDescriptor* EnableHWComponentResponse_Reason_descriptor(); |
| 600 | inline const ::std::string& EnableHWComponentResponse_Reason_Name(EnableHWComponentResponse_Reason value) { |
| 601 | return ::google::protobuf::internal::NameOfEnum( |
| 602 | EnableHWComponentResponse_Reason_descriptor(), value); |
| 603 | } |
| 604 | inline bool EnableHWComponentResponse_Reason_Parse( |
| 605 | const ::std::string& name, EnableHWComponentResponse_Reason* value) { |
| 606 | return ::google::protobuf::internal::ParseNamedEnum<EnableHWComponentResponse_Reason>( |
| 607 | EnableHWComponentResponse_Reason_descriptor(), name, value); |
| 608 | } |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 609 | // =================================================================== |
| 610 | |
| 611 | class PhysicalInventoryRequest final : |
| 612 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.PhysicalInventoryRequest) */ { |
| 613 | public: |
| 614 | PhysicalInventoryRequest(); |
| 615 | virtual ~PhysicalInventoryRequest(); |
| 616 | |
| 617 | PhysicalInventoryRequest(const PhysicalInventoryRequest& from); |
| 618 | |
| 619 | inline PhysicalInventoryRequest& operator=(const PhysicalInventoryRequest& from) { |
| 620 | CopyFrom(from); |
| 621 | return *this; |
| 622 | } |
| 623 | #if LANG_CXX11 |
| 624 | PhysicalInventoryRequest(PhysicalInventoryRequest&& from) noexcept |
| 625 | : PhysicalInventoryRequest() { |
| 626 | *this = ::std::move(from); |
| 627 | } |
| 628 | |
| 629 | inline PhysicalInventoryRequest& operator=(PhysicalInventoryRequest&& from) noexcept { |
| 630 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 631 | if (this != &from) InternalSwap(&from); |
| 632 | } else { |
| 633 | CopyFrom(from); |
| 634 | } |
| 635 | return *this; |
| 636 | } |
| 637 | #endif |
| 638 | static const ::google::protobuf::Descriptor* descriptor() { |
| 639 | return default_instance().GetDescriptor(); |
| 640 | } |
| 641 | static const PhysicalInventoryRequest& default_instance(); |
| 642 | |
| 643 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 644 | static inline const PhysicalInventoryRequest* internal_default_instance() { |
| 645 | return reinterpret_cast<const PhysicalInventoryRequest*>( |
| 646 | &_PhysicalInventoryRequest_default_instance_); |
| 647 | } |
| 648 | static constexpr int kIndexInFileMessages = |
| 649 | 0; |
| 650 | |
| 651 | void Swap(PhysicalInventoryRequest* other); |
| 652 | friend void swap(PhysicalInventoryRequest& a, PhysicalInventoryRequest& b) { |
| 653 | a.Swap(&b); |
| 654 | } |
| 655 | |
| 656 | // implements Message ---------------------------------------------- |
| 657 | |
| 658 | inline PhysicalInventoryRequest* New() const final { |
| 659 | return CreateMaybeMessage<PhysicalInventoryRequest>(nullptr); |
| 660 | } |
| 661 | |
| 662 | PhysicalInventoryRequest* New(::google::protobuf::Arena* arena) const final { |
| 663 | return CreateMaybeMessage<PhysicalInventoryRequest>(arena); |
| 664 | } |
| 665 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 666 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 667 | void CopyFrom(const PhysicalInventoryRequest& from); |
| 668 | void MergeFrom(const PhysicalInventoryRequest& from); |
| 669 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 670 | bool IsInitialized() const final; |
| 671 | |
| 672 | size_t ByteSizeLong() const final; |
| 673 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 674 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 675 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 676 | #else |
| 677 | bool MergePartialFromCodedStream( |
| 678 | ::google::protobuf::io::CodedInputStream* input) final; |
| 679 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 680 | void SerializeWithCachedSizes( |
| 681 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 682 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 683 | ::google::protobuf::uint8* target) const final; |
| 684 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 685 | |
| 686 | private: |
| 687 | void SharedCtor(); |
| 688 | void SharedDtor(); |
| 689 | void SetCachedSize(int size) const final; |
| 690 | void InternalSwap(PhysicalInventoryRequest* other); |
| 691 | private: |
| 692 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 693 | return nullptr; |
| 694 | } |
| 695 | inline void* MaybeArenaPtr() const { |
| 696 | return nullptr; |
| 697 | } |
| 698 | public: |
| 699 | |
| 700 | ::google::protobuf::Metadata GetMetadata() const final; |
| 701 | |
| 702 | // nested types ---------------------------------------------------- |
| 703 | |
| 704 | // accessors ------------------------------------------------------- |
| 705 | |
| 706 | // .dmi.Uuid device_uuid = 1; |
| 707 | bool has_device_uuid() const; |
| 708 | void clear_device_uuid(); |
| 709 | static const int kDeviceUuidFieldNumber = 1; |
| 710 | const ::dmi::Uuid& device_uuid() const; |
| 711 | ::dmi::Uuid* release_device_uuid(); |
| 712 | ::dmi::Uuid* mutable_device_uuid(); |
| 713 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 714 | |
| 715 | // @@protoc_insertion_point(class_scope:dmi.PhysicalInventoryRequest) |
| 716 | private: |
| 717 | class HasBitSetters; |
| 718 | |
| 719 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 720 | ::dmi::Uuid* device_uuid_; |
| 721 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 722 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 723 | }; |
| 724 | // ------------------------------------------------------------------- |
| 725 | |
| 726 | class PhysicalInventoryResponse final : |
| 727 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.PhysicalInventoryResponse) */ { |
| 728 | public: |
| 729 | PhysicalInventoryResponse(); |
| 730 | virtual ~PhysicalInventoryResponse(); |
| 731 | |
| 732 | PhysicalInventoryResponse(const PhysicalInventoryResponse& from); |
| 733 | |
| 734 | inline PhysicalInventoryResponse& operator=(const PhysicalInventoryResponse& from) { |
| 735 | CopyFrom(from); |
| 736 | return *this; |
| 737 | } |
| 738 | #if LANG_CXX11 |
| 739 | PhysicalInventoryResponse(PhysicalInventoryResponse&& from) noexcept |
| 740 | : PhysicalInventoryResponse() { |
| 741 | *this = ::std::move(from); |
| 742 | } |
| 743 | |
| 744 | inline PhysicalInventoryResponse& operator=(PhysicalInventoryResponse&& from) noexcept { |
| 745 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 746 | if (this != &from) InternalSwap(&from); |
| 747 | } else { |
| 748 | CopyFrom(from); |
| 749 | } |
| 750 | return *this; |
| 751 | } |
| 752 | #endif |
| 753 | static const ::google::protobuf::Descriptor* descriptor() { |
| 754 | return default_instance().GetDescriptor(); |
| 755 | } |
| 756 | static const PhysicalInventoryResponse& default_instance(); |
| 757 | |
| 758 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 759 | static inline const PhysicalInventoryResponse* internal_default_instance() { |
| 760 | return reinterpret_cast<const PhysicalInventoryResponse*>( |
| 761 | &_PhysicalInventoryResponse_default_instance_); |
| 762 | } |
| 763 | static constexpr int kIndexInFileMessages = |
| 764 | 1; |
| 765 | |
| 766 | void Swap(PhysicalInventoryResponse* other); |
| 767 | friend void swap(PhysicalInventoryResponse& a, PhysicalInventoryResponse& b) { |
| 768 | a.Swap(&b); |
| 769 | } |
| 770 | |
| 771 | // implements Message ---------------------------------------------- |
| 772 | |
| 773 | inline PhysicalInventoryResponse* New() const final { |
| 774 | return CreateMaybeMessage<PhysicalInventoryResponse>(nullptr); |
| 775 | } |
| 776 | |
| 777 | PhysicalInventoryResponse* New(::google::protobuf::Arena* arena) const final { |
| 778 | return CreateMaybeMessage<PhysicalInventoryResponse>(arena); |
| 779 | } |
| 780 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 781 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 782 | void CopyFrom(const PhysicalInventoryResponse& from); |
| 783 | void MergeFrom(const PhysicalInventoryResponse& from); |
| 784 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 785 | bool IsInitialized() const final; |
| 786 | |
| 787 | size_t ByteSizeLong() const final; |
| 788 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 789 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 790 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 791 | #else |
| 792 | bool MergePartialFromCodedStream( |
| 793 | ::google::protobuf::io::CodedInputStream* input) final; |
| 794 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 795 | void SerializeWithCachedSizes( |
| 796 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 797 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 798 | ::google::protobuf::uint8* target) const final; |
| 799 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 800 | |
| 801 | private: |
| 802 | void SharedCtor(); |
| 803 | void SharedDtor(); |
| 804 | void SetCachedSize(int size) const final; |
| 805 | void InternalSwap(PhysicalInventoryResponse* other); |
| 806 | private: |
| 807 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 808 | return nullptr; |
| 809 | } |
| 810 | inline void* MaybeArenaPtr() const { |
| 811 | return nullptr; |
| 812 | } |
| 813 | public: |
| 814 | |
| 815 | ::google::protobuf::Metadata GetMetadata() const final; |
| 816 | |
| 817 | // nested types ---------------------------------------------------- |
| 818 | |
| 819 | typedef PhysicalInventoryResponse_Reason Reason; |
| 820 | static const Reason UNDEFINED_REASON = |
| 821 | PhysicalInventoryResponse_Reason_UNDEFINED_REASON; |
| 822 | static const Reason UNKNOWN_DEVICE = |
| 823 | PhysicalInventoryResponse_Reason_UNKNOWN_DEVICE; |
| 824 | static const Reason INTERNAL_ERROR = |
| 825 | PhysicalInventoryResponse_Reason_INTERNAL_ERROR; |
| 826 | static const Reason DEVICE_UNREACHABLE = |
| 827 | PhysicalInventoryResponse_Reason_DEVICE_UNREACHABLE; |
| 828 | static inline bool Reason_IsValid(int value) { |
| 829 | return PhysicalInventoryResponse_Reason_IsValid(value); |
| 830 | } |
| 831 | static const Reason Reason_MIN = |
| 832 | PhysicalInventoryResponse_Reason_Reason_MIN; |
| 833 | static const Reason Reason_MAX = |
| 834 | PhysicalInventoryResponse_Reason_Reason_MAX; |
| 835 | static const int Reason_ARRAYSIZE = |
| 836 | PhysicalInventoryResponse_Reason_Reason_ARRAYSIZE; |
| 837 | static inline const ::google::protobuf::EnumDescriptor* |
| 838 | Reason_descriptor() { |
| 839 | return PhysicalInventoryResponse_Reason_descriptor(); |
| 840 | } |
| 841 | static inline const ::std::string& Reason_Name(Reason value) { |
| 842 | return PhysicalInventoryResponse_Reason_Name(value); |
| 843 | } |
| 844 | static inline bool Reason_Parse(const ::std::string& name, |
| 845 | Reason* value) { |
| 846 | return PhysicalInventoryResponse_Reason_Parse(name, value); |
| 847 | } |
| 848 | |
| 849 | // accessors ------------------------------------------------------- |
| 850 | |
| 851 | // string reason_detail = 4; |
| 852 | void clear_reason_detail(); |
| 853 | static const int kReasonDetailFieldNumber = 4; |
| 854 | const ::std::string& reason_detail() const; |
| 855 | void set_reason_detail(const ::std::string& value); |
| 856 | #if LANG_CXX11 |
| 857 | void set_reason_detail(::std::string&& value); |
| 858 | #endif |
| 859 | void set_reason_detail(const char* value); |
| 860 | void set_reason_detail(const char* value, size_t size); |
| 861 | ::std::string* mutable_reason_detail(); |
| 862 | ::std::string* release_reason_detail(); |
| 863 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 864 | |
| 865 | // .dmi.Hardware inventory = 3; |
| 866 | bool has_inventory() const; |
| 867 | void clear_inventory(); |
| 868 | static const int kInventoryFieldNumber = 3; |
| 869 | const ::dmi::Hardware& inventory() const; |
| 870 | ::dmi::Hardware* release_inventory(); |
| 871 | ::dmi::Hardware* mutable_inventory(); |
| 872 | void set_allocated_inventory(::dmi::Hardware* inventory); |
| 873 | |
| 874 | // .dmi.Status status = 1; |
| 875 | void clear_status(); |
| 876 | static const int kStatusFieldNumber = 1; |
| 877 | ::dmi::Status status() const; |
| 878 | void set_status(::dmi::Status value); |
| 879 | |
| 880 | // .dmi.PhysicalInventoryResponse.Reason reason = 2; |
| 881 | void clear_reason(); |
| 882 | static const int kReasonFieldNumber = 2; |
| 883 | ::dmi::PhysicalInventoryResponse_Reason reason() const; |
| 884 | void set_reason(::dmi::PhysicalInventoryResponse_Reason value); |
| 885 | |
| 886 | // @@protoc_insertion_point(class_scope:dmi.PhysicalInventoryResponse) |
| 887 | private: |
| 888 | class HasBitSetters; |
| 889 | |
| 890 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 891 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 892 | ::dmi::Hardware* inventory_; |
| 893 | int status_; |
| 894 | int reason_; |
| 895 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 896 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 897 | }; |
| 898 | // ------------------------------------------------------------------- |
| 899 | |
| 900 | class HWComponentInfoGetRequest final : |
| 901 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.HWComponentInfoGetRequest) */ { |
| 902 | public: |
| 903 | HWComponentInfoGetRequest(); |
| 904 | virtual ~HWComponentInfoGetRequest(); |
| 905 | |
| 906 | HWComponentInfoGetRequest(const HWComponentInfoGetRequest& from); |
| 907 | |
| 908 | inline HWComponentInfoGetRequest& operator=(const HWComponentInfoGetRequest& from) { |
| 909 | CopyFrom(from); |
| 910 | return *this; |
| 911 | } |
| 912 | #if LANG_CXX11 |
| 913 | HWComponentInfoGetRequest(HWComponentInfoGetRequest&& from) noexcept |
| 914 | : HWComponentInfoGetRequest() { |
| 915 | *this = ::std::move(from); |
| 916 | } |
| 917 | |
| 918 | inline HWComponentInfoGetRequest& operator=(HWComponentInfoGetRequest&& from) noexcept { |
| 919 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 920 | if (this != &from) InternalSwap(&from); |
| 921 | } else { |
| 922 | CopyFrom(from); |
| 923 | } |
| 924 | return *this; |
| 925 | } |
| 926 | #endif |
| 927 | static const ::google::protobuf::Descriptor* descriptor() { |
| 928 | return default_instance().GetDescriptor(); |
| 929 | } |
| 930 | static const HWComponentInfoGetRequest& default_instance(); |
| 931 | |
| 932 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 933 | static inline const HWComponentInfoGetRequest* internal_default_instance() { |
| 934 | return reinterpret_cast<const HWComponentInfoGetRequest*>( |
| 935 | &_HWComponentInfoGetRequest_default_instance_); |
| 936 | } |
| 937 | static constexpr int kIndexInFileMessages = |
| 938 | 2; |
| 939 | |
| 940 | void Swap(HWComponentInfoGetRequest* other); |
| 941 | friend void swap(HWComponentInfoGetRequest& a, HWComponentInfoGetRequest& b) { |
| 942 | a.Swap(&b); |
| 943 | } |
| 944 | |
| 945 | // implements Message ---------------------------------------------- |
| 946 | |
| 947 | inline HWComponentInfoGetRequest* New() const final { |
| 948 | return CreateMaybeMessage<HWComponentInfoGetRequest>(nullptr); |
| 949 | } |
| 950 | |
| 951 | HWComponentInfoGetRequest* New(::google::protobuf::Arena* arena) const final { |
| 952 | return CreateMaybeMessage<HWComponentInfoGetRequest>(arena); |
| 953 | } |
| 954 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 955 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 956 | void CopyFrom(const HWComponentInfoGetRequest& from); |
| 957 | void MergeFrom(const HWComponentInfoGetRequest& from); |
| 958 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 959 | bool IsInitialized() const final; |
| 960 | |
| 961 | size_t ByteSizeLong() const final; |
| 962 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 963 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 964 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 965 | #else |
| 966 | bool MergePartialFromCodedStream( |
| 967 | ::google::protobuf::io::CodedInputStream* input) final; |
| 968 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 969 | void SerializeWithCachedSizes( |
| 970 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 971 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 972 | ::google::protobuf::uint8* target) const final; |
| 973 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 974 | |
| 975 | private: |
| 976 | void SharedCtor(); |
| 977 | void SharedDtor(); |
| 978 | void SetCachedSize(int size) const final; |
| 979 | void InternalSwap(HWComponentInfoGetRequest* other); |
| 980 | private: |
| 981 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 982 | return nullptr; |
| 983 | } |
| 984 | inline void* MaybeArenaPtr() const { |
| 985 | return nullptr; |
| 986 | } |
| 987 | public: |
| 988 | |
| 989 | ::google::protobuf::Metadata GetMetadata() const final; |
| 990 | |
| 991 | // nested types ---------------------------------------------------- |
| 992 | |
| 993 | // accessors ------------------------------------------------------- |
| 994 | |
| 995 | // string component_name = 3; |
| 996 | void clear_component_name(); |
| 997 | static const int kComponentNameFieldNumber = 3; |
| 998 | const ::std::string& component_name() const; |
| 999 | void set_component_name(const ::std::string& value); |
| 1000 | #if LANG_CXX11 |
| 1001 | void set_component_name(::std::string&& value); |
| 1002 | #endif |
| 1003 | void set_component_name(const char* value); |
| 1004 | void set_component_name(const char* value, size_t size); |
| 1005 | ::std::string* mutable_component_name(); |
| 1006 | ::std::string* release_component_name(); |
| 1007 | void set_allocated_component_name(::std::string* component_name); |
| 1008 | |
| 1009 | // .dmi.Uuid device_uuid = 1; |
| 1010 | bool has_device_uuid() const; |
| 1011 | void clear_device_uuid(); |
| 1012 | static const int kDeviceUuidFieldNumber = 1; |
| 1013 | const ::dmi::Uuid& device_uuid() const; |
| 1014 | ::dmi::Uuid* release_device_uuid(); |
| 1015 | ::dmi::Uuid* mutable_device_uuid(); |
| 1016 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 1017 | |
| 1018 | // .dmi.Uuid component_uuid = 2; |
| 1019 | bool has_component_uuid() const; |
| 1020 | void clear_component_uuid(); |
| 1021 | static const int kComponentUuidFieldNumber = 2; |
| 1022 | const ::dmi::Uuid& component_uuid() const; |
| 1023 | ::dmi::Uuid* release_component_uuid(); |
| 1024 | ::dmi::Uuid* mutable_component_uuid(); |
| 1025 | void set_allocated_component_uuid(::dmi::Uuid* component_uuid); |
| 1026 | |
| 1027 | // @@protoc_insertion_point(class_scope:dmi.HWComponentInfoGetRequest) |
| 1028 | private: |
| 1029 | class HasBitSetters; |
| 1030 | |
| 1031 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1032 | ::google::protobuf::internal::ArenaStringPtr component_name_; |
| 1033 | ::dmi::Uuid* device_uuid_; |
| 1034 | ::dmi::Uuid* component_uuid_; |
| 1035 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1036 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 1037 | }; |
| 1038 | // ------------------------------------------------------------------- |
| 1039 | |
| 1040 | class HWComponentInfoGetResponse final : |
| 1041 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.HWComponentInfoGetResponse) */ { |
| 1042 | public: |
| 1043 | HWComponentInfoGetResponse(); |
| 1044 | virtual ~HWComponentInfoGetResponse(); |
| 1045 | |
| 1046 | HWComponentInfoGetResponse(const HWComponentInfoGetResponse& from); |
| 1047 | |
| 1048 | inline HWComponentInfoGetResponse& operator=(const HWComponentInfoGetResponse& from) { |
| 1049 | CopyFrom(from); |
| 1050 | return *this; |
| 1051 | } |
| 1052 | #if LANG_CXX11 |
| 1053 | HWComponentInfoGetResponse(HWComponentInfoGetResponse&& from) noexcept |
| 1054 | : HWComponentInfoGetResponse() { |
| 1055 | *this = ::std::move(from); |
| 1056 | } |
| 1057 | |
| 1058 | inline HWComponentInfoGetResponse& operator=(HWComponentInfoGetResponse&& from) noexcept { |
| 1059 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1060 | if (this != &from) InternalSwap(&from); |
| 1061 | } else { |
| 1062 | CopyFrom(from); |
| 1063 | } |
| 1064 | return *this; |
| 1065 | } |
| 1066 | #endif |
| 1067 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1068 | return default_instance().GetDescriptor(); |
| 1069 | } |
| 1070 | static const HWComponentInfoGetResponse& default_instance(); |
| 1071 | |
| 1072 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1073 | static inline const HWComponentInfoGetResponse* internal_default_instance() { |
| 1074 | return reinterpret_cast<const HWComponentInfoGetResponse*>( |
| 1075 | &_HWComponentInfoGetResponse_default_instance_); |
| 1076 | } |
| 1077 | static constexpr int kIndexInFileMessages = |
| 1078 | 3; |
| 1079 | |
| 1080 | void Swap(HWComponentInfoGetResponse* other); |
| 1081 | friend void swap(HWComponentInfoGetResponse& a, HWComponentInfoGetResponse& b) { |
| 1082 | a.Swap(&b); |
| 1083 | } |
| 1084 | |
| 1085 | // implements Message ---------------------------------------------- |
| 1086 | |
| 1087 | inline HWComponentInfoGetResponse* New() const final { |
| 1088 | return CreateMaybeMessage<HWComponentInfoGetResponse>(nullptr); |
| 1089 | } |
| 1090 | |
| 1091 | HWComponentInfoGetResponse* New(::google::protobuf::Arena* arena) const final { |
| 1092 | return CreateMaybeMessage<HWComponentInfoGetResponse>(arena); |
| 1093 | } |
| 1094 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1095 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1096 | void CopyFrom(const HWComponentInfoGetResponse& from); |
| 1097 | void MergeFrom(const HWComponentInfoGetResponse& from); |
| 1098 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1099 | bool IsInitialized() const final; |
| 1100 | |
| 1101 | size_t ByteSizeLong() const final; |
| 1102 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1103 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1104 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1105 | #else |
| 1106 | bool MergePartialFromCodedStream( |
| 1107 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1108 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1109 | void SerializeWithCachedSizes( |
| 1110 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1111 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1112 | ::google::protobuf::uint8* target) const final; |
| 1113 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1114 | |
| 1115 | private: |
| 1116 | void SharedCtor(); |
| 1117 | void SharedDtor(); |
| 1118 | void SetCachedSize(int size) const final; |
| 1119 | void InternalSwap(HWComponentInfoGetResponse* other); |
| 1120 | private: |
| 1121 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1122 | return nullptr; |
| 1123 | } |
| 1124 | inline void* MaybeArenaPtr() const { |
| 1125 | return nullptr; |
| 1126 | } |
| 1127 | public: |
| 1128 | |
| 1129 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1130 | |
| 1131 | // nested types ---------------------------------------------------- |
| 1132 | |
| 1133 | typedef HWComponentInfoGetResponse_Reason Reason; |
| 1134 | static const Reason UNDEFINED_REASON = |
| 1135 | HWComponentInfoGetResponse_Reason_UNDEFINED_REASON; |
| 1136 | static const Reason UNKNOWN_DEVICE = |
| 1137 | HWComponentInfoGetResponse_Reason_UNKNOWN_DEVICE; |
| 1138 | static const Reason UNKNOWN_COMPONENT = |
| 1139 | HWComponentInfoGetResponse_Reason_UNKNOWN_COMPONENT; |
| 1140 | static const Reason INTERNAL_ERROR = |
| 1141 | HWComponentInfoGetResponse_Reason_INTERNAL_ERROR; |
| 1142 | static const Reason DEVICE_UNREACHABLE = |
| 1143 | HWComponentInfoGetResponse_Reason_DEVICE_UNREACHABLE; |
| 1144 | static inline bool Reason_IsValid(int value) { |
| 1145 | return HWComponentInfoGetResponse_Reason_IsValid(value); |
| 1146 | } |
| 1147 | static const Reason Reason_MIN = |
| 1148 | HWComponentInfoGetResponse_Reason_Reason_MIN; |
| 1149 | static const Reason Reason_MAX = |
| 1150 | HWComponentInfoGetResponse_Reason_Reason_MAX; |
| 1151 | static const int Reason_ARRAYSIZE = |
| 1152 | HWComponentInfoGetResponse_Reason_Reason_ARRAYSIZE; |
| 1153 | static inline const ::google::protobuf::EnumDescriptor* |
| 1154 | Reason_descriptor() { |
| 1155 | return HWComponentInfoGetResponse_Reason_descriptor(); |
| 1156 | } |
| 1157 | static inline const ::std::string& Reason_Name(Reason value) { |
| 1158 | return HWComponentInfoGetResponse_Reason_Name(value); |
| 1159 | } |
| 1160 | static inline bool Reason_Parse(const ::std::string& name, |
| 1161 | Reason* value) { |
| 1162 | return HWComponentInfoGetResponse_Reason_Parse(name, value); |
| 1163 | } |
| 1164 | |
| 1165 | // accessors ------------------------------------------------------- |
| 1166 | |
| 1167 | // string reason_detail = 4; |
| 1168 | void clear_reason_detail(); |
| 1169 | static const int kReasonDetailFieldNumber = 4; |
| 1170 | const ::std::string& reason_detail() const; |
| 1171 | void set_reason_detail(const ::std::string& value); |
| 1172 | #if LANG_CXX11 |
| 1173 | void set_reason_detail(::std::string&& value); |
| 1174 | #endif |
| 1175 | void set_reason_detail(const char* value); |
| 1176 | void set_reason_detail(const char* value, size_t size); |
| 1177 | ::std::string* mutable_reason_detail(); |
| 1178 | ::std::string* release_reason_detail(); |
| 1179 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 1180 | |
| 1181 | // .dmi.Component component = 3; |
| 1182 | bool has_component() const; |
| 1183 | void clear_component(); |
| 1184 | static const int kComponentFieldNumber = 3; |
| 1185 | const ::dmi::Component& component() const; |
| 1186 | ::dmi::Component* release_component(); |
| 1187 | ::dmi::Component* mutable_component(); |
| 1188 | void set_allocated_component(::dmi::Component* component); |
| 1189 | |
| 1190 | // .dmi.Status status = 1; |
| 1191 | void clear_status(); |
| 1192 | static const int kStatusFieldNumber = 1; |
| 1193 | ::dmi::Status status() const; |
| 1194 | void set_status(::dmi::Status value); |
| 1195 | |
| 1196 | // .dmi.HWComponentInfoGetResponse.Reason reason = 2; |
| 1197 | void clear_reason(); |
| 1198 | static const int kReasonFieldNumber = 2; |
| 1199 | ::dmi::HWComponentInfoGetResponse_Reason reason() const; |
| 1200 | void set_reason(::dmi::HWComponentInfoGetResponse_Reason value); |
| 1201 | |
| 1202 | // @@protoc_insertion_point(class_scope:dmi.HWComponentInfoGetResponse) |
| 1203 | private: |
| 1204 | class HasBitSetters; |
| 1205 | |
| 1206 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1207 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 1208 | ::dmi::Component* component_; |
| 1209 | int status_; |
| 1210 | int reason_; |
| 1211 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1212 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 1213 | }; |
| 1214 | // ------------------------------------------------------------------- |
| 1215 | |
| 1216 | class HWComponentInfoSetRequest final : |
| 1217 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.HWComponentInfoSetRequest) */ { |
| 1218 | public: |
| 1219 | HWComponentInfoSetRequest(); |
| 1220 | virtual ~HWComponentInfoSetRequest(); |
| 1221 | |
| 1222 | HWComponentInfoSetRequest(const HWComponentInfoSetRequest& from); |
| 1223 | |
| 1224 | inline HWComponentInfoSetRequest& operator=(const HWComponentInfoSetRequest& from) { |
| 1225 | CopyFrom(from); |
| 1226 | return *this; |
| 1227 | } |
| 1228 | #if LANG_CXX11 |
| 1229 | HWComponentInfoSetRequest(HWComponentInfoSetRequest&& from) noexcept |
| 1230 | : HWComponentInfoSetRequest() { |
| 1231 | *this = ::std::move(from); |
| 1232 | } |
| 1233 | |
| 1234 | inline HWComponentInfoSetRequest& operator=(HWComponentInfoSetRequest&& from) noexcept { |
| 1235 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1236 | if (this != &from) InternalSwap(&from); |
| 1237 | } else { |
| 1238 | CopyFrom(from); |
| 1239 | } |
| 1240 | return *this; |
| 1241 | } |
| 1242 | #endif |
| 1243 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1244 | return default_instance().GetDescriptor(); |
| 1245 | } |
| 1246 | static const HWComponentInfoSetRequest& default_instance(); |
| 1247 | |
| 1248 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1249 | static inline const HWComponentInfoSetRequest* internal_default_instance() { |
| 1250 | return reinterpret_cast<const HWComponentInfoSetRequest*>( |
| 1251 | &_HWComponentInfoSetRequest_default_instance_); |
| 1252 | } |
| 1253 | static constexpr int kIndexInFileMessages = |
| 1254 | 4; |
| 1255 | |
| 1256 | void Swap(HWComponentInfoSetRequest* other); |
| 1257 | friend void swap(HWComponentInfoSetRequest& a, HWComponentInfoSetRequest& b) { |
| 1258 | a.Swap(&b); |
| 1259 | } |
| 1260 | |
| 1261 | // implements Message ---------------------------------------------- |
| 1262 | |
| 1263 | inline HWComponentInfoSetRequest* New() const final { |
| 1264 | return CreateMaybeMessage<HWComponentInfoSetRequest>(nullptr); |
| 1265 | } |
| 1266 | |
| 1267 | HWComponentInfoSetRequest* New(::google::protobuf::Arena* arena) const final { |
| 1268 | return CreateMaybeMessage<HWComponentInfoSetRequest>(arena); |
| 1269 | } |
| 1270 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1271 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1272 | void CopyFrom(const HWComponentInfoSetRequest& from); |
| 1273 | void MergeFrom(const HWComponentInfoSetRequest& from); |
| 1274 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1275 | bool IsInitialized() const final; |
| 1276 | |
| 1277 | size_t ByteSizeLong() const final; |
| 1278 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1279 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1280 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1281 | #else |
| 1282 | bool MergePartialFromCodedStream( |
| 1283 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1284 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1285 | void SerializeWithCachedSizes( |
| 1286 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1287 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1288 | ::google::protobuf::uint8* target) const final; |
| 1289 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1290 | |
| 1291 | private: |
| 1292 | void SharedCtor(); |
| 1293 | void SharedDtor(); |
| 1294 | void SetCachedSize(int size) const final; |
| 1295 | void InternalSwap(HWComponentInfoSetRequest* other); |
| 1296 | private: |
| 1297 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1298 | return nullptr; |
| 1299 | } |
| 1300 | inline void* MaybeArenaPtr() const { |
| 1301 | return nullptr; |
| 1302 | } |
| 1303 | public: |
| 1304 | |
| 1305 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1306 | |
| 1307 | // nested types ---------------------------------------------------- |
| 1308 | |
| 1309 | // accessors ------------------------------------------------------- |
| 1310 | |
| 1311 | // string component_name = 3; |
| 1312 | void clear_component_name(); |
| 1313 | static const int kComponentNameFieldNumber = 3; |
| 1314 | const ::std::string& component_name() const; |
| 1315 | void set_component_name(const ::std::string& value); |
| 1316 | #if LANG_CXX11 |
| 1317 | void set_component_name(::std::string&& value); |
| 1318 | #endif |
| 1319 | void set_component_name(const char* value); |
| 1320 | void set_component_name(const char* value, size_t size); |
| 1321 | ::std::string* mutable_component_name(); |
| 1322 | ::std::string* release_component_name(); |
| 1323 | void set_allocated_component_name(::std::string* component_name); |
| 1324 | |
| 1325 | // .dmi.Uuid device_uuid = 1; |
| 1326 | bool has_device_uuid() const; |
| 1327 | void clear_device_uuid(); |
| 1328 | static const int kDeviceUuidFieldNumber = 1; |
| 1329 | const ::dmi::Uuid& device_uuid() const; |
| 1330 | ::dmi::Uuid* release_device_uuid(); |
| 1331 | ::dmi::Uuid* mutable_device_uuid(); |
| 1332 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 1333 | |
| 1334 | // .dmi.Uuid component_uuid = 2; |
| 1335 | bool has_component_uuid() const; |
| 1336 | void clear_component_uuid(); |
| 1337 | static const int kComponentUuidFieldNumber = 2; |
| 1338 | const ::dmi::Uuid& component_uuid() const; |
| 1339 | ::dmi::Uuid* release_component_uuid(); |
| 1340 | ::dmi::Uuid* mutable_component_uuid(); |
| 1341 | void set_allocated_component_uuid(::dmi::Uuid* component_uuid); |
| 1342 | |
| 1343 | // .dmi.ModifiableComponent changes = 4; |
| 1344 | bool has_changes() const; |
| 1345 | void clear_changes(); |
| 1346 | static const int kChangesFieldNumber = 4; |
| 1347 | const ::dmi::ModifiableComponent& changes() const; |
| 1348 | ::dmi::ModifiableComponent* release_changes(); |
| 1349 | ::dmi::ModifiableComponent* mutable_changes(); |
| 1350 | void set_allocated_changes(::dmi::ModifiableComponent* changes); |
| 1351 | |
| 1352 | // @@protoc_insertion_point(class_scope:dmi.HWComponentInfoSetRequest) |
| 1353 | private: |
| 1354 | class HasBitSetters; |
| 1355 | |
| 1356 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1357 | ::google::protobuf::internal::ArenaStringPtr component_name_; |
| 1358 | ::dmi::Uuid* device_uuid_; |
| 1359 | ::dmi::Uuid* component_uuid_; |
| 1360 | ::dmi::ModifiableComponent* changes_; |
| 1361 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1362 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 1363 | }; |
| 1364 | // ------------------------------------------------------------------- |
| 1365 | |
| 1366 | class HWComponentInfoSetResponse final : |
| 1367 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.HWComponentInfoSetResponse) */ { |
| 1368 | public: |
| 1369 | HWComponentInfoSetResponse(); |
| 1370 | virtual ~HWComponentInfoSetResponse(); |
| 1371 | |
| 1372 | HWComponentInfoSetResponse(const HWComponentInfoSetResponse& from); |
| 1373 | |
| 1374 | inline HWComponentInfoSetResponse& operator=(const HWComponentInfoSetResponse& from) { |
| 1375 | CopyFrom(from); |
| 1376 | return *this; |
| 1377 | } |
| 1378 | #if LANG_CXX11 |
| 1379 | HWComponentInfoSetResponse(HWComponentInfoSetResponse&& from) noexcept |
| 1380 | : HWComponentInfoSetResponse() { |
| 1381 | *this = ::std::move(from); |
| 1382 | } |
| 1383 | |
| 1384 | inline HWComponentInfoSetResponse& operator=(HWComponentInfoSetResponse&& from) noexcept { |
| 1385 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1386 | if (this != &from) InternalSwap(&from); |
| 1387 | } else { |
| 1388 | CopyFrom(from); |
| 1389 | } |
| 1390 | return *this; |
| 1391 | } |
| 1392 | #endif |
| 1393 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1394 | return default_instance().GetDescriptor(); |
| 1395 | } |
| 1396 | static const HWComponentInfoSetResponse& default_instance(); |
| 1397 | |
| 1398 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1399 | static inline const HWComponentInfoSetResponse* internal_default_instance() { |
| 1400 | return reinterpret_cast<const HWComponentInfoSetResponse*>( |
| 1401 | &_HWComponentInfoSetResponse_default_instance_); |
| 1402 | } |
| 1403 | static constexpr int kIndexInFileMessages = |
| 1404 | 5; |
| 1405 | |
| 1406 | void Swap(HWComponentInfoSetResponse* other); |
| 1407 | friend void swap(HWComponentInfoSetResponse& a, HWComponentInfoSetResponse& b) { |
| 1408 | a.Swap(&b); |
| 1409 | } |
| 1410 | |
| 1411 | // implements Message ---------------------------------------------- |
| 1412 | |
| 1413 | inline HWComponentInfoSetResponse* New() const final { |
| 1414 | return CreateMaybeMessage<HWComponentInfoSetResponse>(nullptr); |
| 1415 | } |
| 1416 | |
| 1417 | HWComponentInfoSetResponse* New(::google::protobuf::Arena* arena) const final { |
| 1418 | return CreateMaybeMessage<HWComponentInfoSetResponse>(arena); |
| 1419 | } |
| 1420 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1421 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1422 | void CopyFrom(const HWComponentInfoSetResponse& from); |
| 1423 | void MergeFrom(const HWComponentInfoSetResponse& from); |
| 1424 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1425 | bool IsInitialized() const final; |
| 1426 | |
| 1427 | size_t ByteSizeLong() const final; |
| 1428 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1429 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1430 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1431 | #else |
| 1432 | bool MergePartialFromCodedStream( |
| 1433 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1434 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1435 | void SerializeWithCachedSizes( |
| 1436 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1437 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1438 | ::google::protobuf::uint8* target) const final; |
| 1439 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1440 | |
| 1441 | private: |
| 1442 | void SharedCtor(); |
| 1443 | void SharedDtor(); |
| 1444 | void SetCachedSize(int size) const final; |
| 1445 | void InternalSwap(HWComponentInfoSetResponse* other); |
| 1446 | private: |
| 1447 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1448 | return nullptr; |
| 1449 | } |
| 1450 | inline void* MaybeArenaPtr() const { |
| 1451 | return nullptr; |
| 1452 | } |
| 1453 | public: |
| 1454 | |
| 1455 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1456 | |
| 1457 | // nested types ---------------------------------------------------- |
| 1458 | |
| 1459 | typedef HWComponentInfoSetResponse_Reason Reason; |
| 1460 | static const Reason UNDEFINED_REASON = |
| 1461 | HWComponentInfoSetResponse_Reason_UNDEFINED_REASON; |
| 1462 | static const Reason UNKNOWN_DEVICE = |
| 1463 | HWComponentInfoSetResponse_Reason_UNKNOWN_DEVICE; |
| 1464 | static const Reason UNKNOWN_COMPONENT = |
| 1465 | HWComponentInfoSetResponse_Reason_UNKNOWN_COMPONENT; |
| 1466 | static const Reason INVALID_PARAMS = |
| 1467 | HWComponentInfoSetResponse_Reason_INVALID_PARAMS; |
| 1468 | static const Reason INTERNAL_ERROR = |
| 1469 | HWComponentInfoSetResponse_Reason_INTERNAL_ERROR; |
| 1470 | static const Reason DEVICE_UNREACHABLE = |
| 1471 | HWComponentInfoSetResponse_Reason_DEVICE_UNREACHABLE; |
Girish Gowdra | 997432d | 2022-03-10 15:59:33 -0800 | [diff] [blame] | 1472 | static const Reason SET_UNSUPPORTED = |
| 1473 | HWComponentInfoSetResponse_Reason_SET_UNSUPPORTED; |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 1474 | static inline bool Reason_IsValid(int value) { |
| 1475 | return HWComponentInfoSetResponse_Reason_IsValid(value); |
| 1476 | } |
| 1477 | static const Reason Reason_MIN = |
| 1478 | HWComponentInfoSetResponse_Reason_Reason_MIN; |
| 1479 | static const Reason Reason_MAX = |
| 1480 | HWComponentInfoSetResponse_Reason_Reason_MAX; |
| 1481 | static const int Reason_ARRAYSIZE = |
| 1482 | HWComponentInfoSetResponse_Reason_Reason_ARRAYSIZE; |
| 1483 | static inline const ::google::protobuf::EnumDescriptor* |
| 1484 | Reason_descriptor() { |
| 1485 | return HWComponentInfoSetResponse_Reason_descriptor(); |
| 1486 | } |
| 1487 | static inline const ::std::string& Reason_Name(Reason value) { |
| 1488 | return HWComponentInfoSetResponse_Reason_Name(value); |
| 1489 | } |
| 1490 | static inline bool Reason_Parse(const ::std::string& name, |
| 1491 | Reason* value) { |
| 1492 | return HWComponentInfoSetResponse_Reason_Parse(name, value); |
| 1493 | } |
| 1494 | |
| 1495 | // accessors ------------------------------------------------------- |
| 1496 | |
| 1497 | // string reason_detail = 3; |
| 1498 | void clear_reason_detail(); |
| 1499 | static const int kReasonDetailFieldNumber = 3; |
| 1500 | const ::std::string& reason_detail() const; |
| 1501 | void set_reason_detail(const ::std::string& value); |
| 1502 | #if LANG_CXX11 |
| 1503 | void set_reason_detail(::std::string&& value); |
| 1504 | #endif |
| 1505 | void set_reason_detail(const char* value); |
| 1506 | void set_reason_detail(const char* value, size_t size); |
| 1507 | ::std::string* mutable_reason_detail(); |
| 1508 | ::std::string* release_reason_detail(); |
| 1509 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 1510 | |
| 1511 | // .dmi.Status status = 1; |
| 1512 | void clear_status(); |
| 1513 | static const int kStatusFieldNumber = 1; |
| 1514 | ::dmi::Status status() const; |
| 1515 | void set_status(::dmi::Status value); |
| 1516 | |
| 1517 | // .dmi.HWComponentInfoSetResponse.Reason reason = 2; |
| 1518 | void clear_reason(); |
| 1519 | static const int kReasonFieldNumber = 2; |
| 1520 | ::dmi::HWComponentInfoSetResponse_Reason reason() const; |
| 1521 | void set_reason(::dmi::HWComponentInfoSetResponse_Reason value); |
| 1522 | |
| 1523 | // @@protoc_insertion_point(class_scope:dmi.HWComponentInfoSetResponse) |
| 1524 | private: |
| 1525 | class HasBitSetters; |
| 1526 | |
| 1527 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1528 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 1529 | int status_; |
| 1530 | int reason_; |
| 1531 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1532 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 1533 | }; |
| 1534 | // ------------------------------------------------------------------- |
| 1535 | |
| 1536 | class StartManagingDeviceResponse final : |
| 1537 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.StartManagingDeviceResponse) */ { |
| 1538 | public: |
| 1539 | StartManagingDeviceResponse(); |
| 1540 | virtual ~StartManagingDeviceResponse(); |
| 1541 | |
| 1542 | StartManagingDeviceResponse(const StartManagingDeviceResponse& from); |
| 1543 | |
| 1544 | inline StartManagingDeviceResponse& operator=(const StartManagingDeviceResponse& from) { |
| 1545 | CopyFrom(from); |
| 1546 | return *this; |
| 1547 | } |
| 1548 | #if LANG_CXX11 |
| 1549 | StartManagingDeviceResponse(StartManagingDeviceResponse&& from) noexcept |
| 1550 | : StartManagingDeviceResponse() { |
| 1551 | *this = ::std::move(from); |
| 1552 | } |
| 1553 | |
| 1554 | inline StartManagingDeviceResponse& operator=(StartManagingDeviceResponse&& from) noexcept { |
| 1555 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1556 | if (this != &from) InternalSwap(&from); |
| 1557 | } else { |
| 1558 | CopyFrom(from); |
| 1559 | } |
| 1560 | return *this; |
| 1561 | } |
| 1562 | #endif |
| 1563 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1564 | return default_instance().GetDescriptor(); |
| 1565 | } |
| 1566 | static const StartManagingDeviceResponse& default_instance(); |
| 1567 | |
| 1568 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1569 | static inline const StartManagingDeviceResponse* internal_default_instance() { |
| 1570 | return reinterpret_cast<const StartManagingDeviceResponse*>( |
| 1571 | &_StartManagingDeviceResponse_default_instance_); |
| 1572 | } |
| 1573 | static constexpr int kIndexInFileMessages = |
| 1574 | 6; |
| 1575 | |
| 1576 | void Swap(StartManagingDeviceResponse* other); |
| 1577 | friend void swap(StartManagingDeviceResponse& a, StartManagingDeviceResponse& b) { |
| 1578 | a.Swap(&b); |
| 1579 | } |
| 1580 | |
| 1581 | // implements Message ---------------------------------------------- |
| 1582 | |
| 1583 | inline StartManagingDeviceResponse* New() const final { |
| 1584 | return CreateMaybeMessage<StartManagingDeviceResponse>(nullptr); |
| 1585 | } |
| 1586 | |
| 1587 | StartManagingDeviceResponse* New(::google::protobuf::Arena* arena) const final { |
| 1588 | return CreateMaybeMessage<StartManagingDeviceResponse>(arena); |
| 1589 | } |
| 1590 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1591 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1592 | void CopyFrom(const StartManagingDeviceResponse& from); |
| 1593 | void MergeFrom(const StartManagingDeviceResponse& from); |
| 1594 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1595 | bool IsInitialized() const final; |
| 1596 | |
| 1597 | size_t ByteSizeLong() const final; |
| 1598 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1599 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1600 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1601 | #else |
| 1602 | bool MergePartialFromCodedStream( |
| 1603 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1604 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1605 | void SerializeWithCachedSizes( |
| 1606 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1607 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1608 | ::google::protobuf::uint8* target) const final; |
| 1609 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1610 | |
| 1611 | private: |
| 1612 | void SharedCtor(); |
| 1613 | void SharedDtor(); |
| 1614 | void SetCachedSize(int size) const final; |
| 1615 | void InternalSwap(StartManagingDeviceResponse* other); |
| 1616 | private: |
| 1617 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1618 | return nullptr; |
| 1619 | } |
| 1620 | inline void* MaybeArenaPtr() const { |
| 1621 | return nullptr; |
| 1622 | } |
| 1623 | public: |
| 1624 | |
| 1625 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1626 | |
| 1627 | // nested types ---------------------------------------------------- |
| 1628 | |
| 1629 | typedef StartManagingDeviceResponse_Reason Reason; |
| 1630 | static const Reason UNDEFINED_REASON = |
| 1631 | StartManagingDeviceResponse_Reason_UNDEFINED_REASON; |
| 1632 | static const Reason DEVICE_ALREADY_MANAGED = |
| 1633 | StartManagingDeviceResponse_Reason_DEVICE_ALREADY_MANAGED; |
| 1634 | static const Reason OPERATION_ALREADY_IN_PROGRESS = |
| 1635 | StartManagingDeviceResponse_Reason_OPERATION_ALREADY_IN_PROGRESS; |
| 1636 | static const Reason INVALID_PARAMS = |
| 1637 | StartManagingDeviceResponse_Reason_INVALID_PARAMS; |
| 1638 | static const Reason INTERNAL_ERROR = |
| 1639 | StartManagingDeviceResponse_Reason_INTERNAL_ERROR; |
amit.ghosh | 6bdb0f7 | 2021-06-02 14:42:29 +0200 | [diff] [blame] | 1640 | static const Reason AUTHENTICATION_FAILURE = |
| 1641 | StartManagingDeviceResponse_Reason_AUTHENTICATION_FAILURE; |
| 1642 | static const Reason INCOMPATIBLE_DEVICE = |
| 1643 | StartManagingDeviceResponse_Reason_INCOMPATIBLE_DEVICE; |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 1644 | static inline bool Reason_IsValid(int value) { |
| 1645 | return StartManagingDeviceResponse_Reason_IsValid(value); |
| 1646 | } |
| 1647 | static const Reason Reason_MIN = |
| 1648 | StartManagingDeviceResponse_Reason_Reason_MIN; |
| 1649 | static const Reason Reason_MAX = |
| 1650 | StartManagingDeviceResponse_Reason_Reason_MAX; |
| 1651 | static const int Reason_ARRAYSIZE = |
| 1652 | StartManagingDeviceResponse_Reason_Reason_ARRAYSIZE; |
| 1653 | static inline const ::google::protobuf::EnumDescriptor* |
| 1654 | Reason_descriptor() { |
| 1655 | return StartManagingDeviceResponse_Reason_descriptor(); |
| 1656 | } |
| 1657 | static inline const ::std::string& Reason_Name(Reason value) { |
| 1658 | return StartManagingDeviceResponse_Reason_Name(value); |
| 1659 | } |
| 1660 | static inline bool Reason_Parse(const ::std::string& name, |
| 1661 | Reason* value) { |
| 1662 | return StartManagingDeviceResponse_Reason_Parse(name, value); |
| 1663 | } |
| 1664 | |
| 1665 | // accessors ------------------------------------------------------- |
| 1666 | |
| 1667 | // string reason_detail = 4; |
| 1668 | void clear_reason_detail(); |
| 1669 | static const int kReasonDetailFieldNumber = 4; |
| 1670 | const ::std::string& reason_detail() const; |
| 1671 | void set_reason_detail(const ::std::string& value); |
| 1672 | #if LANG_CXX11 |
| 1673 | void set_reason_detail(::std::string&& value); |
| 1674 | #endif |
| 1675 | void set_reason_detail(const char* value); |
| 1676 | void set_reason_detail(const char* value, size_t size); |
| 1677 | ::std::string* mutable_reason_detail(); |
| 1678 | ::std::string* release_reason_detail(); |
| 1679 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 1680 | |
| 1681 | // .dmi.Uuid device_uuid = 3; |
| 1682 | bool has_device_uuid() const; |
| 1683 | void clear_device_uuid(); |
| 1684 | static const int kDeviceUuidFieldNumber = 3; |
| 1685 | const ::dmi::Uuid& device_uuid() const; |
| 1686 | ::dmi::Uuid* release_device_uuid(); |
| 1687 | ::dmi::Uuid* mutable_device_uuid(); |
| 1688 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 1689 | |
| 1690 | // .dmi.Status status = 1; |
| 1691 | void clear_status(); |
| 1692 | static const int kStatusFieldNumber = 1; |
| 1693 | ::dmi::Status status() const; |
| 1694 | void set_status(::dmi::Status value); |
| 1695 | |
| 1696 | // .dmi.StartManagingDeviceResponse.Reason reason = 2; |
| 1697 | void clear_reason(); |
| 1698 | static const int kReasonFieldNumber = 2; |
| 1699 | ::dmi::StartManagingDeviceResponse_Reason reason() const; |
| 1700 | void set_reason(::dmi::StartManagingDeviceResponse_Reason value); |
| 1701 | |
| 1702 | // @@protoc_insertion_point(class_scope:dmi.StartManagingDeviceResponse) |
| 1703 | private: |
| 1704 | class HasBitSetters; |
| 1705 | |
| 1706 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1707 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 1708 | ::dmi::Uuid* device_uuid_; |
| 1709 | int status_; |
| 1710 | int reason_; |
| 1711 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1712 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 1713 | }; |
| 1714 | // ------------------------------------------------------------------- |
| 1715 | |
| 1716 | class StopManagingDeviceRequest final : |
| 1717 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.StopManagingDeviceRequest) */ { |
| 1718 | public: |
| 1719 | StopManagingDeviceRequest(); |
| 1720 | virtual ~StopManagingDeviceRequest(); |
| 1721 | |
| 1722 | StopManagingDeviceRequest(const StopManagingDeviceRequest& from); |
| 1723 | |
| 1724 | inline StopManagingDeviceRequest& operator=(const StopManagingDeviceRequest& from) { |
| 1725 | CopyFrom(from); |
| 1726 | return *this; |
| 1727 | } |
| 1728 | #if LANG_CXX11 |
| 1729 | StopManagingDeviceRequest(StopManagingDeviceRequest&& from) noexcept |
| 1730 | : StopManagingDeviceRequest() { |
| 1731 | *this = ::std::move(from); |
| 1732 | } |
| 1733 | |
| 1734 | inline StopManagingDeviceRequest& operator=(StopManagingDeviceRequest&& from) noexcept { |
| 1735 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1736 | if (this != &from) InternalSwap(&from); |
| 1737 | } else { |
| 1738 | CopyFrom(from); |
| 1739 | } |
| 1740 | return *this; |
| 1741 | } |
| 1742 | #endif |
| 1743 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1744 | return default_instance().GetDescriptor(); |
| 1745 | } |
| 1746 | static const StopManagingDeviceRequest& default_instance(); |
| 1747 | |
| 1748 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1749 | static inline const StopManagingDeviceRequest* internal_default_instance() { |
| 1750 | return reinterpret_cast<const StopManagingDeviceRequest*>( |
| 1751 | &_StopManagingDeviceRequest_default_instance_); |
| 1752 | } |
| 1753 | static constexpr int kIndexInFileMessages = |
| 1754 | 7; |
| 1755 | |
| 1756 | void Swap(StopManagingDeviceRequest* other); |
| 1757 | friend void swap(StopManagingDeviceRequest& a, StopManagingDeviceRequest& b) { |
| 1758 | a.Swap(&b); |
| 1759 | } |
| 1760 | |
| 1761 | // implements Message ---------------------------------------------- |
| 1762 | |
| 1763 | inline StopManagingDeviceRequest* New() const final { |
| 1764 | return CreateMaybeMessage<StopManagingDeviceRequest>(nullptr); |
| 1765 | } |
| 1766 | |
| 1767 | StopManagingDeviceRequest* New(::google::protobuf::Arena* arena) const final { |
| 1768 | return CreateMaybeMessage<StopManagingDeviceRequest>(arena); |
| 1769 | } |
| 1770 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1771 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1772 | void CopyFrom(const StopManagingDeviceRequest& from); |
| 1773 | void MergeFrom(const StopManagingDeviceRequest& from); |
| 1774 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1775 | bool IsInitialized() const final; |
| 1776 | |
| 1777 | size_t ByteSizeLong() const final; |
| 1778 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1779 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1780 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1781 | #else |
| 1782 | bool MergePartialFromCodedStream( |
| 1783 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1784 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1785 | void SerializeWithCachedSizes( |
| 1786 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1787 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1788 | ::google::protobuf::uint8* target) const final; |
| 1789 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1790 | |
| 1791 | private: |
| 1792 | void SharedCtor(); |
| 1793 | void SharedDtor(); |
| 1794 | void SetCachedSize(int size) const final; |
| 1795 | void InternalSwap(StopManagingDeviceRequest* other); |
| 1796 | private: |
| 1797 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1798 | return nullptr; |
| 1799 | } |
| 1800 | inline void* MaybeArenaPtr() const { |
| 1801 | return nullptr; |
| 1802 | } |
| 1803 | public: |
| 1804 | |
| 1805 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1806 | |
| 1807 | // nested types ---------------------------------------------------- |
| 1808 | |
| 1809 | // accessors ------------------------------------------------------- |
| 1810 | |
| 1811 | // string name = 1; |
| 1812 | void clear_name(); |
| 1813 | static const int kNameFieldNumber = 1; |
| 1814 | const ::std::string& name() const; |
| 1815 | void set_name(const ::std::string& value); |
| 1816 | #if LANG_CXX11 |
| 1817 | void set_name(::std::string&& value); |
| 1818 | #endif |
| 1819 | void set_name(const char* value); |
| 1820 | void set_name(const char* value, size_t size); |
| 1821 | ::std::string* mutable_name(); |
| 1822 | ::std::string* release_name(); |
| 1823 | void set_allocated_name(::std::string* name); |
| 1824 | |
| 1825 | // @@protoc_insertion_point(class_scope:dmi.StopManagingDeviceRequest) |
| 1826 | private: |
| 1827 | class HasBitSetters; |
| 1828 | |
| 1829 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1830 | ::google::protobuf::internal::ArenaStringPtr name_; |
| 1831 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1832 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 1833 | }; |
| 1834 | // ------------------------------------------------------------------- |
| 1835 | |
| 1836 | class StopManagingDeviceResponse final : |
| 1837 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.StopManagingDeviceResponse) */ { |
| 1838 | public: |
| 1839 | StopManagingDeviceResponse(); |
| 1840 | virtual ~StopManagingDeviceResponse(); |
| 1841 | |
| 1842 | StopManagingDeviceResponse(const StopManagingDeviceResponse& from); |
| 1843 | |
| 1844 | inline StopManagingDeviceResponse& operator=(const StopManagingDeviceResponse& from) { |
| 1845 | CopyFrom(from); |
| 1846 | return *this; |
| 1847 | } |
| 1848 | #if LANG_CXX11 |
| 1849 | StopManagingDeviceResponse(StopManagingDeviceResponse&& from) noexcept |
| 1850 | : StopManagingDeviceResponse() { |
| 1851 | *this = ::std::move(from); |
| 1852 | } |
| 1853 | |
| 1854 | inline StopManagingDeviceResponse& operator=(StopManagingDeviceResponse&& from) noexcept { |
| 1855 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1856 | if (this != &from) InternalSwap(&from); |
| 1857 | } else { |
| 1858 | CopyFrom(from); |
| 1859 | } |
| 1860 | return *this; |
| 1861 | } |
| 1862 | #endif |
| 1863 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1864 | return default_instance().GetDescriptor(); |
| 1865 | } |
| 1866 | static const StopManagingDeviceResponse& default_instance(); |
| 1867 | |
| 1868 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1869 | static inline const StopManagingDeviceResponse* internal_default_instance() { |
| 1870 | return reinterpret_cast<const StopManagingDeviceResponse*>( |
| 1871 | &_StopManagingDeviceResponse_default_instance_); |
| 1872 | } |
| 1873 | static constexpr int kIndexInFileMessages = |
| 1874 | 8; |
| 1875 | |
| 1876 | void Swap(StopManagingDeviceResponse* other); |
| 1877 | friend void swap(StopManagingDeviceResponse& a, StopManagingDeviceResponse& b) { |
| 1878 | a.Swap(&b); |
| 1879 | } |
| 1880 | |
| 1881 | // implements Message ---------------------------------------------- |
| 1882 | |
| 1883 | inline StopManagingDeviceResponse* New() const final { |
| 1884 | return CreateMaybeMessage<StopManagingDeviceResponse>(nullptr); |
| 1885 | } |
| 1886 | |
| 1887 | StopManagingDeviceResponse* New(::google::protobuf::Arena* arena) const final { |
| 1888 | return CreateMaybeMessage<StopManagingDeviceResponse>(arena); |
| 1889 | } |
| 1890 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1891 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1892 | void CopyFrom(const StopManagingDeviceResponse& from); |
| 1893 | void MergeFrom(const StopManagingDeviceResponse& from); |
| 1894 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1895 | bool IsInitialized() const final; |
| 1896 | |
| 1897 | size_t ByteSizeLong() const final; |
| 1898 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1899 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1900 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1901 | #else |
| 1902 | bool MergePartialFromCodedStream( |
| 1903 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1904 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1905 | void SerializeWithCachedSizes( |
| 1906 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1907 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1908 | ::google::protobuf::uint8* target) const final; |
| 1909 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1910 | |
| 1911 | private: |
| 1912 | void SharedCtor(); |
| 1913 | void SharedDtor(); |
| 1914 | void SetCachedSize(int size) const final; |
| 1915 | void InternalSwap(StopManagingDeviceResponse* other); |
| 1916 | private: |
| 1917 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1918 | return nullptr; |
| 1919 | } |
| 1920 | inline void* MaybeArenaPtr() const { |
| 1921 | return nullptr; |
| 1922 | } |
| 1923 | public: |
| 1924 | |
| 1925 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1926 | |
| 1927 | // nested types ---------------------------------------------------- |
| 1928 | |
| 1929 | typedef StopManagingDeviceResponse_Reason Reason; |
| 1930 | static const Reason UNDEFINED_REASON = |
| 1931 | StopManagingDeviceResponse_Reason_UNDEFINED_REASON; |
| 1932 | static const Reason UNKNOWN_DEVICE = |
| 1933 | StopManagingDeviceResponse_Reason_UNKNOWN_DEVICE; |
amit.ghosh | dd12d88 | 2022-07-01 12:32:36 +0200 | [diff] [blame] | 1934 | static const Reason DEVICE_UNREACHABLE = |
| 1935 | StopManagingDeviceResponse_Reason_DEVICE_UNREACHABLE; |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 1936 | static inline bool Reason_IsValid(int value) { |
| 1937 | return StopManagingDeviceResponse_Reason_IsValid(value); |
| 1938 | } |
| 1939 | static const Reason Reason_MIN = |
| 1940 | StopManagingDeviceResponse_Reason_Reason_MIN; |
| 1941 | static const Reason Reason_MAX = |
| 1942 | StopManagingDeviceResponse_Reason_Reason_MAX; |
| 1943 | static const int Reason_ARRAYSIZE = |
| 1944 | StopManagingDeviceResponse_Reason_Reason_ARRAYSIZE; |
| 1945 | static inline const ::google::protobuf::EnumDescriptor* |
| 1946 | Reason_descriptor() { |
| 1947 | return StopManagingDeviceResponse_Reason_descriptor(); |
| 1948 | } |
| 1949 | static inline const ::std::string& Reason_Name(Reason value) { |
| 1950 | return StopManagingDeviceResponse_Reason_Name(value); |
| 1951 | } |
| 1952 | static inline bool Reason_Parse(const ::std::string& name, |
| 1953 | Reason* value) { |
| 1954 | return StopManagingDeviceResponse_Reason_Parse(name, value); |
| 1955 | } |
| 1956 | |
| 1957 | // accessors ------------------------------------------------------- |
| 1958 | |
| 1959 | // string reason_detail = 3; |
| 1960 | void clear_reason_detail(); |
| 1961 | static const int kReasonDetailFieldNumber = 3; |
| 1962 | const ::std::string& reason_detail() const; |
| 1963 | void set_reason_detail(const ::std::string& value); |
| 1964 | #if LANG_CXX11 |
| 1965 | void set_reason_detail(::std::string&& value); |
| 1966 | #endif |
| 1967 | void set_reason_detail(const char* value); |
| 1968 | void set_reason_detail(const char* value, size_t size); |
| 1969 | ::std::string* mutable_reason_detail(); |
| 1970 | ::std::string* release_reason_detail(); |
| 1971 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 1972 | |
| 1973 | // .dmi.Status status = 1; |
| 1974 | void clear_status(); |
| 1975 | static const int kStatusFieldNumber = 1; |
| 1976 | ::dmi::Status status() const; |
| 1977 | void set_status(::dmi::Status value); |
| 1978 | |
| 1979 | // .dmi.StopManagingDeviceResponse.Reason reason = 2; |
| 1980 | void clear_reason(); |
| 1981 | static const int kReasonFieldNumber = 2; |
| 1982 | ::dmi::StopManagingDeviceResponse_Reason reason() const; |
| 1983 | void set_reason(::dmi::StopManagingDeviceResponse_Reason value); |
| 1984 | |
| 1985 | // @@protoc_insertion_point(class_scope:dmi.StopManagingDeviceResponse) |
| 1986 | private: |
| 1987 | class HasBitSetters; |
| 1988 | |
| 1989 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1990 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 1991 | int status_; |
| 1992 | int reason_; |
| 1993 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1994 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 1995 | }; |
| 1996 | // ------------------------------------------------------------------- |
| 1997 | |
| 1998 | class ManagedDeviceInfo final : |
| 1999 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.ManagedDeviceInfo) */ { |
| 2000 | public: |
| 2001 | ManagedDeviceInfo(); |
| 2002 | virtual ~ManagedDeviceInfo(); |
| 2003 | |
| 2004 | ManagedDeviceInfo(const ManagedDeviceInfo& from); |
| 2005 | |
| 2006 | inline ManagedDeviceInfo& operator=(const ManagedDeviceInfo& from) { |
| 2007 | CopyFrom(from); |
| 2008 | return *this; |
| 2009 | } |
| 2010 | #if LANG_CXX11 |
| 2011 | ManagedDeviceInfo(ManagedDeviceInfo&& from) noexcept |
| 2012 | : ManagedDeviceInfo() { |
| 2013 | *this = ::std::move(from); |
| 2014 | } |
| 2015 | |
| 2016 | inline ManagedDeviceInfo& operator=(ManagedDeviceInfo&& from) noexcept { |
| 2017 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2018 | if (this != &from) InternalSwap(&from); |
| 2019 | } else { |
| 2020 | CopyFrom(from); |
| 2021 | } |
| 2022 | return *this; |
| 2023 | } |
| 2024 | #endif |
| 2025 | static const ::google::protobuf::Descriptor* descriptor() { |
| 2026 | return default_instance().GetDescriptor(); |
| 2027 | } |
| 2028 | static const ManagedDeviceInfo& default_instance(); |
| 2029 | |
| 2030 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2031 | static inline const ManagedDeviceInfo* internal_default_instance() { |
| 2032 | return reinterpret_cast<const ManagedDeviceInfo*>( |
| 2033 | &_ManagedDeviceInfo_default_instance_); |
| 2034 | } |
| 2035 | static constexpr int kIndexInFileMessages = |
| 2036 | 9; |
| 2037 | |
| 2038 | void Swap(ManagedDeviceInfo* other); |
| 2039 | friend void swap(ManagedDeviceInfo& a, ManagedDeviceInfo& b) { |
| 2040 | a.Swap(&b); |
| 2041 | } |
| 2042 | |
| 2043 | // implements Message ---------------------------------------------- |
| 2044 | |
| 2045 | inline ManagedDeviceInfo* New() const final { |
| 2046 | return CreateMaybeMessage<ManagedDeviceInfo>(nullptr); |
| 2047 | } |
| 2048 | |
| 2049 | ManagedDeviceInfo* New(::google::protobuf::Arena* arena) const final { |
| 2050 | return CreateMaybeMessage<ManagedDeviceInfo>(arena); |
| 2051 | } |
| 2052 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2053 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2054 | void CopyFrom(const ManagedDeviceInfo& from); |
| 2055 | void MergeFrom(const ManagedDeviceInfo& from); |
| 2056 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2057 | bool IsInitialized() const final; |
| 2058 | |
| 2059 | size_t ByteSizeLong() const final; |
| 2060 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2061 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 2062 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 2063 | #else |
| 2064 | bool MergePartialFromCodedStream( |
| 2065 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2066 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2067 | void SerializeWithCachedSizes( |
| 2068 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2069 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2070 | ::google::protobuf::uint8* target) const final; |
| 2071 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2072 | |
| 2073 | private: |
| 2074 | void SharedCtor(); |
| 2075 | void SharedDtor(); |
| 2076 | void SetCachedSize(int size) const final; |
| 2077 | void InternalSwap(ManagedDeviceInfo* other); |
| 2078 | private: |
| 2079 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2080 | return nullptr; |
| 2081 | } |
| 2082 | inline void* MaybeArenaPtr() const { |
| 2083 | return nullptr; |
| 2084 | } |
| 2085 | public: |
| 2086 | |
| 2087 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2088 | |
| 2089 | // nested types ---------------------------------------------------- |
| 2090 | |
| 2091 | // accessors ------------------------------------------------------- |
| 2092 | |
| 2093 | // .dmi.ModifiableComponent info = 1; |
| 2094 | bool has_info() const; |
| 2095 | void clear_info(); |
| 2096 | static const int kInfoFieldNumber = 1; |
| 2097 | const ::dmi::ModifiableComponent& info() const; |
| 2098 | ::dmi::ModifiableComponent* release_info(); |
| 2099 | ::dmi::ModifiableComponent* mutable_info(); |
| 2100 | void set_allocated_info(::dmi::ModifiableComponent* info); |
| 2101 | |
| 2102 | // .dmi.Uuid device_uuid = 2; |
| 2103 | bool has_device_uuid() const; |
| 2104 | void clear_device_uuid(); |
| 2105 | static const int kDeviceUuidFieldNumber = 2; |
| 2106 | const ::dmi::Uuid& device_uuid() const; |
| 2107 | ::dmi::Uuid* release_device_uuid(); |
| 2108 | ::dmi::Uuid* mutable_device_uuid(); |
| 2109 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 2110 | |
| 2111 | // @@protoc_insertion_point(class_scope:dmi.ManagedDeviceInfo) |
| 2112 | private: |
| 2113 | class HasBitSetters; |
| 2114 | |
| 2115 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2116 | ::dmi::ModifiableComponent* info_; |
| 2117 | ::dmi::Uuid* device_uuid_; |
| 2118 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2119 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 2120 | }; |
| 2121 | // ------------------------------------------------------------------- |
| 2122 | |
| 2123 | class ManagedDevicesResponse final : |
| 2124 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.ManagedDevicesResponse) */ { |
| 2125 | public: |
| 2126 | ManagedDevicesResponse(); |
| 2127 | virtual ~ManagedDevicesResponse(); |
| 2128 | |
| 2129 | ManagedDevicesResponse(const ManagedDevicesResponse& from); |
| 2130 | |
| 2131 | inline ManagedDevicesResponse& operator=(const ManagedDevicesResponse& from) { |
| 2132 | CopyFrom(from); |
| 2133 | return *this; |
| 2134 | } |
| 2135 | #if LANG_CXX11 |
| 2136 | ManagedDevicesResponse(ManagedDevicesResponse&& from) noexcept |
| 2137 | : ManagedDevicesResponse() { |
| 2138 | *this = ::std::move(from); |
| 2139 | } |
| 2140 | |
| 2141 | inline ManagedDevicesResponse& operator=(ManagedDevicesResponse&& from) noexcept { |
| 2142 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2143 | if (this != &from) InternalSwap(&from); |
| 2144 | } else { |
| 2145 | CopyFrom(from); |
| 2146 | } |
| 2147 | return *this; |
| 2148 | } |
| 2149 | #endif |
| 2150 | static const ::google::protobuf::Descriptor* descriptor() { |
| 2151 | return default_instance().GetDescriptor(); |
| 2152 | } |
| 2153 | static const ManagedDevicesResponse& default_instance(); |
| 2154 | |
| 2155 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2156 | static inline const ManagedDevicesResponse* internal_default_instance() { |
| 2157 | return reinterpret_cast<const ManagedDevicesResponse*>( |
| 2158 | &_ManagedDevicesResponse_default_instance_); |
| 2159 | } |
| 2160 | static constexpr int kIndexInFileMessages = |
| 2161 | 10; |
| 2162 | |
| 2163 | void Swap(ManagedDevicesResponse* other); |
| 2164 | friend void swap(ManagedDevicesResponse& a, ManagedDevicesResponse& b) { |
| 2165 | a.Swap(&b); |
| 2166 | } |
| 2167 | |
| 2168 | // implements Message ---------------------------------------------- |
| 2169 | |
| 2170 | inline ManagedDevicesResponse* New() const final { |
| 2171 | return CreateMaybeMessage<ManagedDevicesResponse>(nullptr); |
| 2172 | } |
| 2173 | |
| 2174 | ManagedDevicesResponse* New(::google::protobuf::Arena* arena) const final { |
| 2175 | return CreateMaybeMessage<ManagedDevicesResponse>(arena); |
| 2176 | } |
| 2177 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2178 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2179 | void CopyFrom(const ManagedDevicesResponse& from); |
| 2180 | void MergeFrom(const ManagedDevicesResponse& from); |
| 2181 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2182 | bool IsInitialized() const final; |
| 2183 | |
| 2184 | size_t ByteSizeLong() const final; |
| 2185 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2186 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 2187 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 2188 | #else |
| 2189 | bool MergePartialFromCodedStream( |
| 2190 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2191 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2192 | void SerializeWithCachedSizes( |
| 2193 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2194 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2195 | ::google::protobuf::uint8* target) const final; |
| 2196 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2197 | |
| 2198 | private: |
| 2199 | void SharedCtor(); |
| 2200 | void SharedDtor(); |
| 2201 | void SetCachedSize(int size) const final; |
| 2202 | void InternalSwap(ManagedDevicesResponse* other); |
| 2203 | private: |
| 2204 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2205 | return nullptr; |
| 2206 | } |
| 2207 | inline void* MaybeArenaPtr() const { |
| 2208 | return nullptr; |
| 2209 | } |
| 2210 | public: |
| 2211 | |
| 2212 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2213 | |
| 2214 | // nested types ---------------------------------------------------- |
| 2215 | |
| 2216 | typedef ManagedDevicesResponse_Reason Reason; |
| 2217 | static const Reason UNDEFINED_REASON = |
| 2218 | ManagedDevicesResponse_Reason_UNDEFINED_REASON; |
| 2219 | static const Reason INTERNAL_ERROR = |
| 2220 | ManagedDevicesResponse_Reason_INTERNAL_ERROR; |
| 2221 | static inline bool Reason_IsValid(int value) { |
| 2222 | return ManagedDevicesResponse_Reason_IsValid(value); |
| 2223 | } |
| 2224 | static const Reason Reason_MIN = |
| 2225 | ManagedDevicesResponse_Reason_Reason_MIN; |
| 2226 | static const Reason Reason_MAX = |
| 2227 | ManagedDevicesResponse_Reason_Reason_MAX; |
| 2228 | static const int Reason_ARRAYSIZE = |
| 2229 | ManagedDevicesResponse_Reason_Reason_ARRAYSIZE; |
| 2230 | static inline const ::google::protobuf::EnumDescriptor* |
| 2231 | Reason_descriptor() { |
| 2232 | return ManagedDevicesResponse_Reason_descriptor(); |
| 2233 | } |
| 2234 | static inline const ::std::string& Reason_Name(Reason value) { |
| 2235 | return ManagedDevicesResponse_Reason_Name(value); |
| 2236 | } |
| 2237 | static inline bool Reason_Parse(const ::std::string& name, |
| 2238 | Reason* value) { |
| 2239 | return ManagedDevicesResponse_Reason_Parse(name, value); |
| 2240 | } |
| 2241 | |
| 2242 | // accessors ------------------------------------------------------- |
| 2243 | |
| 2244 | // repeated .dmi.ManagedDeviceInfo devices = 3; |
| 2245 | int devices_size() const; |
| 2246 | void clear_devices(); |
| 2247 | static const int kDevicesFieldNumber = 3; |
| 2248 | ::dmi::ManagedDeviceInfo* mutable_devices(int index); |
| 2249 | ::google::protobuf::RepeatedPtrField< ::dmi::ManagedDeviceInfo >* |
| 2250 | mutable_devices(); |
| 2251 | const ::dmi::ManagedDeviceInfo& devices(int index) const; |
| 2252 | ::dmi::ManagedDeviceInfo* add_devices(); |
| 2253 | const ::google::protobuf::RepeatedPtrField< ::dmi::ManagedDeviceInfo >& |
| 2254 | devices() const; |
| 2255 | |
| 2256 | // .dmi.Status status = 1; |
| 2257 | void clear_status(); |
| 2258 | static const int kStatusFieldNumber = 1; |
| 2259 | ::dmi::Status status() const; |
| 2260 | void set_status(::dmi::Status value); |
| 2261 | |
| 2262 | // .dmi.ManagedDevicesResponse.Reason reason = 2; |
| 2263 | void clear_reason(); |
| 2264 | static const int kReasonFieldNumber = 2; |
| 2265 | ::dmi::ManagedDevicesResponse_Reason reason() const; |
| 2266 | void set_reason(::dmi::ManagedDevicesResponse_Reason value); |
| 2267 | |
| 2268 | // @@protoc_insertion_point(class_scope:dmi.ManagedDevicesResponse) |
| 2269 | private: |
| 2270 | class HasBitSetters; |
| 2271 | |
| 2272 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2273 | ::google::protobuf::RepeatedPtrField< ::dmi::ManagedDeviceInfo > devices_; |
| 2274 | int status_; |
| 2275 | int reason_; |
| 2276 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2277 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 2278 | }; |
| 2279 | // ------------------------------------------------------------------- |
| 2280 | |
| 2281 | class SetLoggingEndpointRequest final : |
| 2282 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.SetLoggingEndpointRequest) */ { |
| 2283 | public: |
| 2284 | SetLoggingEndpointRequest(); |
| 2285 | virtual ~SetLoggingEndpointRequest(); |
| 2286 | |
| 2287 | SetLoggingEndpointRequest(const SetLoggingEndpointRequest& from); |
| 2288 | |
| 2289 | inline SetLoggingEndpointRequest& operator=(const SetLoggingEndpointRequest& from) { |
| 2290 | CopyFrom(from); |
| 2291 | return *this; |
| 2292 | } |
| 2293 | #if LANG_CXX11 |
| 2294 | SetLoggingEndpointRequest(SetLoggingEndpointRequest&& from) noexcept |
| 2295 | : SetLoggingEndpointRequest() { |
| 2296 | *this = ::std::move(from); |
| 2297 | } |
| 2298 | |
| 2299 | inline SetLoggingEndpointRequest& operator=(SetLoggingEndpointRequest&& from) noexcept { |
| 2300 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2301 | if (this != &from) InternalSwap(&from); |
| 2302 | } else { |
| 2303 | CopyFrom(from); |
| 2304 | } |
| 2305 | return *this; |
| 2306 | } |
| 2307 | #endif |
| 2308 | static const ::google::protobuf::Descriptor* descriptor() { |
| 2309 | return default_instance().GetDescriptor(); |
| 2310 | } |
| 2311 | static const SetLoggingEndpointRequest& default_instance(); |
| 2312 | |
| 2313 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2314 | static inline const SetLoggingEndpointRequest* internal_default_instance() { |
| 2315 | return reinterpret_cast<const SetLoggingEndpointRequest*>( |
| 2316 | &_SetLoggingEndpointRequest_default_instance_); |
| 2317 | } |
| 2318 | static constexpr int kIndexInFileMessages = |
| 2319 | 11; |
| 2320 | |
| 2321 | void Swap(SetLoggingEndpointRequest* other); |
| 2322 | friend void swap(SetLoggingEndpointRequest& a, SetLoggingEndpointRequest& b) { |
| 2323 | a.Swap(&b); |
| 2324 | } |
| 2325 | |
| 2326 | // implements Message ---------------------------------------------- |
| 2327 | |
| 2328 | inline SetLoggingEndpointRequest* New() const final { |
| 2329 | return CreateMaybeMessage<SetLoggingEndpointRequest>(nullptr); |
| 2330 | } |
| 2331 | |
| 2332 | SetLoggingEndpointRequest* New(::google::protobuf::Arena* arena) const final { |
| 2333 | return CreateMaybeMessage<SetLoggingEndpointRequest>(arena); |
| 2334 | } |
| 2335 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2336 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2337 | void CopyFrom(const SetLoggingEndpointRequest& from); |
| 2338 | void MergeFrom(const SetLoggingEndpointRequest& from); |
| 2339 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2340 | bool IsInitialized() const final; |
| 2341 | |
| 2342 | size_t ByteSizeLong() const final; |
| 2343 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2344 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 2345 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 2346 | #else |
| 2347 | bool MergePartialFromCodedStream( |
| 2348 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2349 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2350 | void SerializeWithCachedSizes( |
| 2351 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2352 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2353 | ::google::protobuf::uint8* target) const final; |
| 2354 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2355 | |
| 2356 | private: |
| 2357 | void SharedCtor(); |
| 2358 | void SharedDtor(); |
| 2359 | void SetCachedSize(int size) const final; |
| 2360 | void InternalSwap(SetLoggingEndpointRequest* other); |
| 2361 | private: |
| 2362 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2363 | return nullptr; |
| 2364 | } |
| 2365 | inline void* MaybeArenaPtr() const { |
| 2366 | return nullptr; |
| 2367 | } |
| 2368 | public: |
| 2369 | |
| 2370 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2371 | |
| 2372 | // nested types ---------------------------------------------------- |
| 2373 | |
| 2374 | // accessors ------------------------------------------------------- |
| 2375 | |
| 2376 | // string logging_endpoint = 2; |
| 2377 | void clear_logging_endpoint(); |
| 2378 | static const int kLoggingEndpointFieldNumber = 2; |
| 2379 | const ::std::string& logging_endpoint() const; |
| 2380 | void set_logging_endpoint(const ::std::string& value); |
| 2381 | #if LANG_CXX11 |
| 2382 | void set_logging_endpoint(::std::string&& value); |
| 2383 | #endif |
| 2384 | void set_logging_endpoint(const char* value); |
| 2385 | void set_logging_endpoint(const char* value, size_t size); |
| 2386 | ::std::string* mutable_logging_endpoint(); |
| 2387 | ::std::string* release_logging_endpoint(); |
| 2388 | void set_allocated_logging_endpoint(::std::string* logging_endpoint); |
| 2389 | |
| 2390 | // string logging_protocol = 3; |
| 2391 | void clear_logging_protocol(); |
| 2392 | static const int kLoggingProtocolFieldNumber = 3; |
| 2393 | const ::std::string& logging_protocol() const; |
| 2394 | void set_logging_protocol(const ::std::string& value); |
| 2395 | #if LANG_CXX11 |
| 2396 | void set_logging_protocol(::std::string&& value); |
| 2397 | #endif |
| 2398 | void set_logging_protocol(const char* value); |
| 2399 | void set_logging_protocol(const char* value, size_t size); |
| 2400 | ::std::string* mutable_logging_protocol(); |
| 2401 | ::std::string* release_logging_protocol(); |
| 2402 | void set_allocated_logging_protocol(::std::string* logging_protocol); |
| 2403 | |
| 2404 | // .dmi.Uuid device_uuid = 1; |
| 2405 | bool has_device_uuid() const; |
| 2406 | void clear_device_uuid(); |
| 2407 | static const int kDeviceUuidFieldNumber = 1; |
| 2408 | const ::dmi::Uuid& device_uuid() const; |
| 2409 | ::dmi::Uuid* release_device_uuid(); |
| 2410 | ::dmi::Uuid* mutable_device_uuid(); |
| 2411 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 2412 | |
| 2413 | // @@protoc_insertion_point(class_scope:dmi.SetLoggingEndpointRequest) |
| 2414 | private: |
| 2415 | class HasBitSetters; |
| 2416 | |
| 2417 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2418 | ::google::protobuf::internal::ArenaStringPtr logging_endpoint_; |
| 2419 | ::google::protobuf::internal::ArenaStringPtr logging_protocol_; |
| 2420 | ::dmi::Uuid* device_uuid_; |
| 2421 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2422 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 2423 | }; |
| 2424 | // ------------------------------------------------------------------- |
| 2425 | |
| 2426 | class SetRemoteEndpointResponse final : |
| 2427 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.SetRemoteEndpointResponse) */ { |
| 2428 | public: |
| 2429 | SetRemoteEndpointResponse(); |
| 2430 | virtual ~SetRemoteEndpointResponse(); |
| 2431 | |
| 2432 | SetRemoteEndpointResponse(const SetRemoteEndpointResponse& from); |
| 2433 | |
| 2434 | inline SetRemoteEndpointResponse& operator=(const SetRemoteEndpointResponse& from) { |
| 2435 | CopyFrom(from); |
| 2436 | return *this; |
| 2437 | } |
| 2438 | #if LANG_CXX11 |
| 2439 | SetRemoteEndpointResponse(SetRemoteEndpointResponse&& from) noexcept |
| 2440 | : SetRemoteEndpointResponse() { |
| 2441 | *this = ::std::move(from); |
| 2442 | } |
| 2443 | |
| 2444 | inline SetRemoteEndpointResponse& operator=(SetRemoteEndpointResponse&& from) noexcept { |
| 2445 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2446 | if (this != &from) InternalSwap(&from); |
| 2447 | } else { |
| 2448 | CopyFrom(from); |
| 2449 | } |
| 2450 | return *this; |
| 2451 | } |
| 2452 | #endif |
| 2453 | static const ::google::protobuf::Descriptor* descriptor() { |
| 2454 | return default_instance().GetDescriptor(); |
| 2455 | } |
| 2456 | static const SetRemoteEndpointResponse& default_instance(); |
| 2457 | |
| 2458 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2459 | static inline const SetRemoteEndpointResponse* internal_default_instance() { |
| 2460 | return reinterpret_cast<const SetRemoteEndpointResponse*>( |
| 2461 | &_SetRemoteEndpointResponse_default_instance_); |
| 2462 | } |
| 2463 | static constexpr int kIndexInFileMessages = |
| 2464 | 12; |
| 2465 | |
| 2466 | void Swap(SetRemoteEndpointResponse* other); |
| 2467 | friend void swap(SetRemoteEndpointResponse& a, SetRemoteEndpointResponse& b) { |
| 2468 | a.Swap(&b); |
| 2469 | } |
| 2470 | |
| 2471 | // implements Message ---------------------------------------------- |
| 2472 | |
| 2473 | inline SetRemoteEndpointResponse* New() const final { |
| 2474 | return CreateMaybeMessage<SetRemoteEndpointResponse>(nullptr); |
| 2475 | } |
| 2476 | |
| 2477 | SetRemoteEndpointResponse* New(::google::protobuf::Arena* arena) const final { |
| 2478 | return CreateMaybeMessage<SetRemoteEndpointResponse>(arena); |
| 2479 | } |
| 2480 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2481 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2482 | void CopyFrom(const SetRemoteEndpointResponse& from); |
| 2483 | void MergeFrom(const SetRemoteEndpointResponse& from); |
| 2484 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2485 | bool IsInitialized() const final; |
| 2486 | |
| 2487 | size_t ByteSizeLong() const final; |
| 2488 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2489 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 2490 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 2491 | #else |
| 2492 | bool MergePartialFromCodedStream( |
| 2493 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2494 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2495 | void SerializeWithCachedSizes( |
| 2496 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2497 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2498 | ::google::protobuf::uint8* target) const final; |
| 2499 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2500 | |
| 2501 | private: |
| 2502 | void SharedCtor(); |
| 2503 | void SharedDtor(); |
| 2504 | void SetCachedSize(int size) const final; |
| 2505 | void InternalSwap(SetRemoteEndpointResponse* other); |
| 2506 | private: |
| 2507 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2508 | return nullptr; |
| 2509 | } |
| 2510 | inline void* MaybeArenaPtr() const { |
| 2511 | return nullptr; |
| 2512 | } |
| 2513 | public: |
| 2514 | |
| 2515 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2516 | |
| 2517 | // nested types ---------------------------------------------------- |
| 2518 | |
| 2519 | typedef SetRemoteEndpointResponse_Reason Reason; |
| 2520 | static const Reason UNDEFINED_REASON = |
| 2521 | SetRemoteEndpointResponse_Reason_UNDEFINED_REASON; |
| 2522 | static const Reason UNKNOWN_DEVICE = |
| 2523 | SetRemoteEndpointResponse_Reason_UNKNOWN_DEVICE; |
| 2524 | static const Reason INTERNAL_ERROR = |
| 2525 | SetRemoteEndpointResponse_Reason_INTERNAL_ERROR; |
| 2526 | static const Reason LOGGING_ENDPOINT_ERROR = |
| 2527 | SetRemoteEndpointResponse_Reason_LOGGING_ENDPOINT_ERROR; |
| 2528 | static const Reason LOGGING_ENDPOINT_PROTOCOL_ERROR = |
| 2529 | SetRemoteEndpointResponse_Reason_LOGGING_ENDPOINT_PROTOCOL_ERROR; |
| 2530 | static const Reason MSGBUS_ENDPOINT_ERROR = |
| 2531 | SetRemoteEndpointResponse_Reason_MSGBUS_ENDPOINT_ERROR; |
| 2532 | static const Reason DEVICE_UNREACHABLE = |
| 2533 | SetRemoteEndpointResponse_Reason_DEVICE_UNREACHABLE; |
| 2534 | static inline bool Reason_IsValid(int value) { |
| 2535 | return SetRemoteEndpointResponse_Reason_IsValid(value); |
| 2536 | } |
| 2537 | static const Reason Reason_MIN = |
| 2538 | SetRemoteEndpointResponse_Reason_Reason_MIN; |
| 2539 | static const Reason Reason_MAX = |
| 2540 | SetRemoteEndpointResponse_Reason_Reason_MAX; |
| 2541 | static const int Reason_ARRAYSIZE = |
| 2542 | SetRemoteEndpointResponse_Reason_Reason_ARRAYSIZE; |
| 2543 | static inline const ::google::protobuf::EnumDescriptor* |
| 2544 | Reason_descriptor() { |
| 2545 | return SetRemoteEndpointResponse_Reason_descriptor(); |
| 2546 | } |
| 2547 | static inline const ::std::string& Reason_Name(Reason value) { |
| 2548 | return SetRemoteEndpointResponse_Reason_Name(value); |
| 2549 | } |
| 2550 | static inline bool Reason_Parse(const ::std::string& name, |
| 2551 | Reason* value) { |
| 2552 | return SetRemoteEndpointResponse_Reason_Parse(name, value); |
| 2553 | } |
| 2554 | |
| 2555 | // accessors ------------------------------------------------------- |
| 2556 | |
| 2557 | // string reason_detail = 3; |
| 2558 | void clear_reason_detail(); |
| 2559 | static const int kReasonDetailFieldNumber = 3; |
| 2560 | const ::std::string& reason_detail() const; |
| 2561 | void set_reason_detail(const ::std::string& value); |
| 2562 | #if LANG_CXX11 |
| 2563 | void set_reason_detail(::std::string&& value); |
| 2564 | #endif |
| 2565 | void set_reason_detail(const char* value); |
| 2566 | void set_reason_detail(const char* value, size_t size); |
| 2567 | ::std::string* mutable_reason_detail(); |
| 2568 | ::std::string* release_reason_detail(); |
| 2569 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 2570 | |
| 2571 | // .dmi.Status status = 1; |
| 2572 | void clear_status(); |
| 2573 | static const int kStatusFieldNumber = 1; |
| 2574 | ::dmi::Status status() const; |
| 2575 | void set_status(::dmi::Status value); |
| 2576 | |
| 2577 | // .dmi.SetRemoteEndpointResponse.Reason reason = 2; |
| 2578 | void clear_reason(); |
| 2579 | static const int kReasonFieldNumber = 2; |
| 2580 | ::dmi::SetRemoteEndpointResponse_Reason reason() const; |
| 2581 | void set_reason(::dmi::SetRemoteEndpointResponse_Reason value); |
| 2582 | |
| 2583 | // @@protoc_insertion_point(class_scope:dmi.SetRemoteEndpointResponse) |
| 2584 | private: |
| 2585 | class HasBitSetters; |
| 2586 | |
| 2587 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2588 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 2589 | int status_; |
| 2590 | int reason_; |
| 2591 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2592 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 2593 | }; |
| 2594 | // ------------------------------------------------------------------- |
| 2595 | |
| 2596 | class GetLoggingEndpointResponse final : |
| 2597 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.GetLoggingEndpointResponse) */ { |
| 2598 | public: |
| 2599 | GetLoggingEndpointResponse(); |
| 2600 | virtual ~GetLoggingEndpointResponse(); |
| 2601 | |
| 2602 | GetLoggingEndpointResponse(const GetLoggingEndpointResponse& from); |
| 2603 | |
| 2604 | inline GetLoggingEndpointResponse& operator=(const GetLoggingEndpointResponse& from) { |
| 2605 | CopyFrom(from); |
| 2606 | return *this; |
| 2607 | } |
| 2608 | #if LANG_CXX11 |
| 2609 | GetLoggingEndpointResponse(GetLoggingEndpointResponse&& from) noexcept |
| 2610 | : GetLoggingEndpointResponse() { |
| 2611 | *this = ::std::move(from); |
| 2612 | } |
| 2613 | |
| 2614 | inline GetLoggingEndpointResponse& operator=(GetLoggingEndpointResponse&& from) noexcept { |
| 2615 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2616 | if (this != &from) InternalSwap(&from); |
| 2617 | } else { |
| 2618 | CopyFrom(from); |
| 2619 | } |
| 2620 | return *this; |
| 2621 | } |
| 2622 | #endif |
| 2623 | static const ::google::protobuf::Descriptor* descriptor() { |
| 2624 | return default_instance().GetDescriptor(); |
| 2625 | } |
| 2626 | static const GetLoggingEndpointResponse& default_instance(); |
| 2627 | |
| 2628 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2629 | static inline const GetLoggingEndpointResponse* internal_default_instance() { |
| 2630 | return reinterpret_cast<const GetLoggingEndpointResponse*>( |
| 2631 | &_GetLoggingEndpointResponse_default_instance_); |
| 2632 | } |
| 2633 | static constexpr int kIndexInFileMessages = |
| 2634 | 13; |
| 2635 | |
| 2636 | void Swap(GetLoggingEndpointResponse* other); |
| 2637 | friend void swap(GetLoggingEndpointResponse& a, GetLoggingEndpointResponse& b) { |
| 2638 | a.Swap(&b); |
| 2639 | } |
| 2640 | |
| 2641 | // implements Message ---------------------------------------------- |
| 2642 | |
| 2643 | inline GetLoggingEndpointResponse* New() const final { |
| 2644 | return CreateMaybeMessage<GetLoggingEndpointResponse>(nullptr); |
| 2645 | } |
| 2646 | |
| 2647 | GetLoggingEndpointResponse* New(::google::protobuf::Arena* arena) const final { |
| 2648 | return CreateMaybeMessage<GetLoggingEndpointResponse>(arena); |
| 2649 | } |
| 2650 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2651 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2652 | void CopyFrom(const GetLoggingEndpointResponse& from); |
| 2653 | void MergeFrom(const GetLoggingEndpointResponse& from); |
| 2654 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2655 | bool IsInitialized() const final; |
| 2656 | |
| 2657 | size_t ByteSizeLong() const final; |
| 2658 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2659 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 2660 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 2661 | #else |
| 2662 | bool MergePartialFromCodedStream( |
| 2663 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2664 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2665 | void SerializeWithCachedSizes( |
| 2666 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2667 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2668 | ::google::protobuf::uint8* target) const final; |
| 2669 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2670 | |
| 2671 | private: |
| 2672 | void SharedCtor(); |
| 2673 | void SharedDtor(); |
| 2674 | void SetCachedSize(int size) const final; |
| 2675 | void InternalSwap(GetLoggingEndpointResponse* other); |
| 2676 | private: |
| 2677 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2678 | return nullptr; |
| 2679 | } |
| 2680 | inline void* MaybeArenaPtr() const { |
| 2681 | return nullptr; |
| 2682 | } |
| 2683 | public: |
| 2684 | |
| 2685 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2686 | |
| 2687 | // nested types ---------------------------------------------------- |
| 2688 | |
| 2689 | typedef GetLoggingEndpointResponse_Reason Reason; |
| 2690 | static const Reason UNDEFINED_REASON = |
| 2691 | GetLoggingEndpointResponse_Reason_UNDEFINED_REASON; |
| 2692 | static const Reason UNKNOWN_DEVICE = |
| 2693 | GetLoggingEndpointResponse_Reason_UNKNOWN_DEVICE; |
| 2694 | static const Reason INTERNAL_ERROR = |
| 2695 | GetLoggingEndpointResponse_Reason_INTERNAL_ERROR; |
| 2696 | static const Reason DEVICE_UNREACHABLE = |
| 2697 | GetLoggingEndpointResponse_Reason_DEVICE_UNREACHABLE; |
| 2698 | static inline bool Reason_IsValid(int value) { |
| 2699 | return GetLoggingEndpointResponse_Reason_IsValid(value); |
| 2700 | } |
| 2701 | static const Reason Reason_MIN = |
| 2702 | GetLoggingEndpointResponse_Reason_Reason_MIN; |
| 2703 | static const Reason Reason_MAX = |
| 2704 | GetLoggingEndpointResponse_Reason_Reason_MAX; |
| 2705 | static const int Reason_ARRAYSIZE = |
| 2706 | GetLoggingEndpointResponse_Reason_Reason_ARRAYSIZE; |
| 2707 | static inline const ::google::protobuf::EnumDescriptor* |
| 2708 | Reason_descriptor() { |
| 2709 | return GetLoggingEndpointResponse_Reason_descriptor(); |
| 2710 | } |
| 2711 | static inline const ::std::string& Reason_Name(Reason value) { |
| 2712 | return GetLoggingEndpointResponse_Reason_Name(value); |
| 2713 | } |
| 2714 | static inline bool Reason_Parse(const ::std::string& name, |
| 2715 | Reason* value) { |
| 2716 | return GetLoggingEndpointResponse_Reason_Parse(name, value); |
| 2717 | } |
| 2718 | |
| 2719 | // accessors ------------------------------------------------------- |
| 2720 | |
| 2721 | // string logging_endpoint = 3; |
| 2722 | void clear_logging_endpoint(); |
| 2723 | static const int kLoggingEndpointFieldNumber = 3; |
| 2724 | const ::std::string& logging_endpoint() const; |
| 2725 | void set_logging_endpoint(const ::std::string& value); |
| 2726 | #if LANG_CXX11 |
| 2727 | void set_logging_endpoint(::std::string&& value); |
| 2728 | #endif |
| 2729 | void set_logging_endpoint(const char* value); |
| 2730 | void set_logging_endpoint(const char* value, size_t size); |
| 2731 | ::std::string* mutable_logging_endpoint(); |
| 2732 | ::std::string* release_logging_endpoint(); |
| 2733 | void set_allocated_logging_endpoint(::std::string* logging_endpoint); |
| 2734 | |
| 2735 | // string logging_protocol = 4; |
| 2736 | void clear_logging_protocol(); |
| 2737 | static const int kLoggingProtocolFieldNumber = 4; |
| 2738 | const ::std::string& logging_protocol() const; |
| 2739 | void set_logging_protocol(const ::std::string& value); |
| 2740 | #if LANG_CXX11 |
| 2741 | void set_logging_protocol(::std::string&& value); |
| 2742 | #endif |
| 2743 | void set_logging_protocol(const char* value); |
| 2744 | void set_logging_protocol(const char* value, size_t size); |
| 2745 | ::std::string* mutable_logging_protocol(); |
| 2746 | ::std::string* release_logging_protocol(); |
| 2747 | void set_allocated_logging_protocol(::std::string* logging_protocol); |
| 2748 | |
| 2749 | // string reason_detail = 5; |
| 2750 | void clear_reason_detail(); |
| 2751 | static const int kReasonDetailFieldNumber = 5; |
| 2752 | const ::std::string& reason_detail() const; |
| 2753 | void set_reason_detail(const ::std::string& value); |
| 2754 | #if LANG_CXX11 |
| 2755 | void set_reason_detail(::std::string&& value); |
| 2756 | #endif |
| 2757 | void set_reason_detail(const char* value); |
| 2758 | void set_reason_detail(const char* value, size_t size); |
| 2759 | ::std::string* mutable_reason_detail(); |
| 2760 | ::std::string* release_reason_detail(); |
| 2761 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 2762 | |
| 2763 | // .dmi.Status status = 1; |
| 2764 | void clear_status(); |
| 2765 | static const int kStatusFieldNumber = 1; |
| 2766 | ::dmi::Status status() const; |
| 2767 | void set_status(::dmi::Status value); |
| 2768 | |
| 2769 | // .dmi.GetLoggingEndpointResponse.Reason reason = 2; |
| 2770 | void clear_reason(); |
| 2771 | static const int kReasonFieldNumber = 2; |
| 2772 | ::dmi::GetLoggingEndpointResponse_Reason reason() const; |
| 2773 | void set_reason(::dmi::GetLoggingEndpointResponse_Reason value); |
| 2774 | |
| 2775 | // @@protoc_insertion_point(class_scope:dmi.GetLoggingEndpointResponse) |
| 2776 | private: |
| 2777 | class HasBitSetters; |
| 2778 | |
| 2779 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2780 | ::google::protobuf::internal::ArenaStringPtr logging_endpoint_; |
| 2781 | ::google::protobuf::internal::ArenaStringPtr logging_protocol_; |
| 2782 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 2783 | int status_; |
| 2784 | int reason_; |
| 2785 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2786 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 2787 | }; |
| 2788 | // ------------------------------------------------------------------- |
| 2789 | |
| 2790 | class SetMsgBusEndpointRequest final : |
| 2791 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.SetMsgBusEndpointRequest) */ { |
| 2792 | public: |
| 2793 | SetMsgBusEndpointRequest(); |
| 2794 | virtual ~SetMsgBusEndpointRequest(); |
| 2795 | |
| 2796 | SetMsgBusEndpointRequest(const SetMsgBusEndpointRequest& from); |
| 2797 | |
| 2798 | inline SetMsgBusEndpointRequest& operator=(const SetMsgBusEndpointRequest& from) { |
| 2799 | CopyFrom(from); |
| 2800 | return *this; |
| 2801 | } |
| 2802 | #if LANG_CXX11 |
| 2803 | SetMsgBusEndpointRequest(SetMsgBusEndpointRequest&& from) noexcept |
| 2804 | : SetMsgBusEndpointRequest() { |
| 2805 | *this = ::std::move(from); |
| 2806 | } |
| 2807 | |
| 2808 | inline SetMsgBusEndpointRequest& operator=(SetMsgBusEndpointRequest&& from) noexcept { |
| 2809 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2810 | if (this != &from) InternalSwap(&from); |
| 2811 | } else { |
| 2812 | CopyFrom(from); |
| 2813 | } |
| 2814 | return *this; |
| 2815 | } |
| 2816 | #endif |
| 2817 | static const ::google::protobuf::Descriptor* descriptor() { |
| 2818 | return default_instance().GetDescriptor(); |
| 2819 | } |
| 2820 | static const SetMsgBusEndpointRequest& default_instance(); |
| 2821 | |
| 2822 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2823 | static inline const SetMsgBusEndpointRequest* internal_default_instance() { |
| 2824 | return reinterpret_cast<const SetMsgBusEndpointRequest*>( |
| 2825 | &_SetMsgBusEndpointRequest_default_instance_); |
| 2826 | } |
| 2827 | static constexpr int kIndexInFileMessages = |
| 2828 | 14; |
| 2829 | |
| 2830 | void Swap(SetMsgBusEndpointRequest* other); |
| 2831 | friend void swap(SetMsgBusEndpointRequest& a, SetMsgBusEndpointRequest& b) { |
| 2832 | a.Swap(&b); |
| 2833 | } |
| 2834 | |
| 2835 | // implements Message ---------------------------------------------- |
| 2836 | |
| 2837 | inline SetMsgBusEndpointRequest* New() const final { |
| 2838 | return CreateMaybeMessage<SetMsgBusEndpointRequest>(nullptr); |
| 2839 | } |
| 2840 | |
| 2841 | SetMsgBusEndpointRequest* New(::google::protobuf::Arena* arena) const final { |
| 2842 | return CreateMaybeMessage<SetMsgBusEndpointRequest>(arena); |
| 2843 | } |
| 2844 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2845 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2846 | void CopyFrom(const SetMsgBusEndpointRequest& from); |
| 2847 | void MergeFrom(const SetMsgBusEndpointRequest& from); |
| 2848 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2849 | bool IsInitialized() const final; |
| 2850 | |
| 2851 | size_t ByteSizeLong() const final; |
| 2852 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2853 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 2854 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 2855 | #else |
| 2856 | bool MergePartialFromCodedStream( |
| 2857 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2858 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2859 | void SerializeWithCachedSizes( |
| 2860 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2861 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2862 | ::google::protobuf::uint8* target) const final; |
| 2863 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2864 | |
| 2865 | private: |
| 2866 | void SharedCtor(); |
| 2867 | void SharedDtor(); |
| 2868 | void SetCachedSize(int size) const final; |
| 2869 | void InternalSwap(SetMsgBusEndpointRequest* other); |
| 2870 | private: |
| 2871 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2872 | return nullptr; |
| 2873 | } |
| 2874 | inline void* MaybeArenaPtr() const { |
| 2875 | return nullptr; |
| 2876 | } |
| 2877 | public: |
| 2878 | |
| 2879 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2880 | |
| 2881 | // nested types ---------------------------------------------------- |
| 2882 | |
| 2883 | // accessors ------------------------------------------------------- |
| 2884 | |
| 2885 | // string msgbus_endpoint = 1; |
| 2886 | void clear_msgbus_endpoint(); |
| 2887 | static const int kMsgbusEndpointFieldNumber = 1; |
| 2888 | const ::std::string& msgbus_endpoint() const; |
| 2889 | void set_msgbus_endpoint(const ::std::string& value); |
| 2890 | #if LANG_CXX11 |
| 2891 | void set_msgbus_endpoint(::std::string&& value); |
| 2892 | #endif |
| 2893 | void set_msgbus_endpoint(const char* value); |
| 2894 | void set_msgbus_endpoint(const char* value, size_t size); |
| 2895 | ::std::string* mutable_msgbus_endpoint(); |
| 2896 | ::std::string* release_msgbus_endpoint(); |
| 2897 | void set_allocated_msgbus_endpoint(::std::string* msgbus_endpoint); |
| 2898 | |
| 2899 | // @@protoc_insertion_point(class_scope:dmi.SetMsgBusEndpointRequest) |
| 2900 | private: |
| 2901 | class HasBitSetters; |
| 2902 | |
| 2903 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2904 | ::google::protobuf::internal::ArenaStringPtr msgbus_endpoint_; |
| 2905 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2906 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 2907 | }; |
| 2908 | // ------------------------------------------------------------------- |
| 2909 | |
| 2910 | class GetMsgBusEndpointResponse final : |
| 2911 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.GetMsgBusEndpointResponse) */ { |
| 2912 | public: |
| 2913 | GetMsgBusEndpointResponse(); |
| 2914 | virtual ~GetMsgBusEndpointResponse(); |
| 2915 | |
| 2916 | GetMsgBusEndpointResponse(const GetMsgBusEndpointResponse& from); |
| 2917 | |
| 2918 | inline GetMsgBusEndpointResponse& operator=(const GetMsgBusEndpointResponse& from) { |
| 2919 | CopyFrom(from); |
| 2920 | return *this; |
| 2921 | } |
| 2922 | #if LANG_CXX11 |
| 2923 | GetMsgBusEndpointResponse(GetMsgBusEndpointResponse&& from) noexcept |
| 2924 | : GetMsgBusEndpointResponse() { |
| 2925 | *this = ::std::move(from); |
| 2926 | } |
| 2927 | |
| 2928 | inline GetMsgBusEndpointResponse& operator=(GetMsgBusEndpointResponse&& from) noexcept { |
| 2929 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2930 | if (this != &from) InternalSwap(&from); |
| 2931 | } else { |
| 2932 | CopyFrom(from); |
| 2933 | } |
| 2934 | return *this; |
| 2935 | } |
| 2936 | #endif |
| 2937 | static const ::google::protobuf::Descriptor* descriptor() { |
| 2938 | return default_instance().GetDescriptor(); |
| 2939 | } |
| 2940 | static const GetMsgBusEndpointResponse& default_instance(); |
| 2941 | |
| 2942 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2943 | static inline const GetMsgBusEndpointResponse* internal_default_instance() { |
| 2944 | return reinterpret_cast<const GetMsgBusEndpointResponse*>( |
| 2945 | &_GetMsgBusEndpointResponse_default_instance_); |
| 2946 | } |
| 2947 | static constexpr int kIndexInFileMessages = |
| 2948 | 15; |
| 2949 | |
| 2950 | void Swap(GetMsgBusEndpointResponse* other); |
| 2951 | friend void swap(GetMsgBusEndpointResponse& a, GetMsgBusEndpointResponse& b) { |
| 2952 | a.Swap(&b); |
| 2953 | } |
| 2954 | |
| 2955 | // implements Message ---------------------------------------------- |
| 2956 | |
| 2957 | inline GetMsgBusEndpointResponse* New() const final { |
| 2958 | return CreateMaybeMessage<GetMsgBusEndpointResponse>(nullptr); |
| 2959 | } |
| 2960 | |
| 2961 | GetMsgBusEndpointResponse* New(::google::protobuf::Arena* arena) const final { |
| 2962 | return CreateMaybeMessage<GetMsgBusEndpointResponse>(arena); |
| 2963 | } |
| 2964 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2965 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2966 | void CopyFrom(const GetMsgBusEndpointResponse& from); |
| 2967 | void MergeFrom(const GetMsgBusEndpointResponse& from); |
| 2968 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2969 | bool IsInitialized() const final; |
| 2970 | |
| 2971 | size_t ByteSizeLong() const final; |
| 2972 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2973 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 2974 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 2975 | #else |
| 2976 | bool MergePartialFromCodedStream( |
| 2977 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2978 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2979 | void SerializeWithCachedSizes( |
| 2980 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2981 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2982 | ::google::protobuf::uint8* target) const final; |
| 2983 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2984 | |
| 2985 | private: |
| 2986 | void SharedCtor(); |
| 2987 | void SharedDtor(); |
| 2988 | void SetCachedSize(int size) const final; |
| 2989 | void InternalSwap(GetMsgBusEndpointResponse* other); |
| 2990 | private: |
| 2991 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2992 | return nullptr; |
| 2993 | } |
| 2994 | inline void* MaybeArenaPtr() const { |
| 2995 | return nullptr; |
| 2996 | } |
| 2997 | public: |
| 2998 | |
| 2999 | ::google::protobuf::Metadata GetMetadata() const final; |
| 3000 | |
| 3001 | // nested types ---------------------------------------------------- |
| 3002 | |
| 3003 | typedef GetMsgBusEndpointResponse_Reason Reason; |
| 3004 | static const Reason UNDEFINED_REASON = |
| 3005 | GetMsgBusEndpointResponse_Reason_UNDEFINED_REASON; |
| 3006 | static const Reason INTERNAL_ERROR = |
| 3007 | GetMsgBusEndpointResponse_Reason_INTERNAL_ERROR; |
| 3008 | static const Reason DEVICE_UNREACHABLE = |
| 3009 | GetMsgBusEndpointResponse_Reason_DEVICE_UNREACHABLE; |
| 3010 | static inline bool Reason_IsValid(int value) { |
| 3011 | return GetMsgBusEndpointResponse_Reason_IsValid(value); |
| 3012 | } |
| 3013 | static const Reason Reason_MIN = |
| 3014 | GetMsgBusEndpointResponse_Reason_Reason_MIN; |
| 3015 | static const Reason Reason_MAX = |
| 3016 | GetMsgBusEndpointResponse_Reason_Reason_MAX; |
| 3017 | static const int Reason_ARRAYSIZE = |
| 3018 | GetMsgBusEndpointResponse_Reason_Reason_ARRAYSIZE; |
| 3019 | static inline const ::google::protobuf::EnumDescriptor* |
| 3020 | Reason_descriptor() { |
| 3021 | return GetMsgBusEndpointResponse_Reason_descriptor(); |
| 3022 | } |
| 3023 | static inline const ::std::string& Reason_Name(Reason value) { |
| 3024 | return GetMsgBusEndpointResponse_Reason_Name(value); |
| 3025 | } |
| 3026 | static inline bool Reason_Parse(const ::std::string& name, |
| 3027 | Reason* value) { |
| 3028 | return GetMsgBusEndpointResponse_Reason_Parse(name, value); |
| 3029 | } |
| 3030 | |
| 3031 | // accessors ------------------------------------------------------- |
| 3032 | |
| 3033 | // string msgbus_endpoint = 3; |
| 3034 | void clear_msgbus_endpoint(); |
| 3035 | static const int kMsgbusEndpointFieldNumber = 3; |
| 3036 | const ::std::string& msgbus_endpoint() const; |
| 3037 | void set_msgbus_endpoint(const ::std::string& value); |
| 3038 | #if LANG_CXX11 |
| 3039 | void set_msgbus_endpoint(::std::string&& value); |
| 3040 | #endif |
| 3041 | void set_msgbus_endpoint(const char* value); |
| 3042 | void set_msgbus_endpoint(const char* value, size_t size); |
| 3043 | ::std::string* mutable_msgbus_endpoint(); |
| 3044 | ::std::string* release_msgbus_endpoint(); |
| 3045 | void set_allocated_msgbus_endpoint(::std::string* msgbus_endpoint); |
| 3046 | |
| 3047 | // string reason_detail = 4; |
| 3048 | void clear_reason_detail(); |
| 3049 | static const int kReasonDetailFieldNumber = 4; |
| 3050 | const ::std::string& reason_detail() const; |
| 3051 | void set_reason_detail(const ::std::string& value); |
| 3052 | #if LANG_CXX11 |
| 3053 | void set_reason_detail(::std::string&& value); |
| 3054 | #endif |
| 3055 | void set_reason_detail(const char* value); |
| 3056 | void set_reason_detail(const char* value, size_t size); |
| 3057 | ::std::string* mutable_reason_detail(); |
| 3058 | ::std::string* release_reason_detail(); |
| 3059 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 3060 | |
| 3061 | // .dmi.Status status = 1; |
| 3062 | void clear_status(); |
| 3063 | static const int kStatusFieldNumber = 1; |
| 3064 | ::dmi::Status status() const; |
| 3065 | void set_status(::dmi::Status value); |
| 3066 | |
| 3067 | // .dmi.GetMsgBusEndpointResponse.Reason reason = 2; |
| 3068 | void clear_reason(); |
| 3069 | static const int kReasonFieldNumber = 2; |
| 3070 | ::dmi::GetMsgBusEndpointResponse_Reason reason() const; |
| 3071 | void set_reason(::dmi::GetMsgBusEndpointResponse_Reason value); |
| 3072 | |
| 3073 | // @@protoc_insertion_point(class_scope:dmi.GetMsgBusEndpointResponse) |
| 3074 | private: |
| 3075 | class HasBitSetters; |
| 3076 | |
| 3077 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3078 | ::google::protobuf::internal::ArenaStringPtr msgbus_endpoint_; |
| 3079 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 3080 | int status_; |
| 3081 | int reason_; |
| 3082 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 3083 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 3084 | }; |
| 3085 | // ------------------------------------------------------------------- |
| 3086 | |
| 3087 | class EntitiesLogLevel final : |
| 3088 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.EntitiesLogLevel) */ { |
| 3089 | public: |
| 3090 | EntitiesLogLevel(); |
| 3091 | virtual ~EntitiesLogLevel(); |
| 3092 | |
| 3093 | EntitiesLogLevel(const EntitiesLogLevel& from); |
| 3094 | |
| 3095 | inline EntitiesLogLevel& operator=(const EntitiesLogLevel& from) { |
| 3096 | CopyFrom(from); |
| 3097 | return *this; |
| 3098 | } |
| 3099 | #if LANG_CXX11 |
| 3100 | EntitiesLogLevel(EntitiesLogLevel&& from) noexcept |
| 3101 | : EntitiesLogLevel() { |
| 3102 | *this = ::std::move(from); |
| 3103 | } |
| 3104 | |
| 3105 | inline EntitiesLogLevel& operator=(EntitiesLogLevel&& from) noexcept { |
| 3106 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 3107 | if (this != &from) InternalSwap(&from); |
| 3108 | } else { |
| 3109 | CopyFrom(from); |
| 3110 | } |
| 3111 | return *this; |
| 3112 | } |
| 3113 | #endif |
| 3114 | static const ::google::protobuf::Descriptor* descriptor() { |
| 3115 | return default_instance().GetDescriptor(); |
| 3116 | } |
| 3117 | static const EntitiesLogLevel& default_instance(); |
| 3118 | |
| 3119 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 3120 | static inline const EntitiesLogLevel* internal_default_instance() { |
| 3121 | return reinterpret_cast<const EntitiesLogLevel*>( |
| 3122 | &_EntitiesLogLevel_default_instance_); |
| 3123 | } |
| 3124 | static constexpr int kIndexInFileMessages = |
| 3125 | 16; |
| 3126 | |
| 3127 | void Swap(EntitiesLogLevel* other); |
| 3128 | friend void swap(EntitiesLogLevel& a, EntitiesLogLevel& b) { |
| 3129 | a.Swap(&b); |
| 3130 | } |
| 3131 | |
| 3132 | // implements Message ---------------------------------------------- |
| 3133 | |
| 3134 | inline EntitiesLogLevel* New() const final { |
| 3135 | return CreateMaybeMessage<EntitiesLogLevel>(nullptr); |
| 3136 | } |
| 3137 | |
| 3138 | EntitiesLogLevel* New(::google::protobuf::Arena* arena) const final { |
| 3139 | return CreateMaybeMessage<EntitiesLogLevel>(arena); |
| 3140 | } |
| 3141 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 3142 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 3143 | void CopyFrom(const EntitiesLogLevel& from); |
| 3144 | void MergeFrom(const EntitiesLogLevel& from); |
| 3145 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 3146 | bool IsInitialized() const final; |
| 3147 | |
| 3148 | size_t ByteSizeLong() const final; |
| 3149 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3150 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 3151 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 3152 | #else |
| 3153 | bool MergePartialFromCodedStream( |
| 3154 | ::google::protobuf::io::CodedInputStream* input) final; |
| 3155 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3156 | void SerializeWithCachedSizes( |
| 3157 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 3158 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 3159 | ::google::protobuf::uint8* target) const final; |
| 3160 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 3161 | |
| 3162 | private: |
| 3163 | void SharedCtor(); |
| 3164 | void SharedDtor(); |
| 3165 | void SetCachedSize(int size) const final; |
| 3166 | void InternalSwap(EntitiesLogLevel* other); |
| 3167 | private: |
| 3168 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 3169 | return nullptr; |
| 3170 | } |
| 3171 | inline void* MaybeArenaPtr() const { |
| 3172 | return nullptr; |
| 3173 | } |
| 3174 | public: |
| 3175 | |
| 3176 | ::google::protobuf::Metadata GetMetadata() const final; |
| 3177 | |
| 3178 | // nested types ---------------------------------------------------- |
| 3179 | |
| 3180 | // accessors ------------------------------------------------------- |
| 3181 | |
| 3182 | // repeated string entities = 2; |
| 3183 | int entities_size() const; |
| 3184 | void clear_entities(); |
| 3185 | static const int kEntitiesFieldNumber = 2; |
| 3186 | const ::std::string& entities(int index) const; |
| 3187 | ::std::string* mutable_entities(int index); |
| 3188 | void set_entities(int index, const ::std::string& value); |
| 3189 | #if LANG_CXX11 |
| 3190 | void set_entities(int index, ::std::string&& value); |
| 3191 | #endif |
| 3192 | void set_entities(int index, const char* value); |
| 3193 | void set_entities(int index, const char* value, size_t size); |
| 3194 | ::std::string* add_entities(); |
| 3195 | void add_entities(const ::std::string& value); |
| 3196 | #if LANG_CXX11 |
| 3197 | void add_entities(::std::string&& value); |
| 3198 | #endif |
| 3199 | void add_entities(const char* value); |
| 3200 | void add_entities(const char* value, size_t size); |
| 3201 | const ::google::protobuf::RepeatedPtrField<::std::string>& entities() const; |
| 3202 | ::google::protobuf::RepeatedPtrField<::std::string>* mutable_entities(); |
| 3203 | |
| 3204 | // .dmi.LogLevel logLevel = 1; |
| 3205 | void clear_loglevel(); |
| 3206 | static const int kLogLevelFieldNumber = 1; |
| 3207 | ::dmi::LogLevel loglevel() const; |
| 3208 | void set_loglevel(::dmi::LogLevel value); |
| 3209 | |
| 3210 | // @@protoc_insertion_point(class_scope:dmi.EntitiesLogLevel) |
| 3211 | private: |
| 3212 | class HasBitSetters; |
| 3213 | |
| 3214 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3215 | ::google::protobuf::RepeatedPtrField<::std::string> entities_; |
| 3216 | int loglevel_; |
| 3217 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 3218 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 3219 | }; |
| 3220 | // ------------------------------------------------------------------- |
| 3221 | |
| 3222 | class SetLogLevelRequest final : |
| 3223 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.SetLogLevelRequest) */ { |
| 3224 | public: |
| 3225 | SetLogLevelRequest(); |
| 3226 | virtual ~SetLogLevelRequest(); |
| 3227 | |
| 3228 | SetLogLevelRequest(const SetLogLevelRequest& from); |
| 3229 | |
| 3230 | inline SetLogLevelRequest& operator=(const SetLogLevelRequest& from) { |
| 3231 | CopyFrom(from); |
| 3232 | return *this; |
| 3233 | } |
| 3234 | #if LANG_CXX11 |
| 3235 | SetLogLevelRequest(SetLogLevelRequest&& from) noexcept |
| 3236 | : SetLogLevelRequest() { |
| 3237 | *this = ::std::move(from); |
| 3238 | } |
| 3239 | |
| 3240 | inline SetLogLevelRequest& operator=(SetLogLevelRequest&& from) noexcept { |
| 3241 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 3242 | if (this != &from) InternalSwap(&from); |
| 3243 | } else { |
| 3244 | CopyFrom(from); |
| 3245 | } |
| 3246 | return *this; |
| 3247 | } |
| 3248 | #endif |
| 3249 | static const ::google::protobuf::Descriptor* descriptor() { |
| 3250 | return default_instance().GetDescriptor(); |
| 3251 | } |
| 3252 | static const SetLogLevelRequest& default_instance(); |
| 3253 | |
| 3254 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 3255 | static inline const SetLogLevelRequest* internal_default_instance() { |
| 3256 | return reinterpret_cast<const SetLogLevelRequest*>( |
| 3257 | &_SetLogLevelRequest_default_instance_); |
| 3258 | } |
| 3259 | static constexpr int kIndexInFileMessages = |
| 3260 | 17; |
| 3261 | |
| 3262 | void Swap(SetLogLevelRequest* other); |
| 3263 | friend void swap(SetLogLevelRequest& a, SetLogLevelRequest& b) { |
| 3264 | a.Swap(&b); |
| 3265 | } |
| 3266 | |
| 3267 | // implements Message ---------------------------------------------- |
| 3268 | |
| 3269 | inline SetLogLevelRequest* New() const final { |
| 3270 | return CreateMaybeMessage<SetLogLevelRequest>(nullptr); |
| 3271 | } |
| 3272 | |
| 3273 | SetLogLevelRequest* New(::google::protobuf::Arena* arena) const final { |
| 3274 | return CreateMaybeMessage<SetLogLevelRequest>(arena); |
| 3275 | } |
| 3276 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 3277 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 3278 | void CopyFrom(const SetLogLevelRequest& from); |
| 3279 | void MergeFrom(const SetLogLevelRequest& from); |
| 3280 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 3281 | bool IsInitialized() const final; |
| 3282 | |
| 3283 | size_t ByteSizeLong() const final; |
| 3284 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3285 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 3286 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 3287 | #else |
| 3288 | bool MergePartialFromCodedStream( |
| 3289 | ::google::protobuf::io::CodedInputStream* input) final; |
| 3290 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3291 | void SerializeWithCachedSizes( |
| 3292 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 3293 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 3294 | ::google::protobuf::uint8* target) const final; |
| 3295 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 3296 | |
| 3297 | private: |
| 3298 | void SharedCtor(); |
| 3299 | void SharedDtor(); |
| 3300 | void SetCachedSize(int size) const final; |
| 3301 | void InternalSwap(SetLogLevelRequest* other); |
| 3302 | private: |
| 3303 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 3304 | return nullptr; |
| 3305 | } |
| 3306 | inline void* MaybeArenaPtr() const { |
| 3307 | return nullptr; |
| 3308 | } |
| 3309 | public: |
| 3310 | |
| 3311 | ::google::protobuf::Metadata GetMetadata() const final; |
| 3312 | |
| 3313 | // nested types ---------------------------------------------------- |
| 3314 | |
| 3315 | // accessors ------------------------------------------------------- |
| 3316 | |
| 3317 | // repeated .dmi.EntitiesLogLevel loglevels = 2; |
| 3318 | int loglevels_size() const; |
| 3319 | void clear_loglevels(); |
| 3320 | static const int kLoglevelsFieldNumber = 2; |
| 3321 | ::dmi::EntitiesLogLevel* mutable_loglevels(int index); |
| 3322 | ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel >* |
| 3323 | mutable_loglevels(); |
| 3324 | const ::dmi::EntitiesLogLevel& loglevels(int index) const; |
| 3325 | ::dmi::EntitiesLogLevel* add_loglevels(); |
| 3326 | const ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel >& |
| 3327 | loglevels() const; |
| 3328 | |
| 3329 | // .dmi.Uuid device_uuid = 1; |
| 3330 | bool has_device_uuid() const; |
| 3331 | void clear_device_uuid(); |
| 3332 | static const int kDeviceUuidFieldNumber = 1; |
| 3333 | const ::dmi::Uuid& device_uuid() const; |
| 3334 | ::dmi::Uuid* release_device_uuid(); |
| 3335 | ::dmi::Uuid* mutable_device_uuid(); |
| 3336 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 3337 | |
| 3338 | // @@protoc_insertion_point(class_scope:dmi.SetLogLevelRequest) |
| 3339 | private: |
| 3340 | class HasBitSetters; |
| 3341 | |
| 3342 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3343 | ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel > loglevels_; |
| 3344 | ::dmi::Uuid* device_uuid_; |
| 3345 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 3346 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 3347 | }; |
| 3348 | // ------------------------------------------------------------------- |
| 3349 | |
| 3350 | class SetLogLevelResponse final : |
| 3351 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.SetLogLevelResponse) */ { |
| 3352 | public: |
| 3353 | SetLogLevelResponse(); |
| 3354 | virtual ~SetLogLevelResponse(); |
| 3355 | |
| 3356 | SetLogLevelResponse(const SetLogLevelResponse& from); |
| 3357 | |
| 3358 | inline SetLogLevelResponse& operator=(const SetLogLevelResponse& from) { |
| 3359 | CopyFrom(from); |
| 3360 | return *this; |
| 3361 | } |
| 3362 | #if LANG_CXX11 |
| 3363 | SetLogLevelResponse(SetLogLevelResponse&& from) noexcept |
| 3364 | : SetLogLevelResponse() { |
| 3365 | *this = ::std::move(from); |
| 3366 | } |
| 3367 | |
| 3368 | inline SetLogLevelResponse& operator=(SetLogLevelResponse&& from) noexcept { |
| 3369 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 3370 | if (this != &from) InternalSwap(&from); |
| 3371 | } else { |
| 3372 | CopyFrom(from); |
| 3373 | } |
| 3374 | return *this; |
| 3375 | } |
| 3376 | #endif |
| 3377 | static const ::google::protobuf::Descriptor* descriptor() { |
| 3378 | return default_instance().GetDescriptor(); |
| 3379 | } |
| 3380 | static const SetLogLevelResponse& default_instance(); |
| 3381 | |
| 3382 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 3383 | static inline const SetLogLevelResponse* internal_default_instance() { |
| 3384 | return reinterpret_cast<const SetLogLevelResponse*>( |
| 3385 | &_SetLogLevelResponse_default_instance_); |
| 3386 | } |
| 3387 | static constexpr int kIndexInFileMessages = |
| 3388 | 18; |
| 3389 | |
| 3390 | void Swap(SetLogLevelResponse* other); |
| 3391 | friend void swap(SetLogLevelResponse& a, SetLogLevelResponse& b) { |
| 3392 | a.Swap(&b); |
| 3393 | } |
| 3394 | |
| 3395 | // implements Message ---------------------------------------------- |
| 3396 | |
| 3397 | inline SetLogLevelResponse* New() const final { |
| 3398 | return CreateMaybeMessage<SetLogLevelResponse>(nullptr); |
| 3399 | } |
| 3400 | |
| 3401 | SetLogLevelResponse* New(::google::protobuf::Arena* arena) const final { |
| 3402 | return CreateMaybeMessage<SetLogLevelResponse>(arena); |
| 3403 | } |
| 3404 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 3405 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 3406 | void CopyFrom(const SetLogLevelResponse& from); |
| 3407 | void MergeFrom(const SetLogLevelResponse& from); |
| 3408 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 3409 | bool IsInitialized() const final; |
| 3410 | |
| 3411 | size_t ByteSizeLong() const final; |
| 3412 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3413 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 3414 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 3415 | #else |
| 3416 | bool MergePartialFromCodedStream( |
| 3417 | ::google::protobuf::io::CodedInputStream* input) final; |
| 3418 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3419 | void SerializeWithCachedSizes( |
| 3420 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 3421 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 3422 | ::google::protobuf::uint8* target) const final; |
| 3423 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 3424 | |
| 3425 | private: |
| 3426 | void SharedCtor(); |
| 3427 | void SharedDtor(); |
| 3428 | void SetCachedSize(int size) const final; |
| 3429 | void InternalSwap(SetLogLevelResponse* other); |
| 3430 | private: |
| 3431 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 3432 | return nullptr; |
| 3433 | } |
| 3434 | inline void* MaybeArenaPtr() const { |
| 3435 | return nullptr; |
| 3436 | } |
| 3437 | public: |
| 3438 | |
| 3439 | ::google::protobuf::Metadata GetMetadata() const final; |
| 3440 | |
| 3441 | // nested types ---------------------------------------------------- |
| 3442 | |
| 3443 | typedef SetLogLevelResponse_Reason Reason; |
| 3444 | static const Reason UNDEFINED_REASON = |
| 3445 | SetLogLevelResponse_Reason_UNDEFINED_REASON; |
| 3446 | static const Reason UNKNOWN_DEVICE = |
| 3447 | SetLogLevelResponse_Reason_UNKNOWN_DEVICE; |
| 3448 | static const Reason INTERNAL_ERROR = |
| 3449 | SetLogLevelResponse_Reason_INTERNAL_ERROR; |
| 3450 | static const Reason UNKNOWN_LOG_ENTITY = |
| 3451 | SetLogLevelResponse_Reason_UNKNOWN_LOG_ENTITY; |
| 3452 | static const Reason DEVICE_UNREACHABLE = |
| 3453 | SetLogLevelResponse_Reason_DEVICE_UNREACHABLE; |
| 3454 | static inline bool Reason_IsValid(int value) { |
| 3455 | return SetLogLevelResponse_Reason_IsValid(value); |
| 3456 | } |
| 3457 | static const Reason Reason_MIN = |
| 3458 | SetLogLevelResponse_Reason_Reason_MIN; |
| 3459 | static const Reason Reason_MAX = |
| 3460 | SetLogLevelResponse_Reason_Reason_MAX; |
| 3461 | static const int Reason_ARRAYSIZE = |
| 3462 | SetLogLevelResponse_Reason_Reason_ARRAYSIZE; |
| 3463 | static inline const ::google::protobuf::EnumDescriptor* |
| 3464 | Reason_descriptor() { |
| 3465 | return SetLogLevelResponse_Reason_descriptor(); |
| 3466 | } |
| 3467 | static inline const ::std::string& Reason_Name(Reason value) { |
| 3468 | return SetLogLevelResponse_Reason_Name(value); |
| 3469 | } |
| 3470 | static inline bool Reason_Parse(const ::std::string& name, |
| 3471 | Reason* value) { |
| 3472 | return SetLogLevelResponse_Reason_Parse(name, value); |
| 3473 | } |
| 3474 | |
| 3475 | // accessors ------------------------------------------------------- |
| 3476 | |
| 3477 | // string reason_detail = 4; |
| 3478 | void clear_reason_detail(); |
| 3479 | static const int kReasonDetailFieldNumber = 4; |
| 3480 | const ::std::string& reason_detail() const; |
| 3481 | void set_reason_detail(const ::std::string& value); |
| 3482 | #if LANG_CXX11 |
| 3483 | void set_reason_detail(::std::string&& value); |
| 3484 | #endif |
| 3485 | void set_reason_detail(const char* value); |
| 3486 | void set_reason_detail(const char* value, size_t size); |
| 3487 | ::std::string* mutable_reason_detail(); |
| 3488 | ::std::string* release_reason_detail(); |
| 3489 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 3490 | |
| 3491 | // .dmi.Uuid device_uuid = 1; |
| 3492 | bool has_device_uuid() const; |
| 3493 | void clear_device_uuid(); |
| 3494 | static const int kDeviceUuidFieldNumber = 1; |
| 3495 | const ::dmi::Uuid& device_uuid() const; |
| 3496 | ::dmi::Uuid* release_device_uuid(); |
| 3497 | ::dmi::Uuid* mutable_device_uuid(); |
| 3498 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 3499 | |
| 3500 | // .dmi.Status status = 2; |
| 3501 | void clear_status(); |
| 3502 | static const int kStatusFieldNumber = 2; |
| 3503 | ::dmi::Status status() const; |
| 3504 | void set_status(::dmi::Status value); |
| 3505 | |
| 3506 | // .dmi.SetLogLevelResponse.Reason reason = 3; |
| 3507 | void clear_reason(); |
| 3508 | static const int kReasonFieldNumber = 3; |
| 3509 | ::dmi::SetLogLevelResponse_Reason reason() const; |
| 3510 | void set_reason(::dmi::SetLogLevelResponse_Reason value); |
| 3511 | |
| 3512 | // @@protoc_insertion_point(class_scope:dmi.SetLogLevelResponse) |
| 3513 | private: |
| 3514 | class HasBitSetters; |
| 3515 | |
| 3516 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3517 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 3518 | ::dmi::Uuid* device_uuid_; |
| 3519 | int status_; |
| 3520 | int reason_; |
| 3521 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 3522 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 3523 | }; |
| 3524 | // ------------------------------------------------------------------- |
| 3525 | |
| 3526 | class GetLogLevelRequest final : |
| 3527 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.GetLogLevelRequest) */ { |
| 3528 | public: |
| 3529 | GetLogLevelRequest(); |
| 3530 | virtual ~GetLogLevelRequest(); |
| 3531 | |
| 3532 | GetLogLevelRequest(const GetLogLevelRequest& from); |
| 3533 | |
| 3534 | inline GetLogLevelRequest& operator=(const GetLogLevelRequest& from) { |
| 3535 | CopyFrom(from); |
| 3536 | return *this; |
| 3537 | } |
| 3538 | #if LANG_CXX11 |
| 3539 | GetLogLevelRequest(GetLogLevelRequest&& from) noexcept |
| 3540 | : GetLogLevelRequest() { |
| 3541 | *this = ::std::move(from); |
| 3542 | } |
| 3543 | |
| 3544 | inline GetLogLevelRequest& operator=(GetLogLevelRequest&& from) noexcept { |
| 3545 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 3546 | if (this != &from) InternalSwap(&from); |
| 3547 | } else { |
| 3548 | CopyFrom(from); |
| 3549 | } |
| 3550 | return *this; |
| 3551 | } |
| 3552 | #endif |
| 3553 | static const ::google::protobuf::Descriptor* descriptor() { |
| 3554 | return default_instance().GetDescriptor(); |
| 3555 | } |
| 3556 | static const GetLogLevelRequest& default_instance(); |
| 3557 | |
| 3558 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 3559 | static inline const GetLogLevelRequest* internal_default_instance() { |
| 3560 | return reinterpret_cast<const GetLogLevelRequest*>( |
| 3561 | &_GetLogLevelRequest_default_instance_); |
| 3562 | } |
| 3563 | static constexpr int kIndexInFileMessages = |
| 3564 | 19; |
| 3565 | |
| 3566 | void Swap(GetLogLevelRequest* other); |
| 3567 | friend void swap(GetLogLevelRequest& a, GetLogLevelRequest& b) { |
| 3568 | a.Swap(&b); |
| 3569 | } |
| 3570 | |
| 3571 | // implements Message ---------------------------------------------- |
| 3572 | |
| 3573 | inline GetLogLevelRequest* New() const final { |
| 3574 | return CreateMaybeMessage<GetLogLevelRequest>(nullptr); |
| 3575 | } |
| 3576 | |
| 3577 | GetLogLevelRequest* New(::google::protobuf::Arena* arena) const final { |
| 3578 | return CreateMaybeMessage<GetLogLevelRequest>(arena); |
| 3579 | } |
| 3580 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 3581 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 3582 | void CopyFrom(const GetLogLevelRequest& from); |
| 3583 | void MergeFrom(const GetLogLevelRequest& from); |
| 3584 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 3585 | bool IsInitialized() const final; |
| 3586 | |
| 3587 | size_t ByteSizeLong() const final; |
| 3588 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3589 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 3590 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 3591 | #else |
| 3592 | bool MergePartialFromCodedStream( |
| 3593 | ::google::protobuf::io::CodedInputStream* input) final; |
| 3594 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3595 | void SerializeWithCachedSizes( |
| 3596 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 3597 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 3598 | ::google::protobuf::uint8* target) const final; |
| 3599 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 3600 | |
| 3601 | private: |
| 3602 | void SharedCtor(); |
| 3603 | void SharedDtor(); |
| 3604 | void SetCachedSize(int size) const final; |
| 3605 | void InternalSwap(GetLogLevelRequest* other); |
| 3606 | private: |
| 3607 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 3608 | return nullptr; |
| 3609 | } |
| 3610 | inline void* MaybeArenaPtr() const { |
| 3611 | return nullptr; |
| 3612 | } |
| 3613 | public: |
| 3614 | |
| 3615 | ::google::protobuf::Metadata GetMetadata() const final; |
| 3616 | |
| 3617 | // nested types ---------------------------------------------------- |
| 3618 | |
| 3619 | // accessors ------------------------------------------------------- |
| 3620 | |
| 3621 | // repeated string entities = 2; |
| 3622 | int entities_size() const; |
| 3623 | void clear_entities(); |
| 3624 | static const int kEntitiesFieldNumber = 2; |
| 3625 | const ::std::string& entities(int index) const; |
| 3626 | ::std::string* mutable_entities(int index); |
| 3627 | void set_entities(int index, const ::std::string& value); |
| 3628 | #if LANG_CXX11 |
| 3629 | void set_entities(int index, ::std::string&& value); |
| 3630 | #endif |
| 3631 | void set_entities(int index, const char* value); |
| 3632 | void set_entities(int index, const char* value, size_t size); |
| 3633 | ::std::string* add_entities(); |
| 3634 | void add_entities(const ::std::string& value); |
| 3635 | #if LANG_CXX11 |
| 3636 | void add_entities(::std::string&& value); |
| 3637 | #endif |
| 3638 | void add_entities(const char* value); |
| 3639 | void add_entities(const char* value, size_t size); |
| 3640 | const ::google::protobuf::RepeatedPtrField<::std::string>& entities() const; |
| 3641 | ::google::protobuf::RepeatedPtrField<::std::string>* mutable_entities(); |
| 3642 | |
| 3643 | // .dmi.Uuid device_uuid = 1; |
| 3644 | bool has_device_uuid() const; |
| 3645 | void clear_device_uuid(); |
| 3646 | static const int kDeviceUuidFieldNumber = 1; |
| 3647 | const ::dmi::Uuid& device_uuid() const; |
| 3648 | ::dmi::Uuid* release_device_uuid(); |
| 3649 | ::dmi::Uuid* mutable_device_uuid(); |
| 3650 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 3651 | |
| 3652 | // @@protoc_insertion_point(class_scope:dmi.GetLogLevelRequest) |
| 3653 | private: |
| 3654 | class HasBitSetters; |
| 3655 | |
| 3656 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3657 | ::google::protobuf::RepeatedPtrField<::std::string> entities_; |
| 3658 | ::dmi::Uuid* device_uuid_; |
| 3659 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 3660 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 3661 | }; |
| 3662 | // ------------------------------------------------------------------- |
| 3663 | |
| 3664 | class GetLogLevelResponse final : |
| 3665 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.GetLogLevelResponse) */ { |
| 3666 | public: |
| 3667 | GetLogLevelResponse(); |
| 3668 | virtual ~GetLogLevelResponse(); |
| 3669 | |
| 3670 | GetLogLevelResponse(const GetLogLevelResponse& from); |
| 3671 | |
| 3672 | inline GetLogLevelResponse& operator=(const GetLogLevelResponse& from) { |
| 3673 | CopyFrom(from); |
| 3674 | return *this; |
| 3675 | } |
| 3676 | #if LANG_CXX11 |
| 3677 | GetLogLevelResponse(GetLogLevelResponse&& from) noexcept |
| 3678 | : GetLogLevelResponse() { |
| 3679 | *this = ::std::move(from); |
| 3680 | } |
| 3681 | |
| 3682 | inline GetLogLevelResponse& operator=(GetLogLevelResponse&& from) noexcept { |
| 3683 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 3684 | if (this != &from) InternalSwap(&from); |
| 3685 | } else { |
| 3686 | CopyFrom(from); |
| 3687 | } |
| 3688 | return *this; |
| 3689 | } |
| 3690 | #endif |
| 3691 | static const ::google::protobuf::Descriptor* descriptor() { |
| 3692 | return default_instance().GetDescriptor(); |
| 3693 | } |
| 3694 | static const GetLogLevelResponse& default_instance(); |
| 3695 | |
| 3696 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 3697 | static inline const GetLogLevelResponse* internal_default_instance() { |
| 3698 | return reinterpret_cast<const GetLogLevelResponse*>( |
| 3699 | &_GetLogLevelResponse_default_instance_); |
| 3700 | } |
| 3701 | static constexpr int kIndexInFileMessages = |
| 3702 | 20; |
| 3703 | |
| 3704 | void Swap(GetLogLevelResponse* other); |
| 3705 | friend void swap(GetLogLevelResponse& a, GetLogLevelResponse& b) { |
| 3706 | a.Swap(&b); |
| 3707 | } |
| 3708 | |
| 3709 | // implements Message ---------------------------------------------- |
| 3710 | |
| 3711 | inline GetLogLevelResponse* New() const final { |
| 3712 | return CreateMaybeMessage<GetLogLevelResponse>(nullptr); |
| 3713 | } |
| 3714 | |
| 3715 | GetLogLevelResponse* New(::google::protobuf::Arena* arena) const final { |
| 3716 | return CreateMaybeMessage<GetLogLevelResponse>(arena); |
| 3717 | } |
| 3718 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 3719 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 3720 | void CopyFrom(const GetLogLevelResponse& from); |
| 3721 | void MergeFrom(const GetLogLevelResponse& from); |
| 3722 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 3723 | bool IsInitialized() const final; |
| 3724 | |
| 3725 | size_t ByteSizeLong() const final; |
| 3726 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3727 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 3728 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 3729 | #else |
| 3730 | bool MergePartialFromCodedStream( |
| 3731 | ::google::protobuf::io::CodedInputStream* input) final; |
| 3732 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3733 | void SerializeWithCachedSizes( |
| 3734 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 3735 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 3736 | ::google::protobuf::uint8* target) const final; |
| 3737 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 3738 | |
| 3739 | private: |
| 3740 | void SharedCtor(); |
| 3741 | void SharedDtor(); |
| 3742 | void SetCachedSize(int size) const final; |
| 3743 | void InternalSwap(GetLogLevelResponse* other); |
| 3744 | private: |
| 3745 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 3746 | return nullptr; |
| 3747 | } |
| 3748 | inline void* MaybeArenaPtr() const { |
| 3749 | return nullptr; |
| 3750 | } |
| 3751 | public: |
| 3752 | |
| 3753 | ::google::protobuf::Metadata GetMetadata() const final; |
| 3754 | |
| 3755 | // nested types ---------------------------------------------------- |
| 3756 | |
| 3757 | typedef GetLogLevelResponse_Reason Reason; |
| 3758 | static const Reason UNDEFINED_REASON = |
| 3759 | GetLogLevelResponse_Reason_UNDEFINED_REASON; |
| 3760 | static const Reason UNKNOWN_DEVICE = |
| 3761 | GetLogLevelResponse_Reason_UNKNOWN_DEVICE; |
| 3762 | static const Reason INTERNAL_ERROR = |
| 3763 | GetLogLevelResponse_Reason_INTERNAL_ERROR; |
| 3764 | static const Reason UNKNOWN_LOG_ENTITY = |
| 3765 | GetLogLevelResponse_Reason_UNKNOWN_LOG_ENTITY; |
| 3766 | static const Reason DEVICE_UNREACHABLE = |
| 3767 | GetLogLevelResponse_Reason_DEVICE_UNREACHABLE; |
| 3768 | static inline bool Reason_IsValid(int value) { |
| 3769 | return GetLogLevelResponse_Reason_IsValid(value); |
| 3770 | } |
| 3771 | static const Reason Reason_MIN = |
| 3772 | GetLogLevelResponse_Reason_Reason_MIN; |
| 3773 | static const Reason Reason_MAX = |
| 3774 | GetLogLevelResponse_Reason_Reason_MAX; |
| 3775 | static const int Reason_ARRAYSIZE = |
| 3776 | GetLogLevelResponse_Reason_Reason_ARRAYSIZE; |
| 3777 | static inline const ::google::protobuf::EnumDescriptor* |
| 3778 | Reason_descriptor() { |
| 3779 | return GetLogLevelResponse_Reason_descriptor(); |
| 3780 | } |
| 3781 | static inline const ::std::string& Reason_Name(Reason value) { |
| 3782 | return GetLogLevelResponse_Reason_Name(value); |
| 3783 | } |
| 3784 | static inline bool Reason_Parse(const ::std::string& name, |
| 3785 | Reason* value) { |
| 3786 | return GetLogLevelResponse_Reason_Parse(name, value); |
| 3787 | } |
| 3788 | |
| 3789 | // accessors ------------------------------------------------------- |
| 3790 | |
| 3791 | // repeated .dmi.EntitiesLogLevel logLevels = 2; |
| 3792 | int loglevels_size() const; |
| 3793 | void clear_loglevels(); |
| 3794 | static const int kLogLevelsFieldNumber = 2; |
| 3795 | ::dmi::EntitiesLogLevel* mutable_loglevels(int index); |
| 3796 | ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel >* |
| 3797 | mutable_loglevels(); |
| 3798 | const ::dmi::EntitiesLogLevel& loglevels(int index) const; |
| 3799 | ::dmi::EntitiesLogLevel* add_loglevels(); |
| 3800 | const ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel >& |
| 3801 | loglevels() const; |
| 3802 | |
| 3803 | // string reason_detail = 5; |
| 3804 | void clear_reason_detail(); |
| 3805 | static const int kReasonDetailFieldNumber = 5; |
| 3806 | const ::std::string& reason_detail() const; |
| 3807 | void set_reason_detail(const ::std::string& value); |
| 3808 | #if LANG_CXX11 |
| 3809 | void set_reason_detail(::std::string&& value); |
| 3810 | #endif |
| 3811 | void set_reason_detail(const char* value); |
| 3812 | void set_reason_detail(const char* value, size_t size); |
| 3813 | ::std::string* mutable_reason_detail(); |
| 3814 | ::std::string* release_reason_detail(); |
| 3815 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 3816 | |
| 3817 | // .dmi.Uuid device_uuid = 1; |
| 3818 | bool has_device_uuid() const; |
| 3819 | void clear_device_uuid(); |
| 3820 | static const int kDeviceUuidFieldNumber = 1; |
| 3821 | const ::dmi::Uuid& device_uuid() const; |
| 3822 | ::dmi::Uuid* release_device_uuid(); |
| 3823 | ::dmi::Uuid* mutable_device_uuid(); |
| 3824 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 3825 | |
| 3826 | // .dmi.Status status = 3; |
| 3827 | void clear_status(); |
| 3828 | static const int kStatusFieldNumber = 3; |
| 3829 | ::dmi::Status status() const; |
| 3830 | void set_status(::dmi::Status value); |
| 3831 | |
| 3832 | // .dmi.GetLogLevelResponse.Reason reason = 4; |
| 3833 | void clear_reason(); |
| 3834 | static const int kReasonFieldNumber = 4; |
| 3835 | ::dmi::GetLogLevelResponse_Reason reason() const; |
| 3836 | void set_reason(::dmi::GetLogLevelResponse_Reason value); |
| 3837 | |
| 3838 | // @@protoc_insertion_point(class_scope:dmi.GetLogLevelResponse) |
| 3839 | private: |
| 3840 | class HasBitSetters; |
| 3841 | |
| 3842 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3843 | ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel > loglevels_; |
| 3844 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 3845 | ::dmi::Uuid* device_uuid_; |
| 3846 | int status_; |
| 3847 | int reason_; |
| 3848 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 3849 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 3850 | }; |
| 3851 | // ------------------------------------------------------------------- |
| 3852 | |
| 3853 | class GetLoggableEntitiesRequest final : |
| 3854 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.GetLoggableEntitiesRequest) */ { |
| 3855 | public: |
| 3856 | GetLoggableEntitiesRequest(); |
| 3857 | virtual ~GetLoggableEntitiesRequest(); |
| 3858 | |
| 3859 | GetLoggableEntitiesRequest(const GetLoggableEntitiesRequest& from); |
| 3860 | |
| 3861 | inline GetLoggableEntitiesRequest& operator=(const GetLoggableEntitiesRequest& from) { |
| 3862 | CopyFrom(from); |
| 3863 | return *this; |
| 3864 | } |
| 3865 | #if LANG_CXX11 |
| 3866 | GetLoggableEntitiesRequest(GetLoggableEntitiesRequest&& from) noexcept |
| 3867 | : GetLoggableEntitiesRequest() { |
| 3868 | *this = ::std::move(from); |
| 3869 | } |
| 3870 | |
| 3871 | inline GetLoggableEntitiesRequest& operator=(GetLoggableEntitiesRequest&& from) noexcept { |
| 3872 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 3873 | if (this != &from) InternalSwap(&from); |
| 3874 | } else { |
| 3875 | CopyFrom(from); |
| 3876 | } |
| 3877 | return *this; |
| 3878 | } |
| 3879 | #endif |
| 3880 | static const ::google::protobuf::Descriptor* descriptor() { |
| 3881 | return default_instance().GetDescriptor(); |
| 3882 | } |
| 3883 | static const GetLoggableEntitiesRequest& default_instance(); |
| 3884 | |
| 3885 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 3886 | static inline const GetLoggableEntitiesRequest* internal_default_instance() { |
| 3887 | return reinterpret_cast<const GetLoggableEntitiesRequest*>( |
| 3888 | &_GetLoggableEntitiesRequest_default_instance_); |
| 3889 | } |
| 3890 | static constexpr int kIndexInFileMessages = |
| 3891 | 21; |
| 3892 | |
| 3893 | void Swap(GetLoggableEntitiesRequest* other); |
| 3894 | friend void swap(GetLoggableEntitiesRequest& a, GetLoggableEntitiesRequest& b) { |
| 3895 | a.Swap(&b); |
| 3896 | } |
| 3897 | |
| 3898 | // implements Message ---------------------------------------------- |
| 3899 | |
| 3900 | inline GetLoggableEntitiesRequest* New() const final { |
| 3901 | return CreateMaybeMessage<GetLoggableEntitiesRequest>(nullptr); |
| 3902 | } |
| 3903 | |
| 3904 | GetLoggableEntitiesRequest* New(::google::protobuf::Arena* arena) const final { |
| 3905 | return CreateMaybeMessage<GetLoggableEntitiesRequest>(arena); |
| 3906 | } |
| 3907 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 3908 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 3909 | void CopyFrom(const GetLoggableEntitiesRequest& from); |
| 3910 | void MergeFrom(const GetLoggableEntitiesRequest& from); |
| 3911 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 3912 | bool IsInitialized() const final; |
| 3913 | |
| 3914 | size_t ByteSizeLong() const final; |
| 3915 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3916 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 3917 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 3918 | #else |
| 3919 | bool MergePartialFromCodedStream( |
| 3920 | ::google::protobuf::io::CodedInputStream* input) final; |
| 3921 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3922 | void SerializeWithCachedSizes( |
| 3923 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 3924 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 3925 | ::google::protobuf::uint8* target) const final; |
| 3926 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 3927 | |
| 3928 | private: |
| 3929 | void SharedCtor(); |
| 3930 | void SharedDtor(); |
| 3931 | void SetCachedSize(int size) const final; |
| 3932 | void InternalSwap(GetLoggableEntitiesRequest* other); |
| 3933 | private: |
| 3934 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 3935 | return nullptr; |
| 3936 | } |
| 3937 | inline void* MaybeArenaPtr() const { |
| 3938 | return nullptr; |
| 3939 | } |
| 3940 | public: |
| 3941 | |
| 3942 | ::google::protobuf::Metadata GetMetadata() const final; |
| 3943 | |
| 3944 | // nested types ---------------------------------------------------- |
| 3945 | |
| 3946 | // accessors ------------------------------------------------------- |
| 3947 | |
| 3948 | // .dmi.Uuid device_uuid = 1; |
| 3949 | bool has_device_uuid() const; |
| 3950 | void clear_device_uuid(); |
| 3951 | static const int kDeviceUuidFieldNumber = 1; |
| 3952 | const ::dmi::Uuid& device_uuid() const; |
| 3953 | ::dmi::Uuid* release_device_uuid(); |
| 3954 | ::dmi::Uuid* mutable_device_uuid(); |
| 3955 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 3956 | |
| 3957 | // @@protoc_insertion_point(class_scope:dmi.GetLoggableEntitiesRequest) |
| 3958 | private: |
| 3959 | class HasBitSetters; |
| 3960 | |
| 3961 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3962 | ::dmi::Uuid* device_uuid_; |
| 3963 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 3964 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 3965 | }; |
Chandrakanth Nalkudre Gowda | 415b83c | 2021-04-28 18:01:29 +0530 | [diff] [blame] | 3966 | // ------------------------------------------------------------------- |
| 3967 | |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 3968 | class SetDmLogLevelRequest final : |
| 3969 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.SetDmLogLevelRequest) */ { |
| 3970 | public: |
| 3971 | SetDmLogLevelRequest(); |
| 3972 | virtual ~SetDmLogLevelRequest(); |
| 3973 | |
| 3974 | SetDmLogLevelRequest(const SetDmLogLevelRequest& from); |
| 3975 | |
| 3976 | inline SetDmLogLevelRequest& operator=(const SetDmLogLevelRequest& from) { |
| 3977 | CopyFrom(from); |
| 3978 | return *this; |
| 3979 | } |
| 3980 | #if LANG_CXX11 |
| 3981 | SetDmLogLevelRequest(SetDmLogLevelRequest&& from) noexcept |
| 3982 | : SetDmLogLevelRequest() { |
| 3983 | *this = ::std::move(from); |
| 3984 | } |
| 3985 | |
| 3986 | inline SetDmLogLevelRequest& operator=(SetDmLogLevelRequest&& from) noexcept { |
| 3987 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 3988 | if (this != &from) InternalSwap(&from); |
| 3989 | } else { |
| 3990 | CopyFrom(from); |
| 3991 | } |
| 3992 | return *this; |
| 3993 | } |
| 3994 | #endif |
| 3995 | static const ::google::protobuf::Descriptor* descriptor() { |
| 3996 | return default_instance().GetDescriptor(); |
| 3997 | } |
| 3998 | static const SetDmLogLevelRequest& default_instance(); |
| 3999 | |
| 4000 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 4001 | static inline const SetDmLogLevelRequest* internal_default_instance() { |
| 4002 | return reinterpret_cast<const SetDmLogLevelRequest*>( |
| 4003 | &_SetDmLogLevelRequest_default_instance_); |
| 4004 | } |
| 4005 | static constexpr int kIndexInFileMessages = |
| 4006 | 22; |
| 4007 | |
| 4008 | void Swap(SetDmLogLevelRequest* other); |
| 4009 | friend void swap(SetDmLogLevelRequest& a, SetDmLogLevelRequest& b) { |
| 4010 | a.Swap(&b); |
| 4011 | } |
| 4012 | |
| 4013 | // implements Message ---------------------------------------------- |
| 4014 | |
| 4015 | inline SetDmLogLevelRequest* New() const final { |
| 4016 | return CreateMaybeMessage<SetDmLogLevelRequest>(nullptr); |
| 4017 | } |
| 4018 | |
| 4019 | SetDmLogLevelRequest* New(::google::protobuf::Arena* arena) const final { |
| 4020 | return CreateMaybeMessage<SetDmLogLevelRequest>(arena); |
| 4021 | } |
| 4022 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 4023 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 4024 | void CopyFrom(const SetDmLogLevelRequest& from); |
| 4025 | void MergeFrom(const SetDmLogLevelRequest& from); |
| 4026 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 4027 | bool IsInitialized() const final; |
| 4028 | |
| 4029 | size_t ByteSizeLong() const final; |
| 4030 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 4031 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 4032 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 4033 | #else |
| 4034 | bool MergePartialFromCodedStream( |
| 4035 | ::google::protobuf::io::CodedInputStream* input) final; |
| 4036 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 4037 | void SerializeWithCachedSizes( |
| 4038 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 4039 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 4040 | ::google::protobuf::uint8* target) const final; |
| 4041 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 4042 | |
| 4043 | private: |
| 4044 | void SharedCtor(); |
| 4045 | void SharedDtor(); |
| 4046 | void SetCachedSize(int size) const final; |
| 4047 | void InternalSwap(SetDmLogLevelRequest* other); |
| 4048 | private: |
| 4049 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 4050 | return nullptr; |
| 4051 | } |
| 4052 | inline void* MaybeArenaPtr() const { |
| 4053 | return nullptr; |
| 4054 | } |
| 4055 | public: |
| 4056 | |
| 4057 | ::google::protobuf::Metadata GetMetadata() const final; |
| 4058 | |
| 4059 | // nested types ---------------------------------------------------- |
| 4060 | |
| 4061 | // accessors ------------------------------------------------------- |
| 4062 | |
| 4063 | // .dmi.LogLevel level = 1; |
| 4064 | void clear_level(); |
| 4065 | static const int kLevelFieldNumber = 1; |
| 4066 | ::dmi::LogLevel level() const; |
| 4067 | void set_level(::dmi::LogLevel value); |
| 4068 | |
| 4069 | // @@protoc_insertion_point(class_scope:dmi.SetDmLogLevelRequest) |
| 4070 | private: |
| 4071 | class HasBitSetters; |
| 4072 | |
| 4073 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 4074 | int level_; |
| 4075 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 4076 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 4077 | }; |
| 4078 | // ------------------------------------------------------------------- |
| 4079 | |
| 4080 | class SetDmLogLevelResponse final : |
| 4081 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.SetDmLogLevelResponse) */ { |
| 4082 | public: |
| 4083 | SetDmLogLevelResponse(); |
| 4084 | virtual ~SetDmLogLevelResponse(); |
| 4085 | |
| 4086 | SetDmLogLevelResponse(const SetDmLogLevelResponse& from); |
| 4087 | |
| 4088 | inline SetDmLogLevelResponse& operator=(const SetDmLogLevelResponse& from) { |
| 4089 | CopyFrom(from); |
| 4090 | return *this; |
| 4091 | } |
| 4092 | #if LANG_CXX11 |
| 4093 | SetDmLogLevelResponse(SetDmLogLevelResponse&& from) noexcept |
| 4094 | : SetDmLogLevelResponse() { |
| 4095 | *this = ::std::move(from); |
| 4096 | } |
| 4097 | |
| 4098 | inline SetDmLogLevelResponse& operator=(SetDmLogLevelResponse&& from) noexcept { |
| 4099 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 4100 | if (this != &from) InternalSwap(&from); |
| 4101 | } else { |
| 4102 | CopyFrom(from); |
| 4103 | } |
| 4104 | return *this; |
| 4105 | } |
| 4106 | #endif |
| 4107 | static const ::google::protobuf::Descriptor* descriptor() { |
| 4108 | return default_instance().GetDescriptor(); |
| 4109 | } |
| 4110 | static const SetDmLogLevelResponse& default_instance(); |
| 4111 | |
| 4112 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 4113 | static inline const SetDmLogLevelResponse* internal_default_instance() { |
| 4114 | return reinterpret_cast<const SetDmLogLevelResponse*>( |
| 4115 | &_SetDmLogLevelResponse_default_instance_); |
| 4116 | } |
| 4117 | static constexpr int kIndexInFileMessages = |
| 4118 | 23; |
| 4119 | |
| 4120 | void Swap(SetDmLogLevelResponse* other); |
| 4121 | friend void swap(SetDmLogLevelResponse& a, SetDmLogLevelResponse& b) { |
| 4122 | a.Swap(&b); |
| 4123 | } |
| 4124 | |
| 4125 | // implements Message ---------------------------------------------- |
| 4126 | |
| 4127 | inline SetDmLogLevelResponse* New() const final { |
| 4128 | return CreateMaybeMessage<SetDmLogLevelResponse>(nullptr); |
| 4129 | } |
| 4130 | |
| 4131 | SetDmLogLevelResponse* New(::google::protobuf::Arena* arena) const final { |
| 4132 | return CreateMaybeMessage<SetDmLogLevelResponse>(arena); |
| 4133 | } |
| 4134 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 4135 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 4136 | void CopyFrom(const SetDmLogLevelResponse& from); |
| 4137 | void MergeFrom(const SetDmLogLevelResponse& from); |
| 4138 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 4139 | bool IsInitialized() const final; |
| 4140 | |
| 4141 | size_t ByteSizeLong() const final; |
| 4142 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 4143 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 4144 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 4145 | #else |
| 4146 | bool MergePartialFromCodedStream( |
| 4147 | ::google::protobuf::io::CodedInputStream* input) final; |
| 4148 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 4149 | void SerializeWithCachedSizes( |
| 4150 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 4151 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 4152 | ::google::protobuf::uint8* target) const final; |
| 4153 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 4154 | |
| 4155 | private: |
| 4156 | void SharedCtor(); |
| 4157 | void SharedDtor(); |
| 4158 | void SetCachedSize(int size) const final; |
| 4159 | void InternalSwap(SetDmLogLevelResponse* other); |
| 4160 | private: |
| 4161 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 4162 | return nullptr; |
| 4163 | } |
| 4164 | inline void* MaybeArenaPtr() const { |
| 4165 | return nullptr; |
| 4166 | } |
| 4167 | public: |
| 4168 | |
| 4169 | ::google::protobuf::Metadata GetMetadata() const final; |
| 4170 | |
| 4171 | // nested types ---------------------------------------------------- |
| 4172 | |
| 4173 | typedef SetDmLogLevelResponse_Reason Reason; |
| 4174 | static const Reason UNDEFINED_REASON = |
| 4175 | SetDmLogLevelResponse_Reason_UNDEFINED_REASON; |
| 4176 | static const Reason INTERNAL_ERROR = |
| 4177 | SetDmLogLevelResponse_Reason_INTERNAL_ERROR; |
| 4178 | static const Reason UNKNOWN_LOG_LEVEL = |
| 4179 | SetDmLogLevelResponse_Reason_UNKNOWN_LOG_LEVEL; |
| 4180 | static inline bool Reason_IsValid(int value) { |
| 4181 | return SetDmLogLevelResponse_Reason_IsValid(value); |
| 4182 | } |
| 4183 | static const Reason Reason_MIN = |
| 4184 | SetDmLogLevelResponse_Reason_Reason_MIN; |
| 4185 | static const Reason Reason_MAX = |
| 4186 | SetDmLogLevelResponse_Reason_Reason_MAX; |
| 4187 | static const int Reason_ARRAYSIZE = |
| 4188 | SetDmLogLevelResponse_Reason_Reason_ARRAYSIZE; |
| 4189 | static inline const ::google::protobuf::EnumDescriptor* |
| 4190 | Reason_descriptor() { |
| 4191 | return SetDmLogLevelResponse_Reason_descriptor(); |
| 4192 | } |
| 4193 | static inline const ::std::string& Reason_Name(Reason value) { |
| 4194 | return SetDmLogLevelResponse_Reason_Name(value); |
| 4195 | } |
| 4196 | static inline bool Reason_Parse(const ::std::string& name, |
| 4197 | Reason* value) { |
| 4198 | return SetDmLogLevelResponse_Reason_Parse(name, value); |
| 4199 | } |
| 4200 | |
| 4201 | // accessors ------------------------------------------------------- |
| 4202 | |
| 4203 | // string reason_detail = 3; |
| 4204 | void clear_reason_detail(); |
| 4205 | static const int kReasonDetailFieldNumber = 3; |
| 4206 | const ::std::string& reason_detail() const; |
| 4207 | void set_reason_detail(const ::std::string& value); |
| 4208 | #if LANG_CXX11 |
| 4209 | void set_reason_detail(::std::string&& value); |
| 4210 | #endif |
| 4211 | void set_reason_detail(const char* value); |
| 4212 | void set_reason_detail(const char* value, size_t size); |
| 4213 | ::std::string* mutable_reason_detail(); |
| 4214 | ::std::string* release_reason_detail(); |
| 4215 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 4216 | |
| 4217 | // .dmi.Status status = 1; |
| 4218 | void clear_status(); |
| 4219 | static const int kStatusFieldNumber = 1; |
| 4220 | ::dmi::Status status() const; |
| 4221 | void set_status(::dmi::Status value); |
| 4222 | |
| 4223 | // .dmi.SetDmLogLevelResponse.Reason reason = 2; |
| 4224 | void clear_reason(); |
| 4225 | static const int kReasonFieldNumber = 2; |
| 4226 | ::dmi::SetDmLogLevelResponse_Reason reason() const; |
| 4227 | void set_reason(::dmi::SetDmLogLevelResponse_Reason value); |
| 4228 | |
| 4229 | // @@protoc_insertion_point(class_scope:dmi.SetDmLogLevelResponse) |
| 4230 | private: |
| 4231 | class HasBitSetters; |
| 4232 | |
| 4233 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 4234 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 4235 | int status_; |
| 4236 | int reason_; |
| 4237 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 4238 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 4239 | }; |
| 4240 | // ------------------------------------------------------------------- |
| 4241 | |
| 4242 | class GetDmLogLevelRequest final : |
| 4243 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.GetDmLogLevelRequest) */ { |
| 4244 | public: |
| 4245 | GetDmLogLevelRequest(); |
| 4246 | virtual ~GetDmLogLevelRequest(); |
| 4247 | |
| 4248 | GetDmLogLevelRequest(const GetDmLogLevelRequest& from); |
| 4249 | |
| 4250 | inline GetDmLogLevelRequest& operator=(const GetDmLogLevelRequest& from) { |
| 4251 | CopyFrom(from); |
| 4252 | return *this; |
| 4253 | } |
| 4254 | #if LANG_CXX11 |
| 4255 | GetDmLogLevelRequest(GetDmLogLevelRequest&& from) noexcept |
| 4256 | : GetDmLogLevelRequest() { |
| 4257 | *this = ::std::move(from); |
| 4258 | } |
| 4259 | |
| 4260 | inline GetDmLogLevelRequest& operator=(GetDmLogLevelRequest&& from) noexcept { |
| 4261 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 4262 | if (this != &from) InternalSwap(&from); |
| 4263 | } else { |
| 4264 | CopyFrom(from); |
| 4265 | } |
| 4266 | return *this; |
| 4267 | } |
| 4268 | #endif |
| 4269 | static const ::google::protobuf::Descriptor* descriptor() { |
| 4270 | return default_instance().GetDescriptor(); |
| 4271 | } |
| 4272 | static const GetDmLogLevelRequest& default_instance(); |
| 4273 | |
| 4274 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 4275 | static inline const GetDmLogLevelRequest* internal_default_instance() { |
| 4276 | return reinterpret_cast<const GetDmLogLevelRequest*>( |
| 4277 | &_GetDmLogLevelRequest_default_instance_); |
| 4278 | } |
| 4279 | static constexpr int kIndexInFileMessages = |
| 4280 | 24; |
| 4281 | |
| 4282 | void Swap(GetDmLogLevelRequest* other); |
| 4283 | friend void swap(GetDmLogLevelRequest& a, GetDmLogLevelRequest& b) { |
| 4284 | a.Swap(&b); |
| 4285 | } |
| 4286 | |
| 4287 | // implements Message ---------------------------------------------- |
| 4288 | |
| 4289 | inline GetDmLogLevelRequest* New() const final { |
| 4290 | return CreateMaybeMessage<GetDmLogLevelRequest>(nullptr); |
| 4291 | } |
| 4292 | |
| 4293 | GetDmLogLevelRequest* New(::google::protobuf::Arena* arena) const final { |
| 4294 | return CreateMaybeMessage<GetDmLogLevelRequest>(arena); |
| 4295 | } |
| 4296 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 4297 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 4298 | void CopyFrom(const GetDmLogLevelRequest& from); |
| 4299 | void MergeFrom(const GetDmLogLevelRequest& from); |
| 4300 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 4301 | bool IsInitialized() const final; |
| 4302 | |
| 4303 | size_t ByteSizeLong() const final; |
| 4304 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 4305 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 4306 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 4307 | #else |
| 4308 | bool MergePartialFromCodedStream( |
| 4309 | ::google::protobuf::io::CodedInputStream* input) final; |
| 4310 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 4311 | void SerializeWithCachedSizes( |
| 4312 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 4313 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 4314 | ::google::protobuf::uint8* target) const final; |
| 4315 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 4316 | |
| 4317 | private: |
| 4318 | void SharedCtor(); |
| 4319 | void SharedDtor(); |
| 4320 | void SetCachedSize(int size) const final; |
| 4321 | void InternalSwap(GetDmLogLevelRequest* other); |
| 4322 | private: |
| 4323 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 4324 | return nullptr; |
| 4325 | } |
| 4326 | inline void* MaybeArenaPtr() const { |
| 4327 | return nullptr; |
| 4328 | } |
| 4329 | public: |
| 4330 | |
| 4331 | ::google::protobuf::Metadata GetMetadata() const final; |
| 4332 | |
| 4333 | // nested types ---------------------------------------------------- |
| 4334 | |
| 4335 | // accessors ------------------------------------------------------- |
| 4336 | |
| 4337 | // @@protoc_insertion_point(class_scope:dmi.GetDmLogLevelRequest) |
| 4338 | private: |
| 4339 | class HasBitSetters; |
| 4340 | |
| 4341 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 4342 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 4343 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 4344 | }; |
| 4345 | // ------------------------------------------------------------------- |
| 4346 | |
| 4347 | class GetDmLogLevelResponse final : |
| 4348 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.GetDmLogLevelResponse) */ { |
| 4349 | public: |
| 4350 | GetDmLogLevelResponse(); |
| 4351 | virtual ~GetDmLogLevelResponse(); |
| 4352 | |
| 4353 | GetDmLogLevelResponse(const GetDmLogLevelResponse& from); |
| 4354 | |
| 4355 | inline GetDmLogLevelResponse& operator=(const GetDmLogLevelResponse& from) { |
| 4356 | CopyFrom(from); |
| 4357 | return *this; |
| 4358 | } |
| 4359 | #if LANG_CXX11 |
| 4360 | GetDmLogLevelResponse(GetDmLogLevelResponse&& from) noexcept |
| 4361 | : GetDmLogLevelResponse() { |
| 4362 | *this = ::std::move(from); |
| 4363 | } |
| 4364 | |
| 4365 | inline GetDmLogLevelResponse& operator=(GetDmLogLevelResponse&& from) noexcept { |
| 4366 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 4367 | if (this != &from) InternalSwap(&from); |
| 4368 | } else { |
| 4369 | CopyFrom(from); |
| 4370 | } |
| 4371 | return *this; |
| 4372 | } |
| 4373 | #endif |
| 4374 | static const ::google::protobuf::Descriptor* descriptor() { |
| 4375 | return default_instance().GetDescriptor(); |
| 4376 | } |
| 4377 | static const GetDmLogLevelResponse& default_instance(); |
| 4378 | |
| 4379 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 4380 | static inline const GetDmLogLevelResponse* internal_default_instance() { |
| 4381 | return reinterpret_cast<const GetDmLogLevelResponse*>( |
| 4382 | &_GetDmLogLevelResponse_default_instance_); |
| 4383 | } |
| 4384 | static constexpr int kIndexInFileMessages = |
| 4385 | 25; |
| 4386 | |
| 4387 | void Swap(GetDmLogLevelResponse* other); |
| 4388 | friend void swap(GetDmLogLevelResponse& a, GetDmLogLevelResponse& b) { |
| 4389 | a.Swap(&b); |
| 4390 | } |
| 4391 | |
| 4392 | // implements Message ---------------------------------------------- |
| 4393 | |
| 4394 | inline GetDmLogLevelResponse* New() const final { |
| 4395 | return CreateMaybeMessage<GetDmLogLevelResponse>(nullptr); |
| 4396 | } |
| 4397 | |
| 4398 | GetDmLogLevelResponse* New(::google::protobuf::Arena* arena) const final { |
| 4399 | return CreateMaybeMessage<GetDmLogLevelResponse>(arena); |
| 4400 | } |
| 4401 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 4402 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 4403 | void CopyFrom(const GetDmLogLevelResponse& from); |
| 4404 | void MergeFrom(const GetDmLogLevelResponse& from); |
| 4405 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 4406 | bool IsInitialized() const final; |
| 4407 | |
| 4408 | size_t ByteSizeLong() const final; |
| 4409 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 4410 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 4411 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 4412 | #else |
| 4413 | bool MergePartialFromCodedStream( |
| 4414 | ::google::protobuf::io::CodedInputStream* input) final; |
| 4415 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 4416 | void SerializeWithCachedSizes( |
| 4417 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 4418 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 4419 | ::google::protobuf::uint8* target) const final; |
| 4420 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 4421 | |
| 4422 | private: |
| 4423 | void SharedCtor(); |
| 4424 | void SharedDtor(); |
| 4425 | void SetCachedSize(int size) const final; |
| 4426 | void InternalSwap(GetDmLogLevelResponse* other); |
| 4427 | private: |
| 4428 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 4429 | return nullptr; |
| 4430 | } |
| 4431 | inline void* MaybeArenaPtr() const { |
| 4432 | return nullptr; |
| 4433 | } |
| 4434 | public: |
| 4435 | |
| 4436 | ::google::protobuf::Metadata GetMetadata() const final; |
| 4437 | |
| 4438 | // nested types ---------------------------------------------------- |
| 4439 | |
| 4440 | typedef GetDmLogLevelResponse_Reason Reason; |
| 4441 | static const Reason UNDEFINED_REASON = |
| 4442 | GetDmLogLevelResponse_Reason_UNDEFINED_REASON; |
| 4443 | static const Reason INTERNAL_ERROR = |
| 4444 | GetDmLogLevelResponse_Reason_INTERNAL_ERROR; |
| 4445 | static inline bool Reason_IsValid(int value) { |
| 4446 | return GetDmLogLevelResponse_Reason_IsValid(value); |
| 4447 | } |
| 4448 | static const Reason Reason_MIN = |
| 4449 | GetDmLogLevelResponse_Reason_Reason_MIN; |
| 4450 | static const Reason Reason_MAX = |
| 4451 | GetDmLogLevelResponse_Reason_Reason_MAX; |
| 4452 | static const int Reason_ARRAYSIZE = |
| 4453 | GetDmLogLevelResponse_Reason_Reason_ARRAYSIZE; |
| 4454 | static inline const ::google::protobuf::EnumDescriptor* |
| 4455 | Reason_descriptor() { |
| 4456 | return GetDmLogLevelResponse_Reason_descriptor(); |
| 4457 | } |
| 4458 | static inline const ::std::string& Reason_Name(Reason value) { |
| 4459 | return GetDmLogLevelResponse_Reason_Name(value); |
| 4460 | } |
| 4461 | static inline bool Reason_Parse(const ::std::string& name, |
| 4462 | Reason* value) { |
| 4463 | return GetDmLogLevelResponse_Reason_Parse(name, value); |
| 4464 | } |
| 4465 | |
| 4466 | // accessors ------------------------------------------------------- |
| 4467 | |
| 4468 | // string reason_detail = 4; |
| 4469 | void clear_reason_detail(); |
| 4470 | static const int kReasonDetailFieldNumber = 4; |
| 4471 | const ::std::string& reason_detail() const; |
| 4472 | void set_reason_detail(const ::std::string& value); |
| 4473 | #if LANG_CXX11 |
| 4474 | void set_reason_detail(::std::string&& value); |
| 4475 | #endif |
| 4476 | void set_reason_detail(const char* value); |
| 4477 | void set_reason_detail(const char* value, size_t size); |
| 4478 | ::std::string* mutable_reason_detail(); |
| 4479 | ::std::string* release_reason_detail(); |
| 4480 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 4481 | |
| 4482 | // .dmi.LogLevel level = 1; |
| 4483 | void clear_level(); |
| 4484 | static const int kLevelFieldNumber = 1; |
| 4485 | ::dmi::LogLevel level() const; |
| 4486 | void set_level(::dmi::LogLevel value); |
| 4487 | |
| 4488 | // .dmi.Status status = 2; |
| 4489 | void clear_status(); |
| 4490 | static const int kStatusFieldNumber = 2; |
| 4491 | ::dmi::Status status() const; |
| 4492 | void set_status(::dmi::Status value); |
| 4493 | |
| 4494 | // .dmi.GetDmLogLevelResponse.Reason reason = 3; |
| 4495 | void clear_reason(); |
| 4496 | static const int kReasonFieldNumber = 3; |
| 4497 | ::dmi::GetDmLogLevelResponse_Reason reason() const; |
| 4498 | void set_reason(::dmi::GetDmLogLevelResponse_Reason value); |
| 4499 | |
| 4500 | // @@protoc_insertion_point(class_scope:dmi.GetDmLogLevelResponse) |
| 4501 | private: |
| 4502 | class HasBitSetters; |
| 4503 | |
| 4504 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 4505 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 4506 | int level_; |
| 4507 | int status_; |
| 4508 | int reason_; |
| 4509 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 4510 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 4511 | }; |
| 4512 | // ------------------------------------------------------------------- |
| 4513 | |
Chandrakanth Nalkudre Gowda | 415b83c | 2021-04-28 18:01:29 +0530 | [diff] [blame] | 4514 | class Heartbeat final : |
| 4515 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.Heartbeat) */ { |
| 4516 | public: |
| 4517 | Heartbeat(); |
| 4518 | virtual ~Heartbeat(); |
| 4519 | |
| 4520 | Heartbeat(const Heartbeat& from); |
| 4521 | |
| 4522 | inline Heartbeat& operator=(const Heartbeat& from) { |
| 4523 | CopyFrom(from); |
| 4524 | return *this; |
| 4525 | } |
| 4526 | #if LANG_CXX11 |
| 4527 | Heartbeat(Heartbeat&& from) noexcept |
| 4528 | : Heartbeat() { |
| 4529 | *this = ::std::move(from); |
| 4530 | } |
| 4531 | |
| 4532 | inline Heartbeat& operator=(Heartbeat&& from) noexcept { |
| 4533 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 4534 | if (this != &from) InternalSwap(&from); |
| 4535 | } else { |
| 4536 | CopyFrom(from); |
| 4537 | } |
| 4538 | return *this; |
| 4539 | } |
| 4540 | #endif |
| 4541 | static const ::google::protobuf::Descriptor* descriptor() { |
| 4542 | return default_instance().GetDescriptor(); |
| 4543 | } |
| 4544 | static const Heartbeat& default_instance(); |
| 4545 | |
| 4546 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 4547 | static inline const Heartbeat* internal_default_instance() { |
| 4548 | return reinterpret_cast<const Heartbeat*>( |
| 4549 | &_Heartbeat_default_instance_); |
| 4550 | } |
| 4551 | static constexpr int kIndexInFileMessages = |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 4552 | 26; |
Chandrakanth Nalkudre Gowda | 415b83c | 2021-04-28 18:01:29 +0530 | [diff] [blame] | 4553 | |
| 4554 | void Swap(Heartbeat* other); |
| 4555 | friend void swap(Heartbeat& a, Heartbeat& b) { |
| 4556 | a.Swap(&b); |
| 4557 | } |
| 4558 | |
| 4559 | // implements Message ---------------------------------------------- |
| 4560 | |
| 4561 | inline Heartbeat* New() const final { |
| 4562 | return CreateMaybeMessage<Heartbeat>(nullptr); |
| 4563 | } |
| 4564 | |
| 4565 | Heartbeat* New(::google::protobuf::Arena* arena) const final { |
| 4566 | return CreateMaybeMessage<Heartbeat>(arena); |
| 4567 | } |
| 4568 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 4569 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 4570 | void CopyFrom(const Heartbeat& from); |
| 4571 | void MergeFrom(const Heartbeat& from); |
| 4572 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 4573 | bool IsInitialized() const final; |
| 4574 | |
| 4575 | size_t ByteSizeLong() const final; |
| 4576 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 4577 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 4578 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 4579 | #else |
| 4580 | bool MergePartialFromCodedStream( |
| 4581 | ::google::protobuf::io::CodedInputStream* input) final; |
| 4582 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 4583 | void SerializeWithCachedSizes( |
| 4584 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 4585 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 4586 | ::google::protobuf::uint8* target) const final; |
| 4587 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 4588 | |
| 4589 | private: |
| 4590 | void SharedCtor(); |
| 4591 | void SharedDtor(); |
| 4592 | void SetCachedSize(int size) const final; |
| 4593 | void InternalSwap(Heartbeat* other); |
| 4594 | private: |
| 4595 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 4596 | return nullptr; |
| 4597 | } |
| 4598 | inline void* MaybeArenaPtr() const { |
| 4599 | return nullptr; |
| 4600 | } |
| 4601 | public: |
| 4602 | |
| 4603 | ::google::protobuf::Metadata GetMetadata() const final; |
| 4604 | |
| 4605 | // nested types ---------------------------------------------------- |
| 4606 | |
| 4607 | // accessors ------------------------------------------------------- |
| 4608 | |
| 4609 | // fixed32 heartbeat_signature = 1; |
| 4610 | void clear_heartbeat_signature(); |
| 4611 | static const int kHeartbeatSignatureFieldNumber = 1; |
| 4612 | ::google::protobuf::uint32 heartbeat_signature() const; |
| 4613 | void set_heartbeat_signature(::google::protobuf::uint32 value); |
| 4614 | |
| 4615 | // @@protoc_insertion_point(class_scope:dmi.Heartbeat) |
| 4616 | private: |
| 4617 | class HasBitSetters; |
| 4618 | |
| 4619 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 4620 | ::google::protobuf::uint32 heartbeat_signature_; |
| 4621 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 4622 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 4623 | }; |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 4624 | // ------------------------------------------------------------------- |
| 4625 | |
| 4626 | class RebootDeviceRequest final : |
| 4627 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.RebootDeviceRequest) */ { |
| 4628 | public: |
| 4629 | RebootDeviceRequest(); |
| 4630 | virtual ~RebootDeviceRequest(); |
| 4631 | |
| 4632 | RebootDeviceRequest(const RebootDeviceRequest& from); |
| 4633 | |
| 4634 | inline RebootDeviceRequest& operator=(const RebootDeviceRequest& from) { |
| 4635 | CopyFrom(from); |
| 4636 | return *this; |
| 4637 | } |
| 4638 | #if LANG_CXX11 |
| 4639 | RebootDeviceRequest(RebootDeviceRequest&& from) noexcept |
| 4640 | : RebootDeviceRequest() { |
| 4641 | *this = ::std::move(from); |
| 4642 | } |
| 4643 | |
| 4644 | inline RebootDeviceRequest& operator=(RebootDeviceRequest&& from) noexcept { |
| 4645 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 4646 | if (this != &from) InternalSwap(&from); |
| 4647 | } else { |
| 4648 | CopyFrom(from); |
| 4649 | } |
| 4650 | return *this; |
| 4651 | } |
| 4652 | #endif |
| 4653 | static const ::google::protobuf::Descriptor* descriptor() { |
| 4654 | return default_instance().GetDescriptor(); |
| 4655 | } |
| 4656 | static const RebootDeviceRequest& default_instance(); |
| 4657 | |
| 4658 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 4659 | static inline const RebootDeviceRequest* internal_default_instance() { |
| 4660 | return reinterpret_cast<const RebootDeviceRequest*>( |
| 4661 | &_RebootDeviceRequest_default_instance_); |
| 4662 | } |
| 4663 | static constexpr int kIndexInFileMessages = |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 4664 | 27; |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 4665 | |
| 4666 | void Swap(RebootDeviceRequest* other); |
| 4667 | friend void swap(RebootDeviceRequest& a, RebootDeviceRequest& b) { |
| 4668 | a.Swap(&b); |
| 4669 | } |
| 4670 | |
| 4671 | // implements Message ---------------------------------------------- |
| 4672 | |
| 4673 | inline RebootDeviceRequest* New() const final { |
| 4674 | return CreateMaybeMessage<RebootDeviceRequest>(nullptr); |
| 4675 | } |
| 4676 | |
| 4677 | RebootDeviceRequest* New(::google::protobuf::Arena* arena) const final { |
| 4678 | return CreateMaybeMessage<RebootDeviceRequest>(arena); |
| 4679 | } |
| 4680 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 4681 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 4682 | void CopyFrom(const RebootDeviceRequest& from); |
| 4683 | void MergeFrom(const RebootDeviceRequest& from); |
| 4684 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 4685 | bool IsInitialized() const final; |
| 4686 | |
| 4687 | size_t ByteSizeLong() const final; |
| 4688 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 4689 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 4690 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 4691 | #else |
| 4692 | bool MergePartialFromCodedStream( |
| 4693 | ::google::protobuf::io::CodedInputStream* input) final; |
| 4694 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 4695 | void SerializeWithCachedSizes( |
| 4696 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 4697 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 4698 | ::google::protobuf::uint8* target) const final; |
| 4699 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 4700 | |
| 4701 | private: |
| 4702 | void SharedCtor(); |
| 4703 | void SharedDtor(); |
| 4704 | void SetCachedSize(int size) const final; |
| 4705 | void InternalSwap(RebootDeviceRequest* other); |
| 4706 | private: |
| 4707 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 4708 | return nullptr; |
| 4709 | } |
| 4710 | inline void* MaybeArenaPtr() const { |
| 4711 | return nullptr; |
| 4712 | } |
| 4713 | public: |
| 4714 | |
| 4715 | ::google::protobuf::Metadata GetMetadata() const final; |
| 4716 | |
| 4717 | // nested types ---------------------------------------------------- |
| 4718 | |
| 4719 | // accessors ------------------------------------------------------- |
| 4720 | |
| 4721 | // .dmi.Uuid device_uuid = 1; |
| 4722 | bool has_device_uuid() const; |
| 4723 | void clear_device_uuid(); |
| 4724 | static const int kDeviceUuidFieldNumber = 1; |
| 4725 | const ::dmi::Uuid& device_uuid() const; |
| 4726 | ::dmi::Uuid* release_device_uuid(); |
| 4727 | ::dmi::Uuid* mutable_device_uuid(); |
| 4728 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 4729 | |
| 4730 | // @@protoc_insertion_point(class_scope:dmi.RebootDeviceRequest) |
| 4731 | private: |
| 4732 | class HasBitSetters; |
| 4733 | |
| 4734 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 4735 | ::dmi::Uuid* device_uuid_; |
| 4736 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 4737 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 4738 | }; |
| 4739 | // ------------------------------------------------------------------- |
| 4740 | |
| 4741 | class RebootDeviceResponse final : |
| 4742 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.RebootDeviceResponse) */ { |
| 4743 | public: |
| 4744 | RebootDeviceResponse(); |
| 4745 | virtual ~RebootDeviceResponse(); |
| 4746 | |
| 4747 | RebootDeviceResponse(const RebootDeviceResponse& from); |
| 4748 | |
| 4749 | inline RebootDeviceResponse& operator=(const RebootDeviceResponse& from) { |
| 4750 | CopyFrom(from); |
| 4751 | return *this; |
| 4752 | } |
| 4753 | #if LANG_CXX11 |
| 4754 | RebootDeviceResponse(RebootDeviceResponse&& from) noexcept |
| 4755 | : RebootDeviceResponse() { |
| 4756 | *this = ::std::move(from); |
| 4757 | } |
| 4758 | |
| 4759 | inline RebootDeviceResponse& operator=(RebootDeviceResponse&& from) noexcept { |
| 4760 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 4761 | if (this != &from) InternalSwap(&from); |
| 4762 | } else { |
| 4763 | CopyFrom(from); |
| 4764 | } |
| 4765 | return *this; |
| 4766 | } |
| 4767 | #endif |
| 4768 | static const ::google::protobuf::Descriptor* descriptor() { |
| 4769 | return default_instance().GetDescriptor(); |
| 4770 | } |
| 4771 | static const RebootDeviceResponse& default_instance(); |
| 4772 | |
| 4773 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 4774 | static inline const RebootDeviceResponse* internal_default_instance() { |
| 4775 | return reinterpret_cast<const RebootDeviceResponse*>( |
| 4776 | &_RebootDeviceResponse_default_instance_); |
| 4777 | } |
| 4778 | static constexpr int kIndexInFileMessages = |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 4779 | 28; |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 4780 | |
| 4781 | void Swap(RebootDeviceResponse* other); |
| 4782 | friend void swap(RebootDeviceResponse& a, RebootDeviceResponse& b) { |
| 4783 | a.Swap(&b); |
| 4784 | } |
| 4785 | |
| 4786 | // implements Message ---------------------------------------------- |
| 4787 | |
| 4788 | inline RebootDeviceResponse* New() const final { |
| 4789 | return CreateMaybeMessage<RebootDeviceResponse>(nullptr); |
| 4790 | } |
| 4791 | |
| 4792 | RebootDeviceResponse* New(::google::protobuf::Arena* arena) const final { |
| 4793 | return CreateMaybeMessage<RebootDeviceResponse>(arena); |
| 4794 | } |
| 4795 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 4796 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 4797 | void CopyFrom(const RebootDeviceResponse& from); |
| 4798 | void MergeFrom(const RebootDeviceResponse& from); |
| 4799 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 4800 | bool IsInitialized() const final; |
| 4801 | |
| 4802 | size_t ByteSizeLong() const final; |
| 4803 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 4804 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 4805 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 4806 | #else |
| 4807 | bool MergePartialFromCodedStream( |
| 4808 | ::google::protobuf::io::CodedInputStream* input) final; |
| 4809 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 4810 | void SerializeWithCachedSizes( |
| 4811 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 4812 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 4813 | ::google::protobuf::uint8* target) const final; |
| 4814 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 4815 | |
| 4816 | private: |
| 4817 | void SharedCtor(); |
| 4818 | void SharedDtor(); |
| 4819 | void SetCachedSize(int size) const final; |
| 4820 | void InternalSwap(RebootDeviceResponse* other); |
| 4821 | private: |
| 4822 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 4823 | return nullptr; |
| 4824 | } |
| 4825 | inline void* MaybeArenaPtr() const { |
| 4826 | return nullptr; |
| 4827 | } |
| 4828 | public: |
| 4829 | |
| 4830 | ::google::protobuf::Metadata GetMetadata() const final; |
| 4831 | |
| 4832 | // nested types ---------------------------------------------------- |
| 4833 | |
| 4834 | typedef RebootDeviceResponse_Reason Reason; |
| 4835 | static const Reason UNDEFINED_REASON = |
| 4836 | RebootDeviceResponse_Reason_UNDEFINED_REASON; |
| 4837 | static const Reason UNKNOWN_DEVICE = |
| 4838 | RebootDeviceResponse_Reason_UNKNOWN_DEVICE; |
| 4839 | static const Reason INTERNAL_ERROR = |
| 4840 | RebootDeviceResponse_Reason_INTERNAL_ERROR; |
| 4841 | static const Reason DEVICE_UNREACHABLE = |
| 4842 | RebootDeviceResponse_Reason_DEVICE_UNREACHABLE; |
amit.ghosh | 840cb60 | 2022-04-08 16:10:50 +0200 | [diff] [blame] | 4843 | static const Reason DEVICE_IN_WRONG_STATE = |
| 4844 | RebootDeviceResponse_Reason_DEVICE_IN_WRONG_STATE; |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 4845 | static inline bool Reason_IsValid(int value) { |
| 4846 | return RebootDeviceResponse_Reason_IsValid(value); |
| 4847 | } |
| 4848 | static const Reason Reason_MIN = |
| 4849 | RebootDeviceResponse_Reason_Reason_MIN; |
| 4850 | static const Reason Reason_MAX = |
| 4851 | RebootDeviceResponse_Reason_Reason_MAX; |
| 4852 | static const int Reason_ARRAYSIZE = |
| 4853 | RebootDeviceResponse_Reason_Reason_ARRAYSIZE; |
| 4854 | static inline const ::google::protobuf::EnumDescriptor* |
| 4855 | Reason_descriptor() { |
| 4856 | return RebootDeviceResponse_Reason_descriptor(); |
| 4857 | } |
| 4858 | static inline const ::std::string& Reason_Name(Reason value) { |
| 4859 | return RebootDeviceResponse_Reason_Name(value); |
| 4860 | } |
| 4861 | static inline bool Reason_Parse(const ::std::string& name, |
| 4862 | Reason* value) { |
| 4863 | return RebootDeviceResponse_Reason_Parse(name, value); |
| 4864 | } |
| 4865 | |
| 4866 | // accessors ------------------------------------------------------- |
| 4867 | |
| 4868 | // string reason_detail = 5; |
| 4869 | void clear_reason_detail(); |
| 4870 | static const int kReasonDetailFieldNumber = 5; |
| 4871 | const ::std::string& reason_detail() const; |
| 4872 | void set_reason_detail(const ::std::string& value); |
| 4873 | #if LANG_CXX11 |
| 4874 | void set_reason_detail(::std::string&& value); |
| 4875 | #endif |
| 4876 | void set_reason_detail(const char* value); |
| 4877 | void set_reason_detail(const char* value, size_t size); |
| 4878 | ::std::string* mutable_reason_detail(); |
| 4879 | ::std::string* release_reason_detail(); |
| 4880 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 4881 | |
| 4882 | // .dmi.Status status = 3; |
| 4883 | void clear_status(); |
| 4884 | static const int kStatusFieldNumber = 3; |
| 4885 | ::dmi::Status status() const; |
| 4886 | void set_status(::dmi::Status value); |
| 4887 | |
| 4888 | // .dmi.RebootDeviceResponse.Reason reason = 4; |
| 4889 | void clear_reason(); |
| 4890 | static const int kReasonFieldNumber = 4; |
| 4891 | ::dmi::RebootDeviceResponse_Reason reason() const; |
| 4892 | void set_reason(::dmi::RebootDeviceResponse_Reason value); |
| 4893 | |
| 4894 | // @@protoc_insertion_point(class_scope:dmi.RebootDeviceResponse) |
| 4895 | private: |
| 4896 | class HasBitSetters; |
| 4897 | |
| 4898 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 4899 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 4900 | int status_; |
| 4901 | int reason_; |
| 4902 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 4903 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 4904 | }; |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 4905 | // ------------------------------------------------------------------- |
| 4906 | |
| 4907 | class DisableHWComponentRequest final : |
| 4908 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.DisableHWComponentRequest) */ { |
| 4909 | public: |
| 4910 | DisableHWComponentRequest(); |
| 4911 | virtual ~DisableHWComponentRequest(); |
| 4912 | |
| 4913 | DisableHWComponentRequest(const DisableHWComponentRequest& from); |
| 4914 | |
| 4915 | inline DisableHWComponentRequest& operator=(const DisableHWComponentRequest& from) { |
| 4916 | CopyFrom(from); |
| 4917 | return *this; |
| 4918 | } |
| 4919 | #if LANG_CXX11 |
| 4920 | DisableHWComponentRequest(DisableHWComponentRequest&& from) noexcept |
| 4921 | : DisableHWComponentRequest() { |
| 4922 | *this = ::std::move(from); |
| 4923 | } |
| 4924 | |
| 4925 | inline DisableHWComponentRequest& operator=(DisableHWComponentRequest&& from) noexcept { |
| 4926 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 4927 | if (this != &from) InternalSwap(&from); |
| 4928 | } else { |
| 4929 | CopyFrom(from); |
| 4930 | } |
| 4931 | return *this; |
| 4932 | } |
| 4933 | #endif |
| 4934 | static const ::google::protobuf::Descriptor* descriptor() { |
| 4935 | return default_instance().GetDescriptor(); |
| 4936 | } |
| 4937 | static const DisableHWComponentRequest& default_instance(); |
| 4938 | |
| 4939 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 4940 | static inline const DisableHWComponentRequest* internal_default_instance() { |
| 4941 | return reinterpret_cast<const DisableHWComponentRequest*>( |
| 4942 | &_DisableHWComponentRequest_default_instance_); |
| 4943 | } |
| 4944 | static constexpr int kIndexInFileMessages = |
| 4945 | 29; |
| 4946 | |
| 4947 | void Swap(DisableHWComponentRequest* other); |
| 4948 | friend void swap(DisableHWComponentRequest& a, DisableHWComponentRequest& b) { |
| 4949 | a.Swap(&b); |
| 4950 | } |
| 4951 | |
| 4952 | // implements Message ---------------------------------------------- |
| 4953 | |
| 4954 | inline DisableHWComponentRequest* New() const final { |
| 4955 | return CreateMaybeMessage<DisableHWComponentRequest>(nullptr); |
| 4956 | } |
| 4957 | |
| 4958 | DisableHWComponentRequest* New(::google::protobuf::Arena* arena) const final { |
| 4959 | return CreateMaybeMessage<DisableHWComponentRequest>(arena); |
| 4960 | } |
| 4961 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 4962 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 4963 | void CopyFrom(const DisableHWComponentRequest& from); |
| 4964 | void MergeFrom(const DisableHWComponentRequest& from); |
| 4965 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 4966 | bool IsInitialized() const final; |
| 4967 | |
| 4968 | size_t ByteSizeLong() const final; |
| 4969 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 4970 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 4971 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 4972 | #else |
| 4973 | bool MergePartialFromCodedStream( |
| 4974 | ::google::protobuf::io::CodedInputStream* input) final; |
| 4975 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 4976 | void SerializeWithCachedSizes( |
| 4977 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 4978 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 4979 | ::google::protobuf::uint8* target) const final; |
| 4980 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 4981 | |
| 4982 | private: |
| 4983 | void SharedCtor(); |
| 4984 | void SharedDtor(); |
| 4985 | void SetCachedSize(int size) const final; |
| 4986 | void InternalSwap(DisableHWComponentRequest* other); |
| 4987 | private: |
| 4988 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 4989 | return nullptr; |
| 4990 | } |
| 4991 | inline void* MaybeArenaPtr() const { |
| 4992 | return nullptr; |
| 4993 | } |
| 4994 | public: |
| 4995 | |
| 4996 | ::google::protobuf::Metadata GetMetadata() const final; |
| 4997 | |
| 4998 | // nested types ---------------------------------------------------- |
| 4999 | |
| 5000 | // accessors ------------------------------------------------------- |
| 5001 | |
| 5002 | // string component_name = 3; |
| 5003 | void clear_component_name(); |
| 5004 | static const int kComponentNameFieldNumber = 3; |
| 5005 | const ::std::string& component_name() const; |
| 5006 | void set_component_name(const ::std::string& value); |
| 5007 | #if LANG_CXX11 |
| 5008 | void set_component_name(::std::string&& value); |
| 5009 | #endif |
| 5010 | void set_component_name(const char* value); |
| 5011 | void set_component_name(const char* value, size_t size); |
| 5012 | ::std::string* mutable_component_name(); |
| 5013 | ::std::string* release_component_name(); |
| 5014 | void set_allocated_component_name(::std::string* component_name); |
| 5015 | |
| 5016 | // .dmi.Uuid device_uuid = 1; |
| 5017 | bool has_device_uuid() const; |
| 5018 | void clear_device_uuid(); |
| 5019 | static const int kDeviceUuidFieldNumber = 1; |
| 5020 | const ::dmi::Uuid& device_uuid() const; |
| 5021 | ::dmi::Uuid* release_device_uuid(); |
| 5022 | ::dmi::Uuid* mutable_device_uuid(); |
| 5023 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 5024 | |
| 5025 | // .dmi.Uuid component_uuid = 2; |
| 5026 | bool has_component_uuid() const; |
| 5027 | void clear_component_uuid(); |
| 5028 | static const int kComponentUuidFieldNumber = 2; |
| 5029 | const ::dmi::Uuid& component_uuid() const; |
| 5030 | ::dmi::Uuid* release_component_uuid(); |
| 5031 | ::dmi::Uuid* mutable_component_uuid(); |
| 5032 | void set_allocated_component_uuid(::dmi::Uuid* component_uuid); |
| 5033 | |
| 5034 | // @@protoc_insertion_point(class_scope:dmi.DisableHWComponentRequest) |
| 5035 | private: |
| 5036 | class HasBitSetters; |
| 5037 | |
| 5038 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 5039 | ::google::protobuf::internal::ArenaStringPtr component_name_; |
| 5040 | ::dmi::Uuid* device_uuid_; |
| 5041 | ::dmi::Uuid* component_uuid_; |
| 5042 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 5043 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 5044 | }; |
| 5045 | // ------------------------------------------------------------------- |
| 5046 | |
| 5047 | class DisableHWComponentResponse final : |
| 5048 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.DisableHWComponentResponse) */ { |
| 5049 | public: |
| 5050 | DisableHWComponentResponse(); |
| 5051 | virtual ~DisableHWComponentResponse(); |
| 5052 | |
| 5053 | DisableHWComponentResponse(const DisableHWComponentResponse& from); |
| 5054 | |
| 5055 | inline DisableHWComponentResponse& operator=(const DisableHWComponentResponse& from) { |
| 5056 | CopyFrom(from); |
| 5057 | return *this; |
| 5058 | } |
| 5059 | #if LANG_CXX11 |
| 5060 | DisableHWComponentResponse(DisableHWComponentResponse&& from) noexcept |
| 5061 | : DisableHWComponentResponse() { |
| 5062 | *this = ::std::move(from); |
| 5063 | } |
| 5064 | |
| 5065 | inline DisableHWComponentResponse& operator=(DisableHWComponentResponse&& from) noexcept { |
| 5066 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 5067 | if (this != &from) InternalSwap(&from); |
| 5068 | } else { |
| 5069 | CopyFrom(from); |
| 5070 | } |
| 5071 | return *this; |
| 5072 | } |
| 5073 | #endif |
| 5074 | static const ::google::protobuf::Descriptor* descriptor() { |
| 5075 | return default_instance().GetDescriptor(); |
| 5076 | } |
| 5077 | static const DisableHWComponentResponse& default_instance(); |
| 5078 | |
| 5079 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 5080 | static inline const DisableHWComponentResponse* internal_default_instance() { |
| 5081 | return reinterpret_cast<const DisableHWComponentResponse*>( |
| 5082 | &_DisableHWComponentResponse_default_instance_); |
| 5083 | } |
| 5084 | static constexpr int kIndexInFileMessages = |
| 5085 | 30; |
| 5086 | |
| 5087 | void Swap(DisableHWComponentResponse* other); |
| 5088 | friend void swap(DisableHWComponentResponse& a, DisableHWComponentResponse& b) { |
| 5089 | a.Swap(&b); |
| 5090 | } |
| 5091 | |
| 5092 | // implements Message ---------------------------------------------- |
| 5093 | |
| 5094 | inline DisableHWComponentResponse* New() const final { |
| 5095 | return CreateMaybeMessage<DisableHWComponentResponse>(nullptr); |
| 5096 | } |
| 5097 | |
| 5098 | DisableHWComponentResponse* New(::google::protobuf::Arena* arena) const final { |
| 5099 | return CreateMaybeMessage<DisableHWComponentResponse>(arena); |
| 5100 | } |
| 5101 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 5102 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 5103 | void CopyFrom(const DisableHWComponentResponse& from); |
| 5104 | void MergeFrom(const DisableHWComponentResponse& from); |
| 5105 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 5106 | bool IsInitialized() const final; |
| 5107 | |
| 5108 | size_t ByteSizeLong() const final; |
| 5109 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 5110 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 5111 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 5112 | #else |
| 5113 | bool MergePartialFromCodedStream( |
| 5114 | ::google::protobuf::io::CodedInputStream* input) final; |
| 5115 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 5116 | void SerializeWithCachedSizes( |
| 5117 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 5118 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 5119 | ::google::protobuf::uint8* target) const final; |
| 5120 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 5121 | |
| 5122 | private: |
| 5123 | void SharedCtor(); |
| 5124 | void SharedDtor(); |
| 5125 | void SetCachedSize(int size) const final; |
| 5126 | void InternalSwap(DisableHWComponentResponse* other); |
| 5127 | private: |
| 5128 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 5129 | return nullptr; |
| 5130 | } |
| 5131 | inline void* MaybeArenaPtr() const { |
| 5132 | return nullptr; |
| 5133 | } |
| 5134 | public: |
| 5135 | |
| 5136 | ::google::protobuf::Metadata GetMetadata() const final; |
| 5137 | |
| 5138 | // nested types ---------------------------------------------------- |
| 5139 | |
| 5140 | typedef DisableHWComponentResponse_Reason Reason; |
| 5141 | static const Reason UNDEFINED_REASON = |
| 5142 | DisableHWComponentResponse_Reason_UNDEFINED_REASON; |
| 5143 | static const Reason UNKNOWN_DEVICE = |
| 5144 | DisableHWComponentResponse_Reason_UNKNOWN_DEVICE; |
| 5145 | static const Reason UNKNOWN_COMPONENT = |
| 5146 | DisableHWComponentResponse_Reason_UNKNOWN_COMPONENT; |
| 5147 | static const Reason INTERNAL_ERROR = |
| 5148 | DisableHWComponentResponse_Reason_INTERNAL_ERROR; |
| 5149 | static const Reason DEVICE_UNREACHABLE = |
| 5150 | DisableHWComponentResponse_Reason_DEVICE_UNREACHABLE; |
| 5151 | static const Reason DISABLE_UNSUPPORTED = |
| 5152 | DisableHWComponentResponse_Reason_DISABLE_UNSUPPORTED; |
| 5153 | static const Reason INVALID_PARAMS = |
| 5154 | DisableHWComponentResponse_Reason_INVALID_PARAMS; |
| 5155 | static inline bool Reason_IsValid(int value) { |
| 5156 | return DisableHWComponentResponse_Reason_IsValid(value); |
| 5157 | } |
| 5158 | static const Reason Reason_MIN = |
| 5159 | DisableHWComponentResponse_Reason_Reason_MIN; |
| 5160 | static const Reason Reason_MAX = |
| 5161 | DisableHWComponentResponse_Reason_Reason_MAX; |
| 5162 | static const int Reason_ARRAYSIZE = |
| 5163 | DisableHWComponentResponse_Reason_Reason_ARRAYSIZE; |
| 5164 | static inline const ::google::protobuf::EnumDescriptor* |
| 5165 | Reason_descriptor() { |
| 5166 | return DisableHWComponentResponse_Reason_descriptor(); |
| 5167 | } |
| 5168 | static inline const ::std::string& Reason_Name(Reason value) { |
| 5169 | return DisableHWComponentResponse_Reason_Name(value); |
| 5170 | } |
| 5171 | static inline bool Reason_Parse(const ::std::string& name, |
| 5172 | Reason* value) { |
| 5173 | return DisableHWComponentResponse_Reason_Parse(name, value); |
| 5174 | } |
| 5175 | |
| 5176 | // accessors ------------------------------------------------------- |
| 5177 | |
| 5178 | // string reason_detail = 3; |
| 5179 | void clear_reason_detail(); |
| 5180 | static const int kReasonDetailFieldNumber = 3; |
| 5181 | const ::std::string& reason_detail() const; |
| 5182 | void set_reason_detail(const ::std::string& value); |
| 5183 | #if LANG_CXX11 |
| 5184 | void set_reason_detail(::std::string&& value); |
| 5185 | #endif |
| 5186 | void set_reason_detail(const char* value); |
| 5187 | void set_reason_detail(const char* value, size_t size); |
| 5188 | ::std::string* mutable_reason_detail(); |
| 5189 | ::std::string* release_reason_detail(); |
| 5190 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 5191 | |
| 5192 | // .dmi.Status status = 1; |
| 5193 | void clear_status(); |
| 5194 | static const int kStatusFieldNumber = 1; |
| 5195 | ::dmi::Status status() const; |
| 5196 | void set_status(::dmi::Status value); |
| 5197 | |
| 5198 | // .dmi.DisableHWComponentResponse.Reason reason = 2; |
| 5199 | void clear_reason(); |
| 5200 | static const int kReasonFieldNumber = 2; |
| 5201 | ::dmi::DisableHWComponentResponse_Reason reason() const; |
| 5202 | void set_reason(::dmi::DisableHWComponentResponse_Reason value); |
| 5203 | |
| 5204 | // @@protoc_insertion_point(class_scope:dmi.DisableHWComponentResponse) |
| 5205 | private: |
| 5206 | class HasBitSetters; |
| 5207 | |
| 5208 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 5209 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 5210 | int status_; |
| 5211 | int reason_; |
| 5212 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 5213 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 5214 | }; |
| 5215 | // ------------------------------------------------------------------- |
| 5216 | |
| 5217 | class ResetHWComponentRequest final : |
| 5218 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.ResetHWComponentRequest) */ { |
| 5219 | public: |
| 5220 | ResetHWComponentRequest(); |
| 5221 | virtual ~ResetHWComponentRequest(); |
| 5222 | |
| 5223 | ResetHWComponentRequest(const ResetHWComponentRequest& from); |
| 5224 | |
| 5225 | inline ResetHWComponentRequest& operator=(const ResetHWComponentRequest& from) { |
| 5226 | CopyFrom(from); |
| 5227 | return *this; |
| 5228 | } |
| 5229 | #if LANG_CXX11 |
| 5230 | ResetHWComponentRequest(ResetHWComponentRequest&& from) noexcept |
| 5231 | : ResetHWComponentRequest() { |
| 5232 | *this = ::std::move(from); |
| 5233 | } |
| 5234 | |
| 5235 | inline ResetHWComponentRequest& operator=(ResetHWComponentRequest&& from) noexcept { |
| 5236 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 5237 | if (this != &from) InternalSwap(&from); |
| 5238 | } else { |
| 5239 | CopyFrom(from); |
| 5240 | } |
| 5241 | return *this; |
| 5242 | } |
| 5243 | #endif |
| 5244 | static const ::google::protobuf::Descriptor* descriptor() { |
| 5245 | return default_instance().GetDescriptor(); |
| 5246 | } |
| 5247 | static const ResetHWComponentRequest& default_instance(); |
| 5248 | |
| 5249 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 5250 | static inline const ResetHWComponentRequest* internal_default_instance() { |
| 5251 | return reinterpret_cast<const ResetHWComponentRequest*>( |
| 5252 | &_ResetHWComponentRequest_default_instance_); |
| 5253 | } |
| 5254 | static constexpr int kIndexInFileMessages = |
| 5255 | 31; |
| 5256 | |
| 5257 | void Swap(ResetHWComponentRequest* other); |
| 5258 | friend void swap(ResetHWComponentRequest& a, ResetHWComponentRequest& b) { |
| 5259 | a.Swap(&b); |
| 5260 | } |
| 5261 | |
| 5262 | // implements Message ---------------------------------------------- |
| 5263 | |
| 5264 | inline ResetHWComponentRequest* New() const final { |
| 5265 | return CreateMaybeMessage<ResetHWComponentRequest>(nullptr); |
| 5266 | } |
| 5267 | |
| 5268 | ResetHWComponentRequest* New(::google::protobuf::Arena* arena) const final { |
| 5269 | return CreateMaybeMessage<ResetHWComponentRequest>(arena); |
| 5270 | } |
| 5271 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 5272 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 5273 | void CopyFrom(const ResetHWComponentRequest& from); |
| 5274 | void MergeFrom(const ResetHWComponentRequest& from); |
| 5275 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 5276 | bool IsInitialized() const final; |
| 5277 | |
| 5278 | size_t ByteSizeLong() const final; |
| 5279 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 5280 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 5281 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 5282 | #else |
| 5283 | bool MergePartialFromCodedStream( |
| 5284 | ::google::protobuf::io::CodedInputStream* input) final; |
| 5285 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 5286 | void SerializeWithCachedSizes( |
| 5287 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 5288 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 5289 | ::google::protobuf::uint8* target) const final; |
| 5290 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 5291 | |
| 5292 | private: |
| 5293 | void SharedCtor(); |
| 5294 | void SharedDtor(); |
| 5295 | void SetCachedSize(int size) const final; |
| 5296 | void InternalSwap(ResetHWComponentRequest* other); |
| 5297 | private: |
| 5298 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 5299 | return nullptr; |
| 5300 | } |
| 5301 | inline void* MaybeArenaPtr() const { |
| 5302 | return nullptr; |
| 5303 | } |
| 5304 | public: |
| 5305 | |
| 5306 | ::google::protobuf::Metadata GetMetadata() const final; |
| 5307 | |
| 5308 | // nested types ---------------------------------------------------- |
| 5309 | |
| 5310 | // accessors ------------------------------------------------------- |
| 5311 | |
| 5312 | // string component_name = 3; |
| 5313 | void clear_component_name(); |
| 5314 | static const int kComponentNameFieldNumber = 3; |
| 5315 | const ::std::string& component_name() const; |
| 5316 | void set_component_name(const ::std::string& value); |
| 5317 | #if LANG_CXX11 |
| 5318 | void set_component_name(::std::string&& value); |
| 5319 | #endif |
| 5320 | void set_component_name(const char* value); |
| 5321 | void set_component_name(const char* value, size_t size); |
| 5322 | ::std::string* mutable_component_name(); |
| 5323 | ::std::string* release_component_name(); |
| 5324 | void set_allocated_component_name(::std::string* component_name); |
| 5325 | |
| 5326 | // .dmi.Uuid device_uuid = 1; |
| 5327 | bool has_device_uuid() const; |
| 5328 | void clear_device_uuid(); |
| 5329 | static const int kDeviceUuidFieldNumber = 1; |
| 5330 | const ::dmi::Uuid& device_uuid() const; |
| 5331 | ::dmi::Uuid* release_device_uuid(); |
| 5332 | ::dmi::Uuid* mutable_device_uuid(); |
| 5333 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 5334 | |
| 5335 | // .dmi.Uuid component_uuid = 2; |
| 5336 | bool has_component_uuid() const; |
| 5337 | void clear_component_uuid(); |
| 5338 | static const int kComponentUuidFieldNumber = 2; |
| 5339 | const ::dmi::Uuid& component_uuid() const; |
| 5340 | ::dmi::Uuid* release_component_uuid(); |
| 5341 | ::dmi::Uuid* mutable_component_uuid(); |
| 5342 | void set_allocated_component_uuid(::dmi::Uuid* component_uuid); |
| 5343 | |
| 5344 | // @@protoc_insertion_point(class_scope:dmi.ResetHWComponentRequest) |
| 5345 | private: |
| 5346 | class HasBitSetters; |
| 5347 | |
| 5348 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 5349 | ::google::protobuf::internal::ArenaStringPtr component_name_; |
| 5350 | ::dmi::Uuid* device_uuid_; |
| 5351 | ::dmi::Uuid* component_uuid_; |
| 5352 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 5353 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 5354 | }; |
| 5355 | // ------------------------------------------------------------------- |
| 5356 | |
| 5357 | class ResetHWComponentResponse final : |
| 5358 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.ResetHWComponentResponse) */ { |
| 5359 | public: |
| 5360 | ResetHWComponentResponse(); |
| 5361 | virtual ~ResetHWComponentResponse(); |
| 5362 | |
| 5363 | ResetHWComponentResponse(const ResetHWComponentResponse& from); |
| 5364 | |
| 5365 | inline ResetHWComponentResponse& operator=(const ResetHWComponentResponse& from) { |
| 5366 | CopyFrom(from); |
| 5367 | return *this; |
| 5368 | } |
| 5369 | #if LANG_CXX11 |
| 5370 | ResetHWComponentResponse(ResetHWComponentResponse&& from) noexcept |
| 5371 | : ResetHWComponentResponse() { |
| 5372 | *this = ::std::move(from); |
| 5373 | } |
| 5374 | |
| 5375 | inline ResetHWComponentResponse& operator=(ResetHWComponentResponse&& from) noexcept { |
| 5376 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 5377 | if (this != &from) InternalSwap(&from); |
| 5378 | } else { |
| 5379 | CopyFrom(from); |
| 5380 | } |
| 5381 | return *this; |
| 5382 | } |
| 5383 | #endif |
| 5384 | static const ::google::protobuf::Descriptor* descriptor() { |
| 5385 | return default_instance().GetDescriptor(); |
| 5386 | } |
| 5387 | static const ResetHWComponentResponse& default_instance(); |
| 5388 | |
| 5389 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 5390 | static inline const ResetHWComponentResponse* internal_default_instance() { |
| 5391 | return reinterpret_cast<const ResetHWComponentResponse*>( |
| 5392 | &_ResetHWComponentResponse_default_instance_); |
| 5393 | } |
| 5394 | static constexpr int kIndexInFileMessages = |
| 5395 | 32; |
| 5396 | |
| 5397 | void Swap(ResetHWComponentResponse* other); |
| 5398 | friend void swap(ResetHWComponentResponse& a, ResetHWComponentResponse& b) { |
| 5399 | a.Swap(&b); |
| 5400 | } |
| 5401 | |
| 5402 | // implements Message ---------------------------------------------- |
| 5403 | |
| 5404 | inline ResetHWComponentResponse* New() const final { |
| 5405 | return CreateMaybeMessage<ResetHWComponentResponse>(nullptr); |
| 5406 | } |
| 5407 | |
| 5408 | ResetHWComponentResponse* New(::google::protobuf::Arena* arena) const final { |
| 5409 | return CreateMaybeMessage<ResetHWComponentResponse>(arena); |
| 5410 | } |
| 5411 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 5412 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 5413 | void CopyFrom(const ResetHWComponentResponse& from); |
| 5414 | void MergeFrom(const ResetHWComponentResponse& from); |
| 5415 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 5416 | bool IsInitialized() const final; |
| 5417 | |
| 5418 | size_t ByteSizeLong() const final; |
| 5419 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 5420 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 5421 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 5422 | #else |
| 5423 | bool MergePartialFromCodedStream( |
| 5424 | ::google::protobuf::io::CodedInputStream* input) final; |
| 5425 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 5426 | void SerializeWithCachedSizes( |
| 5427 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 5428 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 5429 | ::google::protobuf::uint8* target) const final; |
| 5430 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 5431 | |
| 5432 | private: |
| 5433 | void SharedCtor(); |
| 5434 | void SharedDtor(); |
| 5435 | void SetCachedSize(int size) const final; |
| 5436 | void InternalSwap(ResetHWComponentResponse* other); |
| 5437 | private: |
| 5438 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 5439 | return nullptr; |
| 5440 | } |
| 5441 | inline void* MaybeArenaPtr() const { |
| 5442 | return nullptr; |
| 5443 | } |
| 5444 | public: |
| 5445 | |
| 5446 | ::google::protobuf::Metadata GetMetadata() const final; |
| 5447 | |
| 5448 | // nested types ---------------------------------------------------- |
| 5449 | |
| 5450 | typedef ResetHWComponentResponse_Reason Reason; |
| 5451 | static const Reason UNDEFINED_REASON = |
| 5452 | ResetHWComponentResponse_Reason_UNDEFINED_REASON; |
| 5453 | static const Reason UNKNOWN_DEVICE = |
| 5454 | ResetHWComponentResponse_Reason_UNKNOWN_DEVICE; |
| 5455 | static const Reason UNKNOWN_COMPONENT = |
| 5456 | ResetHWComponentResponse_Reason_UNKNOWN_COMPONENT; |
| 5457 | static const Reason INTERNAL_ERROR = |
| 5458 | ResetHWComponentResponse_Reason_INTERNAL_ERROR; |
| 5459 | static const Reason DEVICE_UNREACHABLE = |
| 5460 | ResetHWComponentResponse_Reason_DEVICE_UNREACHABLE; |
| 5461 | static const Reason RESET_UNSUPPORTED = |
| 5462 | ResetHWComponentResponse_Reason_RESET_UNSUPPORTED; |
| 5463 | static const Reason INVALID_PARAMS = |
| 5464 | ResetHWComponentResponse_Reason_INVALID_PARAMS; |
| 5465 | static inline bool Reason_IsValid(int value) { |
| 5466 | return ResetHWComponentResponse_Reason_IsValid(value); |
| 5467 | } |
| 5468 | static const Reason Reason_MIN = |
| 5469 | ResetHWComponentResponse_Reason_Reason_MIN; |
| 5470 | static const Reason Reason_MAX = |
| 5471 | ResetHWComponentResponse_Reason_Reason_MAX; |
| 5472 | static const int Reason_ARRAYSIZE = |
| 5473 | ResetHWComponentResponse_Reason_Reason_ARRAYSIZE; |
| 5474 | static inline const ::google::protobuf::EnumDescriptor* |
| 5475 | Reason_descriptor() { |
| 5476 | return ResetHWComponentResponse_Reason_descriptor(); |
| 5477 | } |
| 5478 | static inline const ::std::string& Reason_Name(Reason value) { |
| 5479 | return ResetHWComponentResponse_Reason_Name(value); |
| 5480 | } |
| 5481 | static inline bool Reason_Parse(const ::std::string& name, |
| 5482 | Reason* value) { |
| 5483 | return ResetHWComponentResponse_Reason_Parse(name, value); |
| 5484 | } |
| 5485 | |
| 5486 | // accessors ------------------------------------------------------- |
| 5487 | |
| 5488 | // string reason_detail = 3; |
| 5489 | void clear_reason_detail(); |
| 5490 | static const int kReasonDetailFieldNumber = 3; |
| 5491 | const ::std::string& reason_detail() const; |
| 5492 | void set_reason_detail(const ::std::string& value); |
| 5493 | #if LANG_CXX11 |
| 5494 | void set_reason_detail(::std::string&& value); |
| 5495 | #endif |
| 5496 | void set_reason_detail(const char* value); |
| 5497 | void set_reason_detail(const char* value, size_t size); |
| 5498 | ::std::string* mutable_reason_detail(); |
| 5499 | ::std::string* release_reason_detail(); |
| 5500 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 5501 | |
| 5502 | // .dmi.Status status = 1; |
| 5503 | void clear_status(); |
| 5504 | static const int kStatusFieldNumber = 1; |
| 5505 | ::dmi::Status status() const; |
| 5506 | void set_status(::dmi::Status value); |
| 5507 | |
| 5508 | // .dmi.ResetHWComponentResponse.Reason reason = 2; |
| 5509 | void clear_reason(); |
| 5510 | static const int kReasonFieldNumber = 2; |
| 5511 | ::dmi::ResetHWComponentResponse_Reason reason() const; |
| 5512 | void set_reason(::dmi::ResetHWComponentResponse_Reason value); |
| 5513 | |
| 5514 | // @@protoc_insertion_point(class_scope:dmi.ResetHWComponentResponse) |
| 5515 | private: |
| 5516 | class HasBitSetters; |
| 5517 | |
| 5518 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 5519 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 5520 | int status_; |
| 5521 | int reason_; |
| 5522 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 5523 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 5524 | }; |
| 5525 | // ------------------------------------------------------------------- |
| 5526 | |
| 5527 | class EnableHWComponentRequest final : |
| 5528 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.EnableHWComponentRequest) */ { |
| 5529 | public: |
| 5530 | EnableHWComponentRequest(); |
| 5531 | virtual ~EnableHWComponentRequest(); |
| 5532 | |
| 5533 | EnableHWComponentRequest(const EnableHWComponentRequest& from); |
| 5534 | |
| 5535 | inline EnableHWComponentRequest& operator=(const EnableHWComponentRequest& from) { |
| 5536 | CopyFrom(from); |
| 5537 | return *this; |
| 5538 | } |
| 5539 | #if LANG_CXX11 |
| 5540 | EnableHWComponentRequest(EnableHWComponentRequest&& from) noexcept |
| 5541 | : EnableHWComponentRequest() { |
| 5542 | *this = ::std::move(from); |
| 5543 | } |
| 5544 | |
| 5545 | inline EnableHWComponentRequest& operator=(EnableHWComponentRequest&& from) noexcept { |
| 5546 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 5547 | if (this != &from) InternalSwap(&from); |
| 5548 | } else { |
| 5549 | CopyFrom(from); |
| 5550 | } |
| 5551 | return *this; |
| 5552 | } |
| 5553 | #endif |
| 5554 | static const ::google::protobuf::Descriptor* descriptor() { |
| 5555 | return default_instance().GetDescriptor(); |
| 5556 | } |
| 5557 | static const EnableHWComponentRequest& default_instance(); |
| 5558 | |
| 5559 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 5560 | static inline const EnableHWComponentRequest* internal_default_instance() { |
| 5561 | return reinterpret_cast<const EnableHWComponentRequest*>( |
| 5562 | &_EnableHWComponentRequest_default_instance_); |
| 5563 | } |
| 5564 | static constexpr int kIndexInFileMessages = |
| 5565 | 33; |
| 5566 | |
| 5567 | void Swap(EnableHWComponentRequest* other); |
| 5568 | friend void swap(EnableHWComponentRequest& a, EnableHWComponentRequest& b) { |
| 5569 | a.Swap(&b); |
| 5570 | } |
| 5571 | |
| 5572 | // implements Message ---------------------------------------------- |
| 5573 | |
| 5574 | inline EnableHWComponentRequest* New() const final { |
| 5575 | return CreateMaybeMessage<EnableHWComponentRequest>(nullptr); |
| 5576 | } |
| 5577 | |
| 5578 | EnableHWComponentRequest* New(::google::protobuf::Arena* arena) const final { |
| 5579 | return CreateMaybeMessage<EnableHWComponentRequest>(arena); |
| 5580 | } |
| 5581 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 5582 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 5583 | void CopyFrom(const EnableHWComponentRequest& from); |
| 5584 | void MergeFrom(const EnableHWComponentRequest& from); |
| 5585 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 5586 | bool IsInitialized() const final; |
| 5587 | |
| 5588 | size_t ByteSizeLong() const final; |
| 5589 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 5590 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 5591 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 5592 | #else |
| 5593 | bool MergePartialFromCodedStream( |
| 5594 | ::google::protobuf::io::CodedInputStream* input) final; |
| 5595 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 5596 | void SerializeWithCachedSizes( |
| 5597 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 5598 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 5599 | ::google::protobuf::uint8* target) const final; |
| 5600 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 5601 | |
| 5602 | private: |
| 5603 | void SharedCtor(); |
| 5604 | void SharedDtor(); |
| 5605 | void SetCachedSize(int size) const final; |
| 5606 | void InternalSwap(EnableHWComponentRequest* other); |
| 5607 | private: |
| 5608 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 5609 | return nullptr; |
| 5610 | } |
| 5611 | inline void* MaybeArenaPtr() const { |
| 5612 | return nullptr; |
| 5613 | } |
| 5614 | public: |
| 5615 | |
| 5616 | ::google::protobuf::Metadata GetMetadata() const final; |
| 5617 | |
| 5618 | // nested types ---------------------------------------------------- |
| 5619 | |
| 5620 | // accessors ------------------------------------------------------- |
| 5621 | |
| 5622 | // string component_name = 3; |
| 5623 | void clear_component_name(); |
| 5624 | static const int kComponentNameFieldNumber = 3; |
| 5625 | const ::std::string& component_name() const; |
| 5626 | void set_component_name(const ::std::string& value); |
| 5627 | #if LANG_CXX11 |
| 5628 | void set_component_name(::std::string&& value); |
| 5629 | #endif |
| 5630 | void set_component_name(const char* value); |
| 5631 | void set_component_name(const char* value, size_t size); |
| 5632 | ::std::string* mutable_component_name(); |
| 5633 | ::std::string* release_component_name(); |
| 5634 | void set_allocated_component_name(::std::string* component_name); |
| 5635 | |
| 5636 | // .dmi.Uuid device_uuid = 1; |
| 5637 | bool has_device_uuid() const; |
| 5638 | void clear_device_uuid(); |
| 5639 | static const int kDeviceUuidFieldNumber = 1; |
| 5640 | const ::dmi::Uuid& device_uuid() const; |
| 5641 | ::dmi::Uuid* release_device_uuid(); |
| 5642 | ::dmi::Uuid* mutable_device_uuid(); |
| 5643 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 5644 | |
| 5645 | // .dmi.Uuid component_uuid = 2; |
| 5646 | bool has_component_uuid() const; |
| 5647 | void clear_component_uuid(); |
| 5648 | static const int kComponentUuidFieldNumber = 2; |
| 5649 | const ::dmi::Uuid& component_uuid() const; |
| 5650 | ::dmi::Uuid* release_component_uuid(); |
| 5651 | ::dmi::Uuid* mutable_component_uuid(); |
| 5652 | void set_allocated_component_uuid(::dmi::Uuid* component_uuid); |
| 5653 | |
| 5654 | // @@protoc_insertion_point(class_scope:dmi.EnableHWComponentRequest) |
| 5655 | private: |
| 5656 | class HasBitSetters; |
| 5657 | |
| 5658 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 5659 | ::google::protobuf::internal::ArenaStringPtr component_name_; |
| 5660 | ::dmi::Uuid* device_uuid_; |
| 5661 | ::dmi::Uuid* component_uuid_; |
| 5662 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 5663 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 5664 | }; |
| 5665 | // ------------------------------------------------------------------- |
| 5666 | |
| 5667 | class EnableHWComponentResponse final : |
| 5668 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.EnableHWComponentResponse) */ { |
| 5669 | public: |
| 5670 | EnableHWComponentResponse(); |
| 5671 | virtual ~EnableHWComponentResponse(); |
| 5672 | |
| 5673 | EnableHWComponentResponse(const EnableHWComponentResponse& from); |
| 5674 | |
| 5675 | inline EnableHWComponentResponse& operator=(const EnableHWComponentResponse& from) { |
| 5676 | CopyFrom(from); |
| 5677 | return *this; |
| 5678 | } |
| 5679 | #if LANG_CXX11 |
| 5680 | EnableHWComponentResponse(EnableHWComponentResponse&& from) noexcept |
| 5681 | : EnableHWComponentResponse() { |
| 5682 | *this = ::std::move(from); |
| 5683 | } |
| 5684 | |
| 5685 | inline EnableHWComponentResponse& operator=(EnableHWComponentResponse&& from) noexcept { |
| 5686 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 5687 | if (this != &from) InternalSwap(&from); |
| 5688 | } else { |
| 5689 | CopyFrom(from); |
| 5690 | } |
| 5691 | return *this; |
| 5692 | } |
| 5693 | #endif |
| 5694 | static const ::google::protobuf::Descriptor* descriptor() { |
| 5695 | return default_instance().GetDescriptor(); |
| 5696 | } |
| 5697 | static const EnableHWComponentResponse& default_instance(); |
| 5698 | |
| 5699 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 5700 | static inline const EnableHWComponentResponse* internal_default_instance() { |
| 5701 | return reinterpret_cast<const EnableHWComponentResponse*>( |
| 5702 | &_EnableHWComponentResponse_default_instance_); |
| 5703 | } |
| 5704 | static constexpr int kIndexInFileMessages = |
| 5705 | 34; |
| 5706 | |
| 5707 | void Swap(EnableHWComponentResponse* other); |
| 5708 | friend void swap(EnableHWComponentResponse& a, EnableHWComponentResponse& b) { |
| 5709 | a.Swap(&b); |
| 5710 | } |
| 5711 | |
| 5712 | // implements Message ---------------------------------------------- |
| 5713 | |
| 5714 | inline EnableHWComponentResponse* New() const final { |
| 5715 | return CreateMaybeMessage<EnableHWComponentResponse>(nullptr); |
| 5716 | } |
| 5717 | |
| 5718 | EnableHWComponentResponse* New(::google::protobuf::Arena* arena) const final { |
| 5719 | return CreateMaybeMessage<EnableHWComponentResponse>(arena); |
| 5720 | } |
| 5721 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 5722 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 5723 | void CopyFrom(const EnableHWComponentResponse& from); |
| 5724 | void MergeFrom(const EnableHWComponentResponse& from); |
| 5725 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 5726 | bool IsInitialized() const final; |
| 5727 | |
| 5728 | size_t ByteSizeLong() const final; |
| 5729 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 5730 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 5731 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 5732 | #else |
| 5733 | bool MergePartialFromCodedStream( |
| 5734 | ::google::protobuf::io::CodedInputStream* input) final; |
| 5735 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 5736 | void SerializeWithCachedSizes( |
| 5737 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 5738 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 5739 | ::google::protobuf::uint8* target) const final; |
| 5740 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 5741 | |
| 5742 | private: |
| 5743 | void SharedCtor(); |
| 5744 | void SharedDtor(); |
| 5745 | void SetCachedSize(int size) const final; |
| 5746 | void InternalSwap(EnableHWComponentResponse* other); |
| 5747 | private: |
| 5748 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 5749 | return nullptr; |
| 5750 | } |
| 5751 | inline void* MaybeArenaPtr() const { |
| 5752 | return nullptr; |
| 5753 | } |
| 5754 | public: |
| 5755 | |
| 5756 | ::google::protobuf::Metadata GetMetadata() const final; |
| 5757 | |
| 5758 | // nested types ---------------------------------------------------- |
| 5759 | |
| 5760 | typedef EnableHWComponentResponse_Reason Reason; |
| 5761 | static const Reason UNDEFINED_REASON = |
| 5762 | EnableHWComponentResponse_Reason_UNDEFINED_REASON; |
| 5763 | static const Reason UNKNOWN_DEVICE = |
| 5764 | EnableHWComponentResponse_Reason_UNKNOWN_DEVICE; |
| 5765 | static const Reason UNKNOWN_COMPONENT = |
| 5766 | EnableHWComponentResponse_Reason_UNKNOWN_COMPONENT; |
| 5767 | static const Reason INTERNAL_ERROR = |
| 5768 | EnableHWComponentResponse_Reason_INTERNAL_ERROR; |
| 5769 | static const Reason DEVICE_UNREACHABLE = |
| 5770 | EnableHWComponentResponse_Reason_DEVICE_UNREACHABLE; |
| 5771 | static const Reason ENABLE_UNSUPPORTED = |
| 5772 | EnableHWComponentResponse_Reason_ENABLE_UNSUPPORTED; |
| 5773 | static const Reason INVALID_PARAMS = |
| 5774 | EnableHWComponentResponse_Reason_INVALID_PARAMS; |
| 5775 | static inline bool Reason_IsValid(int value) { |
| 5776 | return EnableHWComponentResponse_Reason_IsValid(value); |
| 5777 | } |
| 5778 | static const Reason Reason_MIN = |
| 5779 | EnableHWComponentResponse_Reason_Reason_MIN; |
| 5780 | static const Reason Reason_MAX = |
| 5781 | EnableHWComponentResponse_Reason_Reason_MAX; |
| 5782 | static const int Reason_ARRAYSIZE = |
| 5783 | EnableHWComponentResponse_Reason_Reason_ARRAYSIZE; |
| 5784 | static inline const ::google::protobuf::EnumDescriptor* |
| 5785 | Reason_descriptor() { |
| 5786 | return EnableHWComponentResponse_Reason_descriptor(); |
| 5787 | } |
| 5788 | static inline const ::std::string& Reason_Name(Reason value) { |
| 5789 | return EnableHWComponentResponse_Reason_Name(value); |
| 5790 | } |
| 5791 | static inline bool Reason_Parse(const ::std::string& name, |
| 5792 | Reason* value) { |
| 5793 | return EnableHWComponentResponse_Reason_Parse(name, value); |
| 5794 | } |
| 5795 | |
| 5796 | // accessors ------------------------------------------------------- |
| 5797 | |
| 5798 | // string reason_detail = 3; |
| 5799 | void clear_reason_detail(); |
| 5800 | static const int kReasonDetailFieldNumber = 3; |
| 5801 | const ::std::string& reason_detail() const; |
| 5802 | void set_reason_detail(const ::std::string& value); |
| 5803 | #if LANG_CXX11 |
| 5804 | void set_reason_detail(::std::string&& value); |
| 5805 | #endif |
| 5806 | void set_reason_detail(const char* value); |
| 5807 | void set_reason_detail(const char* value, size_t size); |
| 5808 | ::std::string* mutable_reason_detail(); |
| 5809 | ::std::string* release_reason_detail(); |
| 5810 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 5811 | |
| 5812 | // .dmi.Status status = 1; |
| 5813 | void clear_status(); |
| 5814 | static const int kStatusFieldNumber = 1; |
| 5815 | ::dmi::Status status() const; |
| 5816 | void set_status(::dmi::Status value); |
| 5817 | |
| 5818 | // .dmi.EnableHWComponentResponse.Reason reason = 2; |
| 5819 | void clear_reason(); |
| 5820 | static const int kReasonFieldNumber = 2; |
| 5821 | ::dmi::EnableHWComponentResponse_Reason reason() const; |
| 5822 | void set_reason(::dmi::EnableHWComponentResponse_Reason value); |
| 5823 | |
| 5824 | // @@protoc_insertion_point(class_scope:dmi.EnableHWComponentResponse) |
| 5825 | private: |
| 5826 | class HasBitSetters; |
| 5827 | |
| 5828 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 5829 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 5830 | int status_; |
| 5831 | int reason_; |
| 5832 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 5833 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 5834 | }; |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 5835 | // =================================================================== |
| 5836 | |
| 5837 | |
| 5838 | // =================================================================== |
| 5839 | |
| 5840 | #ifdef __GNUC__ |
| 5841 | #pragma GCC diagnostic push |
| 5842 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
| 5843 | #endif // __GNUC__ |
| 5844 | // PhysicalInventoryRequest |
| 5845 | |
| 5846 | // .dmi.Uuid device_uuid = 1; |
| 5847 | inline bool PhysicalInventoryRequest::has_device_uuid() const { |
| 5848 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 5849 | } |
| 5850 | inline const ::dmi::Uuid& PhysicalInventoryRequest::device_uuid() const { |
| 5851 | const ::dmi::Uuid* p = device_uuid_; |
| 5852 | // @@protoc_insertion_point(field_get:dmi.PhysicalInventoryRequest.device_uuid) |
| 5853 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 5854 | &::dmi::_Uuid_default_instance_); |
| 5855 | } |
| 5856 | inline ::dmi::Uuid* PhysicalInventoryRequest::release_device_uuid() { |
| 5857 | // @@protoc_insertion_point(field_release:dmi.PhysicalInventoryRequest.device_uuid) |
| 5858 | |
| 5859 | ::dmi::Uuid* temp = device_uuid_; |
| 5860 | device_uuid_ = nullptr; |
| 5861 | return temp; |
| 5862 | } |
| 5863 | inline ::dmi::Uuid* PhysicalInventoryRequest::mutable_device_uuid() { |
| 5864 | |
| 5865 | if (device_uuid_ == nullptr) { |
| 5866 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 5867 | device_uuid_ = p; |
| 5868 | } |
| 5869 | // @@protoc_insertion_point(field_mutable:dmi.PhysicalInventoryRequest.device_uuid) |
| 5870 | return device_uuid_; |
| 5871 | } |
| 5872 | inline void PhysicalInventoryRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 5873 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 5874 | if (message_arena == nullptr) { |
| 5875 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 5876 | } |
| 5877 | if (device_uuid) { |
| 5878 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 5879 | if (message_arena != submessage_arena) { |
| 5880 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 5881 | message_arena, device_uuid, submessage_arena); |
| 5882 | } |
| 5883 | |
| 5884 | } else { |
| 5885 | |
| 5886 | } |
| 5887 | device_uuid_ = device_uuid; |
| 5888 | // @@protoc_insertion_point(field_set_allocated:dmi.PhysicalInventoryRequest.device_uuid) |
| 5889 | } |
| 5890 | |
| 5891 | // ------------------------------------------------------------------- |
| 5892 | |
| 5893 | // PhysicalInventoryResponse |
| 5894 | |
| 5895 | // .dmi.Status status = 1; |
| 5896 | inline void PhysicalInventoryResponse::clear_status() { |
| 5897 | status_ = 0; |
| 5898 | } |
| 5899 | inline ::dmi::Status PhysicalInventoryResponse::status() const { |
| 5900 | // @@protoc_insertion_point(field_get:dmi.PhysicalInventoryResponse.status) |
| 5901 | return static_cast< ::dmi::Status >(status_); |
| 5902 | } |
| 5903 | inline void PhysicalInventoryResponse::set_status(::dmi::Status value) { |
| 5904 | |
| 5905 | status_ = value; |
| 5906 | // @@protoc_insertion_point(field_set:dmi.PhysicalInventoryResponse.status) |
| 5907 | } |
| 5908 | |
| 5909 | // .dmi.PhysicalInventoryResponse.Reason reason = 2; |
| 5910 | inline void PhysicalInventoryResponse::clear_reason() { |
| 5911 | reason_ = 0; |
| 5912 | } |
| 5913 | inline ::dmi::PhysicalInventoryResponse_Reason PhysicalInventoryResponse::reason() const { |
| 5914 | // @@protoc_insertion_point(field_get:dmi.PhysicalInventoryResponse.reason) |
| 5915 | return static_cast< ::dmi::PhysicalInventoryResponse_Reason >(reason_); |
| 5916 | } |
| 5917 | inline void PhysicalInventoryResponse::set_reason(::dmi::PhysicalInventoryResponse_Reason value) { |
| 5918 | |
| 5919 | reason_ = value; |
| 5920 | // @@protoc_insertion_point(field_set:dmi.PhysicalInventoryResponse.reason) |
| 5921 | } |
| 5922 | |
| 5923 | // .dmi.Hardware inventory = 3; |
| 5924 | inline bool PhysicalInventoryResponse::has_inventory() const { |
| 5925 | return this != internal_default_instance() && inventory_ != nullptr; |
| 5926 | } |
| 5927 | inline const ::dmi::Hardware& PhysicalInventoryResponse::inventory() const { |
| 5928 | const ::dmi::Hardware* p = inventory_; |
| 5929 | // @@protoc_insertion_point(field_get:dmi.PhysicalInventoryResponse.inventory) |
| 5930 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Hardware*>( |
| 5931 | &::dmi::_Hardware_default_instance_); |
| 5932 | } |
| 5933 | inline ::dmi::Hardware* PhysicalInventoryResponse::release_inventory() { |
| 5934 | // @@protoc_insertion_point(field_release:dmi.PhysicalInventoryResponse.inventory) |
| 5935 | |
| 5936 | ::dmi::Hardware* temp = inventory_; |
| 5937 | inventory_ = nullptr; |
| 5938 | return temp; |
| 5939 | } |
| 5940 | inline ::dmi::Hardware* PhysicalInventoryResponse::mutable_inventory() { |
| 5941 | |
| 5942 | if (inventory_ == nullptr) { |
| 5943 | auto* p = CreateMaybeMessage<::dmi::Hardware>(GetArenaNoVirtual()); |
| 5944 | inventory_ = p; |
| 5945 | } |
| 5946 | // @@protoc_insertion_point(field_mutable:dmi.PhysicalInventoryResponse.inventory) |
| 5947 | return inventory_; |
| 5948 | } |
| 5949 | inline void PhysicalInventoryResponse::set_allocated_inventory(::dmi::Hardware* inventory) { |
| 5950 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 5951 | if (message_arena == nullptr) { |
| 5952 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(inventory_); |
| 5953 | } |
| 5954 | if (inventory) { |
| 5955 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 5956 | if (message_arena != submessage_arena) { |
| 5957 | inventory = ::google::protobuf::internal::GetOwnedMessage( |
| 5958 | message_arena, inventory, submessage_arena); |
| 5959 | } |
| 5960 | |
| 5961 | } else { |
| 5962 | |
| 5963 | } |
| 5964 | inventory_ = inventory; |
| 5965 | // @@protoc_insertion_point(field_set_allocated:dmi.PhysicalInventoryResponse.inventory) |
| 5966 | } |
| 5967 | |
| 5968 | // string reason_detail = 4; |
| 5969 | inline void PhysicalInventoryResponse::clear_reason_detail() { |
| 5970 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5971 | } |
| 5972 | inline const ::std::string& PhysicalInventoryResponse::reason_detail() const { |
| 5973 | // @@protoc_insertion_point(field_get:dmi.PhysicalInventoryResponse.reason_detail) |
| 5974 | return reason_detail_.GetNoArena(); |
| 5975 | } |
| 5976 | inline void PhysicalInventoryResponse::set_reason_detail(const ::std::string& value) { |
| 5977 | |
| 5978 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 5979 | // @@protoc_insertion_point(field_set:dmi.PhysicalInventoryResponse.reason_detail) |
| 5980 | } |
| 5981 | #if LANG_CXX11 |
| 5982 | inline void PhysicalInventoryResponse::set_reason_detail(::std::string&& value) { |
| 5983 | |
| 5984 | reason_detail_.SetNoArena( |
| 5985 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 5986 | // @@protoc_insertion_point(field_set_rvalue:dmi.PhysicalInventoryResponse.reason_detail) |
| 5987 | } |
| 5988 | #endif |
| 5989 | inline void PhysicalInventoryResponse::set_reason_detail(const char* value) { |
| 5990 | GOOGLE_DCHECK(value != nullptr); |
| 5991 | |
| 5992 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 5993 | // @@protoc_insertion_point(field_set_char:dmi.PhysicalInventoryResponse.reason_detail) |
| 5994 | } |
| 5995 | inline void PhysicalInventoryResponse::set_reason_detail(const char* value, size_t size) { |
| 5996 | |
| 5997 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 5998 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5999 | // @@protoc_insertion_point(field_set_pointer:dmi.PhysicalInventoryResponse.reason_detail) |
| 6000 | } |
| 6001 | inline ::std::string* PhysicalInventoryResponse::mutable_reason_detail() { |
| 6002 | |
| 6003 | // @@protoc_insertion_point(field_mutable:dmi.PhysicalInventoryResponse.reason_detail) |
| 6004 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6005 | } |
| 6006 | inline ::std::string* PhysicalInventoryResponse::release_reason_detail() { |
| 6007 | // @@protoc_insertion_point(field_release:dmi.PhysicalInventoryResponse.reason_detail) |
| 6008 | |
| 6009 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6010 | } |
| 6011 | inline void PhysicalInventoryResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 6012 | if (reason_detail != nullptr) { |
| 6013 | |
| 6014 | } else { |
| 6015 | |
| 6016 | } |
| 6017 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 6018 | // @@protoc_insertion_point(field_set_allocated:dmi.PhysicalInventoryResponse.reason_detail) |
| 6019 | } |
| 6020 | |
| 6021 | // ------------------------------------------------------------------- |
| 6022 | |
| 6023 | // HWComponentInfoGetRequest |
| 6024 | |
| 6025 | // .dmi.Uuid device_uuid = 1; |
| 6026 | inline bool HWComponentInfoGetRequest::has_device_uuid() const { |
| 6027 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 6028 | } |
| 6029 | inline const ::dmi::Uuid& HWComponentInfoGetRequest::device_uuid() const { |
| 6030 | const ::dmi::Uuid* p = device_uuid_; |
| 6031 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoGetRequest.device_uuid) |
| 6032 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 6033 | &::dmi::_Uuid_default_instance_); |
| 6034 | } |
| 6035 | inline ::dmi::Uuid* HWComponentInfoGetRequest::release_device_uuid() { |
| 6036 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoGetRequest.device_uuid) |
| 6037 | |
| 6038 | ::dmi::Uuid* temp = device_uuid_; |
| 6039 | device_uuid_ = nullptr; |
| 6040 | return temp; |
| 6041 | } |
| 6042 | inline ::dmi::Uuid* HWComponentInfoGetRequest::mutable_device_uuid() { |
| 6043 | |
| 6044 | if (device_uuid_ == nullptr) { |
| 6045 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 6046 | device_uuid_ = p; |
| 6047 | } |
| 6048 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoGetRequest.device_uuid) |
| 6049 | return device_uuid_; |
| 6050 | } |
| 6051 | inline void HWComponentInfoGetRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 6052 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 6053 | if (message_arena == nullptr) { |
| 6054 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 6055 | } |
| 6056 | if (device_uuid) { |
| 6057 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 6058 | if (message_arena != submessage_arena) { |
| 6059 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 6060 | message_arena, device_uuid, submessage_arena); |
| 6061 | } |
| 6062 | |
| 6063 | } else { |
| 6064 | |
| 6065 | } |
| 6066 | device_uuid_ = device_uuid; |
| 6067 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoGetRequest.device_uuid) |
| 6068 | } |
| 6069 | |
| 6070 | // .dmi.Uuid component_uuid = 2; |
| 6071 | inline bool HWComponentInfoGetRequest::has_component_uuid() const { |
| 6072 | return this != internal_default_instance() && component_uuid_ != nullptr; |
| 6073 | } |
| 6074 | inline const ::dmi::Uuid& HWComponentInfoGetRequest::component_uuid() const { |
| 6075 | const ::dmi::Uuid* p = component_uuid_; |
| 6076 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoGetRequest.component_uuid) |
| 6077 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 6078 | &::dmi::_Uuid_default_instance_); |
| 6079 | } |
| 6080 | inline ::dmi::Uuid* HWComponentInfoGetRequest::release_component_uuid() { |
| 6081 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoGetRequest.component_uuid) |
| 6082 | |
| 6083 | ::dmi::Uuid* temp = component_uuid_; |
| 6084 | component_uuid_ = nullptr; |
| 6085 | return temp; |
| 6086 | } |
| 6087 | inline ::dmi::Uuid* HWComponentInfoGetRequest::mutable_component_uuid() { |
| 6088 | |
| 6089 | if (component_uuid_ == nullptr) { |
| 6090 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 6091 | component_uuid_ = p; |
| 6092 | } |
| 6093 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoGetRequest.component_uuid) |
| 6094 | return component_uuid_; |
| 6095 | } |
| 6096 | inline void HWComponentInfoGetRequest::set_allocated_component_uuid(::dmi::Uuid* component_uuid) { |
| 6097 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 6098 | if (message_arena == nullptr) { |
| 6099 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(component_uuid_); |
| 6100 | } |
| 6101 | if (component_uuid) { |
| 6102 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 6103 | if (message_arena != submessage_arena) { |
| 6104 | component_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 6105 | message_arena, component_uuid, submessage_arena); |
| 6106 | } |
| 6107 | |
| 6108 | } else { |
| 6109 | |
| 6110 | } |
| 6111 | component_uuid_ = component_uuid; |
| 6112 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoGetRequest.component_uuid) |
| 6113 | } |
| 6114 | |
| 6115 | // string component_name = 3; |
| 6116 | inline void HWComponentInfoGetRequest::clear_component_name() { |
| 6117 | component_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6118 | } |
| 6119 | inline const ::std::string& HWComponentInfoGetRequest::component_name() const { |
| 6120 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoGetRequest.component_name) |
| 6121 | return component_name_.GetNoArena(); |
| 6122 | } |
| 6123 | inline void HWComponentInfoGetRequest::set_component_name(const ::std::string& value) { |
| 6124 | |
| 6125 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 6126 | // @@protoc_insertion_point(field_set:dmi.HWComponentInfoGetRequest.component_name) |
| 6127 | } |
| 6128 | #if LANG_CXX11 |
| 6129 | inline void HWComponentInfoGetRequest::set_component_name(::std::string&& value) { |
| 6130 | |
| 6131 | component_name_.SetNoArena( |
| 6132 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 6133 | // @@protoc_insertion_point(field_set_rvalue:dmi.HWComponentInfoGetRequest.component_name) |
| 6134 | } |
| 6135 | #endif |
| 6136 | inline void HWComponentInfoGetRequest::set_component_name(const char* value) { |
| 6137 | GOOGLE_DCHECK(value != nullptr); |
| 6138 | |
| 6139 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 6140 | // @@protoc_insertion_point(field_set_char:dmi.HWComponentInfoGetRequest.component_name) |
| 6141 | } |
| 6142 | inline void HWComponentInfoGetRequest::set_component_name(const char* value, size_t size) { |
| 6143 | |
| 6144 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 6145 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 6146 | // @@protoc_insertion_point(field_set_pointer:dmi.HWComponentInfoGetRequest.component_name) |
| 6147 | } |
| 6148 | inline ::std::string* HWComponentInfoGetRequest::mutable_component_name() { |
| 6149 | |
| 6150 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoGetRequest.component_name) |
| 6151 | return component_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6152 | } |
| 6153 | inline ::std::string* HWComponentInfoGetRequest::release_component_name() { |
| 6154 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoGetRequest.component_name) |
| 6155 | |
| 6156 | return component_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6157 | } |
| 6158 | inline void HWComponentInfoGetRequest::set_allocated_component_name(::std::string* component_name) { |
| 6159 | if (component_name != nullptr) { |
| 6160 | |
| 6161 | } else { |
| 6162 | |
| 6163 | } |
| 6164 | component_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), component_name); |
| 6165 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoGetRequest.component_name) |
| 6166 | } |
| 6167 | |
| 6168 | // ------------------------------------------------------------------- |
| 6169 | |
| 6170 | // HWComponentInfoGetResponse |
| 6171 | |
| 6172 | // .dmi.Status status = 1; |
| 6173 | inline void HWComponentInfoGetResponse::clear_status() { |
| 6174 | status_ = 0; |
| 6175 | } |
| 6176 | inline ::dmi::Status HWComponentInfoGetResponse::status() const { |
| 6177 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoGetResponse.status) |
| 6178 | return static_cast< ::dmi::Status >(status_); |
| 6179 | } |
| 6180 | inline void HWComponentInfoGetResponse::set_status(::dmi::Status value) { |
| 6181 | |
| 6182 | status_ = value; |
| 6183 | // @@protoc_insertion_point(field_set:dmi.HWComponentInfoGetResponse.status) |
| 6184 | } |
| 6185 | |
| 6186 | // .dmi.HWComponentInfoGetResponse.Reason reason = 2; |
| 6187 | inline void HWComponentInfoGetResponse::clear_reason() { |
| 6188 | reason_ = 0; |
| 6189 | } |
| 6190 | inline ::dmi::HWComponentInfoGetResponse_Reason HWComponentInfoGetResponse::reason() const { |
| 6191 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoGetResponse.reason) |
| 6192 | return static_cast< ::dmi::HWComponentInfoGetResponse_Reason >(reason_); |
| 6193 | } |
| 6194 | inline void HWComponentInfoGetResponse::set_reason(::dmi::HWComponentInfoGetResponse_Reason value) { |
| 6195 | |
| 6196 | reason_ = value; |
| 6197 | // @@protoc_insertion_point(field_set:dmi.HWComponentInfoGetResponse.reason) |
| 6198 | } |
| 6199 | |
| 6200 | // .dmi.Component component = 3; |
| 6201 | inline bool HWComponentInfoGetResponse::has_component() const { |
| 6202 | return this != internal_default_instance() && component_ != nullptr; |
| 6203 | } |
| 6204 | inline const ::dmi::Component& HWComponentInfoGetResponse::component() const { |
| 6205 | const ::dmi::Component* p = component_; |
| 6206 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoGetResponse.component) |
| 6207 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Component*>( |
| 6208 | &::dmi::_Component_default_instance_); |
| 6209 | } |
| 6210 | inline ::dmi::Component* HWComponentInfoGetResponse::release_component() { |
| 6211 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoGetResponse.component) |
| 6212 | |
| 6213 | ::dmi::Component* temp = component_; |
| 6214 | component_ = nullptr; |
| 6215 | return temp; |
| 6216 | } |
| 6217 | inline ::dmi::Component* HWComponentInfoGetResponse::mutable_component() { |
| 6218 | |
| 6219 | if (component_ == nullptr) { |
| 6220 | auto* p = CreateMaybeMessage<::dmi::Component>(GetArenaNoVirtual()); |
| 6221 | component_ = p; |
| 6222 | } |
| 6223 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoGetResponse.component) |
| 6224 | return component_; |
| 6225 | } |
| 6226 | inline void HWComponentInfoGetResponse::set_allocated_component(::dmi::Component* component) { |
| 6227 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 6228 | if (message_arena == nullptr) { |
| 6229 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(component_); |
| 6230 | } |
| 6231 | if (component) { |
| 6232 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 6233 | if (message_arena != submessage_arena) { |
| 6234 | component = ::google::protobuf::internal::GetOwnedMessage( |
| 6235 | message_arena, component, submessage_arena); |
| 6236 | } |
| 6237 | |
| 6238 | } else { |
| 6239 | |
| 6240 | } |
| 6241 | component_ = component; |
| 6242 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoGetResponse.component) |
| 6243 | } |
| 6244 | |
| 6245 | // string reason_detail = 4; |
| 6246 | inline void HWComponentInfoGetResponse::clear_reason_detail() { |
| 6247 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6248 | } |
| 6249 | inline const ::std::string& HWComponentInfoGetResponse::reason_detail() const { |
| 6250 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoGetResponse.reason_detail) |
| 6251 | return reason_detail_.GetNoArena(); |
| 6252 | } |
| 6253 | inline void HWComponentInfoGetResponse::set_reason_detail(const ::std::string& value) { |
| 6254 | |
| 6255 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 6256 | // @@protoc_insertion_point(field_set:dmi.HWComponentInfoGetResponse.reason_detail) |
| 6257 | } |
| 6258 | #if LANG_CXX11 |
| 6259 | inline void HWComponentInfoGetResponse::set_reason_detail(::std::string&& value) { |
| 6260 | |
| 6261 | reason_detail_.SetNoArena( |
| 6262 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 6263 | // @@protoc_insertion_point(field_set_rvalue:dmi.HWComponentInfoGetResponse.reason_detail) |
| 6264 | } |
| 6265 | #endif |
| 6266 | inline void HWComponentInfoGetResponse::set_reason_detail(const char* value) { |
| 6267 | GOOGLE_DCHECK(value != nullptr); |
| 6268 | |
| 6269 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 6270 | // @@protoc_insertion_point(field_set_char:dmi.HWComponentInfoGetResponse.reason_detail) |
| 6271 | } |
| 6272 | inline void HWComponentInfoGetResponse::set_reason_detail(const char* value, size_t size) { |
| 6273 | |
| 6274 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 6275 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 6276 | // @@protoc_insertion_point(field_set_pointer:dmi.HWComponentInfoGetResponse.reason_detail) |
| 6277 | } |
| 6278 | inline ::std::string* HWComponentInfoGetResponse::mutable_reason_detail() { |
| 6279 | |
| 6280 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoGetResponse.reason_detail) |
| 6281 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6282 | } |
| 6283 | inline ::std::string* HWComponentInfoGetResponse::release_reason_detail() { |
| 6284 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoGetResponse.reason_detail) |
| 6285 | |
| 6286 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6287 | } |
| 6288 | inline void HWComponentInfoGetResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 6289 | if (reason_detail != nullptr) { |
| 6290 | |
| 6291 | } else { |
| 6292 | |
| 6293 | } |
| 6294 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 6295 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoGetResponse.reason_detail) |
| 6296 | } |
| 6297 | |
| 6298 | // ------------------------------------------------------------------- |
| 6299 | |
| 6300 | // HWComponentInfoSetRequest |
| 6301 | |
| 6302 | // .dmi.Uuid device_uuid = 1; |
| 6303 | inline bool HWComponentInfoSetRequest::has_device_uuid() const { |
| 6304 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 6305 | } |
| 6306 | inline const ::dmi::Uuid& HWComponentInfoSetRequest::device_uuid() const { |
| 6307 | const ::dmi::Uuid* p = device_uuid_; |
| 6308 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoSetRequest.device_uuid) |
| 6309 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 6310 | &::dmi::_Uuid_default_instance_); |
| 6311 | } |
| 6312 | inline ::dmi::Uuid* HWComponentInfoSetRequest::release_device_uuid() { |
| 6313 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoSetRequest.device_uuid) |
| 6314 | |
| 6315 | ::dmi::Uuid* temp = device_uuid_; |
| 6316 | device_uuid_ = nullptr; |
| 6317 | return temp; |
| 6318 | } |
| 6319 | inline ::dmi::Uuid* HWComponentInfoSetRequest::mutable_device_uuid() { |
| 6320 | |
| 6321 | if (device_uuid_ == nullptr) { |
| 6322 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 6323 | device_uuid_ = p; |
| 6324 | } |
| 6325 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoSetRequest.device_uuid) |
| 6326 | return device_uuid_; |
| 6327 | } |
| 6328 | inline void HWComponentInfoSetRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 6329 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 6330 | if (message_arena == nullptr) { |
| 6331 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 6332 | } |
| 6333 | if (device_uuid) { |
| 6334 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 6335 | if (message_arena != submessage_arena) { |
| 6336 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 6337 | message_arena, device_uuid, submessage_arena); |
| 6338 | } |
| 6339 | |
| 6340 | } else { |
| 6341 | |
| 6342 | } |
| 6343 | device_uuid_ = device_uuid; |
| 6344 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoSetRequest.device_uuid) |
| 6345 | } |
| 6346 | |
| 6347 | // .dmi.Uuid component_uuid = 2; |
| 6348 | inline bool HWComponentInfoSetRequest::has_component_uuid() const { |
| 6349 | return this != internal_default_instance() && component_uuid_ != nullptr; |
| 6350 | } |
| 6351 | inline const ::dmi::Uuid& HWComponentInfoSetRequest::component_uuid() const { |
| 6352 | const ::dmi::Uuid* p = component_uuid_; |
| 6353 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoSetRequest.component_uuid) |
| 6354 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 6355 | &::dmi::_Uuid_default_instance_); |
| 6356 | } |
| 6357 | inline ::dmi::Uuid* HWComponentInfoSetRequest::release_component_uuid() { |
| 6358 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoSetRequest.component_uuid) |
| 6359 | |
| 6360 | ::dmi::Uuid* temp = component_uuid_; |
| 6361 | component_uuid_ = nullptr; |
| 6362 | return temp; |
| 6363 | } |
| 6364 | inline ::dmi::Uuid* HWComponentInfoSetRequest::mutable_component_uuid() { |
| 6365 | |
| 6366 | if (component_uuid_ == nullptr) { |
| 6367 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 6368 | component_uuid_ = p; |
| 6369 | } |
| 6370 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoSetRequest.component_uuid) |
| 6371 | return component_uuid_; |
| 6372 | } |
| 6373 | inline void HWComponentInfoSetRequest::set_allocated_component_uuid(::dmi::Uuid* component_uuid) { |
| 6374 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 6375 | if (message_arena == nullptr) { |
| 6376 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(component_uuid_); |
| 6377 | } |
| 6378 | if (component_uuid) { |
| 6379 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 6380 | if (message_arena != submessage_arena) { |
| 6381 | component_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 6382 | message_arena, component_uuid, submessage_arena); |
| 6383 | } |
| 6384 | |
| 6385 | } else { |
| 6386 | |
| 6387 | } |
| 6388 | component_uuid_ = component_uuid; |
| 6389 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoSetRequest.component_uuid) |
| 6390 | } |
| 6391 | |
| 6392 | // string component_name = 3; |
| 6393 | inline void HWComponentInfoSetRequest::clear_component_name() { |
| 6394 | component_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6395 | } |
| 6396 | inline const ::std::string& HWComponentInfoSetRequest::component_name() const { |
| 6397 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoSetRequest.component_name) |
| 6398 | return component_name_.GetNoArena(); |
| 6399 | } |
| 6400 | inline void HWComponentInfoSetRequest::set_component_name(const ::std::string& value) { |
| 6401 | |
| 6402 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 6403 | // @@protoc_insertion_point(field_set:dmi.HWComponentInfoSetRequest.component_name) |
| 6404 | } |
| 6405 | #if LANG_CXX11 |
| 6406 | inline void HWComponentInfoSetRequest::set_component_name(::std::string&& value) { |
| 6407 | |
| 6408 | component_name_.SetNoArena( |
| 6409 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 6410 | // @@protoc_insertion_point(field_set_rvalue:dmi.HWComponentInfoSetRequest.component_name) |
| 6411 | } |
| 6412 | #endif |
| 6413 | inline void HWComponentInfoSetRequest::set_component_name(const char* value) { |
| 6414 | GOOGLE_DCHECK(value != nullptr); |
| 6415 | |
| 6416 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 6417 | // @@protoc_insertion_point(field_set_char:dmi.HWComponentInfoSetRequest.component_name) |
| 6418 | } |
| 6419 | inline void HWComponentInfoSetRequest::set_component_name(const char* value, size_t size) { |
| 6420 | |
| 6421 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 6422 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 6423 | // @@protoc_insertion_point(field_set_pointer:dmi.HWComponentInfoSetRequest.component_name) |
| 6424 | } |
| 6425 | inline ::std::string* HWComponentInfoSetRequest::mutable_component_name() { |
| 6426 | |
| 6427 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoSetRequest.component_name) |
| 6428 | return component_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6429 | } |
| 6430 | inline ::std::string* HWComponentInfoSetRequest::release_component_name() { |
| 6431 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoSetRequest.component_name) |
| 6432 | |
| 6433 | return component_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6434 | } |
| 6435 | inline void HWComponentInfoSetRequest::set_allocated_component_name(::std::string* component_name) { |
| 6436 | if (component_name != nullptr) { |
| 6437 | |
| 6438 | } else { |
| 6439 | |
| 6440 | } |
| 6441 | component_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), component_name); |
| 6442 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoSetRequest.component_name) |
| 6443 | } |
| 6444 | |
| 6445 | // .dmi.ModifiableComponent changes = 4; |
| 6446 | inline bool HWComponentInfoSetRequest::has_changes() const { |
| 6447 | return this != internal_default_instance() && changes_ != nullptr; |
| 6448 | } |
| 6449 | inline const ::dmi::ModifiableComponent& HWComponentInfoSetRequest::changes() const { |
| 6450 | const ::dmi::ModifiableComponent* p = changes_; |
| 6451 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoSetRequest.changes) |
| 6452 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::ModifiableComponent*>( |
| 6453 | &::dmi::_ModifiableComponent_default_instance_); |
| 6454 | } |
| 6455 | inline ::dmi::ModifiableComponent* HWComponentInfoSetRequest::release_changes() { |
| 6456 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoSetRequest.changes) |
| 6457 | |
| 6458 | ::dmi::ModifiableComponent* temp = changes_; |
| 6459 | changes_ = nullptr; |
| 6460 | return temp; |
| 6461 | } |
| 6462 | inline ::dmi::ModifiableComponent* HWComponentInfoSetRequest::mutable_changes() { |
| 6463 | |
| 6464 | if (changes_ == nullptr) { |
| 6465 | auto* p = CreateMaybeMessage<::dmi::ModifiableComponent>(GetArenaNoVirtual()); |
| 6466 | changes_ = p; |
| 6467 | } |
| 6468 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoSetRequest.changes) |
| 6469 | return changes_; |
| 6470 | } |
| 6471 | inline void HWComponentInfoSetRequest::set_allocated_changes(::dmi::ModifiableComponent* changes) { |
| 6472 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 6473 | if (message_arena == nullptr) { |
| 6474 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(changes_); |
| 6475 | } |
| 6476 | if (changes) { |
| 6477 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 6478 | if (message_arena != submessage_arena) { |
| 6479 | changes = ::google::protobuf::internal::GetOwnedMessage( |
| 6480 | message_arena, changes, submessage_arena); |
| 6481 | } |
| 6482 | |
| 6483 | } else { |
| 6484 | |
| 6485 | } |
| 6486 | changes_ = changes; |
| 6487 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoSetRequest.changes) |
| 6488 | } |
| 6489 | |
| 6490 | // ------------------------------------------------------------------- |
| 6491 | |
| 6492 | // HWComponentInfoSetResponse |
| 6493 | |
| 6494 | // .dmi.Status status = 1; |
| 6495 | inline void HWComponentInfoSetResponse::clear_status() { |
| 6496 | status_ = 0; |
| 6497 | } |
| 6498 | inline ::dmi::Status HWComponentInfoSetResponse::status() const { |
| 6499 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoSetResponse.status) |
| 6500 | return static_cast< ::dmi::Status >(status_); |
| 6501 | } |
| 6502 | inline void HWComponentInfoSetResponse::set_status(::dmi::Status value) { |
| 6503 | |
| 6504 | status_ = value; |
| 6505 | // @@protoc_insertion_point(field_set:dmi.HWComponentInfoSetResponse.status) |
| 6506 | } |
| 6507 | |
| 6508 | // .dmi.HWComponentInfoSetResponse.Reason reason = 2; |
| 6509 | inline void HWComponentInfoSetResponse::clear_reason() { |
| 6510 | reason_ = 0; |
| 6511 | } |
| 6512 | inline ::dmi::HWComponentInfoSetResponse_Reason HWComponentInfoSetResponse::reason() const { |
| 6513 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoSetResponse.reason) |
| 6514 | return static_cast< ::dmi::HWComponentInfoSetResponse_Reason >(reason_); |
| 6515 | } |
| 6516 | inline void HWComponentInfoSetResponse::set_reason(::dmi::HWComponentInfoSetResponse_Reason value) { |
| 6517 | |
| 6518 | reason_ = value; |
| 6519 | // @@protoc_insertion_point(field_set:dmi.HWComponentInfoSetResponse.reason) |
| 6520 | } |
| 6521 | |
| 6522 | // string reason_detail = 3; |
| 6523 | inline void HWComponentInfoSetResponse::clear_reason_detail() { |
| 6524 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6525 | } |
| 6526 | inline const ::std::string& HWComponentInfoSetResponse::reason_detail() const { |
| 6527 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoSetResponse.reason_detail) |
| 6528 | return reason_detail_.GetNoArena(); |
| 6529 | } |
| 6530 | inline void HWComponentInfoSetResponse::set_reason_detail(const ::std::string& value) { |
| 6531 | |
| 6532 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 6533 | // @@protoc_insertion_point(field_set:dmi.HWComponentInfoSetResponse.reason_detail) |
| 6534 | } |
| 6535 | #if LANG_CXX11 |
| 6536 | inline void HWComponentInfoSetResponse::set_reason_detail(::std::string&& value) { |
| 6537 | |
| 6538 | reason_detail_.SetNoArena( |
| 6539 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 6540 | // @@protoc_insertion_point(field_set_rvalue:dmi.HWComponentInfoSetResponse.reason_detail) |
| 6541 | } |
| 6542 | #endif |
| 6543 | inline void HWComponentInfoSetResponse::set_reason_detail(const char* value) { |
| 6544 | GOOGLE_DCHECK(value != nullptr); |
| 6545 | |
| 6546 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 6547 | // @@protoc_insertion_point(field_set_char:dmi.HWComponentInfoSetResponse.reason_detail) |
| 6548 | } |
| 6549 | inline void HWComponentInfoSetResponse::set_reason_detail(const char* value, size_t size) { |
| 6550 | |
| 6551 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 6552 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 6553 | // @@protoc_insertion_point(field_set_pointer:dmi.HWComponentInfoSetResponse.reason_detail) |
| 6554 | } |
| 6555 | inline ::std::string* HWComponentInfoSetResponse::mutable_reason_detail() { |
| 6556 | |
| 6557 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoSetResponse.reason_detail) |
| 6558 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6559 | } |
| 6560 | inline ::std::string* HWComponentInfoSetResponse::release_reason_detail() { |
| 6561 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoSetResponse.reason_detail) |
| 6562 | |
| 6563 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6564 | } |
| 6565 | inline void HWComponentInfoSetResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 6566 | if (reason_detail != nullptr) { |
| 6567 | |
| 6568 | } else { |
| 6569 | |
| 6570 | } |
| 6571 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 6572 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoSetResponse.reason_detail) |
| 6573 | } |
| 6574 | |
| 6575 | // ------------------------------------------------------------------- |
| 6576 | |
| 6577 | // StartManagingDeviceResponse |
| 6578 | |
| 6579 | // .dmi.Status status = 1; |
| 6580 | inline void StartManagingDeviceResponse::clear_status() { |
| 6581 | status_ = 0; |
| 6582 | } |
| 6583 | inline ::dmi::Status StartManagingDeviceResponse::status() const { |
| 6584 | // @@protoc_insertion_point(field_get:dmi.StartManagingDeviceResponse.status) |
| 6585 | return static_cast< ::dmi::Status >(status_); |
| 6586 | } |
| 6587 | inline void StartManagingDeviceResponse::set_status(::dmi::Status value) { |
| 6588 | |
| 6589 | status_ = value; |
| 6590 | // @@protoc_insertion_point(field_set:dmi.StartManagingDeviceResponse.status) |
| 6591 | } |
| 6592 | |
| 6593 | // .dmi.StartManagingDeviceResponse.Reason reason = 2; |
| 6594 | inline void StartManagingDeviceResponse::clear_reason() { |
| 6595 | reason_ = 0; |
| 6596 | } |
| 6597 | inline ::dmi::StartManagingDeviceResponse_Reason StartManagingDeviceResponse::reason() const { |
| 6598 | // @@protoc_insertion_point(field_get:dmi.StartManagingDeviceResponse.reason) |
| 6599 | return static_cast< ::dmi::StartManagingDeviceResponse_Reason >(reason_); |
| 6600 | } |
| 6601 | inline void StartManagingDeviceResponse::set_reason(::dmi::StartManagingDeviceResponse_Reason value) { |
| 6602 | |
| 6603 | reason_ = value; |
| 6604 | // @@protoc_insertion_point(field_set:dmi.StartManagingDeviceResponse.reason) |
| 6605 | } |
| 6606 | |
| 6607 | // .dmi.Uuid device_uuid = 3; |
| 6608 | inline bool StartManagingDeviceResponse::has_device_uuid() const { |
| 6609 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 6610 | } |
| 6611 | inline const ::dmi::Uuid& StartManagingDeviceResponse::device_uuid() const { |
| 6612 | const ::dmi::Uuid* p = device_uuid_; |
| 6613 | // @@protoc_insertion_point(field_get:dmi.StartManagingDeviceResponse.device_uuid) |
| 6614 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 6615 | &::dmi::_Uuid_default_instance_); |
| 6616 | } |
| 6617 | inline ::dmi::Uuid* StartManagingDeviceResponse::release_device_uuid() { |
| 6618 | // @@protoc_insertion_point(field_release:dmi.StartManagingDeviceResponse.device_uuid) |
| 6619 | |
| 6620 | ::dmi::Uuid* temp = device_uuid_; |
| 6621 | device_uuid_ = nullptr; |
| 6622 | return temp; |
| 6623 | } |
| 6624 | inline ::dmi::Uuid* StartManagingDeviceResponse::mutable_device_uuid() { |
| 6625 | |
| 6626 | if (device_uuid_ == nullptr) { |
| 6627 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 6628 | device_uuid_ = p; |
| 6629 | } |
| 6630 | // @@protoc_insertion_point(field_mutable:dmi.StartManagingDeviceResponse.device_uuid) |
| 6631 | return device_uuid_; |
| 6632 | } |
| 6633 | inline void StartManagingDeviceResponse::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 6634 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 6635 | if (message_arena == nullptr) { |
| 6636 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 6637 | } |
| 6638 | if (device_uuid) { |
| 6639 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 6640 | if (message_arena != submessage_arena) { |
| 6641 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 6642 | message_arena, device_uuid, submessage_arena); |
| 6643 | } |
| 6644 | |
| 6645 | } else { |
| 6646 | |
| 6647 | } |
| 6648 | device_uuid_ = device_uuid; |
| 6649 | // @@protoc_insertion_point(field_set_allocated:dmi.StartManagingDeviceResponse.device_uuid) |
| 6650 | } |
| 6651 | |
| 6652 | // string reason_detail = 4; |
| 6653 | inline void StartManagingDeviceResponse::clear_reason_detail() { |
| 6654 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6655 | } |
| 6656 | inline const ::std::string& StartManagingDeviceResponse::reason_detail() const { |
| 6657 | // @@protoc_insertion_point(field_get:dmi.StartManagingDeviceResponse.reason_detail) |
| 6658 | return reason_detail_.GetNoArena(); |
| 6659 | } |
| 6660 | inline void StartManagingDeviceResponse::set_reason_detail(const ::std::string& value) { |
| 6661 | |
| 6662 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 6663 | // @@protoc_insertion_point(field_set:dmi.StartManagingDeviceResponse.reason_detail) |
| 6664 | } |
| 6665 | #if LANG_CXX11 |
| 6666 | inline void StartManagingDeviceResponse::set_reason_detail(::std::string&& value) { |
| 6667 | |
| 6668 | reason_detail_.SetNoArena( |
| 6669 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 6670 | // @@protoc_insertion_point(field_set_rvalue:dmi.StartManagingDeviceResponse.reason_detail) |
| 6671 | } |
| 6672 | #endif |
| 6673 | inline void StartManagingDeviceResponse::set_reason_detail(const char* value) { |
| 6674 | GOOGLE_DCHECK(value != nullptr); |
| 6675 | |
| 6676 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 6677 | // @@protoc_insertion_point(field_set_char:dmi.StartManagingDeviceResponse.reason_detail) |
| 6678 | } |
| 6679 | inline void StartManagingDeviceResponse::set_reason_detail(const char* value, size_t size) { |
| 6680 | |
| 6681 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 6682 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 6683 | // @@protoc_insertion_point(field_set_pointer:dmi.StartManagingDeviceResponse.reason_detail) |
| 6684 | } |
| 6685 | inline ::std::string* StartManagingDeviceResponse::mutable_reason_detail() { |
| 6686 | |
| 6687 | // @@protoc_insertion_point(field_mutable:dmi.StartManagingDeviceResponse.reason_detail) |
| 6688 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6689 | } |
| 6690 | inline ::std::string* StartManagingDeviceResponse::release_reason_detail() { |
| 6691 | // @@protoc_insertion_point(field_release:dmi.StartManagingDeviceResponse.reason_detail) |
| 6692 | |
| 6693 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6694 | } |
| 6695 | inline void StartManagingDeviceResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 6696 | if (reason_detail != nullptr) { |
| 6697 | |
| 6698 | } else { |
| 6699 | |
| 6700 | } |
| 6701 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 6702 | // @@protoc_insertion_point(field_set_allocated:dmi.StartManagingDeviceResponse.reason_detail) |
| 6703 | } |
| 6704 | |
| 6705 | // ------------------------------------------------------------------- |
| 6706 | |
| 6707 | // StopManagingDeviceRequest |
| 6708 | |
| 6709 | // string name = 1; |
| 6710 | inline void StopManagingDeviceRequest::clear_name() { |
| 6711 | name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6712 | } |
| 6713 | inline const ::std::string& StopManagingDeviceRequest::name() const { |
| 6714 | // @@protoc_insertion_point(field_get:dmi.StopManagingDeviceRequest.name) |
| 6715 | return name_.GetNoArena(); |
| 6716 | } |
| 6717 | inline void StopManagingDeviceRequest::set_name(const ::std::string& value) { |
| 6718 | |
| 6719 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 6720 | // @@protoc_insertion_point(field_set:dmi.StopManagingDeviceRequest.name) |
| 6721 | } |
| 6722 | #if LANG_CXX11 |
| 6723 | inline void StopManagingDeviceRequest::set_name(::std::string&& value) { |
| 6724 | |
| 6725 | name_.SetNoArena( |
| 6726 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 6727 | // @@protoc_insertion_point(field_set_rvalue:dmi.StopManagingDeviceRequest.name) |
| 6728 | } |
| 6729 | #endif |
| 6730 | inline void StopManagingDeviceRequest::set_name(const char* value) { |
| 6731 | GOOGLE_DCHECK(value != nullptr); |
| 6732 | |
| 6733 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 6734 | // @@protoc_insertion_point(field_set_char:dmi.StopManagingDeviceRequest.name) |
| 6735 | } |
| 6736 | inline void StopManagingDeviceRequest::set_name(const char* value, size_t size) { |
| 6737 | |
| 6738 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 6739 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 6740 | // @@protoc_insertion_point(field_set_pointer:dmi.StopManagingDeviceRequest.name) |
| 6741 | } |
| 6742 | inline ::std::string* StopManagingDeviceRequest::mutable_name() { |
| 6743 | |
| 6744 | // @@protoc_insertion_point(field_mutable:dmi.StopManagingDeviceRequest.name) |
| 6745 | return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6746 | } |
| 6747 | inline ::std::string* StopManagingDeviceRequest::release_name() { |
| 6748 | // @@protoc_insertion_point(field_release:dmi.StopManagingDeviceRequest.name) |
| 6749 | |
| 6750 | return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6751 | } |
| 6752 | inline void StopManagingDeviceRequest::set_allocated_name(::std::string* name) { |
| 6753 | if (name != nullptr) { |
| 6754 | |
| 6755 | } else { |
| 6756 | |
| 6757 | } |
| 6758 | name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); |
| 6759 | // @@protoc_insertion_point(field_set_allocated:dmi.StopManagingDeviceRequest.name) |
| 6760 | } |
| 6761 | |
| 6762 | // ------------------------------------------------------------------- |
| 6763 | |
| 6764 | // StopManagingDeviceResponse |
| 6765 | |
| 6766 | // .dmi.Status status = 1; |
| 6767 | inline void StopManagingDeviceResponse::clear_status() { |
| 6768 | status_ = 0; |
| 6769 | } |
| 6770 | inline ::dmi::Status StopManagingDeviceResponse::status() const { |
| 6771 | // @@protoc_insertion_point(field_get:dmi.StopManagingDeviceResponse.status) |
| 6772 | return static_cast< ::dmi::Status >(status_); |
| 6773 | } |
| 6774 | inline void StopManagingDeviceResponse::set_status(::dmi::Status value) { |
| 6775 | |
| 6776 | status_ = value; |
| 6777 | // @@protoc_insertion_point(field_set:dmi.StopManagingDeviceResponse.status) |
| 6778 | } |
| 6779 | |
| 6780 | // .dmi.StopManagingDeviceResponse.Reason reason = 2; |
| 6781 | inline void StopManagingDeviceResponse::clear_reason() { |
| 6782 | reason_ = 0; |
| 6783 | } |
| 6784 | inline ::dmi::StopManagingDeviceResponse_Reason StopManagingDeviceResponse::reason() const { |
| 6785 | // @@protoc_insertion_point(field_get:dmi.StopManagingDeviceResponse.reason) |
| 6786 | return static_cast< ::dmi::StopManagingDeviceResponse_Reason >(reason_); |
| 6787 | } |
| 6788 | inline void StopManagingDeviceResponse::set_reason(::dmi::StopManagingDeviceResponse_Reason value) { |
| 6789 | |
| 6790 | reason_ = value; |
| 6791 | // @@protoc_insertion_point(field_set:dmi.StopManagingDeviceResponse.reason) |
| 6792 | } |
| 6793 | |
| 6794 | // string reason_detail = 3; |
| 6795 | inline void StopManagingDeviceResponse::clear_reason_detail() { |
| 6796 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6797 | } |
| 6798 | inline const ::std::string& StopManagingDeviceResponse::reason_detail() const { |
| 6799 | // @@protoc_insertion_point(field_get:dmi.StopManagingDeviceResponse.reason_detail) |
| 6800 | return reason_detail_.GetNoArena(); |
| 6801 | } |
| 6802 | inline void StopManagingDeviceResponse::set_reason_detail(const ::std::string& value) { |
| 6803 | |
| 6804 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 6805 | // @@protoc_insertion_point(field_set:dmi.StopManagingDeviceResponse.reason_detail) |
| 6806 | } |
| 6807 | #if LANG_CXX11 |
| 6808 | inline void StopManagingDeviceResponse::set_reason_detail(::std::string&& value) { |
| 6809 | |
| 6810 | reason_detail_.SetNoArena( |
| 6811 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 6812 | // @@protoc_insertion_point(field_set_rvalue:dmi.StopManagingDeviceResponse.reason_detail) |
| 6813 | } |
| 6814 | #endif |
| 6815 | inline void StopManagingDeviceResponse::set_reason_detail(const char* value) { |
| 6816 | GOOGLE_DCHECK(value != nullptr); |
| 6817 | |
| 6818 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 6819 | // @@protoc_insertion_point(field_set_char:dmi.StopManagingDeviceResponse.reason_detail) |
| 6820 | } |
| 6821 | inline void StopManagingDeviceResponse::set_reason_detail(const char* value, size_t size) { |
| 6822 | |
| 6823 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 6824 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 6825 | // @@protoc_insertion_point(field_set_pointer:dmi.StopManagingDeviceResponse.reason_detail) |
| 6826 | } |
| 6827 | inline ::std::string* StopManagingDeviceResponse::mutable_reason_detail() { |
| 6828 | |
| 6829 | // @@protoc_insertion_point(field_mutable:dmi.StopManagingDeviceResponse.reason_detail) |
| 6830 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6831 | } |
| 6832 | inline ::std::string* StopManagingDeviceResponse::release_reason_detail() { |
| 6833 | // @@protoc_insertion_point(field_release:dmi.StopManagingDeviceResponse.reason_detail) |
| 6834 | |
| 6835 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6836 | } |
| 6837 | inline void StopManagingDeviceResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 6838 | if (reason_detail != nullptr) { |
| 6839 | |
| 6840 | } else { |
| 6841 | |
| 6842 | } |
| 6843 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 6844 | // @@protoc_insertion_point(field_set_allocated:dmi.StopManagingDeviceResponse.reason_detail) |
| 6845 | } |
| 6846 | |
| 6847 | // ------------------------------------------------------------------- |
| 6848 | |
| 6849 | // ManagedDeviceInfo |
| 6850 | |
| 6851 | // .dmi.ModifiableComponent info = 1; |
| 6852 | inline bool ManagedDeviceInfo::has_info() const { |
| 6853 | return this != internal_default_instance() && info_ != nullptr; |
| 6854 | } |
| 6855 | inline const ::dmi::ModifiableComponent& ManagedDeviceInfo::info() const { |
| 6856 | const ::dmi::ModifiableComponent* p = info_; |
| 6857 | // @@protoc_insertion_point(field_get:dmi.ManagedDeviceInfo.info) |
| 6858 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::ModifiableComponent*>( |
| 6859 | &::dmi::_ModifiableComponent_default_instance_); |
| 6860 | } |
| 6861 | inline ::dmi::ModifiableComponent* ManagedDeviceInfo::release_info() { |
| 6862 | // @@protoc_insertion_point(field_release:dmi.ManagedDeviceInfo.info) |
| 6863 | |
| 6864 | ::dmi::ModifiableComponent* temp = info_; |
| 6865 | info_ = nullptr; |
| 6866 | return temp; |
| 6867 | } |
| 6868 | inline ::dmi::ModifiableComponent* ManagedDeviceInfo::mutable_info() { |
| 6869 | |
| 6870 | if (info_ == nullptr) { |
| 6871 | auto* p = CreateMaybeMessage<::dmi::ModifiableComponent>(GetArenaNoVirtual()); |
| 6872 | info_ = p; |
| 6873 | } |
| 6874 | // @@protoc_insertion_point(field_mutable:dmi.ManagedDeviceInfo.info) |
| 6875 | return info_; |
| 6876 | } |
| 6877 | inline void ManagedDeviceInfo::set_allocated_info(::dmi::ModifiableComponent* info) { |
| 6878 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 6879 | if (message_arena == nullptr) { |
| 6880 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(info_); |
| 6881 | } |
| 6882 | if (info) { |
| 6883 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 6884 | if (message_arena != submessage_arena) { |
| 6885 | info = ::google::protobuf::internal::GetOwnedMessage( |
| 6886 | message_arena, info, submessage_arena); |
| 6887 | } |
| 6888 | |
| 6889 | } else { |
| 6890 | |
| 6891 | } |
| 6892 | info_ = info; |
| 6893 | // @@protoc_insertion_point(field_set_allocated:dmi.ManagedDeviceInfo.info) |
| 6894 | } |
| 6895 | |
| 6896 | // .dmi.Uuid device_uuid = 2; |
| 6897 | inline bool ManagedDeviceInfo::has_device_uuid() const { |
| 6898 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 6899 | } |
| 6900 | inline const ::dmi::Uuid& ManagedDeviceInfo::device_uuid() const { |
| 6901 | const ::dmi::Uuid* p = device_uuid_; |
| 6902 | // @@protoc_insertion_point(field_get:dmi.ManagedDeviceInfo.device_uuid) |
| 6903 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 6904 | &::dmi::_Uuid_default_instance_); |
| 6905 | } |
| 6906 | inline ::dmi::Uuid* ManagedDeviceInfo::release_device_uuid() { |
| 6907 | // @@protoc_insertion_point(field_release:dmi.ManagedDeviceInfo.device_uuid) |
| 6908 | |
| 6909 | ::dmi::Uuid* temp = device_uuid_; |
| 6910 | device_uuid_ = nullptr; |
| 6911 | return temp; |
| 6912 | } |
| 6913 | inline ::dmi::Uuid* ManagedDeviceInfo::mutable_device_uuid() { |
| 6914 | |
| 6915 | if (device_uuid_ == nullptr) { |
| 6916 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 6917 | device_uuid_ = p; |
| 6918 | } |
| 6919 | // @@protoc_insertion_point(field_mutable:dmi.ManagedDeviceInfo.device_uuid) |
| 6920 | return device_uuid_; |
| 6921 | } |
| 6922 | inline void ManagedDeviceInfo::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 6923 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 6924 | if (message_arena == nullptr) { |
| 6925 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 6926 | } |
| 6927 | if (device_uuid) { |
| 6928 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 6929 | if (message_arena != submessage_arena) { |
| 6930 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 6931 | message_arena, device_uuid, submessage_arena); |
| 6932 | } |
| 6933 | |
| 6934 | } else { |
| 6935 | |
| 6936 | } |
| 6937 | device_uuid_ = device_uuid; |
| 6938 | // @@protoc_insertion_point(field_set_allocated:dmi.ManagedDeviceInfo.device_uuid) |
| 6939 | } |
| 6940 | |
| 6941 | // ------------------------------------------------------------------- |
| 6942 | |
| 6943 | // ManagedDevicesResponse |
| 6944 | |
| 6945 | // .dmi.Status status = 1; |
| 6946 | inline void ManagedDevicesResponse::clear_status() { |
| 6947 | status_ = 0; |
| 6948 | } |
| 6949 | inline ::dmi::Status ManagedDevicesResponse::status() const { |
| 6950 | // @@protoc_insertion_point(field_get:dmi.ManagedDevicesResponse.status) |
| 6951 | return static_cast< ::dmi::Status >(status_); |
| 6952 | } |
| 6953 | inline void ManagedDevicesResponse::set_status(::dmi::Status value) { |
| 6954 | |
| 6955 | status_ = value; |
| 6956 | // @@protoc_insertion_point(field_set:dmi.ManagedDevicesResponse.status) |
| 6957 | } |
| 6958 | |
| 6959 | // .dmi.ManagedDevicesResponse.Reason reason = 2; |
| 6960 | inline void ManagedDevicesResponse::clear_reason() { |
| 6961 | reason_ = 0; |
| 6962 | } |
| 6963 | inline ::dmi::ManagedDevicesResponse_Reason ManagedDevicesResponse::reason() const { |
| 6964 | // @@protoc_insertion_point(field_get:dmi.ManagedDevicesResponse.reason) |
| 6965 | return static_cast< ::dmi::ManagedDevicesResponse_Reason >(reason_); |
| 6966 | } |
| 6967 | inline void ManagedDevicesResponse::set_reason(::dmi::ManagedDevicesResponse_Reason value) { |
| 6968 | |
| 6969 | reason_ = value; |
| 6970 | // @@protoc_insertion_point(field_set:dmi.ManagedDevicesResponse.reason) |
| 6971 | } |
| 6972 | |
| 6973 | // repeated .dmi.ManagedDeviceInfo devices = 3; |
| 6974 | inline int ManagedDevicesResponse::devices_size() const { |
| 6975 | return devices_.size(); |
| 6976 | } |
| 6977 | inline void ManagedDevicesResponse::clear_devices() { |
| 6978 | devices_.Clear(); |
| 6979 | } |
| 6980 | inline ::dmi::ManagedDeviceInfo* ManagedDevicesResponse::mutable_devices(int index) { |
| 6981 | // @@protoc_insertion_point(field_mutable:dmi.ManagedDevicesResponse.devices) |
| 6982 | return devices_.Mutable(index); |
| 6983 | } |
| 6984 | inline ::google::protobuf::RepeatedPtrField< ::dmi::ManagedDeviceInfo >* |
| 6985 | ManagedDevicesResponse::mutable_devices() { |
| 6986 | // @@protoc_insertion_point(field_mutable_list:dmi.ManagedDevicesResponse.devices) |
| 6987 | return &devices_; |
| 6988 | } |
| 6989 | inline const ::dmi::ManagedDeviceInfo& ManagedDevicesResponse::devices(int index) const { |
| 6990 | // @@protoc_insertion_point(field_get:dmi.ManagedDevicesResponse.devices) |
| 6991 | return devices_.Get(index); |
| 6992 | } |
| 6993 | inline ::dmi::ManagedDeviceInfo* ManagedDevicesResponse::add_devices() { |
| 6994 | // @@protoc_insertion_point(field_add:dmi.ManagedDevicesResponse.devices) |
| 6995 | return devices_.Add(); |
| 6996 | } |
| 6997 | inline const ::google::protobuf::RepeatedPtrField< ::dmi::ManagedDeviceInfo >& |
| 6998 | ManagedDevicesResponse::devices() const { |
| 6999 | // @@protoc_insertion_point(field_list:dmi.ManagedDevicesResponse.devices) |
| 7000 | return devices_; |
| 7001 | } |
| 7002 | |
| 7003 | // ------------------------------------------------------------------- |
| 7004 | |
| 7005 | // SetLoggingEndpointRequest |
| 7006 | |
| 7007 | // .dmi.Uuid device_uuid = 1; |
| 7008 | inline bool SetLoggingEndpointRequest::has_device_uuid() const { |
| 7009 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 7010 | } |
| 7011 | inline const ::dmi::Uuid& SetLoggingEndpointRequest::device_uuid() const { |
| 7012 | const ::dmi::Uuid* p = device_uuid_; |
| 7013 | // @@protoc_insertion_point(field_get:dmi.SetLoggingEndpointRequest.device_uuid) |
| 7014 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 7015 | &::dmi::_Uuid_default_instance_); |
| 7016 | } |
| 7017 | inline ::dmi::Uuid* SetLoggingEndpointRequest::release_device_uuid() { |
| 7018 | // @@protoc_insertion_point(field_release:dmi.SetLoggingEndpointRequest.device_uuid) |
| 7019 | |
| 7020 | ::dmi::Uuid* temp = device_uuid_; |
| 7021 | device_uuid_ = nullptr; |
| 7022 | return temp; |
| 7023 | } |
| 7024 | inline ::dmi::Uuid* SetLoggingEndpointRequest::mutable_device_uuid() { |
| 7025 | |
| 7026 | if (device_uuid_ == nullptr) { |
| 7027 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 7028 | device_uuid_ = p; |
| 7029 | } |
| 7030 | // @@protoc_insertion_point(field_mutable:dmi.SetLoggingEndpointRequest.device_uuid) |
| 7031 | return device_uuid_; |
| 7032 | } |
| 7033 | inline void SetLoggingEndpointRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 7034 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 7035 | if (message_arena == nullptr) { |
| 7036 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 7037 | } |
| 7038 | if (device_uuid) { |
| 7039 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 7040 | if (message_arena != submessage_arena) { |
| 7041 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 7042 | message_arena, device_uuid, submessage_arena); |
| 7043 | } |
| 7044 | |
| 7045 | } else { |
| 7046 | |
| 7047 | } |
| 7048 | device_uuid_ = device_uuid; |
| 7049 | // @@protoc_insertion_point(field_set_allocated:dmi.SetLoggingEndpointRequest.device_uuid) |
| 7050 | } |
| 7051 | |
| 7052 | // string logging_endpoint = 2; |
| 7053 | inline void SetLoggingEndpointRequest::clear_logging_endpoint() { |
| 7054 | logging_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7055 | } |
| 7056 | inline const ::std::string& SetLoggingEndpointRequest::logging_endpoint() const { |
| 7057 | // @@protoc_insertion_point(field_get:dmi.SetLoggingEndpointRequest.logging_endpoint) |
| 7058 | return logging_endpoint_.GetNoArena(); |
| 7059 | } |
| 7060 | inline void SetLoggingEndpointRequest::set_logging_endpoint(const ::std::string& value) { |
| 7061 | |
| 7062 | logging_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 7063 | // @@protoc_insertion_point(field_set:dmi.SetLoggingEndpointRequest.logging_endpoint) |
| 7064 | } |
| 7065 | #if LANG_CXX11 |
| 7066 | inline void SetLoggingEndpointRequest::set_logging_endpoint(::std::string&& value) { |
| 7067 | |
| 7068 | logging_endpoint_.SetNoArena( |
| 7069 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 7070 | // @@protoc_insertion_point(field_set_rvalue:dmi.SetLoggingEndpointRequest.logging_endpoint) |
| 7071 | } |
| 7072 | #endif |
| 7073 | inline void SetLoggingEndpointRequest::set_logging_endpoint(const char* value) { |
| 7074 | GOOGLE_DCHECK(value != nullptr); |
| 7075 | |
| 7076 | logging_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 7077 | // @@protoc_insertion_point(field_set_char:dmi.SetLoggingEndpointRequest.logging_endpoint) |
| 7078 | } |
| 7079 | inline void SetLoggingEndpointRequest::set_logging_endpoint(const char* value, size_t size) { |
| 7080 | |
| 7081 | logging_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7082 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 7083 | // @@protoc_insertion_point(field_set_pointer:dmi.SetLoggingEndpointRequest.logging_endpoint) |
| 7084 | } |
| 7085 | inline ::std::string* SetLoggingEndpointRequest::mutable_logging_endpoint() { |
| 7086 | |
| 7087 | // @@protoc_insertion_point(field_mutable:dmi.SetLoggingEndpointRequest.logging_endpoint) |
| 7088 | return logging_endpoint_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7089 | } |
| 7090 | inline ::std::string* SetLoggingEndpointRequest::release_logging_endpoint() { |
| 7091 | // @@protoc_insertion_point(field_release:dmi.SetLoggingEndpointRequest.logging_endpoint) |
| 7092 | |
| 7093 | return logging_endpoint_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7094 | } |
| 7095 | inline void SetLoggingEndpointRequest::set_allocated_logging_endpoint(::std::string* logging_endpoint) { |
| 7096 | if (logging_endpoint != nullptr) { |
| 7097 | |
| 7098 | } else { |
| 7099 | |
| 7100 | } |
| 7101 | logging_endpoint_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), logging_endpoint); |
| 7102 | // @@protoc_insertion_point(field_set_allocated:dmi.SetLoggingEndpointRequest.logging_endpoint) |
| 7103 | } |
| 7104 | |
| 7105 | // string logging_protocol = 3; |
| 7106 | inline void SetLoggingEndpointRequest::clear_logging_protocol() { |
| 7107 | logging_protocol_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7108 | } |
| 7109 | inline const ::std::string& SetLoggingEndpointRequest::logging_protocol() const { |
| 7110 | // @@protoc_insertion_point(field_get:dmi.SetLoggingEndpointRequest.logging_protocol) |
| 7111 | return logging_protocol_.GetNoArena(); |
| 7112 | } |
| 7113 | inline void SetLoggingEndpointRequest::set_logging_protocol(const ::std::string& value) { |
| 7114 | |
| 7115 | logging_protocol_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 7116 | // @@protoc_insertion_point(field_set:dmi.SetLoggingEndpointRequest.logging_protocol) |
| 7117 | } |
| 7118 | #if LANG_CXX11 |
| 7119 | inline void SetLoggingEndpointRequest::set_logging_protocol(::std::string&& value) { |
| 7120 | |
| 7121 | logging_protocol_.SetNoArena( |
| 7122 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 7123 | // @@protoc_insertion_point(field_set_rvalue:dmi.SetLoggingEndpointRequest.logging_protocol) |
| 7124 | } |
| 7125 | #endif |
| 7126 | inline void SetLoggingEndpointRequest::set_logging_protocol(const char* value) { |
| 7127 | GOOGLE_DCHECK(value != nullptr); |
| 7128 | |
| 7129 | logging_protocol_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 7130 | // @@protoc_insertion_point(field_set_char:dmi.SetLoggingEndpointRequest.logging_protocol) |
| 7131 | } |
| 7132 | inline void SetLoggingEndpointRequest::set_logging_protocol(const char* value, size_t size) { |
| 7133 | |
| 7134 | logging_protocol_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7135 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 7136 | // @@protoc_insertion_point(field_set_pointer:dmi.SetLoggingEndpointRequest.logging_protocol) |
| 7137 | } |
| 7138 | inline ::std::string* SetLoggingEndpointRequest::mutable_logging_protocol() { |
| 7139 | |
| 7140 | // @@protoc_insertion_point(field_mutable:dmi.SetLoggingEndpointRequest.logging_protocol) |
| 7141 | return logging_protocol_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7142 | } |
| 7143 | inline ::std::string* SetLoggingEndpointRequest::release_logging_protocol() { |
| 7144 | // @@protoc_insertion_point(field_release:dmi.SetLoggingEndpointRequest.logging_protocol) |
| 7145 | |
| 7146 | return logging_protocol_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7147 | } |
| 7148 | inline void SetLoggingEndpointRequest::set_allocated_logging_protocol(::std::string* logging_protocol) { |
| 7149 | if (logging_protocol != nullptr) { |
| 7150 | |
| 7151 | } else { |
| 7152 | |
| 7153 | } |
| 7154 | logging_protocol_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), logging_protocol); |
| 7155 | // @@protoc_insertion_point(field_set_allocated:dmi.SetLoggingEndpointRequest.logging_protocol) |
| 7156 | } |
| 7157 | |
| 7158 | // ------------------------------------------------------------------- |
| 7159 | |
| 7160 | // SetRemoteEndpointResponse |
| 7161 | |
| 7162 | // .dmi.Status status = 1; |
| 7163 | inline void SetRemoteEndpointResponse::clear_status() { |
| 7164 | status_ = 0; |
| 7165 | } |
| 7166 | inline ::dmi::Status SetRemoteEndpointResponse::status() const { |
| 7167 | // @@protoc_insertion_point(field_get:dmi.SetRemoteEndpointResponse.status) |
| 7168 | return static_cast< ::dmi::Status >(status_); |
| 7169 | } |
| 7170 | inline void SetRemoteEndpointResponse::set_status(::dmi::Status value) { |
| 7171 | |
| 7172 | status_ = value; |
| 7173 | // @@protoc_insertion_point(field_set:dmi.SetRemoteEndpointResponse.status) |
| 7174 | } |
| 7175 | |
| 7176 | // .dmi.SetRemoteEndpointResponse.Reason reason = 2; |
| 7177 | inline void SetRemoteEndpointResponse::clear_reason() { |
| 7178 | reason_ = 0; |
| 7179 | } |
| 7180 | inline ::dmi::SetRemoteEndpointResponse_Reason SetRemoteEndpointResponse::reason() const { |
| 7181 | // @@protoc_insertion_point(field_get:dmi.SetRemoteEndpointResponse.reason) |
| 7182 | return static_cast< ::dmi::SetRemoteEndpointResponse_Reason >(reason_); |
| 7183 | } |
| 7184 | inline void SetRemoteEndpointResponse::set_reason(::dmi::SetRemoteEndpointResponse_Reason value) { |
| 7185 | |
| 7186 | reason_ = value; |
| 7187 | // @@protoc_insertion_point(field_set:dmi.SetRemoteEndpointResponse.reason) |
| 7188 | } |
| 7189 | |
| 7190 | // string reason_detail = 3; |
| 7191 | inline void SetRemoteEndpointResponse::clear_reason_detail() { |
| 7192 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7193 | } |
| 7194 | inline const ::std::string& SetRemoteEndpointResponse::reason_detail() const { |
| 7195 | // @@protoc_insertion_point(field_get:dmi.SetRemoteEndpointResponse.reason_detail) |
| 7196 | return reason_detail_.GetNoArena(); |
| 7197 | } |
| 7198 | inline void SetRemoteEndpointResponse::set_reason_detail(const ::std::string& value) { |
| 7199 | |
| 7200 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 7201 | // @@protoc_insertion_point(field_set:dmi.SetRemoteEndpointResponse.reason_detail) |
| 7202 | } |
| 7203 | #if LANG_CXX11 |
| 7204 | inline void SetRemoteEndpointResponse::set_reason_detail(::std::string&& value) { |
| 7205 | |
| 7206 | reason_detail_.SetNoArena( |
| 7207 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 7208 | // @@protoc_insertion_point(field_set_rvalue:dmi.SetRemoteEndpointResponse.reason_detail) |
| 7209 | } |
| 7210 | #endif |
| 7211 | inline void SetRemoteEndpointResponse::set_reason_detail(const char* value) { |
| 7212 | GOOGLE_DCHECK(value != nullptr); |
| 7213 | |
| 7214 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 7215 | // @@protoc_insertion_point(field_set_char:dmi.SetRemoteEndpointResponse.reason_detail) |
| 7216 | } |
| 7217 | inline void SetRemoteEndpointResponse::set_reason_detail(const char* value, size_t size) { |
| 7218 | |
| 7219 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7220 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 7221 | // @@protoc_insertion_point(field_set_pointer:dmi.SetRemoteEndpointResponse.reason_detail) |
| 7222 | } |
| 7223 | inline ::std::string* SetRemoteEndpointResponse::mutable_reason_detail() { |
| 7224 | |
| 7225 | // @@protoc_insertion_point(field_mutable:dmi.SetRemoteEndpointResponse.reason_detail) |
| 7226 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7227 | } |
| 7228 | inline ::std::string* SetRemoteEndpointResponse::release_reason_detail() { |
| 7229 | // @@protoc_insertion_point(field_release:dmi.SetRemoteEndpointResponse.reason_detail) |
| 7230 | |
| 7231 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7232 | } |
| 7233 | inline void SetRemoteEndpointResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 7234 | if (reason_detail != nullptr) { |
| 7235 | |
| 7236 | } else { |
| 7237 | |
| 7238 | } |
| 7239 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 7240 | // @@protoc_insertion_point(field_set_allocated:dmi.SetRemoteEndpointResponse.reason_detail) |
| 7241 | } |
| 7242 | |
| 7243 | // ------------------------------------------------------------------- |
| 7244 | |
| 7245 | // GetLoggingEndpointResponse |
| 7246 | |
| 7247 | // .dmi.Status status = 1; |
| 7248 | inline void GetLoggingEndpointResponse::clear_status() { |
| 7249 | status_ = 0; |
| 7250 | } |
| 7251 | inline ::dmi::Status GetLoggingEndpointResponse::status() const { |
| 7252 | // @@protoc_insertion_point(field_get:dmi.GetLoggingEndpointResponse.status) |
| 7253 | return static_cast< ::dmi::Status >(status_); |
| 7254 | } |
| 7255 | inline void GetLoggingEndpointResponse::set_status(::dmi::Status value) { |
| 7256 | |
| 7257 | status_ = value; |
| 7258 | // @@protoc_insertion_point(field_set:dmi.GetLoggingEndpointResponse.status) |
| 7259 | } |
| 7260 | |
| 7261 | // .dmi.GetLoggingEndpointResponse.Reason reason = 2; |
| 7262 | inline void GetLoggingEndpointResponse::clear_reason() { |
| 7263 | reason_ = 0; |
| 7264 | } |
| 7265 | inline ::dmi::GetLoggingEndpointResponse_Reason GetLoggingEndpointResponse::reason() const { |
| 7266 | // @@protoc_insertion_point(field_get:dmi.GetLoggingEndpointResponse.reason) |
| 7267 | return static_cast< ::dmi::GetLoggingEndpointResponse_Reason >(reason_); |
| 7268 | } |
| 7269 | inline void GetLoggingEndpointResponse::set_reason(::dmi::GetLoggingEndpointResponse_Reason value) { |
| 7270 | |
| 7271 | reason_ = value; |
| 7272 | // @@protoc_insertion_point(field_set:dmi.GetLoggingEndpointResponse.reason) |
| 7273 | } |
| 7274 | |
| 7275 | // string logging_endpoint = 3; |
| 7276 | inline void GetLoggingEndpointResponse::clear_logging_endpoint() { |
| 7277 | logging_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7278 | } |
| 7279 | inline const ::std::string& GetLoggingEndpointResponse::logging_endpoint() const { |
| 7280 | // @@protoc_insertion_point(field_get:dmi.GetLoggingEndpointResponse.logging_endpoint) |
| 7281 | return logging_endpoint_.GetNoArena(); |
| 7282 | } |
| 7283 | inline void GetLoggingEndpointResponse::set_logging_endpoint(const ::std::string& value) { |
| 7284 | |
| 7285 | logging_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 7286 | // @@protoc_insertion_point(field_set:dmi.GetLoggingEndpointResponse.logging_endpoint) |
| 7287 | } |
| 7288 | #if LANG_CXX11 |
| 7289 | inline void GetLoggingEndpointResponse::set_logging_endpoint(::std::string&& value) { |
| 7290 | |
| 7291 | logging_endpoint_.SetNoArena( |
| 7292 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 7293 | // @@protoc_insertion_point(field_set_rvalue:dmi.GetLoggingEndpointResponse.logging_endpoint) |
| 7294 | } |
| 7295 | #endif |
| 7296 | inline void GetLoggingEndpointResponse::set_logging_endpoint(const char* value) { |
| 7297 | GOOGLE_DCHECK(value != nullptr); |
| 7298 | |
| 7299 | logging_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 7300 | // @@protoc_insertion_point(field_set_char:dmi.GetLoggingEndpointResponse.logging_endpoint) |
| 7301 | } |
| 7302 | inline void GetLoggingEndpointResponse::set_logging_endpoint(const char* value, size_t size) { |
| 7303 | |
| 7304 | logging_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7305 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 7306 | // @@protoc_insertion_point(field_set_pointer:dmi.GetLoggingEndpointResponse.logging_endpoint) |
| 7307 | } |
| 7308 | inline ::std::string* GetLoggingEndpointResponse::mutable_logging_endpoint() { |
| 7309 | |
| 7310 | // @@protoc_insertion_point(field_mutable:dmi.GetLoggingEndpointResponse.logging_endpoint) |
| 7311 | return logging_endpoint_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7312 | } |
| 7313 | inline ::std::string* GetLoggingEndpointResponse::release_logging_endpoint() { |
| 7314 | // @@protoc_insertion_point(field_release:dmi.GetLoggingEndpointResponse.logging_endpoint) |
| 7315 | |
| 7316 | return logging_endpoint_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7317 | } |
| 7318 | inline void GetLoggingEndpointResponse::set_allocated_logging_endpoint(::std::string* logging_endpoint) { |
| 7319 | if (logging_endpoint != nullptr) { |
| 7320 | |
| 7321 | } else { |
| 7322 | |
| 7323 | } |
| 7324 | logging_endpoint_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), logging_endpoint); |
| 7325 | // @@protoc_insertion_point(field_set_allocated:dmi.GetLoggingEndpointResponse.logging_endpoint) |
| 7326 | } |
| 7327 | |
| 7328 | // string logging_protocol = 4; |
| 7329 | inline void GetLoggingEndpointResponse::clear_logging_protocol() { |
| 7330 | logging_protocol_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7331 | } |
| 7332 | inline const ::std::string& GetLoggingEndpointResponse::logging_protocol() const { |
| 7333 | // @@protoc_insertion_point(field_get:dmi.GetLoggingEndpointResponse.logging_protocol) |
| 7334 | return logging_protocol_.GetNoArena(); |
| 7335 | } |
| 7336 | inline void GetLoggingEndpointResponse::set_logging_protocol(const ::std::string& value) { |
| 7337 | |
| 7338 | logging_protocol_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 7339 | // @@protoc_insertion_point(field_set:dmi.GetLoggingEndpointResponse.logging_protocol) |
| 7340 | } |
| 7341 | #if LANG_CXX11 |
| 7342 | inline void GetLoggingEndpointResponse::set_logging_protocol(::std::string&& value) { |
| 7343 | |
| 7344 | logging_protocol_.SetNoArena( |
| 7345 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 7346 | // @@protoc_insertion_point(field_set_rvalue:dmi.GetLoggingEndpointResponse.logging_protocol) |
| 7347 | } |
| 7348 | #endif |
| 7349 | inline void GetLoggingEndpointResponse::set_logging_protocol(const char* value) { |
| 7350 | GOOGLE_DCHECK(value != nullptr); |
| 7351 | |
| 7352 | logging_protocol_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 7353 | // @@protoc_insertion_point(field_set_char:dmi.GetLoggingEndpointResponse.logging_protocol) |
| 7354 | } |
| 7355 | inline void GetLoggingEndpointResponse::set_logging_protocol(const char* value, size_t size) { |
| 7356 | |
| 7357 | logging_protocol_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7358 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 7359 | // @@protoc_insertion_point(field_set_pointer:dmi.GetLoggingEndpointResponse.logging_protocol) |
| 7360 | } |
| 7361 | inline ::std::string* GetLoggingEndpointResponse::mutable_logging_protocol() { |
| 7362 | |
| 7363 | // @@protoc_insertion_point(field_mutable:dmi.GetLoggingEndpointResponse.logging_protocol) |
| 7364 | return logging_protocol_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7365 | } |
| 7366 | inline ::std::string* GetLoggingEndpointResponse::release_logging_protocol() { |
| 7367 | // @@protoc_insertion_point(field_release:dmi.GetLoggingEndpointResponse.logging_protocol) |
| 7368 | |
| 7369 | return logging_protocol_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7370 | } |
| 7371 | inline void GetLoggingEndpointResponse::set_allocated_logging_protocol(::std::string* logging_protocol) { |
| 7372 | if (logging_protocol != nullptr) { |
| 7373 | |
| 7374 | } else { |
| 7375 | |
| 7376 | } |
| 7377 | logging_protocol_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), logging_protocol); |
| 7378 | // @@protoc_insertion_point(field_set_allocated:dmi.GetLoggingEndpointResponse.logging_protocol) |
| 7379 | } |
| 7380 | |
| 7381 | // string reason_detail = 5; |
| 7382 | inline void GetLoggingEndpointResponse::clear_reason_detail() { |
| 7383 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7384 | } |
| 7385 | inline const ::std::string& GetLoggingEndpointResponse::reason_detail() const { |
| 7386 | // @@protoc_insertion_point(field_get:dmi.GetLoggingEndpointResponse.reason_detail) |
| 7387 | return reason_detail_.GetNoArena(); |
| 7388 | } |
| 7389 | inline void GetLoggingEndpointResponse::set_reason_detail(const ::std::string& value) { |
| 7390 | |
| 7391 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 7392 | // @@protoc_insertion_point(field_set:dmi.GetLoggingEndpointResponse.reason_detail) |
| 7393 | } |
| 7394 | #if LANG_CXX11 |
| 7395 | inline void GetLoggingEndpointResponse::set_reason_detail(::std::string&& value) { |
| 7396 | |
| 7397 | reason_detail_.SetNoArena( |
| 7398 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 7399 | // @@protoc_insertion_point(field_set_rvalue:dmi.GetLoggingEndpointResponse.reason_detail) |
| 7400 | } |
| 7401 | #endif |
| 7402 | inline void GetLoggingEndpointResponse::set_reason_detail(const char* value) { |
| 7403 | GOOGLE_DCHECK(value != nullptr); |
| 7404 | |
| 7405 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 7406 | // @@protoc_insertion_point(field_set_char:dmi.GetLoggingEndpointResponse.reason_detail) |
| 7407 | } |
| 7408 | inline void GetLoggingEndpointResponse::set_reason_detail(const char* value, size_t size) { |
| 7409 | |
| 7410 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7411 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 7412 | // @@protoc_insertion_point(field_set_pointer:dmi.GetLoggingEndpointResponse.reason_detail) |
| 7413 | } |
| 7414 | inline ::std::string* GetLoggingEndpointResponse::mutable_reason_detail() { |
| 7415 | |
| 7416 | // @@protoc_insertion_point(field_mutable:dmi.GetLoggingEndpointResponse.reason_detail) |
| 7417 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7418 | } |
| 7419 | inline ::std::string* GetLoggingEndpointResponse::release_reason_detail() { |
| 7420 | // @@protoc_insertion_point(field_release:dmi.GetLoggingEndpointResponse.reason_detail) |
| 7421 | |
| 7422 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7423 | } |
| 7424 | inline void GetLoggingEndpointResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 7425 | if (reason_detail != nullptr) { |
| 7426 | |
| 7427 | } else { |
| 7428 | |
| 7429 | } |
| 7430 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 7431 | // @@protoc_insertion_point(field_set_allocated:dmi.GetLoggingEndpointResponse.reason_detail) |
| 7432 | } |
| 7433 | |
| 7434 | // ------------------------------------------------------------------- |
| 7435 | |
| 7436 | // SetMsgBusEndpointRequest |
| 7437 | |
| 7438 | // string msgbus_endpoint = 1; |
| 7439 | inline void SetMsgBusEndpointRequest::clear_msgbus_endpoint() { |
| 7440 | msgbus_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7441 | } |
| 7442 | inline const ::std::string& SetMsgBusEndpointRequest::msgbus_endpoint() const { |
| 7443 | // @@protoc_insertion_point(field_get:dmi.SetMsgBusEndpointRequest.msgbus_endpoint) |
| 7444 | return msgbus_endpoint_.GetNoArena(); |
| 7445 | } |
| 7446 | inline void SetMsgBusEndpointRequest::set_msgbus_endpoint(const ::std::string& value) { |
| 7447 | |
| 7448 | msgbus_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 7449 | // @@protoc_insertion_point(field_set:dmi.SetMsgBusEndpointRequest.msgbus_endpoint) |
| 7450 | } |
| 7451 | #if LANG_CXX11 |
| 7452 | inline void SetMsgBusEndpointRequest::set_msgbus_endpoint(::std::string&& value) { |
| 7453 | |
| 7454 | msgbus_endpoint_.SetNoArena( |
| 7455 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 7456 | // @@protoc_insertion_point(field_set_rvalue:dmi.SetMsgBusEndpointRequest.msgbus_endpoint) |
| 7457 | } |
| 7458 | #endif |
| 7459 | inline void SetMsgBusEndpointRequest::set_msgbus_endpoint(const char* value) { |
| 7460 | GOOGLE_DCHECK(value != nullptr); |
| 7461 | |
| 7462 | msgbus_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 7463 | // @@protoc_insertion_point(field_set_char:dmi.SetMsgBusEndpointRequest.msgbus_endpoint) |
| 7464 | } |
| 7465 | inline void SetMsgBusEndpointRequest::set_msgbus_endpoint(const char* value, size_t size) { |
| 7466 | |
| 7467 | msgbus_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7468 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 7469 | // @@protoc_insertion_point(field_set_pointer:dmi.SetMsgBusEndpointRequest.msgbus_endpoint) |
| 7470 | } |
| 7471 | inline ::std::string* SetMsgBusEndpointRequest::mutable_msgbus_endpoint() { |
| 7472 | |
| 7473 | // @@protoc_insertion_point(field_mutable:dmi.SetMsgBusEndpointRequest.msgbus_endpoint) |
| 7474 | return msgbus_endpoint_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7475 | } |
| 7476 | inline ::std::string* SetMsgBusEndpointRequest::release_msgbus_endpoint() { |
| 7477 | // @@protoc_insertion_point(field_release:dmi.SetMsgBusEndpointRequest.msgbus_endpoint) |
| 7478 | |
| 7479 | return msgbus_endpoint_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7480 | } |
| 7481 | inline void SetMsgBusEndpointRequest::set_allocated_msgbus_endpoint(::std::string* msgbus_endpoint) { |
| 7482 | if (msgbus_endpoint != nullptr) { |
| 7483 | |
| 7484 | } else { |
| 7485 | |
| 7486 | } |
| 7487 | msgbus_endpoint_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), msgbus_endpoint); |
| 7488 | // @@protoc_insertion_point(field_set_allocated:dmi.SetMsgBusEndpointRequest.msgbus_endpoint) |
| 7489 | } |
| 7490 | |
| 7491 | // ------------------------------------------------------------------- |
| 7492 | |
| 7493 | // GetMsgBusEndpointResponse |
| 7494 | |
| 7495 | // .dmi.Status status = 1; |
| 7496 | inline void GetMsgBusEndpointResponse::clear_status() { |
| 7497 | status_ = 0; |
| 7498 | } |
| 7499 | inline ::dmi::Status GetMsgBusEndpointResponse::status() const { |
| 7500 | // @@protoc_insertion_point(field_get:dmi.GetMsgBusEndpointResponse.status) |
| 7501 | return static_cast< ::dmi::Status >(status_); |
| 7502 | } |
| 7503 | inline void GetMsgBusEndpointResponse::set_status(::dmi::Status value) { |
| 7504 | |
| 7505 | status_ = value; |
| 7506 | // @@protoc_insertion_point(field_set:dmi.GetMsgBusEndpointResponse.status) |
| 7507 | } |
| 7508 | |
| 7509 | // .dmi.GetMsgBusEndpointResponse.Reason reason = 2; |
| 7510 | inline void GetMsgBusEndpointResponse::clear_reason() { |
| 7511 | reason_ = 0; |
| 7512 | } |
| 7513 | inline ::dmi::GetMsgBusEndpointResponse_Reason GetMsgBusEndpointResponse::reason() const { |
| 7514 | // @@protoc_insertion_point(field_get:dmi.GetMsgBusEndpointResponse.reason) |
| 7515 | return static_cast< ::dmi::GetMsgBusEndpointResponse_Reason >(reason_); |
| 7516 | } |
| 7517 | inline void GetMsgBusEndpointResponse::set_reason(::dmi::GetMsgBusEndpointResponse_Reason value) { |
| 7518 | |
| 7519 | reason_ = value; |
| 7520 | // @@protoc_insertion_point(field_set:dmi.GetMsgBusEndpointResponse.reason) |
| 7521 | } |
| 7522 | |
| 7523 | // string msgbus_endpoint = 3; |
| 7524 | inline void GetMsgBusEndpointResponse::clear_msgbus_endpoint() { |
| 7525 | msgbus_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7526 | } |
| 7527 | inline const ::std::string& GetMsgBusEndpointResponse::msgbus_endpoint() const { |
| 7528 | // @@protoc_insertion_point(field_get:dmi.GetMsgBusEndpointResponse.msgbus_endpoint) |
| 7529 | return msgbus_endpoint_.GetNoArena(); |
| 7530 | } |
| 7531 | inline void GetMsgBusEndpointResponse::set_msgbus_endpoint(const ::std::string& value) { |
| 7532 | |
| 7533 | msgbus_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 7534 | // @@protoc_insertion_point(field_set:dmi.GetMsgBusEndpointResponse.msgbus_endpoint) |
| 7535 | } |
| 7536 | #if LANG_CXX11 |
| 7537 | inline void GetMsgBusEndpointResponse::set_msgbus_endpoint(::std::string&& value) { |
| 7538 | |
| 7539 | msgbus_endpoint_.SetNoArena( |
| 7540 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 7541 | // @@protoc_insertion_point(field_set_rvalue:dmi.GetMsgBusEndpointResponse.msgbus_endpoint) |
| 7542 | } |
| 7543 | #endif |
| 7544 | inline void GetMsgBusEndpointResponse::set_msgbus_endpoint(const char* value) { |
| 7545 | GOOGLE_DCHECK(value != nullptr); |
| 7546 | |
| 7547 | msgbus_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 7548 | // @@protoc_insertion_point(field_set_char:dmi.GetMsgBusEndpointResponse.msgbus_endpoint) |
| 7549 | } |
| 7550 | inline void GetMsgBusEndpointResponse::set_msgbus_endpoint(const char* value, size_t size) { |
| 7551 | |
| 7552 | msgbus_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7553 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 7554 | // @@protoc_insertion_point(field_set_pointer:dmi.GetMsgBusEndpointResponse.msgbus_endpoint) |
| 7555 | } |
| 7556 | inline ::std::string* GetMsgBusEndpointResponse::mutable_msgbus_endpoint() { |
| 7557 | |
| 7558 | // @@protoc_insertion_point(field_mutable:dmi.GetMsgBusEndpointResponse.msgbus_endpoint) |
| 7559 | return msgbus_endpoint_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7560 | } |
| 7561 | inline ::std::string* GetMsgBusEndpointResponse::release_msgbus_endpoint() { |
| 7562 | // @@protoc_insertion_point(field_release:dmi.GetMsgBusEndpointResponse.msgbus_endpoint) |
| 7563 | |
| 7564 | return msgbus_endpoint_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7565 | } |
| 7566 | inline void GetMsgBusEndpointResponse::set_allocated_msgbus_endpoint(::std::string* msgbus_endpoint) { |
| 7567 | if (msgbus_endpoint != nullptr) { |
| 7568 | |
| 7569 | } else { |
| 7570 | |
| 7571 | } |
| 7572 | msgbus_endpoint_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), msgbus_endpoint); |
| 7573 | // @@protoc_insertion_point(field_set_allocated:dmi.GetMsgBusEndpointResponse.msgbus_endpoint) |
| 7574 | } |
| 7575 | |
| 7576 | // string reason_detail = 4; |
| 7577 | inline void GetMsgBusEndpointResponse::clear_reason_detail() { |
| 7578 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7579 | } |
| 7580 | inline const ::std::string& GetMsgBusEndpointResponse::reason_detail() const { |
| 7581 | // @@protoc_insertion_point(field_get:dmi.GetMsgBusEndpointResponse.reason_detail) |
| 7582 | return reason_detail_.GetNoArena(); |
| 7583 | } |
| 7584 | inline void GetMsgBusEndpointResponse::set_reason_detail(const ::std::string& value) { |
| 7585 | |
| 7586 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 7587 | // @@protoc_insertion_point(field_set:dmi.GetMsgBusEndpointResponse.reason_detail) |
| 7588 | } |
| 7589 | #if LANG_CXX11 |
| 7590 | inline void GetMsgBusEndpointResponse::set_reason_detail(::std::string&& value) { |
| 7591 | |
| 7592 | reason_detail_.SetNoArena( |
| 7593 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 7594 | // @@protoc_insertion_point(field_set_rvalue:dmi.GetMsgBusEndpointResponse.reason_detail) |
| 7595 | } |
| 7596 | #endif |
| 7597 | inline void GetMsgBusEndpointResponse::set_reason_detail(const char* value) { |
| 7598 | GOOGLE_DCHECK(value != nullptr); |
| 7599 | |
| 7600 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 7601 | // @@protoc_insertion_point(field_set_char:dmi.GetMsgBusEndpointResponse.reason_detail) |
| 7602 | } |
| 7603 | inline void GetMsgBusEndpointResponse::set_reason_detail(const char* value, size_t size) { |
| 7604 | |
| 7605 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7606 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 7607 | // @@protoc_insertion_point(field_set_pointer:dmi.GetMsgBusEndpointResponse.reason_detail) |
| 7608 | } |
| 7609 | inline ::std::string* GetMsgBusEndpointResponse::mutable_reason_detail() { |
| 7610 | |
| 7611 | // @@protoc_insertion_point(field_mutable:dmi.GetMsgBusEndpointResponse.reason_detail) |
| 7612 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7613 | } |
| 7614 | inline ::std::string* GetMsgBusEndpointResponse::release_reason_detail() { |
| 7615 | // @@protoc_insertion_point(field_release:dmi.GetMsgBusEndpointResponse.reason_detail) |
| 7616 | |
| 7617 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7618 | } |
| 7619 | inline void GetMsgBusEndpointResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 7620 | if (reason_detail != nullptr) { |
| 7621 | |
| 7622 | } else { |
| 7623 | |
| 7624 | } |
| 7625 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 7626 | // @@protoc_insertion_point(field_set_allocated:dmi.GetMsgBusEndpointResponse.reason_detail) |
| 7627 | } |
| 7628 | |
| 7629 | // ------------------------------------------------------------------- |
| 7630 | |
| 7631 | // EntitiesLogLevel |
| 7632 | |
| 7633 | // .dmi.LogLevel logLevel = 1; |
| 7634 | inline void EntitiesLogLevel::clear_loglevel() { |
| 7635 | loglevel_ = 0; |
| 7636 | } |
| 7637 | inline ::dmi::LogLevel EntitiesLogLevel::loglevel() const { |
| 7638 | // @@protoc_insertion_point(field_get:dmi.EntitiesLogLevel.logLevel) |
| 7639 | return static_cast< ::dmi::LogLevel >(loglevel_); |
| 7640 | } |
| 7641 | inline void EntitiesLogLevel::set_loglevel(::dmi::LogLevel value) { |
| 7642 | |
| 7643 | loglevel_ = value; |
| 7644 | // @@protoc_insertion_point(field_set:dmi.EntitiesLogLevel.logLevel) |
| 7645 | } |
| 7646 | |
| 7647 | // repeated string entities = 2; |
| 7648 | inline int EntitiesLogLevel::entities_size() const { |
| 7649 | return entities_.size(); |
| 7650 | } |
| 7651 | inline void EntitiesLogLevel::clear_entities() { |
| 7652 | entities_.Clear(); |
| 7653 | } |
| 7654 | inline const ::std::string& EntitiesLogLevel::entities(int index) const { |
| 7655 | // @@protoc_insertion_point(field_get:dmi.EntitiesLogLevel.entities) |
| 7656 | return entities_.Get(index); |
| 7657 | } |
| 7658 | inline ::std::string* EntitiesLogLevel::mutable_entities(int index) { |
| 7659 | // @@protoc_insertion_point(field_mutable:dmi.EntitiesLogLevel.entities) |
| 7660 | return entities_.Mutable(index); |
| 7661 | } |
| 7662 | inline void EntitiesLogLevel::set_entities(int index, const ::std::string& value) { |
| 7663 | // @@protoc_insertion_point(field_set:dmi.EntitiesLogLevel.entities) |
| 7664 | entities_.Mutable(index)->assign(value); |
| 7665 | } |
| 7666 | #if LANG_CXX11 |
| 7667 | inline void EntitiesLogLevel::set_entities(int index, ::std::string&& value) { |
| 7668 | // @@protoc_insertion_point(field_set:dmi.EntitiesLogLevel.entities) |
| 7669 | entities_.Mutable(index)->assign(std::move(value)); |
| 7670 | } |
| 7671 | #endif |
| 7672 | inline void EntitiesLogLevel::set_entities(int index, const char* value) { |
| 7673 | GOOGLE_DCHECK(value != nullptr); |
| 7674 | entities_.Mutable(index)->assign(value); |
| 7675 | // @@protoc_insertion_point(field_set_char:dmi.EntitiesLogLevel.entities) |
| 7676 | } |
| 7677 | inline void EntitiesLogLevel::set_entities(int index, const char* value, size_t size) { |
| 7678 | entities_.Mutable(index)->assign( |
| 7679 | reinterpret_cast<const char*>(value), size); |
| 7680 | // @@protoc_insertion_point(field_set_pointer:dmi.EntitiesLogLevel.entities) |
| 7681 | } |
| 7682 | inline ::std::string* EntitiesLogLevel::add_entities() { |
| 7683 | // @@protoc_insertion_point(field_add_mutable:dmi.EntitiesLogLevel.entities) |
| 7684 | return entities_.Add(); |
| 7685 | } |
| 7686 | inline void EntitiesLogLevel::add_entities(const ::std::string& value) { |
| 7687 | entities_.Add()->assign(value); |
| 7688 | // @@protoc_insertion_point(field_add:dmi.EntitiesLogLevel.entities) |
| 7689 | } |
| 7690 | #if LANG_CXX11 |
| 7691 | inline void EntitiesLogLevel::add_entities(::std::string&& value) { |
| 7692 | entities_.Add(std::move(value)); |
| 7693 | // @@protoc_insertion_point(field_add:dmi.EntitiesLogLevel.entities) |
| 7694 | } |
| 7695 | #endif |
| 7696 | inline void EntitiesLogLevel::add_entities(const char* value) { |
| 7697 | GOOGLE_DCHECK(value != nullptr); |
| 7698 | entities_.Add()->assign(value); |
| 7699 | // @@protoc_insertion_point(field_add_char:dmi.EntitiesLogLevel.entities) |
| 7700 | } |
| 7701 | inline void EntitiesLogLevel::add_entities(const char* value, size_t size) { |
| 7702 | entities_.Add()->assign(reinterpret_cast<const char*>(value), size); |
| 7703 | // @@protoc_insertion_point(field_add_pointer:dmi.EntitiesLogLevel.entities) |
| 7704 | } |
| 7705 | inline const ::google::protobuf::RepeatedPtrField<::std::string>& |
| 7706 | EntitiesLogLevel::entities() const { |
| 7707 | // @@protoc_insertion_point(field_list:dmi.EntitiesLogLevel.entities) |
| 7708 | return entities_; |
| 7709 | } |
| 7710 | inline ::google::protobuf::RepeatedPtrField<::std::string>* |
| 7711 | EntitiesLogLevel::mutable_entities() { |
| 7712 | // @@protoc_insertion_point(field_mutable_list:dmi.EntitiesLogLevel.entities) |
| 7713 | return &entities_; |
| 7714 | } |
| 7715 | |
| 7716 | // ------------------------------------------------------------------- |
| 7717 | |
| 7718 | // SetLogLevelRequest |
| 7719 | |
| 7720 | // .dmi.Uuid device_uuid = 1; |
| 7721 | inline bool SetLogLevelRequest::has_device_uuid() const { |
| 7722 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 7723 | } |
| 7724 | inline const ::dmi::Uuid& SetLogLevelRequest::device_uuid() const { |
| 7725 | const ::dmi::Uuid* p = device_uuid_; |
| 7726 | // @@protoc_insertion_point(field_get:dmi.SetLogLevelRequest.device_uuid) |
| 7727 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 7728 | &::dmi::_Uuid_default_instance_); |
| 7729 | } |
| 7730 | inline ::dmi::Uuid* SetLogLevelRequest::release_device_uuid() { |
| 7731 | // @@protoc_insertion_point(field_release:dmi.SetLogLevelRequest.device_uuid) |
| 7732 | |
| 7733 | ::dmi::Uuid* temp = device_uuid_; |
| 7734 | device_uuid_ = nullptr; |
| 7735 | return temp; |
| 7736 | } |
| 7737 | inline ::dmi::Uuid* SetLogLevelRequest::mutable_device_uuid() { |
| 7738 | |
| 7739 | if (device_uuid_ == nullptr) { |
| 7740 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 7741 | device_uuid_ = p; |
| 7742 | } |
| 7743 | // @@protoc_insertion_point(field_mutable:dmi.SetLogLevelRequest.device_uuid) |
| 7744 | return device_uuid_; |
| 7745 | } |
| 7746 | inline void SetLogLevelRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 7747 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 7748 | if (message_arena == nullptr) { |
| 7749 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 7750 | } |
| 7751 | if (device_uuid) { |
| 7752 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 7753 | if (message_arena != submessage_arena) { |
| 7754 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 7755 | message_arena, device_uuid, submessage_arena); |
| 7756 | } |
| 7757 | |
| 7758 | } else { |
| 7759 | |
| 7760 | } |
| 7761 | device_uuid_ = device_uuid; |
| 7762 | // @@protoc_insertion_point(field_set_allocated:dmi.SetLogLevelRequest.device_uuid) |
| 7763 | } |
| 7764 | |
| 7765 | // repeated .dmi.EntitiesLogLevel loglevels = 2; |
| 7766 | inline int SetLogLevelRequest::loglevels_size() const { |
| 7767 | return loglevels_.size(); |
| 7768 | } |
| 7769 | inline void SetLogLevelRequest::clear_loglevels() { |
| 7770 | loglevels_.Clear(); |
| 7771 | } |
| 7772 | inline ::dmi::EntitiesLogLevel* SetLogLevelRequest::mutable_loglevels(int index) { |
| 7773 | // @@protoc_insertion_point(field_mutable:dmi.SetLogLevelRequest.loglevels) |
| 7774 | return loglevels_.Mutable(index); |
| 7775 | } |
| 7776 | inline ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel >* |
| 7777 | SetLogLevelRequest::mutable_loglevels() { |
| 7778 | // @@protoc_insertion_point(field_mutable_list:dmi.SetLogLevelRequest.loglevels) |
| 7779 | return &loglevels_; |
| 7780 | } |
| 7781 | inline const ::dmi::EntitiesLogLevel& SetLogLevelRequest::loglevels(int index) const { |
| 7782 | // @@protoc_insertion_point(field_get:dmi.SetLogLevelRequest.loglevels) |
| 7783 | return loglevels_.Get(index); |
| 7784 | } |
| 7785 | inline ::dmi::EntitiesLogLevel* SetLogLevelRequest::add_loglevels() { |
| 7786 | // @@protoc_insertion_point(field_add:dmi.SetLogLevelRequest.loglevels) |
| 7787 | return loglevels_.Add(); |
| 7788 | } |
| 7789 | inline const ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel >& |
| 7790 | SetLogLevelRequest::loglevels() const { |
| 7791 | // @@protoc_insertion_point(field_list:dmi.SetLogLevelRequest.loglevels) |
| 7792 | return loglevels_; |
| 7793 | } |
| 7794 | |
| 7795 | // ------------------------------------------------------------------- |
| 7796 | |
| 7797 | // SetLogLevelResponse |
| 7798 | |
| 7799 | // .dmi.Uuid device_uuid = 1; |
| 7800 | inline bool SetLogLevelResponse::has_device_uuid() const { |
| 7801 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 7802 | } |
| 7803 | inline const ::dmi::Uuid& SetLogLevelResponse::device_uuid() const { |
| 7804 | const ::dmi::Uuid* p = device_uuid_; |
| 7805 | // @@protoc_insertion_point(field_get:dmi.SetLogLevelResponse.device_uuid) |
| 7806 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 7807 | &::dmi::_Uuid_default_instance_); |
| 7808 | } |
| 7809 | inline ::dmi::Uuid* SetLogLevelResponse::release_device_uuid() { |
| 7810 | // @@protoc_insertion_point(field_release:dmi.SetLogLevelResponse.device_uuid) |
| 7811 | |
| 7812 | ::dmi::Uuid* temp = device_uuid_; |
| 7813 | device_uuid_ = nullptr; |
| 7814 | return temp; |
| 7815 | } |
| 7816 | inline ::dmi::Uuid* SetLogLevelResponse::mutable_device_uuid() { |
| 7817 | |
| 7818 | if (device_uuid_ == nullptr) { |
| 7819 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 7820 | device_uuid_ = p; |
| 7821 | } |
| 7822 | // @@protoc_insertion_point(field_mutable:dmi.SetLogLevelResponse.device_uuid) |
| 7823 | return device_uuid_; |
| 7824 | } |
| 7825 | inline void SetLogLevelResponse::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 7826 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 7827 | if (message_arena == nullptr) { |
| 7828 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 7829 | } |
| 7830 | if (device_uuid) { |
| 7831 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 7832 | if (message_arena != submessage_arena) { |
| 7833 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 7834 | message_arena, device_uuid, submessage_arena); |
| 7835 | } |
| 7836 | |
| 7837 | } else { |
| 7838 | |
| 7839 | } |
| 7840 | device_uuid_ = device_uuid; |
| 7841 | // @@protoc_insertion_point(field_set_allocated:dmi.SetLogLevelResponse.device_uuid) |
| 7842 | } |
| 7843 | |
| 7844 | // .dmi.Status status = 2; |
| 7845 | inline void SetLogLevelResponse::clear_status() { |
| 7846 | status_ = 0; |
| 7847 | } |
| 7848 | inline ::dmi::Status SetLogLevelResponse::status() const { |
| 7849 | // @@protoc_insertion_point(field_get:dmi.SetLogLevelResponse.status) |
| 7850 | return static_cast< ::dmi::Status >(status_); |
| 7851 | } |
| 7852 | inline void SetLogLevelResponse::set_status(::dmi::Status value) { |
| 7853 | |
| 7854 | status_ = value; |
| 7855 | // @@protoc_insertion_point(field_set:dmi.SetLogLevelResponse.status) |
| 7856 | } |
| 7857 | |
| 7858 | // .dmi.SetLogLevelResponse.Reason reason = 3; |
| 7859 | inline void SetLogLevelResponse::clear_reason() { |
| 7860 | reason_ = 0; |
| 7861 | } |
| 7862 | inline ::dmi::SetLogLevelResponse_Reason SetLogLevelResponse::reason() const { |
| 7863 | // @@protoc_insertion_point(field_get:dmi.SetLogLevelResponse.reason) |
| 7864 | return static_cast< ::dmi::SetLogLevelResponse_Reason >(reason_); |
| 7865 | } |
| 7866 | inline void SetLogLevelResponse::set_reason(::dmi::SetLogLevelResponse_Reason value) { |
| 7867 | |
| 7868 | reason_ = value; |
| 7869 | // @@protoc_insertion_point(field_set:dmi.SetLogLevelResponse.reason) |
| 7870 | } |
| 7871 | |
| 7872 | // string reason_detail = 4; |
| 7873 | inline void SetLogLevelResponse::clear_reason_detail() { |
| 7874 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7875 | } |
| 7876 | inline const ::std::string& SetLogLevelResponse::reason_detail() const { |
| 7877 | // @@protoc_insertion_point(field_get:dmi.SetLogLevelResponse.reason_detail) |
| 7878 | return reason_detail_.GetNoArena(); |
| 7879 | } |
| 7880 | inline void SetLogLevelResponse::set_reason_detail(const ::std::string& value) { |
| 7881 | |
| 7882 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 7883 | // @@protoc_insertion_point(field_set:dmi.SetLogLevelResponse.reason_detail) |
| 7884 | } |
| 7885 | #if LANG_CXX11 |
| 7886 | inline void SetLogLevelResponse::set_reason_detail(::std::string&& value) { |
| 7887 | |
| 7888 | reason_detail_.SetNoArena( |
| 7889 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 7890 | // @@protoc_insertion_point(field_set_rvalue:dmi.SetLogLevelResponse.reason_detail) |
| 7891 | } |
| 7892 | #endif |
| 7893 | inline void SetLogLevelResponse::set_reason_detail(const char* value) { |
| 7894 | GOOGLE_DCHECK(value != nullptr); |
| 7895 | |
| 7896 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 7897 | // @@protoc_insertion_point(field_set_char:dmi.SetLogLevelResponse.reason_detail) |
| 7898 | } |
| 7899 | inline void SetLogLevelResponse::set_reason_detail(const char* value, size_t size) { |
| 7900 | |
| 7901 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7902 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 7903 | // @@protoc_insertion_point(field_set_pointer:dmi.SetLogLevelResponse.reason_detail) |
| 7904 | } |
| 7905 | inline ::std::string* SetLogLevelResponse::mutable_reason_detail() { |
| 7906 | |
| 7907 | // @@protoc_insertion_point(field_mutable:dmi.SetLogLevelResponse.reason_detail) |
| 7908 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7909 | } |
| 7910 | inline ::std::string* SetLogLevelResponse::release_reason_detail() { |
| 7911 | // @@protoc_insertion_point(field_release:dmi.SetLogLevelResponse.reason_detail) |
| 7912 | |
| 7913 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 7914 | } |
| 7915 | inline void SetLogLevelResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 7916 | if (reason_detail != nullptr) { |
| 7917 | |
| 7918 | } else { |
| 7919 | |
| 7920 | } |
| 7921 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 7922 | // @@protoc_insertion_point(field_set_allocated:dmi.SetLogLevelResponse.reason_detail) |
| 7923 | } |
| 7924 | |
| 7925 | // ------------------------------------------------------------------- |
| 7926 | |
| 7927 | // GetLogLevelRequest |
| 7928 | |
| 7929 | // .dmi.Uuid device_uuid = 1; |
| 7930 | inline bool GetLogLevelRequest::has_device_uuid() const { |
| 7931 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 7932 | } |
| 7933 | inline const ::dmi::Uuid& GetLogLevelRequest::device_uuid() const { |
| 7934 | const ::dmi::Uuid* p = device_uuid_; |
| 7935 | // @@protoc_insertion_point(field_get:dmi.GetLogLevelRequest.device_uuid) |
| 7936 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 7937 | &::dmi::_Uuid_default_instance_); |
| 7938 | } |
| 7939 | inline ::dmi::Uuid* GetLogLevelRequest::release_device_uuid() { |
| 7940 | // @@protoc_insertion_point(field_release:dmi.GetLogLevelRequest.device_uuid) |
| 7941 | |
| 7942 | ::dmi::Uuid* temp = device_uuid_; |
| 7943 | device_uuid_ = nullptr; |
| 7944 | return temp; |
| 7945 | } |
| 7946 | inline ::dmi::Uuid* GetLogLevelRequest::mutable_device_uuid() { |
| 7947 | |
| 7948 | if (device_uuid_ == nullptr) { |
| 7949 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 7950 | device_uuid_ = p; |
| 7951 | } |
| 7952 | // @@protoc_insertion_point(field_mutable:dmi.GetLogLevelRequest.device_uuid) |
| 7953 | return device_uuid_; |
| 7954 | } |
| 7955 | inline void GetLogLevelRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 7956 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 7957 | if (message_arena == nullptr) { |
| 7958 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 7959 | } |
| 7960 | if (device_uuid) { |
| 7961 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 7962 | if (message_arena != submessage_arena) { |
| 7963 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 7964 | message_arena, device_uuid, submessage_arena); |
| 7965 | } |
| 7966 | |
| 7967 | } else { |
| 7968 | |
| 7969 | } |
| 7970 | device_uuid_ = device_uuid; |
| 7971 | // @@protoc_insertion_point(field_set_allocated:dmi.GetLogLevelRequest.device_uuid) |
| 7972 | } |
| 7973 | |
| 7974 | // repeated string entities = 2; |
| 7975 | inline int GetLogLevelRequest::entities_size() const { |
| 7976 | return entities_.size(); |
| 7977 | } |
| 7978 | inline void GetLogLevelRequest::clear_entities() { |
| 7979 | entities_.Clear(); |
| 7980 | } |
| 7981 | inline const ::std::string& GetLogLevelRequest::entities(int index) const { |
| 7982 | // @@protoc_insertion_point(field_get:dmi.GetLogLevelRequest.entities) |
| 7983 | return entities_.Get(index); |
| 7984 | } |
| 7985 | inline ::std::string* GetLogLevelRequest::mutable_entities(int index) { |
| 7986 | // @@protoc_insertion_point(field_mutable:dmi.GetLogLevelRequest.entities) |
| 7987 | return entities_.Mutable(index); |
| 7988 | } |
| 7989 | inline void GetLogLevelRequest::set_entities(int index, const ::std::string& value) { |
| 7990 | // @@protoc_insertion_point(field_set:dmi.GetLogLevelRequest.entities) |
| 7991 | entities_.Mutable(index)->assign(value); |
| 7992 | } |
| 7993 | #if LANG_CXX11 |
| 7994 | inline void GetLogLevelRequest::set_entities(int index, ::std::string&& value) { |
| 7995 | // @@protoc_insertion_point(field_set:dmi.GetLogLevelRequest.entities) |
| 7996 | entities_.Mutable(index)->assign(std::move(value)); |
| 7997 | } |
| 7998 | #endif |
| 7999 | inline void GetLogLevelRequest::set_entities(int index, const char* value) { |
| 8000 | GOOGLE_DCHECK(value != nullptr); |
| 8001 | entities_.Mutable(index)->assign(value); |
| 8002 | // @@protoc_insertion_point(field_set_char:dmi.GetLogLevelRequest.entities) |
| 8003 | } |
| 8004 | inline void GetLogLevelRequest::set_entities(int index, const char* value, size_t size) { |
| 8005 | entities_.Mutable(index)->assign( |
| 8006 | reinterpret_cast<const char*>(value), size); |
| 8007 | // @@protoc_insertion_point(field_set_pointer:dmi.GetLogLevelRequest.entities) |
| 8008 | } |
| 8009 | inline ::std::string* GetLogLevelRequest::add_entities() { |
| 8010 | // @@protoc_insertion_point(field_add_mutable:dmi.GetLogLevelRequest.entities) |
| 8011 | return entities_.Add(); |
| 8012 | } |
| 8013 | inline void GetLogLevelRequest::add_entities(const ::std::string& value) { |
| 8014 | entities_.Add()->assign(value); |
| 8015 | // @@protoc_insertion_point(field_add:dmi.GetLogLevelRequest.entities) |
| 8016 | } |
| 8017 | #if LANG_CXX11 |
| 8018 | inline void GetLogLevelRequest::add_entities(::std::string&& value) { |
| 8019 | entities_.Add(std::move(value)); |
| 8020 | // @@protoc_insertion_point(field_add:dmi.GetLogLevelRequest.entities) |
| 8021 | } |
| 8022 | #endif |
| 8023 | inline void GetLogLevelRequest::add_entities(const char* value) { |
| 8024 | GOOGLE_DCHECK(value != nullptr); |
| 8025 | entities_.Add()->assign(value); |
| 8026 | // @@protoc_insertion_point(field_add_char:dmi.GetLogLevelRequest.entities) |
| 8027 | } |
| 8028 | inline void GetLogLevelRequest::add_entities(const char* value, size_t size) { |
| 8029 | entities_.Add()->assign(reinterpret_cast<const char*>(value), size); |
| 8030 | // @@protoc_insertion_point(field_add_pointer:dmi.GetLogLevelRequest.entities) |
| 8031 | } |
| 8032 | inline const ::google::protobuf::RepeatedPtrField<::std::string>& |
| 8033 | GetLogLevelRequest::entities() const { |
| 8034 | // @@protoc_insertion_point(field_list:dmi.GetLogLevelRequest.entities) |
| 8035 | return entities_; |
| 8036 | } |
| 8037 | inline ::google::protobuf::RepeatedPtrField<::std::string>* |
| 8038 | GetLogLevelRequest::mutable_entities() { |
| 8039 | // @@protoc_insertion_point(field_mutable_list:dmi.GetLogLevelRequest.entities) |
| 8040 | return &entities_; |
| 8041 | } |
| 8042 | |
| 8043 | // ------------------------------------------------------------------- |
| 8044 | |
| 8045 | // GetLogLevelResponse |
| 8046 | |
| 8047 | // .dmi.Uuid device_uuid = 1; |
| 8048 | inline bool GetLogLevelResponse::has_device_uuid() const { |
| 8049 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 8050 | } |
| 8051 | inline const ::dmi::Uuid& GetLogLevelResponse::device_uuid() const { |
| 8052 | const ::dmi::Uuid* p = device_uuid_; |
| 8053 | // @@protoc_insertion_point(field_get:dmi.GetLogLevelResponse.device_uuid) |
| 8054 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 8055 | &::dmi::_Uuid_default_instance_); |
| 8056 | } |
| 8057 | inline ::dmi::Uuid* GetLogLevelResponse::release_device_uuid() { |
| 8058 | // @@protoc_insertion_point(field_release:dmi.GetLogLevelResponse.device_uuid) |
| 8059 | |
| 8060 | ::dmi::Uuid* temp = device_uuid_; |
| 8061 | device_uuid_ = nullptr; |
| 8062 | return temp; |
| 8063 | } |
| 8064 | inline ::dmi::Uuid* GetLogLevelResponse::mutable_device_uuid() { |
| 8065 | |
| 8066 | if (device_uuid_ == nullptr) { |
| 8067 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 8068 | device_uuid_ = p; |
| 8069 | } |
| 8070 | // @@protoc_insertion_point(field_mutable:dmi.GetLogLevelResponse.device_uuid) |
| 8071 | return device_uuid_; |
| 8072 | } |
| 8073 | inline void GetLogLevelResponse::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 8074 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 8075 | if (message_arena == nullptr) { |
| 8076 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 8077 | } |
| 8078 | if (device_uuid) { |
| 8079 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 8080 | if (message_arena != submessage_arena) { |
| 8081 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 8082 | message_arena, device_uuid, submessage_arena); |
| 8083 | } |
| 8084 | |
| 8085 | } else { |
| 8086 | |
| 8087 | } |
| 8088 | device_uuid_ = device_uuid; |
| 8089 | // @@protoc_insertion_point(field_set_allocated:dmi.GetLogLevelResponse.device_uuid) |
| 8090 | } |
| 8091 | |
| 8092 | // repeated .dmi.EntitiesLogLevel logLevels = 2; |
| 8093 | inline int GetLogLevelResponse::loglevels_size() const { |
| 8094 | return loglevels_.size(); |
| 8095 | } |
| 8096 | inline void GetLogLevelResponse::clear_loglevels() { |
| 8097 | loglevels_.Clear(); |
| 8098 | } |
| 8099 | inline ::dmi::EntitiesLogLevel* GetLogLevelResponse::mutable_loglevels(int index) { |
| 8100 | // @@protoc_insertion_point(field_mutable:dmi.GetLogLevelResponse.logLevels) |
| 8101 | return loglevels_.Mutable(index); |
| 8102 | } |
| 8103 | inline ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel >* |
| 8104 | GetLogLevelResponse::mutable_loglevels() { |
| 8105 | // @@protoc_insertion_point(field_mutable_list:dmi.GetLogLevelResponse.logLevels) |
| 8106 | return &loglevels_; |
| 8107 | } |
| 8108 | inline const ::dmi::EntitiesLogLevel& GetLogLevelResponse::loglevels(int index) const { |
| 8109 | // @@protoc_insertion_point(field_get:dmi.GetLogLevelResponse.logLevels) |
| 8110 | return loglevels_.Get(index); |
| 8111 | } |
| 8112 | inline ::dmi::EntitiesLogLevel* GetLogLevelResponse::add_loglevels() { |
| 8113 | // @@protoc_insertion_point(field_add:dmi.GetLogLevelResponse.logLevels) |
| 8114 | return loglevels_.Add(); |
| 8115 | } |
| 8116 | inline const ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel >& |
| 8117 | GetLogLevelResponse::loglevels() const { |
| 8118 | // @@protoc_insertion_point(field_list:dmi.GetLogLevelResponse.logLevels) |
| 8119 | return loglevels_; |
| 8120 | } |
| 8121 | |
| 8122 | // .dmi.Status status = 3; |
| 8123 | inline void GetLogLevelResponse::clear_status() { |
| 8124 | status_ = 0; |
| 8125 | } |
| 8126 | inline ::dmi::Status GetLogLevelResponse::status() const { |
| 8127 | // @@protoc_insertion_point(field_get:dmi.GetLogLevelResponse.status) |
| 8128 | return static_cast< ::dmi::Status >(status_); |
| 8129 | } |
| 8130 | inline void GetLogLevelResponse::set_status(::dmi::Status value) { |
| 8131 | |
| 8132 | status_ = value; |
| 8133 | // @@protoc_insertion_point(field_set:dmi.GetLogLevelResponse.status) |
| 8134 | } |
| 8135 | |
| 8136 | // .dmi.GetLogLevelResponse.Reason reason = 4; |
| 8137 | inline void GetLogLevelResponse::clear_reason() { |
| 8138 | reason_ = 0; |
| 8139 | } |
| 8140 | inline ::dmi::GetLogLevelResponse_Reason GetLogLevelResponse::reason() const { |
| 8141 | // @@protoc_insertion_point(field_get:dmi.GetLogLevelResponse.reason) |
| 8142 | return static_cast< ::dmi::GetLogLevelResponse_Reason >(reason_); |
| 8143 | } |
| 8144 | inline void GetLogLevelResponse::set_reason(::dmi::GetLogLevelResponse_Reason value) { |
| 8145 | |
| 8146 | reason_ = value; |
| 8147 | // @@protoc_insertion_point(field_set:dmi.GetLogLevelResponse.reason) |
| 8148 | } |
| 8149 | |
| 8150 | // string reason_detail = 5; |
| 8151 | inline void GetLogLevelResponse::clear_reason_detail() { |
| 8152 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8153 | } |
| 8154 | inline const ::std::string& GetLogLevelResponse::reason_detail() const { |
| 8155 | // @@protoc_insertion_point(field_get:dmi.GetLogLevelResponse.reason_detail) |
| 8156 | return reason_detail_.GetNoArena(); |
| 8157 | } |
| 8158 | inline void GetLogLevelResponse::set_reason_detail(const ::std::string& value) { |
| 8159 | |
| 8160 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 8161 | // @@protoc_insertion_point(field_set:dmi.GetLogLevelResponse.reason_detail) |
| 8162 | } |
| 8163 | #if LANG_CXX11 |
| 8164 | inline void GetLogLevelResponse::set_reason_detail(::std::string&& value) { |
| 8165 | |
| 8166 | reason_detail_.SetNoArena( |
| 8167 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 8168 | // @@protoc_insertion_point(field_set_rvalue:dmi.GetLogLevelResponse.reason_detail) |
| 8169 | } |
| 8170 | #endif |
| 8171 | inline void GetLogLevelResponse::set_reason_detail(const char* value) { |
| 8172 | GOOGLE_DCHECK(value != nullptr); |
| 8173 | |
| 8174 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 8175 | // @@protoc_insertion_point(field_set_char:dmi.GetLogLevelResponse.reason_detail) |
| 8176 | } |
| 8177 | inline void GetLogLevelResponse::set_reason_detail(const char* value, size_t size) { |
| 8178 | |
| 8179 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 8180 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 8181 | // @@protoc_insertion_point(field_set_pointer:dmi.GetLogLevelResponse.reason_detail) |
| 8182 | } |
| 8183 | inline ::std::string* GetLogLevelResponse::mutable_reason_detail() { |
| 8184 | |
| 8185 | // @@protoc_insertion_point(field_mutable:dmi.GetLogLevelResponse.reason_detail) |
| 8186 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8187 | } |
| 8188 | inline ::std::string* GetLogLevelResponse::release_reason_detail() { |
| 8189 | // @@protoc_insertion_point(field_release:dmi.GetLogLevelResponse.reason_detail) |
| 8190 | |
| 8191 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8192 | } |
| 8193 | inline void GetLogLevelResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 8194 | if (reason_detail != nullptr) { |
| 8195 | |
| 8196 | } else { |
| 8197 | |
| 8198 | } |
| 8199 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 8200 | // @@protoc_insertion_point(field_set_allocated:dmi.GetLogLevelResponse.reason_detail) |
| 8201 | } |
| 8202 | |
| 8203 | // ------------------------------------------------------------------- |
| 8204 | |
| 8205 | // GetLoggableEntitiesRequest |
| 8206 | |
| 8207 | // .dmi.Uuid device_uuid = 1; |
| 8208 | inline bool GetLoggableEntitiesRequest::has_device_uuid() const { |
| 8209 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 8210 | } |
| 8211 | inline const ::dmi::Uuid& GetLoggableEntitiesRequest::device_uuid() const { |
| 8212 | const ::dmi::Uuid* p = device_uuid_; |
| 8213 | // @@protoc_insertion_point(field_get:dmi.GetLoggableEntitiesRequest.device_uuid) |
| 8214 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 8215 | &::dmi::_Uuid_default_instance_); |
| 8216 | } |
| 8217 | inline ::dmi::Uuid* GetLoggableEntitiesRequest::release_device_uuid() { |
| 8218 | // @@protoc_insertion_point(field_release:dmi.GetLoggableEntitiesRequest.device_uuid) |
| 8219 | |
| 8220 | ::dmi::Uuid* temp = device_uuid_; |
| 8221 | device_uuid_ = nullptr; |
| 8222 | return temp; |
| 8223 | } |
| 8224 | inline ::dmi::Uuid* GetLoggableEntitiesRequest::mutable_device_uuid() { |
| 8225 | |
| 8226 | if (device_uuid_ == nullptr) { |
| 8227 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 8228 | device_uuid_ = p; |
| 8229 | } |
| 8230 | // @@protoc_insertion_point(field_mutable:dmi.GetLoggableEntitiesRequest.device_uuid) |
| 8231 | return device_uuid_; |
| 8232 | } |
| 8233 | inline void GetLoggableEntitiesRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 8234 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 8235 | if (message_arena == nullptr) { |
| 8236 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 8237 | } |
| 8238 | if (device_uuid) { |
| 8239 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 8240 | if (message_arena != submessage_arena) { |
| 8241 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 8242 | message_arena, device_uuid, submessage_arena); |
| 8243 | } |
| 8244 | |
| 8245 | } else { |
| 8246 | |
| 8247 | } |
| 8248 | device_uuid_ = device_uuid; |
| 8249 | // @@protoc_insertion_point(field_set_allocated:dmi.GetLoggableEntitiesRequest.device_uuid) |
| 8250 | } |
| 8251 | |
Chandrakanth Nalkudre Gowda | 415b83c | 2021-04-28 18:01:29 +0530 | [diff] [blame] | 8252 | // ------------------------------------------------------------------- |
| 8253 | |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 8254 | // SetDmLogLevelRequest |
| 8255 | |
| 8256 | // .dmi.LogLevel level = 1; |
| 8257 | inline void SetDmLogLevelRequest::clear_level() { |
| 8258 | level_ = 0; |
| 8259 | } |
| 8260 | inline ::dmi::LogLevel SetDmLogLevelRequest::level() const { |
| 8261 | // @@protoc_insertion_point(field_get:dmi.SetDmLogLevelRequest.level) |
| 8262 | return static_cast< ::dmi::LogLevel >(level_); |
| 8263 | } |
| 8264 | inline void SetDmLogLevelRequest::set_level(::dmi::LogLevel value) { |
| 8265 | |
| 8266 | level_ = value; |
| 8267 | // @@protoc_insertion_point(field_set:dmi.SetDmLogLevelRequest.level) |
| 8268 | } |
| 8269 | |
| 8270 | // ------------------------------------------------------------------- |
| 8271 | |
| 8272 | // SetDmLogLevelResponse |
| 8273 | |
| 8274 | // .dmi.Status status = 1; |
| 8275 | inline void SetDmLogLevelResponse::clear_status() { |
| 8276 | status_ = 0; |
| 8277 | } |
| 8278 | inline ::dmi::Status SetDmLogLevelResponse::status() const { |
| 8279 | // @@protoc_insertion_point(field_get:dmi.SetDmLogLevelResponse.status) |
| 8280 | return static_cast< ::dmi::Status >(status_); |
| 8281 | } |
| 8282 | inline void SetDmLogLevelResponse::set_status(::dmi::Status value) { |
| 8283 | |
| 8284 | status_ = value; |
| 8285 | // @@protoc_insertion_point(field_set:dmi.SetDmLogLevelResponse.status) |
| 8286 | } |
| 8287 | |
| 8288 | // .dmi.SetDmLogLevelResponse.Reason reason = 2; |
| 8289 | inline void SetDmLogLevelResponse::clear_reason() { |
| 8290 | reason_ = 0; |
| 8291 | } |
| 8292 | inline ::dmi::SetDmLogLevelResponse_Reason SetDmLogLevelResponse::reason() const { |
| 8293 | // @@protoc_insertion_point(field_get:dmi.SetDmLogLevelResponse.reason) |
| 8294 | return static_cast< ::dmi::SetDmLogLevelResponse_Reason >(reason_); |
| 8295 | } |
| 8296 | inline void SetDmLogLevelResponse::set_reason(::dmi::SetDmLogLevelResponse_Reason value) { |
| 8297 | |
| 8298 | reason_ = value; |
| 8299 | // @@protoc_insertion_point(field_set:dmi.SetDmLogLevelResponse.reason) |
| 8300 | } |
| 8301 | |
| 8302 | // string reason_detail = 3; |
| 8303 | inline void SetDmLogLevelResponse::clear_reason_detail() { |
| 8304 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8305 | } |
| 8306 | inline const ::std::string& SetDmLogLevelResponse::reason_detail() const { |
| 8307 | // @@protoc_insertion_point(field_get:dmi.SetDmLogLevelResponse.reason_detail) |
| 8308 | return reason_detail_.GetNoArena(); |
| 8309 | } |
| 8310 | inline void SetDmLogLevelResponse::set_reason_detail(const ::std::string& value) { |
| 8311 | |
| 8312 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 8313 | // @@protoc_insertion_point(field_set:dmi.SetDmLogLevelResponse.reason_detail) |
| 8314 | } |
| 8315 | #if LANG_CXX11 |
| 8316 | inline void SetDmLogLevelResponse::set_reason_detail(::std::string&& value) { |
| 8317 | |
| 8318 | reason_detail_.SetNoArena( |
| 8319 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 8320 | // @@protoc_insertion_point(field_set_rvalue:dmi.SetDmLogLevelResponse.reason_detail) |
| 8321 | } |
| 8322 | #endif |
| 8323 | inline void SetDmLogLevelResponse::set_reason_detail(const char* value) { |
| 8324 | GOOGLE_DCHECK(value != nullptr); |
| 8325 | |
| 8326 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 8327 | // @@protoc_insertion_point(field_set_char:dmi.SetDmLogLevelResponse.reason_detail) |
| 8328 | } |
| 8329 | inline void SetDmLogLevelResponse::set_reason_detail(const char* value, size_t size) { |
| 8330 | |
| 8331 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 8332 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 8333 | // @@protoc_insertion_point(field_set_pointer:dmi.SetDmLogLevelResponse.reason_detail) |
| 8334 | } |
| 8335 | inline ::std::string* SetDmLogLevelResponse::mutable_reason_detail() { |
| 8336 | |
| 8337 | // @@protoc_insertion_point(field_mutable:dmi.SetDmLogLevelResponse.reason_detail) |
| 8338 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8339 | } |
| 8340 | inline ::std::string* SetDmLogLevelResponse::release_reason_detail() { |
| 8341 | // @@protoc_insertion_point(field_release:dmi.SetDmLogLevelResponse.reason_detail) |
| 8342 | |
| 8343 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8344 | } |
| 8345 | inline void SetDmLogLevelResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 8346 | if (reason_detail != nullptr) { |
| 8347 | |
| 8348 | } else { |
| 8349 | |
| 8350 | } |
| 8351 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 8352 | // @@protoc_insertion_point(field_set_allocated:dmi.SetDmLogLevelResponse.reason_detail) |
| 8353 | } |
| 8354 | |
| 8355 | // ------------------------------------------------------------------- |
| 8356 | |
| 8357 | // GetDmLogLevelRequest |
| 8358 | |
| 8359 | // ------------------------------------------------------------------- |
| 8360 | |
| 8361 | // GetDmLogLevelResponse |
| 8362 | |
| 8363 | // .dmi.LogLevel level = 1; |
| 8364 | inline void GetDmLogLevelResponse::clear_level() { |
| 8365 | level_ = 0; |
| 8366 | } |
| 8367 | inline ::dmi::LogLevel GetDmLogLevelResponse::level() const { |
| 8368 | // @@protoc_insertion_point(field_get:dmi.GetDmLogLevelResponse.level) |
| 8369 | return static_cast< ::dmi::LogLevel >(level_); |
| 8370 | } |
| 8371 | inline void GetDmLogLevelResponse::set_level(::dmi::LogLevel value) { |
| 8372 | |
| 8373 | level_ = value; |
| 8374 | // @@protoc_insertion_point(field_set:dmi.GetDmLogLevelResponse.level) |
| 8375 | } |
| 8376 | |
| 8377 | // .dmi.Status status = 2; |
| 8378 | inline void GetDmLogLevelResponse::clear_status() { |
| 8379 | status_ = 0; |
| 8380 | } |
| 8381 | inline ::dmi::Status GetDmLogLevelResponse::status() const { |
| 8382 | // @@protoc_insertion_point(field_get:dmi.GetDmLogLevelResponse.status) |
| 8383 | return static_cast< ::dmi::Status >(status_); |
| 8384 | } |
| 8385 | inline void GetDmLogLevelResponse::set_status(::dmi::Status value) { |
| 8386 | |
| 8387 | status_ = value; |
| 8388 | // @@protoc_insertion_point(field_set:dmi.GetDmLogLevelResponse.status) |
| 8389 | } |
| 8390 | |
| 8391 | // .dmi.GetDmLogLevelResponse.Reason reason = 3; |
| 8392 | inline void GetDmLogLevelResponse::clear_reason() { |
| 8393 | reason_ = 0; |
| 8394 | } |
| 8395 | inline ::dmi::GetDmLogLevelResponse_Reason GetDmLogLevelResponse::reason() const { |
| 8396 | // @@protoc_insertion_point(field_get:dmi.GetDmLogLevelResponse.reason) |
| 8397 | return static_cast< ::dmi::GetDmLogLevelResponse_Reason >(reason_); |
| 8398 | } |
| 8399 | inline void GetDmLogLevelResponse::set_reason(::dmi::GetDmLogLevelResponse_Reason value) { |
| 8400 | |
| 8401 | reason_ = value; |
| 8402 | // @@protoc_insertion_point(field_set:dmi.GetDmLogLevelResponse.reason) |
| 8403 | } |
| 8404 | |
| 8405 | // string reason_detail = 4; |
| 8406 | inline void GetDmLogLevelResponse::clear_reason_detail() { |
| 8407 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8408 | } |
| 8409 | inline const ::std::string& GetDmLogLevelResponse::reason_detail() const { |
| 8410 | // @@protoc_insertion_point(field_get:dmi.GetDmLogLevelResponse.reason_detail) |
| 8411 | return reason_detail_.GetNoArena(); |
| 8412 | } |
| 8413 | inline void GetDmLogLevelResponse::set_reason_detail(const ::std::string& value) { |
| 8414 | |
| 8415 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 8416 | // @@protoc_insertion_point(field_set:dmi.GetDmLogLevelResponse.reason_detail) |
| 8417 | } |
| 8418 | #if LANG_CXX11 |
| 8419 | inline void GetDmLogLevelResponse::set_reason_detail(::std::string&& value) { |
| 8420 | |
| 8421 | reason_detail_.SetNoArena( |
| 8422 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 8423 | // @@protoc_insertion_point(field_set_rvalue:dmi.GetDmLogLevelResponse.reason_detail) |
| 8424 | } |
| 8425 | #endif |
| 8426 | inline void GetDmLogLevelResponse::set_reason_detail(const char* value) { |
| 8427 | GOOGLE_DCHECK(value != nullptr); |
| 8428 | |
| 8429 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 8430 | // @@protoc_insertion_point(field_set_char:dmi.GetDmLogLevelResponse.reason_detail) |
| 8431 | } |
| 8432 | inline void GetDmLogLevelResponse::set_reason_detail(const char* value, size_t size) { |
| 8433 | |
| 8434 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 8435 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 8436 | // @@protoc_insertion_point(field_set_pointer:dmi.GetDmLogLevelResponse.reason_detail) |
| 8437 | } |
| 8438 | inline ::std::string* GetDmLogLevelResponse::mutable_reason_detail() { |
| 8439 | |
| 8440 | // @@protoc_insertion_point(field_mutable:dmi.GetDmLogLevelResponse.reason_detail) |
| 8441 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8442 | } |
| 8443 | inline ::std::string* GetDmLogLevelResponse::release_reason_detail() { |
| 8444 | // @@protoc_insertion_point(field_release:dmi.GetDmLogLevelResponse.reason_detail) |
| 8445 | |
| 8446 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8447 | } |
| 8448 | inline void GetDmLogLevelResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 8449 | if (reason_detail != nullptr) { |
| 8450 | |
| 8451 | } else { |
| 8452 | |
| 8453 | } |
| 8454 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 8455 | // @@protoc_insertion_point(field_set_allocated:dmi.GetDmLogLevelResponse.reason_detail) |
| 8456 | } |
| 8457 | |
| 8458 | // ------------------------------------------------------------------- |
| 8459 | |
Chandrakanth Nalkudre Gowda | 415b83c | 2021-04-28 18:01:29 +0530 | [diff] [blame] | 8460 | // Heartbeat |
| 8461 | |
| 8462 | // fixed32 heartbeat_signature = 1; |
| 8463 | inline void Heartbeat::clear_heartbeat_signature() { |
| 8464 | heartbeat_signature_ = 0u; |
| 8465 | } |
| 8466 | inline ::google::protobuf::uint32 Heartbeat::heartbeat_signature() const { |
| 8467 | // @@protoc_insertion_point(field_get:dmi.Heartbeat.heartbeat_signature) |
| 8468 | return heartbeat_signature_; |
| 8469 | } |
| 8470 | inline void Heartbeat::set_heartbeat_signature(::google::protobuf::uint32 value) { |
| 8471 | |
| 8472 | heartbeat_signature_ = value; |
| 8473 | // @@protoc_insertion_point(field_set:dmi.Heartbeat.heartbeat_signature) |
| 8474 | } |
| 8475 | |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 8476 | // ------------------------------------------------------------------- |
| 8477 | |
| 8478 | // RebootDeviceRequest |
| 8479 | |
| 8480 | // .dmi.Uuid device_uuid = 1; |
| 8481 | inline bool RebootDeviceRequest::has_device_uuid() const { |
| 8482 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 8483 | } |
| 8484 | inline const ::dmi::Uuid& RebootDeviceRequest::device_uuid() const { |
| 8485 | const ::dmi::Uuid* p = device_uuid_; |
| 8486 | // @@protoc_insertion_point(field_get:dmi.RebootDeviceRequest.device_uuid) |
| 8487 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 8488 | &::dmi::_Uuid_default_instance_); |
| 8489 | } |
| 8490 | inline ::dmi::Uuid* RebootDeviceRequest::release_device_uuid() { |
| 8491 | // @@protoc_insertion_point(field_release:dmi.RebootDeviceRequest.device_uuid) |
| 8492 | |
| 8493 | ::dmi::Uuid* temp = device_uuid_; |
| 8494 | device_uuid_ = nullptr; |
| 8495 | return temp; |
| 8496 | } |
| 8497 | inline ::dmi::Uuid* RebootDeviceRequest::mutable_device_uuid() { |
| 8498 | |
| 8499 | if (device_uuid_ == nullptr) { |
| 8500 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 8501 | device_uuid_ = p; |
| 8502 | } |
| 8503 | // @@protoc_insertion_point(field_mutable:dmi.RebootDeviceRequest.device_uuid) |
| 8504 | return device_uuid_; |
| 8505 | } |
| 8506 | inline void RebootDeviceRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 8507 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 8508 | if (message_arena == nullptr) { |
| 8509 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 8510 | } |
| 8511 | if (device_uuid) { |
| 8512 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 8513 | if (message_arena != submessage_arena) { |
| 8514 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 8515 | message_arena, device_uuid, submessage_arena); |
| 8516 | } |
| 8517 | |
| 8518 | } else { |
| 8519 | |
| 8520 | } |
| 8521 | device_uuid_ = device_uuid; |
| 8522 | // @@protoc_insertion_point(field_set_allocated:dmi.RebootDeviceRequest.device_uuid) |
| 8523 | } |
| 8524 | |
| 8525 | // ------------------------------------------------------------------- |
| 8526 | |
| 8527 | // RebootDeviceResponse |
| 8528 | |
| 8529 | // .dmi.Status status = 3; |
| 8530 | inline void RebootDeviceResponse::clear_status() { |
| 8531 | status_ = 0; |
| 8532 | } |
| 8533 | inline ::dmi::Status RebootDeviceResponse::status() const { |
| 8534 | // @@protoc_insertion_point(field_get:dmi.RebootDeviceResponse.status) |
| 8535 | return static_cast< ::dmi::Status >(status_); |
| 8536 | } |
| 8537 | inline void RebootDeviceResponse::set_status(::dmi::Status value) { |
| 8538 | |
| 8539 | status_ = value; |
| 8540 | // @@protoc_insertion_point(field_set:dmi.RebootDeviceResponse.status) |
| 8541 | } |
| 8542 | |
| 8543 | // .dmi.RebootDeviceResponse.Reason reason = 4; |
| 8544 | inline void RebootDeviceResponse::clear_reason() { |
| 8545 | reason_ = 0; |
| 8546 | } |
| 8547 | inline ::dmi::RebootDeviceResponse_Reason RebootDeviceResponse::reason() const { |
| 8548 | // @@protoc_insertion_point(field_get:dmi.RebootDeviceResponse.reason) |
| 8549 | return static_cast< ::dmi::RebootDeviceResponse_Reason >(reason_); |
| 8550 | } |
| 8551 | inline void RebootDeviceResponse::set_reason(::dmi::RebootDeviceResponse_Reason value) { |
| 8552 | |
| 8553 | reason_ = value; |
| 8554 | // @@protoc_insertion_point(field_set:dmi.RebootDeviceResponse.reason) |
| 8555 | } |
| 8556 | |
| 8557 | // string reason_detail = 5; |
| 8558 | inline void RebootDeviceResponse::clear_reason_detail() { |
| 8559 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8560 | } |
| 8561 | inline const ::std::string& RebootDeviceResponse::reason_detail() const { |
| 8562 | // @@protoc_insertion_point(field_get:dmi.RebootDeviceResponse.reason_detail) |
| 8563 | return reason_detail_.GetNoArena(); |
| 8564 | } |
| 8565 | inline void RebootDeviceResponse::set_reason_detail(const ::std::string& value) { |
| 8566 | |
| 8567 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 8568 | // @@protoc_insertion_point(field_set:dmi.RebootDeviceResponse.reason_detail) |
| 8569 | } |
| 8570 | #if LANG_CXX11 |
| 8571 | inline void RebootDeviceResponse::set_reason_detail(::std::string&& value) { |
| 8572 | |
| 8573 | reason_detail_.SetNoArena( |
| 8574 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 8575 | // @@protoc_insertion_point(field_set_rvalue:dmi.RebootDeviceResponse.reason_detail) |
| 8576 | } |
| 8577 | #endif |
| 8578 | inline void RebootDeviceResponse::set_reason_detail(const char* value) { |
| 8579 | GOOGLE_DCHECK(value != nullptr); |
| 8580 | |
| 8581 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 8582 | // @@protoc_insertion_point(field_set_char:dmi.RebootDeviceResponse.reason_detail) |
| 8583 | } |
| 8584 | inline void RebootDeviceResponse::set_reason_detail(const char* value, size_t size) { |
| 8585 | |
| 8586 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 8587 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 8588 | // @@protoc_insertion_point(field_set_pointer:dmi.RebootDeviceResponse.reason_detail) |
| 8589 | } |
| 8590 | inline ::std::string* RebootDeviceResponse::mutable_reason_detail() { |
| 8591 | |
| 8592 | // @@protoc_insertion_point(field_mutable:dmi.RebootDeviceResponse.reason_detail) |
| 8593 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8594 | } |
| 8595 | inline ::std::string* RebootDeviceResponse::release_reason_detail() { |
| 8596 | // @@protoc_insertion_point(field_release:dmi.RebootDeviceResponse.reason_detail) |
| 8597 | |
| 8598 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8599 | } |
| 8600 | inline void RebootDeviceResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 8601 | if (reason_detail != nullptr) { |
| 8602 | |
| 8603 | } else { |
| 8604 | |
| 8605 | } |
| 8606 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 8607 | // @@protoc_insertion_point(field_set_allocated:dmi.RebootDeviceResponse.reason_detail) |
| 8608 | } |
| 8609 | |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 8610 | // ------------------------------------------------------------------- |
| 8611 | |
| 8612 | // DisableHWComponentRequest |
| 8613 | |
| 8614 | // .dmi.Uuid device_uuid = 1; |
| 8615 | inline bool DisableHWComponentRequest::has_device_uuid() const { |
| 8616 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 8617 | } |
| 8618 | inline const ::dmi::Uuid& DisableHWComponentRequest::device_uuid() const { |
| 8619 | const ::dmi::Uuid* p = device_uuid_; |
| 8620 | // @@protoc_insertion_point(field_get:dmi.DisableHWComponentRequest.device_uuid) |
| 8621 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 8622 | &::dmi::_Uuid_default_instance_); |
| 8623 | } |
| 8624 | inline ::dmi::Uuid* DisableHWComponentRequest::release_device_uuid() { |
| 8625 | // @@protoc_insertion_point(field_release:dmi.DisableHWComponentRequest.device_uuid) |
| 8626 | |
| 8627 | ::dmi::Uuid* temp = device_uuid_; |
| 8628 | device_uuid_ = nullptr; |
| 8629 | return temp; |
| 8630 | } |
| 8631 | inline ::dmi::Uuid* DisableHWComponentRequest::mutable_device_uuid() { |
| 8632 | |
| 8633 | if (device_uuid_ == nullptr) { |
| 8634 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 8635 | device_uuid_ = p; |
| 8636 | } |
| 8637 | // @@protoc_insertion_point(field_mutable:dmi.DisableHWComponentRequest.device_uuid) |
| 8638 | return device_uuid_; |
| 8639 | } |
| 8640 | inline void DisableHWComponentRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 8641 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 8642 | if (message_arena == nullptr) { |
| 8643 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 8644 | } |
| 8645 | if (device_uuid) { |
| 8646 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 8647 | if (message_arena != submessage_arena) { |
| 8648 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 8649 | message_arena, device_uuid, submessage_arena); |
| 8650 | } |
| 8651 | |
| 8652 | } else { |
| 8653 | |
| 8654 | } |
| 8655 | device_uuid_ = device_uuid; |
| 8656 | // @@protoc_insertion_point(field_set_allocated:dmi.DisableHWComponentRequest.device_uuid) |
| 8657 | } |
| 8658 | |
| 8659 | // .dmi.Uuid component_uuid = 2; |
| 8660 | inline bool DisableHWComponentRequest::has_component_uuid() const { |
| 8661 | return this != internal_default_instance() && component_uuid_ != nullptr; |
| 8662 | } |
| 8663 | inline const ::dmi::Uuid& DisableHWComponentRequest::component_uuid() const { |
| 8664 | const ::dmi::Uuid* p = component_uuid_; |
| 8665 | // @@protoc_insertion_point(field_get:dmi.DisableHWComponentRequest.component_uuid) |
| 8666 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 8667 | &::dmi::_Uuid_default_instance_); |
| 8668 | } |
| 8669 | inline ::dmi::Uuid* DisableHWComponentRequest::release_component_uuid() { |
| 8670 | // @@protoc_insertion_point(field_release:dmi.DisableHWComponentRequest.component_uuid) |
| 8671 | |
| 8672 | ::dmi::Uuid* temp = component_uuid_; |
| 8673 | component_uuid_ = nullptr; |
| 8674 | return temp; |
| 8675 | } |
| 8676 | inline ::dmi::Uuid* DisableHWComponentRequest::mutable_component_uuid() { |
| 8677 | |
| 8678 | if (component_uuid_ == nullptr) { |
| 8679 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 8680 | component_uuid_ = p; |
| 8681 | } |
| 8682 | // @@protoc_insertion_point(field_mutable:dmi.DisableHWComponentRequest.component_uuid) |
| 8683 | return component_uuid_; |
| 8684 | } |
| 8685 | inline void DisableHWComponentRequest::set_allocated_component_uuid(::dmi::Uuid* component_uuid) { |
| 8686 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 8687 | if (message_arena == nullptr) { |
| 8688 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(component_uuid_); |
| 8689 | } |
| 8690 | if (component_uuid) { |
| 8691 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 8692 | if (message_arena != submessage_arena) { |
| 8693 | component_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 8694 | message_arena, component_uuid, submessage_arena); |
| 8695 | } |
| 8696 | |
| 8697 | } else { |
| 8698 | |
| 8699 | } |
| 8700 | component_uuid_ = component_uuid; |
| 8701 | // @@protoc_insertion_point(field_set_allocated:dmi.DisableHWComponentRequest.component_uuid) |
| 8702 | } |
| 8703 | |
| 8704 | // string component_name = 3; |
| 8705 | inline void DisableHWComponentRequest::clear_component_name() { |
| 8706 | component_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8707 | } |
| 8708 | inline const ::std::string& DisableHWComponentRequest::component_name() const { |
| 8709 | // @@protoc_insertion_point(field_get:dmi.DisableHWComponentRequest.component_name) |
| 8710 | return component_name_.GetNoArena(); |
| 8711 | } |
| 8712 | inline void DisableHWComponentRequest::set_component_name(const ::std::string& value) { |
| 8713 | |
| 8714 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 8715 | // @@protoc_insertion_point(field_set:dmi.DisableHWComponentRequest.component_name) |
| 8716 | } |
| 8717 | #if LANG_CXX11 |
| 8718 | inline void DisableHWComponentRequest::set_component_name(::std::string&& value) { |
| 8719 | |
| 8720 | component_name_.SetNoArena( |
| 8721 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 8722 | // @@protoc_insertion_point(field_set_rvalue:dmi.DisableHWComponentRequest.component_name) |
| 8723 | } |
| 8724 | #endif |
| 8725 | inline void DisableHWComponentRequest::set_component_name(const char* value) { |
| 8726 | GOOGLE_DCHECK(value != nullptr); |
| 8727 | |
| 8728 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 8729 | // @@protoc_insertion_point(field_set_char:dmi.DisableHWComponentRequest.component_name) |
| 8730 | } |
| 8731 | inline void DisableHWComponentRequest::set_component_name(const char* value, size_t size) { |
| 8732 | |
| 8733 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 8734 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 8735 | // @@protoc_insertion_point(field_set_pointer:dmi.DisableHWComponentRequest.component_name) |
| 8736 | } |
| 8737 | inline ::std::string* DisableHWComponentRequest::mutable_component_name() { |
| 8738 | |
| 8739 | // @@protoc_insertion_point(field_mutable:dmi.DisableHWComponentRequest.component_name) |
| 8740 | return component_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8741 | } |
| 8742 | inline ::std::string* DisableHWComponentRequest::release_component_name() { |
| 8743 | // @@protoc_insertion_point(field_release:dmi.DisableHWComponentRequest.component_name) |
| 8744 | |
| 8745 | return component_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8746 | } |
| 8747 | inline void DisableHWComponentRequest::set_allocated_component_name(::std::string* component_name) { |
| 8748 | if (component_name != nullptr) { |
| 8749 | |
| 8750 | } else { |
| 8751 | |
| 8752 | } |
| 8753 | component_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), component_name); |
| 8754 | // @@protoc_insertion_point(field_set_allocated:dmi.DisableHWComponentRequest.component_name) |
| 8755 | } |
| 8756 | |
| 8757 | // ------------------------------------------------------------------- |
| 8758 | |
| 8759 | // DisableHWComponentResponse |
| 8760 | |
| 8761 | // .dmi.Status status = 1; |
| 8762 | inline void DisableHWComponentResponse::clear_status() { |
| 8763 | status_ = 0; |
| 8764 | } |
| 8765 | inline ::dmi::Status DisableHWComponentResponse::status() const { |
| 8766 | // @@protoc_insertion_point(field_get:dmi.DisableHWComponentResponse.status) |
| 8767 | return static_cast< ::dmi::Status >(status_); |
| 8768 | } |
| 8769 | inline void DisableHWComponentResponse::set_status(::dmi::Status value) { |
| 8770 | |
| 8771 | status_ = value; |
| 8772 | // @@protoc_insertion_point(field_set:dmi.DisableHWComponentResponse.status) |
| 8773 | } |
| 8774 | |
| 8775 | // .dmi.DisableHWComponentResponse.Reason reason = 2; |
| 8776 | inline void DisableHWComponentResponse::clear_reason() { |
| 8777 | reason_ = 0; |
| 8778 | } |
| 8779 | inline ::dmi::DisableHWComponentResponse_Reason DisableHWComponentResponse::reason() const { |
| 8780 | // @@protoc_insertion_point(field_get:dmi.DisableHWComponentResponse.reason) |
| 8781 | return static_cast< ::dmi::DisableHWComponentResponse_Reason >(reason_); |
| 8782 | } |
| 8783 | inline void DisableHWComponentResponse::set_reason(::dmi::DisableHWComponentResponse_Reason value) { |
| 8784 | |
| 8785 | reason_ = value; |
| 8786 | // @@protoc_insertion_point(field_set:dmi.DisableHWComponentResponse.reason) |
| 8787 | } |
| 8788 | |
| 8789 | // string reason_detail = 3; |
| 8790 | inline void DisableHWComponentResponse::clear_reason_detail() { |
| 8791 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8792 | } |
| 8793 | inline const ::std::string& DisableHWComponentResponse::reason_detail() const { |
| 8794 | // @@protoc_insertion_point(field_get:dmi.DisableHWComponentResponse.reason_detail) |
| 8795 | return reason_detail_.GetNoArena(); |
| 8796 | } |
| 8797 | inline void DisableHWComponentResponse::set_reason_detail(const ::std::string& value) { |
| 8798 | |
| 8799 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 8800 | // @@protoc_insertion_point(field_set:dmi.DisableHWComponentResponse.reason_detail) |
| 8801 | } |
| 8802 | #if LANG_CXX11 |
| 8803 | inline void DisableHWComponentResponse::set_reason_detail(::std::string&& value) { |
| 8804 | |
| 8805 | reason_detail_.SetNoArena( |
| 8806 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 8807 | // @@protoc_insertion_point(field_set_rvalue:dmi.DisableHWComponentResponse.reason_detail) |
| 8808 | } |
| 8809 | #endif |
| 8810 | inline void DisableHWComponentResponse::set_reason_detail(const char* value) { |
| 8811 | GOOGLE_DCHECK(value != nullptr); |
| 8812 | |
| 8813 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 8814 | // @@protoc_insertion_point(field_set_char:dmi.DisableHWComponentResponse.reason_detail) |
| 8815 | } |
| 8816 | inline void DisableHWComponentResponse::set_reason_detail(const char* value, size_t size) { |
| 8817 | |
| 8818 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 8819 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 8820 | // @@protoc_insertion_point(field_set_pointer:dmi.DisableHWComponentResponse.reason_detail) |
| 8821 | } |
| 8822 | inline ::std::string* DisableHWComponentResponse::mutable_reason_detail() { |
| 8823 | |
| 8824 | // @@protoc_insertion_point(field_mutable:dmi.DisableHWComponentResponse.reason_detail) |
| 8825 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8826 | } |
| 8827 | inline ::std::string* DisableHWComponentResponse::release_reason_detail() { |
| 8828 | // @@protoc_insertion_point(field_release:dmi.DisableHWComponentResponse.reason_detail) |
| 8829 | |
| 8830 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8831 | } |
| 8832 | inline void DisableHWComponentResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 8833 | if (reason_detail != nullptr) { |
| 8834 | |
| 8835 | } else { |
| 8836 | |
| 8837 | } |
| 8838 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 8839 | // @@protoc_insertion_point(field_set_allocated:dmi.DisableHWComponentResponse.reason_detail) |
| 8840 | } |
| 8841 | |
| 8842 | // ------------------------------------------------------------------- |
| 8843 | |
| 8844 | // ResetHWComponentRequest |
| 8845 | |
| 8846 | // .dmi.Uuid device_uuid = 1; |
| 8847 | inline bool ResetHWComponentRequest::has_device_uuid() const { |
| 8848 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 8849 | } |
| 8850 | inline const ::dmi::Uuid& ResetHWComponentRequest::device_uuid() const { |
| 8851 | const ::dmi::Uuid* p = device_uuid_; |
| 8852 | // @@protoc_insertion_point(field_get:dmi.ResetHWComponentRequest.device_uuid) |
| 8853 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 8854 | &::dmi::_Uuid_default_instance_); |
| 8855 | } |
| 8856 | inline ::dmi::Uuid* ResetHWComponentRequest::release_device_uuid() { |
| 8857 | // @@protoc_insertion_point(field_release:dmi.ResetHWComponentRequest.device_uuid) |
| 8858 | |
| 8859 | ::dmi::Uuid* temp = device_uuid_; |
| 8860 | device_uuid_ = nullptr; |
| 8861 | return temp; |
| 8862 | } |
| 8863 | inline ::dmi::Uuid* ResetHWComponentRequest::mutable_device_uuid() { |
| 8864 | |
| 8865 | if (device_uuid_ == nullptr) { |
| 8866 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 8867 | device_uuid_ = p; |
| 8868 | } |
| 8869 | // @@protoc_insertion_point(field_mutable:dmi.ResetHWComponentRequest.device_uuid) |
| 8870 | return device_uuid_; |
| 8871 | } |
| 8872 | inline void ResetHWComponentRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 8873 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 8874 | if (message_arena == nullptr) { |
| 8875 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 8876 | } |
| 8877 | if (device_uuid) { |
| 8878 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 8879 | if (message_arena != submessage_arena) { |
| 8880 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 8881 | message_arena, device_uuid, submessage_arena); |
| 8882 | } |
| 8883 | |
| 8884 | } else { |
| 8885 | |
| 8886 | } |
| 8887 | device_uuid_ = device_uuid; |
| 8888 | // @@protoc_insertion_point(field_set_allocated:dmi.ResetHWComponentRequest.device_uuid) |
| 8889 | } |
| 8890 | |
| 8891 | // .dmi.Uuid component_uuid = 2; |
| 8892 | inline bool ResetHWComponentRequest::has_component_uuid() const { |
| 8893 | return this != internal_default_instance() && component_uuid_ != nullptr; |
| 8894 | } |
| 8895 | inline const ::dmi::Uuid& ResetHWComponentRequest::component_uuid() const { |
| 8896 | const ::dmi::Uuid* p = component_uuid_; |
| 8897 | // @@protoc_insertion_point(field_get:dmi.ResetHWComponentRequest.component_uuid) |
| 8898 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 8899 | &::dmi::_Uuid_default_instance_); |
| 8900 | } |
| 8901 | inline ::dmi::Uuid* ResetHWComponentRequest::release_component_uuid() { |
| 8902 | // @@protoc_insertion_point(field_release:dmi.ResetHWComponentRequest.component_uuid) |
| 8903 | |
| 8904 | ::dmi::Uuid* temp = component_uuid_; |
| 8905 | component_uuid_ = nullptr; |
| 8906 | return temp; |
| 8907 | } |
| 8908 | inline ::dmi::Uuid* ResetHWComponentRequest::mutable_component_uuid() { |
| 8909 | |
| 8910 | if (component_uuid_ == nullptr) { |
| 8911 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 8912 | component_uuid_ = p; |
| 8913 | } |
| 8914 | // @@protoc_insertion_point(field_mutable:dmi.ResetHWComponentRequest.component_uuid) |
| 8915 | return component_uuid_; |
| 8916 | } |
| 8917 | inline void ResetHWComponentRequest::set_allocated_component_uuid(::dmi::Uuid* component_uuid) { |
| 8918 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 8919 | if (message_arena == nullptr) { |
| 8920 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(component_uuid_); |
| 8921 | } |
| 8922 | if (component_uuid) { |
| 8923 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 8924 | if (message_arena != submessage_arena) { |
| 8925 | component_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 8926 | message_arena, component_uuid, submessage_arena); |
| 8927 | } |
| 8928 | |
| 8929 | } else { |
| 8930 | |
| 8931 | } |
| 8932 | component_uuid_ = component_uuid; |
| 8933 | // @@protoc_insertion_point(field_set_allocated:dmi.ResetHWComponentRequest.component_uuid) |
| 8934 | } |
| 8935 | |
| 8936 | // string component_name = 3; |
| 8937 | inline void ResetHWComponentRequest::clear_component_name() { |
| 8938 | component_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8939 | } |
| 8940 | inline const ::std::string& ResetHWComponentRequest::component_name() const { |
| 8941 | // @@protoc_insertion_point(field_get:dmi.ResetHWComponentRequest.component_name) |
| 8942 | return component_name_.GetNoArena(); |
| 8943 | } |
| 8944 | inline void ResetHWComponentRequest::set_component_name(const ::std::string& value) { |
| 8945 | |
| 8946 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 8947 | // @@protoc_insertion_point(field_set:dmi.ResetHWComponentRequest.component_name) |
| 8948 | } |
| 8949 | #if LANG_CXX11 |
| 8950 | inline void ResetHWComponentRequest::set_component_name(::std::string&& value) { |
| 8951 | |
| 8952 | component_name_.SetNoArena( |
| 8953 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 8954 | // @@protoc_insertion_point(field_set_rvalue:dmi.ResetHWComponentRequest.component_name) |
| 8955 | } |
| 8956 | #endif |
| 8957 | inline void ResetHWComponentRequest::set_component_name(const char* value) { |
| 8958 | GOOGLE_DCHECK(value != nullptr); |
| 8959 | |
| 8960 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 8961 | // @@protoc_insertion_point(field_set_char:dmi.ResetHWComponentRequest.component_name) |
| 8962 | } |
| 8963 | inline void ResetHWComponentRequest::set_component_name(const char* value, size_t size) { |
| 8964 | |
| 8965 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 8966 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 8967 | // @@protoc_insertion_point(field_set_pointer:dmi.ResetHWComponentRequest.component_name) |
| 8968 | } |
| 8969 | inline ::std::string* ResetHWComponentRequest::mutable_component_name() { |
| 8970 | |
| 8971 | // @@protoc_insertion_point(field_mutable:dmi.ResetHWComponentRequest.component_name) |
| 8972 | return component_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8973 | } |
| 8974 | inline ::std::string* ResetHWComponentRequest::release_component_name() { |
| 8975 | // @@protoc_insertion_point(field_release:dmi.ResetHWComponentRequest.component_name) |
| 8976 | |
| 8977 | return component_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 8978 | } |
| 8979 | inline void ResetHWComponentRequest::set_allocated_component_name(::std::string* component_name) { |
| 8980 | if (component_name != nullptr) { |
| 8981 | |
| 8982 | } else { |
| 8983 | |
| 8984 | } |
| 8985 | component_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), component_name); |
| 8986 | // @@protoc_insertion_point(field_set_allocated:dmi.ResetHWComponentRequest.component_name) |
| 8987 | } |
| 8988 | |
| 8989 | // ------------------------------------------------------------------- |
| 8990 | |
| 8991 | // ResetHWComponentResponse |
| 8992 | |
| 8993 | // .dmi.Status status = 1; |
| 8994 | inline void ResetHWComponentResponse::clear_status() { |
| 8995 | status_ = 0; |
| 8996 | } |
| 8997 | inline ::dmi::Status ResetHWComponentResponse::status() const { |
| 8998 | // @@protoc_insertion_point(field_get:dmi.ResetHWComponentResponse.status) |
| 8999 | return static_cast< ::dmi::Status >(status_); |
| 9000 | } |
| 9001 | inline void ResetHWComponentResponse::set_status(::dmi::Status value) { |
| 9002 | |
| 9003 | status_ = value; |
| 9004 | // @@protoc_insertion_point(field_set:dmi.ResetHWComponentResponse.status) |
| 9005 | } |
| 9006 | |
| 9007 | // .dmi.ResetHWComponentResponse.Reason reason = 2; |
| 9008 | inline void ResetHWComponentResponse::clear_reason() { |
| 9009 | reason_ = 0; |
| 9010 | } |
| 9011 | inline ::dmi::ResetHWComponentResponse_Reason ResetHWComponentResponse::reason() const { |
| 9012 | // @@protoc_insertion_point(field_get:dmi.ResetHWComponentResponse.reason) |
| 9013 | return static_cast< ::dmi::ResetHWComponentResponse_Reason >(reason_); |
| 9014 | } |
| 9015 | inline void ResetHWComponentResponse::set_reason(::dmi::ResetHWComponentResponse_Reason value) { |
| 9016 | |
| 9017 | reason_ = value; |
| 9018 | // @@protoc_insertion_point(field_set:dmi.ResetHWComponentResponse.reason) |
| 9019 | } |
| 9020 | |
| 9021 | // string reason_detail = 3; |
| 9022 | inline void ResetHWComponentResponse::clear_reason_detail() { |
| 9023 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 9024 | } |
| 9025 | inline const ::std::string& ResetHWComponentResponse::reason_detail() const { |
| 9026 | // @@protoc_insertion_point(field_get:dmi.ResetHWComponentResponse.reason_detail) |
| 9027 | return reason_detail_.GetNoArena(); |
| 9028 | } |
| 9029 | inline void ResetHWComponentResponse::set_reason_detail(const ::std::string& value) { |
| 9030 | |
| 9031 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 9032 | // @@protoc_insertion_point(field_set:dmi.ResetHWComponentResponse.reason_detail) |
| 9033 | } |
| 9034 | #if LANG_CXX11 |
| 9035 | inline void ResetHWComponentResponse::set_reason_detail(::std::string&& value) { |
| 9036 | |
| 9037 | reason_detail_.SetNoArena( |
| 9038 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 9039 | // @@protoc_insertion_point(field_set_rvalue:dmi.ResetHWComponentResponse.reason_detail) |
| 9040 | } |
| 9041 | #endif |
| 9042 | inline void ResetHWComponentResponse::set_reason_detail(const char* value) { |
| 9043 | GOOGLE_DCHECK(value != nullptr); |
| 9044 | |
| 9045 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 9046 | // @@protoc_insertion_point(field_set_char:dmi.ResetHWComponentResponse.reason_detail) |
| 9047 | } |
| 9048 | inline void ResetHWComponentResponse::set_reason_detail(const char* value, size_t size) { |
| 9049 | |
| 9050 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 9051 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 9052 | // @@protoc_insertion_point(field_set_pointer:dmi.ResetHWComponentResponse.reason_detail) |
| 9053 | } |
| 9054 | inline ::std::string* ResetHWComponentResponse::mutable_reason_detail() { |
| 9055 | |
| 9056 | // @@protoc_insertion_point(field_mutable:dmi.ResetHWComponentResponse.reason_detail) |
| 9057 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 9058 | } |
| 9059 | inline ::std::string* ResetHWComponentResponse::release_reason_detail() { |
| 9060 | // @@protoc_insertion_point(field_release:dmi.ResetHWComponentResponse.reason_detail) |
| 9061 | |
| 9062 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 9063 | } |
| 9064 | inline void ResetHWComponentResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 9065 | if (reason_detail != nullptr) { |
| 9066 | |
| 9067 | } else { |
| 9068 | |
| 9069 | } |
| 9070 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 9071 | // @@protoc_insertion_point(field_set_allocated:dmi.ResetHWComponentResponse.reason_detail) |
| 9072 | } |
| 9073 | |
| 9074 | // ------------------------------------------------------------------- |
| 9075 | |
| 9076 | // EnableHWComponentRequest |
| 9077 | |
| 9078 | // .dmi.Uuid device_uuid = 1; |
| 9079 | inline bool EnableHWComponentRequest::has_device_uuid() const { |
| 9080 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 9081 | } |
| 9082 | inline const ::dmi::Uuid& EnableHWComponentRequest::device_uuid() const { |
| 9083 | const ::dmi::Uuid* p = device_uuid_; |
| 9084 | // @@protoc_insertion_point(field_get:dmi.EnableHWComponentRequest.device_uuid) |
| 9085 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 9086 | &::dmi::_Uuid_default_instance_); |
| 9087 | } |
| 9088 | inline ::dmi::Uuid* EnableHWComponentRequest::release_device_uuid() { |
| 9089 | // @@protoc_insertion_point(field_release:dmi.EnableHWComponentRequest.device_uuid) |
| 9090 | |
| 9091 | ::dmi::Uuid* temp = device_uuid_; |
| 9092 | device_uuid_ = nullptr; |
| 9093 | return temp; |
| 9094 | } |
| 9095 | inline ::dmi::Uuid* EnableHWComponentRequest::mutable_device_uuid() { |
| 9096 | |
| 9097 | if (device_uuid_ == nullptr) { |
| 9098 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 9099 | device_uuid_ = p; |
| 9100 | } |
| 9101 | // @@protoc_insertion_point(field_mutable:dmi.EnableHWComponentRequest.device_uuid) |
| 9102 | return device_uuid_; |
| 9103 | } |
| 9104 | inline void EnableHWComponentRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 9105 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 9106 | if (message_arena == nullptr) { |
| 9107 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 9108 | } |
| 9109 | if (device_uuid) { |
| 9110 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 9111 | if (message_arena != submessage_arena) { |
| 9112 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 9113 | message_arena, device_uuid, submessage_arena); |
| 9114 | } |
| 9115 | |
| 9116 | } else { |
| 9117 | |
| 9118 | } |
| 9119 | device_uuid_ = device_uuid; |
| 9120 | // @@protoc_insertion_point(field_set_allocated:dmi.EnableHWComponentRequest.device_uuid) |
| 9121 | } |
| 9122 | |
| 9123 | // .dmi.Uuid component_uuid = 2; |
| 9124 | inline bool EnableHWComponentRequest::has_component_uuid() const { |
| 9125 | return this != internal_default_instance() && component_uuid_ != nullptr; |
| 9126 | } |
| 9127 | inline const ::dmi::Uuid& EnableHWComponentRequest::component_uuid() const { |
| 9128 | const ::dmi::Uuid* p = component_uuid_; |
| 9129 | // @@protoc_insertion_point(field_get:dmi.EnableHWComponentRequest.component_uuid) |
| 9130 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 9131 | &::dmi::_Uuid_default_instance_); |
| 9132 | } |
| 9133 | inline ::dmi::Uuid* EnableHWComponentRequest::release_component_uuid() { |
| 9134 | // @@protoc_insertion_point(field_release:dmi.EnableHWComponentRequest.component_uuid) |
| 9135 | |
| 9136 | ::dmi::Uuid* temp = component_uuid_; |
| 9137 | component_uuid_ = nullptr; |
| 9138 | return temp; |
| 9139 | } |
| 9140 | inline ::dmi::Uuid* EnableHWComponentRequest::mutable_component_uuid() { |
| 9141 | |
| 9142 | if (component_uuid_ == nullptr) { |
| 9143 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 9144 | component_uuid_ = p; |
| 9145 | } |
| 9146 | // @@protoc_insertion_point(field_mutable:dmi.EnableHWComponentRequest.component_uuid) |
| 9147 | return component_uuid_; |
| 9148 | } |
| 9149 | inline void EnableHWComponentRequest::set_allocated_component_uuid(::dmi::Uuid* component_uuid) { |
| 9150 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 9151 | if (message_arena == nullptr) { |
| 9152 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(component_uuid_); |
| 9153 | } |
| 9154 | if (component_uuid) { |
| 9155 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 9156 | if (message_arena != submessage_arena) { |
| 9157 | component_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 9158 | message_arena, component_uuid, submessage_arena); |
| 9159 | } |
| 9160 | |
| 9161 | } else { |
| 9162 | |
| 9163 | } |
| 9164 | component_uuid_ = component_uuid; |
| 9165 | // @@protoc_insertion_point(field_set_allocated:dmi.EnableHWComponentRequest.component_uuid) |
| 9166 | } |
| 9167 | |
| 9168 | // string component_name = 3; |
| 9169 | inline void EnableHWComponentRequest::clear_component_name() { |
| 9170 | component_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 9171 | } |
| 9172 | inline const ::std::string& EnableHWComponentRequest::component_name() const { |
| 9173 | // @@protoc_insertion_point(field_get:dmi.EnableHWComponentRequest.component_name) |
| 9174 | return component_name_.GetNoArena(); |
| 9175 | } |
| 9176 | inline void EnableHWComponentRequest::set_component_name(const ::std::string& value) { |
| 9177 | |
| 9178 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 9179 | // @@protoc_insertion_point(field_set:dmi.EnableHWComponentRequest.component_name) |
| 9180 | } |
| 9181 | #if LANG_CXX11 |
| 9182 | inline void EnableHWComponentRequest::set_component_name(::std::string&& value) { |
| 9183 | |
| 9184 | component_name_.SetNoArena( |
| 9185 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 9186 | // @@protoc_insertion_point(field_set_rvalue:dmi.EnableHWComponentRequest.component_name) |
| 9187 | } |
| 9188 | #endif |
| 9189 | inline void EnableHWComponentRequest::set_component_name(const char* value) { |
| 9190 | GOOGLE_DCHECK(value != nullptr); |
| 9191 | |
| 9192 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 9193 | // @@protoc_insertion_point(field_set_char:dmi.EnableHWComponentRequest.component_name) |
| 9194 | } |
| 9195 | inline void EnableHWComponentRequest::set_component_name(const char* value, size_t size) { |
| 9196 | |
| 9197 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 9198 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 9199 | // @@protoc_insertion_point(field_set_pointer:dmi.EnableHWComponentRequest.component_name) |
| 9200 | } |
| 9201 | inline ::std::string* EnableHWComponentRequest::mutable_component_name() { |
| 9202 | |
| 9203 | // @@protoc_insertion_point(field_mutable:dmi.EnableHWComponentRequest.component_name) |
| 9204 | return component_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 9205 | } |
| 9206 | inline ::std::string* EnableHWComponentRequest::release_component_name() { |
| 9207 | // @@protoc_insertion_point(field_release:dmi.EnableHWComponentRequest.component_name) |
| 9208 | |
| 9209 | return component_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 9210 | } |
| 9211 | inline void EnableHWComponentRequest::set_allocated_component_name(::std::string* component_name) { |
| 9212 | if (component_name != nullptr) { |
| 9213 | |
| 9214 | } else { |
| 9215 | |
| 9216 | } |
| 9217 | component_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), component_name); |
| 9218 | // @@protoc_insertion_point(field_set_allocated:dmi.EnableHWComponentRequest.component_name) |
| 9219 | } |
| 9220 | |
| 9221 | // ------------------------------------------------------------------- |
| 9222 | |
| 9223 | // EnableHWComponentResponse |
| 9224 | |
| 9225 | // .dmi.Status status = 1; |
| 9226 | inline void EnableHWComponentResponse::clear_status() { |
| 9227 | status_ = 0; |
| 9228 | } |
| 9229 | inline ::dmi::Status EnableHWComponentResponse::status() const { |
| 9230 | // @@protoc_insertion_point(field_get:dmi.EnableHWComponentResponse.status) |
| 9231 | return static_cast< ::dmi::Status >(status_); |
| 9232 | } |
| 9233 | inline void EnableHWComponentResponse::set_status(::dmi::Status value) { |
| 9234 | |
| 9235 | status_ = value; |
| 9236 | // @@protoc_insertion_point(field_set:dmi.EnableHWComponentResponse.status) |
| 9237 | } |
| 9238 | |
| 9239 | // .dmi.EnableHWComponentResponse.Reason reason = 2; |
| 9240 | inline void EnableHWComponentResponse::clear_reason() { |
| 9241 | reason_ = 0; |
| 9242 | } |
| 9243 | inline ::dmi::EnableHWComponentResponse_Reason EnableHWComponentResponse::reason() const { |
| 9244 | // @@protoc_insertion_point(field_get:dmi.EnableHWComponentResponse.reason) |
| 9245 | return static_cast< ::dmi::EnableHWComponentResponse_Reason >(reason_); |
| 9246 | } |
| 9247 | inline void EnableHWComponentResponse::set_reason(::dmi::EnableHWComponentResponse_Reason value) { |
| 9248 | |
| 9249 | reason_ = value; |
| 9250 | // @@protoc_insertion_point(field_set:dmi.EnableHWComponentResponse.reason) |
| 9251 | } |
| 9252 | |
| 9253 | // string reason_detail = 3; |
| 9254 | inline void EnableHWComponentResponse::clear_reason_detail() { |
| 9255 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 9256 | } |
| 9257 | inline const ::std::string& EnableHWComponentResponse::reason_detail() const { |
| 9258 | // @@protoc_insertion_point(field_get:dmi.EnableHWComponentResponse.reason_detail) |
| 9259 | return reason_detail_.GetNoArena(); |
| 9260 | } |
| 9261 | inline void EnableHWComponentResponse::set_reason_detail(const ::std::string& value) { |
| 9262 | |
| 9263 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 9264 | // @@protoc_insertion_point(field_set:dmi.EnableHWComponentResponse.reason_detail) |
| 9265 | } |
| 9266 | #if LANG_CXX11 |
| 9267 | inline void EnableHWComponentResponse::set_reason_detail(::std::string&& value) { |
| 9268 | |
| 9269 | reason_detail_.SetNoArena( |
| 9270 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 9271 | // @@protoc_insertion_point(field_set_rvalue:dmi.EnableHWComponentResponse.reason_detail) |
| 9272 | } |
| 9273 | #endif |
| 9274 | inline void EnableHWComponentResponse::set_reason_detail(const char* value) { |
| 9275 | GOOGLE_DCHECK(value != nullptr); |
| 9276 | |
| 9277 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 9278 | // @@protoc_insertion_point(field_set_char:dmi.EnableHWComponentResponse.reason_detail) |
| 9279 | } |
| 9280 | inline void EnableHWComponentResponse::set_reason_detail(const char* value, size_t size) { |
| 9281 | |
| 9282 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 9283 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 9284 | // @@protoc_insertion_point(field_set_pointer:dmi.EnableHWComponentResponse.reason_detail) |
| 9285 | } |
| 9286 | inline ::std::string* EnableHWComponentResponse::mutable_reason_detail() { |
| 9287 | |
| 9288 | // @@protoc_insertion_point(field_mutable:dmi.EnableHWComponentResponse.reason_detail) |
| 9289 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 9290 | } |
| 9291 | inline ::std::string* EnableHWComponentResponse::release_reason_detail() { |
| 9292 | // @@protoc_insertion_point(field_release:dmi.EnableHWComponentResponse.reason_detail) |
| 9293 | |
| 9294 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 9295 | } |
| 9296 | inline void EnableHWComponentResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 9297 | if (reason_detail != nullptr) { |
| 9298 | |
| 9299 | } else { |
| 9300 | |
| 9301 | } |
| 9302 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 9303 | // @@protoc_insertion_point(field_set_allocated:dmi.EnableHWComponentResponse.reason_detail) |
| 9304 | } |
| 9305 | |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 9306 | #ifdef __GNUC__ |
| 9307 | #pragma GCC diagnostic pop |
| 9308 | #endif // __GNUC__ |
| 9309 | // ------------------------------------------------------------------- |
| 9310 | |
| 9311 | // ------------------------------------------------------------------- |
| 9312 | |
| 9313 | // ------------------------------------------------------------------- |
| 9314 | |
| 9315 | // ------------------------------------------------------------------- |
| 9316 | |
| 9317 | // ------------------------------------------------------------------- |
| 9318 | |
| 9319 | // ------------------------------------------------------------------- |
| 9320 | |
| 9321 | // ------------------------------------------------------------------- |
| 9322 | |
| 9323 | // ------------------------------------------------------------------- |
| 9324 | |
| 9325 | // ------------------------------------------------------------------- |
| 9326 | |
| 9327 | // ------------------------------------------------------------------- |
| 9328 | |
| 9329 | // ------------------------------------------------------------------- |
| 9330 | |
| 9331 | // ------------------------------------------------------------------- |
| 9332 | |
| 9333 | // ------------------------------------------------------------------- |
| 9334 | |
| 9335 | // ------------------------------------------------------------------- |
| 9336 | |
| 9337 | // ------------------------------------------------------------------- |
| 9338 | |
| 9339 | // ------------------------------------------------------------------- |
| 9340 | |
| 9341 | // ------------------------------------------------------------------- |
| 9342 | |
| 9343 | // ------------------------------------------------------------------- |
| 9344 | |
| 9345 | // ------------------------------------------------------------------- |
| 9346 | |
| 9347 | // ------------------------------------------------------------------- |
| 9348 | |
| 9349 | // ------------------------------------------------------------------- |
| 9350 | |
Chandrakanth Nalkudre Gowda | 415b83c | 2021-04-28 18:01:29 +0530 | [diff] [blame] | 9351 | // ------------------------------------------------------------------- |
| 9352 | |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 9353 | // ------------------------------------------------------------------- |
| 9354 | |
| 9355 | // ------------------------------------------------------------------- |
| 9356 | |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 9357 | // ------------------------------------------------------------------- |
| 9358 | |
| 9359 | // ------------------------------------------------------------------- |
| 9360 | |
| 9361 | // ------------------------------------------------------------------- |
| 9362 | |
| 9363 | // ------------------------------------------------------------------- |
| 9364 | |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 9365 | // ------------------------------------------------------------------- |
| 9366 | |
| 9367 | // ------------------------------------------------------------------- |
| 9368 | |
| 9369 | // ------------------------------------------------------------------- |
| 9370 | |
| 9371 | // ------------------------------------------------------------------- |
| 9372 | |
| 9373 | // ------------------------------------------------------------------- |
| 9374 | |
| 9375 | // ------------------------------------------------------------------- |
| 9376 | |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 9377 | |
| 9378 | // @@protoc_insertion_point(namespace_scope) |
| 9379 | |
| 9380 | } // namespace dmi |
| 9381 | |
| 9382 | namespace google { |
| 9383 | namespace protobuf { |
| 9384 | |
| 9385 | template <> struct is_proto_enum< ::dmi::PhysicalInventoryResponse_Reason> : ::std::true_type {}; |
| 9386 | template <> |
| 9387 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::PhysicalInventoryResponse_Reason>() { |
| 9388 | return ::dmi::PhysicalInventoryResponse_Reason_descriptor(); |
| 9389 | } |
| 9390 | template <> struct is_proto_enum< ::dmi::HWComponentInfoGetResponse_Reason> : ::std::true_type {}; |
| 9391 | template <> |
| 9392 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::HWComponentInfoGetResponse_Reason>() { |
| 9393 | return ::dmi::HWComponentInfoGetResponse_Reason_descriptor(); |
| 9394 | } |
| 9395 | template <> struct is_proto_enum< ::dmi::HWComponentInfoSetResponse_Reason> : ::std::true_type {}; |
| 9396 | template <> |
| 9397 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::HWComponentInfoSetResponse_Reason>() { |
| 9398 | return ::dmi::HWComponentInfoSetResponse_Reason_descriptor(); |
| 9399 | } |
| 9400 | template <> struct is_proto_enum< ::dmi::StartManagingDeviceResponse_Reason> : ::std::true_type {}; |
| 9401 | template <> |
| 9402 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::StartManagingDeviceResponse_Reason>() { |
| 9403 | return ::dmi::StartManagingDeviceResponse_Reason_descriptor(); |
| 9404 | } |
| 9405 | template <> struct is_proto_enum< ::dmi::StopManagingDeviceResponse_Reason> : ::std::true_type {}; |
| 9406 | template <> |
| 9407 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::StopManagingDeviceResponse_Reason>() { |
| 9408 | return ::dmi::StopManagingDeviceResponse_Reason_descriptor(); |
| 9409 | } |
| 9410 | template <> struct is_proto_enum< ::dmi::ManagedDevicesResponse_Reason> : ::std::true_type {}; |
| 9411 | template <> |
| 9412 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::ManagedDevicesResponse_Reason>() { |
| 9413 | return ::dmi::ManagedDevicesResponse_Reason_descriptor(); |
| 9414 | } |
| 9415 | template <> struct is_proto_enum< ::dmi::SetRemoteEndpointResponse_Reason> : ::std::true_type {}; |
| 9416 | template <> |
| 9417 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::SetRemoteEndpointResponse_Reason>() { |
| 9418 | return ::dmi::SetRemoteEndpointResponse_Reason_descriptor(); |
| 9419 | } |
| 9420 | template <> struct is_proto_enum< ::dmi::GetLoggingEndpointResponse_Reason> : ::std::true_type {}; |
| 9421 | template <> |
| 9422 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::GetLoggingEndpointResponse_Reason>() { |
| 9423 | return ::dmi::GetLoggingEndpointResponse_Reason_descriptor(); |
| 9424 | } |
| 9425 | template <> struct is_proto_enum< ::dmi::GetMsgBusEndpointResponse_Reason> : ::std::true_type {}; |
| 9426 | template <> |
| 9427 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::GetMsgBusEndpointResponse_Reason>() { |
| 9428 | return ::dmi::GetMsgBusEndpointResponse_Reason_descriptor(); |
| 9429 | } |
| 9430 | template <> struct is_proto_enum< ::dmi::SetLogLevelResponse_Reason> : ::std::true_type {}; |
| 9431 | template <> |
| 9432 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::SetLogLevelResponse_Reason>() { |
| 9433 | return ::dmi::SetLogLevelResponse_Reason_descriptor(); |
| 9434 | } |
| 9435 | template <> struct is_proto_enum< ::dmi::GetLogLevelResponse_Reason> : ::std::true_type {}; |
| 9436 | template <> |
| 9437 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::GetLogLevelResponse_Reason>() { |
| 9438 | return ::dmi::GetLogLevelResponse_Reason_descriptor(); |
| 9439 | } |
amit.ghosh | 9318351 | 2024-05-28 22:37:27 +0200 | [diff] [blame] | 9440 | template <> struct is_proto_enum< ::dmi::SetDmLogLevelResponse_Reason> : ::std::true_type {}; |
| 9441 | template <> |
| 9442 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::SetDmLogLevelResponse_Reason>() { |
| 9443 | return ::dmi::SetDmLogLevelResponse_Reason_descriptor(); |
| 9444 | } |
| 9445 | template <> struct is_proto_enum< ::dmi::GetDmLogLevelResponse_Reason> : ::std::true_type {}; |
| 9446 | template <> |
| 9447 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::GetDmLogLevelResponse_Reason>() { |
| 9448 | return ::dmi::GetDmLogLevelResponse_Reason_descriptor(); |
| 9449 | } |
Chandrakanth Nalkudre Gowda | 2f6066c | 2021-05-13 12:36:32 +0530 | [diff] [blame] | 9450 | template <> struct is_proto_enum< ::dmi::RebootDeviceResponse_Reason> : ::std::true_type {}; |
| 9451 | template <> |
| 9452 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::RebootDeviceResponse_Reason>() { |
| 9453 | return ::dmi::RebootDeviceResponse_Reason_descriptor(); |
| 9454 | } |
Amit Ghosh | e45d997 | 2025-06-26 14:52:48 +0200 | [diff] [blame^] | 9455 | template <> struct is_proto_enum< ::dmi::DisableHWComponentResponse_Reason> : ::std::true_type {}; |
| 9456 | template <> |
| 9457 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::DisableHWComponentResponse_Reason>() { |
| 9458 | return ::dmi::DisableHWComponentResponse_Reason_descriptor(); |
| 9459 | } |
| 9460 | template <> struct is_proto_enum< ::dmi::ResetHWComponentResponse_Reason> : ::std::true_type {}; |
| 9461 | template <> |
| 9462 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::ResetHWComponentResponse_Reason>() { |
| 9463 | return ::dmi::ResetHWComponentResponse_Reason_descriptor(); |
| 9464 | } |
| 9465 | template <> struct is_proto_enum< ::dmi::EnableHWComponentResponse_Reason> : ::std::true_type {}; |
| 9466 | template <> |
| 9467 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::EnableHWComponentResponse_Reason>() { |
| 9468 | return ::dmi::EnableHWComponentResponse_Reason_descriptor(); |
| 9469 | } |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 9470 | |
| 9471 | } // namespace protobuf |
| 9472 | } // namespace google |
| 9473 | |
| 9474 | // @@protoc_insertion_point(global_scope) |
| 9475 | |
| 9476 | #include <google/protobuf/port_undef.inc> |
| 9477 | #endif // PROTOBUF_INCLUDED_dmi_2fhw_5fmanagement_5fservice_2eproto |