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