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); |
| 48 | static const ::google::protobuf::internal::ParseTable schema[22] |
| 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 { |
| 56 | class EntitiesLogLevel; |
| 57 | class EntitiesLogLevelDefaultTypeInternal; |
| 58 | extern EntitiesLogLevelDefaultTypeInternal _EntitiesLogLevel_default_instance_; |
| 59 | class GetLogLevelRequest; |
| 60 | class GetLogLevelRequestDefaultTypeInternal; |
| 61 | extern GetLogLevelRequestDefaultTypeInternal _GetLogLevelRequest_default_instance_; |
| 62 | class GetLogLevelResponse; |
| 63 | class GetLogLevelResponseDefaultTypeInternal; |
| 64 | extern GetLogLevelResponseDefaultTypeInternal _GetLogLevelResponse_default_instance_; |
| 65 | class GetLoggableEntitiesRequest; |
| 66 | class GetLoggableEntitiesRequestDefaultTypeInternal; |
| 67 | extern GetLoggableEntitiesRequestDefaultTypeInternal _GetLoggableEntitiesRequest_default_instance_; |
| 68 | class GetLoggingEndpointResponse; |
| 69 | class GetLoggingEndpointResponseDefaultTypeInternal; |
| 70 | extern GetLoggingEndpointResponseDefaultTypeInternal _GetLoggingEndpointResponse_default_instance_; |
| 71 | class GetMsgBusEndpointResponse; |
| 72 | class GetMsgBusEndpointResponseDefaultTypeInternal; |
| 73 | extern GetMsgBusEndpointResponseDefaultTypeInternal _GetMsgBusEndpointResponse_default_instance_; |
| 74 | class HWComponentInfoGetRequest; |
| 75 | class HWComponentInfoGetRequestDefaultTypeInternal; |
| 76 | extern HWComponentInfoGetRequestDefaultTypeInternal _HWComponentInfoGetRequest_default_instance_; |
| 77 | class HWComponentInfoGetResponse; |
| 78 | class HWComponentInfoGetResponseDefaultTypeInternal; |
| 79 | extern HWComponentInfoGetResponseDefaultTypeInternal _HWComponentInfoGetResponse_default_instance_; |
| 80 | class HWComponentInfoSetRequest; |
| 81 | class HWComponentInfoSetRequestDefaultTypeInternal; |
| 82 | extern HWComponentInfoSetRequestDefaultTypeInternal _HWComponentInfoSetRequest_default_instance_; |
| 83 | class HWComponentInfoSetResponse; |
| 84 | class HWComponentInfoSetResponseDefaultTypeInternal; |
| 85 | extern HWComponentInfoSetResponseDefaultTypeInternal _HWComponentInfoSetResponse_default_instance_; |
| 86 | class ManagedDeviceInfo; |
| 87 | class ManagedDeviceInfoDefaultTypeInternal; |
| 88 | extern ManagedDeviceInfoDefaultTypeInternal _ManagedDeviceInfo_default_instance_; |
| 89 | class ManagedDevicesResponse; |
| 90 | class ManagedDevicesResponseDefaultTypeInternal; |
| 91 | extern ManagedDevicesResponseDefaultTypeInternal _ManagedDevicesResponse_default_instance_; |
| 92 | class PhysicalInventoryRequest; |
| 93 | class PhysicalInventoryRequestDefaultTypeInternal; |
| 94 | extern PhysicalInventoryRequestDefaultTypeInternal _PhysicalInventoryRequest_default_instance_; |
| 95 | class PhysicalInventoryResponse; |
| 96 | class PhysicalInventoryResponseDefaultTypeInternal; |
| 97 | extern PhysicalInventoryResponseDefaultTypeInternal _PhysicalInventoryResponse_default_instance_; |
| 98 | class SetLogLevelRequest; |
| 99 | class SetLogLevelRequestDefaultTypeInternal; |
| 100 | extern SetLogLevelRequestDefaultTypeInternal _SetLogLevelRequest_default_instance_; |
| 101 | class SetLogLevelResponse; |
| 102 | class SetLogLevelResponseDefaultTypeInternal; |
| 103 | extern SetLogLevelResponseDefaultTypeInternal _SetLogLevelResponse_default_instance_; |
| 104 | class SetLoggingEndpointRequest; |
| 105 | class SetLoggingEndpointRequestDefaultTypeInternal; |
| 106 | extern SetLoggingEndpointRequestDefaultTypeInternal _SetLoggingEndpointRequest_default_instance_; |
| 107 | class SetMsgBusEndpointRequest; |
| 108 | class SetMsgBusEndpointRequestDefaultTypeInternal; |
| 109 | extern SetMsgBusEndpointRequestDefaultTypeInternal _SetMsgBusEndpointRequest_default_instance_; |
| 110 | class SetRemoteEndpointResponse; |
| 111 | class SetRemoteEndpointResponseDefaultTypeInternal; |
| 112 | extern SetRemoteEndpointResponseDefaultTypeInternal _SetRemoteEndpointResponse_default_instance_; |
| 113 | class StartManagingDeviceResponse; |
| 114 | class StartManagingDeviceResponseDefaultTypeInternal; |
| 115 | extern StartManagingDeviceResponseDefaultTypeInternal _StartManagingDeviceResponse_default_instance_; |
| 116 | class StopManagingDeviceRequest; |
| 117 | class StopManagingDeviceRequestDefaultTypeInternal; |
| 118 | extern StopManagingDeviceRequestDefaultTypeInternal _StopManagingDeviceRequest_default_instance_; |
| 119 | class StopManagingDeviceResponse; |
| 120 | class StopManagingDeviceResponseDefaultTypeInternal; |
| 121 | extern StopManagingDeviceResponseDefaultTypeInternal _StopManagingDeviceResponse_default_instance_; |
| 122 | } // namespace dmi |
| 123 | namespace google { |
| 124 | namespace protobuf { |
| 125 | template<> ::dmi::EntitiesLogLevel* Arena::CreateMaybeMessage<::dmi::EntitiesLogLevel>(Arena*); |
| 126 | template<> ::dmi::GetLogLevelRequest* Arena::CreateMaybeMessage<::dmi::GetLogLevelRequest>(Arena*); |
| 127 | template<> ::dmi::GetLogLevelResponse* Arena::CreateMaybeMessage<::dmi::GetLogLevelResponse>(Arena*); |
| 128 | template<> ::dmi::GetLoggableEntitiesRequest* Arena::CreateMaybeMessage<::dmi::GetLoggableEntitiesRequest>(Arena*); |
| 129 | template<> ::dmi::GetLoggingEndpointResponse* Arena::CreateMaybeMessage<::dmi::GetLoggingEndpointResponse>(Arena*); |
| 130 | template<> ::dmi::GetMsgBusEndpointResponse* Arena::CreateMaybeMessage<::dmi::GetMsgBusEndpointResponse>(Arena*); |
| 131 | template<> ::dmi::HWComponentInfoGetRequest* Arena::CreateMaybeMessage<::dmi::HWComponentInfoGetRequest>(Arena*); |
| 132 | template<> ::dmi::HWComponentInfoGetResponse* Arena::CreateMaybeMessage<::dmi::HWComponentInfoGetResponse>(Arena*); |
| 133 | template<> ::dmi::HWComponentInfoSetRequest* Arena::CreateMaybeMessage<::dmi::HWComponentInfoSetRequest>(Arena*); |
| 134 | template<> ::dmi::HWComponentInfoSetResponse* Arena::CreateMaybeMessage<::dmi::HWComponentInfoSetResponse>(Arena*); |
| 135 | template<> ::dmi::ManagedDeviceInfo* Arena::CreateMaybeMessage<::dmi::ManagedDeviceInfo>(Arena*); |
| 136 | template<> ::dmi::ManagedDevicesResponse* Arena::CreateMaybeMessage<::dmi::ManagedDevicesResponse>(Arena*); |
| 137 | template<> ::dmi::PhysicalInventoryRequest* Arena::CreateMaybeMessage<::dmi::PhysicalInventoryRequest>(Arena*); |
| 138 | template<> ::dmi::PhysicalInventoryResponse* Arena::CreateMaybeMessage<::dmi::PhysicalInventoryResponse>(Arena*); |
| 139 | template<> ::dmi::SetLogLevelRequest* Arena::CreateMaybeMessage<::dmi::SetLogLevelRequest>(Arena*); |
| 140 | template<> ::dmi::SetLogLevelResponse* Arena::CreateMaybeMessage<::dmi::SetLogLevelResponse>(Arena*); |
| 141 | template<> ::dmi::SetLoggingEndpointRequest* Arena::CreateMaybeMessage<::dmi::SetLoggingEndpointRequest>(Arena*); |
| 142 | template<> ::dmi::SetMsgBusEndpointRequest* Arena::CreateMaybeMessage<::dmi::SetMsgBusEndpointRequest>(Arena*); |
| 143 | template<> ::dmi::SetRemoteEndpointResponse* Arena::CreateMaybeMessage<::dmi::SetRemoteEndpointResponse>(Arena*); |
| 144 | template<> ::dmi::StartManagingDeviceResponse* Arena::CreateMaybeMessage<::dmi::StartManagingDeviceResponse>(Arena*); |
| 145 | template<> ::dmi::StopManagingDeviceRequest* Arena::CreateMaybeMessage<::dmi::StopManagingDeviceRequest>(Arena*); |
| 146 | template<> ::dmi::StopManagingDeviceResponse* Arena::CreateMaybeMessage<::dmi::StopManagingDeviceResponse>(Arena*); |
| 147 | } // namespace protobuf |
| 148 | } // namespace google |
| 149 | namespace dmi { |
| 150 | |
| 151 | enum PhysicalInventoryResponse_Reason { |
| 152 | PhysicalInventoryResponse_Reason_UNDEFINED_REASON = 0, |
| 153 | PhysicalInventoryResponse_Reason_UNKNOWN_DEVICE = 1, |
| 154 | PhysicalInventoryResponse_Reason_INTERNAL_ERROR = 2, |
| 155 | PhysicalInventoryResponse_Reason_DEVICE_UNREACHABLE = 3, |
| 156 | PhysicalInventoryResponse_Reason_PhysicalInventoryResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 157 | PhysicalInventoryResponse_Reason_PhysicalInventoryResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 158 | }; |
| 159 | bool PhysicalInventoryResponse_Reason_IsValid(int value); |
| 160 | const PhysicalInventoryResponse_Reason PhysicalInventoryResponse_Reason_Reason_MIN = PhysicalInventoryResponse_Reason_UNDEFINED_REASON; |
| 161 | const PhysicalInventoryResponse_Reason PhysicalInventoryResponse_Reason_Reason_MAX = PhysicalInventoryResponse_Reason_DEVICE_UNREACHABLE; |
| 162 | const int PhysicalInventoryResponse_Reason_Reason_ARRAYSIZE = PhysicalInventoryResponse_Reason_Reason_MAX + 1; |
| 163 | |
| 164 | const ::google::protobuf::EnumDescriptor* PhysicalInventoryResponse_Reason_descriptor(); |
| 165 | inline const ::std::string& PhysicalInventoryResponse_Reason_Name(PhysicalInventoryResponse_Reason value) { |
| 166 | return ::google::protobuf::internal::NameOfEnum( |
| 167 | PhysicalInventoryResponse_Reason_descriptor(), value); |
| 168 | } |
| 169 | inline bool PhysicalInventoryResponse_Reason_Parse( |
| 170 | const ::std::string& name, PhysicalInventoryResponse_Reason* value) { |
| 171 | return ::google::protobuf::internal::ParseNamedEnum<PhysicalInventoryResponse_Reason>( |
| 172 | PhysicalInventoryResponse_Reason_descriptor(), name, value); |
| 173 | } |
| 174 | enum HWComponentInfoGetResponse_Reason { |
| 175 | HWComponentInfoGetResponse_Reason_UNDEFINED_REASON = 0, |
| 176 | HWComponentInfoGetResponse_Reason_UNKNOWN_DEVICE = 1, |
| 177 | HWComponentInfoGetResponse_Reason_UNKNOWN_COMPONENT = 2, |
| 178 | HWComponentInfoGetResponse_Reason_INTERNAL_ERROR = 3, |
| 179 | HWComponentInfoGetResponse_Reason_DEVICE_UNREACHABLE = 4, |
| 180 | HWComponentInfoGetResponse_Reason_HWComponentInfoGetResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 181 | HWComponentInfoGetResponse_Reason_HWComponentInfoGetResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 182 | }; |
| 183 | bool HWComponentInfoGetResponse_Reason_IsValid(int value); |
| 184 | const HWComponentInfoGetResponse_Reason HWComponentInfoGetResponse_Reason_Reason_MIN = HWComponentInfoGetResponse_Reason_UNDEFINED_REASON; |
| 185 | const HWComponentInfoGetResponse_Reason HWComponentInfoGetResponse_Reason_Reason_MAX = HWComponentInfoGetResponse_Reason_DEVICE_UNREACHABLE; |
| 186 | const int HWComponentInfoGetResponse_Reason_Reason_ARRAYSIZE = HWComponentInfoGetResponse_Reason_Reason_MAX + 1; |
| 187 | |
| 188 | const ::google::protobuf::EnumDescriptor* HWComponentInfoGetResponse_Reason_descriptor(); |
| 189 | inline const ::std::string& HWComponentInfoGetResponse_Reason_Name(HWComponentInfoGetResponse_Reason value) { |
| 190 | return ::google::protobuf::internal::NameOfEnum( |
| 191 | HWComponentInfoGetResponse_Reason_descriptor(), value); |
| 192 | } |
| 193 | inline bool HWComponentInfoGetResponse_Reason_Parse( |
| 194 | const ::std::string& name, HWComponentInfoGetResponse_Reason* value) { |
| 195 | return ::google::protobuf::internal::ParseNamedEnum<HWComponentInfoGetResponse_Reason>( |
| 196 | HWComponentInfoGetResponse_Reason_descriptor(), name, value); |
| 197 | } |
| 198 | enum HWComponentInfoSetResponse_Reason { |
| 199 | HWComponentInfoSetResponse_Reason_UNDEFINED_REASON = 0, |
| 200 | HWComponentInfoSetResponse_Reason_UNKNOWN_DEVICE = 1, |
| 201 | HWComponentInfoSetResponse_Reason_UNKNOWN_COMPONENT = 2, |
| 202 | HWComponentInfoSetResponse_Reason_INVALID_PARAMS = 3, |
| 203 | HWComponentInfoSetResponse_Reason_INTERNAL_ERROR = 4, |
| 204 | HWComponentInfoSetResponse_Reason_DEVICE_UNREACHABLE = 5, |
| 205 | HWComponentInfoSetResponse_Reason_HWComponentInfoSetResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 206 | HWComponentInfoSetResponse_Reason_HWComponentInfoSetResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 207 | }; |
| 208 | bool HWComponentInfoSetResponse_Reason_IsValid(int value); |
| 209 | const HWComponentInfoSetResponse_Reason HWComponentInfoSetResponse_Reason_Reason_MIN = HWComponentInfoSetResponse_Reason_UNDEFINED_REASON; |
| 210 | const HWComponentInfoSetResponse_Reason HWComponentInfoSetResponse_Reason_Reason_MAX = HWComponentInfoSetResponse_Reason_DEVICE_UNREACHABLE; |
| 211 | const int HWComponentInfoSetResponse_Reason_Reason_ARRAYSIZE = HWComponentInfoSetResponse_Reason_Reason_MAX + 1; |
| 212 | |
| 213 | const ::google::protobuf::EnumDescriptor* HWComponentInfoSetResponse_Reason_descriptor(); |
| 214 | inline const ::std::string& HWComponentInfoSetResponse_Reason_Name(HWComponentInfoSetResponse_Reason value) { |
| 215 | return ::google::protobuf::internal::NameOfEnum( |
| 216 | HWComponentInfoSetResponse_Reason_descriptor(), value); |
| 217 | } |
| 218 | inline bool HWComponentInfoSetResponse_Reason_Parse( |
| 219 | const ::std::string& name, HWComponentInfoSetResponse_Reason* value) { |
| 220 | return ::google::protobuf::internal::ParseNamedEnum<HWComponentInfoSetResponse_Reason>( |
| 221 | HWComponentInfoSetResponse_Reason_descriptor(), name, value); |
| 222 | } |
| 223 | enum StartManagingDeviceResponse_Reason { |
| 224 | StartManagingDeviceResponse_Reason_UNDEFINED_REASON = 0, |
| 225 | StartManagingDeviceResponse_Reason_DEVICE_ALREADY_MANAGED = 1, |
| 226 | StartManagingDeviceResponse_Reason_OPERATION_ALREADY_IN_PROGRESS = 2, |
| 227 | StartManagingDeviceResponse_Reason_INVALID_PARAMS = 3, |
| 228 | StartManagingDeviceResponse_Reason_INTERNAL_ERROR = 4, |
| 229 | StartManagingDeviceResponse_Reason_StartManagingDeviceResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 230 | StartManagingDeviceResponse_Reason_StartManagingDeviceResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 231 | }; |
| 232 | bool StartManagingDeviceResponse_Reason_IsValid(int value); |
| 233 | const StartManagingDeviceResponse_Reason StartManagingDeviceResponse_Reason_Reason_MIN = StartManagingDeviceResponse_Reason_UNDEFINED_REASON; |
| 234 | const StartManagingDeviceResponse_Reason StartManagingDeviceResponse_Reason_Reason_MAX = StartManagingDeviceResponse_Reason_INTERNAL_ERROR; |
| 235 | const int StartManagingDeviceResponse_Reason_Reason_ARRAYSIZE = StartManagingDeviceResponse_Reason_Reason_MAX + 1; |
| 236 | |
| 237 | const ::google::protobuf::EnumDescriptor* StartManagingDeviceResponse_Reason_descriptor(); |
| 238 | inline const ::std::string& StartManagingDeviceResponse_Reason_Name(StartManagingDeviceResponse_Reason value) { |
| 239 | return ::google::protobuf::internal::NameOfEnum( |
| 240 | StartManagingDeviceResponse_Reason_descriptor(), value); |
| 241 | } |
| 242 | inline bool StartManagingDeviceResponse_Reason_Parse( |
| 243 | const ::std::string& name, StartManagingDeviceResponse_Reason* value) { |
| 244 | return ::google::protobuf::internal::ParseNamedEnum<StartManagingDeviceResponse_Reason>( |
| 245 | StartManagingDeviceResponse_Reason_descriptor(), name, value); |
| 246 | } |
| 247 | enum StopManagingDeviceResponse_Reason { |
| 248 | StopManagingDeviceResponse_Reason_UNDEFINED_REASON = 0, |
| 249 | StopManagingDeviceResponse_Reason_UNKNOWN_DEVICE = 1, |
| 250 | StopManagingDeviceResponse_Reason_StopManagingDeviceResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 251 | StopManagingDeviceResponse_Reason_StopManagingDeviceResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 252 | }; |
| 253 | bool StopManagingDeviceResponse_Reason_IsValid(int value); |
| 254 | const StopManagingDeviceResponse_Reason StopManagingDeviceResponse_Reason_Reason_MIN = StopManagingDeviceResponse_Reason_UNDEFINED_REASON; |
| 255 | const StopManagingDeviceResponse_Reason StopManagingDeviceResponse_Reason_Reason_MAX = StopManagingDeviceResponse_Reason_UNKNOWN_DEVICE; |
| 256 | const int StopManagingDeviceResponse_Reason_Reason_ARRAYSIZE = StopManagingDeviceResponse_Reason_Reason_MAX + 1; |
| 257 | |
| 258 | const ::google::protobuf::EnumDescriptor* StopManagingDeviceResponse_Reason_descriptor(); |
| 259 | inline const ::std::string& StopManagingDeviceResponse_Reason_Name(StopManagingDeviceResponse_Reason value) { |
| 260 | return ::google::protobuf::internal::NameOfEnum( |
| 261 | StopManagingDeviceResponse_Reason_descriptor(), value); |
| 262 | } |
| 263 | inline bool StopManagingDeviceResponse_Reason_Parse( |
| 264 | const ::std::string& name, StopManagingDeviceResponse_Reason* value) { |
| 265 | return ::google::protobuf::internal::ParseNamedEnum<StopManagingDeviceResponse_Reason>( |
| 266 | StopManagingDeviceResponse_Reason_descriptor(), name, value); |
| 267 | } |
| 268 | enum ManagedDevicesResponse_Reason { |
| 269 | ManagedDevicesResponse_Reason_UNDEFINED_REASON = 0, |
| 270 | ManagedDevicesResponse_Reason_INTERNAL_ERROR = 1, |
| 271 | ManagedDevicesResponse_Reason_ManagedDevicesResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 272 | ManagedDevicesResponse_Reason_ManagedDevicesResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 273 | }; |
| 274 | bool ManagedDevicesResponse_Reason_IsValid(int value); |
| 275 | const ManagedDevicesResponse_Reason ManagedDevicesResponse_Reason_Reason_MIN = ManagedDevicesResponse_Reason_UNDEFINED_REASON; |
| 276 | const ManagedDevicesResponse_Reason ManagedDevicesResponse_Reason_Reason_MAX = ManagedDevicesResponse_Reason_INTERNAL_ERROR; |
| 277 | const int ManagedDevicesResponse_Reason_Reason_ARRAYSIZE = ManagedDevicesResponse_Reason_Reason_MAX + 1; |
| 278 | |
| 279 | const ::google::protobuf::EnumDescriptor* ManagedDevicesResponse_Reason_descriptor(); |
| 280 | inline const ::std::string& ManagedDevicesResponse_Reason_Name(ManagedDevicesResponse_Reason value) { |
| 281 | return ::google::protobuf::internal::NameOfEnum( |
| 282 | ManagedDevicesResponse_Reason_descriptor(), value); |
| 283 | } |
| 284 | inline bool ManagedDevicesResponse_Reason_Parse( |
| 285 | const ::std::string& name, ManagedDevicesResponse_Reason* value) { |
| 286 | return ::google::protobuf::internal::ParseNamedEnum<ManagedDevicesResponse_Reason>( |
| 287 | ManagedDevicesResponse_Reason_descriptor(), name, value); |
| 288 | } |
| 289 | enum SetRemoteEndpointResponse_Reason { |
| 290 | SetRemoteEndpointResponse_Reason_UNDEFINED_REASON = 0, |
| 291 | SetRemoteEndpointResponse_Reason_UNKNOWN_DEVICE = 1, |
| 292 | SetRemoteEndpointResponse_Reason_INTERNAL_ERROR = 2, |
| 293 | SetRemoteEndpointResponse_Reason_LOGGING_ENDPOINT_ERROR = 3, |
| 294 | SetRemoteEndpointResponse_Reason_LOGGING_ENDPOINT_PROTOCOL_ERROR = 4, |
| 295 | SetRemoteEndpointResponse_Reason_MSGBUS_ENDPOINT_ERROR = 5, |
| 296 | SetRemoteEndpointResponse_Reason_DEVICE_UNREACHABLE = 6, |
| 297 | SetRemoteEndpointResponse_Reason_SetRemoteEndpointResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 298 | SetRemoteEndpointResponse_Reason_SetRemoteEndpointResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 299 | }; |
| 300 | bool SetRemoteEndpointResponse_Reason_IsValid(int value); |
| 301 | const SetRemoteEndpointResponse_Reason SetRemoteEndpointResponse_Reason_Reason_MIN = SetRemoteEndpointResponse_Reason_UNDEFINED_REASON; |
| 302 | const SetRemoteEndpointResponse_Reason SetRemoteEndpointResponse_Reason_Reason_MAX = SetRemoteEndpointResponse_Reason_DEVICE_UNREACHABLE; |
| 303 | const int SetRemoteEndpointResponse_Reason_Reason_ARRAYSIZE = SetRemoteEndpointResponse_Reason_Reason_MAX + 1; |
| 304 | |
| 305 | const ::google::protobuf::EnumDescriptor* SetRemoteEndpointResponse_Reason_descriptor(); |
| 306 | inline const ::std::string& SetRemoteEndpointResponse_Reason_Name(SetRemoteEndpointResponse_Reason value) { |
| 307 | return ::google::protobuf::internal::NameOfEnum( |
| 308 | SetRemoteEndpointResponse_Reason_descriptor(), value); |
| 309 | } |
| 310 | inline bool SetRemoteEndpointResponse_Reason_Parse( |
| 311 | const ::std::string& name, SetRemoteEndpointResponse_Reason* value) { |
| 312 | return ::google::protobuf::internal::ParseNamedEnum<SetRemoteEndpointResponse_Reason>( |
| 313 | SetRemoteEndpointResponse_Reason_descriptor(), name, value); |
| 314 | } |
| 315 | enum GetLoggingEndpointResponse_Reason { |
| 316 | GetLoggingEndpointResponse_Reason_UNDEFINED_REASON = 0, |
| 317 | GetLoggingEndpointResponse_Reason_UNKNOWN_DEVICE = 1, |
| 318 | GetLoggingEndpointResponse_Reason_INTERNAL_ERROR = 2, |
| 319 | GetLoggingEndpointResponse_Reason_DEVICE_UNREACHABLE = 3, |
| 320 | GetLoggingEndpointResponse_Reason_GetLoggingEndpointResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 321 | GetLoggingEndpointResponse_Reason_GetLoggingEndpointResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 322 | }; |
| 323 | bool GetLoggingEndpointResponse_Reason_IsValid(int value); |
| 324 | const GetLoggingEndpointResponse_Reason GetLoggingEndpointResponse_Reason_Reason_MIN = GetLoggingEndpointResponse_Reason_UNDEFINED_REASON; |
| 325 | const GetLoggingEndpointResponse_Reason GetLoggingEndpointResponse_Reason_Reason_MAX = GetLoggingEndpointResponse_Reason_DEVICE_UNREACHABLE; |
| 326 | const int GetLoggingEndpointResponse_Reason_Reason_ARRAYSIZE = GetLoggingEndpointResponse_Reason_Reason_MAX + 1; |
| 327 | |
| 328 | const ::google::protobuf::EnumDescriptor* GetLoggingEndpointResponse_Reason_descriptor(); |
| 329 | inline const ::std::string& GetLoggingEndpointResponse_Reason_Name(GetLoggingEndpointResponse_Reason value) { |
| 330 | return ::google::protobuf::internal::NameOfEnum( |
| 331 | GetLoggingEndpointResponse_Reason_descriptor(), value); |
| 332 | } |
| 333 | inline bool GetLoggingEndpointResponse_Reason_Parse( |
| 334 | const ::std::string& name, GetLoggingEndpointResponse_Reason* value) { |
| 335 | return ::google::protobuf::internal::ParseNamedEnum<GetLoggingEndpointResponse_Reason>( |
| 336 | GetLoggingEndpointResponse_Reason_descriptor(), name, value); |
| 337 | } |
| 338 | enum GetMsgBusEndpointResponse_Reason { |
| 339 | GetMsgBusEndpointResponse_Reason_UNDEFINED_REASON = 0, |
| 340 | GetMsgBusEndpointResponse_Reason_INTERNAL_ERROR = 1, |
| 341 | GetMsgBusEndpointResponse_Reason_DEVICE_UNREACHABLE = 2, |
| 342 | GetMsgBusEndpointResponse_Reason_GetMsgBusEndpointResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 343 | GetMsgBusEndpointResponse_Reason_GetMsgBusEndpointResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 344 | }; |
| 345 | bool GetMsgBusEndpointResponse_Reason_IsValid(int value); |
| 346 | const GetMsgBusEndpointResponse_Reason GetMsgBusEndpointResponse_Reason_Reason_MIN = GetMsgBusEndpointResponse_Reason_UNDEFINED_REASON; |
| 347 | const GetMsgBusEndpointResponse_Reason GetMsgBusEndpointResponse_Reason_Reason_MAX = GetMsgBusEndpointResponse_Reason_DEVICE_UNREACHABLE; |
| 348 | const int GetMsgBusEndpointResponse_Reason_Reason_ARRAYSIZE = GetMsgBusEndpointResponse_Reason_Reason_MAX + 1; |
| 349 | |
| 350 | const ::google::protobuf::EnumDescriptor* GetMsgBusEndpointResponse_Reason_descriptor(); |
| 351 | inline const ::std::string& GetMsgBusEndpointResponse_Reason_Name(GetMsgBusEndpointResponse_Reason value) { |
| 352 | return ::google::protobuf::internal::NameOfEnum( |
| 353 | GetMsgBusEndpointResponse_Reason_descriptor(), value); |
| 354 | } |
| 355 | inline bool GetMsgBusEndpointResponse_Reason_Parse( |
| 356 | const ::std::string& name, GetMsgBusEndpointResponse_Reason* value) { |
| 357 | return ::google::protobuf::internal::ParseNamedEnum<GetMsgBusEndpointResponse_Reason>( |
| 358 | GetMsgBusEndpointResponse_Reason_descriptor(), name, value); |
| 359 | } |
| 360 | enum SetLogLevelResponse_Reason { |
| 361 | SetLogLevelResponse_Reason_UNDEFINED_REASON = 0, |
| 362 | SetLogLevelResponse_Reason_UNKNOWN_DEVICE = 1, |
| 363 | SetLogLevelResponse_Reason_INTERNAL_ERROR = 2, |
| 364 | SetLogLevelResponse_Reason_UNKNOWN_LOG_ENTITY = 3, |
| 365 | SetLogLevelResponse_Reason_DEVICE_UNREACHABLE = 4, |
| 366 | SetLogLevelResponse_Reason_SetLogLevelResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 367 | SetLogLevelResponse_Reason_SetLogLevelResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 368 | }; |
| 369 | bool SetLogLevelResponse_Reason_IsValid(int value); |
| 370 | const SetLogLevelResponse_Reason SetLogLevelResponse_Reason_Reason_MIN = SetLogLevelResponse_Reason_UNDEFINED_REASON; |
| 371 | const SetLogLevelResponse_Reason SetLogLevelResponse_Reason_Reason_MAX = SetLogLevelResponse_Reason_DEVICE_UNREACHABLE; |
| 372 | const int SetLogLevelResponse_Reason_Reason_ARRAYSIZE = SetLogLevelResponse_Reason_Reason_MAX + 1; |
| 373 | |
| 374 | const ::google::protobuf::EnumDescriptor* SetLogLevelResponse_Reason_descriptor(); |
| 375 | inline const ::std::string& SetLogLevelResponse_Reason_Name(SetLogLevelResponse_Reason value) { |
| 376 | return ::google::protobuf::internal::NameOfEnum( |
| 377 | SetLogLevelResponse_Reason_descriptor(), value); |
| 378 | } |
| 379 | inline bool SetLogLevelResponse_Reason_Parse( |
| 380 | const ::std::string& name, SetLogLevelResponse_Reason* value) { |
| 381 | return ::google::protobuf::internal::ParseNamedEnum<SetLogLevelResponse_Reason>( |
| 382 | SetLogLevelResponse_Reason_descriptor(), name, value); |
| 383 | } |
| 384 | enum GetLogLevelResponse_Reason { |
| 385 | GetLogLevelResponse_Reason_UNDEFINED_REASON = 0, |
| 386 | GetLogLevelResponse_Reason_UNKNOWN_DEVICE = 1, |
| 387 | GetLogLevelResponse_Reason_INTERNAL_ERROR = 2, |
| 388 | GetLogLevelResponse_Reason_UNKNOWN_LOG_ENTITY = 3, |
| 389 | GetLogLevelResponse_Reason_DEVICE_UNREACHABLE = 4, |
| 390 | GetLogLevelResponse_Reason_GetLogLevelResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 391 | GetLogLevelResponse_Reason_GetLogLevelResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 392 | }; |
| 393 | bool GetLogLevelResponse_Reason_IsValid(int value); |
| 394 | const GetLogLevelResponse_Reason GetLogLevelResponse_Reason_Reason_MIN = GetLogLevelResponse_Reason_UNDEFINED_REASON; |
| 395 | const GetLogLevelResponse_Reason GetLogLevelResponse_Reason_Reason_MAX = GetLogLevelResponse_Reason_DEVICE_UNREACHABLE; |
| 396 | const int GetLogLevelResponse_Reason_Reason_ARRAYSIZE = GetLogLevelResponse_Reason_Reason_MAX + 1; |
| 397 | |
| 398 | const ::google::protobuf::EnumDescriptor* GetLogLevelResponse_Reason_descriptor(); |
| 399 | inline const ::std::string& GetLogLevelResponse_Reason_Name(GetLogLevelResponse_Reason value) { |
| 400 | return ::google::protobuf::internal::NameOfEnum( |
| 401 | GetLogLevelResponse_Reason_descriptor(), value); |
| 402 | } |
| 403 | inline bool GetLogLevelResponse_Reason_Parse( |
| 404 | const ::std::string& name, GetLogLevelResponse_Reason* value) { |
| 405 | return ::google::protobuf::internal::ParseNamedEnum<GetLogLevelResponse_Reason>( |
| 406 | GetLogLevelResponse_Reason_descriptor(), name, value); |
| 407 | } |
| 408 | // =================================================================== |
| 409 | |
| 410 | class PhysicalInventoryRequest final : |
| 411 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.PhysicalInventoryRequest) */ { |
| 412 | public: |
| 413 | PhysicalInventoryRequest(); |
| 414 | virtual ~PhysicalInventoryRequest(); |
| 415 | |
| 416 | PhysicalInventoryRequest(const PhysicalInventoryRequest& from); |
| 417 | |
| 418 | inline PhysicalInventoryRequest& operator=(const PhysicalInventoryRequest& from) { |
| 419 | CopyFrom(from); |
| 420 | return *this; |
| 421 | } |
| 422 | #if LANG_CXX11 |
| 423 | PhysicalInventoryRequest(PhysicalInventoryRequest&& from) noexcept |
| 424 | : PhysicalInventoryRequest() { |
| 425 | *this = ::std::move(from); |
| 426 | } |
| 427 | |
| 428 | inline PhysicalInventoryRequest& operator=(PhysicalInventoryRequest&& from) noexcept { |
| 429 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 430 | if (this != &from) InternalSwap(&from); |
| 431 | } else { |
| 432 | CopyFrom(from); |
| 433 | } |
| 434 | return *this; |
| 435 | } |
| 436 | #endif |
| 437 | static const ::google::protobuf::Descriptor* descriptor() { |
| 438 | return default_instance().GetDescriptor(); |
| 439 | } |
| 440 | static const PhysicalInventoryRequest& default_instance(); |
| 441 | |
| 442 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 443 | static inline const PhysicalInventoryRequest* internal_default_instance() { |
| 444 | return reinterpret_cast<const PhysicalInventoryRequest*>( |
| 445 | &_PhysicalInventoryRequest_default_instance_); |
| 446 | } |
| 447 | static constexpr int kIndexInFileMessages = |
| 448 | 0; |
| 449 | |
| 450 | void Swap(PhysicalInventoryRequest* other); |
| 451 | friend void swap(PhysicalInventoryRequest& a, PhysicalInventoryRequest& b) { |
| 452 | a.Swap(&b); |
| 453 | } |
| 454 | |
| 455 | // implements Message ---------------------------------------------- |
| 456 | |
| 457 | inline PhysicalInventoryRequest* New() const final { |
| 458 | return CreateMaybeMessage<PhysicalInventoryRequest>(nullptr); |
| 459 | } |
| 460 | |
| 461 | PhysicalInventoryRequest* New(::google::protobuf::Arena* arena) const final { |
| 462 | return CreateMaybeMessage<PhysicalInventoryRequest>(arena); |
| 463 | } |
| 464 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 465 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 466 | void CopyFrom(const PhysicalInventoryRequest& from); |
| 467 | void MergeFrom(const PhysicalInventoryRequest& from); |
| 468 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 469 | bool IsInitialized() const final; |
| 470 | |
| 471 | size_t ByteSizeLong() const final; |
| 472 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 473 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 474 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 475 | #else |
| 476 | bool MergePartialFromCodedStream( |
| 477 | ::google::protobuf::io::CodedInputStream* input) final; |
| 478 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 479 | void SerializeWithCachedSizes( |
| 480 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 481 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 482 | ::google::protobuf::uint8* target) const final; |
| 483 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 484 | |
| 485 | private: |
| 486 | void SharedCtor(); |
| 487 | void SharedDtor(); |
| 488 | void SetCachedSize(int size) const final; |
| 489 | void InternalSwap(PhysicalInventoryRequest* other); |
| 490 | private: |
| 491 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 492 | return nullptr; |
| 493 | } |
| 494 | inline void* MaybeArenaPtr() const { |
| 495 | return nullptr; |
| 496 | } |
| 497 | public: |
| 498 | |
| 499 | ::google::protobuf::Metadata GetMetadata() const final; |
| 500 | |
| 501 | // nested types ---------------------------------------------------- |
| 502 | |
| 503 | // accessors ------------------------------------------------------- |
| 504 | |
| 505 | // .dmi.Uuid device_uuid = 1; |
| 506 | bool has_device_uuid() const; |
| 507 | void clear_device_uuid(); |
| 508 | static const int kDeviceUuidFieldNumber = 1; |
| 509 | const ::dmi::Uuid& device_uuid() const; |
| 510 | ::dmi::Uuid* release_device_uuid(); |
| 511 | ::dmi::Uuid* mutable_device_uuid(); |
| 512 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 513 | |
| 514 | // @@protoc_insertion_point(class_scope:dmi.PhysicalInventoryRequest) |
| 515 | private: |
| 516 | class HasBitSetters; |
| 517 | |
| 518 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 519 | ::dmi::Uuid* device_uuid_; |
| 520 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 521 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 522 | }; |
| 523 | // ------------------------------------------------------------------- |
| 524 | |
| 525 | class PhysicalInventoryResponse final : |
| 526 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.PhysicalInventoryResponse) */ { |
| 527 | public: |
| 528 | PhysicalInventoryResponse(); |
| 529 | virtual ~PhysicalInventoryResponse(); |
| 530 | |
| 531 | PhysicalInventoryResponse(const PhysicalInventoryResponse& from); |
| 532 | |
| 533 | inline PhysicalInventoryResponse& operator=(const PhysicalInventoryResponse& from) { |
| 534 | CopyFrom(from); |
| 535 | return *this; |
| 536 | } |
| 537 | #if LANG_CXX11 |
| 538 | PhysicalInventoryResponse(PhysicalInventoryResponse&& from) noexcept |
| 539 | : PhysicalInventoryResponse() { |
| 540 | *this = ::std::move(from); |
| 541 | } |
| 542 | |
| 543 | inline PhysicalInventoryResponse& operator=(PhysicalInventoryResponse&& from) noexcept { |
| 544 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 545 | if (this != &from) InternalSwap(&from); |
| 546 | } else { |
| 547 | CopyFrom(from); |
| 548 | } |
| 549 | return *this; |
| 550 | } |
| 551 | #endif |
| 552 | static const ::google::protobuf::Descriptor* descriptor() { |
| 553 | return default_instance().GetDescriptor(); |
| 554 | } |
| 555 | static const PhysicalInventoryResponse& default_instance(); |
| 556 | |
| 557 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 558 | static inline const PhysicalInventoryResponse* internal_default_instance() { |
| 559 | return reinterpret_cast<const PhysicalInventoryResponse*>( |
| 560 | &_PhysicalInventoryResponse_default_instance_); |
| 561 | } |
| 562 | static constexpr int kIndexInFileMessages = |
| 563 | 1; |
| 564 | |
| 565 | void Swap(PhysicalInventoryResponse* other); |
| 566 | friend void swap(PhysicalInventoryResponse& a, PhysicalInventoryResponse& b) { |
| 567 | a.Swap(&b); |
| 568 | } |
| 569 | |
| 570 | // implements Message ---------------------------------------------- |
| 571 | |
| 572 | inline PhysicalInventoryResponse* New() const final { |
| 573 | return CreateMaybeMessage<PhysicalInventoryResponse>(nullptr); |
| 574 | } |
| 575 | |
| 576 | PhysicalInventoryResponse* New(::google::protobuf::Arena* arena) const final { |
| 577 | return CreateMaybeMessage<PhysicalInventoryResponse>(arena); |
| 578 | } |
| 579 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 580 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 581 | void CopyFrom(const PhysicalInventoryResponse& from); |
| 582 | void MergeFrom(const PhysicalInventoryResponse& from); |
| 583 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 584 | bool IsInitialized() const final; |
| 585 | |
| 586 | size_t ByteSizeLong() const final; |
| 587 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 588 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 589 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 590 | #else |
| 591 | bool MergePartialFromCodedStream( |
| 592 | ::google::protobuf::io::CodedInputStream* input) final; |
| 593 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 594 | void SerializeWithCachedSizes( |
| 595 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 596 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 597 | ::google::protobuf::uint8* target) const final; |
| 598 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 599 | |
| 600 | private: |
| 601 | void SharedCtor(); |
| 602 | void SharedDtor(); |
| 603 | void SetCachedSize(int size) const final; |
| 604 | void InternalSwap(PhysicalInventoryResponse* other); |
| 605 | private: |
| 606 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 607 | return nullptr; |
| 608 | } |
| 609 | inline void* MaybeArenaPtr() const { |
| 610 | return nullptr; |
| 611 | } |
| 612 | public: |
| 613 | |
| 614 | ::google::protobuf::Metadata GetMetadata() const final; |
| 615 | |
| 616 | // nested types ---------------------------------------------------- |
| 617 | |
| 618 | typedef PhysicalInventoryResponse_Reason Reason; |
| 619 | static const Reason UNDEFINED_REASON = |
| 620 | PhysicalInventoryResponse_Reason_UNDEFINED_REASON; |
| 621 | static const Reason UNKNOWN_DEVICE = |
| 622 | PhysicalInventoryResponse_Reason_UNKNOWN_DEVICE; |
| 623 | static const Reason INTERNAL_ERROR = |
| 624 | PhysicalInventoryResponse_Reason_INTERNAL_ERROR; |
| 625 | static const Reason DEVICE_UNREACHABLE = |
| 626 | PhysicalInventoryResponse_Reason_DEVICE_UNREACHABLE; |
| 627 | static inline bool Reason_IsValid(int value) { |
| 628 | return PhysicalInventoryResponse_Reason_IsValid(value); |
| 629 | } |
| 630 | static const Reason Reason_MIN = |
| 631 | PhysicalInventoryResponse_Reason_Reason_MIN; |
| 632 | static const Reason Reason_MAX = |
| 633 | PhysicalInventoryResponse_Reason_Reason_MAX; |
| 634 | static const int Reason_ARRAYSIZE = |
| 635 | PhysicalInventoryResponse_Reason_Reason_ARRAYSIZE; |
| 636 | static inline const ::google::protobuf::EnumDescriptor* |
| 637 | Reason_descriptor() { |
| 638 | return PhysicalInventoryResponse_Reason_descriptor(); |
| 639 | } |
| 640 | static inline const ::std::string& Reason_Name(Reason value) { |
| 641 | return PhysicalInventoryResponse_Reason_Name(value); |
| 642 | } |
| 643 | static inline bool Reason_Parse(const ::std::string& name, |
| 644 | Reason* value) { |
| 645 | return PhysicalInventoryResponse_Reason_Parse(name, value); |
| 646 | } |
| 647 | |
| 648 | // accessors ------------------------------------------------------- |
| 649 | |
| 650 | // string reason_detail = 4; |
| 651 | void clear_reason_detail(); |
| 652 | static const int kReasonDetailFieldNumber = 4; |
| 653 | const ::std::string& reason_detail() const; |
| 654 | void set_reason_detail(const ::std::string& value); |
| 655 | #if LANG_CXX11 |
| 656 | void set_reason_detail(::std::string&& value); |
| 657 | #endif |
| 658 | void set_reason_detail(const char* value); |
| 659 | void set_reason_detail(const char* value, size_t size); |
| 660 | ::std::string* mutable_reason_detail(); |
| 661 | ::std::string* release_reason_detail(); |
| 662 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 663 | |
| 664 | // .dmi.Hardware inventory = 3; |
| 665 | bool has_inventory() const; |
| 666 | void clear_inventory(); |
| 667 | static const int kInventoryFieldNumber = 3; |
| 668 | const ::dmi::Hardware& inventory() const; |
| 669 | ::dmi::Hardware* release_inventory(); |
| 670 | ::dmi::Hardware* mutable_inventory(); |
| 671 | void set_allocated_inventory(::dmi::Hardware* inventory); |
| 672 | |
| 673 | // .dmi.Status status = 1; |
| 674 | void clear_status(); |
| 675 | static const int kStatusFieldNumber = 1; |
| 676 | ::dmi::Status status() const; |
| 677 | void set_status(::dmi::Status value); |
| 678 | |
| 679 | // .dmi.PhysicalInventoryResponse.Reason reason = 2; |
| 680 | void clear_reason(); |
| 681 | static const int kReasonFieldNumber = 2; |
| 682 | ::dmi::PhysicalInventoryResponse_Reason reason() const; |
| 683 | void set_reason(::dmi::PhysicalInventoryResponse_Reason value); |
| 684 | |
| 685 | // @@protoc_insertion_point(class_scope:dmi.PhysicalInventoryResponse) |
| 686 | private: |
| 687 | class HasBitSetters; |
| 688 | |
| 689 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 690 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 691 | ::dmi::Hardware* inventory_; |
| 692 | int status_; |
| 693 | int reason_; |
| 694 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 695 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 696 | }; |
| 697 | // ------------------------------------------------------------------- |
| 698 | |
| 699 | class HWComponentInfoGetRequest final : |
| 700 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.HWComponentInfoGetRequest) */ { |
| 701 | public: |
| 702 | HWComponentInfoGetRequest(); |
| 703 | virtual ~HWComponentInfoGetRequest(); |
| 704 | |
| 705 | HWComponentInfoGetRequest(const HWComponentInfoGetRequest& from); |
| 706 | |
| 707 | inline HWComponentInfoGetRequest& operator=(const HWComponentInfoGetRequest& from) { |
| 708 | CopyFrom(from); |
| 709 | return *this; |
| 710 | } |
| 711 | #if LANG_CXX11 |
| 712 | HWComponentInfoGetRequest(HWComponentInfoGetRequest&& from) noexcept |
| 713 | : HWComponentInfoGetRequest() { |
| 714 | *this = ::std::move(from); |
| 715 | } |
| 716 | |
| 717 | inline HWComponentInfoGetRequest& operator=(HWComponentInfoGetRequest&& from) noexcept { |
| 718 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 719 | if (this != &from) InternalSwap(&from); |
| 720 | } else { |
| 721 | CopyFrom(from); |
| 722 | } |
| 723 | return *this; |
| 724 | } |
| 725 | #endif |
| 726 | static const ::google::protobuf::Descriptor* descriptor() { |
| 727 | return default_instance().GetDescriptor(); |
| 728 | } |
| 729 | static const HWComponentInfoGetRequest& default_instance(); |
| 730 | |
| 731 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 732 | static inline const HWComponentInfoGetRequest* internal_default_instance() { |
| 733 | return reinterpret_cast<const HWComponentInfoGetRequest*>( |
| 734 | &_HWComponentInfoGetRequest_default_instance_); |
| 735 | } |
| 736 | static constexpr int kIndexInFileMessages = |
| 737 | 2; |
| 738 | |
| 739 | void Swap(HWComponentInfoGetRequest* other); |
| 740 | friend void swap(HWComponentInfoGetRequest& a, HWComponentInfoGetRequest& b) { |
| 741 | a.Swap(&b); |
| 742 | } |
| 743 | |
| 744 | // implements Message ---------------------------------------------- |
| 745 | |
| 746 | inline HWComponentInfoGetRequest* New() const final { |
| 747 | return CreateMaybeMessage<HWComponentInfoGetRequest>(nullptr); |
| 748 | } |
| 749 | |
| 750 | HWComponentInfoGetRequest* New(::google::protobuf::Arena* arena) const final { |
| 751 | return CreateMaybeMessage<HWComponentInfoGetRequest>(arena); |
| 752 | } |
| 753 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 754 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 755 | void CopyFrom(const HWComponentInfoGetRequest& from); |
| 756 | void MergeFrom(const HWComponentInfoGetRequest& from); |
| 757 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 758 | bool IsInitialized() const final; |
| 759 | |
| 760 | size_t ByteSizeLong() const final; |
| 761 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 762 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 763 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 764 | #else |
| 765 | bool MergePartialFromCodedStream( |
| 766 | ::google::protobuf::io::CodedInputStream* input) final; |
| 767 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 768 | void SerializeWithCachedSizes( |
| 769 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 770 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 771 | ::google::protobuf::uint8* target) const final; |
| 772 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 773 | |
| 774 | private: |
| 775 | void SharedCtor(); |
| 776 | void SharedDtor(); |
| 777 | void SetCachedSize(int size) const final; |
| 778 | void InternalSwap(HWComponentInfoGetRequest* other); |
| 779 | private: |
| 780 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 781 | return nullptr; |
| 782 | } |
| 783 | inline void* MaybeArenaPtr() const { |
| 784 | return nullptr; |
| 785 | } |
| 786 | public: |
| 787 | |
| 788 | ::google::protobuf::Metadata GetMetadata() const final; |
| 789 | |
| 790 | // nested types ---------------------------------------------------- |
| 791 | |
| 792 | // accessors ------------------------------------------------------- |
| 793 | |
| 794 | // string component_name = 3; |
| 795 | void clear_component_name(); |
| 796 | static const int kComponentNameFieldNumber = 3; |
| 797 | const ::std::string& component_name() const; |
| 798 | void set_component_name(const ::std::string& value); |
| 799 | #if LANG_CXX11 |
| 800 | void set_component_name(::std::string&& value); |
| 801 | #endif |
| 802 | void set_component_name(const char* value); |
| 803 | void set_component_name(const char* value, size_t size); |
| 804 | ::std::string* mutable_component_name(); |
| 805 | ::std::string* release_component_name(); |
| 806 | void set_allocated_component_name(::std::string* component_name); |
| 807 | |
| 808 | // .dmi.Uuid device_uuid = 1; |
| 809 | bool has_device_uuid() const; |
| 810 | void clear_device_uuid(); |
| 811 | static const int kDeviceUuidFieldNumber = 1; |
| 812 | const ::dmi::Uuid& device_uuid() const; |
| 813 | ::dmi::Uuid* release_device_uuid(); |
| 814 | ::dmi::Uuid* mutable_device_uuid(); |
| 815 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 816 | |
| 817 | // .dmi.Uuid component_uuid = 2; |
| 818 | bool has_component_uuid() const; |
| 819 | void clear_component_uuid(); |
| 820 | static const int kComponentUuidFieldNumber = 2; |
| 821 | const ::dmi::Uuid& component_uuid() const; |
| 822 | ::dmi::Uuid* release_component_uuid(); |
| 823 | ::dmi::Uuid* mutable_component_uuid(); |
| 824 | void set_allocated_component_uuid(::dmi::Uuid* component_uuid); |
| 825 | |
| 826 | // @@protoc_insertion_point(class_scope:dmi.HWComponentInfoGetRequest) |
| 827 | private: |
| 828 | class HasBitSetters; |
| 829 | |
| 830 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 831 | ::google::protobuf::internal::ArenaStringPtr component_name_; |
| 832 | ::dmi::Uuid* device_uuid_; |
| 833 | ::dmi::Uuid* component_uuid_; |
| 834 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 835 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 836 | }; |
| 837 | // ------------------------------------------------------------------- |
| 838 | |
| 839 | class HWComponentInfoGetResponse final : |
| 840 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.HWComponentInfoGetResponse) */ { |
| 841 | public: |
| 842 | HWComponentInfoGetResponse(); |
| 843 | virtual ~HWComponentInfoGetResponse(); |
| 844 | |
| 845 | HWComponentInfoGetResponse(const HWComponentInfoGetResponse& from); |
| 846 | |
| 847 | inline HWComponentInfoGetResponse& operator=(const HWComponentInfoGetResponse& from) { |
| 848 | CopyFrom(from); |
| 849 | return *this; |
| 850 | } |
| 851 | #if LANG_CXX11 |
| 852 | HWComponentInfoGetResponse(HWComponentInfoGetResponse&& from) noexcept |
| 853 | : HWComponentInfoGetResponse() { |
| 854 | *this = ::std::move(from); |
| 855 | } |
| 856 | |
| 857 | inline HWComponentInfoGetResponse& operator=(HWComponentInfoGetResponse&& from) noexcept { |
| 858 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 859 | if (this != &from) InternalSwap(&from); |
| 860 | } else { |
| 861 | CopyFrom(from); |
| 862 | } |
| 863 | return *this; |
| 864 | } |
| 865 | #endif |
| 866 | static const ::google::protobuf::Descriptor* descriptor() { |
| 867 | return default_instance().GetDescriptor(); |
| 868 | } |
| 869 | static const HWComponentInfoGetResponse& default_instance(); |
| 870 | |
| 871 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 872 | static inline const HWComponentInfoGetResponse* internal_default_instance() { |
| 873 | return reinterpret_cast<const HWComponentInfoGetResponse*>( |
| 874 | &_HWComponentInfoGetResponse_default_instance_); |
| 875 | } |
| 876 | static constexpr int kIndexInFileMessages = |
| 877 | 3; |
| 878 | |
| 879 | void Swap(HWComponentInfoGetResponse* other); |
| 880 | friend void swap(HWComponentInfoGetResponse& a, HWComponentInfoGetResponse& b) { |
| 881 | a.Swap(&b); |
| 882 | } |
| 883 | |
| 884 | // implements Message ---------------------------------------------- |
| 885 | |
| 886 | inline HWComponentInfoGetResponse* New() const final { |
| 887 | return CreateMaybeMessage<HWComponentInfoGetResponse>(nullptr); |
| 888 | } |
| 889 | |
| 890 | HWComponentInfoGetResponse* New(::google::protobuf::Arena* arena) const final { |
| 891 | return CreateMaybeMessage<HWComponentInfoGetResponse>(arena); |
| 892 | } |
| 893 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 894 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 895 | void CopyFrom(const HWComponentInfoGetResponse& from); |
| 896 | void MergeFrom(const HWComponentInfoGetResponse& from); |
| 897 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 898 | bool IsInitialized() const final; |
| 899 | |
| 900 | size_t ByteSizeLong() const final; |
| 901 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 902 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 903 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 904 | #else |
| 905 | bool MergePartialFromCodedStream( |
| 906 | ::google::protobuf::io::CodedInputStream* input) final; |
| 907 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 908 | void SerializeWithCachedSizes( |
| 909 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 910 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 911 | ::google::protobuf::uint8* target) const final; |
| 912 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 913 | |
| 914 | private: |
| 915 | void SharedCtor(); |
| 916 | void SharedDtor(); |
| 917 | void SetCachedSize(int size) const final; |
| 918 | void InternalSwap(HWComponentInfoGetResponse* other); |
| 919 | private: |
| 920 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 921 | return nullptr; |
| 922 | } |
| 923 | inline void* MaybeArenaPtr() const { |
| 924 | return nullptr; |
| 925 | } |
| 926 | public: |
| 927 | |
| 928 | ::google::protobuf::Metadata GetMetadata() const final; |
| 929 | |
| 930 | // nested types ---------------------------------------------------- |
| 931 | |
| 932 | typedef HWComponentInfoGetResponse_Reason Reason; |
| 933 | static const Reason UNDEFINED_REASON = |
| 934 | HWComponentInfoGetResponse_Reason_UNDEFINED_REASON; |
| 935 | static const Reason UNKNOWN_DEVICE = |
| 936 | HWComponentInfoGetResponse_Reason_UNKNOWN_DEVICE; |
| 937 | static const Reason UNKNOWN_COMPONENT = |
| 938 | HWComponentInfoGetResponse_Reason_UNKNOWN_COMPONENT; |
| 939 | static const Reason INTERNAL_ERROR = |
| 940 | HWComponentInfoGetResponse_Reason_INTERNAL_ERROR; |
| 941 | static const Reason DEVICE_UNREACHABLE = |
| 942 | HWComponentInfoGetResponse_Reason_DEVICE_UNREACHABLE; |
| 943 | static inline bool Reason_IsValid(int value) { |
| 944 | return HWComponentInfoGetResponse_Reason_IsValid(value); |
| 945 | } |
| 946 | static const Reason Reason_MIN = |
| 947 | HWComponentInfoGetResponse_Reason_Reason_MIN; |
| 948 | static const Reason Reason_MAX = |
| 949 | HWComponentInfoGetResponse_Reason_Reason_MAX; |
| 950 | static const int Reason_ARRAYSIZE = |
| 951 | HWComponentInfoGetResponse_Reason_Reason_ARRAYSIZE; |
| 952 | static inline const ::google::protobuf::EnumDescriptor* |
| 953 | Reason_descriptor() { |
| 954 | return HWComponentInfoGetResponse_Reason_descriptor(); |
| 955 | } |
| 956 | static inline const ::std::string& Reason_Name(Reason value) { |
| 957 | return HWComponentInfoGetResponse_Reason_Name(value); |
| 958 | } |
| 959 | static inline bool Reason_Parse(const ::std::string& name, |
| 960 | Reason* value) { |
| 961 | return HWComponentInfoGetResponse_Reason_Parse(name, value); |
| 962 | } |
| 963 | |
| 964 | // accessors ------------------------------------------------------- |
| 965 | |
| 966 | // string reason_detail = 4; |
| 967 | void clear_reason_detail(); |
| 968 | static const int kReasonDetailFieldNumber = 4; |
| 969 | const ::std::string& reason_detail() const; |
| 970 | void set_reason_detail(const ::std::string& value); |
| 971 | #if LANG_CXX11 |
| 972 | void set_reason_detail(::std::string&& value); |
| 973 | #endif |
| 974 | void set_reason_detail(const char* value); |
| 975 | void set_reason_detail(const char* value, size_t size); |
| 976 | ::std::string* mutable_reason_detail(); |
| 977 | ::std::string* release_reason_detail(); |
| 978 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 979 | |
| 980 | // .dmi.Component component = 3; |
| 981 | bool has_component() const; |
| 982 | void clear_component(); |
| 983 | static const int kComponentFieldNumber = 3; |
| 984 | const ::dmi::Component& component() const; |
| 985 | ::dmi::Component* release_component(); |
| 986 | ::dmi::Component* mutable_component(); |
| 987 | void set_allocated_component(::dmi::Component* component); |
| 988 | |
| 989 | // .dmi.Status status = 1; |
| 990 | void clear_status(); |
| 991 | static const int kStatusFieldNumber = 1; |
| 992 | ::dmi::Status status() const; |
| 993 | void set_status(::dmi::Status value); |
| 994 | |
| 995 | // .dmi.HWComponentInfoGetResponse.Reason reason = 2; |
| 996 | void clear_reason(); |
| 997 | static const int kReasonFieldNumber = 2; |
| 998 | ::dmi::HWComponentInfoGetResponse_Reason reason() const; |
| 999 | void set_reason(::dmi::HWComponentInfoGetResponse_Reason value); |
| 1000 | |
| 1001 | // @@protoc_insertion_point(class_scope:dmi.HWComponentInfoGetResponse) |
| 1002 | private: |
| 1003 | class HasBitSetters; |
| 1004 | |
| 1005 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1006 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 1007 | ::dmi::Component* component_; |
| 1008 | int status_; |
| 1009 | int reason_; |
| 1010 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1011 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 1012 | }; |
| 1013 | // ------------------------------------------------------------------- |
| 1014 | |
| 1015 | class HWComponentInfoSetRequest final : |
| 1016 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.HWComponentInfoSetRequest) */ { |
| 1017 | public: |
| 1018 | HWComponentInfoSetRequest(); |
| 1019 | virtual ~HWComponentInfoSetRequest(); |
| 1020 | |
| 1021 | HWComponentInfoSetRequest(const HWComponentInfoSetRequest& from); |
| 1022 | |
| 1023 | inline HWComponentInfoSetRequest& operator=(const HWComponentInfoSetRequest& from) { |
| 1024 | CopyFrom(from); |
| 1025 | return *this; |
| 1026 | } |
| 1027 | #if LANG_CXX11 |
| 1028 | HWComponentInfoSetRequest(HWComponentInfoSetRequest&& from) noexcept |
| 1029 | : HWComponentInfoSetRequest() { |
| 1030 | *this = ::std::move(from); |
| 1031 | } |
| 1032 | |
| 1033 | inline HWComponentInfoSetRequest& operator=(HWComponentInfoSetRequest&& from) noexcept { |
| 1034 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1035 | if (this != &from) InternalSwap(&from); |
| 1036 | } else { |
| 1037 | CopyFrom(from); |
| 1038 | } |
| 1039 | return *this; |
| 1040 | } |
| 1041 | #endif |
| 1042 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1043 | return default_instance().GetDescriptor(); |
| 1044 | } |
| 1045 | static const HWComponentInfoSetRequest& default_instance(); |
| 1046 | |
| 1047 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1048 | static inline const HWComponentInfoSetRequest* internal_default_instance() { |
| 1049 | return reinterpret_cast<const HWComponentInfoSetRequest*>( |
| 1050 | &_HWComponentInfoSetRequest_default_instance_); |
| 1051 | } |
| 1052 | static constexpr int kIndexInFileMessages = |
| 1053 | 4; |
| 1054 | |
| 1055 | void Swap(HWComponentInfoSetRequest* other); |
| 1056 | friend void swap(HWComponentInfoSetRequest& a, HWComponentInfoSetRequest& b) { |
| 1057 | a.Swap(&b); |
| 1058 | } |
| 1059 | |
| 1060 | // implements Message ---------------------------------------------- |
| 1061 | |
| 1062 | inline HWComponentInfoSetRequest* New() const final { |
| 1063 | return CreateMaybeMessage<HWComponentInfoSetRequest>(nullptr); |
| 1064 | } |
| 1065 | |
| 1066 | HWComponentInfoSetRequest* New(::google::protobuf::Arena* arena) const final { |
| 1067 | return CreateMaybeMessage<HWComponentInfoSetRequest>(arena); |
| 1068 | } |
| 1069 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1070 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1071 | void CopyFrom(const HWComponentInfoSetRequest& from); |
| 1072 | void MergeFrom(const HWComponentInfoSetRequest& from); |
| 1073 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1074 | bool IsInitialized() const final; |
| 1075 | |
| 1076 | size_t ByteSizeLong() const final; |
| 1077 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1078 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1079 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1080 | #else |
| 1081 | bool MergePartialFromCodedStream( |
| 1082 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1083 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1084 | void SerializeWithCachedSizes( |
| 1085 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1086 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1087 | ::google::protobuf::uint8* target) const final; |
| 1088 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1089 | |
| 1090 | private: |
| 1091 | void SharedCtor(); |
| 1092 | void SharedDtor(); |
| 1093 | void SetCachedSize(int size) const final; |
| 1094 | void InternalSwap(HWComponentInfoSetRequest* other); |
| 1095 | private: |
| 1096 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1097 | return nullptr; |
| 1098 | } |
| 1099 | inline void* MaybeArenaPtr() const { |
| 1100 | return nullptr; |
| 1101 | } |
| 1102 | public: |
| 1103 | |
| 1104 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1105 | |
| 1106 | // nested types ---------------------------------------------------- |
| 1107 | |
| 1108 | // accessors ------------------------------------------------------- |
| 1109 | |
| 1110 | // string component_name = 3; |
| 1111 | void clear_component_name(); |
| 1112 | static const int kComponentNameFieldNumber = 3; |
| 1113 | const ::std::string& component_name() const; |
| 1114 | void set_component_name(const ::std::string& value); |
| 1115 | #if LANG_CXX11 |
| 1116 | void set_component_name(::std::string&& value); |
| 1117 | #endif |
| 1118 | void set_component_name(const char* value); |
| 1119 | void set_component_name(const char* value, size_t size); |
| 1120 | ::std::string* mutable_component_name(); |
| 1121 | ::std::string* release_component_name(); |
| 1122 | void set_allocated_component_name(::std::string* component_name); |
| 1123 | |
| 1124 | // .dmi.Uuid device_uuid = 1; |
| 1125 | bool has_device_uuid() const; |
| 1126 | void clear_device_uuid(); |
| 1127 | static const int kDeviceUuidFieldNumber = 1; |
| 1128 | const ::dmi::Uuid& device_uuid() const; |
| 1129 | ::dmi::Uuid* release_device_uuid(); |
| 1130 | ::dmi::Uuid* mutable_device_uuid(); |
| 1131 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 1132 | |
| 1133 | // .dmi.Uuid component_uuid = 2; |
| 1134 | bool has_component_uuid() const; |
| 1135 | void clear_component_uuid(); |
| 1136 | static const int kComponentUuidFieldNumber = 2; |
| 1137 | const ::dmi::Uuid& component_uuid() const; |
| 1138 | ::dmi::Uuid* release_component_uuid(); |
| 1139 | ::dmi::Uuid* mutable_component_uuid(); |
| 1140 | void set_allocated_component_uuid(::dmi::Uuid* component_uuid); |
| 1141 | |
| 1142 | // .dmi.ModifiableComponent changes = 4; |
| 1143 | bool has_changes() const; |
| 1144 | void clear_changes(); |
| 1145 | static const int kChangesFieldNumber = 4; |
| 1146 | const ::dmi::ModifiableComponent& changes() const; |
| 1147 | ::dmi::ModifiableComponent* release_changes(); |
| 1148 | ::dmi::ModifiableComponent* mutable_changes(); |
| 1149 | void set_allocated_changes(::dmi::ModifiableComponent* changes); |
| 1150 | |
| 1151 | // @@protoc_insertion_point(class_scope:dmi.HWComponentInfoSetRequest) |
| 1152 | private: |
| 1153 | class HasBitSetters; |
| 1154 | |
| 1155 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1156 | ::google::protobuf::internal::ArenaStringPtr component_name_; |
| 1157 | ::dmi::Uuid* device_uuid_; |
| 1158 | ::dmi::Uuid* component_uuid_; |
| 1159 | ::dmi::ModifiableComponent* changes_; |
| 1160 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1161 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 1162 | }; |
| 1163 | // ------------------------------------------------------------------- |
| 1164 | |
| 1165 | class HWComponentInfoSetResponse final : |
| 1166 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.HWComponentInfoSetResponse) */ { |
| 1167 | public: |
| 1168 | HWComponentInfoSetResponse(); |
| 1169 | virtual ~HWComponentInfoSetResponse(); |
| 1170 | |
| 1171 | HWComponentInfoSetResponse(const HWComponentInfoSetResponse& from); |
| 1172 | |
| 1173 | inline HWComponentInfoSetResponse& operator=(const HWComponentInfoSetResponse& from) { |
| 1174 | CopyFrom(from); |
| 1175 | return *this; |
| 1176 | } |
| 1177 | #if LANG_CXX11 |
| 1178 | HWComponentInfoSetResponse(HWComponentInfoSetResponse&& from) noexcept |
| 1179 | : HWComponentInfoSetResponse() { |
| 1180 | *this = ::std::move(from); |
| 1181 | } |
| 1182 | |
| 1183 | inline HWComponentInfoSetResponse& operator=(HWComponentInfoSetResponse&& from) noexcept { |
| 1184 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1185 | if (this != &from) InternalSwap(&from); |
| 1186 | } else { |
| 1187 | CopyFrom(from); |
| 1188 | } |
| 1189 | return *this; |
| 1190 | } |
| 1191 | #endif |
| 1192 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1193 | return default_instance().GetDescriptor(); |
| 1194 | } |
| 1195 | static const HWComponentInfoSetResponse& default_instance(); |
| 1196 | |
| 1197 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1198 | static inline const HWComponentInfoSetResponse* internal_default_instance() { |
| 1199 | return reinterpret_cast<const HWComponentInfoSetResponse*>( |
| 1200 | &_HWComponentInfoSetResponse_default_instance_); |
| 1201 | } |
| 1202 | static constexpr int kIndexInFileMessages = |
| 1203 | 5; |
| 1204 | |
| 1205 | void Swap(HWComponentInfoSetResponse* other); |
| 1206 | friend void swap(HWComponentInfoSetResponse& a, HWComponentInfoSetResponse& b) { |
| 1207 | a.Swap(&b); |
| 1208 | } |
| 1209 | |
| 1210 | // implements Message ---------------------------------------------- |
| 1211 | |
| 1212 | inline HWComponentInfoSetResponse* New() const final { |
| 1213 | return CreateMaybeMessage<HWComponentInfoSetResponse>(nullptr); |
| 1214 | } |
| 1215 | |
| 1216 | HWComponentInfoSetResponse* New(::google::protobuf::Arena* arena) const final { |
| 1217 | return CreateMaybeMessage<HWComponentInfoSetResponse>(arena); |
| 1218 | } |
| 1219 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1220 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1221 | void CopyFrom(const HWComponentInfoSetResponse& from); |
| 1222 | void MergeFrom(const HWComponentInfoSetResponse& from); |
| 1223 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1224 | bool IsInitialized() const final; |
| 1225 | |
| 1226 | size_t ByteSizeLong() const final; |
| 1227 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1228 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1229 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1230 | #else |
| 1231 | bool MergePartialFromCodedStream( |
| 1232 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1233 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1234 | void SerializeWithCachedSizes( |
| 1235 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1236 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1237 | ::google::protobuf::uint8* target) const final; |
| 1238 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1239 | |
| 1240 | private: |
| 1241 | void SharedCtor(); |
| 1242 | void SharedDtor(); |
| 1243 | void SetCachedSize(int size) const final; |
| 1244 | void InternalSwap(HWComponentInfoSetResponse* other); |
| 1245 | private: |
| 1246 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1247 | return nullptr; |
| 1248 | } |
| 1249 | inline void* MaybeArenaPtr() const { |
| 1250 | return nullptr; |
| 1251 | } |
| 1252 | public: |
| 1253 | |
| 1254 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1255 | |
| 1256 | // nested types ---------------------------------------------------- |
| 1257 | |
| 1258 | typedef HWComponentInfoSetResponse_Reason Reason; |
| 1259 | static const Reason UNDEFINED_REASON = |
| 1260 | HWComponentInfoSetResponse_Reason_UNDEFINED_REASON; |
| 1261 | static const Reason UNKNOWN_DEVICE = |
| 1262 | HWComponentInfoSetResponse_Reason_UNKNOWN_DEVICE; |
| 1263 | static const Reason UNKNOWN_COMPONENT = |
| 1264 | HWComponentInfoSetResponse_Reason_UNKNOWN_COMPONENT; |
| 1265 | static const Reason INVALID_PARAMS = |
| 1266 | HWComponentInfoSetResponse_Reason_INVALID_PARAMS; |
| 1267 | static const Reason INTERNAL_ERROR = |
| 1268 | HWComponentInfoSetResponse_Reason_INTERNAL_ERROR; |
| 1269 | static const Reason DEVICE_UNREACHABLE = |
| 1270 | HWComponentInfoSetResponse_Reason_DEVICE_UNREACHABLE; |
| 1271 | static inline bool Reason_IsValid(int value) { |
| 1272 | return HWComponentInfoSetResponse_Reason_IsValid(value); |
| 1273 | } |
| 1274 | static const Reason Reason_MIN = |
| 1275 | HWComponentInfoSetResponse_Reason_Reason_MIN; |
| 1276 | static const Reason Reason_MAX = |
| 1277 | HWComponentInfoSetResponse_Reason_Reason_MAX; |
| 1278 | static const int Reason_ARRAYSIZE = |
| 1279 | HWComponentInfoSetResponse_Reason_Reason_ARRAYSIZE; |
| 1280 | static inline const ::google::protobuf::EnumDescriptor* |
| 1281 | Reason_descriptor() { |
| 1282 | return HWComponentInfoSetResponse_Reason_descriptor(); |
| 1283 | } |
| 1284 | static inline const ::std::string& Reason_Name(Reason value) { |
| 1285 | return HWComponentInfoSetResponse_Reason_Name(value); |
| 1286 | } |
| 1287 | static inline bool Reason_Parse(const ::std::string& name, |
| 1288 | Reason* value) { |
| 1289 | return HWComponentInfoSetResponse_Reason_Parse(name, value); |
| 1290 | } |
| 1291 | |
| 1292 | // accessors ------------------------------------------------------- |
| 1293 | |
| 1294 | // string reason_detail = 3; |
| 1295 | void clear_reason_detail(); |
| 1296 | static const int kReasonDetailFieldNumber = 3; |
| 1297 | const ::std::string& reason_detail() const; |
| 1298 | void set_reason_detail(const ::std::string& value); |
| 1299 | #if LANG_CXX11 |
| 1300 | void set_reason_detail(::std::string&& value); |
| 1301 | #endif |
| 1302 | void set_reason_detail(const char* value); |
| 1303 | void set_reason_detail(const char* value, size_t size); |
| 1304 | ::std::string* mutable_reason_detail(); |
| 1305 | ::std::string* release_reason_detail(); |
| 1306 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 1307 | |
| 1308 | // .dmi.Status status = 1; |
| 1309 | void clear_status(); |
| 1310 | static const int kStatusFieldNumber = 1; |
| 1311 | ::dmi::Status status() const; |
| 1312 | void set_status(::dmi::Status value); |
| 1313 | |
| 1314 | // .dmi.HWComponentInfoSetResponse.Reason reason = 2; |
| 1315 | void clear_reason(); |
| 1316 | static const int kReasonFieldNumber = 2; |
| 1317 | ::dmi::HWComponentInfoSetResponse_Reason reason() const; |
| 1318 | void set_reason(::dmi::HWComponentInfoSetResponse_Reason value); |
| 1319 | |
| 1320 | // @@protoc_insertion_point(class_scope:dmi.HWComponentInfoSetResponse) |
| 1321 | private: |
| 1322 | class HasBitSetters; |
| 1323 | |
| 1324 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1325 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 1326 | int status_; |
| 1327 | int reason_; |
| 1328 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1329 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 1330 | }; |
| 1331 | // ------------------------------------------------------------------- |
| 1332 | |
| 1333 | class StartManagingDeviceResponse final : |
| 1334 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.StartManagingDeviceResponse) */ { |
| 1335 | public: |
| 1336 | StartManagingDeviceResponse(); |
| 1337 | virtual ~StartManagingDeviceResponse(); |
| 1338 | |
| 1339 | StartManagingDeviceResponse(const StartManagingDeviceResponse& from); |
| 1340 | |
| 1341 | inline StartManagingDeviceResponse& operator=(const StartManagingDeviceResponse& from) { |
| 1342 | CopyFrom(from); |
| 1343 | return *this; |
| 1344 | } |
| 1345 | #if LANG_CXX11 |
| 1346 | StartManagingDeviceResponse(StartManagingDeviceResponse&& from) noexcept |
| 1347 | : StartManagingDeviceResponse() { |
| 1348 | *this = ::std::move(from); |
| 1349 | } |
| 1350 | |
| 1351 | inline StartManagingDeviceResponse& operator=(StartManagingDeviceResponse&& from) noexcept { |
| 1352 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1353 | if (this != &from) InternalSwap(&from); |
| 1354 | } else { |
| 1355 | CopyFrom(from); |
| 1356 | } |
| 1357 | return *this; |
| 1358 | } |
| 1359 | #endif |
| 1360 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1361 | return default_instance().GetDescriptor(); |
| 1362 | } |
| 1363 | static const StartManagingDeviceResponse& default_instance(); |
| 1364 | |
| 1365 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1366 | static inline const StartManagingDeviceResponse* internal_default_instance() { |
| 1367 | return reinterpret_cast<const StartManagingDeviceResponse*>( |
| 1368 | &_StartManagingDeviceResponse_default_instance_); |
| 1369 | } |
| 1370 | static constexpr int kIndexInFileMessages = |
| 1371 | 6; |
| 1372 | |
| 1373 | void Swap(StartManagingDeviceResponse* other); |
| 1374 | friend void swap(StartManagingDeviceResponse& a, StartManagingDeviceResponse& b) { |
| 1375 | a.Swap(&b); |
| 1376 | } |
| 1377 | |
| 1378 | // implements Message ---------------------------------------------- |
| 1379 | |
| 1380 | inline StartManagingDeviceResponse* New() const final { |
| 1381 | return CreateMaybeMessage<StartManagingDeviceResponse>(nullptr); |
| 1382 | } |
| 1383 | |
| 1384 | StartManagingDeviceResponse* New(::google::protobuf::Arena* arena) const final { |
| 1385 | return CreateMaybeMessage<StartManagingDeviceResponse>(arena); |
| 1386 | } |
| 1387 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1388 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1389 | void CopyFrom(const StartManagingDeviceResponse& from); |
| 1390 | void MergeFrom(const StartManagingDeviceResponse& from); |
| 1391 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1392 | bool IsInitialized() const final; |
| 1393 | |
| 1394 | size_t ByteSizeLong() const final; |
| 1395 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1396 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1397 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1398 | #else |
| 1399 | bool MergePartialFromCodedStream( |
| 1400 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1401 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1402 | void SerializeWithCachedSizes( |
| 1403 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1404 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1405 | ::google::protobuf::uint8* target) const final; |
| 1406 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1407 | |
| 1408 | private: |
| 1409 | void SharedCtor(); |
| 1410 | void SharedDtor(); |
| 1411 | void SetCachedSize(int size) const final; |
| 1412 | void InternalSwap(StartManagingDeviceResponse* other); |
| 1413 | private: |
| 1414 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1415 | return nullptr; |
| 1416 | } |
| 1417 | inline void* MaybeArenaPtr() const { |
| 1418 | return nullptr; |
| 1419 | } |
| 1420 | public: |
| 1421 | |
| 1422 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1423 | |
| 1424 | // nested types ---------------------------------------------------- |
| 1425 | |
| 1426 | typedef StartManagingDeviceResponse_Reason Reason; |
| 1427 | static const Reason UNDEFINED_REASON = |
| 1428 | StartManagingDeviceResponse_Reason_UNDEFINED_REASON; |
| 1429 | static const Reason DEVICE_ALREADY_MANAGED = |
| 1430 | StartManagingDeviceResponse_Reason_DEVICE_ALREADY_MANAGED; |
| 1431 | static const Reason OPERATION_ALREADY_IN_PROGRESS = |
| 1432 | StartManagingDeviceResponse_Reason_OPERATION_ALREADY_IN_PROGRESS; |
| 1433 | static const Reason INVALID_PARAMS = |
| 1434 | StartManagingDeviceResponse_Reason_INVALID_PARAMS; |
| 1435 | static const Reason INTERNAL_ERROR = |
| 1436 | StartManagingDeviceResponse_Reason_INTERNAL_ERROR; |
| 1437 | static inline bool Reason_IsValid(int value) { |
| 1438 | return StartManagingDeviceResponse_Reason_IsValid(value); |
| 1439 | } |
| 1440 | static const Reason Reason_MIN = |
| 1441 | StartManagingDeviceResponse_Reason_Reason_MIN; |
| 1442 | static const Reason Reason_MAX = |
| 1443 | StartManagingDeviceResponse_Reason_Reason_MAX; |
| 1444 | static const int Reason_ARRAYSIZE = |
| 1445 | StartManagingDeviceResponse_Reason_Reason_ARRAYSIZE; |
| 1446 | static inline const ::google::protobuf::EnumDescriptor* |
| 1447 | Reason_descriptor() { |
| 1448 | return StartManagingDeviceResponse_Reason_descriptor(); |
| 1449 | } |
| 1450 | static inline const ::std::string& Reason_Name(Reason value) { |
| 1451 | return StartManagingDeviceResponse_Reason_Name(value); |
| 1452 | } |
| 1453 | static inline bool Reason_Parse(const ::std::string& name, |
| 1454 | Reason* value) { |
| 1455 | return StartManagingDeviceResponse_Reason_Parse(name, value); |
| 1456 | } |
| 1457 | |
| 1458 | // accessors ------------------------------------------------------- |
| 1459 | |
| 1460 | // string reason_detail = 4; |
| 1461 | void clear_reason_detail(); |
| 1462 | static const int kReasonDetailFieldNumber = 4; |
| 1463 | const ::std::string& reason_detail() const; |
| 1464 | void set_reason_detail(const ::std::string& value); |
| 1465 | #if LANG_CXX11 |
| 1466 | void set_reason_detail(::std::string&& value); |
| 1467 | #endif |
| 1468 | void set_reason_detail(const char* value); |
| 1469 | void set_reason_detail(const char* value, size_t size); |
| 1470 | ::std::string* mutable_reason_detail(); |
| 1471 | ::std::string* release_reason_detail(); |
| 1472 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 1473 | |
| 1474 | // .dmi.Uuid device_uuid = 3; |
| 1475 | bool has_device_uuid() const; |
| 1476 | void clear_device_uuid(); |
| 1477 | static const int kDeviceUuidFieldNumber = 3; |
| 1478 | const ::dmi::Uuid& device_uuid() const; |
| 1479 | ::dmi::Uuid* release_device_uuid(); |
| 1480 | ::dmi::Uuid* mutable_device_uuid(); |
| 1481 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 1482 | |
| 1483 | // .dmi.Status status = 1; |
| 1484 | void clear_status(); |
| 1485 | static const int kStatusFieldNumber = 1; |
| 1486 | ::dmi::Status status() const; |
| 1487 | void set_status(::dmi::Status value); |
| 1488 | |
| 1489 | // .dmi.StartManagingDeviceResponse.Reason reason = 2; |
| 1490 | void clear_reason(); |
| 1491 | static const int kReasonFieldNumber = 2; |
| 1492 | ::dmi::StartManagingDeviceResponse_Reason reason() const; |
| 1493 | void set_reason(::dmi::StartManagingDeviceResponse_Reason value); |
| 1494 | |
| 1495 | // @@protoc_insertion_point(class_scope:dmi.StartManagingDeviceResponse) |
| 1496 | private: |
| 1497 | class HasBitSetters; |
| 1498 | |
| 1499 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1500 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 1501 | ::dmi::Uuid* device_uuid_; |
| 1502 | int status_; |
| 1503 | int reason_; |
| 1504 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1505 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 1506 | }; |
| 1507 | // ------------------------------------------------------------------- |
| 1508 | |
| 1509 | class StopManagingDeviceRequest final : |
| 1510 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.StopManagingDeviceRequest) */ { |
| 1511 | public: |
| 1512 | StopManagingDeviceRequest(); |
| 1513 | virtual ~StopManagingDeviceRequest(); |
| 1514 | |
| 1515 | StopManagingDeviceRequest(const StopManagingDeviceRequest& from); |
| 1516 | |
| 1517 | inline StopManagingDeviceRequest& operator=(const StopManagingDeviceRequest& from) { |
| 1518 | CopyFrom(from); |
| 1519 | return *this; |
| 1520 | } |
| 1521 | #if LANG_CXX11 |
| 1522 | StopManagingDeviceRequest(StopManagingDeviceRequest&& from) noexcept |
| 1523 | : StopManagingDeviceRequest() { |
| 1524 | *this = ::std::move(from); |
| 1525 | } |
| 1526 | |
| 1527 | inline StopManagingDeviceRequest& operator=(StopManagingDeviceRequest&& from) noexcept { |
| 1528 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1529 | if (this != &from) InternalSwap(&from); |
| 1530 | } else { |
| 1531 | CopyFrom(from); |
| 1532 | } |
| 1533 | return *this; |
| 1534 | } |
| 1535 | #endif |
| 1536 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1537 | return default_instance().GetDescriptor(); |
| 1538 | } |
| 1539 | static const StopManagingDeviceRequest& default_instance(); |
| 1540 | |
| 1541 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1542 | static inline const StopManagingDeviceRequest* internal_default_instance() { |
| 1543 | return reinterpret_cast<const StopManagingDeviceRequest*>( |
| 1544 | &_StopManagingDeviceRequest_default_instance_); |
| 1545 | } |
| 1546 | static constexpr int kIndexInFileMessages = |
| 1547 | 7; |
| 1548 | |
| 1549 | void Swap(StopManagingDeviceRequest* other); |
| 1550 | friend void swap(StopManagingDeviceRequest& a, StopManagingDeviceRequest& b) { |
| 1551 | a.Swap(&b); |
| 1552 | } |
| 1553 | |
| 1554 | // implements Message ---------------------------------------------- |
| 1555 | |
| 1556 | inline StopManagingDeviceRequest* New() const final { |
| 1557 | return CreateMaybeMessage<StopManagingDeviceRequest>(nullptr); |
| 1558 | } |
| 1559 | |
| 1560 | StopManagingDeviceRequest* New(::google::protobuf::Arena* arena) const final { |
| 1561 | return CreateMaybeMessage<StopManagingDeviceRequest>(arena); |
| 1562 | } |
| 1563 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1564 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1565 | void CopyFrom(const StopManagingDeviceRequest& from); |
| 1566 | void MergeFrom(const StopManagingDeviceRequest& from); |
| 1567 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1568 | bool IsInitialized() const final; |
| 1569 | |
| 1570 | size_t ByteSizeLong() const final; |
| 1571 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1572 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1573 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1574 | #else |
| 1575 | bool MergePartialFromCodedStream( |
| 1576 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1577 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1578 | void SerializeWithCachedSizes( |
| 1579 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1580 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1581 | ::google::protobuf::uint8* target) const final; |
| 1582 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1583 | |
| 1584 | private: |
| 1585 | void SharedCtor(); |
| 1586 | void SharedDtor(); |
| 1587 | void SetCachedSize(int size) const final; |
| 1588 | void InternalSwap(StopManagingDeviceRequest* other); |
| 1589 | private: |
| 1590 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1591 | return nullptr; |
| 1592 | } |
| 1593 | inline void* MaybeArenaPtr() const { |
| 1594 | return nullptr; |
| 1595 | } |
| 1596 | public: |
| 1597 | |
| 1598 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1599 | |
| 1600 | // nested types ---------------------------------------------------- |
| 1601 | |
| 1602 | // accessors ------------------------------------------------------- |
| 1603 | |
| 1604 | // string name = 1; |
| 1605 | void clear_name(); |
| 1606 | static const int kNameFieldNumber = 1; |
| 1607 | const ::std::string& name() const; |
| 1608 | void set_name(const ::std::string& value); |
| 1609 | #if LANG_CXX11 |
| 1610 | void set_name(::std::string&& value); |
| 1611 | #endif |
| 1612 | void set_name(const char* value); |
| 1613 | void set_name(const char* value, size_t size); |
| 1614 | ::std::string* mutable_name(); |
| 1615 | ::std::string* release_name(); |
| 1616 | void set_allocated_name(::std::string* name); |
| 1617 | |
| 1618 | // @@protoc_insertion_point(class_scope:dmi.StopManagingDeviceRequest) |
| 1619 | private: |
| 1620 | class HasBitSetters; |
| 1621 | |
| 1622 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1623 | ::google::protobuf::internal::ArenaStringPtr name_; |
| 1624 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1625 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 1626 | }; |
| 1627 | // ------------------------------------------------------------------- |
| 1628 | |
| 1629 | class StopManagingDeviceResponse final : |
| 1630 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.StopManagingDeviceResponse) */ { |
| 1631 | public: |
| 1632 | StopManagingDeviceResponse(); |
| 1633 | virtual ~StopManagingDeviceResponse(); |
| 1634 | |
| 1635 | StopManagingDeviceResponse(const StopManagingDeviceResponse& from); |
| 1636 | |
| 1637 | inline StopManagingDeviceResponse& operator=(const StopManagingDeviceResponse& from) { |
| 1638 | CopyFrom(from); |
| 1639 | return *this; |
| 1640 | } |
| 1641 | #if LANG_CXX11 |
| 1642 | StopManagingDeviceResponse(StopManagingDeviceResponse&& from) noexcept |
| 1643 | : StopManagingDeviceResponse() { |
| 1644 | *this = ::std::move(from); |
| 1645 | } |
| 1646 | |
| 1647 | inline StopManagingDeviceResponse& operator=(StopManagingDeviceResponse&& from) noexcept { |
| 1648 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1649 | if (this != &from) InternalSwap(&from); |
| 1650 | } else { |
| 1651 | CopyFrom(from); |
| 1652 | } |
| 1653 | return *this; |
| 1654 | } |
| 1655 | #endif |
| 1656 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1657 | return default_instance().GetDescriptor(); |
| 1658 | } |
| 1659 | static const StopManagingDeviceResponse& default_instance(); |
| 1660 | |
| 1661 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1662 | static inline const StopManagingDeviceResponse* internal_default_instance() { |
| 1663 | return reinterpret_cast<const StopManagingDeviceResponse*>( |
| 1664 | &_StopManagingDeviceResponse_default_instance_); |
| 1665 | } |
| 1666 | static constexpr int kIndexInFileMessages = |
| 1667 | 8; |
| 1668 | |
| 1669 | void Swap(StopManagingDeviceResponse* other); |
| 1670 | friend void swap(StopManagingDeviceResponse& a, StopManagingDeviceResponse& b) { |
| 1671 | a.Swap(&b); |
| 1672 | } |
| 1673 | |
| 1674 | // implements Message ---------------------------------------------- |
| 1675 | |
| 1676 | inline StopManagingDeviceResponse* New() const final { |
| 1677 | return CreateMaybeMessage<StopManagingDeviceResponse>(nullptr); |
| 1678 | } |
| 1679 | |
| 1680 | StopManagingDeviceResponse* New(::google::protobuf::Arena* arena) const final { |
| 1681 | return CreateMaybeMessage<StopManagingDeviceResponse>(arena); |
| 1682 | } |
| 1683 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1684 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1685 | void CopyFrom(const StopManagingDeviceResponse& from); |
| 1686 | void MergeFrom(const StopManagingDeviceResponse& from); |
| 1687 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1688 | bool IsInitialized() const final; |
| 1689 | |
| 1690 | size_t ByteSizeLong() const final; |
| 1691 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1692 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1693 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1694 | #else |
| 1695 | bool MergePartialFromCodedStream( |
| 1696 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1697 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1698 | void SerializeWithCachedSizes( |
| 1699 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1700 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1701 | ::google::protobuf::uint8* target) const final; |
| 1702 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1703 | |
| 1704 | private: |
| 1705 | void SharedCtor(); |
| 1706 | void SharedDtor(); |
| 1707 | void SetCachedSize(int size) const final; |
| 1708 | void InternalSwap(StopManagingDeviceResponse* other); |
| 1709 | private: |
| 1710 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1711 | return nullptr; |
| 1712 | } |
| 1713 | inline void* MaybeArenaPtr() const { |
| 1714 | return nullptr; |
| 1715 | } |
| 1716 | public: |
| 1717 | |
| 1718 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1719 | |
| 1720 | // nested types ---------------------------------------------------- |
| 1721 | |
| 1722 | typedef StopManagingDeviceResponse_Reason Reason; |
| 1723 | static const Reason UNDEFINED_REASON = |
| 1724 | StopManagingDeviceResponse_Reason_UNDEFINED_REASON; |
| 1725 | static const Reason UNKNOWN_DEVICE = |
| 1726 | StopManagingDeviceResponse_Reason_UNKNOWN_DEVICE; |
| 1727 | static inline bool Reason_IsValid(int value) { |
| 1728 | return StopManagingDeviceResponse_Reason_IsValid(value); |
| 1729 | } |
| 1730 | static const Reason Reason_MIN = |
| 1731 | StopManagingDeviceResponse_Reason_Reason_MIN; |
| 1732 | static const Reason Reason_MAX = |
| 1733 | StopManagingDeviceResponse_Reason_Reason_MAX; |
| 1734 | static const int Reason_ARRAYSIZE = |
| 1735 | StopManagingDeviceResponse_Reason_Reason_ARRAYSIZE; |
| 1736 | static inline const ::google::protobuf::EnumDescriptor* |
| 1737 | Reason_descriptor() { |
| 1738 | return StopManagingDeviceResponse_Reason_descriptor(); |
| 1739 | } |
| 1740 | static inline const ::std::string& Reason_Name(Reason value) { |
| 1741 | return StopManagingDeviceResponse_Reason_Name(value); |
| 1742 | } |
| 1743 | static inline bool Reason_Parse(const ::std::string& name, |
| 1744 | Reason* value) { |
| 1745 | return StopManagingDeviceResponse_Reason_Parse(name, value); |
| 1746 | } |
| 1747 | |
| 1748 | // accessors ------------------------------------------------------- |
| 1749 | |
| 1750 | // string reason_detail = 3; |
| 1751 | void clear_reason_detail(); |
| 1752 | static const int kReasonDetailFieldNumber = 3; |
| 1753 | const ::std::string& reason_detail() const; |
| 1754 | void set_reason_detail(const ::std::string& value); |
| 1755 | #if LANG_CXX11 |
| 1756 | void set_reason_detail(::std::string&& value); |
| 1757 | #endif |
| 1758 | void set_reason_detail(const char* value); |
| 1759 | void set_reason_detail(const char* value, size_t size); |
| 1760 | ::std::string* mutable_reason_detail(); |
| 1761 | ::std::string* release_reason_detail(); |
| 1762 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 1763 | |
| 1764 | // .dmi.Status status = 1; |
| 1765 | void clear_status(); |
| 1766 | static const int kStatusFieldNumber = 1; |
| 1767 | ::dmi::Status status() const; |
| 1768 | void set_status(::dmi::Status value); |
| 1769 | |
| 1770 | // .dmi.StopManagingDeviceResponse.Reason reason = 2; |
| 1771 | void clear_reason(); |
| 1772 | static const int kReasonFieldNumber = 2; |
| 1773 | ::dmi::StopManagingDeviceResponse_Reason reason() const; |
| 1774 | void set_reason(::dmi::StopManagingDeviceResponse_Reason value); |
| 1775 | |
| 1776 | // @@protoc_insertion_point(class_scope:dmi.StopManagingDeviceResponse) |
| 1777 | private: |
| 1778 | class HasBitSetters; |
| 1779 | |
| 1780 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1781 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 1782 | int status_; |
| 1783 | int reason_; |
| 1784 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1785 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 1786 | }; |
| 1787 | // ------------------------------------------------------------------- |
| 1788 | |
| 1789 | class ManagedDeviceInfo final : |
| 1790 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.ManagedDeviceInfo) */ { |
| 1791 | public: |
| 1792 | ManagedDeviceInfo(); |
| 1793 | virtual ~ManagedDeviceInfo(); |
| 1794 | |
| 1795 | ManagedDeviceInfo(const ManagedDeviceInfo& from); |
| 1796 | |
| 1797 | inline ManagedDeviceInfo& operator=(const ManagedDeviceInfo& from) { |
| 1798 | CopyFrom(from); |
| 1799 | return *this; |
| 1800 | } |
| 1801 | #if LANG_CXX11 |
| 1802 | ManagedDeviceInfo(ManagedDeviceInfo&& from) noexcept |
| 1803 | : ManagedDeviceInfo() { |
| 1804 | *this = ::std::move(from); |
| 1805 | } |
| 1806 | |
| 1807 | inline ManagedDeviceInfo& operator=(ManagedDeviceInfo&& from) noexcept { |
| 1808 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1809 | if (this != &from) InternalSwap(&from); |
| 1810 | } else { |
| 1811 | CopyFrom(from); |
| 1812 | } |
| 1813 | return *this; |
| 1814 | } |
| 1815 | #endif |
| 1816 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1817 | return default_instance().GetDescriptor(); |
| 1818 | } |
| 1819 | static const ManagedDeviceInfo& default_instance(); |
| 1820 | |
| 1821 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1822 | static inline const ManagedDeviceInfo* internal_default_instance() { |
| 1823 | return reinterpret_cast<const ManagedDeviceInfo*>( |
| 1824 | &_ManagedDeviceInfo_default_instance_); |
| 1825 | } |
| 1826 | static constexpr int kIndexInFileMessages = |
| 1827 | 9; |
| 1828 | |
| 1829 | void Swap(ManagedDeviceInfo* other); |
| 1830 | friend void swap(ManagedDeviceInfo& a, ManagedDeviceInfo& b) { |
| 1831 | a.Swap(&b); |
| 1832 | } |
| 1833 | |
| 1834 | // implements Message ---------------------------------------------- |
| 1835 | |
| 1836 | inline ManagedDeviceInfo* New() const final { |
| 1837 | return CreateMaybeMessage<ManagedDeviceInfo>(nullptr); |
| 1838 | } |
| 1839 | |
| 1840 | ManagedDeviceInfo* New(::google::protobuf::Arena* arena) const final { |
| 1841 | return CreateMaybeMessage<ManagedDeviceInfo>(arena); |
| 1842 | } |
| 1843 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1844 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1845 | void CopyFrom(const ManagedDeviceInfo& from); |
| 1846 | void MergeFrom(const ManagedDeviceInfo& from); |
| 1847 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1848 | bool IsInitialized() const final; |
| 1849 | |
| 1850 | size_t ByteSizeLong() const final; |
| 1851 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1852 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1853 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1854 | #else |
| 1855 | bool MergePartialFromCodedStream( |
| 1856 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1857 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1858 | void SerializeWithCachedSizes( |
| 1859 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1860 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1861 | ::google::protobuf::uint8* target) const final; |
| 1862 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1863 | |
| 1864 | private: |
| 1865 | void SharedCtor(); |
| 1866 | void SharedDtor(); |
| 1867 | void SetCachedSize(int size) const final; |
| 1868 | void InternalSwap(ManagedDeviceInfo* other); |
| 1869 | private: |
| 1870 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1871 | return nullptr; |
| 1872 | } |
| 1873 | inline void* MaybeArenaPtr() const { |
| 1874 | return nullptr; |
| 1875 | } |
| 1876 | public: |
| 1877 | |
| 1878 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1879 | |
| 1880 | // nested types ---------------------------------------------------- |
| 1881 | |
| 1882 | // accessors ------------------------------------------------------- |
| 1883 | |
| 1884 | // .dmi.ModifiableComponent info = 1; |
| 1885 | bool has_info() const; |
| 1886 | void clear_info(); |
| 1887 | static const int kInfoFieldNumber = 1; |
| 1888 | const ::dmi::ModifiableComponent& info() const; |
| 1889 | ::dmi::ModifiableComponent* release_info(); |
| 1890 | ::dmi::ModifiableComponent* mutable_info(); |
| 1891 | void set_allocated_info(::dmi::ModifiableComponent* info); |
| 1892 | |
| 1893 | // .dmi.Uuid device_uuid = 2; |
| 1894 | bool has_device_uuid() const; |
| 1895 | void clear_device_uuid(); |
| 1896 | static const int kDeviceUuidFieldNumber = 2; |
| 1897 | const ::dmi::Uuid& device_uuid() const; |
| 1898 | ::dmi::Uuid* release_device_uuid(); |
| 1899 | ::dmi::Uuid* mutable_device_uuid(); |
| 1900 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 1901 | |
| 1902 | // @@protoc_insertion_point(class_scope:dmi.ManagedDeviceInfo) |
| 1903 | private: |
| 1904 | class HasBitSetters; |
| 1905 | |
| 1906 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1907 | ::dmi::ModifiableComponent* info_; |
| 1908 | ::dmi::Uuid* device_uuid_; |
| 1909 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1910 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 1911 | }; |
| 1912 | // ------------------------------------------------------------------- |
| 1913 | |
| 1914 | class ManagedDevicesResponse final : |
| 1915 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.ManagedDevicesResponse) */ { |
| 1916 | public: |
| 1917 | ManagedDevicesResponse(); |
| 1918 | virtual ~ManagedDevicesResponse(); |
| 1919 | |
| 1920 | ManagedDevicesResponse(const ManagedDevicesResponse& from); |
| 1921 | |
| 1922 | inline ManagedDevicesResponse& operator=(const ManagedDevicesResponse& from) { |
| 1923 | CopyFrom(from); |
| 1924 | return *this; |
| 1925 | } |
| 1926 | #if LANG_CXX11 |
| 1927 | ManagedDevicesResponse(ManagedDevicesResponse&& from) noexcept |
| 1928 | : ManagedDevicesResponse() { |
| 1929 | *this = ::std::move(from); |
| 1930 | } |
| 1931 | |
| 1932 | inline ManagedDevicesResponse& operator=(ManagedDevicesResponse&& from) noexcept { |
| 1933 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1934 | if (this != &from) InternalSwap(&from); |
| 1935 | } else { |
| 1936 | CopyFrom(from); |
| 1937 | } |
| 1938 | return *this; |
| 1939 | } |
| 1940 | #endif |
| 1941 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1942 | return default_instance().GetDescriptor(); |
| 1943 | } |
| 1944 | static const ManagedDevicesResponse& default_instance(); |
| 1945 | |
| 1946 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1947 | static inline const ManagedDevicesResponse* internal_default_instance() { |
| 1948 | return reinterpret_cast<const ManagedDevicesResponse*>( |
| 1949 | &_ManagedDevicesResponse_default_instance_); |
| 1950 | } |
| 1951 | static constexpr int kIndexInFileMessages = |
| 1952 | 10; |
| 1953 | |
| 1954 | void Swap(ManagedDevicesResponse* other); |
| 1955 | friend void swap(ManagedDevicesResponse& a, ManagedDevicesResponse& b) { |
| 1956 | a.Swap(&b); |
| 1957 | } |
| 1958 | |
| 1959 | // implements Message ---------------------------------------------- |
| 1960 | |
| 1961 | inline ManagedDevicesResponse* New() const final { |
| 1962 | return CreateMaybeMessage<ManagedDevicesResponse>(nullptr); |
| 1963 | } |
| 1964 | |
| 1965 | ManagedDevicesResponse* New(::google::protobuf::Arena* arena) const final { |
| 1966 | return CreateMaybeMessage<ManagedDevicesResponse>(arena); |
| 1967 | } |
| 1968 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1969 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1970 | void CopyFrom(const ManagedDevicesResponse& from); |
| 1971 | void MergeFrom(const ManagedDevicesResponse& from); |
| 1972 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1973 | bool IsInitialized() const final; |
| 1974 | |
| 1975 | size_t ByteSizeLong() const final; |
| 1976 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1977 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1978 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1979 | #else |
| 1980 | bool MergePartialFromCodedStream( |
| 1981 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1982 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1983 | void SerializeWithCachedSizes( |
| 1984 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1985 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1986 | ::google::protobuf::uint8* target) const final; |
| 1987 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1988 | |
| 1989 | private: |
| 1990 | void SharedCtor(); |
| 1991 | void SharedDtor(); |
| 1992 | void SetCachedSize(int size) const final; |
| 1993 | void InternalSwap(ManagedDevicesResponse* other); |
| 1994 | private: |
| 1995 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1996 | return nullptr; |
| 1997 | } |
| 1998 | inline void* MaybeArenaPtr() const { |
| 1999 | return nullptr; |
| 2000 | } |
| 2001 | public: |
| 2002 | |
| 2003 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2004 | |
| 2005 | // nested types ---------------------------------------------------- |
| 2006 | |
| 2007 | typedef ManagedDevicesResponse_Reason Reason; |
| 2008 | static const Reason UNDEFINED_REASON = |
| 2009 | ManagedDevicesResponse_Reason_UNDEFINED_REASON; |
| 2010 | static const Reason INTERNAL_ERROR = |
| 2011 | ManagedDevicesResponse_Reason_INTERNAL_ERROR; |
| 2012 | static inline bool Reason_IsValid(int value) { |
| 2013 | return ManagedDevicesResponse_Reason_IsValid(value); |
| 2014 | } |
| 2015 | static const Reason Reason_MIN = |
| 2016 | ManagedDevicesResponse_Reason_Reason_MIN; |
| 2017 | static const Reason Reason_MAX = |
| 2018 | ManagedDevicesResponse_Reason_Reason_MAX; |
| 2019 | static const int Reason_ARRAYSIZE = |
| 2020 | ManagedDevicesResponse_Reason_Reason_ARRAYSIZE; |
| 2021 | static inline const ::google::protobuf::EnumDescriptor* |
| 2022 | Reason_descriptor() { |
| 2023 | return ManagedDevicesResponse_Reason_descriptor(); |
| 2024 | } |
| 2025 | static inline const ::std::string& Reason_Name(Reason value) { |
| 2026 | return ManagedDevicesResponse_Reason_Name(value); |
| 2027 | } |
| 2028 | static inline bool Reason_Parse(const ::std::string& name, |
| 2029 | Reason* value) { |
| 2030 | return ManagedDevicesResponse_Reason_Parse(name, value); |
| 2031 | } |
| 2032 | |
| 2033 | // accessors ------------------------------------------------------- |
| 2034 | |
| 2035 | // repeated .dmi.ManagedDeviceInfo devices = 3; |
| 2036 | int devices_size() const; |
| 2037 | void clear_devices(); |
| 2038 | static const int kDevicesFieldNumber = 3; |
| 2039 | ::dmi::ManagedDeviceInfo* mutable_devices(int index); |
| 2040 | ::google::protobuf::RepeatedPtrField< ::dmi::ManagedDeviceInfo >* |
| 2041 | mutable_devices(); |
| 2042 | const ::dmi::ManagedDeviceInfo& devices(int index) const; |
| 2043 | ::dmi::ManagedDeviceInfo* add_devices(); |
| 2044 | const ::google::protobuf::RepeatedPtrField< ::dmi::ManagedDeviceInfo >& |
| 2045 | devices() const; |
| 2046 | |
| 2047 | // .dmi.Status status = 1; |
| 2048 | void clear_status(); |
| 2049 | static const int kStatusFieldNumber = 1; |
| 2050 | ::dmi::Status status() const; |
| 2051 | void set_status(::dmi::Status value); |
| 2052 | |
| 2053 | // .dmi.ManagedDevicesResponse.Reason reason = 2; |
| 2054 | void clear_reason(); |
| 2055 | static const int kReasonFieldNumber = 2; |
| 2056 | ::dmi::ManagedDevicesResponse_Reason reason() const; |
| 2057 | void set_reason(::dmi::ManagedDevicesResponse_Reason value); |
| 2058 | |
| 2059 | // @@protoc_insertion_point(class_scope:dmi.ManagedDevicesResponse) |
| 2060 | private: |
| 2061 | class HasBitSetters; |
| 2062 | |
| 2063 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2064 | ::google::protobuf::RepeatedPtrField< ::dmi::ManagedDeviceInfo > devices_; |
| 2065 | int status_; |
| 2066 | int reason_; |
| 2067 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2068 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 2069 | }; |
| 2070 | // ------------------------------------------------------------------- |
| 2071 | |
| 2072 | class SetLoggingEndpointRequest final : |
| 2073 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.SetLoggingEndpointRequest) */ { |
| 2074 | public: |
| 2075 | SetLoggingEndpointRequest(); |
| 2076 | virtual ~SetLoggingEndpointRequest(); |
| 2077 | |
| 2078 | SetLoggingEndpointRequest(const SetLoggingEndpointRequest& from); |
| 2079 | |
| 2080 | inline SetLoggingEndpointRequest& operator=(const SetLoggingEndpointRequest& from) { |
| 2081 | CopyFrom(from); |
| 2082 | return *this; |
| 2083 | } |
| 2084 | #if LANG_CXX11 |
| 2085 | SetLoggingEndpointRequest(SetLoggingEndpointRequest&& from) noexcept |
| 2086 | : SetLoggingEndpointRequest() { |
| 2087 | *this = ::std::move(from); |
| 2088 | } |
| 2089 | |
| 2090 | inline SetLoggingEndpointRequest& operator=(SetLoggingEndpointRequest&& from) noexcept { |
| 2091 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2092 | if (this != &from) InternalSwap(&from); |
| 2093 | } else { |
| 2094 | CopyFrom(from); |
| 2095 | } |
| 2096 | return *this; |
| 2097 | } |
| 2098 | #endif |
| 2099 | static const ::google::protobuf::Descriptor* descriptor() { |
| 2100 | return default_instance().GetDescriptor(); |
| 2101 | } |
| 2102 | static const SetLoggingEndpointRequest& default_instance(); |
| 2103 | |
| 2104 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2105 | static inline const SetLoggingEndpointRequest* internal_default_instance() { |
| 2106 | return reinterpret_cast<const SetLoggingEndpointRequest*>( |
| 2107 | &_SetLoggingEndpointRequest_default_instance_); |
| 2108 | } |
| 2109 | static constexpr int kIndexInFileMessages = |
| 2110 | 11; |
| 2111 | |
| 2112 | void Swap(SetLoggingEndpointRequest* other); |
| 2113 | friend void swap(SetLoggingEndpointRequest& a, SetLoggingEndpointRequest& b) { |
| 2114 | a.Swap(&b); |
| 2115 | } |
| 2116 | |
| 2117 | // implements Message ---------------------------------------------- |
| 2118 | |
| 2119 | inline SetLoggingEndpointRequest* New() const final { |
| 2120 | return CreateMaybeMessage<SetLoggingEndpointRequest>(nullptr); |
| 2121 | } |
| 2122 | |
| 2123 | SetLoggingEndpointRequest* New(::google::protobuf::Arena* arena) const final { |
| 2124 | return CreateMaybeMessage<SetLoggingEndpointRequest>(arena); |
| 2125 | } |
| 2126 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2127 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2128 | void CopyFrom(const SetLoggingEndpointRequest& from); |
| 2129 | void MergeFrom(const SetLoggingEndpointRequest& from); |
| 2130 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2131 | bool IsInitialized() const final; |
| 2132 | |
| 2133 | size_t ByteSizeLong() const final; |
| 2134 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2135 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 2136 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 2137 | #else |
| 2138 | bool MergePartialFromCodedStream( |
| 2139 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2140 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2141 | void SerializeWithCachedSizes( |
| 2142 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2143 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2144 | ::google::protobuf::uint8* target) const final; |
| 2145 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2146 | |
| 2147 | private: |
| 2148 | void SharedCtor(); |
| 2149 | void SharedDtor(); |
| 2150 | void SetCachedSize(int size) const final; |
| 2151 | void InternalSwap(SetLoggingEndpointRequest* other); |
| 2152 | private: |
| 2153 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2154 | return nullptr; |
| 2155 | } |
| 2156 | inline void* MaybeArenaPtr() const { |
| 2157 | return nullptr; |
| 2158 | } |
| 2159 | public: |
| 2160 | |
| 2161 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2162 | |
| 2163 | // nested types ---------------------------------------------------- |
| 2164 | |
| 2165 | // accessors ------------------------------------------------------- |
| 2166 | |
| 2167 | // string logging_endpoint = 2; |
| 2168 | void clear_logging_endpoint(); |
| 2169 | static const int kLoggingEndpointFieldNumber = 2; |
| 2170 | const ::std::string& logging_endpoint() const; |
| 2171 | void set_logging_endpoint(const ::std::string& value); |
| 2172 | #if LANG_CXX11 |
| 2173 | void set_logging_endpoint(::std::string&& value); |
| 2174 | #endif |
| 2175 | void set_logging_endpoint(const char* value); |
| 2176 | void set_logging_endpoint(const char* value, size_t size); |
| 2177 | ::std::string* mutable_logging_endpoint(); |
| 2178 | ::std::string* release_logging_endpoint(); |
| 2179 | void set_allocated_logging_endpoint(::std::string* logging_endpoint); |
| 2180 | |
| 2181 | // string logging_protocol = 3; |
| 2182 | void clear_logging_protocol(); |
| 2183 | static const int kLoggingProtocolFieldNumber = 3; |
| 2184 | const ::std::string& logging_protocol() const; |
| 2185 | void set_logging_protocol(const ::std::string& value); |
| 2186 | #if LANG_CXX11 |
| 2187 | void set_logging_protocol(::std::string&& value); |
| 2188 | #endif |
| 2189 | void set_logging_protocol(const char* value); |
| 2190 | void set_logging_protocol(const char* value, size_t size); |
| 2191 | ::std::string* mutable_logging_protocol(); |
| 2192 | ::std::string* release_logging_protocol(); |
| 2193 | void set_allocated_logging_protocol(::std::string* logging_protocol); |
| 2194 | |
| 2195 | // .dmi.Uuid device_uuid = 1; |
| 2196 | bool has_device_uuid() const; |
| 2197 | void clear_device_uuid(); |
| 2198 | static const int kDeviceUuidFieldNumber = 1; |
| 2199 | const ::dmi::Uuid& device_uuid() const; |
| 2200 | ::dmi::Uuid* release_device_uuid(); |
| 2201 | ::dmi::Uuid* mutable_device_uuid(); |
| 2202 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 2203 | |
| 2204 | // @@protoc_insertion_point(class_scope:dmi.SetLoggingEndpointRequest) |
| 2205 | private: |
| 2206 | class HasBitSetters; |
| 2207 | |
| 2208 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2209 | ::google::protobuf::internal::ArenaStringPtr logging_endpoint_; |
| 2210 | ::google::protobuf::internal::ArenaStringPtr logging_protocol_; |
| 2211 | ::dmi::Uuid* device_uuid_; |
| 2212 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2213 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 2214 | }; |
| 2215 | // ------------------------------------------------------------------- |
| 2216 | |
| 2217 | class SetRemoteEndpointResponse final : |
| 2218 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.SetRemoteEndpointResponse) */ { |
| 2219 | public: |
| 2220 | SetRemoteEndpointResponse(); |
| 2221 | virtual ~SetRemoteEndpointResponse(); |
| 2222 | |
| 2223 | SetRemoteEndpointResponse(const SetRemoteEndpointResponse& from); |
| 2224 | |
| 2225 | inline SetRemoteEndpointResponse& operator=(const SetRemoteEndpointResponse& from) { |
| 2226 | CopyFrom(from); |
| 2227 | return *this; |
| 2228 | } |
| 2229 | #if LANG_CXX11 |
| 2230 | SetRemoteEndpointResponse(SetRemoteEndpointResponse&& from) noexcept |
| 2231 | : SetRemoteEndpointResponse() { |
| 2232 | *this = ::std::move(from); |
| 2233 | } |
| 2234 | |
| 2235 | inline SetRemoteEndpointResponse& operator=(SetRemoteEndpointResponse&& from) noexcept { |
| 2236 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2237 | if (this != &from) InternalSwap(&from); |
| 2238 | } else { |
| 2239 | CopyFrom(from); |
| 2240 | } |
| 2241 | return *this; |
| 2242 | } |
| 2243 | #endif |
| 2244 | static const ::google::protobuf::Descriptor* descriptor() { |
| 2245 | return default_instance().GetDescriptor(); |
| 2246 | } |
| 2247 | static const SetRemoteEndpointResponse& default_instance(); |
| 2248 | |
| 2249 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2250 | static inline const SetRemoteEndpointResponse* internal_default_instance() { |
| 2251 | return reinterpret_cast<const SetRemoteEndpointResponse*>( |
| 2252 | &_SetRemoteEndpointResponse_default_instance_); |
| 2253 | } |
| 2254 | static constexpr int kIndexInFileMessages = |
| 2255 | 12; |
| 2256 | |
| 2257 | void Swap(SetRemoteEndpointResponse* other); |
| 2258 | friend void swap(SetRemoteEndpointResponse& a, SetRemoteEndpointResponse& b) { |
| 2259 | a.Swap(&b); |
| 2260 | } |
| 2261 | |
| 2262 | // implements Message ---------------------------------------------- |
| 2263 | |
| 2264 | inline SetRemoteEndpointResponse* New() const final { |
| 2265 | return CreateMaybeMessage<SetRemoteEndpointResponse>(nullptr); |
| 2266 | } |
| 2267 | |
| 2268 | SetRemoteEndpointResponse* New(::google::protobuf::Arena* arena) const final { |
| 2269 | return CreateMaybeMessage<SetRemoteEndpointResponse>(arena); |
| 2270 | } |
| 2271 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2272 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2273 | void CopyFrom(const SetRemoteEndpointResponse& from); |
| 2274 | void MergeFrom(const SetRemoteEndpointResponse& from); |
| 2275 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2276 | bool IsInitialized() const final; |
| 2277 | |
| 2278 | size_t ByteSizeLong() const final; |
| 2279 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2280 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 2281 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 2282 | #else |
| 2283 | bool MergePartialFromCodedStream( |
| 2284 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2285 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2286 | void SerializeWithCachedSizes( |
| 2287 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2288 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2289 | ::google::protobuf::uint8* target) const final; |
| 2290 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2291 | |
| 2292 | private: |
| 2293 | void SharedCtor(); |
| 2294 | void SharedDtor(); |
| 2295 | void SetCachedSize(int size) const final; |
| 2296 | void InternalSwap(SetRemoteEndpointResponse* other); |
| 2297 | private: |
| 2298 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2299 | return nullptr; |
| 2300 | } |
| 2301 | inline void* MaybeArenaPtr() const { |
| 2302 | return nullptr; |
| 2303 | } |
| 2304 | public: |
| 2305 | |
| 2306 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2307 | |
| 2308 | // nested types ---------------------------------------------------- |
| 2309 | |
| 2310 | typedef SetRemoteEndpointResponse_Reason Reason; |
| 2311 | static const Reason UNDEFINED_REASON = |
| 2312 | SetRemoteEndpointResponse_Reason_UNDEFINED_REASON; |
| 2313 | static const Reason UNKNOWN_DEVICE = |
| 2314 | SetRemoteEndpointResponse_Reason_UNKNOWN_DEVICE; |
| 2315 | static const Reason INTERNAL_ERROR = |
| 2316 | SetRemoteEndpointResponse_Reason_INTERNAL_ERROR; |
| 2317 | static const Reason LOGGING_ENDPOINT_ERROR = |
| 2318 | SetRemoteEndpointResponse_Reason_LOGGING_ENDPOINT_ERROR; |
| 2319 | static const Reason LOGGING_ENDPOINT_PROTOCOL_ERROR = |
| 2320 | SetRemoteEndpointResponse_Reason_LOGGING_ENDPOINT_PROTOCOL_ERROR; |
| 2321 | static const Reason MSGBUS_ENDPOINT_ERROR = |
| 2322 | SetRemoteEndpointResponse_Reason_MSGBUS_ENDPOINT_ERROR; |
| 2323 | static const Reason DEVICE_UNREACHABLE = |
| 2324 | SetRemoteEndpointResponse_Reason_DEVICE_UNREACHABLE; |
| 2325 | static inline bool Reason_IsValid(int value) { |
| 2326 | return SetRemoteEndpointResponse_Reason_IsValid(value); |
| 2327 | } |
| 2328 | static const Reason Reason_MIN = |
| 2329 | SetRemoteEndpointResponse_Reason_Reason_MIN; |
| 2330 | static const Reason Reason_MAX = |
| 2331 | SetRemoteEndpointResponse_Reason_Reason_MAX; |
| 2332 | static const int Reason_ARRAYSIZE = |
| 2333 | SetRemoteEndpointResponse_Reason_Reason_ARRAYSIZE; |
| 2334 | static inline const ::google::protobuf::EnumDescriptor* |
| 2335 | Reason_descriptor() { |
| 2336 | return SetRemoteEndpointResponse_Reason_descriptor(); |
| 2337 | } |
| 2338 | static inline const ::std::string& Reason_Name(Reason value) { |
| 2339 | return SetRemoteEndpointResponse_Reason_Name(value); |
| 2340 | } |
| 2341 | static inline bool Reason_Parse(const ::std::string& name, |
| 2342 | Reason* value) { |
| 2343 | return SetRemoteEndpointResponse_Reason_Parse(name, value); |
| 2344 | } |
| 2345 | |
| 2346 | // accessors ------------------------------------------------------- |
| 2347 | |
| 2348 | // string reason_detail = 3; |
| 2349 | void clear_reason_detail(); |
| 2350 | static const int kReasonDetailFieldNumber = 3; |
| 2351 | const ::std::string& reason_detail() const; |
| 2352 | void set_reason_detail(const ::std::string& value); |
| 2353 | #if LANG_CXX11 |
| 2354 | void set_reason_detail(::std::string&& value); |
| 2355 | #endif |
| 2356 | void set_reason_detail(const char* value); |
| 2357 | void set_reason_detail(const char* value, size_t size); |
| 2358 | ::std::string* mutable_reason_detail(); |
| 2359 | ::std::string* release_reason_detail(); |
| 2360 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 2361 | |
| 2362 | // .dmi.Status status = 1; |
| 2363 | void clear_status(); |
| 2364 | static const int kStatusFieldNumber = 1; |
| 2365 | ::dmi::Status status() const; |
| 2366 | void set_status(::dmi::Status value); |
| 2367 | |
| 2368 | // .dmi.SetRemoteEndpointResponse.Reason reason = 2; |
| 2369 | void clear_reason(); |
| 2370 | static const int kReasonFieldNumber = 2; |
| 2371 | ::dmi::SetRemoteEndpointResponse_Reason reason() const; |
| 2372 | void set_reason(::dmi::SetRemoteEndpointResponse_Reason value); |
| 2373 | |
| 2374 | // @@protoc_insertion_point(class_scope:dmi.SetRemoteEndpointResponse) |
| 2375 | private: |
| 2376 | class HasBitSetters; |
| 2377 | |
| 2378 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2379 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 2380 | int status_; |
| 2381 | int reason_; |
| 2382 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2383 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 2384 | }; |
| 2385 | // ------------------------------------------------------------------- |
| 2386 | |
| 2387 | class GetLoggingEndpointResponse final : |
| 2388 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.GetLoggingEndpointResponse) */ { |
| 2389 | public: |
| 2390 | GetLoggingEndpointResponse(); |
| 2391 | virtual ~GetLoggingEndpointResponse(); |
| 2392 | |
| 2393 | GetLoggingEndpointResponse(const GetLoggingEndpointResponse& from); |
| 2394 | |
| 2395 | inline GetLoggingEndpointResponse& operator=(const GetLoggingEndpointResponse& from) { |
| 2396 | CopyFrom(from); |
| 2397 | return *this; |
| 2398 | } |
| 2399 | #if LANG_CXX11 |
| 2400 | GetLoggingEndpointResponse(GetLoggingEndpointResponse&& from) noexcept |
| 2401 | : GetLoggingEndpointResponse() { |
| 2402 | *this = ::std::move(from); |
| 2403 | } |
| 2404 | |
| 2405 | inline GetLoggingEndpointResponse& operator=(GetLoggingEndpointResponse&& from) noexcept { |
| 2406 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2407 | if (this != &from) InternalSwap(&from); |
| 2408 | } else { |
| 2409 | CopyFrom(from); |
| 2410 | } |
| 2411 | return *this; |
| 2412 | } |
| 2413 | #endif |
| 2414 | static const ::google::protobuf::Descriptor* descriptor() { |
| 2415 | return default_instance().GetDescriptor(); |
| 2416 | } |
| 2417 | static const GetLoggingEndpointResponse& default_instance(); |
| 2418 | |
| 2419 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2420 | static inline const GetLoggingEndpointResponse* internal_default_instance() { |
| 2421 | return reinterpret_cast<const GetLoggingEndpointResponse*>( |
| 2422 | &_GetLoggingEndpointResponse_default_instance_); |
| 2423 | } |
| 2424 | static constexpr int kIndexInFileMessages = |
| 2425 | 13; |
| 2426 | |
| 2427 | void Swap(GetLoggingEndpointResponse* other); |
| 2428 | friend void swap(GetLoggingEndpointResponse& a, GetLoggingEndpointResponse& b) { |
| 2429 | a.Swap(&b); |
| 2430 | } |
| 2431 | |
| 2432 | // implements Message ---------------------------------------------- |
| 2433 | |
| 2434 | inline GetLoggingEndpointResponse* New() const final { |
| 2435 | return CreateMaybeMessage<GetLoggingEndpointResponse>(nullptr); |
| 2436 | } |
| 2437 | |
| 2438 | GetLoggingEndpointResponse* New(::google::protobuf::Arena* arena) const final { |
| 2439 | return CreateMaybeMessage<GetLoggingEndpointResponse>(arena); |
| 2440 | } |
| 2441 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2442 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2443 | void CopyFrom(const GetLoggingEndpointResponse& from); |
| 2444 | void MergeFrom(const GetLoggingEndpointResponse& from); |
| 2445 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2446 | bool IsInitialized() const final; |
| 2447 | |
| 2448 | size_t ByteSizeLong() const final; |
| 2449 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2450 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 2451 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 2452 | #else |
| 2453 | bool MergePartialFromCodedStream( |
| 2454 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2455 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2456 | void SerializeWithCachedSizes( |
| 2457 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2458 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2459 | ::google::protobuf::uint8* target) const final; |
| 2460 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2461 | |
| 2462 | private: |
| 2463 | void SharedCtor(); |
| 2464 | void SharedDtor(); |
| 2465 | void SetCachedSize(int size) const final; |
| 2466 | void InternalSwap(GetLoggingEndpointResponse* other); |
| 2467 | private: |
| 2468 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2469 | return nullptr; |
| 2470 | } |
| 2471 | inline void* MaybeArenaPtr() const { |
| 2472 | return nullptr; |
| 2473 | } |
| 2474 | public: |
| 2475 | |
| 2476 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2477 | |
| 2478 | // nested types ---------------------------------------------------- |
| 2479 | |
| 2480 | typedef GetLoggingEndpointResponse_Reason Reason; |
| 2481 | static const Reason UNDEFINED_REASON = |
| 2482 | GetLoggingEndpointResponse_Reason_UNDEFINED_REASON; |
| 2483 | static const Reason UNKNOWN_DEVICE = |
| 2484 | GetLoggingEndpointResponse_Reason_UNKNOWN_DEVICE; |
| 2485 | static const Reason INTERNAL_ERROR = |
| 2486 | GetLoggingEndpointResponse_Reason_INTERNAL_ERROR; |
| 2487 | static const Reason DEVICE_UNREACHABLE = |
| 2488 | GetLoggingEndpointResponse_Reason_DEVICE_UNREACHABLE; |
| 2489 | static inline bool Reason_IsValid(int value) { |
| 2490 | return GetLoggingEndpointResponse_Reason_IsValid(value); |
| 2491 | } |
| 2492 | static const Reason Reason_MIN = |
| 2493 | GetLoggingEndpointResponse_Reason_Reason_MIN; |
| 2494 | static const Reason Reason_MAX = |
| 2495 | GetLoggingEndpointResponse_Reason_Reason_MAX; |
| 2496 | static const int Reason_ARRAYSIZE = |
| 2497 | GetLoggingEndpointResponse_Reason_Reason_ARRAYSIZE; |
| 2498 | static inline const ::google::protobuf::EnumDescriptor* |
| 2499 | Reason_descriptor() { |
| 2500 | return GetLoggingEndpointResponse_Reason_descriptor(); |
| 2501 | } |
| 2502 | static inline const ::std::string& Reason_Name(Reason value) { |
| 2503 | return GetLoggingEndpointResponse_Reason_Name(value); |
| 2504 | } |
| 2505 | static inline bool Reason_Parse(const ::std::string& name, |
| 2506 | Reason* value) { |
| 2507 | return GetLoggingEndpointResponse_Reason_Parse(name, value); |
| 2508 | } |
| 2509 | |
| 2510 | // accessors ------------------------------------------------------- |
| 2511 | |
| 2512 | // string logging_endpoint = 3; |
| 2513 | void clear_logging_endpoint(); |
| 2514 | static const int kLoggingEndpointFieldNumber = 3; |
| 2515 | const ::std::string& logging_endpoint() const; |
| 2516 | void set_logging_endpoint(const ::std::string& value); |
| 2517 | #if LANG_CXX11 |
| 2518 | void set_logging_endpoint(::std::string&& value); |
| 2519 | #endif |
| 2520 | void set_logging_endpoint(const char* value); |
| 2521 | void set_logging_endpoint(const char* value, size_t size); |
| 2522 | ::std::string* mutable_logging_endpoint(); |
| 2523 | ::std::string* release_logging_endpoint(); |
| 2524 | void set_allocated_logging_endpoint(::std::string* logging_endpoint); |
| 2525 | |
| 2526 | // string logging_protocol = 4; |
| 2527 | void clear_logging_protocol(); |
| 2528 | static const int kLoggingProtocolFieldNumber = 4; |
| 2529 | const ::std::string& logging_protocol() const; |
| 2530 | void set_logging_protocol(const ::std::string& value); |
| 2531 | #if LANG_CXX11 |
| 2532 | void set_logging_protocol(::std::string&& value); |
| 2533 | #endif |
| 2534 | void set_logging_protocol(const char* value); |
| 2535 | void set_logging_protocol(const char* value, size_t size); |
| 2536 | ::std::string* mutable_logging_protocol(); |
| 2537 | ::std::string* release_logging_protocol(); |
| 2538 | void set_allocated_logging_protocol(::std::string* logging_protocol); |
| 2539 | |
| 2540 | // string reason_detail = 5; |
| 2541 | void clear_reason_detail(); |
| 2542 | static const int kReasonDetailFieldNumber = 5; |
| 2543 | const ::std::string& reason_detail() const; |
| 2544 | void set_reason_detail(const ::std::string& value); |
| 2545 | #if LANG_CXX11 |
| 2546 | void set_reason_detail(::std::string&& value); |
| 2547 | #endif |
| 2548 | void set_reason_detail(const char* value); |
| 2549 | void set_reason_detail(const char* value, size_t size); |
| 2550 | ::std::string* mutable_reason_detail(); |
| 2551 | ::std::string* release_reason_detail(); |
| 2552 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 2553 | |
| 2554 | // .dmi.Status status = 1; |
| 2555 | void clear_status(); |
| 2556 | static const int kStatusFieldNumber = 1; |
| 2557 | ::dmi::Status status() const; |
| 2558 | void set_status(::dmi::Status value); |
| 2559 | |
| 2560 | // .dmi.GetLoggingEndpointResponse.Reason reason = 2; |
| 2561 | void clear_reason(); |
| 2562 | static const int kReasonFieldNumber = 2; |
| 2563 | ::dmi::GetLoggingEndpointResponse_Reason reason() const; |
| 2564 | void set_reason(::dmi::GetLoggingEndpointResponse_Reason value); |
| 2565 | |
| 2566 | // @@protoc_insertion_point(class_scope:dmi.GetLoggingEndpointResponse) |
| 2567 | private: |
| 2568 | class HasBitSetters; |
| 2569 | |
| 2570 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2571 | ::google::protobuf::internal::ArenaStringPtr logging_endpoint_; |
| 2572 | ::google::protobuf::internal::ArenaStringPtr logging_protocol_; |
| 2573 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 2574 | int status_; |
| 2575 | int reason_; |
| 2576 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2577 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 2578 | }; |
| 2579 | // ------------------------------------------------------------------- |
| 2580 | |
| 2581 | class SetMsgBusEndpointRequest final : |
| 2582 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.SetMsgBusEndpointRequest) */ { |
| 2583 | public: |
| 2584 | SetMsgBusEndpointRequest(); |
| 2585 | virtual ~SetMsgBusEndpointRequest(); |
| 2586 | |
| 2587 | SetMsgBusEndpointRequest(const SetMsgBusEndpointRequest& from); |
| 2588 | |
| 2589 | inline SetMsgBusEndpointRequest& operator=(const SetMsgBusEndpointRequest& from) { |
| 2590 | CopyFrom(from); |
| 2591 | return *this; |
| 2592 | } |
| 2593 | #if LANG_CXX11 |
| 2594 | SetMsgBusEndpointRequest(SetMsgBusEndpointRequest&& from) noexcept |
| 2595 | : SetMsgBusEndpointRequest() { |
| 2596 | *this = ::std::move(from); |
| 2597 | } |
| 2598 | |
| 2599 | inline SetMsgBusEndpointRequest& operator=(SetMsgBusEndpointRequest&& from) noexcept { |
| 2600 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2601 | if (this != &from) InternalSwap(&from); |
| 2602 | } else { |
| 2603 | CopyFrom(from); |
| 2604 | } |
| 2605 | return *this; |
| 2606 | } |
| 2607 | #endif |
| 2608 | static const ::google::protobuf::Descriptor* descriptor() { |
| 2609 | return default_instance().GetDescriptor(); |
| 2610 | } |
| 2611 | static const SetMsgBusEndpointRequest& default_instance(); |
| 2612 | |
| 2613 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2614 | static inline const SetMsgBusEndpointRequest* internal_default_instance() { |
| 2615 | return reinterpret_cast<const SetMsgBusEndpointRequest*>( |
| 2616 | &_SetMsgBusEndpointRequest_default_instance_); |
| 2617 | } |
| 2618 | static constexpr int kIndexInFileMessages = |
| 2619 | 14; |
| 2620 | |
| 2621 | void Swap(SetMsgBusEndpointRequest* other); |
| 2622 | friend void swap(SetMsgBusEndpointRequest& a, SetMsgBusEndpointRequest& b) { |
| 2623 | a.Swap(&b); |
| 2624 | } |
| 2625 | |
| 2626 | // implements Message ---------------------------------------------- |
| 2627 | |
| 2628 | inline SetMsgBusEndpointRequest* New() const final { |
| 2629 | return CreateMaybeMessage<SetMsgBusEndpointRequest>(nullptr); |
| 2630 | } |
| 2631 | |
| 2632 | SetMsgBusEndpointRequest* New(::google::protobuf::Arena* arena) const final { |
| 2633 | return CreateMaybeMessage<SetMsgBusEndpointRequest>(arena); |
| 2634 | } |
| 2635 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2636 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2637 | void CopyFrom(const SetMsgBusEndpointRequest& from); |
| 2638 | void MergeFrom(const SetMsgBusEndpointRequest& from); |
| 2639 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2640 | bool IsInitialized() const final; |
| 2641 | |
| 2642 | size_t ByteSizeLong() const final; |
| 2643 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2644 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 2645 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 2646 | #else |
| 2647 | bool MergePartialFromCodedStream( |
| 2648 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2649 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2650 | void SerializeWithCachedSizes( |
| 2651 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2652 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2653 | ::google::protobuf::uint8* target) const final; |
| 2654 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2655 | |
| 2656 | private: |
| 2657 | void SharedCtor(); |
| 2658 | void SharedDtor(); |
| 2659 | void SetCachedSize(int size) const final; |
| 2660 | void InternalSwap(SetMsgBusEndpointRequest* other); |
| 2661 | private: |
| 2662 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2663 | return nullptr; |
| 2664 | } |
| 2665 | inline void* MaybeArenaPtr() const { |
| 2666 | return nullptr; |
| 2667 | } |
| 2668 | public: |
| 2669 | |
| 2670 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2671 | |
| 2672 | // nested types ---------------------------------------------------- |
| 2673 | |
| 2674 | // accessors ------------------------------------------------------- |
| 2675 | |
| 2676 | // string msgbus_endpoint = 1; |
| 2677 | void clear_msgbus_endpoint(); |
| 2678 | static const int kMsgbusEndpointFieldNumber = 1; |
| 2679 | const ::std::string& msgbus_endpoint() const; |
| 2680 | void set_msgbus_endpoint(const ::std::string& value); |
| 2681 | #if LANG_CXX11 |
| 2682 | void set_msgbus_endpoint(::std::string&& value); |
| 2683 | #endif |
| 2684 | void set_msgbus_endpoint(const char* value); |
| 2685 | void set_msgbus_endpoint(const char* value, size_t size); |
| 2686 | ::std::string* mutable_msgbus_endpoint(); |
| 2687 | ::std::string* release_msgbus_endpoint(); |
| 2688 | void set_allocated_msgbus_endpoint(::std::string* msgbus_endpoint); |
| 2689 | |
| 2690 | // @@protoc_insertion_point(class_scope:dmi.SetMsgBusEndpointRequest) |
| 2691 | private: |
| 2692 | class HasBitSetters; |
| 2693 | |
| 2694 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2695 | ::google::protobuf::internal::ArenaStringPtr msgbus_endpoint_; |
| 2696 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2697 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 2698 | }; |
| 2699 | // ------------------------------------------------------------------- |
| 2700 | |
| 2701 | class GetMsgBusEndpointResponse final : |
| 2702 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.GetMsgBusEndpointResponse) */ { |
| 2703 | public: |
| 2704 | GetMsgBusEndpointResponse(); |
| 2705 | virtual ~GetMsgBusEndpointResponse(); |
| 2706 | |
| 2707 | GetMsgBusEndpointResponse(const GetMsgBusEndpointResponse& from); |
| 2708 | |
| 2709 | inline GetMsgBusEndpointResponse& operator=(const GetMsgBusEndpointResponse& from) { |
| 2710 | CopyFrom(from); |
| 2711 | return *this; |
| 2712 | } |
| 2713 | #if LANG_CXX11 |
| 2714 | GetMsgBusEndpointResponse(GetMsgBusEndpointResponse&& from) noexcept |
| 2715 | : GetMsgBusEndpointResponse() { |
| 2716 | *this = ::std::move(from); |
| 2717 | } |
| 2718 | |
| 2719 | inline GetMsgBusEndpointResponse& operator=(GetMsgBusEndpointResponse&& from) noexcept { |
| 2720 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2721 | if (this != &from) InternalSwap(&from); |
| 2722 | } else { |
| 2723 | CopyFrom(from); |
| 2724 | } |
| 2725 | return *this; |
| 2726 | } |
| 2727 | #endif |
| 2728 | static const ::google::protobuf::Descriptor* descriptor() { |
| 2729 | return default_instance().GetDescriptor(); |
| 2730 | } |
| 2731 | static const GetMsgBusEndpointResponse& default_instance(); |
| 2732 | |
| 2733 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2734 | static inline const GetMsgBusEndpointResponse* internal_default_instance() { |
| 2735 | return reinterpret_cast<const GetMsgBusEndpointResponse*>( |
| 2736 | &_GetMsgBusEndpointResponse_default_instance_); |
| 2737 | } |
| 2738 | static constexpr int kIndexInFileMessages = |
| 2739 | 15; |
| 2740 | |
| 2741 | void Swap(GetMsgBusEndpointResponse* other); |
| 2742 | friend void swap(GetMsgBusEndpointResponse& a, GetMsgBusEndpointResponse& b) { |
| 2743 | a.Swap(&b); |
| 2744 | } |
| 2745 | |
| 2746 | // implements Message ---------------------------------------------- |
| 2747 | |
| 2748 | inline GetMsgBusEndpointResponse* New() const final { |
| 2749 | return CreateMaybeMessage<GetMsgBusEndpointResponse>(nullptr); |
| 2750 | } |
| 2751 | |
| 2752 | GetMsgBusEndpointResponse* New(::google::protobuf::Arena* arena) const final { |
| 2753 | return CreateMaybeMessage<GetMsgBusEndpointResponse>(arena); |
| 2754 | } |
| 2755 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2756 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2757 | void CopyFrom(const GetMsgBusEndpointResponse& from); |
| 2758 | void MergeFrom(const GetMsgBusEndpointResponse& from); |
| 2759 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2760 | bool IsInitialized() const final; |
| 2761 | |
| 2762 | size_t ByteSizeLong() const final; |
| 2763 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2764 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 2765 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 2766 | #else |
| 2767 | bool MergePartialFromCodedStream( |
| 2768 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2769 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2770 | void SerializeWithCachedSizes( |
| 2771 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2772 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2773 | ::google::protobuf::uint8* target) const final; |
| 2774 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2775 | |
| 2776 | private: |
| 2777 | void SharedCtor(); |
| 2778 | void SharedDtor(); |
| 2779 | void SetCachedSize(int size) const final; |
| 2780 | void InternalSwap(GetMsgBusEndpointResponse* other); |
| 2781 | private: |
| 2782 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2783 | return nullptr; |
| 2784 | } |
| 2785 | inline void* MaybeArenaPtr() const { |
| 2786 | return nullptr; |
| 2787 | } |
| 2788 | public: |
| 2789 | |
| 2790 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2791 | |
| 2792 | // nested types ---------------------------------------------------- |
| 2793 | |
| 2794 | typedef GetMsgBusEndpointResponse_Reason Reason; |
| 2795 | static const Reason UNDEFINED_REASON = |
| 2796 | GetMsgBusEndpointResponse_Reason_UNDEFINED_REASON; |
| 2797 | static const Reason INTERNAL_ERROR = |
| 2798 | GetMsgBusEndpointResponse_Reason_INTERNAL_ERROR; |
| 2799 | static const Reason DEVICE_UNREACHABLE = |
| 2800 | GetMsgBusEndpointResponse_Reason_DEVICE_UNREACHABLE; |
| 2801 | static inline bool Reason_IsValid(int value) { |
| 2802 | return GetMsgBusEndpointResponse_Reason_IsValid(value); |
| 2803 | } |
| 2804 | static const Reason Reason_MIN = |
| 2805 | GetMsgBusEndpointResponse_Reason_Reason_MIN; |
| 2806 | static const Reason Reason_MAX = |
| 2807 | GetMsgBusEndpointResponse_Reason_Reason_MAX; |
| 2808 | static const int Reason_ARRAYSIZE = |
| 2809 | GetMsgBusEndpointResponse_Reason_Reason_ARRAYSIZE; |
| 2810 | static inline const ::google::protobuf::EnumDescriptor* |
| 2811 | Reason_descriptor() { |
| 2812 | return GetMsgBusEndpointResponse_Reason_descriptor(); |
| 2813 | } |
| 2814 | static inline const ::std::string& Reason_Name(Reason value) { |
| 2815 | return GetMsgBusEndpointResponse_Reason_Name(value); |
| 2816 | } |
| 2817 | static inline bool Reason_Parse(const ::std::string& name, |
| 2818 | Reason* value) { |
| 2819 | return GetMsgBusEndpointResponse_Reason_Parse(name, value); |
| 2820 | } |
| 2821 | |
| 2822 | // accessors ------------------------------------------------------- |
| 2823 | |
| 2824 | // string msgbus_endpoint = 3; |
| 2825 | void clear_msgbus_endpoint(); |
| 2826 | static const int kMsgbusEndpointFieldNumber = 3; |
| 2827 | const ::std::string& msgbus_endpoint() const; |
| 2828 | void set_msgbus_endpoint(const ::std::string& value); |
| 2829 | #if LANG_CXX11 |
| 2830 | void set_msgbus_endpoint(::std::string&& value); |
| 2831 | #endif |
| 2832 | void set_msgbus_endpoint(const char* value); |
| 2833 | void set_msgbus_endpoint(const char* value, size_t size); |
| 2834 | ::std::string* mutable_msgbus_endpoint(); |
| 2835 | ::std::string* release_msgbus_endpoint(); |
| 2836 | void set_allocated_msgbus_endpoint(::std::string* msgbus_endpoint); |
| 2837 | |
| 2838 | // string reason_detail = 4; |
| 2839 | void clear_reason_detail(); |
| 2840 | static const int kReasonDetailFieldNumber = 4; |
| 2841 | const ::std::string& reason_detail() const; |
| 2842 | void set_reason_detail(const ::std::string& value); |
| 2843 | #if LANG_CXX11 |
| 2844 | void set_reason_detail(::std::string&& value); |
| 2845 | #endif |
| 2846 | void set_reason_detail(const char* value); |
| 2847 | void set_reason_detail(const char* value, size_t size); |
| 2848 | ::std::string* mutable_reason_detail(); |
| 2849 | ::std::string* release_reason_detail(); |
| 2850 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 2851 | |
| 2852 | // .dmi.Status status = 1; |
| 2853 | void clear_status(); |
| 2854 | static const int kStatusFieldNumber = 1; |
| 2855 | ::dmi::Status status() const; |
| 2856 | void set_status(::dmi::Status value); |
| 2857 | |
| 2858 | // .dmi.GetMsgBusEndpointResponse.Reason reason = 2; |
| 2859 | void clear_reason(); |
| 2860 | static const int kReasonFieldNumber = 2; |
| 2861 | ::dmi::GetMsgBusEndpointResponse_Reason reason() const; |
| 2862 | void set_reason(::dmi::GetMsgBusEndpointResponse_Reason value); |
| 2863 | |
| 2864 | // @@protoc_insertion_point(class_scope:dmi.GetMsgBusEndpointResponse) |
| 2865 | private: |
| 2866 | class HasBitSetters; |
| 2867 | |
| 2868 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2869 | ::google::protobuf::internal::ArenaStringPtr msgbus_endpoint_; |
| 2870 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 2871 | int status_; |
| 2872 | int reason_; |
| 2873 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2874 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 2875 | }; |
| 2876 | // ------------------------------------------------------------------- |
| 2877 | |
| 2878 | class EntitiesLogLevel final : |
| 2879 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.EntitiesLogLevel) */ { |
| 2880 | public: |
| 2881 | EntitiesLogLevel(); |
| 2882 | virtual ~EntitiesLogLevel(); |
| 2883 | |
| 2884 | EntitiesLogLevel(const EntitiesLogLevel& from); |
| 2885 | |
| 2886 | inline EntitiesLogLevel& operator=(const EntitiesLogLevel& from) { |
| 2887 | CopyFrom(from); |
| 2888 | return *this; |
| 2889 | } |
| 2890 | #if LANG_CXX11 |
| 2891 | EntitiesLogLevel(EntitiesLogLevel&& from) noexcept |
| 2892 | : EntitiesLogLevel() { |
| 2893 | *this = ::std::move(from); |
| 2894 | } |
| 2895 | |
| 2896 | inline EntitiesLogLevel& operator=(EntitiesLogLevel&& from) noexcept { |
| 2897 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2898 | if (this != &from) InternalSwap(&from); |
| 2899 | } else { |
| 2900 | CopyFrom(from); |
| 2901 | } |
| 2902 | return *this; |
| 2903 | } |
| 2904 | #endif |
| 2905 | static const ::google::protobuf::Descriptor* descriptor() { |
| 2906 | return default_instance().GetDescriptor(); |
| 2907 | } |
| 2908 | static const EntitiesLogLevel& default_instance(); |
| 2909 | |
| 2910 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2911 | static inline const EntitiesLogLevel* internal_default_instance() { |
| 2912 | return reinterpret_cast<const EntitiesLogLevel*>( |
| 2913 | &_EntitiesLogLevel_default_instance_); |
| 2914 | } |
| 2915 | static constexpr int kIndexInFileMessages = |
| 2916 | 16; |
| 2917 | |
| 2918 | void Swap(EntitiesLogLevel* other); |
| 2919 | friend void swap(EntitiesLogLevel& a, EntitiesLogLevel& b) { |
| 2920 | a.Swap(&b); |
| 2921 | } |
| 2922 | |
| 2923 | // implements Message ---------------------------------------------- |
| 2924 | |
| 2925 | inline EntitiesLogLevel* New() const final { |
| 2926 | return CreateMaybeMessage<EntitiesLogLevel>(nullptr); |
| 2927 | } |
| 2928 | |
| 2929 | EntitiesLogLevel* New(::google::protobuf::Arena* arena) const final { |
| 2930 | return CreateMaybeMessage<EntitiesLogLevel>(arena); |
| 2931 | } |
| 2932 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2933 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2934 | void CopyFrom(const EntitiesLogLevel& from); |
| 2935 | void MergeFrom(const EntitiesLogLevel& from); |
| 2936 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2937 | bool IsInitialized() const final; |
| 2938 | |
| 2939 | size_t ByteSizeLong() const final; |
| 2940 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2941 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 2942 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 2943 | #else |
| 2944 | bool MergePartialFromCodedStream( |
| 2945 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2946 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 2947 | void SerializeWithCachedSizes( |
| 2948 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2949 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2950 | ::google::protobuf::uint8* target) const final; |
| 2951 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2952 | |
| 2953 | private: |
| 2954 | void SharedCtor(); |
| 2955 | void SharedDtor(); |
| 2956 | void SetCachedSize(int size) const final; |
| 2957 | void InternalSwap(EntitiesLogLevel* other); |
| 2958 | private: |
| 2959 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2960 | return nullptr; |
| 2961 | } |
| 2962 | inline void* MaybeArenaPtr() const { |
| 2963 | return nullptr; |
| 2964 | } |
| 2965 | public: |
| 2966 | |
| 2967 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2968 | |
| 2969 | // nested types ---------------------------------------------------- |
| 2970 | |
| 2971 | // accessors ------------------------------------------------------- |
| 2972 | |
| 2973 | // repeated string entities = 2; |
| 2974 | int entities_size() const; |
| 2975 | void clear_entities(); |
| 2976 | static const int kEntitiesFieldNumber = 2; |
| 2977 | const ::std::string& entities(int index) const; |
| 2978 | ::std::string* mutable_entities(int index); |
| 2979 | void set_entities(int index, const ::std::string& value); |
| 2980 | #if LANG_CXX11 |
| 2981 | void set_entities(int index, ::std::string&& value); |
| 2982 | #endif |
| 2983 | void set_entities(int index, const char* value); |
| 2984 | void set_entities(int index, const char* value, size_t size); |
| 2985 | ::std::string* add_entities(); |
| 2986 | void add_entities(const ::std::string& value); |
| 2987 | #if LANG_CXX11 |
| 2988 | void add_entities(::std::string&& value); |
| 2989 | #endif |
| 2990 | void add_entities(const char* value); |
| 2991 | void add_entities(const char* value, size_t size); |
| 2992 | const ::google::protobuf::RepeatedPtrField<::std::string>& entities() const; |
| 2993 | ::google::protobuf::RepeatedPtrField<::std::string>* mutable_entities(); |
| 2994 | |
| 2995 | // .dmi.LogLevel logLevel = 1; |
| 2996 | void clear_loglevel(); |
| 2997 | static const int kLogLevelFieldNumber = 1; |
| 2998 | ::dmi::LogLevel loglevel() const; |
| 2999 | void set_loglevel(::dmi::LogLevel value); |
| 3000 | |
| 3001 | // @@protoc_insertion_point(class_scope:dmi.EntitiesLogLevel) |
| 3002 | private: |
| 3003 | class HasBitSetters; |
| 3004 | |
| 3005 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3006 | ::google::protobuf::RepeatedPtrField<::std::string> entities_; |
| 3007 | int loglevel_; |
| 3008 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 3009 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 3010 | }; |
| 3011 | // ------------------------------------------------------------------- |
| 3012 | |
| 3013 | class SetLogLevelRequest final : |
| 3014 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.SetLogLevelRequest) */ { |
| 3015 | public: |
| 3016 | SetLogLevelRequest(); |
| 3017 | virtual ~SetLogLevelRequest(); |
| 3018 | |
| 3019 | SetLogLevelRequest(const SetLogLevelRequest& from); |
| 3020 | |
| 3021 | inline SetLogLevelRequest& operator=(const SetLogLevelRequest& from) { |
| 3022 | CopyFrom(from); |
| 3023 | return *this; |
| 3024 | } |
| 3025 | #if LANG_CXX11 |
| 3026 | SetLogLevelRequest(SetLogLevelRequest&& from) noexcept |
| 3027 | : SetLogLevelRequest() { |
| 3028 | *this = ::std::move(from); |
| 3029 | } |
| 3030 | |
| 3031 | inline SetLogLevelRequest& operator=(SetLogLevelRequest&& from) noexcept { |
| 3032 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 3033 | if (this != &from) InternalSwap(&from); |
| 3034 | } else { |
| 3035 | CopyFrom(from); |
| 3036 | } |
| 3037 | return *this; |
| 3038 | } |
| 3039 | #endif |
| 3040 | static const ::google::protobuf::Descriptor* descriptor() { |
| 3041 | return default_instance().GetDescriptor(); |
| 3042 | } |
| 3043 | static const SetLogLevelRequest& default_instance(); |
| 3044 | |
| 3045 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 3046 | static inline const SetLogLevelRequest* internal_default_instance() { |
| 3047 | return reinterpret_cast<const SetLogLevelRequest*>( |
| 3048 | &_SetLogLevelRequest_default_instance_); |
| 3049 | } |
| 3050 | static constexpr int kIndexInFileMessages = |
| 3051 | 17; |
| 3052 | |
| 3053 | void Swap(SetLogLevelRequest* other); |
| 3054 | friend void swap(SetLogLevelRequest& a, SetLogLevelRequest& b) { |
| 3055 | a.Swap(&b); |
| 3056 | } |
| 3057 | |
| 3058 | // implements Message ---------------------------------------------- |
| 3059 | |
| 3060 | inline SetLogLevelRequest* New() const final { |
| 3061 | return CreateMaybeMessage<SetLogLevelRequest>(nullptr); |
| 3062 | } |
| 3063 | |
| 3064 | SetLogLevelRequest* New(::google::protobuf::Arena* arena) const final { |
| 3065 | return CreateMaybeMessage<SetLogLevelRequest>(arena); |
| 3066 | } |
| 3067 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 3068 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 3069 | void CopyFrom(const SetLogLevelRequest& from); |
| 3070 | void MergeFrom(const SetLogLevelRequest& from); |
| 3071 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 3072 | bool IsInitialized() const final; |
| 3073 | |
| 3074 | size_t ByteSizeLong() const final; |
| 3075 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3076 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 3077 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 3078 | #else |
| 3079 | bool MergePartialFromCodedStream( |
| 3080 | ::google::protobuf::io::CodedInputStream* input) final; |
| 3081 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3082 | void SerializeWithCachedSizes( |
| 3083 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 3084 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 3085 | ::google::protobuf::uint8* target) const final; |
| 3086 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 3087 | |
| 3088 | private: |
| 3089 | void SharedCtor(); |
| 3090 | void SharedDtor(); |
| 3091 | void SetCachedSize(int size) const final; |
| 3092 | void InternalSwap(SetLogLevelRequest* other); |
| 3093 | private: |
| 3094 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 3095 | return nullptr; |
| 3096 | } |
| 3097 | inline void* MaybeArenaPtr() const { |
| 3098 | return nullptr; |
| 3099 | } |
| 3100 | public: |
| 3101 | |
| 3102 | ::google::protobuf::Metadata GetMetadata() const final; |
| 3103 | |
| 3104 | // nested types ---------------------------------------------------- |
| 3105 | |
| 3106 | // accessors ------------------------------------------------------- |
| 3107 | |
| 3108 | // repeated .dmi.EntitiesLogLevel loglevels = 2; |
| 3109 | int loglevels_size() const; |
| 3110 | void clear_loglevels(); |
| 3111 | static const int kLoglevelsFieldNumber = 2; |
| 3112 | ::dmi::EntitiesLogLevel* mutable_loglevels(int index); |
| 3113 | ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel >* |
| 3114 | mutable_loglevels(); |
| 3115 | const ::dmi::EntitiesLogLevel& loglevels(int index) const; |
| 3116 | ::dmi::EntitiesLogLevel* add_loglevels(); |
| 3117 | const ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel >& |
| 3118 | loglevels() const; |
| 3119 | |
| 3120 | // .dmi.Uuid device_uuid = 1; |
| 3121 | bool has_device_uuid() const; |
| 3122 | void clear_device_uuid(); |
| 3123 | static const int kDeviceUuidFieldNumber = 1; |
| 3124 | const ::dmi::Uuid& device_uuid() const; |
| 3125 | ::dmi::Uuid* release_device_uuid(); |
| 3126 | ::dmi::Uuid* mutable_device_uuid(); |
| 3127 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 3128 | |
| 3129 | // @@protoc_insertion_point(class_scope:dmi.SetLogLevelRequest) |
| 3130 | private: |
| 3131 | class HasBitSetters; |
| 3132 | |
| 3133 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3134 | ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel > loglevels_; |
| 3135 | ::dmi::Uuid* device_uuid_; |
| 3136 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 3137 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 3138 | }; |
| 3139 | // ------------------------------------------------------------------- |
| 3140 | |
| 3141 | class SetLogLevelResponse final : |
| 3142 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.SetLogLevelResponse) */ { |
| 3143 | public: |
| 3144 | SetLogLevelResponse(); |
| 3145 | virtual ~SetLogLevelResponse(); |
| 3146 | |
| 3147 | SetLogLevelResponse(const SetLogLevelResponse& from); |
| 3148 | |
| 3149 | inline SetLogLevelResponse& operator=(const SetLogLevelResponse& from) { |
| 3150 | CopyFrom(from); |
| 3151 | return *this; |
| 3152 | } |
| 3153 | #if LANG_CXX11 |
| 3154 | SetLogLevelResponse(SetLogLevelResponse&& from) noexcept |
| 3155 | : SetLogLevelResponse() { |
| 3156 | *this = ::std::move(from); |
| 3157 | } |
| 3158 | |
| 3159 | inline SetLogLevelResponse& operator=(SetLogLevelResponse&& from) noexcept { |
| 3160 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 3161 | if (this != &from) InternalSwap(&from); |
| 3162 | } else { |
| 3163 | CopyFrom(from); |
| 3164 | } |
| 3165 | return *this; |
| 3166 | } |
| 3167 | #endif |
| 3168 | static const ::google::protobuf::Descriptor* descriptor() { |
| 3169 | return default_instance().GetDescriptor(); |
| 3170 | } |
| 3171 | static const SetLogLevelResponse& default_instance(); |
| 3172 | |
| 3173 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 3174 | static inline const SetLogLevelResponse* internal_default_instance() { |
| 3175 | return reinterpret_cast<const SetLogLevelResponse*>( |
| 3176 | &_SetLogLevelResponse_default_instance_); |
| 3177 | } |
| 3178 | static constexpr int kIndexInFileMessages = |
| 3179 | 18; |
| 3180 | |
| 3181 | void Swap(SetLogLevelResponse* other); |
| 3182 | friend void swap(SetLogLevelResponse& a, SetLogLevelResponse& b) { |
| 3183 | a.Swap(&b); |
| 3184 | } |
| 3185 | |
| 3186 | // implements Message ---------------------------------------------- |
| 3187 | |
| 3188 | inline SetLogLevelResponse* New() const final { |
| 3189 | return CreateMaybeMessage<SetLogLevelResponse>(nullptr); |
| 3190 | } |
| 3191 | |
| 3192 | SetLogLevelResponse* New(::google::protobuf::Arena* arena) const final { |
| 3193 | return CreateMaybeMessage<SetLogLevelResponse>(arena); |
| 3194 | } |
| 3195 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 3196 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 3197 | void CopyFrom(const SetLogLevelResponse& from); |
| 3198 | void MergeFrom(const SetLogLevelResponse& from); |
| 3199 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 3200 | bool IsInitialized() const final; |
| 3201 | |
| 3202 | size_t ByteSizeLong() const final; |
| 3203 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3204 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 3205 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 3206 | #else |
| 3207 | bool MergePartialFromCodedStream( |
| 3208 | ::google::protobuf::io::CodedInputStream* input) final; |
| 3209 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3210 | void SerializeWithCachedSizes( |
| 3211 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 3212 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 3213 | ::google::protobuf::uint8* target) const final; |
| 3214 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 3215 | |
| 3216 | private: |
| 3217 | void SharedCtor(); |
| 3218 | void SharedDtor(); |
| 3219 | void SetCachedSize(int size) const final; |
| 3220 | void InternalSwap(SetLogLevelResponse* other); |
| 3221 | private: |
| 3222 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 3223 | return nullptr; |
| 3224 | } |
| 3225 | inline void* MaybeArenaPtr() const { |
| 3226 | return nullptr; |
| 3227 | } |
| 3228 | public: |
| 3229 | |
| 3230 | ::google::protobuf::Metadata GetMetadata() const final; |
| 3231 | |
| 3232 | // nested types ---------------------------------------------------- |
| 3233 | |
| 3234 | typedef SetLogLevelResponse_Reason Reason; |
| 3235 | static const Reason UNDEFINED_REASON = |
| 3236 | SetLogLevelResponse_Reason_UNDEFINED_REASON; |
| 3237 | static const Reason UNKNOWN_DEVICE = |
| 3238 | SetLogLevelResponse_Reason_UNKNOWN_DEVICE; |
| 3239 | static const Reason INTERNAL_ERROR = |
| 3240 | SetLogLevelResponse_Reason_INTERNAL_ERROR; |
| 3241 | static const Reason UNKNOWN_LOG_ENTITY = |
| 3242 | SetLogLevelResponse_Reason_UNKNOWN_LOG_ENTITY; |
| 3243 | static const Reason DEVICE_UNREACHABLE = |
| 3244 | SetLogLevelResponse_Reason_DEVICE_UNREACHABLE; |
| 3245 | static inline bool Reason_IsValid(int value) { |
| 3246 | return SetLogLevelResponse_Reason_IsValid(value); |
| 3247 | } |
| 3248 | static const Reason Reason_MIN = |
| 3249 | SetLogLevelResponse_Reason_Reason_MIN; |
| 3250 | static const Reason Reason_MAX = |
| 3251 | SetLogLevelResponse_Reason_Reason_MAX; |
| 3252 | static const int Reason_ARRAYSIZE = |
| 3253 | SetLogLevelResponse_Reason_Reason_ARRAYSIZE; |
| 3254 | static inline const ::google::protobuf::EnumDescriptor* |
| 3255 | Reason_descriptor() { |
| 3256 | return SetLogLevelResponse_Reason_descriptor(); |
| 3257 | } |
| 3258 | static inline const ::std::string& Reason_Name(Reason value) { |
| 3259 | return SetLogLevelResponse_Reason_Name(value); |
| 3260 | } |
| 3261 | static inline bool Reason_Parse(const ::std::string& name, |
| 3262 | Reason* value) { |
| 3263 | return SetLogLevelResponse_Reason_Parse(name, value); |
| 3264 | } |
| 3265 | |
| 3266 | // accessors ------------------------------------------------------- |
| 3267 | |
| 3268 | // string reason_detail = 4; |
| 3269 | void clear_reason_detail(); |
| 3270 | static const int kReasonDetailFieldNumber = 4; |
| 3271 | const ::std::string& reason_detail() const; |
| 3272 | void set_reason_detail(const ::std::string& value); |
| 3273 | #if LANG_CXX11 |
| 3274 | void set_reason_detail(::std::string&& value); |
| 3275 | #endif |
| 3276 | void set_reason_detail(const char* value); |
| 3277 | void set_reason_detail(const char* value, size_t size); |
| 3278 | ::std::string* mutable_reason_detail(); |
| 3279 | ::std::string* release_reason_detail(); |
| 3280 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 3281 | |
| 3282 | // .dmi.Uuid device_uuid = 1; |
| 3283 | bool has_device_uuid() const; |
| 3284 | void clear_device_uuid(); |
| 3285 | static const int kDeviceUuidFieldNumber = 1; |
| 3286 | const ::dmi::Uuid& device_uuid() const; |
| 3287 | ::dmi::Uuid* release_device_uuid(); |
| 3288 | ::dmi::Uuid* mutable_device_uuid(); |
| 3289 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 3290 | |
| 3291 | // .dmi.Status status = 2; |
| 3292 | void clear_status(); |
| 3293 | static const int kStatusFieldNumber = 2; |
| 3294 | ::dmi::Status status() const; |
| 3295 | void set_status(::dmi::Status value); |
| 3296 | |
| 3297 | // .dmi.SetLogLevelResponse.Reason reason = 3; |
| 3298 | void clear_reason(); |
| 3299 | static const int kReasonFieldNumber = 3; |
| 3300 | ::dmi::SetLogLevelResponse_Reason reason() const; |
| 3301 | void set_reason(::dmi::SetLogLevelResponse_Reason value); |
| 3302 | |
| 3303 | // @@protoc_insertion_point(class_scope:dmi.SetLogLevelResponse) |
| 3304 | private: |
| 3305 | class HasBitSetters; |
| 3306 | |
| 3307 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3308 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 3309 | ::dmi::Uuid* device_uuid_; |
| 3310 | int status_; |
| 3311 | int reason_; |
| 3312 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 3313 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 3314 | }; |
| 3315 | // ------------------------------------------------------------------- |
| 3316 | |
| 3317 | class GetLogLevelRequest final : |
| 3318 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.GetLogLevelRequest) */ { |
| 3319 | public: |
| 3320 | GetLogLevelRequest(); |
| 3321 | virtual ~GetLogLevelRequest(); |
| 3322 | |
| 3323 | GetLogLevelRequest(const GetLogLevelRequest& from); |
| 3324 | |
| 3325 | inline GetLogLevelRequest& operator=(const GetLogLevelRequest& from) { |
| 3326 | CopyFrom(from); |
| 3327 | return *this; |
| 3328 | } |
| 3329 | #if LANG_CXX11 |
| 3330 | GetLogLevelRequest(GetLogLevelRequest&& from) noexcept |
| 3331 | : GetLogLevelRequest() { |
| 3332 | *this = ::std::move(from); |
| 3333 | } |
| 3334 | |
| 3335 | inline GetLogLevelRequest& operator=(GetLogLevelRequest&& from) noexcept { |
| 3336 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 3337 | if (this != &from) InternalSwap(&from); |
| 3338 | } else { |
| 3339 | CopyFrom(from); |
| 3340 | } |
| 3341 | return *this; |
| 3342 | } |
| 3343 | #endif |
| 3344 | static const ::google::protobuf::Descriptor* descriptor() { |
| 3345 | return default_instance().GetDescriptor(); |
| 3346 | } |
| 3347 | static const GetLogLevelRequest& default_instance(); |
| 3348 | |
| 3349 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 3350 | static inline const GetLogLevelRequest* internal_default_instance() { |
| 3351 | return reinterpret_cast<const GetLogLevelRequest*>( |
| 3352 | &_GetLogLevelRequest_default_instance_); |
| 3353 | } |
| 3354 | static constexpr int kIndexInFileMessages = |
| 3355 | 19; |
| 3356 | |
| 3357 | void Swap(GetLogLevelRequest* other); |
| 3358 | friend void swap(GetLogLevelRequest& a, GetLogLevelRequest& b) { |
| 3359 | a.Swap(&b); |
| 3360 | } |
| 3361 | |
| 3362 | // implements Message ---------------------------------------------- |
| 3363 | |
| 3364 | inline GetLogLevelRequest* New() const final { |
| 3365 | return CreateMaybeMessage<GetLogLevelRequest>(nullptr); |
| 3366 | } |
| 3367 | |
| 3368 | GetLogLevelRequest* New(::google::protobuf::Arena* arena) const final { |
| 3369 | return CreateMaybeMessage<GetLogLevelRequest>(arena); |
| 3370 | } |
| 3371 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 3372 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 3373 | void CopyFrom(const GetLogLevelRequest& from); |
| 3374 | void MergeFrom(const GetLogLevelRequest& from); |
| 3375 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 3376 | bool IsInitialized() const final; |
| 3377 | |
| 3378 | size_t ByteSizeLong() const final; |
| 3379 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3380 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 3381 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 3382 | #else |
| 3383 | bool MergePartialFromCodedStream( |
| 3384 | ::google::protobuf::io::CodedInputStream* input) final; |
| 3385 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3386 | void SerializeWithCachedSizes( |
| 3387 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 3388 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 3389 | ::google::protobuf::uint8* target) const final; |
| 3390 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 3391 | |
| 3392 | private: |
| 3393 | void SharedCtor(); |
| 3394 | void SharedDtor(); |
| 3395 | void SetCachedSize(int size) const final; |
| 3396 | void InternalSwap(GetLogLevelRequest* other); |
| 3397 | private: |
| 3398 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 3399 | return nullptr; |
| 3400 | } |
| 3401 | inline void* MaybeArenaPtr() const { |
| 3402 | return nullptr; |
| 3403 | } |
| 3404 | public: |
| 3405 | |
| 3406 | ::google::protobuf::Metadata GetMetadata() const final; |
| 3407 | |
| 3408 | // nested types ---------------------------------------------------- |
| 3409 | |
| 3410 | // accessors ------------------------------------------------------- |
| 3411 | |
| 3412 | // repeated string entities = 2; |
| 3413 | int entities_size() const; |
| 3414 | void clear_entities(); |
| 3415 | static const int kEntitiesFieldNumber = 2; |
| 3416 | const ::std::string& entities(int index) const; |
| 3417 | ::std::string* mutable_entities(int index); |
| 3418 | void set_entities(int index, const ::std::string& value); |
| 3419 | #if LANG_CXX11 |
| 3420 | void set_entities(int index, ::std::string&& value); |
| 3421 | #endif |
| 3422 | void set_entities(int index, const char* value); |
| 3423 | void set_entities(int index, const char* value, size_t size); |
| 3424 | ::std::string* add_entities(); |
| 3425 | void add_entities(const ::std::string& value); |
| 3426 | #if LANG_CXX11 |
| 3427 | void add_entities(::std::string&& value); |
| 3428 | #endif |
| 3429 | void add_entities(const char* value); |
| 3430 | void add_entities(const char* value, size_t size); |
| 3431 | const ::google::protobuf::RepeatedPtrField<::std::string>& entities() const; |
| 3432 | ::google::protobuf::RepeatedPtrField<::std::string>* mutable_entities(); |
| 3433 | |
| 3434 | // .dmi.Uuid device_uuid = 1; |
| 3435 | bool has_device_uuid() const; |
| 3436 | void clear_device_uuid(); |
| 3437 | static const int kDeviceUuidFieldNumber = 1; |
| 3438 | const ::dmi::Uuid& device_uuid() const; |
| 3439 | ::dmi::Uuid* release_device_uuid(); |
| 3440 | ::dmi::Uuid* mutable_device_uuid(); |
| 3441 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 3442 | |
| 3443 | // @@protoc_insertion_point(class_scope:dmi.GetLogLevelRequest) |
| 3444 | private: |
| 3445 | class HasBitSetters; |
| 3446 | |
| 3447 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3448 | ::google::protobuf::RepeatedPtrField<::std::string> entities_; |
| 3449 | ::dmi::Uuid* device_uuid_; |
| 3450 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 3451 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 3452 | }; |
| 3453 | // ------------------------------------------------------------------- |
| 3454 | |
| 3455 | class GetLogLevelResponse final : |
| 3456 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.GetLogLevelResponse) */ { |
| 3457 | public: |
| 3458 | GetLogLevelResponse(); |
| 3459 | virtual ~GetLogLevelResponse(); |
| 3460 | |
| 3461 | GetLogLevelResponse(const GetLogLevelResponse& from); |
| 3462 | |
| 3463 | inline GetLogLevelResponse& operator=(const GetLogLevelResponse& from) { |
| 3464 | CopyFrom(from); |
| 3465 | return *this; |
| 3466 | } |
| 3467 | #if LANG_CXX11 |
| 3468 | GetLogLevelResponse(GetLogLevelResponse&& from) noexcept |
| 3469 | : GetLogLevelResponse() { |
| 3470 | *this = ::std::move(from); |
| 3471 | } |
| 3472 | |
| 3473 | inline GetLogLevelResponse& operator=(GetLogLevelResponse&& from) noexcept { |
| 3474 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 3475 | if (this != &from) InternalSwap(&from); |
| 3476 | } else { |
| 3477 | CopyFrom(from); |
| 3478 | } |
| 3479 | return *this; |
| 3480 | } |
| 3481 | #endif |
| 3482 | static const ::google::protobuf::Descriptor* descriptor() { |
| 3483 | return default_instance().GetDescriptor(); |
| 3484 | } |
| 3485 | static const GetLogLevelResponse& default_instance(); |
| 3486 | |
| 3487 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 3488 | static inline const GetLogLevelResponse* internal_default_instance() { |
| 3489 | return reinterpret_cast<const GetLogLevelResponse*>( |
| 3490 | &_GetLogLevelResponse_default_instance_); |
| 3491 | } |
| 3492 | static constexpr int kIndexInFileMessages = |
| 3493 | 20; |
| 3494 | |
| 3495 | void Swap(GetLogLevelResponse* other); |
| 3496 | friend void swap(GetLogLevelResponse& a, GetLogLevelResponse& b) { |
| 3497 | a.Swap(&b); |
| 3498 | } |
| 3499 | |
| 3500 | // implements Message ---------------------------------------------- |
| 3501 | |
| 3502 | inline GetLogLevelResponse* New() const final { |
| 3503 | return CreateMaybeMessage<GetLogLevelResponse>(nullptr); |
| 3504 | } |
| 3505 | |
| 3506 | GetLogLevelResponse* New(::google::protobuf::Arena* arena) const final { |
| 3507 | return CreateMaybeMessage<GetLogLevelResponse>(arena); |
| 3508 | } |
| 3509 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 3510 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 3511 | void CopyFrom(const GetLogLevelResponse& from); |
| 3512 | void MergeFrom(const GetLogLevelResponse& from); |
| 3513 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 3514 | bool IsInitialized() const final; |
| 3515 | |
| 3516 | size_t ByteSizeLong() const final; |
| 3517 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3518 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 3519 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 3520 | #else |
| 3521 | bool MergePartialFromCodedStream( |
| 3522 | ::google::protobuf::io::CodedInputStream* input) final; |
| 3523 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3524 | void SerializeWithCachedSizes( |
| 3525 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 3526 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 3527 | ::google::protobuf::uint8* target) const final; |
| 3528 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 3529 | |
| 3530 | private: |
| 3531 | void SharedCtor(); |
| 3532 | void SharedDtor(); |
| 3533 | void SetCachedSize(int size) const final; |
| 3534 | void InternalSwap(GetLogLevelResponse* other); |
| 3535 | private: |
| 3536 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 3537 | return nullptr; |
| 3538 | } |
| 3539 | inline void* MaybeArenaPtr() const { |
| 3540 | return nullptr; |
| 3541 | } |
| 3542 | public: |
| 3543 | |
| 3544 | ::google::protobuf::Metadata GetMetadata() const final; |
| 3545 | |
| 3546 | // nested types ---------------------------------------------------- |
| 3547 | |
| 3548 | typedef GetLogLevelResponse_Reason Reason; |
| 3549 | static const Reason UNDEFINED_REASON = |
| 3550 | GetLogLevelResponse_Reason_UNDEFINED_REASON; |
| 3551 | static const Reason UNKNOWN_DEVICE = |
| 3552 | GetLogLevelResponse_Reason_UNKNOWN_DEVICE; |
| 3553 | static const Reason INTERNAL_ERROR = |
| 3554 | GetLogLevelResponse_Reason_INTERNAL_ERROR; |
| 3555 | static const Reason UNKNOWN_LOG_ENTITY = |
| 3556 | GetLogLevelResponse_Reason_UNKNOWN_LOG_ENTITY; |
| 3557 | static const Reason DEVICE_UNREACHABLE = |
| 3558 | GetLogLevelResponse_Reason_DEVICE_UNREACHABLE; |
| 3559 | static inline bool Reason_IsValid(int value) { |
| 3560 | return GetLogLevelResponse_Reason_IsValid(value); |
| 3561 | } |
| 3562 | static const Reason Reason_MIN = |
| 3563 | GetLogLevelResponse_Reason_Reason_MIN; |
| 3564 | static const Reason Reason_MAX = |
| 3565 | GetLogLevelResponse_Reason_Reason_MAX; |
| 3566 | static const int Reason_ARRAYSIZE = |
| 3567 | GetLogLevelResponse_Reason_Reason_ARRAYSIZE; |
| 3568 | static inline const ::google::protobuf::EnumDescriptor* |
| 3569 | Reason_descriptor() { |
| 3570 | return GetLogLevelResponse_Reason_descriptor(); |
| 3571 | } |
| 3572 | static inline const ::std::string& Reason_Name(Reason value) { |
| 3573 | return GetLogLevelResponse_Reason_Name(value); |
| 3574 | } |
| 3575 | static inline bool Reason_Parse(const ::std::string& name, |
| 3576 | Reason* value) { |
| 3577 | return GetLogLevelResponse_Reason_Parse(name, value); |
| 3578 | } |
| 3579 | |
| 3580 | // accessors ------------------------------------------------------- |
| 3581 | |
| 3582 | // repeated .dmi.EntitiesLogLevel logLevels = 2; |
| 3583 | int loglevels_size() const; |
| 3584 | void clear_loglevels(); |
| 3585 | static const int kLogLevelsFieldNumber = 2; |
| 3586 | ::dmi::EntitiesLogLevel* mutable_loglevels(int index); |
| 3587 | ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel >* |
| 3588 | mutable_loglevels(); |
| 3589 | const ::dmi::EntitiesLogLevel& loglevels(int index) const; |
| 3590 | ::dmi::EntitiesLogLevel* add_loglevels(); |
| 3591 | const ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel >& |
| 3592 | loglevels() const; |
| 3593 | |
| 3594 | // string reason_detail = 5; |
| 3595 | void clear_reason_detail(); |
| 3596 | static const int kReasonDetailFieldNumber = 5; |
| 3597 | const ::std::string& reason_detail() const; |
| 3598 | void set_reason_detail(const ::std::string& value); |
| 3599 | #if LANG_CXX11 |
| 3600 | void set_reason_detail(::std::string&& value); |
| 3601 | #endif |
| 3602 | void set_reason_detail(const char* value); |
| 3603 | void set_reason_detail(const char* value, size_t size); |
| 3604 | ::std::string* mutable_reason_detail(); |
| 3605 | ::std::string* release_reason_detail(); |
| 3606 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 3607 | |
| 3608 | // .dmi.Uuid device_uuid = 1; |
| 3609 | bool has_device_uuid() const; |
| 3610 | void clear_device_uuid(); |
| 3611 | static const int kDeviceUuidFieldNumber = 1; |
| 3612 | const ::dmi::Uuid& device_uuid() const; |
| 3613 | ::dmi::Uuid* release_device_uuid(); |
| 3614 | ::dmi::Uuid* mutable_device_uuid(); |
| 3615 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 3616 | |
| 3617 | // .dmi.Status status = 3; |
| 3618 | void clear_status(); |
| 3619 | static const int kStatusFieldNumber = 3; |
| 3620 | ::dmi::Status status() const; |
| 3621 | void set_status(::dmi::Status value); |
| 3622 | |
| 3623 | // .dmi.GetLogLevelResponse.Reason reason = 4; |
| 3624 | void clear_reason(); |
| 3625 | static const int kReasonFieldNumber = 4; |
| 3626 | ::dmi::GetLogLevelResponse_Reason reason() const; |
| 3627 | void set_reason(::dmi::GetLogLevelResponse_Reason value); |
| 3628 | |
| 3629 | // @@protoc_insertion_point(class_scope:dmi.GetLogLevelResponse) |
| 3630 | private: |
| 3631 | class HasBitSetters; |
| 3632 | |
| 3633 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3634 | ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel > loglevels_; |
| 3635 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 3636 | ::dmi::Uuid* device_uuid_; |
| 3637 | int status_; |
| 3638 | int reason_; |
| 3639 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 3640 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 3641 | }; |
| 3642 | // ------------------------------------------------------------------- |
| 3643 | |
| 3644 | class GetLoggableEntitiesRequest final : |
| 3645 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.GetLoggableEntitiesRequest) */ { |
| 3646 | public: |
| 3647 | GetLoggableEntitiesRequest(); |
| 3648 | virtual ~GetLoggableEntitiesRequest(); |
| 3649 | |
| 3650 | GetLoggableEntitiesRequest(const GetLoggableEntitiesRequest& from); |
| 3651 | |
| 3652 | inline GetLoggableEntitiesRequest& operator=(const GetLoggableEntitiesRequest& from) { |
| 3653 | CopyFrom(from); |
| 3654 | return *this; |
| 3655 | } |
| 3656 | #if LANG_CXX11 |
| 3657 | GetLoggableEntitiesRequest(GetLoggableEntitiesRequest&& from) noexcept |
| 3658 | : GetLoggableEntitiesRequest() { |
| 3659 | *this = ::std::move(from); |
| 3660 | } |
| 3661 | |
| 3662 | inline GetLoggableEntitiesRequest& operator=(GetLoggableEntitiesRequest&& from) noexcept { |
| 3663 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 3664 | if (this != &from) InternalSwap(&from); |
| 3665 | } else { |
| 3666 | CopyFrom(from); |
| 3667 | } |
| 3668 | return *this; |
| 3669 | } |
| 3670 | #endif |
| 3671 | static const ::google::protobuf::Descriptor* descriptor() { |
| 3672 | return default_instance().GetDescriptor(); |
| 3673 | } |
| 3674 | static const GetLoggableEntitiesRequest& default_instance(); |
| 3675 | |
| 3676 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 3677 | static inline const GetLoggableEntitiesRequest* internal_default_instance() { |
| 3678 | return reinterpret_cast<const GetLoggableEntitiesRequest*>( |
| 3679 | &_GetLoggableEntitiesRequest_default_instance_); |
| 3680 | } |
| 3681 | static constexpr int kIndexInFileMessages = |
| 3682 | 21; |
| 3683 | |
| 3684 | void Swap(GetLoggableEntitiesRequest* other); |
| 3685 | friend void swap(GetLoggableEntitiesRequest& a, GetLoggableEntitiesRequest& b) { |
| 3686 | a.Swap(&b); |
| 3687 | } |
| 3688 | |
| 3689 | // implements Message ---------------------------------------------- |
| 3690 | |
| 3691 | inline GetLoggableEntitiesRequest* New() const final { |
| 3692 | return CreateMaybeMessage<GetLoggableEntitiesRequest>(nullptr); |
| 3693 | } |
| 3694 | |
| 3695 | GetLoggableEntitiesRequest* New(::google::protobuf::Arena* arena) const final { |
| 3696 | return CreateMaybeMessage<GetLoggableEntitiesRequest>(arena); |
| 3697 | } |
| 3698 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 3699 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 3700 | void CopyFrom(const GetLoggableEntitiesRequest& from); |
| 3701 | void MergeFrom(const GetLoggableEntitiesRequest& from); |
| 3702 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 3703 | bool IsInitialized() const final; |
| 3704 | |
| 3705 | size_t ByteSizeLong() const final; |
| 3706 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3707 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 3708 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 3709 | #else |
| 3710 | bool MergePartialFromCodedStream( |
| 3711 | ::google::protobuf::io::CodedInputStream* input) final; |
| 3712 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 3713 | void SerializeWithCachedSizes( |
| 3714 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 3715 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 3716 | ::google::protobuf::uint8* target) const final; |
| 3717 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 3718 | |
| 3719 | private: |
| 3720 | void SharedCtor(); |
| 3721 | void SharedDtor(); |
| 3722 | void SetCachedSize(int size) const final; |
| 3723 | void InternalSwap(GetLoggableEntitiesRequest* other); |
| 3724 | private: |
| 3725 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 3726 | return nullptr; |
| 3727 | } |
| 3728 | inline void* MaybeArenaPtr() const { |
| 3729 | return nullptr; |
| 3730 | } |
| 3731 | public: |
| 3732 | |
| 3733 | ::google::protobuf::Metadata GetMetadata() const final; |
| 3734 | |
| 3735 | // nested types ---------------------------------------------------- |
| 3736 | |
| 3737 | // accessors ------------------------------------------------------- |
| 3738 | |
| 3739 | // .dmi.Uuid device_uuid = 1; |
| 3740 | bool has_device_uuid() const; |
| 3741 | void clear_device_uuid(); |
| 3742 | static const int kDeviceUuidFieldNumber = 1; |
| 3743 | const ::dmi::Uuid& device_uuid() const; |
| 3744 | ::dmi::Uuid* release_device_uuid(); |
| 3745 | ::dmi::Uuid* mutable_device_uuid(); |
| 3746 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 3747 | |
| 3748 | // @@protoc_insertion_point(class_scope:dmi.GetLoggableEntitiesRequest) |
| 3749 | private: |
| 3750 | class HasBitSetters; |
| 3751 | |
| 3752 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3753 | ::dmi::Uuid* device_uuid_; |
| 3754 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 3755 | friend struct ::TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto; |
| 3756 | }; |
| 3757 | // =================================================================== |
| 3758 | |
| 3759 | |
| 3760 | // =================================================================== |
| 3761 | |
| 3762 | #ifdef __GNUC__ |
| 3763 | #pragma GCC diagnostic push |
| 3764 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
| 3765 | #endif // __GNUC__ |
| 3766 | // PhysicalInventoryRequest |
| 3767 | |
| 3768 | // .dmi.Uuid device_uuid = 1; |
| 3769 | inline bool PhysicalInventoryRequest::has_device_uuid() const { |
| 3770 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 3771 | } |
| 3772 | inline const ::dmi::Uuid& PhysicalInventoryRequest::device_uuid() const { |
| 3773 | const ::dmi::Uuid* p = device_uuid_; |
| 3774 | // @@protoc_insertion_point(field_get:dmi.PhysicalInventoryRequest.device_uuid) |
| 3775 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 3776 | &::dmi::_Uuid_default_instance_); |
| 3777 | } |
| 3778 | inline ::dmi::Uuid* PhysicalInventoryRequest::release_device_uuid() { |
| 3779 | // @@protoc_insertion_point(field_release:dmi.PhysicalInventoryRequest.device_uuid) |
| 3780 | |
| 3781 | ::dmi::Uuid* temp = device_uuid_; |
| 3782 | device_uuid_ = nullptr; |
| 3783 | return temp; |
| 3784 | } |
| 3785 | inline ::dmi::Uuid* PhysicalInventoryRequest::mutable_device_uuid() { |
| 3786 | |
| 3787 | if (device_uuid_ == nullptr) { |
| 3788 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 3789 | device_uuid_ = p; |
| 3790 | } |
| 3791 | // @@protoc_insertion_point(field_mutable:dmi.PhysicalInventoryRequest.device_uuid) |
| 3792 | return device_uuid_; |
| 3793 | } |
| 3794 | inline void PhysicalInventoryRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 3795 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 3796 | if (message_arena == nullptr) { |
| 3797 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 3798 | } |
| 3799 | if (device_uuid) { |
| 3800 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 3801 | if (message_arena != submessage_arena) { |
| 3802 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 3803 | message_arena, device_uuid, submessage_arena); |
| 3804 | } |
| 3805 | |
| 3806 | } else { |
| 3807 | |
| 3808 | } |
| 3809 | device_uuid_ = device_uuid; |
| 3810 | // @@protoc_insertion_point(field_set_allocated:dmi.PhysicalInventoryRequest.device_uuid) |
| 3811 | } |
| 3812 | |
| 3813 | // ------------------------------------------------------------------- |
| 3814 | |
| 3815 | // PhysicalInventoryResponse |
| 3816 | |
| 3817 | // .dmi.Status status = 1; |
| 3818 | inline void PhysicalInventoryResponse::clear_status() { |
| 3819 | status_ = 0; |
| 3820 | } |
| 3821 | inline ::dmi::Status PhysicalInventoryResponse::status() const { |
| 3822 | // @@protoc_insertion_point(field_get:dmi.PhysicalInventoryResponse.status) |
| 3823 | return static_cast< ::dmi::Status >(status_); |
| 3824 | } |
| 3825 | inline void PhysicalInventoryResponse::set_status(::dmi::Status value) { |
| 3826 | |
| 3827 | status_ = value; |
| 3828 | // @@protoc_insertion_point(field_set:dmi.PhysicalInventoryResponse.status) |
| 3829 | } |
| 3830 | |
| 3831 | // .dmi.PhysicalInventoryResponse.Reason reason = 2; |
| 3832 | inline void PhysicalInventoryResponse::clear_reason() { |
| 3833 | reason_ = 0; |
| 3834 | } |
| 3835 | inline ::dmi::PhysicalInventoryResponse_Reason PhysicalInventoryResponse::reason() const { |
| 3836 | // @@protoc_insertion_point(field_get:dmi.PhysicalInventoryResponse.reason) |
| 3837 | return static_cast< ::dmi::PhysicalInventoryResponse_Reason >(reason_); |
| 3838 | } |
| 3839 | inline void PhysicalInventoryResponse::set_reason(::dmi::PhysicalInventoryResponse_Reason value) { |
| 3840 | |
| 3841 | reason_ = value; |
| 3842 | // @@protoc_insertion_point(field_set:dmi.PhysicalInventoryResponse.reason) |
| 3843 | } |
| 3844 | |
| 3845 | // .dmi.Hardware inventory = 3; |
| 3846 | inline bool PhysicalInventoryResponse::has_inventory() const { |
| 3847 | return this != internal_default_instance() && inventory_ != nullptr; |
| 3848 | } |
| 3849 | inline const ::dmi::Hardware& PhysicalInventoryResponse::inventory() const { |
| 3850 | const ::dmi::Hardware* p = inventory_; |
| 3851 | // @@protoc_insertion_point(field_get:dmi.PhysicalInventoryResponse.inventory) |
| 3852 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Hardware*>( |
| 3853 | &::dmi::_Hardware_default_instance_); |
| 3854 | } |
| 3855 | inline ::dmi::Hardware* PhysicalInventoryResponse::release_inventory() { |
| 3856 | // @@protoc_insertion_point(field_release:dmi.PhysicalInventoryResponse.inventory) |
| 3857 | |
| 3858 | ::dmi::Hardware* temp = inventory_; |
| 3859 | inventory_ = nullptr; |
| 3860 | return temp; |
| 3861 | } |
| 3862 | inline ::dmi::Hardware* PhysicalInventoryResponse::mutable_inventory() { |
| 3863 | |
| 3864 | if (inventory_ == nullptr) { |
| 3865 | auto* p = CreateMaybeMessage<::dmi::Hardware>(GetArenaNoVirtual()); |
| 3866 | inventory_ = p; |
| 3867 | } |
| 3868 | // @@protoc_insertion_point(field_mutable:dmi.PhysicalInventoryResponse.inventory) |
| 3869 | return inventory_; |
| 3870 | } |
| 3871 | inline void PhysicalInventoryResponse::set_allocated_inventory(::dmi::Hardware* inventory) { |
| 3872 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 3873 | if (message_arena == nullptr) { |
| 3874 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(inventory_); |
| 3875 | } |
| 3876 | if (inventory) { |
| 3877 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 3878 | if (message_arena != submessage_arena) { |
| 3879 | inventory = ::google::protobuf::internal::GetOwnedMessage( |
| 3880 | message_arena, inventory, submessage_arena); |
| 3881 | } |
| 3882 | |
| 3883 | } else { |
| 3884 | |
| 3885 | } |
| 3886 | inventory_ = inventory; |
| 3887 | // @@protoc_insertion_point(field_set_allocated:dmi.PhysicalInventoryResponse.inventory) |
| 3888 | } |
| 3889 | |
| 3890 | // string reason_detail = 4; |
| 3891 | inline void PhysicalInventoryResponse::clear_reason_detail() { |
| 3892 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 3893 | } |
| 3894 | inline const ::std::string& PhysicalInventoryResponse::reason_detail() const { |
| 3895 | // @@protoc_insertion_point(field_get:dmi.PhysicalInventoryResponse.reason_detail) |
| 3896 | return reason_detail_.GetNoArena(); |
| 3897 | } |
| 3898 | inline void PhysicalInventoryResponse::set_reason_detail(const ::std::string& value) { |
| 3899 | |
| 3900 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 3901 | // @@protoc_insertion_point(field_set:dmi.PhysicalInventoryResponse.reason_detail) |
| 3902 | } |
| 3903 | #if LANG_CXX11 |
| 3904 | inline void PhysicalInventoryResponse::set_reason_detail(::std::string&& value) { |
| 3905 | |
| 3906 | reason_detail_.SetNoArena( |
| 3907 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 3908 | // @@protoc_insertion_point(field_set_rvalue:dmi.PhysicalInventoryResponse.reason_detail) |
| 3909 | } |
| 3910 | #endif |
| 3911 | inline void PhysicalInventoryResponse::set_reason_detail(const char* value) { |
| 3912 | GOOGLE_DCHECK(value != nullptr); |
| 3913 | |
| 3914 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 3915 | // @@protoc_insertion_point(field_set_char:dmi.PhysicalInventoryResponse.reason_detail) |
| 3916 | } |
| 3917 | inline void PhysicalInventoryResponse::set_reason_detail(const char* value, size_t size) { |
| 3918 | |
| 3919 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 3920 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 3921 | // @@protoc_insertion_point(field_set_pointer:dmi.PhysicalInventoryResponse.reason_detail) |
| 3922 | } |
| 3923 | inline ::std::string* PhysicalInventoryResponse::mutable_reason_detail() { |
| 3924 | |
| 3925 | // @@protoc_insertion_point(field_mutable:dmi.PhysicalInventoryResponse.reason_detail) |
| 3926 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 3927 | } |
| 3928 | inline ::std::string* PhysicalInventoryResponse::release_reason_detail() { |
| 3929 | // @@protoc_insertion_point(field_release:dmi.PhysicalInventoryResponse.reason_detail) |
| 3930 | |
| 3931 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 3932 | } |
| 3933 | inline void PhysicalInventoryResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 3934 | if (reason_detail != nullptr) { |
| 3935 | |
| 3936 | } else { |
| 3937 | |
| 3938 | } |
| 3939 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 3940 | // @@protoc_insertion_point(field_set_allocated:dmi.PhysicalInventoryResponse.reason_detail) |
| 3941 | } |
| 3942 | |
| 3943 | // ------------------------------------------------------------------- |
| 3944 | |
| 3945 | // HWComponentInfoGetRequest |
| 3946 | |
| 3947 | // .dmi.Uuid device_uuid = 1; |
| 3948 | inline bool HWComponentInfoGetRequest::has_device_uuid() const { |
| 3949 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 3950 | } |
| 3951 | inline const ::dmi::Uuid& HWComponentInfoGetRequest::device_uuid() const { |
| 3952 | const ::dmi::Uuid* p = device_uuid_; |
| 3953 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoGetRequest.device_uuid) |
| 3954 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 3955 | &::dmi::_Uuid_default_instance_); |
| 3956 | } |
| 3957 | inline ::dmi::Uuid* HWComponentInfoGetRequest::release_device_uuid() { |
| 3958 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoGetRequest.device_uuid) |
| 3959 | |
| 3960 | ::dmi::Uuid* temp = device_uuid_; |
| 3961 | device_uuid_ = nullptr; |
| 3962 | return temp; |
| 3963 | } |
| 3964 | inline ::dmi::Uuid* HWComponentInfoGetRequest::mutable_device_uuid() { |
| 3965 | |
| 3966 | if (device_uuid_ == nullptr) { |
| 3967 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 3968 | device_uuid_ = p; |
| 3969 | } |
| 3970 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoGetRequest.device_uuid) |
| 3971 | return device_uuid_; |
| 3972 | } |
| 3973 | inline void HWComponentInfoGetRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 3974 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 3975 | if (message_arena == nullptr) { |
| 3976 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 3977 | } |
| 3978 | if (device_uuid) { |
| 3979 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 3980 | if (message_arena != submessage_arena) { |
| 3981 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 3982 | message_arena, device_uuid, submessage_arena); |
| 3983 | } |
| 3984 | |
| 3985 | } else { |
| 3986 | |
| 3987 | } |
| 3988 | device_uuid_ = device_uuid; |
| 3989 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoGetRequest.device_uuid) |
| 3990 | } |
| 3991 | |
| 3992 | // .dmi.Uuid component_uuid = 2; |
| 3993 | inline bool HWComponentInfoGetRequest::has_component_uuid() const { |
| 3994 | return this != internal_default_instance() && component_uuid_ != nullptr; |
| 3995 | } |
| 3996 | inline const ::dmi::Uuid& HWComponentInfoGetRequest::component_uuid() const { |
| 3997 | const ::dmi::Uuid* p = component_uuid_; |
| 3998 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoGetRequest.component_uuid) |
| 3999 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 4000 | &::dmi::_Uuid_default_instance_); |
| 4001 | } |
| 4002 | inline ::dmi::Uuid* HWComponentInfoGetRequest::release_component_uuid() { |
| 4003 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoGetRequest.component_uuid) |
| 4004 | |
| 4005 | ::dmi::Uuid* temp = component_uuid_; |
| 4006 | component_uuid_ = nullptr; |
| 4007 | return temp; |
| 4008 | } |
| 4009 | inline ::dmi::Uuid* HWComponentInfoGetRequest::mutable_component_uuid() { |
| 4010 | |
| 4011 | if (component_uuid_ == nullptr) { |
| 4012 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 4013 | component_uuid_ = p; |
| 4014 | } |
| 4015 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoGetRequest.component_uuid) |
| 4016 | return component_uuid_; |
| 4017 | } |
| 4018 | inline void HWComponentInfoGetRequest::set_allocated_component_uuid(::dmi::Uuid* component_uuid) { |
| 4019 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 4020 | if (message_arena == nullptr) { |
| 4021 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(component_uuid_); |
| 4022 | } |
| 4023 | if (component_uuid) { |
| 4024 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 4025 | if (message_arena != submessage_arena) { |
| 4026 | component_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 4027 | message_arena, component_uuid, submessage_arena); |
| 4028 | } |
| 4029 | |
| 4030 | } else { |
| 4031 | |
| 4032 | } |
| 4033 | component_uuid_ = component_uuid; |
| 4034 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoGetRequest.component_uuid) |
| 4035 | } |
| 4036 | |
| 4037 | // string component_name = 3; |
| 4038 | inline void HWComponentInfoGetRequest::clear_component_name() { |
| 4039 | component_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4040 | } |
| 4041 | inline const ::std::string& HWComponentInfoGetRequest::component_name() const { |
| 4042 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoGetRequest.component_name) |
| 4043 | return component_name_.GetNoArena(); |
| 4044 | } |
| 4045 | inline void HWComponentInfoGetRequest::set_component_name(const ::std::string& value) { |
| 4046 | |
| 4047 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 4048 | // @@protoc_insertion_point(field_set:dmi.HWComponentInfoGetRequest.component_name) |
| 4049 | } |
| 4050 | #if LANG_CXX11 |
| 4051 | inline void HWComponentInfoGetRequest::set_component_name(::std::string&& value) { |
| 4052 | |
| 4053 | component_name_.SetNoArena( |
| 4054 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 4055 | // @@protoc_insertion_point(field_set_rvalue:dmi.HWComponentInfoGetRequest.component_name) |
| 4056 | } |
| 4057 | #endif |
| 4058 | inline void HWComponentInfoGetRequest::set_component_name(const char* value) { |
| 4059 | GOOGLE_DCHECK(value != nullptr); |
| 4060 | |
| 4061 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 4062 | // @@protoc_insertion_point(field_set_char:dmi.HWComponentInfoGetRequest.component_name) |
| 4063 | } |
| 4064 | inline void HWComponentInfoGetRequest::set_component_name(const char* value, size_t size) { |
| 4065 | |
| 4066 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 4067 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 4068 | // @@protoc_insertion_point(field_set_pointer:dmi.HWComponentInfoGetRequest.component_name) |
| 4069 | } |
| 4070 | inline ::std::string* HWComponentInfoGetRequest::mutable_component_name() { |
| 4071 | |
| 4072 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoGetRequest.component_name) |
| 4073 | return component_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4074 | } |
| 4075 | inline ::std::string* HWComponentInfoGetRequest::release_component_name() { |
| 4076 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoGetRequest.component_name) |
| 4077 | |
| 4078 | return component_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4079 | } |
| 4080 | inline void HWComponentInfoGetRequest::set_allocated_component_name(::std::string* component_name) { |
| 4081 | if (component_name != nullptr) { |
| 4082 | |
| 4083 | } else { |
| 4084 | |
| 4085 | } |
| 4086 | component_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), component_name); |
| 4087 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoGetRequest.component_name) |
| 4088 | } |
| 4089 | |
| 4090 | // ------------------------------------------------------------------- |
| 4091 | |
| 4092 | // HWComponentInfoGetResponse |
| 4093 | |
| 4094 | // .dmi.Status status = 1; |
| 4095 | inline void HWComponentInfoGetResponse::clear_status() { |
| 4096 | status_ = 0; |
| 4097 | } |
| 4098 | inline ::dmi::Status HWComponentInfoGetResponse::status() const { |
| 4099 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoGetResponse.status) |
| 4100 | return static_cast< ::dmi::Status >(status_); |
| 4101 | } |
| 4102 | inline void HWComponentInfoGetResponse::set_status(::dmi::Status value) { |
| 4103 | |
| 4104 | status_ = value; |
| 4105 | // @@protoc_insertion_point(field_set:dmi.HWComponentInfoGetResponse.status) |
| 4106 | } |
| 4107 | |
| 4108 | // .dmi.HWComponentInfoGetResponse.Reason reason = 2; |
| 4109 | inline void HWComponentInfoGetResponse::clear_reason() { |
| 4110 | reason_ = 0; |
| 4111 | } |
| 4112 | inline ::dmi::HWComponentInfoGetResponse_Reason HWComponentInfoGetResponse::reason() const { |
| 4113 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoGetResponse.reason) |
| 4114 | return static_cast< ::dmi::HWComponentInfoGetResponse_Reason >(reason_); |
| 4115 | } |
| 4116 | inline void HWComponentInfoGetResponse::set_reason(::dmi::HWComponentInfoGetResponse_Reason value) { |
| 4117 | |
| 4118 | reason_ = value; |
| 4119 | // @@protoc_insertion_point(field_set:dmi.HWComponentInfoGetResponse.reason) |
| 4120 | } |
| 4121 | |
| 4122 | // .dmi.Component component = 3; |
| 4123 | inline bool HWComponentInfoGetResponse::has_component() const { |
| 4124 | return this != internal_default_instance() && component_ != nullptr; |
| 4125 | } |
| 4126 | inline const ::dmi::Component& HWComponentInfoGetResponse::component() const { |
| 4127 | const ::dmi::Component* p = component_; |
| 4128 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoGetResponse.component) |
| 4129 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Component*>( |
| 4130 | &::dmi::_Component_default_instance_); |
| 4131 | } |
| 4132 | inline ::dmi::Component* HWComponentInfoGetResponse::release_component() { |
| 4133 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoGetResponse.component) |
| 4134 | |
| 4135 | ::dmi::Component* temp = component_; |
| 4136 | component_ = nullptr; |
| 4137 | return temp; |
| 4138 | } |
| 4139 | inline ::dmi::Component* HWComponentInfoGetResponse::mutable_component() { |
| 4140 | |
| 4141 | if (component_ == nullptr) { |
| 4142 | auto* p = CreateMaybeMessage<::dmi::Component>(GetArenaNoVirtual()); |
| 4143 | component_ = p; |
| 4144 | } |
| 4145 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoGetResponse.component) |
| 4146 | return component_; |
| 4147 | } |
| 4148 | inline void HWComponentInfoGetResponse::set_allocated_component(::dmi::Component* component) { |
| 4149 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 4150 | if (message_arena == nullptr) { |
| 4151 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(component_); |
| 4152 | } |
| 4153 | if (component) { |
| 4154 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 4155 | if (message_arena != submessage_arena) { |
| 4156 | component = ::google::protobuf::internal::GetOwnedMessage( |
| 4157 | message_arena, component, submessage_arena); |
| 4158 | } |
| 4159 | |
| 4160 | } else { |
| 4161 | |
| 4162 | } |
| 4163 | component_ = component; |
| 4164 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoGetResponse.component) |
| 4165 | } |
| 4166 | |
| 4167 | // string reason_detail = 4; |
| 4168 | inline void HWComponentInfoGetResponse::clear_reason_detail() { |
| 4169 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4170 | } |
| 4171 | inline const ::std::string& HWComponentInfoGetResponse::reason_detail() const { |
| 4172 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoGetResponse.reason_detail) |
| 4173 | return reason_detail_.GetNoArena(); |
| 4174 | } |
| 4175 | inline void HWComponentInfoGetResponse::set_reason_detail(const ::std::string& value) { |
| 4176 | |
| 4177 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 4178 | // @@protoc_insertion_point(field_set:dmi.HWComponentInfoGetResponse.reason_detail) |
| 4179 | } |
| 4180 | #if LANG_CXX11 |
| 4181 | inline void HWComponentInfoGetResponse::set_reason_detail(::std::string&& value) { |
| 4182 | |
| 4183 | reason_detail_.SetNoArena( |
| 4184 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 4185 | // @@protoc_insertion_point(field_set_rvalue:dmi.HWComponentInfoGetResponse.reason_detail) |
| 4186 | } |
| 4187 | #endif |
| 4188 | inline void HWComponentInfoGetResponse::set_reason_detail(const char* value) { |
| 4189 | GOOGLE_DCHECK(value != nullptr); |
| 4190 | |
| 4191 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 4192 | // @@protoc_insertion_point(field_set_char:dmi.HWComponentInfoGetResponse.reason_detail) |
| 4193 | } |
| 4194 | inline void HWComponentInfoGetResponse::set_reason_detail(const char* value, size_t size) { |
| 4195 | |
| 4196 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 4197 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 4198 | // @@protoc_insertion_point(field_set_pointer:dmi.HWComponentInfoGetResponse.reason_detail) |
| 4199 | } |
| 4200 | inline ::std::string* HWComponentInfoGetResponse::mutable_reason_detail() { |
| 4201 | |
| 4202 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoGetResponse.reason_detail) |
| 4203 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4204 | } |
| 4205 | inline ::std::string* HWComponentInfoGetResponse::release_reason_detail() { |
| 4206 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoGetResponse.reason_detail) |
| 4207 | |
| 4208 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4209 | } |
| 4210 | inline void HWComponentInfoGetResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 4211 | if (reason_detail != nullptr) { |
| 4212 | |
| 4213 | } else { |
| 4214 | |
| 4215 | } |
| 4216 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 4217 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoGetResponse.reason_detail) |
| 4218 | } |
| 4219 | |
| 4220 | // ------------------------------------------------------------------- |
| 4221 | |
| 4222 | // HWComponentInfoSetRequest |
| 4223 | |
| 4224 | // .dmi.Uuid device_uuid = 1; |
| 4225 | inline bool HWComponentInfoSetRequest::has_device_uuid() const { |
| 4226 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 4227 | } |
| 4228 | inline const ::dmi::Uuid& HWComponentInfoSetRequest::device_uuid() const { |
| 4229 | const ::dmi::Uuid* p = device_uuid_; |
| 4230 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoSetRequest.device_uuid) |
| 4231 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 4232 | &::dmi::_Uuid_default_instance_); |
| 4233 | } |
| 4234 | inline ::dmi::Uuid* HWComponentInfoSetRequest::release_device_uuid() { |
| 4235 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoSetRequest.device_uuid) |
| 4236 | |
| 4237 | ::dmi::Uuid* temp = device_uuid_; |
| 4238 | device_uuid_ = nullptr; |
| 4239 | return temp; |
| 4240 | } |
| 4241 | inline ::dmi::Uuid* HWComponentInfoSetRequest::mutable_device_uuid() { |
| 4242 | |
| 4243 | if (device_uuid_ == nullptr) { |
| 4244 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 4245 | device_uuid_ = p; |
| 4246 | } |
| 4247 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoSetRequest.device_uuid) |
| 4248 | return device_uuid_; |
| 4249 | } |
| 4250 | inline void HWComponentInfoSetRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 4251 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 4252 | if (message_arena == nullptr) { |
| 4253 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 4254 | } |
| 4255 | if (device_uuid) { |
| 4256 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 4257 | if (message_arena != submessage_arena) { |
| 4258 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 4259 | message_arena, device_uuid, submessage_arena); |
| 4260 | } |
| 4261 | |
| 4262 | } else { |
| 4263 | |
| 4264 | } |
| 4265 | device_uuid_ = device_uuid; |
| 4266 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoSetRequest.device_uuid) |
| 4267 | } |
| 4268 | |
| 4269 | // .dmi.Uuid component_uuid = 2; |
| 4270 | inline bool HWComponentInfoSetRequest::has_component_uuid() const { |
| 4271 | return this != internal_default_instance() && component_uuid_ != nullptr; |
| 4272 | } |
| 4273 | inline const ::dmi::Uuid& HWComponentInfoSetRequest::component_uuid() const { |
| 4274 | const ::dmi::Uuid* p = component_uuid_; |
| 4275 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoSetRequest.component_uuid) |
| 4276 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 4277 | &::dmi::_Uuid_default_instance_); |
| 4278 | } |
| 4279 | inline ::dmi::Uuid* HWComponentInfoSetRequest::release_component_uuid() { |
| 4280 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoSetRequest.component_uuid) |
| 4281 | |
| 4282 | ::dmi::Uuid* temp = component_uuid_; |
| 4283 | component_uuid_ = nullptr; |
| 4284 | return temp; |
| 4285 | } |
| 4286 | inline ::dmi::Uuid* HWComponentInfoSetRequest::mutable_component_uuid() { |
| 4287 | |
| 4288 | if (component_uuid_ == nullptr) { |
| 4289 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 4290 | component_uuid_ = p; |
| 4291 | } |
| 4292 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoSetRequest.component_uuid) |
| 4293 | return component_uuid_; |
| 4294 | } |
| 4295 | inline void HWComponentInfoSetRequest::set_allocated_component_uuid(::dmi::Uuid* component_uuid) { |
| 4296 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 4297 | if (message_arena == nullptr) { |
| 4298 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(component_uuid_); |
| 4299 | } |
| 4300 | if (component_uuid) { |
| 4301 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 4302 | if (message_arena != submessage_arena) { |
| 4303 | component_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 4304 | message_arena, component_uuid, submessage_arena); |
| 4305 | } |
| 4306 | |
| 4307 | } else { |
| 4308 | |
| 4309 | } |
| 4310 | component_uuid_ = component_uuid; |
| 4311 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoSetRequest.component_uuid) |
| 4312 | } |
| 4313 | |
| 4314 | // string component_name = 3; |
| 4315 | inline void HWComponentInfoSetRequest::clear_component_name() { |
| 4316 | component_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4317 | } |
| 4318 | inline const ::std::string& HWComponentInfoSetRequest::component_name() const { |
| 4319 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoSetRequest.component_name) |
| 4320 | return component_name_.GetNoArena(); |
| 4321 | } |
| 4322 | inline void HWComponentInfoSetRequest::set_component_name(const ::std::string& value) { |
| 4323 | |
| 4324 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 4325 | // @@protoc_insertion_point(field_set:dmi.HWComponentInfoSetRequest.component_name) |
| 4326 | } |
| 4327 | #if LANG_CXX11 |
| 4328 | inline void HWComponentInfoSetRequest::set_component_name(::std::string&& value) { |
| 4329 | |
| 4330 | component_name_.SetNoArena( |
| 4331 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 4332 | // @@protoc_insertion_point(field_set_rvalue:dmi.HWComponentInfoSetRequest.component_name) |
| 4333 | } |
| 4334 | #endif |
| 4335 | inline void HWComponentInfoSetRequest::set_component_name(const char* value) { |
| 4336 | GOOGLE_DCHECK(value != nullptr); |
| 4337 | |
| 4338 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 4339 | // @@protoc_insertion_point(field_set_char:dmi.HWComponentInfoSetRequest.component_name) |
| 4340 | } |
| 4341 | inline void HWComponentInfoSetRequest::set_component_name(const char* value, size_t size) { |
| 4342 | |
| 4343 | component_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 4344 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 4345 | // @@protoc_insertion_point(field_set_pointer:dmi.HWComponentInfoSetRequest.component_name) |
| 4346 | } |
| 4347 | inline ::std::string* HWComponentInfoSetRequest::mutable_component_name() { |
| 4348 | |
| 4349 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoSetRequest.component_name) |
| 4350 | return component_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4351 | } |
| 4352 | inline ::std::string* HWComponentInfoSetRequest::release_component_name() { |
| 4353 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoSetRequest.component_name) |
| 4354 | |
| 4355 | return component_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4356 | } |
| 4357 | inline void HWComponentInfoSetRequest::set_allocated_component_name(::std::string* component_name) { |
| 4358 | if (component_name != nullptr) { |
| 4359 | |
| 4360 | } else { |
| 4361 | |
| 4362 | } |
| 4363 | component_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), component_name); |
| 4364 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoSetRequest.component_name) |
| 4365 | } |
| 4366 | |
| 4367 | // .dmi.ModifiableComponent changes = 4; |
| 4368 | inline bool HWComponentInfoSetRequest::has_changes() const { |
| 4369 | return this != internal_default_instance() && changes_ != nullptr; |
| 4370 | } |
| 4371 | inline const ::dmi::ModifiableComponent& HWComponentInfoSetRequest::changes() const { |
| 4372 | const ::dmi::ModifiableComponent* p = changes_; |
| 4373 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoSetRequest.changes) |
| 4374 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::ModifiableComponent*>( |
| 4375 | &::dmi::_ModifiableComponent_default_instance_); |
| 4376 | } |
| 4377 | inline ::dmi::ModifiableComponent* HWComponentInfoSetRequest::release_changes() { |
| 4378 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoSetRequest.changes) |
| 4379 | |
| 4380 | ::dmi::ModifiableComponent* temp = changes_; |
| 4381 | changes_ = nullptr; |
| 4382 | return temp; |
| 4383 | } |
| 4384 | inline ::dmi::ModifiableComponent* HWComponentInfoSetRequest::mutable_changes() { |
| 4385 | |
| 4386 | if (changes_ == nullptr) { |
| 4387 | auto* p = CreateMaybeMessage<::dmi::ModifiableComponent>(GetArenaNoVirtual()); |
| 4388 | changes_ = p; |
| 4389 | } |
| 4390 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoSetRequest.changes) |
| 4391 | return changes_; |
| 4392 | } |
| 4393 | inline void HWComponentInfoSetRequest::set_allocated_changes(::dmi::ModifiableComponent* changes) { |
| 4394 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 4395 | if (message_arena == nullptr) { |
| 4396 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(changes_); |
| 4397 | } |
| 4398 | if (changes) { |
| 4399 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 4400 | if (message_arena != submessage_arena) { |
| 4401 | changes = ::google::protobuf::internal::GetOwnedMessage( |
| 4402 | message_arena, changes, submessage_arena); |
| 4403 | } |
| 4404 | |
| 4405 | } else { |
| 4406 | |
| 4407 | } |
| 4408 | changes_ = changes; |
| 4409 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoSetRequest.changes) |
| 4410 | } |
| 4411 | |
| 4412 | // ------------------------------------------------------------------- |
| 4413 | |
| 4414 | // HWComponentInfoSetResponse |
| 4415 | |
| 4416 | // .dmi.Status status = 1; |
| 4417 | inline void HWComponentInfoSetResponse::clear_status() { |
| 4418 | status_ = 0; |
| 4419 | } |
| 4420 | inline ::dmi::Status HWComponentInfoSetResponse::status() const { |
| 4421 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoSetResponse.status) |
| 4422 | return static_cast< ::dmi::Status >(status_); |
| 4423 | } |
| 4424 | inline void HWComponentInfoSetResponse::set_status(::dmi::Status value) { |
| 4425 | |
| 4426 | status_ = value; |
| 4427 | // @@protoc_insertion_point(field_set:dmi.HWComponentInfoSetResponse.status) |
| 4428 | } |
| 4429 | |
| 4430 | // .dmi.HWComponentInfoSetResponse.Reason reason = 2; |
| 4431 | inline void HWComponentInfoSetResponse::clear_reason() { |
| 4432 | reason_ = 0; |
| 4433 | } |
| 4434 | inline ::dmi::HWComponentInfoSetResponse_Reason HWComponentInfoSetResponse::reason() const { |
| 4435 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoSetResponse.reason) |
| 4436 | return static_cast< ::dmi::HWComponentInfoSetResponse_Reason >(reason_); |
| 4437 | } |
| 4438 | inline void HWComponentInfoSetResponse::set_reason(::dmi::HWComponentInfoSetResponse_Reason value) { |
| 4439 | |
| 4440 | reason_ = value; |
| 4441 | // @@protoc_insertion_point(field_set:dmi.HWComponentInfoSetResponse.reason) |
| 4442 | } |
| 4443 | |
| 4444 | // string reason_detail = 3; |
| 4445 | inline void HWComponentInfoSetResponse::clear_reason_detail() { |
| 4446 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4447 | } |
| 4448 | inline const ::std::string& HWComponentInfoSetResponse::reason_detail() const { |
| 4449 | // @@protoc_insertion_point(field_get:dmi.HWComponentInfoSetResponse.reason_detail) |
| 4450 | return reason_detail_.GetNoArena(); |
| 4451 | } |
| 4452 | inline void HWComponentInfoSetResponse::set_reason_detail(const ::std::string& value) { |
| 4453 | |
| 4454 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 4455 | // @@protoc_insertion_point(field_set:dmi.HWComponentInfoSetResponse.reason_detail) |
| 4456 | } |
| 4457 | #if LANG_CXX11 |
| 4458 | inline void HWComponentInfoSetResponse::set_reason_detail(::std::string&& value) { |
| 4459 | |
| 4460 | reason_detail_.SetNoArena( |
| 4461 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 4462 | // @@protoc_insertion_point(field_set_rvalue:dmi.HWComponentInfoSetResponse.reason_detail) |
| 4463 | } |
| 4464 | #endif |
| 4465 | inline void HWComponentInfoSetResponse::set_reason_detail(const char* value) { |
| 4466 | GOOGLE_DCHECK(value != nullptr); |
| 4467 | |
| 4468 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 4469 | // @@protoc_insertion_point(field_set_char:dmi.HWComponentInfoSetResponse.reason_detail) |
| 4470 | } |
| 4471 | inline void HWComponentInfoSetResponse::set_reason_detail(const char* value, size_t size) { |
| 4472 | |
| 4473 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 4474 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 4475 | // @@protoc_insertion_point(field_set_pointer:dmi.HWComponentInfoSetResponse.reason_detail) |
| 4476 | } |
| 4477 | inline ::std::string* HWComponentInfoSetResponse::mutable_reason_detail() { |
| 4478 | |
| 4479 | // @@protoc_insertion_point(field_mutable:dmi.HWComponentInfoSetResponse.reason_detail) |
| 4480 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4481 | } |
| 4482 | inline ::std::string* HWComponentInfoSetResponse::release_reason_detail() { |
| 4483 | // @@protoc_insertion_point(field_release:dmi.HWComponentInfoSetResponse.reason_detail) |
| 4484 | |
| 4485 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4486 | } |
| 4487 | inline void HWComponentInfoSetResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 4488 | if (reason_detail != nullptr) { |
| 4489 | |
| 4490 | } else { |
| 4491 | |
| 4492 | } |
| 4493 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 4494 | // @@protoc_insertion_point(field_set_allocated:dmi.HWComponentInfoSetResponse.reason_detail) |
| 4495 | } |
| 4496 | |
| 4497 | // ------------------------------------------------------------------- |
| 4498 | |
| 4499 | // StartManagingDeviceResponse |
| 4500 | |
| 4501 | // .dmi.Status status = 1; |
| 4502 | inline void StartManagingDeviceResponse::clear_status() { |
| 4503 | status_ = 0; |
| 4504 | } |
| 4505 | inline ::dmi::Status StartManagingDeviceResponse::status() const { |
| 4506 | // @@protoc_insertion_point(field_get:dmi.StartManagingDeviceResponse.status) |
| 4507 | return static_cast< ::dmi::Status >(status_); |
| 4508 | } |
| 4509 | inline void StartManagingDeviceResponse::set_status(::dmi::Status value) { |
| 4510 | |
| 4511 | status_ = value; |
| 4512 | // @@protoc_insertion_point(field_set:dmi.StartManagingDeviceResponse.status) |
| 4513 | } |
| 4514 | |
| 4515 | // .dmi.StartManagingDeviceResponse.Reason reason = 2; |
| 4516 | inline void StartManagingDeviceResponse::clear_reason() { |
| 4517 | reason_ = 0; |
| 4518 | } |
| 4519 | inline ::dmi::StartManagingDeviceResponse_Reason StartManagingDeviceResponse::reason() const { |
| 4520 | // @@protoc_insertion_point(field_get:dmi.StartManagingDeviceResponse.reason) |
| 4521 | return static_cast< ::dmi::StartManagingDeviceResponse_Reason >(reason_); |
| 4522 | } |
| 4523 | inline void StartManagingDeviceResponse::set_reason(::dmi::StartManagingDeviceResponse_Reason value) { |
| 4524 | |
| 4525 | reason_ = value; |
| 4526 | // @@protoc_insertion_point(field_set:dmi.StartManagingDeviceResponse.reason) |
| 4527 | } |
| 4528 | |
| 4529 | // .dmi.Uuid device_uuid = 3; |
| 4530 | inline bool StartManagingDeviceResponse::has_device_uuid() const { |
| 4531 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 4532 | } |
| 4533 | inline const ::dmi::Uuid& StartManagingDeviceResponse::device_uuid() const { |
| 4534 | const ::dmi::Uuid* p = device_uuid_; |
| 4535 | // @@protoc_insertion_point(field_get:dmi.StartManagingDeviceResponse.device_uuid) |
| 4536 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 4537 | &::dmi::_Uuid_default_instance_); |
| 4538 | } |
| 4539 | inline ::dmi::Uuid* StartManagingDeviceResponse::release_device_uuid() { |
| 4540 | // @@protoc_insertion_point(field_release:dmi.StartManagingDeviceResponse.device_uuid) |
| 4541 | |
| 4542 | ::dmi::Uuid* temp = device_uuid_; |
| 4543 | device_uuid_ = nullptr; |
| 4544 | return temp; |
| 4545 | } |
| 4546 | inline ::dmi::Uuid* StartManagingDeviceResponse::mutable_device_uuid() { |
| 4547 | |
| 4548 | if (device_uuid_ == nullptr) { |
| 4549 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 4550 | device_uuid_ = p; |
| 4551 | } |
| 4552 | // @@protoc_insertion_point(field_mutable:dmi.StartManagingDeviceResponse.device_uuid) |
| 4553 | return device_uuid_; |
| 4554 | } |
| 4555 | inline void StartManagingDeviceResponse::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 4556 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 4557 | if (message_arena == nullptr) { |
| 4558 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 4559 | } |
| 4560 | if (device_uuid) { |
| 4561 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 4562 | if (message_arena != submessage_arena) { |
| 4563 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 4564 | message_arena, device_uuid, submessage_arena); |
| 4565 | } |
| 4566 | |
| 4567 | } else { |
| 4568 | |
| 4569 | } |
| 4570 | device_uuid_ = device_uuid; |
| 4571 | // @@protoc_insertion_point(field_set_allocated:dmi.StartManagingDeviceResponse.device_uuid) |
| 4572 | } |
| 4573 | |
| 4574 | // string reason_detail = 4; |
| 4575 | inline void StartManagingDeviceResponse::clear_reason_detail() { |
| 4576 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4577 | } |
| 4578 | inline const ::std::string& StartManagingDeviceResponse::reason_detail() const { |
| 4579 | // @@protoc_insertion_point(field_get:dmi.StartManagingDeviceResponse.reason_detail) |
| 4580 | return reason_detail_.GetNoArena(); |
| 4581 | } |
| 4582 | inline void StartManagingDeviceResponse::set_reason_detail(const ::std::string& value) { |
| 4583 | |
| 4584 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 4585 | // @@protoc_insertion_point(field_set:dmi.StartManagingDeviceResponse.reason_detail) |
| 4586 | } |
| 4587 | #if LANG_CXX11 |
| 4588 | inline void StartManagingDeviceResponse::set_reason_detail(::std::string&& value) { |
| 4589 | |
| 4590 | reason_detail_.SetNoArena( |
| 4591 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 4592 | // @@protoc_insertion_point(field_set_rvalue:dmi.StartManagingDeviceResponse.reason_detail) |
| 4593 | } |
| 4594 | #endif |
| 4595 | inline void StartManagingDeviceResponse::set_reason_detail(const char* value) { |
| 4596 | GOOGLE_DCHECK(value != nullptr); |
| 4597 | |
| 4598 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 4599 | // @@protoc_insertion_point(field_set_char:dmi.StartManagingDeviceResponse.reason_detail) |
| 4600 | } |
| 4601 | inline void StartManagingDeviceResponse::set_reason_detail(const char* value, size_t size) { |
| 4602 | |
| 4603 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 4604 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 4605 | // @@protoc_insertion_point(field_set_pointer:dmi.StartManagingDeviceResponse.reason_detail) |
| 4606 | } |
| 4607 | inline ::std::string* StartManagingDeviceResponse::mutable_reason_detail() { |
| 4608 | |
| 4609 | // @@protoc_insertion_point(field_mutable:dmi.StartManagingDeviceResponse.reason_detail) |
| 4610 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4611 | } |
| 4612 | inline ::std::string* StartManagingDeviceResponse::release_reason_detail() { |
| 4613 | // @@protoc_insertion_point(field_release:dmi.StartManagingDeviceResponse.reason_detail) |
| 4614 | |
| 4615 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4616 | } |
| 4617 | inline void StartManagingDeviceResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 4618 | if (reason_detail != nullptr) { |
| 4619 | |
| 4620 | } else { |
| 4621 | |
| 4622 | } |
| 4623 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 4624 | // @@protoc_insertion_point(field_set_allocated:dmi.StartManagingDeviceResponse.reason_detail) |
| 4625 | } |
| 4626 | |
| 4627 | // ------------------------------------------------------------------- |
| 4628 | |
| 4629 | // StopManagingDeviceRequest |
| 4630 | |
| 4631 | // string name = 1; |
| 4632 | inline void StopManagingDeviceRequest::clear_name() { |
| 4633 | name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4634 | } |
| 4635 | inline const ::std::string& StopManagingDeviceRequest::name() const { |
| 4636 | // @@protoc_insertion_point(field_get:dmi.StopManagingDeviceRequest.name) |
| 4637 | return name_.GetNoArena(); |
| 4638 | } |
| 4639 | inline void StopManagingDeviceRequest::set_name(const ::std::string& value) { |
| 4640 | |
| 4641 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 4642 | // @@protoc_insertion_point(field_set:dmi.StopManagingDeviceRequest.name) |
| 4643 | } |
| 4644 | #if LANG_CXX11 |
| 4645 | inline void StopManagingDeviceRequest::set_name(::std::string&& value) { |
| 4646 | |
| 4647 | name_.SetNoArena( |
| 4648 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 4649 | // @@protoc_insertion_point(field_set_rvalue:dmi.StopManagingDeviceRequest.name) |
| 4650 | } |
| 4651 | #endif |
| 4652 | inline void StopManagingDeviceRequest::set_name(const char* value) { |
| 4653 | GOOGLE_DCHECK(value != nullptr); |
| 4654 | |
| 4655 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 4656 | // @@protoc_insertion_point(field_set_char:dmi.StopManagingDeviceRequest.name) |
| 4657 | } |
| 4658 | inline void StopManagingDeviceRequest::set_name(const char* value, size_t size) { |
| 4659 | |
| 4660 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 4661 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 4662 | // @@protoc_insertion_point(field_set_pointer:dmi.StopManagingDeviceRequest.name) |
| 4663 | } |
| 4664 | inline ::std::string* StopManagingDeviceRequest::mutable_name() { |
| 4665 | |
| 4666 | // @@protoc_insertion_point(field_mutable:dmi.StopManagingDeviceRequest.name) |
| 4667 | return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4668 | } |
| 4669 | inline ::std::string* StopManagingDeviceRequest::release_name() { |
| 4670 | // @@protoc_insertion_point(field_release:dmi.StopManagingDeviceRequest.name) |
| 4671 | |
| 4672 | return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4673 | } |
| 4674 | inline void StopManagingDeviceRequest::set_allocated_name(::std::string* name) { |
| 4675 | if (name != nullptr) { |
| 4676 | |
| 4677 | } else { |
| 4678 | |
| 4679 | } |
| 4680 | name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); |
| 4681 | // @@protoc_insertion_point(field_set_allocated:dmi.StopManagingDeviceRequest.name) |
| 4682 | } |
| 4683 | |
| 4684 | // ------------------------------------------------------------------- |
| 4685 | |
| 4686 | // StopManagingDeviceResponse |
| 4687 | |
| 4688 | // .dmi.Status status = 1; |
| 4689 | inline void StopManagingDeviceResponse::clear_status() { |
| 4690 | status_ = 0; |
| 4691 | } |
| 4692 | inline ::dmi::Status StopManagingDeviceResponse::status() const { |
| 4693 | // @@protoc_insertion_point(field_get:dmi.StopManagingDeviceResponse.status) |
| 4694 | return static_cast< ::dmi::Status >(status_); |
| 4695 | } |
| 4696 | inline void StopManagingDeviceResponse::set_status(::dmi::Status value) { |
| 4697 | |
| 4698 | status_ = value; |
| 4699 | // @@protoc_insertion_point(field_set:dmi.StopManagingDeviceResponse.status) |
| 4700 | } |
| 4701 | |
| 4702 | // .dmi.StopManagingDeviceResponse.Reason reason = 2; |
| 4703 | inline void StopManagingDeviceResponse::clear_reason() { |
| 4704 | reason_ = 0; |
| 4705 | } |
| 4706 | inline ::dmi::StopManagingDeviceResponse_Reason StopManagingDeviceResponse::reason() const { |
| 4707 | // @@protoc_insertion_point(field_get:dmi.StopManagingDeviceResponse.reason) |
| 4708 | return static_cast< ::dmi::StopManagingDeviceResponse_Reason >(reason_); |
| 4709 | } |
| 4710 | inline void StopManagingDeviceResponse::set_reason(::dmi::StopManagingDeviceResponse_Reason value) { |
| 4711 | |
| 4712 | reason_ = value; |
| 4713 | // @@protoc_insertion_point(field_set:dmi.StopManagingDeviceResponse.reason) |
| 4714 | } |
| 4715 | |
| 4716 | // string reason_detail = 3; |
| 4717 | inline void StopManagingDeviceResponse::clear_reason_detail() { |
| 4718 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4719 | } |
| 4720 | inline const ::std::string& StopManagingDeviceResponse::reason_detail() const { |
| 4721 | // @@protoc_insertion_point(field_get:dmi.StopManagingDeviceResponse.reason_detail) |
| 4722 | return reason_detail_.GetNoArena(); |
| 4723 | } |
| 4724 | inline void StopManagingDeviceResponse::set_reason_detail(const ::std::string& value) { |
| 4725 | |
| 4726 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 4727 | // @@protoc_insertion_point(field_set:dmi.StopManagingDeviceResponse.reason_detail) |
| 4728 | } |
| 4729 | #if LANG_CXX11 |
| 4730 | inline void StopManagingDeviceResponse::set_reason_detail(::std::string&& value) { |
| 4731 | |
| 4732 | reason_detail_.SetNoArena( |
| 4733 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 4734 | // @@protoc_insertion_point(field_set_rvalue:dmi.StopManagingDeviceResponse.reason_detail) |
| 4735 | } |
| 4736 | #endif |
| 4737 | inline void StopManagingDeviceResponse::set_reason_detail(const char* value) { |
| 4738 | GOOGLE_DCHECK(value != nullptr); |
| 4739 | |
| 4740 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 4741 | // @@protoc_insertion_point(field_set_char:dmi.StopManagingDeviceResponse.reason_detail) |
| 4742 | } |
| 4743 | inline void StopManagingDeviceResponse::set_reason_detail(const char* value, size_t size) { |
| 4744 | |
| 4745 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 4746 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 4747 | // @@protoc_insertion_point(field_set_pointer:dmi.StopManagingDeviceResponse.reason_detail) |
| 4748 | } |
| 4749 | inline ::std::string* StopManagingDeviceResponse::mutable_reason_detail() { |
| 4750 | |
| 4751 | // @@protoc_insertion_point(field_mutable:dmi.StopManagingDeviceResponse.reason_detail) |
| 4752 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4753 | } |
| 4754 | inline ::std::string* StopManagingDeviceResponse::release_reason_detail() { |
| 4755 | // @@protoc_insertion_point(field_release:dmi.StopManagingDeviceResponse.reason_detail) |
| 4756 | |
| 4757 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4758 | } |
| 4759 | inline void StopManagingDeviceResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 4760 | if (reason_detail != nullptr) { |
| 4761 | |
| 4762 | } else { |
| 4763 | |
| 4764 | } |
| 4765 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 4766 | // @@protoc_insertion_point(field_set_allocated:dmi.StopManagingDeviceResponse.reason_detail) |
| 4767 | } |
| 4768 | |
| 4769 | // ------------------------------------------------------------------- |
| 4770 | |
| 4771 | // ManagedDeviceInfo |
| 4772 | |
| 4773 | // .dmi.ModifiableComponent info = 1; |
| 4774 | inline bool ManagedDeviceInfo::has_info() const { |
| 4775 | return this != internal_default_instance() && info_ != nullptr; |
| 4776 | } |
| 4777 | inline const ::dmi::ModifiableComponent& ManagedDeviceInfo::info() const { |
| 4778 | const ::dmi::ModifiableComponent* p = info_; |
| 4779 | // @@protoc_insertion_point(field_get:dmi.ManagedDeviceInfo.info) |
| 4780 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::ModifiableComponent*>( |
| 4781 | &::dmi::_ModifiableComponent_default_instance_); |
| 4782 | } |
| 4783 | inline ::dmi::ModifiableComponent* ManagedDeviceInfo::release_info() { |
| 4784 | // @@protoc_insertion_point(field_release:dmi.ManagedDeviceInfo.info) |
| 4785 | |
| 4786 | ::dmi::ModifiableComponent* temp = info_; |
| 4787 | info_ = nullptr; |
| 4788 | return temp; |
| 4789 | } |
| 4790 | inline ::dmi::ModifiableComponent* ManagedDeviceInfo::mutable_info() { |
| 4791 | |
| 4792 | if (info_ == nullptr) { |
| 4793 | auto* p = CreateMaybeMessage<::dmi::ModifiableComponent>(GetArenaNoVirtual()); |
| 4794 | info_ = p; |
| 4795 | } |
| 4796 | // @@protoc_insertion_point(field_mutable:dmi.ManagedDeviceInfo.info) |
| 4797 | return info_; |
| 4798 | } |
| 4799 | inline void ManagedDeviceInfo::set_allocated_info(::dmi::ModifiableComponent* info) { |
| 4800 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 4801 | if (message_arena == nullptr) { |
| 4802 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(info_); |
| 4803 | } |
| 4804 | if (info) { |
| 4805 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 4806 | if (message_arena != submessage_arena) { |
| 4807 | info = ::google::protobuf::internal::GetOwnedMessage( |
| 4808 | message_arena, info, submessage_arena); |
| 4809 | } |
| 4810 | |
| 4811 | } else { |
| 4812 | |
| 4813 | } |
| 4814 | info_ = info; |
| 4815 | // @@protoc_insertion_point(field_set_allocated:dmi.ManagedDeviceInfo.info) |
| 4816 | } |
| 4817 | |
| 4818 | // .dmi.Uuid device_uuid = 2; |
| 4819 | inline bool ManagedDeviceInfo::has_device_uuid() const { |
| 4820 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 4821 | } |
| 4822 | inline const ::dmi::Uuid& ManagedDeviceInfo::device_uuid() const { |
| 4823 | const ::dmi::Uuid* p = device_uuid_; |
| 4824 | // @@protoc_insertion_point(field_get:dmi.ManagedDeviceInfo.device_uuid) |
| 4825 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 4826 | &::dmi::_Uuid_default_instance_); |
| 4827 | } |
| 4828 | inline ::dmi::Uuid* ManagedDeviceInfo::release_device_uuid() { |
| 4829 | // @@protoc_insertion_point(field_release:dmi.ManagedDeviceInfo.device_uuid) |
| 4830 | |
| 4831 | ::dmi::Uuid* temp = device_uuid_; |
| 4832 | device_uuid_ = nullptr; |
| 4833 | return temp; |
| 4834 | } |
| 4835 | inline ::dmi::Uuid* ManagedDeviceInfo::mutable_device_uuid() { |
| 4836 | |
| 4837 | if (device_uuid_ == nullptr) { |
| 4838 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 4839 | device_uuid_ = p; |
| 4840 | } |
| 4841 | // @@protoc_insertion_point(field_mutable:dmi.ManagedDeviceInfo.device_uuid) |
| 4842 | return device_uuid_; |
| 4843 | } |
| 4844 | inline void ManagedDeviceInfo::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 4845 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 4846 | if (message_arena == nullptr) { |
| 4847 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 4848 | } |
| 4849 | if (device_uuid) { |
| 4850 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 4851 | if (message_arena != submessage_arena) { |
| 4852 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 4853 | message_arena, device_uuid, submessage_arena); |
| 4854 | } |
| 4855 | |
| 4856 | } else { |
| 4857 | |
| 4858 | } |
| 4859 | device_uuid_ = device_uuid; |
| 4860 | // @@protoc_insertion_point(field_set_allocated:dmi.ManagedDeviceInfo.device_uuid) |
| 4861 | } |
| 4862 | |
| 4863 | // ------------------------------------------------------------------- |
| 4864 | |
| 4865 | // ManagedDevicesResponse |
| 4866 | |
| 4867 | // .dmi.Status status = 1; |
| 4868 | inline void ManagedDevicesResponse::clear_status() { |
| 4869 | status_ = 0; |
| 4870 | } |
| 4871 | inline ::dmi::Status ManagedDevicesResponse::status() const { |
| 4872 | // @@protoc_insertion_point(field_get:dmi.ManagedDevicesResponse.status) |
| 4873 | return static_cast< ::dmi::Status >(status_); |
| 4874 | } |
| 4875 | inline void ManagedDevicesResponse::set_status(::dmi::Status value) { |
| 4876 | |
| 4877 | status_ = value; |
| 4878 | // @@protoc_insertion_point(field_set:dmi.ManagedDevicesResponse.status) |
| 4879 | } |
| 4880 | |
| 4881 | // .dmi.ManagedDevicesResponse.Reason reason = 2; |
| 4882 | inline void ManagedDevicesResponse::clear_reason() { |
| 4883 | reason_ = 0; |
| 4884 | } |
| 4885 | inline ::dmi::ManagedDevicesResponse_Reason ManagedDevicesResponse::reason() const { |
| 4886 | // @@protoc_insertion_point(field_get:dmi.ManagedDevicesResponse.reason) |
| 4887 | return static_cast< ::dmi::ManagedDevicesResponse_Reason >(reason_); |
| 4888 | } |
| 4889 | inline void ManagedDevicesResponse::set_reason(::dmi::ManagedDevicesResponse_Reason value) { |
| 4890 | |
| 4891 | reason_ = value; |
| 4892 | // @@protoc_insertion_point(field_set:dmi.ManagedDevicesResponse.reason) |
| 4893 | } |
| 4894 | |
| 4895 | // repeated .dmi.ManagedDeviceInfo devices = 3; |
| 4896 | inline int ManagedDevicesResponse::devices_size() const { |
| 4897 | return devices_.size(); |
| 4898 | } |
| 4899 | inline void ManagedDevicesResponse::clear_devices() { |
| 4900 | devices_.Clear(); |
| 4901 | } |
| 4902 | inline ::dmi::ManagedDeviceInfo* ManagedDevicesResponse::mutable_devices(int index) { |
| 4903 | // @@protoc_insertion_point(field_mutable:dmi.ManagedDevicesResponse.devices) |
| 4904 | return devices_.Mutable(index); |
| 4905 | } |
| 4906 | inline ::google::protobuf::RepeatedPtrField< ::dmi::ManagedDeviceInfo >* |
| 4907 | ManagedDevicesResponse::mutable_devices() { |
| 4908 | // @@protoc_insertion_point(field_mutable_list:dmi.ManagedDevicesResponse.devices) |
| 4909 | return &devices_; |
| 4910 | } |
| 4911 | inline const ::dmi::ManagedDeviceInfo& ManagedDevicesResponse::devices(int index) const { |
| 4912 | // @@protoc_insertion_point(field_get:dmi.ManagedDevicesResponse.devices) |
| 4913 | return devices_.Get(index); |
| 4914 | } |
| 4915 | inline ::dmi::ManagedDeviceInfo* ManagedDevicesResponse::add_devices() { |
| 4916 | // @@protoc_insertion_point(field_add:dmi.ManagedDevicesResponse.devices) |
| 4917 | return devices_.Add(); |
| 4918 | } |
| 4919 | inline const ::google::protobuf::RepeatedPtrField< ::dmi::ManagedDeviceInfo >& |
| 4920 | ManagedDevicesResponse::devices() const { |
| 4921 | // @@protoc_insertion_point(field_list:dmi.ManagedDevicesResponse.devices) |
| 4922 | return devices_; |
| 4923 | } |
| 4924 | |
| 4925 | // ------------------------------------------------------------------- |
| 4926 | |
| 4927 | // SetLoggingEndpointRequest |
| 4928 | |
| 4929 | // .dmi.Uuid device_uuid = 1; |
| 4930 | inline bool SetLoggingEndpointRequest::has_device_uuid() const { |
| 4931 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 4932 | } |
| 4933 | inline const ::dmi::Uuid& SetLoggingEndpointRequest::device_uuid() const { |
| 4934 | const ::dmi::Uuid* p = device_uuid_; |
| 4935 | // @@protoc_insertion_point(field_get:dmi.SetLoggingEndpointRequest.device_uuid) |
| 4936 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 4937 | &::dmi::_Uuid_default_instance_); |
| 4938 | } |
| 4939 | inline ::dmi::Uuid* SetLoggingEndpointRequest::release_device_uuid() { |
| 4940 | // @@protoc_insertion_point(field_release:dmi.SetLoggingEndpointRequest.device_uuid) |
| 4941 | |
| 4942 | ::dmi::Uuid* temp = device_uuid_; |
| 4943 | device_uuid_ = nullptr; |
| 4944 | return temp; |
| 4945 | } |
| 4946 | inline ::dmi::Uuid* SetLoggingEndpointRequest::mutable_device_uuid() { |
| 4947 | |
| 4948 | if (device_uuid_ == nullptr) { |
| 4949 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 4950 | device_uuid_ = p; |
| 4951 | } |
| 4952 | // @@protoc_insertion_point(field_mutable:dmi.SetLoggingEndpointRequest.device_uuid) |
| 4953 | return device_uuid_; |
| 4954 | } |
| 4955 | inline void SetLoggingEndpointRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 4956 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 4957 | if (message_arena == nullptr) { |
| 4958 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 4959 | } |
| 4960 | if (device_uuid) { |
| 4961 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 4962 | if (message_arena != submessage_arena) { |
| 4963 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 4964 | message_arena, device_uuid, submessage_arena); |
| 4965 | } |
| 4966 | |
| 4967 | } else { |
| 4968 | |
| 4969 | } |
| 4970 | device_uuid_ = device_uuid; |
| 4971 | // @@protoc_insertion_point(field_set_allocated:dmi.SetLoggingEndpointRequest.device_uuid) |
| 4972 | } |
| 4973 | |
| 4974 | // string logging_endpoint = 2; |
| 4975 | inline void SetLoggingEndpointRequest::clear_logging_endpoint() { |
| 4976 | logging_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 4977 | } |
| 4978 | inline const ::std::string& SetLoggingEndpointRequest::logging_endpoint() const { |
| 4979 | // @@protoc_insertion_point(field_get:dmi.SetLoggingEndpointRequest.logging_endpoint) |
| 4980 | return logging_endpoint_.GetNoArena(); |
| 4981 | } |
| 4982 | inline void SetLoggingEndpointRequest::set_logging_endpoint(const ::std::string& value) { |
| 4983 | |
| 4984 | logging_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 4985 | // @@protoc_insertion_point(field_set:dmi.SetLoggingEndpointRequest.logging_endpoint) |
| 4986 | } |
| 4987 | #if LANG_CXX11 |
| 4988 | inline void SetLoggingEndpointRequest::set_logging_endpoint(::std::string&& value) { |
| 4989 | |
| 4990 | logging_endpoint_.SetNoArena( |
| 4991 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 4992 | // @@protoc_insertion_point(field_set_rvalue:dmi.SetLoggingEndpointRequest.logging_endpoint) |
| 4993 | } |
| 4994 | #endif |
| 4995 | inline void SetLoggingEndpointRequest::set_logging_endpoint(const char* value) { |
| 4996 | GOOGLE_DCHECK(value != nullptr); |
| 4997 | |
| 4998 | logging_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 4999 | // @@protoc_insertion_point(field_set_char:dmi.SetLoggingEndpointRequest.logging_endpoint) |
| 5000 | } |
| 5001 | inline void SetLoggingEndpointRequest::set_logging_endpoint(const char* value, size_t size) { |
| 5002 | |
| 5003 | logging_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 5004 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5005 | // @@protoc_insertion_point(field_set_pointer:dmi.SetLoggingEndpointRequest.logging_endpoint) |
| 5006 | } |
| 5007 | inline ::std::string* SetLoggingEndpointRequest::mutable_logging_endpoint() { |
| 5008 | |
| 5009 | // @@protoc_insertion_point(field_mutable:dmi.SetLoggingEndpointRequest.logging_endpoint) |
| 5010 | return logging_endpoint_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5011 | } |
| 5012 | inline ::std::string* SetLoggingEndpointRequest::release_logging_endpoint() { |
| 5013 | // @@protoc_insertion_point(field_release:dmi.SetLoggingEndpointRequest.logging_endpoint) |
| 5014 | |
| 5015 | return logging_endpoint_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5016 | } |
| 5017 | inline void SetLoggingEndpointRequest::set_allocated_logging_endpoint(::std::string* logging_endpoint) { |
| 5018 | if (logging_endpoint != nullptr) { |
| 5019 | |
| 5020 | } else { |
| 5021 | |
| 5022 | } |
| 5023 | logging_endpoint_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), logging_endpoint); |
| 5024 | // @@protoc_insertion_point(field_set_allocated:dmi.SetLoggingEndpointRequest.logging_endpoint) |
| 5025 | } |
| 5026 | |
| 5027 | // string logging_protocol = 3; |
| 5028 | inline void SetLoggingEndpointRequest::clear_logging_protocol() { |
| 5029 | logging_protocol_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5030 | } |
| 5031 | inline const ::std::string& SetLoggingEndpointRequest::logging_protocol() const { |
| 5032 | // @@protoc_insertion_point(field_get:dmi.SetLoggingEndpointRequest.logging_protocol) |
| 5033 | return logging_protocol_.GetNoArena(); |
| 5034 | } |
| 5035 | inline void SetLoggingEndpointRequest::set_logging_protocol(const ::std::string& value) { |
| 5036 | |
| 5037 | logging_protocol_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 5038 | // @@protoc_insertion_point(field_set:dmi.SetLoggingEndpointRequest.logging_protocol) |
| 5039 | } |
| 5040 | #if LANG_CXX11 |
| 5041 | inline void SetLoggingEndpointRequest::set_logging_protocol(::std::string&& value) { |
| 5042 | |
| 5043 | logging_protocol_.SetNoArena( |
| 5044 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 5045 | // @@protoc_insertion_point(field_set_rvalue:dmi.SetLoggingEndpointRequest.logging_protocol) |
| 5046 | } |
| 5047 | #endif |
| 5048 | inline void SetLoggingEndpointRequest::set_logging_protocol(const char* value) { |
| 5049 | GOOGLE_DCHECK(value != nullptr); |
| 5050 | |
| 5051 | logging_protocol_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 5052 | // @@protoc_insertion_point(field_set_char:dmi.SetLoggingEndpointRequest.logging_protocol) |
| 5053 | } |
| 5054 | inline void SetLoggingEndpointRequest::set_logging_protocol(const char* value, size_t size) { |
| 5055 | |
| 5056 | logging_protocol_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 5057 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5058 | // @@protoc_insertion_point(field_set_pointer:dmi.SetLoggingEndpointRequest.logging_protocol) |
| 5059 | } |
| 5060 | inline ::std::string* SetLoggingEndpointRequest::mutable_logging_protocol() { |
| 5061 | |
| 5062 | // @@protoc_insertion_point(field_mutable:dmi.SetLoggingEndpointRequest.logging_protocol) |
| 5063 | return logging_protocol_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5064 | } |
| 5065 | inline ::std::string* SetLoggingEndpointRequest::release_logging_protocol() { |
| 5066 | // @@protoc_insertion_point(field_release:dmi.SetLoggingEndpointRequest.logging_protocol) |
| 5067 | |
| 5068 | return logging_protocol_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5069 | } |
| 5070 | inline void SetLoggingEndpointRequest::set_allocated_logging_protocol(::std::string* logging_protocol) { |
| 5071 | if (logging_protocol != nullptr) { |
| 5072 | |
| 5073 | } else { |
| 5074 | |
| 5075 | } |
| 5076 | logging_protocol_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), logging_protocol); |
| 5077 | // @@protoc_insertion_point(field_set_allocated:dmi.SetLoggingEndpointRequest.logging_protocol) |
| 5078 | } |
| 5079 | |
| 5080 | // ------------------------------------------------------------------- |
| 5081 | |
| 5082 | // SetRemoteEndpointResponse |
| 5083 | |
| 5084 | // .dmi.Status status = 1; |
| 5085 | inline void SetRemoteEndpointResponse::clear_status() { |
| 5086 | status_ = 0; |
| 5087 | } |
| 5088 | inline ::dmi::Status SetRemoteEndpointResponse::status() const { |
| 5089 | // @@protoc_insertion_point(field_get:dmi.SetRemoteEndpointResponse.status) |
| 5090 | return static_cast< ::dmi::Status >(status_); |
| 5091 | } |
| 5092 | inline void SetRemoteEndpointResponse::set_status(::dmi::Status value) { |
| 5093 | |
| 5094 | status_ = value; |
| 5095 | // @@protoc_insertion_point(field_set:dmi.SetRemoteEndpointResponse.status) |
| 5096 | } |
| 5097 | |
| 5098 | // .dmi.SetRemoteEndpointResponse.Reason reason = 2; |
| 5099 | inline void SetRemoteEndpointResponse::clear_reason() { |
| 5100 | reason_ = 0; |
| 5101 | } |
| 5102 | inline ::dmi::SetRemoteEndpointResponse_Reason SetRemoteEndpointResponse::reason() const { |
| 5103 | // @@protoc_insertion_point(field_get:dmi.SetRemoteEndpointResponse.reason) |
| 5104 | return static_cast< ::dmi::SetRemoteEndpointResponse_Reason >(reason_); |
| 5105 | } |
| 5106 | inline void SetRemoteEndpointResponse::set_reason(::dmi::SetRemoteEndpointResponse_Reason value) { |
| 5107 | |
| 5108 | reason_ = value; |
| 5109 | // @@protoc_insertion_point(field_set:dmi.SetRemoteEndpointResponse.reason) |
| 5110 | } |
| 5111 | |
| 5112 | // string reason_detail = 3; |
| 5113 | inline void SetRemoteEndpointResponse::clear_reason_detail() { |
| 5114 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5115 | } |
| 5116 | inline const ::std::string& SetRemoteEndpointResponse::reason_detail() const { |
| 5117 | // @@protoc_insertion_point(field_get:dmi.SetRemoteEndpointResponse.reason_detail) |
| 5118 | return reason_detail_.GetNoArena(); |
| 5119 | } |
| 5120 | inline void SetRemoteEndpointResponse::set_reason_detail(const ::std::string& value) { |
| 5121 | |
| 5122 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 5123 | // @@protoc_insertion_point(field_set:dmi.SetRemoteEndpointResponse.reason_detail) |
| 5124 | } |
| 5125 | #if LANG_CXX11 |
| 5126 | inline void SetRemoteEndpointResponse::set_reason_detail(::std::string&& value) { |
| 5127 | |
| 5128 | reason_detail_.SetNoArena( |
| 5129 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 5130 | // @@protoc_insertion_point(field_set_rvalue:dmi.SetRemoteEndpointResponse.reason_detail) |
| 5131 | } |
| 5132 | #endif |
| 5133 | inline void SetRemoteEndpointResponse::set_reason_detail(const char* value) { |
| 5134 | GOOGLE_DCHECK(value != nullptr); |
| 5135 | |
| 5136 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 5137 | // @@protoc_insertion_point(field_set_char:dmi.SetRemoteEndpointResponse.reason_detail) |
| 5138 | } |
| 5139 | inline void SetRemoteEndpointResponse::set_reason_detail(const char* value, size_t size) { |
| 5140 | |
| 5141 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 5142 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5143 | // @@protoc_insertion_point(field_set_pointer:dmi.SetRemoteEndpointResponse.reason_detail) |
| 5144 | } |
| 5145 | inline ::std::string* SetRemoteEndpointResponse::mutable_reason_detail() { |
| 5146 | |
| 5147 | // @@protoc_insertion_point(field_mutable:dmi.SetRemoteEndpointResponse.reason_detail) |
| 5148 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5149 | } |
| 5150 | inline ::std::string* SetRemoteEndpointResponse::release_reason_detail() { |
| 5151 | // @@protoc_insertion_point(field_release:dmi.SetRemoteEndpointResponse.reason_detail) |
| 5152 | |
| 5153 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5154 | } |
| 5155 | inline void SetRemoteEndpointResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 5156 | if (reason_detail != nullptr) { |
| 5157 | |
| 5158 | } else { |
| 5159 | |
| 5160 | } |
| 5161 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 5162 | // @@protoc_insertion_point(field_set_allocated:dmi.SetRemoteEndpointResponse.reason_detail) |
| 5163 | } |
| 5164 | |
| 5165 | // ------------------------------------------------------------------- |
| 5166 | |
| 5167 | // GetLoggingEndpointResponse |
| 5168 | |
| 5169 | // .dmi.Status status = 1; |
| 5170 | inline void GetLoggingEndpointResponse::clear_status() { |
| 5171 | status_ = 0; |
| 5172 | } |
| 5173 | inline ::dmi::Status GetLoggingEndpointResponse::status() const { |
| 5174 | // @@protoc_insertion_point(field_get:dmi.GetLoggingEndpointResponse.status) |
| 5175 | return static_cast< ::dmi::Status >(status_); |
| 5176 | } |
| 5177 | inline void GetLoggingEndpointResponse::set_status(::dmi::Status value) { |
| 5178 | |
| 5179 | status_ = value; |
| 5180 | // @@protoc_insertion_point(field_set:dmi.GetLoggingEndpointResponse.status) |
| 5181 | } |
| 5182 | |
| 5183 | // .dmi.GetLoggingEndpointResponse.Reason reason = 2; |
| 5184 | inline void GetLoggingEndpointResponse::clear_reason() { |
| 5185 | reason_ = 0; |
| 5186 | } |
| 5187 | inline ::dmi::GetLoggingEndpointResponse_Reason GetLoggingEndpointResponse::reason() const { |
| 5188 | // @@protoc_insertion_point(field_get:dmi.GetLoggingEndpointResponse.reason) |
| 5189 | return static_cast< ::dmi::GetLoggingEndpointResponse_Reason >(reason_); |
| 5190 | } |
| 5191 | inline void GetLoggingEndpointResponse::set_reason(::dmi::GetLoggingEndpointResponse_Reason value) { |
| 5192 | |
| 5193 | reason_ = value; |
| 5194 | // @@protoc_insertion_point(field_set:dmi.GetLoggingEndpointResponse.reason) |
| 5195 | } |
| 5196 | |
| 5197 | // string logging_endpoint = 3; |
| 5198 | inline void GetLoggingEndpointResponse::clear_logging_endpoint() { |
| 5199 | logging_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5200 | } |
| 5201 | inline const ::std::string& GetLoggingEndpointResponse::logging_endpoint() const { |
| 5202 | // @@protoc_insertion_point(field_get:dmi.GetLoggingEndpointResponse.logging_endpoint) |
| 5203 | return logging_endpoint_.GetNoArena(); |
| 5204 | } |
| 5205 | inline void GetLoggingEndpointResponse::set_logging_endpoint(const ::std::string& value) { |
| 5206 | |
| 5207 | logging_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 5208 | // @@protoc_insertion_point(field_set:dmi.GetLoggingEndpointResponse.logging_endpoint) |
| 5209 | } |
| 5210 | #if LANG_CXX11 |
| 5211 | inline void GetLoggingEndpointResponse::set_logging_endpoint(::std::string&& value) { |
| 5212 | |
| 5213 | logging_endpoint_.SetNoArena( |
| 5214 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 5215 | // @@protoc_insertion_point(field_set_rvalue:dmi.GetLoggingEndpointResponse.logging_endpoint) |
| 5216 | } |
| 5217 | #endif |
| 5218 | inline void GetLoggingEndpointResponse::set_logging_endpoint(const char* value) { |
| 5219 | GOOGLE_DCHECK(value != nullptr); |
| 5220 | |
| 5221 | logging_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 5222 | // @@protoc_insertion_point(field_set_char:dmi.GetLoggingEndpointResponse.logging_endpoint) |
| 5223 | } |
| 5224 | inline void GetLoggingEndpointResponse::set_logging_endpoint(const char* value, size_t size) { |
| 5225 | |
| 5226 | logging_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 5227 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5228 | // @@protoc_insertion_point(field_set_pointer:dmi.GetLoggingEndpointResponse.logging_endpoint) |
| 5229 | } |
| 5230 | inline ::std::string* GetLoggingEndpointResponse::mutable_logging_endpoint() { |
| 5231 | |
| 5232 | // @@protoc_insertion_point(field_mutable:dmi.GetLoggingEndpointResponse.logging_endpoint) |
| 5233 | return logging_endpoint_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5234 | } |
| 5235 | inline ::std::string* GetLoggingEndpointResponse::release_logging_endpoint() { |
| 5236 | // @@protoc_insertion_point(field_release:dmi.GetLoggingEndpointResponse.logging_endpoint) |
| 5237 | |
| 5238 | return logging_endpoint_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5239 | } |
| 5240 | inline void GetLoggingEndpointResponse::set_allocated_logging_endpoint(::std::string* logging_endpoint) { |
| 5241 | if (logging_endpoint != nullptr) { |
| 5242 | |
| 5243 | } else { |
| 5244 | |
| 5245 | } |
| 5246 | logging_endpoint_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), logging_endpoint); |
| 5247 | // @@protoc_insertion_point(field_set_allocated:dmi.GetLoggingEndpointResponse.logging_endpoint) |
| 5248 | } |
| 5249 | |
| 5250 | // string logging_protocol = 4; |
| 5251 | inline void GetLoggingEndpointResponse::clear_logging_protocol() { |
| 5252 | logging_protocol_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5253 | } |
| 5254 | inline const ::std::string& GetLoggingEndpointResponse::logging_protocol() const { |
| 5255 | // @@protoc_insertion_point(field_get:dmi.GetLoggingEndpointResponse.logging_protocol) |
| 5256 | return logging_protocol_.GetNoArena(); |
| 5257 | } |
| 5258 | inline void GetLoggingEndpointResponse::set_logging_protocol(const ::std::string& value) { |
| 5259 | |
| 5260 | logging_protocol_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 5261 | // @@protoc_insertion_point(field_set:dmi.GetLoggingEndpointResponse.logging_protocol) |
| 5262 | } |
| 5263 | #if LANG_CXX11 |
| 5264 | inline void GetLoggingEndpointResponse::set_logging_protocol(::std::string&& value) { |
| 5265 | |
| 5266 | logging_protocol_.SetNoArena( |
| 5267 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 5268 | // @@protoc_insertion_point(field_set_rvalue:dmi.GetLoggingEndpointResponse.logging_protocol) |
| 5269 | } |
| 5270 | #endif |
| 5271 | inline void GetLoggingEndpointResponse::set_logging_protocol(const char* value) { |
| 5272 | GOOGLE_DCHECK(value != nullptr); |
| 5273 | |
| 5274 | logging_protocol_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 5275 | // @@protoc_insertion_point(field_set_char:dmi.GetLoggingEndpointResponse.logging_protocol) |
| 5276 | } |
| 5277 | inline void GetLoggingEndpointResponse::set_logging_protocol(const char* value, size_t size) { |
| 5278 | |
| 5279 | logging_protocol_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 5280 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5281 | // @@protoc_insertion_point(field_set_pointer:dmi.GetLoggingEndpointResponse.logging_protocol) |
| 5282 | } |
| 5283 | inline ::std::string* GetLoggingEndpointResponse::mutable_logging_protocol() { |
| 5284 | |
| 5285 | // @@protoc_insertion_point(field_mutable:dmi.GetLoggingEndpointResponse.logging_protocol) |
| 5286 | return logging_protocol_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5287 | } |
| 5288 | inline ::std::string* GetLoggingEndpointResponse::release_logging_protocol() { |
| 5289 | // @@protoc_insertion_point(field_release:dmi.GetLoggingEndpointResponse.logging_protocol) |
| 5290 | |
| 5291 | return logging_protocol_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5292 | } |
| 5293 | inline void GetLoggingEndpointResponse::set_allocated_logging_protocol(::std::string* logging_protocol) { |
| 5294 | if (logging_protocol != nullptr) { |
| 5295 | |
| 5296 | } else { |
| 5297 | |
| 5298 | } |
| 5299 | logging_protocol_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), logging_protocol); |
| 5300 | // @@protoc_insertion_point(field_set_allocated:dmi.GetLoggingEndpointResponse.logging_protocol) |
| 5301 | } |
| 5302 | |
| 5303 | // string reason_detail = 5; |
| 5304 | inline void GetLoggingEndpointResponse::clear_reason_detail() { |
| 5305 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5306 | } |
| 5307 | inline const ::std::string& GetLoggingEndpointResponse::reason_detail() const { |
| 5308 | // @@protoc_insertion_point(field_get:dmi.GetLoggingEndpointResponse.reason_detail) |
| 5309 | return reason_detail_.GetNoArena(); |
| 5310 | } |
| 5311 | inline void GetLoggingEndpointResponse::set_reason_detail(const ::std::string& value) { |
| 5312 | |
| 5313 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 5314 | // @@protoc_insertion_point(field_set:dmi.GetLoggingEndpointResponse.reason_detail) |
| 5315 | } |
| 5316 | #if LANG_CXX11 |
| 5317 | inline void GetLoggingEndpointResponse::set_reason_detail(::std::string&& value) { |
| 5318 | |
| 5319 | reason_detail_.SetNoArena( |
| 5320 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 5321 | // @@protoc_insertion_point(field_set_rvalue:dmi.GetLoggingEndpointResponse.reason_detail) |
| 5322 | } |
| 5323 | #endif |
| 5324 | inline void GetLoggingEndpointResponse::set_reason_detail(const char* value) { |
| 5325 | GOOGLE_DCHECK(value != nullptr); |
| 5326 | |
| 5327 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 5328 | // @@protoc_insertion_point(field_set_char:dmi.GetLoggingEndpointResponse.reason_detail) |
| 5329 | } |
| 5330 | inline void GetLoggingEndpointResponse::set_reason_detail(const char* value, size_t size) { |
| 5331 | |
| 5332 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 5333 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5334 | // @@protoc_insertion_point(field_set_pointer:dmi.GetLoggingEndpointResponse.reason_detail) |
| 5335 | } |
| 5336 | inline ::std::string* GetLoggingEndpointResponse::mutable_reason_detail() { |
| 5337 | |
| 5338 | // @@protoc_insertion_point(field_mutable:dmi.GetLoggingEndpointResponse.reason_detail) |
| 5339 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5340 | } |
| 5341 | inline ::std::string* GetLoggingEndpointResponse::release_reason_detail() { |
| 5342 | // @@protoc_insertion_point(field_release:dmi.GetLoggingEndpointResponse.reason_detail) |
| 5343 | |
| 5344 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5345 | } |
| 5346 | inline void GetLoggingEndpointResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 5347 | if (reason_detail != nullptr) { |
| 5348 | |
| 5349 | } else { |
| 5350 | |
| 5351 | } |
| 5352 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 5353 | // @@protoc_insertion_point(field_set_allocated:dmi.GetLoggingEndpointResponse.reason_detail) |
| 5354 | } |
| 5355 | |
| 5356 | // ------------------------------------------------------------------- |
| 5357 | |
| 5358 | // SetMsgBusEndpointRequest |
| 5359 | |
| 5360 | // string msgbus_endpoint = 1; |
| 5361 | inline void SetMsgBusEndpointRequest::clear_msgbus_endpoint() { |
| 5362 | msgbus_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5363 | } |
| 5364 | inline const ::std::string& SetMsgBusEndpointRequest::msgbus_endpoint() const { |
| 5365 | // @@protoc_insertion_point(field_get:dmi.SetMsgBusEndpointRequest.msgbus_endpoint) |
| 5366 | return msgbus_endpoint_.GetNoArena(); |
| 5367 | } |
| 5368 | inline void SetMsgBusEndpointRequest::set_msgbus_endpoint(const ::std::string& value) { |
| 5369 | |
| 5370 | msgbus_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 5371 | // @@protoc_insertion_point(field_set:dmi.SetMsgBusEndpointRequest.msgbus_endpoint) |
| 5372 | } |
| 5373 | #if LANG_CXX11 |
| 5374 | inline void SetMsgBusEndpointRequest::set_msgbus_endpoint(::std::string&& value) { |
| 5375 | |
| 5376 | msgbus_endpoint_.SetNoArena( |
| 5377 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 5378 | // @@protoc_insertion_point(field_set_rvalue:dmi.SetMsgBusEndpointRequest.msgbus_endpoint) |
| 5379 | } |
| 5380 | #endif |
| 5381 | inline void SetMsgBusEndpointRequest::set_msgbus_endpoint(const char* value) { |
| 5382 | GOOGLE_DCHECK(value != nullptr); |
| 5383 | |
| 5384 | msgbus_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 5385 | // @@protoc_insertion_point(field_set_char:dmi.SetMsgBusEndpointRequest.msgbus_endpoint) |
| 5386 | } |
| 5387 | inline void SetMsgBusEndpointRequest::set_msgbus_endpoint(const char* value, size_t size) { |
| 5388 | |
| 5389 | msgbus_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 5390 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5391 | // @@protoc_insertion_point(field_set_pointer:dmi.SetMsgBusEndpointRequest.msgbus_endpoint) |
| 5392 | } |
| 5393 | inline ::std::string* SetMsgBusEndpointRequest::mutable_msgbus_endpoint() { |
| 5394 | |
| 5395 | // @@protoc_insertion_point(field_mutable:dmi.SetMsgBusEndpointRequest.msgbus_endpoint) |
| 5396 | return msgbus_endpoint_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5397 | } |
| 5398 | inline ::std::string* SetMsgBusEndpointRequest::release_msgbus_endpoint() { |
| 5399 | // @@protoc_insertion_point(field_release:dmi.SetMsgBusEndpointRequest.msgbus_endpoint) |
| 5400 | |
| 5401 | return msgbus_endpoint_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5402 | } |
| 5403 | inline void SetMsgBusEndpointRequest::set_allocated_msgbus_endpoint(::std::string* msgbus_endpoint) { |
| 5404 | if (msgbus_endpoint != nullptr) { |
| 5405 | |
| 5406 | } else { |
| 5407 | |
| 5408 | } |
| 5409 | msgbus_endpoint_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), msgbus_endpoint); |
| 5410 | // @@protoc_insertion_point(field_set_allocated:dmi.SetMsgBusEndpointRequest.msgbus_endpoint) |
| 5411 | } |
| 5412 | |
| 5413 | // ------------------------------------------------------------------- |
| 5414 | |
| 5415 | // GetMsgBusEndpointResponse |
| 5416 | |
| 5417 | // .dmi.Status status = 1; |
| 5418 | inline void GetMsgBusEndpointResponse::clear_status() { |
| 5419 | status_ = 0; |
| 5420 | } |
| 5421 | inline ::dmi::Status GetMsgBusEndpointResponse::status() const { |
| 5422 | // @@protoc_insertion_point(field_get:dmi.GetMsgBusEndpointResponse.status) |
| 5423 | return static_cast< ::dmi::Status >(status_); |
| 5424 | } |
| 5425 | inline void GetMsgBusEndpointResponse::set_status(::dmi::Status value) { |
| 5426 | |
| 5427 | status_ = value; |
| 5428 | // @@protoc_insertion_point(field_set:dmi.GetMsgBusEndpointResponse.status) |
| 5429 | } |
| 5430 | |
| 5431 | // .dmi.GetMsgBusEndpointResponse.Reason reason = 2; |
| 5432 | inline void GetMsgBusEndpointResponse::clear_reason() { |
| 5433 | reason_ = 0; |
| 5434 | } |
| 5435 | inline ::dmi::GetMsgBusEndpointResponse_Reason GetMsgBusEndpointResponse::reason() const { |
| 5436 | // @@protoc_insertion_point(field_get:dmi.GetMsgBusEndpointResponse.reason) |
| 5437 | return static_cast< ::dmi::GetMsgBusEndpointResponse_Reason >(reason_); |
| 5438 | } |
| 5439 | inline void GetMsgBusEndpointResponse::set_reason(::dmi::GetMsgBusEndpointResponse_Reason value) { |
| 5440 | |
| 5441 | reason_ = value; |
| 5442 | // @@protoc_insertion_point(field_set:dmi.GetMsgBusEndpointResponse.reason) |
| 5443 | } |
| 5444 | |
| 5445 | // string msgbus_endpoint = 3; |
| 5446 | inline void GetMsgBusEndpointResponse::clear_msgbus_endpoint() { |
| 5447 | msgbus_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5448 | } |
| 5449 | inline const ::std::string& GetMsgBusEndpointResponse::msgbus_endpoint() const { |
| 5450 | // @@protoc_insertion_point(field_get:dmi.GetMsgBusEndpointResponse.msgbus_endpoint) |
| 5451 | return msgbus_endpoint_.GetNoArena(); |
| 5452 | } |
| 5453 | inline void GetMsgBusEndpointResponse::set_msgbus_endpoint(const ::std::string& value) { |
| 5454 | |
| 5455 | msgbus_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 5456 | // @@protoc_insertion_point(field_set:dmi.GetMsgBusEndpointResponse.msgbus_endpoint) |
| 5457 | } |
| 5458 | #if LANG_CXX11 |
| 5459 | inline void GetMsgBusEndpointResponse::set_msgbus_endpoint(::std::string&& value) { |
| 5460 | |
| 5461 | msgbus_endpoint_.SetNoArena( |
| 5462 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 5463 | // @@protoc_insertion_point(field_set_rvalue:dmi.GetMsgBusEndpointResponse.msgbus_endpoint) |
| 5464 | } |
| 5465 | #endif |
| 5466 | inline void GetMsgBusEndpointResponse::set_msgbus_endpoint(const char* value) { |
| 5467 | GOOGLE_DCHECK(value != nullptr); |
| 5468 | |
| 5469 | msgbus_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 5470 | // @@protoc_insertion_point(field_set_char:dmi.GetMsgBusEndpointResponse.msgbus_endpoint) |
| 5471 | } |
| 5472 | inline void GetMsgBusEndpointResponse::set_msgbus_endpoint(const char* value, size_t size) { |
| 5473 | |
| 5474 | msgbus_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 5475 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5476 | // @@protoc_insertion_point(field_set_pointer:dmi.GetMsgBusEndpointResponse.msgbus_endpoint) |
| 5477 | } |
| 5478 | inline ::std::string* GetMsgBusEndpointResponse::mutable_msgbus_endpoint() { |
| 5479 | |
| 5480 | // @@protoc_insertion_point(field_mutable:dmi.GetMsgBusEndpointResponse.msgbus_endpoint) |
| 5481 | return msgbus_endpoint_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5482 | } |
| 5483 | inline ::std::string* GetMsgBusEndpointResponse::release_msgbus_endpoint() { |
| 5484 | // @@protoc_insertion_point(field_release:dmi.GetMsgBusEndpointResponse.msgbus_endpoint) |
| 5485 | |
| 5486 | return msgbus_endpoint_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5487 | } |
| 5488 | inline void GetMsgBusEndpointResponse::set_allocated_msgbus_endpoint(::std::string* msgbus_endpoint) { |
| 5489 | if (msgbus_endpoint != nullptr) { |
| 5490 | |
| 5491 | } else { |
| 5492 | |
| 5493 | } |
| 5494 | msgbus_endpoint_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), msgbus_endpoint); |
| 5495 | // @@protoc_insertion_point(field_set_allocated:dmi.GetMsgBusEndpointResponse.msgbus_endpoint) |
| 5496 | } |
| 5497 | |
| 5498 | // string reason_detail = 4; |
| 5499 | inline void GetMsgBusEndpointResponse::clear_reason_detail() { |
| 5500 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5501 | } |
| 5502 | inline const ::std::string& GetMsgBusEndpointResponse::reason_detail() const { |
| 5503 | // @@protoc_insertion_point(field_get:dmi.GetMsgBusEndpointResponse.reason_detail) |
| 5504 | return reason_detail_.GetNoArena(); |
| 5505 | } |
| 5506 | inline void GetMsgBusEndpointResponse::set_reason_detail(const ::std::string& value) { |
| 5507 | |
| 5508 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 5509 | // @@protoc_insertion_point(field_set:dmi.GetMsgBusEndpointResponse.reason_detail) |
| 5510 | } |
| 5511 | #if LANG_CXX11 |
| 5512 | inline void GetMsgBusEndpointResponse::set_reason_detail(::std::string&& value) { |
| 5513 | |
| 5514 | reason_detail_.SetNoArena( |
| 5515 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 5516 | // @@protoc_insertion_point(field_set_rvalue:dmi.GetMsgBusEndpointResponse.reason_detail) |
| 5517 | } |
| 5518 | #endif |
| 5519 | inline void GetMsgBusEndpointResponse::set_reason_detail(const char* value) { |
| 5520 | GOOGLE_DCHECK(value != nullptr); |
| 5521 | |
| 5522 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 5523 | // @@protoc_insertion_point(field_set_char:dmi.GetMsgBusEndpointResponse.reason_detail) |
| 5524 | } |
| 5525 | inline void GetMsgBusEndpointResponse::set_reason_detail(const char* value, size_t size) { |
| 5526 | |
| 5527 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 5528 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5529 | // @@protoc_insertion_point(field_set_pointer:dmi.GetMsgBusEndpointResponse.reason_detail) |
| 5530 | } |
| 5531 | inline ::std::string* GetMsgBusEndpointResponse::mutable_reason_detail() { |
| 5532 | |
| 5533 | // @@protoc_insertion_point(field_mutable:dmi.GetMsgBusEndpointResponse.reason_detail) |
| 5534 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5535 | } |
| 5536 | inline ::std::string* GetMsgBusEndpointResponse::release_reason_detail() { |
| 5537 | // @@protoc_insertion_point(field_release:dmi.GetMsgBusEndpointResponse.reason_detail) |
| 5538 | |
| 5539 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5540 | } |
| 5541 | inline void GetMsgBusEndpointResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 5542 | if (reason_detail != nullptr) { |
| 5543 | |
| 5544 | } else { |
| 5545 | |
| 5546 | } |
| 5547 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 5548 | // @@protoc_insertion_point(field_set_allocated:dmi.GetMsgBusEndpointResponse.reason_detail) |
| 5549 | } |
| 5550 | |
| 5551 | // ------------------------------------------------------------------- |
| 5552 | |
| 5553 | // EntitiesLogLevel |
| 5554 | |
| 5555 | // .dmi.LogLevel logLevel = 1; |
| 5556 | inline void EntitiesLogLevel::clear_loglevel() { |
| 5557 | loglevel_ = 0; |
| 5558 | } |
| 5559 | inline ::dmi::LogLevel EntitiesLogLevel::loglevel() const { |
| 5560 | // @@protoc_insertion_point(field_get:dmi.EntitiesLogLevel.logLevel) |
| 5561 | return static_cast< ::dmi::LogLevel >(loglevel_); |
| 5562 | } |
| 5563 | inline void EntitiesLogLevel::set_loglevel(::dmi::LogLevel value) { |
| 5564 | |
| 5565 | loglevel_ = value; |
| 5566 | // @@protoc_insertion_point(field_set:dmi.EntitiesLogLevel.logLevel) |
| 5567 | } |
| 5568 | |
| 5569 | // repeated string entities = 2; |
| 5570 | inline int EntitiesLogLevel::entities_size() const { |
| 5571 | return entities_.size(); |
| 5572 | } |
| 5573 | inline void EntitiesLogLevel::clear_entities() { |
| 5574 | entities_.Clear(); |
| 5575 | } |
| 5576 | inline const ::std::string& EntitiesLogLevel::entities(int index) const { |
| 5577 | // @@protoc_insertion_point(field_get:dmi.EntitiesLogLevel.entities) |
| 5578 | return entities_.Get(index); |
| 5579 | } |
| 5580 | inline ::std::string* EntitiesLogLevel::mutable_entities(int index) { |
| 5581 | // @@protoc_insertion_point(field_mutable:dmi.EntitiesLogLevel.entities) |
| 5582 | return entities_.Mutable(index); |
| 5583 | } |
| 5584 | inline void EntitiesLogLevel::set_entities(int index, const ::std::string& value) { |
| 5585 | // @@protoc_insertion_point(field_set:dmi.EntitiesLogLevel.entities) |
| 5586 | entities_.Mutable(index)->assign(value); |
| 5587 | } |
| 5588 | #if LANG_CXX11 |
| 5589 | inline void EntitiesLogLevel::set_entities(int index, ::std::string&& value) { |
| 5590 | // @@protoc_insertion_point(field_set:dmi.EntitiesLogLevel.entities) |
| 5591 | entities_.Mutable(index)->assign(std::move(value)); |
| 5592 | } |
| 5593 | #endif |
| 5594 | inline void EntitiesLogLevel::set_entities(int index, const char* value) { |
| 5595 | GOOGLE_DCHECK(value != nullptr); |
| 5596 | entities_.Mutable(index)->assign(value); |
| 5597 | // @@protoc_insertion_point(field_set_char:dmi.EntitiesLogLevel.entities) |
| 5598 | } |
| 5599 | inline void EntitiesLogLevel::set_entities(int index, const char* value, size_t size) { |
| 5600 | entities_.Mutable(index)->assign( |
| 5601 | reinterpret_cast<const char*>(value), size); |
| 5602 | // @@protoc_insertion_point(field_set_pointer:dmi.EntitiesLogLevel.entities) |
| 5603 | } |
| 5604 | inline ::std::string* EntitiesLogLevel::add_entities() { |
| 5605 | // @@protoc_insertion_point(field_add_mutable:dmi.EntitiesLogLevel.entities) |
| 5606 | return entities_.Add(); |
| 5607 | } |
| 5608 | inline void EntitiesLogLevel::add_entities(const ::std::string& value) { |
| 5609 | entities_.Add()->assign(value); |
| 5610 | // @@protoc_insertion_point(field_add:dmi.EntitiesLogLevel.entities) |
| 5611 | } |
| 5612 | #if LANG_CXX11 |
| 5613 | inline void EntitiesLogLevel::add_entities(::std::string&& value) { |
| 5614 | entities_.Add(std::move(value)); |
| 5615 | // @@protoc_insertion_point(field_add:dmi.EntitiesLogLevel.entities) |
| 5616 | } |
| 5617 | #endif |
| 5618 | inline void EntitiesLogLevel::add_entities(const char* value) { |
| 5619 | GOOGLE_DCHECK(value != nullptr); |
| 5620 | entities_.Add()->assign(value); |
| 5621 | // @@protoc_insertion_point(field_add_char:dmi.EntitiesLogLevel.entities) |
| 5622 | } |
| 5623 | inline void EntitiesLogLevel::add_entities(const char* value, size_t size) { |
| 5624 | entities_.Add()->assign(reinterpret_cast<const char*>(value), size); |
| 5625 | // @@protoc_insertion_point(field_add_pointer:dmi.EntitiesLogLevel.entities) |
| 5626 | } |
| 5627 | inline const ::google::protobuf::RepeatedPtrField<::std::string>& |
| 5628 | EntitiesLogLevel::entities() const { |
| 5629 | // @@protoc_insertion_point(field_list:dmi.EntitiesLogLevel.entities) |
| 5630 | return entities_; |
| 5631 | } |
| 5632 | inline ::google::protobuf::RepeatedPtrField<::std::string>* |
| 5633 | EntitiesLogLevel::mutable_entities() { |
| 5634 | // @@protoc_insertion_point(field_mutable_list:dmi.EntitiesLogLevel.entities) |
| 5635 | return &entities_; |
| 5636 | } |
| 5637 | |
| 5638 | // ------------------------------------------------------------------- |
| 5639 | |
| 5640 | // SetLogLevelRequest |
| 5641 | |
| 5642 | // .dmi.Uuid device_uuid = 1; |
| 5643 | inline bool SetLogLevelRequest::has_device_uuid() const { |
| 5644 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 5645 | } |
| 5646 | inline const ::dmi::Uuid& SetLogLevelRequest::device_uuid() const { |
| 5647 | const ::dmi::Uuid* p = device_uuid_; |
| 5648 | // @@protoc_insertion_point(field_get:dmi.SetLogLevelRequest.device_uuid) |
| 5649 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 5650 | &::dmi::_Uuid_default_instance_); |
| 5651 | } |
| 5652 | inline ::dmi::Uuid* SetLogLevelRequest::release_device_uuid() { |
| 5653 | // @@protoc_insertion_point(field_release:dmi.SetLogLevelRequest.device_uuid) |
| 5654 | |
| 5655 | ::dmi::Uuid* temp = device_uuid_; |
| 5656 | device_uuid_ = nullptr; |
| 5657 | return temp; |
| 5658 | } |
| 5659 | inline ::dmi::Uuid* SetLogLevelRequest::mutable_device_uuid() { |
| 5660 | |
| 5661 | if (device_uuid_ == nullptr) { |
| 5662 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 5663 | device_uuid_ = p; |
| 5664 | } |
| 5665 | // @@protoc_insertion_point(field_mutable:dmi.SetLogLevelRequest.device_uuid) |
| 5666 | return device_uuid_; |
| 5667 | } |
| 5668 | inline void SetLogLevelRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 5669 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 5670 | if (message_arena == nullptr) { |
| 5671 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 5672 | } |
| 5673 | if (device_uuid) { |
| 5674 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 5675 | if (message_arena != submessage_arena) { |
| 5676 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 5677 | message_arena, device_uuid, submessage_arena); |
| 5678 | } |
| 5679 | |
| 5680 | } else { |
| 5681 | |
| 5682 | } |
| 5683 | device_uuid_ = device_uuid; |
| 5684 | // @@protoc_insertion_point(field_set_allocated:dmi.SetLogLevelRequest.device_uuid) |
| 5685 | } |
| 5686 | |
| 5687 | // repeated .dmi.EntitiesLogLevel loglevels = 2; |
| 5688 | inline int SetLogLevelRequest::loglevels_size() const { |
| 5689 | return loglevels_.size(); |
| 5690 | } |
| 5691 | inline void SetLogLevelRequest::clear_loglevels() { |
| 5692 | loglevels_.Clear(); |
| 5693 | } |
| 5694 | inline ::dmi::EntitiesLogLevel* SetLogLevelRequest::mutable_loglevels(int index) { |
| 5695 | // @@protoc_insertion_point(field_mutable:dmi.SetLogLevelRequest.loglevels) |
| 5696 | return loglevels_.Mutable(index); |
| 5697 | } |
| 5698 | inline ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel >* |
| 5699 | SetLogLevelRequest::mutable_loglevels() { |
| 5700 | // @@protoc_insertion_point(field_mutable_list:dmi.SetLogLevelRequest.loglevels) |
| 5701 | return &loglevels_; |
| 5702 | } |
| 5703 | inline const ::dmi::EntitiesLogLevel& SetLogLevelRequest::loglevels(int index) const { |
| 5704 | // @@protoc_insertion_point(field_get:dmi.SetLogLevelRequest.loglevels) |
| 5705 | return loglevels_.Get(index); |
| 5706 | } |
| 5707 | inline ::dmi::EntitiesLogLevel* SetLogLevelRequest::add_loglevels() { |
| 5708 | // @@protoc_insertion_point(field_add:dmi.SetLogLevelRequest.loglevels) |
| 5709 | return loglevels_.Add(); |
| 5710 | } |
| 5711 | inline const ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel >& |
| 5712 | SetLogLevelRequest::loglevels() const { |
| 5713 | // @@protoc_insertion_point(field_list:dmi.SetLogLevelRequest.loglevels) |
| 5714 | return loglevels_; |
| 5715 | } |
| 5716 | |
| 5717 | // ------------------------------------------------------------------- |
| 5718 | |
| 5719 | // SetLogLevelResponse |
| 5720 | |
| 5721 | // .dmi.Uuid device_uuid = 1; |
| 5722 | inline bool SetLogLevelResponse::has_device_uuid() const { |
| 5723 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 5724 | } |
| 5725 | inline const ::dmi::Uuid& SetLogLevelResponse::device_uuid() const { |
| 5726 | const ::dmi::Uuid* p = device_uuid_; |
| 5727 | // @@protoc_insertion_point(field_get:dmi.SetLogLevelResponse.device_uuid) |
| 5728 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 5729 | &::dmi::_Uuid_default_instance_); |
| 5730 | } |
| 5731 | inline ::dmi::Uuid* SetLogLevelResponse::release_device_uuid() { |
| 5732 | // @@protoc_insertion_point(field_release:dmi.SetLogLevelResponse.device_uuid) |
| 5733 | |
| 5734 | ::dmi::Uuid* temp = device_uuid_; |
| 5735 | device_uuid_ = nullptr; |
| 5736 | return temp; |
| 5737 | } |
| 5738 | inline ::dmi::Uuid* SetLogLevelResponse::mutable_device_uuid() { |
| 5739 | |
| 5740 | if (device_uuid_ == nullptr) { |
| 5741 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 5742 | device_uuid_ = p; |
| 5743 | } |
| 5744 | // @@protoc_insertion_point(field_mutable:dmi.SetLogLevelResponse.device_uuid) |
| 5745 | return device_uuid_; |
| 5746 | } |
| 5747 | inline void SetLogLevelResponse::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 5748 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 5749 | if (message_arena == nullptr) { |
| 5750 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 5751 | } |
| 5752 | if (device_uuid) { |
| 5753 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 5754 | if (message_arena != submessage_arena) { |
| 5755 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 5756 | message_arena, device_uuid, submessage_arena); |
| 5757 | } |
| 5758 | |
| 5759 | } else { |
| 5760 | |
| 5761 | } |
| 5762 | device_uuid_ = device_uuid; |
| 5763 | // @@protoc_insertion_point(field_set_allocated:dmi.SetLogLevelResponse.device_uuid) |
| 5764 | } |
| 5765 | |
| 5766 | // .dmi.Status status = 2; |
| 5767 | inline void SetLogLevelResponse::clear_status() { |
| 5768 | status_ = 0; |
| 5769 | } |
| 5770 | inline ::dmi::Status SetLogLevelResponse::status() const { |
| 5771 | // @@protoc_insertion_point(field_get:dmi.SetLogLevelResponse.status) |
| 5772 | return static_cast< ::dmi::Status >(status_); |
| 5773 | } |
| 5774 | inline void SetLogLevelResponse::set_status(::dmi::Status value) { |
| 5775 | |
| 5776 | status_ = value; |
| 5777 | // @@protoc_insertion_point(field_set:dmi.SetLogLevelResponse.status) |
| 5778 | } |
| 5779 | |
| 5780 | // .dmi.SetLogLevelResponse.Reason reason = 3; |
| 5781 | inline void SetLogLevelResponse::clear_reason() { |
| 5782 | reason_ = 0; |
| 5783 | } |
| 5784 | inline ::dmi::SetLogLevelResponse_Reason SetLogLevelResponse::reason() const { |
| 5785 | // @@protoc_insertion_point(field_get:dmi.SetLogLevelResponse.reason) |
| 5786 | return static_cast< ::dmi::SetLogLevelResponse_Reason >(reason_); |
| 5787 | } |
| 5788 | inline void SetLogLevelResponse::set_reason(::dmi::SetLogLevelResponse_Reason value) { |
| 5789 | |
| 5790 | reason_ = value; |
| 5791 | // @@protoc_insertion_point(field_set:dmi.SetLogLevelResponse.reason) |
| 5792 | } |
| 5793 | |
| 5794 | // string reason_detail = 4; |
| 5795 | inline void SetLogLevelResponse::clear_reason_detail() { |
| 5796 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5797 | } |
| 5798 | inline const ::std::string& SetLogLevelResponse::reason_detail() const { |
| 5799 | // @@protoc_insertion_point(field_get:dmi.SetLogLevelResponse.reason_detail) |
| 5800 | return reason_detail_.GetNoArena(); |
| 5801 | } |
| 5802 | inline void SetLogLevelResponse::set_reason_detail(const ::std::string& value) { |
| 5803 | |
| 5804 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 5805 | // @@protoc_insertion_point(field_set:dmi.SetLogLevelResponse.reason_detail) |
| 5806 | } |
| 5807 | #if LANG_CXX11 |
| 5808 | inline void SetLogLevelResponse::set_reason_detail(::std::string&& value) { |
| 5809 | |
| 5810 | reason_detail_.SetNoArena( |
| 5811 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 5812 | // @@protoc_insertion_point(field_set_rvalue:dmi.SetLogLevelResponse.reason_detail) |
| 5813 | } |
| 5814 | #endif |
| 5815 | inline void SetLogLevelResponse::set_reason_detail(const char* value) { |
| 5816 | GOOGLE_DCHECK(value != nullptr); |
| 5817 | |
| 5818 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 5819 | // @@protoc_insertion_point(field_set_char:dmi.SetLogLevelResponse.reason_detail) |
| 5820 | } |
| 5821 | inline void SetLogLevelResponse::set_reason_detail(const char* value, size_t size) { |
| 5822 | |
| 5823 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 5824 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5825 | // @@protoc_insertion_point(field_set_pointer:dmi.SetLogLevelResponse.reason_detail) |
| 5826 | } |
| 5827 | inline ::std::string* SetLogLevelResponse::mutable_reason_detail() { |
| 5828 | |
| 5829 | // @@protoc_insertion_point(field_mutable:dmi.SetLogLevelResponse.reason_detail) |
| 5830 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5831 | } |
| 5832 | inline ::std::string* SetLogLevelResponse::release_reason_detail() { |
| 5833 | // @@protoc_insertion_point(field_release:dmi.SetLogLevelResponse.reason_detail) |
| 5834 | |
| 5835 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 5836 | } |
| 5837 | inline void SetLogLevelResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 5838 | if (reason_detail != nullptr) { |
| 5839 | |
| 5840 | } else { |
| 5841 | |
| 5842 | } |
| 5843 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 5844 | // @@protoc_insertion_point(field_set_allocated:dmi.SetLogLevelResponse.reason_detail) |
| 5845 | } |
| 5846 | |
| 5847 | // ------------------------------------------------------------------- |
| 5848 | |
| 5849 | // GetLogLevelRequest |
| 5850 | |
| 5851 | // .dmi.Uuid device_uuid = 1; |
| 5852 | inline bool GetLogLevelRequest::has_device_uuid() const { |
| 5853 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 5854 | } |
| 5855 | inline const ::dmi::Uuid& GetLogLevelRequest::device_uuid() const { |
| 5856 | const ::dmi::Uuid* p = device_uuid_; |
| 5857 | // @@protoc_insertion_point(field_get:dmi.GetLogLevelRequest.device_uuid) |
| 5858 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 5859 | &::dmi::_Uuid_default_instance_); |
| 5860 | } |
| 5861 | inline ::dmi::Uuid* GetLogLevelRequest::release_device_uuid() { |
| 5862 | // @@protoc_insertion_point(field_release:dmi.GetLogLevelRequest.device_uuid) |
| 5863 | |
| 5864 | ::dmi::Uuid* temp = device_uuid_; |
| 5865 | device_uuid_ = nullptr; |
| 5866 | return temp; |
| 5867 | } |
| 5868 | inline ::dmi::Uuid* GetLogLevelRequest::mutable_device_uuid() { |
| 5869 | |
| 5870 | if (device_uuid_ == nullptr) { |
| 5871 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 5872 | device_uuid_ = p; |
| 5873 | } |
| 5874 | // @@protoc_insertion_point(field_mutable:dmi.GetLogLevelRequest.device_uuid) |
| 5875 | return device_uuid_; |
| 5876 | } |
| 5877 | inline void GetLogLevelRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 5878 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 5879 | if (message_arena == nullptr) { |
| 5880 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 5881 | } |
| 5882 | if (device_uuid) { |
| 5883 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 5884 | if (message_arena != submessage_arena) { |
| 5885 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 5886 | message_arena, device_uuid, submessage_arena); |
| 5887 | } |
| 5888 | |
| 5889 | } else { |
| 5890 | |
| 5891 | } |
| 5892 | device_uuid_ = device_uuid; |
| 5893 | // @@protoc_insertion_point(field_set_allocated:dmi.GetLogLevelRequest.device_uuid) |
| 5894 | } |
| 5895 | |
| 5896 | // repeated string entities = 2; |
| 5897 | inline int GetLogLevelRequest::entities_size() const { |
| 5898 | return entities_.size(); |
| 5899 | } |
| 5900 | inline void GetLogLevelRequest::clear_entities() { |
| 5901 | entities_.Clear(); |
| 5902 | } |
| 5903 | inline const ::std::string& GetLogLevelRequest::entities(int index) const { |
| 5904 | // @@protoc_insertion_point(field_get:dmi.GetLogLevelRequest.entities) |
| 5905 | return entities_.Get(index); |
| 5906 | } |
| 5907 | inline ::std::string* GetLogLevelRequest::mutable_entities(int index) { |
| 5908 | // @@protoc_insertion_point(field_mutable:dmi.GetLogLevelRequest.entities) |
| 5909 | return entities_.Mutable(index); |
| 5910 | } |
| 5911 | inline void GetLogLevelRequest::set_entities(int index, const ::std::string& value) { |
| 5912 | // @@protoc_insertion_point(field_set:dmi.GetLogLevelRequest.entities) |
| 5913 | entities_.Mutable(index)->assign(value); |
| 5914 | } |
| 5915 | #if LANG_CXX11 |
| 5916 | inline void GetLogLevelRequest::set_entities(int index, ::std::string&& value) { |
| 5917 | // @@protoc_insertion_point(field_set:dmi.GetLogLevelRequest.entities) |
| 5918 | entities_.Mutable(index)->assign(std::move(value)); |
| 5919 | } |
| 5920 | #endif |
| 5921 | inline void GetLogLevelRequest::set_entities(int index, const char* value) { |
| 5922 | GOOGLE_DCHECK(value != nullptr); |
| 5923 | entities_.Mutable(index)->assign(value); |
| 5924 | // @@protoc_insertion_point(field_set_char:dmi.GetLogLevelRequest.entities) |
| 5925 | } |
| 5926 | inline void GetLogLevelRequest::set_entities(int index, const char* value, size_t size) { |
| 5927 | entities_.Mutable(index)->assign( |
| 5928 | reinterpret_cast<const char*>(value), size); |
| 5929 | // @@protoc_insertion_point(field_set_pointer:dmi.GetLogLevelRequest.entities) |
| 5930 | } |
| 5931 | inline ::std::string* GetLogLevelRequest::add_entities() { |
| 5932 | // @@protoc_insertion_point(field_add_mutable:dmi.GetLogLevelRequest.entities) |
| 5933 | return entities_.Add(); |
| 5934 | } |
| 5935 | inline void GetLogLevelRequest::add_entities(const ::std::string& value) { |
| 5936 | entities_.Add()->assign(value); |
| 5937 | // @@protoc_insertion_point(field_add:dmi.GetLogLevelRequest.entities) |
| 5938 | } |
| 5939 | #if LANG_CXX11 |
| 5940 | inline void GetLogLevelRequest::add_entities(::std::string&& value) { |
| 5941 | entities_.Add(std::move(value)); |
| 5942 | // @@protoc_insertion_point(field_add:dmi.GetLogLevelRequest.entities) |
| 5943 | } |
| 5944 | #endif |
| 5945 | inline void GetLogLevelRequest::add_entities(const char* value) { |
| 5946 | GOOGLE_DCHECK(value != nullptr); |
| 5947 | entities_.Add()->assign(value); |
| 5948 | // @@protoc_insertion_point(field_add_char:dmi.GetLogLevelRequest.entities) |
| 5949 | } |
| 5950 | inline void GetLogLevelRequest::add_entities(const char* value, size_t size) { |
| 5951 | entities_.Add()->assign(reinterpret_cast<const char*>(value), size); |
| 5952 | // @@protoc_insertion_point(field_add_pointer:dmi.GetLogLevelRequest.entities) |
| 5953 | } |
| 5954 | inline const ::google::protobuf::RepeatedPtrField<::std::string>& |
| 5955 | GetLogLevelRequest::entities() const { |
| 5956 | // @@protoc_insertion_point(field_list:dmi.GetLogLevelRequest.entities) |
| 5957 | return entities_; |
| 5958 | } |
| 5959 | inline ::google::protobuf::RepeatedPtrField<::std::string>* |
| 5960 | GetLogLevelRequest::mutable_entities() { |
| 5961 | // @@protoc_insertion_point(field_mutable_list:dmi.GetLogLevelRequest.entities) |
| 5962 | return &entities_; |
| 5963 | } |
| 5964 | |
| 5965 | // ------------------------------------------------------------------- |
| 5966 | |
| 5967 | // GetLogLevelResponse |
| 5968 | |
| 5969 | // .dmi.Uuid device_uuid = 1; |
| 5970 | inline bool GetLogLevelResponse::has_device_uuid() const { |
| 5971 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 5972 | } |
| 5973 | inline const ::dmi::Uuid& GetLogLevelResponse::device_uuid() const { |
| 5974 | const ::dmi::Uuid* p = device_uuid_; |
| 5975 | // @@protoc_insertion_point(field_get:dmi.GetLogLevelResponse.device_uuid) |
| 5976 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 5977 | &::dmi::_Uuid_default_instance_); |
| 5978 | } |
| 5979 | inline ::dmi::Uuid* GetLogLevelResponse::release_device_uuid() { |
| 5980 | // @@protoc_insertion_point(field_release:dmi.GetLogLevelResponse.device_uuid) |
| 5981 | |
| 5982 | ::dmi::Uuid* temp = device_uuid_; |
| 5983 | device_uuid_ = nullptr; |
| 5984 | return temp; |
| 5985 | } |
| 5986 | inline ::dmi::Uuid* GetLogLevelResponse::mutable_device_uuid() { |
| 5987 | |
| 5988 | if (device_uuid_ == nullptr) { |
| 5989 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 5990 | device_uuid_ = p; |
| 5991 | } |
| 5992 | // @@protoc_insertion_point(field_mutable:dmi.GetLogLevelResponse.device_uuid) |
| 5993 | return device_uuid_; |
| 5994 | } |
| 5995 | inline void GetLogLevelResponse::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 5996 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 5997 | if (message_arena == nullptr) { |
| 5998 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 5999 | } |
| 6000 | if (device_uuid) { |
| 6001 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 6002 | if (message_arena != submessage_arena) { |
| 6003 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 6004 | message_arena, device_uuid, submessage_arena); |
| 6005 | } |
| 6006 | |
| 6007 | } else { |
| 6008 | |
| 6009 | } |
| 6010 | device_uuid_ = device_uuid; |
| 6011 | // @@protoc_insertion_point(field_set_allocated:dmi.GetLogLevelResponse.device_uuid) |
| 6012 | } |
| 6013 | |
| 6014 | // repeated .dmi.EntitiesLogLevel logLevels = 2; |
| 6015 | inline int GetLogLevelResponse::loglevels_size() const { |
| 6016 | return loglevels_.size(); |
| 6017 | } |
| 6018 | inline void GetLogLevelResponse::clear_loglevels() { |
| 6019 | loglevels_.Clear(); |
| 6020 | } |
| 6021 | inline ::dmi::EntitiesLogLevel* GetLogLevelResponse::mutable_loglevels(int index) { |
| 6022 | // @@protoc_insertion_point(field_mutable:dmi.GetLogLevelResponse.logLevels) |
| 6023 | return loglevels_.Mutable(index); |
| 6024 | } |
| 6025 | inline ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel >* |
| 6026 | GetLogLevelResponse::mutable_loglevels() { |
| 6027 | // @@protoc_insertion_point(field_mutable_list:dmi.GetLogLevelResponse.logLevels) |
| 6028 | return &loglevels_; |
| 6029 | } |
| 6030 | inline const ::dmi::EntitiesLogLevel& GetLogLevelResponse::loglevels(int index) const { |
| 6031 | // @@protoc_insertion_point(field_get:dmi.GetLogLevelResponse.logLevels) |
| 6032 | return loglevels_.Get(index); |
| 6033 | } |
| 6034 | inline ::dmi::EntitiesLogLevel* GetLogLevelResponse::add_loglevels() { |
| 6035 | // @@protoc_insertion_point(field_add:dmi.GetLogLevelResponse.logLevels) |
| 6036 | return loglevels_.Add(); |
| 6037 | } |
| 6038 | inline const ::google::protobuf::RepeatedPtrField< ::dmi::EntitiesLogLevel >& |
| 6039 | GetLogLevelResponse::loglevels() const { |
| 6040 | // @@protoc_insertion_point(field_list:dmi.GetLogLevelResponse.logLevels) |
| 6041 | return loglevels_; |
| 6042 | } |
| 6043 | |
| 6044 | // .dmi.Status status = 3; |
| 6045 | inline void GetLogLevelResponse::clear_status() { |
| 6046 | status_ = 0; |
| 6047 | } |
| 6048 | inline ::dmi::Status GetLogLevelResponse::status() const { |
| 6049 | // @@protoc_insertion_point(field_get:dmi.GetLogLevelResponse.status) |
| 6050 | return static_cast< ::dmi::Status >(status_); |
| 6051 | } |
| 6052 | inline void GetLogLevelResponse::set_status(::dmi::Status value) { |
| 6053 | |
| 6054 | status_ = value; |
| 6055 | // @@protoc_insertion_point(field_set:dmi.GetLogLevelResponse.status) |
| 6056 | } |
| 6057 | |
| 6058 | // .dmi.GetLogLevelResponse.Reason reason = 4; |
| 6059 | inline void GetLogLevelResponse::clear_reason() { |
| 6060 | reason_ = 0; |
| 6061 | } |
| 6062 | inline ::dmi::GetLogLevelResponse_Reason GetLogLevelResponse::reason() const { |
| 6063 | // @@protoc_insertion_point(field_get:dmi.GetLogLevelResponse.reason) |
| 6064 | return static_cast< ::dmi::GetLogLevelResponse_Reason >(reason_); |
| 6065 | } |
| 6066 | inline void GetLogLevelResponse::set_reason(::dmi::GetLogLevelResponse_Reason value) { |
| 6067 | |
| 6068 | reason_ = value; |
| 6069 | // @@protoc_insertion_point(field_set:dmi.GetLogLevelResponse.reason) |
| 6070 | } |
| 6071 | |
| 6072 | // string reason_detail = 5; |
| 6073 | inline void GetLogLevelResponse::clear_reason_detail() { |
| 6074 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6075 | } |
| 6076 | inline const ::std::string& GetLogLevelResponse::reason_detail() const { |
| 6077 | // @@protoc_insertion_point(field_get:dmi.GetLogLevelResponse.reason_detail) |
| 6078 | return reason_detail_.GetNoArena(); |
| 6079 | } |
| 6080 | inline void GetLogLevelResponse::set_reason_detail(const ::std::string& value) { |
| 6081 | |
| 6082 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 6083 | // @@protoc_insertion_point(field_set:dmi.GetLogLevelResponse.reason_detail) |
| 6084 | } |
| 6085 | #if LANG_CXX11 |
| 6086 | inline void GetLogLevelResponse::set_reason_detail(::std::string&& value) { |
| 6087 | |
| 6088 | reason_detail_.SetNoArena( |
| 6089 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 6090 | // @@protoc_insertion_point(field_set_rvalue:dmi.GetLogLevelResponse.reason_detail) |
| 6091 | } |
| 6092 | #endif |
| 6093 | inline void GetLogLevelResponse::set_reason_detail(const char* value) { |
| 6094 | GOOGLE_DCHECK(value != nullptr); |
| 6095 | |
| 6096 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 6097 | // @@protoc_insertion_point(field_set_char:dmi.GetLogLevelResponse.reason_detail) |
| 6098 | } |
| 6099 | inline void GetLogLevelResponse::set_reason_detail(const char* value, size_t size) { |
| 6100 | |
| 6101 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 6102 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 6103 | // @@protoc_insertion_point(field_set_pointer:dmi.GetLogLevelResponse.reason_detail) |
| 6104 | } |
| 6105 | inline ::std::string* GetLogLevelResponse::mutable_reason_detail() { |
| 6106 | |
| 6107 | // @@protoc_insertion_point(field_mutable:dmi.GetLogLevelResponse.reason_detail) |
| 6108 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6109 | } |
| 6110 | inline ::std::string* GetLogLevelResponse::release_reason_detail() { |
| 6111 | // @@protoc_insertion_point(field_release:dmi.GetLogLevelResponse.reason_detail) |
| 6112 | |
| 6113 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 6114 | } |
| 6115 | inline void GetLogLevelResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 6116 | if (reason_detail != nullptr) { |
| 6117 | |
| 6118 | } else { |
| 6119 | |
| 6120 | } |
| 6121 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 6122 | // @@protoc_insertion_point(field_set_allocated:dmi.GetLogLevelResponse.reason_detail) |
| 6123 | } |
| 6124 | |
| 6125 | // ------------------------------------------------------------------- |
| 6126 | |
| 6127 | // GetLoggableEntitiesRequest |
| 6128 | |
| 6129 | // .dmi.Uuid device_uuid = 1; |
| 6130 | inline bool GetLoggableEntitiesRequest::has_device_uuid() const { |
| 6131 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 6132 | } |
| 6133 | inline const ::dmi::Uuid& GetLoggableEntitiesRequest::device_uuid() const { |
| 6134 | const ::dmi::Uuid* p = device_uuid_; |
| 6135 | // @@protoc_insertion_point(field_get:dmi.GetLoggableEntitiesRequest.device_uuid) |
| 6136 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 6137 | &::dmi::_Uuid_default_instance_); |
| 6138 | } |
| 6139 | inline ::dmi::Uuid* GetLoggableEntitiesRequest::release_device_uuid() { |
| 6140 | // @@protoc_insertion_point(field_release:dmi.GetLoggableEntitiesRequest.device_uuid) |
| 6141 | |
| 6142 | ::dmi::Uuid* temp = device_uuid_; |
| 6143 | device_uuid_ = nullptr; |
| 6144 | return temp; |
| 6145 | } |
| 6146 | inline ::dmi::Uuid* GetLoggableEntitiesRequest::mutable_device_uuid() { |
| 6147 | |
| 6148 | if (device_uuid_ == nullptr) { |
| 6149 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 6150 | device_uuid_ = p; |
| 6151 | } |
| 6152 | // @@protoc_insertion_point(field_mutable:dmi.GetLoggableEntitiesRequest.device_uuid) |
| 6153 | return device_uuid_; |
| 6154 | } |
| 6155 | inline void GetLoggableEntitiesRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 6156 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 6157 | if (message_arena == nullptr) { |
| 6158 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 6159 | } |
| 6160 | if (device_uuid) { |
| 6161 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 6162 | if (message_arena != submessage_arena) { |
| 6163 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 6164 | message_arena, device_uuid, submessage_arena); |
| 6165 | } |
| 6166 | |
| 6167 | } else { |
| 6168 | |
| 6169 | } |
| 6170 | device_uuid_ = device_uuid; |
| 6171 | // @@protoc_insertion_point(field_set_allocated:dmi.GetLoggableEntitiesRequest.device_uuid) |
| 6172 | } |
| 6173 | |
| 6174 | #ifdef __GNUC__ |
| 6175 | #pragma GCC diagnostic pop |
| 6176 | #endif // __GNUC__ |
| 6177 | // ------------------------------------------------------------------- |
| 6178 | |
| 6179 | // ------------------------------------------------------------------- |
| 6180 | |
| 6181 | // ------------------------------------------------------------------- |
| 6182 | |
| 6183 | // ------------------------------------------------------------------- |
| 6184 | |
| 6185 | // ------------------------------------------------------------------- |
| 6186 | |
| 6187 | // ------------------------------------------------------------------- |
| 6188 | |
| 6189 | // ------------------------------------------------------------------- |
| 6190 | |
| 6191 | // ------------------------------------------------------------------- |
| 6192 | |
| 6193 | // ------------------------------------------------------------------- |
| 6194 | |
| 6195 | // ------------------------------------------------------------------- |
| 6196 | |
| 6197 | // ------------------------------------------------------------------- |
| 6198 | |
| 6199 | // ------------------------------------------------------------------- |
| 6200 | |
| 6201 | // ------------------------------------------------------------------- |
| 6202 | |
| 6203 | // ------------------------------------------------------------------- |
| 6204 | |
| 6205 | // ------------------------------------------------------------------- |
| 6206 | |
| 6207 | // ------------------------------------------------------------------- |
| 6208 | |
| 6209 | // ------------------------------------------------------------------- |
| 6210 | |
| 6211 | // ------------------------------------------------------------------- |
| 6212 | |
| 6213 | // ------------------------------------------------------------------- |
| 6214 | |
| 6215 | // ------------------------------------------------------------------- |
| 6216 | |
| 6217 | // ------------------------------------------------------------------- |
| 6218 | |
| 6219 | |
| 6220 | // @@protoc_insertion_point(namespace_scope) |
| 6221 | |
| 6222 | } // namespace dmi |
| 6223 | |
| 6224 | namespace google { |
| 6225 | namespace protobuf { |
| 6226 | |
| 6227 | template <> struct is_proto_enum< ::dmi::PhysicalInventoryResponse_Reason> : ::std::true_type {}; |
| 6228 | template <> |
| 6229 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::PhysicalInventoryResponse_Reason>() { |
| 6230 | return ::dmi::PhysicalInventoryResponse_Reason_descriptor(); |
| 6231 | } |
| 6232 | template <> struct is_proto_enum< ::dmi::HWComponentInfoGetResponse_Reason> : ::std::true_type {}; |
| 6233 | template <> |
| 6234 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::HWComponentInfoGetResponse_Reason>() { |
| 6235 | return ::dmi::HWComponentInfoGetResponse_Reason_descriptor(); |
| 6236 | } |
| 6237 | template <> struct is_proto_enum< ::dmi::HWComponentInfoSetResponse_Reason> : ::std::true_type {}; |
| 6238 | template <> |
| 6239 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::HWComponentInfoSetResponse_Reason>() { |
| 6240 | return ::dmi::HWComponentInfoSetResponse_Reason_descriptor(); |
| 6241 | } |
| 6242 | template <> struct is_proto_enum< ::dmi::StartManagingDeviceResponse_Reason> : ::std::true_type {}; |
| 6243 | template <> |
| 6244 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::StartManagingDeviceResponse_Reason>() { |
| 6245 | return ::dmi::StartManagingDeviceResponse_Reason_descriptor(); |
| 6246 | } |
| 6247 | template <> struct is_proto_enum< ::dmi::StopManagingDeviceResponse_Reason> : ::std::true_type {}; |
| 6248 | template <> |
| 6249 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::StopManagingDeviceResponse_Reason>() { |
| 6250 | return ::dmi::StopManagingDeviceResponse_Reason_descriptor(); |
| 6251 | } |
| 6252 | template <> struct is_proto_enum< ::dmi::ManagedDevicesResponse_Reason> : ::std::true_type {}; |
| 6253 | template <> |
| 6254 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::ManagedDevicesResponse_Reason>() { |
| 6255 | return ::dmi::ManagedDevicesResponse_Reason_descriptor(); |
| 6256 | } |
| 6257 | template <> struct is_proto_enum< ::dmi::SetRemoteEndpointResponse_Reason> : ::std::true_type {}; |
| 6258 | template <> |
| 6259 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::SetRemoteEndpointResponse_Reason>() { |
| 6260 | return ::dmi::SetRemoteEndpointResponse_Reason_descriptor(); |
| 6261 | } |
| 6262 | template <> struct is_proto_enum< ::dmi::GetLoggingEndpointResponse_Reason> : ::std::true_type {}; |
| 6263 | template <> |
| 6264 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::GetLoggingEndpointResponse_Reason>() { |
| 6265 | return ::dmi::GetLoggingEndpointResponse_Reason_descriptor(); |
| 6266 | } |
| 6267 | template <> struct is_proto_enum< ::dmi::GetMsgBusEndpointResponse_Reason> : ::std::true_type {}; |
| 6268 | template <> |
| 6269 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::GetMsgBusEndpointResponse_Reason>() { |
| 6270 | return ::dmi::GetMsgBusEndpointResponse_Reason_descriptor(); |
| 6271 | } |
| 6272 | template <> struct is_proto_enum< ::dmi::SetLogLevelResponse_Reason> : ::std::true_type {}; |
| 6273 | template <> |
| 6274 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::SetLogLevelResponse_Reason>() { |
| 6275 | return ::dmi::SetLogLevelResponse_Reason_descriptor(); |
| 6276 | } |
| 6277 | template <> struct is_proto_enum< ::dmi::GetLogLevelResponse_Reason> : ::std::true_type {}; |
| 6278 | template <> |
| 6279 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::GetLogLevelResponse_Reason>() { |
| 6280 | return ::dmi::GetLogLevelResponse_Reason_descriptor(); |
| 6281 | } |
| 6282 | |
| 6283 | } // namespace protobuf |
| 6284 | } // namespace google |
| 6285 | |
| 6286 | // @@protoc_insertion_point(global_scope) |
| 6287 | |
| 6288 | #include <google/protobuf/port_undef.inc> |
| 6289 | #endif // PROTOBUF_INCLUDED_dmi_2fhw_5fmanagement_5fservice_2eproto |