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); |
amit.ghosh | 5a68980 | 2022-09-12 14:26:10 +0200 | [diff] [blame] | 48 | static const ::google::protobuf::internal::ParseTable schema[9] |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 49 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
| 50 | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
| 51 | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
| 52 | static const ::google::protobuf::uint32 offsets[]; |
| 53 | }; |
| 54 | void AddDescriptors_dmi_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_; |
amit.ghosh | 5a68980 | 2022-09-12 14:26:10 +0200 | [diff] [blame] | 77 | class UploadDebugInfoRequest; |
| 78 | class UploadDebugInfoRequestDefaultTypeInternal; |
| 79 | extern UploadDebugInfoRequestDefaultTypeInternal _UploadDebugInfoRequest_default_instance_; |
| 80 | class UploadDebugInfoStatus; |
| 81 | class UploadDebugInfoStatusDefaultTypeInternal; |
| 82 | extern UploadDebugInfoStatusDefaultTypeInternal _UploadDebugInfoStatus_default_instance_; |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 83 | } // namespace dmi |
| 84 | namespace google { |
| 85 | namespace protobuf { |
| 86 | template<> ::dmi::ConfigRequest* Arena::CreateMaybeMessage<::dmi::ConfigRequest>(Arena*); |
| 87 | template<> ::dmi::ConfigResponse* Arena::CreateMaybeMessage<::dmi::ConfigResponse>(Arena*); |
| 88 | template<> ::dmi::DownloadImageRequest* Arena::CreateMaybeMessage<::dmi::DownloadImageRequest>(Arena*); |
| 89 | template<> ::dmi::GetSoftwareVersionInformationResponse* Arena::CreateMaybeMessage<::dmi::GetSoftwareVersionInformationResponse>(Arena*); |
| 90 | template<> ::dmi::SoftwareVersionInformation* Arena::CreateMaybeMessage<::dmi::SoftwareVersionInformation>(Arena*); |
| 91 | template<> ::dmi::StartupConfigInfoRequest* Arena::CreateMaybeMessage<::dmi::StartupConfigInfoRequest>(Arena*); |
| 92 | template<> ::dmi::StartupConfigInfoResponse* Arena::CreateMaybeMessage<::dmi::StartupConfigInfoResponse>(Arena*); |
amit.ghosh | 5a68980 | 2022-09-12 14:26:10 +0200 | [diff] [blame] | 93 | template<> ::dmi::UploadDebugInfoRequest* Arena::CreateMaybeMessage<::dmi::UploadDebugInfoRequest>(Arena*); |
| 94 | template<> ::dmi::UploadDebugInfoStatus* Arena::CreateMaybeMessage<::dmi::UploadDebugInfoStatus>(Arena*); |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 95 | } // namespace protobuf |
| 96 | } // namespace google |
| 97 | namespace dmi { |
| 98 | |
| 99 | enum GetSoftwareVersionInformationResponse_Reason { |
| 100 | GetSoftwareVersionInformationResponse_Reason_UNDEFINED_REASON = 0, |
| 101 | GetSoftwareVersionInformationResponse_Reason_UNKNOWN_DEVICE = 1, |
| 102 | GetSoftwareVersionInformationResponse_Reason_INTERNAL_ERROR = 2, |
| 103 | GetSoftwareVersionInformationResponse_Reason_DEVICE_UNREACHABLE = 3, |
| 104 | GetSoftwareVersionInformationResponse_Reason_GetSoftwareVersionInformationResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 105 | GetSoftwareVersionInformationResponse_Reason_GetSoftwareVersionInformationResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 106 | }; |
| 107 | bool GetSoftwareVersionInformationResponse_Reason_IsValid(int value); |
| 108 | const GetSoftwareVersionInformationResponse_Reason GetSoftwareVersionInformationResponse_Reason_Reason_MIN = GetSoftwareVersionInformationResponse_Reason_UNDEFINED_REASON; |
| 109 | const GetSoftwareVersionInformationResponse_Reason GetSoftwareVersionInformationResponse_Reason_Reason_MAX = GetSoftwareVersionInformationResponse_Reason_DEVICE_UNREACHABLE; |
| 110 | const int GetSoftwareVersionInformationResponse_Reason_Reason_ARRAYSIZE = GetSoftwareVersionInformationResponse_Reason_Reason_MAX + 1; |
| 111 | |
| 112 | const ::google::protobuf::EnumDescriptor* GetSoftwareVersionInformationResponse_Reason_descriptor(); |
| 113 | inline const ::std::string& GetSoftwareVersionInformationResponse_Reason_Name(GetSoftwareVersionInformationResponse_Reason value) { |
| 114 | return ::google::protobuf::internal::NameOfEnum( |
| 115 | GetSoftwareVersionInformationResponse_Reason_descriptor(), value); |
| 116 | } |
| 117 | inline bool GetSoftwareVersionInformationResponse_Reason_Parse( |
| 118 | const ::std::string& name, GetSoftwareVersionInformationResponse_Reason* value) { |
| 119 | return ::google::protobuf::internal::ParseNamedEnum<GetSoftwareVersionInformationResponse_Reason>( |
| 120 | GetSoftwareVersionInformationResponse_Reason_descriptor(), name, value); |
| 121 | } |
| 122 | enum ConfigResponse_Reason { |
| 123 | ConfigResponse_Reason_UNDEFINED_REASON = 0, |
| 124 | ConfigResponse_Reason_UNKNOWN_DEVICE = 1, |
| 125 | ConfigResponse_Reason_INTERNAL_ERROR = 2, |
| 126 | ConfigResponse_Reason_ERROR_FETCHING_CONFIG = 3, |
| 127 | ConfigResponse_Reason_INVALID_CONFIG = 4, |
| 128 | ConfigResponse_Reason_OPERATION_ALREADY_IN_PROGRESS = 5, |
| 129 | ConfigResponse_Reason_DEVICE_UNREACHABLE = 6, |
| 130 | ConfigResponse_Reason_ConfigResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 131 | ConfigResponse_Reason_ConfigResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 132 | }; |
| 133 | bool ConfigResponse_Reason_IsValid(int value); |
| 134 | const ConfigResponse_Reason ConfigResponse_Reason_Reason_MIN = ConfigResponse_Reason_UNDEFINED_REASON; |
| 135 | const ConfigResponse_Reason ConfigResponse_Reason_Reason_MAX = ConfigResponse_Reason_DEVICE_UNREACHABLE; |
| 136 | const int ConfigResponse_Reason_Reason_ARRAYSIZE = ConfigResponse_Reason_Reason_MAX + 1; |
| 137 | |
| 138 | const ::google::protobuf::EnumDescriptor* ConfigResponse_Reason_descriptor(); |
| 139 | inline const ::std::string& ConfigResponse_Reason_Name(ConfigResponse_Reason value) { |
| 140 | return ::google::protobuf::internal::NameOfEnum( |
| 141 | ConfigResponse_Reason_descriptor(), value); |
| 142 | } |
| 143 | inline bool ConfigResponse_Reason_Parse( |
| 144 | const ::std::string& name, ConfigResponse_Reason* value) { |
| 145 | return ::google::protobuf::internal::ParseNamedEnum<ConfigResponse_Reason>( |
| 146 | ConfigResponse_Reason_descriptor(), name, value); |
| 147 | } |
| 148 | enum StartupConfigInfoResponse_Reason { |
| 149 | StartupConfigInfoResponse_Reason_UNDEFINED_REASON = 0, |
| 150 | StartupConfigInfoResponse_Reason_UNKNOWN_DEVICE = 1, |
| 151 | StartupConfigInfoResponse_Reason_INTERNAL_ERROR = 2, |
| 152 | StartupConfigInfoResponse_Reason_DEVICE_UNREACHABLE = 3, |
| 153 | StartupConfigInfoResponse_Reason_StartupConfigInfoResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 154 | StartupConfigInfoResponse_Reason_StartupConfigInfoResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 155 | }; |
| 156 | bool StartupConfigInfoResponse_Reason_IsValid(int value); |
| 157 | const StartupConfigInfoResponse_Reason StartupConfigInfoResponse_Reason_Reason_MIN = StartupConfigInfoResponse_Reason_UNDEFINED_REASON; |
| 158 | const StartupConfigInfoResponse_Reason StartupConfigInfoResponse_Reason_Reason_MAX = StartupConfigInfoResponse_Reason_DEVICE_UNREACHABLE; |
| 159 | const int StartupConfigInfoResponse_Reason_Reason_ARRAYSIZE = StartupConfigInfoResponse_Reason_Reason_MAX + 1; |
| 160 | |
| 161 | const ::google::protobuf::EnumDescriptor* StartupConfigInfoResponse_Reason_descriptor(); |
| 162 | inline const ::std::string& StartupConfigInfoResponse_Reason_Name(StartupConfigInfoResponse_Reason value) { |
| 163 | return ::google::protobuf::internal::NameOfEnum( |
| 164 | StartupConfigInfoResponse_Reason_descriptor(), value); |
| 165 | } |
| 166 | inline bool StartupConfigInfoResponse_Reason_Parse( |
| 167 | const ::std::string& name, StartupConfigInfoResponse_Reason* value) { |
| 168 | return ::google::protobuf::internal::ParseNamedEnum<StartupConfigInfoResponse_Reason>( |
| 169 | StartupConfigInfoResponse_Reason_descriptor(), name, value); |
| 170 | } |
amit.ghosh | 5a68980 | 2022-09-12 14:26:10 +0200 | [diff] [blame] | 171 | enum UploadDebugInfoStatus_UploadStatus { |
| 172 | UploadDebugInfoStatus_UploadStatus_UNDEFINED_UPLOAD_STATUS = 0, |
| 173 | UploadDebugInfoStatus_UploadStatus_COMPLETE = 1, |
| 174 | UploadDebugInfoStatus_UploadStatus_IN_PROGRESS = 2, |
| 175 | UploadDebugInfoStatus_UploadStatus_ERROR = 3, |
| 176 | UploadDebugInfoStatus_UploadStatus_UploadDebugInfoStatus_UploadStatus_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 177 | UploadDebugInfoStatus_UploadStatus_UploadDebugInfoStatus_UploadStatus_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 178 | }; |
| 179 | bool UploadDebugInfoStatus_UploadStatus_IsValid(int value); |
| 180 | const UploadDebugInfoStatus_UploadStatus UploadDebugInfoStatus_UploadStatus_UploadStatus_MIN = UploadDebugInfoStatus_UploadStatus_UNDEFINED_UPLOAD_STATUS; |
| 181 | const UploadDebugInfoStatus_UploadStatus UploadDebugInfoStatus_UploadStatus_UploadStatus_MAX = UploadDebugInfoStatus_UploadStatus_ERROR; |
| 182 | const int UploadDebugInfoStatus_UploadStatus_UploadStatus_ARRAYSIZE = UploadDebugInfoStatus_UploadStatus_UploadStatus_MAX + 1; |
| 183 | |
| 184 | const ::google::protobuf::EnumDescriptor* UploadDebugInfoStatus_UploadStatus_descriptor(); |
| 185 | inline const ::std::string& UploadDebugInfoStatus_UploadStatus_Name(UploadDebugInfoStatus_UploadStatus value) { |
| 186 | return ::google::protobuf::internal::NameOfEnum( |
| 187 | UploadDebugInfoStatus_UploadStatus_descriptor(), value); |
| 188 | } |
| 189 | inline bool UploadDebugInfoStatus_UploadStatus_Parse( |
| 190 | const ::std::string& name, UploadDebugInfoStatus_UploadStatus* value) { |
| 191 | return ::google::protobuf::internal::ParseNamedEnum<UploadDebugInfoStatus_UploadStatus>( |
| 192 | UploadDebugInfoStatus_UploadStatus_descriptor(), name, value); |
| 193 | } |
| 194 | enum UploadDebugInfoStatus_Reason { |
| 195 | UploadDebugInfoStatus_Reason_UNDEFINED_REASON = 0, |
| 196 | UploadDebugInfoStatus_Reason_UNKNOWN_DEVICE = 1, |
| 197 | UploadDebugInfoStatus_Reason_INTERNAL_ERROR = 2, |
amit.ghosh | dfd5d7e | 2023-03-14 21:14:33 +0100 | [diff] [blame] | 198 | UploadDebugInfoStatus_Reason_DEVICE_NOT_REACHABLE = 3, |
amit.ghosh | 5a68980 | 2022-09-12 14:26:10 +0200 | [diff] [blame] | 199 | UploadDebugInfoStatus_Reason_REMOTE_LOCATION_UNREACHABLE = 4, |
| 200 | UploadDebugInfoStatus_Reason_REMOTE_LOCATION_PERMISSION_DENIED = 5, |
| 201 | UploadDebugInfoStatus_Reason_ERROR_DURING_UPLOAD = 6, |
amit.ghosh | 4d731da | 2023-03-07 14:32:00 +0100 | [diff] [blame] | 202 | UploadDebugInfoStatus_Reason_DEVICE_BUSY = 7, |
amit.ghosh | dfd5d7e | 2023-03-14 21:14:33 +0100 | [diff] [blame] | 203 | UploadDebugInfoStatus_Reason_ERROR_IN_REQUEST = 8, |
| 204 | UploadDebugInfoStatus_Reason_DEVICE_IN_WRONG_STATE = 9, |
| 205 | UploadDebugInfoStatus_Reason_OPERATION_ALREADY_IN_PROGRESS = 10, |
amit.ghosh | 5a68980 | 2022-09-12 14:26:10 +0200 | [diff] [blame] | 206 | UploadDebugInfoStatus_Reason_UploadDebugInfoStatus_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), |
| 207 | UploadDebugInfoStatus_Reason_UploadDebugInfoStatus_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() |
| 208 | }; |
| 209 | bool UploadDebugInfoStatus_Reason_IsValid(int value); |
| 210 | const UploadDebugInfoStatus_Reason UploadDebugInfoStatus_Reason_Reason_MIN = UploadDebugInfoStatus_Reason_UNDEFINED_REASON; |
amit.ghosh | dfd5d7e | 2023-03-14 21:14:33 +0100 | [diff] [blame] | 211 | const UploadDebugInfoStatus_Reason UploadDebugInfoStatus_Reason_Reason_MAX = UploadDebugInfoStatus_Reason_OPERATION_ALREADY_IN_PROGRESS; |
amit.ghosh | 5a68980 | 2022-09-12 14:26:10 +0200 | [diff] [blame] | 212 | const int UploadDebugInfoStatus_Reason_Reason_ARRAYSIZE = UploadDebugInfoStatus_Reason_Reason_MAX + 1; |
| 213 | |
| 214 | const ::google::protobuf::EnumDescriptor* UploadDebugInfoStatus_Reason_descriptor(); |
| 215 | inline const ::std::string& UploadDebugInfoStatus_Reason_Name(UploadDebugInfoStatus_Reason value) { |
| 216 | return ::google::protobuf::internal::NameOfEnum( |
| 217 | UploadDebugInfoStatus_Reason_descriptor(), value); |
| 218 | } |
| 219 | inline bool UploadDebugInfoStatus_Reason_Parse( |
| 220 | const ::std::string& name, UploadDebugInfoStatus_Reason* value) { |
| 221 | return ::google::protobuf::internal::ParseNamedEnum<UploadDebugInfoStatus_Reason>( |
| 222 | UploadDebugInfoStatus_Reason_descriptor(), name, value); |
| 223 | } |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 224 | // =================================================================== |
| 225 | |
| 226 | class SoftwareVersionInformation final : |
| 227 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.SoftwareVersionInformation) */ { |
| 228 | public: |
| 229 | SoftwareVersionInformation(); |
| 230 | virtual ~SoftwareVersionInformation(); |
| 231 | |
| 232 | SoftwareVersionInformation(const SoftwareVersionInformation& from); |
| 233 | |
| 234 | inline SoftwareVersionInformation& operator=(const SoftwareVersionInformation& from) { |
| 235 | CopyFrom(from); |
| 236 | return *this; |
| 237 | } |
| 238 | #if LANG_CXX11 |
| 239 | SoftwareVersionInformation(SoftwareVersionInformation&& from) noexcept |
| 240 | : SoftwareVersionInformation() { |
| 241 | *this = ::std::move(from); |
| 242 | } |
| 243 | |
| 244 | inline SoftwareVersionInformation& operator=(SoftwareVersionInformation&& from) noexcept { |
| 245 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 246 | if (this != &from) InternalSwap(&from); |
| 247 | } else { |
| 248 | CopyFrom(from); |
| 249 | } |
| 250 | return *this; |
| 251 | } |
| 252 | #endif |
| 253 | static const ::google::protobuf::Descriptor* descriptor() { |
| 254 | return default_instance().GetDescriptor(); |
| 255 | } |
| 256 | static const SoftwareVersionInformation& default_instance(); |
| 257 | |
| 258 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 259 | static inline const SoftwareVersionInformation* internal_default_instance() { |
| 260 | return reinterpret_cast<const SoftwareVersionInformation*>( |
| 261 | &_SoftwareVersionInformation_default_instance_); |
| 262 | } |
| 263 | static constexpr int kIndexInFileMessages = |
| 264 | 0; |
| 265 | |
| 266 | void Swap(SoftwareVersionInformation* other); |
| 267 | friend void swap(SoftwareVersionInformation& a, SoftwareVersionInformation& b) { |
| 268 | a.Swap(&b); |
| 269 | } |
| 270 | |
| 271 | // implements Message ---------------------------------------------- |
| 272 | |
| 273 | inline SoftwareVersionInformation* New() const final { |
| 274 | return CreateMaybeMessage<SoftwareVersionInformation>(nullptr); |
| 275 | } |
| 276 | |
| 277 | SoftwareVersionInformation* New(::google::protobuf::Arena* arena) const final { |
| 278 | return CreateMaybeMessage<SoftwareVersionInformation>(arena); |
| 279 | } |
| 280 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 281 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 282 | void CopyFrom(const SoftwareVersionInformation& from); |
| 283 | void MergeFrom(const SoftwareVersionInformation& from); |
| 284 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 285 | bool IsInitialized() const final; |
| 286 | |
| 287 | size_t ByteSizeLong() const final; |
| 288 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 289 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 290 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 291 | #else |
| 292 | bool MergePartialFromCodedStream( |
| 293 | ::google::protobuf::io::CodedInputStream* input) final; |
| 294 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 295 | void SerializeWithCachedSizes( |
| 296 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 297 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 298 | ::google::protobuf::uint8* target) const final; |
| 299 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 300 | |
| 301 | private: |
| 302 | void SharedCtor(); |
| 303 | void SharedDtor(); |
| 304 | void SetCachedSize(int size) const final; |
| 305 | void InternalSwap(SoftwareVersionInformation* other); |
| 306 | private: |
| 307 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 308 | return nullptr; |
| 309 | } |
| 310 | inline void* MaybeArenaPtr() const { |
| 311 | return nullptr; |
| 312 | } |
| 313 | public: |
| 314 | |
| 315 | ::google::protobuf::Metadata GetMetadata() const final; |
| 316 | |
| 317 | // nested types ---------------------------------------------------- |
| 318 | |
| 319 | // accessors ------------------------------------------------------- |
| 320 | |
| 321 | // repeated .dmi.ImageVersion active_versions = 1; |
| 322 | int active_versions_size() const; |
| 323 | void clear_active_versions(); |
| 324 | static const int kActiveVersionsFieldNumber = 1; |
| 325 | ::dmi::ImageVersion* mutable_active_versions(int index); |
| 326 | ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion >* |
| 327 | mutable_active_versions(); |
| 328 | const ::dmi::ImageVersion& active_versions(int index) const; |
| 329 | ::dmi::ImageVersion* add_active_versions(); |
| 330 | const ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion >& |
| 331 | active_versions() const; |
| 332 | |
| 333 | // repeated .dmi.ImageVersion standby_versions = 2; |
| 334 | int standby_versions_size() const; |
| 335 | void clear_standby_versions(); |
| 336 | static const int kStandbyVersionsFieldNumber = 2; |
| 337 | ::dmi::ImageVersion* mutable_standby_versions(int index); |
| 338 | ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion >* |
| 339 | mutable_standby_versions(); |
| 340 | const ::dmi::ImageVersion& standby_versions(int index) const; |
| 341 | ::dmi::ImageVersion* add_standby_versions(); |
| 342 | const ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion >& |
| 343 | standby_versions() const; |
| 344 | |
| 345 | // @@protoc_insertion_point(class_scope:dmi.SoftwareVersionInformation) |
| 346 | private: |
| 347 | class HasBitSetters; |
| 348 | |
| 349 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 350 | ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion > active_versions_; |
| 351 | ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion > standby_versions_; |
| 352 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 353 | friend struct ::TableStruct_dmi_2fsw_5fmanagement_5fservice_2eproto; |
| 354 | }; |
| 355 | // ------------------------------------------------------------------- |
| 356 | |
| 357 | class GetSoftwareVersionInformationResponse final : |
| 358 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.GetSoftwareVersionInformationResponse) */ { |
| 359 | public: |
| 360 | GetSoftwareVersionInformationResponse(); |
| 361 | virtual ~GetSoftwareVersionInformationResponse(); |
| 362 | |
| 363 | GetSoftwareVersionInformationResponse(const GetSoftwareVersionInformationResponse& from); |
| 364 | |
| 365 | inline GetSoftwareVersionInformationResponse& operator=(const GetSoftwareVersionInformationResponse& from) { |
| 366 | CopyFrom(from); |
| 367 | return *this; |
| 368 | } |
| 369 | #if LANG_CXX11 |
| 370 | GetSoftwareVersionInformationResponse(GetSoftwareVersionInformationResponse&& from) noexcept |
| 371 | : GetSoftwareVersionInformationResponse() { |
| 372 | *this = ::std::move(from); |
| 373 | } |
| 374 | |
| 375 | inline GetSoftwareVersionInformationResponse& operator=(GetSoftwareVersionInformationResponse&& from) noexcept { |
| 376 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 377 | if (this != &from) InternalSwap(&from); |
| 378 | } else { |
| 379 | CopyFrom(from); |
| 380 | } |
| 381 | return *this; |
| 382 | } |
| 383 | #endif |
| 384 | static const ::google::protobuf::Descriptor* descriptor() { |
| 385 | return default_instance().GetDescriptor(); |
| 386 | } |
| 387 | static const GetSoftwareVersionInformationResponse& default_instance(); |
| 388 | |
| 389 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 390 | static inline const GetSoftwareVersionInformationResponse* internal_default_instance() { |
| 391 | return reinterpret_cast<const GetSoftwareVersionInformationResponse*>( |
| 392 | &_GetSoftwareVersionInformationResponse_default_instance_); |
| 393 | } |
| 394 | static constexpr int kIndexInFileMessages = |
| 395 | 1; |
| 396 | |
| 397 | void Swap(GetSoftwareVersionInformationResponse* other); |
| 398 | friend void swap(GetSoftwareVersionInformationResponse& a, GetSoftwareVersionInformationResponse& b) { |
| 399 | a.Swap(&b); |
| 400 | } |
| 401 | |
| 402 | // implements Message ---------------------------------------------- |
| 403 | |
| 404 | inline GetSoftwareVersionInformationResponse* New() const final { |
| 405 | return CreateMaybeMessage<GetSoftwareVersionInformationResponse>(nullptr); |
| 406 | } |
| 407 | |
| 408 | GetSoftwareVersionInformationResponse* New(::google::protobuf::Arena* arena) const final { |
| 409 | return CreateMaybeMessage<GetSoftwareVersionInformationResponse>(arena); |
| 410 | } |
| 411 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 412 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 413 | void CopyFrom(const GetSoftwareVersionInformationResponse& from); |
| 414 | void MergeFrom(const GetSoftwareVersionInformationResponse& from); |
| 415 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 416 | bool IsInitialized() const final; |
| 417 | |
| 418 | size_t ByteSizeLong() const final; |
| 419 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 420 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 421 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 422 | #else |
| 423 | bool MergePartialFromCodedStream( |
| 424 | ::google::protobuf::io::CodedInputStream* input) final; |
| 425 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 426 | void SerializeWithCachedSizes( |
| 427 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 428 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 429 | ::google::protobuf::uint8* target) const final; |
| 430 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 431 | |
| 432 | private: |
| 433 | void SharedCtor(); |
| 434 | void SharedDtor(); |
| 435 | void SetCachedSize(int size) const final; |
| 436 | void InternalSwap(GetSoftwareVersionInformationResponse* other); |
| 437 | private: |
| 438 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 439 | return nullptr; |
| 440 | } |
| 441 | inline void* MaybeArenaPtr() const { |
| 442 | return nullptr; |
| 443 | } |
| 444 | public: |
| 445 | |
| 446 | ::google::protobuf::Metadata GetMetadata() const final; |
| 447 | |
| 448 | // nested types ---------------------------------------------------- |
| 449 | |
| 450 | typedef GetSoftwareVersionInformationResponse_Reason Reason; |
| 451 | static const Reason UNDEFINED_REASON = |
| 452 | GetSoftwareVersionInformationResponse_Reason_UNDEFINED_REASON; |
| 453 | static const Reason UNKNOWN_DEVICE = |
| 454 | GetSoftwareVersionInformationResponse_Reason_UNKNOWN_DEVICE; |
| 455 | static const Reason INTERNAL_ERROR = |
| 456 | GetSoftwareVersionInformationResponse_Reason_INTERNAL_ERROR; |
| 457 | static const Reason DEVICE_UNREACHABLE = |
| 458 | GetSoftwareVersionInformationResponse_Reason_DEVICE_UNREACHABLE; |
| 459 | static inline bool Reason_IsValid(int value) { |
| 460 | return GetSoftwareVersionInformationResponse_Reason_IsValid(value); |
| 461 | } |
| 462 | static const Reason Reason_MIN = |
| 463 | GetSoftwareVersionInformationResponse_Reason_Reason_MIN; |
| 464 | static const Reason Reason_MAX = |
| 465 | GetSoftwareVersionInformationResponse_Reason_Reason_MAX; |
| 466 | static const int Reason_ARRAYSIZE = |
| 467 | GetSoftwareVersionInformationResponse_Reason_Reason_ARRAYSIZE; |
| 468 | static inline const ::google::protobuf::EnumDescriptor* |
| 469 | Reason_descriptor() { |
| 470 | return GetSoftwareVersionInformationResponse_Reason_descriptor(); |
| 471 | } |
| 472 | static inline const ::std::string& Reason_Name(Reason value) { |
| 473 | return GetSoftwareVersionInformationResponse_Reason_Name(value); |
| 474 | } |
| 475 | static inline bool Reason_Parse(const ::std::string& name, |
| 476 | Reason* value) { |
| 477 | return GetSoftwareVersionInformationResponse_Reason_Parse(name, value); |
| 478 | } |
| 479 | |
| 480 | // accessors ------------------------------------------------------- |
| 481 | |
| 482 | // string reason_detail = 4; |
| 483 | void clear_reason_detail(); |
| 484 | static const int kReasonDetailFieldNumber = 4; |
| 485 | const ::std::string& reason_detail() const; |
| 486 | void set_reason_detail(const ::std::string& value); |
| 487 | #if LANG_CXX11 |
| 488 | void set_reason_detail(::std::string&& value); |
| 489 | #endif |
| 490 | void set_reason_detail(const char* value); |
| 491 | void set_reason_detail(const char* value, size_t size); |
| 492 | ::std::string* mutable_reason_detail(); |
| 493 | ::std::string* release_reason_detail(); |
| 494 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 495 | |
| 496 | // .dmi.SoftwareVersionInformation info = 3; |
| 497 | bool has_info() const; |
| 498 | void clear_info(); |
| 499 | static const int kInfoFieldNumber = 3; |
| 500 | const ::dmi::SoftwareVersionInformation& info() const; |
| 501 | ::dmi::SoftwareVersionInformation* release_info(); |
| 502 | ::dmi::SoftwareVersionInformation* mutable_info(); |
| 503 | void set_allocated_info(::dmi::SoftwareVersionInformation* info); |
| 504 | |
| 505 | // .dmi.Status status = 1; |
| 506 | void clear_status(); |
| 507 | static const int kStatusFieldNumber = 1; |
| 508 | ::dmi::Status status() const; |
| 509 | void set_status(::dmi::Status value); |
| 510 | |
| 511 | // .dmi.GetSoftwareVersionInformationResponse.Reason reason = 2; |
| 512 | void clear_reason(); |
| 513 | static const int kReasonFieldNumber = 2; |
| 514 | ::dmi::GetSoftwareVersionInformationResponse_Reason reason() const; |
| 515 | void set_reason(::dmi::GetSoftwareVersionInformationResponse_Reason value); |
| 516 | |
| 517 | // @@protoc_insertion_point(class_scope:dmi.GetSoftwareVersionInformationResponse) |
| 518 | private: |
| 519 | class HasBitSetters; |
| 520 | |
| 521 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 522 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 523 | ::dmi::SoftwareVersionInformation* info_; |
| 524 | int status_; |
| 525 | int reason_; |
| 526 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 527 | friend struct ::TableStruct_dmi_2fsw_5fmanagement_5fservice_2eproto; |
| 528 | }; |
| 529 | // ------------------------------------------------------------------- |
| 530 | |
| 531 | class DownloadImageRequest final : |
| 532 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.DownloadImageRequest) */ { |
| 533 | public: |
| 534 | DownloadImageRequest(); |
| 535 | virtual ~DownloadImageRequest(); |
| 536 | |
| 537 | DownloadImageRequest(const DownloadImageRequest& from); |
| 538 | |
| 539 | inline DownloadImageRequest& operator=(const DownloadImageRequest& from) { |
| 540 | CopyFrom(from); |
| 541 | return *this; |
| 542 | } |
| 543 | #if LANG_CXX11 |
| 544 | DownloadImageRequest(DownloadImageRequest&& from) noexcept |
| 545 | : DownloadImageRequest() { |
| 546 | *this = ::std::move(from); |
| 547 | } |
| 548 | |
| 549 | inline DownloadImageRequest& operator=(DownloadImageRequest&& from) noexcept { |
| 550 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 551 | if (this != &from) InternalSwap(&from); |
| 552 | } else { |
| 553 | CopyFrom(from); |
| 554 | } |
| 555 | return *this; |
| 556 | } |
| 557 | #endif |
| 558 | static const ::google::protobuf::Descriptor* descriptor() { |
| 559 | return default_instance().GetDescriptor(); |
| 560 | } |
| 561 | static const DownloadImageRequest& default_instance(); |
| 562 | |
| 563 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 564 | static inline const DownloadImageRequest* internal_default_instance() { |
| 565 | return reinterpret_cast<const DownloadImageRequest*>( |
| 566 | &_DownloadImageRequest_default_instance_); |
| 567 | } |
| 568 | static constexpr int kIndexInFileMessages = |
| 569 | 2; |
| 570 | |
| 571 | void Swap(DownloadImageRequest* other); |
| 572 | friend void swap(DownloadImageRequest& a, DownloadImageRequest& b) { |
| 573 | a.Swap(&b); |
| 574 | } |
| 575 | |
| 576 | // implements Message ---------------------------------------------- |
| 577 | |
| 578 | inline DownloadImageRequest* New() const final { |
| 579 | return CreateMaybeMessage<DownloadImageRequest>(nullptr); |
| 580 | } |
| 581 | |
| 582 | DownloadImageRequest* New(::google::protobuf::Arena* arena) const final { |
| 583 | return CreateMaybeMessage<DownloadImageRequest>(arena); |
| 584 | } |
| 585 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 586 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 587 | void CopyFrom(const DownloadImageRequest& from); |
| 588 | void MergeFrom(const DownloadImageRequest& from); |
| 589 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 590 | bool IsInitialized() const final; |
| 591 | |
| 592 | size_t ByteSizeLong() const final; |
| 593 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 594 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 595 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 596 | #else |
| 597 | bool MergePartialFromCodedStream( |
| 598 | ::google::protobuf::io::CodedInputStream* input) final; |
| 599 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 600 | void SerializeWithCachedSizes( |
| 601 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 602 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 603 | ::google::protobuf::uint8* target) const final; |
| 604 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 605 | |
| 606 | private: |
| 607 | void SharedCtor(); |
| 608 | void SharedDtor(); |
| 609 | void SetCachedSize(int size) const final; |
| 610 | void InternalSwap(DownloadImageRequest* other); |
| 611 | private: |
| 612 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 613 | return nullptr; |
| 614 | } |
| 615 | inline void* MaybeArenaPtr() const { |
| 616 | return nullptr; |
| 617 | } |
| 618 | public: |
| 619 | |
| 620 | ::google::protobuf::Metadata GetMetadata() const final; |
| 621 | |
| 622 | // nested types ---------------------------------------------------- |
| 623 | |
| 624 | // accessors ------------------------------------------------------- |
| 625 | |
| 626 | // .dmi.Uuid device_uuid = 1; |
| 627 | bool has_device_uuid() const; |
| 628 | void clear_device_uuid(); |
| 629 | static const int kDeviceUuidFieldNumber = 1; |
| 630 | const ::dmi::Uuid& device_uuid() const; |
| 631 | ::dmi::Uuid* release_device_uuid(); |
| 632 | ::dmi::Uuid* mutable_device_uuid(); |
| 633 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 634 | |
| 635 | // .dmi.ImageInformation image_info = 2; |
| 636 | bool has_image_info() const; |
| 637 | void clear_image_info(); |
| 638 | static const int kImageInfoFieldNumber = 2; |
| 639 | const ::dmi::ImageInformation& image_info() const; |
| 640 | ::dmi::ImageInformation* release_image_info(); |
| 641 | ::dmi::ImageInformation* mutable_image_info(); |
| 642 | void set_allocated_image_info(::dmi::ImageInformation* image_info); |
| 643 | |
| 644 | // @@protoc_insertion_point(class_scope:dmi.DownloadImageRequest) |
| 645 | private: |
| 646 | class HasBitSetters; |
| 647 | |
| 648 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 649 | ::dmi::Uuid* device_uuid_; |
| 650 | ::dmi::ImageInformation* image_info_; |
| 651 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 652 | friend struct ::TableStruct_dmi_2fsw_5fmanagement_5fservice_2eproto; |
| 653 | }; |
| 654 | // ------------------------------------------------------------------- |
| 655 | |
| 656 | class ConfigRequest final : |
| 657 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.ConfigRequest) */ { |
| 658 | public: |
| 659 | ConfigRequest(); |
| 660 | virtual ~ConfigRequest(); |
| 661 | |
| 662 | ConfigRequest(const ConfigRequest& from); |
| 663 | |
| 664 | inline ConfigRequest& operator=(const ConfigRequest& from) { |
| 665 | CopyFrom(from); |
| 666 | return *this; |
| 667 | } |
| 668 | #if LANG_CXX11 |
| 669 | ConfigRequest(ConfigRequest&& from) noexcept |
| 670 | : ConfigRequest() { |
| 671 | *this = ::std::move(from); |
| 672 | } |
| 673 | |
| 674 | inline ConfigRequest& operator=(ConfigRequest&& from) noexcept { |
| 675 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 676 | if (this != &from) InternalSwap(&from); |
| 677 | } else { |
| 678 | CopyFrom(from); |
| 679 | } |
| 680 | return *this; |
| 681 | } |
| 682 | #endif |
| 683 | static const ::google::protobuf::Descriptor* descriptor() { |
| 684 | return default_instance().GetDescriptor(); |
| 685 | } |
| 686 | static const ConfigRequest& default_instance(); |
| 687 | |
| 688 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 689 | static inline const ConfigRequest* internal_default_instance() { |
| 690 | return reinterpret_cast<const ConfigRequest*>( |
| 691 | &_ConfigRequest_default_instance_); |
| 692 | } |
| 693 | static constexpr int kIndexInFileMessages = |
| 694 | 3; |
| 695 | |
| 696 | void Swap(ConfigRequest* other); |
| 697 | friend void swap(ConfigRequest& a, ConfigRequest& b) { |
| 698 | a.Swap(&b); |
| 699 | } |
| 700 | |
| 701 | // implements Message ---------------------------------------------- |
| 702 | |
| 703 | inline ConfigRequest* New() const final { |
| 704 | return CreateMaybeMessage<ConfigRequest>(nullptr); |
| 705 | } |
| 706 | |
| 707 | ConfigRequest* New(::google::protobuf::Arena* arena) const final { |
| 708 | return CreateMaybeMessage<ConfigRequest>(arena); |
| 709 | } |
| 710 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 711 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 712 | void CopyFrom(const ConfigRequest& from); |
| 713 | void MergeFrom(const ConfigRequest& from); |
| 714 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 715 | bool IsInitialized() const final; |
| 716 | |
| 717 | size_t ByteSizeLong() const final; |
| 718 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 719 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 720 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 721 | #else |
| 722 | bool MergePartialFromCodedStream( |
| 723 | ::google::protobuf::io::CodedInputStream* input) final; |
| 724 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 725 | void SerializeWithCachedSizes( |
| 726 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 727 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 728 | ::google::protobuf::uint8* target) const final; |
| 729 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 730 | |
| 731 | private: |
| 732 | void SharedCtor(); |
| 733 | void SharedDtor(); |
| 734 | void SetCachedSize(int size) const final; |
| 735 | void InternalSwap(ConfigRequest* other); |
| 736 | private: |
| 737 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 738 | return nullptr; |
| 739 | } |
| 740 | inline void* MaybeArenaPtr() const { |
| 741 | return nullptr; |
| 742 | } |
| 743 | public: |
| 744 | |
| 745 | ::google::protobuf::Metadata GetMetadata() const final; |
| 746 | |
| 747 | // nested types ---------------------------------------------------- |
| 748 | |
| 749 | // accessors ------------------------------------------------------- |
| 750 | |
| 751 | // string config_url = 2; |
| 752 | void clear_config_url(); |
| 753 | static const int kConfigUrlFieldNumber = 2; |
| 754 | const ::std::string& config_url() const; |
| 755 | void set_config_url(const ::std::string& value); |
| 756 | #if LANG_CXX11 |
| 757 | void set_config_url(::std::string&& value); |
| 758 | #endif |
| 759 | void set_config_url(const char* value); |
| 760 | void set_config_url(const char* value, size_t size); |
| 761 | ::std::string* mutable_config_url(); |
| 762 | ::std::string* release_config_url(); |
| 763 | void set_allocated_config_url(::std::string* config_url); |
| 764 | |
| 765 | // .dmi.Uuid device_uuid = 1; |
| 766 | bool has_device_uuid() const; |
| 767 | void clear_device_uuid(); |
| 768 | static const int kDeviceUuidFieldNumber = 1; |
| 769 | const ::dmi::Uuid& device_uuid() const; |
| 770 | ::dmi::Uuid* release_device_uuid(); |
| 771 | ::dmi::Uuid* mutable_device_uuid(); |
| 772 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 773 | |
| 774 | // @@protoc_insertion_point(class_scope:dmi.ConfigRequest) |
| 775 | private: |
| 776 | class HasBitSetters; |
| 777 | |
| 778 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 779 | ::google::protobuf::internal::ArenaStringPtr config_url_; |
| 780 | ::dmi::Uuid* device_uuid_; |
| 781 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 782 | friend struct ::TableStruct_dmi_2fsw_5fmanagement_5fservice_2eproto; |
| 783 | }; |
| 784 | // ------------------------------------------------------------------- |
| 785 | |
| 786 | class ConfigResponse final : |
| 787 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.ConfigResponse) */ { |
| 788 | public: |
| 789 | ConfigResponse(); |
| 790 | virtual ~ConfigResponse(); |
| 791 | |
| 792 | ConfigResponse(const ConfigResponse& from); |
| 793 | |
| 794 | inline ConfigResponse& operator=(const ConfigResponse& from) { |
| 795 | CopyFrom(from); |
| 796 | return *this; |
| 797 | } |
| 798 | #if LANG_CXX11 |
| 799 | ConfigResponse(ConfigResponse&& from) noexcept |
| 800 | : ConfigResponse() { |
| 801 | *this = ::std::move(from); |
| 802 | } |
| 803 | |
| 804 | inline ConfigResponse& operator=(ConfigResponse&& from) noexcept { |
| 805 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 806 | if (this != &from) InternalSwap(&from); |
| 807 | } else { |
| 808 | CopyFrom(from); |
| 809 | } |
| 810 | return *this; |
| 811 | } |
| 812 | #endif |
| 813 | static const ::google::protobuf::Descriptor* descriptor() { |
| 814 | return default_instance().GetDescriptor(); |
| 815 | } |
| 816 | static const ConfigResponse& default_instance(); |
| 817 | |
| 818 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 819 | static inline const ConfigResponse* internal_default_instance() { |
| 820 | return reinterpret_cast<const ConfigResponse*>( |
| 821 | &_ConfigResponse_default_instance_); |
| 822 | } |
| 823 | static constexpr int kIndexInFileMessages = |
| 824 | 4; |
| 825 | |
| 826 | void Swap(ConfigResponse* other); |
| 827 | friend void swap(ConfigResponse& a, ConfigResponse& b) { |
| 828 | a.Swap(&b); |
| 829 | } |
| 830 | |
| 831 | // implements Message ---------------------------------------------- |
| 832 | |
| 833 | inline ConfigResponse* New() const final { |
| 834 | return CreateMaybeMessage<ConfigResponse>(nullptr); |
| 835 | } |
| 836 | |
| 837 | ConfigResponse* New(::google::protobuf::Arena* arena) const final { |
| 838 | return CreateMaybeMessage<ConfigResponse>(arena); |
| 839 | } |
| 840 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 841 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 842 | void CopyFrom(const ConfigResponse& from); |
| 843 | void MergeFrom(const ConfigResponse& from); |
| 844 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 845 | bool IsInitialized() const final; |
| 846 | |
| 847 | size_t ByteSizeLong() const final; |
| 848 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 849 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 850 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 851 | #else |
| 852 | bool MergePartialFromCodedStream( |
| 853 | ::google::protobuf::io::CodedInputStream* input) final; |
| 854 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 855 | void SerializeWithCachedSizes( |
| 856 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 857 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 858 | ::google::protobuf::uint8* target) const final; |
| 859 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 860 | |
| 861 | private: |
| 862 | void SharedCtor(); |
| 863 | void SharedDtor(); |
| 864 | void SetCachedSize(int size) const final; |
| 865 | void InternalSwap(ConfigResponse* other); |
| 866 | private: |
| 867 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 868 | return nullptr; |
| 869 | } |
| 870 | inline void* MaybeArenaPtr() const { |
| 871 | return nullptr; |
| 872 | } |
| 873 | public: |
| 874 | |
| 875 | ::google::protobuf::Metadata GetMetadata() const final; |
| 876 | |
| 877 | // nested types ---------------------------------------------------- |
| 878 | |
| 879 | typedef ConfigResponse_Reason Reason; |
| 880 | static const Reason UNDEFINED_REASON = |
| 881 | ConfigResponse_Reason_UNDEFINED_REASON; |
| 882 | static const Reason UNKNOWN_DEVICE = |
| 883 | ConfigResponse_Reason_UNKNOWN_DEVICE; |
| 884 | static const Reason INTERNAL_ERROR = |
| 885 | ConfigResponse_Reason_INTERNAL_ERROR; |
| 886 | static const Reason ERROR_FETCHING_CONFIG = |
| 887 | ConfigResponse_Reason_ERROR_FETCHING_CONFIG; |
| 888 | static const Reason INVALID_CONFIG = |
| 889 | ConfigResponse_Reason_INVALID_CONFIG; |
| 890 | static const Reason OPERATION_ALREADY_IN_PROGRESS = |
| 891 | ConfigResponse_Reason_OPERATION_ALREADY_IN_PROGRESS; |
| 892 | static const Reason DEVICE_UNREACHABLE = |
| 893 | ConfigResponse_Reason_DEVICE_UNREACHABLE; |
| 894 | static inline bool Reason_IsValid(int value) { |
| 895 | return ConfigResponse_Reason_IsValid(value); |
| 896 | } |
| 897 | static const Reason Reason_MIN = |
| 898 | ConfigResponse_Reason_Reason_MIN; |
| 899 | static const Reason Reason_MAX = |
| 900 | ConfigResponse_Reason_Reason_MAX; |
| 901 | static const int Reason_ARRAYSIZE = |
| 902 | ConfigResponse_Reason_Reason_ARRAYSIZE; |
| 903 | static inline const ::google::protobuf::EnumDescriptor* |
| 904 | Reason_descriptor() { |
| 905 | return ConfigResponse_Reason_descriptor(); |
| 906 | } |
| 907 | static inline const ::std::string& Reason_Name(Reason value) { |
| 908 | return ConfigResponse_Reason_Name(value); |
| 909 | } |
| 910 | static inline bool Reason_Parse(const ::std::string& name, |
| 911 | Reason* value) { |
| 912 | return ConfigResponse_Reason_Parse(name, value); |
| 913 | } |
| 914 | |
| 915 | // accessors ------------------------------------------------------- |
| 916 | |
| 917 | // string reason_detail = 3; |
| 918 | void clear_reason_detail(); |
| 919 | static const int kReasonDetailFieldNumber = 3; |
| 920 | const ::std::string& reason_detail() const; |
| 921 | void set_reason_detail(const ::std::string& value); |
| 922 | #if LANG_CXX11 |
| 923 | void set_reason_detail(::std::string&& value); |
| 924 | #endif |
| 925 | void set_reason_detail(const char* value); |
| 926 | void set_reason_detail(const char* value, size_t size); |
| 927 | ::std::string* mutable_reason_detail(); |
| 928 | ::std::string* release_reason_detail(); |
| 929 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 930 | |
| 931 | // .dmi.Status status = 1; |
| 932 | void clear_status(); |
| 933 | static const int kStatusFieldNumber = 1; |
| 934 | ::dmi::Status status() const; |
| 935 | void set_status(::dmi::Status value); |
| 936 | |
| 937 | // .dmi.ConfigResponse.Reason reason = 2; |
| 938 | void clear_reason(); |
| 939 | static const int kReasonFieldNumber = 2; |
| 940 | ::dmi::ConfigResponse_Reason reason() const; |
| 941 | void set_reason(::dmi::ConfigResponse_Reason value); |
| 942 | |
| 943 | // @@protoc_insertion_point(class_scope:dmi.ConfigResponse) |
| 944 | private: |
| 945 | class HasBitSetters; |
| 946 | |
| 947 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 948 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 949 | int status_; |
| 950 | int reason_; |
| 951 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 952 | friend struct ::TableStruct_dmi_2fsw_5fmanagement_5fservice_2eproto; |
| 953 | }; |
| 954 | // ------------------------------------------------------------------- |
| 955 | |
| 956 | class StartupConfigInfoRequest final : |
| 957 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.StartupConfigInfoRequest) */ { |
| 958 | public: |
| 959 | StartupConfigInfoRequest(); |
| 960 | virtual ~StartupConfigInfoRequest(); |
| 961 | |
| 962 | StartupConfigInfoRequest(const StartupConfigInfoRequest& from); |
| 963 | |
| 964 | inline StartupConfigInfoRequest& operator=(const StartupConfigInfoRequest& from) { |
| 965 | CopyFrom(from); |
| 966 | return *this; |
| 967 | } |
| 968 | #if LANG_CXX11 |
| 969 | StartupConfigInfoRequest(StartupConfigInfoRequest&& from) noexcept |
| 970 | : StartupConfigInfoRequest() { |
| 971 | *this = ::std::move(from); |
| 972 | } |
| 973 | |
| 974 | inline StartupConfigInfoRequest& operator=(StartupConfigInfoRequest&& from) noexcept { |
| 975 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 976 | if (this != &from) InternalSwap(&from); |
| 977 | } else { |
| 978 | CopyFrom(from); |
| 979 | } |
| 980 | return *this; |
| 981 | } |
| 982 | #endif |
| 983 | static const ::google::protobuf::Descriptor* descriptor() { |
| 984 | return default_instance().GetDescriptor(); |
| 985 | } |
| 986 | static const StartupConfigInfoRequest& default_instance(); |
| 987 | |
| 988 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 989 | static inline const StartupConfigInfoRequest* internal_default_instance() { |
| 990 | return reinterpret_cast<const StartupConfigInfoRequest*>( |
| 991 | &_StartupConfigInfoRequest_default_instance_); |
| 992 | } |
| 993 | static constexpr int kIndexInFileMessages = |
| 994 | 5; |
| 995 | |
| 996 | void Swap(StartupConfigInfoRequest* other); |
| 997 | friend void swap(StartupConfigInfoRequest& a, StartupConfigInfoRequest& b) { |
| 998 | a.Swap(&b); |
| 999 | } |
| 1000 | |
| 1001 | // implements Message ---------------------------------------------- |
| 1002 | |
| 1003 | inline StartupConfigInfoRequest* New() const final { |
| 1004 | return CreateMaybeMessage<StartupConfigInfoRequest>(nullptr); |
| 1005 | } |
| 1006 | |
| 1007 | StartupConfigInfoRequest* New(::google::protobuf::Arena* arena) const final { |
| 1008 | return CreateMaybeMessage<StartupConfigInfoRequest>(arena); |
| 1009 | } |
| 1010 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1011 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1012 | void CopyFrom(const StartupConfigInfoRequest& from); |
| 1013 | void MergeFrom(const StartupConfigInfoRequest& from); |
| 1014 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1015 | bool IsInitialized() const final; |
| 1016 | |
| 1017 | size_t ByteSizeLong() const final; |
| 1018 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1019 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1020 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1021 | #else |
| 1022 | bool MergePartialFromCodedStream( |
| 1023 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1024 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1025 | void SerializeWithCachedSizes( |
| 1026 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1027 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1028 | ::google::protobuf::uint8* target) const final; |
| 1029 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1030 | |
| 1031 | private: |
| 1032 | void SharedCtor(); |
| 1033 | void SharedDtor(); |
| 1034 | void SetCachedSize(int size) const final; |
| 1035 | void InternalSwap(StartupConfigInfoRequest* other); |
| 1036 | private: |
| 1037 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1038 | return nullptr; |
| 1039 | } |
| 1040 | inline void* MaybeArenaPtr() const { |
| 1041 | return nullptr; |
| 1042 | } |
| 1043 | public: |
| 1044 | |
| 1045 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1046 | |
| 1047 | // nested types ---------------------------------------------------- |
| 1048 | |
| 1049 | // accessors ------------------------------------------------------- |
| 1050 | |
| 1051 | // .dmi.Uuid device_uuid = 1; |
| 1052 | bool has_device_uuid() const; |
| 1053 | void clear_device_uuid(); |
| 1054 | static const int kDeviceUuidFieldNumber = 1; |
| 1055 | const ::dmi::Uuid& device_uuid() const; |
| 1056 | ::dmi::Uuid* release_device_uuid(); |
| 1057 | ::dmi::Uuid* mutable_device_uuid(); |
| 1058 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 1059 | |
| 1060 | // @@protoc_insertion_point(class_scope:dmi.StartupConfigInfoRequest) |
| 1061 | private: |
| 1062 | class HasBitSetters; |
| 1063 | |
| 1064 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1065 | ::dmi::Uuid* device_uuid_; |
| 1066 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1067 | friend struct ::TableStruct_dmi_2fsw_5fmanagement_5fservice_2eproto; |
| 1068 | }; |
| 1069 | // ------------------------------------------------------------------- |
| 1070 | |
| 1071 | class StartupConfigInfoResponse final : |
| 1072 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.StartupConfigInfoResponse) */ { |
| 1073 | public: |
| 1074 | StartupConfigInfoResponse(); |
| 1075 | virtual ~StartupConfigInfoResponse(); |
| 1076 | |
| 1077 | StartupConfigInfoResponse(const StartupConfigInfoResponse& from); |
| 1078 | |
| 1079 | inline StartupConfigInfoResponse& operator=(const StartupConfigInfoResponse& from) { |
| 1080 | CopyFrom(from); |
| 1081 | return *this; |
| 1082 | } |
| 1083 | #if LANG_CXX11 |
| 1084 | StartupConfigInfoResponse(StartupConfigInfoResponse&& from) noexcept |
| 1085 | : StartupConfigInfoResponse() { |
| 1086 | *this = ::std::move(from); |
| 1087 | } |
| 1088 | |
| 1089 | inline StartupConfigInfoResponse& operator=(StartupConfigInfoResponse&& from) noexcept { |
| 1090 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1091 | if (this != &from) InternalSwap(&from); |
| 1092 | } else { |
| 1093 | CopyFrom(from); |
| 1094 | } |
| 1095 | return *this; |
| 1096 | } |
| 1097 | #endif |
| 1098 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1099 | return default_instance().GetDescriptor(); |
| 1100 | } |
| 1101 | static const StartupConfigInfoResponse& default_instance(); |
| 1102 | |
| 1103 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1104 | static inline const StartupConfigInfoResponse* internal_default_instance() { |
| 1105 | return reinterpret_cast<const StartupConfigInfoResponse*>( |
| 1106 | &_StartupConfigInfoResponse_default_instance_); |
| 1107 | } |
| 1108 | static constexpr int kIndexInFileMessages = |
| 1109 | 6; |
| 1110 | |
| 1111 | void Swap(StartupConfigInfoResponse* other); |
| 1112 | friend void swap(StartupConfigInfoResponse& a, StartupConfigInfoResponse& b) { |
| 1113 | a.Swap(&b); |
| 1114 | } |
| 1115 | |
| 1116 | // implements Message ---------------------------------------------- |
| 1117 | |
| 1118 | inline StartupConfigInfoResponse* New() const final { |
| 1119 | return CreateMaybeMessage<StartupConfigInfoResponse>(nullptr); |
| 1120 | } |
| 1121 | |
| 1122 | StartupConfigInfoResponse* New(::google::protobuf::Arena* arena) const final { |
| 1123 | return CreateMaybeMessage<StartupConfigInfoResponse>(arena); |
| 1124 | } |
| 1125 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1126 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1127 | void CopyFrom(const StartupConfigInfoResponse& from); |
| 1128 | void MergeFrom(const StartupConfigInfoResponse& from); |
| 1129 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1130 | bool IsInitialized() const final; |
| 1131 | |
| 1132 | size_t ByteSizeLong() const final; |
| 1133 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1134 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1135 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1136 | #else |
| 1137 | bool MergePartialFromCodedStream( |
| 1138 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1139 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1140 | void SerializeWithCachedSizes( |
| 1141 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1142 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1143 | ::google::protobuf::uint8* target) const final; |
| 1144 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1145 | |
| 1146 | private: |
| 1147 | void SharedCtor(); |
| 1148 | void SharedDtor(); |
| 1149 | void SetCachedSize(int size) const final; |
| 1150 | void InternalSwap(StartupConfigInfoResponse* other); |
| 1151 | private: |
| 1152 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1153 | return nullptr; |
| 1154 | } |
| 1155 | inline void* MaybeArenaPtr() const { |
| 1156 | return nullptr; |
| 1157 | } |
| 1158 | public: |
| 1159 | |
| 1160 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1161 | |
| 1162 | // nested types ---------------------------------------------------- |
| 1163 | |
| 1164 | typedef StartupConfigInfoResponse_Reason Reason; |
| 1165 | static const Reason UNDEFINED_REASON = |
| 1166 | StartupConfigInfoResponse_Reason_UNDEFINED_REASON; |
| 1167 | static const Reason UNKNOWN_DEVICE = |
| 1168 | StartupConfigInfoResponse_Reason_UNKNOWN_DEVICE; |
| 1169 | static const Reason INTERNAL_ERROR = |
| 1170 | StartupConfigInfoResponse_Reason_INTERNAL_ERROR; |
| 1171 | static const Reason DEVICE_UNREACHABLE = |
| 1172 | StartupConfigInfoResponse_Reason_DEVICE_UNREACHABLE; |
| 1173 | static inline bool Reason_IsValid(int value) { |
| 1174 | return StartupConfigInfoResponse_Reason_IsValid(value); |
| 1175 | } |
| 1176 | static const Reason Reason_MIN = |
| 1177 | StartupConfigInfoResponse_Reason_Reason_MIN; |
| 1178 | static const Reason Reason_MAX = |
| 1179 | StartupConfigInfoResponse_Reason_Reason_MAX; |
| 1180 | static const int Reason_ARRAYSIZE = |
| 1181 | StartupConfigInfoResponse_Reason_Reason_ARRAYSIZE; |
| 1182 | static inline const ::google::protobuf::EnumDescriptor* |
| 1183 | Reason_descriptor() { |
| 1184 | return StartupConfigInfoResponse_Reason_descriptor(); |
| 1185 | } |
| 1186 | static inline const ::std::string& Reason_Name(Reason value) { |
| 1187 | return StartupConfigInfoResponse_Reason_Name(value); |
| 1188 | } |
| 1189 | static inline bool Reason_Parse(const ::std::string& name, |
| 1190 | Reason* value) { |
| 1191 | return StartupConfigInfoResponse_Reason_Parse(name, value); |
| 1192 | } |
| 1193 | |
| 1194 | // accessors ------------------------------------------------------- |
| 1195 | |
| 1196 | // string config_url = 3; |
| 1197 | void clear_config_url(); |
| 1198 | static const int kConfigUrlFieldNumber = 3; |
| 1199 | const ::std::string& config_url() const; |
| 1200 | void set_config_url(const ::std::string& value); |
| 1201 | #if LANG_CXX11 |
| 1202 | void set_config_url(::std::string&& value); |
| 1203 | #endif |
| 1204 | void set_config_url(const char* value); |
| 1205 | void set_config_url(const char* value, size_t size); |
| 1206 | ::std::string* mutable_config_url(); |
| 1207 | ::std::string* release_config_url(); |
| 1208 | void set_allocated_config_url(::std::string* config_url); |
| 1209 | |
| 1210 | // string version = 4; |
| 1211 | void clear_version(); |
| 1212 | static const int kVersionFieldNumber = 4; |
| 1213 | const ::std::string& version() const; |
| 1214 | void set_version(const ::std::string& value); |
| 1215 | #if LANG_CXX11 |
| 1216 | void set_version(::std::string&& value); |
| 1217 | #endif |
| 1218 | void set_version(const char* value); |
| 1219 | void set_version(const char* value, size_t size); |
| 1220 | ::std::string* mutable_version(); |
| 1221 | ::std::string* release_version(); |
| 1222 | void set_allocated_version(::std::string* version); |
| 1223 | |
| 1224 | // string reason_detail = 5; |
| 1225 | void clear_reason_detail(); |
| 1226 | static const int kReasonDetailFieldNumber = 5; |
| 1227 | const ::std::string& reason_detail() const; |
| 1228 | void set_reason_detail(const ::std::string& value); |
| 1229 | #if LANG_CXX11 |
| 1230 | void set_reason_detail(::std::string&& value); |
| 1231 | #endif |
| 1232 | void set_reason_detail(const char* value); |
| 1233 | void set_reason_detail(const char* value, size_t size); |
| 1234 | ::std::string* mutable_reason_detail(); |
| 1235 | ::std::string* release_reason_detail(); |
| 1236 | void set_allocated_reason_detail(::std::string* reason_detail); |
| 1237 | |
| 1238 | // .dmi.Status status = 1; |
| 1239 | void clear_status(); |
| 1240 | static const int kStatusFieldNumber = 1; |
| 1241 | ::dmi::Status status() const; |
| 1242 | void set_status(::dmi::Status value); |
| 1243 | |
| 1244 | // .dmi.StartupConfigInfoResponse.Reason reason = 2; |
| 1245 | void clear_reason(); |
| 1246 | static const int kReasonFieldNumber = 2; |
| 1247 | ::dmi::StartupConfigInfoResponse_Reason reason() const; |
| 1248 | void set_reason(::dmi::StartupConfigInfoResponse_Reason value); |
| 1249 | |
| 1250 | // @@protoc_insertion_point(class_scope:dmi.StartupConfigInfoResponse) |
| 1251 | private: |
| 1252 | class HasBitSetters; |
| 1253 | |
| 1254 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1255 | ::google::protobuf::internal::ArenaStringPtr config_url_; |
| 1256 | ::google::protobuf::internal::ArenaStringPtr version_; |
| 1257 | ::google::protobuf::internal::ArenaStringPtr reason_detail_; |
| 1258 | int status_; |
| 1259 | int reason_; |
| 1260 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1261 | friend struct ::TableStruct_dmi_2fsw_5fmanagement_5fservice_2eproto; |
| 1262 | }; |
amit.ghosh | 5a68980 | 2022-09-12 14:26:10 +0200 | [diff] [blame] | 1263 | // ------------------------------------------------------------------- |
| 1264 | |
| 1265 | class UploadDebugInfoRequest final : |
| 1266 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.UploadDebugInfoRequest) */ { |
| 1267 | public: |
| 1268 | UploadDebugInfoRequest(); |
| 1269 | virtual ~UploadDebugInfoRequest(); |
| 1270 | |
| 1271 | UploadDebugInfoRequest(const UploadDebugInfoRequest& from); |
| 1272 | |
| 1273 | inline UploadDebugInfoRequest& operator=(const UploadDebugInfoRequest& from) { |
| 1274 | CopyFrom(from); |
| 1275 | return *this; |
| 1276 | } |
| 1277 | #if LANG_CXX11 |
| 1278 | UploadDebugInfoRequest(UploadDebugInfoRequest&& from) noexcept |
| 1279 | : UploadDebugInfoRequest() { |
| 1280 | *this = ::std::move(from); |
| 1281 | } |
| 1282 | |
| 1283 | inline UploadDebugInfoRequest& operator=(UploadDebugInfoRequest&& from) noexcept { |
| 1284 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1285 | if (this != &from) InternalSwap(&from); |
| 1286 | } else { |
| 1287 | CopyFrom(from); |
| 1288 | } |
| 1289 | return *this; |
| 1290 | } |
| 1291 | #endif |
| 1292 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1293 | return default_instance().GetDescriptor(); |
| 1294 | } |
| 1295 | static const UploadDebugInfoRequest& default_instance(); |
| 1296 | |
| 1297 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1298 | static inline const UploadDebugInfoRequest* internal_default_instance() { |
| 1299 | return reinterpret_cast<const UploadDebugInfoRequest*>( |
| 1300 | &_UploadDebugInfoRequest_default_instance_); |
| 1301 | } |
| 1302 | static constexpr int kIndexInFileMessages = |
| 1303 | 7; |
| 1304 | |
| 1305 | void Swap(UploadDebugInfoRequest* other); |
| 1306 | friend void swap(UploadDebugInfoRequest& a, UploadDebugInfoRequest& b) { |
| 1307 | a.Swap(&b); |
| 1308 | } |
| 1309 | |
| 1310 | // implements Message ---------------------------------------------- |
| 1311 | |
| 1312 | inline UploadDebugInfoRequest* New() const final { |
| 1313 | return CreateMaybeMessage<UploadDebugInfoRequest>(nullptr); |
| 1314 | } |
| 1315 | |
| 1316 | UploadDebugInfoRequest* New(::google::protobuf::Arena* arena) const final { |
| 1317 | return CreateMaybeMessage<UploadDebugInfoRequest>(arena); |
| 1318 | } |
| 1319 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1320 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1321 | void CopyFrom(const UploadDebugInfoRequest& from); |
| 1322 | void MergeFrom(const UploadDebugInfoRequest& from); |
| 1323 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1324 | bool IsInitialized() const final; |
| 1325 | |
| 1326 | size_t ByteSizeLong() const final; |
| 1327 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1328 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1329 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1330 | #else |
| 1331 | bool MergePartialFromCodedStream( |
| 1332 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1333 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1334 | void SerializeWithCachedSizes( |
| 1335 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1336 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1337 | ::google::protobuf::uint8* target) const final; |
| 1338 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1339 | |
| 1340 | private: |
| 1341 | void SharedCtor(); |
| 1342 | void SharedDtor(); |
| 1343 | void SetCachedSize(int size) const final; |
| 1344 | void InternalSwap(UploadDebugInfoRequest* other); |
| 1345 | private: |
| 1346 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1347 | return nullptr; |
| 1348 | } |
| 1349 | inline void* MaybeArenaPtr() const { |
| 1350 | return nullptr; |
| 1351 | } |
| 1352 | public: |
| 1353 | |
| 1354 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1355 | |
| 1356 | // nested types ---------------------------------------------------- |
| 1357 | |
| 1358 | // accessors ------------------------------------------------------- |
| 1359 | |
| 1360 | // string location_url = 3; |
| 1361 | void clear_location_url(); |
| 1362 | static const int kLocationUrlFieldNumber = 3; |
| 1363 | const ::std::string& location_url() const; |
| 1364 | void set_location_url(const ::std::string& value); |
| 1365 | #if LANG_CXX11 |
| 1366 | void set_location_url(::std::string&& value); |
| 1367 | #endif |
| 1368 | void set_location_url(const char* value); |
| 1369 | void set_location_url(const char* value, size_t size); |
| 1370 | ::std::string* mutable_location_url(); |
| 1371 | ::std::string* release_location_url(); |
| 1372 | void set_allocated_location_url(::std::string* location_url); |
| 1373 | |
| 1374 | // .dmi.Uuid device_uuid = 1; |
| 1375 | bool has_device_uuid() const; |
| 1376 | void clear_device_uuid(); |
| 1377 | static const int kDeviceUuidFieldNumber = 1; |
| 1378 | const ::dmi::Uuid& device_uuid() const; |
| 1379 | ::dmi::Uuid* release_device_uuid(); |
| 1380 | ::dmi::Uuid* mutable_device_uuid(); |
| 1381 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 1382 | |
| 1383 | // @@protoc_insertion_point(class_scope:dmi.UploadDebugInfoRequest) |
| 1384 | private: |
| 1385 | class HasBitSetters; |
| 1386 | |
| 1387 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1388 | ::google::protobuf::internal::ArenaStringPtr location_url_; |
| 1389 | ::dmi::Uuid* device_uuid_; |
| 1390 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1391 | friend struct ::TableStruct_dmi_2fsw_5fmanagement_5fservice_2eproto; |
| 1392 | }; |
| 1393 | // ------------------------------------------------------------------- |
| 1394 | |
| 1395 | class UploadDebugInfoStatus final : |
| 1396 | public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.UploadDebugInfoStatus) */ { |
| 1397 | public: |
| 1398 | UploadDebugInfoStatus(); |
| 1399 | virtual ~UploadDebugInfoStatus(); |
| 1400 | |
| 1401 | UploadDebugInfoStatus(const UploadDebugInfoStatus& from); |
| 1402 | |
| 1403 | inline UploadDebugInfoStatus& operator=(const UploadDebugInfoStatus& from) { |
| 1404 | CopyFrom(from); |
| 1405 | return *this; |
| 1406 | } |
| 1407 | #if LANG_CXX11 |
| 1408 | UploadDebugInfoStatus(UploadDebugInfoStatus&& from) noexcept |
| 1409 | : UploadDebugInfoStatus() { |
| 1410 | *this = ::std::move(from); |
| 1411 | } |
| 1412 | |
| 1413 | inline UploadDebugInfoStatus& operator=(UploadDebugInfoStatus&& from) noexcept { |
| 1414 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1415 | if (this != &from) InternalSwap(&from); |
| 1416 | } else { |
| 1417 | CopyFrom(from); |
| 1418 | } |
| 1419 | return *this; |
| 1420 | } |
| 1421 | #endif |
| 1422 | static const ::google::protobuf::Descriptor* descriptor() { |
| 1423 | return default_instance().GetDescriptor(); |
| 1424 | } |
| 1425 | static const UploadDebugInfoStatus& default_instance(); |
| 1426 | |
| 1427 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1428 | static inline const UploadDebugInfoStatus* internal_default_instance() { |
| 1429 | return reinterpret_cast<const UploadDebugInfoStatus*>( |
| 1430 | &_UploadDebugInfoStatus_default_instance_); |
| 1431 | } |
| 1432 | static constexpr int kIndexInFileMessages = |
| 1433 | 8; |
| 1434 | |
| 1435 | void Swap(UploadDebugInfoStatus* other); |
| 1436 | friend void swap(UploadDebugInfoStatus& a, UploadDebugInfoStatus& b) { |
| 1437 | a.Swap(&b); |
| 1438 | } |
| 1439 | |
| 1440 | // implements Message ---------------------------------------------- |
| 1441 | |
| 1442 | inline UploadDebugInfoStatus* New() const final { |
| 1443 | return CreateMaybeMessage<UploadDebugInfoStatus>(nullptr); |
| 1444 | } |
| 1445 | |
| 1446 | UploadDebugInfoStatus* New(::google::protobuf::Arena* arena) const final { |
| 1447 | return CreateMaybeMessage<UploadDebugInfoStatus>(arena); |
| 1448 | } |
| 1449 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1450 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1451 | void CopyFrom(const UploadDebugInfoStatus& from); |
| 1452 | void MergeFrom(const UploadDebugInfoStatus& from); |
| 1453 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1454 | bool IsInitialized() const final; |
| 1455 | |
| 1456 | size_t ByteSizeLong() const final; |
| 1457 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1458 | static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); |
| 1459 | ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } |
| 1460 | #else |
| 1461 | bool MergePartialFromCodedStream( |
| 1462 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1463 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
| 1464 | void SerializeWithCachedSizes( |
| 1465 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1466 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1467 | ::google::protobuf::uint8* target) const final; |
| 1468 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1469 | |
| 1470 | private: |
| 1471 | void SharedCtor(); |
| 1472 | void SharedDtor(); |
| 1473 | void SetCachedSize(int size) const final; |
| 1474 | void InternalSwap(UploadDebugInfoStatus* other); |
| 1475 | private: |
| 1476 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1477 | return nullptr; |
| 1478 | } |
| 1479 | inline void* MaybeArenaPtr() const { |
| 1480 | return nullptr; |
| 1481 | } |
| 1482 | public: |
| 1483 | |
| 1484 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1485 | |
| 1486 | // nested types ---------------------------------------------------- |
| 1487 | |
| 1488 | typedef UploadDebugInfoStatus_UploadStatus UploadStatus; |
| 1489 | static const UploadStatus UNDEFINED_UPLOAD_STATUS = |
| 1490 | UploadDebugInfoStatus_UploadStatus_UNDEFINED_UPLOAD_STATUS; |
| 1491 | static const UploadStatus COMPLETE = |
| 1492 | UploadDebugInfoStatus_UploadStatus_COMPLETE; |
| 1493 | static const UploadStatus IN_PROGRESS = |
| 1494 | UploadDebugInfoStatus_UploadStatus_IN_PROGRESS; |
| 1495 | static const UploadStatus ERROR = |
| 1496 | UploadDebugInfoStatus_UploadStatus_ERROR; |
| 1497 | static inline bool UploadStatus_IsValid(int value) { |
| 1498 | return UploadDebugInfoStatus_UploadStatus_IsValid(value); |
| 1499 | } |
| 1500 | static const UploadStatus UploadStatus_MIN = |
| 1501 | UploadDebugInfoStatus_UploadStatus_UploadStatus_MIN; |
| 1502 | static const UploadStatus UploadStatus_MAX = |
| 1503 | UploadDebugInfoStatus_UploadStatus_UploadStatus_MAX; |
| 1504 | static const int UploadStatus_ARRAYSIZE = |
| 1505 | UploadDebugInfoStatus_UploadStatus_UploadStatus_ARRAYSIZE; |
| 1506 | static inline const ::google::protobuf::EnumDescriptor* |
| 1507 | UploadStatus_descriptor() { |
| 1508 | return UploadDebugInfoStatus_UploadStatus_descriptor(); |
| 1509 | } |
| 1510 | static inline const ::std::string& UploadStatus_Name(UploadStatus value) { |
| 1511 | return UploadDebugInfoStatus_UploadStatus_Name(value); |
| 1512 | } |
| 1513 | static inline bool UploadStatus_Parse(const ::std::string& name, |
| 1514 | UploadStatus* value) { |
| 1515 | return UploadDebugInfoStatus_UploadStatus_Parse(name, value); |
| 1516 | } |
| 1517 | |
| 1518 | typedef UploadDebugInfoStatus_Reason Reason; |
| 1519 | static const Reason UNDEFINED_REASON = |
| 1520 | UploadDebugInfoStatus_Reason_UNDEFINED_REASON; |
| 1521 | static const Reason UNKNOWN_DEVICE = |
| 1522 | UploadDebugInfoStatus_Reason_UNKNOWN_DEVICE; |
| 1523 | static const Reason INTERNAL_ERROR = |
| 1524 | UploadDebugInfoStatus_Reason_INTERNAL_ERROR; |
amit.ghosh | dfd5d7e | 2023-03-14 21:14:33 +0100 | [diff] [blame] | 1525 | static const Reason DEVICE_NOT_REACHABLE = |
| 1526 | UploadDebugInfoStatus_Reason_DEVICE_NOT_REACHABLE; |
amit.ghosh | 5a68980 | 2022-09-12 14:26:10 +0200 | [diff] [blame] | 1527 | static const Reason REMOTE_LOCATION_UNREACHABLE = |
| 1528 | UploadDebugInfoStatus_Reason_REMOTE_LOCATION_UNREACHABLE; |
| 1529 | static const Reason REMOTE_LOCATION_PERMISSION_DENIED = |
| 1530 | UploadDebugInfoStatus_Reason_REMOTE_LOCATION_PERMISSION_DENIED; |
| 1531 | static const Reason ERROR_DURING_UPLOAD = |
| 1532 | UploadDebugInfoStatus_Reason_ERROR_DURING_UPLOAD; |
amit.ghosh | 4d731da | 2023-03-07 14:32:00 +0100 | [diff] [blame] | 1533 | static const Reason DEVICE_BUSY = |
| 1534 | UploadDebugInfoStatus_Reason_DEVICE_BUSY; |
amit.ghosh | dfd5d7e | 2023-03-14 21:14:33 +0100 | [diff] [blame] | 1535 | static const Reason ERROR_IN_REQUEST = |
| 1536 | UploadDebugInfoStatus_Reason_ERROR_IN_REQUEST; |
| 1537 | static const Reason DEVICE_IN_WRONG_STATE = |
| 1538 | UploadDebugInfoStatus_Reason_DEVICE_IN_WRONG_STATE; |
| 1539 | static const Reason OPERATION_ALREADY_IN_PROGRESS = |
| 1540 | UploadDebugInfoStatus_Reason_OPERATION_ALREADY_IN_PROGRESS; |
amit.ghosh | 5a68980 | 2022-09-12 14:26:10 +0200 | [diff] [blame] | 1541 | static inline bool Reason_IsValid(int value) { |
| 1542 | return UploadDebugInfoStatus_Reason_IsValid(value); |
| 1543 | } |
| 1544 | static const Reason Reason_MIN = |
| 1545 | UploadDebugInfoStatus_Reason_Reason_MIN; |
| 1546 | static const Reason Reason_MAX = |
| 1547 | UploadDebugInfoStatus_Reason_Reason_MAX; |
| 1548 | static const int Reason_ARRAYSIZE = |
| 1549 | UploadDebugInfoStatus_Reason_Reason_ARRAYSIZE; |
| 1550 | static inline const ::google::protobuf::EnumDescriptor* |
| 1551 | Reason_descriptor() { |
| 1552 | return UploadDebugInfoStatus_Reason_descriptor(); |
| 1553 | } |
| 1554 | static inline const ::std::string& Reason_Name(Reason value) { |
| 1555 | return UploadDebugInfoStatus_Reason_Name(value); |
| 1556 | } |
| 1557 | static inline bool Reason_Parse(const ::std::string& name, |
| 1558 | Reason* value) { |
| 1559 | return UploadDebugInfoStatus_Reason_Parse(name, value); |
| 1560 | } |
| 1561 | |
| 1562 | // accessors ------------------------------------------------------- |
| 1563 | |
| 1564 | // string location_url = 5; |
| 1565 | void clear_location_url(); |
| 1566 | static const int kLocationUrlFieldNumber = 5; |
| 1567 | const ::std::string& location_url() const; |
| 1568 | void set_location_url(const ::std::string& value); |
| 1569 | #if LANG_CXX11 |
| 1570 | void set_location_url(::std::string&& value); |
| 1571 | #endif |
| 1572 | void set_location_url(const char* value); |
| 1573 | void set_location_url(const char* value, size_t size); |
| 1574 | ::std::string* mutable_location_url(); |
| 1575 | ::std::string* release_location_url(); |
| 1576 | void set_allocated_location_url(::std::string* location_url); |
| 1577 | |
| 1578 | // string file_name = 6; |
| 1579 | void clear_file_name(); |
| 1580 | static const int kFileNameFieldNumber = 6; |
| 1581 | const ::std::string& file_name() const; |
| 1582 | void set_file_name(const ::std::string& value); |
| 1583 | #if LANG_CXX11 |
| 1584 | void set_file_name(::std::string&& value); |
| 1585 | #endif |
| 1586 | void set_file_name(const char* value); |
| 1587 | void set_file_name(const char* value, size_t size); |
| 1588 | ::std::string* mutable_file_name(); |
| 1589 | ::std::string* release_file_name(); |
| 1590 | void set_allocated_file_name(::std::string* file_name); |
| 1591 | |
| 1592 | // .dmi.Uuid device_uuid = 1; |
| 1593 | bool has_device_uuid() const; |
| 1594 | void clear_device_uuid(); |
| 1595 | static const int kDeviceUuidFieldNumber = 1; |
| 1596 | const ::dmi::Uuid& device_uuid() const; |
| 1597 | ::dmi::Uuid* release_device_uuid(); |
| 1598 | ::dmi::Uuid* mutable_device_uuid(); |
| 1599 | void set_allocated_device_uuid(::dmi::Uuid* device_uuid); |
| 1600 | |
| 1601 | // .dmi.UploadDebugInfoStatus.UploadStatus status = 2; |
| 1602 | void clear_status(); |
| 1603 | static const int kStatusFieldNumber = 2; |
| 1604 | ::dmi::UploadDebugInfoStatus_UploadStatus status() const; |
| 1605 | void set_status(::dmi::UploadDebugInfoStatus_UploadStatus value); |
| 1606 | |
| 1607 | // int32 percent_uploaded = 3; |
| 1608 | void clear_percent_uploaded(); |
| 1609 | static const int kPercentUploadedFieldNumber = 3; |
| 1610 | ::google::protobuf::int32 percent_uploaded() const; |
| 1611 | void set_percent_uploaded(::google::protobuf::int32 value); |
| 1612 | |
| 1613 | // .dmi.UploadDebugInfoStatus.Reason reason = 4; |
| 1614 | void clear_reason(); |
| 1615 | static const int kReasonFieldNumber = 4; |
| 1616 | ::dmi::UploadDebugInfoStatus_Reason reason() const; |
| 1617 | void set_reason(::dmi::UploadDebugInfoStatus_Reason value); |
| 1618 | |
| 1619 | // @@protoc_insertion_point(class_scope:dmi.UploadDebugInfoStatus) |
| 1620 | private: |
| 1621 | class HasBitSetters; |
| 1622 | |
| 1623 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1624 | ::google::protobuf::internal::ArenaStringPtr location_url_; |
| 1625 | ::google::protobuf::internal::ArenaStringPtr file_name_; |
| 1626 | ::dmi::Uuid* device_uuid_; |
| 1627 | int status_; |
| 1628 | ::google::protobuf::int32 percent_uploaded_; |
| 1629 | int reason_; |
| 1630 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1631 | friend struct ::TableStruct_dmi_2fsw_5fmanagement_5fservice_2eproto; |
| 1632 | }; |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 1633 | // =================================================================== |
| 1634 | |
| 1635 | |
| 1636 | // =================================================================== |
| 1637 | |
| 1638 | #ifdef __GNUC__ |
| 1639 | #pragma GCC diagnostic push |
| 1640 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
| 1641 | #endif // __GNUC__ |
| 1642 | // SoftwareVersionInformation |
| 1643 | |
| 1644 | // repeated .dmi.ImageVersion active_versions = 1; |
| 1645 | inline int SoftwareVersionInformation::active_versions_size() const { |
| 1646 | return active_versions_.size(); |
| 1647 | } |
| 1648 | inline ::dmi::ImageVersion* SoftwareVersionInformation::mutable_active_versions(int index) { |
| 1649 | // @@protoc_insertion_point(field_mutable:dmi.SoftwareVersionInformation.active_versions) |
| 1650 | return active_versions_.Mutable(index); |
| 1651 | } |
| 1652 | inline ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion >* |
| 1653 | SoftwareVersionInformation::mutable_active_versions() { |
| 1654 | // @@protoc_insertion_point(field_mutable_list:dmi.SoftwareVersionInformation.active_versions) |
| 1655 | return &active_versions_; |
| 1656 | } |
| 1657 | inline const ::dmi::ImageVersion& SoftwareVersionInformation::active_versions(int index) const { |
| 1658 | // @@protoc_insertion_point(field_get:dmi.SoftwareVersionInformation.active_versions) |
| 1659 | return active_versions_.Get(index); |
| 1660 | } |
| 1661 | inline ::dmi::ImageVersion* SoftwareVersionInformation::add_active_versions() { |
| 1662 | // @@protoc_insertion_point(field_add:dmi.SoftwareVersionInformation.active_versions) |
| 1663 | return active_versions_.Add(); |
| 1664 | } |
| 1665 | inline const ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion >& |
| 1666 | SoftwareVersionInformation::active_versions() const { |
| 1667 | // @@protoc_insertion_point(field_list:dmi.SoftwareVersionInformation.active_versions) |
| 1668 | return active_versions_; |
| 1669 | } |
| 1670 | |
| 1671 | // repeated .dmi.ImageVersion standby_versions = 2; |
| 1672 | inline int SoftwareVersionInformation::standby_versions_size() const { |
| 1673 | return standby_versions_.size(); |
| 1674 | } |
| 1675 | inline ::dmi::ImageVersion* SoftwareVersionInformation::mutable_standby_versions(int index) { |
| 1676 | // @@protoc_insertion_point(field_mutable:dmi.SoftwareVersionInformation.standby_versions) |
| 1677 | return standby_versions_.Mutable(index); |
| 1678 | } |
| 1679 | inline ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion >* |
| 1680 | SoftwareVersionInformation::mutable_standby_versions() { |
| 1681 | // @@protoc_insertion_point(field_mutable_list:dmi.SoftwareVersionInformation.standby_versions) |
| 1682 | return &standby_versions_; |
| 1683 | } |
| 1684 | inline const ::dmi::ImageVersion& SoftwareVersionInformation::standby_versions(int index) const { |
| 1685 | // @@protoc_insertion_point(field_get:dmi.SoftwareVersionInformation.standby_versions) |
| 1686 | return standby_versions_.Get(index); |
| 1687 | } |
| 1688 | inline ::dmi::ImageVersion* SoftwareVersionInformation::add_standby_versions() { |
| 1689 | // @@protoc_insertion_point(field_add:dmi.SoftwareVersionInformation.standby_versions) |
| 1690 | return standby_versions_.Add(); |
| 1691 | } |
| 1692 | inline const ::google::protobuf::RepeatedPtrField< ::dmi::ImageVersion >& |
| 1693 | SoftwareVersionInformation::standby_versions() const { |
| 1694 | // @@protoc_insertion_point(field_list:dmi.SoftwareVersionInformation.standby_versions) |
| 1695 | return standby_versions_; |
| 1696 | } |
| 1697 | |
| 1698 | // ------------------------------------------------------------------- |
| 1699 | |
| 1700 | // GetSoftwareVersionInformationResponse |
| 1701 | |
| 1702 | // .dmi.Status status = 1; |
| 1703 | inline void GetSoftwareVersionInformationResponse::clear_status() { |
| 1704 | status_ = 0; |
| 1705 | } |
| 1706 | inline ::dmi::Status GetSoftwareVersionInformationResponse::status() const { |
| 1707 | // @@protoc_insertion_point(field_get:dmi.GetSoftwareVersionInformationResponse.status) |
| 1708 | return static_cast< ::dmi::Status >(status_); |
| 1709 | } |
| 1710 | inline void GetSoftwareVersionInformationResponse::set_status(::dmi::Status value) { |
| 1711 | |
| 1712 | status_ = value; |
| 1713 | // @@protoc_insertion_point(field_set:dmi.GetSoftwareVersionInformationResponse.status) |
| 1714 | } |
| 1715 | |
| 1716 | // .dmi.GetSoftwareVersionInformationResponse.Reason reason = 2; |
| 1717 | inline void GetSoftwareVersionInformationResponse::clear_reason() { |
| 1718 | reason_ = 0; |
| 1719 | } |
| 1720 | inline ::dmi::GetSoftwareVersionInformationResponse_Reason GetSoftwareVersionInformationResponse::reason() const { |
| 1721 | // @@protoc_insertion_point(field_get:dmi.GetSoftwareVersionInformationResponse.reason) |
| 1722 | return static_cast< ::dmi::GetSoftwareVersionInformationResponse_Reason >(reason_); |
| 1723 | } |
| 1724 | inline void GetSoftwareVersionInformationResponse::set_reason(::dmi::GetSoftwareVersionInformationResponse_Reason value) { |
| 1725 | |
| 1726 | reason_ = value; |
| 1727 | // @@protoc_insertion_point(field_set:dmi.GetSoftwareVersionInformationResponse.reason) |
| 1728 | } |
| 1729 | |
| 1730 | // .dmi.SoftwareVersionInformation info = 3; |
| 1731 | inline bool GetSoftwareVersionInformationResponse::has_info() const { |
| 1732 | return this != internal_default_instance() && info_ != nullptr; |
| 1733 | } |
| 1734 | inline void GetSoftwareVersionInformationResponse::clear_info() { |
| 1735 | if (GetArenaNoVirtual() == nullptr && info_ != nullptr) { |
| 1736 | delete info_; |
| 1737 | } |
| 1738 | info_ = nullptr; |
| 1739 | } |
| 1740 | inline const ::dmi::SoftwareVersionInformation& GetSoftwareVersionInformationResponse::info() const { |
| 1741 | const ::dmi::SoftwareVersionInformation* p = info_; |
| 1742 | // @@protoc_insertion_point(field_get:dmi.GetSoftwareVersionInformationResponse.info) |
| 1743 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::SoftwareVersionInformation*>( |
| 1744 | &::dmi::_SoftwareVersionInformation_default_instance_); |
| 1745 | } |
| 1746 | inline ::dmi::SoftwareVersionInformation* GetSoftwareVersionInformationResponse::release_info() { |
| 1747 | // @@protoc_insertion_point(field_release:dmi.GetSoftwareVersionInformationResponse.info) |
| 1748 | |
| 1749 | ::dmi::SoftwareVersionInformation* temp = info_; |
| 1750 | info_ = nullptr; |
| 1751 | return temp; |
| 1752 | } |
| 1753 | inline ::dmi::SoftwareVersionInformation* GetSoftwareVersionInformationResponse::mutable_info() { |
| 1754 | |
| 1755 | if (info_ == nullptr) { |
| 1756 | auto* p = CreateMaybeMessage<::dmi::SoftwareVersionInformation>(GetArenaNoVirtual()); |
| 1757 | info_ = p; |
| 1758 | } |
| 1759 | // @@protoc_insertion_point(field_mutable:dmi.GetSoftwareVersionInformationResponse.info) |
| 1760 | return info_; |
| 1761 | } |
| 1762 | inline void GetSoftwareVersionInformationResponse::set_allocated_info(::dmi::SoftwareVersionInformation* info) { |
| 1763 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 1764 | if (message_arena == nullptr) { |
| 1765 | delete info_; |
| 1766 | } |
| 1767 | if (info) { |
| 1768 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 1769 | if (message_arena != submessage_arena) { |
| 1770 | info = ::google::protobuf::internal::GetOwnedMessage( |
| 1771 | message_arena, info, submessage_arena); |
| 1772 | } |
| 1773 | |
| 1774 | } else { |
| 1775 | |
| 1776 | } |
| 1777 | info_ = info; |
| 1778 | // @@protoc_insertion_point(field_set_allocated:dmi.GetSoftwareVersionInformationResponse.info) |
| 1779 | } |
| 1780 | |
| 1781 | // string reason_detail = 4; |
| 1782 | inline void GetSoftwareVersionInformationResponse::clear_reason_detail() { |
| 1783 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1784 | } |
| 1785 | inline const ::std::string& GetSoftwareVersionInformationResponse::reason_detail() const { |
| 1786 | // @@protoc_insertion_point(field_get:dmi.GetSoftwareVersionInformationResponse.reason_detail) |
| 1787 | return reason_detail_.GetNoArena(); |
| 1788 | } |
| 1789 | inline void GetSoftwareVersionInformationResponse::set_reason_detail(const ::std::string& value) { |
| 1790 | |
| 1791 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 1792 | // @@protoc_insertion_point(field_set:dmi.GetSoftwareVersionInformationResponse.reason_detail) |
| 1793 | } |
| 1794 | #if LANG_CXX11 |
| 1795 | inline void GetSoftwareVersionInformationResponse::set_reason_detail(::std::string&& value) { |
| 1796 | |
| 1797 | reason_detail_.SetNoArena( |
| 1798 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 1799 | // @@protoc_insertion_point(field_set_rvalue:dmi.GetSoftwareVersionInformationResponse.reason_detail) |
| 1800 | } |
| 1801 | #endif |
| 1802 | inline void GetSoftwareVersionInformationResponse::set_reason_detail(const char* value) { |
| 1803 | GOOGLE_DCHECK(value != nullptr); |
| 1804 | |
| 1805 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 1806 | // @@protoc_insertion_point(field_set_char:dmi.GetSoftwareVersionInformationResponse.reason_detail) |
| 1807 | } |
| 1808 | inline void GetSoftwareVersionInformationResponse::set_reason_detail(const char* value, size_t size) { |
| 1809 | |
| 1810 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 1811 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 1812 | // @@protoc_insertion_point(field_set_pointer:dmi.GetSoftwareVersionInformationResponse.reason_detail) |
| 1813 | } |
| 1814 | inline ::std::string* GetSoftwareVersionInformationResponse::mutable_reason_detail() { |
| 1815 | |
| 1816 | // @@protoc_insertion_point(field_mutable:dmi.GetSoftwareVersionInformationResponse.reason_detail) |
| 1817 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1818 | } |
| 1819 | inline ::std::string* GetSoftwareVersionInformationResponse::release_reason_detail() { |
| 1820 | // @@protoc_insertion_point(field_release:dmi.GetSoftwareVersionInformationResponse.reason_detail) |
| 1821 | |
| 1822 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1823 | } |
| 1824 | inline void GetSoftwareVersionInformationResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 1825 | if (reason_detail != nullptr) { |
| 1826 | |
| 1827 | } else { |
| 1828 | |
| 1829 | } |
| 1830 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 1831 | // @@protoc_insertion_point(field_set_allocated:dmi.GetSoftwareVersionInformationResponse.reason_detail) |
| 1832 | } |
| 1833 | |
| 1834 | // ------------------------------------------------------------------- |
| 1835 | |
| 1836 | // DownloadImageRequest |
| 1837 | |
| 1838 | // .dmi.Uuid device_uuid = 1; |
| 1839 | inline bool DownloadImageRequest::has_device_uuid() const { |
| 1840 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 1841 | } |
| 1842 | inline const ::dmi::Uuid& DownloadImageRequest::device_uuid() const { |
| 1843 | const ::dmi::Uuid* p = device_uuid_; |
| 1844 | // @@protoc_insertion_point(field_get:dmi.DownloadImageRequest.device_uuid) |
| 1845 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 1846 | &::dmi::_Uuid_default_instance_); |
| 1847 | } |
| 1848 | inline ::dmi::Uuid* DownloadImageRequest::release_device_uuid() { |
| 1849 | // @@protoc_insertion_point(field_release:dmi.DownloadImageRequest.device_uuid) |
| 1850 | |
| 1851 | ::dmi::Uuid* temp = device_uuid_; |
| 1852 | device_uuid_ = nullptr; |
| 1853 | return temp; |
| 1854 | } |
| 1855 | inline ::dmi::Uuid* DownloadImageRequest::mutable_device_uuid() { |
| 1856 | |
| 1857 | if (device_uuid_ == nullptr) { |
| 1858 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 1859 | device_uuid_ = p; |
| 1860 | } |
| 1861 | // @@protoc_insertion_point(field_mutable:dmi.DownloadImageRequest.device_uuid) |
| 1862 | return device_uuid_; |
| 1863 | } |
| 1864 | inline void DownloadImageRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 1865 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 1866 | if (message_arena == nullptr) { |
| 1867 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 1868 | } |
| 1869 | if (device_uuid) { |
| 1870 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 1871 | if (message_arena != submessage_arena) { |
| 1872 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 1873 | message_arena, device_uuid, submessage_arena); |
| 1874 | } |
| 1875 | |
| 1876 | } else { |
| 1877 | |
| 1878 | } |
| 1879 | device_uuid_ = device_uuid; |
| 1880 | // @@protoc_insertion_point(field_set_allocated:dmi.DownloadImageRequest.device_uuid) |
| 1881 | } |
| 1882 | |
| 1883 | // .dmi.ImageInformation image_info = 2; |
| 1884 | inline bool DownloadImageRequest::has_image_info() const { |
| 1885 | return this != internal_default_instance() && image_info_ != nullptr; |
| 1886 | } |
| 1887 | inline const ::dmi::ImageInformation& DownloadImageRequest::image_info() const { |
| 1888 | const ::dmi::ImageInformation* p = image_info_; |
| 1889 | // @@protoc_insertion_point(field_get:dmi.DownloadImageRequest.image_info) |
| 1890 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::ImageInformation*>( |
| 1891 | &::dmi::_ImageInformation_default_instance_); |
| 1892 | } |
| 1893 | inline ::dmi::ImageInformation* DownloadImageRequest::release_image_info() { |
| 1894 | // @@protoc_insertion_point(field_release:dmi.DownloadImageRequest.image_info) |
| 1895 | |
| 1896 | ::dmi::ImageInformation* temp = image_info_; |
| 1897 | image_info_ = nullptr; |
| 1898 | return temp; |
| 1899 | } |
| 1900 | inline ::dmi::ImageInformation* DownloadImageRequest::mutable_image_info() { |
| 1901 | |
| 1902 | if (image_info_ == nullptr) { |
| 1903 | auto* p = CreateMaybeMessage<::dmi::ImageInformation>(GetArenaNoVirtual()); |
| 1904 | image_info_ = p; |
| 1905 | } |
| 1906 | // @@protoc_insertion_point(field_mutable:dmi.DownloadImageRequest.image_info) |
| 1907 | return image_info_; |
| 1908 | } |
| 1909 | inline void DownloadImageRequest::set_allocated_image_info(::dmi::ImageInformation* image_info) { |
| 1910 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 1911 | if (message_arena == nullptr) { |
| 1912 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(image_info_); |
| 1913 | } |
| 1914 | if (image_info) { |
| 1915 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 1916 | if (message_arena != submessage_arena) { |
| 1917 | image_info = ::google::protobuf::internal::GetOwnedMessage( |
| 1918 | message_arena, image_info, submessage_arena); |
| 1919 | } |
| 1920 | |
| 1921 | } else { |
| 1922 | |
| 1923 | } |
| 1924 | image_info_ = image_info; |
| 1925 | // @@protoc_insertion_point(field_set_allocated:dmi.DownloadImageRequest.image_info) |
| 1926 | } |
| 1927 | |
| 1928 | // ------------------------------------------------------------------- |
| 1929 | |
| 1930 | // ConfigRequest |
| 1931 | |
| 1932 | // .dmi.Uuid device_uuid = 1; |
| 1933 | inline bool ConfigRequest::has_device_uuid() const { |
| 1934 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 1935 | } |
| 1936 | inline const ::dmi::Uuid& ConfigRequest::device_uuid() const { |
| 1937 | const ::dmi::Uuid* p = device_uuid_; |
| 1938 | // @@protoc_insertion_point(field_get:dmi.ConfigRequest.device_uuid) |
| 1939 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 1940 | &::dmi::_Uuid_default_instance_); |
| 1941 | } |
| 1942 | inline ::dmi::Uuid* ConfigRequest::release_device_uuid() { |
| 1943 | // @@protoc_insertion_point(field_release:dmi.ConfigRequest.device_uuid) |
| 1944 | |
| 1945 | ::dmi::Uuid* temp = device_uuid_; |
| 1946 | device_uuid_ = nullptr; |
| 1947 | return temp; |
| 1948 | } |
| 1949 | inline ::dmi::Uuid* ConfigRequest::mutable_device_uuid() { |
| 1950 | |
| 1951 | if (device_uuid_ == nullptr) { |
| 1952 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 1953 | device_uuid_ = p; |
| 1954 | } |
| 1955 | // @@protoc_insertion_point(field_mutable:dmi.ConfigRequest.device_uuid) |
| 1956 | return device_uuid_; |
| 1957 | } |
| 1958 | inline void ConfigRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 1959 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 1960 | if (message_arena == nullptr) { |
| 1961 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 1962 | } |
| 1963 | if (device_uuid) { |
| 1964 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 1965 | if (message_arena != submessage_arena) { |
| 1966 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 1967 | message_arena, device_uuid, submessage_arena); |
| 1968 | } |
| 1969 | |
| 1970 | } else { |
| 1971 | |
| 1972 | } |
| 1973 | device_uuid_ = device_uuid; |
| 1974 | // @@protoc_insertion_point(field_set_allocated:dmi.ConfigRequest.device_uuid) |
| 1975 | } |
| 1976 | |
| 1977 | // string config_url = 2; |
| 1978 | inline void ConfigRequest::clear_config_url() { |
| 1979 | config_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1980 | } |
| 1981 | inline const ::std::string& ConfigRequest::config_url() const { |
| 1982 | // @@protoc_insertion_point(field_get:dmi.ConfigRequest.config_url) |
| 1983 | return config_url_.GetNoArena(); |
| 1984 | } |
| 1985 | inline void ConfigRequest::set_config_url(const ::std::string& value) { |
| 1986 | |
| 1987 | config_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 1988 | // @@protoc_insertion_point(field_set:dmi.ConfigRequest.config_url) |
| 1989 | } |
| 1990 | #if LANG_CXX11 |
| 1991 | inline void ConfigRequest::set_config_url(::std::string&& value) { |
| 1992 | |
| 1993 | config_url_.SetNoArena( |
| 1994 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 1995 | // @@protoc_insertion_point(field_set_rvalue:dmi.ConfigRequest.config_url) |
| 1996 | } |
| 1997 | #endif |
| 1998 | inline void ConfigRequest::set_config_url(const char* value) { |
| 1999 | GOOGLE_DCHECK(value != nullptr); |
| 2000 | |
| 2001 | config_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 2002 | // @@protoc_insertion_point(field_set_char:dmi.ConfigRequest.config_url) |
| 2003 | } |
| 2004 | inline void ConfigRequest::set_config_url(const char* value, size_t size) { |
| 2005 | |
| 2006 | config_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 2007 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 2008 | // @@protoc_insertion_point(field_set_pointer:dmi.ConfigRequest.config_url) |
| 2009 | } |
| 2010 | inline ::std::string* ConfigRequest::mutable_config_url() { |
| 2011 | |
| 2012 | // @@protoc_insertion_point(field_mutable:dmi.ConfigRequest.config_url) |
| 2013 | return config_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2014 | } |
| 2015 | inline ::std::string* ConfigRequest::release_config_url() { |
| 2016 | // @@protoc_insertion_point(field_release:dmi.ConfigRequest.config_url) |
| 2017 | |
| 2018 | return config_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2019 | } |
| 2020 | inline void ConfigRequest::set_allocated_config_url(::std::string* config_url) { |
| 2021 | if (config_url != nullptr) { |
| 2022 | |
| 2023 | } else { |
| 2024 | |
| 2025 | } |
| 2026 | config_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), config_url); |
| 2027 | // @@protoc_insertion_point(field_set_allocated:dmi.ConfigRequest.config_url) |
| 2028 | } |
| 2029 | |
| 2030 | // ------------------------------------------------------------------- |
| 2031 | |
| 2032 | // ConfigResponse |
| 2033 | |
| 2034 | // .dmi.Status status = 1; |
| 2035 | inline void ConfigResponse::clear_status() { |
| 2036 | status_ = 0; |
| 2037 | } |
| 2038 | inline ::dmi::Status ConfigResponse::status() const { |
| 2039 | // @@protoc_insertion_point(field_get:dmi.ConfigResponse.status) |
| 2040 | return static_cast< ::dmi::Status >(status_); |
| 2041 | } |
| 2042 | inline void ConfigResponse::set_status(::dmi::Status value) { |
| 2043 | |
| 2044 | status_ = value; |
| 2045 | // @@protoc_insertion_point(field_set:dmi.ConfigResponse.status) |
| 2046 | } |
| 2047 | |
| 2048 | // .dmi.ConfigResponse.Reason reason = 2; |
| 2049 | inline void ConfigResponse::clear_reason() { |
| 2050 | reason_ = 0; |
| 2051 | } |
| 2052 | inline ::dmi::ConfigResponse_Reason ConfigResponse::reason() const { |
| 2053 | // @@protoc_insertion_point(field_get:dmi.ConfigResponse.reason) |
| 2054 | return static_cast< ::dmi::ConfigResponse_Reason >(reason_); |
| 2055 | } |
| 2056 | inline void ConfigResponse::set_reason(::dmi::ConfigResponse_Reason value) { |
| 2057 | |
| 2058 | reason_ = value; |
| 2059 | // @@protoc_insertion_point(field_set:dmi.ConfigResponse.reason) |
| 2060 | } |
| 2061 | |
| 2062 | // string reason_detail = 3; |
| 2063 | inline void ConfigResponse::clear_reason_detail() { |
| 2064 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2065 | } |
| 2066 | inline const ::std::string& ConfigResponse::reason_detail() const { |
| 2067 | // @@protoc_insertion_point(field_get:dmi.ConfigResponse.reason_detail) |
| 2068 | return reason_detail_.GetNoArena(); |
| 2069 | } |
| 2070 | inline void ConfigResponse::set_reason_detail(const ::std::string& value) { |
| 2071 | |
| 2072 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 2073 | // @@protoc_insertion_point(field_set:dmi.ConfigResponse.reason_detail) |
| 2074 | } |
| 2075 | #if LANG_CXX11 |
| 2076 | inline void ConfigResponse::set_reason_detail(::std::string&& value) { |
| 2077 | |
| 2078 | reason_detail_.SetNoArena( |
| 2079 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 2080 | // @@protoc_insertion_point(field_set_rvalue:dmi.ConfigResponse.reason_detail) |
| 2081 | } |
| 2082 | #endif |
| 2083 | inline void ConfigResponse::set_reason_detail(const char* value) { |
| 2084 | GOOGLE_DCHECK(value != nullptr); |
| 2085 | |
| 2086 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 2087 | // @@protoc_insertion_point(field_set_char:dmi.ConfigResponse.reason_detail) |
| 2088 | } |
| 2089 | inline void ConfigResponse::set_reason_detail(const char* value, size_t size) { |
| 2090 | |
| 2091 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 2092 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 2093 | // @@protoc_insertion_point(field_set_pointer:dmi.ConfigResponse.reason_detail) |
| 2094 | } |
| 2095 | inline ::std::string* ConfigResponse::mutable_reason_detail() { |
| 2096 | |
| 2097 | // @@protoc_insertion_point(field_mutable:dmi.ConfigResponse.reason_detail) |
| 2098 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2099 | } |
| 2100 | inline ::std::string* ConfigResponse::release_reason_detail() { |
| 2101 | // @@protoc_insertion_point(field_release:dmi.ConfigResponse.reason_detail) |
| 2102 | |
| 2103 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2104 | } |
| 2105 | inline void ConfigResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 2106 | if (reason_detail != nullptr) { |
| 2107 | |
| 2108 | } else { |
| 2109 | |
| 2110 | } |
| 2111 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 2112 | // @@protoc_insertion_point(field_set_allocated:dmi.ConfigResponse.reason_detail) |
| 2113 | } |
| 2114 | |
| 2115 | // ------------------------------------------------------------------- |
| 2116 | |
| 2117 | // StartupConfigInfoRequest |
| 2118 | |
| 2119 | // .dmi.Uuid device_uuid = 1; |
| 2120 | inline bool StartupConfigInfoRequest::has_device_uuid() const { |
| 2121 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 2122 | } |
| 2123 | inline const ::dmi::Uuid& StartupConfigInfoRequest::device_uuid() const { |
| 2124 | const ::dmi::Uuid* p = device_uuid_; |
| 2125 | // @@protoc_insertion_point(field_get:dmi.StartupConfigInfoRequest.device_uuid) |
| 2126 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 2127 | &::dmi::_Uuid_default_instance_); |
| 2128 | } |
| 2129 | inline ::dmi::Uuid* StartupConfigInfoRequest::release_device_uuid() { |
| 2130 | // @@protoc_insertion_point(field_release:dmi.StartupConfigInfoRequest.device_uuid) |
| 2131 | |
| 2132 | ::dmi::Uuid* temp = device_uuid_; |
| 2133 | device_uuid_ = nullptr; |
| 2134 | return temp; |
| 2135 | } |
| 2136 | inline ::dmi::Uuid* StartupConfigInfoRequest::mutable_device_uuid() { |
| 2137 | |
| 2138 | if (device_uuid_ == nullptr) { |
| 2139 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 2140 | device_uuid_ = p; |
| 2141 | } |
| 2142 | // @@protoc_insertion_point(field_mutable:dmi.StartupConfigInfoRequest.device_uuid) |
| 2143 | return device_uuid_; |
| 2144 | } |
| 2145 | inline void StartupConfigInfoRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 2146 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 2147 | if (message_arena == nullptr) { |
| 2148 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 2149 | } |
| 2150 | if (device_uuid) { |
| 2151 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 2152 | if (message_arena != submessage_arena) { |
| 2153 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 2154 | message_arena, device_uuid, submessage_arena); |
| 2155 | } |
| 2156 | |
| 2157 | } else { |
| 2158 | |
| 2159 | } |
| 2160 | device_uuid_ = device_uuid; |
| 2161 | // @@protoc_insertion_point(field_set_allocated:dmi.StartupConfigInfoRequest.device_uuid) |
| 2162 | } |
| 2163 | |
| 2164 | // ------------------------------------------------------------------- |
| 2165 | |
| 2166 | // StartupConfigInfoResponse |
| 2167 | |
| 2168 | // .dmi.Status status = 1; |
| 2169 | inline void StartupConfigInfoResponse::clear_status() { |
| 2170 | status_ = 0; |
| 2171 | } |
| 2172 | inline ::dmi::Status StartupConfigInfoResponse::status() const { |
| 2173 | // @@protoc_insertion_point(field_get:dmi.StartupConfigInfoResponse.status) |
| 2174 | return static_cast< ::dmi::Status >(status_); |
| 2175 | } |
| 2176 | inline void StartupConfigInfoResponse::set_status(::dmi::Status value) { |
| 2177 | |
| 2178 | status_ = value; |
| 2179 | // @@protoc_insertion_point(field_set:dmi.StartupConfigInfoResponse.status) |
| 2180 | } |
| 2181 | |
| 2182 | // .dmi.StartupConfigInfoResponse.Reason reason = 2; |
| 2183 | inline void StartupConfigInfoResponse::clear_reason() { |
| 2184 | reason_ = 0; |
| 2185 | } |
| 2186 | inline ::dmi::StartupConfigInfoResponse_Reason StartupConfigInfoResponse::reason() const { |
| 2187 | // @@protoc_insertion_point(field_get:dmi.StartupConfigInfoResponse.reason) |
| 2188 | return static_cast< ::dmi::StartupConfigInfoResponse_Reason >(reason_); |
| 2189 | } |
| 2190 | inline void StartupConfigInfoResponse::set_reason(::dmi::StartupConfigInfoResponse_Reason value) { |
| 2191 | |
| 2192 | reason_ = value; |
| 2193 | // @@protoc_insertion_point(field_set:dmi.StartupConfigInfoResponse.reason) |
| 2194 | } |
| 2195 | |
| 2196 | // string config_url = 3; |
| 2197 | inline void StartupConfigInfoResponse::clear_config_url() { |
| 2198 | config_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2199 | } |
| 2200 | inline const ::std::string& StartupConfigInfoResponse::config_url() const { |
| 2201 | // @@protoc_insertion_point(field_get:dmi.StartupConfigInfoResponse.config_url) |
| 2202 | return config_url_.GetNoArena(); |
| 2203 | } |
| 2204 | inline void StartupConfigInfoResponse::set_config_url(const ::std::string& value) { |
| 2205 | |
| 2206 | config_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 2207 | // @@protoc_insertion_point(field_set:dmi.StartupConfigInfoResponse.config_url) |
| 2208 | } |
| 2209 | #if LANG_CXX11 |
| 2210 | inline void StartupConfigInfoResponse::set_config_url(::std::string&& value) { |
| 2211 | |
| 2212 | config_url_.SetNoArena( |
| 2213 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 2214 | // @@protoc_insertion_point(field_set_rvalue:dmi.StartupConfigInfoResponse.config_url) |
| 2215 | } |
| 2216 | #endif |
| 2217 | inline void StartupConfigInfoResponse::set_config_url(const char* value) { |
| 2218 | GOOGLE_DCHECK(value != nullptr); |
| 2219 | |
| 2220 | config_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 2221 | // @@protoc_insertion_point(field_set_char:dmi.StartupConfigInfoResponse.config_url) |
| 2222 | } |
| 2223 | inline void StartupConfigInfoResponse::set_config_url(const char* value, size_t size) { |
| 2224 | |
| 2225 | config_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 2226 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 2227 | // @@protoc_insertion_point(field_set_pointer:dmi.StartupConfigInfoResponse.config_url) |
| 2228 | } |
| 2229 | inline ::std::string* StartupConfigInfoResponse::mutable_config_url() { |
| 2230 | |
| 2231 | // @@protoc_insertion_point(field_mutable:dmi.StartupConfigInfoResponse.config_url) |
| 2232 | return config_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2233 | } |
| 2234 | inline ::std::string* StartupConfigInfoResponse::release_config_url() { |
| 2235 | // @@protoc_insertion_point(field_release:dmi.StartupConfigInfoResponse.config_url) |
| 2236 | |
| 2237 | return config_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2238 | } |
| 2239 | inline void StartupConfigInfoResponse::set_allocated_config_url(::std::string* config_url) { |
| 2240 | if (config_url != nullptr) { |
| 2241 | |
| 2242 | } else { |
| 2243 | |
| 2244 | } |
| 2245 | config_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), config_url); |
| 2246 | // @@protoc_insertion_point(field_set_allocated:dmi.StartupConfigInfoResponse.config_url) |
| 2247 | } |
| 2248 | |
| 2249 | // string version = 4; |
| 2250 | inline void StartupConfigInfoResponse::clear_version() { |
| 2251 | version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2252 | } |
| 2253 | inline const ::std::string& StartupConfigInfoResponse::version() const { |
| 2254 | // @@protoc_insertion_point(field_get:dmi.StartupConfigInfoResponse.version) |
| 2255 | return version_.GetNoArena(); |
| 2256 | } |
| 2257 | inline void StartupConfigInfoResponse::set_version(const ::std::string& value) { |
| 2258 | |
| 2259 | version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 2260 | // @@protoc_insertion_point(field_set:dmi.StartupConfigInfoResponse.version) |
| 2261 | } |
| 2262 | #if LANG_CXX11 |
| 2263 | inline void StartupConfigInfoResponse::set_version(::std::string&& value) { |
| 2264 | |
| 2265 | version_.SetNoArena( |
| 2266 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 2267 | // @@protoc_insertion_point(field_set_rvalue:dmi.StartupConfigInfoResponse.version) |
| 2268 | } |
| 2269 | #endif |
| 2270 | inline void StartupConfigInfoResponse::set_version(const char* value) { |
| 2271 | GOOGLE_DCHECK(value != nullptr); |
| 2272 | |
| 2273 | version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 2274 | // @@protoc_insertion_point(field_set_char:dmi.StartupConfigInfoResponse.version) |
| 2275 | } |
| 2276 | inline void StartupConfigInfoResponse::set_version(const char* value, size_t size) { |
| 2277 | |
| 2278 | version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 2279 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 2280 | // @@protoc_insertion_point(field_set_pointer:dmi.StartupConfigInfoResponse.version) |
| 2281 | } |
| 2282 | inline ::std::string* StartupConfigInfoResponse::mutable_version() { |
| 2283 | |
| 2284 | // @@protoc_insertion_point(field_mutable:dmi.StartupConfigInfoResponse.version) |
| 2285 | return version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2286 | } |
| 2287 | inline ::std::string* StartupConfigInfoResponse::release_version() { |
| 2288 | // @@protoc_insertion_point(field_release:dmi.StartupConfigInfoResponse.version) |
| 2289 | |
| 2290 | return version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2291 | } |
| 2292 | inline void StartupConfigInfoResponse::set_allocated_version(::std::string* version) { |
| 2293 | if (version != nullptr) { |
| 2294 | |
| 2295 | } else { |
| 2296 | |
| 2297 | } |
| 2298 | version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version); |
| 2299 | // @@protoc_insertion_point(field_set_allocated:dmi.StartupConfigInfoResponse.version) |
| 2300 | } |
| 2301 | |
| 2302 | // string reason_detail = 5; |
| 2303 | inline void StartupConfigInfoResponse::clear_reason_detail() { |
| 2304 | reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2305 | } |
| 2306 | inline const ::std::string& StartupConfigInfoResponse::reason_detail() const { |
| 2307 | // @@protoc_insertion_point(field_get:dmi.StartupConfigInfoResponse.reason_detail) |
| 2308 | return reason_detail_.GetNoArena(); |
| 2309 | } |
| 2310 | inline void StartupConfigInfoResponse::set_reason_detail(const ::std::string& value) { |
| 2311 | |
| 2312 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 2313 | // @@protoc_insertion_point(field_set:dmi.StartupConfigInfoResponse.reason_detail) |
| 2314 | } |
| 2315 | #if LANG_CXX11 |
| 2316 | inline void StartupConfigInfoResponse::set_reason_detail(::std::string&& value) { |
| 2317 | |
| 2318 | reason_detail_.SetNoArena( |
| 2319 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 2320 | // @@protoc_insertion_point(field_set_rvalue:dmi.StartupConfigInfoResponse.reason_detail) |
| 2321 | } |
| 2322 | #endif |
| 2323 | inline void StartupConfigInfoResponse::set_reason_detail(const char* value) { |
| 2324 | GOOGLE_DCHECK(value != nullptr); |
| 2325 | |
| 2326 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 2327 | // @@protoc_insertion_point(field_set_char:dmi.StartupConfigInfoResponse.reason_detail) |
| 2328 | } |
| 2329 | inline void StartupConfigInfoResponse::set_reason_detail(const char* value, size_t size) { |
| 2330 | |
| 2331 | reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 2332 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 2333 | // @@protoc_insertion_point(field_set_pointer:dmi.StartupConfigInfoResponse.reason_detail) |
| 2334 | } |
| 2335 | inline ::std::string* StartupConfigInfoResponse::mutable_reason_detail() { |
| 2336 | |
| 2337 | // @@protoc_insertion_point(field_mutable:dmi.StartupConfigInfoResponse.reason_detail) |
| 2338 | return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2339 | } |
| 2340 | inline ::std::string* StartupConfigInfoResponse::release_reason_detail() { |
| 2341 | // @@protoc_insertion_point(field_release:dmi.StartupConfigInfoResponse.reason_detail) |
| 2342 | |
| 2343 | return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2344 | } |
| 2345 | inline void StartupConfigInfoResponse::set_allocated_reason_detail(::std::string* reason_detail) { |
| 2346 | if (reason_detail != nullptr) { |
| 2347 | |
| 2348 | } else { |
| 2349 | |
| 2350 | } |
| 2351 | reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail); |
| 2352 | // @@protoc_insertion_point(field_set_allocated:dmi.StartupConfigInfoResponse.reason_detail) |
| 2353 | } |
| 2354 | |
amit.ghosh | 5a68980 | 2022-09-12 14:26:10 +0200 | [diff] [blame] | 2355 | // ------------------------------------------------------------------- |
| 2356 | |
| 2357 | // UploadDebugInfoRequest |
| 2358 | |
| 2359 | // .dmi.Uuid device_uuid = 1; |
| 2360 | inline bool UploadDebugInfoRequest::has_device_uuid() const { |
| 2361 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 2362 | } |
| 2363 | inline const ::dmi::Uuid& UploadDebugInfoRequest::device_uuid() const { |
| 2364 | const ::dmi::Uuid* p = device_uuid_; |
| 2365 | // @@protoc_insertion_point(field_get:dmi.UploadDebugInfoRequest.device_uuid) |
| 2366 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 2367 | &::dmi::_Uuid_default_instance_); |
| 2368 | } |
| 2369 | inline ::dmi::Uuid* UploadDebugInfoRequest::release_device_uuid() { |
| 2370 | // @@protoc_insertion_point(field_release:dmi.UploadDebugInfoRequest.device_uuid) |
| 2371 | |
| 2372 | ::dmi::Uuid* temp = device_uuid_; |
| 2373 | device_uuid_ = nullptr; |
| 2374 | return temp; |
| 2375 | } |
| 2376 | inline ::dmi::Uuid* UploadDebugInfoRequest::mutable_device_uuid() { |
| 2377 | |
| 2378 | if (device_uuid_ == nullptr) { |
| 2379 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 2380 | device_uuid_ = p; |
| 2381 | } |
| 2382 | // @@protoc_insertion_point(field_mutable:dmi.UploadDebugInfoRequest.device_uuid) |
| 2383 | return device_uuid_; |
| 2384 | } |
| 2385 | inline void UploadDebugInfoRequest::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 2386 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 2387 | if (message_arena == nullptr) { |
| 2388 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 2389 | } |
| 2390 | if (device_uuid) { |
| 2391 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 2392 | if (message_arena != submessage_arena) { |
| 2393 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 2394 | message_arena, device_uuid, submessage_arena); |
| 2395 | } |
| 2396 | |
| 2397 | } else { |
| 2398 | |
| 2399 | } |
| 2400 | device_uuid_ = device_uuid; |
| 2401 | // @@protoc_insertion_point(field_set_allocated:dmi.UploadDebugInfoRequest.device_uuid) |
| 2402 | } |
| 2403 | |
| 2404 | // string location_url = 3; |
| 2405 | inline void UploadDebugInfoRequest::clear_location_url() { |
| 2406 | location_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2407 | } |
| 2408 | inline const ::std::string& UploadDebugInfoRequest::location_url() const { |
| 2409 | // @@protoc_insertion_point(field_get:dmi.UploadDebugInfoRequest.location_url) |
| 2410 | return location_url_.GetNoArena(); |
| 2411 | } |
| 2412 | inline void UploadDebugInfoRequest::set_location_url(const ::std::string& value) { |
| 2413 | |
| 2414 | location_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 2415 | // @@protoc_insertion_point(field_set:dmi.UploadDebugInfoRequest.location_url) |
| 2416 | } |
| 2417 | #if LANG_CXX11 |
| 2418 | inline void UploadDebugInfoRequest::set_location_url(::std::string&& value) { |
| 2419 | |
| 2420 | location_url_.SetNoArena( |
| 2421 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 2422 | // @@protoc_insertion_point(field_set_rvalue:dmi.UploadDebugInfoRequest.location_url) |
| 2423 | } |
| 2424 | #endif |
| 2425 | inline void UploadDebugInfoRequest::set_location_url(const char* value) { |
| 2426 | GOOGLE_DCHECK(value != nullptr); |
| 2427 | |
| 2428 | location_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 2429 | // @@protoc_insertion_point(field_set_char:dmi.UploadDebugInfoRequest.location_url) |
| 2430 | } |
| 2431 | inline void UploadDebugInfoRequest::set_location_url(const char* value, size_t size) { |
| 2432 | |
| 2433 | location_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 2434 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 2435 | // @@protoc_insertion_point(field_set_pointer:dmi.UploadDebugInfoRequest.location_url) |
| 2436 | } |
| 2437 | inline ::std::string* UploadDebugInfoRequest::mutable_location_url() { |
| 2438 | |
| 2439 | // @@protoc_insertion_point(field_mutable:dmi.UploadDebugInfoRequest.location_url) |
| 2440 | return location_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2441 | } |
| 2442 | inline ::std::string* UploadDebugInfoRequest::release_location_url() { |
| 2443 | // @@protoc_insertion_point(field_release:dmi.UploadDebugInfoRequest.location_url) |
| 2444 | |
| 2445 | return location_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2446 | } |
| 2447 | inline void UploadDebugInfoRequest::set_allocated_location_url(::std::string* location_url) { |
| 2448 | if (location_url != nullptr) { |
| 2449 | |
| 2450 | } else { |
| 2451 | |
| 2452 | } |
| 2453 | location_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), location_url); |
| 2454 | // @@protoc_insertion_point(field_set_allocated:dmi.UploadDebugInfoRequest.location_url) |
| 2455 | } |
| 2456 | |
| 2457 | // ------------------------------------------------------------------- |
| 2458 | |
| 2459 | // UploadDebugInfoStatus |
| 2460 | |
| 2461 | // .dmi.Uuid device_uuid = 1; |
| 2462 | inline bool UploadDebugInfoStatus::has_device_uuid() const { |
| 2463 | return this != internal_default_instance() && device_uuid_ != nullptr; |
| 2464 | } |
| 2465 | inline const ::dmi::Uuid& UploadDebugInfoStatus::device_uuid() const { |
| 2466 | const ::dmi::Uuid* p = device_uuid_; |
| 2467 | // @@protoc_insertion_point(field_get:dmi.UploadDebugInfoStatus.device_uuid) |
| 2468 | return p != nullptr ? *p : *reinterpret_cast<const ::dmi::Uuid*>( |
| 2469 | &::dmi::_Uuid_default_instance_); |
| 2470 | } |
| 2471 | inline ::dmi::Uuid* UploadDebugInfoStatus::release_device_uuid() { |
| 2472 | // @@protoc_insertion_point(field_release:dmi.UploadDebugInfoStatus.device_uuid) |
| 2473 | |
| 2474 | ::dmi::Uuid* temp = device_uuid_; |
| 2475 | device_uuid_ = nullptr; |
| 2476 | return temp; |
| 2477 | } |
| 2478 | inline ::dmi::Uuid* UploadDebugInfoStatus::mutable_device_uuid() { |
| 2479 | |
| 2480 | if (device_uuid_ == nullptr) { |
| 2481 | auto* p = CreateMaybeMessage<::dmi::Uuid>(GetArenaNoVirtual()); |
| 2482 | device_uuid_ = p; |
| 2483 | } |
| 2484 | // @@protoc_insertion_point(field_mutable:dmi.UploadDebugInfoStatus.device_uuid) |
| 2485 | return device_uuid_; |
| 2486 | } |
| 2487 | inline void UploadDebugInfoStatus::set_allocated_device_uuid(::dmi::Uuid* device_uuid) { |
| 2488 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 2489 | if (message_arena == nullptr) { |
| 2490 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_uuid_); |
| 2491 | } |
| 2492 | if (device_uuid) { |
| 2493 | ::google::protobuf::Arena* submessage_arena = nullptr; |
| 2494 | if (message_arena != submessage_arena) { |
| 2495 | device_uuid = ::google::protobuf::internal::GetOwnedMessage( |
| 2496 | message_arena, device_uuid, submessage_arena); |
| 2497 | } |
| 2498 | |
| 2499 | } else { |
| 2500 | |
| 2501 | } |
| 2502 | device_uuid_ = device_uuid; |
| 2503 | // @@protoc_insertion_point(field_set_allocated:dmi.UploadDebugInfoStatus.device_uuid) |
| 2504 | } |
| 2505 | |
| 2506 | // .dmi.UploadDebugInfoStatus.UploadStatus status = 2; |
| 2507 | inline void UploadDebugInfoStatus::clear_status() { |
| 2508 | status_ = 0; |
| 2509 | } |
| 2510 | inline ::dmi::UploadDebugInfoStatus_UploadStatus UploadDebugInfoStatus::status() const { |
| 2511 | // @@protoc_insertion_point(field_get:dmi.UploadDebugInfoStatus.status) |
| 2512 | return static_cast< ::dmi::UploadDebugInfoStatus_UploadStatus >(status_); |
| 2513 | } |
| 2514 | inline void UploadDebugInfoStatus::set_status(::dmi::UploadDebugInfoStatus_UploadStatus value) { |
| 2515 | |
| 2516 | status_ = value; |
| 2517 | // @@protoc_insertion_point(field_set:dmi.UploadDebugInfoStatus.status) |
| 2518 | } |
| 2519 | |
| 2520 | // int32 percent_uploaded = 3; |
| 2521 | inline void UploadDebugInfoStatus::clear_percent_uploaded() { |
| 2522 | percent_uploaded_ = 0; |
| 2523 | } |
| 2524 | inline ::google::protobuf::int32 UploadDebugInfoStatus::percent_uploaded() const { |
| 2525 | // @@protoc_insertion_point(field_get:dmi.UploadDebugInfoStatus.percent_uploaded) |
| 2526 | return percent_uploaded_; |
| 2527 | } |
| 2528 | inline void UploadDebugInfoStatus::set_percent_uploaded(::google::protobuf::int32 value) { |
| 2529 | |
| 2530 | percent_uploaded_ = value; |
| 2531 | // @@protoc_insertion_point(field_set:dmi.UploadDebugInfoStatus.percent_uploaded) |
| 2532 | } |
| 2533 | |
| 2534 | // .dmi.UploadDebugInfoStatus.Reason reason = 4; |
| 2535 | inline void UploadDebugInfoStatus::clear_reason() { |
| 2536 | reason_ = 0; |
| 2537 | } |
| 2538 | inline ::dmi::UploadDebugInfoStatus_Reason UploadDebugInfoStatus::reason() const { |
| 2539 | // @@protoc_insertion_point(field_get:dmi.UploadDebugInfoStatus.reason) |
| 2540 | return static_cast< ::dmi::UploadDebugInfoStatus_Reason >(reason_); |
| 2541 | } |
| 2542 | inline void UploadDebugInfoStatus::set_reason(::dmi::UploadDebugInfoStatus_Reason value) { |
| 2543 | |
| 2544 | reason_ = value; |
| 2545 | // @@protoc_insertion_point(field_set:dmi.UploadDebugInfoStatus.reason) |
| 2546 | } |
| 2547 | |
| 2548 | // string location_url = 5; |
| 2549 | inline void UploadDebugInfoStatus::clear_location_url() { |
| 2550 | location_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2551 | } |
| 2552 | inline const ::std::string& UploadDebugInfoStatus::location_url() const { |
| 2553 | // @@protoc_insertion_point(field_get:dmi.UploadDebugInfoStatus.location_url) |
| 2554 | return location_url_.GetNoArena(); |
| 2555 | } |
| 2556 | inline void UploadDebugInfoStatus::set_location_url(const ::std::string& value) { |
| 2557 | |
| 2558 | location_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 2559 | // @@protoc_insertion_point(field_set:dmi.UploadDebugInfoStatus.location_url) |
| 2560 | } |
| 2561 | #if LANG_CXX11 |
| 2562 | inline void UploadDebugInfoStatus::set_location_url(::std::string&& value) { |
| 2563 | |
| 2564 | location_url_.SetNoArena( |
| 2565 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 2566 | // @@protoc_insertion_point(field_set_rvalue:dmi.UploadDebugInfoStatus.location_url) |
| 2567 | } |
| 2568 | #endif |
| 2569 | inline void UploadDebugInfoStatus::set_location_url(const char* value) { |
| 2570 | GOOGLE_DCHECK(value != nullptr); |
| 2571 | |
| 2572 | location_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 2573 | // @@protoc_insertion_point(field_set_char:dmi.UploadDebugInfoStatus.location_url) |
| 2574 | } |
| 2575 | inline void UploadDebugInfoStatus::set_location_url(const char* value, size_t size) { |
| 2576 | |
| 2577 | location_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 2578 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 2579 | // @@protoc_insertion_point(field_set_pointer:dmi.UploadDebugInfoStatus.location_url) |
| 2580 | } |
| 2581 | inline ::std::string* UploadDebugInfoStatus::mutable_location_url() { |
| 2582 | |
| 2583 | // @@protoc_insertion_point(field_mutable:dmi.UploadDebugInfoStatus.location_url) |
| 2584 | return location_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2585 | } |
| 2586 | inline ::std::string* UploadDebugInfoStatus::release_location_url() { |
| 2587 | // @@protoc_insertion_point(field_release:dmi.UploadDebugInfoStatus.location_url) |
| 2588 | |
| 2589 | return location_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2590 | } |
| 2591 | inline void UploadDebugInfoStatus::set_allocated_location_url(::std::string* location_url) { |
| 2592 | if (location_url != nullptr) { |
| 2593 | |
| 2594 | } else { |
| 2595 | |
| 2596 | } |
| 2597 | location_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), location_url); |
| 2598 | // @@protoc_insertion_point(field_set_allocated:dmi.UploadDebugInfoStatus.location_url) |
| 2599 | } |
| 2600 | |
| 2601 | // string file_name = 6; |
| 2602 | inline void UploadDebugInfoStatus::clear_file_name() { |
| 2603 | file_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2604 | } |
| 2605 | inline const ::std::string& UploadDebugInfoStatus::file_name() const { |
| 2606 | // @@protoc_insertion_point(field_get:dmi.UploadDebugInfoStatus.file_name) |
| 2607 | return file_name_.GetNoArena(); |
| 2608 | } |
| 2609 | inline void UploadDebugInfoStatus::set_file_name(const ::std::string& value) { |
| 2610 | |
| 2611 | file_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| 2612 | // @@protoc_insertion_point(field_set:dmi.UploadDebugInfoStatus.file_name) |
| 2613 | } |
| 2614 | #if LANG_CXX11 |
| 2615 | inline void UploadDebugInfoStatus::set_file_name(::std::string&& value) { |
| 2616 | |
| 2617 | file_name_.SetNoArena( |
| 2618 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| 2619 | // @@protoc_insertion_point(field_set_rvalue:dmi.UploadDebugInfoStatus.file_name) |
| 2620 | } |
| 2621 | #endif |
| 2622 | inline void UploadDebugInfoStatus::set_file_name(const char* value) { |
| 2623 | GOOGLE_DCHECK(value != nullptr); |
| 2624 | |
| 2625 | file_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 2626 | // @@protoc_insertion_point(field_set_char:dmi.UploadDebugInfoStatus.file_name) |
| 2627 | } |
| 2628 | inline void UploadDebugInfoStatus::set_file_name(const char* value, size_t size) { |
| 2629 | |
| 2630 | file_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 2631 | ::std::string(reinterpret_cast<const char*>(value), size)); |
| 2632 | // @@protoc_insertion_point(field_set_pointer:dmi.UploadDebugInfoStatus.file_name) |
| 2633 | } |
| 2634 | inline ::std::string* UploadDebugInfoStatus::mutable_file_name() { |
| 2635 | |
| 2636 | // @@protoc_insertion_point(field_mutable:dmi.UploadDebugInfoStatus.file_name) |
| 2637 | return file_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2638 | } |
| 2639 | inline ::std::string* UploadDebugInfoStatus::release_file_name() { |
| 2640 | // @@protoc_insertion_point(field_release:dmi.UploadDebugInfoStatus.file_name) |
| 2641 | |
| 2642 | return file_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 2643 | } |
| 2644 | inline void UploadDebugInfoStatus::set_allocated_file_name(::std::string* file_name) { |
| 2645 | if (file_name != nullptr) { |
| 2646 | |
| 2647 | } else { |
| 2648 | |
| 2649 | } |
| 2650 | file_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), file_name); |
| 2651 | // @@protoc_insertion_point(field_set_allocated:dmi.UploadDebugInfoStatus.file_name) |
| 2652 | } |
| 2653 | |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 2654 | #ifdef __GNUC__ |
| 2655 | #pragma GCC diagnostic pop |
| 2656 | #endif // __GNUC__ |
| 2657 | // ------------------------------------------------------------------- |
| 2658 | |
| 2659 | // ------------------------------------------------------------------- |
| 2660 | |
| 2661 | // ------------------------------------------------------------------- |
| 2662 | |
| 2663 | // ------------------------------------------------------------------- |
| 2664 | |
| 2665 | // ------------------------------------------------------------------- |
| 2666 | |
| 2667 | // ------------------------------------------------------------------- |
| 2668 | |
amit.ghosh | 5a68980 | 2022-09-12 14:26:10 +0200 | [diff] [blame] | 2669 | // ------------------------------------------------------------------- |
| 2670 | |
| 2671 | // ------------------------------------------------------------------- |
| 2672 | |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 2673 | |
| 2674 | // @@protoc_insertion_point(namespace_scope) |
| 2675 | |
| 2676 | } // namespace dmi |
| 2677 | |
| 2678 | namespace google { |
| 2679 | namespace protobuf { |
| 2680 | |
| 2681 | template <> struct is_proto_enum< ::dmi::GetSoftwareVersionInformationResponse_Reason> : ::std::true_type {}; |
| 2682 | template <> |
| 2683 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::GetSoftwareVersionInformationResponse_Reason>() { |
| 2684 | return ::dmi::GetSoftwareVersionInformationResponse_Reason_descriptor(); |
| 2685 | } |
| 2686 | template <> struct is_proto_enum< ::dmi::ConfigResponse_Reason> : ::std::true_type {}; |
| 2687 | template <> |
| 2688 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::ConfigResponse_Reason>() { |
| 2689 | return ::dmi::ConfigResponse_Reason_descriptor(); |
| 2690 | } |
| 2691 | template <> struct is_proto_enum< ::dmi::StartupConfigInfoResponse_Reason> : ::std::true_type {}; |
| 2692 | template <> |
| 2693 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::StartupConfigInfoResponse_Reason>() { |
| 2694 | return ::dmi::StartupConfigInfoResponse_Reason_descriptor(); |
| 2695 | } |
amit.ghosh | 5a68980 | 2022-09-12 14:26:10 +0200 | [diff] [blame] | 2696 | template <> struct is_proto_enum< ::dmi::UploadDebugInfoStatus_UploadStatus> : ::std::true_type {}; |
| 2697 | template <> |
| 2698 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::UploadDebugInfoStatus_UploadStatus>() { |
| 2699 | return ::dmi::UploadDebugInfoStatus_UploadStatus_descriptor(); |
| 2700 | } |
| 2701 | template <> struct is_proto_enum< ::dmi::UploadDebugInfoStatus_Reason> : ::std::true_type {}; |
| 2702 | template <> |
| 2703 | inline const EnumDescriptor* GetEnumDescriptor< ::dmi::UploadDebugInfoStatus_Reason>() { |
| 2704 | return ::dmi::UploadDebugInfoStatus_Reason_descriptor(); |
| 2705 | } |
Shivanagouda Malaginahalli | 335fe4d | 2021-03-31 16:52:28 +0530 | [diff] [blame] | 2706 | |
| 2707 | } // namespace protobuf |
| 2708 | } // namespace google |
| 2709 | |
| 2710 | // @@protoc_insertion_point(global_scope) |
| 2711 | |
| 2712 | #include <google/protobuf/port_undef.inc> |
| 2713 | #endif // PROTOBUF_INCLUDED_dmi_2fsw_5fmanagement_5fservice_2eproto |