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/sw_management_service.proto |
| 3 | |
| 4 | #ifndef PROTOBUF_INCLUDED_dmi_2fsw_5fmanagement_5fservice_2eproto |
| 5 | #define PROTOBUF_INCLUDED_dmi_2fsw_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 "dmi/sw_image.pb.h" |
| 38 | // @@protoc_insertion_point(includes) |
| 39 | #include <google/protobuf/port_def.inc> |
| 40 | #define PROTOBUF_INTERNAL_EXPORT_dmi_2fsw_5fmanagement_5fservice_2eproto |
| 41 | |
| 42 | // Internal implementation detail -- do not use these members. |
| 43 | struct TableStruct_dmi_2fsw_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[7] |
| 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_2fsw_5fmanagement_5fservice_2eproto(); |
| 55 | namespace dmi { |
| 56 | class ConfigRequest; |
| 57 | class ConfigRequestDefaultTypeInternal; |
| 58 | extern ConfigRequestDefaultTypeInternal _ConfigRequest_default_instance_; |
| 59 | class ConfigResponse; |
| 60 | class ConfigResponseDefaultTypeInternal; |
| 61 | extern ConfigResponseDefaultTypeInternal _ConfigResponse_default_instance_; |
| 62 | class DownloadImageRequest; |
| 63 | class DownloadImageRequestDefaultTypeInternal; |
| 64 | extern DownloadImageRequestDefaultTypeInternal _DownloadImageRequest_default_instance_; |
| 65 | class GetSoftwareVersionInformationResponse; |
| 66 | class GetSoftwareVersionInformationResponseDefaultTypeInternal; |
| 67 | extern GetSoftwareVersionInformationResponseDefaultTypeInternal _GetSoftwareVersionInformationResponse_default_instance_; |
| 68 | class SoftwareVersionInformation; |
| 69 | class SoftwareVersionInformationDefaultTypeInternal; |
| 70 | extern SoftwareVersionInformationDefaultTypeInternal _SoftwareVersionInformation_default_instance_; |
| 71 | class StartupConfigInfoRequest; |
| 72 | class StartupConfigInfoRequestDefaultTypeInternal; |
| 73 | extern StartupConfigInfoRequestDefaultTypeInternal _StartupConfigInfoRequest_default_instance_; |
| 74 | class StartupConfigInfoResponse; |
| 75 | class StartupConfigInfoResponseDefaultTypeInternal; |
| 76 | extern StartupConfigInfoResponseDefaultTypeInternal _StartupConfigInfoResponse_default_instance_; |
| 77 | } // namespace dmi |
| 78 | namespace google { |
| 79 | namespace protobuf { |
| 80 | template<> ::dmi::ConfigRequest* Arena::CreateMaybeMessage<::dmi::ConfigRequest>(Arena*); |
| 81 | template<> ::dmi::ConfigResponse* Arena::CreateMaybeMessage<::dmi::ConfigResponse>(Arena*); |
| 82 | template<> ::dmi::DownloadImageRequest* Arena::CreateMaybeMessage<::dmi::DownloadImageRequest>(Arena*); |
| 83 | template<> ::dmi::GetSoftwareVersionInformationResponse* Arena::CreateMaybeMessage<::dmi::GetSoftwareVersionInformationResponse>(Arena*); |
| 84 | template<> ::dmi::SoftwareVersionInformation* Arena::CreateMaybeMessage<::dmi::SoftwareVersionInformation>(Arena*); |
| 85 | template<> ::dmi::StartupConfigInfoRequest* Arena::CreateMaybeMessage<::dmi::StartupConfigInfoRequest>(Arena*); |
| 86 | template<> ::dmi::StartupConfigInfoResponse* Arena::CreateMaybeMessage<::dmi::StartupConfigInfoResponse>(Arena*); |
| 87 | } // namespace protobuf |
| 88 | } // namespace google |
| 89 | namespace dmi { |
| 90 | |
| 91 | enum GetSoftwareVersionInformationResponse_Reason { |
| 92 | GetSoftwareVersionInformationResponse_Reason_UNDEFINED_REASON = 0, |
| 93 | GetSoftwareVersionInformationResponse_Reason_UNKNOWN_DEVICE = 1, |
| 94 | GetSoftwareVersionInformationResponse_Reason_INTERNAL_ERROR = 2, |
| 95 | GetSoftwareVersionInformationResponse_Reason_DEVICE_UNREACHABLE = 3, |
| 96 | GetSoftwareVersionInformationResponse_Reason_GetSoftwareVersionInformationResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 97 | GetSoftwareVersionInformationResponse_Reason_GetSoftwareVersionInformationResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 98 | }; |
| 99 | bool GetSoftwareVersionInformationResponse_Reason_IsValid(int value); |
| 100 | const GetSoftwareVersionInformationResponse_Reason GetSoftwareVersionInformationResponse_Reason_Reason_MIN = GetSoftwareVersionInformationResponse_Reason_UNDEFINED_REASON; |
| 101 | const GetSoftwareVersionInformationResponse_Reason GetSoftwareVersionInformationResponse_Reason_Reason_MAX = GetSoftwareVersionInformationResponse_Reason_DEVICE_UNREACHABLE; |
| 102 | const int GetSoftwareVersionInformationResponse_Reason_Reason_ARRAYSIZE = GetSoftwareVersionInformationResponse_Reason_Reason_MAX + 1; |
| 103 | |
| 104 | const ::google::protobuf::EnumDescriptor* GetSoftwareVersionInformationResponse_Reason_descriptor(); |
| 105 | inline const ::std::string& GetSoftwareVersionInformationResponse_Reason_Name(GetSoftwareVersionInformationResponse_Reason value) { |
| 106 | return ::google::protobuf::internal::NameOfEnum( |
| 107 | GetSoftwareVersionInformationResponse_Reason_descriptor(), value); |
| 108 | } |
| 109 | inline bool GetSoftwareVersionInformationResponse_Reason_Parse( |
| 110 | const ::std::string& name, GetSoftwareVersionInformationResponse_Reason* value) { |
| 111 | return ::google::protobuf::internal::ParseNamedEnum<GetSoftwareVersionInformationResponse_Reason>( |
| 112 | GetSoftwareVersionInformationResponse_Reason_descriptor(), name, value); |
| 113 | } |
| 114 | enum ConfigResponse_Reason { |
| 115 | ConfigResponse_Reason_UNDEFINED_REASON = 0, |
| 116 | ConfigResponse_Reason_UNKNOWN_DEVICE = 1, |
| 117 | ConfigResponse_Reason_INTERNAL_ERROR = 2, |
| 118 | ConfigResponse_Reason_ERROR_FETCHING_CONFIG = 3, |
| 119 | ConfigResponse_Reason_INVALID_CONFIG = 4, |
| 120 | ConfigResponse_Reason_OPERATION_ALREADY_IN_PROGRESS = 5, |
| 121 | ConfigResponse_Reason_DEVICE_UNREACHABLE = 6, |
| 122 | ConfigResponse_Reason_ConfigResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 123 | ConfigResponse_Reason_ConfigResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 124 | }; |
| 125 | bool ConfigResponse_Reason_IsValid(int value); |
| 126 | const ConfigResponse_Reason ConfigResponse_Reason_Reason_MIN = ConfigResponse_Reason_UNDEFINED_REASON; |
| 127 | const ConfigResponse_Reason ConfigResponse_Reason_Reason_MAX = ConfigResponse_Reason_DEVICE_UNREACHABLE; |
| 128 | const int ConfigResponse_Reason_Reason_ARRAYSIZE = ConfigResponse_Reason_Reason_MAX + 1; |
| 129 | |
| 130 | const ::google::protobuf::EnumDescriptor* ConfigResponse_Reason_descriptor(); |
| 131 | inline const ::std::string& ConfigResponse_Reason_Name(ConfigResponse_Reason value) { |
| 132 | return ::google::protobuf::internal::NameOfEnum( |
| 133 | ConfigResponse_Reason_descriptor(), value); |
| 134 | } |
| 135 | inline bool ConfigResponse_Reason_Parse( |
| 136 | const ::std::string& name, ConfigResponse_Reason* value) { |
| 137 | return ::google::protobuf::internal::ParseNamedEnum<ConfigResponse_Reason>( |
| 138 | ConfigResponse_Reason_descriptor(), name, value); |
| 139 | } |
| 140 | enum StartupConfigInfoResponse_Reason { |
| 141 | StartupConfigInfoResponse_Reason_UNDEFINED_REASON = 0, |
| 142 | StartupConfigInfoResponse_Reason_UNKNOWN_DEVICE = 1, |
| 143 | StartupConfigInfoResponse_Reason_INTERNAL_ERROR = 2, |
| 144 | StartupConfigInfoResponse_Reason_DEVICE_UNREACHABLE = 3, |
| 145 | StartupConfigInfoResponse_Reason_StartupConfigInfoResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 146 | StartupConfigInfoResponse_Reason_StartupConfigInfoResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 147 | }; |
| 148 | bool StartupConfigInfoResponse_Reason_IsValid(int value); |
| 149 | const StartupConfigInfoResponse_Reason StartupConfigInfoResponse_Reason_Reason_MIN = StartupConfigInfoResponse_Reason_UNDEFINED_REASON; |
| 150 | const StartupConfigInfoResponse_Reason StartupConfigInfoResponse_Reason_Reason_MAX = StartupConfigInfoResponse_Reason_DEVICE_UNREACHABLE; |
| 151 | const int StartupConfigInfoResponse_Reason_Reason_ARRAYSIZE = StartupConfigInfoResponse_Reason_Reason_MAX + 1; |
| 152 | |
| 153 | const ::google::protobuf::EnumDescriptor* StartupConfigInfoResponse_Reason_descriptor(); |
| 154 | inline const ::std::string& StartupConfigInfoResponse_Reason_Name(StartupConfigInfoResponse_Reason value) { |
| 155 | return ::google::protobuf::internal::NameOfEnum( |
| 156 | StartupConfigInfoResponse_Reason_descriptor(), value); |
| 157 | } |
| 158 | inline bool StartupConfigInfoResponse_Reason_Parse( |
| 159 | const ::std::string& name, StartupConfigInfoResponse_Reason* value) { |
| 160 | return ::google::protobuf::internal::ParseNamedEnum<StartupConfigInfoResponse_Reason>( |
| 161 | StartupConfigInfoResponse_Reason_descriptor(), name, value); |
| 162 | } |
| 163 | // =================================================================== |
| 164 | |
| 165 | class SoftwareVersionInformation final : |
| 166 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.SoftwareVersionInformation) */ { |
| 167 | public: |
| 168 | SoftwareVersionInformation(); |
| 169 | virtual ~SoftwareVersionInformation(); |
| 170 | |
| 171 | SoftwareVersionInformation(const SoftwareVersionInformation& from); |
| 172 | |
| 173 | inline SoftwareVersionInformation& operator=(const SoftwareVersionInformation& from) { |
| 174 | CopyFrom(from); |
| 175 | return *this; |
| 176 | } |
| 177 | #if LANG_CXX11 |
| 178 | SoftwareVersionInformation(SoftwareVersionInformation&& from) noexcept |
| 179 | : SoftwareVersionInformation() { |
| 180 | *this = ::std::move(from); |
| 181 | } |
| 182 | |
| 183 | inline SoftwareVersionInformation& operator=(SoftwareVersionInformation&& from) noexcept { |
| 184 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 185 | if (this != &from) InternalSwap(&from); |
| 186 | } else { |
| 187 | CopyFrom(from); |
| 188 | } |
| 189 | return *this; |
| 190 | } |
| 191 | #endif |
| 192 | static const ::google::protobuf::Descriptor* descriptor() { |
| 193 | return default_instance().GetDescriptor(); |
| 194 | } |
| 195 | static const SoftwareVersionInformation& default_instance(); |
| 196 | |
| 197 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 198 | static inline const SoftwareVersionInformation* internal_default_instance() { |
| 199 | return reinterpret_cast<const SoftwareVersionInformation*>( |
| 200 | &_SoftwareVersionInformation_default_instance_); |
| 201 | } |
| 202 | static constexpr int kIndexInFileMessages = |
| 203 | 0; |
| 204 | |
| 205 | void Swap(SoftwareVersionInformation* other); |
| 206 | friend void swap(SoftwareVersionInformation& a, SoftwareVersionInformation& b) { |
| 207 | a.Swap(&b); |
| 208 | } |
| 209 | |
| 210 | // implements Message ---------------------------------------------- |
| 211 | |
| 212 | inline SoftwareVersionInformation* New() const final { |
| 213 | return CreateMaybeMessage<SoftwareVersionInformation>(nullptr); |
| 214 | } |
| 215 | |
| 216 | SoftwareVersionInformation* New(::google::protobuf::Arena* arena) const final { |
| 217 | return CreateMaybeMessage<SoftwareVersionInformation>(arena); |
| 218 | } |
| 219 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 220 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 221 | void CopyFrom(const SoftwareVersionInformation& from); |
| 222 | void MergeFrom(const SoftwareVersionInformation& from); |
| 223 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 224 | bool IsInitialized() const final; |
| 225 | |
| 226 | size_t ByteSizeLong() const final; |
| 227 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 228 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 229 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 230 | #else |
| 231 | bool MergePartialFromCodedStream( |
| 232 | ::google::protobuf::io::CodedInputStream* input) final; |
| 233 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 234 | void SerializeWithCachedSizes( |
| 235 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 236 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 237 | ::google::protobuf::uint8* target) const final; |
| 238 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 239 | |
| 240 | private: |
| 241 | void SharedCtor(); |
| 242 | void SharedDtor(); |
| 243 | void SetCachedSize(int size) const final; |
| 244 | void InternalSwap(SoftwareVersionInformation* other); |
| 245 | private: |
| 246 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 247 | return nullptr; |
| 248 | } |
| 249 | inline void* MaybeArenaPtr() const { |
| 250 | return nullptr; |
| 251 | } |
| 252 | public: |
| 253 | |
| 254 | ::google::protobuf::Metadata GetMetadata() const final; |
| 255 | |
| 256 | // nested types ---------------------------------------------------- |
| 257 | |
| 258 | // accessors ------------------------------------------------------- |
| 259 | |
| 260 | // repeated .dmi.ImageVersion active_versions = 1; |
| 261 | int active_versions_size() const; |
| 262 | void clear_active_versions(); |
| 263 | static const int kActiveVersionsFieldNumber = 1; |
| 264 | ::dmi::ImageVersion* mutable_active_versions(int index); |
| 265 | ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion >* |
| 266 | mutable_active_versions(); |
| 267 | const ::dmi::ImageVersion& active_versions(int index) const; |
| 268 | ::dmi::ImageVersion* add_active_versions(); |
| 269 | const ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion >& |
| 270 | active_versions() const; |
| 271 | |
| 272 | // repeated .dmi.ImageVersion standby_versions = 2; |
| 273 | int standby_versions_size() const; |
| 274 | void clear_standby_versions(); |
| 275 | static const int kStandbyVersionsFieldNumber = 2; |
| 276 | ::dmi::ImageVersion* mutable_standby_versions(int index); |
| 277 | ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion >* |
| 278 | mutable_standby_versions(); |
| 279 | const ::dmi::ImageVersion& standby_versions(int index) const; |
| 280 | ::dmi::ImageVersion* add_standby_versions(); |
| 281 | const ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion >& |
| 282 | standby_versions() const; |
| 283 | |
| 284 | // @@protoc_insertion_point(class_scope:dmi.SoftwareVersionInformation) |
| 285 | private: |
| 286 | class HasBitSetters; |
| 287 | |
| 288 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 289 | ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion > active_versions_; |
| 290 | ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion > standby_versions_; |
| 291 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 292 | friend struct ::TableStruct_dmi_2fsw_5fmanagement_5fservice_2eproto; |
| 293 | }; |
| 294 | // ------------------------------------------------------------------- |
| 295 | |
| 296 | class GetSoftwareVersionInformationResponse final : |
| 297 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.GetSoftwareVersionInformationResponse) */ { |
| 298 | public: |
| 299 | GetSoftwareVersionInformationResponse(); |
| 300 | virtual ~GetSoftwareVersionInformationResponse(); |
| 301 | |
| 302 | GetSoftwareVersionInformationResponse(const GetSoftwareVersionInformationResponse& from); |
| 303 | |
| 304 | inline GetSoftwareVersionInformationResponse& operator=(const GetSoftwareVersionInformationResponse& from) { |
| 305 | CopyFrom(from); |
| 306 | return *this; |
| 307 | } |
| 308 | #if LANG_CXX11 |
| 309 | GetSoftwareVersionInformationResponse(GetSoftwareVersionInformationResponse&& from) noexcept |
| 310 | : GetSoftwareVersionInformationResponse() { |
| 311 | *this = ::std::move(from); |
| 312 | } |
| 313 | |
| 314 | inline GetSoftwareVersionInformationResponse& operator=(GetSoftwareVersionInformationResponse&& from) noexcept { |
| 315 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 316 | if (this != &from) InternalSwap(&from); |
| 317 | } else { |
| 318 | CopyFrom(from); |
| 319 | } |
| 320 | return *this; |
| 321 | } |
| 322 | #endif |
| 323 | static const ::google::protobuf::Descriptor* descriptor() { |
| 324 | return default_instance().GetDescriptor(); |
| 325 | } |
| 326 | static const GetSoftwareVersionInformationResponse& default_instance(); |
| 327 | |
| 328 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 329 | static inline const GetSoftwareVersionInformationResponse* internal_default_instance() { |
| 330 | return reinterpret_cast<const GetSoftwareVersionInformationResponse*>( |
| 331 | &_GetSoftwareVersionInformationResponse_default_instance_); |
| 332 | } |
| 333 | static constexpr int kIndexInFileMessages = |
| 334 | 1; |
| 335 | |
| 336 | void Swap(GetSoftwareVersionInformationResponse* other); |
| 337 | friend void swap(GetSoftwareVersionInformationResponse& a, GetSoftwareVersionInformationResponse& b) { |
| 338 | a.Swap(&b); |
| 339 | } |
| 340 | |
| 341 | // implements Message ---------------------------------------------- |
| 342 | |
| 343 | inline GetSoftwareVersionInformationResponse* New() const final { |
| 344 | return CreateMaybeMessage<GetSoftwareVersionInformationResponse>(nullptr); |
| 345 | } |
| 346 | |
| 347 | GetSoftwareVersionInformationResponse* New(::google::protobuf::Arena* arena) const final { |
| 348 | return CreateMaybeMessage<GetSoftwareVersionInformationResponse>(arena); |
| 349 | } |
| 350 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 351 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 352 | void CopyFrom(const GetSoftwareVersionInformationResponse& from); |
| 353 | void MergeFrom(const GetSoftwareVersionInformationResponse& from); |
| 354 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 355 | bool IsInitialized() const final; |
| 356 | |
| 357 | size_t ByteSizeLong() const final; |
| 358 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 359 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 360 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 361 | #else |
| 362 | bool MergePartialFromCodedStream( |
| 363 | ::google::protobuf::io::CodedInputStream* input) final; |
| 364 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 365 | void SerializeWithCachedSizes( |
| 366 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 367 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 368 | ::google::protobuf::uint8* target) const final; |
| 369 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 370 | |
| 371 | private: |
| 372 | void SharedCtor(); |
| 373 | void SharedDtor(); |
| 374 | void SetCachedSize(int size) const final; |
| 375 | void InternalSwap(GetSoftwareVersionInformationResponse* other); |
| 376 | private: |
| 377 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 378 | return nullptr; |
| 379 | } |
| 380 | inline void* MaybeArenaPtr() const { |
| 381 | return nullptr; |
| 382 | } |
| 383 | public: |
| 384 | |
| 385 | ::google::protobuf::Metadata GetMetadata() const final; |
| 386 | |
| 387 | // nested types ---------------------------------------------------- |
| 388 | |
| 389 | typedef GetSoftwareVersionInformationResponse_Reason Reason; |
| 390 | static const Reason UNDEFINED_REASON = |
| 391 | GetSoftwareVersionInformationResponse_Reason_UNDEFINED_REASON; |
| 392 | static const Reason UNKNOWN_DEVICE = |
| 393 | GetSoftwareVersionInformationResponse_Reason_UNKNOWN_DEVICE; |
| 394 | static const Reason INTERNAL_ERROR = |
| 395 | GetSoftwareVersionInformationResponse_Reason_INTERNAL_ERROR; |
| 396 | static const Reason DEVICE_UNREACHABLE = |
| 397 | GetSoftwareVersionInformationResponse_Reason_DEVICE_UNREACHABLE; |
| 398 | static inline bool Reason_IsValid(int value) { |
| 399 | return GetSoftwareVersionInformationResponse_Reason_IsValid(value); |
| 400 | } |
| 401 | static const Reason Reason_MIN = |
| 402 | GetSoftwareVersionInformationResponse_Reason_Reason_MIN; |
| 403 | static const Reason Reason_MAX = |
| 404 | GetSoftwareVersionInformationResponse_Reason_Reason_MAX; |
| 405 | static const int Reason_ARRAYSIZE = |
| 406 | GetSoftwareVersionInformationResponse_Reason_Reason_ARRAYSIZE; |
| 407 | static inline const ::google::protobuf::EnumDescriptor* |
| 408 | Reason_descriptor() { |
| 409 | return GetSoftwareVersionInformationResponse_Reason_descriptor(); |
| 410 | } |
| 411 | static inline const ::std::string& Reason_Name(Reason value) { |
| 412 | return GetSoftwareVersionInformationResponse_Reason_Name(value); |
| 413 | } |
| 414 | static inline bool Reason_Parse(const ::std::string& name, |
| 415 | Reason* value) { |
| 416 | return GetSoftwareVersionInformationResponse_Reason_Parse(name, value); |
| 417 | } |
| 418 | |
| 419 | // accessors ------------------------------------------------------- |
| 420 | |
| 421 | // string reason_detail = 4; |
| 422 | void clear_reason_detail(); |
| 423 | static const int kReasonDetailFieldNumber = 4; |
| 424 | const ::std::string& reason_detail() const; |
| 425 | void set_reason_detail(const ::std::string& value); |
| 426 | #if LANG_CXX11 |
| 427 | void set_reason_detail(::std::string&& value); |
| 428 | #endif |
| 429 | void set_reason_detail(const char* value); |
| 430 | void set_reason_detail(const char* value, size_t size); |
| 431 | ::std::string* mutable_reason_detail(); |
| 432 | ::std::string* release_reason_detail(); |
| 433 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 434 | |
| 435 | // .dmi.SoftwareVersionInformation info = 3; |
| 436 | bool has_info() const; |
| 437 | void clear_info(); |
| 438 | static const int kInfoFieldNumber = 3; |
| 439 | const ::dmi::SoftwareVersionInformation& info() const; |
| 440 | ::dmi::SoftwareVersionInformation* release_info(); |
| 441 | ::dmi::SoftwareVersionInformation* mutable_info(); |
| 442 | void set_allocated_info(::dmi::SoftwareVersionInformation* info); |
| 443 | |
| 444 | // .dmi.Status status = 1; |
| 445 | void clear_status(); |
| 446 | static const int kStatusFieldNumber = 1; |
| 447 | ::dmi::Status status() const; |
| 448 | void set_status(::dmi::Status value); |
| 449 | |
| 450 | // .dmi.GetSoftwareVersionInformationResponse.Reason reason = 2; |
| 451 | void clear_reason(); |
| 452 | static const int kReasonFieldNumber = 2; |
| 453 | ::dmi::GetSoftwareVersionInformationResponse_Reason reason() const; |
| 454 | void set_reason(::dmi::GetSoftwareVersionInformationResponse_Reason value); |
| 455 | |
| 456 | // @@protoc_insertion_point(class_scope:dmi.GetSoftwareVersionInformationResponse) |
| 457 | private: |
| 458 | class HasBitSetters; |
| 459 | |
| 460 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 461 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 462 | ::dmi::SoftwareVersionInformation* info_; |
| 463 | int status_; |
| 464 | int reason_; |
| 465 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 466 | friend struct ::TableStruct_dmi_2fsw_5fmanagement_5fservice_2eproto; |
| 467 | }; |
| 468 | // ------------------------------------------------------------------- |
| 469 | |
| 470 | class DownloadImageRequest final : |
| 471 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.DownloadImageRequest) */ { |
| 472 | public: |
| 473 | DownloadImageRequest(); |
| 474 | virtual ~DownloadImageRequest(); |
| 475 | |
| 476 | DownloadImageRequest(const DownloadImageRequest& from); |
| 477 | |
| 478 | inline DownloadImageRequest& operator=(const DownloadImageRequest& from) { |
| 479 | CopyFrom(from); |
| 480 | return *this; |
| 481 | } |
| 482 | #if LANG_CXX11 |
| 483 | DownloadImageRequest(DownloadImageRequest&& from) noexcept |
| 484 | : DownloadImageRequest() { |
| 485 | *this = ::std::move(from); |
| 486 | } |
| 487 | |
| 488 | inline DownloadImageRequest& operator=(DownloadImageRequest&& from) noexcept { |
| 489 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 490 | if (this != &from) InternalSwap(&from); |
| 491 | } else { |
| 492 | CopyFrom(from); |
| 493 | } |
| 494 | return *this; |
| 495 | } |
| 496 | #endif |
| 497 | static const ::google::protobuf::Descriptor* descriptor() { |
| 498 | return default_instance().GetDescriptor(); |
| 499 | } |
| 500 | static const DownloadImageRequest& default_instance(); |
| 501 | |
| 502 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 503 | static inline const DownloadImageRequest* internal_default_instance() { |
| 504 | return reinterpret_cast<const DownloadImageRequest*>( |
| 505 | &_DownloadImageRequest_default_instance_); |
| 506 | } |
| 507 | static constexpr int kIndexInFileMessages = |
| 508 | 2; |
| 509 | |
| 510 | void Swap(DownloadImageRequest* other); |
| 511 | friend void swap(DownloadImageRequest& a, DownloadImageRequest& b) { |
| 512 | a.Swap(&b); |
| 513 | } |
| 514 | |
| 515 | // implements Message ---------------------------------------------- |
| 516 | |
| 517 | inline DownloadImageRequest* New() const final { |
| 518 | return CreateMaybeMessage<DownloadImageRequest>(nullptr); |
| 519 | } |
| 520 | |
| 521 | DownloadImageRequest* New(::google::protobuf::Arena* arena) const final { |
| 522 | return CreateMaybeMessage<DownloadImageRequest>(arena); |
| 523 | } |
| 524 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 525 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 526 | void CopyFrom(const DownloadImageRequest& from); |
| 527 | void MergeFrom(const DownloadImageRequest& from); |
| 528 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 529 | bool IsInitialized() const final; |
| 530 | |
| 531 | size_t ByteSizeLong() const final; |
| 532 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 533 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 534 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 535 | #else |
| 536 | bool MergePartialFromCodedStream( |
| 537 | ::google::protobuf::io::CodedInputStream* input) final; |
| 538 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 539 | void SerializeWithCachedSizes( |
| 540 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 541 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 542 | ::google::protobuf::uint8* target) const final; |
| 543 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 544 | |
| 545 | private: |
| 546 | void SharedCtor(); |
| 547 | void SharedDtor(); |
| 548 | void SetCachedSize(int size) const final; |
| 549 | void InternalSwap(DownloadImageRequest* other); |
| 550 | private: |
| 551 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 552 | return nullptr; |
| 553 | } |
| 554 | inline void* MaybeArenaPtr() const { |
| 555 | return nullptr; |
| 556 | } |
| 557 | public: |
| 558 | |
| 559 | ::google::protobuf::Metadata GetMetadata() const final; |
| 560 | |
| 561 | // nested types ---------------------------------------------------- |
| 562 | |
| 563 | // accessors ------------------------------------------------------- |
| 564 | |
| 565 | // .dmi.Uuid device_uuid = 1; |
| 566 | bool has_device_uuid() const; |
| 567 | void clear_device_uuid(); |
| 568 | static const int kDeviceUuidFieldNumber = 1; |
| 569 | const ::dmi::Uuid& device_uuid() const; |
| 570 | ::dmi::Uuid* release_device_uuid(); |
| 571 | ::dmi::Uuid* mutable_device_uuid(); |
| 572 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 573 | |
| 574 | // .dmi.ImageInformation image_info = 2; |
| 575 | bool has_image_info() const; |
| 576 | void clear_image_info(); |
| 577 | static const int kImageInfoFieldNumber = 2; |
| 578 | const ::dmi::ImageInformation& image_info() const; |
| 579 | ::dmi::ImageInformation* release_image_info(); |
| 580 | ::dmi::ImageInformation* mutable_image_info(); |
| 581 | void set_allocated_image_info(::dmi::ImageInformation* image_info); |
| 582 | |
| 583 | // @@protoc_insertion_point(class_scope:dmi.DownloadImageRequest) |
| 584 | private: |
| 585 | class HasBitSetters; |
| 586 | |
| 587 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 588 | ::dmi::Uuid* device_uuid_; |
| 589 | ::dmi::ImageInformation* image_info_; |
| 590 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 591 | friend struct ::TableStruct_dmi_2fsw_5fmanagement_5fservice_2eproto; |
| 592 | }; |
| 593 | // ------------------------------------------------------------------- |
| 594 | |
| 595 | class ConfigRequest final : |
| 596 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.ConfigRequest) */ { |
| 597 | public: |
| 598 | ConfigRequest(); |
| 599 | virtual ~ConfigRequest(); |
| 600 | |
| 601 | ConfigRequest(const ConfigRequest& from); |
| 602 | |
| 603 | inline ConfigRequest& operator=(const ConfigRequest& from) { |
| 604 | CopyFrom(from); |
| 605 | return *this; |
| 606 | } |
| 607 | #if LANG_CXX11 |
| 608 | ConfigRequest(ConfigRequest&& from) noexcept |
| 609 | : ConfigRequest() { |
| 610 | *this = ::std::move(from); |
| 611 | } |
| 612 | |
| 613 | inline ConfigRequest& operator=(ConfigRequest&& from) noexcept { |
| 614 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 615 | if (this != &from) InternalSwap(&from); |
| 616 | } else { |
| 617 | CopyFrom(from); |
| 618 | } |
| 619 | return *this; |
| 620 | } |
| 621 | #endif |
| 622 | static const ::google::protobuf::Descriptor* descriptor() { |
| 623 | return default_instance().GetDescriptor(); |
| 624 | } |
| 625 | static const ConfigRequest& default_instance(); |
| 626 | |
| 627 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 628 | static inline const ConfigRequest* internal_default_instance() { |
| 629 | return reinterpret_cast<const ConfigRequest*>( |
| 630 | &_ConfigRequest_default_instance_); |
| 631 | } |
| 632 | static constexpr int kIndexInFileMessages = |
| 633 | 3; |
| 634 | |
| 635 | void Swap(ConfigRequest* other); |
| 636 | friend void swap(ConfigRequest& a, ConfigRequest& b) { |
| 637 | a.Swap(&b); |
| 638 | } |
| 639 | |
| 640 | // implements Message ---------------------------------------------- |
| 641 | |
| 642 | inline ConfigRequest* New() const final { |
| 643 | return CreateMaybeMessage<ConfigRequest>(nullptr); |
| 644 | } |
| 645 | |
| 646 | ConfigRequest* New(::google::protobuf::Arena* arena) const final { |
| 647 | return CreateMaybeMessage<ConfigRequest>(arena); |
| 648 | } |
| 649 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 650 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 651 | void CopyFrom(const ConfigRequest& from); |
| 652 | void MergeFrom(const ConfigRequest& from); |
| 653 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 654 | bool IsInitialized() const final; |
| 655 | |
| 656 | size_t ByteSizeLong() const final; |
| 657 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 658 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 659 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 660 | #else |
| 661 | bool MergePartialFromCodedStream( |
| 662 | ::google::protobuf::io::CodedInputStream* input) final; |
| 663 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 664 | void SerializeWithCachedSizes( |
| 665 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 666 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 667 | ::google::protobuf::uint8* target) const final; |
| 668 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 669 | |
| 670 | private: |
| 671 | void SharedCtor(); |
| 672 | void SharedDtor(); |
| 673 | void SetCachedSize(int size) const final; |
| 674 | void InternalSwap(ConfigRequest* other); |
| 675 | private: |
| 676 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 677 | return nullptr; |
| 678 | } |
| 679 | inline void* MaybeArenaPtr() const { |
| 680 | return nullptr; |
| 681 | } |
| 682 | public: |
| 683 | |
| 684 | ::google::protobuf::Metadata GetMetadata() const final; |
| 685 | |
| 686 | // nested types ---------------------------------------------------- |
| 687 | |
| 688 | // accessors ------------------------------------------------------- |
| 689 | |
| 690 | // string config_url = 2; |
| 691 | void clear_config_url(); |
| 692 | static const int kConfigUrlFieldNumber = 2; |
| 693 | const ::std::string& config_url() const; |
| 694 | void set_config_url(const ::std::string& value); |
| 695 | #if LANG_CXX11 |
| 696 | void set_config_url(::std::string&& value); |
| 697 | #endif |
| 698 | void set_config_url(const char* value); |
| 699 | void set_config_url(const char* value, size_t size); |
| 700 | ::std::string* mutable_config_url(); |
| 701 | ::std::string* release_config_url(); |
| 702 | void set_allocated_config_url(::std::string* config_url); |
| 703 | |
| 704 | // .dmi.Uuid device_uuid = 1; |
| 705 | bool has_device_uuid() const; |
| 706 | void clear_device_uuid(); |
| 707 | static const int kDeviceUuidFieldNumber = 1; |
| 708 | const ::dmi::Uuid& device_uuid() const; |
| 709 | ::dmi::Uuid* release_device_uuid(); |
| 710 | ::dmi::Uuid* mutable_device_uuid(); |
| 711 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 712 | |
| 713 | // @@protoc_insertion_point(class_scope:dmi.ConfigRequest) |
| 714 | private: |
| 715 | class HasBitSetters; |
| 716 | |
| 717 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 718 | ::google::protobuf::internal::ArenaStringPtr config_url_; |
| 719 | ::dmi::Uuid* device_uuid_; |
| 720 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 721 | friend struct ::TableStruct_dmi_2fsw_5fmanagement_5fservice_2eproto; |
| 722 | }; |
| 723 | // ------------------------------------------------------------------- |
| 724 | |
| 725 | class ConfigResponse final : |
| 726 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.ConfigResponse) */ { |
| 727 | public: |
| 728 | ConfigResponse(); |
| 729 | virtual ~ConfigResponse(); |
| 730 | |
| 731 | ConfigResponse(const ConfigResponse& from); |
| 732 | |
| 733 | inline ConfigResponse& operator=(const ConfigResponse& from) { |
| 734 | CopyFrom(from); |
| 735 | return *this; |
| 736 | } |
| 737 | #if LANG_CXX11 |
| 738 | ConfigResponse(ConfigResponse&& from) noexcept |
| 739 | : ConfigResponse() { |
| 740 | *this = ::std::move(from); |
| 741 | } |
| 742 | |
| 743 | inline ConfigResponse& operator=(ConfigResponse&& from) noexcept { |
| 744 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 745 | if (this != &from) InternalSwap(&from); |
| 746 | } else { |
| 747 | CopyFrom(from); |
| 748 | } |
| 749 | return *this; |
| 750 | } |
| 751 | #endif |
| 752 | static const ::google::protobuf::Descriptor* descriptor() { |
| 753 | return default_instance().GetDescriptor(); |
| 754 | } |
| 755 | static const ConfigResponse& default_instance(); |
| 756 | |
| 757 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 758 | static inline const ConfigResponse* internal_default_instance() { |
| 759 | return reinterpret_cast<const ConfigResponse*>( |
| 760 | &_ConfigResponse_default_instance_); |
| 761 | } |
| 762 | static constexpr int kIndexInFileMessages = |
| 763 | 4; |
| 764 | |
| 765 | void Swap(ConfigResponse* other); |
| 766 | friend void swap(ConfigResponse& a, ConfigResponse& b) { |
| 767 | a.Swap(&b); |
| 768 | } |
| 769 | |
| 770 | // implements Message ---------------------------------------------- |
| 771 | |
| 772 | inline ConfigResponse* New() const final { |
| 773 | return CreateMaybeMessage<ConfigResponse>(nullptr); |
| 774 | } |
| 775 | |
| 776 | ConfigResponse* New(::google::protobuf::Arena* arena) const final { |
| 777 | return CreateMaybeMessage<ConfigResponse>(arena); |
| 778 | } |
| 779 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 780 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 781 | void CopyFrom(const ConfigResponse& from); |
| 782 | void MergeFrom(const ConfigResponse& from); |
| 783 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 784 | bool IsInitialized() const final; |
| 785 | |
| 786 | size_t ByteSizeLong() const final; |
| 787 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 788 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 789 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 790 | #else |
| 791 | bool MergePartialFromCodedStream( |
| 792 | ::google::protobuf::io::CodedInputStream* input) final; |
| 793 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 794 | void SerializeWithCachedSizes( |
| 795 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 796 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 797 | ::google::protobuf::uint8* target) const final; |
| 798 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 799 | |
| 800 | private: |
| 801 | void SharedCtor(); |
| 802 | void SharedDtor(); |
| 803 | void SetCachedSize(int size) const final; |
| 804 | void InternalSwap(ConfigResponse* other); |
| 805 | private: |
| 806 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 807 | return nullptr; |
| 808 | } |
| 809 | inline void* MaybeArenaPtr() const { |
| 810 | return nullptr; |
| 811 | } |
| 812 | public: |
| 813 | |
| 814 | ::google::protobuf::Metadata GetMetadata() const final; |
| 815 | |
| 816 | // nested types ---------------------------------------------------- |
| 817 | |
| 818 | typedef ConfigResponse_Reason Reason; |
| 819 | static const Reason UNDEFINED_REASON = |
| 820 | ConfigResponse_Reason_UNDEFINED_REASON; |
| 821 | static const Reason UNKNOWN_DEVICE = |
| 822 | ConfigResponse_Reason_UNKNOWN_DEVICE; |
| 823 | static const Reason INTERNAL_ERROR = |
| 824 | ConfigResponse_Reason_INTERNAL_ERROR; |
| 825 | static const Reason ERROR_FETCHING_CONFIG = |
| 826 | ConfigResponse_Reason_ERROR_FETCHING_CONFIG; |
| 827 | static const Reason INVALID_CONFIG = |
| 828 | ConfigResponse_Reason_INVALID_CONFIG; |
| 829 | static const Reason OPERATION_ALREADY_IN_PROGRESS = |
| 830 | ConfigResponse_Reason_OPERATION_ALREADY_IN_PROGRESS; |
| 831 | static const Reason DEVICE_UNREACHABLE = |
| 832 | ConfigResponse_Reason_DEVICE_UNREACHABLE; |
| 833 | static inline bool Reason_IsValid(int value) { |
| 834 | return ConfigResponse_Reason_IsValid(value); |
| 835 | } |
| 836 | static const Reason Reason_MIN = |
| 837 | ConfigResponse_Reason_Reason_MIN; |
| 838 | static const Reason Reason_MAX = |
| 839 | ConfigResponse_Reason_Reason_MAX; |
| 840 | static const int Reason_ARRAYSIZE = |
| 841 | ConfigResponse_Reason_Reason_ARRAYSIZE; |
| 842 | static inline const ::google::protobuf::EnumDescriptor* |
| 843 | Reason_descriptor() { |
| 844 | return ConfigResponse_Reason_descriptor(); |
| 845 | } |
| 846 | static inline const ::std::string& Reason_Name(Reason value) { |
| 847 | return ConfigResponse_Reason_Name(value); |
| 848 | } |
| 849 | static inline bool Reason_Parse(const ::std::string& name, |
| 850 | Reason* value) { |
| 851 | return ConfigResponse_Reason_Parse(name, value); |
| 852 | } |
| 853 | |
| 854 | // accessors ------------------------------------------------------- |
| 855 | |
| 856 | // string reason_detail = 3; |
| 857 | void clear_reason_detail(); |
| 858 | static const int kReasonDetailFieldNumber = 3; |
| 859 | const ::std::string& reason_detail() const; |
| 860 | void set_reason_detail(const ::std::string& value); |
| 861 | #if LANG_CXX11 |
| 862 | void set_reason_detail(::std::string&& value); |
| 863 | #endif |
| 864 | void set_reason_detail(const char* value); |
| 865 | void set_reason_detail(const char* value, size_t size); |
| 866 | ::std::string* mutable_reason_detail(); |
| 867 | ::std::string* release_reason_detail(); |
| 868 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 869 | |
| 870 | // .dmi.Status status = 1; |
| 871 | void clear_status(); |
| 872 | static const int kStatusFieldNumber = 1; |
| 873 | ::dmi::Status status() const; |
| 874 | void set_status(::dmi::Status value); |
| 875 | |
| 876 | // .dmi.ConfigResponse.Reason reason = 2; |
| 877 | void clear_reason(); |
| 878 | static const int kReasonFieldNumber = 2; |
| 879 | ::dmi::ConfigResponse_Reason reason() const; |
| 880 | void set_reason(::dmi::ConfigResponse_Reason value); |
| 881 | |
| 882 | // @@protoc_insertion_point(class_scope:dmi.ConfigResponse) |
| 883 | private: |
| 884 | class HasBitSetters; |
| 885 | |
| 886 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 887 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 888 | int status_; |
| 889 | int reason_; |
| 890 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 891 | friend struct ::TableStruct_dmi_2fsw_5fmanagement_5fservice_2eproto; |
| 892 | }; |
| 893 | // ------------------------------------------------------------------- |
| 894 | |
| 895 | class StartupConfigInfoRequest final : |
| 896 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.StartupConfigInfoRequest) */ { |
| 897 | public: |
| 898 | StartupConfigInfoRequest(); |
| 899 | virtual ~StartupConfigInfoRequest(); |
| 900 | |
| 901 | StartupConfigInfoRequest(const StartupConfigInfoRequest& from); |
| 902 | |
| 903 | inline StartupConfigInfoRequest& operator=(const StartupConfigInfoRequest& from) { |
| 904 | CopyFrom(from); |
| 905 | return *this; |
| 906 | } |
| 907 | #if LANG_CXX11 |
| 908 | StartupConfigInfoRequest(StartupConfigInfoRequest&& from) noexcept |
| 909 | : StartupConfigInfoRequest() { |
| 910 | *this = ::std::move(from); |
| 911 | } |
| 912 | |
| 913 | inline StartupConfigInfoRequest& operator=(StartupConfigInfoRequest&& from) noexcept { |
| 914 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 915 | if (this != &from) InternalSwap(&from); |
| 916 | } else { |
| 917 | CopyFrom(from); |
| 918 | } |
| 919 | return *this; |
| 920 | } |
| 921 | #endif |
| 922 | static const ::google::protobuf::Descriptor* descriptor() { |
| 923 | return default_instance().GetDescriptor(); |
| 924 | } |
| 925 | static const StartupConfigInfoRequest& default_instance(); |
| 926 | |
| 927 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 928 | static inline const StartupConfigInfoRequest* internal_default_instance() { |
| 929 | return reinterpret_cast<const StartupConfigInfoRequest*>( |
| 930 | &_StartupConfigInfoRequest_default_instance_); |
| 931 | } |
| 932 | static constexpr int kIndexInFileMessages = |
| 933 | 5; |
| 934 | |
| 935 | void Swap(StartupConfigInfoRequest* other); |
| 936 | friend void swap(StartupConfigInfoRequest& a, StartupConfigInfoRequest& b) { |
| 937 | a.Swap(&b); |
| 938 | } |
| 939 | |
| 940 | // implements Message ---------------------------------------------- |
| 941 | |
| 942 | inline StartupConfigInfoRequest* New() const final { |
| 943 | return CreateMaybeMessage<StartupConfigInfoRequest>(nullptr); |
| 944 | } |
| 945 | |
| 946 | StartupConfigInfoRequest* New(::google::protobuf::Arena* arena) const final { |
| 947 | return CreateMaybeMessage<StartupConfigInfoRequest>(arena); |
| 948 | } |
| 949 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 950 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 951 | void CopyFrom(const StartupConfigInfoRequest& from); |
| 952 | void MergeFrom(const StartupConfigInfoRequest& from); |
| 953 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 954 | bool IsInitialized() const final; |
| 955 | |
| 956 | size_t ByteSizeLong() const final; |
| 957 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 958 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 959 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 960 | #else |
| 961 | bool MergePartialFromCodedStream( |
| 962 | ::google::protobuf::io::CodedInputStream* input) final; |
| 963 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 964 | void SerializeWithCachedSizes( |
| 965 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 966 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 967 | ::google::protobuf::uint8* target) const final; |
| 968 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 969 | |
| 970 | private: |
| 971 | void SharedCtor(); |
| 972 | void SharedDtor(); |
| 973 | void SetCachedSize(int size) const final; |
| 974 | void InternalSwap(StartupConfigInfoRequest* other); |
| 975 | private: |
| 976 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 977 | return nullptr; |
| 978 | } |
| 979 | inline void* MaybeArenaPtr() const { |
| 980 | return nullptr; |
| 981 | } |
| 982 | public: |
| 983 | |
| 984 | ::google::protobuf::Metadata GetMetadata() const final; |
| 985 | |
| 986 | // nested types ---------------------------------------------------- |
| 987 | |
| 988 | // accessors ------------------------------------------------------- |
| 989 | |
| 990 | // .dmi.Uuid device_uuid = 1; |
| 991 | bool has_device_uuid() const; |
| 992 | void clear_device_uuid(); |
| 993 | static const int kDeviceUuidFieldNumber = 1; |
| 994 | const ::dmi::Uuid& device_uuid() const; |
| 995 | ::dmi::Uuid* release_device_uuid(); |
| 996 | ::dmi::Uuid* mutable_device_uuid(); |
| 997 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 998 | |
| 999 | // @@protoc_insertion_point(class_scope:dmi.StartupConfigInfoRequest) |
| 1000 | private: |
| 1001 | class HasBitSetters; |
| 1002 | |
| 1003 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1004 | ::dmi::Uuid* device_uuid_; |
| 1005 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1006 | friend struct ::TableStruct_dmi_2fsw_5fmanagement_5fservice_2eproto; |
| 1007 | }; |
| 1008 | // ------------------------------------------------------------------- |
| 1009 | |
| 1010 | class StartupConfigInfoResponse final : |
| 1011 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.StartupConfigInfoResponse) */ { |
| 1012 | public: |
| 1013 | StartupConfigInfoResponse(); |
| 1014 | virtual ~StartupConfigInfoResponse(); |
| 1015 | |
| 1016 | StartupConfigInfoResponse(const StartupConfigInfoResponse& from); |
| 1017 | |
| 1018 | inline StartupConfigInfoResponse& operator=(const StartupConfigInfoResponse& from) { |
| 1019 | CopyFrom(from); |
| 1020 | return *this; |
| 1021 | } |
| 1022 | #if LANG_CXX11 |
| 1023 | StartupConfigInfoResponse(StartupConfigInfoResponse&& from) noexcept |
| 1024 | : StartupConfigInfoResponse() { |
| 1025 | *this = ::std::move(from); |
| 1026 | } |
| 1027 | |
| 1028 | inline StartupConfigInfoResponse& operator=(StartupConfigInfoResponse&& from) noexcept { |
| 1029 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1030 | if (this != &from) InternalSwap(&from); |
| 1031 | } else { |
| 1032 | CopyFrom(from); |
| 1033 | } |
| 1034 | return *this; |
| 1035 | } |
| 1036 | #endif |
| 1037 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1038 | return default_instance().GetDescriptor(); |
| 1039 | } |
| 1040 | static const StartupConfigInfoResponse& default_instance(); |
| 1041 | |
| 1042 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1043 | static inline const StartupConfigInfoResponse* internal_default_instance() { |
| 1044 | return reinterpret_cast<const StartupConfigInfoResponse*>( |
| 1045 | &_StartupConfigInfoResponse_default_instance_); |
| 1046 | } |
| 1047 | static constexpr int kIndexInFileMessages = |
| 1048 | 6; |
| 1049 | |
| 1050 | void Swap(StartupConfigInfoResponse* other); |
| 1051 | friend void swap(StartupConfigInfoResponse& a, StartupConfigInfoResponse& b) { |
| 1052 | a.Swap(&b); |
| 1053 | } |
| 1054 | |
| 1055 | // implements Message ---------------------------------------------- |
| 1056 | |
| 1057 | inline StartupConfigInfoResponse* New() const final { |
| 1058 | return CreateMaybeMessage<StartupConfigInfoResponse>(nullptr); |
| 1059 | } |
| 1060 | |
| 1061 | StartupConfigInfoResponse* New(::google::protobuf::Arena* arena) const final { |
| 1062 | return CreateMaybeMessage<StartupConfigInfoResponse>(arena); |
| 1063 | } |
| 1064 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1065 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1066 | void CopyFrom(const StartupConfigInfoResponse& from); |
| 1067 | void MergeFrom(const StartupConfigInfoResponse& from); |
| 1068 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1069 | bool IsInitialized() const final; |
| 1070 | |
| 1071 | size_t ByteSizeLong() const final; |
| 1072 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1073 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1074 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1075 | #else |
| 1076 | bool MergePartialFromCodedStream( |
| 1077 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1078 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1079 | void SerializeWithCachedSizes( |
| 1080 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1081 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1082 | ::google::protobuf::uint8* target) const final; |
| 1083 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1084 | |
| 1085 | private: |
| 1086 | void SharedCtor(); |
| 1087 | void SharedDtor(); |
| 1088 | void SetCachedSize(int size) const final; |
| 1089 | void InternalSwap(StartupConfigInfoResponse* other); |
| 1090 | private: |
| 1091 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1092 | return nullptr; |
| 1093 | } |
| 1094 | inline void* MaybeArenaPtr() const { |
| 1095 | return nullptr; |
| 1096 | } |
| 1097 | public: |
| 1098 | |
| 1099 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1100 | |
| 1101 | // nested types ---------------------------------------------------- |
| 1102 | |
| 1103 | typedef StartupConfigInfoResponse_Reason Reason; |
| 1104 | static const Reason UNDEFINED_REASON = |
| 1105 | StartupConfigInfoResponse_Reason_UNDEFINED_REASON; |
| 1106 | static const Reason UNKNOWN_DEVICE = |
| 1107 | StartupConfigInfoResponse_Reason_UNKNOWN_DEVICE; |
| 1108 | static const Reason INTERNAL_ERROR = |
| 1109 | StartupConfigInfoResponse_Reason_INTERNAL_ERROR; |
| 1110 | static const Reason DEVICE_UNREACHABLE = |
| 1111 | StartupConfigInfoResponse_Reason_DEVICE_UNREACHABLE; |
| 1112 | static inline bool Reason_IsValid(int value) { |
| 1113 | return StartupConfigInfoResponse_Reason_IsValid(value); |
| 1114 | } |
| 1115 | static const Reason Reason_MIN = |
| 1116 | StartupConfigInfoResponse_Reason_Reason_MIN; |
| 1117 | static const Reason Reason_MAX = |
| 1118 | StartupConfigInfoResponse_Reason_Reason_MAX; |
| 1119 | static const int Reason_ARRAYSIZE = |
| 1120 | StartupConfigInfoResponse_Reason_Reason_ARRAYSIZE; |
| 1121 | static inline const ::google::protobuf::EnumDescriptor* |
| 1122 | Reason_descriptor() { |
| 1123 | return StartupConfigInfoResponse_Reason_descriptor(); |
| 1124 | } |
| 1125 | static inline const ::std::string& Reason_Name(Reason value) { |
| 1126 | return StartupConfigInfoResponse_Reason_Name(value); |
| 1127 | } |
| 1128 | static inline bool Reason_Parse(const ::std::string& name, |
| 1129 | Reason* value) { |
| 1130 | return StartupConfigInfoResponse_Reason_Parse(name, value); |
| 1131 | } |
| 1132 | |
| 1133 | // accessors ------------------------------------------------------- |
| 1134 | |
| 1135 | // string config_url = 3; |
| 1136 | void clear_config_url(); |
| 1137 | static const int kConfigUrlFieldNumber = 3; |
| 1138 | const ::std::string& config_url() const; |
| 1139 | void set_config_url(const ::std::string& value); |
| 1140 | #if LANG_CXX11 |
| 1141 | void set_config_url(::std::string&& value); |
| 1142 | #endif |
| 1143 | void set_config_url(const char* value); |
| 1144 | void set_config_url(const char* value, size_t size); |
| 1145 | ::std::string* mutable_config_url(); |
| 1146 | ::std::string* release_config_url(); |
| 1147 | void set_allocated_config_url(::std::string* config_url); |
| 1148 | |
| 1149 | // string version = 4; |
| 1150 | void clear_version(); |
| 1151 | static const int kVersionFieldNumber = 4; |
| 1152 | const ::std::string& version() const; |
| 1153 | void set_version(const ::std::string& value); |
| 1154 | #if LANG_CXX11 |
| 1155 | void set_version(::std::string&& value); |
| 1156 | #endif |
| 1157 | void set_version(const char* value); |
| 1158 | void set_version(const char* value, size_t size); |
| 1159 | ::std::string* mutable_version(); |
| 1160 | ::std::string* release_version(); |
| 1161 | void set_allocated_version(::std::string* version); |
| 1162 | |
| 1163 | // string reason_detail = 5; |
| 1164 | void clear_reason_detail(); |
| 1165 | static const int kReasonDetailFieldNumber = 5; |
| 1166 | const ::std::string& reason_detail() const; |
| 1167 | void set_reason_detail(const ::std::string& value); |
| 1168 | #if LANG_CXX11 |
| 1169 | void set_reason_detail(::std::string&& value); |
| 1170 | #endif |
| 1171 | void set_reason_detail(const char* value); |
| 1172 | void set_reason_detail(const char* value, size_t size); |
| 1173 | ::std::string* mutable_reason_detail(); |
| 1174 | ::std::string* release_reason_detail(); |
| 1175 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 1176 | |
| 1177 | // .dmi.Status status = 1; |
| 1178 | void clear_status(); |
| 1179 | static const int kStatusFieldNumber = 1; |
| 1180 | ::dmi::Status status() const; |
| 1181 | void set_status(::dmi::Status value); |
| 1182 | |
| 1183 | // .dmi.StartupConfigInfoResponse.Reason reason = 2; |
| 1184 | void clear_reason(); |
| 1185 | static const int kReasonFieldNumber = 2; |
| 1186 | ::dmi::StartupConfigInfoResponse_Reason reason() const; |
| 1187 | void set_reason(::dmi::StartupConfigInfoResponse_Reason value); |
| 1188 | |
| 1189 | // @@protoc_insertion_point(class_scope:dmi.StartupConfigInfoResponse) |
| 1190 | private: |
| 1191 | class HasBitSetters; |
| 1192 | |
| 1193 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1194 | ::google::protobuf::internal::ArenaStringPtr config_url_; |
| 1195 | ::google::protobuf::internal::ArenaStringPtr version_; |
| 1196 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 1197 | int status_; |
| 1198 | int reason_; |
| 1199 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1200 | friend struct ::TableStruct_dmi_2fsw_5fmanagement_5fservice_2eproto; |
| 1201 | }; |
| 1202 | // =================================================================== |
| 1203 | |
| 1204 | |
| 1205 | // =================================================================== |
| 1206 | |
| 1207 | #ifdef __GNUC__ |
| 1208 | #pragma GCC diagnostic push |
| 1209 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
| 1210 | #endif // __GNUC__ |
| 1211 | // SoftwareVersionInformation |
| 1212 | |
| 1213 | // repeated .dmi.ImageVersion active_versions = 1; |
| 1214 | inline int SoftwareVersionInformation::active_versions_size() const { |
| 1215 | return active_versions_.size(); |
| 1216 | } |
| 1217 | inline ::dmi::ImageVersion* SoftwareVersionInformation::mutable_active_versions(int index) { |
| 1218 | // @@protoc_insertion_point(field_mutable:dmi.SoftwareVersionInformation.active_versions) |
| 1219 | return active_versions_.Mutable(index); |
| 1220 | } |
| 1221 | inline ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion >* |
| 1222 | SoftwareVersionInformation::mutable_active_versions() { |
| 1223 | // @@protoc_insertion_point(field_mutable_list:dmi.SoftwareVersionInformation.active_versions) |
| 1224 | return &active_versions_; |
| 1225 | } |
| 1226 | inline const ::dmi::ImageVersion& SoftwareVersionInformation::active_versions(int index) const { |
| 1227 | // @@protoc_insertion_point(field_get:dmi.SoftwareVersionInformation.active_versions) |
| 1228 | return active_versions_.Get(index); |
| 1229 | } |
| 1230 | inline ::dmi::ImageVersion* SoftwareVersionInformation::add_active_versions() { |
| 1231 | // @@protoc_insertion_point(field_add:dmi.SoftwareVersionInformation.active_versions) |
| 1232 | return active_versions_.Add(); |
| 1233 | } |
| 1234 | inline const ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion >& |
| 1235 | SoftwareVersionInformation::active_versions() const { |
| 1236 | // @@protoc_insertion_point(field_list:dmi.SoftwareVersionInformation.active_versions) |
| 1237 | return active_versions_; |
| 1238 | } |
| 1239 | |
| 1240 | // repeated .dmi.ImageVersion standby_versions = 2; |
| 1241 | inline int SoftwareVersionInformation::standby_versions_size() const { |
| 1242 | return standby_versions_.size(); |
| 1243 | } |
| 1244 | inline ::dmi::ImageVersion* SoftwareVersionInformation::mutable_standby_versions(int index) { |
| 1245 | // @@protoc_insertion_point(field_mutable:dmi.SoftwareVersionInformation.standby_versions) |
| 1246 | return standby_versions_.Mutable(index); |
| 1247 | } |
| 1248 | inline ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion >* |
| 1249 | SoftwareVersionInformation::mutable_standby_versions() { |
| 1250 | // @@protoc_insertion_point(field_mutable_list:dmi.SoftwareVersionInformation.standby_versions) |
| 1251 | return &standby_versions_; |
| 1252 | } |
| 1253 | inline const ::dmi::ImageVersion& SoftwareVersionInformation::standby_versions(int index) const { |
| 1254 | // @@protoc_insertion_point(field_get:dmi.SoftwareVersionInformation.standby_versions) |
| 1255 | return standby_versions_.Get(index); |
| 1256 | } |
| 1257 | inline ::dmi::ImageVersion* SoftwareVersionInformation::add_standby_versions() { |
| 1258 | // @@protoc_insertion_point(field_add:dmi.SoftwareVersionInformation.standby_versions) |
| 1259 | return standby_versions_.Add(); |
| 1260 | } |
| 1261 | inline const ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion >& |
| 1262 | SoftwareVersionInformation::standby_versions() const { |
| 1263 | // @@protoc_insertion_point(field_list:dmi.SoftwareVersionInformation.standby_versions) |
| 1264 | return standby_versions_; |
| 1265 | } |
| 1266 | |
| 1267 | // ------------------------------------------------------------------- |
| 1268 | |
| 1269 | // GetSoftwareVersionInformationResponse |
| 1270 | |
| 1271 | // .dmi.Status status = 1; |
| 1272 | inline void GetSoftwareVersionInformationResponse::clear_status() { |
| 1273 | status_ = 0; |
| 1274 | } |
| 1275 | inline ::dmi::Status GetSoftwareVersionInformationResponse::status() const { |
| 1276 | // @@protoc_insertion_point(field_get:dmi.GetSoftwareVersionInformationResponse.status) |
| 1277 | return static_cast< ::dmi::Status >(status_); |
| 1278 | } |
| 1279 | inline void GetSoftwareVersionInformationResponse::set_status(::dmi::Status value) { |
| 1280 | |
| 1281 | status_ = value; |
| 1282 | // @@protoc_insertion_point(field_set:dmi.GetSoftwareVersionInformationResponse.status) |
| 1283 | } |
| 1284 | |
| 1285 | // .dmi.GetSoftwareVersionInformationResponse.Reason reason = 2; |
| 1286 | inline void GetSoftwareVersionInformationResponse::clear_reason() { |
| 1287 | reason_ = 0; |
| 1288 | } |
| 1289 | inline ::dmi::GetSoftwareVersionInformationResponse_Reason GetSoftwareVersionInformationResponse::reason() const { |
| 1290 | // @@protoc_insertion_point(field_get:dmi.GetSoftwareVersionInformationResponse.reason) |
| 1291 | return static_cast< ::dmi::GetSoftwareVersionInformationResponse_Reason >(reason_); |
| 1292 | } |
| 1293 | inline void GetSoftwareVersionInformationResponse::set_reason(::dmi::GetSoftwareVersionInformationResponse_Reason value) { |
| 1294 | |
| 1295 | reason_ = value; |
| 1296 | // @@protoc_insertion_point(field_set:dmi.GetSoftwareVersionInformationResponse.reason) |
| 1297 | } |
| 1298 | |
| 1299 | // .dmi.SoftwareVersionInformation info = 3; |
| 1300 | inline bool GetSoftwareVersionInformationResponse::has_info() const { |
| 1301 | return this != internal_default_instance() && info_ != nullptr; |
| 1302 | } |
| 1303 | inline void GetSoftwareVersionInformationResponse::clear_info() { |
| 1304 | if (GetArenaNoVirtual() == nullptr && info_ != nullptr) { |
| 1305 | delete info_; |
| 1306 | } |
| 1307 | info_ = nullptr; |
| 1308 | } |
| 1309 | inline const ::dmi::SoftwareVersionInformation& GetSoftwareVersionInformationResponse::info() const { |
| 1310 | const ::dmi::SoftwareVersionInformation* p = info_; |
| 1311 | // @@protoc_insertion_point(field_get:dmi.GetSoftwareVersionInformationResponse.info) |
| 1312 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::SoftwareVersionInformation*>( |
| 1313 | &::dmi::_SoftwareVersionInformation_default_instance_); |
| 1314 | } |
| 1315 | inline ::dmi::SoftwareVersionInformation* GetSoftwareVersionInformationResponse::release_info() { |
| 1316 | // @@protoc_insertion_point(field_release:dmi.GetSoftwareVersionInformationResponse.info) |
| 1317 | |
| 1318 | ::dmi::SoftwareVersionInformation* temp = info_; |
| 1319 | info_ = nullptr; |
| 1320 | return temp; |
| 1321 | } |
| 1322 | inline ::dmi::SoftwareVersionInformation* GetSoftwareVersionInformationResponse::mutable_info() { |
| 1323 | |
| 1324 | if (info_ == nullptr) { |
| 1325 | auto* p = CreateMaybeMessage<::dmi::SoftwareVersionInformation>(GetArenaNoVirtual()); |
| 1326 | info_ = p; |
| 1327 | } |
| 1328 | // @@protoc_insertion_point(field_mutable:dmi.GetSoftwareVersionInformationResponse.info) |
| 1329 | return info_; |
| 1330 | } |
| 1331 | inline void GetSoftwareVersionInformationResponse::set_allocated_info(::dmi::SoftwareVersionInformation* info) { |
| 1332 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 1333 | if (message_arena == nullptr) { |
| 1334 | delete info_; |
| 1335 | } |
| 1336 | if (info) { |
| 1337 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 1338 | if (message_arena != submessage_arena) { |
| 1339 | info = ::google::protobuf::internal::GetOwnedMessage( |
| 1340 | message_arena, info, submessage_arena); |
| 1341 | } |
| 1342 | |
| 1343 | } else { |
| 1344 | |
| 1345 | } |
| 1346 | info_ = info; |
| 1347 | // @@protoc_insertion_point(field_set_allocated:dmi.GetSoftwareVersionInformationResponse.info) |
| 1348 | } |
| 1349 | |
| 1350 | // string reason_detail = 4; |
| 1351 | inline void GetSoftwareVersionInformationResponse::clear_reason_detail() { |
| 1352 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1353 | } |
| 1354 | inline const ::std::string& GetSoftwareVersionInformationResponse::reason_detail() const { |
| 1355 | // @@protoc_insertion_point(field_get:dmi.GetSoftwareVersionInformationResponse.reason_detail) |
| 1356 | return reason_detail_.GetNoArena(); |
| 1357 | } |
| 1358 | inline void GetSoftwareVersionInformationResponse::set_reason_detail(const ::std::string& value) { |
| 1359 | |
| 1360 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 1361 | // @@protoc_insertion_point(field_set:dmi.GetSoftwareVersionInformationResponse.reason_detail) |
| 1362 | } |
| 1363 | #if LANG_CXX11 |
| 1364 | inline void GetSoftwareVersionInformationResponse::set_reason_detail(::std::string&& value) { |
| 1365 | |
| 1366 | reason_detail_.SetNoArena( |
| 1367 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 1368 | // @@protoc_insertion_point(field_set_rvalue:dmi.GetSoftwareVersionInformationResponse.reason_detail) |
| 1369 | } |
| 1370 | #endif |
| 1371 | inline void GetSoftwareVersionInformationResponse::set_reason_detail(const char* value) { |
| 1372 | GOOGLE_DCHECK(value != nullptr); |
| 1373 | |
| 1374 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 1375 | // @@protoc_insertion_point(field_set_char:dmi.GetSoftwareVersionInformationResponse.reason_detail) |
| 1376 | } |
| 1377 | inline void GetSoftwareVersionInformationResponse::set_reason_detail(const char* value, size_t size) { |
| 1378 | |
| 1379 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 1380 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 1381 | // @@protoc_insertion_point(field_set_pointer:dmi.GetSoftwareVersionInformationResponse.reason_detail) |
| 1382 | } |
| 1383 | inline ::std::string* GetSoftwareVersionInformationResponse::mutable_reason_detail() { |
| 1384 | |
| 1385 | // @@protoc_insertion_point(field_mutable:dmi.GetSoftwareVersionInformationResponse.reason_detail) |
| 1386 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1387 | } |
| 1388 | inline ::std::string* GetSoftwareVersionInformationResponse::release_reason_detail() { |
| 1389 | // @@protoc_insertion_point(field_release:dmi.GetSoftwareVersionInformationResponse.reason_detail) |
| 1390 | |
| 1391 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1392 | } |
| 1393 | inline void GetSoftwareVersionInformationResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 1394 | if (reason_detail != nullptr) { |
| 1395 | |
| 1396 | } else { |
| 1397 | |
| 1398 | } |
| 1399 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 1400 | // @@protoc_insertion_point(field_set_allocated:dmi.GetSoftwareVersionInformationResponse.reason_detail) |
| 1401 | } |
| 1402 | |
| 1403 | // ------------------------------------------------------------------- |
| 1404 | |
| 1405 | // DownloadImageRequest |
| 1406 | |
| 1407 | // .dmi.Uuid device_uuid = 1; |
| 1408 | inline bool DownloadImageRequest::has_device_uuid() const { |
| 1409 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 1410 | } |
| 1411 | inline const ::dmi::Uuid& DownloadImageRequest::device_uuid() const { |
| 1412 | const ::dmi::Uuid* p = device_uuid_; |
| 1413 | // @@protoc_insertion_point(field_get:dmi.DownloadImageRequest.device_uuid) |
| 1414 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 1415 | &::dmi::_Uuid_default_instance_); |
| 1416 | } |
| 1417 | inline ::dmi::Uuid* DownloadImageRequest::release_device_uuid() { |
| 1418 | // @@protoc_insertion_point(field_release:dmi.DownloadImageRequest.device_uuid) |
| 1419 | |
| 1420 | ::dmi::Uuid* temp = device_uuid_; |
| 1421 | device_uuid_ = nullptr; |
| 1422 | return temp; |
| 1423 | } |
| 1424 | inline ::dmi::Uuid* DownloadImageRequest::mutable_device_uuid() { |
| 1425 | |
| 1426 | if (device_uuid_ == nullptr) { |
| 1427 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 1428 | device_uuid_ = p; |
| 1429 | } |
| 1430 | // @@protoc_insertion_point(field_mutable:dmi.DownloadImageRequest.device_uuid) |
| 1431 | return device_uuid_; |
| 1432 | } |
| 1433 | inline void DownloadImageRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 1434 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 1435 | if (message_arena == nullptr) { |
| 1436 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 1437 | } |
| 1438 | if (device_uuid) { |
| 1439 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 1440 | if (message_arena != submessage_arena) { |
| 1441 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 1442 | message_arena, device_uuid, submessage_arena); |
| 1443 | } |
| 1444 | |
| 1445 | } else { |
| 1446 | |
| 1447 | } |
| 1448 | device_uuid_ = device_uuid; |
| 1449 | // @@protoc_insertion_point(field_set_allocated:dmi.DownloadImageRequest.device_uuid) |
| 1450 | } |
| 1451 | |
| 1452 | // .dmi.ImageInformation image_info = 2; |
| 1453 | inline bool DownloadImageRequest::has_image_info() const { |
| 1454 | return this != internal_default_instance() && image_info_ != nullptr; |
| 1455 | } |
| 1456 | inline const ::dmi::ImageInformation& DownloadImageRequest::image_info() const { |
| 1457 | const ::dmi::ImageInformation* p = image_info_; |
| 1458 | // @@protoc_insertion_point(field_get:dmi.DownloadImageRequest.image_info) |
| 1459 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::ImageInformation*>( |
| 1460 | &::dmi::_ImageInformation_default_instance_); |
| 1461 | } |
| 1462 | inline ::dmi::ImageInformation* DownloadImageRequest::release_image_info() { |
| 1463 | // @@protoc_insertion_point(field_release:dmi.DownloadImageRequest.image_info) |
| 1464 | |
| 1465 | ::dmi::ImageInformation* temp = image_info_; |
| 1466 | image_info_ = nullptr; |
| 1467 | return temp; |
| 1468 | } |
| 1469 | inline ::dmi::ImageInformation* DownloadImageRequest::mutable_image_info() { |
| 1470 | |
| 1471 | if (image_info_ == nullptr) { |
| 1472 | auto* p = CreateMaybeMessage<::dmi::ImageInformation>(GetArenaNoVirtual()); |
| 1473 | image_info_ = p; |
| 1474 | } |
| 1475 | // @@protoc_insertion_point(field_mutable:dmi.DownloadImageRequest.image_info) |
| 1476 | return image_info_; |
| 1477 | } |
| 1478 | inline void DownloadImageRequest::set_allocated_image_info(::dmi::ImageInformation* image_info) { |
| 1479 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 1480 | if (message_arena == nullptr) { |
| 1481 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(image_info_); |
| 1482 | } |
| 1483 | if (image_info) { |
| 1484 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 1485 | if (message_arena != submessage_arena) { |
| 1486 | image_info = ::google::protobuf::internal::GetOwnedMessage( |
| 1487 | message_arena, image_info, submessage_arena); |
| 1488 | } |
| 1489 | |
| 1490 | } else { |
| 1491 | |
| 1492 | } |
| 1493 | image_info_ = image_info; |
| 1494 | // @@protoc_insertion_point(field_set_allocated:dmi.DownloadImageRequest.image_info) |
| 1495 | } |
| 1496 | |
| 1497 | // ------------------------------------------------------------------- |
| 1498 | |
| 1499 | // ConfigRequest |
| 1500 | |
| 1501 | // .dmi.Uuid device_uuid = 1; |
| 1502 | inline bool ConfigRequest::has_device_uuid() const { |
| 1503 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 1504 | } |
| 1505 | inline const ::dmi::Uuid& ConfigRequest::device_uuid() const { |
| 1506 | const ::dmi::Uuid* p = device_uuid_; |
| 1507 | // @@protoc_insertion_point(field_get:dmi.ConfigRequest.device_uuid) |
| 1508 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 1509 | &::dmi::_Uuid_default_instance_); |
| 1510 | } |
| 1511 | inline ::dmi::Uuid* ConfigRequest::release_device_uuid() { |
| 1512 | // @@protoc_insertion_point(field_release:dmi.ConfigRequest.device_uuid) |
| 1513 | |
| 1514 | ::dmi::Uuid* temp = device_uuid_; |
| 1515 | device_uuid_ = nullptr; |
| 1516 | return temp; |
| 1517 | } |
| 1518 | inline ::dmi::Uuid* ConfigRequest::mutable_device_uuid() { |
| 1519 | |
| 1520 | if (device_uuid_ == nullptr) { |
| 1521 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 1522 | device_uuid_ = p; |
| 1523 | } |
| 1524 | // @@protoc_insertion_point(field_mutable:dmi.ConfigRequest.device_uuid) |
| 1525 | return device_uuid_; |
| 1526 | } |
| 1527 | inline void ConfigRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 1528 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 1529 | if (message_arena == nullptr) { |
| 1530 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 1531 | } |
| 1532 | if (device_uuid) { |
| 1533 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 1534 | if (message_arena != submessage_arena) { |
| 1535 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 1536 | message_arena, device_uuid, submessage_arena); |
| 1537 | } |
| 1538 | |
| 1539 | } else { |
| 1540 | |
| 1541 | } |
| 1542 | device_uuid_ = device_uuid; |
| 1543 | // @@protoc_insertion_point(field_set_allocated:dmi.ConfigRequest.device_uuid) |
| 1544 | } |
| 1545 | |
| 1546 | // string config_url = 2; |
| 1547 | inline void ConfigRequest::clear_config_url() { |
| 1548 | config_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1549 | } |
| 1550 | inline const ::std::string& ConfigRequest::config_url() const { |
| 1551 | // @@protoc_insertion_point(field_get:dmi.ConfigRequest.config_url) |
| 1552 | return config_url_.GetNoArena(); |
| 1553 | } |
| 1554 | inline void ConfigRequest::set_config_url(const ::std::string& value) { |
| 1555 | |
| 1556 | config_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 1557 | // @@protoc_insertion_point(field_set:dmi.ConfigRequest.config_url) |
| 1558 | } |
| 1559 | #if LANG_CXX11 |
| 1560 | inline void ConfigRequest::set_config_url(::std::string&& value) { |
| 1561 | |
| 1562 | config_url_.SetNoArena( |
| 1563 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 1564 | // @@protoc_insertion_point(field_set_rvalue:dmi.ConfigRequest.config_url) |
| 1565 | } |
| 1566 | #endif |
| 1567 | inline void ConfigRequest::set_config_url(const char* value) { |
| 1568 | GOOGLE_DCHECK(value != nullptr); |
| 1569 | |
| 1570 | config_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 1571 | // @@protoc_insertion_point(field_set_char:dmi.ConfigRequest.config_url) |
| 1572 | } |
| 1573 | inline void ConfigRequest::set_config_url(const char* value, size_t size) { |
| 1574 | |
| 1575 | config_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 1576 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 1577 | // @@protoc_insertion_point(field_set_pointer:dmi.ConfigRequest.config_url) |
| 1578 | } |
| 1579 | inline ::std::string* ConfigRequest::mutable_config_url() { |
| 1580 | |
| 1581 | // @@protoc_insertion_point(field_mutable:dmi.ConfigRequest.config_url) |
| 1582 | return config_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1583 | } |
| 1584 | inline ::std::string* ConfigRequest::release_config_url() { |
| 1585 | // @@protoc_insertion_point(field_release:dmi.ConfigRequest.config_url) |
| 1586 | |
| 1587 | return config_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1588 | } |
| 1589 | inline void ConfigRequest::set_allocated_config_url(::std::string* config_url) { |
| 1590 | if (config_url != nullptr) { |
| 1591 | |
| 1592 | } else { |
| 1593 | |
| 1594 | } |
| 1595 | config_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), config_url); |
| 1596 | // @@protoc_insertion_point(field_set_allocated:dmi.ConfigRequest.config_url) |
| 1597 | } |
| 1598 | |
| 1599 | // ------------------------------------------------------------------- |
| 1600 | |
| 1601 | // ConfigResponse |
| 1602 | |
| 1603 | // .dmi.Status status = 1; |
| 1604 | inline void ConfigResponse::clear_status() { |
| 1605 | status_ = 0; |
| 1606 | } |
| 1607 | inline ::dmi::Status ConfigResponse::status() const { |
| 1608 | // @@protoc_insertion_point(field_get:dmi.ConfigResponse.status) |
| 1609 | return static_cast< ::dmi::Status >(status_); |
| 1610 | } |
| 1611 | inline void ConfigResponse::set_status(::dmi::Status value) { |
| 1612 | |
| 1613 | status_ = value; |
| 1614 | // @@protoc_insertion_point(field_set:dmi.ConfigResponse.status) |
| 1615 | } |
| 1616 | |
| 1617 | // .dmi.ConfigResponse.Reason reason = 2; |
| 1618 | inline void ConfigResponse::clear_reason() { |
| 1619 | reason_ = 0; |
| 1620 | } |
| 1621 | inline ::dmi::ConfigResponse_Reason ConfigResponse::reason() const { |
| 1622 | // @@protoc_insertion_point(field_get:dmi.ConfigResponse.reason) |
| 1623 | return static_cast< ::dmi::ConfigResponse_Reason >(reason_); |
| 1624 | } |
| 1625 | inline void ConfigResponse::set_reason(::dmi::ConfigResponse_Reason value) { |
| 1626 | |
| 1627 | reason_ = value; |
| 1628 | // @@protoc_insertion_point(field_set:dmi.ConfigResponse.reason) |
| 1629 | } |
| 1630 | |
| 1631 | // string reason_detail = 3; |
| 1632 | inline void ConfigResponse::clear_reason_detail() { |
| 1633 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1634 | } |
| 1635 | inline const ::std::string& ConfigResponse::reason_detail() const { |
| 1636 | // @@protoc_insertion_point(field_get:dmi.ConfigResponse.reason_detail) |
| 1637 | return reason_detail_.GetNoArena(); |
| 1638 | } |
| 1639 | inline void ConfigResponse::set_reason_detail(const ::std::string& value) { |
| 1640 | |
| 1641 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 1642 | // @@protoc_insertion_point(field_set:dmi.ConfigResponse.reason_detail) |
| 1643 | } |
| 1644 | #if LANG_CXX11 |
| 1645 | inline void ConfigResponse::set_reason_detail(::std::string&& value) { |
| 1646 | |
| 1647 | reason_detail_.SetNoArena( |
| 1648 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 1649 | // @@protoc_insertion_point(field_set_rvalue:dmi.ConfigResponse.reason_detail) |
| 1650 | } |
| 1651 | #endif |
| 1652 | inline void ConfigResponse::set_reason_detail(const char* value) { |
| 1653 | GOOGLE_DCHECK(value != nullptr); |
| 1654 | |
| 1655 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 1656 | // @@protoc_insertion_point(field_set_char:dmi.ConfigResponse.reason_detail) |
| 1657 | } |
| 1658 | inline void ConfigResponse::set_reason_detail(const char* value, size_t size) { |
| 1659 | |
| 1660 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 1661 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 1662 | // @@protoc_insertion_point(field_set_pointer:dmi.ConfigResponse.reason_detail) |
| 1663 | } |
| 1664 | inline ::std::string* ConfigResponse::mutable_reason_detail() { |
| 1665 | |
| 1666 | // @@protoc_insertion_point(field_mutable:dmi.ConfigResponse.reason_detail) |
| 1667 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1668 | } |
| 1669 | inline ::std::string* ConfigResponse::release_reason_detail() { |
| 1670 | // @@protoc_insertion_point(field_release:dmi.ConfigResponse.reason_detail) |
| 1671 | |
| 1672 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1673 | } |
| 1674 | inline void ConfigResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 1675 | if (reason_detail != nullptr) { |
| 1676 | |
| 1677 | } else { |
| 1678 | |
| 1679 | } |
| 1680 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 1681 | // @@protoc_insertion_point(field_set_allocated:dmi.ConfigResponse.reason_detail) |
| 1682 | } |
| 1683 | |
| 1684 | // ------------------------------------------------------------------- |
| 1685 | |
| 1686 | // StartupConfigInfoRequest |
| 1687 | |
| 1688 | // .dmi.Uuid device_uuid = 1; |
| 1689 | inline bool StartupConfigInfoRequest::has_device_uuid() const { |
| 1690 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 1691 | } |
| 1692 | inline const ::dmi::Uuid& StartupConfigInfoRequest::device_uuid() const { |
| 1693 | const ::dmi::Uuid* p = device_uuid_; |
| 1694 | // @@protoc_insertion_point(field_get:dmi.StartupConfigInfoRequest.device_uuid) |
| 1695 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 1696 | &::dmi::_Uuid_default_instance_); |
| 1697 | } |
| 1698 | inline ::dmi::Uuid* StartupConfigInfoRequest::release_device_uuid() { |
| 1699 | // @@protoc_insertion_point(field_release:dmi.StartupConfigInfoRequest.device_uuid) |
| 1700 | |
| 1701 | ::dmi::Uuid* temp = device_uuid_; |
| 1702 | device_uuid_ = nullptr; |
| 1703 | return temp; |
| 1704 | } |
| 1705 | inline ::dmi::Uuid* StartupConfigInfoRequest::mutable_device_uuid() { |
| 1706 | |
| 1707 | if (device_uuid_ == nullptr) { |
| 1708 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 1709 | device_uuid_ = p; |
| 1710 | } |
| 1711 | // @@protoc_insertion_point(field_mutable:dmi.StartupConfigInfoRequest.device_uuid) |
| 1712 | return device_uuid_; |
| 1713 | } |
| 1714 | inline void StartupConfigInfoRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 1715 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 1716 | if (message_arena == nullptr) { |
| 1717 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 1718 | } |
| 1719 | if (device_uuid) { |
| 1720 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 1721 | if (message_arena != submessage_arena) { |
| 1722 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 1723 | message_arena, device_uuid, submessage_arena); |
| 1724 | } |
| 1725 | |
| 1726 | } else { |
| 1727 | |
| 1728 | } |
| 1729 | device_uuid_ = device_uuid; |
| 1730 | // @@protoc_insertion_point(field_set_allocated:dmi.StartupConfigInfoRequest.device_uuid) |
| 1731 | } |
| 1732 | |
| 1733 | // ------------------------------------------------------------------- |
| 1734 | |
| 1735 | // StartupConfigInfoResponse |
| 1736 | |
| 1737 | // .dmi.Status status = 1; |
| 1738 | inline void StartupConfigInfoResponse::clear_status() { |
| 1739 | status_ = 0; |
| 1740 | } |
| 1741 | inline ::dmi::Status StartupConfigInfoResponse::status() const { |
| 1742 | // @@protoc_insertion_point(field_get:dmi.StartupConfigInfoResponse.status) |
| 1743 | return static_cast< ::dmi::Status >(status_); |
| 1744 | } |
| 1745 | inline void StartupConfigInfoResponse::set_status(::dmi::Status value) { |
| 1746 | |
| 1747 | status_ = value; |
| 1748 | // @@protoc_insertion_point(field_set:dmi.StartupConfigInfoResponse.status) |
| 1749 | } |
| 1750 | |
| 1751 | // .dmi.StartupConfigInfoResponse.Reason reason = 2; |
| 1752 | inline void StartupConfigInfoResponse::clear_reason() { |
| 1753 | reason_ = 0; |
| 1754 | } |
| 1755 | inline ::dmi::StartupConfigInfoResponse_Reason StartupConfigInfoResponse::reason() const { |
| 1756 | // @@protoc_insertion_point(field_get:dmi.StartupConfigInfoResponse.reason) |
| 1757 | return static_cast< ::dmi::StartupConfigInfoResponse_Reason >(reason_); |
| 1758 | } |
| 1759 | inline void StartupConfigInfoResponse::set_reason(::dmi::StartupConfigInfoResponse_Reason value) { |
| 1760 | |
| 1761 | reason_ = value; |
| 1762 | // @@protoc_insertion_point(field_set:dmi.StartupConfigInfoResponse.reason) |
| 1763 | } |
| 1764 | |
| 1765 | // string config_url = 3; |
| 1766 | inline void StartupConfigInfoResponse::clear_config_url() { |
| 1767 | config_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1768 | } |
| 1769 | inline const ::std::string& StartupConfigInfoResponse::config_url() const { |
| 1770 | // @@protoc_insertion_point(field_get:dmi.StartupConfigInfoResponse.config_url) |
| 1771 | return config_url_.GetNoArena(); |
| 1772 | } |
| 1773 | inline void StartupConfigInfoResponse::set_config_url(const ::std::string& value) { |
| 1774 | |
| 1775 | config_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 1776 | // @@protoc_insertion_point(field_set:dmi.StartupConfigInfoResponse.config_url) |
| 1777 | } |
| 1778 | #if LANG_CXX11 |
| 1779 | inline void StartupConfigInfoResponse::set_config_url(::std::string&& value) { |
| 1780 | |
| 1781 | config_url_.SetNoArena( |
| 1782 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 1783 | // @@protoc_insertion_point(field_set_rvalue:dmi.StartupConfigInfoResponse.config_url) |
| 1784 | } |
| 1785 | #endif |
| 1786 | inline void StartupConfigInfoResponse::set_config_url(const char* value) { |
| 1787 | GOOGLE_DCHECK(value != nullptr); |
| 1788 | |
| 1789 | config_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 1790 | // @@protoc_insertion_point(field_set_char:dmi.StartupConfigInfoResponse.config_url) |
| 1791 | } |
| 1792 | inline void StartupConfigInfoResponse::set_config_url(const char* value, size_t size) { |
| 1793 | |
| 1794 | config_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 1795 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 1796 | // @@protoc_insertion_point(field_set_pointer:dmi.StartupConfigInfoResponse.config_url) |
| 1797 | } |
| 1798 | inline ::std::string* StartupConfigInfoResponse::mutable_config_url() { |
| 1799 | |
| 1800 | // @@protoc_insertion_point(field_mutable:dmi.StartupConfigInfoResponse.config_url) |
| 1801 | return config_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1802 | } |
| 1803 | inline ::std::string* StartupConfigInfoResponse::release_config_url() { |
| 1804 | // @@protoc_insertion_point(field_release:dmi.StartupConfigInfoResponse.config_url) |
| 1805 | |
| 1806 | return config_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1807 | } |
| 1808 | inline void StartupConfigInfoResponse::set_allocated_config_url(::std::string* config_url) { |
| 1809 | if (config_url != nullptr) { |
| 1810 | |
| 1811 | } else { |
| 1812 | |
| 1813 | } |
| 1814 | config_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), config_url); |
| 1815 | // @@protoc_insertion_point(field_set_allocated:dmi.StartupConfigInfoResponse.config_url) |
| 1816 | } |
| 1817 | |
| 1818 | // string version = 4; |
| 1819 | inline void StartupConfigInfoResponse::clear_version() { |
| 1820 | version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1821 | } |
| 1822 | inline const ::std::string& StartupConfigInfoResponse::version() const { |
| 1823 | // @@protoc_insertion_point(field_get:dmi.StartupConfigInfoResponse.version) |
| 1824 | return version_.GetNoArena(); |
| 1825 | } |
| 1826 | inline void StartupConfigInfoResponse::set_version(const ::std::string& value) { |
| 1827 | |
| 1828 | version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 1829 | // @@protoc_insertion_point(field_set:dmi.StartupConfigInfoResponse.version) |
| 1830 | } |
| 1831 | #if LANG_CXX11 |
| 1832 | inline void StartupConfigInfoResponse::set_version(::std::string&& value) { |
| 1833 | |
| 1834 | version_.SetNoArena( |
| 1835 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 1836 | // @@protoc_insertion_point(field_set_rvalue:dmi.StartupConfigInfoResponse.version) |
| 1837 | } |
| 1838 | #endif |
| 1839 | inline void StartupConfigInfoResponse::set_version(const char* value) { |
| 1840 | GOOGLE_DCHECK(value != nullptr); |
| 1841 | |
| 1842 | version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 1843 | // @@protoc_insertion_point(field_set_char:dmi.StartupConfigInfoResponse.version) |
| 1844 | } |
| 1845 | inline void StartupConfigInfoResponse::set_version(const char* value, size_t size) { |
| 1846 | |
| 1847 | version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 1848 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 1849 | // @@protoc_insertion_point(field_set_pointer:dmi.StartupConfigInfoResponse.version) |
| 1850 | } |
| 1851 | inline ::std::string* StartupConfigInfoResponse::mutable_version() { |
| 1852 | |
| 1853 | // @@protoc_insertion_point(field_mutable:dmi.StartupConfigInfoResponse.version) |
| 1854 | return version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1855 | } |
| 1856 | inline ::std::string* StartupConfigInfoResponse::release_version() { |
| 1857 | // @@protoc_insertion_point(field_release:dmi.StartupConfigInfoResponse.version) |
| 1858 | |
| 1859 | return version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1860 | } |
| 1861 | inline void StartupConfigInfoResponse::set_allocated_version(::std::string* version) { |
| 1862 | if (version != nullptr) { |
| 1863 | |
| 1864 | } else { |
| 1865 | |
| 1866 | } |
| 1867 | version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version); |
| 1868 | // @@protoc_insertion_point(field_set_allocated:dmi.StartupConfigInfoResponse.version) |
| 1869 | } |
| 1870 | |
| 1871 | // string reason_detail = 5; |
| 1872 | inline void StartupConfigInfoResponse::clear_reason_detail() { |
| 1873 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1874 | } |
| 1875 | inline const ::std::string& StartupConfigInfoResponse::reason_detail() const { |
| 1876 | // @@protoc_insertion_point(field_get:dmi.StartupConfigInfoResponse.reason_detail) |
| 1877 | return reason_detail_.GetNoArena(); |
| 1878 | } |
| 1879 | inline void StartupConfigInfoResponse::set_reason_detail(const ::std::string& value) { |
| 1880 | |
| 1881 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 1882 | // @@protoc_insertion_point(field_set:dmi.StartupConfigInfoResponse.reason_detail) |
| 1883 | } |
| 1884 | #if LANG_CXX11 |
| 1885 | inline void StartupConfigInfoResponse::set_reason_detail(::std::string&& value) { |
| 1886 | |
| 1887 | reason_detail_.SetNoArena( |
| 1888 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 1889 | // @@protoc_insertion_point(field_set_rvalue:dmi.StartupConfigInfoResponse.reason_detail) |
| 1890 | } |
| 1891 | #endif |
| 1892 | inline void StartupConfigInfoResponse::set_reason_detail(const char* value) { |
| 1893 | GOOGLE_DCHECK(value != nullptr); |
| 1894 | |
| 1895 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 1896 | // @@protoc_insertion_point(field_set_char:dmi.StartupConfigInfoResponse.reason_detail) |
| 1897 | } |
| 1898 | inline void StartupConfigInfoResponse::set_reason_detail(const char* value, size_t size) { |
| 1899 | |
| 1900 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 1901 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 1902 | // @@protoc_insertion_point(field_set_pointer:dmi.StartupConfigInfoResponse.reason_detail) |
| 1903 | } |
| 1904 | inline ::std::string* StartupConfigInfoResponse::mutable_reason_detail() { |
| 1905 | |
| 1906 | // @@protoc_insertion_point(field_mutable:dmi.StartupConfigInfoResponse.reason_detail) |
| 1907 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1908 | } |
| 1909 | inline ::std::string* StartupConfigInfoResponse::release_reason_detail() { |
| 1910 | // @@protoc_insertion_point(field_release:dmi.StartupConfigInfoResponse.reason_detail) |
| 1911 | |
| 1912 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1913 | } |
| 1914 | inline void StartupConfigInfoResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 1915 | if (reason_detail != nullptr) { |
| 1916 | |
| 1917 | } else { |
| 1918 | |
| 1919 | } |
| 1920 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 1921 | // @@protoc_insertion_point(field_set_allocated:dmi.StartupConfigInfoResponse.reason_detail) |
| 1922 | } |
| 1923 | |
| 1924 | #ifdef __GNUC__ |
| 1925 | #pragma GCC diagnostic pop |
| 1926 | #endif // __GNUC__ |
| 1927 | // ------------------------------------------------------------------- |
| 1928 | |
| 1929 | // ------------------------------------------------------------------- |
| 1930 | |
| 1931 | // ------------------------------------------------------------------- |
| 1932 | |
| 1933 | // ------------------------------------------------------------------- |
| 1934 | |
| 1935 | // ------------------------------------------------------------------- |
| 1936 | |
| 1937 | // ------------------------------------------------------------------- |
| 1938 | |
| 1939 | |
| 1940 | // @@protoc_insertion_point(namespace_scope) |
| 1941 | |
| 1942 | } // namespace dmi |
| 1943 | |
| 1944 | namespace google { |
| 1945 | namespace protobuf { |
| 1946 | |
| 1947 | template <> struct is_proto_enum< ::dmi::GetSoftwareVersionInformationResponse_Reason> : ::std::true_type {}; |
| 1948 | template <> |
| 1949 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::GetSoftwareVersionInformationResponse_Reason>() { |
| 1950 | return ::dmi::GetSoftwareVersionInformationResponse_Reason_descriptor(); |
| 1951 | } |
| 1952 | template <> struct is_proto_enum< ::dmi::ConfigResponse_Reason> : ::std::true_type {}; |
| 1953 | template <> |
| 1954 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::ConfigResponse_Reason>() { |
| 1955 | return ::dmi::ConfigResponse_Reason_descriptor(); |
| 1956 | } |
| 1957 | template <> struct is_proto_enum< ::dmi::StartupConfigInfoResponse_Reason> : ::std::true_type {}; |
| 1958 | template <> |
| 1959 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::StartupConfigInfoResponse_Reason>() { |
| 1960 | return ::dmi::StartupConfigInfoResponse_Reason_descriptor(); |
| 1961 | } |
| 1962 | |
| 1963 | } // namespace protobuf |
| 1964 | } // namespace google |
| 1965 | |
| 1966 | // @@protoc_insertion_point(global_scope) |
| 1967 | |
| 1968 | #include <google/protobuf/port_undef.inc> |
| 1969 | #endif // PROTOBUF_INCLUDED_dmi_2fsw_5fmanagement_5fservice_2eproto |