webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
wrappers.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/wrappers.proto
3 
4 #ifndef PROTOBUF_google_2fprotobuf_2fwrappers_2eproto__INCLUDED
5 #define PROTOBUF_google_2fprotobuf_2fwrappers_2eproto__INCLUDED
6 
7 #include <string>
8 
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3000000
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 3000000 < 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.
20 #endif
21 
22 #include <google/protobuf/arena.h>
30 // @@protoc_insertion_point(includes)
31 
32 namespace google {
33 namespace protobuf {
34 
35 // Internal implementation detail -- do not call these.
39 
40 class BoolValue;
41 class BytesValue;
42 class DoubleValue;
43 class FloatValue;
44 class Int32Value;
45 class Int64Value;
46 class StringValue;
47 class UInt32Value;
48 class UInt64Value;
49 
50 // ===================================================================
51 
53  public:
54  DoubleValue();
55  virtual ~DoubleValue();
56 
57  DoubleValue(const DoubleValue& from);
58 
59  inline DoubleValue& operator=(const DoubleValue& from) {
60  CopyFrom(from);
61  return *this;
62  }
63 
64  inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(); }
65  inline void* GetMaybeArenaPointer() const {
66  return MaybeArenaPtr();
67  }
69  static const DoubleValue& default_instance();
70 
71  void UnsafeArenaSwap(DoubleValue* other);
72  void Swap(DoubleValue* other);
73 
74  // implements Message ----------------------------------------------
75 
76  inline DoubleValue* New() const { return New(NULL); }
77 
78  DoubleValue* New(::google::protobuf::Arena* arena) const;
79  void CopyFrom(const ::google::protobuf::Message& from);
81  void CopyFrom(const DoubleValue& from);
82  void MergeFrom(const DoubleValue& from);
83  void Clear();
84  bool IsInitialized() const;
85 
86  int ByteSize() const;
87  bool MergePartialFromCodedStream(
89  void SerializeWithCachedSizes(
91  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
92  int GetCachedSize() const { return _cached_size_; }
93  private:
94  void SharedCtor();
95  void SharedDtor();
96  void SetCachedSize(int size) const;
97  void InternalSwap(DoubleValue* other);
98  protected:
99  explicit DoubleValue(::google::protobuf::Arena* arena);
100  private:
101  static void ArenaDtor(void* object);
102  inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
103  private:
104  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
105  return _internal_metadata_.arena();
106  }
107  inline void* MaybeArenaPtr() const {
108  return _internal_metadata_.raw_arena_ptr();
109  }
110  public:
111 
112  ::google::protobuf::Metadata GetMetadata() const;
113 
114  // nested types ----------------------------------------------------
115 
116  // accessors -------------------------------------------------------
117 
118  // optional double value = 1;
119  void clear_value();
120  static const int kValueFieldNumber = 1;
121  double value() const;
122  void set_value(double value);
123 
124  // @@protoc_insertion_point(class_scope:google.protobuf.DoubleValue)
125  private:
126 
128  friend class ::google::protobuf::Arena;
129  typedef void InternalArenaConstructable_;
130  typedef void DestructorSkippable_;
131  bool _is_default_instance_;
132  double value_;
133  mutable int _cached_size_;
137 
138  void InitAsDefaultInstance();
139  static DoubleValue* default_instance_;
140 };
141 // -------------------------------------------------------------------
142 
144  public:
145  FloatValue();
146  virtual ~FloatValue();
147 
148  FloatValue(const FloatValue& from);
149 
150  inline FloatValue& operator=(const FloatValue& from) {
151  CopyFrom(from);
152  return *this;
153  }
154 
155  inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(); }
156  inline void* GetMaybeArenaPointer() const {
157  return MaybeArenaPtr();
158  }
160  static const FloatValue& default_instance();
161 
162  void UnsafeArenaSwap(FloatValue* other);
163  void Swap(FloatValue* other);
164 
165  // implements Message ----------------------------------------------
166 
167  inline FloatValue* New() const { return New(NULL); }
168 
169  FloatValue* New(::google::protobuf::Arena* arena) const;
170  void CopyFrom(const ::google::protobuf::Message& from);
172  void CopyFrom(const FloatValue& from);
173  void MergeFrom(const FloatValue& from);
174  void Clear();
175  bool IsInitialized() const;
176 
177  int ByteSize() const;
178  bool MergePartialFromCodedStream(
180  void SerializeWithCachedSizes(
182  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
183  int GetCachedSize() const { return _cached_size_; }
184  private:
185  void SharedCtor();
186  void SharedDtor();
187  void SetCachedSize(int size) const;
188  void InternalSwap(FloatValue* other);
189  protected:
190  explicit FloatValue(::google::protobuf::Arena* arena);
191  private:
192  static void ArenaDtor(void* object);
193  inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
194  private:
195  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
196  return _internal_metadata_.arena();
197  }
198  inline void* MaybeArenaPtr() const {
199  return _internal_metadata_.raw_arena_ptr();
200  }
201  public:
202 
203  ::google::protobuf::Metadata GetMetadata() const;
204 
205  // nested types ----------------------------------------------------
206 
207  // accessors -------------------------------------------------------
208 
209  // optional float value = 1;
210  void clear_value();
211  static const int kValueFieldNumber = 1;
212  float value() const;
213  void set_value(float value);
214 
215  // @@protoc_insertion_point(class_scope:google.protobuf.FloatValue)
216  private:
217 
219  friend class ::google::protobuf::Arena;
220  typedef void InternalArenaConstructable_;
221  typedef void DestructorSkippable_;
222  bool _is_default_instance_;
223  float value_;
224  mutable int _cached_size_;
228 
229  void InitAsDefaultInstance();
230  static FloatValue* default_instance_;
231 };
232 // -------------------------------------------------------------------
233 
235  public:
236  Int64Value();
237  virtual ~Int64Value();
238 
239  Int64Value(const Int64Value& from);
240 
241  inline Int64Value& operator=(const Int64Value& from) {
242  CopyFrom(from);
243  return *this;
244  }
245 
246  inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(); }
247  inline void* GetMaybeArenaPointer() const {
248  return MaybeArenaPtr();
249  }
251  static const Int64Value& default_instance();
252 
253  void UnsafeArenaSwap(Int64Value* other);
254  void Swap(Int64Value* other);
255 
256  // implements Message ----------------------------------------------
257 
258  inline Int64Value* New() const { return New(NULL); }
259 
260  Int64Value* New(::google::protobuf::Arena* arena) const;
261  void CopyFrom(const ::google::protobuf::Message& from);
263  void CopyFrom(const Int64Value& from);
264  void MergeFrom(const Int64Value& from);
265  void Clear();
266  bool IsInitialized() const;
267 
268  int ByteSize() const;
269  bool MergePartialFromCodedStream(
271  void SerializeWithCachedSizes(
273  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
274  int GetCachedSize() const { return _cached_size_; }
275  private:
276  void SharedCtor();
277  void SharedDtor();
278  void SetCachedSize(int size) const;
279  void InternalSwap(Int64Value* other);
280  protected:
281  explicit Int64Value(::google::protobuf::Arena* arena);
282  private:
283  static void ArenaDtor(void* object);
284  inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
285  private:
286  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
287  return _internal_metadata_.arena();
288  }
289  inline void* MaybeArenaPtr() const {
290  return _internal_metadata_.raw_arena_ptr();
291  }
292  public:
293 
294  ::google::protobuf::Metadata GetMetadata() const;
295 
296  // nested types ----------------------------------------------------
297 
298  // accessors -------------------------------------------------------
299 
300  // optional int64 value = 1;
301  void clear_value();
302  static const int kValueFieldNumber = 1;
304  void set_value(::google::protobuf::int64 value);
305 
306  // @@protoc_insertion_point(class_scope:google.protobuf.Int64Value)
307  private:
308 
310  friend class ::google::protobuf::Arena;
311  typedef void InternalArenaConstructable_;
312  typedef void DestructorSkippable_;
313  bool _is_default_instance_;
315  mutable int _cached_size_;
319 
320  void InitAsDefaultInstance();
321  static Int64Value* default_instance_;
322 };
323 // -------------------------------------------------------------------
324 
326  public:
327  UInt64Value();
328  virtual ~UInt64Value();
329 
330  UInt64Value(const UInt64Value& from);
331 
332  inline UInt64Value& operator=(const UInt64Value& from) {
333  CopyFrom(from);
334  return *this;
335  }
336 
337  inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(); }
338  inline void* GetMaybeArenaPointer() const {
339  return MaybeArenaPtr();
340  }
342  static const UInt64Value& default_instance();
343 
344  void UnsafeArenaSwap(UInt64Value* other);
345  void Swap(UInt64Value* other);
346 
347  // implements Message ----------------------------------------------
348 
349  inline UInt64Value* New() const { return New(NULL); }
350 
351  UInt64Value* New(::google::protobuf::Arena* arena) const;
352  void CopyFrom(const ::google::protobuf::Message& from);
354  void CopyFrom(const UInt64Value& from);
355  void MergeFrom(const UInt64Value& from);
356  void Clear();
357  bool IsInitialized() const;
358 
359  int ByteSize() const;
360  bool MergePartialFromCodedStream(
362  void SerializeWithCachedSizes(
364  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
365  int GetCachedSize() const { return _cached_size_; }
366  private:
367  void SharedCtor();
368  void SharedDtor();
369  void SetCachedSize(int size) const;
370  void InternalSwap(UInt64Value* other);
371  protected:
372  explicit UInt64Value(::google::protobuf::Arena* arena);
373  private:
374  static void ArenaDtor(void* object);
375  inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
376  private:
377  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
378  return _internal_metadata_.arena();
379  }
380  inline void* MaybeArenaPtr() const {
381  return _internal_metadata_.raw_arena_ptr();
382  }
383  public:
384 
385  ::google::protobuf::Metadata GetMetadata() const;
386 
387  // nested types ----------------------------------------------------
388 
389  // accessors -------------------------------------------------------
390 
391  // optional uint64 value = 1;
392  void clear_value();
393  static const int kValueFieldNumber = 1;
395  void set_value(::google::protobuf::uint64 value);
396 
397  // @@protoc_insertion_point(class_scope:google.protobuf.UInt64Value)
398  private:
399 
401  friend class ::google::protobuf::Arena;
402  typedef void InternalArenaConstructable_;
403  typedef void DestructorSkippable_;
404  bool _is_default_instance_;
406  mutable int _cached_size_;
410 
411  void InitAsDefaultInstance();
412  static UInt64Value* default_instance_;
413 };
414 // -------------------------------------------------------------------
415 
417  public:
418  Int32Value();
419  virtual ~Int32Value();
420 
421  Int32Value(const Int32Value& from);
422 
423  inline Int32Value& operator=(const Int32Value& from) {
424  CopyFrom(from);
425  return *this;
426  }
427 
428  inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(); }
429  inline void* GetMaybeArenaPointer() const {
430  return MaybeArenaPtr();
431  }
433  static const Int32Value& default_instance();
434 
435  void UnsafeArenaSwap(Int32Value* other);
436  void Swap(Int32Value* other);
437 
438  // implements Message ----------------------------------------------
439 
440  inline Int32Value* New() const { return New(NULL); }
441 
442  Int32Value* New(::google::protobuf::Arena* arena) const;
443  void CopyFrom(const ::google::protobuf::Message& from);
445  void CopyFrom(const Int32Value& from);
446  void MergeFrom(const Int32Value& from);
447  void Clear();
448  bool IsInitialized() const;
449 
450  int ByteSize() const;
451  bool MergePartialFromCodedStream(
453  void SerializeWithCachedSizes(
455  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
456  int GetCachedSize() const { return _cached_size_; }
457  private:
458  void SharedCtor();
459  void SharedDtor();
460  void SetCachedSize(int size) const;
461  void InternalSwap(Int32Value* other);
462  protected:
463  explicit Int32Value(::google::protobuf::Arena* arena);
464  private:
465  static void ArenaDtor(void* object);
466  inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
467  private:
468  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
469  return _internal_metadata_.arena();
470  }
471  inline void* MaybeArenaPtr() const {
472  return _internal_metadata_.raw_arena_ptr();
473  }
474  public:
475 
476  ::google::protobuf::Metadata GetMetadata() const;
477 
478  // nested types ----------------------------------------------------
479 
480  // accessors -------------------------------------------------------
481 
482  // optional int32 value = 1;
483  void clear_value();
484  static const int kValueFieldNumber = 1;
486  void set_value(::google::protobuf::int32 value);
487 
488  // @@protoc_insertion_point(class_scope:google.protobuf.Int32Value)
489  private:
490 
492  friend class ::google::protobuf::Arena;
493  typedef void InternalArenaConstructable_;
494  typedef void DestructorSkippable_;
495  bool _is_default_instance_;
497  mutable int _cached_size_;
501 
502  void InitAsDefaultInstance();
503  static Int32Value* default_instance_;
504 };
505 // -------------------------------------------------------------------
506 
508  public:
509  UInt32Value();
510  virtual ~UInt32Value();
511 
512  UInt32Value(const UInt32Value& from);
513 
514  inline UInt32Value& operator=(const UInt32Value& from) {
515  CopyFrom(from);
516  return *this;
517  }
518 
519  inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(); }
520  inline void* GetMaybeArenaPointer() const {
521  return MaybeArenaPtr();
522  }
524  static const UInt32Value& default_instance();
525 
526  void UnsafeArenaSwap(UInt32Value* other);
527  void Swap(UInt32Value* other);
528 
529  // implements Message ----------------------------------------------
530 
531  inline UInt32Value* New() const { return New(NULL); }
532 
533  UInt32Value* New(::google::protobuf::Arena* arena) const;
534  void CopyFrom(const ::google::protobuf::Message& from);
536  void CopyFrom(const UInt32Value& from);
537  void MergeFrom(const UInt32Value& from);
538  void Clear();
539  bool IsInitialized() const;
540 
541  int ByteSize() const;
542  bool MergePartialFromCodedStream(
544  void SerializeWithCachedSizes(
546  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
547  int GetCachedSize() const { return _cached_size_; }
548  private:
549  void SharedCtor();
550  void SharedDtor();
551  void SetCachedSize(int size) const;
552  void InternalSwap(UInt32Value* other);
553  protected:
554  explicit UInt32Value(::google::protobuf::Arena* arena);
555  private:
556  static void ArenaDtor(void* object);
557  inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
558  private:
559  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
560  return _internal_metadata_.arena();
561  }
562  inline void* MaybeArenaPtr() const {
563  return _internal_metadata_.raw_arena_ptr();
564  }
565  public:
566 
567  ::google::protobuf::Metadata GetMetadata() const;
568 
569  // nested types ----------------------------------------------------
570 
571  // accessors -------------------------------------------------------
572 
573  // optional uint32 value = 1;
574  void clear_value();
575  static const int kValueFieldNumber = 1;
577  void set_value(::google::protobuf::uint32 value);
578 
579  // @@protoc_insertion_point(class_scope:google.protobuf.UInt32Value)
580  private:
581 
583  friend class ::google::protobuf::Arena;
584  typedef void InternalArenaConstructable_;
585  typedef void DestructorSkippable_;
586  bool _is_default_instance_;
588  mutable int _cached_size_;
592 
593  void InitAsDefaultInstance();
594  static UInt32Value* default_instance_;
595 };
596 // -------------------------------------------------------------------
597 
599  public:
600  BoolValue();
601  virtual ~BoolValue();
602 
603  BoolValue(const BoolValue& from);
604 
605  inline BoolValue& operator=(const BoolValue& from) {
606  CopyFrom(from);
607  return *this;
608  }
609 
610  inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(); }
611  inline void* GetMaybeArenaPointer() const {
612  return MaybeArenaPtr();
613  }
615  static const BoolValue& default_instance();
616 
617  void UnsafeArenaSwap(BoolValue* other);
618  void Swap(BoolValue* other);
619 
620  // implements Message ----------------------------------------------
621 
622  inline BoolValue* New() const { return New(NULL); }
623 
624  BoolValue* New(::google::protobuf::Arena* arena) const;
625  void CopyFrom(const ::google::protobuf::Message& from);
627  void CopyFrom(const BoolValue& from);
628  void MergeFrom(const BoolValue& from);
629  void Clear();
630  bool IsInitialized() const;
631 
632  int ByteSize() const;
633  bool MergePartialFromCodedStream(
635  void SerializeWithCachedSizes(
637  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
638  int GetCachedSize() const { return _cached_size_; }
639  private:
640  void SharedCtor();
641  void SharedDtor();
642  void SetCachedSize(int size) const;
643  void InternalSwap(BoolValue* other);
644  protected:
645  explicit BoolValue(::google::protobuf::Arena* arena);
646  private:
647  static void ArenaDtor(void* object);
648  inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
649  private:
650  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
651  return _internal_metadata_.arena();
652  }
653  inline void* MaybeArenaPtr() const {
654  return _internal_metadata_.raw_arena_ptr();
655  }
656  public:
657 
658  ::google::protobuf::Metadata GetMetadata() const;
659 
660  // nested types ----------------------------------------------------
661 
662  // accessors -------------------------------------------------------
663 
664  // optional bool value = 1;
665  void clear_value();
666  static const int kValueFieldNumber = 1;
667  bool value() const;
668  void set_value(bool value);
669 
670  // @@protoc_insertion_point(class_scope:google.protobuf.BoolValue)
671  private:
672 
674  friend class ::google::protobuf::Arena;
675  typedef void InternalArenaConstructable_;
676  typedef void DestructorSkippable_;
677  bool _is_default_instance_;
678  bool value_;
679  mutable int _cached_size_;
683 
684  void InitAsDefaultInstance();
685  static BoolValue* default_instance_;
686 };
687 // -------------------------------------------------------------------
688 
690  public:
691  StringValue();
692  virtual ~StringValue();
693 
694  StringValue(const StringValue& from);
695 
696  inline StringValue& operator=(const StringValue& from) {
697  CopyFrom(from);
698  return *this;
699  }
700 
701  inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(); }
702  inline void* GetMaybeArenaPointer() const {
703  return MaybeArenaPtr();
704  }
706  static const StringValue& default_instance();
707 
708  void UnsafeArenaSwap(StringValue* other);
709  void Swap(StringValue* other);
710 
711  // implements Message ----------------------------------------------
712 
713  inline StringValue* New() const { return New(NULL); }
714 
715  StringValue* New(::google::protobuf::Arena* arena) const;
716  void CopyFrom(const ::google::protobuf::Message& from);
718  void CopyFrom(const StringValue& from);
719  void MergeFrom(const StringValue& from);
720  void Clear();
721  bool IsInitialized() const;
722 
723  int ByteSize() const;
724  bool MergePartialFromCodedStream(
726  void SerializeWithCachedSizes(
728  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
729  int GetCachedSize() const { return _cached_size_; }
730  private:
731  void SharedCtor();
732  void SharedDtor();
733  void SetCachedSize(int size) const;
734  void InternalSwap(StringValue* other);
735  protected:
736  explicit StringValue(::google::protobuf::Arena* arena);
737  private:
738  static void ArenaDtor(void* object);
739  inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
740  private:
741  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
742  return _internal_metadata_.arena();
743  }
744  inline void* MaybeArenaPtr() const {
745  return _internal_metadata_.raw_arena_ptr();
746  }
747  public:
748 
749  ::google::protobuf::Metadata GetMetadata() const;
750 
751  // nested types ----------------------------------------------------
752 
753  // accessors -------------------------------------------------------
754 
755  // optional string value = 1;
756  void clear_value();
757  static const int kValueFieldNumber = 1;
758  const ::std::string& value() const;
759  void set_value(const ::std::string& value);
760  void set_value(const char* value);
761  void set_value(const char* value, size_t size);
762  ::std::string* mutable_value();
763  ::std::string* release_value();
764  void set_allocated_value(::std::string* value);
765  ::std::string* unsafe_arena_release_value();
766  void unsafe_arena_set_allocated_value(
767  ::std::string* value);
768 
769  // @@protoc_insertion_point(class_scope:google.protobuf.StringValue)
770  private:
771 
773  friend class ::google::protobuf::Arena;
774  typedef void InternalArenaConstructable_;
775  typedef void DestructorSkippable_;
776  bool _is_default_instance_;
778  mutable int _cached_size_;
782 
783  void InitAsDefaultInstance();
784  static StringValue* default_instance_;
785 };
786 // -------------------------------------------------------------------
787 
789  public:
790  BytesValue();
791  virtual ~BytesValue();
792 
793  BytesValue(const BytesValue& from);
794 
795  inline BytesValue& operator=(const BytesValue& from) {
796  CopyFrom(from);
797  return *this;
798  }
799 
800  inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(); }
801  inline void* GetMaybeArenaPointer() const {
802  return MaybeArenaPtr();
803  }
805  static const BytesValue& default_instance();
806 
807  void UnsafeArenaSwap(BytesValue* other);
808  void Swap(BytesValue* other);
809 
810  // implements Message ----------------------------------------------
811 
812  inline BytesValue* New() const { return New(NULL); }
813 
814  BytesValue* New(::google::protobuf::Arena* arena) const;
815  void CopyFrom(const ::google::protobuf::Message& from);
817  void CopyFrom(const BytesValue& from);
818  void MergeFrom(const BytesValue& from);
819  void Clear();
820  bool IsInitialized() const;
821 
822  int ByteSize() const;
823  bool MergePartialFromCodedStream(
825  void SerializeWithCachedSizes(
827  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
828  int GetCachedSize() const { return _cached_size_; }
829  private:
830  void SharedCtor();
831  void SharedDtor();
832  void SetCachedSize(int size) const;
833  void InternalSwap(BytesValue* other);
834  protected:
835  explicit BytesValue(::google::protobuf::Arena* arena);
836  private:
837  static void ArenaDtor(void* object);
838  inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
839  private:
840  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
841  return _internal_metadata_.arena();
842  }
843  inline void* MaybeArenaPtr() const {
844  return _internal_metadata_.raw_arena_ptr();
845  }
846  public:
847 
848  ::google::protobuf::Metadata GetMetadata() const;
849 
850  // nested types ----------------------------------------------------
851 
852  // accessors -------------------------------------------------------
853 
854  // optional bytes value = 1;
855  void clear_value();
856  static const int kValueFieldNumber = 1;
857  const ::std::string& value() const;
858  void set_value(const ::std::string& value);
859  void set_value(const char* value);
860  void set_value(const void* value, size_t size);
861  ::std::string* mutable_value();
862  ::std::string* release_value();
863  void set_allocated_value(::std::string* value);
864  ::std::string* unsafe_arena_release_value();
865  void unsafe_arena_set_allocated_value(
866  ::std::string* value);
867 
868  // @@protoc_insertion_point(class_scope:google.protobuf.BytesValue)
869  private:
870 
872  friend class ::google::protobuf::Arena;
873  typedef void InternalArenaConstructable_;
874  typedef void DestructorSkippable_;
875  bool _is_default_instance_;
877  mutable int _cached_size_;
881 
882  void InitAsDefaultInstance();
883  static BytesValue* default_instance_;
884 };
885 // ===================================================================
886 
887 
888 // ===================================================================
889 
890 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
891 // DoubleValue
892 
893 // optional double value = 1;
895  value_ = 0;
896 }
897 inline double DoubleValue::value() const {
898  // @@protoc_insertion_point(field_get:google.protobuf.DoubleValue.value)
899  return value_;
900 }
901 inline void DoubleValue::set_value(double value) {
902 
903  value_ = value;
904  // @@protoc_insertion_point(field_set:google.protobuf.DoubleValue.value)
905 }
906 
907 // -------------------------------------------------------------------
908 
909 // FloatValue
910 
911 // optional float value = 1;
912 inline void FloatValue::clear_value() {
913  value_ = 0;
914 }
915 inline float FloatValue::value() const {
916  // @@protoc_insertion_point(field_get:google.protobuf.FloatValue.value)
917  return value_;
918 }
919 inline void FloatValue::set_value(float value) {
920 
921  value_ = value;
922  // @@protoc_insertion_point(field_set:google.protobuf.FloatValue.value)
923 }
924 
925 // -------------------------------------------------------------------
926 
927 // Int64Value
928 
929 // optional int64 value = 1;
930 inline void Int64Value::clear_value() {
931  value_ = GOOGLE_LONGLONG(0);
932 }
934  // @@protoc_insertion_point(field_get:google.protobuf.Int64Value.value)
935  return value_;
936 }
938 
939  value_ = value;
940  // @@protoc_insertion_point(field_set:google.protobuf.Int64Value.value)
941 }
942 
943 // -------------------------------------------------------------------
944 
945 // UInt64Value
946 
947 // optional uint64 value = 1;
949  value_ = GOOGLE_ULONGLONG(0);
950 }
952  // @@protoc_insertion_point(field_get:google.protobuf.UInt64Value.value)
953  return value_;
954 }
956 
957  value_ = value;
958  // @@protoc_insertion_point(field_set:google.protobuf.UInt64Value.value)
959 }
960 
961 // -------------------------------------------------------------------
962 
963 // Int32Value
964 
965 // optional int32 value = 1;
966 inline void Int32Value::clear_value() {
967  value_ = 0;
968 }
970  // @@protoc_insertion_point(field_get:google.protobuf.Int32Value.value)
971  return value_;
972 }
974 
975  value_ = value;
976  // @@protoc_insertion_point(field_set:google.protobuf.Int32Value.value)
977 }
978 
979 // -------------------------------------------------------------------
980 
981 // UInt32Value
982 
983 // optional uint32 value = 1;
985  value_ = 0u;
986 }
988  // @@protoc_insertion_point(field_get:google.protobuf.UInt32Value.value)
989  return value_;
990 }
992 
993  value_ = value;
994  // @@protoc_insertion_point(field_set:google.protobuf.UInt32Value.value)
995 }
996 
997 // -------------------------------------------------------------------
998 
999 // BoolValue
1000 
1001 // optional bool value = 1;
1002 inline void BoolValue::clear_value() {
1003  value_ = false;
1004 }
1005 inline bool BoolValue::value() const {
1006  // @@protoc_insertion_point(field_get:google.protobuf.BoolValue.value)
1007  return value_;
1008 }
1009 inline void BoolValue::set_value(bool value) {
1010 
1011  value_ = value;
1012  // @@protoc_insertion_point(field_set:google.protobuf.BoolValue.value)
1013 }
1014 
1015 // -------------------------------------------------------------------
1016 
1017 // StringValue
1018 
1019 // optional string value = 1;
1021  value_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1022 }
1024  // @@protoc_insertion_point(field_get:google.protobuf.StringValue.value)
1026 }
1028 
1029  value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
1030  // @@protoc_insertion_point(field_set:google.protobuf.StringValue.value)
1031 }
1032 inline void StringValue::set_value(const char* value) {
1033 
1035  GetArenaNoVirtual());
1036  // @@protoc_insertion_point(field_set_char:google.protobuf.StringValue.value)
1037 }
1038 inline void StringValue::set_value(const char* value,
1039  size_t size) {
1040 
1042  reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
1043  // @@protoc_insertion_point(field_set_pointer:google.protobuf.StringValue.value)
1044 }
1046 
1047  // @@protoc_insertion_point(field_mutable:google.protobuf.StringValue.value)
1048  return value_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1049 }
1051  // @@protoc_insertion_point(field_release:google.protobuf.StringValue.value)
1052 
1053  return value_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1054 }
1056  // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.StringValue.value)
1057  GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
1058 
1059  return value_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1060  GetArenaNoVirtual());
1061 }
1063  if (value != NULL) {
1064 
1065  } else {
1066 
1067  }
1068  value_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value,
1069  GetArenaNoVirtual());
1070  // @@protoc_insertion_point(field_set_allocated:google.protobuf.StringValue.value)
1071 }
1073  ::std::string* value) {
1074  GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
1075  if (value != NULL) {
1076 
1077  } else {
1078 
1079  }
1080  value_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1081  value, GetArenaNoVirtual());
1082  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.StringValue.value)
1083 }
1084 
1085 // -------------------------------------------------------------------
1086 
1087 // BytesValue
1088 
1089 // optional bytes value = 1;
1091  value_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1092 }
1094  // @@protoc_insertion_point(field_get:google.protobuf.BytesValue.value)
1096 }
1098 
1099  value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
1100  // @@protoc_insertion_point(field_set:google.protobuf.BytesValue.value)
1101 }
1102 inline void BytesValue::set_value(const char* value) {
1103 
1105  GetArenaNoVirtual());
1106  // @@protoc_insertion_point(field_set_char:google.protobuf.BytesValue.value)
1107 }
1108 inline void BytesValue::set_value(const void* value,
1109  size_t size) {
1110 
1112  reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
1113  // @@protoc_insertion_point(field_set_pointer:google.protobuf.BytesValue.value)
1114 }
1116 
1117  // @@protoc_insertion_point(field_mutable:google.protobuf.BytesValue.value)
1118  return value_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1119 }
1121  // @@protoc_insertion_point(field_release:google.protobuf.BytesValue.value)
1122 
1123  return value_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1124 }
1126  // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.BytesValue.value)
1127  GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
1128 
1129  return value_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1130  GetArenaNoVirtual());
1131 }
1133  if (value != NULL) {
1134 
1135  } else {
1136 
1137  }
1138  value_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value,
1139  GetArenaNoVirtual());
1140  // @@protoc_insertion_point(field_set_allocated:google.protobuf.BytesValue.value)
1141 }
1143  ::std::string* value) {
1144  GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
1145  if (value != NULL) {
1146 
1147  } else {
1148 
1149  }
1150  value_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1151  value, GetArenaNoVirtual());
1152  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.BytesValue.value)
1153 }
1154 
1155 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
1156 // -------------------------------------------------------------------
1157 
1158 // -------------------------------------------------------------------
1159 
1160 // -------------------------------------------------------------------
1161 
1162 // -------------------------------------------------------------------
1163 
1164 // -------------------------------------------------------------------
1165 
1166 // -------------------------------------------------------------------
1167 
1168 // -------------------------------------------------------------------
1169 
1170 // -------------------------------------------------------------------
1171 
1172 
1173 // @@protoc_insertion_point(namespace_scope)
1174 
1175 } // namespace protobuf
1176 } // namespace google
1177 
1178 // @@protoc_insertion_point(global_scope)
1179 
1180 #endif // PROTOBUF_google_2fprotobuf_2fwrappers_2eproto__INCLUDED
inline ::google::protobuf::Arena * GetArena() const
Definition: wrappers.pb.h:337
void * GetMaybeArenaPointer() const
Definition: wrappers.pb.h:429
Int32Value & operator=(const Int32Value &from)
Definition: wrappers.pb.h:423
::google::protobuf::uint32 value() const
Definition: wrappers.pb.h:987
Int32Value * New() const
Definition: wrappers.pb.h:440
Definition: message.h:179
EGLStreamKHR EGLint EGLint EGLint size
Definition: eglext.h:984
bool value() const
Definition: wrappers.pb.h:1005
void set_allocated_value(::std::string *value)
Definition: wrappers.pb.h:1062
void clear_value()
Definition: wrappers.pb.h:912
inline ::google::protobuf::Arena * GetArena() const
Definition: wrappers.pb.h:800
int GetCachedSize() const
Definition: wrappers.pb.h:547
void clear_value()
Definition: wrappers.pb.h:1020
void clear_value()
Definition: wrappers.pb.h:1090
Definition: wrappers.pb.h:507
void * GetMaybeArenaPointer() const
Definition: wrappers.pb.h:801
int GetCachedSize() const
Definition: wrappers.pb.h:183
void set_value(::google::protobuf::int32 value)
Definition: wrappers.pb.h:973
Definition: wrappers.pb.h:598
void * GetMaybeArenaPointer() const
Definition: wrappers.pb.h:520
void set_value(::google::protobuf::int64 value)
Definition: wrappers.pb.h:937
Definition: wrappers.pb.h:689
#define GOOGLE_ULONGLONG(x)
Definition: port.h:151
void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto()
Definition: wrappers.pb.cc:231
StringValue * New() const
Definition: wrappers.pb.h:713
BytesValue & operator=(const BytesValue &from)
Definition: wrappers.pb.h:795
OPENSSL_EXPORT pem_password_cb void * u
Definition: pem.h:398
::std::string * unsafe_arena_release_value()
Definition: wrappers.pb.h:1055
struct Descriptor Descriptor
Definition: protobuf.h:23
::std::string * release_value()
Definition: wrappers.pb.h:1050
#define GOOGLE_LONGLONG(x)
Definition: port.h:150
int GetCachedSize() const
Definition: wrappers.pb.h:729
void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto()
Definition: wrappers.pb.cc:56
const Descriptor * descriptor
Definition: descriptor.cc:271
uint8_t uint8
Definition: port.h:133
const ::std::string & value() const
Definition: wrappers.pb.h:1093
LIBPROTOBUF_EXPORTconst ::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:85
Definition: arenastring.h:56
void * GetMaybeArenaPointer() const
Definition: wrappers.pb.h:247
Message
Definition: peerconnection_unittest.cc:105
void protobuf_AddDesc_google_2fprotobuf_2fwrappers_2eproto()
Definition: wrappers.pb.cc:252
void * GetMaybeArenaPointer() const
Definition: wrappers.pb.h:702
inline ::google::protobuf::Arena * GetArena() const
Definition: wrappers.pb.h:64
void set_value(::google::protobuf::uint32 value)
Definition: wrappers.pb.h:991
Definition: message.h:164
void * GetMaybeArenaPointer() const
Definition: wrappers.pb.h:156
FloatValue & operator=(const FloatValue &from)
Definition: wrappers.pb.h:150
DoubleValue & operator=(const DoubleValue &from)
Definition: wrappers.pb.h:59
#define output
Definition: wire_format_lite.h:418
::std::string * release_value()
Definition: wrappers.pb.h:1120
void * GetMaybeArenaPointer() const
Definition: wrappers.pb.h:611
uint64_t uint64
Definition: angle_config.h:30
int GetCachedSize() const
Definition: wrappers.pb.h:638
int64_t int64
Definition: angle_config.h:29
const ::std::string & value() const
Definition: wrappers.pb.h:1023
const FieldDescriptor const OneofDescriptor value
Definition: descriptor.h:1717
int32_t int32
Definition: port.h:130
Definition: wrappers.pb.h:143
void set_value(bool value)
Definition: wrappers.pb.h:1009
Definition: wrappers.pb.h:325
BytesValue * New() const
Definition: wrappers.pb.h:812
void clear_value()
Definition: wrappers.pb.h:966
IsInitialized
Definition: python_message.py:1169
StringValue & operator=(const StringValue &from)
Definition: wrappers.pb.h:696
void clear_value()
Definition: wrappers.pb.h:894
EGLAttrib * value
Definition: eglext.h:120
void clear_value()
Definition: wrappers.pb.h:984
inline ::google::protobuf::Arena * GetArena() const
Definition: wrappers.pb.h:428
Definition: wrappers.pb.h:788
void set_value(::google::protobuf::uint64 value)
Definition: wrappers.pb.h:955
void clear_value()
Definition: wrappers.pb.h:1002
void set_allocated_value(::std::string *value)
Definition: wrappers.pb.h:1132
uint32_t uint32
Definition: port.h:135
Definition: __init__.py:1
int GetCachedSize() const
Definition: wrappers.pb.h:92
uint64_t uint64
Definition: port.h:136
Int64Value * New() const
Definition: wrappers.pb.h:258
inline ::google::protobuf::Arena * GetArena() const
Definition: wrappers.pb.h:155
inline ::google::protobuf::Arena * GetArena() const
Definition: wrappers.pb.h:246
void clear_value()
Definition: wrappers.pb.h:930
Definition: wrappers.pb.h:416
::std::string * mutable_value()
Definition: wrappers.pb.h:1115
Definition: arena.h:218
inline ::google::protobuf::Arena * GetArena() const
Definition: wrappers.pb.h:610
void unsafe_arena_set_allocated_value(::std::string *value)
Definition: wrappers.pb.h:1142
GLsizei const GLchar *const * string
Definition: gl2.h:479
FloatValue * New() const
Definition: wrappers.pb.h:167
BoolValue & operator=(const BoolValue &from)
Definition: wrappers.pb.h:605
#define GOOGLE_DCHECK
Definition: logging.h:192
void set_value(double value)
Definition: wrappers.pb.h:901
Definition: wrappers.pb.h:234
UInt32Value * New() const
Definition: wrappers.pb.h:531
::std::string * mutable_value()
Definition: wrappers.pb.h:1045
void set_value(const ::std::string &value)
Definition: wrappers.pb.h:1097
Definition: wrappers.pb.h:52
UInt64Value & operator=(const UInt64Value &from)
Definition: wrappers.pb.h:332
int64_t int64
Definition: port.h:131
UInt64Value * New() const
Definition: wrappers.pb.h:349
#define NULL
Definition: common_types.h:41
DoubleValue * New() const
Definition: wrappers.pb.h:76
void * GetMaybeArenaPointer() const
Definition: wrappers.pb.h:338
void set_value(float value)
Definition: wrappers.pb.h:919
#define LIBPROTOBUF_EXPORT
Definition: port.h:97
uint32_t uint32
Definition: angle_config.h:28
int GetCachedSize() const
Definition: wrappers.pb.h:365
Definition: gflags_completions.h:115
void clear_value()
Definition: wrappers.pb.h:948
void * GetMaybeArenaPointer() const
Definition: wrappers.pb.h:65
::google::protobuf::int64 value() const
Definition: wrappers.pb.h:933
string input
Definition: tokenizer_unittest.cc:198
inline ::google::protobuf::Arena * GetArena() const
Definition: wrappers.pb.h:701
ByteSize
Definition: python_message.py:1040
inline ::google::protobuf::Arena * GetArena() const
Definition: wrappers.pb.h:519
Definition: coded_stream.h:665
void set_value(const ::std::string &value)
Definition: wrappers.pb.h:1027
int GetCachedSize() const
Definition: wrappers.pb.h:828
::google::protobuf::uint64 value() const
Definition: wrappers.pb.h:951
::std::string * unsafe_arena_release_value()
Definition: wrappers.pb.h:1125
int GetCachedSize() const
Definition: wrappers.pb.h:456
Definition: coded_stream.h:159
BoolValue * New() const
Definition: wrappers.pb.h:622
float value() const
Definition: wrappers.pb.h:915
UInt32Value & operator=(const UInt32Value &from)
Definition: wrappers.pb.h:514
::google::protobuf::int32 value() const
Definition: wrappers.pb.h:969
void unsafe_arena_set_allocated_value(::std::string *value)
Definition: wrappers.pb.h:1072
double value() const
Definition: wrappers.pb.h:897
Int64Value & operator=(const Int64Value &from)
Definition: wrappers.pb.h:241
MergeFrom
Definition: python_message.py:1259
int32_t int32
Definition: angle_config.h:27
int GetCachedSize() const
Definition: wrappers.pb.h:274