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