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/type.proto | 2 // source: google/protobuf/type.proto |
3 | 3 |
4 #ifndef PROTOBUF_google_2fprotobuf_2ftype_2eproto__INCLUDED | 4 #ifndef PROTOBUF_google_2fprotobuf_2ftype_2eproto__INCLUDED |
5 #define PROTOBUF_google_2fprotobuf_2ftype_2eproto__INCLUDED | 5 #define PROTOBUF_google_2fprotobuf_2ftype_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/generated_enum_reflection.h> | 29 #include <google/protobuf/generated_enum_reflection.h> |
30 #include <google/protobuf/unknown_field_set.h> | 30 #include <google/protobuf/unknown_field_set.h> |
31 #include <google/protobuf/any.pb.h> | 31 #include <google/protobuf/any.pb.h> |
32 #include <google/protobuf/source_context.pb.h> | 32 #include <google/protobuf/source_context.pb.h> |
33 // @@protoc_insertion_point(includes) | 33 // @@protoc_insertion_point(includes) |
34 namespace google { | |
35 namespace protobuf { | |
36 class Any; | |
37 class AnyDefaultTypeInternal; | |
38 LIBPROTOBUF_EXPORT extern AnyDefaultTypeInternal _Any_default_instance_; | |
39 class Enum; | |
40 class EnumDefaultTypeInternal; | |
41 LIBPROTOBUF_EXPORT extern EnumDefaultTypeInternal _Enum_default_instance_; | |
42 class EnumValue; | |
43 class EnumValueDefaultTypeInternal; | |
44 LIBPROTOBUF_EXPORT extern EnumValueDefaultTypeInternal _EnumValue_default_instan
ce_; | |
45 class Field; | |
46 class FieldDefaultTypeInternal; | |
47 LIBPROTOBUF_EXPORT extern FieldDefaultTypeInternal _Field_default_instance_; | |
48 class Option; | |
49 class OptionDefaultTypeInternal; | |
50 LIBPROTOBUF_EXPORT extern OptionDefaultTypeInternal _Option_default_instance_; | |
51 class SourceContext; | |
52 class SourceContextDefaultTypeInternal; | |
53 LIBPROTOBUF_EXPORT extern SourceContextDefaultTypeInternal _SourceContext_defaul
t_instance_; | |
54 class Type; | |
55 class TypeDefaultTypeInternal; | |
56 LIBPROTOBUF_EXPORT extern TypeDefaultTypeInternal _Type_default_instance_; | |
57 } // namespace protobuf | |
58 } // namespace google | |
59 | 34 |
60 namespace google { | 35 namespace google { |
61 namespace protobuf { | 36 namespace protobuf { |
62 | 37 |
63 // Internal implementation detail -- do not call these. | 38 // Internal implementation detail -- do not call these. |
64 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftype_2eproto(); | 39 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftype_2eproto(); |
65 void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2ftype_2eproto()
; | 40 void protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto(); |
| 41 void protobuf_ShutdownFile_google_2fprotobuf_2ftype_2eproto(); |
| 42 |
| 43 class Enum; |
| 44 class EnumValue; |
| 45 class Field; |
| 46 class Option; |
| 47 class Type; |
66 | 48 |
67 enum Field_Kind { | 49 enum Field_Kind { |
68 Field_Kind_TYPE_UNKNOWN = 0, | 50 Field_Kind_TYPE_UNKNOWN = 0, |
69 Field_Kind_TYPE_DOUBLE = 1, | 51 Field_Kind_TYPE_DOUBLE = 1, |
70 Field_Kind_TYPE_FLOAT = 2, | 52 Field_Kind_TYPE_FLOAT = 2, |
71 Field_Kind_TYPE_INT64 = 3, | 53 Field_Kind_TYPE_INT64 = 3, |
72 Field_Kind_TYPE_UINT64 = 4, | 54 Field_Kind_TYPE_UINT64 = 4, |
73 Field_Kind_TYPE_INT32 = 5, | 55 Field_Kind_TYPE_INT32 = 5, |
74 Field_Kind_TYPE_FIXED64 = 6, | 56 Field_Kind_TYPE_FIXED64 = 6, |
75 Field_Kind_TYPE_FIXED32 = 7, | 57 Field_Kind_TYPE_FIXED32 = 7, |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 return ::google::protobuf::internal::NameOfEnum( | 123 return ::google::protobuf::internal::NameOfEnum( |
142 Syntax_descriptor(), value); | 124 Syntax_descriptor(), value); |
143 } | 125 } |
144 inline bool Syntax_Parse( | 126 inline bool Syntax_Parse( |
145 const ::std::string& name, Syntax* value) { | 127 const ::std::string& name, Syntax* value) { |
146 return ::google::protobuf::internal::ParseNamedEnum<Syntax>( | 128 return ::google::protobuf::internal::ParseNamedEnum<Syntax>( |
147 Syntax_descriptor(), name, value); | 129 Syntax_descriptor(), name, value); |
148 } | 130 } |
149 // =================================================================== | 131 // =================================================================== |
150 | 132 |
151 class LIBPROTOBUF_EXPORT Type : public ::google::protobuf::Message /* @@protoc_i
nsertion_point(class_definition:google.protobuf.Type) */ { | 133 class LIBPROTOBUF_EXPORT Type : public ::google::protobuf::Message { |
152 public: | 134 public: |
153 Type(); | 135 Type(); |
154 virtual ~Type(); | 136 virtual ~Type(); |
155 | 137 |
156 Type(const Type& from); | 138 Type(const Type& from); |
157 | 139 |
158 inline Type& operator=(const Type& from) { | 140 inline Type& operator=(const Type& from) { |
159 CopyFrom(from); | 141 CopyFrom(from); |
160 return *this; | 142 return *this; |
161 } | 143 } |
162 | 144 |
163 inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL { | |
164 return GetArenaNoVirtual(); | |
165 } | |
166 inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL { | |
167 return MaybeArenaPtr(); | |
168 } | |
169 static const ::google::protobuf::Descriptor* descriptor(); | 145 static const ::google::protobuf::Descriptor* descriptor(); |
170 static const Type& default_instance(); | 146 static const Type& default_instance(); |
171 | 147 |
172 static inline const Type* internal_default_instance() { | |
173 return reinterpret_cast<const Type*>( | |
174 &_Type_default_instance_); | |
175 } | |
176 | |
177 void UnsafeArenaSwap(Type* other); | |
178 void Swap(Type* other); | 148 void Swap(Type* other); |
179 | 149 |
180 // implements Message ---------------------------------------------- | 150 // implements Message ---------------------------------------------- |
181 | 151 |
182 inline Type* New() const PROTOBUF_FINAL { return New(NULL); } | 152 inline Type* New() const { return New(NULL); } |
183 | 153 |
184 Type* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; | 154 Type* New(::google::protobuf::Arena* arena) const; |
185 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 155 void CopyFrom(const ::google::protobuf::Message& from); |
186 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 156 void MergeFrom(const ::google::protobuf::Message& from); |
187 void CopyFrom(const Type& from); | 157 void CopyFrom(const Type& from); |
188 void MergeFrom(const Type& from); | 158 void MergeFrom(const Type& from); |
189 void Clear() PROTOBUF_FINAL; | 159 void Clear(); |
190 bool IsInitialized() const PROTOBUF_FINAL; | 160 bool IsInitialized() const; |
191 | 161 |
192 size_t ByteSizeLong() const PROTOBUF_FINAL; | 162 int ByteSize() const; |
193 bool MergePartialFromCodedStream( | 163 bool MergePartialFromCodedStream( |
194 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 164 ::google::protobuf::io::CodedInputStream* input); |
195 void SerializeWithCachedSizes( | 165 void SerializeWithCachedSizes( |
196 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 166 ::google::protobuf::io::CodedOutputStream* output) const; |
197 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 167 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
198 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 168 int GetCachedSize() const { return _cached_size_; } |
199 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
200 const PROTOBUF_FINAL { | |
201 return InternalSerializeWithCachedSizesToArray(false, output); | |
202 } | |
203 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
204 private: | 169 private: |
205 void SharedCtor(); | 170 void SharedCtor(); |
206 void SharedDtor(); | 171 void SharedDtor(); |
207 void SetCachedSize(int size) const PROTOBUF_FINAL; | 172 void SetCachedSize(int size) const; |
208 void InternalSwap(Type* other); | 173 void InternalSwap(Type* other); |
209 protected: | |
210 explicit Type(::google::protobuf::Arena* arena); | |
211 private: | |
212 static void ArenaDtor(void* object); | |
213 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); | |
214 private: | 174 private: |
215 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 175 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
216 return _internal_metadata_.arena(); | 176 return _internal_metadata_.arena(); |
217 } | 177 } |
218 inline void* MaybeArenaPtr() const { | 178 inline void* MaybeArenaPtr() const { |
219 return _internal_metadata_.raw_arena_ptr(); | 179 return _internal_metadata_.raw_arena_ptr(); |
220 } | 180 } |
221 public: | 181 public: |
222 | 182 |
223 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 183 ::google::protobuf::Metadata GetMetadata() const; |
224 | 184 |
225 // nested types ---------------------------------------------------- | 185 // nested types ---------------------------------------------------- |
226 | 186 |
227 // accessors ------------------------------------------------------- | 187 // accessors ------------------------------------------------------- |
228 | 188 |
229 // string name = 1; | 189 // optional string name = 1; |
230 void clear_name(); | 190 void clear_name(); |
231 static const int kNameFieldNumber = 1; | 191 static const int kNameFieldNumber = 1; |
232 const ::std::string& name() const; | 192 const ::std::string& name() const; |
233 void set_name(const ::std::string& value); | 193 void set_name(const ::std::string& value); |
234 void set_name(const char* value); | 194 void set_name(const char* value); |
235 void set_name(const char* value, size_t size); | 195 void set_name(const char* value, size_t size); |
236 ::std::string* mutable_name(); | 196 ::std::string* mutable_name(); |
237 ::std::string* release_name(); | 197 ::std::string* release_name(); |
238 void set_allocated_name(::std::string* name); | 198 void set_allocated_name(::std::string* name); |
239 ::std::string* unsafe_arena_release_name(); | |
240 void unsafe_arena_set_allocated_name( | |
241 ::std::string* name); | |
242 | 199 |
243 // repeated .google.protobuf.Field fields = 2; | 200 // repeated .google.protobuf.Field fields = 2; |
244 int fields_size() const; | 201 int fields_size() const; |
245 void clear_fields(); | 202 void clear_fields(); |
246 static const int kFieldsFieldNumber = 2; | 203 static const int kFieldsFieldNumber = 2; |
247 const ::google::protobuf::Field& fields(int index) const; | 204 const ::google::protobuf::Field& fields(int index) const; |
248 ::google::protobuf::Field* mutable_fields(int index); | 205 ::google::protobuf::Field* mutable_fields(int index); |
249 ::google::protobuf::Field* add_fields(); | 206 ::google::protobuf::Field* add_fields(); |
250 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field >* | 207 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field >* |
251 mutable_fields(); | 208 mutable_fields(); |
(...skipping 21 matching lines...) Expand all Loading... |
273 void clear_options(); | 230 void clear_options(); |
274 static const int kOptionsFieldNumber = 4; | 231 static const int kOptionsFieldNumber = 4; |
275 const ::google::protobuf::Option& options(int index) const; | 232 const ::google::protobuf::Option& options(int index) const; |
276 ::google::protobuf::Option* mutable_options(int index); | 233 ::google::protobuf::Option* mutable_options(int index); |
277 ::google::protobuf::Option* add_options(); | 234 ::google::protobuf::Option* add_options(); |
278 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* | 235 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* |
279 mutable_options(); | 236 mutable_options(); |
280 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& | 237 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& |
281 options() const; | 238 options() const; |
282 | 239 |
283 // .google.protobuf.SourceContext source_context = 5; | 240 // optional .google.protobuf.SourceContext source_context = 5; |
284 bool has_source_context() const; | 241 bool has_source_context() const; |
285 void clear_source_context(); | 242 void clear_source_context(); |
286 static const int kSourceContextFieldNumber = 5; | 243 static const int kSourceContextFieldNumber = 5; |
287 private: | |
288 void _slow_mutable_source_context(); | |
289 ::google::protobuf::SourceContext* _slow_release_source_context(); | |
290 public: | |
291 const ::google::protobuf::SourceContext& source_context() const; | 244 const ::google::protobuf::SourceContext& source_context() const; |
292 ::google::protobuf::SourceContext* mutable_source_context(); | 245 ::google::protobuf::SourceContext* mutable_source_context(); |
293 ::google::protobuf::SourceContext* release_source_context(); | 246 ::google::protobuf::SourceContext* release_source_context(); |
294 void set_allocated_source_context(::google::protobuf::SourceContext* source_co
ntext); | 247 void set_allocated_source_context(::google::protobuf::SourceContext* source_co
ntext); |
295 ::google::protobuf::SourceContext* unsafe_arena_release_source_context(); | |
296 void unsafe_arena_set_allocated_source_context( | |
297 ::google::protobuf::SourceContext* source_context); | |
298 | 248 |
299 // .google.protobuf.Syntax syntax = 6; | 249 // optional .google.protobuf.Syntax syntax = 6; |
300 void clear_syntax(); | 250 void clear_syntax(); |
301 static const int kSyntaxFieldNumber = 6; | 251 static const int kSyntaxFieldNumber = 6; |
302 ::google::protobuf::Syntax syntax() const; | 252 ::google::protobuf::Syntax syntax() const; |
303 void set_syntax(::google::protobuf::Syntax value); | 253 void set_syntax(::google::protobuf::Syntax value); |
304 | 254 |
305 // @@protoc_insertion_point(class_scope:google.protobuf.Type) | 255 // @@protoc_insertion_point(class_scope:google.protobuf.Type) |
306 private: | 256 private: |
307 | 257 |
308 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 258 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
309 friend class ::google::protobuf::Arena; | 259 bool _is_default_instance_; |
310 typedef void InternalArenaConstructable_; | 260 ::google::protobuf::internal::ArenaStringPtr name_; |
311 typedef void DestructorSkippable_; | |
312 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field > fields_; | 261 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field > fields_; |
313 ::google::protobuf::RepeatedPtrField< ::std::string> oneofs_; | 262 ::google::protobuf::RepeatedPtrField< ::std::string> oneofs_; |
314 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_; | 263 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_; |
315 ::google::protobuf::internal::ArenaStringPtr name_; | |
316 ::google::protobuf::SourceContext* source_context_; | 264 ::google::protobuf::SourceContext* source_context_; |
317 int syntax_; | 265 int syntax_; |
318 mutable int _cached_size_; | 266 mutable int _cached_size_; |
319 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2ftype_
2eproto_impl(); | 267 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftype_2epro
to(); |
320 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftype_2epro
to_impl(); | 268 friend void protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto(); |
321 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
type_2eproto(); | |
322 friend void protobuf_ShutdownFile_google_2fprotobuf_2ftype_2eproto(); | 269 friend void protobuf_ShutdownFile_google_2fprotobuf_2ftype_2eproto(); |
323 | 270 |
| 271 void InitAsDefaultInstance(); |
| 272 static Type* default_instance_; |
324 }; | 273 }; |
325 // ------------------------------------------------------------------- | 274 // ------------------------------------------------------------------- |
326 | 275 |
327 class LIBPROTOBUF_EXPORT Field : public ::google::protobuf::Message /* @@protoc_
insertion_point(class_definition:google.protobuf.Field) */ { | 276 class LIBPROTOBUF_EXPORT Field : public ::google::protobuf::Message { |
328 public: | 277 public: |
329 Field(); | 278 Field(); |
330 virtual ~Field(); | 279 virtual ~Field(); |
331 | 280 |
332 Field(const Field& from); | 281 Field(const Field& from); |
333 | 282 |
334 inline Field& operator=(const Field& from) { | 283 inline Field& operator=(const Field& from) { |
335 CopyFrom(from); | 284 CopyFrom(from); |
336 return *this; | 285 return *this; |
337 } | 286 } |
338 | 287 |
339 inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL { | |
340 return GetArenaNoVirtual(); | |
341 } | |
342 inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL { | |
343 return MaybeArenaPtr(); | |
344 } | |
345 static const ::google::protobuf::Descriptor* descriptor(); | 288 static const ::google::protobuf::Descriptor* descriptor(); |
346 static const Field& default_instance(); | 289 static const Field& default_instance(); |
347 | 290 |
348 static inline const Field* internal_default_instance() { | |
349 return reinterpret_cast<const Field*>( | |
350 &_Field_default_instance_); | |
351 } | |
352 | |
353 void UnsafeArenaSwap(Field* other); | |
354 void Swap(Field* other); | 291 void Swap(Field* other); |
355 | 292 |
356 // implements Message ---------------------------------------------- | 293 // implements Message ---------------------------------------------- |
357 | 294 |
358 inline Field* New() const PROTOBUF_FINAL { return New(NULL); } | 295 inline Field* New() const { return New(NULL); } |
359 | 296 |
360 Field* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; | 297 Field* New(::google::protobuf::Arena* arena) const; |
361 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 298 void CopyFrom(const ::google::protobuf::Message& from); |
362 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 299 void MergeFrom(const ::google::protobuf::Message& from); |
363 void CopyFrom(const Field& from); | 300 void CopyFrom(const Field& from); |
364 void MergeFrom(const Field& from); | 301 void MergeFrom(const Field& from); |
365 void Clear() PROTOBUF_FINAL; | 302 void Clear(); |
366 bool IsInitialized() const PROTOBUF_FINAL; | 303 bool IsInitialized() const; |
367 | 304 |
368 size_t ByteSizeLong() const PROTOBUF_FINAL; | 305 int ByteSize() const; |
369 bool MergePartialFromCodedStream( | 306 bool MergePartialFromCodedStream( |
370 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 307 ::google::protobuf::io::CodedInputStream* input); |
371 void SerializeWithCachedSizes( | 308 void SerializeWithCachedSizes( |
372 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 309 ::google::protobuf::io::CodedOutputStream* output) const; |
373 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 310 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
374 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 311 int GetCachedSize() const { return _cached_size_; } |
375 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
376 const PROTOBUF_FINAL { | |
377 return InternalSerializeWithCachedSizesToArray(false, output); | |
378 } | |
379 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
380 private: | 312 private: |
381 void SharedCtor(); | 313 void SharedCtor(); |
382 void SharedDtor(); | 314 void SharedDtor(); |
383 void SetCachedSize(int size) const PROTOBUF_FINAL; | 315 void SetCachedSize(int size) const; |
384 void InternalSwap(Field* other); | 316 void InternalSwap(Field* other); |
385 protected: | |
386 explicit Field(::google::protobuf::Arena* arena); | |
387 private: | |
388 static void ArenaDtor(void* object); | |
389 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); | |
390 private: | 317 private: |
391 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 318 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
392 return _internal_metadata_.arena(); | 319 return _internal_metadata_.arena(); |
393 } | 320 } |
394 inline void* MaybeArenaPtr() const { | 321 inline void* MaybeArenaPtr() const { |
395 return _internal_metadata_.raw_arena_ptr(); | 322 return _internal_metadata_.raw_arena_ptr(); |
396 } | 323 } |
397 public: | 324 public: |
398 | 325 |
399 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 326 ::google::protobuf::Metadata GetMetadata() const; |
400 | 327 |
401 // nested types ---------------------------------------------------- | 328 // nested types ---------------------------------------------------- |
402 | 329 |
403 typedef Field_Kind Kind; | 330 typedef Field_Kind Kind; |
404 static const Kind TYPE_UNKNOWN = | 331 static const Kind TYPE_UNKNOWN = |
405 Field_Kind_TYPE_UNKNOWN; | 332 Field_Kind_TYPE_UNKNOWN; |
406 static const Kind TYPE_DOUBLE = | 333 static const Kind TYPE_DOUBLE = |
407 Field_Kind_TYPE_DOUBLE; | 334 Field_Kind_TYPE_DOUBLE; |
408 static const Kind TYPE_FLOAT = | 335 static const Kind TYPE_FLOAT = |
409 Field_Kind_TYPE_FLOAT; | 336 Field_Kind_TYPE_FLOAT; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 static inline const ::std::string& Cardinality_Name(Cardinality value) { | 412 static inline const ::std::string& Cardinality_Name(Cardinality value) { |
486 return Field_Cardinality_Name(value); | 413 return Field_Cardinality_Name(value); |
487 } | 414 } |
488 static inline bool Cardinality_Parse(const ::std::string& name, | 415 static inline bool Cardinality_Parse(const ::std::string& name, |
489 Cardinality* value) { | 416 Cardinality* value) { |
490 return Field_Cardinality_Parse(name, value); | 417 return Field_Cardinality_Parse(name, value); |
491 } | 418 } |
492 | 419 |
493 // accessors ------------------------------------------------------- | 420 // accessors ------------------------------------------------------- |
494 | 421 |
495 // .google.protobuf.Field.Kind kind = 1; | 422 // optional .google.protobuf.Field.Kind kind = 1; |
496 void clear_kind(); | 423 void clear_kind(); |
497 static const int kKindFieldNumber = 1; | 424 static const int kKindFieldNumber = 1; |
498 ::google::protobuf::Field_Kind kind() const; | 425 ::google::protobuf::Field_Kind kind() const; |
499 void set_kind(::google::protobuf::Field_Kind value); | 426 void set_kind(::google::protobuf::Field_Kind value); |
500 | 427 |
501 // .google.protobuf.Field.Cardinality cardinality = 2; | 428 // optional .google.protobuf.Field.Cardinality cardinality = 2; |
502 void clear_cardinality(); | 429 void clear_cardinality(); |
503 static const int kCardinalityFieldNumber = 2; | 430 static const int kCardinalityFieldNumber = 2; |
504 ::google::protobuf::Field_Cardinality cardinality() const; | 431 ::google::protobuf::Field_Cardinality cardinality() const; |
505 void set_cardinality(::google::protobuf::Field_Cardinality value); | 432 void set_cardinality(::google::protobuf::Field_Cardinality value); |
506 | 433 |
507 // int32 number = 3; | 434 // optional int32 number = 3; |
508 void clear_number(); | 435 void clear_number(); |
509 static const int kNumberFieldNumber = 3; | 436 static const int kNumberFieldNumber = 3; |
510 ::google::protobuf::int32 number() const; | 437 ::google::protobuf::int32 number() const; |
511 void set_number(::google::protobuf::int32 value); | 438 void set_number(::google::protobuf::int32 value); |
512 | 439 |
513 // string name = 4; | 440 // optional string name = 4; |
514 void clear_name(); | 441 void clear_name(); |
515 static const int kNameFieldNumber = 4; | 442 static const int kNameFieldNumber = 4; |
516 const ::std::string& name() const; | 443 const ::std::string& name() const; |
517 void set_name(const ::std::string& value); | 444 void set_name(const ::std::string& value); |
518 void set_name(const char* value); | 445 void set_name(const char* value); |
519 void set_name(const char* value, size_t size); | 446 void set_name(const char* value, size_t size); |
520 ::std::string* mutable_name(); | 447 ::std::string* mutable_name(); |
521 ::std::string* release_name(); | 448 ::std::string* release_name(); |
522 void set_allocated_name(::std::string* name); | 449 void set_allocated_name(::std::string* name); |
523 ::std::string* unsafe_arena_release_name(); | |
524 void unsafe_arena_set_allocated_name( | |
525 ::std::string* name); | |
526 | 450 |
527 // string type_url = 6; | 451 // optional string type_url = 6; |
528 void clear_type_url(); | 452 void clear_type_url(); |
529 static const int kTypeUrlFieldNumber = 6; | 453 static const int kTypeUrlFieldNumber = 6; |
530 const ::std::string& type_url() const; | 454 const ::std::string& type_url() const; |
531 void set_type_url(const ::std::string& value); | 455 void set_type_url(const ::std::string& value); |
532 void set_type_url(const char* value); | 456 void set_type_url(const char* value); |
533 void set_type_url(const char* value, size_t size); | 457 void set_type_url(const char* value, size_t size); |
534 ::std::string* mutable_type_url(); | 458 ::std::string* mutable_type_url(); |
535 ::std::string* release_type_url(); | 459 ::std::string* release_type_url(); |
536 void set_allocated_type_url(::std::string* type_url); | 460 void set_allocated_type_url(::std::string* type_url); |
537 ::std::string* unsafe_arena_release_type_url(); | |
538 void unsafe_arena_set_allocated_type_url( | |
539 ::std::string* type_url); | |
540 | 461 |
541 // int32 oneof_index = 7; | 462 // optional int32 oneof_index = 7; |
542 void clear_oneof_index(); | 463 void clear_oneof_index(); |
543 static const int kOneofIndexFieldNumber = 7; | 464 static const int kOneofIndexFieldNumber = 7; |
544 ::google::protobuf::int32 oneof_index() const; | 465 ::google::protobuf::int32 oneof_index() const; |
545 void set_oneof_index(::google::protobuf::int32 value); | 466 void set_oneof_index(::google::protobuf::int32 value); |
546 | 467 |
547 // bool packed = 8; | 468 // optional bool packed = 8; |
548 void clear_packed(); | 469 void clear_packed(); |
549 static const int kPackedFieldNumber = 8; | 470 static const int kPackedFieldNumber = 8; |
550 bool packed() const; | 471 bool packed() const; |
551 void set_packed(bool value); | 472 void set_packed(bool value); |
552 | 473 |
553 // repeated .google.protobuf.Option options = 9; | 474 // repeated .google.protobuf.Option options = 9; |
554 int options_size() const; | 475 int options_size() const; |
555 void clear_options(); | 476 void clear_options(); |
556 static const int kOptionsFieldNumber = 9; | 477 static const int kOptionsFieldNumber = 9; |
557 const ::google::protobuf::Option& options(int index) const; | 478 const ::google::protobuf::Option& options(int index) const; |
558 ::google::protobuf::Option* mutable_options(int index); | 479 ::google::protobuf::Option* mutable_options(int index); |
559 ::google::protobuf::Option* add_options(); | 480 ::google::protobuf::Option* add_options(); |
560 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* | 481 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* |
561 mutable_options(); | 482 mutable_options(); |
562 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& | 483 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& |
563 options() const; | 484 options() const; |
564 | 485 |
565 // string json_name = 10; | 486 // optional string json_name = 10; |
566 void clear_json_name(); | 487 void clear_json_name(); |
567 static const int kJsonNameFieldNumber = 10; | 488 static const int kJsonNameFieldNumber = 10; |
568 const ::std::string& json_name() const; | 489 const ::std::string& json_name() const; |
569 void set_json_name(const ::std::string& value); | 490 void set_json_name(const ::std::string& value); |
570 void set_json_name(const char* value); | 491 void set_json_name(const char* value); |
571 void set_json_name(const char* value, size_t size); | 492 void set_json_name(const char* value, size_t size); |
572 ::std::string* mutable_json_name(); | 493 ::std::string* mutable_json_name(); |
573 ::std::string* release_json_name(); | 494 ::std::string* release_json_name(); |
574 void set_allocated_json_name(::std::string* json_name); | 495 void set_allocated_json_name(::std::string* json_name); |
575 ::std::string* unsafe_arena_release_json_name(); | |
576 void unsafe_arena_set_allocated_json_name( | |
577 ::std::string* json_name); | |
578 | 496 |
579 // string default_value = 11; | 497 // optional string default_value = 11; |
580 void clear_default_value(); | 498 void clear_default_value(); |
581 static const int kDefaultValueFieldNumber = 11; | 499 static const int kDefaultValueFieldNumber = 11; |
582 const ::std::string& default_value() const; | 500 const ::std::string& default_value() const; |
583 void set_default_value(const ::std::string& value); | 501 void set_default_value(const ::std::string& value); |
584 void set_default_value(const char* value); | 502 void set_default_value(const char* value); |
585 void set_default_value(const char* value, size_t size); | 503 void set_default_value(const char* value, size_t size); |
586 ::std::string* mutable_default_value(); | 504 ::std::string* mutable_default_value(); |
587 ::std::string* release_default_value(); | 505 ::std::string* release_default_value(); |
588 void set_allocated_default_value(::std::string* default_value); | 506 void set_allocated_default_value(::std::string* default_value); |
589 ::std::string* unsafe_arena_release_default_value(); | |
590 void unsafe_arena_set_allocated_default_value( | |
591 ::std::string* default_value); | |
592 | 507 |
593 // @@protoc_insertion_point(class_scope:google.protobuf.Field) | 508 // @@protoc_insertion_point(class_scope:google.protobuf.Field) |
594 private: | 509 private: |
595 | 510 |
596 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 511 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
597 friend class ::google::protobuf::Arena; | 512 bool _is_default_instance_; |
598 typedef void InternalArenaConstructable_; | 513 int kind_; |
599 typedef void DestructorSkippable_; | 514 int cardinality_; |
| 515 ::google::protobuf::internal::ArenaStringPtr name_; |
| 516 ::google::protobuf::int32 number_; |
| 517 ::google::protobuf::int32 oneof_index_; |
| 518 ::google::protobuf::internal::ArenaStringPtr type_url_; |
600 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_; | 519 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_; |
601 ::google::protobuf::internal::ArenaStringPtr name_; | |
602 ::google::protobuf::internal::ArenaStringPtr type_url_; | |
603 ::google::protobuf::internal::ArenaStringPtr json_name_; | 520 ::google::protobuf::internal::ArenaStringPtr json_name_; |
604 ::google::protobuf::internal::ArenaStringPtr default_value_; | 521 ::google::protobuf::internal::ArenaStringPtr default_value_; |
605 int kind_; | |
606 int cardinality_; | |
607 ::google::protobuf::int32 number_; | |
608 ::google::protobuf::int32 oneof_index_; | |
609 bool packed_; | 522 bool packed_; |
610 mutable int _cached_size_; | 523 mutable int _cached_size_; |
611 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2ftype_
2eproto_impl(); | 524 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftype_2epro
to(); |
612 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftype_2epro
to_impl(); | 525 friend void protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto(); |
613 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
type_2eproto(); | |
614 friend void protobuf_ShutdownFile_google_2fprotobuf_2ftype_2eproto(); | 526 friend void protobuf_ShutdownFile_google_2fprotobuf_2ftype_2eproto(); |
615 | 527 |
| 528 void InitAsDefaultInstance(); |
| 529 static Field* default_instance_; |
616 }; | 530 }; |
617 // ------------------------------------------------------------------- | 531 // ------------------------------------------------------------------- |
618 | 532 |
619 class LIBPROTOBUF_EXPORT Enum : public ::google::protobuf::Message /* @@protoc_i
nsertion_point(class_definition:google.protobuf.Enum) */ { | 533 class LIBPROTOBUF_EXPORT Enum : public ::google::protobuf::Message { |
620 public: | 534 public: |
621 Enum(); | 535 Enum(); |
622 virtual ~Enum(); | 536 virtual ~Enum(); |
623 | 537 |
624 Enum(const Enum& from); | 538 Enum(const Enum& from); |
625 | 539 |
626 inline Enum& operator=(const Enum& from) { | 540 inline Enum& operator=(const Enum& from) { |
627 CopyFrom(from); | 541 CopyFrom(from); |
628 return *this; | 542 return *this; |
629 } | 543 } |
630 | 544 |
631 inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL { | |
632 return GetArenaNoVirtual(); | |
633 } | |
634 inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL { | |
635 return MaybeArenaPtr(); | |
636 } | |
637 static const ::google::protobuf::Descriptor* descriptor(); | 545 static const ::google::protobuf::Descriptor* descriptor(); |
638 static const Enum& default_instance(); | 546 static const Enum& default_instance(); |
639 | 547 |
640 static inline const Enum* internal_default_instance() { | |
641 return reinterpret_cast<const Enum*>( | |
642 &_Enum_default_instance_); | |
643 } | |
644 | |
645 void UnsafeArenaSwap(Enum* other); | |
646 void Swap(Enum* other); | 548 void Swap(Enum* other); |
647 | 549 |
648 // implements Message ---------------------------------------------- | 550 // implements Message ---------------------------------------------- |
649 | 551 |
650 inline Enum* New() const PROTOBUF_FINAL { return New(NULL); } | 552 inline Enum* New() const { return New(NULL); } |
651 | 553 |
652 Enum* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; | 554 Enum* New(::google::protobuf::Arena* arena) const; |
653 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 555 void CopyFrom(const ::google::protobuf::Message& from); |
654 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 556 void MergeFrom(const ::google::protobuf::Message& from); |
655 void CopyFrom(const Enum& from); | 557 void CopyFrom(const Enum& from); |
656 void MergeFrom(const Enum& from); | 558 void MergeFrom(const Enum& from); |
657 void Clear() PROTOBUF_FINAL; | 559 void Clear(); |
658 bool IsInitialized() const PROTOBUF_FINAL; | 560 bool IsInitialized() const; |
659 | 561 |
660 size_t ByteSizeLong() const PROTOBUF_FINAL; | 562 int ByteSize() const; |
661 bool MergePartialFromCodedStream( | 563 bool MergePartialFromCodedStream( |
662 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 564 ::google::protobuf::io::CodedInputStream* input); |
663 void SerializeWithCachedSizes( | 565 void SerializeWithCachedSizes( |
664 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 566 ::google::protobuf::io::CodedOutputStream* output) const; |
665 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 567 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
666 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 568 int GetCachedSize() const { return _cached_size_; } |
667 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
668 const PROTOBUF_FINAL { | |
669 return InternalSerializeWithCachedSizesToArray(false, output); | |
670 } | |
671 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
672 private: | 569 private: |
673 void SharedCtor(); | 570 void SharedCtor(); |
674 void SharedDtor(); | 571 void SharedDtor(); |
675 void SetCachedSize(int size) const PROTOBUF_FINAL; | 572 void SetCachedSize(int size) const; |
676 void InternalSwap(Enum* other); | 573 void InternalSwap(Enum* other); |
677 protected: | |
678 explicit Enum(::google::protobuf::Arena* arena); | |
679 private: | |
680 static void ArenaDtor(void* object); | |
681 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); | |
682 private: | 574 private: |
683 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 575 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
684 return _internal_metadata_.arena(); | 576 return _internal_metadata_.arena(); |
685 } | 577 } |
686 inline void* MaybeArenaPtr() const { | 578 inline void* MaybeArenaPtr() const { |
687 return _internal_metadata_.raw_arena_ptr(); | 579 return _internal_metadata_.raw_arena_ptr(); |
688 } | 580 } |
689 public: | 581 public: |
690 | 582 |
691 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 583 ::google::protobuf::Metadata GetMetadata() const; |
692 | 584 |
693 // nested types ---------------------------------------------------- | 585 // nested types ---------------------------------------------------- |
694 | 586 |
695 // accessors ------------------------------------------------------- | 587 // accessors ------------------------------------------------------- |
696 | 588 |
697 // string name = 1; | 589 // optional string name = 1; |
698 void clear_name(); | 590 void clear_name(); |
699 static const int kNameFieldNumber = 1; | 591 static const int kNameFieldNumber = 1; |
700 const ::std::string& name() const; | 592 const ::std::string& name() const; |
701 void set_name(const ::std::string& value); | 593 void set_name(const ::std::string& value); |
702 void set_name(const char* value); | 594 void set_name(const char* value); |
703 void set_name(const char* value, size_t size); | 595 void set_name(const char* value, size_t size); |
704 ::std::string* mutable_name(); | 596 ::std::string* mutable_name(); |
705 ::std::string* release_name(); | 597 ::std::string* release_name(); |
706 void set_allocated_name(::std::string* name); | 598 void set_allocated_name(::std::string* name); |
707 ::std::string* unsafe_arena_release_name(); | |
708 void unsafe_arena_set_allocated_name( | |
709 ::std::string* name); | |
710 | 599 |
711 // repeated .google.protobuf.EnumValue enumvalue = 2; | 600 // repeated .google.protobuf.EnumValue enumvalue = 2; |
712 int enumvalue_size() const; | 601 int enumvalue_size() const; |
713 void clear_enumvalue(); | 602 void clear_enumvalue(); |
714 static const int kEnumvalueFieldNumber = 2; | 603 static const int kEnumvalueFieldNumber = 2; |
715 const ::google::protobuf::EnumValue& enumvalue(int index) const; | 604 const ::google::protobuf::EnumValue& enumvalue(int index) const; |
716 ::google::protobuf::EnumValue* mutable_enumvalue(int index); | 605 ::google::protobuf::EnumValue* mutable_enumvalue(int index); |
717 ::google::protobuf::EnumValue* add_enumvalue(); | 606 ::google::protobuf::EnumValue* add_enumvalue(); |
718 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >* | 607 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >* |
719 mutable_enumvalue(); | 608 mutable_enumvalue(); |
720 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >& | 609 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >& |
721 enumvalue() const; | 610 enumvalue() const; |
722 | 611 |
723 // repeated .google.protobuf.Option options = 3; | 612 // repeated .google.protobuf.Option options = 3; |
724 int options_size() const; | 613 int options_size() const; |
725 void clear_options(); | 614 void clear_options(); |
726 static const int kOptionsFieldNumber = 3; | 615 static const int kOptionsFieldNumber = 3; |
727 const ::google::protobuf::Option& options(int index) const; | 616 const ::google::protobuf::Option& options(int index) const; |
728 ::google::protobuf::Option* mutable_options(int index); | 617 ::google::protobuf::Option* mutable_options(int index); |
729 ::google::protobuf::Option* add_options(); | 618 ::google::protobuf::Option* add_options(); |
730 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* | 619 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* |
731 mutable_options(); | 620 mutable_options(); |
732 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& | 621 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& |
733 options() const; | 622 options() const; |
734 | 623 |
735 // .google.protobuf.SourceContext source_context = 4; | 624 // optional .google.protobuf.SourceContext source_context = 4; |
736 bool has_source_context() const; | 625 bool has_source_context() const; |
737 void clear_source_context(); | 626 void clear_source_context(); |
738 static const int kSourceContextFieldNumber = 4; | 627 static const int kSourceContextFieldNumber = 4; |
739 private: | |
740 void _slow_mutable_source_context(); | |
741 ::google::protobuf::SourceContext* _slow_release_source_context(); | |
742 public: | |
743 const ::google::protobuf::SourceContext& source_context() const; | 628 const ::google::protobuf::SourceContext& source_context() const; |
744 ::google::protobuf::SourceContext* mutable_source_context(); | 629 ::google::protobuf::SourceContext* mutable_source_context(); |
745 ::google::protobuf::SourceContext* release_source_context(); | 630 ::google::protobuf::SourceContext* release_source_context(); |
746 void set_allocated_source_context(::google::protobuf::SourceContext* source_co
ntext); | 631 void set_allocated_source_context(::google::protobuf::SourceContext* source_co
ntext); |
747 ::google::protobuf::SourceContext* unsafe_arena_release_source_context(); | |
748 void unsafe_arena_set_allocated_source_context( | |
749 ::google::protobuf::SourceContext* source_context); | |
750 | 632 |
751 // .google.protobuf.Syntax syntax = 5; | 633 // optional .google.protobuf.Syntax syntax = 5; |
752 void clear_syntax(); | 634 void clear_syntax(); |
753 static const int kSyntaxFieldNumber = 5; | 635 static const int kSyntaxFieldNumber = 5; |
754 ::google::protobuf::Syntax syntax() const; | 636 ::google::protobuf::Syntax syntax() const; |
755 void set_syntax(::google::protobuf::Syntax value); | 637 void set_syntax(::google::protobuf::Syntax value); |
756 | 638 |
757 // @@protoc_insertion_point(class_scope:google.protobuf.Enum) | 639 // @@protoc_insertion_point(class_scope:google.protobuf.Enum) |
758 private: | 640 private: |
759 | 641 |
760 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 642 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
761 friend class ::google::protobuf::Arena; | 643 bool _is_default_instance_; |
762 typedef void InternalArenaConstructable_; | 644 ::google::protobuf::internal::ArenaStringPtr name_; |
763 typedef void DestructorSkippable_; | |
764 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue > enumvalu
e_; | 645 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue > enumvalu
e_; |
765 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_; | 646 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_; |
766 ::google::protobuf::internal::ArenaStringPtr name_; | |
767 ::google::protobuf::SourceContext* source_context_; | 647 ::google::protobuf::SourceContext* source_context_; |
768 int syntax_; | 648 int syntax_; |
769 mutable int _cached_size_; | 649 mutable int _cached_size_; |
770 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2ftype_
2eproto_impl(); | 650 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftype_2epro
to(); |
771 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftype_2epro
to_impl(); | 651 friend void protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto(); |
772 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
type_2eproto(); | |
773 friend void protobuf_ShutdownFile_google_2fprotobuf_2ftype_2eproto(); | 652 friend void protobuf_ShutdownFile_google_2fprotobuf_2ftype_2eproto(); |
774 | 653 |
| 654 void InitAsDefaultInstance(); |
| 655 static Enum* default_instance_; |
775 }; | 656 }; |
776 // ------------------------------------------------------------------- | 657 // ------------------------------------------------------------------- |
777 | 658 |
778 class LIBPROTOBUF_EXPORT EnumValue : public ::google::protobuf::Message /* @@pro
toc_insertion_point(class_definition:google.protobuf.EnumValue) */ { | 659 class LIBPROTOBUF_EXPORT EnumValue : public ::google::protobuf::Message { |
779 public: | 660 public: |
780 EnumValue(); | 661 EnumValue(); |
781 virtual ~EnumValue(); | 662 virtual ~EnumValue(); |
782 | 663 |
783 EnumValue(const EnumValue& from); | 664 EnumValue(const EnumValue& from); |
784 | 665 |
785 inline EnumValue& operator=(const EnumValue& from) { | 666 inline EnumValue& operator=(const EnumValue& from) { |
786 CopyFrom(from); | 667 CopyFrom(from); |
787 return *this; | 668 return *this; |
788 } | 669 } |
789 | 670 |
790 inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL { | |
791 return GetArenaNoVirtual(); | |
792 } | |
793 inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL { | |
794 return MaybeArenaPtr(); | |
795 } | |
796 static const ::google::protobuf::Descriptor* descriptor(); | 671 static const ::google::protobuf::Descriptor* descriptor(); |
797 static const EnumValue& default_instance(); | 672 static const EnumValue& default_instance(); |
798 | 673 |
799 static inline const EnumValue* internal_default_instance() { | |
800 return reinterpret_cast<const EnumValue*>( | |
801 &_EnumValue_default_instance_); | |
802 } | |
803 | |
804 void UnsafeArenaSwap(EnumValue* other); | |
805 void Swap(EnumValue* other); | 674 void Swap(EnumValue* other); |
806 | 675 |
807 // implements Message ---------------------------------------------- | 676 // implements Message ---------------------------------------------- |
808 | 677 |
809 inline EnumValue* New() const PROTOBUF_FINAL { return New(NULL); } | 678 inline EnumValue* New() const { return New(NULL); } |
810 | 679 |
811 EnumValue* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; | 680 EnumValue* New(::google::protobuf::Arena* arena) const; |
812 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 681 void CopyFrom(const ::google::protobuf::Message& from); |
813 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 682 void MergeFrom(const ::google::protobuf::Message& from); |
814 void CopyFrom(const EnumValue& from); | 683 void CopyFrom(const EnumValue& from); |
815 void MergeFrom(const EnumValue& from); | 684 void MergeFrom(const EnumValue& from); |
816 void Clear() PROTOBUF_FINAL; | 685 void Clear(); |
817 bool IsInitialized() const PROTOBUF_FINAL; | 686 bool IsInitialized() const; |
818 | 687 |
819 size_t ByteSizeLong() const PROTOBUF_FINAL; | 688 int ByteSize() const; |
820 bool MergePartialFromCodedStream( | 689 bool MergePartialFromCodedStream( |
821 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 690 ::google::protobuf::io::CodedInputStream* input); |
822 void SerializeWithCachedSizes( | 691 void SerializeWithCachedSizes( |
823 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 692 ::google::protobuf::io::CodedOutputStream* output) const; |
824 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 693 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
825 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 694 int GetCachedSize() const { return _cached_size_; } |
826 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
827 const PROTOBUF_FINAL { | |
828 return InternalSerializeWithCachedSizesToArray(false, output); | |
829 } | |
830 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
831 private: | 695 private: |
832 void SharedCtor(); | 696 void SharedCtor(); |
833 void SharedDtor(); | 697 void SharedDtor(); |
834 void SetCachedSize(int size) const PROTOBUF_FINAL; | 698 void SetCachedSize(int size) const; |
835 void InternalSwap(EnumValue* other); | 699 void InternalSwap(EnumValue* other); |
836 protected: | |
837 explicit EnumValue(::google::protobuf::Arena* arena); | |
838 private: | |
839 static void ArenaDtor(void* object); | |
840 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); | |
841 private: | 700 private: |
842 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 701 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
843 return _internal_metadata_.arena(); | 702 return _internal_metadata_.arena(); |
844 } | 703 } |
845 inline void* MaybeArenaPtr() const { | 704 inline void* MaybeArenaPtr() const { |
846 return _internal_metadata_.raw_arena_ptr(); | 705 return _internal_metadata_.raw_arena_ptr(); |
847 } | 706 } |
848 public: | 707 public: |
849 | 708 |
850 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 709 ::google::protobuf::Metadata GetMetadata() const; |
851 | 710 |
852 // nested types ---------------------------------------------------- | 711 // nested types ---------------------------------------------------- |
853 | 712 |
854 // accessors ------------------------------------------------------- | 713 // accessors ------------------------------------------------------- |
855 | 714 |
856 // string name = 1; | 715 // optional string name = 1; |
857 void clear_name(); | 716 void clear_name(); |
858 static const int kNameFieldNumber = 1; | 717 static const int kNameFieldNumber = 1; |
859 const ::std::string& name() const; | 718 const ::std::string& name() const; |
860 void set_name(const ::std::string& value); | 719 void set_name(const ::std::string& value); |
861 void set_name(const char* value); | 720 void set_name(const char* value); |
862 void set_name(const char* value, size_t size); | 721 void set_name(const char* value, size_t size); |
863 ::std::string* mutable_name(); | 722 ::std::string* mutable_name(); |
864 ::std::string* release_name(); | 723 ::std::string* release_name(); |
865 void set_allocated_name(::std::string* name); | 724 void set_allocated_name(::std::string* name); |
866 ::std::string* unsafe_arena_release_name(); | |
867 void unsafe_arena_set_allocated_name( | |
868 ::std::string* name); | |
869 | 725 |
870 // int32 number = 2; | 726 // optional int32 number = 2; |
871 void clear_number(); | 727 void clear_number(); |
872 static const int kNumberFieldNumber = 2; | 728 static const int kNumberFieldNumber = 2; |
873 ::google::protobuf::int32 number() const; | 729 ::google::protobuf::int32 number() const; |
874 void set_number(::google::protobuf::int32 value); | 730 void set_number(::google::protobuf::int32 value); |
875 | 731 |
876 // repeated .google.protobuf.Option options = 3; | 732 // repeated .google.protobuf.Option options = 3; |
877 int options_size() const; | 733 int options_size() const; |
878 void clear_options(); | 734 void clear_options(); |
879 static const int kOptionsFieldNumber = 3; | 735 static const int kOptionsFieldNumber = 3; |
880 const ::google::protobuf::Option& options(int index) const; | 736 const ::google::protobuf::Option& options(int index) const; |
881 ::google::protobuf::Option* mutable_options(int index); | 737 ::google::protobuf::Option* mutable_options(int index); |
882 ::google::protobuf::Option* add_options(); | 738 ::google::protobuf::Option* add_options(); |
883 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* | 739 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* |
884 mutable_options(); | 740 mutable_options(); |
885 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& | 741 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& |
886 options() const; | 742 options() const; |
887 | 743 |
888 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValue) | 744 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValue) |
889 private: | 745 private: |
890 | 746 |
891 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 747 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
892 friend class ::google::protobuf::Arena; | 748 bool _is_default_instance_; |
893 typedef void InternalArenaConstructable_; | 749 ::google::protobuf::internal::ArenaStringPtr name_; |
894 typedef void DestructorSkippable_; | |
895 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_; | 750 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_; |
896 ::google::protobuf::internal::ArenaStringPtr name_; | |
897 ::google::protobuf::int32 number_; | 751 ::google::protobuf::int32 number_; |
898 mutable int _cached_size_; | 752 mutable int _cached_size_; |
899 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2ftype_
2eproto_impl(); | 753 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftype_2epro
to(); |
900 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftype_2epro
to_impl(); | 754 friend void protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto(); |
901 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
type_2eproto(); | |
902 friend void protobuf_ShutdownFile_google_2fprotobuf_2ftype_2eproto(); | 755 friend void protobuf_ShutdownFile_google_2fprotobuf_2ftype_2eproto(); |
903 | 756 |
| 757 void InitAsDefaultInstance(); |
| 758 static EnumValue* default_instance_; |
904 }; | 759 }; |
905 // ------------------------------------------------------------------- | 760 // ------------------------------------------------------------------- |
906 | 761 |
907 class LIBPROTOBUF_EXPORT Option : public ::google::protobuf::Message /* @@protoc
_insertion_point(class_definition:google.protobuf.Option) */ { | 762 class LIBPROTOBUF_EXPORT Option : public ::google::protobuf::Message { |
908 public: | 763 public: |
909 Option(); | 764 Option(); |
910 virtual ~Option(); | 765 virtual ~Option(); |
911 | 766 |
912 Option(const Option& from); | 767 Option(const Option& from); |
913 | 768 |
914 inline Option& operator=(const Option& from) { | 769 inline Option& operator=(const Option& from) { |
915 CopyFrom(from); | 770 CopyFrom(from); |
916 return *this; | 771 return *this; |
917 } | 772 } |
918 | 773 |
919 inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL { | |
920 return GetArenaNoVirtual(); | |
921 } | |
922 inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL { | |
923 return MaybeArenaPtr(); | |
924 } | |
925 static const ::google::protobuf::Descriptor* descriptor(); | 774 static const ::google::protobuf::Descriptor* descriptor(); |
926 static const Option& default_instance(); | 775 static const Option& default_instance(); |
927 | 776 |
928 static inline const Option* internal_default_instance() { | |
929 return reinterpret_cast<const Option*>( | |
930 &_Option_default_instance_); | |
931 } | |
932 | |
933 void UnsafeArenaSwap(Option* other); | |
934 void Swap(Option* other); | 777 void Swap(Option* other); |
935 | 778 |
936 // implements Message ---------------------------------------------- | 779 // implements Message ---------------------------------------------- |
937 | 780 |
938 inline Option* New() const PROTOBUF_FINAL { return New(NULL); } | 781 inline Option* New() const { return New(NULL); } |
939 | 782 |
940 Option* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; | 783 Option* New(::google::protobuf::Arena* arena) const; |
941 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 784 void CopyFrom(const ::google::protobuf::Message& from); |
942 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 785 void MergeFrom(const ::google::protobuf::Message& from); |
943 void CopyFrom(const Option& from); | 786 void CopyFrom(const Option& from); |
944 void MergeFrom(const Option& from); | 787 void MergeFrom(const Option& from); |
945 void Clear() PROTOBUF_FINAL; | 788 void Clear(); |
946 bool IsInitialized() const PROTOBUF_FINAL; | 789 bool IsInitialized() const; |
947 | 790 |
948 size_t ByteSizeLong() const PROTOBUF_FINAL; | 791 int ByteSize() const; |
949 bool MergePartialFromCodedStream( | 792 bool MergePartialFromCodedStream( |
950 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 793 ::google::protobuf::io::CodedInputStream* input); |
951 void SerializeWithCachedSizes( | 794 void SerializeWithCachedSizes( |
952 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 795 ::google::protobuf::io::CodedOutputStream* output) const; |
953 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 796 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
954 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 797 int GetCachedSize() const { return _cached_size_; } |
955 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
956 const PROTOBUF_FINAL { | |
957 return InternalSerializeWithCachedSizesToArray(false, output); | |
958 } | |
959 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
960 private: | 798 private: |
961 void SharedCtor(); | 799 void SharedCtor(); |
962 void SharedDtor(); | 800 void SharedDtor(); |
963 void SetCachedSize(int size) const PROTOBUF_FINAL; | 801 void SetCachedSize(int size) const; |
964 void InternalSwap(Option* other); | 802 void InternalSwap(Option* other); |
965 protected: | |
966 explicit Option(::google::protobuf::Arena* arena); | |
967 private: | |
968 static void ArenaDtor(void* object); | |
969 inline void RegisterArenaDtor(::google::protobuf::Arena* arena); | |
970 private: | 803 private: |
971 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 804 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
972 return _internal_metadata_.arena(); | 805 return _internal_metadata_.arena(); |
973 } | 806 } |
974 inline void* MaybeArenaPtr() const { | 807 inline void* MaybeArenaPtr() const { |
975 return _internal_metadata_.raw_arena_ptr(); | 808 return _internal_metadata_.raw_arena_ptr(); |
976 } | 809 } |
977 public: | 810 public: |
978 | 811 |
979 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 812 ::google::protobuf::Metadata GetMetadata() const; |
980 | 813 |
981 // nested types ---------------------------------------------------- | 814 // nested types ---------------------------------------------------- |
982 | 815 |
983 // accessors ------------------------------------------------------- | 816 // accessors ------------------------------------------------------- |
984 | 817 |
985 // string name = 1; | 818 // optional string name = 1; |
986 void clear_name(); | 819 void clear_name(); |
987 static const int kNameFieldNumber = 1; | 820 static const int kNameFieldNumber = 1; |
988 const ::std::string& name() const; | 821 const ::std::string& name() const; |
989 void set_name(const ::std::string& value); | 822 void set_name(const ::std::string& value); |
990 void set_name(const char* value); | 823 void set_name(const char* value); |
991 void set_name(const char* value, size_t size); | 824 void set_name(const char* value, size_t size); |
992 ::std::string* mutable_name(); | 825 ::std::string* mutable_name(); |
993 ::std::string* release_name(); | 826 ::std::string* release_name(); |
994 void set_allocated_name(::std::string* name); | 827 void set_allocated_name(::std::string* name); |
995 ::std::string* unsafe_arena_release_name(); | |
996 void unsafe_arena_set_allocated_name( | |
997 ::std::string* name); | |
998 | 828 |
999 // .google.protobuf.Any value = 2; | 829 // optional .google.protobuf.Any value = 2; |
1000 bool has_value() const; | 830 bool has_value() const; |
1001 void clear_value(); | 831 void clear_value(); |
1002 static const int kValueFieldNumber = 2; | 832 static const int kValueFieldNumber = 2; |
1003 private: | |
1004 void _slow_mutable_value(); | |
1005 ::google::protobuf::Any* _slow_release_value(); | |
1006 public: | |
1007 const ::google::protobuf::Any& value() const; | 833 const ::google::protobuf::Any& value() const; |
1008 ::google::protobuf::Any* mutable_value(); | 834 ::google::protobuf::Any* mutable_value(); |
1009 ::google::protobuf::Any* release_value(); | 835 ::google::protobuf::Any* release_value(); |
1010 void set_allocated_value(::google::protobuf::Any* value); | 836 void set_allocated_value(::google::protobuf::Any* value); |
1011 ::google::protobuf::Any* unsafe_arena_release_value(); | |
1012 void unsafe_arena_set_allocated_value( | |
1013 ::google::protobuf::Any* value); | |
1014 | 837 |
1015 // @@protoc_insertion_point(class_scope:google.protobuf.Option) | 838 // @@protoc_insertion_point(class_scope:google.protobuf.Option) |
1016 private: | 839 private: |
1017 | 840 |
1018 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 841 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1019 friend class ::google::protobuf::Arena; | 842 bool _is_default_instance_; |
1020 typedef void InternalArenaConstructable_; | |
1021 typedef void DestructorSkippable_; | |
1022 ::google::protobuf::internal::ArenaStringPtr name_; | 843 ::google::protobuf::internal::ArenaStringPtr name_; |
1023 ::google::protobuf::Any* value_; | 844 ::google::protobuf::Any* value_; |
1024 mutable int _cached_size_; | 845 mutable int _cached_size_; |
1025 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2ftype_
2eproto_impl(); | 846 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftype_2epro
to(); |
1026 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftype_2epro
to_impl(); | 847 friend void protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto(); |
1027 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
type_2eproto(); | |
1028 friend void protobuf_ShutdownFile_google_2fprotobuf_2ftype_2eproto(); | 848 friend void protobuf_ShutdownFile_google_2fprotobuf_2ftype_2eproto(); |
1029 | 849 |
| 850 void InitAsDefaultInstance(); |
| 851 static Option* default_instance_; |
1030 }; | 852 }; |
1031 // =================================================================== | 853 // =================================================================== |
1032 | 854 |
1033 | 855 |
1034 // =================================================================== | 856 // =================================================================== |
1035 | 857 |
1036 #if !PROTOBUF_INLINE_NOT_IN_HEADERS | 858 #if !PROTOBUF_INLINE_NOT_IN_HEADERS |
1037 // Type | 859 // Type |
1038 | 860 |
1039 // string name = 1; | 861 // optional string name = 1; |
1040 inline void Type::clear_name() { | 862 inline void Type::clear_name() { |
1041 name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), GetArenaNoVirtual()); | 863 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
1042 } | 864 } |
1043 inline const ::std::string& Type::name() const { | 865 inline const ::std::string& Type::name() const { |
1044 // @@protoc_insertion_point(field_get:google.protobuf.Type.name) | 866 // @@protoc_insertion_point(field_get:google.protobuf.Type.name) |
1045 return name_.Get(); | 867 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); |
1046 } | 868 } |
1047 inline void Type::set_name(const ::std::string& value) { | 869 inline void Type::set_name(const ::std::string& value) { |
1048 | 870 |
1049 name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value,
GetArenaNoVirtual()); | 871 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
1050 // @@protoc_insertion_point(field_set:google.protobuf.Type.name) | 872 // @@protoc_insertion_point(field_set:google.protobuf.Type.name) |
1051 } | 873 } |
1052 inline void Type::set_name(const char* value) { | 874 inline void Type::set_name(const char* value) { |
1053 | 875 |
1054 name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std:
:string(value), | 876 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
1055 GetArenaNoVirtual()); | |
1056 // @@protoc_insertion_point(field_set_char:google.protobuf.Type.name) | 877 // @@protoc_insertion_point(field_set_char:google.protobuf.Type.name) |
1057 } | 878 } |
1058 inline void Type::set_name(const char* value, | 879 inline void Type::set_name(const char* value, size_t size) { |
1059 size_t size) { | |
1060 | 880 |
1061 name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std:
:string( | 881 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1062 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); | 882 ::std::string(reinterpret_cast<const char*>(value), size)); |
1063 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Type.name) | 883 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Type.name) |
1064 } | 884 } |
1065 inline ::std::string* Type::mutable_name() { | 885 inline ::std::string* Type::mutable_name() { |
1066 | 886 |
1067 // @@protoc_insertion_point(field_mutable:google.protobuf.Type.name) | 887 // @@protoc_insertion_point(field_mutable:google.protobuf.Type.name) |
1068 return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), GetArenaNoVirtual()); | 888 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); |
1069 } | 889 } |
1070 inline ::std::string* Type::release_name() { | 890 inline ::std::string* Type::release_name() { |
1071 // @@protoc_insertion_point(field_release:google.protobuf.Type.name) | 891 // @@protoc_insertion_point(field_release:google.protobuf.Type.name) |
1072 | 892 |
1073 return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), GetArenaNoVirtual()); | 893 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); |
1074 } | |
1075 inline ::std::string* Type::unsafe_arena_release_name() { | |
1076 // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Type.na
me) | |
1077 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); | |
1078 | |
1079 return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringA
lreadyInited(), | |
1080 GetArenaNoVirtual()); | |
1081 } | 894 } |
1082 inline void Type::set_allocated_name(::std::string* name) { | 895 inline void Type::set_allocated_name(::std::string* name) { |
1083 if (name != NULL) { | 896 if (name != NULL) { |
1084 | 897 |
1085 } else { | 898 } else { |
1086 | 899 |
1087 } | 900 } |
1088 name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), name, | 901 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); |
1089 GetArenaNoVirtual()); | |
1090 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Type.name) | 902 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Type.name) |
1091 } | 903 } |
1092 inline void Type::unsafe_arena_set_allocated_name( | |
1093 ::std::string* name) { | |
1094 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); | |
1095 if (name != NULL) { | |
1096 | |
1097 } else { | |
1098 | |
1099 } | |
1100 name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), | |
1101 name, GetArenaNoVirtual()); | |
1102 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.T
ype.name) | |
1103 } | |
1104 | 904 |
1105 // repeated .google.protobuf.Field fields = 2; | 905 // repeated .google.protobuf.Field fields = 2; |
1106 inline int Type::fields_size() const { | 906 inline int Type::fields_size() const { |
1107 return fields_.size(); | 907 return fields_.size(); |
1108 } | 908 } |
1109 inline void Type::clear_fields() { | 909 inline void Type::clear_fields() { |
1110 fields_.Clear(); | 910 fields_.Clear(); |
1111 } | 911 } |
1112 inline const ::google::protobuf::Field& Type::fields(int index) const { | 912 inline const ::google::protobuf::Field& Type::fields(int index) const { |
1113 // @@protoc_insertion_point(field_get:google.protobuf.Type.fields) | 913 // @@protoc_insertion_point(field_get:google.protobuf.Type.fields) |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1210 Type::mutable_options() { | 1010 Type::mutable_options() { |
1211 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.options) | 1011 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.options) |
1212 return &options_; | 1012 return &options_; |
1213 } | 1013 } |
1214 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& | 1014 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& |
1215 Type::options() const { | 1015 Type::options() const { |
1216 // @@protoc_insertion_point(field_list:google.protobuf.Type.options) | 1016 // @@protoc_insertion_point(field_list:google.protobuf.Type.options) |
1217 return options_; | 1017 return options_; |
1218 } | 1018 } |
1219 | 1019 |
1220 // .google.protobuf.SourceContext source_context = 5; | 1020 // optional .google.protobuf.SourceContext source_context = 5; |
1221 inline bool Type::has_source_context() const { | 1021 inline bool Type::has_source_context() const { |
1222 return this != internal_default_instance() && source_context_ != NULL; | 1022 return !_is_default_instance_ && source_context_ != NULL; |
1223 } | 1023 } |
1224 inline void Type::clear_source_context() { | 1024 inline void Type::clear_source_context() { |
1225 if (GetArenaNoVirtual() == NULL && source_context_ != NULL) delete source_cont
ext_; | 1025 if (GetArenaNoVirtual() == NULL && source_context_ != NULL) delete source_cont
ext_; |
1226 source_context_ = NULL; | 1026 source_context_ = NULL; |
1227 } | 1027 } |
1228 inline const ::google::protobuf::SourceContext& Type::source_context() const { | 1028 inline const ::google::protobuf::SourceContext& Type::source_context() const { |
1229 // @@protoc_insertion_point(field_get:google.protobuf.Type.source_context) | 1029 // @@protoc_insertion_point(field_get:google.protobuf.Type.source_context) |
1230 return source_context_ != NULL ? *source_context_ | 1030 return source_context_ != NULL ? *source_context_ : *default_instance_->source
_context_; |
1231 : *::google::protobuf::SourceContext::internal_default_
instance(); | |
1232 } | 1031 } |
1233 inline ::google::protobuf::SourceContext* Type::mutable_source_context() { | 1032 inline ::google::protobuf::SourceContext* Type::mutable_source_context() { |
1234 | 1033 |
1235 if (source_context_ == NULL) { | 1034 if (source_context_ == NULL) { |
1236 _slow_mutable_source_context(); | 1035 source_context_ = new ::google::protobuf::SourceContext; |
1237 } | 1036 } |
1238 // @@protoc_insertion_point(field_mutable:google.protobuf.Type.source_context) | 1037 // @@protoc_insertion_point(field_mutable:google.protobuf.Type.source_context) |
1239 return source_context_; | 1038 return source_context_; |
1240 } | 1039 } |
1241 inline ::google::protobuf::SourceContext* Type::release_source_context() { | 1040 inline ::google::protobuf::SourceContext* Type::release_source_context() { |
1242 // @@protoc_insertion_point(field_release:google.protobuf.Type.source_context) | 1041 // @@protoc_insertion_point(field_release:google.protobuf.Type.source_context) |
1243 | 1042 |
1244 if (GetArenaNoVirtual() != NULL) { | 1043 ::google::protobuf::SourceContext* temp = source_context_; |
1245 return _slow_release_source_context(); | 1044 source_context_ = NULL; |
1246 } else { | 1045 return temp; |
1247 ::google::protobuf::SourceContext* temp = source_context_; | |
1248 source_context_ = NULL; | |
1249 return temp; | |
1250 } | |
1251 } | 1046 } |
1252 inline void Type::set_allocated_source_context(::google::protobuf::SourceContex
t* source_context) { | 1047 inline void Type::set_allocated_source_context(::google::protobuf::SourceContext
* source_context) { |
1253 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); | 1048 delete source_context_; |
1254 if (message_arena == NULL) { | |
1255 delete source_context_; | |
1256 } | |
1257 if (source_context != NULL) { | |
1258 if (message_arena != NULL) { | |
1259 message_arena->Own(source_context); | |
1260 } | |
1261 } | |
1262 source_context_ = source_context; | 1049 source_context_ = source_context; |
1263 if (source_context) { | 1050 if (source_context) { |
1264 | 1051 |
1265 } else { | 1052 } else { |
1266 | 1053 |
1267 } | 1054 } |
1268 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Type.source_co
ntext) | 1055 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Type.source_co
ntext) |
1269 } | 1056 } |
1270 | 1057 |
1271 // .google.protobuf.Syntax syntax = 6; | 1058 // optional .google.protobuf.Syntax syntax = 6; |
1272 inline void Type::clear_syntax() { | 1059 inline void Type::clear_syntax() { |
1273 syntax_ = 0; | 1060 syntax_ = 0; |
1274 } | 1061 } |
1275 inline ::google::protobuf::Syntax Type::syntax() const { | 1062 inline ::google::protobuf::Syntax Type::syntax() const { |
1276 // @@protoc_insertion_point(field_get:google.protobuf.Type.syntax) | 1063 // @@protoc_insertion_point(field_get:google.protobuf.Type.syntax) |
1277 return static_cast< ::google::protobuf::Syntax >(syntax_); | 1064 return static_cast< ::google::protobuf::Syntax >(syntax_); |
1278 } | 1065 } |
1279 inline void Type::set_syntax(::google::protobuf::Syntax value) { | 1066 inline void Type::set_syntax(::google::protobuf::Syntax value) { |
1280 | 1067 |
1281 syntax_ = value; | 1068 syntax_ = value; |
1282 // @@protoc_insertion_point(field_set:google.protobuf.Type.syntax) | 1069 // @@protoc_insertion_point(field_set:google.protobuf.Type.syntax) |
1283 } | 1070 } |
1284 | 1071 |
1285 // ------------------------------------------------------------------- | 1072 // ------------------------------------------------------------------- |
1286 | 1073 |
1287 // Field | 1074 // Field |
1288 | 1075 |
1289 // .google.protobuf.Field.Kind kind = 1; | 1076 // optional .google.protobuf.Field.Kind kind = 1; |
1290 inline void Field::clear_kind() { | 1077 inline void Field::clear_kind() { |
1291 kind_ = 0; | 1078 kind_ = 0; |
1292 } | 1079 } |
1293 inline ::google::protobuf::Field_Kind Field::kind() const { | 1080 inline ::google::protobuf::Field_Kind Field::kind() const { |
1294 // @@protoc_insertion_point(field_get:google.protobuf.Field.kind) | 1081 // @@protoc_insertion_point(field_get:google.protobuf.Field.kind) |
1295 return static_cast< ::google::protobuf::Field_Kind >(kind_); | 1082 return static_cast< ::google::protobuf::Field_Kind >(kind_); |
1296 } | 1083 } |
1297 inline void Field::set_kind(::google::protobuf::Field_Kind value) { | 1084 inline void Field::set_kind(::google::protobuf::Field_Kind value) { |
1298 | 1085 |
1299 kind_ = value; | 1086 kind_ = value; |
1300 // @@protoc_insertion_point(field_set:google.protobuf.Field.kind) | 1087 // @@protoc_insertion_point(field_set:google.protobuf.Field.kind) |
1301 } | 1088 } |
1302 | 1089 |
1303 // .google.protobuf.Field.Cardinality cardinality = 2; | 1090 // optional .google.protobuf.Field.Cardinality cardinality = 2; |
1304 inline void Field::clear_cardinality() { | 1091 inline void Field::clear_cardinality() { |
1305 cardinality_ = 0; | 1092 cardinality_ = 0; |
1306 } | 1093 } |
1307 inline ::google::protobuf::Field_Cardinality Field::cardinality() const { | 1094 inline ::google::protobuf::Field_Cardinality Field::cardinality() const { |
1308 // @@protoc_insertion_point(field_get:google.protobuf.Field.cardinality) | 1095 // @@protoc_insertion_point(field_get:google.protobuf.Field.cardinality) |
1309 return static_cast< ::google::protobuf::Field_Cardinality >(cardinality_); | 1096 return static_cast< ::google::protobuf::Field_Cardinality >(cardinality_); |
1310 } | 1097 } |
1311 inline void Field::set_cardinality(::google::protobuf::Field_Cardinality value)
{ | 1098 inline void Field::set_cardinality(::google::protobuf::Field_Cardinality value)
{ |
1312 | 1099 |
1313 cardinality_ = value; | 1100 cardinality_ = value; |
1314 // @@protoc_insertion_point(field_set:google.protobuf.Field.cardinality) | 1101 // @@protoc_insertion_point(field_set:google.protobuf.Field.cardinality) |
1315 } | 1102 } |
1316 | 1103 |
1317 // int32 number = 3; | 1104 // optional int32 number = 3; |
1318 inline void Field::clear_number() { | 1105 inline void Field::clear_number() { |
1319 number_ = 0; | 1106 number_ = 0; |
1320 } | 1107 } |
1321 inline ::google::protobuf::int32 Field::number() const { | 1108 inline ::google::protobuf::int32 Field::number() const { |
1322 // @@protoc_insertion_point(field_get:google.protobuf.Field.number) | 1109 // @@protoc_insertion_point(field_get:google.protobuf.Field.number) |
1323 return number_; | 1110 return number_; |
1324 } | 1111 } |
1325 inline void Field::set_number(::google::protobuf::int32 value) { | 1112 inline void Field::set_number(::google::protobuf::int32 value) { |
1326 | 1113 |
1327 number_ = value; | 1114 number_ = value; |
1328 // @@protoc_insertion_point(field_set:google.protobuf.Field.number) | 1115 // @@protoc_insertion_point(field_set:google.protobuf.Field.number) |
1329 } | 1116 } |
1330 | 1117 |
1331 // string name = 4; | 1118 // optional string name = 4; |
1332 inline void Field::clear_name() { | 1119 inline void Field::clear_name() { |
1333 name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), GetArenaNoVirtual()); | 1120 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
1334 } | 1121 } |
1335 inline const ::std::string& Field::name() const { | 1122 inline const ::std::string& Field::name() const { |
1336 // @@protoc_insertion_point(field_get:google.protobuf.Field.name) | 1123 // @@protoc_insertion_point(field_get:google.protobuf.Field.name) |
1337 return name_.Get(); | 1124 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); |
1338 } | 1125 } |
1339 inline void Field::set_name(const ::std::string& value) { | 1126 inline void Field::set_name(const ::std::string& value) { |
1340 | 1127 |
1341 name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value,
GetArenaNoVirtual()); | 1128 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
1342 // @@protoc_insertion_point(field_set:google.protobuf.Field.name) | 1129 // @@protoc_insertion_point(field_set:google.protobuf.Field.name) |
1343 } | 1130 } |
1344 inline void Field::set_name(const char* value) { | 1131 inline void Field::set_name(const char* value) { |
1345 | 1132 |
1346 name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std:
:string(value), | 1133 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
1347 GetArenaNoVirtual()); | |
1348 // @@protoc_insertion_point(field_set_char:google.protobuf.Field.name) | 1134 // @@protoc_insertion_point(field_set_char:google.protobuf.Field.name) |
1349 } | 1135 } |
1350 inline void Field::set_name(const char* value, | 1136 inline void Field::set_name(const char* value, size_t size) { |
1351 size_t size) { | |
1352 | 1137 |
1353 name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std:
:string( | 1138 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1354 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); | 1139 ::std::string(reinterpret_cast<const char*>(value), size)); |
1355 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.name) | 1140 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.name) |
1356 } | 1141 } |
1357 inline ::std::string* Field::mutable_name() { | 1142 inline ::std::string* Field::mutable_name() { |
1358 | 1143 |
1359 // @@protoc_insertion_point(field_mutable:google.protobuf.Field.name) | 1144 // @@protoc_insertion_point(field_mutable:google.protobuf.Field.name) |
1360 return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), GetArenaNoVirtual()); | 1145 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); |
1361 } | 1146 } |
1362 inline ::std::string* Field::release_name() { | 1147 inline ::std::string* Field::release_name() { |
1363 // @@protoc_insertion_point(field_release:google.protobuf.Field.name) | 1148 // @@protoc_insertion_point(field_release:google.protobuf.Field.name) |
1364 | 1149 |
1365 return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), GetArenaNoVirtual()); | 1150 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); |
1366 } | |
1367 inline ::std::string* Field::unsafe_arena_release_name() { | |
1368 // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.n
ame) | |
1369 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); | |
1370 | |
1371 return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringA
lreadyInited(), | |
1372 GetArenaNoVirtual()); | |
1373 } | 1151 } |
1374 inline void Field::set_allocated_name(::std::string* name) { | 1152 inline void Field::set_allocated_name(::std::string* name) { |
1375 if (name != NULL) { | 1153 if (name != NULL) { |
1376 | 1154 |
1377 } else { | 1155 } else { |
1378 | 1156 |
1379 } | 1157 } |
1380 name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), name, | 1158 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); |
1381 GetArenaNoVirtual()); | |
1382 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.name) | 1159 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.name) |
1383 } | 1160 } |
1384 inline void Field::unsafe_arena_set_allocated_name( | |
1385 ::std::string* name) { | |
1386 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); | |
1387 if (name != NULL) { | |
1388 | |
1389 } else { | |
1390 | |
1391 } | |
1392 name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), | |
1393 name, GetArenaNoVirtual()); | |
1394 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.F
ield.name) | |
1395 } | |
1396 | 1161 |
1397 // string type_url = 6; | 1162 // optional string type_url = 6; |
1398 inline void Field::clear_type_url() { | 1163 inline void Field::clear_type_url() { |
1399 type_url_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), GetArenaNoVirtual()); | 1164 type_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited()); |
1400 } | 1165 } |
1401 inline const ::std::string& Field::type_url() const { | 1166 inline const ::std::string& Field::type_url() const { |
1402 // @@protoc_insertion_point(field_get:google.protobuf.Field.type_url) | 1167 // @@protoc_insertion_point(field_get:google.protobuf.Field.type_url) |
1403 return type_url_.Get(); | 1168 return type_url_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); |
1404 } | 1169 } |
1405 inline void Field::set_type_url(const ::std::string& value) { | 1170 inline void Field::set_type_url(const ::std::string& value) { |
1406 | 1171 |
1407 type_url_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), va
lue, GetArenaNoVirtual()); | 1172 type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), value); |
1408 // @@protoc_insertion_point(field_set:google.protobuf.Field.type_url) | 1173 // @@protoc_insertion_point(field_set:google.protobuf.Field.type_url) |
1409 } | 1174 } |
1410 inline void Field::set_type_url(const char* value) { | 1175 inline void Field::set_type_url(const char* value) { |
1411 | 1176 |
1412 type_url_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value), | 1177 type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), ::std::string(value)); |
1413 GetArenaNoVirtual()); | |
1414 // @@protoc_insertion_point(field_set_char:google.protobuf.Field.type_url) | 1178 // @@protoc_insertion_point(field_set_char:google.protobuf.Field.type_url) |
1415 } | 1179 } |
1416 inline void Field::set_type_url(const char* value, | 1180 inline void Field::set_type_url(const char* value, size_t size) { |
1417 size_t size) { | |
1418 | 1181 |
1419 type_url_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string( | 1182 type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), |
1420 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); | 1183 ::std::string(reinterpret_cast<const char*>(value), size)); |
1421 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.type_url) | 1184 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.type_url) |
1422 } | 1185 } |
1423 inline ::std::string* Field::mutable_type_url() { | 1186 inline ::std::string* Field::mutable_type_url() { |
1424 | 1187 |
1425 // @@protoc_insertion_point(field_mutable:google.protobuf.Field.type_url) | 1188 // @@protoc_insertion_point(field_mutable:google.protobuf.Field.type_url) |
1426 return type_url_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), GetArenaNoVirtual()); | 1189 return type_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); |
1427 } | 1190 } |
1428 inline ::std::string* Field::release_type_url() { | 1191 inline ::std::string* Field::release_type_url() { |
1429 // @@protoc_insertion_point(field_release:google.protobuf.Field.type_url) | 1192 // @@protoc_insertion_point(field_release:google.protobuf.Field.type_url) |
1430 | 1193 |
1431 return type_url_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), GetArenaNoVirtual()); | 1194 return type_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); |
1432 } | |
1433 inline ::std::string* Field::unsafe_arena_release_type_url() { | |
1434 // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.t
ype_url) | |
1435 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); | |
1436 | |
1437 return type_url_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStr
ingAlreadyInited(), | |
1438 GetArenaNoVirtual()); | |
1439 } | 1195 } |
1440 inline void Field::set_allocated_type_url(::std::string* type_url) { | 1196 inline void Field::set_allocated_type_url(::std::string* type_url) { |
1441 if (type_url != NULL) { | 1197 if (type_url != NULL) { |
1442 | 1198 |
1443 } else { | 1199 } else { |
1444 | 1200 |
1445 } | 1201 } |
1446 type_url_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), type_url, | 1202 type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), type_url); |
1447 GetArenaNoVirtual()); | |
1448 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.type_url
) | 1203 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.type_url
) |
1449 } | 1204 } |
1450 inline void Field::unsafe_arena_set_allocated_type_url( | |
1451 ::std::string* type_url) { | |
1452 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); | |
1453 if (type_url != NULL) { | |
1454 | |
1455 } else { | |
1456 | |
1457 } | |
1458 type_url_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited(), | |
1459 type_url, GetArenaNoVirtual()); | |
1460 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.F
ield.type_url) | |
1461 } | |
1462 | 1205 |
1463 // int32 oneof_index = 7; | 1206 // optional int32 oneof_index = 7; |
1464 inline void Field::clear_oneof_index() { | 1207 inline void Field::clear_oneof_index() { |
1465 oneof_index_ = 0; | 1208 oneof_index_ = 0; |
1466 } | 1209 } |
1467 inline ::google::protobuf::int32 Field::oneof_index() const { | 1210 inline ::google::protobuf::int32 Field::oneof_index() const { |
1468 // @@protoc_insertion_point(field_get:google.protobuf.Field.oneof_index) | 1211 // @@protoc_insertion_point(field_get:google.protobuf.Field.oneof_index) |
1469 return oneof_index_; | 1212 return oneof_index_; |
1470 } | 1213 } |
1471 inline void Field::set_oneof_index(::google::protobuf::int32 value) { | 1214 inline void Field::set_oneof_index(::google::protobuf::int32 value) { |
1472 | 1215 |
1473 oneof_index_ = value; | 1216 oneof_index_ = value; |
1474 // @@protoc_insertion_point(field_set:google.protobuf.Field.oneof_index) | 1217 // @@protoc_insertion_point(field_set:google.protobuf.Field.oneof_index) |
1475 } | 1218 } |
1476 | 1219 |
1477 // bool packed = 8; | 1220 // optional bool packed = 8; |
1478 inline void Field::clear_packed() { | 1221 inline void Field::clear_packed() { |
1479 packed_ = false; | 1222 packed_ = false; |
1480 } | 1223 } |
1481 inline bool Field::packed() const { | 1224 inline bool Field::packed() const { |
1482 // @@protoc_insertion_point(field_get:google.protobuf.Field.packed) | 1225 // @@protoc_insertion_point(field_get:google.protobuf.Field.packed) |
1483 return packed_; | 1226 return packed_; |
1484 } | 1227 } |
1485 inline void Field::set_packed(bool value) { | 1228 inline void Field::set_packed(bool value) { |
1486 | 1229 |
1487 packed_ = value; | 1230 packed_ = value; |
(...skipping 23 matching lines...) Expand all Loading... |
1511 Field::mutable_options() { | 1254 Field::mutable_options() { |
1512 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Field.options) | 1255 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Field.options) |
1513 return &options_; | 1256 return &options_; |
1514 } | 1257 } |
1515 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& | 1258 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& |
1516 Field::options() const { | 1259 Field::options() const { |
1517 // @@protoc_insertion_point(field_list:google.protobuf.Field.options) | 1260 // @@protoc_insertion_point(field_list:google.protobuf.Field.options) |
1518 return options_; | 1261 return options_; |
1519 } | 1262 } |
1520 | 1263 |
1521 // string json_name = 10; | 1264 // optional string json_name = 10; |
1522 inline void Field::clear_json_name() { | 1265 inline void Field::clear_json_name() { |
1523 json_name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), GetArenaNoVirtual()); | 1266 json_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); |
1524 } | 1267 } |
1525 inline const ::std::string& Field::json_name() const { | 1268 inline const ::std::string& Field::json_name() const { |
1526 // @@protoc_insertion_point(field_get:google.protobuf.Field.json_name) | 1269 // @@protoc_insertion_point(field_get:google.protobuf.Field.json_name) |
1527 return json_name_.Get(); | 1270 return json_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited()); |
1528 } | 1271 } |
1529 inline void Field::set_json_name(const ::std::string& value) { | 1272 inline void Field::set_json_name(const ::std::string& value) { |
1530 | 1273 |
1531 json_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), v
alue, GetArenaNoVirtual()); | 1274 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), value); |
1532 // @@protoc_insertion_point(field_set:google.protobuf.Field.json_name) | 1275 // @@protoc_insertion_point(field_set:google.protobuf.Field.json_name) |
1533 } | 1276 } |
1534 inline void Field::set_json_name(const char* value) { | 1277 inline void Field::set_json_name(const char* value) { |
1535 | 1278 |
1536 json_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), :
:std::string(value), | 1279 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), ::std::string(value)); |
1537 GetArenaNoVirtual()); | |
1538 // @@protoc_insertion_point(field_set_char:google.protobuf.Field.json_name) | 1280 // @@protoc_insertion_point(field_set_char:google.protobuf.Field.json_name) |
1539 } | 1281 } |
1540 inline void Field::set_json_name(const char* value, | 1282 inline void Field::set_json_name(const char* value, size_t size) { |
1541 size_t size) { | |
1542 | 1283 |
1543 json_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), :
:std::string( | 1284 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), |
1544 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); | 1285 ::std::string(reinterpret_cast<const char*>(value), size)); |
1545 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.json_name) | 1286 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.json_name) |
1546 } | 1287 } |
1547 inline ::std::string* Field::mutable_json_name() { | 1288 inline ::std::string* Field::mutable_json_name() { |
1548 | 1289 |
1549 // @@protoc_insertion_point(field_mutable:google.protobuf.Field.json_name) | 1290 // @@protoc_insertion_point(field_mutable:google.protobuf.Field.json_name) |
1550 return json_name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), GetArenaNoVirtual()); | 1291 return json_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited()); |
1551 } | 1292 } |
1552 inline ::std::string* Field::release_json_name() { | 1293 inline ::std::string* Field::release_json_name() { |
1553 // @@protoc_insertion_point(field_release:google.protobuf.Field.json_name) | 1294 // @@protoc_insertion_point(field_release:google.protobuf.Field.json_name) |
1554 | 1295 |
1555 return json_name_.Release(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), GetArenaNoVirtual()); | 1296 return json_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited()); |
1556 } | |
1557 inline ::std::string* Field::unsafe_arena_release_json_name() { | |
1558 // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.j
son_name) | |
1559 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); | |
1560 | |
1561 return json_name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptySt
ringAlreadyInited(), | |
1562 GetArenaNoVirtual()); | |
1563 } | 1297 } |
1564 inline void Field::set_allocated_json_name(::std::string* json_name) { | 1298 inline void Field::set_allocated_json_name(::std::string* json_name) { |
1565 if (json_name != NULL) { | 1299 if (json_name != NULL) { |
1566 | 1300 |
1567 } else { | 1301 } else { |
1568 | 1302 |
1569 } | 1303 } |
1570 json_name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), json_name, | 1304 json_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited(), json_name); |
1571 GetArenaNoVirtual()); | |
1572 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.json_nam
e) | 1305 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.json_nam
e) |
1573 } | 1306 } |
1574 inline void Field::unsafe_arena_set_allocated_json_name( | |
1575 ::std::string* json_name) { | |
1576 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); | |
1577 if (json_name != NULL) { | |
1578 | |
1579 } else { | |
1580 | |
1581 } | |
1582 json_name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStri
ngAlreadyInited(), | |
1583 json_name, GetArenaNoVirtual()); | |
1584 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.F
ield.json_name) | |
1585 } | |
1586 | 1307 |
1587 // string default_value = 11; | 1308 // optional string default_value = 11; |
1588 inline void Field::clear_default_value() { | 1309 inline void Field::clear_default_value() { |
1589 default_value_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited(), GetArenaNoVirtual()); | 1310 default_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStri
ngAlreadyInited()); |
1590 } | 1311 } |
1591 inline const ::std::string& Field::default_value() const { | 1312 inline const ::std::string& Field::default_value() const { |
1592 // @@protoc_insertion_point(field_get:google.protobuf.Field.default_value) | 1313 // @@protoc_insertion_point(field_get:google.protobuf.Field.default_value) |
1593 return default_value_.Get(); | 1314 return default_value_.GetNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited()); |
1594 } | 1315 } |
1595 inline void Field::set_default_value(const ::std::string& value) { | 1316 inline void Field::set_default_value(const ::std::string& value) { |
1596 | 1317 |
1597 default_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), value, GetArenaNoVirtual()); | 1318 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), value); |
1598 // @@protoc_insertion_point(field_set:google.protobuf.Field.default_value) | 1319 // @@protoc_insertion_point(field_set:google.protobuf.Field.default_value) |
1599 } | 1320 } |
1600 inline void Field::set_default_value(const char* value) { | 1321 inline void Field::set_default_value(const char* value) { |
1601 | 1322 |
1602 default_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), ::std::string(value), | 1323 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), ::std::string(value)); |
1603 GetArenaNoVirtual()); | |
1604 // @@protoc_insertion_point(field_set_char:google.protobuf.Field.default_value
) | 1324 // @@protoc_insertion_point(field_set_char:google.protobuf.Field.default_value
) |
1605 } | 1325 } |
1606 inline void Field::set_default_value(const char* value, | 1326 inline void Field::set_default_value(const char* value, size_t size) { |
1607 size_t size) { | |
1608 | 1327 |
1609 default_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), ::std::string( | 1328 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), |
1610 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); | 1329 ::std::string(reinterpret_cast<const char*>(value), size)); |
1611 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.default_va
lue) | 1330 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.default_va
lue) |
1612 } | 1331 } |
1613 inline ::std::string* Field::mutable_default_value() { | 1332 inline ::std::string* Field::mutable_default_value() { |
1614 | 1333 |
1615 // @@protoc_insertion_point(field_mutable:google.protobuf.Field.default_value) | 1334 // @@protoc_insertion_point(field_mutable:google.protobuf.Field.default_value) |
1616 return default_value_.Mutable(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), GetArenaNoVirtual()); | 1335 return default_value_.MutableNoArena(&::google::protobuf::internal::GetEmptySt
ringAlreadyInited()); |
1617 } | 1336 } |
1618 inline ::std::string* Field::release_default_value() { | 1337 inline ::std::string* Field::release_default_value() { |
1619 // @@protoc_insertion_point(field_release:google.protobuf.Field.default_value) | 1338 // @@protoc_insertion_point(field_release:google.protobuf.Field.default_value) |
1620 | 1339 |
1621 return default_value_.Release(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), GetArenaNoVirtual()); | 1340 return default_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptySt
ringAlreadyInited()); |
1622 } | |
1623 inline ::std::string* Field::unsafe_arena_release_default_value() { | |
1624 // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.d
efault_value) | |
1625 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); | |
1626 | |
1627 return default_value_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmp
tyStringAlreadyInited(), | |
1628 GetArenaNoVirtual()); | |
1629 } | 1341 } |
1630 inline void Field::set_allocated_default_value(::std::string* default_value) { | 1342 inline void Field::set_allocated_default_value(::std::string* default_value) { |
1631 if (default_value != NULL) { | 1343 if (default_value != NULL) { |
1632 | 1344 |
1633 } else { | 1345 } else { |
1634 | 1346 |
1635 } | 1347 } |
1636 default_value_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited(), default_value, | 1348 default_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStri
ngAlreadyInited(), default_value); |
1637 GetArenaNoVirtual()); | |
1638 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.default_
value) | 1349 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.default_
value) |
1639 } | 1350 } |
1640 inline void Field::unsafe_arena_set_allocated_default_value( | |
1641 ::std::string* default_value) { | |
1642 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); | |
1643 if (default_value != NULL) { | |
1644 | |
1645 } else { | |
1646 | |
1647 } | |
1648 default_value_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmpty
StringAlreadyInited(), | |
1649 default_value, GetArenaNoVirtual()); | |
1650 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.F
ield.default_value) | |
1651 } | |
1652 | 1351 |
1653 // ------------------------------------------------------------------- | 1352 // ------------------------------------------------------------------- |
1654 | 1353 |
1655 // Enum | 1354 // Enum |
1656 | 1355 |
1657 // string name = 1; | 1356 // optional string name = 1; |
1658 inline void Enum::clear_name() { | 1357 inline void Enum::clear_name() { |
1659 name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), GetArenaNoVirtual()); | 1358 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
1660 } | 1359 } |
1661 inline const ::std::string& Enum::name() const { | 1360 inline const ::std::string& Enum::name() const { |
1662 // @@protoc_insertion_point(field_get:google.protobuf.Enum.name) | 1361 // @@protoc_insertion_point(field_get:google.protobuf.Enum.name) |
1663 return name_.Get(); | 1362 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); |
1664 } | 1363 } |
1665 inline void Enum::set_name(const ::std::string& value) { | 1364 inline void Enum::set_name(const ::std::string& value) { |
1666 | 1365 |
1667 name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value,
GetArenaNoVirtual()); | 1366 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
1668 // @@protoc_insertion_point(field_set:google.protobuf.Enum.name) | 1367 // @@protoc_insertion_point(field_set:google.protobuf.Enum.name) |
1669 } | 1368 } |
1670 inline void Enum::set_name(const char* value) { | 1369 inline void Enum::set_name(const char* value) { |
1671 | 1370 |
1672 name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std:
:string(value), | 1371 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
1673 GetArenaNoVirtual()); | |
1674 // @@protoc_insertion_point(field_set_char:google.protobuf.Enum.name) | 1372 // @@protoc_insertion_point(field_set_char:google.protobuf.Enum.name) |
1675 } | 1373 } |
1676 inline void Enum::set_name(const char* value, | 1374 inline void Enum::set_name(const char* value, size_t size) { |
1677 size_t size) { | |
1678 | 1375 |
1679 name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std:
:string( | 1376 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1680 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); | 1377 ::std::string(reinterpret_cast<const char*>(value), size)); |
1681 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Enum.name) | 1378 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Enum.name) |
1682 } | 1379 } |
1683 inline ::std::string* Enum::mutable_name() { | 1380 inline ::std::string* Enum::mutable_name() { |
1684 | 1381 |
1685 // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.name) | 1382 // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.name) |
1686 return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), GetArenaNoVirtual()); | 1383 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); |
1687 } | 1384 } |
1688 inline ::std::string* Enum::release_name() { | 1385 inline ::std::string* Enum::release_name() { |
1689 // @@protoc_insertion_point(field_release:google.protobuf.Enum.name) | 1386 // @@protoc_insertion_point(field_release:google.protobuf.Enum.name) |
1690 | 1387 |
1691 return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), GetArenaNoVirtual()); | 1388 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); |
1692 } | |
1693 inline ::std::string* Enum::unsafe_arena_release_name() { | |
1694 // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Enum.na
me) | |
1695 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); | |
1696 | |
1697 return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringA
lreadyInited(), | |
1698 GetArenaNoVirtual()); | |
1699 } | 1389 } |
1700 inline void Enum::set_allocated_name(::std::string* name) { | 1390 inline void Enum::set_allocated_name(::std::string* name) { |
1701 if (name != NULL) { | 1391 if (name != NULL) { |
1702 | 1392 |
1703 } else { | 1393 } else { |
1704 | 1394 |
1705 } | 1395 } |
1706 name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), name, | 1396 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); |
1707 GetArenaNoVirtual()); | |
1708 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Enum.name) | 1397 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Enum.name) |
1709 } | 1398 } |
1710 inline void Enum::unsafe_arena_set_allocated_name( | |
1711 ::std::string* name) { | |
1712 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); | |
1713 if (name != NULL) { | |
1714 | |
1715 } else { | |
1716 | |
1717 } | |
1718 name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), | |
1719 name, GetArenaNoVirtual()); | |
1720 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.E
num.name) | |
1721 } | |
1722 | 1399 |
1723 // repeated .google.protobuf.EnumValue enumvalue = 2; | 1400 // repeated .google.protobuf.EnumValue enumvalue = 2; |
1724 inline int Enum::enumvalue_size() const { | 1401 inline int Enum::enumvalue_size() const { |
1725 return enumvalue_.size(); | 1402 return enumvalue_.size(); |
1726 } | 1403 } |
1727 inline void Enum::clear_enumvalue() { | 1404 inline void Enum::clear_enumvalue() { |
1728 enumvalue_.Clear(); | 1405 enumvalue_.Clear(); |
1729 } | 1406 } |
1730 inline const ::google::protobuf::EnumValue& Enum::enumvalue(int index) const { | 1407 inline const ::google::protobuf::EnumValue& Enum::enumvalue(int index) const { |
1731 // @@protoc_insertion_point(field_get:google.protobuf.Enum.enumvalue) | 1408 // @@protoc_insertion_point(field_get:google.protobuf.Enum.enumvalue) |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1773 Enum::mutable_options() { | 1450 Enum::mutable_options() { |
1774 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.options) | 1451 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.options) |
1775 return &options_; | 1452 return &options_; |
1776 } | 1453 } |
1777 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& | 1454 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& |
1778 Enum::options() const { | 1455 Enum::options() const { |
1779 // @@protoc_insertion_point(field_list:google.protobuf.Enum.options) | 1456 // @@protoc_insertion_point(field_list:google.protobuf.Enum.options) |
1780 return options_; | 1457 return options_; |
1781 } | 1458 } |
1782 | 1459 |
1783 // .google.protobuf.SourceContext source_context = 4; | 1460 // optional .google.protobuf.SourceContext source_context = 4; |
1784 inline bool Enum::has_source_context() const { | 1461 inline bool Enum::has_source_context() const { |
1785 return this != internal_default_instance() && source_context_ != NULL; | 1462 return !_is_default_instance_ && source_context_ != NULL; |
1786 } | 1463 } |
1787 inline void Enum::clear_source_context() { | 1464 inline void Enum::clear_source_context() { |
1788 if (GetArenaNoVirtual() == NULL && source_context_ != NULL) delete source_cont
ext_; | 1465 if (GetArenaNoVirtual() == NULL && source_context_ != NULL) delete source_cont
ext_; |
1789 source_context_ = NULL; | 1466 source_context_ = NULL; |
1790 } | 1467 } |
1791 inline const ::google::protobuf::SourceContext& Enum::source_context() const { | 1468 inline const ::google::protobuf::SourceContext& Enum::source_context() const { |
1792 // @@protoc_insertion_point(field_get:google.protobuf.Enum.source_context) | 1469 // @@protoc_insertion_point(field_get:google.protobuf.Enum.source_context) |
1793 return source_context_ != NULL ? *source_context_ | 1470 return source_context_ != NULL ? *source_context_ : *default_instance_->source
_context_; |
1794 : *::google::protobuf::SourceContext::internal_default_
instance(); | |
1795 } | 1471 } |
1796 inline ::google::protobuf::SourceContext* Enum::mutable_source_context() { | 1472 inline ::google::protobuf::SourceContext* Enum::mutable_source_context() { |
1797 | 1473 |
1798 if (source_context_ == NULL) { | 1474 if (source_context_ == NULL) { |
1799 _slow_mutable_source_context(); | 1475 source_context_ = new ::google::protobuf::SourceContext; |
1800 } | 1476 } |
1801 // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.source_context) | 1477 // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.source_context) |
1802 return source_context_; | 1478 return source_context_; |
1803 } | 1479 } |
1804 inline ::google::protobuf::SourceContext* Enum::release_source_context() { | 1480 inline ::google::protobuf::SourceContext* Enum::release_source_context() { |
1805 // @@protoc_insertion_point(field_release:google.protobuf.Enum.source_context) | 1481 // @@protoc_insertion_point(field_release:google.protobuf.Enum.source_context) |
1806 | 1482 |
1807 if (GetArenaNoVirtual() != NULL) { | 1483 ::google::protobuf::SourceContext* temp = source_context_; |
1808 return _slow_release_source_context(); | 1484 source_context_ = NULL; |
1809 } else { | 1485 return temp; |
1810 ::google::protobuf::SourceContext* temp = source_context_; | |
1811 source_context_ = NULL; | |
1812 return temp; | |
1813 } | |
1814 } | 1486 } |
1815 inline void Enum::set_allocated_source_context(::google::protobuf::SourceContex
t* source_context) { | 1487 inline void Enum::set_allocated_source_context(::google::protobuf::SourceContext
* source_context) { |
1816 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); | 1488 delete source_context_; |
1817 if (message_arena == NULL) { | |
1818 delete source_context_; | |
1819 } | |
1820 if (source_context != NULL) { | |
1821 if (message_arena != NULL) { | |
1822 message_arena->Own(source_context); | |
1823 } | |
1824 } | |
1825 source_context_ = source_context; | 1489 source_context_ = source_context; |
1826 if (source_context) { | 1490 if (source_context) { |
1827 | 1491 |
1828 } else { | 1492 } else { |
1829 | 1493 |
1830 } | 1494 } |
1831 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Enum.source_co
ntext) | 1495 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Enum.source_co
ntext) |
1832 } | 1496 } |
1833 | 1497 |
1834 // .google.protobuf.Syntax syntax = 5; | 1498 // optional .google.protobuf.Syntax syntax = 5; |
1835 inline void Enum::clear_syntax() { | 1499 inline void Enum::clear_syntax() { |
1836 syntax_ = 0; | 1500 syntax_ = 0; |
1837 } | 1501 } |
1838 inline ::google::protobuf::Syntax Enum::syntax() const { | 1502 inline ::google::protobuf::Syntax Enum::syntax() const { |
1839 // @@protoc_insertion_point(field_get:google.protobuf.Enum.syntax) | 1503 // @@protoc_insertion_point(field_get:google.protobuf.Enum.syntax) |
1840 return static_cast< ::google::protobuf::Syntax >(syntax_); | 1504 return static_cast< ::google::protobuf::Syntax >(syntax_); |
1841 } | 1505 } |
1842 inline void Enum::set_syntax(::google::protobuf::Syntax value) { | 1506 inline void Enum::set_syntax(::google::protobuf::Syntax value) { |
1843 | 1507 |
1844 syntax_ = value; | 1508 syntax_ = value; |
1845 // @@protoc_insertion_point(field_set:google.protobuf.Enum.syntax) | 1509 // @@protoc_insertion_point(field_set:google.protobuf.Enum.syntax) |
1846 } | 1510 } |
1847 | 1511 |
1848 // ------------------------------------------------------------------- | 1512 // ------------------------------------------------------------------- |
1849 | 1513 |
1850 // EnumValue | 1514 // EnumValue |
1851 | 1515 |
1852 // string name = 1; | 1516 // optional string name = 1; |
1853 inline void EnumValue::clear_name() { | 1517 inline void EnumValue::clear_name() { |
1854 name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), GetArenaNoVirtual()); | 1518 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
1855 } | 1519 } |
1856 inline const ::std::string& EnumValue::name() const { | 1520 inline const ::std::string& EnumValue::name() const { |
1857 // @@protoc_insertion_point(field_get:google.protobuf.EnumValue.name) | 1521 // @@protoc_insertion_point(field_get:google.protobuf.EnumValue.name) |
1858 return name_.Get(); | 1522 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); |
1859 } | 1523 } |
1860 inline void EnumValue::set_name(const ::std::string& value) { | 1524 inline void EnumValue::set_name(const ::std::string& value) { |
1861 | 1525 |
1862 name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value,
GetArenaNoVirtual()); | 1526 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
1863 // @@protoc_insertion_point(field_set:google.protobuf.EnumValue.name) | 1527 // @@protoc_insertion_point(field_set:google.protobuf.EnumValue.name) |
1864 } | 1528 } |
1865 inline void EnumValue::set_name(const char* value) { | 1529 inline void EnumValue::set_name(const char* value) { |
1866 | 1530 |
1867 name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std:
:string(value), | 1531 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
1868 GetArenaNoVirtual()); | |
1869 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValue.name) | 1532 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValue.name) |
1870 } | 1533 } |
1871 inline void EnumValue::set_name(const char* value, | 1534 inline void EnumValue::set_name(const char* value, size_t size) { |
1872 size_t size) { | |
1873 | 1535 |
1874 name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std:
:string( | 1536 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1875 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); | 1537 ::std::string(reinterpret_cast<const char*>(value), size)); |
1876 // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValue.name) | 1538 // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValue.name) |
1877 } | 1539 } |
1878 inline ::std::string* EnumValue::mutable_name() { | 1540 inline ::std::string* EnumValue::mutable_name() { |
1879 | 1541 |
1880 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValue.name) | 1542 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValue.name) |
1881 return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), GetArenaNoVirtual()); | 1543 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); |
1882 } | 1544 } |
1883 inline ::std::string* EnumValue::release_name() { | 1545 inline ::std::string* EnumValue::release_name() { |
1884 // @@protoc_insertion_point(field_release:google.protobuf.EnumValue.name) | 1546 // @@protoc_insertion_point(field_release:google.protobuf.EnumValue.name) |
1885 | 1547 |
1886 return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), GetArenaNoVirtual()); | 1548 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); |
1887 } | |
1888 inline ::std::string* EnumValue::unsafe_arena_release_name() { | |
1889 // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.EnumVal
ue.name) | |
1890 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); | |
1891 | |
1892 return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringA
lreadyInited(), | |
1893 GetArenaNoVirtual()); | |
1894 } | 1549 } |
1895 inline void EnumValue::set_allocated_name(::std::string* name) { | 1550 inline void EnumValue::set_allocated_name(::std::string* name) { |
1896 if (name != NULL) { | 1551 if (name != NULL) { |
1897 | 1552 |
1898 } else { | 1553 } else { |
1899 | 1554 |
1900 } | 1555 } |
1901 name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), name, | 1556 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); |
1902 GetArenaNoVirtual()); | |
1903 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValue.name
) | 1557 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValue.name
) |
1904 } | 1558 } |
1905 inline void EnumValue::unsafe_arena_set_allocated_name( | |
1906 ::std::string* name) { | |
1907 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); | |
1908 if (name != NULL) { | |
1909 | |
1910 } else { | |
1911 | |
1912 } | |
1913 name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), | |
1914 name, GetArenaNoVirtual()); | |
1915 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.E
numValue.name) | |
1916 } | |
1917 | 1559 |
1918 // int32 number = 2; | 1560 // optional int32 number = 2; |
1919 inline void EnumValue::clear_number() { | 1561 inline void EnumValue::clear_number() { |
1920 number_ = 0; | 1562 number_ = 0; |
1921 } | 1563 } |
1922 inline ::google::protobuf::int32 EnumValue::number() const { | 1564 inline ::google::protobuf::int32 EnumValue::number() const { |
1923 // @@protoc_insertion_point(field_get:google.protobuf.EnumValue.number) | 1565 // @@protoc_insertion_point(field_get:google.protobuf.EnumValue.number) |
1924 return number_; | 1566 return number_; |
1925 } | 1567 } |
1926 inline void EnumValue::set_number(::google::protobuf::int32 value) { | 1568 inline void EnumValue::set_number(::google::protobuf::int32 value) { |
1927 | 1569 |
1928 number_ = value; | 1570 number_ = value; |
(...skipping 27 matching lines...) Expand all Loading... |
1956 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& | 1598 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& |
1957 EnumValue::options() const { | 1599 EnumValue::options() const { |
1958 // @@protoc_insertion_point(field_list:google.protobuf.EnumValue.options) | 1600 // @@protoc_insertion_point(field_list:google.protobuf.EnumValue.options) |
1959 return options_; | 1601 return options_; |
1960 } | 1602 } |
1961 | 1603 |
1962 // ------------------------------------------------------------------- | 1604 // ------------------------------------------------------------------- |
1963 | 1605 |
1964 // Option | 1606 // Option |
1965 | 1607 |
1966 // string name = 1; | 1608 // optional string name = 1; |
1967 inline void Option::clear_name() { | 1609 inline void Option::clear_name() { |
1968 name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), GetArenaNoVirtual()); | 1610 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
1969 } | 1611 } |
1970 inline const ::std::string& Option::name() const { | 1612 inline const ::std::string& Option::name() const { |
1971 // @@protoc_insertion_point(field_get:google.protobuf.Option.name) | 1613 // @@protoc_insertion_point(field_get:google.protobuf.Option.name) |
1972 return name_.Get(); | 1614 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); |
1973 } | 1615 } |
1974 inline void Option::set_name(const ::std::string& value) { | 1616 inline void Option::set_name(const ::std::string& value) { |
1975 | 1617 |
1976 name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value,
GetArenaNoVirtual()); | 1618 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
1977 // @@protoc_insertion_point(field_set:google.protobuf.Option.name) | 1619 // @@protoc_insertion_point(field_set:google.protobuf.Option.name) |
1978 } | 1620 } |
1979 inline void Option::set_name(const char* value) { | 1621 inline void Option::set_name(const char* value) { |
1980 | 1622 |
1981 name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std:
:string(value), | 1623 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
1982 GetArenaNoVirtual()); | |
1983 // @@protoc_insertion_point(field_set_char:google.protobuf.Option.name) | 1624 // @@protoc_insertion_point(field_set_char:google.protobuf.Option.name) |
1984 } | 1625 } |
1985 inline void Option::set_name(const char* value, | 1626 inline void Option::set_name(const char* value, size_t size) { |
1986 size_t size) { | |
1987 | 1627 |
1988 name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std:
:string( | 1628 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1989 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); | 1629 ::std::string(reinterpret_cast<const char*>(value), size)); |
1990 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Option.name) | 1630 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Option.name) |
1991 } | 1631 } |
1992 inline ::std::string* Option::mutable_name() { | 1632 inline ::std::string* Option::mutable_name() { |
1993 | 1633 |
1994 // @@protoc_insertion_point(field_mutable:google.protobuf.Option.name) | 1634 // @@protoc_insertion_point(field_mutable:google.protobuf.Option.name) |
1995 return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), GetArenaNoVirtual()); | 1635 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); |
1996 } | 1636 } |
1997 inline ::std::string* Option::release_name() { | 1637 inline ::std::string* Option::release_name() { |
1998 // @@protoc_insertion_point(field_release:google.protobuf.Option.name) | 1638 // @@protoc_insertion_point(field_release:google.protobuf.Option.name) |
1999 | 1639 |
2000 return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), GetArenaNoVirtual()); | 1640 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); |
2001 } | |
2002 inline ::std::string* Option::unsafe_arena_release_name() { | |
2003 // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Option.
name) | |
2004 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); | |
2005 | |
2006 return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringA
lreadyInited(), | |
2007 GetArenaNoVirtual()); | |
2008 } | 1641 } |
2009 inline void Option::set_allocated_name(::std::string* name) { | 1642 inline void Option::set_allocated_name(::std::string* name) { |
2010 if (name != NULL) { | 1643 if (name != NULL) { |
2011 | 1644 |
2012 } else { | 1645 } else { |
2013 | 1646 |
2014 } | 1647 } |
2015 name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), name, | 1648 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); |
2016 GetArenaNoVirtual()); | |
2017 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Option.name) | 1649 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Option.name) |
2018 } | 1650 } |
2019 inline void Option::unsafe_arena_set_allocated_name( | |
2020 ::std::string* name) { | |
2021 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); | |
2022 if (name != NULL) { | |
2023 | |
2024 } else { | |
2025 | |
2026 } | |
2027 name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), | |
2028 name, GetArenaNoVirtual()); | |
2029 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.O
ption.name) | |
2030 } | |
2031 | 1651 |
2032 // .google.protobuf.Any value = 2; | 1652 // optional .google.protobuf.Any value = 2; |
2033 inline bool Option::has_value() const { | 1653 inline bool Option::has_value() const { |
2034 return this != internal_default_instance() && value_ != NULL; | 1654 return !_is_default_instance_ && value_ != NULL; |
2035 } | 1655 } |
2036 inline void Option::clear_value() { | 1656 inline void Option::clear_value() { |
2037 if (GetArenaNoVirtual() == NULL && value_ != NULL) delete value_; | 1657 if (GetArenaNoVirtual() == NULL && value_ != NULL) delete value_; |
2038 value_ = NULL; | 1658 value_ = NULL; |
2039 } | 1659 } |
2040 inline const ::google::protobuf::Any& Option::value() const { | 1660 inline const ::google::protobuf::Any& Option::value() const { |
2041 // @@protoc_insertion_point(field_get:google.protobuf.Option.value) | 1661 // @@protoc_insertion_point(field_get:google.protobuf.Option.value) |
2042 return value_ != NULL ? *value_ | 1662 return value_ != NULL ? *value_ : *default_instance_->value_; |
2043 : *::google::protobuf::Any::internal_default_instance()
; | |
2044 } | 1663 } |
2045 inline ::google::protobuf::Any* Option::mutable_value() { | 1664 inline ::google::protobuf::Any* Option::mutable_value() { |
2046 | 1665 |
2047 if (value_ == NULL) { | 1666 if (value_ == NULL) { |
2048 _slow_mutable_value(); | 1667 value_ = new ::google::protobuf::Any; |
2049 } | 1668 } |
2050 // @@protoc_insertion_point(field_mutable:google.protobuf.Option.value) | 1669 // @@protoc_insertion_point(field_mutable:google.protobuf.Option.value) |
2051 return value_; | 1670 return value_; |
2052 } | 1671 } |
2053 inline ::google::protobuf::Any* Option::release_value() { | 1672 inline ::google::protobuf::Any* Option::release_value() { |
2054 // @@protoc_insertion_point(field_release:google.protobuf.Option.value) | 1673 // @@protoc_insertion_point(field_release:google.protobuf.Option.value) |
2055 | 1674 |
2056 if (GetArenaNoVirtual() != NULL) { | 1675 ::google::protobuf::Any* temp = value_; |
2057 return _slow_release_value(); | 1676 value_ = NULL; |
2058 } else { | 1677 return temp; |
2059 ::google::protobuf::Any* temp = value_; | |
2060 value_ = NULL; | |
2061 return temp; | |
2062 } | |
2063 } | 1678 } |
2064 inline void Option::set_allocated_value(::google::protobuf::Any* value) { | 1679 inline void Option::set_allocated_value(::google::protobuf::Any* value) { |
2065 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); | 1680 delete value_; |
2066 if (message_arena == NULL) { | |
2067 delete value_; | |
2068 } | |
2069 if (value != NULL) { | |
2070 if (message_arena != NULL) { | |
2071 message_arena->Own(value); | |
2072 } | |
2073 } | |
2074 value_ = value; | 1681 value_ = value; |
2075 if (value) { | 1682 if (value) { |
2076 | 1683 |
2077 } else { | 1684 } else { |
2078 | 1685 |
2079 } | 1686 } |
2080 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Option.value) | 1687 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Option.value) |
2081 } | 1688 } |
2082 | 1689 |
2083 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS | 1690 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS |
2084 // ------------------------------------------------------------------- | 1691 // ------------------------------------------------------------------- |
2085 | 1692 |
2086 // ------------------------------------------------------------------- | 1693 // ------------------------------------------------------------------- |
2087 | 1694 |
2088 // ------------------------------------------------------------------- | 1695 // ------------------------------------------------------------------- |
2089 | 1696 |
2090 // ------------------------------------------------------------------- | 1697 // ------------------------------------------------------------------- |
2091 | 1698 |
2092 | 1699 |
2093 // @@protoc_insertion_point(namespace_scope) | 1700 // @@protoc_insertion_point(namespace_scope) |
2094 | 1701 |
2095 | |
2096 } // namespace protobuf | 1702 } // namespace protobuf |
2097 } // namespace google | 1703 } // namespace google |
2098 | 1704 |
2099 #ifndef SWIG | 1705 #ifndef SWIG |
2100 namespace google { | 1706 namespace google { |
2101 namespace protobuf { | 1707 namespace protobuf { |
2102 | 1708 |
2103 template <> struct is_proto_enum< ::google::protobuf::Field_Kind> : ::google::pr
otobuf::internal::true_type {}; | 1709 template <> struct is_proto_enum< ::google::protobuf::Field_Kind> : ::google::pr
otobuf::internal::true_type {}; |
2104 template <> | 1710 template <> |
2105 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::Field_Kind>(
) { | 1711 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::Field_Kind>(
) { |
(...skipping 10 matching lines...) Expand all Loading... |
2116 return ::google::protobuf::Syntax_descriptor(); | 1722 return ::google::protobuf::Syntax_descriptor(); |
2117 } | 1723 } |
2118 | 1724 |
2119 } // namespace protobuf | 1725 } // namespace protobuf |
2120 } // namespace google | 1726 } // namespace google |
2121 #endif // SWIG | 1727 #endif // SWIG |
2122 | 1728 |
2123 // @@protoc_insertion_point(global_scope) | 1729 // @@protoc_insertion_point(global_scope) |
2124 | 1730 |
2125 #endif // PROTOBUF_google_2fprotobuf_2ftype_2eproto__INCLUDED | 1731 #endif // PROTOBUF_google_2fprotobuf_2ftype_2eproto__INCLUDED |
OLD | NEW |