| OLD | NEW |
| 1 // Generated by the protocol buffer compiler. DO NOT EDIT! | 1 // Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 // source: google/protobuf/wrappers.proto | 2 // source: google/protobuf/wrappers.proto |
| 3 | 3 |
| 4 #ifndef PROTOBUF_google_2fprotobuf_2fwrappers_2eproto__INCLUDED | 4 #ifndef PROTOBUF_google_2fprotobuf_2fwrappers_2eproto__INCLUDED |
| 5 #define PROTOBUF_google_2fprotobuf_2fwrappers_2eproto__INCLUDED | 5 #define PROTOBUF_google_2fprotobuf_2fwrappers_2eproto__INCLUDED |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include <google/protobuf/stubs/common.h> | 9 #include <google/protobuf/stubs/common.h> |
| 10 | 10 |
| 11 #if GOOGLE_PROTOBUF_VERSION < 3000000 | 11 #if GOOGLE_PROTOBUF_VERSION < 3001000 |
| 12 #error This file was generated by a newer version of protoc which is | 12 #error This file was generated by a newer version of protoc which is |
| 13 #error incompatible with your Protocol Buffer headers. Please update | 13 #error incompatible with your Protocol Buffer headers. Please update |
| 14 #error your headers. | 14 #error your headers. |
| 15 #endif | 15 #endif |
| 16 #if 3000000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION | 16 #if 3001000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
| 17 #error This file was generated by an older version of protoc which is | 17 #error This file was generated by an older version of protoc which is |
| 18 #error incompatible with your Protocol Buffer headers. Please | 18 #error incompatible with your Protocol Buffer headers. Please |
| 19 #error regenerate this file with a newer version of protoc. | 19 #error regenerate this file with a newer version of protoc. |
| 20 #endif | 20 #endif |
| 21 | 21 |
| 22 #include <google/protobuf/arena.h> | 22 #include <google/protobuf/arena.h> |
| 23 #include <google/protobuf/arenastring.h> | 23 #include <google/protobuf/arenastring.h> |
| 24 #include <google/protobuf/generated_message_util.h> | 24 #include <google/protobuf/generated_message_util.h> |
| 25 #include <google/protobuf/metadata.h> | 25 #include <google/protobuf/metadata.h> |
| 26 #include <google/protobuf/message.h> | 26 #include <google/protobuf/message.h> |
| 27 #include <google/protobuf/repeated_field.h> | 27 #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
| 28 #include <google/protobuf/extension_set.h> | 28 #include <google/protobuf/extension_set.h> // IWYU pragma: export |
| 29 #include <google/protobuf/unknown_field_set.h> | 29 #include <google/protobuf/unknown_field_set.h> |
| 30 // @@protoc_insertion_point(includes) | 30 // @@protoc_insertion_point(includes) |
| 31 namespace google { |
| 32 namespace protobuf { |
| 33 class BoolValue; |
| 34 class BoolValueDefaultTypeInternal; |
| 35 LIBPROTOBUF_EXPORT extern BoolValueDefaultTypeInternal _BoolValue_default_instan
ce_; |
| 36 class BytesValue; |
| 37 class BytesValueDefaultTypeInternal; |
| 38 LIBPROTOBUF_EXPORT extern BytesValueDefaultTypeInternal _BytesValue_default_inst
ance_; |
| 39 class DoubleValue; |
| 40 class DoubleValueDefaultTypeInternal; |
| 41 LIBPROTOBUF_EXPORT extern DoubleValueDefaultTypeInternal _DoubleValue_default_in
stance_; |
| 42 class FloatValue; |
| 43 class FloatValueDefaultTypeInternal; |
| 44 LIBPROTOBUF_EXPORT extern FloatValueDefaultTypeInternal _FloatValue_default_inst
ance_; |
| 45 class Int32Value; |
| 46 class Int32ValueDefaultTypeInternal; |
| 47 LIBPROTOBUF_EXPORT extern Int32ValueDefaultTypeInternal _Int32Value_default_inst
ance_; |
| 48 class Int64Value; |
| 49 class Int64ValueDefaultTypeInternal; |
| 50 LIBPROTOBUF_EXPORT extern Int64ValueDefaultTypeInternal _Int64Value_default_inst
ance_; |
| 51 class StringValue; |
| 52 class StringValueDefaultTypeInternal; |
| 53 LIBPROTOBUF_EXPORT extern StringValueDefaultTypeInternal _StringValue_default_in
stance_; |
| 54 class UInt32Value; |
| 55 class UInt32ValueDefaultTypeInternal; |
| 56 LIBPROTOBUF_EXPORT extern UInt32ValueDefaultTypeInternal _UInt32Value_default_in
stance_; |
| 57 class UInt64Value; |
| 58 class UInt64ValueDefaultTypeInternal; |
| 59 LIBPROTOBUF_EXPORT extern UInt64ValueDefaultTypeInternal _UInt64Value_default_in
stance_; |
| 60 } // namespace protobuf |
| 61 } // namespace google |
| 31 | 62 |
| 32 namespace google { | 63 namespace google { |
| 33 namespace protobuf { | 64 namespace protobuf { |
| 34 | 65 |
| 35 // Internal implementation detail -- do not call these. | 66 // Internal implementation detail -- do not call these. |
| 36 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2eproto(); | 67 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2eproto(); |
| 37 void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto(); | 68 void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fwrappers_2epro
to(); |
| 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 | 69 |
| 50 // =================================================================== | 70 // =================================================================== |
| 51 | 71 |
| 52 class LIBPROTOBUF_EXPORT DoubleValue : public ::google::protobuf::Message { | 72 class LIBPROTOBUF_EXPORT DoubleValue : public ::google::protobuf::Message /* @@p
rotoc_insertion_point(class_definition:google.protobuf.DoubleValue) */ { |
| 53 public: | 73 public: |
| 54 DoubleValue(); | 74 DoubleValue(); |
| 55 virtual ~DoubleValue(); | 75 virtual ~DoubleValue(); |
| 56 | 76 |
| 57 DoubleValue(const DoubleValue& from); | 77 DoubleValue(const DoubleValue& from); |
| 58 | 78 |
| 59 inline DoubleValue& operator=(const DoubleValue& from) { | 79 inline DoubleValue& operator=(const DoubleValue& from) { |
| 60 CopyFrom(from); | 80 CopyFrom(from); |
| 61 return *this; | 81 return *this; |
| 62 } | 82 } |
| 63 | 83 |
| 64 inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(
); } | 84 inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL { |
| 65 inline void* GetMaybeArenaPointer() const { | 85 return GetArenaNoVirtual(); |
| 86 } |
| 87 inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL { |
| 66 return MaybeArenaPtr(); | 88 return MaybeArenaPtr(); |
| 67 } | 89 } |
| 68 static const ::google::protobuf::Descriptor* descriptor(); | 90 static const ::google::protobuf::Descriptor* descriptor(); |
| 69 static const DoubleValue& default_instance(); | 91 static const DoubleValue& default_instance(); |
| 70 | 92 |
| 93 static inline const DoubleValue* internal_default_instance() { |
| 94 return reinterpret_cast<const DoubleValue*>( |
| 95 &_DoubleValue_default_instance_); |
| 96 } |
| 97 |
| 71 void UnsafeArenaSwap(DoubleValue* other); | 98 void UnsafeArenaSwap(DoubleValue* other); |
| 72 void Swap(DoubleValue* other); | 99 void Swap(DoubleValue* other); |
| 73 | 100 |
| 74 // implements Message ---------------------------------------------- | 101 // implements Message ---------------------------------------------- |
| 75 | 102 |
| 76 inline DoubleValue* New() const { return New(NULL); } | 103 inline DoubleValue* New() const PROTOBUF_FINAL { return New(NULL); } |
| 77 | 104 |
| 78 DoubleValue* New(::google::protobuf::Arena* arena) const; | 105 DoubleValue* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 79 void CopyFrom(const ::google::protobuf::Message& from); | 106 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 80 void MergeFrom(const ::google::protobuf::Message& from); | 107 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 81 void CopyFrom(const DoubleValue& from); | 108 void CopyFrom(const DoubleValue& from); |
| 82 void MergeFrom(const DoubleValue& from); | 109 void MergeFrom(const DoubleValue& from); |
| 83 void Clear(); | 110 void Clear() PROTOBUF_FINAL; |
| 84 bool IsInitialized() const; | 111 bool IsInitialized() const PROTOBUF_FINAL; |
| 85 | 112 |
| 86 int ByteSize() const; | 113 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 87 bool MergePartialFromCodedStream( | 114 bool MergePartialFromCodedStream( |
| 88 ::google::protobuf::io::CodedInputStream* input); | 115 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 89 void SerializeWithCachedSizes( | 116 void SerializeWithCachedSizes( |
| 90 ::google::protobuf::io::CodedOutputStream* output) const; | 117 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 91 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 118 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 92 int GetCachedSize() const { return _cached_size_; } | 119 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 120 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) |
| 121 const PROTOBUF_FINAL { |
| 122 return InternalSerializeWithCachedSizesToArray(false, output); |
| 123 } |
| 124 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
| 93 private: | 125 private: |
| 94 void SharedCtor(); | 126 void SharedCtor(); |
| 95 void SharedDtor(); | 127 void SharedDtor(); |
| 96 void SetCachedSize(int size) const; | 128 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 97 void InternalSwap(DoubleValue* other); | 129 void InternalSwap(DoubleValue* other); |
| 98 protected: | 130 protected: |
| 99 explicit DoubleValue(::google::protobuf::Arena* arena); | 131 explicit DoubleValue(::google::protobuf::Arena* arena); |
| 100 private: | 132 private: |
| 101 static void ArenaDtor(void* object); | 133 static void ArenaDtor(void* object); |
| 102 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); | 134 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 103 private: | 135 private: |
| 104 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 136 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 105 return _internal_metadata_.arena(); | 137 return _internal_metadata_.arena(); |
| 106 } | 138 } |
| 107 inline void* MaybeArenaPtr() const { | 139 inline void* MaybeArenaPtr() const { |
| 108 return _internal_metadata_.raw_arena_ptr(); | 140 return _internal_metadata_.raw_arena_ptr(); |
| 109 } | 141 } |
| 110 public: | 142 public: |
| 111 | 143 |
| 112 ::google::protobuf::Metadata GetMetadata() const; | 144 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 113 | 145 |
| 114 // nested types ---------------------------------------------------- | 146 // nested types ---------------------------------------------------- |
| 115 | 147 |
| 116 // accessors ------------------------------------------------------- | 148 // accessors ------------------------------------------------------- |
| 117 | 149 |
| 118 // optional double value = 1; | 150 // double value = 1; |
| 119 void clear_value(); | 151 void clear_value(); |
| 120 static const int kValueFieldNumber = 1; | 152 static const int kValueFieldNumber = 1; |
| 121 double value() const; | 153 double value() const; |
| 122 void set_value(double value); | 154 void set_value(double value); |
| 123 | 155 |
| 124 // @@protoc_insertion_point(class_scope:google.protobuf.DoubleValue) | 156 // @@protoc_insertion_point(class_scope:google.protobuf.DoubleValue) |
| 125 private: | 157 private: |
| 126 | 158 |
| 127 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 159 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 128 friend class ::google::protobuf::Arena; | 160 friend class ::google::protobuf::Arena; |
| 129 typedef void InternalArenaConstructable_; | 161 typedef void InternalArenaConstructable_; |
| 130 typedef void DestructorSkippable_; | 162 typedef void DestructorSkippable_; |
| 131 bool _is_default_instance_; | |
| 132 double value_; | 163 double value_; |
| 133 mutable int _cached_size_; | 164 mutable int _cached_size_; |
| 134 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2
eproto(); | 165 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fwrapp
ers_2eproto_impl(); |
| 135 friend void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto(); | 166 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2
eproto_impl(); |
| 167 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
wrappers_2eproto(); |
| 136 friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto(); | 168 friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto(); |
| 137 | 169 |
| 138 void InitAsDefaultInstance(); | |
| 139 static DoubleValue* default_instance_; | |
| 140 }; | 170 }; |
| 141 // ------------------------------------------------------------------- | 171 // ------------------------------------------------------------------- |
| 142 | 172 |
| 143 class LIBPROTOBUF_EXPORT FloatValue : public ::google::protobuf::Message { | 173 class LIBPROTOBUF_EXPORT FloatValue : public ::google::protobuf::Message /* @@pr
otoc_insertion_point(class_definition:google.protobuf.FloatValue) */ { |
| 144 public: | 174 public: |
| 145 FloatValue(); | 175 FloatValue(); |
| 146 virtual ~FloatValue(); | 176 virtual ~FloatValue(); |
| 147 | 177 |
| 148 FloatValue(const FloatValue& from); | 178 FloatValue(const FloatValue& from); |
| 149 | 179 |
| 150 inline FloatValue& operator=(const FloatValue& from) { | 180 inline FloatValue& operator=(const FloatValue& from) { |
| 151 CopyFrom(from); | 181 CopyFrom(from); |
| 152 return *this; | 182 return *this; |
| 153 } | 183 } |
| 154 | 184 |
| 155 inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(
); } | 185 inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL { |
| 156 inline void* GetMaybeArenaPointer() const { | 186 return GetArenaNoVirtual(); |
| 187 } |
| 188 inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL { |
| 157 return MaybeArenaPtr(); | 189 return MaybeArenaPtr(); |
| 158 } | 190 } |
| 159 static const ::google::protobuf::Descriptor* descriptor(); | 191 static const ::google::protobuf::Descriptor* descriptor(); |
| 160 static const FloatValue& default_instance(); | 192 static const FloatValue& default_instance(); |
| 161 | 193 |
| 194 static inline const FloatValue* internal_default_instance() { |
| 195 return reinterpret_cast<const FloatValue*>( |
| 196 &_FloatValue_default_instance_); |
| 197 } |
| 198 |
| 162 void UnsafeArenaSwap(FloatValue* other); | 199 void UnsafeArenaSwap(FloatValue* other); |
| 163 void Swap(FloatValue* other); | 200 void Swap(FloatValue* other); |
| 164 | 201 |
| 165 // implements Message ---------------------------------------------- | 202 // implements Message ---------------------------------------------- |
| 166 | 203 |
| 167 inline FloatValue* New() const { return New(NULL); } | 204 inline FloatValue* New() const PROTOBUF_FINAL { return New(NULL); } |
| 168 | 205 |
| 169 FloatValue* New(::google::protobuf::Arena* arena) const; | 206 FloatValue* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 170 void CopyFrom(const ::google::protobuf::Message& from); | 207 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 171 void MergeFrom(const ::google::protobuf::Message& from); | 208 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 172 void CopyFrom(const FloatValue& from); | 209 void CopyFrom(const FloatValue& from); |
| 173 void MergeFrom(const FloatValue& from); | 210 void MergeFrom(const FloatValue& from); |
| 174 void Clear(); | 211 void Clear() PROTOBUF_FINAL; |
| 175 bool IsInitialized() const; | 212 bool IsInitialized() const PROTOBUF_FINAL; |
| 176 | 213 |
| 177 int ByteSize() const; | 214 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 178 bool MergePartialFromCodedStream( | 215 bool MergePartialFromCodedStream( |
| 179 ::google::protobuf::io::CodedInputStream* input); | 216 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 180 void SerializeWithCachedSizes( | 217 void SerializeWithCachedSizes( |
| 181 ::google::protobuf::io::CodedOutputStream* output) const; | 218 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 182 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 219 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 183 int GetCachedSize() const { return _cached_size_; } | 220 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 221 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) |
| 222 const PROTOBUF_FINAL { |
| 223 return InternalSerializeWithCachedSizesToArray(false, output); |
| 224 } |
| 225 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
| 184 private: | 226 private: |
| 185 void SharedCtor(); | 227 void SharedCtor(); |
| 186 void SharedDtor(); | 228 void SharedDtor(); |
| 187 void SetCachedSize(int size) const; | 229 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 188 void InternalSwap(FloatValue* other); | 230 void InternalSwap(FloatValue* other); |
| 189 protected: | 231 protected: |
| 190 explicit FloatValue(::google::protobuf::Arena* arena); | 232 explicit FloatValue(::google::protobuf::Arena* arena); |
| 191 private: | 233 private: |
| 192 static void ArenaDtor(void* object); | 234 static void ArenaDtor(void* object); |
| 193 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); | 235 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 194 private: | 236 private: |
| 195 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 237 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 196 return _internal_metadata_.arena(); | 238 return _internal_metadata_.arena(); |
| 197 } | 239 } |
| 198 inline void* MaybeArenaPtr() const { | 240 inline void* MaybeArenaPtr() const { |
| 199 return _internal_metadata_.raw_arena_ptr(); | 241 return _internal_metadata_.raw_arena_ptr(); |
| 200 } | 242 } |
| 201 public: | 243 public: |
| 202 | 244 |
| 203 ::google::protobuf::Metadata GetMetadata() const; | 245 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 204 | 246 |
| 205 // nested types ---------------------------------------------------- | 247 // nested types ---------------------------------------------------- |
| 206 | 248 |
| 207 // accessors ------------------------------------------------------- | 249 // accessors ------------------------------------------------------- |
| 208 | 250 |
| 209 // optional float value = 1; | 251 // float value = 1; |
| 210 void clear_value(); | 252 void clear_value(); |
| 211 static const int kValueFieldNumber = 1; | 253 static const int kValueFieldNumber = 1; |
| 212 float value() const; | 254 float value() const; |
| 213 void set_value(float value); | 255 void set_value(float value); |
| 214 | 256 |
| 215 // @@protoc_insertion_point(class_scope:google.protobuf.FloatValue) | 257 // @@protoc_insertion_point(class_scope:google.protobuf.FloatValue) |
| 216 private: | 258 private: |
| 217 | 259 |
| 218 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 260 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 219 friend class ::google::protobuf::Arena; | 261 friend class ::google::protobuf::Arena; |
| 220 typedef void InternalArenaConstructable_; | 262 typedef void InternalArenaConstructable_; |
| 221 typedef void DestructorSkippable_; | 263 typedef void DestructorSkippable_; |
| 222 bool _is_default_instance_; | |
| 223 float value_; | 264 float value_; |
| 224 mutable int _cached_size_; | 265 mutable int _cached_size_; |
| 225 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2
eproto(); | 266 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fwrapp
ers_2eproto_impl(); |
| 226 friend void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto(); | 267 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2
eproto_impl(); |
| 268 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
wrappers_2eproto(); |
| 227 friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto(); | 269 friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto(); |
| 228 | 270 |
| 229 void InitAsDefaultInstance(); | |
| 230 static FloatValue* default_instance_; | |
| 231 }; | 271 }; |
| 232 // ------------------------------------------------------------------- | 272 // ------------------------------------------------------------------- |
| 233 | 273 |
| 234 class LIBPROTOBUF_EXPORT Int64Value : public ::google::protobuf::Message { | 274 class LIBPROTOBUF_EXPORT Int64Value : public ::google::protobuf::Message /* @@pr
otoc_insertion_point(class_definition:google.protobuf.Int64Value) */ { |
| 235 public: | 275 public: |
| 236 Int64Value(); | 276 Int64Value(); |
| 237 virtual ~Int64Value(); | 277 virtual ~Int64Value(); |
| 238 | 278 |
| 239 Int64Value(const Int64Value& from); | 279 Int64Value(const Int64Value& from); |
| 240 | 280 |
| 241 inline Int64Value& operator=(const Int64Value& from) { | 281 inline Int64Value& operator=(const Int64Value& from) { |
| 242 CopyFrom(from); | 282 CopyFrom(from); |
| 243 return *this; | 283 return *this; |
| 244 } | 284 } |
| 245 | 285 |
| 246 inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(
); } | 286 inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL { |
| 247 inline void* GetMaybeArenaPointer() const { | 287 return GetArenaNoVirtual(); |
| 288 } |
| 289 inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL { |
| 248 return MaybeArenaPtr(); | 290 return MaybeArenaPtr(); |
| 249 } | 291 } |
| 250 static const ::google::protobuf::Descriptor* descriptor(); | 292 static const ::google::protobuf::Descriptor* descriptor(); |
| 251 static const Int64Value& default_instance(); | 293 static const Int64Value& default_instance(); |
| 252 | 294 |
| 295 static inline const Int64Value* internal_default_instance() { |
| 296 return reinterpret_cast<const Int64Value*>( |
| 297 &_Int64Value_default_instance_); |
| 298 } |
| 299 |
| 253 void UnsafeArenaSwap(Int64Value* other); | 300 void UnsafeArenaSwap(Int64Value* other); |
| 254 void Swap(Int64Value* other); | 301 void Swap(Int64Value* other); |
| 255 | 302 |
| 256 // implements Message ---------------------------------------------- | 303 // implements Message ---------------------------------------------- |
| 257 | 304 |
| 258 inline Int64Value* New() const { return New(NULL); } | 305 inline Int64Value* New() const PROTOBUF_FINAL { return New(NULL); } |
| 259 | 306 |
| 260 Int64Value* New(::google::protobuf::Arena* arena) const; | 307 Int64Value* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 261 void CopyFrom(const ::google::protobuf::Message& from); | 308 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 262 void MergeFrom(const ::google::protobuf::Message& from); | 309 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 263 void CopyFrom(const Int64Value& from); | 310 void CopyFrom(const Int64Value& from); |
| 264 void MergeFrom(const Int64Value& from); | 311 void MergeFrom(const Int64Value& from); |
| 265 void Clear(); | 312 void Clear() PROTOBUF_FINAL; |
| 266 bool IsInitialized() const; | 313 bool IsInitialized() const PROTOBUF_FINAL; |
| 267 | 314 |
| 268 int ByteSize() const; | 315 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 269 bool MergePartialFromCodedStream( | 316 bool MergePartialFromCodedStream( |
| 270 ::google::protobuf::io::CodedInputStream* input); | 317 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 271 void SerializeWithCachedSizes( | 318 void SerializeWithCachedSizes( |
| 272 ::google::protobuf::io::CodedOutputStream* output) const; | 319 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 273 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 320 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 274 int GetCachedSize() const { return _cached_size_; } | 321 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 322 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) |
| 323 const PROTOBUF_FINAL { |
| 324 return InternalSerializeWithCachedSizesToArray(false, output); |
| 325 } |
| 326 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
| 275 private: | 327 private: |
| 276 void SharedCtor(); | 328 void SharedCtor(); |
| 277 void SharedDtor(); | 329 void SharedDtor(); |
| 278 void SetCachedSize(int size) const; | 330 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 279 void InternalSwap(Int64Value* other); | 331 void InternalSwap(Int64Value* other); |
| 280 protected: | 332 protected: |
| 281 explicit Int64Value(::google::protobuf::Arena* arena); | 333 explicit Int64Value(::google::protobuf::Arena* arena); |
| 282 private: | 334 private: |
| 283 static void ArenaDtor(void* object); | 335 static void ArenaDtor(void* object); |
| 284 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); | 336 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 285 private: | 337 private: |
| 286 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 338 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 287 return _internal_metadata_.arena(); | 339 return _internal_metadata_.arena(); |
| 288 } | 340 } |
| 289 inline void* MaybeArenaPtr() const { | 341 inline void* MaybeArenaPtr() const { |
| 290 return _internal_metadata_.raw_arena_ptr(); | 342 return _internal_metadata_.raw_arena_ptr(); |
| 291 } | 343 } |
| 292 public: | 344 public: |
| 293 | 345 |
| 294 ::google::protobuf::Metadata GetMetadata() const; | 346 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 295 | 347 |
| 296 // nested types ---------------------------------------------------- | 348 // nested types ---------------------------------------------------- |
| 297 | 349 |
| 298 // accessors ------------------------------------------------------- | 350 // accessors ------------------------------------------------------- |
| 299 | 351 |
| 300 // optional int64 value = 1; | 352 // int64 value = 1; |
| 301 void clear_value(); | 353 void clear_value(); |
| 302 static const int kValueFieldNumber = 1; | 354 static const int kValueFieldNumber = 1; |
| 303 ::google::protobuf::int64 value() const; | 355 ::google::protobuf::int64 value() const; |
| 304 void set_value(::google::protobuf::int64 value); | 356 void set_value(::google::protobuf::int64 value); |
| 305 | 357 |
| 306 // @@protoc_insertion_point(class_scope:google.protobuf.Int64Value) | 358 // @@protoc_insertion_point(class_scope:google.protobuf.Int64Value) |
| 307 private: | 359 private: |
| 308 | 360 |
| 309 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 361 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 310 friend class ::google::protobuf::Arena; | 362 friend class ::google::protobuf::Arena; |
| 311 typedef void InternalArenaConstructable_; | 363 typedef void InternalArenaConstructable_; |
| 312 typedef void DestructorSkippable_; | 364 typedef void DestructorSkippable_; |
| 313 bool _is_default_instance_; | |
| 314 ::google::protobuf::int64 value_; | 365 ::google::protobuf::int64 value_; |
| 315 mutable int _cached_size_; | 366 mutable int _cached_size_; |
| 316 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2
eproto(); | 367 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fwrapp
ers_2eproto_impl(); |
| 317 friend void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto(); | 368 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2
eproto_impl(); |
| 369 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
wrappers_2eproto(); |
| 318 friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto(); | 370 friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto(); |
| 319 | 371 |
| 320 void InitAsDefaultInstance(); | |
| 321 static Int64Value* default_instance_; | |
| 322 }; | 372 }; |
| 323 // ------------------------------------------------------------------- | 373 // ------------------------------------------------------------------- |
| 324 | 374 |
| 325 class LIBPROTOBUF_EXPORT UInt64Value : public ::google::protobuf::Message { | 375 class LIBPROTOBUF_EXPORT UInt64Value : public ::google::protobuf::Message /* @@p
rotoc_insertion_point(class_definition:google.protobuf.UInt64Value) */ { |
| 326 public: | 376 public: |
| 327 UInt64Value(); | 377 UInt64Value(); |
| 328 virtual ~UInt64Value(); | 378 virtual ~UInt64Value(); |
| 329 | 379 |
| 330 UInt64Value(const UInt64Value& from); | 380 UInt64Value(const UInt64Value& from); |
| 331 | 381 |
| 332 inline UInt64Value& operator=(const UInt64Value& from) { | 382 inline UInt64Value& operator=(const UInt64Value& from) { |
| 333 CopyFrom(from); | 383 CopyFrom(from); |
| 334 return *this; | 384 return *this; |
| 335 } | 385 } |
| 336 | 386 |
| 337 inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(
); } | 387 inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL { |
| 338 inline void* GetMaybeArenaPointer() const { | 388 return GetArenaNoVirtual(); |
| 389 } |
| 390 inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL { |
| 339 return MaybeArenaPtr(); | 391 return MaybeArenaPtr(); |
| 340 } | 392 } |
| 341 static const ::google::protobuf::Descriptor* descriptor(); | 393 static const ::google::protobuf::Descriptor* descriptor(); |
| 342 static const UInt64Value& default_instance(); | 394 static const UInt64Value& default_instance(); |
| 343 | 395 |
| 396 static inline const UInt64Value* internal_default_instance() { |
| 397 return reinterpret_cast<const UInt64Value*>( |
| 398 &_UInt64Value_default_instance_); |
| 399 } |
| 400 |
| 344 void UnsafeArenaSwap(UInt64Value* other); | 401 void UnsafeArenaSwap(UInt64Value* other); |
| 345 void Swap(UInt64Value* other); | 402 void Swap(UInt64Value* other); |
| 346 | 403 |
| 347 // implements Message ---------------------------------------------- | 404 // implements Message ---------------------------------------------- |
| 348 | 405 |
| 349 inline UInt64Value* New() const { return New(NULL); } | 406 inline UInt64Value* New() const PROTOBUF_FINAL { return New(NULL); } |
| 350 | 407 |
| 351 UInt64Value* New(::google::protobuf::Arena* arena) const; | 408 UInt64Value* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 352 void CopyFrom(const ::google::protobuf::Message& from); | 409 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 353 void MergeFrom(const ::google::protobuf::Message& from); | 410 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 354 void CopyFrom(const UInt64Value& from); | 411 void CopyFrom(const UInt64Value& from); |
| 355 void MergeFrom(const UInt64Value& from); | 412 void MergeFrom(const UInt64Value& from); |
| 356 void Clear(); | 413 void Clear() PROTOBUF_FINAL; |
| 357 bool IsInitialized() const; | 414 bool IsInitialized() const PROTOBUF_FINAL; |
| 358 | 415 |
| 359 int ByteSize() const; | 416 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 360 bool MergePartialFromCodedStream( | 417 bool MergePartialFromCodedStream( |
| 361 ::google::protobuf::io::CodedInputStream* input); | 418 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 362 void SerializeWithCachedSizes( | 419 void SerializeWithCachedSizes( |
| 363 ::google::protobuf::io::CodedOutputStream* output) const; | 420 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 364 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 421 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 365 int GetCachedSize() const { return _cached_size_; } | 422 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 423 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) |
| 424 const PROTOBUF_FINAL { |
| 425 return InternalSerializeWithCachedSizesToArray(false, output); |
| 426 } |
| 427 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
| 366 private: | 428 private: |
| 367 void SharedCtor(); | 429 void SharedCtor(); |
| 368 void SharedDtor(); | 430 void SharedDtor(); |
| 369 void SetCachedSize(int size) const; | 431 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 370 void InternalSwap(UInt64Value* other); | 432 void InternalSwap(UInt64Value* other); |
| 371 protected: | 433 protected: |
| 372 explicit UInt64Value(::google::protobuf::Arena* arena); | 434 explicit UInt64Value(::google::protobuf::Arena* arena); |
| 373 private: | 435 private: |
| 374 static void ArenaDtor(void* object); | 436 static void ArenaDtor(void* object); |
| 375 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); | 437 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 376 private: | 438 private: |
| 377 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 439 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 378 return _internal_metadata_.arena(); | 440 return _internal_metadata_.arena(); |
| 379 } | 441 } |
| 380 inline void* MaybeArenaPtr() const { | 442 inline void* MaybeArenaPtr() const { |
| 381 return _internal_metadata_.raw_arena_ptr(); | 443 return _internal_metadata_.raw_arena_ptr(); |
| 382 } | 444 } |
| 383 public: | 445 public: |
| 384 | 446 |
| 385 ::google::protobuf::Metadata GetMetadata() const; | 447 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 386 | 448 |
| 387 // nested types ---------------------------------------------------- | 449 // nested types ---------------------------------------------------- |
| 388 | 450 |
| 389 // accessors ------------------------------------------------------- | 451 // accessors ------------------------------------------------------- |
| 390 | 452 |
| 391 // optional uint64 value = 1; | 453 // uint64 value = 1; |
| 392 void clear_value(); | 454 void clear_value(); |
| 393 static const int kValueFieldNumber = 1; | 455 static const int kValueFieldNumber = 1; |
| 394 ::google::protobuf::uint64 value() const; | 456 ::google::protobuf::uint64 value() const; |
| 395 void set_value(::google::protobuf::uint64 value); | 457 void set_value(::google::protobuf::uint64 value); |
| 396 | 458 |
| 397 // @@protoc_insertion_point(class_scope:google.protobuf.UInt64Value) | 459 // @@protoc_insertion_point(class_scope:google.protobuf.UInt64Value) |
| 398 private: | 460 private: |
| 399 | 461 |
| 400 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 462 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 401 friend class ::google::protobuf::Arena; | 463 friend class ::google::protobuf::Arena; |
| 402 typedef void InternalArenaConstructable_; | 464 typedef void InternalArenaConstructable_; |
| 403 typedef void DestructorSkippable_; | 465 typedef void DestructorSkippable_; |
| 404 bool _is_default_instance_; | |
| 405 ::google::protobuf::uint64 value_; | 466 ::google::protobuf::uint64 value_; |
| 406 mutable int _cached_size_; | 467 mutable int _cached_size_; |
| 407 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2
eproto(); | 468 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fwrapp
ers_2eproto_impl(); |
| 408 friend void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto(); | 469 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2
eproto_impl(); |
| 470 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
wrappers_2eproto(); |
| 409 friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto(); | 471 friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto(); |
| 410 | 472 |
| 411 void InitAsDefaultInstance(); | |
| 412 static UInt64Value* default_instance_; | |
| 413 }; | 473 }; |
| 414 // ------------------------------------------------------------------- | 474 // ------------------------------------------------------------------- |
| 415 | 475 |
| 416 class LIBPROTOBUF_EXPORT Int32Value : public ::google::protobuf::Message { | 476 class LIBPROTOBUF_EXPORT Int32Value : public ::google::protobuf::Message /* @@pr
otoc_insertion_point(class_definition:google.protobuf.Int32Value) */ { |
| 417 public: | 477 public: |
| 418 Int32Value(); | 478 Int32Value(); |
| 419 virtual ~Int32Value(); | 479 virtual ~Int32Value(); |
| 420 | 480 |
| 421 Int32Value(const Int32Value& from); | 481 Int32Value(const Int32Value& from); |
| 422 | 482 |
| 423 inline Int32Value& operator=(const Int32Value& from) { | 483 inline Int32Value& operator=(const Int32Value& from) { |
| 424 CopyFrom(from); | 484 CopyFrom(from); |
| 425 return *this; | 485 return *this; |
| 426 } | 486 } |
| 427 | 487 |
| 428 inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(
); } | 488 inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL { |
| 429 inline void* GetMaybeArenaPointer() const { | 489 return GetArenaNoVirtual(); |
| 490 } |
| 491 inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL { |
| 430 return MaybeArenaPtr(); | 492 return MaybeArenaPtr(); |
| 431 } | 493 } |
| 432 static const ::google::protobuf::Descriptor* descriptor(); | 494 static const ::google::protobuf::Descriptor* descriptor(); |
| 433 static const Int32Value& default_instance(); | 495 static const Int32Value& default_instance(); |
| 434 | 496 |
| 497 static inline const Int32Value* internal_default_instance() { |
| 498 return reinterpret_cast<const Int32Value*>( |
| 499 &_Int32Value_default_instance_); |
| 500 } |
| 501 |
| 435 void UnsafeArenaSwap(Int32Value* other); | 502 void UnsafeArenaSwap(Int32Value* other); |
| 436 void Swap(Int32Value* other); | 503 void Swap(Int32Value* other); |
| 437 | 504 |
| 438 // implements Message ---------------------------------------------- | 505 // implements Message ---------------------------------------------- |
| 439 | 506 |
| 440 inline Int32Value* New() const { return New(NULL); } | 507 inline Int32Value* New() const PROTOBUF_FINAL { return New(NULL); } |
| 441 | 508 |
| 442 Int32Value* New(::google::protobuf::Arena* arena) const; | 509 Int32Value* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 443 void CopyFrom(const ::google::protobuf::Message& from); | 510 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 444 void MergeFrom(const ::google::protobuf::Message& from); | 511 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 445 void CopyFrom(const Int32Value& from); | 512 void CopyFrom(const Int32Value& from); |
| 446 void MergeFrom(const Int32Value& from); | 513 void MergeFrom(const Int32Value& from); |
| 447 void Clear(); | 514 void Clear() PROTOBUF_FINAL; |
| 448 bool IsInitialized() const; | 515 bool IsInitialized() const PROTOBUF_FINAL; |
| 449 | 516 |
| 450 int ByteSize() const; | 517 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 451 bool MergePartialFromCodedStream( | 518 bool MergePartialFromCodedStream( |
| 452 ::google::protobuf::io::CodedInputStream* input); | 519 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 453 void SerializeWithCachedSizes( | 520 void SerializeWithCachedSizes( |
| 454 ::google::protobuf::io::CodedOutputStream* output) const; | 521 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 455 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 522 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 456 int GetCachedSize() const { return _cached_size_; } | 523 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 524 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) |
| 525 const PROTOBUF_FINAL { |
| 526 return InternalSerializeWithCachedSizesToArray(false, output); |
| 527 } |
| 528 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
| 457 private: | 529 private: |
| 458 void SharedCtor(); | 530 void SharedCtor(); |
| 459 void SharedDtor(); | 531 void SharedDtor(); |
| 460 void SetCachedSize(int size) const; | 532 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 461 void InternalSwap(Int32Value* other); | 533 void InternalSwap(Int32Value* other); |
| 462 protected: | 534 protected: |
| 463 explicit Int32Value(::google::protobuf::Arena* arena); | 535 explicit Int32Value(::google::protobuf::Arena* arena); |
| 464 private: | 536 private: |
| 465 static void ArenaDtor(void* object); | 537 static void ArenaDtor(void* object); |
| 466 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); | 538 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 467 private: | 539 private: |
| 468 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 540 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 469 return _internal_metadata_.arena(); | 541 return _internal_metadata_.arena(); |
| 470 } | 542 } |
| 471 inline void* MaybeArenaPtr() const { | 543 inline void* MaybeArenaPtr() const { |
| 472 return _internal_metadata_.raw_arena_ptr(); | 544 return _internal_metadata_.raw_arena_ptr(); |
| 473 } | 545 } |
| 474 public: | 546 public: |
| 475 | 547 |
| 476 ::google::protobuf::Metadata GetMetadata() const; | 548 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 477 | 549 |
| 478 // nested types ---------------------------------------------------- | 550 // nested types ---------------------------------------------------- |
| 479 | 551 |
| 480 // accessors ------------------------------------------------------- | 552 // accessors ------------------------------------------------------- |
| 481 | 553 |
| 482 // optional int32 value = 1; | 554 // int32 value = 1; |
| 483 void clear_value(); | 555 void clear_value(); |
| 484 static const int kValueFieldNumber = 1; | 556 static const int kValueFieldNumber = 1; |
| 485 ::google::protobuf::int32 value() const; | 557 ::google::protobuf::int32 value() const; |
| 486 void set_value(::google::protobuf::int32 value); | 558 void set_value(::google::protobuf::int32 value); |
| 487 | 559 |
| 488 // @@protoc_insertion_point(class_scope:google.protobuf.Int32Value) | 560 // @@protoc_insertion_point(class_scope:google.protobuf.Int32Value) |
| 489 private: | 561 private: |
| 490 | 562 |
| 491 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 563 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 492 friend class ::google::protobuf::Arena; | 564 friend class ::google::protobuf::Arena; |
| 493 typedef void InternalArenaConstructable_; | 565 typedef void InternalArenaConstructable_; |
| 494 typedef void DestructorSkippable_; | 566 typedef void DestructorSkippable_; |
| 495 bool _is_default_instance_; | |
| 496 ::google::protobuf::int32 value_; | 567 ::google::protobuf::int32 value_; |
| 497 mutable int _cached_size_; | 568 mutable int _cached_size_; |
| 498 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2
eproto(); | 569 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fwrapp
ers_2eproto_impl(); |
| 499 friend void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto(); | 570 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2
eproto_impl(); |
| 571 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
wrappers_2eproto(); |
| 500 friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto(); | 572 friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto(); |
| 501 | 573 |
| 502 void InitAsDefaultInstance(); | |
| 503 static Int32Value* default_instance_; | |
| 504 }; | 574 }; |
| 505 // ------------------------------------------------------------------- | 575 // ------------------------------------------------------------------- |
| 506 | 576 |
| 507 class LIBPROTOBUF_EXPORT UInt32Value : public ::google::protobuf::Message { | 577 class LIBPROTOBUF_EXPORT UInt32Value : public ::google::protobuf::Message /* @@p
rotoc_insertion_point(class_definition:google.protobuf.UInt32Value) */ { |
| 508 public: | 578 public: |
| 509 UInt32Value(); | 579 UInt32Value(); |
| 510 virtual ~UInt32Value(); | 580 virtual ~UInt32Value(); |
| 511 | 581 |
| 512 UInt32Value(const UInt32Value& from); | 582 UInt32Value(const UInt32Value& from); |
| 513 | 583 |
| 514 inline UInt32Value& operator=(const UInt32Value& from) { | 584 inline UInt32Value& operator=(const UInt32Value& from) { |
| 515 CopyFrom(from); | 585 CopyFrom(from); |
| 516 return *this; | 586 return *this; |
| 517 } | 587 } |
| 518 | 588 |
| 519 inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(
); } | 589 inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL { |
| 520 inline void* GetMaybeArenaPointer() const { | 590 return GetArenaNoVirtual(); |
| 591 } |
| 592 inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL { |
| 521 return MaybeArenaPtr(); | 593 return MaybeArenaPtr(); |
| 522 } | 594 } |
| 523 static const ::google::protobuf::Descriptor* descriptor(); | 595 static const ::google::protobuf::Descriptor* descriptor(); |
| 524 static const UInt32Value& default_instance(); | 596 static const UInt32Value& default_instance(); |
| 525 | 597 |
| 598 static inline const UInt32Value* internal_default_instance() { |
| 599 return reinterpret_cast<const UInt32Value*>( |
| 600 &_UInt32Value_default_instance_); |
| 601 } |
| 602 |
| 526 void UnsafeArenaSwap(UInt32Value* other); | 603 void UnsafeArenaSwap(UInt32Value* other); |
| 527 void Swap(UInt32Value* other); | 604 void Swap(UInt32Value* other); |
| 528 | 605 |
| 529 // implements Message ---------------------------------------------- | 606 // implements Message ---------------------------------------------- |
| 530 | 607 |
| 531 inline UInt32Value* New() const { return New(NULL); } | 608 inline UInt32Value* New() const PROTOBUF_FINAL { return New(NULL); } |
| 532 | 609 |
| 533 UInt32Value* New(::google::protobuf::Arena* arena) const; | 610 UInt32Value* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 534 void CopyFrom(const ::google::protobuf::Message& from); | 611 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 535 void MergeFrom(const ::google::protobuf::Message& from); | 612 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 536 void CopyFrom(const UInt32Value& from); | 613 void CopyFrom(const UInt32Value& from); |
| 537 void MergeFrom(const UInt32Value& from); | 614 void MergeFrom(const UInt32Value& from); |
| 538 void Clear(); | 615 void Clear() PROTOBUF_FINAL; |
| 539 bool IsInitialized() const; | 616 bool IsInitialized() const PROTOBUF_FINAL; |
| 540 | 617 |
| 541 int ByteSize() const; | 618 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 542 bool MergePartialFromCodedStream( | 619 bool MergePartialFromCodedStream( |
| 543 ::google::protobuf::io::CodedInputStream* input); | 620 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 544 void SerializeWithCachedSizes( | 621 void SerializeWithCachedSizes( |
| 545 ::google::protobuf::io::CodedOutputStream* output) const; | 622 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 546 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 623 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 547 int GetCachedSize() const { return _cached_size_; } | 624 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 625 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) |
| 626 const PROTOBUF_FINAL { |
| 627 return InternalSerializeWithCachedSizesToArray(false, output); |
| 628 } |
| 629 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
| 548 private: | 630 private: |
| 549 void SharedCtor(); | 631 void SharedCtor(); |
| 550 void SharedDtor(); | 632 void SharedDtor(); |
| 551 void SetCachedSize(int size) const; | 633 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 552 void InternalSwap(UInt32Value* other); | 634 void InternalSwap(UInt32Value* other); |
| 553 protected: | 635 protected: |
| 554 explicit UInt32Value(::google::protobuf::Arena* arena); | 636 explicit UInt32Value(::google::protobuf::Arena* arena); |
| 555 private: | 637 private: |
| 556 static void ArenaDtor(void* object); | 638 static void ArenaDtor(void* object); |
| 557 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); | 639 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 558 private: | 640 private: |
| 559 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 641 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 560 return _internal_metadata_.arena(); | 642 return _internal_metadata_.arena(); |
| 561 } | 643 } |
| 562 inline void* MaybeArenaPtr() const { | 644 inline void* MaybeArenaPtr() const { |
| 563 return _internal_metadata_.raw_arena_ptr(); | 645 return _internal_metadata_.raw_arena_ptr(); |
| 564 } | 646 } |
| 565 public: | 647 public: |
| 566 | 648 |
| 567 ::google::protobuf::Metadata GetMetadata() const; | 649 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 568 | 650 |
| 569 // nested types ---------------------------------------------------- | 651 // nested types ---------------------------------------------------- |
| 570 | 652 |
| 571 // accessors ------------------------------------------------------- | 653 // accessors ------------------------------------------------------- |
| 572 | 654 |
| 573 // optional uint32 value = 1; | 655 // uint32 value = 1; |
| 574 void clear_value(); | 656 void clear_value(); |
| 575 static const int kValueFieldNumber = 1; | 657 static const int kValueFieldNumber = 1; |
| 576 ::google::protobuf::uint32 value() const; | 658 ::google::protobuf::uint32 value() const; |
| 577 void set_value(::google::protobuf::uint32 value); | 659 void set_value(::google::protobuf::uint32 value); |
| 578 | 660 |
| 579 // @@protoc_insertion_point(class_scope:google.protobuf.UInt32Value) | 661 // @@protoc_insertion_point(class_scope:google.protobuf.UInt32Value) |
| 580 private: | 662 private: |
| 581 | 663 |
| 582 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 664 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 583 friend class ::google::protobuf::Arena; | 665 friend class ::google::protobuf::Arena; |
| 584 typedef void InternalArenaConstructable_; | 666 typedef void InternalArenaConstructable_; |
| 585 typedef void DestructorSkippable_; | 667 typedef void DestructorSkippable_; |
| 586 bool _is_default_instance_; | |
| 587 ::google::protobuf::uint32 value_; | 668 ::google::protobuf::uint32 value_; |
| 588 mutable int _cached_size_; | 669 mutable int _cached_size_; |
| 589 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2
eproto(); | 670 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fwrapp
ers_2eproto_impl(); |
| 590 friend void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto(); | 671 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2
eproto_impl(); |
| 672 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
wrappers_2eproto(); |
| 591 friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto(); | 673 friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto(); |
| 592 | 674 |
| 593 void InitAsDefaultInstance(); | |
| 594 static UInt32Value* default_instance_; | |
| 595 }; | 675 }; |
| 596 // ------------------------------------------------------------------- | 676 // ------------------------------------------------------------------- |
| 597 | 677 |
| 598 class LIBPROTOBUF_EXPORT BoolValue : public ::google::protobuf::Message { | 678 class LIBPROTOBUF_EXPORT BoolValue : public ::google::protobuf::Message /* @@pro
toc_insertion_point(class_definition:google.protobuf.BoolValue) */ { |
| 599 public: | 679 public: |
| 600 BoolValue(); | 680 BoolValue(); |
| 601 virtual ~BoolValue(); | 681 virtual ~BoolValue(); |
| 602 | 682 |
| 603 BoolValue(const BoolValue& from); | 683 BoolValue(const BoolValue& from); |
| 604 | 684 |
| 605 inline BoolValue& operator=(const BoolValue& from) { | 685 inline BoolValue& operator=(const BoolValue& from) { |
| 606 CopyFrom(from); | 686 CopyFrom(from); |
| 607 return *this; | 687 return *this; |
| 608 } | 688 } |
| 609 | 689 |
| 610 inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(
); } | 690 inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL { |
| 611 inline void* GetMaybeArenaPointer() const { | 691 return GetArenaNoVirtual(); |
| 692 } |
| 693 inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL { |
| 612 return MaybeArenaPtr(); | 694 return MaybeArenaPtr(); |
| 613 } | 695 } |
| 614 static const ::google::protobuf::Descriptor* descriptor(); | 696 static const ::google::protobuf::Descriptor* descriptor(); |
| 615 static const BoolValue& default_instance(); | 697 static const BoolValue& default_instance(); |
| 616 | 698 |
| 699 static inline const BoolValue* internal_default_instance() { |
| 700 return reinterpret_cast<const BoolValue*>( |
| 701 &_BoolValue_default_instance_); |
| 702 } |
| 703 |
| 617 void UnsafeArenaSwap(BoolValue* other); | 704 void UnsafeArenaSwap(BoolValue* other); |
| 618 void Swap(BoolValue* other); | 705 void Swap(BoolValue* other); |
| 619 | 706 |
| 620 // implements Message ---------------------------------------------- | 707 // implements Message ---------------------------------------------- |
| 621 | 708 |
| 622 inline BoolValue* New() const { return New(NULL); } | 709 inline BoolValue* New() const PROTOBUF_FINAL { return New(NULL); } |
| 623 | 710 |
| 624 BoolValue* New(::google::protobuf::Arena* arena) const; | 711 BoolValue* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 625 void CopyFrom(const ::google::protobuf::Message& from); | 712 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 626 void MergeFrom(const ::google::protobuf::Message& from); | 713 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 627 void CopyFrom(const BoolValue& from); | 714 void CopyFrom(const BoolValue& from); |
| 628 void MergeFrom(const BoolValue& from); | 715 void MergeFrom(const BoolValue& from); |
| 629 void Clear(); | 716 void Clear() PROTOBUF_FINAL; |
| 630 bool IsInitialized() const; | 717 bool IsInitialized() const PROTOBUF_FINAL; |
| 631 | 718 |
| 632 int ByteSize() const; | 719 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 633 bool MergePartialFromCodedStream( | 720 bool MergePartialFromCodedStream( |
| 634 ::google::protobuf::io::CodedInputStream* input); | 721 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 635 void SerializeWithCachedSizes( | 722 void SerializeWithCachedSizes( |
| 636 ::google::protobuf::io::CodedOutputStream* output) const; | 723 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 637 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 724 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 638 int GetCachedSize() const { return _cached_size_; } | 725 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 726 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) |
| 727 const PROTOBUF_FINAL { |
| 728 return InternalSerializeWithCachedSizesToArray(false, output); |
| 729 } |
| 730 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
| 639 private: | 731 private: |
| 640 void SharedCtor(); | 732 void SharedCtor(); |
| 641 void SharedDtor(); | 733 void SharedDtor(); |
| 642 void SetCachedSize(int size) const; | 734 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 643 void InternalSwap(BoolValue* other); | 735 void InternalSwap(BoolValue* other); |
| 644 protected: | 736 protected: |
| 645 explicit BoolValue(::google::protobuf::Arena* arena); | 737 explicit BoolValue(::google::protobuf::Arena* arena); |
| 646 private: | 738 private: |
| 647 static void ArenaDtor(void* object); | 739 static void ArenaDtor(void* object); |
| 648 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); | 740 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 649 private: | 741 private: |
| 650 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 742 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 651 return _internal_metadata_.arena(); | 743 return _internal_metadata_.arena(); |
| 652 } | 744 } |
| 653 inline void* MaybeArenaPtr() const { | 745 inline void* MaybeArenaPtr() const { |
| 654 return _internal_metadata_.raw_arena_ptr(); | 746 return _internal_metadata_.raw_arena_ptr(); |
| 655 } | 747 } |
| 656 public: | 748 public: |
| 657 | 749 |
| 658 ::google::protobuf::Metadata GetMetadata() const; | 750 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 659 | 751 |
| 660 // nested types ---------------------------------------------------- | 752 // nested types ---------------------------------------------------- |
| 661 | 753 |
| 662 // accessors ------------------------------------------------------- | 754 // accessors ------------------------------------------------------- |
| 663 | 755 |
| 664 // optional bool value = 1; | 756 // bool value = 1; |
| 665 void clear_value(); | 757 void clear_value(); |
| 666 static const int kValueFieldNumber = 1; | 758 static const int kValueFieldNumber = 1; |
| 667 bool value() const; | 759 bool value() const; |
| 668 void set_value(bool value); | 760 void set_value(bool value); |
| 669 | 761 |
| 670 // @@protoc_insertion_point(class_scope:google.protobuf.BoolValue) | 762 // @@protoc_insertion_point(class_scope:google.protobuf.BoolValue) |
| 671 private: | 763 private: |
| 672 | 764 |
| 673 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 765 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 674 friend class ::google::protobuf::Arena; | 766 friend class ::google::protobuf::Arena; |
| 675 typedef void InternalArenaConstructable_; | 767 typedef void InternalArenaConstructable_; |
| 676 typedef void DestructorSkippable_; | 768 typedef void DestructorSkippable_; |
| 677 bool _is_default_instance_; | |
| 678 bool value_; | 769 bool value_; |
| 679 mutable int _cached_size_; | 770 mutable int _cached_size_; |
| 680 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2
eproto(); | 771 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fwrapp
ers_2eproto_impl(); |
| 681 friend void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto(); | 772 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2
eproto_impl(); |
| 773 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
wrappers_2eproto(); |
| 682 friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto(); | 774 friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto(); |
| 683 | 775 |
| 684 void InitAsDefaultInstance(); | |
| 685 static BoolValue* default_instance_; | |
| 686 }; | 776 }; |
| 687 // ------------------------------------------------------------------- | 777 // ------------------------------------------------------------------- |
| 688 | 778 |
| 689 class LIBPROTOBUF_EXPORT StringValue : public ::google::protobuf::Message { | 779 class LIBPROTOBUF_EXPORT StringValue : public ::google::protobuf::Message /* @@p
rotoc_insertion_point(class_definition:google.protobuf.StringValue) */ { |
| 690 public: | 780 public: |
| 691 StringValue(); | 781 StringValue(); |
| 692 virtual ~StringValue(); | 782 virtual ~StringValue(); |
| 693 | 783 |
| 694 StringValue(const StringValue& from); | 784 StringValue(const StringValue& from); |
| 695 | 785 |
| 696 inline StringValue& operator=(const StringValue& from) { | 786 inline StringValue& operator=(const StringValue& from) { |
| 697 CopyFrom(from); | 787 CopyFrom(from); |
| 698 return *this; | 788 return *this; |
| 699 } | 789 } |
| 700 | 790 |
| 701 inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(
); } | 791 inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL { |
| 702 inline void* GetMaybeArenaPointer() const { | 792 return GetArenaNoVirtual(); |
| 793 } |
| 794 inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL { |
| 703 return MaybeArenaPtr(); | 795 return MaybeArenaPtr(); |
| 704 } | 796 } |
| 705 static const ::google::protobuf::Descriptor* descriptor(); | 797 static const ::google::protobuf::Descriptor* descriptor(); |
| 706 static const StringValue& default_instance(); | 798 static const StringValue& default_instance(); |
| 707 | 799 |
| 800 static inline const StringValue* internal_default_instance() { |
| 801 return reinterpret_cast<const StringValue*>( |
| 802 &_StringValue_default_instance_); |
| 803 } |
| 804 |
| 708 void UnsafeArenaSwap(StringValue* other); | 805 void UnsafeArenaSwap(StringValue* other); |
| 709 void Swap(StringValue* other); | 806 void Swap(StringValue* other); |
| 710 | 807 |
| 711 // implements Message ---------------------------------------------- | 808 // implements Message ---------------------------------------------- |
| 712 | 809 |
| 713 inline StringValue* New() const { return New(NULL); } | 810 inline StringValue* New() const PROTOBUF_FINAL { return New(NULL); } |
| 714 | 811 |
| 715 StringValue* New(::google::protobuf::Arena* arena) const; | 812 StringValue* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 716 void CopyFrom(const ::google::protobuf::Message& from); | 813 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 717 void MergeFrom(const ::google::protobuf::Message& from); | 814 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 718 void CopyFrom(const StringValue& from); | 815 void CopyFrom(const StringValue& from); |
| 719 void MergeFrom(const StringValue& from); | 816 void MergeFrom(const StringValue& from); |
| 720 void Clear(); | 817 void Clear() PROTOBUF_FINAL; |
| 721 bool IsInitialized() const; | 818 bool IsInitialized() const PROTOBUF_FINAL; |
| 722 | 819 |
| 723 int ByteSize() const; | 820 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 724 bool MergePartialFromCodedStream( | 821 bool MergePartialFromCodedStream( |
| 725 ::google::protobuf::io::CodedInputStream* input); | 822 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 726 void SerializeWithCachedSizes( | 823 void SerializeWithCachedSizes( |
| 727 ::google::protobuf::io::CodedOutputStream* output) const; | 824 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 728 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 825 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 729 int GetCachedSize() const { return _cached_size_; } | 826 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 827 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) |
| 828 const PROTOBUF_FINAL { |
| 829 return InternalSerializeWithCachedSizesToArray(false, output); |
| 830 } |
| 831 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
| 730 private: | 832 private: |
| 731 void SharedCtor(); | 833 void SharedCtor(); |
| 732 void SharedDtor(); | 834 void SharedDtor(); |
| 733 void SetCachedSize(int size) const; | 835 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 734 void InternalSwap(StringValue* other); | 836 void InternalSwap(StringValue* other); |
| 735 protected: | 837 protected: |
| 736 explicit StringValue(::google::protobuf::Arena* arena); | 838 explicit StringValue(::google::protobuf::Arena* arena); |
| 737 private: | 839 private: |
| 738 static void ArenaDtor(void* object); | 840 static void ArenaDtor(void* object); |
| 739 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); | 841 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 740 private: | 842 private: |
| 741 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 843 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 742 return _internal_metadata_.arena(); | 844 return _internal_metadata_.arena(); |
| 743 } | 845 } |
| 744 inline void* MaybeArenaPtr() const { | 846 inline void* MaybeArenaPtr() const { |
| 745 return _internal_metadata_.raw_arena_ptr(); | 847 return _internal_metadata_.raw_arena_ptr(); |
| 746 } | 848 } |
| 747 public: | 849 public: |
| 748 | 850 |
| 749 ::google::protobuf::Metadata GetMetadata() const; | 851 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 750 | 852 |
| 751 // nested types ---------------------------------------------------- | 853 // nested types ---------------------------------------------------- |
| 752 | 854 |
| 753 // accessors ------------------------------------------------------- | 855 // accessors ------------------------------------------------------- |
| 754 | 856 |
| 755 // optional string value = 1; | 857 // string value = 1; |
| 756 void clear_value(); | 858 void clear_value(); |
| 757 static const int kValueFieldNumber = 1; | 859 static const int kValueFieldNumber = 1; |
| 758 const ::std::string& value() const; | 860 const ::std::string& value() const; |
| 759 void set_value(const ::std::string& value); | 861 void set_value(const ::std::string& value); |
| 760 void set_value(const char* value); | 862 void set_value(const char* value); |
| 761 void set_value(const char* value, size_t size); | 863 void set_value(const char* value, size_t size); |
| 762 ::std::string* mutable_value(); | 864 ::std::string* mutable_value(); |
| 763 ::std::string* release_value(); | 865 ::std::string* release_value(); |
| 764 void set_allocated_value(::std::string* value); | 866 void set_allocated_value(::std::string* value); |
| 765 ::std::string* unsafe_arena_release_value(); | 867 ::std::string* unsafe_arena_release_value(); |
| 766 void unsafe_arena_set_allocated_value( | 868 void unsafe_arena_set_allocated_value( |
| 767 ::std::string* value); | 869 ::std::string* value); |
| 768 | 870 |
| 769 // @@protoc_insertion_point(class_scope:google.protobuf.StringValue) | 871 // @@protoc_insertion_point(class_scope:google.protobuf.StringValue) |
| 770 private: | 872 private: |
| 771 | 873 |
| 772 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 874 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 773 friend class ::google::protobuf::Arena; | 875 friend class ::google::protobuf::Arena; |
| 774 typedef void InternalArenaConstructable_; | 876 typedef void InternalArenaConstructable_; |
| 775 typedef void DestructorSkippable_; | 877 typedef void DestructorSkippable_; |
| 776 bool _is_default_instance_; | |
| 777 ::google::protobuf::internal::ArenaStringPtr value_; | 878 ::google::protobuf::internal::ArenaStringPtr value_; |
| 778 mutable int _cached_size_; | 879 mutable int _cached_size_; |
| 779 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2
eproto(); | 880 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fwrapp
ers_2eproto_impl(); |
| 780 friend void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto(); | 881 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2
eproto_impl(); |
| 882 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
wrappers_2eproto(); |
| 781 friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto(); | 883 friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto(); |
| 782 | 884 |
| 783 void InitAsDefaultInstance(); | |
| 784 static StringValue* default_instance_; | |
| 785 }; | 885 }; |
| 786 // ------------------------------------------------------------------- | 886 // ------------------------------------------------------------------- |
| 787 | 887 |
| 788 class LIBPROTOBUF_EXPORT BytesValue : public ::google::protobuf::Message { | 888 class LIBPROTOBUF_EXPORT BytesValue : public ::google::protobuf::Message /* @@pr
otoc_insertion_point(class_definition:google.protobuf.BytesValue) */ { |
| 789 public: | 889 public: |
| 790 BytesValue(); | 890 BytesValue(); |
| 791 virtual ~BytesValue(); | 891 virtual ~BytesValue(); |
| 792 | 892 |
| 793 BytesValue(const BytesValue& from); | 893 BytesValue(const BytesValue& from); |
| 794 | 894 |
| 795 inline BytesValue& operator=(const BytesValue& from) { | 895 inline BytesValue& operator=(const BytesValue& from) { |
| 796 CopyFrom(from); | 896 CopyFrom(from); |
| 797 return *this; | 897 return *this; |
| 798 } | 898 } |
| 799 | 899 |
| 800 inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(
); } | 900 inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL { |
| 801 inline void* GetMaybeArenaPointer() const { | 901 return GetArenaNoVirtual(); |
| 902 } |
| 903 inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL { |
| 802 return MaybeArenaPtr(); | 904 return MaybeArenaPtr(); |
| 803 } | 905 } |
| 804 static const ::google::protobuf::Descriptor* descriptor(); | 906 static const ::google::protobuf::Descriptor* descriptor(); |
| 805 static const BytesValue& default_instance(); | 907 static const BytesValue& default_instance(); |
| 806 | 908 |
| 909 static inline const BytesValue* internal_default_instance() { |
| 910 return reinterpret_cast<const BytesValue*>( |
| 911 &_BytesValue_default_instance_); |
| 912 } |
| 913 |
| 807 void UnsafeArenaSwap(BytesValue* other); | 914 void UnsafeArenaSwap(BytesValue* other); |
| 808 void Swap(BytesValue* other); | 915 void Swap(BytesValue* other); |
| 809 | 916 |
| 810 // implements Message ---------------------------------------------- | 917 // implements Message ---------------------------------------------- |
| 811 | 918 |
| 812 inline BytesValue* New() const { return New(NULL); } | 919 inline BytesValue* New() const PROTOBUF_FINAL { return New(NULL); } |
| 813 | 920 |
| 814 BytesValue* New(::google::protobuf::Arena* arena) const; | 921 BytesValue* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 815 void CopyFrom(const ::google::protobuf::Message& from); | 922 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 816 void MergeFrom(const ::google::protobuf::Message& from); | 923 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 817 void CopyFrom(const BytesValue& from); | 924 void CopyFrom(const BytesValue& from); |
| 818 void MergeFrom(const BytesValue& from); | 925 void MergeFrom(const BytesValue& from); |
| 819 void Clear(); | 926 void Clear() PROTOBUF_FINAL; |
| 820 bool IsInitialized() const; | 927 bool IsInitialized() const PROTOBUF_FINAL; |
| 821 | 928 |
| 822 int ByteSize() const; | 929 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 823 bool MergePartialFromCodedStream( | 930 bool MergePartialFromCodedStream( |
| 824 ::google::protobuf::io::CodedInputStream* input); | 931 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 825 void SerializeWithCachedSizes( | 932 void SerializeWithCachedSizes( |
| 826 ::google::protobuf::io::CodedOutputStream* output) const; | 933 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 827 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 934 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 828 int GetCachedSize() const { return _cached_size_; } | 935 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 936 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) |
| 937 const PROTOBUF_FINAL { |
| 938 return InternalSerializeWithCachedSizesToArray(false, output); |
| 939 } |
| 940 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
| 829 private: | 941 private: |
| 830 void SharedCtor(); | 942 void SharedCtor(); |
| 831 void SharedDtor(); | 943 void SharedDtor(); |
| 832 void SetCachedSize(int size) const; | 944 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 833 void InternalSwap(BytesValue* other); | 945 void InternalSwap(BytesValue* other); |
| 834 protected: | 946 protected: |
| 835 explicit BytesValue(::google::protobuf::Arena* arena); | 947 explicit BytesValue(::google::protobuf::Arena* arena); |
| 836 private: | 948 private: |
| 837 static void ArenaDtor(void* object); | 949 static void ArenaDtor(void* object); |
| 838 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); | 950 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 839 private: | 951 private: |
| 840 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 952 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 841 return _internal_metadata_.arena(); | 953 return _internal_metadata_.arena(); |
| 842 } | 954 } |
| 843 inline void* MaybeArenaPtr() const { | 955 inline void* MaybeArenaPtr() const { |
| 844 return _internal_metadata_.raw_arena_ptr(); | 956 return _internal_metadata_.raw_arena_ptr(); |
| 845 } | 957 } |
| 846 public: | 958 public: |
| 847 | 959 |
| 848 ::google::protobuf::Metadata GetMetadata() const; | 960 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 849 | 961 |
| 850 // nested types ---------------------------------------------------- | 962 // nested types ---------------------------------------------------- |
| 851 | 963 |
| 852 // accessors ------------------------------------------------------- | 964 // accessors ------------------------------------------------------- |
| 853 | 965 |
| 854 // optional bytes value = 1; | 966 // bytes value = 1; |
| 855 void clear_value(); | 967 void clear_value(); |
| 856 static const int kValueFieldNumber = 1; | 968 static const int kValueFieldNumber = 1; |
| 857 const ::std::string& value() const; | 969 const ::std::string& value() const; |
| 858 void set_value(const ::std::string& value); | 970 void set_value(const ::std::string& value); |
| 859 void set_value(const char* value); | 971 void set_value(const char* value); |
| 860 void set_value(const void* value, size_t size); | 972 void set_value(const void* value, size_t size); |
| 861 ::std::string* mutable_value(); | 973 ::std::string* mutable_value(); |
| 862 ::std::string* release_value(); | 974 ::std::string* release_value(); |
| 863 void set_allocated_value(::std::string* value); | 975 void set_allocated_value(::std::string* value); |
| 864 ::std::string* unsafe_arena_release_value(); | 976 ::std::string* unsafe_arena_release_value(); |
| 865 void unsafe_arena_set_allocated_value( | 977 void unsafe_arena_set_allocated_value( |
| 866 ::std::string* value); | 978 ::std::string* value); |
| 867 | 979 |
| 868 // @@protoc_insertion_point(class_scope:google.protobuf.BytesValue) | 980 // @@protoc_insertion_point(class_scope:google.protobuf.BytesValue) |
| 869 private: | 981 private: |
| 870 | 982 |
| 871 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 983 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 872 friend class ::google::protobuf::Arena; | 984 friend class ::google::protobuf::Arena; |
| 873 typedef void InternalArenaConstructable_; | 985 typedef void InternalArenaConstructable_; |
| 874 typedef void DestructorSkippable_; | 986 typedef void DestructorSkippable_; |
| 875 bool _is_default_instance_; | |
| 876 ::google::protobuf::internal::ArenaStringPtr value_; | 987 ::google::protobuf::internal::ArenaStringPtr value_; |
| 877 mutable int _cached_size_; | 988 mutable int _cached_size_; |
| 878 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2
eproto(); | 989 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fwrapp
ers_2eproto_impl(); |
| 879 friend void protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto(); | 990 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fwrappers_2
eproto_impl(); |
| 991 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
wrappers_2eproto(); |
| 880 friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto(); | 992 friend void protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto(); |
| 881 | 993 |
| 882 void InitAsDefaultInstance(); | |
| 883 static BytesValue* default_instance_; | |
| 884 }; | 994 }; |
| 885 // =================================================================== | 995 // =================================================================== |
| 886 | 996 |
| 887 | 997 |
| 888 // =================================================================== | 998 // =================================================================== |
| 889 | 999 |
| 890 #if !PROTOBUF_INLINE_NOT_IN_HEADERS | 1000 #if !PROTOBUF_INLINE_NOT_IN_HEADERS |
| 891 // DoubleValue | 1001 // DoubleValue |
| 892 | 1002 |
| 893 // optional double value = 1; | 1003 // double value = 1; |
| 894 inline void DoubleValue::clear_value() { | 1004 inline void DoubleValue::clear_value() { |
| 895 value_ = 0; | 1005 value_ = 0; |
| 896 } | 1006 } |
| 897 inline double DoubleValue::value() const { | 1007 inline double DoubleValue::value() const { |
| 898 // @@protoc_insertion_point(field_get:google.protobuf.DoubleValue.value) | 1008 // @@protoc_insertion_point(field_get:google.protobuf.DoubleValue.value) |
| 899 return value_; | 1009 return value_; |
| 900 } | 1010 } |
| 901 inline void DoubleValue::set_value(double value) { | 1011 inline void DoubleValue::set_value(double value) { |
| 902 | 1012 |
| 903 value_ = value; | 1013 value_ = value; |
| 904 // @@protoc_insertion_point(field_set:google.protobuf.DoubleValue.value) | 1014 // @@protoc_insertion_point(field_set:google.protobuf.DoubleValue.value) |
| 905 } | 1015 } |
| 906 | 1016 |
| 907 // ------------------------------------------------------------------- | 1017 // ------------------------------------------------------------------- |
| 908 | 1018 |
| 909 // FloatValue | 1019 // FloatValue |
| 910 | 1020 |
| 911 // optional float value = 1; | 1021 // float value = 1; |
| 912 inline void FloatValue::clear_value() { | 1022 inline void FloatValue::clear_value() { |
| 913 value_ = 0; | 1023 value_ = 0; |
| 914 } | 1024 } |
| 915 inline float FloatValue::value() const { | 1025 inline float FloatValue::value() const { |
| 916 // @@protoc_insertion_point(field_get:google.protobuf.FloatValue.value) | 1026 // @@protoc_insertion_point(field_get:google.protobuf.FloatValue.value) |
| 917 return value_; | 1027 return value_; |
| 918 } | 1028 } |
| 919 inline void FloatValue::set_value(float value) { | 1029 inline void FloatValue::set_value(float value) { |
| 920 | 1030 |
| 921 value_ = value; | 1031 value_ = value; |
| 922 // @@protoc_insertion_point(field_set:google.protobuf.FloatValue.value) | 1032 // @@protoc_insertion_point(field_set:google.protobuf.FloatValue.value) |
| 923 } | 1033 } |
| 924 | 1034 |
| 925 // ------------------------------------------------------------------- | 1035 // ------------------------------------------------------------------- |
| 926 | 1036 |
| 927 // Int64Value | 1037 // Int64Value |
| 928 | 1038 |
| 929 // optional int64 value = 1; | 1039 // int64 value = 1; |
| 930 inline void Int64Value::clear_value() { | 1040 inline void Int64Value::clear_value() { |
| 931 value_ = GOOGLE_LONGLONG(0); | 1041 value_ = GOOGLE_LONGLONG(0); |
| 932 } | 1042 } |
| 933 inline ::google::protobuf::int64 Int64Value::value() const { | 1043 inline ::google::protobuf::int64 Int64Value::value() const { |
| 934 // @@protoc_insertion_point(field_get:google.protobuf.Int64Value.value) | 1044 // @@protoc_insertion_point(field_get:google.protobuf.Int64Value.value) |
| 935 return value_; | 1045 return value_; |
| 936 } | 1046 } |
| 937 inline void Int64Value::set_value(::google::protobuf::int64 value) { | 1047 inline void Int64Value::set_value(::google::protobuf::int64 value) { |
| 938 | 1048 |
| 939 value_ = value; | 1049 value_ = value; |
| 940 // @@protoc_insertion_point(field_set:google.protobuf.Int64Value.value) | 1050 // @@protoc_insertion_point(field_set:google.protobuf.Int64Value.value) |
| 941 } | 1051 } |
| 942 | 1052 |
| 943 // ------------------------------------------------------------------- | 1053 // ------------------------------------------------------------------- |
| 944 | 1054 |
| 945 // UInt64Value | 1055 // UInt64Value |
| 946 | 1056 |
| 947 // optional uint64 value = 1; | 1057 // uint64 value = 1; |
| 948 inline void UInt64Value::clear_value() { | 1058 inline void UInt64Value::clear_value() { |
| 949 value_ = GOOGLE_ULONGLONG(0); | 1059 value_ = GOOGLE_ULONGLONG(0); |
| 950 } | 1060 } |
| 951 inline ::google::protobuf::uint64 UInt64Value::value() const { | 1061 inline ::google::protobuf::uint64 UInt64Value::value() const { |
| 952 // @@protoc_insertion_point(field_get:google.protobuf.UInt64Value.value) | 1062 // @@protoc_insertion_point(field_get:google.protobuf.UInt64Value.value) |
| 953 return value_; | 1063 return value_; |
| 954 } | 1064 } |
| 955 inline void UInt64Value::set_value(::google::protobuf::uint64 value) { | 1065 inline void UInt64Value::set_value(::google::protobuf::uint64 value) { |
| 956 | 1066 |
| 957 value_ = value; | 1067 value_ = value; |
| 958 // @@protoc_insertion_point(field_set:google.protobuf.UInt64Value.value) | 1068 // @@protoc_insertion_point(field_set:google.protobuf.UInt64Value.value) |
| 959 } | 1069 } |
| 960 | 1070 |
| 961 // ------------------------------------------------------------------- | 1071 // ------------------------------------------------------------------- |
| 962 | 1072 |
| 963 // Int32Value | 1073 // Int32Value |
| 964 | 1074 |
| 965 // optional int32 value = 1; | 1075 // int32 value = 1; |
| 966 inline void Int32Value::clear_value() { | 1076 inline void Int32Value::clear_value() { |
| 967 value_ = 0; | 1077 value_ = 0; |
| 968 } | 1078 } |
| 969 inline ::google::protobuf::int32 Int32Value::value() const { | 1079 inline ::google::protobuf::int32 Int32Value::value() const { |
| 970 // @@protoc_insertion_point(field_get:google.protobuf.Int32Value.value) | 1080 // @@protoc_insertion_point(field_get:google.protobuf.Int32Value.value) |
| 971 return value_; | 1081 return value_; |
| 972 } | 1082 } |
| 973 inline void Int32Value::set_value(::google::protobuf::int32 value) { | 1083 inline void Int32Value::set_value(::google::protobuf::int32 value) { |
| 974 | 1084 |
| 975 value_ = value; | 1085 value_ = value; |
| 976 // @@protoc_insertion_point(field_set:google.protobuf.Int32Value.value) | 1086 // @@protoc_insertion_point(field_set:google.protobuf.Int32Value.value) |
| 977 } | 1087 } |
| 978 | 1088 |
| 979 // ------------------------------------------------------------------- | 1089 // ------------------------------------------------------------------- |
| 980 | 1090 |
| 981 // UInt32Value | 1091 // UInt32Value |
| 982 | 1092 |
| 983 // optional uint32 value = 1; | 1093 // uint32 value = 1; |
| 984 inline void UInt32Value::clear_value() { | 1094 inline void UInt32Value::clear_value() { |
| 985 value_ = 0u; | 1095 value_ = 0u; |
| 986 } | 1096 } |
| 987 inline ::google::protobuf::uint32 UInt32Value::value() const { | 1097 inline ::google::protobuf::uint32 UInt32Value::value() const { |
| 988 // @@protoc_insertion_point(field_get:google.protobuf.UInt32Value.value) | 1098 // @@protoc_insertion_point(field_get:google.protobuf.UInt32Value.value) |
| 989 return value_; | 1099 return value_; |
| 990 } | 1100 } |
| 991 inline void UInt32Value::set_value(::google::protobuf::uint32 value) { | 1101 inline void UInt32Value::set_value(::google::protobuf::uint32 value) { |
| 992 | 1102 |
| 993 value_ = value; | 1103 value_ = value; |
| 994 // @@protoc_insertion_point(field_set:google.protobuf.UInt32Value.value) | 1104 // @@protoc_insertion_point(field_set:google.protobuf.UInt32Value.value) |
| 995 } | 1105 } |
| 996 | 1106 |
| 997 // ------------------------------------------------------------------- | 1107 // ------------------------------------------------------------------- |
| 998 | 1108 |
| 999 // BoolValue | 1109 // BoolValue |
| 1000 | 1110 |
| 1001 // optional bool value = 1; | 1111 // bool value = 1; |
| 1002 inline void BoolValue::clear_value() { | 1112 inline void BoolValue::clear_value() { |
| 1003 value_ = false; | 1113 value_ = false; |
| 1004 } | 1114 } |
| 1005 inline bool BoolValue::value() const { | 1115 inline bool BoolValue::value() const { |
| 1006 // @@protoc_insertion_point(field_get:google.protobuf.BoolValue.value) | 1116 // @@protoc_insertion_point(field_get:google.protobuf.BoolValue.value) |
| 1007 return value_; | 1117 return value_; |
| 1008 } | 1118 } |
| 1009 inline void BoolValue::set_value(bool value) { | 1119 inline void BoolValue::set_value(bool value) { |
| 1010 | 1120 |
| 1011 value_ = value; | 1121 value_ = value; |
| 1012 // @@protoc_insertion_point(field_set:google.protobuf.BoolValue.value) | 1122 // @@protoc_insertion_point(field_set:google.protobuf.BoolValue.value) |
| 1013 } | 1123 } |
| 1014 | 1124 |
| 1015 // ------------------------------------------------------------------- | 1125 // ------------------------------------------------------------------- |
| 1016 | 1126 |
| 1017 // StringValue | 1127 // StringValue |
| 1018 | 1128 |
| 1019 // optional string value = 1; | 1129 // string value = 1; |
| 1020 inline void StringValue::clear_value() { | 1130 inline void StringValue::clear_value() { |
| 1021 value_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited
(), GetArenaNoVirtual()); | 1131 value_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited
(), GetArenaNoVirtual()); |
| 1022 } | 1132 } |
| 1023 inline const ::std::string& StringValue::value() const { | 1133 inline const ::std::string& StringValue::value() const { |
| 1024 // @@protoc_insertion_point(field_get:google.protobuf.StringValue.value) | 1134 // @@protoc_insertion_point(field_get:google.protobuf.StringValue.value) |
| 1025 return value_.Get(&::google::protobuf::internal::GetEmptyStringAlreadyInited()
); | 1135 return value_.Get(); |
| 1026 } | 1136 } |
| 1027 inline void StringValue::set_value(const ::std::string& value) { | 1137 inline void StringValue::set_value(const ::std::string& value) { |
| 1028 | 1138 |
| 1029 value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value
, GetArenaNoVirtual()); | 1139 value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value
, GetArenaNoVirtual()); |
| 1030 // @@protoc_insertion_point(field_set:google.protobuf.StringValue.value) | 1140 // @@protoc_insertion_point(field_set:google.protobuf.StringValue.value) |
| 1031 } | 1141 } |
| 1032 inline void StringValue::set_value(const char* value) { | 1142 inline void StringValue::set_value(const char* value) { |
| 1033 | 1143 |
| 1034 value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std
::string(value), | 1144 value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std
::string(value), |
| 1035 GetArenaNoVirtual()); | 1145 GetArenaNoVirtual()); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1079 } | 1189 } |
| 1080 value_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAl
readyInited(), | 1190 value_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAl
readyInited(), |
| 1081 value, GetArenaNoVirtual()); | 1191 value, GetArenaNoVirtual()); |
| 1082 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.S
tringValue.value) | 1192 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.S
tringValue.value) |
| 1083 } | 1193 } |
| 1084 | 1194 |
| 1085 // ------------------------------------------------------------------- | 1195 // ------------------------------------------------------------------- |
| 1086 | 1196 |
| 1087 // BytesValue | 1197 // BytesValue |
| 1088 | 1198 |
| 1089 // optional bytes value = 1; | 1199 // bytes value = 1; |
| 1090 inline void BytesValue::clear_value() { | 1200 inline void BytesValue::clear_value() { |
| 1091 value_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited
(), GetArenaNoVirtual()); | 1201 value_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited
(), GetArenaNoVirtual()); |
| 1092 } | 1202 } |
| 1093 inline const ::std::string& BytesValue::value() const { | 1203 inline const ::std::string& BytesValue::value() const { |
| 1094 // @@protoc_insertion_point(field_get:google.protobuf.BytesValue.value) | 1204 // @@protoc_insertion_point(field_get:google.protobuf.BytesValue.value) |
| 1095 return value_.Get(&::google::protobuf::internal::GetEmptyStringAlreadyInited()
); | 1205 return value_.Get(); |
| 1096 } | 1206 } |
| 1097 inline void BytesValue::set_value(const ::std::string& value) { | 1207 inline void BytesValue::set_value(const ::std::string& value) { |
| 1098 | 1208 |
| 1099 value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value
, GetArenaNoVirtual()); | 1209 value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value
, GetArenaNoVirtual()); |
| 1100 // @@protoc_insertion_point(field_set:google.protobuf.BytesValue.value) | 1210 // @@protoc_insertion_point(field_set:google.protobuf.BytesValue.value) |
| 1101 } | 1211 } |
| 1102 inline void BytesValue::set_value(const char* value) { | 1212 inline void BytesValue::set_value(const char* value) { |
| 1103 | 1213 |
| 1104 value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std
::string(value), | 1214 value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std
::string(value), |
| 1105 GetArenaNoVirtual()); | 1215 GetArenaNoVirtual()); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1165 | 1275 |
| 1166 // ------------------------------------------------------------------- | 1276 // ------------------------------------------------------------------- |
| 1167 | 1277 |
| 1168 // ------------------------------------------------------------------- | 1278 // ------------------------------------------------------------------- |
| 1169 | 1279 |
| 1170 // ------------------------------------------------------------------- | 1280 // ------------------------------------------------------------------- |
| 1171 | 1281 |
| 1172 | 1282 |
| 1173 // @@protoc_insertion_point(namespace_scope) | 1283 // @@protoc_insertion_point(namespace_scope) |
| 1174 | 1284 |
| 1285 |
| 1175 } // namespace protobuf | 1286 } // namespace protobuf |
| 1176 } // namespace google | 1287 } // namespace google |
| 1177 | 1288 |
| 1178 // @@protoc_insertion_point(global_scope) | 1289 // @@protoc_insertion_point(global_scope) |
| 1179 | 1290 |
| 1180 #endif // PROTOBUF_google_2fprotobuf_2fwrappers_2eproto__INCLUDED | 1291 #endif // PROTOBUF_google_2fprotobuf_2fwrappers_2eproto__INCLUDED |
| OLD | NEW |