blob: 8803132383964eb01faa80932ab1318ed747dbe2 [file] [log] [blame]
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +05301// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: dmi/sw_image.proto
3
4#ifndef PROTOBUF_INCLUDED_dmi_2fsw_5fimage_2eproto
5#define PROTOBUF_INCLUDED_dmi_2fsw_5fimage_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// @@protoc_insertion_point(includes)
37#include <google/protobuf/port_def.inc>
38#define PROTOBUF_INTERNAL_EXPORT_dmi_2fsw_5fimage_2eproto
39
40// Internal implementation detail -- do not use these members.
41struct TableStruct_dmi_2fsw_5fimage_2eproto {
42 static const ::google::protobuf::internal::ParseTableField entries[]
43 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
44 static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
45 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
46 static const ::google::protobuf::internal::ParseTable schema[3]
47 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
48 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
49 static const ::google::protobuf::internal::SerializationTable serialization_table[];
50 static const ::google::protobuf::uint32 offsets[];
51};
52void AddDescriptors_dmi_2fsw_5fimage_2eproto();
53namespace dmi {
54class ImageInformation;
55class ImageInformationDefaultTypeInternal;
56extern ImageInformationDefaultTypeInternal _ImageInformation_default_instance_;
57class ImageStatus;
58class ImageStatusDefaultTypeInternal;
59extern ImageStatusDefaultTypeInternal _ImageStatus_default_instance_;
60class ImageVersion;
61class ImageVersionDefaultTypeInternal;
62extern ImageVersionDefaultTypeInternal _ImageVersion_default_instance_;
63} // namespace dmi
64namespace google {
65namespace protobuf {
66template<> ::dmi::ImageInformation* Arena::CreateMaybeMessage<::dmi::ImageInformation>(Arena*);
67template<> ::dmi::ImageStatus* Arena::CreateMaybeMessage<::dmi::ImageStatus>(Arena*);
68template<> ::dmi::ImageVersion* Arena::CreateMaybeMessage<::dmi::ImageVersion>(Arena*);
69} // namespace protobuf
70} // namespace google
71namespace dmi {
72
73enum ImageStatus_ImageState {
74 ImageStatus_ImageState_UNDEFINED_STATE = 0,
75 ImageStatus_ImageState_COPYING_IMAGE = 1,
76 ImageStatus_ImageState_INSTALLING_IMAGE = 2,
77 ImageStatus_ImageState_COMMITTING_IMAGE = 3,
78 ImageStatus_ImageState_REBOOTING_DEVICE = 4,
79 ImageStatus_ImageState_UPGRADE_COMPLETE = 5,
80 ImageStatus_ImageState_UPGRADE_FAILED = 6,
81 ImageStatus_ImageState_ACTIVATION_COMPLETE = 7,
82 ImageStatus_ImageState_ACTIVATION_FAILED = 8,
83 ImageStatus_ImageState_ImageStatus_ImageState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(),
84 ImageStatus_ImageState_ImageStatus_ImageState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max()
85};
86bool ImageStatus_ImageState_IsValid(int value);
87const ImageStatus_ImageState ImageStatus_ImageState_ImageState_MIN = ImageStatus_ImageState_UNDEFINED_STATE;
88const ImageStatus_ImageState ImageStatus_ImageState_ImageState_MAX = ImageStatus_ImageState_ACTIVATION_FAILED;
89const int ImageStatus_ImageState_ImageState_ARRAYSIZE = ImageStatus_ImageState_ImageState_MAX + 1;
90
91const ::google::protobuf::EnumDescriptor* ImageStatus_ImageState_descriptor();
92inline const ::std::string& ImageStatus_ImageState_Name(ImageStatus_ImageState value) {
93 return ::google::protobuf::internal::NameOfEnum(
94 ImageStatus_ImageState_descriptor(), value);
95}
96inline bool ImageStatus_ImageState_Parse(
97 const ::std::string& name, ImageStatus_ImageState* value) {
98 return ::google::protobuf::internal::ParseNamedEnum<ImageStatus_ImageState>(
99 ImageStatus_ImageState_descriptor(), name, value);
100}
101enum ImageStatus_Reason {
102 ImageStatus_Reason_UNDEFINED_REASON = 0,
103 ImageStatus_Reason_ERROR_IN_REQUEST = 1,
104 ImageStatus_Reason_INTERNAL_ERROR = 2,
105 ImageStatus_Reason_DEVICE_IN_WRONG_STATE = 3,
106 ImageStatus_Reason_INVALID_IMAGE = 4,
107 ImageStatus_Reason_WRONG_IMAGE_CHECKSUM = 5,
108 ImageStatus_Reason_OPERATION_ALREADY_IN_PROGRESS = 6,
109 ImageStatus_Reason_UNKNOWN_DEVICE = 7,
110 ImageStatus_Reason_DEVICE_NOT_REACHABLE = 8,
111 ImageStatus_Reason_ImageStatus_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(),
112 ImageStatus_Reason_ImageStatus_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max()
113};
114bool ImageStatus_Reason_IsValid(int value);
115const ImageStatus_Reason ImageStatus_Reason_Reason_MIN = ImageStatus_Reason_UNDEFINED_REASON;
116const ImageStatus_Reason ImageStatus_Reason_Reason_MAX = ImageStatus_Reason_DEVICE_NOT_REACHABLE;
117const int ImageStatus_Reason_Reason_ARRAYSIZE = ImageStatus_Reason_Reason_MAX + 1;
118
119const ::google::protobuf::EnumDescriptor* ImageStatus_Reason_descriptor();
120inline const ::std::string& ImageStatus_Reason_Name(ImageStatus_Reason value) {
121 return ::google::protobuf::internal::NameOfEnum(
122 ImageStatus_Reason_descriptor(), value);
123}
124inline bool ImageStatus_Reason_Parse(
125 const ::std::string& name, ImageStatus_Reason* value) {
126 return ::google::protobuf::internal::ParseNamedEnum<ImageStatus_Reason>(
127 ImageStatus_Reason_descriptor(), name, value);
128}
129// ===================================================================
130
131class ImageVersion final :
132 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.ImageVersion) */ {
133 public:
134 ImageVersion();
135 virtual ~ImageVersion();
136
137 ImageVersion(const ImageVersion& from);
138
139 inline ImageVersion& operator=(const ImageVersion& from) {
140 CopyFrom(from);
141 return *this;
142 }
143 #if LANG_CXX11
144 ImageVersion(ImageVersion&& from) noexcept
145 : ImageVersion() {
146 *this = ::std::move(from);
147 }
148
149 inline ImageVersion& operator=(ImageVersion&& from) noexcept {
150 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
151 if (this != &from) InternalSwap(&from);
152 } else {
153 CopyFrom(from);
154 }
155 return *this;
156 }
157 #endif
158 static const ::google::protobuf::Descriptor* descriptor() {
159 return default_instance().GetDescriptor();
160 }
161 static const ImageVersion& default_instance();
162
163 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
164 static inline const ImageVersion* internal_default_instance() {
165 return reinterpret_cast<const ImageVersion*>(
166 &_ImageVersion_default_instance_);
167 }
168 static constexpr int kIndexInFileMessages =
169 0;
170
171 void Swap(ImageVersion* other);
172 friend void swap(ImageVersion& a, ImageVersion& b) {
173 a.Swap(&b);
174 }
175
176 // implements Message ----------------------------------------------
177
178 inline ImageVersion* New() const final {
179 return CreateMaybeMessage<ImageVersion>(nullptr);
180 }
181
182 ImageVersion* New(::google::protobuf::Arena* arena) const final {
183 return CreateMaybeMessage<ImageVersion>(arena);
184 }
185 void CopyFrom(const ::google::protobuf::Message& from) final;
186 void MergeFrom(const ::google::protobuf::Message& from) final;
187 void CopyFrom(const ImageVersion& from);
188 void MergeFrom(const ImageVersion& from);
189 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
190 bool IsInitialized() const final;
191
192 size_t ByteSizeLong() const final;
193 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
194 static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
195 ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
196 #else
197 bool MergePartialFromCodedStream(
198 ::google::protobuf::io::CodedInputStream* input) final;
199 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
200 void SerializeWithCachedSizes(
201 ::google::protobuf::io::CodedOutputStream* output) const final;
202 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
203 ::google::protobuf::uint8* target) const final;
204 int GetCachedSize() const final { return _cached_size_.Get(); }
205
206 private:
207 void SharedCtor();
208 void SharedDtor();
209 void SetCachedSize(int size) const final;
210 void InternalSwap(ImageVersion* other);
211 private:
212 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
213 return nullptr;
214 }
215 inline void* MaybeArenaPtr() const {
216 return nullptr;
217 }
218 public:
219
220 ::google::protobuf::Metadata GetMetadata() const final;
221
222 // nested types ----------------------------------------------------
223
224 // accessors -------------------------------------------------------
225
226 // string image_name = 1;
227 void clear_image_name();
228 static const int kImageNameFieldNumber = 1;
229 const ::std::string& image_name() const;
230 void set_image_name(const ::std::string& value);
231 #if LANG_CXX11
232 void set_image_name(::std::string&& value);
233 #endif
234 void set_image_name(const char* value);
235 void set_image_name(const char* value, size_t size);
236 ::std::string* mutable_image_name();
237 ::std::string* release_image_name();
238 void set_allocated_image_name(::std::string* image_name);
239
240 // string version = 2;
241 void clear_version();
242 static const int kVersionFieldNumber = 2;
243 const ::std::string& version() const;
244 void set_version(const ::std::string& value);
245 #if LANG_CXX11
246 void set_version(::std::string&& value);
247 #endif
248 void set_version(const char* value);
249 void set_version(const char* value, size_t size);
250 ::std::string* mutable_version();
251 ::std::string* release_version();
252 void set_allocated_version(::std::string* version);
253
254 // @@protoc_insertion_point(class_scope:dmi.ImageVersion)
255 private:
256 class HasBitSetters;
257
258 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
259 ::google::protobuf::internal::ArenaStringPtr image_name_;
260 ::google::protobuf::internal::ArenaStringPtr version_;
261 mutable ::google::protobuf::internal::CachedSize _cached_size_;
262 friend struct ::TableStruct_dmi_2fsw_5fimage_2eproto;
263};
264// -------------------------------------------------------------------
265
266class ImageInformation final :
267 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.ImageInformation) */ {
268 public:
269 ImageInformation();
270 virtual ~ImageInformation();
271
272 ImageInformation(const ImageInformation& from);
273
274 inline ImageInformation& operator=(const ImageInformation& from) {
275 CopyFrom(from);
276 return *this;
277 }
278 #if LANG_CXX11
279 ImageInformation(ImageInformation&& from) noexcept
280 : ImageInformation() {
281 *this = ::std::move(from);
282 }
283
284 inline ImageInformation& operator=(ImageInformation&& from) noexcept {
285 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
286 if (this != &from) InternalSwap(&from);
287 } else {
288 CopyFrom(from);
289 }
290 return *this;
291 }
292 #endif
293 static const ::google::protobuf::Descriptor* descriptor() {
294 return default_instance().GetDescriptor();
295 }
296 static const ImageInformation& default_instance();
297
298 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
299 static inline const ImageInformation* internal_default_instance() {
300 return reinterpret_cast<const ImageInformation*>(
301 &_ImageInformation_default_instance_);
302 }
303 static constexpr int kIndexInFileMessages =
304 1;
305
306 void Swap(ImageInformation* other);
307 friend void swap(ImageInformation& a, ImageInformation& b) {
308 a.Swap(&b);
309 }
310
311 // implements Message ----------------------------------------------
312
313 inline ImageInformation* New() const final {
314 return CreateMaybeMessage<ImageInformation>(nullptr);
315 }
316
317 ImageInformation* New(::google::protobuf::Arena* arena) const final {
318 return CreateMaybeMessage<ImageInformation>(arena);
319 }
320 void CopyFrom(const ::google::protobuf::Message& from) final;
321 void MergeFrom(const ::google::protobuf::Message& from) final;
322 void CopyFrom(const ImageInformation& from);
323 void MergeFrom(const ImageInformation& from);
324 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
325 bool IsInitialized() const final;
326
327 size_t ByteSizeLong() const final;
328 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
329 static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
330 ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
331 #else
332 bool MergePartialFromCodedStream(
333 ::google::protobuf::io::CodedInputStream* input) final;
334 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
335 void SerializeWithCachedSizes(
336 ::google::protobuf::io::CodedOutputStream* output) const final;
337 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
338 ::google::protobuf::uint8* target) const final;
339 int GetCachedSize() const final { return _cached_size_.Get(); }
340
341 private:
342 void SharedCtor();
343 void SharedDtor();
344 void SetCachedSize(int size) const final;
345 void InternalSwap(ImageInformation* other);
346 private:
347 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
348 return nullptr;
349 }
350 inline void* MaybeArenaPtr() const {
351 return nullptr;
352 }
353 public:
354
355 ::google::protobuf::Metadata GetMetadata() const final;
356
357 // nested types ----------------------------------------------------
358
359 // accessors -------------------------------------------------------
360
361 // string image_install_script = 2;
362 void clear_image_install_script();
363 static const int kImageInstallScriptFieldNumber = 2;
364 const ::std::string& image_install_script() const;
365 void set_image_install_script(const ::std::string& value);
366 #if LANG_CXX11
367 void set_image_install_script(::std::string&& value);
368 #endif
369 void set_image_install_script(const char* value);
370 void set_image_install_script(const char* value, size_t size);
371 ::std::string* mutable_image_install_script();
372 ::std::string* release_image_install_script();
373 void set_allocated_image_install_script(::std::string* image_install_script);
374
375 // string image_url = 3;
376 void clear_image_url();
377 static const int kImageUrlFieldNumber = 3;
378 const ::std::string& image_url() const;
379 void set_image_url(const ::std::string& value);
380 #if LANG_CXX11
381 void set_image_url(::std::string&& value);
382 #endif
383 void set_image_url(const char* value);
384 void set_image_url(const char* value, size_t size);
385 ::std::string* mutable_image_url();
386 ::std::string* release_image_url();
387 void set_allocated_image_url(::std::string* image_url);
388
389 // string sha256sum = 5;
390 void clear_sha256sum();
391 static const int kSha256SumFieldNumber = 5;
392 const ::std::string& sha256sum() const;
393 void set_sha256sum(const ::std::string& value);
394 #if LANG_CXX11
395 void set_sha256sum(::std::string&& value);
396 #endif
397 void set_sha256sum(const char* value);
398 void set_sha256sum(const char* value, size_t size);
399 ::std::string* mutable_sha256sum();
400 ::std::string* release_sha256sum();
401 void set_allocated_sha256sum(::std::string* sha256sum);
402
403 // .dmi.ImageVersion image = 1;
404 bool has_image() const;
405 void clear_image();
406 static const int kImageFieldNumber = 1;
407 const ::dmi::ImageVersion& image() const;
408 ::dmi::ImageVersion* release_image();
409 ::dmi::ImageVersion* mutable_image();
410 void set_allocated_image(::dmi::ImageVersion* image);
411
412 // @@protoc_insertion_point(class_scope:dmi.ImageInformation)
413 private:
414 class HasBitSetters;
415
416 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
417 ::google::protobuf::internal::ArenaStringPtr image_install_script_;
418 ::google::protobuf::internal::ArenaStringPtr image_url_;
419 ::google::protobuf::internal::ArenaStringPtr sha256sum_;
420 ::dmi::ImageVersion* image_;
421 mutable ::google::protobuf::internal::CachedSize _cached_size_;
422 friend struct ::TableStruct_dmi_2fsw_5fimage_2eproto;
423};
424// -------------------------------------------------------------------
425
426class ImageStatus final :
427 public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dmi.ImageStatus) */ {
428 public:
429 ImageStatus();
430 virtual ~ImageStatus();
431
432 ImageStatus(const ImageStatus& from);
433
434 inline ImageStatus& operator=(const ImageStatus& from) {
435 CopyFrom(from);
436 return *this;
437 }
438 #if LANG_CXX11
439 ImageStatus(ImageStatus&& from) noexcept
440 : ImageStatus() {
441 *this = ::std::move(from);
442 }
443
444 inline ImageStatus& operator=(ImageStatus&& from) noexcept {
445 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
446 if (this != &from) InternalSwap(&from);
447 } else {
448 CopyFrom(from);
449 }
450 return *this;
451 }
452 #endif
453 static const ::google::protobuf::Descriptor* descriptor() {
454 return default_instance().GetDescriptor();
455 }
456 static const ImageStatus& default_instance();
457
458 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
459 static inline const ImageStatus* internal_default_instance() {
460 return reinterpret_cast<const ImageStatus*>(
461 &_ImageStatus_default_instance_);
462 }
463 static constexpr int kIndexInFileMessages =
464 2;
465
466 void Swap(ImageStatus* other);
467 friend void swap(ImageStatus& a, ImageStatus& b) {
468 a.Swap(&b);
469 }
470
471 // implements Message ----------------------------------------------
472
473 inline ImageStatus* New() const final {
474 return CreateMaybeMessage<ImageStatus>(nullptr);
475 }
476
477 ImageStatus* New(::google::protobuf::Arena* arena) const final {
478 return CreateMaybeMessage<ImageStatus>(arena);
479 }
480 void CopyFrom(const ::google::protobuf::Message& from) final;
481 void MergeFrom(const ::google::protobuf::Message& from) final;
482 void CopyFrom(const ImageStatus& from);
483 void MergeFrom(const ImageStatus& from);
484 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
485 bool IsInitialized() const final;
486
487 size_t ByteSizeLong() const final;
488 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
489 static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
490 ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
491 #else
492 bool MergePartialFromCodedStream(
493 ::google::protobuf::io::CodedInputStream* input) final;
494 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
495 void SerializeWithCachedSizes(
496 ::google::protobuf::io::CodedOutputStream* output) const final;
497 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
498 ::google::protobuf::uint8* target) const final;
499 int GetCachedSize() const final { return _cached_size_.Get(); }
500
501 private:
502 void SharedCtor();
503 void SharedDtor();
504 void SetCachedSize(int size) const final;
505 void InternalSwap(ImageStatus* other);
506 private:
507 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
508 return nullptr;
509 }
510 inline void* MaybeArenaPtr() const {
511 return nullptr;
512 }
513 public:
514
515 ::google::protobuf::Metadata GetMetadata() const final;
516
517 // nested types ----------------------------------------------------
518
519 typedef ImageStatus_ImageState ImageState;
520 static const ImageState UNDEFINED_STATE =
521 ImageStatus_ImageState_UNDEFINED_STATE;
522 static const ImageState COPYING_IMAGE =
523 ImageStatus_ImageState_COPYING_IMAGE;
524 static const ImageState INSTALLING_IMAGE =
525 ImageStatus_ImageState_INSTALLING_IMAGE;
526 static const ImageState COMMITTING_IMAGE =
527 ImageStatus_ImageState_COMMITTING_IMAGE;
528 static const ImageState REBOOTING_DEVICE =
529 ImageStatus_ImageState_REBOOTING_DEVICE;
530 static const ImageState UPGRADE_COMPLETE =
531 ImageStatus_ImageState_UPGRADE_COMPLETE;
532 static const ImageState UPGRADE_FAILED =
533 ImageStatus_ImageState_UPGRADE_FAILED;
534 static const ImageState ACTIVATION_COMPLETE =
535 ImageStatus_ImageState_ACTIVATION_COMPLETE;
536 static const ImageState ACTIVATION_FAILED =
537 ImageStatus_ImageState_ACTIVATION_FAILED;
538 static inline bool ImageState_IsValid(int value) {
539 return ImageStatus_ImageState_IsValid(value);
540 }
541 static const ImageState ImageState_MIN =
542 ImageStatus_ImageState_ImageState_MIN;
543 static const ImageState ImageState_MAX =
544 ImageStatus_ImageState_ImageState_MAX;
545 static const int ImageState_ARRAYSIZE =
546 ImageStatus_ImageState_ImageState_ARRAYSIZE;
547 static inline const ::google::protobuf::EnumDescriptor*
548 ImageState_descriptor() {
549 return ImageStatus_ImageState_descriptor();
550 }
551 static inline const ::std::string& ImageState_Name(ImageState value) {
552 return ImageStatus_ImageState_Name(value);
553 }
554 static inline bool ImageState_Parse(const ::std::string& name,
555 ImageState* value) {
556 return ImageStatus_ImageState_Parse(name, value);
557 }
558
559 typedef ImageStatus_Reason Reason;
560 static const Reason UNDEFINED_REASON =
561 ImageStatus_Reason_UNDEFINED_REASON;
562 static const Reason ERROR_IN_REQUEST =
563 ImageStatus_Reason_ERROR_IN_REQUEST;
564 static const Reason INTERNAL_ERROR =
565 ImageStatus_Reason_INTERNAL_ERROR;
566 static const Reason DEVICE_IN_WRONG_STATE =
567 ImageStatus_Reason_DEVICE_IN_WRONG_STATE;
568 static const Reason INVALID_IMAGE =
569 ImageStatus_Reason_INVALID_IMAGE;
570 static const Reason WRONG_IMAGE_CHECKSUM =
571 ImageStatus_Reason_WRONG_IMAGE_CHECKSUM;
572 static const Reason OPERATION_ALREADY_IN_PROGRESS =
573 ImageStatus_Reason_OPERATION_ALREADY_IN_PROGRESS;
574 static const Reason UNKNOWN_DEVICE =
575 ImageStatus_Reason_UNKNOWN_DEVICE;
576 static const Reason DEVICE_NOT_REACHABLE =
577 ImageStatus_Reason_DEVICE_NOT_REACHABLE;
578 static inline bool Reason_IsValid(int value) {
579 return ImageStatus_Reason_IsValid(value);
580 }
581 static const Reason Reason_MIN =
582 ImageStatus_Reason_Reason_MIN;
583 static const Reason Reason_MAX =
584 ImageStatus_Reason_Reason_MAX;
585 static const int Reason_ARRAYSIZE =
586 ImageStatus_Reason_Reason_ARRAYSIZE;
587 static inline const ::google::protobuf::EnumDescriptor*
588 Reason_descriptor() {
589 return ImageStatus_Reason_descriptor();
590 }
591 static inline const ::std::string& Reason_Name(Reason value) {
592 return ImageStatus_Reason_Name(value);
593 }
594 static inline bool Reason_Parse(const ::std::string& name,
595 Reason* value) {
596 return ImageStatus_Reason_Parse(name, value);
597 }
598
599 // accessors -------------------------------------------------------
600
601 // string description = 4;
602 void clear_description();
603 static const int kDescriptionFieldNumber = 4;
604 const ::std::string& description() const;
605 void set_description(const ::std::string& value);
606 #if LANG_CXX11
607 void set_description(::std::string&& value);
608 #endif
609 void set_description(const char* value);
610 void set_description(const char* value, size_t size);
611 ::std::string* mutable_description();
612 ::std::string* release_description();
613 void set_allocated_description(::std::string* description);
614
615 // string reason_detail = 5;
616 void clear_reason_detail();
617 static const int kReasonDetailFieldNumber = 5;
618 const ::std::string& reason_detail() const;
619 void set_reason_detail(const ::std::string& value);
620 #if LANG_CXX11
621 void set_reason_detail(::std::string&& value);
622 #endif
623 void set_reason_detail(const char* value);
624 void set_reason_detail(const char* value, size_t size);
625 ::std::string* mutable_reason_detail();
626 ::std::string* release_reason_detail();
627 void set_allocated_reason_detail(::std::string* reason_detail);
628
629 // .dmi.Status status = 1;
630 void clear_status();
631 static const int kStatusFieldNumber = 1;
632 ::dmi::Status status() const;
633 void set_status(::dmi::Status value);
634
635 // .dmi.ImageStatus.Reason reason = 2;
636 void clear_reason();
637 static const int kReasonFieldNumber = 2;
638 ::dmi::ImageStatus_Reason reason() const;
639 void set_reason(::dmi::ImageStatus_Reason value);
640
641 // .dmi.ImageStatus.ImageState state = 3;
642 void clear_state();
643 static const int kStateFieldNumber = 3;
644 ::dmi::ImageStatus_ImageState state() const;
645 void set_state(::dmi::ImageStatus_ImageState value);
646
647 // @@protoc_insertion_point(class_scope:dmi.ImageStatus)
648 private:
649 class HasBitSetters;
650
651 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
652 ::google::protobuf::internal::ArenaStringPtr description_;
653 ::google::protobuf::internal::ArenaStringPtr reason_detail_;
654 int status_;
655 int reason_;
656 int state_;
657 mutable ::google::protobuf::internal::CachedSize _cached_size_;
658 friend struct ::TableStruct_dmi_2fsw_5fimage_2eproto;
659};
660// ===================================================================
661
662
663// ===================================================================
664
665#ifdef __GNUC__
666 #pragma GCC diagnostic push
667 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
668#endif // __GNUC__
669// ImageVersion
670
671// string image_name = 1;
672inline void ImageVersion::clear_image_name() {
673 image_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
674}
675inline const ::std::string& ImageVersion::image_name() const {
676 // @@protoc_insertion_point(field_get:dmi.ImageVersion.image_name)
677 return image_name_.GetNoArena();
678}
679inline void ImageVersion::set_image_name(const ::std::string& value) {
680
681 image_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
682 // @@protoc_insertion_point(field_set:dmi.ImageVersion.image_name)
683}
684#if LANG_CXX11
685inline void ImageVersion::set_image_name(::std::string&& value) {
686
687 image_name_.SetNoArena(
688 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
689 // @@protoc_insertion_point(field_set_rvalue:dmi.ImageVersion.image_name)
690}
691#endif
692inline void ImageVersion::set_image_name(const char* value) {
693 GOOGLE_DCHECK(value != nullptr);
694
695 image_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
696 // @@protoc_insertion_point(field_set_char:dmi.ImageVersion.image_name)
697}
698inline void ImageVersion::set_image_name(const char* value, size_t size) {
699
700 image_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
701 ::std::string(reinterpret_cast<const char*>(value), size));
702 // @@protoc_insertion_point(field_set_pointer:dmi.ImageVersion.image_name)
703}
704inline ::std::string* ImageVersion::mutable_image_name() {
705
706 // @@protoc_insertion_point(field_mutable:dmi.ImageVersion.image_name)
707 return image_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
708}
709inline ::std::string* ImageVersion::release_image_name() {
710 // @@protoc_insertion_point(field_release:dmi.ImageVersion.image_name)
711
712 return image_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
713}
714inline void ImageVersion::set_allocated_image_name(::std::string* image_name) {
715 if (image_name != nullptr) {
716
717 } else {
718
719 }
720 image_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), image_name);
721 // @@protoc_insertion_point(field_set_allocated:dmi.ImageVersion.image_name)
722}
723
724// string version = 2;
725inline void ImageVersion::clear_version() {
726 version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
727}
728inline const ::std::string& ImageVersion::version() const {
729 // @@protoc_insertion_point(field_get:dmi.ImageVersion.version)
730 return version_.GetNoArena();
731}
732inline void ImageVersion::set_version(const ::std::string& value) {
733
734 version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
735 // @@protoc_insertion_point(field_set:dmi.ImageVersion.version)
736}
737#if LANG_CXX11
738inline void ImageVersion::set_version(::std::string&& value) {
739
740 version_.SetNoArena(
741 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
742 // @@protoc_insertion_point(field_set_rvalue:dmi.ImageVersion.version)
743}
744#endif
745inline void ImageVersion::set_version(const char* value) {
746 GOOGLE_DCHECK(value != nullptr);
747
748 version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
749 // @@protoc_insertion_point(field_set_char:dmi.ImageVersion.version)
750}
751inline void ImageVersion::set_version(const char* value, size_t size) {
752
753 version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
754 ::std::string(reinterpret_cast<const char*>(value), size));
755 // @@protoc_insertion_point(field_set_pointer:dmi.ImageVersion.version)
756}
757inline ::std::string* ImageVersion::mutable_version() {
758
759 // @@protoc_insertion_point(field_mutable:dmi.ImageVersion.version)
760 return version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
761}
762inline ::std::string* ImageVersion::release_version() {
763 // @@protoc_insertion_point(field_release:dmi.ImageVersion.version)
764
765 return version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
766}
767inline void ImageVersion::set_allocated_version(::std::string* version) {
768 if (version != nullptr) {
769
770 } else {
771
772 }
773 version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version);
774 // @@protoc_insertion_point(field_set_allocated:dmi.ImageVersion.version)
775}
776
777// -------------------------------------------------------------------
778
779// ImageInformation
780
781// .dmi.ImageVersion image = 1;
782inline bool ImageInformation::has_image() const {
783 return this != internal_default_instance() && image_ != nullptr;
784}
785inline void ImageInformation::clear_image() {
786 if (GetArenaNoVirtual() == nullptr && image_ != nullptr) {
787 delete image_;
788 }
789 image_ = nullptr;
790}
791inline const ::dmi::ImageVersion& ImageInformation::image() const {
792 const ::dmi::ImageVersion* p = image_;
793 // @@protoc_insertion_point(field_get:dmi.ImageInformation.image)
794 return p != nullptr ? *p : *reinterpret_cast<const ::dmi::ImageVersion*>(
795 &::dmi::_ImageVersion_default_instance_);
796}
797inline ::dmi::ImageVersion* ImageInformation::release_image() {
798 // @@protoc_insertion_point(field_release:dmi.ImageInformation.image)
799
800 ::dmi::ImageVersion* temp = image_;
801 image_ = nullptr;
802 return temp;
803}
804inline ::dmi::ImageVersion* ImageInformation::mutable_image() {
805
806 if (image_ == nullptr) {
807 auto* p = CreateMaybeMessage<::dmi::ImageVersion>(GetArenaNoVirtual());
808 image_ = p;
809 }
810 // @@protoc_insertion_point(field_mutable:dmi.ImageInformation.image)
811 return image_;
812}
813inline void ImageInformation::set_allocated_image(::dmi::ImageVersion* image) {
814 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
815 if (message_arena == nullptr) {
816 delete image_;
817 }
818 if (image) {
819 ::google::protobuf::Arena* submessage_arena = nullptr;
820 if (message_arena != submessage_arena) {
821 image = ::google::protobuf::internal::GetOwnedMessage(
822 message_arena, image, submessage_arena);
823 }
824
825 } else {
826
827 }
828 image_ = image;
829 // @@protoc_insertion_point(field_set_allocated:dmi.ImageInformation.image)
830}
831
832// string image_install_script = 2;
833inline void ImageInformation::clear_image_install_script() {
834 image_install_script_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
835}
836inline const ::std::string& ImageInformation::image_install_script() const {
837 // @@protoc_insertion_point(field_get:dmi.ImageInformation.image_install_script)
838 return image_install_script_.GetNoArena();
839}
840inline void ImageInformation::set_image_install_script(const ::std::string& value) {
841
842 image_install_script_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
843 // @@protoc_insertion_point(field_set:dmi.ImageInformation.image_install_script)
844}
845#if LANG_CXX11
846inline void ImageInformation::set_image_install_script(::std::string&& value) {
847
848 image_install_script_.SetNoArena(
849 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
850 // @@protoc_insertion_point(field_set_rvalue:dmi.ImageInformation.image_install_script)
851}
852#endif
853inline void ImageInformation::set_image_install_script(const char* value) {
854 GOOGLE_DCHECK(value != nullptr);
855
856 image_install_script_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
857 // @@protoc_insertion_point(field_set_char:dmi.ImageInformation.image_install_script)
858}
859inline void ImageInformation::set_image_install_script(const char* value, size_t size) {
860
861 image_install_script_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
862 ::std::string(reinterpret_cast<const char*>(value), size));
863 // @@protoc_insertion_point(field_set_pointer:dmi.ImageInformation.image_install_script)
864}
865inline ::std::string* ImageInformation::mutable_image_install_script() {
866
867 // @@protoc_insertion_point(field_mutable:dmi.ImageInformation.image_install_script)
868 return image_install_script_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
869}
870inline ::std::string* ImageInformation::release_image_install_script() {
871 // @@protoc_insertion_point(field_release:dmi.ImageInformation.image_install_script)
872
873 return image_install_script_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
874}
875inline void ImageInformation::set_allocated_image_install_script(::std::string* image_install_script) {
876 if (image_install_script != nullptr) {
877
878 } else {
879
880 }
881 image_install_script_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), image_install_script);
882 // @@protoc_insertion_point(field_set_allocated:dmi.ImageInformation.image_install_script)
883}
884
885// string image_url = 3;
886inline void ImageInformation::clear_image_url() {
887 image_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
888}
889inline const ::std::string& ImageInformation::image_url() const {
890 // @@protoc_insertion_point(field_get:dmi.ImageInformation.image_url)
891 return image_url_.GetNoArena();
892}
893inline void ImageInformation::set_image_url(const ::std::string& value) {
894
895 image_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
896 // @@protoc_insertion_point(field_set:dmi.ImageInformation.image_url)
897}
898#if LANG_CXX11
899inline void ImageInformation::set_image_url(::std::string&& value) {
900
901 image_url_.SetNoArena(
902 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
903 // @@protoc_insertion_point(field_set_rvalue:dmi.ImageInformation.image_url)
904}
905#endif
906inline void ImageInformation::set_image_url(const char* value) {
907 GOOGLE_DCHECK(value != nullptr);
908
909 image_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
910 // @@protoc_insertion_point(field_set_char:dmi.ImageInformation.image_url)
911}
912inline void ImageInformation::set_image_url(const char* value, size_t size) {
913
914 image_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
915 ::std::string(reinterpret_cast<const char*>(value), size));
916 // @@protoc_insertion_point(field_set_pointer:dmi.ImageInformation.image_url)
917}
918inline ::std::string* ImageInformation::mutable_image_url() {
919
920 // @@protoc_insertion_point(field_mutable:dmi.ImageInformation.image_url)
921 return image_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
922}
923inline ::std::string* ImageInformation::release_image_url() {
924 // @@protoc_insertion_point(field_release:dmi.ImageInformation.image_url)
925
926 return image_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
927}
928inline void ImageInformation::set_allocated_image_url(::std::string* image_url) {
929 if (image_url != nullptr) {
930
931 } else {
932
933 }
934 image_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), image_url);
935 // @@protoc_insertion_point(field_set_allocated:dmi.ImageInformation.image_url)
936}
937
938// string sha256sum = 5;
939inline void ImageInformation::clear_sha256sum() {
940 sha256sum_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
941}
942inline const ::std::string& ImageInformation::sha256sum() const {
943 // @@protoc_insertion_point(field_get:dmi.ImageInformation.sha256sum)
944 return sha256sum_.GetNoArena();
945}
946inline void ImageInformation::set_sha256sum(const ::std::string& value) {
947
948 sha256sum_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
949 // @@protoc_insertion_point(field_set:dmi.ImageInformation.sha256sum)
950}
951#if LANG_CXX11
952inline void ImageInformation::set_sha256sum(::std::string&& value) {
953
954 sha256sum_.SetNoArena(
955 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
956 // @@protoc_insertion_point(field_set_rvalue:dmi.ImageInformation.sha256sum)
957}
958#endif
959inline void ImageInformation::set_sha256sum(const char* value) {
960 GOOGLE_DCHECK(value != nullptr);
961
962 sha256sum_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
963 // @@protoc_insertion_point(field_set_char:dmi.ImageInformation.sha256sum)
964}
965inline void ImageInformation::set_sha256sum(const char* value, size_t size) {
966
967 sha256sum_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
968 ::std::string(reinterpret_cast<const char*>(value), size));
969 // @@protoc_insertion_point(field_set_pointer:dmi.ImageInformation.sha256sum)
970}
971inline ::std::string* ImageInformation::mutable_sha256sum() {
972
973 // @@protoc_insertion_point(field_mutable:dmi.ImageInformation.sha256sum)
974 return sha256sum_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
975}
976inline ::std::string* ImageInformation::release_sha256sum() {
977 // @@protoc_insertion_point(field_release:dmi.ImageInformation.sha256sum)
978
979 return sha256sum_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
980}
981inline void ImageInformation::set_allocated_sha256sum(::std::string* sha256sum) {
982 if (sha256sum != nullptr) {
983
984 } else {
985
986 }
987 sha256sum_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), sha256sum);
988 // @@protoc_insertion_point(field_set_allocated:dmi.ImageInformation.sha256sum)
989}
990
991// -------------------------------------------------------------------
992
993// ImageStatus
994
995// .dmi.Status status = 1;
996inline void ImageStatus::clear_status() {
997 status_ = 0;
998}
999inline ::dmi::Status ImageStatus::status() const {
1000 // @@protoc_insertion_point(field_get:dmi.ImageStatus.status)
1001 return static_cast< ::dmi::Status >(status_);
1002}
1003inline void ImageStatus::set_status(::dmi::Status value) {
1004
1005 status_ = value;
1006 // @@protoc_insertion_point(field_set:dmi.ImageStatus.status)
1007}
1008
1009// .dmi.ImageStatus.Reason reason = 2;
1010inline void ImageStatus::clear_reason() {
1011 reason_ = 0;
1012}
1013inline ::dmi::ImageStatus_Reason ImageStatus::reason() const {
1014 // @@protoc_insertion_point(field_get:dmi.ImageStatus.reason)
1015 return static_cast< ::dmi::ImageStatus_Reason >(reason_);
1016}
1017inline void ImageStatus::set_reason(::dmi::ImageStatus_Reason value) {
1018
1019 reason_ = value;
1020 // @@protoc_insertion_point(field_set:dmi.ImageStatus.reason)
1021}
1022
1023// .dmi.ImageStatus.ImageState state = 3;
1024inline void ImageStatus::clear_state() {
1025 state_ = 0;
1026}
1027inline ::dmi::ImageStatus_ImageState ImageStatus::state() const {
1028 // @@protoc_insertion_point(field_get:dmi.ImageStatus.state)
1029 return static_cast< ::dmi::ImageStatus_ImageState >(state_);
1030}
1031inline void ImageStatus::set_state(::dmi::ImageStatus_ImageState value) {
1032
1033 state_ = value;
1034 // @@protoc_insertion_point(field_set:dmi.ImageStatus.state)
1035}
1036
1037// string description = 4;
1038inline void ImageStatus::clear_description() {
1039 description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1040}
1041inline const ::std::string& ImageStatus::description() const {
1042 // @@protoc_insertion_point(field_get:dmi.ImageStatus.description)
1043 return description_.GetNoArena();
1044}
1045inline void ImageStatus::set_description(const ::std::string& value) {
1046
1047 description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1048 // @@protoc_insertion_point(field_set:dmi.ImageStatus.description)
1049}
1050#if LANG_CXX11
1051inline void ImageStatus::set_description(::std::string&& value) {
1052
1053 description_.SetNoArena(
1054 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1055 // @@protoc_insertion_point(field_set_rvalue:dmi.ImageStatus.description)
1056}
1057#endif
1058inline void ImageStatus::set_description(const char* value) {
1059 GOOGLE_DCHECK(value != nullptr);
1060
1061 description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1062 // @@protoc_insertion_point(field_set_char:dmi.ImageStatus.description)
1063}
1064inline void ImageStatus::set_description(const char* value, size_t size) {
1065
1066 description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1067 ::std::string(reinterpret_cast<const char*>(value), size));
1068 // @@protoc_insertion_point(field_set_pointer:dmi.ImageStatus.description)
1069}
1070inline ::std::string* ImageStatus::mutable_description() {
1071
1072 // @@protoc_insertion_point(field_mutable:dmi.ImageStatus.description)
1073 return description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1074}
1075inline ::std::string* ImageStatus::release_description() {
1076 // @@protoc_insertion_point(field_release:dmi.ImageStatus.description)
1077
1078 return description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1079}
1080inline void ImageStatus::set_allocated_description(::std::string* description) {
1081 if (description != nullptr) {
1082
1083 } else {
1084
1085 }
1086 description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), description);
1087 // @@protoc_insertion_point(field_set_allocated:dmi.ImageStatus.description)
1088}
1089
1090// string reason_detail = 5;
1091inline void ImageStatus::clear_reason_detail() {
1092 reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1093}
1094inline const ::std::string& ImageStatus::reason_detail() const {
1095 // @@protoc_insertion_point(field_get:dmi.ImageStatus.reason_detail)
1096 return reason_detail_.GetNoArena();
1097}
1098inline void ImageStatus::set_reason_detail(const ::std::string& value) {
1099
1100 reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1101 // @@protoc_insertion_point(field_set:dmi.ImageStatus.reason_detail)
1102}
1103#if LANG_CXX11
1104inline void ImageStatus::set_reason_detail(::std::string&& value) {
1105
1106 reason_detail_.SetNoArena(
1107 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1108 // @@protoc_insertion_point(field_set_rvalue:dmi.ImageStatus.reason_detail)
1109}
1110#endif
1111inline void ImageStatus::set_reason_detail(const char* value) {
1112 GOOGLE_DCHECK(value != nullptr);
1113
1114 reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1115 // @@protoc_insertion_point(field_set_char:dmi.ImageStatus.reason_detail)
1116}
1117inline void ImageStatus::set_reason_detail(const char* value, size_t size) {
1118
1119 reason_detail_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1120 ::std::string(reinterpret_cast<const char*>(value), size));
1121 // @@protoc_insertion_point(field_set_pointer:dmi.ImageStatus.reason_detail)
1122}
1123inline ::std::string* ImageStatus::mutable_reason_detail() {
1124
1125 // @@protoc_insertion_point(field_mutable:dmi.ImageStatus.reason_detail)
1126 return reason_detail_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1127}
1128inline ::std::string* ImageStatus::release_reason_detail() {
1129 // @@protoc_insertion_point(field_release:dmi.ImageStatus.reason_detail)
1130
1131 return reason_detail_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1132}
1133inline void ImageStatus::set_allocated_reason_detail(::std::string* reason_detail) {
1134 if (reason_detail != nullptr) {
1135
1136 } else {
1137
1138 }
1139 reason_detail_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason_detail);
1140 // @@protoc_insertion_point(field_set_allocated:dmi.ImageStatus.reason_detail)
1141}
1142
1143#ifdef __GNUC__
1144 #pragma GCC diagnostic pop
1145#endif // __GNUC__
1146// -------------------------------------------------------------------
1147
1148// -------------------------------------------------------------------
1149
1150
1151// @@protoc_insertion_point(namespace_scope)
1152
1153} // namespace dmi
1154
1155namespace google {
1156namespace protobuf {
1157
1158template <> struct is_proto_enum< ::dmi::ImageStatus_ImageState> : ::std::true_type {};
1159template <>
1160inline const EnumDescriptor* GetEnumDescriptor< ::dmi::ImageStatus_ImageState>() {
1161 return ::dmi::ImageStatus_ImageState_descriptor();
1162}
1163template <> struct is_proto_enum< ::dmi::ImageStatus_Reason> : ::std::true_type {};
1164template <>
1165inline const EnumDescriptor* GetEnumDescriptor< ::dmi::ImageStatus_Reason>() {
1166 return ::dmi::ImageStatus_Reason_descriptor();
1167}
1168
1169} // namespace protobuf
1170} // namespace google
1171
1172// @@protoc_insertion_point(global_scope)
1173
1174#include <google/protobuf/port_undef.inc>
1175#endif // PROTOBUF_INCLUDED_dmi_2fsw_5fimage_2eproto