4 #ifndef PROTOBUF_CameraImage_2eproto__INCLUDED
5 #define PROTOBUF_CameraImage_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 2006000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 2006001 < GOOGLE_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.
22 #include <google/protobuf/generated_message_util.h>
23 #include <google/protobuf/message.h>
24 #include <google/protobuf/repeated_field.h>
25 #include <google/protobuf/extension_set.h>
26 #include <google/protobuf/unknown_field_set.h>
27 #include "header.pb.h"
31 namespace SensorNearData {
35 void protobuf_AddDesc_CameraImage_2eproto();
36 void protobuf_AssignDesc_CameraImage_2eproto();
37 void protobuf_ShutdownFile_CameraImage_2eproto();
55 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
56 return _unknown_fields_;
59 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
60 return &_unknown_fields_;
63 static const ::google::protobuf::Descriptor* descriptor();
71 void CopyFrom(const ::google::protobuf::Message& from);
72 void MergeFrom(const ::google::protobuf::Message& from);
76 bool IsInitialized()
const;
79 bool MergePartialFromCodedStream(
80 ::google::protobuf::io::CodedInputStream* input);
81 void SerializeWithCachedSizes(
82 ::google::protobuf::io::CodedOutputStream* output)
const;
83 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
84 int GetCachedSize()
const {
return _cached_size_; }
88 void SetCachedSize(
int size)
const;
90 ::google::protobuf::Metadata GetMetadata()
const;
97 inline bool has_header()
const;
98 inline void clear_header();
99 static const int kHeaderFieldNumber = 1;
100 inline const ::pb::Header& header()
const;
101 inline ::pb::Header* mutable_header();
102 inline ::pb::Header* release_header();
103 inline void set_allocated_header(::
pb::Header* header);
106 inline bool has_image_counter()
const;
107 inline void clear_image_counter();
108 static const int kImageCounterFieldNumber = 2;
109 inline ::google::protobuf::uint32 image_counter()
const;
110 inline void set_image_counter(::google::protobuf::uint32 value);
113 inline bool has_image_width()
const;
114 inline void clear_image_width();
115 static const int kImageWidthFieldNumber = 3;
116 inline ::google::protobuf::int32 image_width()
const;
117 inline void set_image_width(::google::protobuf::int32 value);
120 inline bool has_image_height()
const;
121 inline void clear_image_height();
122 static const int kImageHeightFieldNumber = 4;
123 inline ::google::protobuf::int32 image_height()
const;
124 inline void set_image_height(::google::protobuf::int32 value);
127 inline bool has_image_shift_u()
const;
128 inline void clear_image_shift_u();
129 static const int kImageShiftUFieldNumber = 5;
130 inline ::google::protobuf::int32 image_shift_u()
const;
131 inline void set_image_shift_u(::google::protobuf::int32 value);
134 inline bool has_image_shift_v()
const;
135 inline void clear_image_shift_v();
136 static const int kImageShiftVFieldNumber = 6;
137 inline ::google::protobuf::int32 image_shift_v()
const;
138 inline void set_image_shift_v(::google::protobuf::int32 value);
141 inline bool has_o_image_width()
const;
142 inline void clear_o_image_width();
143 static const int kOImageWidthFieldNumber = 7;
144 inline ::google::protobuf::int32 o_image_width()
const;
145 inline void set_o_image_width(::google::protobuf::int32 value);
148 inline bool has_o_image_height()
const;
149 inline void clear_o_image_height();
150 static const int kOImageHeightFieldNumber = 8;
151 inline ::google::protobuf::int32 o_image_height()
const;
152 inline void set_o_image_height(::google::protobuf::int32 value);
155 inline bool has_imager_size_u()
const;
156 inline void clear_imager_size_u();
157 static const int kImagerSizeUFieldNumber = 9;
158 inline ::google::protobuf::int32 imager_size_u()
const;
159 inline void set_imager_size_u(::google::protobuf::int32 value);
162 inline bool has_imager_size_v()
const;
163 inline void clear_imager_size_v();
164 static const int kImagerSizeVFieldNumber = 10;
165 inline ::google::protobuf::int32 imager_size_v()
const;
166 inline void set_imager_size_v(::google::protobuf::int32 value);
169 inline bool has_o_image_pattern()
const;
170 inline void clear_o_image_pattern();
171 static const int kOImagePatternFieldNumber = 11;
172 inline ::google::protobuf::uint32 o_image_pattern()
const;
173 inline void set_o_image_pattern(::google::protobuf::uint32 value);
176 inline bool has_image_compressed()
const;
177 inline void clear_image_compressed();
178 static const int kImageCompressedFieldNumber = 12;
179 inline bool image_compressed()
const;
180 inline void set_image_compressed(
bool value);
183 inline bool has_image_compression_type()
const;
184 inline void clear_image_compression_type();
185 static const int kImageCompressionTypeFieldNumber = 13;
186 inline ::google::protobuf::uint32 image_compression_type()
const;
187 inline void set_image_compression_type(::google::protobuf::uint32 value);
190 inline bool has_image_type()
const;
191 inline void clear_image_type();
192 static const int kImageTypeFieldNumber = 14;
193 inline ::google::protobuf::uint32 image_type()
const;
194 inline void set_image_type(::google::protobuf::uint32 value);
197 inline bool has_byte_per_pixel()
const;
198 inline void clear_byte_per_pixel();
199 static const int kBytePerPixelFieldNumber = 15;
200 inline ::google::protobuf::uint32 byte_per_pixel()
const;
201 inline void set_byte_per_pixel(::google::protobuf::uint32 value);
204 inline bool has_bit_per_pixel()
const;
205 inline void clear_bit_per_pixel();
206 static const int kBitPerPixelFieldNumber = 16;
207 inline ::google::protobuf::uint32 bit_per_pixel()
const;
208 inline void set_bit_per_pixel(::google::protobuf::uint32 value);
211 inline bool has_image_payload()
const;
212 inline void clear_image_payload();
213 static const int kImagePayloadFieldNumber = 17;
214 inline const ::std::string& image_payload()
const;
215 inline void set_image_payload(const ::std::string& value);
216 inline void set_image_payload(
const char* value);
217 inline void set_image_payload(
const void* value,
size_t size);
218 inline ::std::string* mutable_image_payload();
219 inline ::std::string* release_image_payload();
220 inline void set_allocated_image_payload(::std::string* image_payload);
223 inline bool has_bmp_image()
const;
224 inline void clear_bmp_image();
225 static const int kBmpImageFieldNumber = 18;
226 inline const ::std::string& bmp_image()
const;
227 inline void set_bmp_image(const ::std::string& value);
228 inline void set_bmp_image(
const char* value);
229 inline void set_bmp_image(
const void* value,
size_t size);
230 inline ::std::string* mutable_bmp_image();
231 inline ::std::string* release_bmp_image();
232 inline void set_allocated_bmp_image(::std::string* bmp_image);
236 inline void set_has_header();
237 inline void clear_has_header();
238 inline void set_has_image_counter();
239 inline void clear_has_image_counter();
240 inline void set_has_image_width();
241 inline void clear_has_image_width();
242 inline void set_has_image_height();
243 inline void clear_has_image_height();
244 inline void set_has_image_shift_u();
245 inline void clear_has_image_shift_u();
246 inline void set_has_image_shift_v();
247 inline void clear_has_image_shift_v();
248 inline void set_has_o_image_width();
249 inline void clear_has_o_image_width();
250 inline void set_has_o_image_height();
251 inline void clear_has_o_image_height();
252 inline void set_has_imager_size_u();
253 inline void clear_has_imager_size_u();
254 inline void set_has_imager_size_v();
255 inline void clear_has_imager_size_v();
256 inline void set_has_o_image_pattern();
257 inline void clear_has_o_image_pattern();
258 inline void set_has_image_compressed();
259 inline void clear_has_image_compressed();
260 inline void set_has_image_compression_type();
261 inline void clear_has_image_compression_type();
262 inline void set_has_image_type();
263 inline void clear_has_image_type();
264 inline void set_has_byte_per_pixel();
265 inline void clear_has_byte_per_pixel();
266 inline void set_has_bit_per_pixel();
267 inline void clear_has_bit_per_pixel();
268 inline void set_has_image_payload();
269 inline void clear_has_image_payload();
270 inline void set_has_bmp_image();
271 inline void clear_has_bmp_image();
273 ::google::protobuf::UnknownFieldSet _unknown_fields_;
275 ::google::protobuf::uint32 _has_bits_[1];
276 mutable int _cached_size_;
278 ::google::protobuf::uint32 image_counter_;
279 ::google::protobuf::int32 image_width_;
280 ::google::protobuf::int32 image_height_;
281 ::google::protobuf::int32 image_shift_u_;
282 ::google::protobuf::int32 image_shift_v_;
283 ::google::protobuf::int32 o_image_width_;
284 ::google::protobuf::int32 o_image_height_;
285 ::google::protobuf::int32 imager_size_u_;
286 ::google::protobuf::int32 imager_size_v_;
287 ::google::protobuf::uint32 o_image_pattern_;
288 bool image_compressed_;
289 ::google::protobuf::uint32 image_compression_type_;
290 ::google::protobuf::uint32 image_type_;
291 ::google::protobuf::uint32 byte_per_pixel_;
292 ::std::string* image_payload_;
293 ::std::string* bmp_image_;
294 ::google::protobuf::uint32 bit_per_pixel_;
295 friend void protobuf_AddDesc_CameraImage_2eproto();
296 friend void protobuf_AssignDesc_CameraImage_2eproto();
297 friend void protobuf_ShutdownFile_CameraImage_2eproto();
299 void InitAsDefaultInstance();
310 inline bool CameraImage::has_header()
const {
311 return (_has_bits_[0] & 0x00000001u) != 0;
313 inline void CameraImage::set_has_header() {
314 _has_bits_[0] |= 0x00000001u;
316 inline void CameraImage::clear_has_header() {
317 _has_bits_[0] &= ~0x00000001u;
319 inline void CameraImage::clear_header() {
320 if (header_ != NULL) header_->::pb::Header::Clear();
323 inline const ::pb::Header& CameraImage::header()
const {
325 return header_ != NULL ? *header_ : *default_instance_->header_;
327 inline ::pb::Header* CameraImage::mutable_header() {
329 if (header_ == NULL) header_ = new ::pb::Header;
333 inline ::pb::Header* CameraImage::release_header() {
339 inline void CameraImage::set_allocated_header(::
pb::Header* header) {
351 inline bool CameraImage::has_image_counter()
const {
352 return (_has_bits_[0] & 0x00000002u) != 0;
354 inline void CameraImage::set_has_image_counter() {
355 _has_bits_[0] |= 0x00000002u;
357 inline void CameraImage::clear_has_image_counter() {
358 _has_bits_[0] &= ~0x00000002u;
360 inline void CameraImage::clear_image_counter() {
362 clear_has_image_counter();
364 inline ::google::protobuf::uint32 CameraImage::image_counter()
const {
366 return image_counter_;
368 inline void CameraImage::set_image_counter(::google::protobuf::uint32 value) {
369 set_has_image_counter();
370 image_counter_ = value;
375 inline bool CameraImage::has_image_width()
const {
376 return (_has_bits_[0] & 0x00000004u) != 0;
378 inline void CameraImage::set_has_image_width() {
379 _has_bits_[0] |= 0x00000004u;
381 inline void CameraImage::clear_has_image_width() {
382 _has_bits_[0] &= ~0x00000004u;
384 inline void CameraImage::clear_image_width() {
386 clear_has_image_width();
388 inline ::google::protobuf::int32 CameraImage::image_width()
const {
392 inline void CameraImage::set_image_width(::google::protobuf::int32 value) {
393 set_has_image_width();
394 image_width_ = value;
399 inline bool CameraImage::has_image_height()
const {
400 return (_has_bits_[0] & 0x00000008u) != 0;
402 inline void CameraImage::set_has_image_height() {
403 _has_bits_[0] |= 0x00000008u;
405 inline void CameraImage::clear_has_image_height() {
406 _has_bits_[0] &= ~0x00000008u;
408 inline void CameraImage::clear_image_height() {
410 clear_has_image_height();
412 inline ::google::protobuf::int32 CameraImage::image_height()
const {
414 return image_height_;
416 inline void CameraImage::set_image_height(::google::protobuf::int32 value) {
417 set_has_image_height();
418 image_height_ = value;
423 inline bool CameraImage::has_image_shift_u()
const {
424 return (_has_bits_[0] & 0x00000010u) != 0;
426 inline void CameraImage::set_has_image_shift_u() {
427 _has_bits_[0] |= 0x00000010u;
429 inline void CameraImage::clear_has_image_shift_u() {
430 _has_bits_[0] &= ~0x00000010u;
432 inline void CameraImage::clear_image_shift_u() {
434 clear_has_image_shift_u();
436 inline ::google::protobuf::int32 CameraImage::image_shift_u()
const {
438 return image_shift_u_;
440 inline void CameraImage::set_image_shift_u(::google::protobuf::int32 value) {
441 set_has_image_shift_u();
442 image_shift_u_ = value;
447 inline bool CameraImage::has_image_shift_v()
const {
448 return (_has_bits_[0] & 0x00000020u) != 0;
450 inline void CameraImage::set_has_image_shift_v() {
451 _has_bits_[0] |= 0x00000020u;
453 inline void CameraImage::clear_has_image_shift_v() {
454 _has_bits_[0] &= ~0x00000020u;
456 inline void CameraImage::clear_image_shift_v() {
458 clear_has_image_shift_v();
460 inline ::google::protobuf::int32 CameraImage::image_shift_v()
const {
462 return image_shift_v_;
464 inline void CameraImage::set_image_shift_v(::google::protobuf::int32 value) {
465 set_has_image_shift_v();
466 image_shift_v_ = value;
471 inline bool CameraImage::has_o_image_width()
const {
472 return (_has_bits_[0] & 0x00000040u) != 0;
474 inline void CameraImage::set_has_o_image_width() {
475 _has_bits_[0] |= 0x00000040u;
477 inline void CameraImage::clear_has_o_image_width() {
478 _has_bits_[0] &= ~0x00000040u;
480 inline void CameraImage::clear_o_image_width() {
481 o_image_width_ = 1176;
482 clear_has_o_image_width();
484 inline ::google::protobuf::int32 CameraImage::o_image_width()
const {
486 return o_image_width_;
488 inline void CameraImage::set_o_image_width(::google::protobuf::int32 value) {
489 set_has_o_image_width();
490 o_image_width_ = value;
495 inline bool CameraImage::has_o_image_height()
const {
496 return (_has_bits_[0] & 0x00000080u) != 0;
498 inline void CameraImage::set_has_o_image_height() {
499 _has_bits_[0] |= 0x00000080u;
501 inline void CameraImage::clear_has_o_image_height() {
502 _has_bits_[0] &= ~0x00000080u;
504 inline void CameraImage::clear_o_image_height() {
505 o_image_height_ = 640;
506 clear_has_o_image_height();
508 inline ::google::protobuf::int32 CameraImage::o_image_height()
const {
510 return o_image_height_;
512 inline void CameraImage::set_o_image_height(::google::protobuf::int32 value) {
513 set_has_o_image_height();
514 o_image_height_ = value;
519 inline bool CameraImage::has_imager_size_u()
const {
520 return (_has_bits_[0] & 0x00000100u) != 0;
522 inline void CameraImage::set_has_imager_size_u() {
523 _has_bits_[0] |= 0x00000100u;
525 inline void CameraImage::clear_has_imager_size_u() {
526 _has_bits_[0] &= ~0x00000100u;
528 inline void CameraImage::clear_imager_size_u() {
529 imager_size_u_ = 1280;
530 clear_has_imager_size_u();
532 inline ::google::protobuf::int32 CameraImage::imager_size_u()
const {
534 return imager_size_u_;
536 inline void CameraImage::set_imager_size_u(::google::protobuf::int32 value) {
537 set_has_imager_size_u();
538 imager_size_u_ = value;
543 inline bool CameraImage::has_imager_size_v()
const {
544 return (_has_bits_[0] & 0x00000200u) != 0;
546 inline void CameraImage::set_has_imager_size_v() {
547 _has_bits_[0] |= 0x00000200u;
549 inline void CameraImage::clear_has_imager_size_v() {
550 _has_bits_[0] &= ~0x00000200u;
552 inline void CameraImage::clear_imager_size_v() {
553 imager_size_v_ = 960;
554 clear_has_imager_size_v();
556 inline ::google::protobuf::int32 CameraImage::imager_size_v()
const {
558 return imager_size_v_;
560 inline void CameraImage::set_imager_size_v(::google::protobuf::int32 value) {
561 set_has_imager_size_v();
562 imager_size_v_ = value;
567 inline bool CameraImage::has_o_image_pattern()
const {
568 return (_has_bits_[0] & 0x00000400u) != 0;
570 inline void CameraImage::set_has_o_image_pattern() {
571 _has_bits_[0] |= 0x00000400u;
573 inline void CameraImage::clear_has_o_image_pattern() {
574 _has_bits_[0] &= ~0x00000400u;
576 inline void CameraImage::clear_o_image_pattern() {
577 o_image_pattern_ = 3u;
578 clear_has_o_image_pattern();
580 inline ::google::protobuf::uint32 CameraImage::o_image_pattern()
const {
582 return o_image_pattern_;
584 inline void CameraImage::set_o_image_pattern(::google::protobuf::uint32 value) {
585 set_has_o_image_pattern();
586 o_image_pattern_ = value;
591 inline bool CameraImage::has_image_compressed()
const {
592 return (_has_bits_[0] & 0x00000800u) != 0;
594 inline void CameraImage::set_has_image_compressed() {
595 _has_bits_[0] |= 0x00000800u;
597 inline void CameraImage::clear_has_image_compressed() {
598 _has_bits_[0] &= ~0x00000800u;
600 inline void CameraImage::clear_image_compressed() {
601 image_compressed_ =
true;
602 clear_has_image_compressed();
604 inline bool CameraImage::image_compressed()
const {
606 return image_compressed_;
608 inline void CameraImage::set_image_compressed(
bool value) {
609 set_has_image_compressed();
610 image_compressed_ = value;
615 inline bool CameraImage::has_image_compression_type()
const {
616 return (_has_bits_[0] & 0x00001000u) != 0;
618 inline void CameraImage::set_has_image_compression_type() {
619 _has_bits_[0] |= 0x00001000u;
621 inline void CameraImage::clear_has_image_compression_type() {
622 _has_bits_[0] &= ~0x00001000u;
624 inline void CameraImage::clear_image_compression_type() {
625 image_compression_type_ = 2u;
626 clear_has_image_compression_type();
628 inline ::google::protobuf::uint32 CameraImage::image_compression_type()
const {
630 return image_compression_type_;
632 inline void CameraImage::set_image_compression_type(::google::protobuf::uint32 value) {
633 set_has_image_compression_type();
634 image_compression_type_ = value;
639 inline bool CameraImage::has_image_type()
const {
640 return (_has_bits_[0] & 0x00002000u) != 0;
642 inline void CameraImage::set_has_image_type() {
643 _has_bits_[0] |= 0x00002000u;
645 inline void CameraImage::clear_has_image_type() {
646 _has_bits_[0] &= ~0x00002000u;
648 inline void CameraImage::clear_image_type() {
650 clear_has_image_type();
652 inline ::google::protobuf::uint32 CameraImage::image_type()
const {
656 inline void CameraImage::set_image_type(::google::protobuf::uint32 value) {
657 set_has_image_type();
663 inline bool CameraImage::has_byte_per_pixel()
const {
664 return (_has_bits_[0] & 0x00004000u) != 0;
666 inline void CameraImage::set_has_byte_per_pixel() {
667 _has_bits_[0] |= 0x00004000u;
669 inline void CameraImage::clear_has_byte_per_pixel() {
670 _has_bits_[0] &= ~0x00004000u;
672 inline void CameraImage::clear_byte_per_pixel() {
673 byte_per_pixel_ = 1u;
674 clear_has_byte_per_pixel();
676 inline ::google::protobuf::uint32 CameraImage::byte_per_pixel()
const {
678 return byte_per_pixel_;
680 inline void CameraImage::set_byte_per_pixel(::google::protobuf::uint32 value) {
681 set_has_byte_per_pixel();
682 byte_per_pixel_ = value;
687 inline bool CameraImage::has_bit_per_pixel()
const {
688 return (_has_bits_[0] & 0x00008000u) != 0;
690 inline void CameraImage::set_has_bit_per_pixel() {
691 _has_bits_[0] |= 0x00008000u;
693 inline void CameraImage::clear_has_bit_per_pixel() {
694 _has_bits_[0] &= ~0x00008000u;
696 inline void CameraImage::clear_bit_per_pixel() {
698 clear_has_bit_per_pixel();
700 inline ::google::protobuf::uint32 CameraImage::bit_per_pixel()
const {
702 return bit_per_pixel_;
704 inline void CameraImage::set_bit_per_pixel(::google::protobuf::uint32 value) {
705 set_has_bit_per_pixel();
706 bit_per_pixel_ = value;
711 inline bool CameraImage::has_image_payload()
const {
712 return (_has_bits_[0] & 0x00010000u) != 0;
714 inline void CameraImage::set_has_image_payload() {
715 _has_bits_[0] |= 0x00010000u;
717 inline void CameraImage::clear_has_image_payload() {
718 _has_bits_[0] &= ~0x00010000u;
720 inline void CameraImage::clear_image_payload() {
721 if (image_payload_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
722 image_payload_->clear();
724 clear_has_image_payload();
726 inline const ::std::string& CameraImage::image_payload()
const {
728 return *image_payload_;
730 inline void CameraImage::set_image_payload(const ::std::string& value) {
731 set_has_image_payload();
732 if (image_payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
733 image_payload_ = new ::std::string;
735 image_payload_->assign(value);
738 inline void CameraImage::set_image_payload(
const char* value) {
739 set_has_image_payload();
740 if (image_payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
741 image_payload_ = new ::std::string;
743 image_payload_->assign(value);
746 inline void CameraImage::set_image_payload(
const void* value,
size_t size) {
747 set_has_image_payload();
748 if (image_payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
749 image_payload_ = new ::std::string;
751 image_payload_->assign(reinterpret_cast<const char*>(value), size);
754 inline ::std::string* CameraImage::mutable_image_payload() {
755 set_has_image_payload();
756 if (image_payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
757 image_payload_ = new ::std::string;
760 return image_payload_;
762 inline ::std::string* CameraImage::release_image_payload() {
763 clear_has_image_payload();
764 if (image_payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
767 ::std::string* temp = image_payload_;
768 image_payload_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
772 inline void CameraImage::set_allocated_image_payload(::std::string* image_payload) {
773 if (image_payload_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
774 delete image_payload_;
777 set_has_image_payload();
778 image_payload_ = image_payload;
780 clear_has_image_payload();
781 image_payload_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
787 inline bool CameraImage::has_bmp_image()
const {
788 return (_has_bits_[0] & 0x00020000u) != 0;
790 inline void CameraImage::set_has_bmp_image() {
791 _has_bits_[0] |= 0x00020000u;
793 inline void CameraImage::clear_has_bmp_image() {
794 _has_bits_[0] &= ~0x00020000u;
796 inline void CameraImage::clear_bmp_image() {
797 if (bmp_image_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
800 clear_has_bmp_image();
802 inline const ::std::string& CameraImage::bmp_image()
const {
806 inline void CameraImage::set_bmp_image(const ::std::string& value) {
808 if (bmp_image_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
809 bmp_image_ = new ::std::string;
811 bmp_image_->assign(value);
814 inline void CameraImage::set_bmp_image(
const char* value) {
816 if (bmp_image_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
817 bmp_image_ = new ::std::string;
819 bmp_image_->assign(value);
822 inline void CameraImage::set_bmp_image(
const void* value,
size_t size) {
824 if (bmp_image_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
825 bmp_image_ = new ::std::string;
827 bmp_image_->assign(reinterpret_cast<const char*>(value), size);
830 inline ::std::string* CameraImage::mutable_bmp_image() {
832 if (bmp_image_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
833 bmp_image_ = new ::std::string;
838 inline ::std::string* CameraImage::release_bmp_image() {
839 clear_has_bmp_image();
840 if (bmp_image_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
843 ::std::string* temp = bmp_image_;
844 bmp_image_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
848 inline void CameraImage::set_allocated_bmp_image(::std::string* bmp_image) {
849 if (bmp_image_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
854 bmp_image_ = bmp_image;
856 clear_has_bmp_image();
857 bmp_image_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
880 #endif // PROTOBUF_CameraImage_2eproto__INCLUDED
Definition: CameraImage.pb.h:43