Home | History | Annotate | Download | only in protobuf
      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 
      9 #include <google/protobuf/stubs/common.h>
     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>
     23 #include <google/protobuf/arenastring.h>
     24 #include <google/protobuf/generated_message_util.h>
     25 #include <google/protobuf/metadata.h>
     26 #include <google/protobuf/message.h>
     27 #include <google/protobuf/repeated_field.h>
     28 #include <google/protobuf/extension_set.h>
     29 #include <google/protobuf/unknown_field_set.h>
     30 // @@protoc_insertion_point(includes)
     31 
     32 namespace google {
     33 namespace protobuf {
     34 
     35 // Internal implementation detail -- do not call these.
     36 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2eproto();
     37 void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto();
     38 void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto();
     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 
     52 class LIBPROTOBUF_EXPORT DoubleValue : public ::google::protobuf::Message {
     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   }
     68   static const ::google::protobuf::Descriptor* descriptor();
     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);
     80   void MergeFrom(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(
     88       ::google::protobuf::io::CodedInputStream* input);
     89   void SerializeWithCachedSizes(
     90       ::google::protobuf::io::CodedOutputStream* output) const;
     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 
    127   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
    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_;
    134   friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2eproto();
    135   friend void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto();
    136   friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto();
    137 
    138   void InitAsDefaultInstance();
    139   static DoubleValue* default_instance_;
    140 };
    141 // -------------------------------------------------------------------
    142 
    143 class LIBPROTOBUF_EXPORT FloatValue : public ::google::protobuf::Message {
    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   }
    159   static const ::google::protobuf::Descriptor* descriptor();
    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);
    171   void MergeFrom(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(
    179       ::google::protobuf::io::CodedInputStream* input);
    180   void SerializeWithCachedSizes(
    181       ::google::protobuf::io::CodedOutputStream* output) const;
    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 
    218   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
    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_;
    225   friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2eproto();
    226   friend void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto();
    227   friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto();
    228 
    229   void InitAsDefaultInstance();
    230   static FloatValue* default_instance_;
    231 };
    232 // -------------------------------------------------------------------
    233 
    234 class LIBPROTOBUF_EXPORT Int64Value : public ::google::protobuf::Message {
    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   }
    250   static const ::google::protobuf::Descriptor* descriptor();
    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);
    262   void MergeFrom(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(
    270       ::google::protobuf::io::CodedInputStream* input);
    271   void SerializeWithCachedSizes(
    272       ::google::protobuf::io::CodedOutputStream* output) const;
    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;
    303   ::google::protobuf::int64 value() const;
    304   void set_value(::google::protobuf::int64 value);
    305 
    306   // @@protoc_insertion_point(class_scope:google.protobuf.Int64Value)
    307  private:
    308 
    309   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
    310   friend class ::google::protobuf::Arena;
    311   typedef void InternalArenaConstructable_;
    312   typedef void DestructorSkippable_;
    313   bool _is_default_instance_;
    314   ::google::protobuf::int64 value_;
    315   mutable int _cached_size_;
    316   friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2eproto();
    317   friend void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto();
    318   friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto();
    319 
    320   void InitAsDefaultInstance();
    321   static Int64Value* default_instance_;
    322 };
    323 // -------------------------------------------------------------------
    324 
    325 class LIBPROTOBUF_EXPORT UInt64Value : public ::google::protobuf::Message {
    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   }
    341   static const ::google::protobuf::Descriptor* descriptor();
    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);
    353   void MergeFrom(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(
    361       ::google::protobuf::io::CodedInputStream* input);
    362   void SerializeWithCachedSizes(
    363       ::google::protobuf::io::CodedOutputStream* output) const;
    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;
    394   ::google::protobuf::uint64 value() const;
    395   void set_value(::google::protobuf::uint64 value);
    396 
    397   // @@protoc_insertion_point(class_scope:google.protobuf.UInt64Value)
    398  private:
    399 
    400   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
    401   friend class ::google::protobuf::Arena;
    402   typedef void InternalArenaConstructable_;
    403   typedef void DestructorSkippable_;
    404   bool _is_default_instance_;
    405   ::google::protobuf::uint64 value_;
    406   mutable int _cached_size_;
    407   friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2eproto();
    408   friend void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto();
    409   friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto();
    410 
    411   void InitAsDefaultInstance();
    412   static UInt64Value* default_instance_;
    413 };
    414 // -------------------------------------------------------------------
    415 
    416 class LIBPROTOBUF_EXPORT Int32Value : public ::google::protobuf::Message {
    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   }
    432   static const ::google::protobuf::Descriptor* descriptor();
    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);
    444   void MergeFrom(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(
    452       ::google::protobuf::io::CodedInputStream* input);
    453   void SerializeWithCachedSizes(
    454       ::google::protobuf::io::CodedOutputStream* output) const;
    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;
    485   ::google::protobuf::int32 value() const;
    486   void set_value(::google::protobuf::int32 value);
    487 
    488   // @@protoc_insertion_point(class_scope:google.protobuf.Int32Value)
    489  private:
    490 
    491   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
    492   friend class ::google::protobuf::Arena;
    493   typedef void InternalArenaConstructable_;
    494   typedef void DestructorSkippable_;
    495   bool _is_default_instance_;
    496   ::google::protobuf::int32 value_;
    497   mutable int _cached_size_;
    498   friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2eproto();
    499   friend void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto();
    500   friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto();
    501 
    502   void InitAsDefaultInstance();
    503   static Int32Value* default_instance_;
    504 };
    505 // -------------------------------------------------------------------
    506 
    507 class LIBPROTOBUF_EXPORT UInt32Value : public ::google::protobuf::Message {
    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   }
    523   static const ::google::protobuf::Descriptor* descriptor();
    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);
    535   void MergeFrom(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(
    543       ::google::protobuf::io::CodedInputStream* input);
    544   void SerializeWithCachedSizes(
    545       ::google::protobuf::io::CodedOutputStream* output) const;
    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;
    576   ::google::protobuf::uint32 value() const;
    577   void set_value(::google::protobuf::uint32 value);
    578 
    579   // @@protoc_insertion_point(class_scope:google.protobuf.UInt32Value)
    580  private:
    581 
    582   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
    583   friend class ::google::protobuf::Arena;
    584   typedef void InternalArenaConstructable_;
    585   typedef void DestructorSkippable_;
    586   bool _is_default_instance_;
    587   ::google::protobuf::uint32 value_;
    588   mutable int _cached_size_;
    589   friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2eproto();
    590   friend void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto();
    591   friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto();
    592 
    593   void InitAsDefaultInstance();
    594   static UInt32Value* default_instance_;
    595 };
    596 // -------------------------------------------------------------------
    597 
    598 class LIBPROTOBUF_EXPORT BoolValue : public ::google::protobuf::Message {
    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   }
    614   static const ::google::protobuf::Descriptor* descriptor();
    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);
    626   void MergeFrom(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(
    634       ::google::protobuf::io::CodedInputStream* input);
    635   void SerializeWithCachedSizes(
    636       ::google::protobuf::io::CodedOutputStream* output) const;
    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 
    673   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
    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_;
    680   friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2eproto();
    681   friend void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto();
    682   friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto();
    683 
    684   void InitAsDefaultInstance();
    685   static BoolValue* default_instance_;
    686 };
    687 // -------------------------------------------------------------------
    688 
    689 class LIBPROTOBUF_EXPORT StringValue : public ::google::protobuf::Message {
    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   }
    705   static const ::google::protobuf::Descriptor* descriptor();
    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);
    717   void MergeFrom(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(
    725       ::google::protobuf::io::CodedInputStream* input);
    726   void SerializeWithCachedSizes(
    727       ::google::protobuf::io::CodedOutputStream* output) const;
    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 
    772   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
    773   friend class ::google::protobuf::Arena;
    774   typedef void InternalArenaConstructable_;
    775   typedef void DestructorSkippable_;
    776   bool _is_default_instance_;
    777   ::google::protobuf::internal::ArenaStringPtr value_;
    778   mutable int _cached_size_;
    779   friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2eproto();
    780   friend void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto();
    781   friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto();
    782 
    783   void InitAsDefaultInstance();
    784   static StringValue* default_instance_;
    785 };
    786 // -------------------------------------------------------------------
    787 
    788 class LIBPROTOBUF_EXPORT BytesValue : public ::google::protobuf::Message {
    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   }
    804   static const ::google::protobuf::Descriptor* descriptor();
    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);
    816   void MergeFrom(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(
    824       ::google::protobuf::io::CodedInputStream* input);
    825   void SerializeWithCachedSizes(
    826       ::google::protobuf::io::CodedOutputStream* output) const;
    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 
    871   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
    872   friend class ::google::protobuf::Arena;
    873   typedef void InternalArenaConstructable_;
    874   typedef void DestructorSkippable_;
    875   bool _is_default_instance_;
    876   ::google::protobuf::internal::ArenaStringPtr value_;
    877   mutable int _cached_size_;
    878   friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2eproto();
    879   friend void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto();
    880   friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto();
    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;
    894 inline void DoubleValue::clear_value() {
    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 }
    933 inline ::google::protobuf::int64 Int64Value::value() const {
    934   // @@protoc_insertion_point(field_get:google.protobuf.Int64Value.value)
    935   return value_;
    936 }
    937 inline void Int64Value::set_value(::google::protobuf::int64 value) {
    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;
    948 inline void UInt64Value::clear_value() {
    949   value_ = GOOGLE_ULONGLONG(0);
    950 }
    951 inline ::google::protobuf::uint64 UInt64Value::value() const {
    952   // @@protoc_insertion_point(field_get:google.protobuf.UInt64Value.value)
    953   return value_;
    954 }
    955 inline void UInt64Value::set_value(::google::protobuf::uint64 value) {
    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 }
    969 inline ::google::protobuf::int32 Int32Value::value() const {
    970   // @@protoc_insertion_point(field_get:google.protobuf.Int32Value.value)
    971   return value_;
    972 }
    973 inline void Int32Value::set_value(::google::protobuf::int32 value) {
    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;
    984 inline void UInt32Value::clear_value() {
    985   value_ = 0u;
    986 }
    987 inline ::google::protobuf::uint32 UInt32Value::value() const {
    988   // @@protoc_insertion_point(field_get:google.protobuf.UInt32Value.value)
    989   return value_;
    990 }
    991 inline void UInt32Value::set_value(::google::protobuf::uint32 value) {
    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;
   1020 inline void StringValue::clear_value() {
   1021   value_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
   1022 }
   1023 inline const ::std::string& StringValue::value() const {
   1024   // @@protoc_insertion_point(field_get:google.protobuf.StringValue.value)
   1025   return value_.Get(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   1026 }
   1027 inline void StringValue::set_value(const ::std::string& value) {
   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 
   1034   value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
   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 
   1041   value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
   1042       reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
   1043   // @@protoc_insertion_point(field_set_pointer:google.protobuf.StringValue.value)
   1044 }
   1045 inline ::std::string* StringValue::mutable_value() {
   1046 
   1047   // @@protoc_insertion_point(field_mutable:google.protobuf.StringValue.value)
   1048   return value_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
   1049 }
   1050 inline ::std::string* StringValue::release_value() {
   1051   // @@protoc_insertion_point(field_release:google.protobuf.StringValue.value)
   1052 
   1053   return value_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
   1054 }
   1055 inline ::std::string* StringValue::unsafe_arena_release_value() {
   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 }
   1062 inline void StringValue::set_allocated_value(::std::string* value) {
   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 }
   1072 inline void StringValue::unsafe_arena_set_allocated_value(
   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;
   1090 inline void BytesValue::clear_value() {
   1091   value_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
   1092 }
   1093 inline const ::std::string& BytesValue::value() const {
   1094   // @@protoc_insertion_point(field_get:google.protobuf.BytesValue.value)
   1095   return value_.Get(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   1096 }
   1097 inline void BytesValue::set_value(const ::std::string& value) {
   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 
   1104   value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
   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 
   1111   value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
   1112       reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
   1113   // @@protoc_insertion_point(field_set_pointer:google.protobuf.BytesValue.value)
   1114 }
   1115 inline ::std::string* BytesValue::mutable_value() {
   1116 
   1117   // @@protoc_insertion_point(field_mutable:google.protobuf.BytesValue.value)
   1118   return value_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
   1119 }
   1120 inline ::std::string* BytesValue::release_value() {
   1121   // @@protoc_insertion_point(field_release:google.protobuf.BytesValue.value)
   1122 
   1123   return value_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
   1124 }
   1125 inline ::std::string* BytesValue::unsafe_arena_release_value() {
   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 }
   1132 inline void BytesValue::set_allocated_value(::std::string* value) {
   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 }
   1142 inline void BytesValue::unsafe_arena_set_allocated_value(
   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
   1181