Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: third_party/protobuf/src/google/protobuf/descriptor.pb.h

Issue 2590803003: Revert "third_party/protobuf: Update to HEAD (83d681ee2c)" (Closed)
Patch Set: Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Generated by the protocol buffer compiler. DO NOT EDIT! 1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/descriptor.proto 2 // source: google/protobuf/descriptor.proto
3 3
4 #ifndef PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED 4 #ifndef PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED
5 #define PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED 5 #define PROTOBUF_google_2fprotobuf_2fdescriptor_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 // @@protoc_insertion_point(includes) 31 // @@protoc_insertion_point(includes)
32 namespace google {
33 namespace protobuf {
34 class DescriptorProto;
35 class DescriptorProtoDefaultTypeInternal;
36 LIBPROTOBUF_EXPORT extern DescriptorProtoDefaultTypeInternal _DescriptorProto_de fault_instance_;
37 class DescriptorProto_ExtensionRange;
38 class DescriptorProto_ExtensionRangeDefaultTypeInternal;
39 LIBPROTOBUF_EXPORT extern DescriptorProto_ExtensionRangeDefaultTypeInternal _Des criptorProto_ExtensionRange_default_instance_;
40 class DescriptorProto_ReservedRange;
41 class DescriptorProto_ReservedRangeDefaultTypeInternal;
42 LIBPROTOBUF_EXPORT extern DescriptorProto_ReservedRangeDefaultTypeInternal _Desc riptorProto_ReservedRange_default_instance_;
43 class EnumDescriptorProto;
44 class EnumDescriptorProtoDefaultTypeInternal;
45 LIBPROTOBUF_EXPORT extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptor Proto_default_instance_;
46 class EnumOptions;
47 class EnumOptionsDefaultTypeInternal;
48 LIBPROTOBUF_EXPORT extern EnumOptionsDefaultTypeInternal _EnumOptions_default_in stance_;
49 class EnumValueDescriptorProto;
50 class EnumValueDescriptorProtoDefaultTypeInternal;
51 LIBPROTOBUF_EXPORT extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValue DescriptorProto_default_instance_;
52 class EnumValueOptions;
53 class EnumValueOptionsDefaultTypeInternal;
54 LIBPROTOBUF_EXPORT extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_ default_instance_;
55 class FieldDescriptorProto;
56 class FieldDescriptorProtoDefaultTypeInternal;
57 LIBPROTOBUF_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescript orProto_default_instance_;
58 class FieldOptions;
59 class FieldOptionsDefaultTypeInternal;
60 LIBPROTOBUF_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_ instance_;
61 class FileDescriptorProto;
62 class FileDescriptorProtoDefaultTypeInternal;
63 LIBPROTOBUF_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptor Proto_default_instance_;
64 class FileDescriptorSet;
65 class FileDescriptorSetDefaultTypeInternal;
66 LIBPROTOBUF_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSe t_default_instance_;
67 class FileOptions;
68 class FileOptionsDefaultTypeInternal;
69 LIBPROTOBUF_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_in stance_;
70 class GeneratedCodeInfo;
71 class GeneratedCodeInfoDefaultTypeInternal;
72 LIBPROTOBUF_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInf o_default_instance_;
73 class GeneratedCodeInfo_Annotation;
74 class GeneratedCodeInfo_AnnotationDefaultTypeInternal;
75 LIBPROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _Gener atedCodeInfo_Annotation_default_instance_;
76 class MessageOptions;
77 class MessageOptionsDefaultTypeInternal;
78 LIBPROTOBUF_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_defa ult_instance_;
79 class MethodDescriptorProto;
80 class MethodDescriptorProtoDefaultTypeInternal;
81 LIBPROTOBUF_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescri ptorProto_default_instance_;
82 class MethodOptions;
83 class MethodOptionsDefaultTypeInternal;
84 LIBPROTOBUF_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_defaul t_instance_;
85 class OneofDescriptorProto;
86 class OneofDescriptorProtoDefaultTypeInternal;
87 LIBPROTOBUF_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescript orProto_default_instance_;
88 class OneofOptions;
89 class OneofOptionsDefaultTypeInternal;
90 LIBPROTOBUF_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_ instance_;
91 class ServiceDescriptorProto;
92 class ServiceDescriptorProtoDefaultTypeInternal;
93 LIBPROTOBUF_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDesc riptorProto_default_instance_;
94 class ServiceOptions;
95 class ServiceOptionsDefaultTypeInternal;
96 LIBPROTOBUF_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_defa ult_instance_;
97 class SourceCodeInfo;
98 class SourceCodeInfoDefaultTypeInternal;
99 LIBPROTOBUF_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_defa ult_instance_;
100 class SourceCodeInfo_Location;
101 class SourceCodeInfo_LocationDefaultTypeInternal;
102 LIBPROTOBUF_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCode Info_Location_default_instance_;
103 class UninterpretedOption;
104 class UninterpretedOptionDefaultTypeInternal;
105 LIBPROTOBUF_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedO ption_default_instance_;
106 class UninterpretedOption_NamePart;
107 class UninterpretedOption_NamePartDefaultTypeInternal;
108 LIBPROTOBUF_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _Unint erpretedOption_NamePart_default_instance_;
109 } // namespace protobuf
110 } // namespace google
111 32
112 namespace google { 33 namespace google {
113 namespace protobuf { 34 namespace protobuf {
114 35
115 // Internal implementation detail -- do not call these. 36 // Internal implementation detail -- do not call these.
116 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto( ); 37 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto( );
117 void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescriptor_2ep roto(); 38 void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
39 void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
40
41 class DescriptorProto;
42 class DescriptorProto_ExtensionRange;
43 class DescriptorProto_ReservedRange;
44 class EnumDescriptorProto;
45 class EnumOptions;
46 class EnumValueDescriptorProto;
47 class EnumValueOptions;
48 class FieldDescriptorProto;
49 class FieldOptions;
50 class FileDescriptorProto;
51 class FileDescriptorSet;
52 class FileOptions;
53 class GeneratedCodeInfo;
54 class GeneratedCodeInfo_Annotation;
55 class MessageOptions;
56 class MethodDescriptorProto;
57 class MethodOptions;
58 class OneofDescriptorProto;
59 class ServiceDescriptorProto;
60 class ServiceOptions;
61 class SourceCodeInfo;
62 class SourceCodeInfo_Location;
63 class UninterpretedOption;
64 class UninterpretedOption_NamePart;
118 65
119 enum FieldDescriptorProto_Type { 66 enum FieldDescriptorProto_Type {
120 FieldDescriptorProto_Type_TYPE_DOUBLE = 1, 67 FieldDescriptorProto_Type_TYPE_DOUBLE = 1,
121 FieldDescriptorProto_Type_TYPE_FLOAT = 2, 68 FieldDescriptorProto_Type_TYPE_FLOAT = 2,
122 FieldDescriptorProto_Type_TYPE_INT64 = 3, 69 FieldDescriptorProto_Type_TYPE_INT64 = 3,
123 FieldDescriptorProto_Type_TYPE_UINT64 = 4, 70 FieldDescriptorProto_Type_TYPE_UINT64 = 4,
124 FieldDescriptorProto_Type_TYPE_INT32 = 5, 71 FieldDescriptorProto_Type_TYPE_INT32 = 5,
125 FieldDescriptorProto_Type_TYPE_FIXED64 = 6, 72 FieldDescriptorProto_Type_TYPE_FIXED64 = 6,
126 FieldDescriptorProto_Type_TYPE_FIXED32 = 7, 73 FieldDescriptorProto_Type_TYPE_FIXED32 = 7,
127 FieldDescriptorProto_Type_TYPE_BOOL = 8, 74 FieldDescriptorProto_Type_TYPE_BOOL = 8,
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_JSType _descriptor(); 171 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_JSType _descriptor();
225 inline const ::std::string& FieldOptions_JSType_Name(FieldOptions_JSType value) { 172 inline const ::std::string& FieldOptions_JSType_Name(FieldOptions_JSType value) {
226 return ::google::protobuf::internal::NameOfEnum( 173 return ::google::protobuf::internal::NameOfEnum(
227 FieldOptions_JSType_descriptor(), value); 174 FieldOptions_JSType_descriptor(), value);
228 } 175 }
229 inline bool FieldOptions_JSType_Parse( 176 inline bool FieldOptions_JSType_Parse(
230 const ::std::string& name, FieldOptions_JSType* value) { 177 const ::std::string& name, FieldOptions_JSType* value) {
231 return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_JSType>( 178 return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_JSType>(
232 FieldOptions_JSType_descriptor(), name, value); 179 FieldOptions_JSType_descriptor(), name, value);
233 } 180 }
234 enum MethodOptions_IdempotencyLevel {
235 MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN = 0,
236 MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS = 1,
237 MethodOptions_IdempotencyLevel_IDEMPOTENT = 2
238 };
239 LIBPROTOBUF_EXPORT bool MethodOptions_IdempotencyLevel_IsValid(int value);
240 const MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyL evel_MIN = MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN;
241 const MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyL evel_MAX = MethodOptions_IdempotencyLevel_IDEMPOTENT;
242 const int MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE = MethodOpti ons_IdempotencyLevel_IdempotencyLevel_MAX + 1;
243
244 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* MethodOptions_Idemp otencyLevel_descriptor();
245 inline const ::std::string& MethodOptions_IdempotencyLevel_Name(MethodOptions_Id empotencyLevel value) {
246 return ::google::protobuf::internal::NameOfEnum(
247 MethodOptions_IdempotencyLevel_descriptor(), value);
248 }
249 inline bool MethodOptions_IdempotencyLevel_Parse(
250 const ::std::string& name, MethodOptions_IdempotencyLevel* value) {
251 return ::google::protobuf::internal::ParseNamedEnum<MethodOptions_IdempotencyL evel>(
252 MethodOptions_IdempotencyLevel_descriptor(), name, value);
253 }
254 // =================================================================== 181 // ===================================================================
255 182
256 class LIBPROTOBUF_EXPORT FileDescriptorSet : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorSet) */ { 183 class LIBPROTOBUF_EXPORT FileDescriptorSet : public ::google::protobuf::Message {
257 public: 184 public:
258 FileDescriptorSet(); 185 FileDescriptorSet();
259 virtual ~FileDescriptorSet(); 186 virtual ~FileDescriptorSet();
260 187
261 FileDescriptorSet(const FileDescriptorSet& from); 188 FileDescriptorSet(const FileDescriptorSet& from);
262 189
263 inline FileDescriptorSet& operator=(const FileDescriptorSet& from) { 190 inline FileDescriptorSet& operator=(const FileDescriptorSet& from) {
264 CopyFrom(from); 191 CopyFrom(from);
265 return *this; 192 return *this;
266 } 193 }
267 194
268 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 195 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
269 return _internal_metadata_.unknown_fields(); 196 return _internal_metadata_.unknown_fields();
270 } 197 }
271 198
272 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 199 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
273 return _internal_metadata_.mutable_unknown_fields(); 200 return _internal_metadata_.mutable_unknown_fields();
274 } 201 }
275 202
276 static const ::google::protobuf::Descriptor* descriptor(); 203 static const ::google::protobuf::Descriptor* descriptor();
277 static const FileDescriptorSet& default_instance(); 204 static const FileDescriptorSet& default_instance();
278 205
279 static inline const FileDescriptorSet* internal_default_instance() {
280 return reinterpret_cast<const FileDescriptorSet*>(
281 &_FileDescriptorSet_default_instance_);
282 }
283
284 void Swap(FileDescriptorSet* other); 206 void Swap(FileDescriptorSet* other);
285 207
286 // implements Message ---------------------------------------------- 208 // implements Message ----------------------------------------------
287 209
288 inline FileDescriptorSet* New() const PROTOBUF_FINAL { return New(NULL); } 210 inline FileDescriptorSet* New() const { return New(NULL); }
289 211
290 FileDescriptorSet* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; 212 FileDescriptorSet* New(::google::protobuf::Arena* arena) const;
291 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 213 void CopyFrom(const ::google::protobuf::Message& from);
292 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 214 void MergeFrom(const ::google::protobuf::Message& from);
293 void CopyFrom(const FileDescriptorSet& from); 215 void CopyFrom(const FileDescriptorSet& from);
294 void MergeFrom(const FileDescriptorSet& from); 216 void MergeFrom(const FileDescriptorSet& from);
295 void Clear() PROTOBUF_FINAL; 217 void Clear();
296 bool IsInitialized() const PROTOBUF_FINAL; 218 bool IsInitialized() const;
297 219
298 size_t ByteSizeLong() const PROTOBUF_FINAL; 220 int ByteSize() const;
299 bool MergePartialFromCodedStream( 221 bool MergePartialFromCodedStream(
300 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 222 ::google::protobuf::io::CodedInputStream* input);
301 void SerializeWithCachedSizes( 223 void SerializeWithCachedSizes(
302 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 224 ::google::protobuf::io::CodedOutputStream* output) const;
303 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 225 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
304 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 226 int GetCachedSize() const { return _cached_size_; }
305 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
306 const PROTOBUF_FINAL {
307 return InternalSerializeWithCachedSizesToArray(false, output);
308 }
309 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
310 private: 227 private:
311 void SharedCtor(); 228 void SharedCtor();
312 void SharedDtor(); 229 void SharedDtor();
313 void SetCachedSize(int size) const PROTOBUF_FINAL; 230 void SetCachedSize(int size) const;
314 void InternalSwap(FileDescriptorSet* other); 231 void InternalSwap(FileDescriptorSet* other);
315 private: 232 private:
316 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 233 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
317 return NULL; 234 return _internal_metadata_.arena();
318 } 235 }
319 inline void* MaybeArenaPtr() const { 236 inline void* MaybeArenaPtr() const {
320 return NULL; 237 return _internal_metadata_.raw_arena_ptr();
321 } 238 }
322 public: 239 public:
323 240
324 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 241 ::google::protobuf::Metadata GetMetadata() const;
325 242
326 // nested types ---------------------------------------------------- 243 // nested types ----------------------------------------------------
327 244
328 // accessors ------------------------------------------------------- 245 // accessors -------------------------------------------------------
329 246
330 // repeated .google.protobuf.FileDescriptorProto file = 1; 247 // repeated .google.protobuf.FileDescriptorProto file = 1;
331 int file_size() const; 248 int file_size() const;
332 void clear_file(); 249 void clear_file();
333 static const int kFileFieldNumber = 1; 250 static const int kFileFieldNumber = 1;
334 const ::google::protobuf::FileDescriptorProto& file(int index) const; 251 const ::google::protobuf::FileDescriptorProto& file(int index) const;
335 ::google::protobuf::FileDescriptorProto* mutable_file(int index); 252 ::google::protobuf::FileDescriptorProto* mutable_file(int index);
336 ::google::protobuf::FileDescriptorProto* add_file(); 253 ::google::protobuf::FileDescriptorProto* add_file();
337 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >* 254 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
338 mutable_file(); 255 mutable_file();
339 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptor Proto >& 256 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptor Proto >&
340 file() const; 257 file() const;
341 258
342 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet) 259 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet)
343 private: 260 private:
344 261
345 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 262 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
346 ::google::protobuf::internal::HasBits<1> _has_bits_; 263 ::google::protobuf::uint32 _has_bits_[1];
347 mutable int _cached_size_; 264 mutable int _cached_size_;
348 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > file_; 265 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > file_;
349 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 266 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
350 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl(); 267 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
351 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
352 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 268 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
353 269
270 void InitAsDefaultInstance();
271 static FileDescriptorSet* default_instance_;
354 }; 272 };
355 // ------------------------------------------------------------------- 273 // -------------------------------------------------------------------
356 274
357 class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Messag e /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorPro to) */ { 275 class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Messag e {
358 public: 276 public:
359 FileDescriptorProto(); 277 FileDescriptorProto();
360 virtual ~FileDescriptorProto(); 278 virtual ~FileDescriptorProto();
361 279
362 FileDescriptorProto(const FileDescriptorProto& from); 280 FileDescriptorProto(const FileDescriptorProto& from);
363 281
364 inline FileDescriptorProto& operator=(const FileDescriptorProto& from) { 282 inline FileDescriptorProto& operator=(const FileDescriptorProto& from) {
365 CopyFrom(from); 283 CopyFrom(from);
366 return *this; 284 return *this;
367 } 285 }
368 286
369 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 287 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
370 return _internal_metadata_.unknown_fields(); 288 return _internal_metadata_.unknown_fields();
371 } 289 }
372 290
373 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 291 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
374 return _internal_metadata_.mutable_unknown_fields(); 292 return _internal_metadata_.mutable_unknown_fields();
375 } 293 }
376 294
377 static const ::google::protobuf::Descriptor* descriptor(); 295 static const ::google::protobuf::Descriptor* descriptor();
378 static const FileDescriptorProto& default_instance(); 296 static const FileDescriptorProto& default_instance();
379 297
380 static inline const FileDescriptorProto* internal_default_instance() {
381 return reinterpret_cast<const FileDescriptorProto*>(
382 &_FileDescriptorProto_default_instance_);
383 }
384
385 void Swap(FileDescriptorProto* other); 298 void Swap(FileDescriptorProto* other);
386 299
387 // implements Message ---------------------------------------------- 300 // implements Message ----------------------------------------------
388 301
389 inline FileDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); } 302 inline FileDescriptorProto* New() const { return New(NULL); }
390 303
391 FileDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINA L; 304 FileDescriptorProto* New(::google::protobuf::Arena* arena) const;
392 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 305 void CopyFrom(const ::google::protobuf::Message& from);
393 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 306 void MergeFrom(const ::google::protobuf::Message& from);
394 void CopyFrom(const FileDescriptorProto& from); 307 void CopyFrom(const FileDescriptorProto& from);
395 void MergeFrom(const FileDescriptorProto& from); 308 void MergeFrom(const FileDescriptorProto& from);
396 void Clear() PROTOBUF_FINAL; 309 void Clear();
397 bool IsInitialized() const PROTOBUF_FINAL; 310 bool IsInitialized() const;
398 311
399 size_t ByteSizeLong() const PROTOBUF_FINAL; 312 int ByteSize() const;
400 bool MergePartialFromCodedStream( 313 bool MergePartialFromCodedStream(
401 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 314 ::google::protobuf::io::CodedInputStream* input);
402 void SerializeWithCachedSizes( 315 void SerializeWithCachedSizes(
403 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 316 ::google::protobuf::io::CodedOutputStream* output) const;
404 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 317 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
405 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 318 int GetCachedSize() const { return _cached_size_; }
406 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
407 const PROTOBUF_FINAL {
408 return InternalSerializeWithCachedSizesToArray(false, output);
409 }
410 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
411 private: 319 private:
412 void SharedCtor(); 320 void SharedCtor();
413 void SharedDtor(); 321 void SharedDtor();
414 void SetCachedSize(int size) const PROTOBUF_FINAL; 322 void SetCachedSize(int size) const;
415 void InternalSwap(FileDescriptorProto* other); 323 void InternalSwap(FileDescriptorProto* other);
416 private: 324 private:
417 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 325 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
418 return NULL; 326 return _internal_metadata_.arena();
419 } 327 }
420 inline void* MaybeArenaPtr() const { 328 inline void* MaybeArenaPtr() const {
421 return NULL; 329 return _internal_metadata_.raw_arena_ptr();
422 } 330 }
423 public: 331 public:
424 332
425 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 333 ::google::protobuf::Metadata GetMetadata() const;
426 334
427 // nested types ---------------------------------------------------- 335 // nested types ----------------------------------------------------
428 336
429 // accessors ------------------------------------------------------- 337 // accessors -------------------------------------------------------
430 338
431 // optional string name = 1; 339 // optional string name = 1;
432 bool has_name() const; 340 bool has_name() const;
433 void clear_name(); 341 void clear_name();
434 static const int kNameFieldNumber = 1; 342 static const int kNameFieldNumber = 1;
435 const ::std::string& name() const; 343 const ::std::string& name() const;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 const ::std::string& syntax() const; 473 const ::std::string& syntax() const;
566 void set_syntax(const ::std::string& value); 474 void set_syntax(const ::std::string& value);
567 void set_syntax(const char* value); 475 void set_syntax(const char* value);
568 void set_syntax(const char* value, size_t size); 476 void set_syntax(const char* value, size_t size);
569 ::std::string* mutable_syntax(); 477 ::std::string* mutable_syntax();
570 ::std::string* release_syntax(); 478 ::std::string* release_syntax();
571 void set_allocated_syntax(::std::string* syntax); 479 void set_allocated_syntax(::std::string* syntax);
572 480
573 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto) 481 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto)
574 private: 482 private:
575 void set_has_name(); 483 inline void set_has_name();
576 void clear_has_name(); 484 inline void clear_has_name();
577 void set_has_package(); 485 inline void set_has_package();
578 void clear_has_package(); 486 inline void clear_has_package();
579 void set_has_options(); 487 inline void set_has_options();
580 void clear_has_options(); 488 inline void clear_has_options();
581 void set_has_source_code_info(); 489 inline void set_has_source_code_info();
582 void clear_has_source_code_info(); 490 inline void clear_has_source_code_info();
583 void set_has_syntax(); 491 inline void set_has_syntax();
584 void clear_has_syntax(); 492 inline void clear_has_syntax();
585 493
586 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 494 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
587 ::google::protobuf::internal::HasBits<1> _has_bits_; 495 ::google::protobuf::uint32 _has_bits_[1];
588 mutable int _cached_size_; 496 mutable int _cached_size_;
497 ::google::protobuf::internal::ArenaStringPtr name_;
498 ::google::protobuf::internal::ArenaStringPtr package_;
589 ::google::protobuf::RepeatedPtrField< ::std::string> dependency_; 499 ::google::protobuf::RepeatedPtrField< ::std::string> dependency_;
590 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > public_dependen cy_; 500 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > public_dependen cy_;
591 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > weak_dependency _; 501 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > weak_dependency _;
592 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > me ssage_type_; 502 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > me ssage_type_;
593 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_; 503 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_;
594 ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorPro to > service_; 504 ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorPro to > service_;
595 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_; 505 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_;
596 ::google::protobuf::internal::ArenaStringPtr name_;
597 ::google::protobuf::internal::ArenaStringPtr package_;
598 ::google::protobuf::internal::ArenaStringPtr syntax_;
599 ::google::protobuf::FileOptions* options_; 506 ::google::protobuf::FileOptions* options_;
600 ::google::protobuf::SourceCodeInfo* source_code_info_; 507 ::google::protobuf::SourceCodeInfo* source_code_info_;
601 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 508 ::google::protobuf::internal::ArenaStringPtr syntax_;
602 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl(); 509 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
603 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto(); 510 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
604 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 511 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
605 512
513 void InitAsDefaultInstance();
514 static FileDescriptorProto* default_instance_;
606 }; 515 };
607 // ------------------------------------------------------------------- 516 // -------------------------------------------------------------------
608 517
609 class LIBPROTOBUF_EXPORT DescriptorProto_ExtensionRange : public ::google::proto buf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Descri ptorProto.ExtensionRange) */ { 518 class LIBPROTOBUF_EXPORT DescriptorProto_ExtensionRange : public ::google::proto buf::Message {
610 public: 519 public:
611 DescriptorProto_ExtensionRange(); 520 DescriptorProto_ExtensionRange();
612 virtual ~DescriptorProto_ExtensionRange(); 521 virtual ~DescriptorProto_ExtensionRange();
613 522
614 DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from); 523 DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from);
615 524
616 inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_Extensi onRange& from) { 525 inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_Extensi onRange& from) {
617 CopyFrom(from); 526 CopyFrom(from);
618 return *this; 527 return *this;
619 } 528 }
620 529
621 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 530 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
622 return _internal_metadata_.unknown_fields(); 531 return _internal_metadata_.unknown_fields();
623 } 532 }
624 533
625 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 534 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
626 return _internal_metadata_.mutable_unknown_fields(); 535 return _internal_metadata_.mutable_unknown_fields();
627 } 536 }
628 537
629 static const ::google::protobuf::Descriptor* descriptor(); 538 static const ::google::protobuf::Descriptor* descriptor();
630 static const DescriptorProto_ExtensionRange& default_instance(); 539 static const DescriptorProto_ExtensionRange& default_instance();
631 540
632 static inline const DescriptorProto_ExtensionRange* internal_default_instance( ) {
633 return reinterpret_cast<const DescriptorProto_ExtensionRange*>(
634 &_DescriptorProto_ExtensionRange_default_instance_);
635 }
636
637 void Swap(DescriptorProto_ExtensionRange* other); 541 void Swap(DescriptorProto_ExtensionRange* other);
638 542
639 // implements Message ---------------------------------------------- 543 // implements Message ----------------------------------------------
640 544
641 inline DescriptorProto_ExtensionRange* New() const PROTOBUF_FINAL { return New (NULL); } 545 inline DescriptorProto_ExtensionRange* New() const { return New(NULL); }
642 546
643 DescriptorProto_ExtensionRange* New(::google::protobuf::Arena* arena) const PR OTOBUF_FINAL; 547 DescriptorProto_ExtensionRange* New(::google::protobuf::Arena* arena) const;
644 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 548 void CopyFrom(const ::google::protobuf::Message& from);
645 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 549 void MergeFrom(const ::google::protobuf::Message& from);
646 void CopyFrom(const DescriptorProto_ExtensionRange& from); 550 void CopyFrom(const DescriptorProto_ExtensionRange& from);
647 void MergeFrom(const DescriptorProto_ExtensionRange& from); 551 void MergeFrom(const DescriptorProto_ExtensionRange& from);
648 void Clear() PROTOBUF_FINAL; 552 void Clear();
649 bool IsInitialized() const PROTOBUF_FINAL; 553 bool IsInitialized() const;
650 554
651 size_t ByteSizeLong() const PROTOBUF_FINAL; 555 int ByteSize() const;
652 bool MergePartialFromCodedStream( 556 bool MergePartialFromCodedStream(
653 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 557 ::google::protobuf::io::CodedInputStream* input);
654 void SerializeWithCachedSizes( 558 void SerializeWithCachedSizes(
655 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 559 ::google::protobuf::io::CodedOutputStream* output) const;
656 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 560 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
657 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 561 int GetCachedSize() const { return _cached_size_; }
658 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
659 const PROTOBUF_FINAL {
660 return InternalSerializeWithCachedSizesToArray(false, output);
661 }
662 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
663 private: 562 private:
664 void SharedCtor(); 563 void SharedCtor();
665 void SharedDtor(); 564 void SharedDtor();
666 void SetCachedSize(int size) const PROTOBUF_FINAL; 565 void SetCachedSize(int size) const;
667 void InternalSwap(DescriptorProto_ExtensionRange* other); 566 void InternalSwap(DescriptorProto_ExtensionRange* other);
668 private: 567 private:
669 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 568 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
670 return NULL; 569 return _internal_metadata_.arena();
671 } 570 }
672 inline void* MaybeArenaPtr() const { 571 inline void* MaybeArenaPtr() const {
673 return NULL; 572 return _internal_metadata_.raw_arena_ptr();
674 } 573 }
675 public: 574 public:
676 575
677 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 576 ::google::protobuf::Metadata GetMetadata() const;
678 577
679 // nested types ---------------------------------------------------- 578 // nested types ----------------------------------------------------
680 579
681 // accessors ------------------------------------------------------- 580 // accessors -------------------------------------------------------
682 581
683 // optional int32 start = 1; 582 // optional int32 start = 1;
684 bool has_start() const; 583 bool has_start() const;
685 void clear_start(); 584 void clear_start();
686 static const int kStartFieldNumber = 1; 585 static const int kStartFieldNumber = 1;
687 ::google::protobuf::int32 start() const; 586 ::google::protobuf::int32 start() const;
688 void set_start(::google::protobuf::int32 value); 587 void set_start(::google::protobuf::int32 value);
689 588
690 // optional int32 end = 2; 589 // optional int32 end = 2;
691 bool has_end() const; 590 bool has_end() const;
692 void clear_end(); 591 void clear_end();
693 static const int kEndFieldNumber = 2; 592 static const int kEndFieldNumber = 2;
694 ::google::protobuf::int32 end() const; 593 ::google::protobuf::int32 end() const;
695 void set_end(::google::protobuf::int32 value); 594 void set_end(::google::protobuf::int32 value);
696 595
697 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.Extens ionRange) 596 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.Extens ionRange)
698 private: 597 private:
699 void set_has_start(); 598 inline void set_has_start();
700 void clear_has_start(); 599 inline void clear_has_start();
701 void set_has_end(); 600 inline void set_has_end();
702 void clear_has_end(); 601 inline void clear_has_end();
703 602
704 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 603 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
705 ::google::protobuf::internal::HasBits<1> _has_bits_; 604 ::google::protobuf::uint32 _has_bits_[1];
706 mutable int _cached_size_; 605 mutable int _cached_size_;
707 ::google::protobuf::int32 start_; 606 ::google::protobuf::int32 start_;
708 ::google::protobuf::int32 end_; 607 ::google::protobuf::int32 end_;
709 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 608 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
710 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl(); 609 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
711 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
712 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 610 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
713 611
612 void InitAsDefaultInstance();
613 static DescriptorProto_ExtensionRange* default_instance_;
714 }; 614 };
715 // ------------------------------------------------------------------- 615 // -------------------------------------------------------------------
716 616
717 class LIBPROTOBUF_EXPORT DescriptorProto_ReservedRange : public ::google::protob uf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Descrip torProto.ReservedRange) */ { 617 class LIBPROTOBUF_EXPORT DescriptorProto_ReservedRange : public ::google::protob uf::Message {
718 public: 618 public:
719 DescriptorProto_ReservedRange(); 619 DescriptorProto_ReservedRange();
720 virtual ~DescriptorProto_ReservedRange(); 620 virtual ~DescriptorProto_ReservedRange();
721 621
722 DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from); 622 DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from);
723 623
724 inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_Reserved Range& from) { 624 inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_Reserved Range& from) {
725 CopyFrom(from); 625 CopyFrom(from);
726 return *this; 626 return *this;
727 } 627 }
728 628
729 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 629 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
730 return _internal_metadata_.unknown_fields(); 630 return _internal_metadata_.unknown_fields();
731 } 631 }
732 632
733 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 633 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
734 return _internal_metadata_.mutable_unknown_fields(); 634 return _internal_metadata_.mutable_unknown_fields();
735 } 635 }
736 636
737 static const ::google::protobuf::Descriptor* descriptor(); 637 static const ::google::protobuf::Descriptor* descriptor();
738 static const DescriptorProto_ReservedRange& default_instance(); 638 static const DescriptorProto_ReservedRange& default_instance();
739 639
740 static inline const DescriptorProto_ReservedRange* internal_default_instance() {
741 return reinterpret_cast<const DescriptorProto_ReservedRange*>(
742 &_DescriptorProto_ReservedRange_default_instance_);
743 }
744
745 void Swap(DescriptorProto_ReservedRange* other); 640 void Swap(DescriptorProto_ReservedRange* other);
746 641
747 // implements Message ---------------------------------------------- 642 // implements Message ----------------------------------------------
748 643
749 inline DescriptorProto_ReservedRange* New() const PROTOBUF_FINAL { return New( NULL); } 644 inline DescriptorProto_ReservedRange* New() const { return New(NULL); }
750 645
751 DescriptorProto_ReservedRange* New(::google::protobuf::Arena* arena) const PRO TOBUF_FINAL; 646 DescriptorProto_ReservedRange* New(::google::protobuf::Arena* arena) const;
752 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 647 void CopyFrom(const ::google::protobuf::Message& from);
753 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 648 void MergeFrom(const ::google::protobuf::Message& from);
754 void CopyFrom(const DescriptorProto_ReservedRange& from); 649 void CopyFrom(const DescriptorProto_ReservedRange& from);
755 void MergeFrom(const DescriptorProto_ReservedRange& from); 650 void MergeFrom(const DescriptorProto_ReservedRange& from);
756 void Clear() PROTOBUF_FINAL; 651 void Clear();
757 bool IsInitialized() const PROTOBUF_FINAL; 652 bool IsInitialized() const;
758 653
759 size_t ByteSizeLong() const PROTOBUF_FINAL; 654 int ByteSize() const;
760 bool MergePartialFromCodedStream( 655 bool MergePartialFromCodedStream(
761 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 656 ::google::protobuf::io::CodedInputStream* input);
762 void SerializeWithCachedSizes( 657 void SerializeWithCachedSizes(
763 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 658 ::google::protobuf::io::CodedOutputStream* output) const;
764 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 659 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
765 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 660 int GetCachedSize() const { return _cached_size_; }
766 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
767 const PROTOBUF_FINAL {
768 return InternalSerializeWithCachedSizesToArray(false, output);
769 }
770 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
771 private: 661 private:
772 void SharedCtor(); 662 void SharedCtor();
773 void SharedDtor(); 663 void SharedDtor();
774 void SetCachedSize(int size) const PROTOBUF_FINAL; 664 void SetCachedSize(int size) const;
775 void InternalSwap(DescriptorProto_ReservedRange* other); 665 void InternalSwap(DescriptorProto_ReservedRange* other);
776 private: 666 private:
777 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 667 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
778 return NULL; 668 return _internal_metadata_.arena();
779 } 669 }
780 inline void* MaybeArenaPtr() const { 670 inline void* MaybeArenaPtr() const {
781 return NULL; 671 return _internal_metadata_.raw_arena_ptr();
782 } 672 }
783 public: 673 public:
784 674
785 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 675 ::google::protobuf::Metadata GetMetadata() const;
786 676
787 // nested types ---------------------------------------------------- 677 // nested types ----------------------------------------------------
788 678
789 // accessors ------------------------------------------------------- 679 // accessors -------------------------------------------------------
790 680
791 // optional int32 start = 1; 681 // optional int32 start = 1;
792 bool has_start() const; 682 bool has_start() const;
793 void clear_start(); 683 void clear_start();
794 static const int kStartFieldNumber = 1; 684 static const int kStartFieldNumber = 1;
795 ::google::protobuf::int32 start() const; 685 ::google::protobuf::int32 start() const;
796 void set_start(::google::protobuf::int32 value); 686 void set_start(::google::protobuf::int32 value);
797 687
798 // optional int32 end = 2; 688 // optional int32 end = 2;
799 bool has_end() const; 689 bool has_end() const;
800 void clear_end(); 690 void clear_end();
801 static const int kEndFieldNumber = 2; 691 static const int kEndFieldNumber = 2;
802 ::google::protobuf::int32 end() const; 692 ::google::protobuf::int32 end() const;
803 void set_end(::google::protobuf::int32 value); 693 void set_end(::google::protobuf::int32 value);
804 694
805 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.Reserv edRange) 695 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.Reserv edRange)
806 private: 696 private:
807 void set_has_start(); 697 inline void set_has_start();
808 void clear_has_start(); 698 inline void clear_has_start();
809 void set_has_end(); 699 inline void set_has_end();
810 void clear_has_end(); 700 inline void clear_has_end();
811 701
812 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 702 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
813 ::google::protobuf::internal::HasBits<1> _has_bits_; 703 ::google::protobuf::uint32 _has_bits_[1];
814 mutable int _cached_size_; 704 mutable int _cached_size_;
815 ::google::protobuf::int32 start_; 705 ::google::protobuf::int32 start_;
816 ::google::protobuf::int32 end_; 706 ::google::protobuf::int32 end_;
817 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 707 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
818 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl(); 708 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
819 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
820 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 709 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
821 710
711 void InitAsDefaultInstance();
712 static DescriptorProto_ReservedRange* default_instance_;
822 }; 713 };
823 // ------------------------------------------------------------------- 714 // -------------------------------------------------------------------
824 715
825 class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto) */ { 716 class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message {
826 public: 717 public:
827 DescriptorProto(); 718 DescriptorProto();
828 virtual ~DescriptorProto(); 719 virtual ~DescriptorProto();
829 720
830 DescriptorProto(const DescriptorProto& from); 721 DescriptorProto(const DescriptorProto& from);
831 722
832 inline DescriptorProto& operator=(const DescriptorProto& from) { 723 inline DescriptorProto& operator=(const DescriptorProto& from) {
833 CopyFrom(from); 724 CopyFrom(from);
834 return *this; 725 return *this;
835 } 726 }
836 727
837 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 728 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
838 return _internal_metadata_.unknown_fields(); 729 return _internal_metadata_.unknown_fields();
839 } 730 }
840 731
841 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 732 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
842 return _internal_metadata_.mutable_unknown_fields(); 733 return _internal_metadata_.mutable_unknown_fields();
843 } 734 }
844 735
845 static const ::google::protobuf::Descriptor* descriptor(); 736 static const ::google::protobuf::Descriptor* descriptor();
846 static const DescriptorProto& default_instance(); 737 static const DescriptorProto& default_instance();
847 738
848 static inline const DescriptorProto* internal_default_instance() {
849 return reinterpret_cast<const DescriptorProto*>(
850 &_DescriptorProto_default_instance_);
851 }
852
853 void Swap(DescriptorProto* other); 739 void Swap(DescriptorProto* other);
854 740
855 // implements Message ---------------------------------------------- 741 // implements Message ----------------------------------------------
856 742
857 inline DescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); } 743 inline DescriptorProto* New() const { return New(NULL); }
858 744
859 DescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; 745 DescriptorProto* New(::google::protobuf::Arena* arena) const;
860 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 746 void CopyFrom(const ::google::protobuf::Message& from);
861 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 747 void MergeFrom(const ::google::protobuf::Message& from);
862 void CopyFrom(const DescriptorProto& from); 748 void CopyFrom(const DescriptorProto& from);
863 void MergeFrom(const DescriptorProto& from); 749 void MergeFrom(const DescriptorProto& from);
864 void Clear() PROTOBUF_FINAL; 750 void Clear();
865 bool IsInitialized() const PROTOBUF_FINAL; 751 bool IsInitialized() const;
866 752
867 size_t ByteSizeLong() const PROTOBUF_FINAL; 753 int ByteSize() const;
868 bool MergePartialFromCodedStream( 754 bool MergePartialFromCodedStream(
869 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 755 ::google::protobuf::io::CodedInputStream* input);
870 void SerializeWithCachedSizes( 756 void SerializeWithCachedSizes(
871 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 757 ::google::protobuf::io::CodedOutputStream* output) const;
872 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 758 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
873 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 759 int GetCachedSize() const { return _cached_size_; }
874 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
875 const PROTOBUF_FINAL {
876 return InternalSerializeWithCachedSizesToArray(false, output);
877 }
878 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
879 private: 760 private:
880 void SharedCtor(); 761 void SharedCtor();
881 void SharedDtor(); 762 void SharedDtor();
882 void SetCachedSize(int size) const PROTOBUF_FINAL; 763 void SetCachedSize(int size) const;
883 void InternalSwap(DescriptorProto* other); 764 void InternalSwap(DescriptorProto* other);
884 private: 765 private:
885 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 766 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
886 return NULL; 767 return _internal_metadata_.arena();
887 } 768 }
888 inline void* MaybeArenaPtr() const { 769 inline void* MaybeArenaPtr() const {
889 return NULL; 770 return _internal_metadata_.raw_arena_ptr();
890 } 771 }
891 public: 772 public:
892 773
893 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 774 ::google::protobuf::Metadata GetMetadata() const;
894 775
895 // nested types ---------------------------------------------------- 776 // nested types ----------------------------------------------------
896 777
897 typedef DescriptorProto_ExtensionRange ExtensionRange; 778 typedef DescriptorProto_ExtensionRange ExtensionRange;
898 typedef DescriptorProto_ReservedRange ReservedRange; 779 typedef DescriptorProto_ReservedRange ReservedRange;
899 780
900 // accessors ------------------------------------------------------- 781 // accessors -------------------------------------------------------
901 782
902 // optional string name = 1; 783 // optional string name = 1;
903 bool has_name() const; 784 bool has_name() const;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 void set_reserved_name(int index, const char* value, size_t size); 896 void set_reserved_name(int index, const char* value, size_t size);
1016 ::std::string* add_reserved_name(); 897 ::std::string* add_reserved_name();
1017 void add_reserved_name(const ::std::string& value); 898 void add_reserved_name(const ::std::string& value);
1018 void add_reserved_name(const char* value); 899 void add_reserved_name(const char* value);
1019 void add_reserved_name(const char* value, size_t size); 900 void add_reserved_name(const char* value, size_t size);
1020 const ::google::protobuf::RepeatedPtrField< ::std::string>& reserved_name() co nst; 901 const ::google::protobuf::RepeatedPtrField< ::std::string>& reserved_name() co nst;
1021 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_reserved_name(); 902 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_reserved_name();
1022 903
1023 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto) 904 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto)
1024 private: 905 private:
1025 void set_has_name(); 906 inline void set_has_name();
1026 void clear_has_name(); 907 inline void clear_has_name();
1027 void set_has_options(); 908 inline void set_has_options();
1028 void clear_has_options(); 909 inline void clear_has_options();
1029 910
1030 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 911 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1031 ::google::protobuf::internal::HasBits<1> _has_bits_; 912 ::google::protobuf::uint32 _has_bits_[1];
1032 mutable int _cached_size_; 913 mutable int _cached_size_;
914 ::google::protobuf::internal::ArenaStringPtr name_;
1033 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_; 915 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_;
1034 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_; 916 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_;
1035 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > ne sted_type_; 917 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > ne sted_type_;
1036 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_; 918 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_;
1037 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Exte nsionRange > extension_range_; 919 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Exte nsionRange > extension_range_;
1038 ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > oneof_decl_; 920 ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > oneof_decl_;
921 ::google::protobuf::MessageOptions* options_;
1039 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Rese rvedRange > reserved_range_; 922 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Rese rvedRange > reserved_range_;
1040 ::google::protobuf::RepeatedPtrField< ::std::string> reserved_name_; 923 ::google::protobuf::RepeatedPtrField< ::std::string> reserved_name_;
1041 ::google::protobuf::internal::ArenaStringPtr name_; 924 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
1042 ::google::protobuf::MessageOptions* options_; 925 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1043 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
1044 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
1045 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
1046 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 926 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1047 927
928 void InitAsDefaultInstance();
929 static DescriptorProto* default_instance_;
1048 }; 930 };
1049 // ------------------------------------------------------------------- 931 // -------------------------------------------------------------------
1050 932
1051 class LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Messa ge /* @@protoc_insertion_point(class_definition:google.protobuf.FieldDescriptorP roto) */ { 933 class LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Messa ge {
1052 public: 934 public:
1053 FieldDescriptorProto(); 935 FieldDescriptorProto();
1054 virtual ~FieldDescriptorProto(); 936 virtual ~FieldDescriptorProto();
1055 937
1056 FieldDescriptorProto(const FieldDescriptorProto& from); 938 FieldDescriptorProto(const FieldDescriptorProto& from);
1057 939
1058 inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) { 940 inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) {
1059 CopyFrom(from); 941 CopyFrom(from);
1060 return *this; 942 return *this;
1061 } 943 }
1062 944
1063 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 945 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1064 return _internal_metadata_.unknown_fields(); 946 return _internal_metadata_.unknown_fields();
1065 } 947 }
1066 948
1067 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 949 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1068 return _internal_metadata_.mutable_unknown_fields(); 950 return _internal_metadata_.mutable_unknown_fields();
1069 } 951 }
1070 952
1071 static const ::google::protobuf::Descriptor* descriptor(); 953 static const ::google::protobuf::Descriptor* descriptor();
1072 static const FieldDescriptorProto& default_instance(); 954 static const FieldDescriptorProto& default_instance();
1073 955
1074 static inline const FieldDescriptorProto* internal_default_instance() {
1075 return reinterpret_cast<const FieldDescriptorProto*>(
1076 &_FieldDescriptorProto_default_instance_);
1077 }
1078
1079 void Swap(FieldDescriptorProto* other); 956 void Swap(FieldDescriptorProto* other);
1080 957
1081 // implements Message ---------------------------------------------- 958 // implements Message ----------------------------------------------
1082 959
1083 inline FieldDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); } 960 inline FieldDescriptorProto* New() const { return New(NULL); }
1084 961
1085 FieldDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FIN AL; 962 FieldDescriptorProto* New(::google::protobuf::Arena* arena) const;
1086 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 963 void CopyFrom(const ::google::protobuf::Message& from);
1087 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 964 void MergeFrom(const ::google::protobuf::Message& from);
1088 void CopyFrom(const FieldDescriptorProto& from); 965 void CopyFrom(const FieldDescriptorProto& from);
1089 void MergeFrom(const FieldDescriptorProto& from); 966 void MergeFrom(const FieldDescriptorProto& from);
1090 void Clear() PROTOBUF_FINAL; 967 void Clear();
1091 bool IsInitialized() const PROTOBUF_FINAL; 968 bool IsInitialized() const;
1092 969
1093 size_t ByteSizeLong() const PROTOBUF_FINAL; 970 int ByteSize() const;
1094 bool MergePartialFromCodedStream( 971 bool MergePartialFromCodedStream(
1095 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 972 ::google::protobuf::io::CodedInputStream* input);
1096 void SerializeWithCachedSizes( 973 void SerializeWithCachedSizes(
1097 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 974 ::google::protobuf::io::CodedOutputStream* output) const;
1098 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 975 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
1099 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 976 int GetCachedSize() const { return _cached_size_; }
1100 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
1101 const PROTOBUF_FINAL {
1102 return InternalSerializeWithCachedSizesToArray(false, output);
1103 }
1104 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1105 private: 977 private:
1106 void SharedCtor(); 978 void SharedCtor();
1107 void SharedDtor(); 979 void SharedDtor();
1108 void SetCachedSize(int size) const PROTOBUF_FINAL; 980 void SetCachedSize(int size) const;
1109 void InternalSwap(FieldDescriptorProto* other); 981 void InternalSwap(FieldDescriptorProto* other);
1110 private: 982 private:
1111 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 983 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1112 return NULL; 984 return _internal_metadata_.arena();
1113 } 985 }
1114 inline void* MaybeArenaPtr() const { 986 inline void* MaybeArenaPtr() const {
1115 return NULL; 987 return _internal_metadata_.raw_arena_ptr();
1116 } 988 }
1117 public: 989 public:
1118 990
1119 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 991 ::google::protobuf::Metadata GetMetadata() const;
1120 992
1121 // nested types ---------------------------------------------------- 993 // nested types ----------------------------------------------------
1122 994
1123 typedef FieldDescriptorProto_Type Type; 995 typedef FieldDescriptorProto_Type Type;
1124 static const Type TYPE_DOUBLE = 996 static const Type TYPE_DOUBLE =
1125 FieldDescriptorProto_Type_TYPE_DOUBLE; 997 FieldDescriptorProto_Type_TYPE_DOUBLE;
1126 static const Type TYPE_FLOAT = 998 static const Type TYPE_FLOAT =
1127 FieldDescriptorProto_Type_TYPE_FLOAT; 999 FieldDescriptorProto_Type_TYPE_FLOAT;
1128 static const Type TYPE_INT64 = 1000 static const Type TYPE_INT64 =
1129 FieldDescriptorProto_Type_TYPE_INT64; 1001 FieldDescriptorProto_Type_TYPE_INT64;
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
1300 bool has_options() const; 1172 bool has_options() const;
1301 void clear_options(); 1173 void clear_options();
1302 static const int kOptionsFieldNumber = 8; 1174 static const int kOptionsFieldNumber = 8;
1303 const ::google::protobuf::FieldOptions& options() const; 1175 const ::google::protobuf::FieldOptions& options() const;
1304 ::google::protobuf::FieldOptions* mutable_options(); 1176 ::google::protobuf::FieldOptions* mutable_options();
1305 ::google::protobuf::FieldOptions* release_options(); 1177 ::google::protobuf::FieldOptions* release_options();
1306 void set_allocated_options(::google::protobuf::FieldOptions* options); 1178 void set_allocated_options(::google::protobuf::FieldOptions* options);
1307 1179
1308 // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto) 1180 // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto)
1309 private: 1181 private:
1310 void set_has_name(); 1182 inline void set_has_name();
1311 void clear_has_name(); 1183 inline void clear_has_name();
1312 void set_has_number(); 1184 inline void set_has_number();
1313 void clear_has_number(); 1185 inline void clear_has_number();
1314 void set_has_label(); 1186 inline void set_has_label();
1315 void clear_has_label(); 1187 inline void clear_has_label();
1316 void set_has_type(); 1188 inline void set_has_type();
1317 void clear_has_type(); 1189 inline void clear_has_type();
1318 void set_has_type_name(); 1190 inline void set_has_type_name();
1319 void clear_has_type_name(); 1191 inline void clear_has_type_name();
1320 void set_has_extendee(); 1192 inline void set_has_extendee();
1321 void clear_has_extendee(); 1193 inline void clear_has_extendee();
1322 void set_has_default_value(); 1194 inline void set_has_default_value();
1323 void clear_has_default_value(); 1195 inline void clear_has_default_value();
1324 void set_has_oneof_index(); 1196 inline void set_has_oneof_index();
1325 void clear_has_oneof_index(); 1197 inline void clear_has_oneof_index();
1326 void set_has_json_name(); 1198 inline void set_has_json_name();
1327 void clear_has_json_name(); 1199 inline void clear_has_json_name();
1328 void set_has_options(); 1200 inline void set_has_options();
1329 void clear_has_options(); 1201 inline void clear_has_options();
1330 1202
1331 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 1203 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1332 ::google::protobuf::internal::HasBits<1> _has_bits_; 1204 ::google::protobuf::uint32 _has_bits_[1];
1333 mutable int _cached_size_; 1205 mutable int _cached_size_;
1334 ::google::protobuf::internal::ArenaStringPtr name_; 1206 ::google::protobuf::internal::ArenaStringPtr name_;
1207 ::google::protobuf::int32 number_;
1208 int label_;
1335 ::google::protobuf::internal::ArenaStringPtr type_name_; 1209 ::google::protobuf::internal::ArenaStringPtr type_name_;
1336 ::google::protobuf::internal::ArenaStringPtr extendee_; 1210 ::google::protobuf::internal::ArenaStringPtr extendee_;
1211 int type_;
1212 ::google::protobuf::int32 oneof_index_;
1337 ::google::protobuf::internal::ArenaStringPtr default_value_; 1213 ::google::protobuf::internal::ArenaStringPtr default_value_;
1338 ::google::protobuf::internal::ArenaStringPtr json_name_; 1214 ::google::protobuf::internal::ArenaStringPtr json_name_;
1339 ::google::protobuf::FieldOptions* options_; 1215 ::google::protobuf::FieldOptions* options_;
1340 ::google::protobuf::int32 number_; 1216 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
1341 ::google::protobuf::int32 oneof_index_; 1217 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1342 int label_;
1343 int type_;
1344 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
1345 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
1346 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
1347 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 1218 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1348 1219
1220 void InitAsDefaultInstance();
1221 static FieldDescriptorProto* default_instance_;
1349 }; 1222 };
1350 // ------------------------------------------------------------------- 1223 // -------------------------------------------------------------------
1351 1224
1352 class LIBPROTOBUF_EXPORT OneofDescriptorProto : public ::google::protobuf::Messa ge /* @@protoc_insertion_point(class_definition:google.protobuf.OneofDescriptorP roto) */ { 1225 class LIBPROTOBUF_EXPORT OneofDescriptorProto : public ::google::protobuf::Messa ge {
1353 public: 1226 public:
1354 OneofDescriptorProto(); 1227 OneofDescriptorProto();
1355 virtual ~OneofDescriptorProto(); 1228 virtual ~OneofDescriptorProto();
1356 1229
1357 OneofDescriptorProto(const OneofDescriptorProto& from); 1230 OneofDescriptorProto(const OneofDescriptorProto& from);
1358 1231
1359 inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) { 1232 inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) {
1360 CopyFrom(from); 1233 CopyFrom(from);
1361 return *this; 1234 return *this;
1362 } 1235 }
1363 1236
1364 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 1237 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1365 return _internal_metadata_.unknown_fields(); 1238 return _internal_metadata_.unknown_fields();
1366 } 1239 }
1367 1240
1368 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 1241 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1369 return _internal_metadata_.mutable_unknown_fields(); 1242 return _internal_metadata_.mutable_unknown_fields();
1370 } 1243 }
1371 1244
1372 static const ::google::protobuf::Descriptor* descriptor(); 1245 static const ::google::protobuf::Descriptor* descriptor();
1373 static const OneofDescriptorProto& default_instance(); 1246 static const OneofDescriptorProto& default_instance();
1374 1247
1375 static inline const OneofDescriptorProto* internal_default_instance() {
1376 return reinterpret_cast<const OneofDescriptorProto*>(
1377 &_OneofDescriptorProto_default_instance_);
1378 }
1379
1380 void Swap(OneofDescriptorProto* other); 1248 void Swap(OneofDescriptorProto* other);
1381 1249
1382 // implements Message ---------------------------------------------- 1250 // implements Message ----------------------------------------------
1383 1251
1384 inline OneofDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); } 1252 inline OneofDescriptorProto* New() const { return New(NULL); }
1385 1253
1386 OneofDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FIN AL; 1254 OneofDescriptorProto* New(::google::protobuf::Arena* arena) const;
1387 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 1255 void CopyFrom(const ::google::protobuf::Message& from);
1388 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 1256 void MergeFrom(const ::google::protobuf::Message& from);
1389 void CopyFrom(const OneofDescriptorProto& from); 1257 void CopyFrom(const OneofDescriptorProto& from);
1390 void MergeFrom(const OneofDescriptorProto& from); 1258 void MergeFrom(const OneofDescriptorProto& from);
1391 void Clear() PROTOBUF_FINAL; 1259 void Clear();
1392 bool IsInitialized() const PROTOBUF_FINAL; 1260 bool IsInitialized() const;
1393 1261
1394 size_t ByteSizeLong() const PROTOBUF_FINAL; 1262 int ByteSize() const;
1395 bool MergePartialFromCodedStream( 1263 bool MergePartialFromCodedStream(
1396 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 1264 ::google::protobuf::io::CodedInputStream* input);
1397 void SerializeWithCachedSizes( 1265 void SerializeWithCachedSizes(
1398 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 1266 ::google::protobuf::io::CodedOutputStream* output) const;
1399 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 1267 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
1400 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 1268 int GetCachedSize() const { return _cached_size_; }
1401 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
1402 const PROTOBUF_FINAL {
1403 return InternalSerializeWithCachedSizesToArray(false, output);
1404 }
1405 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1406 private: 1269 private:
1407 void SharedCtor(); 1270 void SharedCtor();
1408 void SharedDtor(); 1271 void SharedDtor();
1409 void SetCachedSize(int size) const PROTOBUF_FINAL; 1272 void SetCachedSize(int size) const;
1410 void InternalSwap(OneofDescriptorProto* other); 1273 void InternalSwap(OneofDescriptorProto* other);
1411 private: 1274 private:
1412 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 1275 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1413 return NULL; 1276 return _internal_metadata_.arena();
1414 } 1277 }
1415 inline void* MaybeArenaPtr() const { 1278 inline void* MaybeArenaPtr() const {
1416 return NULL; 1279 return _internal_metadata_.raw_arena_ptr();
1417 } 1280 }
1418 public: 1281 public:
1419 1282
1420 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 1283 ::google::protobuf::Metadata GetMetadata() const;
1421 1284
1422 // nested types ---------------------------------------------------- 1285 // nested types ----------------------------------------------------
1423 1286
1424 // accessors ------------------------------------------------------- 1287 // accessors -------------------------------------------------------
1425 1288
1426 // optional string name = 1; 1289 // optional string name = 1;
1427 bool has_name() const; 1290 bool has_name() const;
1428 void clear_name(); 1291 void clear_name();
1429 static const int kNameFieldNumber = 1; 1292 static const int kNameFieldNumber = 1;
1430 const ::std::string& name() const; 1293 const ::std::string& name() const;
1431 void set_name(const ::std::string& value); 1294 void set_name(const ::std::string& value);
1432 void set_name(const char* value); 1295 void set_name(const char* value);
1433 void set_name(const char* value, size_t size); 1296 void set_name(const char* value, size_t size);
1434 ::std::string* mutable_name(); 1297 ::std::string* mutable_name();
1435 ::std::string* release_name(); 1298 ::std::string* release_name();
1436 void set_allocated_name(::std::string* name); 1299 void set_allocated_name(::std::string* name);
1437 1300
1438 // optional .google.protobuf.OneofOptions options = 2;
1439 bool has_options() const;
1440 void clear_options();
1441 static const int kOptionsFieldNumber = 2;
1442 const ::google::protobuf::OneofOptions& options() const;
1443 ::google::protobuf::OneofOptions* mutable_options();
1444 ::google::protobuf::OneofOptions* release_options();
1445 void set_allocated_options(::google::protobuf::OneofOptions* options);
1446
1447 // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto) 1301 // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto)
1448 private: 1302 private:
1449 void set_has_name(); 1303 inline void set_has_name();
1450 void clear_has_name(); 1304 inline void clear_has_name();
1451 void set_has_options();
1452 void clear_has_options();
1453 1305
1454 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 1306 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1455 ::google::protobuf::internal::HasBits<1> _has_bits_; 1307 ::google::protobuf::uint32 _has_bits_[1];
1456 mutable int _cached_size_; 1308 mutable int _cached_size_;
1457 ::google::protobuf::internal::ArenaStringPtr name_; 1309 ::google::protobuf::internal::ArenaStringPtr name_;
1458 ::google::protobuf::OneofOptions* options_; 1310 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
1459 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 1311 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1460 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
1461 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
1462 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 1312 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1463 1313
1314 void InitAsDefaultInstance();
1315 static OneofDescriptorProto* default_instance_;
1464 }; 1316 };
1465 // ------------------------------------------------------------------- 1317 // -------------------------------------------------------------------
1466 1318
1467 class LIBPROTOBUF_EXPORT EnumDescriptorProto : public ::google::protobuf::Messag e /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorPro to) */ { 1319 class LIBPROTOBUF_EXPORT EnumDescriptorProto : public ::google::protobuf::Messag e {
1468 public: 1320 public:
1469 EnumDescriptorProto(); 1321 EnumDescriptorProto();
1470 virtual ~EnumDescriptorProto(); 1322 virtual ~EnumDescriptorProto();
1471 1323
1472 EnumDescriptorProto(const EnumDescriptorProto& from); 1324 EnumDescriptorProto(const EnumDescriptorProto& from);
1473 1325
1474 inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) { 1326 inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) {
1475 CopyFrom(from); 1327 CopyFrom(from);
1476 return *this; 1328 return *this;
1477 } 1329 }
1478 1330
1479 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 1331 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1480 return _internal_metadata_.unknown_fields(); 1332 return _internal_metadata_.unknown_fields();
1481 } 1333 }
1482 1334
1483 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 1335 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1484 return _internal_metadata_.mutable_unknown_fields(); 1336 return _internal_metadata_.mutable_unknown_fields();
1485 } 1337 }
1486 1338
1487 static const ::google::protobuf::Descriptor* descriptor(); 1339 static const ::google::protobuf::Descriptor* descriptor();
1488 static const EnumDescriptorProto& default_instance(); 1340 static const EnumDescriptorProto& default_instance();
1489 1341
1490 static inline const EnumDescriptorProto* internal_default_instance() {
1491 return reinterpret_cast<const EnumDescriptorProto*>(
1492 &_EnumDescriptorProto_default_instance_);
1493 }
1494
1495 void Swap(EnumDescriptorProto* other); 1342 void Swap(EnumDescriptorProto* other);
1496 1343
1497 // implements Message ---------------------------------------------- 1344 // implements Message ----------------------------------------------
1498 1345
1499 inline EnumDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); } 1346 inline EnumDescriptorProto* New() const { return New(NULL); }
1500 1347
1501 EnumDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINA L; 1348 EnumDescriptorProto* New(::google::protobuf::Arena* arena) const;
1502 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 1349 void CopyFrom(const ::google::protobuf::Message& from);
1503 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 1350 void MergeFrom(const ::google::protobuf::Message& from);
1504 void CopyFrom(const EnumDescriptorProto& from); 1351 void CopyFrom(const EnumDescriptorProto& from);
1505 void MergeFrom(const EnumDescriptorProto& from); 1352 void MergeFrom(const EnumDescriptorProto& from);
1506 void Clear() PROTOBUF_FINAL; 1353 void Clear();
1507 bool IsInitialized() const PROTOBUF_FINAL; 1354 bool IsInitialized() const;
1508 1355
1509 size_t ByteSizeLong() const PROTOBUF_FINAL; 1356 int ByteSize() const;
1510 bool MergePartialFromCodedStream( 1357 bool MergePartialFromCodedStream(
1511 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 1358 ::google::protobuf::io::CodedInputStream* input);
1512 void SerializeWithCachedSizes( 1359 void SerializeWithCachedSizes(
1513 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 1360 ::google::protobuf::io::CodedOutputStream* output) const;
1514 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 1361 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
1515 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 1362 int GetCachedSize() const { return _cached_size_; }
1516 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
1517 const PROTOBUF_FINAL {
1518 return InternalSerializeWithCachedSizesToArray(false, output);
1519 }
1520 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1521 private: 1363 private:
1522 void SharedCtor(); 1364 void SharedCtor();
1523 void SharedDtor(); 1365 void SharedDtor();
1524 void SetCachedSize(int size) const PROTOBUF_FINAL; 1366 void SetCachedSize(int size) const;
1525 void InternalSwap(EnumDescriptorProto* other); 1367 void InternalSwap(EnumDescriptorProto* other);
1526 private: 1368 private:
1527 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 1369 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1528 return NULL; 1370 return _internal_metadata_.arena();
1529 } 1371 }
1530 inline void* MaybeArenaPtr() const { 1372 inline void* MaybeArenaPtr() const {
1531 return NULL; 1373 return _internal_metadata_.raw_arena_ptr();
1532 } 1374 }
1533 public: 1375 public:
1534 1376
1535 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 1377 ::google::protobuf::Metadata GetMetadata() const;
1536 1378
1537 // nested types ---------------------------------------------------- 1379 // nested types ----------------------------------------------------
1538 1380
1539 // accessors ------------------------------------------------------- 1381 // accessors -------------------------------------------------------
1540 1382
1541 // optional string name = 1; 1383 // optional string name = 1;
1542 bool has_name() const; 1384 bool has_name() const;
1543 void clear_name(); 1385 void clear_name();
1544 static const int kNameFieldNumber = 1; 1386 static const int kNameFieldNumber = 1;
1545 const ::std::string& name() const; 1387 const ::std::string& name() const;
(...skipping 20 matching lines...) Expand all
1566 bool has_options() const; 1408 bool has_options() const;
1567 void clear_options(); 1409 void clear_options();
1568 static const int kOptionsFieldNumber = 3; 1410 static const int kOptionsFieldNumber = 3;
1569 const ::google::protobuf::EnumOptions& options() const; 1411 const ::google::protobuf::EnumOptions& options() const;
1570 ::google::protobuf::EnumOptions* mutable_options(); 1412 ::google::protobuf::EnumOptions* mutable_options();
1571 ::google::protobuf::EnumOptions* release_options(); 1413 ::google::protobuf::EnumOptions* release_options();
1572 void set_allocated_options(::google::protobuf::EnumOptions* options); 1414 void set_allocated_options(::google::protobuf::EnumOptions* options);
1573 1415
1574 // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto) 1416 // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto)
1575 private: 1417 private:
1576 void set_has_name(); 1418 inline void set_has_name();
1577 void clear_has_name(); 1419 inline void clear_has_name();
1578 void set_has_options(); 1420 inline void set_has_options();
1579 void clear_has_options(); 1421 inline void clear_has_options();
1580 1422
1581 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 1423 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1582 ::google::protobuf::internal::HasBits<1> _has_bits_; 1424 ::google::protobuf::uint32 _has_bits_[1];
1583 mutable int _cached_size_; 1425 mutable int _cached_size_;
1426 ::google::protobuf::internal::ArenaStringPtr name_;
1584 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorP roto > value_; 1427 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorP roto > value_;
1585 ::google::protobuf::internal::ArenaStringPtr name_;
1586 ::google::protobuf::EnumOptions* options_; 1428 ::google::protobuf::EnumOptions* options_;
1587 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 1429 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
1588 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl(); 1430 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1589 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
1590 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 1431 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1591 1432
1433 void InitAsDefaultInstance();
1434 static EnumDescriptorProto* default_instance_;
1592 }; 1435 };
1593 // ------------------------------------------------------------------- 1436 // -------------------------------------------------------------------
1594 1437
1595 class LIBPROTOBUF_EXPORT EnumValueDescriptorProto : public ::google::protobuf::M essage /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueDes criptorProto) */ { 1438 class LIBPROTOBUF_EXPORT EnumValueDescriptorProto : public ::google::protobuf::M essage {
1596 public: 1439 public:
1597 EnumValueDescriptorProto(); 1440 EnumValueDescriptorProto();
1598 virtual ~EnumValueDescriptorProto(); 1441 virtual ~EnumValueDescriptorProto();
1599 1442
1600 EnumValueDescriptorProto(const EnumValueDescriptorProto& from); 1443 EnumValueDescriptorProto(const EnumValueDescriptorProto& from);
1601 1444
1602 inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& fro m) { 1445 inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& fro m) {
1603 CopyFrom(from); 1446 CopyFrom(from);
1604 return *this; 1447 return *this;
1605 } 1448 }
1606 1449
1607 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 1450 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1608 return _internal_metadata_.unknown_fields(); 1451 return _internal_metadata_.unknown_fields();
1609 } 1452 }
1610 1453
1611 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 1454 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1612 return _internal_metadata_.mutable_unknown_fields(); 1455 return _internal_metadata_.mutable_unknown_fields();
1613 } 1456 }
1614 1457
1615 static const ::google::protobuf::Descriptor* descriptor(); 1458 static const ::google::protobuf::Descriptor* descriptor();
1616 static const EnumValueDescriptorProto& default_instance(); 1459 static const EnumValueDescriptorProto& default_instance();
1617 1460
1618 static inline const EnumValueDescriptorProto* internal_default_instance() {
1619 return reinterpret_cast<const EnumValueDescriptorProto*>(
1620 &_EnumValueDescriptorProto_default_instance_);
1621 }
1622
1623 void Swap(EnumValueDescriptorProto* other); 1461 void Swap(EnumValueDescriptorProto* other);
1624 1462
1625 // implements Message ---------------------------------------------- 1463 // implements Message ----------------------------------------------
1626 1464
1627 inline EnumValueDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL) ; } 1465 inline EnumValueDescriptorProto* New() const { return New(NULL); }
1628 1466
1629 EnumValueDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF _FINAL; 1467 EnumValueDescriptorProto* New(::google::protobuf::Arena* arena) const;
1630 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 1468 void CopyFrom(const ::google::protobuf::Message& from);
1631 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 1469 void MergeFrom(const ::google::protobuf::Message& from);
1632 void CopyFrom(const EnumValueDescriptorProto& from); 1470 void CopyFrom(const EnumValueDescriptorProto& from);
1633 void MergeFrom(const EnumValueDescriptorProto& from); 1471 void MergeFrom(const EnumValueDescriptorProto& from);
1634 void Clear() PROTOBUF_FINAL; 1472 void Clear();
1635 bool IsInitialized() const PROTOBUF_FINAL; 1473 bool IsInitialized() const;
1636 1474
1637 size_t ByteSizeLong() const PROTOBUF_FINAL; 1475 int ByteSize() const;
1638 bool MergePartialFromCodedStream( 1476 bool MergePartialFromCodedStream(
1639 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 1477 ::google::protobuf::io::CodedInputStream* input);
1640 void SerializeWithCachedSizes( 1478 void SerializeWithCachedSizes(
1641 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 1479 ::google::protobuf::io::CodedOutputStream* output) const;
1642 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 1480 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
1643 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 1481 int GetCachedSize() const { return _cached_size_; }
1644 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
1645 const PROTOBUF_FINAL {
1646 return InternalSerializeWithCachedSizesToArray(false, output);
1647 }
1648 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1649 private: 1482 private:
1650 void SharedCtor(); 1483 void SharedCtor();
1651 void SharedDtor(); 1484 void SharedDtor();
1652 void SetCachedSize(int size) const PROTOBUF_FINAL; 1485 void SetCachedSize(int size) const;
1653 void InternalSwap(EnumValueDescriptorProto* other); 1486 void InternalSwap(EnumValueDescriptorProto* other);
1654 private: 1487 private:
1655 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 1488 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1656 return NULL; 1489 return _internal_metadata_.arena();
1657 } 1490 }
1658 inline void* MaybeArenaPtr() const { 1491 inline void* MaybeArenaPtr() const {
1659 return NULL; 1492 return _internal_metadata_.raw_arena_ptr();
1660 } 1493 }
1661 public: 1494 public:
1662 1495
1663 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 1496 ::google::protobuf::Metadata GetMetadata() const;
1664 1497
1665 // nested types ---------------------------------------------------- 1498 // nested types ----------------------------------------------------
1666 1499
1667 // accessors ------------------------------------------------------- 1500 // accessors -------------------------------------------------------
1668 1501
1669 // optional string name = 1; 1502 // optional string name = 1;
1670 bool has_name() const; 1503 bool has_name() const;
1671 void clear_name(); 1504 void clear_name();
1672 static const int kNameFieldNumber = 1; 1505 static const int kNameFieldNumber = 1;
1673 const ::std::string& name() const; 1506 const ::std::string& name() const;
(...skipping 15 matching lines...) Expand all
1689 bool has_options() const; 1522 bool has_options() const;
1690 void clear_options(); 1523 void clear_options();
1691 static const int kOptionsFieldNumber = 3; 1524 static const int kOptionsFieldNumber = 3;
1692 const ::google::protobuf::EnumValueOptions& options() const; 1525 const ::google::protobuf::EnumValueOptions& options() const;
1693 ::google::protobuf::EnumValueOptions* mutable_options(); 1526 ::google::protobuf::EnumValueOptions* mutable_options();
1694 ::google::protobuf::EnumValueOptions* release_options(); 1527 ::google::protobuf::EnumValueOptions* release_options();
1695 void set_allocated_options(::google::protobuf::EnumValueOptions* options); 1528 void set_allocated_options(::google::protobuf::EnumValueOptions* options);
1696 1529
1697 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorPro to) 1530 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorPro to)
1698 private: 1531 private:
1699 void set_has_name(); 1532 inline void set_has_name();
1700 void clear_has_name(); 1533 inline void clear_has_name();
1701 void set_has_number(); 1534 inline void set_has_number();
1702 void clear_has_number(); 1535 inline void clear_has_number();
1703 void set_has_options(); 1536 inline void set_has_options();
1704 void clear_has_options(); 1537 inline void clear_has_options();
1705 1538
1706 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 1539 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1707 ::google::protobuf::internal::HasBits<1> _has_bits_; 1540 ::google::protobuf::uint32 _has_bits_[1];
1708 mutable int _cached_size_; 1541 mutable int _cached_size_;
1709 ::google::protobuf::internal::ArenaStringPtr name_; 1542 ::google::protobuf::internal::ArenaStringPtr name_;
1710 ::google::protobuf::EnumValueOptions* options_; 1543 ::google::protobuf::EnumValueOptions* options_;
1711 ::google::protobuf::int32 number_; 1544 ::google::protobuf::int32 number_;
1712 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 1545 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
1713 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl(); 1546 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1714 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
1715 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 1547 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1716 1548
1549 void InitAsDefaultInstance();
1550 static EnumValueDescriptorProto* default_instance_;
1717 }; 1551 };
1718 // ------------------------------------------------------------------- 1552 // -------------------------------------------------------------------
1719 1553
1720 class LIBPROTOBUF_EXPORT ServiceDescriptorProto : public ::google::protobuf::Mes sage /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceDescrip torProto) */ { 1554 class LIBPROTOBUF_EXPORT ServiceDescriptorProto : public ::google::protobuf::Mes sage {
1721 public: 1555 public:
1722 ServiceDescriptorProto(); 1556 ServiceDescriptorProto();
1723 virtual ~ServiceDescriptorProto(); 1557 virtual ~ServiceDescriptorProto();
1724 1558
1725 ServiceDescriptorProto(const ServiceDescriptorProto& from); 1559 ServiceDescriptorProto(const ServiceDescriptorProto& from);
1726 1560
1727 inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) { 1561 inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) {
1728 CopyFrom(from); 1562 CopyFrom(from);
1729 return *this; 1563 return *this;
1730 } 1564 }
1731 1565
1732 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 1566 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1733 return _internal_metadata_.unknown_fields(); 1567 return _internal_metadata_.unknown_fields();
1734 } 1568 }
1735 1569
1736 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 1570 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1737 return _internal_metadata_.mutable_unknown_fields(); 1571 return _internal_metadata_.mutable_unknown_fields();
1738 } 1572 }
1739 1573
1740 static const ::google::protobuf::Descriptor* descriptor(); 1574 static const ::google::protobuf::Descriptor* descriptor();
1741 static const ServiceDescriptorProto& default_instance(); 1575 static const ServiceDescriptorProto& default_instance();
1742 1576
1743 static inline const ServiceDescriptorProto* internal_default_instance() {
1744 return reinterpret_cast<const ServiceDescriptorProto*>(
1745 &_ServiceDescriptorProto_default_instance_);
1746 }
1747
1748 void Swap(ServiceDescriptorProto* other); 1577 void Swap(ServiceDescriptorProto* other);
1749 1578
1750 // implements Message ---------------------------------------------- 1579 // implements Message ----------------------------------------------
1751 1580
1752 inline ServiceDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); } 1581 inline ServiceDescriptorProto* New() const { return New(NULL); }
1753 1582
1754 ServiceDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_F INAL; 1583 ServiceDescriptorProto* New(::google::protobuf::Arena* arena) const;
1755 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 1584 void CopyFrom(const ::google::protobuf::Message& from);
1756 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 1585 void MergeFrom(const ::google::protobuf::Message& from);
1757 void CopyFrom(const ServiceDescriptorProto& from); 1586 void CopyFrom(const ServiceDescriptorProto& from);
1758 void MergeFrom(const ServiceDescriptorProto& from); 1587 void MergeFrom(const ServiceDescriptorProto& from);
1759 void Clear() PROTOBUF_FINAL; 1588 void Clear();
1760 bool IsInitialized() const PROTOBUF_FINAL; 1589 bool IsInitialized() const;
1761 1590
1762 size_t ByteSizeLong() const PROTOBUF_FINAL; 1591 int ByteSize() const;
1763 bool MergePartialFromCodedStream( 1592 bool MergePartialFromCodedStream(
1764 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 1593 ::google::protobuf::io::CodedInputStream* input);
1765 void SerializeWithCachedSizes( 1594 void SerializeWithCachedSizes(
1766 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 1595 ::google::protobuf::io::CodedOutputStream* output) const;
1767 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 1596 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
1768 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 1597 int GetCachedSize() const { return _cached_size_; }
1769 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
1770 const PROTOBUF_FINAL {
1771 return InternalSerializeWithCachedSizesToArray(false, output);
1772 }
1773 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1774 private: 1598 private:
1775 void SharedCtor(); 1599 void SharedCtor();
1776 void SharedDtor(); 1600 void SharedDtor();
1777 void SetCachedSize(int size) const PROTOBUF_FINAL; 1601 void SetCachedSize(int size) const;
1778 void InternalSwap(ServiceDescriptorProto* other); 1602 void InternalSwap(ServiceDescriptorProto* other);
1779 private: 1603 private:
1780 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 1604 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1781 return NULL; 1605 return _internal_metadata_.arena();
1782 } 1606 }
1783 inline void* MaybeArenaPtr() const { 1607 inline void* MaybeArenaPtr() const {
1784 return NULL; 1608 return _internal_metadata_.raw_arena_ptr();
1785 } 1609 }
1786 public: 1610 public:
1787 1611
1788 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 1612 ::google::protobuf::Metadata GetMetadata() const;
1789 1613
1790 // nested types ---------------------------------------------------- 1614 // nested types ----------------------------------------------------
1791 1615
1792 // accessors ------------------------------------------------------- 1616 // accessors -------------------------------------------------------
1793 1617
1794 // optional string name = 1; 1618 // optional string name = 1;
1795 bool has_name() const; 1619 bool has_name() const;
1796 void clear_name(); 1620 void clear_name();
1797 static const int kNameFieldNumber = 1; 1621 static const int kNameFieldNumber = 1;
1798 const ::std::string& name() const; 1622 const ::std::string& name() const;
(...skipping 20 matching lines...) Expand all
1819 bool has_options() const; 1643 bool has_options() const;
1820 void clear_options(); 1644 void clear_options();
1821 static const int kOptionsFieldNumber = 3; 1645 static const int kOptionsFieldNumber = 3;
1822 const ::google::protobuf::ServiceOptions& options() const; 1646 const ::google::protobuf::ServiceOptions& options() const;
1823 ::google::protobuf::ServiceOptions* mutable_options(); 1647 ::google::protobuf::ServiceOptions* mutable_options();
1824 ::google::protobuf::ServiceOptions* release_options(); 1648 ::google::protobuf::ServiceOptions* release_options();
1825 void set_allocated_options(::google::protobuf::ServiceOptions* options); 1649 void set_allocated_options(::google::protobuf::ServiceOptions* options);
1826 1650
1827 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto ) 1651 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto )
1828 private: 1652 private:
1829 void set_has_name(); 1653 inline void set_has_name();
1830 void clear_has_name(); 1654 inline void clear_has_name();
1831 void set_has_options(); 1655 inline void set_has_options();
1832 void clear_has_options(); 1656 inline void clear_has_options();
1833 1657
1834 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 1658 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1835 ::google::protobuf::internal::HasBits<1> _has_bits_; 1659 ::google::protobuf::uint32 _has_bits_[1];
1836 mutable int _cached_size_; 1660 mutable int _cached_size_;
1661 ::google::protobuf::internal::ArenaStringPtr name_;
1837 ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProt o > method_; 1662 ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProt o > method_;
1838 ::google::protobuf::internal::ArenaStringPtr name_;
1839 ::google::protobuf::ServiceOptions* options_; 1663 ::google::protobuf::ServiceOptions* options_;
1840 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 1664 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
1841 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl(); 1665 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1842 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
1843 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 1666 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1844 1667
1668 void InitAsDefaultInstance();
1669 static ServiceDescriptorProto* default_instance_;
1845 }; 1670 };
1846 // ------------------------------------------------------------------- 1671 // -------------------------------------------------------------------
1847 1672
1848 class LIBPROTOBUF_EXPORT MethodDescriptorProto : public ::google::protobuf::Mess age /* @@protoc_insertion_point(class_definition:google.protobuf.MethodDescripto rProto) */ { 1673 class LIBPROTOBUF_EXPORT MethodDescriptorProto : public ::google::protobuf::Mess age {
1849 public: 1674 public:
1850 MethodDescriptorProto(); 1675 MethodDescriptorProto();
1851 virtual ~MethodDescriptorProto(); 1676 virtual ~MethodDescriptorProto();
1852 1677
1853 MethodDescriptorProto(const MethodDescriptorProto& from); 1678 MethodDescriptorProto(const MethodDescriptorProto& from);
1854 1679
1855 inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) { 1680 inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) {
1856 CopyFrom(from); 1681 CopyFrom(from);
1857 return *this; 1682 return *this;
1858 } 1683 }
1859 1684
1860 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 1685 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1861 return _internal_metadata_.unknown_fields(); 1686 return _internal_metadata_.unknown_fields();
1862 } 1687 }
1863 1688
1864 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 1689 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1865 return _internal_metadata_.mutable_unknown_fields(); 1690 return _internal_metadata_.mutable_unknown_fields();
1866 } 1691 }
1867 1692
1868 static const ::google::protobuf::Descriptor* descriptor(); 1693 static const ::google::protobuf::Descriptor* descriptor();
1869 static const MethodDescriptorProto& default_instance(); 1694 static const MethodDescriptorProto& default_instance();
1870 1695
1871 static inline const MethodDescriptorProto* internal_default_instance() {
1872 return reinterpret_cast<const MethodDescriptorProto*>(
1873 &_MethodDescriptorProto_default_instance_);
1874 }
1875
1876 void Swap(MethodDescriptorProto* other); 1696 void Swap(MethodDescriptorProto* other);
1877 1697
1878 // implements Message ---------------------------------------------- 1698 // implements Message ----------------------------------------------
1879 1699
1880 inline MethodDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); } 1700 inline MethodDescriptorProto* New() const { return New(NULL); }
1881 1701
1882 MethodDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FI NAL; 1702 MethodDescriptorProto* New(::google::protobuf::Arena* arena) const;
1883 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 1703 void CopyFrom(const ::google::protobuf::Message& from);
1884 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 1704 void MergeFrom(const ::google::protobuf::Message& from);
1885 void CopyFrom(const MethodDescriptorProto& from); 1705 void CopyFrom(const MethodDescriptorProto& from);
1886 void MergeFrom(const MethodDescriptorProto& from); 1706 void MergeFrom(const MethodDescriptorProto& from);
1887 void Clear() PROTOBUF_FINAL; 1707 void Clear();
1888 bool IsInitialized() const PROTOBUF_FINAL; 1708 bool IsInitialized() const;
1889 1709
1890 size_t ByteSizeLong() const PROTOBUF_FINAL; 1710 int ByteSize() const;
1891 bool MergePartialFromCodedStream( 1711 bool MergePartialFromCodedStream(
1892 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 1712 ::google::protobuf::io::CodedInputStream* input);
1893 void SerializeWithCachedSizes( 1713 void SerializeWithCachedSizes(
1894 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 1714 ::google::protobuf::io::CodedOutputStream* output) const;
1895 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 1715 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
1896 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 1716 int GetCachedSize() const { return _cached_size_; }
1897 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
1898 const PROTOBUF_FINAL {
1899 return InternalSerializeWithCachedSizesToArray(false, output);
1900 }
1901 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1902 private: 1717 private:
1903 void SharedCtor(); 1718 void SharedCtor();
1904 void SharedDtor(); 1719 void SharedDtor();
1905 void SetCachedSize(int size) const PROTOBUF_FINAL; 1720 void SetCachedSize(int size) const;
1906 void InternalSwap(MethodDescriptorProto* other); 1721 void InternalSwap(MethodDescriptorProto* other);
1907 private: 1722 private:
1908 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 1723 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1909 return NULL; 1724 return _internal_metadata_.arena();
1910 } 1725 }
1911 inline void* MaybeArenaPtr() const { 1726 inline void* MaybeArenaPtr() const {
1912 return NULL; 1727 return _internal_metadata_.raw_arena_ptr();
1913 } 1728 }
1914 public: 1729 public:
1915 1730
1916 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 1731 ::google::protobuf::Metadata GetMetadata() const;
1917 1732
1918 // nested types ---------------------------------------------------- 1733 // nested types ----------------------------------------------------
1919 1734
1920 // accessors ------------------------------------------------------- 1735 // accessors -------------------------------------------------------
1921 1736
1922 // optional string name = 1; 1737 // optional string name = 1;
1923 bool has_name() const; 1738 bool has_name() const;
1924 void clear_name(); 1739 void clear_name();
1925 static const int kNameFieldNumber = 1; 1740 static const int kNameFieldNumber = 1;
1926 const ::std::string& name() const; 1741 const ::std::string& name() const;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
1973 1788
1974 // optional bool server_streaming = 6 [default = false]; 1789 // optional bool server_streaming = 6 [default = false];
1975 bool has_server_streaming() const; 1790 bool has_server_streaming() const;
1976 void clear_server_streaming(); 1791 void clear_server_streaming();
1977 static const int kServerStreamingFieldNumber = 6; 1792 static const int kServerStreamingFieldNumber = 6;
1978 bool server_streaming() const; 1793 bool server_streaming() const;
1979 void set_server_streaming(bool value); 1794 void set_server_streaming(bool value);
1980 1795
1981 // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto) 1796 // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto)
1982 private: 1797 private:
1983 void set_has_name(); 1798 inline void set_has_name();
1984 void clear_has_name(); 1799 inline void clear_has_name();
1985 void set_has_input_type(); 1800 inline void set_has_input_type();
1986 void clear_has_input_type(); 1801 inline void clear_has_input_type();
1987 void set_has_output_type(); 1802 inline void set_has_output_type();
1988 void clear_has_output_type(); 1803 inline void clear_has_output_type();
1989 void set_has_options(); 1804 inline void set_has_options();
1990 void clear_has_options(); 1805 inline void clear_has_options();
1991 void set_has_client_streaming(); 1806 inline void set_has_client_streaming();
1992 void clear_has_client_streaming(); 1807 inline void clear_has_client_streaming();
1993 void set_has_server_streaming(); 1808 inline void set_has_server_streaming();
1994 void clear_has_server_streaming(); 1809 inline void clear_has_server_streaming();
1995 1810
1996 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 1811 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1997 ::google::protobuf::internal::HasBits<1> _has_bits_; 1812 ::google::protobuf::uint32 _has_bits_[1];
1998 mutable int _cached_size_; 1813 mutable int _cached_size_;
1999 ::google::protobuf::internal::ArenaStringPtr name_; 1814 ::google::protobuf::internal::ArenaStringPtr name_;
2000 ::google::protobuf::internal::ArenaStringPtr input_type_; 1815 ::google::protobuf::internal::ArenaStringPtr input_type_;
2001 ::google::protobuf::internal::ArenaStringPtr output_type_; 1816 ::google::protobuf::internal::ArenaStringPtr output_type_;
2002 ::google::protobuf::MethodOptions* options_; 1817 ::google::protobuf::MethodOptions* options_;
2003 bool client_streaming_; 1818 bool client_streaming_;
2004 bool server_streaming_; 1819 bool server_streaming_;
2005 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 1820 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
2006 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl(); 1821 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2007 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
2008 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 1822 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2009 1823
1824 void InitAsDefaultInstance();
1825 static MethodDescriptorProto* default_instance_;
2010 }; 1826 };
2011 // ------------------------------------------------------------------- 1827 // -------------------------------------------------------------------
2012 1828
2013 class LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message /* @@p rotoc_insertion_point(class_definition:google.protobuf.FileOptions) */ { 1829 class LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message {
2014 public: 1830 public:
2015 FileOptions(); 1831 FileOptions();
2016 virtual ~FileOptions(); 1832 virtual ~FileOptions();
2017 1833
2018 FileOptions(const FileOptions& from); 1834 FileOptions(const FileOptions& from);
2019 1835
2020 inline FileOptions& operator=(const FileOptions& from) { 1836 inline FileOptions& operator=(const FileOptions& from) {
2021 CopyFrom(from); 1837 CopyFrom(from);
2022 return *this; 1838 return *this;
2023 } 1839 }
2024 1840
2025 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 1841 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2026 return _internal_metadata_.unknown_fields(); 1842 return _internal_metadata_.unknown_fields();
2027 } 1843 }
2028 1844
2029 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 1845 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2030 return _internal_metadata_.mutable_unknown_fields(); 1846 return _internal_metadata_.mutable_unknown_fields();
2031 } 1847 }
2032 1848
2033 static const ::google::protobuf::Descriptor* descriptor(); 1849 static const ::google::protobuf::Descriptor* descriptor();
2034 static const FileOptions& default_instance(); 1850 static const FileOptions& default_instance();
2035 1851
2036 static inline const FileOptions* internal_default_instance() {
2037 return reinterpret_cast<const FileOptions*>(
2038 &_FileOptions_default_instance_);
2039 }
2040
2041 void Swap(FileOptions* other); 1852 void Swap(FileOptions* other);
2042 1853
2043 // implements Message ---------------------------------------------- 1854 // implements Message ----------------------------------------------
2044 1855
2045 inline FileOptions* New() const PROTOBUF_FINAL { return New(NULL); } 1856 inline FileOptions* New() const { return New(NULL); }
2046 1857
2047 FileOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; 1858 FileOptions* New(::google::protobuf::Arena* arena) const;
2048 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 1859 void CopyFrom(const ::google::protobuf::Message& from);
2049 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 1860 void MergeFrom(const ::google::protobuf::Message& from);
2050 void CopyFrom(const FileOptions& from); 1861 void CopyFrom(const FileOptions& from);
2051 void MergeFrom(const FileOptions& from); 1862 void MergeFrom(const FileOptions& from);
2052 void Clear() PROTOBUF_FINAL; 1863 void Clear();
2053 bool IsInitialized() const PROTOBUF_FINAL; 1864 bool IsInitialized() const;
2054 1865
2055 size_t ByteSizeLong() const PROTOBUF_FINAL; 1866 int ByteSize() const;
2056 bool MergePartialFromCodedStream( 1867 bool MergePartialFromCodedStream(
2057 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 1868 ::google::protobuf::io::CodedInputStream* input);
2058 void SerializeWithCachedSizes( 1869 void SerializeWithCachedSizes(
2059 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 1870 ::google::protobuf::io::CodedOutputStream* output) const;
2060 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 1871 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
2061 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 1872 int GetCachedSize() const { return _cached_size_; }
2062 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
2063 const PROTOBUF_FINAL {
2064 return InternalSerializeWithCachedSizesToArray(false, output);
2065 }
2066 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2067 private: 1873 private:
2068 void SharedCtor(); 1874 void SharedCtor();
2069 void SharedDtor(); 1875 void SharedDtor();
2070 void SetCachedSize(int size) const PROTOBUF_FINAL; 1876 void SetCachedSize(int size) const;
2071 void InternalSwap(FileOptions* other); 1877 void InternalSwap(FileOptions* other);
2072 private: 1878 private:
2073 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 1879 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2074 return NULL; 1880 return _internal_metadata_.arena();
2075 } 1881 }
2076 inline void* MaybeArenaPtr() const { 1882 inline void* MaybeArenaPtr() const {
2077 return NULL; 1883 return _internal_metadata_.raw_arena_ptr();
2078 } 1884 }
2079 public: 1885 public:
2080 1886
2081 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 1887 ::google::protobuf::Metadata GetMetadata() const;
2082 1888
2083 // nested types ---------------------------------------------------- 1889 // nested types ----------------------------------------------------
2084 1890
2085 typedef FileOptions_OptimizeMode OptimizeMode; 1891 typedef FileOptions_OptimizeMode OptimizeMode;
2086 static const OptimizeMode SPEED = 1892 static const OptimizeMode SPEED =
2087 FileOptions_OptimizeMode_SPEED; 1893 FileOptions_OptimizeMode_SPEED;
2088 static const OptimizeMode CODE_SIZE = 1894 static const OptimizeMode CODE_SIZE =
2089 FileOptions_OptimizeMode_CODE_SIZE; 1895 FileOptions_OptimizeMode_CODE_SIZE;
2090 static const OptimizeMode LITE_RUNTIME = 1896 static const OptimizeMode LITE_RUNTIME =
2091 FileOptions_OptimizeMode_LITE_RUNTIME; 1897 FileOptions_OptimizeMode_LITE_RUNTIME;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
2136 ::std::string* release_java_outer_classname(); 1942 ::std::string* release_java_outer_classname();
2137 void set_allocated_java_outer_classname(::std::string* java_outer_classname); 1943 void set_allocated_java_outer_classname(::std::string* java_outer_classname);
2138 1944
2139 // optional bool java_multiple_files = 10 [default = false]; 1945 // optional bool java_multiple_files = 10 [default = false];
2140 bool has_java_multiple_files() const; 1946 bool has_java_multiple_files() const;
2141 void clear_java_multiple_files(); 1947 void clear_java_multiple_files();
2142 static const int kJavaMultipleFilesFieldNumber = 10; 1948 static const int kJavaMultipleFilesFieldNumber = 10;
2143 bool java_multiple_files() const; 1949 bool java_multiple_files() const;
2144 void set_java_multiple_files(bool value); 1950 void set_java_multiple_files(bool value);
2145 1951
2146 // optional bool java_generate_equals_and_hash = 20 [deprecated = true]; 1952 // optional bool java_generate_equals_and_hash = 20 [default = false];
2147 GOOGLE_PROTOBUF_DEPRECATED_ATTR bool has_java_generate_equals_and_hash() const ; 1953 bool has_java_generate_equals_and_hash() const;
2148 GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_java_generate_equals_and_hash(); 1954 void clear_java_generate_equals_and_hash();
2149 GOOGLE_PROTOBUF_DEPRECATED_ATTR static const int kJavaGenerateEqualsAndHashFie ldNumber = 20; 1955 static const int kJavaGenerateEqualsAndHashFieldNumber = 20;
2150 GOOGLE_PROTOBUF_DEPRECATED_ATTR bool java_generate_equals_and_hash() const; 1956 bool java_generate_equals_and_hash() const;
2151 GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_java_generate_equals_and_hash(bool va lue); 1957 void set_java_generate_equals_and_hash(bool value);
2152 1958
2153 // optional bool java_string_check_utf8 = 27 [default = false]; 1959 // optional bool java_string_check_utf8 = 27 [default = false];
2154 bool has_java_string_check_utf8() const; 1960 bool has_java_string_check_utf8() const;
2155 void clear_java_string_check_utf8(); 1961 void clear_java_string_check_utf8();
2156 static const int kJavaStringCheckUtf8FieldNumber = 27; 1962 static const int kJavaStringCheckUtf8FieldNumber = 27;
2157 bool java_string_check_utf8() const; 1963 bool java_string_check_utf8() const;
2158 void set_java_string_check_utf8(bool value); 1964 void set_java_string_check_utf8(bool value);
2159 1965
2160 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [defaul t = SPEED]; 1966 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [defaul t = SPEED];
2161 bool has_optimize_for() const; 1967 bool has_optimize_for() const;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
2228 void clear_csharp_namespace(); 2034 void clear_csharp_namespace();
2229 static const int kCsharpNamespaceFieldNumber = 37; 2035 static const int kCsharpNamespaceFieldNumber = 37;
2230 const ::std::string& csharp_namespace() const; 2036 const ::std::string& csharp_namespace() const;
2231 void set_csharp_namespace(const ::std::string& value); 2037 void set_csharp_namespace(const ::std::string& value);
2232 void set_csharp_namespace(const char* value); 2038 void set_csharp_namespace(const char* value);
2233 void set_csharp_namespace(const char* value, size_t size); 2039 void set_csharp_namespace(const char* value, size_t size);
2234 ::std::string* mutable_csharp_namespace(); 2040 ::std::string* mutable_csharp_namespace();
2235 ::std::string* release_csharp_namespace(); 2041 ::std::string* release_csharp_namespace();
2236 void set_allocated_csharp_namespace(::std::string* csharp_namespace); 2042 void set_allocated_csharp_namespace(::std::string* csharp_namespace);
2237 2043
2238 // optional string swift_prefix = 39;
2239 bool has_swift_prefix() const;
2240 void clear_swift_prefix();
2241 static const int kSwiftPrefixFieldNumber = 39;
2242 const ::std::string& swift_prefix() const;
2243 void set_swift_prefix(const ::std::string& value);
2244 void set_swift_prefix(const char* value);
2245 void set_swift_prefix(const char* value, size_t size);
2246 ::std::string* mutable_swift_prefix();
2247 ::std::string* release_swift_prefix();
2248 void set_allocated_swift_prefix(::std::string* swift_prefix);
2249
2250 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 2044 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2251 int uninterpreted_option_size() const; 2045 int uninterpreted_option_size() const;
2252 void clear_uninterpreted_option(); 2046 void clear_uninterpreted_option();
2253 static const int kUninterpretedOptionFieldNumber = 999; 2047 static const int kUninterpretedOptionFieldNumber = 999;
2254 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; 2048 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2255 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x); 2049 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x);
2256 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); 2050 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2257 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* 2051 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2258 mutable_uninterpreted_option(); 2052 mutable_uninterpreted_option();
2259 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >& 2053 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >&
2260 uninterpreted_option() const; 2054 uninterpreted_option() const;
2261 2055
2262 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions) 2056 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions)
2263 // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions) 2057 // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions)
2264 private: 2058 private:
2265 void set_has_java_package(); 2059 inline void set_has_java_package();
2266 void clear_has_java_package(); 2060 inline void clear_has_java_package();
2267 void set_has_java_outer_classname(); 2061 inline void set_has_java_outer_classname();
2268 void clear_has_java_outer_classname(); 2062 inline void clear_has_java_outer_classname();
2269 void set_has_java_multiple_files(); 2063 inline void set_has_java_multiple_files();
2270 void clear_has_java_multiple_files(); 2064 inline void clear_has_java_multiple_files();
2271 void set_has_java_generate_equals_and_hash(); 2065 inline void set_has_java_generate_equals_and_hash();
2272 void clear_has_java_generate_equals_and_hash(); 2066 inline void clear_has_java_generate_equals_and_hash();
2273 void set_has_java_string_check_utf8(); 2067 inline void set_has_java_string_check_utf8();
2274 void clear_has_java_string_check_utf8(); 2068 inline void clear_has_java_string_check_utf8();
2275 void set_has_optimize_for(); 2069 inline void set_has_optimize_for();
2276 void clear_has_optimize_for(); 2070 inline void clear_has_optimize_for();
2277 void set_has_go_package(); 2071 inline void set_has_go_package();
2278 void clear_has_go_package(); 2072 inline void clear_has_go_package();
2279 void set_has_cc_generic_services(); 2073 inline void set_has_cc_generic_services();
2280 void clear_has_cc_generic_services(); 2074 inline void clear_has_cc_generic_services();
2281 void set_has_java_generic_services(); 2075 inline void set_has_java_generic_services();
2282 void clear_has_java_generic_services(); 2076 inline void clear_has_java_generic_services();
2283 void set_has_py_generic_services(); 2077 inline void set_has_py_generic_services();
2284 void clear_has_py_generic_services(); 2078 inline void clear_has_py_generic_services();
2285 void set_has_deprecated(); 2079 inline void set_has_deprecated();
2286 void clear_has_deprecated(); 2080 inline void clear_has_deprecated();
2287 void set_has_cc_enable_arenas(); 2081 inline void set_has_cc_enable_arenas();
2288 void clear_has_cc_enable_arenas(); 2082 inline void clear_has_cc_enable_arenas();
2289 void set_has_objc_class_prefix(); 2083 inline void set_has_objc_class_prefix();
2290 void clear_has_objc_class_prefix(); 2084 inline void clear_has_objc_class_prefix();
2291 void set_has_csharp_namespace(); 2085 inline void set_has_csharp_namespace();
2292 void clear_has_csharp_namespace(); 2086 inline void clear_has_csharp_namespace();
2293 void set_has_swift_prefix();
2294 void clear_has_swift_prefix();
2295 2087
2296 ::google::protobuf::internal::ExtensionSet _extensions_; 2088 ::google::protobuf::internal::ExtensionSet _extensions_;
2297 2089
2298 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 2090 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2299 ::google::protobuf::internal::HasBits<1> _has_bits_; 2091 ::google::protobuf::uint32 _has_bits_[1];
2300 mutable int _cached_size_; 2092 mutable int _cached_size_;
2301 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2302 ::google::protobuf::internal::ArenaStringPtr java_package_; 2093 ::google::protobuf::internal::ArenaStringPtr java_package_;
2303 ::google::protobuf::internal::ArenaStringPtr java_outer_classname_; 2094 ::google::protobuf::internal::ArenaStringPtr java_outer_classname_;
2304 ::google::protobuf::internal::ArenaStringPtr go_package_;
2305 ::google::protobuf::internal::ArenaStringPtr objc_class_prefix_;
2306 ::google::protobuf::internal::ArenaStringPtr csharp_namespace_;
2307 ::google::protobuf::internal::ArenaStringPtr swift_prefix_;
2308 bool java_multiple_files_; 2095 bool java_multiple_files_;
2309 bool java_generate_equals_and_hash_; 2096 bool java_generate_equals_and_hash_;
2310 bool java_string_check_utf8_; 2097 bool java_string_check_utf8_;
2311 bool cc_generic_services_; 2098 bool cc_generic_services_;
2099 int optimize_for_;
2100 ::google::protobuf::internal::ArenaStringPtr go_package_;
2101 ::google::protobuf::internal::ArenaStringPtr objc_class_prefix_;
2102 ::google::protobuf::internal::ArenaStringPtr csharp_namespace_;
2103 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2312 bool java_generic_services_; 2104 bool java_generic_services_;
2313 bool py_generic_services_; 2105 bool py_generic_services_;
2314 bool deprecated_; 2106 bool deprecated_;
2315 bool cc_enable_arenas_; 2107 bool cc_enable_arenas_;
2316 int optimize_for_; 2108 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
2317 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 2109 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2318 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
2319 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
2320 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 2110 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2321 2111
2112 void InitAsDefaultInstance();
2113 static FileOptions* default_instance_;
2322 }; 2114 };
2323 // ------------------------------------------------------------------- 2115 // -------------------------------------------------------------------
2324 2116
2325 class LIBPROTOBUF_EXPORT MessageOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MessageOptions) */ { 2117 class LIBPROTOBUF_EXPORT MessageOptions : public ::google::protobuf::Message {
2326 public: 2118 public:
2327 MessageOptions(); 2119 MessageOptions();
2328 virtual ~MessageOptions(); 2120 virtual ~MessageOptions();
2329 2121
2330 MessageOptions(const MessageOptions& from); 2122 MessageOptions(const MessageOptions& from);
2331 2123
2332 inline MessageOptions& operator=(const MessageOptions& from) { 2124 inline MessageOptions& operator=(const MessageOptions& from) {
2333 CopyFrom(from); 2125 CopyFrom(from);
2334 return *this; 2126 return *this;
2335 } 2127 }
2336 2128
2337 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 2129 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2338 return _internal_metadata_.unknown_fields(); 2130 return _internal_metadata_.unknown_fields();
2339 } 2131 }
2340 2132
2341 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 2133 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2342 return _internal_metadata_.mutable_unknown_fields(); 2134 return _internal_metadata_.mutable_unknown_fields();
2343 } 2135 }
2344 2136
2345 static const ::google::protobuf::Descriptor* descriptor(); 2137 static const ::google::protobuf::Descriptor* descriptor();
2346 static const MessageOptions& default_instance(); 2138 static const MessageOptions& default_instance();
2347 2139
2348 static inline const MessageOptions* internal_default_instance() {
2349 return reinterpret_cast<const MessageOptions*>(
2350 &_MessageOptions_default_instance_);
2351 }
2352
2353 void Swap(MessageOptions* other); 2140 void Swap(MessageOptions* other);
2354 2141
2355 // implements Message ---------------------------------------------- 2142 // implements Message ----------------------------------------------
2356 2143
2357 inline MessageOptions* New() const PROTOBUF_FINAL { return New(NULL); } 2144 inline MessageOptions* New() const { return New(NULL); }
2358 2145
2359 MessageOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; 2146 MessageOptions* New(::google::protobuf::Arena* arena) const;
2360 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 2147 void CopyFrom(const ::google::protobuf::Message& from);
2361 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 2148 void MergeFrom(const ::google::protobuf::Message& from);
2362 void CopyFrom(const MessageOptions& from); 2149 void CopyFrom(const MessageOptions& from);
2363 void MergeFrom(const MessageOptions& from); 2150 void MergeFrom(const MessageOptions& from);
2364 void Clear() PROTOBUF_FINAL; 2151 void Clear();
2365 bool IsInitialized() const PROTOBUF_FINAL; 2152 bool IsInitialized() const;
2366 2153
2367 size_t ByteSizeLong() const PROTOBUF_FINAL; 2154 int ByteSize() const;
2368 bool MergePartialFromCodedStream( 2155 bool MergePartialFromCodedStream(
2369 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 2156 ::google::protobuf::io::CodedInputStream* input);
2370 void SerializeWithCachedSizes( 2157 void SerializeWithCachedSizes(
2371 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 2158 ::google::protobuf::io::CodedOutputStream* output) const;
2372 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 2159 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
2373 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 2160 int GetCachedSize() const { return _cached_size_; }
2374 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
2375 const PROTOBUF_FINAL {
2376 return InternalSerializeWithCachedSizesToArray(false, output);
2377 }
2378 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2379 private: 2161 private:
2380 void SharedCtor(); 2162 void SharedCtor();
2381 void SharedDtor(); 2163 void SharedDtor();
2382 void SetCachedSize(int size) const PROTOBUF_FINAL; 2164 void SetCachedSize(int size) const;
2383 void InternalSwap(MessageOptions* other); 2165 void InternalSwap(MessageOptions* other);
2384 private: 2166 private:
2385 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 2167 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2386 return NULL; 2168 return _internal_metadata_.arena();
2387 } 2169 }
2388 inline void* MaybeArenaPtr() const { 2170 inline void* MaybeArenaPtr() const {
2389 return NULL; 2171 return _internal_metadata_.raw_arena_ptr();
2390 } 2172 }
2391 public: 2173 public:
2392 2174
2393 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 2175 ::google::protobuf::Metadata GetMetadata() const;
2394 2176
2395 // nested types ---------------------------------------------------- 2177 // nested types ----------------------------------------------------
2396 2178
2397 // accessors ------------------------------------------------------- 2179 // accessors -------------------------------------------------------
2398 2180
2399 // optional bool message_set_wire_format = 1 [default = false]; 2181 // optional bool message_set_wire_format = 1 [default = false];
2400 bool has_message_set_wire_format() const; 2182 bool has_message_set_wire_format() const;
2401 void clear_message_set_wire_format(); 2183 void clear_message_set_wire_format();
2402 static const int kMessageSetWireFormatFieldNumber = 1; 2184 static const int kMessageSetWireFormatFieldNumber = 1;
2403 bool message_set_wire_format() const; 2185 bool message_set_wire_format() const;
(...skipping 28 matching lines...) Expand all
2432 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x); 2214 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x);
2433 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); 2215 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2434 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* 2216 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2435 mutable_uninterpreted_option(); 2217 mutable_uninterpreted_option();
2436 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >& 2218 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >&
2437 uninterpreted_option() const; 2219 uninterpreted_option() const;
2438 2220
2439 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions) 2221 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions)
2440 // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions) 2222 // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions)
2441 private: 2223 private:
2442 void set_has_message_set_wire_format(); 2224 inline void set_has_message_set_wire_format();
2443 void clear_has_message_set_wire_format(); 2225 inline void clear_has_message_set_wire_format();
2444 void set_has_no_standard_descriptor_accessor(); 2226 inline void set_has_no_standard_descriptor_accessor();
2445 void clear_has_no_standard_descriptor_accessor(); 2227 inline void clear_has_no_standard_descriptor_accessor();
2446 void set_has_deprecated(); 2228 inline void set_has_deprecated();
2447 void clear_has_deprecated(); 2229 inline void clear_has_deprecated();
2448 void set_has_map_entry(); 2230 inline void set_has_map_entry();
2449 void clear_has_map_entry(); 2231 inline void clear_has_map_entry();
2450 2232
2451 ::google::protobuf::internal::ExtensionSet _extensions_; 2233 ::google::protobuf::internal::ExtensionSet _extensions_;
2452 2234
2453 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 2235 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2454 ::google::protobuf::internal::HasBits<1> _has_bits_; 2236 ::google::protobuf::uint32 _has_bits_[1];
2455 mutable int _cached_size_; 2237 mutable int _cached_size_;
2456 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; 2238 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2457 bool message_set_wire_format_; 2239 bool message_set_wire_format_;
2458 bool no_standard_descriptor_accessor_; 2240 bool no_standard_descriptor_accessor_;
2459 bool deprecated_; 2241 bool deprecated_;
2460 bool map_entry_; 2242 bool map_entry_;
2461 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 2243 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
2462 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl(); 2244 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2463 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
2464 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 2245 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2465 2246
2247 void InitAsDefaultInstance();
2248 static MessageOptions* default_instance_;
2466 }; 2249 };
2467 // ------------------------------------------------------------------- 2250 // -------------------------------------------------------------------
2468 2251
2469 class LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message /* @@ protoc_insertion_point(class_definition:google.protobuf.FieldOptions) */ { 2252 class LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message {
2470 public: 2253 public:
2471 FieldOptions(); 2254 FieldOptions();
2472 virtual ~FieldOptions(); 2255 virtual ~FieldOptions();
2473 2256
2474 FieldOptions(const FieldOptions& from); 2257 FieldOptions(const FieldOptions& from);
2475 2258
2476 inline FieldOptions& operator=(const FieldOptions& from) { 2259 inline FieldOptions& operator=(const FieldOptions& from) {
2477 CopyFrom(from); 2260 CopyFrom(from);
2478 return *this; 2261 return *this;
2479 } 2262 }
2480 2263
2481 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 2264 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2482 return _internal_metadata_.unknown_fields(); 2265 return _internal_metadata_.unknown_fields();
2483 } 2266 }
2484 2267
2485 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 2268 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2486 return _internal_metadata_.mutable_unknown_fields(); 2269 return _internal_metadata_.mutable_unknown_fields();
2487 } 2270 }
2488 2271
2489 static const ::google::protobuf::Descriptor* descriptor(); 2272 static const ::google::protobuf::Descriptor* descriptor();
2490 static const FieldOptions& default_instance(); 2273 static const FieldOptions& default_instance();
2491 2274
2492 static inline const FieldOptions* internal_default_instance() {
2493 return reinterpret_cast<const FieldOptions*>(
2494 &_FieldOptions_default_instance_);
2495 }
2496
2497 void Swap(FieldOptions* other); 2275 void Swap(FieldOptions* other);
2498 2276
2499 // implements Message ---------------------------------------------- 2277 // implements Message ----------------------------------------------
2500 2278
2501 inline FieldOptions* New() const PROTOBUF_FINAL { return New(NULL); } 2279 inline FieldOptions* New() const { return New(NULL); }
2502 2280
2503 FieldOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; 2281 FieldOptions* New(::google::protobuf::Arena* arena) const;
2504 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 2282 void CopyFrom(const ::google::protobuf::Message& from);
2505 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 2283 void MergeFrom(const ::google::protobuf::Message& from);
2506 void CopyFrom(const FieldOptions& from); 2284 void CopyFrom(const FieldOptions& from);
2507 void MergeFrom(const FieldOptions& from); 2285 void MergeFrom(const FieldOptions& from);
2508 void Clear() PROTOBUF_FINAL; 2286 void Clear();
2509 bool IsInitialized() const PROTOBUF_FINAL; 2287 bool IsInitialized() const;
2510 2288
2511 size_t ByteSizeLong() const PROTOBUF_FINAL; 2289 int ByteSize() const;
2512 bool MergePartialFromCodedStream( 2290 bool MergePartialFromCodedStream(
2513 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 2291 ::google::protobuf::io::CodedInputStream* input);
2514 void SerializeWithCachedSizes( 2292 void SerializeWithCachedSizes(
2515 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 2293 ::google::protobuf::io::CodedOutputStream* output) const;
2516 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 2294 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
2517 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 2295 int GetCachedSize() const { return _cached_size_; }
2518 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
2519 const PROTOBUF_FINAL {
2520 return InternalSerializeWithCachedSizesToArray(false, output);
2521 }
2522 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2523 private: 2296 private:
2524 void SharedCtor(); 2297 void SharedCtor();
2525 void SharedDtor(); 2298 void SharedDtor();
2526 void SetCachedSize(int size) const PROTOBUF_FINAL; 2299 void SetCachedSize(int size) const;
2527 void InternalSwap(FieldOptions* other); 2300 void InternalSwap(FieldOptions* other);
2528 private: 2301 private:
2529 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 2302 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2530 return NULL; 2303 return _internal_metadata_.arena();
2531 } 2304 }
2532 inline void* MaybeArenaPtr() const { 2305 inline void* MaybeArenaPtr() const {
2533 return NULL; 2306 return _internal_metadata_.raw_arena_ptr();
2534 } 2307 }
2535 public: 2308 public:
2536 2309
2537 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 2310 ::google::protobuf::Metadata GetMetadata() const;
2538 2311
2539 // nested types ---------------------------------------------------- 2312 // nested types ----------------------------------------------------
2540 2313
2541 typedef FieldOptions_CType CType; 2314 typedef FieldOptions_CType CType;
2542 static const CType STRING = 2315 static const CType STRING =
2543 FieldOptions_CType_STRING; 2316 FieldOptions_CType_STRING;
2544 static const CType CORD = 2317 static const CType CORD =
2545 FieldOptions_CType_CORD; 2318 FieldOptions_CType_CORD;
2546 static const CType STRING_PIECE = 2319 static const CType STRING_PIECE =
2547 FieldOptions_CType_STRING_PIECE; 2320 FieldOptions_CType_STRING_PIECE;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
2646 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x); 2419 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x);
2647 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); 2420 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2648 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* 2421 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2649 mutable_uninterpreted_option(); 2422 mutable_uninterpreted_option();
2650 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >& 2423 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >&
2651 uninterpreted_option() const; 2424 uninterpreted_option() const;
2652 2425
2653 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions) 2426 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions)
2654 // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions) 2427 // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions)
2655 private: 2428 private:
2656 void set_has_ctype(); 2429 inline void set_has_ctype();
2657 void clear_has_ctype(); 2430 inline void clear_has_ctype();
2658 void set_has_packed(); 2431 inline void set_has_packed();
2659 void clear_has_packed(); 2432 inline void clear_has_packed();
2660 void set_has_jstype(); 2433 inline void set_has_jstype();
2661 void clear_has_jstype(); 2434 inline void clear_has_jstype();
2662 void set_has_lazy(); 2435 inline void set_has_lazy();
2663 void clear_has_lazy(); 2436 inline void clear_has_lazy();
2664 void set_has_deprecated(); 2437 inline void set_has_deprecated();
2665 void clear_has_deprecated(); 2438 inline void clear_has_deprecated();
2666 void set_has_weak(); 2439 inline void set_has_weak();
2667 void clear_has_weak(); 2440 inline void clear_has_weak();
2668 2441
2669 ::google::protobuf::internal::ExtensionSet _extensions_; 2442 ::google::protobuf::internal::ExtensionSet _extensions_;
2670 2443
2671 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 2444 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2672 ::google::protobuf::internal::HasBits<1> _has_bits_; 2445 ::google::protobuf::uint32 _has_bits_[1];
2673 mutable int _cached_size_; 2446 mutable int _cached_size_;
2674 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2675 int ctype_; 2447 int ctype_;
2676 int jstype_; 2448 int jstype_;
2449 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2677 bool packed_; 2450 bool packed_;
2678 bool lazy_; 2451 bool lazy_;
2679 bool deprecated_; 2452 bool deprecated_;
2680 bool weak_; 2453 bool weak_;
2681 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 2454 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
2682 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl(); 2455 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2683 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
2684 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 2456 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2685 2457
2458 void InitAsDefaultInstance();
2459 static FieldOptions* default_instance_;
2686 }; 2460 };
2687 // ------------------------------------------------------------------- 2461 // -------------------------------------------------------------------
2688 2462
2689 class LIBPROTOBUF_EXPORT OneofOptions : public ::google::protobuf::Message /* @@ protoc_insertion_point(class_definition:google.protobuf.OneofOptions) */ { 2463 class LIBPROTOBUF_EXPORT EnumOptions : public ::google::protobuf::Message {
2690 public:
2691 OneofOptions();
2692 virtual ~OneofOptions();
2693
2694 OneofOptions(const OneofOptions& from);
2695
2696 inline OneofOptions& operator=(const OneofOptions& from) {
2697 CopyFrom(from);
2698 return *this;
2699 }
2700
2701 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2702 return _internal_metadata_.unknown_fields();
2703 }
2704
2705 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2706 return _internal_metadata_.mutable_unknown_fields();
2707 }
2708
2709 static const ::google::protobuf::Descriptor* descriptor();
2710 static const OneofOptions& default_instance();
2711
2712 static inline const OneofOptions* internal_default_instance() {
2713 return reinterpret_cast<const OneofOptions*>(
2714 &_OneofOptions_default_instance_);
2715 }
2716
2717 void Swap(OneofOptions* other);
2718
2719 // implements Message ----------------------------------------------
2720
2721 inline OneofOptions* New() const PROTOBUF_FINAL { return New(NULL); }
2722
2723 OneofOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2724 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2725 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2726 void CopyFrom(const OneofOptions& from);
2727 void MergeFrom(const OneofOptions& from);
2728 void Clear() PROTOBUF_FINAL;
2729 bool IsInitialized() const PROTOBUF_FINAL;
2730
2731 size_t ByteSizeLong() const PROTOBUF_FINAL;
2732 bool MergePartialFromCodedStream(
2733 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2734 void SerializeWithCachedSizes(
2735 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2736 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2737 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
2738 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
2739 const PROTOBUF_FINAL {
2740 return InternalSerializeWithCachedSizesToArray(false, output);
2741 }
2742 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2743 private:
2744 void SharedCtor();
2745 void SharedDtor();
2746 void SetCachedSize(int size) const PROTOBUF_FINAL;
2747 void InternalSwap(OneofOptions* other);
2748 private:
2749 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2750 return NULL;
2751 }
2752 inline void* MaybeArenaPtr() const {
2753 return NULL;
2754 }
2755 public:
2756
2757 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2758
2759 // nested types ----------------------------------------------------
2760
2761 // accessors -------------------------------------------------------
2762
2763 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2764 int uninterpreted_option_size() const;
2765 void clear_uninterpreted_option();
2766 static const int kUninterpretedOptionFieldNumber = 999;
2767 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2768 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x);
2769 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2770 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2771 mutable_uninterpreted_option();
2772 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >&
2773 uninterpreted_option() const;
2774
2775 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(OneofOptions)
2776 // @@protoc_insertion_point(class_scope:google.protobuf.OneofOptions)
2777 private:
2778
2779 ::google::protobuf::internal::ExtensionSet _extensions_;
2780
2781 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2782 ::google::protobuf::internal::HasBits<1> _has_bits_;
2783 mutable int _cached_size_;
2784 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2785 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
2786 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
2787 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
2788 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2789
2790 };
2791 // -------------------------------------------------------------------
2792
2793 class LIBPROTOBUF_EXPORT EnumOptions : public ::google::protobuf::Message /* @@p rotoc_insertion_point(class_definition:google.protobuf.EnumOptions) */ {
2794 public: 2464 public:
2795 EnumOptions(); 2465 EnumOptions();
2796 virtual ~EnumOptions(); 2466 virtual ~EnumOptions();
2797 2467
2798 EnumOptions(const EnumOptions& from); 2468 EnumOptions(const EnumOptions& from);
2799 2469
2800 inline EnumOptions& operator=(const EnumOptions& from) { 2470 inline EnumOptions& operator=(const EnumOptions& from) {
2801 CopyFrom(from); 2471 CopyFrom(from);
2802 return *this; 2472 return *this;
2803 } 2473 }
2804 2474
2805 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 2475 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2806 return _internal_metadata_.unknown_fields(); 2476 return _internal_metadata_.unknown_fields();
2807 } 2477 }
2808 2478
2809 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 2479 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2810 return _internal_metadata_.mutable_unknown_fields(); 2480 return _internal_metadata_.mutable_unknown_fields();
2811 } 2481 }
2812 2482
2813 static const ::google::protobuf::Descriptor* descriptor(); 2483 static const ::google::protobuf::Descriptor* descriptor();
2814 static const EnumOptions& default_instance(); 2484 static const EnumOptions& default_instance();
2815 2485
2816 static inline const EnumOptions* internal_default_instance() {
2817 return reinterpret_cast<const EnumOptions*>(
2818 &_EnumOptions_default_instance_);
2819 }
2820
2821 void Swap(EnumOptions* other); 2486 void Swap(EnumOptions* other);
2822 2487
2823 // implements Message ---------------------------------------------- 2488 // implements Message ----------------------------------------------
2824 2489
2825 inline EnumOptions* New() const PROTOBUF_FINAL { return New(NULL); } 2490 inline EnumOptions* New() const { return New(NULL); }
2826 2491
2827 EnumOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; 2492 EnumOptions* New(::google::protobuf::Arena* arena) const;
2828 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 2493 void CopyFrom(const ::google::protobuf::Message& from);
2829 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 2494 void MergeFrom(const ::google::protobuf::Message& from);
2830 void CopyFrom(const EnumOptions& from); 2495 void CopyFrom(const EnumOptions& from);
2831 void MergeFrom(const EnumOptions& from); 2496 void MergeFrom(const EnumOptions& from);
2832 void Clear() PROTOBUF_FINAL; 2497 void Clear();
2833 bool IsInitialized() const PROTOBUF_FINAL; 2498 bool IsInitialized() const;
2834 2499
2835 size_t ByteSizeLong() const PROTOBUF_FINAL; 2500 int ByteSize() const;
2836 bool MergePartialFromCodedStream( 2501 bool MergePartialFromCodedStream(
2837 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 2502 ::google::protobuf::io::CodedInputStream* input);
2838 void SerializeWithCachedSizes( 2503 void SerializeWithCachedSizes(
2839 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 2504 ::google::protobuf::io::CodedOutputStream* output) const;
2840 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 2505 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
2841 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 2506 int GetCachedSize() const { return _cached_size_; }
2842 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
2843 const PROTOBUF_FINAL {
2844 return InternalSerializeWithCachedSizesToArray(false, output);
2845 }
2846 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2847 private: 2507 private:
2848 void SharedCtor(); 2508 void SharedCtor();
2849 void SharedDtor(); 2509 void SharedDtor();
2850 void SetCachedSize(int size) const PROTOBUF_FINAL; 2510 void SetCachedSize(int size) const;
2851 void InternalSwap(EnumOptions* other); 2511 void InternalSwap(EnumOptions* other);
2852 private: 2512 private:
2853 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 2513 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2854 return NULL; 2514 return _internal_metadata_.arena();
2855 } 2515 }
2856 inline void* MaybeArenaPtr() const { 2516 inline void* MaybeArenaPtr() const {
2857 return NULL; 2517 return _internal_metadata_.raw_arena_ptr();
2858 } 2518 }
2859 public: 2519 public:
2860 2520
2861 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 2521 ::google::protobuf::Metadata GetMetadata() const;
2862 2522
2863 // nested types ---------------------------------------------------- 2523 // nested types ----------------------------------------------------
2864 2524
2865 // accessors ------------------------------------------------------- 2525 // accessors -------------------------------------------------------
2866 2526
2867 // optional bool allow_alias = 2; 2527 // optional bool allow_alias = 2;
2868 bool has_allow_alias() const; 2528 bool has_allow_alias() const;
2869 void clear_allow_alias(); 2529 void clear_allow_alias();
2870 static const int kAllowAliasFieldNumber = 2; 2530 static const int kAllowAliasFieldNumber = 2;
2871 bool allow_alias() const; 2531 bool allow_alias() const;
(...skipping 14 matching lines...) Expand all
2886 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x); 2546 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x);
2887 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); 2547 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2888 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* 2548 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2889 mutable_uninterpreted_option(); 2549 mutable_uninterpreted_option();
2890 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >& 2550 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >&
2891 uninterpreted_option() const; 2551 uninterpreted_option() const;
2892 2552
2893 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions) 2553 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions)
2894 // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions) 2554 // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions)
2895 private: 2555 private:
2896 void set_has_allow_alias(); 2556 inline void set_has_allow_alias();
2897 void clear_has_allow_alias(); 2557 inline void clear_has_allow_alias();
2898 void set_has_deprecated(); 2558 inline void set_has_deprecated();
2899 void clear_has_deprecated(); 2559 inline void clear_has_deprecated();
2900 2560
2901 ::google::protobuf::internal::ExtensionSet _extensions_; 2561 ::google::protobuf::internal::ExtensionSet _extensions_;
2902 2562
2903 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 2563 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2904 ::google::protobuf::internal::HasBits<1> _has_bits_; 2564 ::google::protobuf::uint32 _has_bits_[1];
2905 mutable int _cached_size_; 2565 mutable int _cached_size_;
2906 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; 2566 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2907 bool allow_alias_; 2567 bool allow_alias_;
2908 bool deprecated_; 2568 bool deprecated_;
2909 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 2569 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
2910 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl(); 2570 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2911 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
2912 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 2571 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2913 2572
2573 void InitAsDefaultInstance();
2574 static EnumOptions* default_instance_;
2914 }; 2575 };
2915 // ------------------------------------------------------------------- 2576 // -------------------------------------------------------------------
2916 2577
2917 class LIBPROTOBUF_EXPORT EnumValueOptions : public ::google::protobuf::Message / * @@protoc_insertion_point(class_definition:google.protobuf.EnumValueOptions) */ { 2578 class LIBPROTOBUF_EXPORT EnumValueOptions : public ::google::protobuf::Message {
2918 public: 2579 public:
2919 EnumValueOptions(); 2580 EnumValueOptions();
2920 virtual ~EnumValueOptions(); 2581 virtual ~EnumValueOptions();
2921 2582
2922 EnumValueOptions(const EnumValueOptions& from); 2583 EnumValueOptions(const EnumValueOptions& from);
2923 2584
2924 inline EnumValueOptions& operator=(const EnumValueOptions& from) { 2585 inline EnumValueOptions& operator=(const EnumValueOptions& from) {
2925 CopyFrom(from); 2586 CopyFrom(from);
2926 return *this; 2587 return *this;
2927 } 2588 }
2928 2589
2929 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 2590 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2930 return _internal_metadata_.unknown_fields(); 2591 return _internal_metadata_.unknown_fields();
2931 } 2592 }
2932 2593
2933 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 2594 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2934 return _internal_metadata_.mutable_unknown_fields(); 2595 return _internal_metadata_.mutable_unknown_fields();
2935 } 2596 }
2936 2597
2937 static const ::google::protobuf::Descriptor* descriptor(); 2598 static const ::google::protobuf::Descriptor* descriptor();
2938 static const EnumValueOptions& default_instance(); 2599 static const EnumValueOptions& default_instance();
2939 2600
2940 static inline const EnumValueOptions* internal_default_instance() {
2941 return reinterpret_cast<const EnumValueOptions*>(
2942 &_EnumValueOptions_default_instance_);
2943 }
2944
2945 void Swap(EnumValueOptions* other); 2601 void Swap(EnumValueOptions* other);
2946 2602
2947 // implements Message ---------------------------------------------- 2603 // implements Message ----------------------------------------------
2948 2604
2949 inline EnumValueOptions* New() const PROTOBUF_FINAL { return New(NULL); } 2605 inline EnumValueOptions* New() const { return New(NULL); }
2950 2606
2951 EnumValueOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; 2607 EnumValueOptions* New(::google::protobuf::Arena* arena) const;
2952 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 2608 void CopyFrom(const ::google::protobuf::Message& from);
2953 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 2609 void MergeFrom(const ::google::protobuf::Message& from);
2954 void CopyFrom(const EnumValueOptions& from); 2610 void CopyFrom(const EnumValueOptions& from);
2955 void MergeFrom(const EnumValueOptions& from); 2611 void MergeFrom(const EnumValueOptions& from);
2956 void Clear() PROTOBUF_FINAL; 2612 void Clear();
2957 bool IsInitialized() const PROTOBUF_FINAL; 2613 bool IsInitialized() const;
2958 2614
2959 size_t ByteSizeLong() const PROTOBUF_FINAL; 2615 int ByteSize() const;
2960 bool MergePartialFromCodedStream( 2616 bool MergePartialFromCodedStream(
2961 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 2617 ::google::protobuf::io::CodedInputStream* input);
2962 void SerializeWithCachedSizes( 2618 void SerializeWithCachedSizes(
2963 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 2619 ::google::protobuf::io::CodedOutputStream* output) const;
2964 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 2620 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
2965 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 2621 int GetCachedSize() const { return _cached_size_; }
2966 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
2967 const PROTOBUF_FINAL {
2968 return InternalSerializeWithCachedSizesToArray(false, output);
2969 }
2970 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2971 private: 2622 private:
2972 void SharedCtor(); 2623 void SharedCtor();
2973 void SharedDtor(); 2624 void SharedDtor();
2974 void SetCachedSize(int size) const PROTOBUF_FINAL; 2625 void SetCachedSize(int size) const;
2975 void InternalSwap(EnumValueOptions* other); 2626 void InternalSwap(EnumValueOptions* other);
2976 private: 2627 private:
2977 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 2628 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2978 return NULL; 2629 return _internal_metadata_.arena();
2979 } 2630 }
2980 inline void* MaybeArenaPtr() const { 2631 inline void* MaybeArenaPtr() const {
2981 return NULL; 2632 return _internal_metadata_.raw_arena_ptr();
2982 } 2633 }
2983 public: 2634 public:
2984 2635
2985 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 2636 ::google::protobuf::Metadata GetMetadata() const;
2986 2637
2987 // nested types ---------------------------------------------------- 2638 // nested types ----------------------------------------------------
2988 2639
2989 // accessors ------------------------------------------------------- 2640 // accessors -------------------------------------------------------
2990 2641
2991 // optional bool deprecated = 1 [default = false]; 2642 // optional bool deprecated = 1 [default = false];
2992 bool has_deprecated() const; 2643 bool has_deprecated() const;
2993 void clear_deprecated(); 2644 void clear_deprecated();
2994 static const int kDeprecatedFieldNumber = 1; 2645 static const int kDeprecatedFieldNumber = 1;
2995 bool deprecated() const; 2646 bool deprecated() const;
2996 void set_deprecated(bool value); 2647 void set_deprecated(bool value);
2997 2648
2998 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 2649 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2999 int uninterpreted_option_size() const; 2650 int uninterpreted_option_size() const;
3000 void clear_uninterpreted_option(); 2651 void clear_uninterpreted_option();
3001 static const int kUninterpretedOptionFieldNumber = 999; 2652 static const int kUninterpretedOptionFieldNumber = 999;
3002 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; 2653 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
3003 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x); 2654 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x);
3004 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); 2655 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
3005 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* 2656 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
3006 mutable_uninterpreted_option(); 2657 mutable_uninterpreted_option();
3007 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >& 2658 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >&
3008 uninterpreted_option() const; 2659 uninterpreted_option() const;
3009 2660
3010 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions) 2661 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions)
3011 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions) 2662 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions)
3012 private: 2663 private:
3013 void set_has_deprecated(); 2664 inline void set_has_deprecated();
3014 void clear_has_deprecated(); 2665 inline void clear_has_deprecated();
3015 2666
3016 ::google::protobuf::internal::ExtensionSet _extensions_; 2667 ::google::protobuf::internal::ExtensionSet _extensions_;
3017 2668
3018 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 2669 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3019 ::google::protobuf::internal::HasBits<1> _has_bits_; 2670 ::google::protobuf::uint32 _has_bits_[1];
3020 mutable int _cached_size_; 2671 mutable int _cached_size_;
3021 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; 2672 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
3022 bool deprecated_; 2673 bool deprecated_;
3023 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 2674 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
3024 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl(); 2675 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
3025 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
3026 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 2676 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3027 2677
2678 void InitAsDefaultInstance();
2679 static EnumValueOptions* default_instance_;
3028 }; 2680 };
3029 // ------------------------------------------------------------------- 2681 // -------------------------------------------------------------------
3030 2682
3031 class LIBPROTOBUF_EXPORT ServiceOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceOptions) */ { 2683 class LIBPROTOBUF_EXPORT ServiceOptions : public ::google::protobuf::Message {
3032 public: 2684 public:
3033 ServiceOptions(); 2685 ServiceOptions();
3034 virtual ~ServiceOptions(); 2686 virtual ~ServiceOptions();
3035 2687
3036 ServiceOptions(const ServiceOptions& from); 2688 ServiceOptions(const ServiceOptions& from);
3037 2689
3038 inline ServiceOptions& operator=(const ServiceOptions& from) { 2690 inline ServiceOptions& operator=(const ServiceOptions& from) {
3039 CopyFrom(from); 2691 CopyFrom(from);
3040 return *this; 2692 return *this;
3041 } 2693 }
3042 2694
3043 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 2695 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3044 return _internal_metadata_.unknown_fields(); 2696 return _internal_metadata_.unknown_fields();
3045 } 2697 }
3046 2698
3047 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 2699 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3048 return _internal_metadata_.mutable_unknown_fields(); 2700 return _internal_metadata_.mutable_unknown_fields();
3049 } 2701 }
3050 2702
3051 static const ::google::protobuf::Descriptor* descriptor(); 2703 static const ::google::protobuf::Descriptor* descriptor();
3052 static const ServiceOptions& default_instance(); 2704 static const ServiceOptions& default_instance();
3053 2705
3054 static inline const ServiceOptions* internal_default_instance() {
3055 return reinterpret_cast<const ServiceOptions*>(
3056 &_ServiceOptions_default_instance_);
3057 }
3058
3059 void Swap(ServiceOptions* other); 2706 void Swap(ServiceOptions* other);
3060 2707
3061 // implements Message ---------------------------------------------- 2708 // implements Message ----------------------------------------------
3062 2709
3063 inline ServiceOptions* New() const PROTOBUF_FINAL { return New(NULL); } 2710 inline ServiceOptions* New() const { return New(NULL); }
3064 2711
3065 ServiceOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; 2712 ServiceOptions* New(::google::protobuf::Arena* arena) const;
3066 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 2713 void CopyFrom(const ::google::protobuf::Message& from);
3067 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 2714 void MergeFrom(const ::google::protobuf::Message& from);
3068 void CopyFrom(const ServiceOptions& from); 2715 void CopyFrom(const ServiceOptions& from);
3069 void MergeFrom(const ServiceOptions& from); 2716 void MergeFrom(const ServiceOptions& from);
3070 void Clear() PROTOBUF_FINAL; 2717 void Clear();
3071 bool IsInitialized() const PROTOBUF_FINAL; 2718 bool IsInitialized() const;
3072 2719
3073 size_t ByteSizeLong() const PROTOBUF_FINAL; 2720 int ByteSize() const;
3074 bool MergePartialFromCodedStream( 2721 bool MergePartialFromCodedStream(
3075 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 2722 ::google::protobuf::io::CodedInputStream* input);
3076 void SerializeWithCachedSizes( 2723 void SerializeWithCachedSizes(
3077 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 2724 ::google::protobuf::io::CodedOutputStream* output) const;
3078 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 2725 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
3079 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 2726 int GetCachedSize() const { return _cached_size_; }
3080 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
3081 const PROTOBUF_FINAL {
3082 return InternalSerializeWithCachedSizesToArray(false, output);
3083 }
3084 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3085 private: 2727 private:
3086 void SharedCtor(); 2728 void SharedCtor();
3087 void SharedDtor(); 2729 void SharedDtor();
3088 void SetCachedSize(int size) const PROTOBUF_FINAL; 2730 void SetCachedSize(int size) const;
3089 void InternalSwap(ServiceOptions* other); 2731 void InternalSwap(ServiceOptions* other);
3090 private: 2732 private:
3091 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 2733 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3092 return NULL; 2734 return _internal_metadata_.arena();
3093 } 2735 }
3094 inline void* MaybeArenaPtr() const { 2736 inline void* MaybeArenaPtr() const {
3095 return NULL; 2737 return _internal_metadata_.raw_arena_ptr();
3096 } 2738 }
3097 public: 2739 public:
3098 2740
3099 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 2741 ::google::protobuf::Metadata GetMetadata() const;
3100 2742
3101 // nested types ---------------------------------------------------- 2743 // nested types ----------------------------------------------------
3102 2744
3103 // accessors ------------------------------------------------------- 2745 // accessors -------------------------------------------------------
3104 2746
3105 // optional bool deprecated = 33 [default = false]; 2747 // optional bool deprecated = 33 [default = false];
3106 bool has_deprecated() const; 2748 bool has_deprecated() const;
3107 void clear_deprecated(); 2749 void clear_deprecated();
3108 static const int kDeprecatedFieldNumber = 33; 2750 static const int kDeprecatedFieldNumber = 33;
3109 bool deprecated() const; 2751 bool deprecated() const;
3110 void set_deprecated(bool value); 2752 void set_deprecated(bool value);
3111 2753
3112 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 2754 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
3113 int uninterpreted_option_size() const; 2755 int uninterpreted_option_size() const;
3114 void clear_uninterpreted_option(); 2756 void clear_uninterpreted_option();
3115 static const int kUninterpretedOptionFieldNumber = 999; 2757 static const int kUninterpretedOptionFieldNumber = 999;
3116 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; 2758 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
3117 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x); 2759 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x);
3118 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); 2760 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
3119 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* 2761 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
3120 mutable_uninterpreted_option(); 2762 mutable_uninterpreted_option();
3121 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >& 2763 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >&
3122 uninterpreted_option() const; 2764 uninterpreted_option() const;
3123 2765
3124 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions) 2766 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions)
3125 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions) 2767 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions)
3126 private: 2768 private:
3127 void set_has_deprecated(); 2769 inline void set_has_deprecated();
3128 void clear_has_deprecated(); 2770 inline void clear_has_deprecated();
3129 2771
3130 ::google::protobuf::internal::ExtensionSet _extensions_; 2772 ::google::protobuf::internal::ExtensionSet _extensions_;
3131 2773
3132 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 2774 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3133 ::google::protobuf::internal::HasBits<1> _has_bits_; 2775 ::google::protobuf::uint32 _has_bits_[1];
3134 mutable int _cached_size_; 2776 mutable int _cached_size_;
3135 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; 2777 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
3136 bool deprecated_; 2778 bool deprecated_;
3137 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 2779 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
3138 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl(); 2780 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
3139 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
3140 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 2781 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3141 2782
2783 void InitAsDefaultInstance();
2784 static ServiceOptions* default_instance_;
3142 }; 2785 };
3143 // ------------------------------------------------------------------- 2786 // -------------------------------------------------------------------
3144 2787
3145 class LIBPROTOBUF_EXPORT MethodOptions : public ::google::protobuf::Message /* @ @protoc_insertion_point(class_definition:google.protobuf.MethodOptions) */ { 2788 class LIBPROTOBUF_EXPORT MethodOptions : public ::google::protobuf::Message {
3146 public: 2789 public:
3147 MethodOptions(); 2790 MethodOptions();
3148 virtual ~MethodOptions(); 2791 virtual ~MethodOptions();
3149 2792
3150 MethodOptions(const MethodOptions& from); 2793 MethodOptions(const MethodOptions& from);
3151 2794
3152 inline MethodOptions& operator=(const MethodOptions& from) { 2795 inline MethodOptions& operator=(const MethodOptions& from) {
3153 CopyFrom(from); 2796 CopyFrom(from);
3154 return *this; 2797 return *this;
3155 } 2798 }
3156 2799
3157 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 2800 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3158 return _internal_metadata_.unknown_fields(); 2801 return _internal_metadata_.unknown_fields();
3159 } 2802 }
3160 2803
3161 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 2804 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3162 return _internal_metadata_.mutable_unknown_fields(); 2805 return _internal_metadata_.mutable_unknown_fields();
3163 } 2806 }
3164 2807
3165 static const ::google::protobuf::Descriptor* descriptor(); 2808 static const ::google::protobuf::Descriptor* descriptor();
3166 static const MethodOptions& default_instance(); 2809 static const MethodOptions& default_instance();
3167 2810
3168 static inline const MethodOptions* internal_default_instance() {
3169 return reinterpret_cast<const MethodOptions*>(
3170 &_MethodOptions_default_instance_);
3171 }
3172
3173 void Swap(MethodOptions* other); 2811 void Swap(MethodOptions* other);
3174 2812
3175 // implements Message ---------------------------------------------- 2813 // implements Message ----------------------------------------------
3176 2814
3177 inline MethodOptions* New() const PROTOBUF_FINAL { return New(NULL); } 2815 inline MethodOptions* New() const { return New(NULL); }
3178 2816
3179 MethodOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; 2817 MethodOptions* New(::google::protobuf::Arena* arena) const;
3180 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 2818 void CopyFrom(const ::google::protobuf::Message& from);
3181 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 2819 void MergeFrom(const ::google::protobuf::Message& from);
3182 void CopyFrom(const MethodOptions& from); 2820 void CopyFrom(const MethodOptions& from);
3183 void MergeFrom(const MethodOptions& from); 2821 void MergeFrom(const MethodOptions& from);
3184 void Clear() PROTOBUF_FINAL; 2822 void Clear();
3185 bool IsInitialized() const PROTOBUF_FINAL; 2823 bool IsInitialized() const;
3186 2824
3187 size_t ByteSizeLong() const PROTOBUF_FINAL; 2825 int ByteSize() const;
3188 bool MergePartialFromCodedStream( 2826 bool MergePartialFromCodedStream(
3189 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 2827 ::google::protobuf::io::CodedInputStream* input);
3190 void SerializeWithCachedSizes( 2828 void SerializeWithCachedSizes(
3191 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 2829 ::google::protobuf::io::CodedOutputStream* output) const;
3192 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 2830 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
3193 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 2831 int GetCachedSize() const { return _cached_size_; }
3194 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
3195 const PROTOBUF_FINAL {
3196 return InternalSerializeWithCachedSizesToArray(false, output);
3197 }
3198 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3199 private: 2832 private:
3200 void SharedCtor(); 2833 void SharedCtor();
3201 void SharedDtor(); 2834 void SharedDtor();
3202 void SetCachedSize(int size) const PROTOBUF_FINAL; 2835 void SetCachedSize(int size) const;
3203 void InternalSwap(MethodOptions* other); 2836 void InternalSwap(MethodOptions* other);
3204 private: 2837 private:
3205 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 2838 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3206 return NULL; 2839 return _internal_metadata_.arena();
3207 } 2840 }
3208 inline void* MaybeArenaPtr() const { 2841 inline void* MaybeArenaPtr() const {
3209 return NULL; 2842 return _internal_metadata_.raw_arena_ptr();
3210 } 2843 }
3211 public: 2844 public:
3212 2845
3213 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 2846 ::google::protobuf::Metadata GetMetadata() const;
3214 2847
3215 // nested types ---------------------------------------------------- 2848 // nested types ----------------------------------------------------
3216 2849
3217 typedef MethodOptions_IdempotencyLevel IdempotencyLevel;
3218 static const IdempotencyLevel IDEMPOTENCY_UNKNOWN =
3219 MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN;
3220 static const IdempotencyLevel NO_SIDE_EFFECTS =
3221 MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS;
3222 static const IdempotencyLevel IDEMPOTENT =
3223 MethodOptions_IdempotencyLevel_IDEMPOTENT;
3224 static inline bool IdempotencyLevel_IsValid(int value) {
3225 return MethodOptions_IdempotencyLevel_IsValid(value);
3226 }
3227 static const IdempotencyLevel IdempotencyLevel_MIN =
3228 MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN;
3229 static const IdempotencyLevel IdempotencyLevel_MAX =
3230 MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX;
3231 static const int IdempotencyLevel_ARRAYSIZE =
3232 MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE;
3233 static inline const ::google::protobuf::EnumDescriptor*
3234 IdempotencyLevel_descriptor() {
3235 return MethodOptions_IdempotencyLevel_descriptor();
3236 }
3237 static inline const ::std::string& IdempotencyLevel_Name(IdempotencyLevel valu e) {
3238 return MethodOptions_IdempotencyLevel_Name(value);
3239 }
3240 static inline bool IdempotencyLevel_Parse(const ::std::string& name,
3241 IdempotencyLevel* value) {
3242 return MethodOptions_IdempotencyLevel_Parse(name, value);
3243 }
3244
3245 // accessors ------------------------------------------------------- 2850 // accessors -------------------------------------------------------
3246 2851
3247 // optional bool deprecated = 33 [default = false]; 2852 // optional bool deprecated = 33 [default = false];
3248 bool has_deprecated() const; 2853 bool has_deprecated() const;
3249 void clear_deprecated(); 2854 void clear_deprecated();
3250 static const int kDeprecatedFieldNumber = 33; 2855 static const int kDeprecatedFieldNumber = 33;
3251 bool deprecated() const; 2856 bool deprecated() const;
3252 void set_deprecated(bool value); 2857 void set_deprecated(bool value);
3253 2858
3254 // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
3255 bool has_idempotency_level() const;
3256 void clear_idempotency_level();
3257 static const int kIdempotencyLevelFieldNumber = 34;
3258 ::google::protobuf::MethodOptions_IdempotencyLevel idempotency_level() const;
3259 void set_idempotency_level(::google::protobuf::MethodOptions_IdempotencyLevel value);
3260
3261 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 2859 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
3262 int uninterpreted_option_size() const; 2860 int uninterpreted_option_size() const;
3263 void clear_uninterpreted_option(); 2861 void clear_uninterpreted_option();
3264 static const int kUninterpretedOptionFieldNumber = 999; 2862 static const int kUninterpretedOptionFieldNumber = 999;
3265 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; 2863 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
3266 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x); 2864 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x);
3267 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); 2865 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
3268 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* 2866 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
3269 mutable_uninterpreted_option(); 2867 mutable_uninterpreted_option();
3270 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >& 2868 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >&
3271 uninterpreted_option() const; 2869 uninterpreted_option() const;
3272 2870
3273 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions) 2871 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions)
3274 // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions) 2872 // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions)
3275 private: 2873 private:
3276 void set_has_deprecated(); 2874 inline void set_has_deprecated();
3277 void clear_has_deprecated(); 2875 inline void clear_has_deprecated();
3278 void set_has_idempotency_level();
3279 void clear_has_idempotency_level();
3280 2876
3281 ::google::protobuf::internal::ExtensionSet _extensions_; 2877 ::google::protobuf::internal::ExtensionSet _extensions_;
3282 2878
3283 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 2879 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3284 ::google::protobuf::internal::HasBits<1> _has_bits_; 2880 ::google::protobuf::uint32 _has_bits_[1];
3285 mutable int _cached_size_; 2881 mutable int _cached_size_;
3286 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; 2882 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
3287 bool deprecated_; 2883 bool deprecated_;
3288 int idempotency_level_; 2884 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
3289 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 2885 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
3290 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
3291 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
3292 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 2886 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3293 2887
2888 void InitAsDefaultInstance();
2889 static MethodOptions* default_instance_;
3294 }; 2890 };
3295 // ------------------------------------------------------------------- 2891 // -------------------------------------------------------------------
3296 2892
3297 class LIBPROTOBUF_EXPORT UninterpretedOption_NamePart : public ::google::protobu f::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Uninterp retedOption.NamePart) */ { 2893 class LIBPROTOBUF_EXPORT UninterpretedOption_NamePart : public ::google::protobu f::Message {
3298 public: 2894 public:
3299 UninterpretedOption_NamePart(); 2895 UninterpretedOption_NamePart();
3300 virtual ~UninterpretedOption_NamePart(); 2896 virtual ~UninterpretedOption_NamePart();
3301 2897
3302 UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from); 2898 UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from);
3303 2899
3304 inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NameP art& from) { 2900 inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NameP art& from) {
3305 CopyFrom(from); 2901 CopyFrom(from);
3306 return *this; 2902 return *this;
3307 } 2903 }
3308 2904
3309 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 2905 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3310 return _internal_metadata_.unknown_fields(); 2906 return _internal_metadata_.unknown_fields();
3311 } 2907 }
3312 2908
3313 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 2909 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3314 return _internal_metadata_.mutable_unknown_fields(); 2910 return _internal_metadata_.mutable_unknown_fields();
3315 } 2911 }
3316 2912
3317 static const ::google::protobuf::Descriptor* descriptor(); 2913 static const ::google::protobuf::Descriptor* descriptor();
3318 static const UninterpretedOption_NamePart& default_instance(); 2914 static const UninterpretedOption_NamePart& default_instance();
3319 2915
3320 static inline const UninterpretedOption_NamePart* internal_default_instance() {
3321 return reinterpret_cast<const UninterpretedOption_NamePart*>(
3322 &_UninterpretedOption_NamePart_default_instance_);
3323 }
3324
3325 void Swap(UninterpretedOption_NamePart* other); 2916 void Swap(UninterpretedOption_NamePart* other);
3326 2917
3327 // implements Message ---------------------------------------------- 2918 // implements Message ----------------------------------------------
3328 2919
3329 inline UninterpretedOption_NamePart* New() const PROTOBUF_FINAL { return New(N ULL); } 2920 inline UninterpretedOption_NamePart* New() const { return New(NULL); }
3330 2921
3331 UninterpretedOption_NamePart* New(::google::protobuf::Arena* arena) const PROT OBUF_FINAL; 2922 UninterpretedOption_NamePart* New(::google::protobuf::Arena* arena) const;
3332 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 2923 void CopyFrom(const ::google::protobuf::Message& from);
3333 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 2924 void MergeFrom(const ::google::protobuf::Message& from);
3334 void CopyFrom(const UninterpretedOption_NamePart& from); 2925 void CopyFrom(const UninterpretedOption_NamePart& from);
3335 void MergeFrom(const UninterpretedOption_NamePart& from); 2926 void MergeFrom(const UninterpretedOption_NamePart& from);
3336 void Clear() PROTOBUF_FINAL; 2927 void Clear();
3337 bool IsInitialized() const PROTOBUF_FINAL; 2928 bool IsInitialized() const;
3338 2929
3339 size_t ByteSizeLong() const PROTOBUF_FINAL; 2930 int ByteSize() const;
3340 bool MergePartialFromCodedStream( 2931 bool MergePartialFromCodedStream(
3341 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 2932 ::google::protobuf::io::CodedInputStream* input);
3342 void SerializeWithCachedSizes( 2933 void SerializeWithCachedSizes(
3343 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 2934 ::google::protobuf::io::CodedOutputStream* output) const;
3344 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 2935 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
3345 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 2936 int GetCachedSize() const { return _cached_size_; }
3346 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
3347 const PROTOBUF_FINAL {
3348 return InternalSerializeWithCachedSizesToArray(false, output);
3349 }
3350 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3351 private: 2937 private:
3352 void SharedCtor(); 2938 void SharedCtor();
3353 void SharedDtor(); 2939 void SharedDtor();
3354 void SetCachedSize(int size) const PROTOBUF_FINAL; 2940 void SetCachedSize(int size) const;
3355 void InternalSwap(UninterpretedOption_NamePart* other); 2941 void InternalSwap(UninterpretedOption_NamePart* other);
3356 private: 2942 private:
3357 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 2943 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3358 return NULL; 2944 return _internal_metadata_.arena();
3359 } 2945 }
3360 inline void* MaybeArenaPtr() const { 2946 inline void* MaybeArenaPtr() const {
3361 return NULL; 2947 return _internal_metadata_.raw_arena_ptr();
3362 } 2948 }
3363 public: 2949 public:
3364 2950
3365 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 2951 ::google::protobuf::Metadata GetMetadata() const;
3366 2952
3367 // nested types ---------------------------------------------------- 2953 // nested types ----------------------------------------------------
3368 2954
3369 // accessors ------------------------------------------------------- 2955 // accessors -------------------------------------------------------
3370 2956
3371 // required string name_part = 1; 2957 // required string name_part = 1;
3372 bool has_name_part() const; 2958 bool has_name_part() const;
3373 void clear_name_part(); 2959 void clear_name_part();
3374 static const int kNamePartFieldNumber = 1; 2960 static const int kNamePartFieldNumber = 1;
3375 const ::std::string& name_part() const; 2961 const ::std::string& name_part() const;
3376 void set_name_part(const ::std::string& value); 2962 void set_name_part(const ::std::string& value);
3377 void set_name_part(const char* value); 2963 void set_name_part(const char* value);
3378 void set_name_part(const char* value, size_t size); 2964 void set_name_part(const char* value, size_t size);
3379 ::std::string* mutable_name_part(); 2965 ::std::string* mutable_name_part();
3380 ::std::string* release_name_part(); 2966 ::std::string* release_name_part();
3381 void set_allocated_name_part(::std::string* name_part); 2967 void set_allocated_name_part(::std::string* name_part);
3382 2968
3383 // required bool is_extension = 2; 2969 // required bool is_extension = 2;
3384 bool has_is_extension() const; 2970 bool has_is_extension() const;
3385 void clear_is_extension(); 2971 void clear_is_extension();
3386 static const int kIsExtensionFieldNumber = 2; 2972 static const int kIsExtensionFieldNumber = 2;
3387 bool is_extension() const; 2973 bool is_extension() const;
3388 void set_is_extension(bool value); 2974 void set_is_extension(bool value);
3389 2975
3390 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.Na mePart) 2976 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.Na mePart)
3391 private: 2977 private:
3392 void set_has_name_part(); 2978 inline void set_has_name_part();
3393 void clear_has_name_part(); 2979 inline void clear_has_name_part();
3394 void set_has_is_extension(); 2980 inline void set_has_is_extension();
3395 void clear_has_is_extension(); 2981 inline void clear_has_is_extension();
3396 2982
3397 // helper for ByteSizeLong() 2983 // helper for ByteSize()
3398 size_t RequiredFieldsByteSizeFallback() const; 2984 int RequiredFieldsByteSizeFallback() const;
3399 2985
3400 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 2986 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3401 ::google::protobuf::internal::HasBits<1> _has_bits_; 2987 ::google::protobuf::uint32 _has_bits_[1];
3402 mutable int _cached_size_; 2988 mutable int _cached_size_;
3403 ::google::protobuf::internal::ArenaStringPtr name_part_; 2989 ::google::protobuf::internal::ArenaStringPtr name_part_;
3404 bool is_extension_; 2990 bool is_extension_;
3405 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 2991 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
3406 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl(); 2992 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
3407 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
3408 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 2993 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3409 2994
2995 void InitAsDefaultInstance();
2996 static UninterpretedOption_NamePart* default_instance_;
3410 }; 2997 };
3411 // ------------------------------------------------------------------- 2998 // -------------------------------------------------------------------
3412 2999
3413 class LIBPROTOBUF_EXPORT UninterpretedOption : public ::google::protobuf::Messag e /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOpti on) */ { 3000 class LIBPROTOBUF_EXPORT UninterpretedOption : public ::google::protobuf::Messag e {
3414 public: 3001 public:
3415 UninterpretedOption(); 3002 UninterpretedOption();
3416 virtual ~UninterpretedOption(); 3003 virtual ~UninterpretedOption();
3417 3004
3418 UninterpretedOption(const UninterpretedOption& from); 3005 UninterpretedOption(const UninterpretedOption& from);
3419 3006
3420 inline UninterpretedOption& operator=(const UninterpretedOption& from) { 3007 inline UninterpretedOption& operator=(const UninterpretedOption& from) {
3421 CopyFrom(from); 3008 CopyFrom(from);
3422 return *this; 3009 return *this;
3423 } 3010 }
3424 3011
3425 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 3012 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3426 return _internal_metadata_.unknown_fields(); 3013 return _internal_metadata_.unknown_fields();
3427 } 3014 }
3428 3015
3429 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 3016 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3430 return _internal_metadata_.mutable_unknown_fields(); 3017 return _internal_metadata_.mutable_unknown_fields();
3431 } 3018 }
3432 3019
3433 static const ::google::protobuf::Descriptor* descriptor(); 3020 static const ::google::protobuf::Descriptor* descriptor();
3434 static const UninterpretedOption& default_instance(); 3021 static const UninterpretedOption& default_instance();
3435 3022
3436 static inline const UninterpretedOption* internal_default_instance() {
3437 return reinterpret_cast<const UninterpretedOption*>(
3438 &_UninterpretedOption_default_instance_);
3439 }
3440
3441 void Swap(UninterpretedOption* other); 3023 void Swap(UninterpretedOption* other);
3442 3024
3443 // implements Message ---------------------------------------------- 3025 // implements Message ----------------------------------------------
3444 3026
3445 inline UninterpretedOption* New() const PROTOBUF_FINAL { return New(NULL); } 3027 inline UninterpretedOption* New() const { return New(NULL); }
3446 3028
3447 UninterpretedOption* New(::google::protobuf::Arena* arena) const PROTOBUF_FINA L; 3029 UninterpretedOption* New(::google::protobuf::Arena* arena) const;
3448 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 3030 void CopyFrom(const ::google::protobuf::Message& from);
3449 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 3031 void MergeFrom(const ::google::protobuf::Message& from);
3450 void CopyFrom(const UninterpretedOption& from); 3032 void CopyFrom(const UninterpretedOption& from);
3451 void MergeFrom(const UninterpretedOption& from); 3033 void MergeFrom(const UninterpretedOption& from);
3452 void Clear() PROTOBUF_FINAL; 3034 void Clear();
3453 bool IsInitialized() const PROTOBUF_FINAL; 3035 bool IsInitialized() const;
3454 3036
3455 size_t ByteSizeLong() const PROTOBUF_FINAL; 3037 int ByteSize() const;
3456 bool MergePartialFromCodedStream( 3038 bool MergePartialFromCodedStream(
3457 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 3039 ::google::protobuf::io::CodedInputStream* input);
3458 void SerializeWithCachedSizes( 3040 void SerializeWithCachedSizes(
3459 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 3041 ::google::protobuf::io::CodedOutputStream* output) const;
3460 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 3042 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
3461 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 3043 int GetCachedSize() const { return _cached_size_; }
3462 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
3463 const PROTOBUF_FINAL {
3464 return InternalSerializeWithCachedSizesToArray(false, output);
3465 }
3466 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3467 private: 3044 private:
3468 void SharedCtor(); 3045 void SharedCtor();
3469 void SharedDtor(); 3046 void SharedDtor();
3470 void SetCachedSize(int size) const PROTOBUF_FINAL; 3047 void SetCachedSize(int size) const;
3471 void InternalSwap(UninterpretedOption* other); 3048 void InternalSwap(UninterpretedOption* other);
3472 private: 3049 private:
3473 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 3050 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3474 return NULL; 3051 return _internal_metadata_.arena();
3475 } 3052 }
3476 inline void* MaybeArenaPtr() const { 3053 inline void* MaybeArenaPtr() const {
3477 return NULL; 3054 return _internal_metadata_.raw_arena_ptr();
3478 } 3055 }
3479 public: 3056 public:
3480 3057
3481 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 3058 ::google::protobuf::Metadata GetMetadata() const;
3482 3059
3483 // nested types ---------------------------------------------------- 3060 // nested types ----------------------------------------------------
3484 3061
3485 typedef UninterpretedOption_NamePart NamePart; 3062 typedef UninterpretedOption_NamePart NamePart;
3486 3063
3487 // accessors ------------------------------------------------------- 3064 // accessors -------------------------------------------------------
3488 3065
3489 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; 3066 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
3490 int name_size() const; 3067 int name_size() const;
3491 void clear_name(); 3068 void clear_name();
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
3550 const ::std::string& aggregate_value() const; 3127 const ::std::string& aggregate_value() const;
3551 void set_aggregate_value(const ::std::string& value); 3128 void set_aggregate_value(const ::std::string& value);
3552 void set_aggregate_value(const char* value); 3129 void set_aggregate_value(const char* value);
3553 void set_aggregate_value(const char* value, size_t size); 3130 void set_aggregate_value(const char* value, size_t size);
3554 ::std::string* mutable_aggregate_value(); 3131 ::std::string* mutable_aggregate_value();
3555 ::std::string* release_aggregate_value(); 3132 ::std::string* release_aggregate_value();
3556 void set_allocated_aggregate_value(::std::string* aggregate_value); 3133 void set_allocated_aggregate_value(::std::string* aggregate_value);
3557 3134
3558 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption) 3135 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption)
3559 private: 3136 private:
3560 void set_has_identifier_value(); 3137 inline void set_has_identifier_value();
3561 void clear_has_identifier_value(); 3138 inline void clear_has_identifier_value();
3562 void set_has_positive_int_value(); 3139 inline void set_has_positive_int_value();
3563 void clear_has_positive_int_value(); 3140 inline void clear_has_positive_int_value();
3564 void set_has_negative_int_value(); 3141 inline void set_has_negative_int_value();
3565 void clear_has_negative_int_value(); 3142 inline void clear_has_negative_int_value();
3566 void set_has_double_value(); 3143 inline void set_has_double_value();
3567 void clear_has_double_value(); 3144 inline void clear_has_double_value();
3568 void set_has_string_value(); 3145 inline void set_has_string_value();
3569 void clear_has_string_value(); 3146 inline void clear_has_string_value();
3570 void set_has_aggregate_value(); 3147 inline void set_has_aggregate_value();
3571 void clear_has_aggregate_value(); 3148 inline void clear_has_aggregate_value();
3572 3149
3573 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 3150 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3574 ::google::protobuf::internal::HasBits<1> _has_bits_; 3151 ::google::protobuf::uint32 _has_bits_[1];
3575 mutable int _cached_size_; 3152 mutable int _cached_size_;
3576 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_ NamePart > name_; 3153 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_ NamePart > name_;
3577 ::google::protobuf::internal::ArenaStringPtr identifier_value_; 3154 ::google::protobuf::internal::ArenaStringPtr identifier_value_;
3578 ::google::protobuf::internal::ArenaStringPtr string_value_;
3579 ::google::protobuf::internal::ArenaStringPtr aggregate_value_;
3580 ::google::protobuf::uint64 positive_int_value_; 3155 ::google::protobuf::uint64 positive_int_value_;
3581 ::google::protobuf::int64 negative_int_value_; 3156 ::google::protobuf::int64 negative_int_value_;
3582 double double_value_; 3157 double double_value_;
3583 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 3158 ::google::protobuf::internal::ArenaStringPtr string_value_;
3584 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl(); 3159 ::google::protobuf::internal::ArenaStringPtr aggregate_value_;
3585 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto(); 3160 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
3161 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
3586 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 3162 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3587 3163
3164 void InitAsDefaultInstance();
3165 static UninterpretedOption* default_instance_;
3588 }; 3166 };
3589 // ------------------------------------------------------------------- 3167 // -------------------------------------------------------------------
3590 3168
3591 class LIBPROTOBUF_EXPORT SourceCodeInfo_Location : public ::google::protobuf::Me ssage /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInf o.Location) */ { 3169 class LIBPROTOBUF_EXPORT SourceCodeInfo_Location : public ::google::protobuf::Me ssage {
3592 public: 3170 public:
3593 SourceCodeInfo_Location(); 3171 SourceCodeInfo_Location();
3594 virtual ~SourceCodeInfo_Location(); 3172 virtual ~SourceCodeInfo_Location();
3595 3173
3596 SourceCodeInfo_Location(const SourceCodeInfo_Location& from); 3174 SourceCodeInfo_Location(const SourceCodeInfo_Location& from);
3597 3175
3598 inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) { 3176 inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) {
3599 CopyFrom(from); 3177 CopyFrom(from);
3600 return *this; 3178 return *this;
3601 } 3179 }
3602 3180
3603 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 3181 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3604 return _internal_metadata_.unknown_fields(); 3182 return _internal_metadata_.unknown_fields();
3605 } 3183 }
3606 3184
3607 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 3185 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3608 return _internal_metadata_.mutable_unknown_fields(); 3186 return _internal_metadata_.mutable_unknown_fields();
3609 } 3187 }
3610 3188
3611 static const ::google::protobuf::Descriptor* descriptor(); 3189 static const ::google::protobuf::Descriptor* descriptor();
3612 static const SourceCodeInfo_Location& default_instance(); 3190 static const SourceCodeInfo_Location& default_instance();
3613 3191
3614 static inline const SourceCodeInfo_Location* internal_default_instance() {
3615 return reinterpret_cast<const SourceCodeInfo_Location*>(
3616 &_SourceCodeInfo_Location_default_instance_);
3617 }
3618
3619 void Swap(SourceCodeInfo_Location* other); 3192 void Swap(SourceCodeInfo_Location* other);
3620 3193
3621 // implements Message ---------------------------------------------- 3194 // implements Message ----------------------------------------------
3622 3195
3623 inline SourceCodeInfo_Location* New() const PROTOBUF_FINAL { return New(NULL); } 3196 inline SourceCodeInfo_Location* New() const { return New(NULL); }
3624 3197
3625 SourceCodeInfo_Location* New(::google::protobuf::Arena* arena) const PROTOBUF_ FINAL; 3198 SourceCodeInfo_Location* New(::google::protobuf::Arena* arena) const;
3626 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 3199 void CopyFrom(const ::google::protobuf::Message& from);
3627 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 3200 void MergeFrom(const ::google::protobuf::Message& from);
3628 void CopyFrom(const SourceCodeInfo_Location& from); 3201 void CopyFrom(const SourceCodeInfo_Location& from);
3629 void MergeFrom(const SourceCodeInfo_Location& from); 3202 void MergeFrom(const SourceCodeInfo_Location& from);
3630 void Clear() PROTOBUF_FINAL; 3203 void Clear();
3631 bool IsInitialized() const PROTOBUF_FINAL; 3204 bool IsInitialized() const;
3632 3205
3633 size_t ByteSizeLong() const PROTOBUF_FINAL; 3206 int ByteSize() const;
3634 bool MergePartialFromCodedStream( 3207 bool MergePartialFromCodedStream(
3635 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 3208 ::google::protobuf::io::CodedInputStream* input);
3636 void SerializeWithCachedSizes( 3209 void SerializeWithCachedSizes(
3637 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 3210 ::google::protobuf::io::CodedOutputStream* output) const;
3638 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 3211 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
3639 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 3212 int GetCachedSize() const { return _cached_size_; }
3640 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
3641 const PROTOBUF_FINAL {
3642 return InternalSerializeWithCachedSizesToArray(false, output);
3643 }
3644 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3645 private: 3213 private:
3646 void SharedCtor(); 3214 void SharedCtor();
3647 void SharedDtor(); 3215 void SharedDtor();
3648 void SetCachedSize(int size) const PROTOBUF_FINAL; 3216 void SetCachedSize(int size) const;
3649 void InternalSwap(SourceCodeInfo_Location* other); 3217 void InternalSwap(SourceCodeInfo_Location* other);
3650 private: 3218 private:
3651 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 3219 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3652 return NULL; 3220 return _internal_metadata_.arena();
3653 } 3221 }
3654 inline void* MaybeArenaPtr() const { 3222 inline void* MaybeArenaPtr() const {
3655 return NULL; 3223 return _internal_metadata_.raw_arena_ptr();
3656 } 3224 }
3657 public: 3225 public:
3658 3226
3659 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 3227 ::google::protobuf::Metadata GetMetadata() const;
3660 3228
3661 // nested types ---------------------------------------------------- 3229 // nested types ----------------------------------------------------
3662 3230
3663 // accessors ------------------------------------------------------- 3231 // accessors -------------------------------------------------------
3664 3232
3665 // repeated int32 path = 1 [packed = true]; 3233 // repeated int32 path = 1 [packed = true];
3666 int path_size() const; 3234 int path_size() const;
3667 void clear_path(); 3235 void clear_path();
3668 static const int kPathFieldNumber = 1; 3236 static const int kPathFieldNumber = 1;
3669 ::google::protobuf::int32 path(int index) const; 3237 ::google::protobuf::int32 path(int index) const;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
3721 void set_leading_detached_comments(int index, const char* value, size_t size); 3289 void set_leading_detached_comments(int index, const char* value, size_t size);
3722 ::std::string* add_leading_detached_comments(); 3290 ::std::string* add_leading_detached_comments();
3723 void add_leading_detached_comments(const ::std::string& value); 3291 void add_leading_detached_comments(const ::std::string& value);
3724 void add_leading_detached_comments(const char* value); 3292 void add_leading_detached_comments(const char* value);
3725 void add_leading_detached_comments(const char* value, size_t size); 3293 void add_leading_detached_comments(const char* value, size_t size);
3726 const ::google::protobuf::RepeatedPtrField< ::std::string>& leading_detached_c omments() const; 3294 const ::google::protobuf::RepeatedPtrField< ::std::string>& leading_detached_c omments() const;
3727 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_leading_detached _comments(); 3295 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_leading_detached _comments();
3728 3296
3729 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Locatio n) 3297 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Locatio n)
3730 private: 3298 private:
3731 void set_has_leading_comments(); 3299 inline void set_has_leading_comments();
3732 void clear_has_leading_comments(); 3300 inline void clear_has_leading_comments();
3733 void set_has_trailing_comments(); 3301 inline void set_has_trailing_comments();
3734 void clear_has_trailing_comments(); 3302 inline void clear_has_trailing_comments();
3735 3303
3736 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 3304 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3737 ::google::protobuf::internal::HasBits<1> _has_bits_; 3305 ::google::protobuf::uint32 _has_bits_[1];
3738 mutable int _cached_size_; 3306 mutable int _cached_size_;
3739 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_; 3307 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_;
3740 mutable int _path_cached_byte_size_; 3308 mutable int _path_cached_byte_size_;
3741 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > span_; 3309 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > span_;
3742 mutable int _span_cached_byte_size_; 3310 mutable int _span_cached_byte_size_;
3743 ::google::protobuf::RepeatedPtrField< ::std::string> leading_detached_comments _;
3744 ::google::protobuf::internal::ArenaStringPtr leading_comments_; 3311 ::google::protobuf::internal::ArenaStringPtr leading_comments_;
3745 ::google::protobuf::internal::ArenaStringPtr trailing_comments_; 3312 ::google::protobuf::internal::ArenaStringPtr trailing_comments_;
3746 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 3313 ::google::protobuf::RepeatedPtrField< ::std::string> leading_detached_comments _;
3747 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl(); 3314 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
3748 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto(); 3315 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
3749 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 3316 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3750 3317
3318 void InitAsDefaultInstance();
3319 static SourceCodeInfo_Location* default_instance_;
3751 }; 3320 };
3752 // ------------------------------------------------------------------- 3321 // -------------------------------------------------------------------
3753 3322
3754 class LIBPROTOBUF_EXPORT SourceCodeInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo) */ { 3323 class LIBPROTOBUF_EXPORT SourceCodeInfo : public ::google::protobuf::Message {
3755 public: 3324 public:
3756 SourceCodeInfo(); 3325 SourceCodeInfo();
3757 virtual ~SourceCodeInfo(); 3326 virtual ~SourceCodeInfo();
3758 3327
3759 SourceCodeInfo(const SourceCodeInfo& from); 3328 SourceCodeInfo(const SourceCodeInfo& from);
3760 3329
3761 inline SourceCodeInfo& operator=(const SourceCodeInfo& from) { 3330 inline SourceCodeInfo& operator=(const SourceCodeInfo& from) {
3762 CopyFrom(from); 3331 CopyFrom(from);
3763 return *this; 3332 return *this;
3764 } 3333 }
3765 3334
3766 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 3335 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3767 return _internal_metadata_.unknown_fields(); 3336 return _internal_metadata_.unknown_fields();
3768 } 3337 }
3769 3338
3770 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 3339 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3771 return _internal_metadata_.mutable_unknown_fields(); 3340 return _internal_metadata_.mutable_unknown_fields();
3772 } 3341 }
3773 3342
3774 static const ::google::protobuf::Descriptor* descriptor(); 3343 static const ::google::protobuf::Descriptor* descriptor();
3775 static const SourceCodeInfo& default_instance(); 3344 static const SourceCodeInfo& default_instance();
3776 3345
3777 static inline const SourceCodeInfo* internal_default_instance() {
3778 return reinterpret_cast<const SourceCodeInfo*>(
3779 &_SourceCodeInfo_default_instance_);
3780 }
3781
3782 void Swap(SourceCodeInfo* other); 3346 void Swap(SourceCodeInfo* other);
3783 3347
3784 // implements Message ---------------------------------------------- 3348 // implements Message ----------------------------------------------
3785 3349
3786 inline SourceCodeInfo* New() const PROTOBUF_FINAL { return New(NULL); } 3350 inline SourceCodeInfo* New() const { return New(NULL); }
3787 3351
3788 SourceCodeInfo* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; 3352 SourceCodeInfo* New(::google::protobuf::Arena* arena) const;
3789 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 3353 void CopyFrom(const ::google::protobuf::Message& from);
3790 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 3354 void MergeFrom(const ::google::protobuf::Message& from);
3791 void CopyFrom(const SourceCodeInfo& from); 3355 void CopyFrom(const SourceCodeInfo& from);
3792 void MergeFrom(const SourceCodeInfo& from); 3356 void MergeFrom(const SourceCodeInfo& from);
3793 void Clear() PROTOBUF_FINAL; 3357 void Clear();
3794 bool IsInitialized() const PROTOBUF_FINAL; 3358 bool IsInitialized() const;
3795 3359
3796 size_t ByteSizeLong() const PROTOBUF_FINAL; 3360 int ByteSize() const;
3797 bool MergePartialFromCodedStream( 3361 bool MergePartialFromCodedStream(
3798 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 3362 ::google::protobuf::io::CodedInputStream* input);
3799 void SerializeWithCachedSizes( 3363 void SerializeWithCachedSizes(
3800 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 3364 ::google::protobuf::io::CodedOutputStream* output) const;
3801 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 3365 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
3802 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 3366 int GetCachedSize() const { return _cached_size_; }
3803 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
3804 const PROTOBUF_FINAL {
3805 return InternalSerializeWithCachedSizesToArray(false, output);
3806 }
3807 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3808 private: 3367 private:
3809 void SharedCtor(); 3368 void SharedCtor();
3810 void SharedDtor(); 3369 void SharedDtor();
3811 void SetCachedSize(int size) const PROTOBUF_FINAL; 3370 void SetCachedSize(int size) const;
3812 void InternalSwap(SourceCodeInfo* other); 3371 void InternalSwap(SourceCodeInfo* other);
3813 private: 3372 private:
3814 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 3373 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3815 return NULL; 3374 return _internal_metadata_.arena();
3816 } 3375 }
3817 inline void* MaybeArenaPtr() const { 3376 inline void* MaybeArenaPtr() const {
3818 return NULL; 3377 return _internal_metadata_.raw_arena_ptr();
3819 } 3378 }
3820 public: 3379 public:
3821 3380
3822 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 3381 ::google::protobuf::Metadata GetMetadata() const;
3823 3382
3824 // nested types ---------------------------------------------------- 3383 // nested types ----------------------------------------------------
3825 3384
3826 typedef SourceCodeInfo_Location Location; 3385 typedef SourceCodeInfo_Location Location;
3827 3386
3828 // accessors ------------------------------------------------------- 3387 // accessors -------------------------------------------------------
3829 3388
3830 // repeated .google.protobuf.SourceCodeInfo.Location location = 1; 3389 // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
3831 int location_size() const; 3390 int location_size() const;
3832 void clear_location(); 3391 void clear_location();
3833 static const int kLocationFieldNumber = 1; 3392 static const int kLocationFieldNumber = 1;
3834 const ::google::protobuf::SourceCodeInfo_Location& location(int index) const; 3393 const ::google::protobuf::SourceCodeInfo_Location& location(int index) const;
3835 ::google::protobuf::SourceCodeInfo_Location* mutable_location(int index); 3394 ::google::protobuf::SourceCodeInfo_Location* mutable_location(int index);
3836 ::google::protobuf::SourceCodeInfo_Location* add_location(); 3395 ::google::protobuf::SourceCodeInfo_Location* add_location();
3837 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Locat ion >* 3396 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Locat ion >*
3838 mutable_location(); 3397 mutable_location();
3839 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo _Location >& 3398 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo _Location >&
3840 location() const; 3399 location() const;
3841 3400
3842 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo) 3401 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo)
3843 private: 3402 private:
3844 3403
3845 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 3404 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3846 ::google::protobuf::internal::HasBits<1> _has_bits_; 3405 ::google::protobuf::uint32 _has_bits_[1];
3847 mutable int _cached_size_; 3406 mutable int _cached_size_;
3848 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Locat ion > location_; 3407 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Locat ion > location_;
3849 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 3408 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
3850 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl(); 3409 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
3851 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
3852 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 3410 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3853 3411
3412 void InitAsDefaultInstance();
3413 static SourceCodeInfo* default_instance_;
3854 }; 3414 };
3855 // ------------------------------------------------------------------- 3415 // -------------------------------------------------------------------
3856 3416
3857 class LIBPROTOBUF_EXPORT GeneratedCodeInfo_Annotation : public ::google::protobu f::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Generate dCodeInfo.Annotation) */ { 3417 class LIBPROTOBUF_EXPORT GeneratedCodeInfo_Annotation : public ::google::protobu f::Message {
3858 public: 3418 public:
3859 GeneratedCodeInfo_Annotation(); 3419 GeneratedCodeInfo_Annotation();
3860 virtual ~GeneratedCodeInfo_Annotation(); 3420 virtual ~GeneratedCodeInfo_Annotation();
3861 3421
3862 GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from); 3422 GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from);
3863 3423
3864 inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotat ion& from) { 3424 inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotat ion& from) {
3865 CopyFrom(from); 3425 CopyFrom(from);
3866 return *this; 3426 return *this;
3867 } 3427 }
3868 3428
3869 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 3429 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3870 return _internal_metadata_.unknown_fields(); 3430 return _internal_metadata_.unknown_fields();
3871 } 3431 }
3872 3432
3873 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 3433 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3874 return _internal_metadata_.mutable_unknown_fields(); 3434 return _internal_metadata_.mutable_unknown_fields();
3875 } 3435 }
3876 3436
3877 static const ::google::protobuf::Descriptor* descriptor(); 3437 static const ::google::protobuf::Descriptor* descriptor();
3878 static const GeneratedCodeInfo_Annotation& default_instance(); 3438 static const GeneratedCodeInfo_Annotation& default_instance();
3879 3439
3880 static inline const GeneratedCodeInfo_Annotation* internal_default_instance() {
3881 return reinterpret_cast<const GeneratedCodeInfo_Annotation*>(
3882 &_GeneratedCodeInfo_Annotation_default_instance_);
3883 }
3884
3885 void Swap(GeneratedCodeInfo_Annotation* other); 3440 void Swap(GeneratedCodeInfo_Annotation* other);
3886 3441
3887 // implements Message ---------------------------------------------- 3442 // implements Message ----------------------------------------------
3888 3443
3889 inline GeneratedCodeInfo_Annotation* New() const PROTOBUF_FINAL { return New(N ULL); } 3444 inline GeneratedCodeInfo_Annotation* New() const { return New(NULL); }
3890 3445
3891 GeneratedCodeInfo_Annotation* New(::google::protobuf::Arena* arena) const PROT OBUF_FINAL; 3446 GeneratedCodeInfo_Annotation* New(::google::protobuf::Arena* arena) const;
3892 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 3447 void CopyFrom(const ::google::protobuf::Message& from);
3893 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 3448 void MergeFrom(const ::google::protobuf::Message& from);
3894 void CopyFrom(const GeneratedCodeInfo_Annotation& from); 3449 void CopyFrom(const GeneratedCodeInfo_Annotation& from);
3895 void MergeFrom(const GeneratedCodeInfo_Annotation& from); 3450 void MergeFrom(const GeneratedCodeInfo_Annotation& from);
3896 void Clear() PROTOBUF_FINAL; 3451 void Clear();
3897 bool IsInitialized() const PROTOBUF_FINAL; 3452 bool IsInitialized() const;
3898 3453
3899 size_t ByteSizeLong() const PROTOBUF_FINAL; 3454 int ByteSize() const;
3900 bool MergePartialFromCodedStream( 3455 bool MergePartialFromCodedStream(
3901 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 3456 ::google::protobuf::io::CodedInputStream* input);
3902 void SerializeWithCachedSizes( 3457 void SerializeWithCachedSizes(
3903 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 3458 ::google::protobuf::io::CodedOutputStream* output) const;
3904 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 3459 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
3905 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 3460 int GetCachedSize() const { return _cached_size_; }
3906 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
3907 const PROTOBUF_FINAL {
3908 return InternalSerializeWithCachedSizesToArray(false, output);
3909 }
3910 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3911 private: 3461 private:
3912 void SharedCtor(); 3462 void SharedCtor();
3913 void SharedDtor(); 3463 void SharedDtor();
3914 void SetCachedSize(int size) const PROTOBUF_FINAL; 3464 void SetCachedSize(int size) const;
3915 void InternalSwap(GeneratedCodeInfo_Annotation* other); 3465 void InternalSwap(GeneratedCodeInfo_Annotation* other);
3916 private: 3466 private:
3917 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 3467 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3918 return NULL; 3468 return _internal_metadata_.arena();
3919 } 3469 }
3920 inline void* MaybeArenaPtr() const { 3470 inline void* MaybeArenaPtr() const {
3921 return NULL; 3471 return _internal_metadata_.raw_arena_ptr();
3922 } 3472 }
3923 public: 3473 public:
3924 3474
3925 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 3475 ::google::protobuf::Metadata GetMetadata() const;
3926 3476
3927 // nested types ---------------------------------------------------- 3477 // nested types ----------------------------------------------------
3928 3478
3929 // accessors ------------------------------------------------------- 3479 // accessors -------------------------------------------------------
3930 3480
3931 // repeated int32 path = 1 [packed = true]; 3481 // repeated int32 path = 1 [packed = true];
3932 int path_size() const; 3482 int path_size() const;
3933 void clear_path(); 3483 void clear_path();
3934 static const int kPathFieldNumber = 1; 3484 static const int kPathFieldNumber = 1;
3935 ::google::protobuf::int32 path(int index) const; 3485 ::google::protobuf::int32 path(int index) const;
(...skipping 25 matching lines...) Expand all
3961 3511
3962 // optional int32 end = 4; 3512 // optional int32 end = 4;
3963 bool has_end() const; 3513 bool has_end() const;
3964 void clear_end(); 3514 void clear_end();
3965 static const int kEndFieldNumber = 4; 3515 static const int kEndFieldNumber = 4;
3966 ::google::protobuf::int32 end() const; 3516 ::google::protobuf::int32 end() const;
3967 void set_end(::google::protobuf::int32 value); 3517 void set_end(::google::protobuf::int32 value);
3968 3518
3969 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Anno tation) 3519 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Anno tation)
3970 private: 3520 private:
3971 void set_has_source_file(); 3521 inline void set_has_source_file();
3972 void clear_has_source_file(); 3522 inline void clear_has_source_file();
3973 void set_has_begin(); 3523 inline void set_has_begin();
3974 void clear_has_begin(); 3524 inline void clear_has_begin();
3975 void set_has_end(); 3525 inline void set_has_end();
3976 void clear_has_end(); 3526 inline void clear_has_end();
3977 3527
3978 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 3528 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3979 ::google::protobuf::internal::HasBits<1> _has_bits_; 3529 ::google::protobuf::uint32 _has_bits_[1];
3980 mutable int _cached_size_; 3530 mutable int _cached_size_;
3981 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_; 3531 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_;
3982 mutable int _path_cached_byte_size_; 3532 mutable int _path_cached_byte_size_;
3983 ::google::protobuf::internal::ArenaStringPtr source_file_; 3533 ::google::protobuf::internal::ArenaStringPtr source_file_;
3984 ::google::protobuf::int32 begin_; 3534 ::google::protobuf::int32 begin_;
3985 ::google::protobuf::int32 end_; 3535 ::google::protobuf::int32 end_;
3986 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 3536 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
3987 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl(); 3537 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
3988 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
3989 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 3538 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3990 3539
3540 void InitAsDefaultInstance();
3541 static GeneratedCodeInfo_Annotation* default_instance_;
3991 }; 3542 };
3992 // ------------------------------------------------------------------- 3543 // -------------------------------------------------------------------
3993 3544
3994 class LIBPROTOBUF_EXPORT GeneratedCodeInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo) */ { 3545 class LIBPROTOBUF_EXPORT GeneratedCodeInfo : public ::google::protobuf::Message {
3995 public: 3546 public:
3996 GeneratedCodeInfo(); 3547 GeneratedCodeInfo();
3997 virtual ~GeneratedCodeInfo(); 3548 virtual ~GeneratedCodeInfo();
3998 3549
3999 GeneratedCodeInfo(const GeneratedCodeInfo& from); 3550 GeneratedCodeInfo(const GeneratedCodeInfo& from);
4000 3551
4001 inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) { 3552 inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) {
4002 CopyFrom(from); 3553 CopyFrom(from);
4003 return *this; 3554 return *this;
4004 } 3555 }
4005 3556
4006 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 3557 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4007 return _internal_metadata_.unknown_fields(); 3558 return _internal_metadata_.unknown_fields();
4008 } 3559 }
4009 3560
4010 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 3561 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4011 return _internal_metadata_.mutable_unknown_fields(); 3562 return _internal_metadata_.mutable_unknown_fields();
4012 } 3563 }
4013 3564
4014 static const ::google::protobuf::Descriptor* descriptor(); 3565 static const ::google::protobuf::Descriptor* descriptor();
4015 static const GeneratedCodeInfo& default_instance(); 3566 static const GeneratedCodeInfo& default_instance();
4016 3567
4017 static inline const GeneratedCodeInfo* internal_default_instance() {
4018 return reinterpret_cast<const GeneratedCodeInfo*>(
4019 &_GeneratedCodeInfo_default_instance_);
4020 }
4021
4022 void Swap(GeneratedCodeInfo* other); 3568 void Swap(GeneratedCodeInfo* other);
4023 3569
4024 // implements Message ---------------------------------------------- 3570 // implements Message ----------------------------------------------
4025 3571
4026 inline GeneratedCodeInfo* New() const PROTOBUF_FINAL { return New(NULL); } 3572 inline GeneratedCodeInfo* New() const { return New(NULL); }
4027 3573
4028 GeneratedCodeInfo* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; 3574 GeneratedCodeInfo* New(::google::protobuf::Arena* arena) const;
4029 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 3575 void CopyFrom(const ::google::protobuf::Message& from);
4030 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; 3576 void MergeFrom(const ::google::protobuf::Message& from);
4031 void CopyFrom(const GeneratedCodeInfo& from); 3577 void CopyFrom(const GeneratedCodeInfo& from);
4032 void MergeFrom(const GeneratedCodeInfo& from); 3578 void MergeFrom(const GeneratedCodeInfo& from);
4033 void Clear() PROTOBUF_FINAL; 3579 void Clear();
4034 bool IsInitialized() const PROTOBUF_FINAL; 3580 bool IsInitialized() const;
4035 3581
4036 size_t ByteSizeLong() const PROTOBUF_FINAL; 3582 int ByteSize() const;
4037 bool MergePartialFromCodedStream( 3583 bool MergePartialFromCodedStream(
4038 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; 3584 ::google::protobuf::io::CodedInputStream* input);
4039 void SerializeWithCachedSizes( 3585 void SerializeWithCachedSizes(
4040 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; 3586 ::google::protobuf::io::CodedOutputStream* output) const;
4041 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 3587 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const;
4042 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L; 3588 int GetCachedSize() const { return _cached_size_; }
4043 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
4044 const PROTOBUF_FINAL {
4045 return InternalSerializeWithCachedSizesToArray(false, output);
4046 }
4047 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4048 private: 3589 private:
4049 void SharedCtor(); 3590 void SharedCtor();
4050 void SharedDtor(); 3591 void SharedDtor();
4051 void SetCachedSize(int size) const PROTOBUF_FINAL; 3592 void SetCachedSize(int size) const;
4052 void InternalSwap(GeneratedCodeInfo* other); 3593 void InternalSwap(GeneratedCodeInfo* other);
4053 private: 3594 private:
4054 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 3595 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4055 return NULL; 3596 return _internal_metadata_.arena();
4056 } 3597 }
4057 inline void* MaybeArenaPtr() const { 3598 inline void* MaybeArenaPtr() const {
4058 return NULL; 3599 return _internal_metadata_.raw_arena_ptr();
4059 } 3600 }
4060 public: 3601 public:
4061 3602
4062 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; 3603 ::google::protobuf::Metadata GetMetadata() const;
4063 3604
4064 // nested types ---------------------------------------------------- 3605 // nested types ----------------------------------------------------
4065 3606
4066 typedef GeneratedCodeInfo_Annotation Annotation; 3607 typedef GeneratedCodeInfo_Annotation Annotation;
4067 3608
4068 // accessors ------------------------------------------------------- 3609 // accessors -------------------------------------------------------
4069 3610
4070 // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; 3611 // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
4071 int annotation_size() const; 3612 int annotation_size() const;
4072 void clear_annotation(); 3613 void clear_annotation();
4073 static const int kAnnotationFieldNumber = 1; 3614 static const int kAnnotationFieldNumber = 1;
4074 const ::google::protobuf::GeneratedCodeInfo_Annotation& annotation(int index) const; 3615 const ::google::protobuf::GeneratedCodeInfo_Annotation& annotation(int index) const;
4075 ::google::protobuf::GeneratedCodeInfo_Annotation* mutable_annotation(int index ); 3616 ::google::protobuf::GeneratedCodeInfo_Annotation* mutable_annotation(int index );
4076 ::google::protobuf::GeneratedCodeInfo_Annotation* add_annotation(); 3617 ::google::protobuf::GeneratedCodeInfo_Annotation* add_annotation();
4077 ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_An notation >* 3618 ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_An notation >*
4078 mutable_annotation(); 3619 mutable_annotation();
4079 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeI nfo_Annotation >& 3620 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeI nfo_Annotation >&
4080 annotation() const; 3621 annotation() const;
4081 3622
4082 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo) 3623 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo)
4083 private: 3624 private:
4084 3625
4085 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 3626 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4086 ::google::protobuf::internal::HasBits<1> _has_bits_; 3627 ::google::protobuf::uint32 _has_bits_[1];
4087 mutable int _cached_size_; 3628 mutable int _cached_size_;
4088 ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_An notation > annotation_; 3629 ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_An notation > annotation_;
4089 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl(); 3630 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto();
4090 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl(); 3631 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
4091 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
4092 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 3632 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
4093 3633
3634 void InitAsDefaultInstance();
3635 static GeneratedCodeInfo* default_instance_;
4094 }; 3636 };
4095 // =================================================================== 3637 // ===================================================================
4096 3638
4097 3639
4098 // =================================================================== 3640 // ===================================================================
4099 3641
4100 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 3642 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
4101 // FileDescriptorSet 3643 // FileDescriptorSet
4102 3644
4103 // repeated .google.protobuf.FileDescriptorProto file = 1; 3645 // repeated .google.protobuf.FileDescriptorProto file = 1;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
4143 } 3685 }
4144 inline void FileDescriptorProto::clear_has_name() { 3686 inline void FileDescriptorProto::clear_has_name() {
4145 _has_bits_[0] &= ~0x00000001u; 3687 _has_bits_[0] &= ~0x00000001u;
4146 } 3688 }
4147 inline void FileDescriptorProto::clear_name() { 3689 inline void FileDescriptorProto::clear_name() {
4148 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 3690 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
4149 clear_has_name(); 3691 clear_has_name();
4150 } 3692 }
4151 inline const ::std::string& FileDescriptorProto::name() const { 3693 inline const ::std::string& FileDescriptorProto::name() const {
4152 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name ) 3694 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name )
4153 return name_.GetNoArena(); 3695 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited());
4154 } 3696 }
4155 inline void FileDescriptorProto::set_name(const ::std::string& value) { 3697 inline void FileDescriptorProto::set_name(const ::std::string& value) {
4156 set_has_name(); 3698 set_has_name();
4157 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 3699 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4158 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name ) 3700 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name )
4159 } 3701 }
4160 inline void FileDescriptorProto::set_name(const char* value) { 3702 inline void FileDescriptorProto::set_name(const char* value) {
4161 set_has_name(); 3703 set_has_name();
4162 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 3704 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4163 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto .name) 3705 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto .name)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
4197 } 3739 }
4198 inline void FileDescriptorProto::clear_has_package() { 3740 inline void FileDescriptorProto::clear_has_package() {
4199 _has_bits_[0] &= ~0x00000002u; 3741 _has_bits_[0] &= ~0x00000002u;
4200 } 3742 }
4201 inline void FileDescriptorProto::clear_package() { 3743 inline void FileDescriptorProto::clear_package() {
4202 package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited()); 3744 package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited());
4203 clear_has_package(); 3745 clear_has_package();
4204 } 3746 }
4205 inline const ::std::string& FileDescriptorProto::package() const { 3747 inline const ::std::string& FileDescriptorProto::package() const {
4206 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.pack age) 3748 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.pack age)
4207 return package_.GetNoArena(); 3749 return package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlread yInited());
4208 } 3750 }
4209 inline void FileDescriptorProto::set_package(const ::std::string& value) { 3751 inline void FileDescriptorProto::set_package(const ::std::string& value) {
4210 set_has_package(); 3752 set_has_package();
4211 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited (), value); 3753 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited (), value);
4212 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.pack age) 3754 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.pack age)
4213 } 3755 }
4214 inline void FileDescriptorProto::set_package(const char* value) { 3756 inline void FileDescriptorProto::set_package(const char* value) {
4215 set_has_package(); 3757 set_has_package();
4216 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited (), ::std::string(value)); 3758 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited (), ::std::string(value));
4217 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto .package) 3759 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto .package)
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
4472 return &extension_; 4014 return &extension_;
4473 } 4015 }
4474 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDesc riptorProto >& 4016 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDesc riptorProto >&
4475 FileDescriptorProto::extension() const { 4017 FileDescriptorProto::extension() const {
4476 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.ext ension) 4018 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.ext ension)
4477 return extension_; 4019 return extension_;
4478 } 4020 }
4479 4021
4480 // optional .google.protobuf.FileOptions options = 8; 4022 // optional .google.protobuf.FileOptions options = 8;
4481 inline bool FileDescriptorProto::has_options() const { 4023 inline bool FileDescriptorProto::has_options() const {
4482 return (_has_bits_[0] & 0x00000008u) != 0; 4024 return (_has_bits_[0] & 0x00000200u) != 0;
4483 } 4025 }
4484 inline void FileDescriptorProto::set_has_options() { 4026 inline void FileDescriptorProto::set_has_options() {
4485 _has_bits_[0] |= 0x00000008u; 4027 _has_bits_[0] |= 0x00000200u;
4486 } 4028 }
4487 inline void FileDescriptorProto::clear_has_options() { 4029 inline void FileDescriptorProto::clear_has_options() {
4488 _has_bits_[0] &= ~0x00000008u; 4030 _has_bits_[0] &= ~0x00000200u;
4489 } 4031 }
4490 inline void FileDescriptorProto::clear_options() { 4032 inline void FileDescriptorProto::clear_options() {
4491 if (options_ != NULL) options_->::google::protobuf::FileOptions::Clear(); 4033 if (options_ != NULL) options_->::google::protobuf::FileOptions::Clear();
4492 clear_has_options(); 4034 clear_has_options();
4493 } 4035 }
4494 inline const ::google::protobuf::FileOptions& FileDescriptorProto::options() con st { 4036 inline const ::google::protobuf::FileOptions& FileDescriptorProto::options() con st {
4495 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.opti ons) 4037 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.opti ons)
4496 return options_ != NULL ? *options_ 4038 return options_ != NULL ? *options_ : *default_instance_->options_;
4497 : *::google::protobuf::FileOptions::internal_default_in stance();
4498 } 4039 }
4499 inline ::google::protobuf::FileOptions* FileDescriptorProto::mutable_options() { 4040 inline ::google::protobuf::FileOptions* FileDescriptorProto::mutable_options() {
4500 set_has_options(); 4041 set_has_options();
4501 if (options_ == NULL) { 4042 if (options_ == NULL) {
4502 options_ = new ::google::protobuf::FileOptions; 4043 options_ = new ::google::protobuf::FileOptions;
4503 } 4044 }
4504 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto. options) 4045 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto. options)
4505 return options_; 4046 return options_;
4506 } 4047 }
4507 inline ::google::protobuf::FileOptions* FileDescriptorProto::release_options() { 4048 inline ::google::protobuf::FileOptions* FileDescriptorProto::release_options() {
4508 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto. options) 4049 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto. options)
4509 clear_has_options(); 4050 clear_has_options();
4510 ::google::protobuf::FileOptions* temp = options_; 4051 ::google::protobuf::FileOptions* temp = options_;
4511 options_ = NULL; 4052 options_ = NULL;
4512 return temp; 4053 return temp;
4513 } 4054 }
4514 inline void FileDescriptorProto::set_allocated_options(::google::protobuf::FileO ptions* options) { 4055 inline void FileDescriptorProto::set_allocated_options(::google::protobuf::FileO ptions* options) {
4515 delete options_; 4056 delete options_;
4516 options_ = options; 4057 options_ = options;
4517 if (options) { 4058 if (options) {
4518 set_has_options(); 4059 set_has_options();
4519 } else { 4060 } else {
4520 clear_has_options(); 4061 clear_has_options();
4521 } 4062 }
4522 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor Proto.options) 4063 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor Proto.options)
4523 } 4064 }
4524 4065
4525 // optional .google.protobuf.SourceCodeInfo source_code_info = 9; 4066 // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
4526 inline bool FileDescriptorProto::has_source_code_info() const { 4067 inline bool FileDescriptorProto::has_source_code_info() const {
4527 return (_has_bits_[0] & 0x00000010u) != 0; 4068 return (_has_bits_[0] & 0x00000400u) != 0;
4528 } 4069 }
4529 inline void FileDescriptorProto::set_has_source_code_info() { 4070 inline void FileDescriptorProto::set_has_source_code_info() {
4530 _has_bits_[0] |= 0x00000010u; 4071 _has_bits_[0] |= 0x00000400u;
4531 } 4072 }
4532 inline void FileDescriptorProto::clear_has_source_code_info() { 4073 inline void FileDescriptorProto::clear_has_source_code_info() {
4533 _has_bits_[0] &= ~0x00000010u; 4074 _has_bits_[0] &= ~0x00000400u;
4534 } 4075 }
4535 inline void FileDescriptorProto::clear_source_code_info() { 4076 inline void FileDescriptorProto::clear_source_code_info() {
4536 if (source_code_info_ != NULL) source_code_info_->::google::protobuf::SourceCo deInfo::Clear(); 4077 if (source_code_info_ != NULL) source_code_info_->::google::protobuf::SourceCo deInfo::Clear();
4537 clear_has_source_code_info(); 4078 clear_has_source_code_info();
4538 } 4079 }
4539 inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_cod e_info() const { 4080 inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_cod e_info() const {
4540 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.sour ce_code_info) 4081 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.sour ce_code_info)
4541 return source_code_info_ != NULL ? *source_code_info_ 4082 return source_code_info_ != NULL ? *source_code_info_ : *default_instance_->so urce_code_info_;
4542 : *::google::protobuf::SourceCodeInfo::internal_default _instance();
4543 } 4083 }
4544 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::mutable_source_c ode_info() { 4084 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::mutable_source_c ode_info() {
4545 set_has_source_code_info(); 4085 set_has_source_code_info();
4546 if (source_code_info_ == NULL) { 4086 if (source_code_info_ == NULL) {
4547 source_code_info_ = new ::google::protobuf::SourceCodeInfo; 4087 source_code_info_ = new ::google::protobuf::SourceCodeInfo;
4548 } 4088 }
4549 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto. source_code_info) 4089 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto. source_code_info)
4550 return source_code_info_; 4090 return source_code_info_;
4551 } 4091 }
4552 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::release_source_c ode_info() { 4092 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::release_source_c ode_info() {
4553 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto. source_code_info) 4093 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto. source_code_info)
4554 clear_has_source_code_info(); 4094 clear_has_source_code_info();
4555 ::google::protobuf::SourceCodeInfo* temp = source_code_info_; 4095 ::google::protobuf::SourceCodeInfo* temp = source_code_info_;
4556 source_code_info_ = NULL; 4096 source_code_info_ = NULL;
4557 return temp; 4097 return temp;
4558 } 4098 }
4559 inline void FileDescriptorProto::set_allocated_source_code_info(::google::protob uf::SourceCodeInfo* source_code_info) { 4099 inline void FileDescriptorProto::set_allocated_source_code_info(::google::protob uf::SourceCodeInfo* source_code_info) {
4560 delete source_code_info_; 4100 delete source_code_info_;
4561 source_code_info_ = source_code_info; 4101 source_code_info_ = source_code_info;
4562 if (source_code_info) { 4102 if (source_code_info) {
4563 set_has_source_code_info(); 4103 set_has_source_code_info();
4564 } else { 4104 } else {
4565 clear_has_source_code_info(); 4105 clear_has_source_code_info();
4566 } 4106 }
4567 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor Proto.source_code_info) 4107 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor Proto.source_code_info)
4568 } 4108 }
4569 4109
4570 // optional string syntax = 12; 4110 // optional string syntax = 12;
4571 inline bool FileDescriptorProto::has_syntax() const { 4111 inline bool FileDescriptorProto::has_syntax() const {
4572 return (_has_bits_[0] & 0x00000004u) != 0; 4112 return (_has_bits_[0] & 0x00000800u) != 0;
4573 } 4113 }
4574 inline void FileDescriptorProto::set_has_syntax() { 4114 inline void FileDescriptorProto::set_has_syntax() {
4575 _has_bits_[0] |= 0x00000004u; 4115 _has_bits_[0] |= 0x00000800u;
4576 } 4116 }
4577 inline void FileDescriptorProto::clear_has_syntax() { 4117 inline void FileDescriptorProto::clear_has_syntax() {
4578 _has_bits_[0] &= ~0x00000004u; 4118 _has_bits_[0] &= ~0x00000800u;
4579 } 4119 }
4580 inline void FileDescriptorProto::clear_syntax() { 4120 inline void FileDescriptorProto::clear_syntax() {
4581 syntax_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited()); 4121 syntax_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited());
4582 clear_has_syntax(); 4122 clear_has_syntax();
4583 } 4123 }
4584 inline const ::std::string& FileDescriptorProto::syntax() const { 4124 inline const ::std::string& FileDescriptorProto::syntax() const {
4585 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.synt ax) 4125 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.synt ax)
4586 return syntax_.GetNoArena(); 4126 return syntax_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
4587 } 4127 }
4588 inline void FileDescriptorProto::set_syntax(const ::std::string& value) { 4128 inline void FileDescriptorProto::set_syntax(const ::std::string& value) {
4589 set_has_syntax(); 4129 set_has_syntax();
4590 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited( ), value); 4130 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited( ), value);
4591 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.synt ax) 4131 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.synt ax)
4592 } 4132 }
4593 inline void FileDescriptorProto::set_syntax(const char* value) { 4133 inline void FileDescriptorProto::set_syntax(const char* value) {
4594 set_has_syntax(); 4134 set_has_syntax();
4595 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited( ), ::std::string(value)); 4135 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited( ), ::std::string(value));
4596 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto .syntax) 4136 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto .syntax)
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
4738 } 4278 }
4739 inline void DescriptorProto::clear_has_name() { 4279 inline void DescriptorProto::clear_has_name() {
4740 _has_bits_[0] &= ~0x00000001u; 4280 _has_bits_[0] &= ~0x00000001u;
4741 } 4281 }
4742 inline void DescriptorProto::clear_name() { 4282 inline void DescriptorProto::clear_name() {
4743 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 4283 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
4744 clear_has_name(); 4284 clear_has_name();
4745 } 4285 }
4746 inline const ::std::string& DescriptorProto::name() const { 4286 inline const ::std::string& DescriptorProto::name() const {
4747 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name) 4287 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name)
4748 return name_.GetNoArena(); 4288 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited());
4749 } 4289 }
4750 inline void DescriptorProto::set_name(const ::std::string& value) { 4290 inline void DescriptorProto::set_name(const ::std::string& value) {
4751 set_has_name(); 4291 set_has_name();
4752 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 4292 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4753 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name) 4293 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name)
4754 } 4294 }
4755 inline void DescriptorProto::set_name(const char* value) { 4295 inline void DescriptorProto::set_name(const char* value) {
4756 set_has_name(); 4296 set_has_name();
4757 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 4297 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4758 // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.nam e) 4298 // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.nam e)
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
4958 return &oneof_decl_; 4498 return &oneof_decl_;
4959 } 4499 }
4960 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDesc riptorProto >& 4500 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDesc riptorProto >&
4961 DescriptorProto::oneof_decl() const { 4501 DescriptorProto::oneof_decl() const {
4962 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_d ecl) 4502 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_d ecl)
4963 return oneof_decl_; 4503 return oneof_decl_;
4964 } 4504 }
4965 4505
4966 // optional .google.protobuf.MessageOptions options = 7; 4506 // optional .google.protobuf.MessageOptions options = 7;
4967 inline bool DescriptorProto::has_options() const { 4507 inline bool DescriptorProto::has_options() const {
4968 return (_has_bits_[0] & 0x00000002u) != 0; 4508 return (_has_bits_[0] & 0x00000080u) != 0;
4969 } 4509 }
4970 inline void DescriptorProto::set_has_options() { 4510 inline void DescriptorProto::set_has_options() {
4971 _has_bits_[0] |= 0x00000002u; 4511 _has_bits_[0] |= 0x00000080u;
4972 } 4512 }
4973 inline void DescriptorProto::clear_has_options() { 4513 inline void DescriptorProto::clear_has_options() {
4974 _has_bits_[0] &= ~0x00000002u; 4514 _has_bits_[0] &= ~0x00000080u;
4975 } 4515 }
4976 inline void DescriptorProto::clear_options() { 4516 inline void DescriptorProto::clear_options() {
4977 if (options_ != NULL) options_->::google::protobuf::MessageOptions::Clear(); 4517 if (options_ != NULL) options_->::google::protobuf::MessageOptions::Clear();
4978 clear_has_options(); 4518 clear_has_options();
4979 } 4519 }
4980 inline const ::google::protobuf::MessageOptions& DescriptorProto::options() cons t { 4520 inline const ::google::protobuf::MessageOptions& DescriptorProto::options() cons t {
4981 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options) 4521 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options)
4982 return options_ != NULL ? *options_ 4522 return options_ != NULL ? *options_ : *default_instance_->options_;
4983 : *::google::protobuf::MessageOptions::internal_default _instance();
4984 } 4523 }
4985 inline ::google::protobuf::MessageOptions* DescriptorProto::mutable_options() { 4524 inline ::google::protobuf::MessageOptions* DescriptorProto::mutable_options() {
4986 set_has_options(); 4525 set_has_options();
4987 if (options_ == NULL) { 4526 if (options_ == NULL) {
4988 options_ = new ::google::protobuf::MessageOptions; 4527 options_ = new ::google::protobuf::MessageOptions;
4989 } 4528 }
4990 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.opti ons) 4529 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.opti ons)
4991 return options_; 4530 return options_;
4992 } 4531 }
4993 inline ::google::protobuf::MessageOptions* DescriptorProto::release_options() { 4532 inline ::google::protobuf::MessageOptions* DescriptorProto::release_options() {
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
5106 } 4645 }
5107 inline void FieldDescriptorProto::clear_has_name() { 4646 inline void FieldDescriptorProto::clear_has_name() {
5108 _has_bits_[0] &= ~0x00000001u; 4647 _has_bits_[0] &= ~0x00000001u;
5109 } 4648 }
5110 inline void FieldDescriptorProto::clear_name() { 4649 inline void FieldDescriptorProto::clear_name() {
5111 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 4650 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
5112 clear_has_name(); 4651 clear_has_name();
5113 } 4652 }
5114 inline const ::std::string& FieldDescriptorProto::name() const { 4653 inline const ::std::string& FieldDescriptorProto::name() const {
5115 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.nam e) 4654 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.nam e)
5116 return name_.GetNoArena(); 4655 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited());
5117 } 4656 }
5118 inline void FieldDescriptorProto::set_name(const ::std::string& value) { 4657 inline void FieldDescriptorProto::set_name(const ::std::string& value) {
5119 set_has_name(); 4658 set_has_name();
5120 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 4659 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5121 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.nam e) 4660 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.nam e)
5122 } 4661 }
5123 inline void FieldDescriptorProto::set_name(const char* value) { 4662 inline void FieldDescriptorProto::set_name(const char* value) {
5124 set_has_name(); 4663 set_has_name();
5125 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 4664 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5126 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.name) 4665 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.name)
(...skipping 19 matching lines...) Expand all
5146 set_has_name(); 4685 set_has_name();
5147 } else { 4686 } else {
5148 clear_has_name(); 4687 clear_has_name();
5149 } 4688 }
5150 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), name); 4689 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), name);
5151 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto rProto.name) 4690 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto rProto.name)
5152 } 4691 }
5153 4692
5154 // optional int32 number = 3; 4693 // optional int32 number = 3;
5155 inline bool FieldDescriptorProto::has_number() const { 4694 inline bool FieldDescriptorProto::has_number() const {
5156 return (_has_bits_[0] & 0x00000040u) != 0; 4695 return (_has_bits_[0] & 0x00000002u) != 0;
5157 } 4696 }
5158 inline void FieldDescriptorProto::set_has_number() { 4697 inline void FieldDescriptorProto::set_has_number() {
5159 _has_bits_[0] |= 0x00000040u; 4698 _has_bits_[0] |= 0x00000002u;
5160 } 4699 }
5161 inline void FieldDescriptorProto::clear_has_number() { 4700 inline void FieldDescriptorProto::clear_has_number() {
5162 _has_bits_[0] &= ~0x00000040u; 4701 _has_bits_[0] &= ~0x00000002u;
5163 } 4702 }
5164 inline void FieldDescriptorProto::clear_number() { 4703 inline void FieldDescriptorProto::clear_number() {
5165 number_ = 0; 4704 number_ = 0;
5166 clear_has_number(); 4705 clear_has_number();
5167 } 4706 }
5168 inline ::google::protobuf::int32 FieldDescriptorProto::number() const { 4707 inline ::google::protobuf::int32 FieldDescriptorProto::number() const {
5169 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.num ber) 4708 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.num ber)
5170 return number_; 4709 return number_;
5171 } 4710 }
5172 inline void FieldDescriptorProto::set_number(::google::protobuf::int32 value) { 4711 inline void FieldDescriptorProto::set_number(::google::protobuf::int32 value) {
5173 set_has_number(); 4712 set_has_number();
5174 number_ = value; 4713 number_ = value;
5175 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.num ber) 4714 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.num ber)
5176 } 4715 }
5177 4716
5178 // optional .google.protobuf.FieldDescriptorProto.Label label = 4; 4717 // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
5179 inline bool FieldDescriptorProto::has_label() const { 4718 inline bool FieldDescriptorProto::has_label() const {
5180 return (_has_bits_[0] & 0x00000100u) != 0; 4719 return (_has_bits_[0] & 0x00000004u) != 0;
5181 } 4720 }
5182 inline void FieldDescriptorProto::set_has_label() { 4721 inline void FieldDescriptorProto::set_has_label() {
5183 _has_bits_[0] |= 0x00000100u; 4722 _has_bits_[0] |= 0x00000004u;
5184 } 4723 }
5185 inline void FieldDescriptorProto::clear_has_label() { 4724 inline void FieldDescriptorProto::clear_has_label() {
5186 _has_bits_[0] &= ~0x00000100u; 4725 _has_bits_[0] &= ~0x00000004u;
5187 } 4726 }
5188 inline void FieldDescriptorProto::clear_label() { 4727 inline void FieldDescriptorProto::clear_label() {
5189 label_ = 1; 4728 label_ = 1;
5190 clear_has_label(); 4729 clear_has_label();
5191 } 4730 }
5192 inline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::labe l() const { 4731 inline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::labe l() const {
5193 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.lab el) 4732 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.lab el)
5194 return static_cast< ::google::protobuf::FieldDescriptorProto_Label >(label_); 4733 return static_cast< ::google::protobuf::FieldDescriptorProto_Label >(label_);
5195 } 4734 }
5196 inline void FieldDescriptorProto::set_label(::google::protobuf::FieldDescriptorP roto_Label value) { 4735 inline void FieldDescriptorProto::set_label(::google::protobuf::FieldDescriptorP roto_Label value) {
5197 assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value)); 4736 assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value));
5198 set_has_label(); 4737 set_has_label();
5199 label_ = value; 4738 label_ = value;
5200 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.lab el) 4739 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.lab el)
5201 } 4740 }
5202 4741
5203 // optional .google.protobuf.FieldDescriptorProto.Type type = 5; 4742 // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
5204 inline bool FieldDescriptorProto::has_type() const { 4743 inline bool FieldDescriptorProto::has_type() const {
5205 return (_has_bits_[0] & 0x00000200u) != 0; 4744 return (_has_bits_[0] & 0x00000008u) != 0;
5206 } 4745 }
5207 inline void FieldDescriptorProto::set_has_type() { 4746 inline void FieldDescriptorProto::set_has_type() {
5208 _has_bits_[0] |= 0x00000200u; 4747 _has_bits_[0] |= 0x00000008u;
5209 } 4748 }
5210 inline void FieldDescriptorProto::clear_has_type() { 4749 inline void FieldDescriptorProto::clear_has_type() {
5211 _has_bits_[0] &= ~0x00000200u; 4750 _has_bits_[0] &= ~0x00000008u;
5212 } 4751 }
5213 inline void FieldDescriptorProto::clear_type() { 4752 inline void FieldDescriptorProto::clear_type() {
5214 type_ = 1; 4753 type_ = 1;
5215 clear_has_type(); 4754 clear_has_type();
5216 } 4755 }
5217 inline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::type( ) const { 4756 inline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::type( ) const {
5218 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.typ e) 4757 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.typ e)
5219 return static_cast< ::google::protobuf::FieldDescriptorProto_Type >(type_); 4758 return static_cast< ::google::protobuf::FieldDescriptorProto_Type >(type_);
5220 } 4759 }
5221 inline void FieldDescriptorProto::set_type(::google::protobuf::FieldDescriptorPr oto_Type value) { 4760 inline void FieldDescriptorProto::set_type(::google::protobuf::FieldDescriptorPr oto_Type value) {
5222 assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value)); 4761 assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value));
5223 set_has_type(); 4762 set_has_type();
5224 type_ = value; 4763 type_ = value;
5225 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.typ e) 4764 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.typ e)
5226 } 4765 }
5227 4766
5228 // optional string type_name = 6; 4767 // optional string type_name = 6;
5229 inline bool FieldDescriptorProto::has_type_name() const { 4768 inline bool FieldDescriptorProto::has_type_name() const {
5230 return (_has_bits_[0] & 0x00000002u) != 0; 4769 return (_has_bits_[0] & 0x00000010u) != 0;
5231 } 4770 }
5232 inline void FieldDescriptorProto::set_has_type_name() { 4771 inline void FieldDescriptorProto::set_has_type_name() {
5233 _has_bits_[0] |= 0x00000002u; 4772 _has_bits_[0] |= 0x00000010u;
5234 } 4773 }
5235 inline void FieldDescriptorProto::clear_has_type_name() { 4774 inline void FieldDescriptorProto::clear_has_type_name() {
5236 _has_bits_[0] &= ~0x00000002u; 4775 _has_bits_[0] &= ~0x00000010u;
5237 } 4776 }
5238 inline void FieldDescriptorProto::clear_type_name() { 4777 inline void FieldDescriptorProto::clear_type_name() {
5239 type_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited()); 4778 type_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited());
5240 clear_has_type_name(); 4779 clear_has_type_name();
5241 } 4780 }
5242 inline const ::std::string& FieldDescriptorProto::type_name() const { 4781 inline const ::std::string& FieldDescriptorProto::type_name() const {
5243 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.typ e_name) 4782 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.typ e_name)
5244 return type_name_.GetNoArena(); 4783 return type_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited());
5245 } 4784 }
5246 inline void FieldDescriptorProto::set_type_name(const ::std::string& value) { 4785 inline void FieldDescriptorProto::set_type_name(const ::std::string& value) {
5247 set_has_type_name(); 4786 set_has_type_name();
5248 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), value); 4787 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), value);
5249 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.typ e_name) 4788 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.typ e_name)
5250 } 4789 }
5251 inline void FieldDescriptorProto::set_type_name(const char* value) { 4790 inline void FieldDescriptorProto::set_type_name(const char* value) {
5252 set_has_type_name(); 4791 set_has_type_name();
5253 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), ::std::string(value)); 4792 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), ::std::string(value));
5254 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.type_name) 4793 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.type_name)
(...skipping 19 matching lines...) Expand all
5274 set_has_type_name(); 4813 set_has_type_name();
5275 } else { 4814 } else {
5276 clear_has_type_name(); 4815 clear_has_type_name();
5277 } 4816 }
5278 type_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited(), type_name); 4817 type_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited(), type_name);
5279 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto rProto.type_name) 4818 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto rProto.type_name)
5280 } 4819 }
5281 4820
5282 // optional string extendee = 2; 4821 // optional string extendee = 2;
5283 inline bool FieldDescriptorProto::has_extendee() const { 4822 inline bool FieldDescriptorProto::has_extendee() const {
5284 return (_has_bits_[0] & 0x00000004u) != 0; 4823 return (_has_bits_[0] & 0x00000020u) != 0;
5285 } 4824 }
5286 inline void FieldDescriptorProto::set_has_extendee() { 4825 inline void FieldDescriptorProto::set_has_extendee() {
5287 _has_bits_[0] |= 0x00000004u; 4826 _has_bits_[0] |= 0x00000020u;
5288 } 4827 }
5289 inline void FieldDescriptorProto::clear_has_extendee() { 4828 inline void FieldDescriptorProto::clear_has_extendee() {
5290 _has_bits_[0] &= ~0x00000004u; 4829 _has_bits_[0] &= ~0x00000020u;
5291 } 4830 }
5292 inline void FieldDescriptorProto::clear_extendee() { 4831 inline void FieldDescriptorProto::clear_extendee() {
5293 extendee_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited()); 4832 extendee_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited());
5294 clear_has_extendee(); 4833 clear_has_extendee();
5295 } 4834 }
5296 inline const ::std::string& FieldDescriptorProto::extendee() const { 4835 inline const ::std::string& FieldDescriptorProto::extendee() const {
5297 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.ext endee) 4836 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.ext endee)
5298 return extendee_.GetNoArena(); 4837 return extendee_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited());
5299 } 4838 }
5300 inline void FieldDescriptorProto::set_extendee(const ::std::string& value) { 4839 inline void FieldDescriptorProto::set_extendee(const ::std::string& value) {
5301 set_has_extendee(); 4840 set_has_extendee();
5302 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite d(), value); 4841 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite d(), value);
5303 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.ext endee) 4842 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.ext endee)
5304 } 4843 }
5305 inline void FieldDescriptorProto::set_extendee(const char* value) { 4844 inline void FieldDescriptorProto::set_extendee(const char* value) {
5306 set_has_extendee(); 4845 set_has_extendee();
5307 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite d(), ::std::string(value)); 4846 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite d(), ::std::string(value));
5308 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.extendee) 4847 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.extendee)
(...skipping 19 matching lines...) Expand all
5328 set_has_extendee(); 4867 set_has_extendee();
5329 } else { 4868 } else {
5330 clear_has_extendee(); 4869 clear_has_extendee();
5331 } 4870 }
5332 extendee_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), extendee); 4871 extendee_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), extendee);
5333 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto rProto.extendee) 4872 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto rProto.extendee)
5334 } 4873 }
5335 4874
5336 // optional string default_value = 7; 4875 // optional string default_value = 7;
5337 inline bool FieldDescriptorProto::has_default_value() const { 4876 inline bool FieldDescriptorProto::has_default_value() const {
5338 return (_has_bits_[0] & 0x00000008u) != 0; 4877 return (_has_bits_[0] & 0x00000040u) != 0;
5339 } 4878 }
5340 inline void FieldDescriptorProto::set_has_default_value() { 4879 inline void FieldDescriptorProto::set_has_default_value() {
5341 _has_bits_[0] |= 0x00000008u; 4880 _has_bits_[0] |= 0x00000040u;
5342 } 4881 }
5343 inline void FieldDescriptorProto::clear_has_default_value() { 4882 inline void FieldDescriptorProto::clear_has_default_value() {
5344 _has_bits_[0] &= ~0x00000008u; 4883 _has_bits_[0] &= ~0x00000040u;
5345 } 4884 }
5346 inline void FieldDescriptorProto::clear_default_value() { 4885 inline void FieldDescriptorProto::clear_default_value() {
5347 default_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStri ngAlreadyInited()); 4886 default_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStri ngAlreadyInited());
5348 clear_has_default_value(); 4887 clear_has_default_value();
5349 } 4888 }
5350 inline const ::std::string& FieldDescriptorProto::default_value() const { 4889 inline const ::std::string& FieldDescriptorProto::default_value() const {
5351 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.def ault_value) 4890 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.def ault_value)
5352 return default_value_.GetNoArena(); 4891 return default_value_.GetNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited());
5353 } 4892 }
5354 inline void FieldDescriptorProto::set_default_value(const ::std::string& value) { 4893 inline void FieldDescriptorProto::set_default_value(const ::std::string& value) {
5355 set_has_default_value(); 4894 set_has_default_value();
5356 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), value); 4895 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), value);
5357 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.def ault_value) 4896 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.def ault_value)
5358 } 4897 }
5359 inline void FieldDescriptorProto::set_default_value(const char* value) { 4898 inline void FieldDescriptorProto::set_default_value(const char* value) {
5360 set_has_default_value(); 4899 set_has_default_value();
5361 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), ::std::string(value)); 4900 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), ::std::string(value));
5362 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.default_value) 4901 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.default_value)
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
5406 return oneof_index_; 4945 return oneof_index_;
5407 } 4946 }
5408 inline void FieldDescriptorProto::set_oneof_index(::google::protobuf::int32 valu e) { 4947 inline void FieldDescriptorProto::set_oneof_index(::google::protobuf::int32 valu e) {
5409 set_has_oneof_index(); 4948 set_has_oneof_index();
5410 oneof_index_ = value; 4949 oneof_index_ = value;
5411 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.one of_index) 4950 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.one of_index)
5412 } 4951 }
5413 4952
5414 // optional string json_name = 10; 4953 // optional string json_name = 10;
5415 inline bool FieldDescriptorProto::has_json_name() const { 4954 inline bool FieldDescriptorProto::has_json_name() const {
5416 return (_has_bits_[0] & 0x00000010u) != 0; 4955 return (_has_bits_[0] & 0x00000100u) != 0;
5417 } 4956 }
5418 inline void FieldDescriptorProto::set_has_json_name() { 4957 inline void FieldDescriptorProto::set_has_json_name() {
5419 _has_bits_[0] |= 0x00000010u; 4958 _has_bits_[0] |= 0x00000100u;
5420 } 4959 }
5421 inline void FieldDescriptorProto::clear_has_json_name() { 4960 inline void FieldDescriptorProto::clear_has_json_name() {
5422 _has_bits_[0] &= ~0x00000010u; 4961 _has_bits_[0] &= ~0x00000100u;
5423 } 4962 }
5424 inline void FieldDescriptorProto::clear_json_name() { 4963 inline void FieldDescriptorProto::clear_json_name() {
5425 json_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited()); 4964 json_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited());
5426 clear_has_json_name(); 4965 clear_has_json_name();
5427 } 4966 }
5428 inline const ::std::string& FieldDescriptorProto::json_name() const { 4967 inline const ::std::string& FieldDescriptorProto::json_name() const {
5429 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.jso n_name) 4968 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.jso n_name)
5430 return json_name_.GetNoArena(); 4969 return json_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited());
5431 } 4970 }
5432 inline void FieldDescriptorProto::set_json_name(const ::std::string& value) { 4971 inline void FieldDescriptorProto::set_json_name(const ::std::string& value) {
5433 set_has_json_name(); 4972 set_has_json_name();
5434 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), value); 4973 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), value);
5435 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.jso n_name) 4974 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.jso n_name)
5436 } 4975 }
5437 inline void FieldDescriptorProto::set_json_name(const char* value) { 4976 inline void FieldDescriptorProto::set_json_name(const char* value) {
5438 set_has_json_name(); 4977 set_has_json_name();
5439 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), ::std::string(value)); 4978 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), ::std::string(value));
5440 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.json_name) 4979 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.json_name)
(...skipping 19 matching lines...) Expand all
5460 set_has_json_name(); 4999 set_has_json_name();
5461 } else { 5000 } else {
5462 clear_has_json_name(); 5001 clear_has_json_name();
5463 } 5002 }
5464 json_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited(), json_name); 5003 json_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited(), json_name);
5465 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto rProto.json_name) 5004 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto rProto.json_name)
5466 } 5005 }
5467 5006
5468 // optional .google.protobuf.FieldOptions options = 8; 5007 // optional .google.protobuf.FieldOptions options = 8;
5469 inline bool FieldDescriptorProto::has_options() const { 5008 inline bool FieldDescriptorProto::has_options() const {
5470 return (_has_bits_[0] & 0x00000020u) != 0; 5009 return (_has_bits_[0] & 0x00000200u) != 0;
5471 } 5010 }
5472 inline void FieldDescriptorProto::set_has_options() { 5011 inline void FieldDescriptorProto::set_has_options() {
5473 _has_bits_[0] |= 0x00000020u; 5012 _has_bits_[0] |= 0x00000200u;
5474 } 5013 }
5475 inline void FieldDescriptorProto::clear_has_options() { 5014 inline void FieldDescriptorProto::clear_has_options() {
5476 _has_bits_[0] &= ~0x00000020u; 5015 _has_bits_[0] &= ~0x00000200u;
5477 } 5016 }
5478 inline void FieldDescriptorProto::clear_options() { 5017 inline void FieldDescriptorProto::clear_options() {
5479 if (options_ != NULL) options_->::google::protobuf::FieldOptions::Clear(); 5018 if (options_ != NULL) options_->::google::protobuf::FieldOptions::Clear();
5480 clear_has_options(); 5019 clear_has_options();
5481 } 5020 }
5482 inline const ::google::protobuf::FieldOptions& FieldDescriptorProto::options() c onst { 5021 inline const ::google::protobuf::FieldOptions& FieldDescriptorProto::options() c onst {
5483 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.opt ions) 5022 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.opt ions)
5484 return options_ != NULL ? *options_ 5023 return options_ != NULL ? *options_ : *default_instance_->options_;
5485 : *::google::protobuf::FieldOptions::internal_default_i nstance();
5486 } 5024 }
5487 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::mutable_options() { 5025 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::mutable_options() {
5488 set_has_options(); 5026 set_has_options();
5489 if (options_ == NULL) { 5027 if (options_ == NULL) {
5490 options_ = new ::google::protobuf::FieldOptions; 5028 options_ = new ::google::protobuf::FieldOptions;
5491 } 5029 }
5492 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto .options) 5030 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto .options)
5493 return options_; 5031 return options_;
5494 } 5032 }
5495 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::release_options() { 5033 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::release_options() {
(...skipping 27 matching lines...) Expand all
5523 } 5061 }
5524 inline void OneofDescriptorProto::clear_has_name() { 5062 inline void OneofDescriptorProto::clear_has_name() {
5525 _has_bits_[0] &= ~0x00000001u; 5063 _has_bits_[0] &= ~0x00000001u;
5526 } 5064 }
5527 inline void OneofDescriptorProto::clear_name() { 5065 inline void OneofDescriptorProto::clear_name() {
5528 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 5066 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
5529 clear_has_name(); 5067 clear_has_name();
5530 } 5068 }
5531 inline const ::std::string& OneofDescriptorProto::name() const { 5069 inline const ::std::string& OneofDescriptorProto::name() const {
5532 // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.nam e) 5070 // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.nam e)
5533 return name_.GetNoArena(); 5071 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited());
5534 } 5072 }
5535 inline void OneofDescriptorProto::set_name(const ::std::string& value) { 5073 inline void OneofDescriptorProto::set_name(const ::std::string& value) {
5536 set_has_name(); 5074 set_has_name();
5537 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 5075 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5538 // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.nam e) 5076 // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.nam e)
5539 } 5077 }
5540 inline void OneofDescriptorProto::set_name(const char* value) { 5078 inline void OneofDescriptorProto::set_name(const char* value) {
5541 set_has_name(); 5079 set_has_name();
5542 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 5080 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5543 // @@protoc_insertion_point(field_set_char:google.protobuf.OneofDescriptorProt o.name) 5081 // @@protoc_insertion_point(field_set_char:google.protobuf.OneofDescriptorProt o.name)
(...skipping 17 matching lines...) Expand all
5561 inline void OneofDescriptorProto::set_allocated_name(::std::string* name) { 5099 inline void OneofDescriptorProto::set_allocated_name(::std::string* name) {
5562 if (name != NULL) { 5100 if (name != NULL) {
5563 set_has_name(); 5101 set_has_name();
5564 } else { 5102 } else {
5565 clear_has_name(); 5103 clear_has_name();
5566 } 5104 }
5567 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), name); 5105 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), name);
5568 // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescripto rProto.name) 5106 // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescripto rProto.name)
5569 } 5107 }
5570 5108
5571 // optional .google.protobuf.OneofOptions options = 2;
5572 inline bool OneofDescriptorProto::has_options() const {
5573 return (_has_bits_[0] & 0x00000002u) != 0;
5574 }
5575 inline void OneofDescriptorProto::set_has_options() {
5576 _has_bits_[0] |= 0x00000002u;
5577 }
5578 inline void OneofDescriptorProto::clear_has_options() {
5579 _has_bits_[0] &= ~0x00000002u;
5580 }
5581 inline void OneofDescriptorProto::clear_options() {
5582 if (options_ != NULL) options_->::google::protobuf::OneofOptions::Clear();
5583 clear_has_options();
5584 }
5585 inline const ::google::protobuf::OneofOptions& OneofDescriptorProto::options() c onst {
5586 // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.opt ions)
5587 return options_ != NULL ? *options_
5588 : *::google::protobuf::OneofOptions::internal_default_i nstance();
5589 }
5590 inline ::google::protobuf::OneofOptions* OneofDescriptorProto::mutable_options() {
5591 set_has_options();
5592 if (options_ == NULL) {
5593 options_ = new ::google::protobuf::OneofOptions;
5594 }
5595 // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto .options)
5596 return options_;
5597 }
5598 inline ::google::protobuf::OneofOptions* OneofDescriptorProto::release_options() {
5599 // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto .options)
5600 clear_has_options();
5601 ::google::protobuf::OneofOptions* temp = options_;
5602 options_ = NULL;
5603 return temp;
5604 }
5605 inline void OneofDescriptorProto::set_allocated_options(::google::protobuf::Oneo fOptions* options) {
5606 delete options_;
5607 options_ = options;
5608 if (options) {
5609 set_has_options();
5610 } else {
5611 clear_has_options();
5612 }
5613 // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescripto rProto.options)
5614 }
5615
5616 // ------------------------------------------------------------------- 5109 // -------------------------------------------------------------------
5617 5110
5618 // EnumDescriptorProto 5111 // EnumDescriptorProto
5619 5112
5620 // optional string name = 1; 5113 // optional string name = 1;
5621 inline bool EnumDescriptorProto::has_name() const { 5114 inline bool EnumDescriptorProto::has_name() const {
5622 return (_has_bits_[0] & 0x00000001u) != 0; 5115 return (_has_bits_[0] & 0x00000001u) != 0;
5623 } 5116 }
5624 inline void EnumDescriptorProto::set_has_name() { 5117 inline void EnumDescriptorProto::set_has_name() {
5625 _has_bits_[0] |= 0x00000001u; 5118 _has_bits_[0] |= 0x00000001u;
5626 } 5119 }
5627 inline void EnumDescriptorProto::clear_has_name() { 5120 inline void EnumDescriptorProto::clear_has_name() {
5628 _has_bits_[0] &= ~0x00000001u; 5121 _has_bits_[0] &= ~0x00000001u;
5629 } 5122 }
5630 inline void EnumDescriptorProto::clear_name() { 5123 inline void EnumDescriptorProto::clear_name() {
5631 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 5124 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
5632 clear_has_name(); 5125 clear_has_name();
5633 } 5126 }
5634 inline const ::std::string& EnumDescriptorProto::name() const { 5127 inline const ::std::string& EnumDescriptorProto::name() const {
5635 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name ) 5128 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name )
5636 return name_.GetNoArena(); 5129 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited());
5637 } 5130 }
5638 inline void EnumDescriptorProto::set_name(const ::std::string& value) { 5131 inline void EnumDescriptorProto::set_name(const ::std::string& value) {
5639 set_has_name(); 5132 set_has_name();
5640 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 5133 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5641 // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name ) 5134 // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name )
5642 } 5135 }
5643 inline void EnumDescriptorProto::set_name(const char* value) { 5136 inline void EnumDescriptorProto::set_name(const char* value) {
5644 set_has_name(); 5137 set_has_name();
5645 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 5138 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5646 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto .name) 5139 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto .name)
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
5696 return &value_; 5189 return &value_;
5697 } 5190 }
5698 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue DescriptorProto >& 5191 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue DescriptorProto >&
5699 EnumDescriptorProto::value() const { 5192 EnumDescriptorProto::value() const {
5700 // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.val ue) 5193 // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.val ue)
5701 return value_; 5194 return value_;
5702 } 5195 }
5703 5196
5704 // optional .google.protobuf.EnumOptions options = 3; 5197 // optional .google.protobuf.EnumOptions options = 3;
5705 inline bool EnumDescriptorProto::has_options() const { 5198 inline bool EnumDescriptorProto::has_options() const {
5706 return (_has_bits_[0] & 0x00000002u) != 0; 5199 return (_has_bits_[0] & 0x00000004u) != 0;
5707 } 5200 }
5708 inline void EnumDescriptorProto::set_has_options() { 5201 inline void EnumDescriptorProto::set_has_options() {
5709 _has_bits_[0] |= 0x00000002u; 5202 _has_bits_[0] |= 0x00000004u;
5710 } 5203 }
5711 inline void EnumDescriptorProto::clear_has_options() { 5204 inline void EnumDescriptorProto::clear_has_options() {
5712 _has_bits_[0] &= ~0x00000002u; 5205 _has_bits_[0] &= ~0x00000004u;
5713 } 5206 }
5714 inline void EnumDescriptorProto::clear_options() { 5207 inline void EnumDescriptorProto::clear_options() {
5715 if (options_ != NULL) options_->::google::protobuf::EnumOptions::Clear(); 5208 if (options_ != NULL) options_->::google::protobuf::EnumOptions::Clear();
5716 clear_has_options(); 5209 clear_has_options();
5717 } 5210 }
5718 inline const ::google::protobuf::EnumOptions& EnumDescriptorProto::options() con st { 5211 inline const ::google::protobuf::EnumOptions& EnumDescriptorProto::options() con st {
5719 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.opti ons) 5212 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.opti ons)
5720 return options_ != NULL ? *options_ 5213 return options_ != NULL ? *options_ : *default_instance_->options_;
5721 : *::google::protobuf::EnumOptions::internal_default_in stance();
5722 } 5214 }
5723 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::mutable_options() { 5215 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::mutable_options() {
5724 set_has_options(); 5216 set_has_options();
5725 if (options_ == NULL) { 5217 if (options_ == NULL) {
5726 options_ = new ::google::protobuf::EnumOptions; 5218 options_ = new ::google::protobuf::EnumOptions;
5727 } 5219 }
5728 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto. options) 5220 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto. options)
5729 return options_; 5221 return options_;
5730 } 5222 }
5731 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::release_options() { 5223 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::release_options() {
(...skipping 27 matching lines...) Expand all
5759 } 5251 }
5760 inline void EnumValueDescriptorProto::clear_has_name() { 5252 inline void EnumValueDescriptorProto::clear_has_name() {
5761 _has_bits_[0] &= ~0x00000001u; 5253 _has_bits_[0] &= ~0x00000001u;
5762 } 5254 }
5763 inline void EnumValueDescriptorProto::clear_name() { 5255 inline void EnumValueDescriptorProto::clear_name() {
5764 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 5256 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
5765 clear_has_name(); 5257 clear_has_name();
5766 } 5258 }
5767 inline const ::std::string& EnumValueDescriptorProto::name() const { 5259 inline const ::std::string& EnumValueDescriptorProto::name() const {
5768 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto .name) 5260 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto .name)
5769 return name_.GetNoArena(); 5261 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited());
5770 } 5262 }
5771 inline void EnumValueDescriptorProto::set_name(const ::std::string& value) { 5263 inline void EnumValueDescriptorProto::set_name(const ::std::string& value) {
5772 set_has_name(); 5264 set_has_name();
5773 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 5265 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5774 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto .name) 5266 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto .name)
5775 } 5267 }
5776 inline void EnumValueDescriptorProto::set_name(const char* value) { 5268 inline void EnumValueDescriptorProto::set_name(const char* value) {
5777 set_has_name(); 5269 set_has_name();
5778 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 5270 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5779 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValueDescriptor Proto.name) 5271 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValueDescriptor Proto.name)
(...skipping 19 matching lines...) Expand all
5799 set_has_name(); 5291 set_has_name();
5800 } else { 5292 } else {
5801 clear_has_name(); 5293 clear_has_name();
5802 } 5294 }
5803 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), name); 5295 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), name);
5804 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescr iptorProto.name) 5296 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescr iptorProto.name)
5805 } 5297 }
5806 5298
5807 // optional int32 number = 2; 5299 // optional int32 number = 2;
5808 inline bool EnumValueDescriptorProto::has_number() const { 5300 inline bool EnumValueDescriptorProto::has_number() const {
5809 return (_has_bits_[0] & 0x00000004u) != 0; 5301 return (_has_bits_[0] & 0x00000002u) != 0;
5810 } 5302 }
5811 inline void EnumValueDescriptorProto::set_has_number() { 5303 inline void EnumValueDescriptorProto::set_has_number() {
5812 _has_bits_[0] |= 0x00000004u; 5304 _has_bits_[0] |= 0x00000002u;
5813 } 5305 }
5814 inline void EnumValueDescriptorProto::clear_has_number() { 5306 inline void EnumValueDescriptorProto::clear_has_number() {
5815 _has_bits_[0] &= ~0x00000004u; 5307 _has_bits_[0] &= ~0x00000002u;
5816 } 5308 }
5817 inline void EnumValueDescriptorProto::clear_number() { 5309 inline void EnumValueDescriptorProto::clear_number() {
5818 number_ = 0; 5310 number_ = 0;
5819 clear_has_number(); 5311 clear_has_number();
5820 } 5312 }
5821 inline ::google::protobuf::int32 EnumValueDescriptorProto::number() const { 5313 inline ::google::protobuf::int32 EnumValueDescriptorProto::number() const {
5822 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto .number) 5314 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto .number)
5823 return number_; 5315 return number_;
5824 } 5316 }
5825 inline void EnumValueDescriptorProto::set_number(::google::protobuf::int32 value ) { 5317 inline void EnumValueDescriptorProto::set_number(::google::protobuf::int32 value ) {
5826 set_has_number(); 5318 set_has_number();
5827 number_ = value; 5319 number_ = value;
5828 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto .number) 5320 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto .number)
5829 } 5321 }
5830 5322
5831 // optional .google.protobuf.EnumValueOptions options = 3; 5323 // optional .google.protobuf.EnumValueOptions options = 3;
5832 inline bool EnumValueDescriptorProto::has_options() const { 5324 inline bool EnumValueDescriptorProto::has_options() const {
5833 return (_has_bits_[0] & 0x00000002u) != 0; 5325 return (_has_bits_[0] & 0x00000004u) != 0;
5834 } 5326 }
5835 inline void EnumValueDescriptorProto::set_has_options() { 5327 inline void EnumValueDescriptorProto::set_has_options() {
5836 _has_bits_[0] |= 0x00000002u; 5328 _has_bits_[0] |= 0x00000004u;
5837 } 5329 }
5838 inline void EnumValueDescriptorProto::clear_has_options() { 5330 inline void EnumValueDescriptorProto::clear_has_options() {
5839 _has_bits_[0] &= ~0x00000002u; 5331 _has_bits_[0] &= ~0x00000004u;
5840 } 5332 }
5841 inline void EnumValueDescriptorProto::clear_options() { 5333 inline void EnumValueDescriptorProto::clear_options() {
5842 if (options_ != NULL) options_->::google::protobuf::EnumValueOptions::Clear(); 5334 if (options_ != NULL) options_->::google::protobuf::EnumValueOptions::Clear();
5843 clear_has_options(); 5335 clear_has_options();
5844 } 5336 }
5845 inline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::opt ions() const { 5337 inline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::opt ions() const {
5846 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto .options) 5338 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto .options)
5847 return options_ != NULL ? *options_ 5339 return options_ != NULL ? *options_ : *default_instance_->options_;
5848 : *::google::protobuf::EnumValueOptions::internal_defau lt_instance();
5849 } 5340 }
5850 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::mutable_o ptions() { 5341 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::mutable_o ptions() {
5851 set_has_options(); 5342 set_has_options();
5852 if (options_ == NULL) { 5343 if (options_ == NULL) {
5853 options_ = new ::google::protobuf::EnumValueOptions; 5344 options_ = new ::google::protobuf::EnumValueOptions;
5854 } 5345 }
5855 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorP roto.options) 5346 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorP roto.options)
5856 return options_; 5347 return options_;
5857 } 5348 }
5858 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::release_o ptions() { 5349 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::release_o ptions() {
(...skipping 27 matching lines...) Expand all
5886 } 5377 }
5887 inline void ServiceDescriptorProto::clear_has_name() { 5378 inline void ServiceDescriptorProto::clear_has_name() {
5888 _has_bits_[0] &= ~0x00000001u; 5379 _has_bits_[0] &= ~0x00000001u;
5889 } 5380 }
5890 inline void ServiceDescriptorProto::clear_name() { 5381 inline void ServiceDescriptorProto::clear_name() {
5891 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 5382 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
5892 clear_has_name(); 5383 clear_has_name();
5893 } 5384 }
5894 inline const ::std::string& ServiceDescriptorProto::name() const { 5385 inline const ::std::string& ServiceDescriptorProto::name() const {
5895 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.n ame) 5386 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.n ame)
5896 return name_.GetNoArena(); 5387 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited());
5897 } 5388 }
5898 inline void ServiceDescriptorProto::set_name(const ::std::string& value) { 5389 inline void ServiceDescriptorProto::set_name(const ::std::string& value) {
5899 set_has_name(); 5390 set_has_name();
5900 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 5391 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5901 // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.n ame) 5392 // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.n ame)
5902 } 5393 }
5903 inline void ServiceDescriptorProto::set_name(const char* value) { 5394 inline void ServiceDescriptorProto::set_name(const char* value) {
5904 set_has_name(); 5395 set_has_name();
5905 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 5396 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5906 // @@protoc_insertion_point(field_set_char:google.protobuf.ServiceDescriptorPr oto.name) 5397 // @@protoc_insertion_point(field_set_char:google.protobuf.ServiceDescriptorPr oto.name)
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
5956 return &method_; 5447 return &method_;
5957 } 5448 }
5958 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDes criptorProto >& 5449 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDes criptorProto >&
5959 ServiceDescriptorProto::method() const { 5450 ServiceDescriptorProto::method() const {
5960 // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto. method) 5451 // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto. method)
5961 return method_; 5452 return method_;
5962 } 5453 }
5963 5454
5964 // optional .google.protobuf.ServiceOptions options = 3; 5455 // optional .google.protobuf.ServiceOptions options = 3;
5965 inline bool ServiceDescriptorProto::has_options() const { 5456 inline bool ServiceDescriptorProto::has_options() const {
5966 return (_has_bits_[0] & 0x00000002u) != 0; 5457 return (_has_bits_[0] & 0x00000004u) != 0;
5967 } 5458 }
5968 inline void ServiceDescriptorProto::set_has_options() { 5459 inline void ServiceDescriptorProto::set_has_options() {
5969 _has_bits_[0] |= 0x00000002u; 5460 _has_bits_[0] |= 0x00000004u;
5970 } 5461 }
5971 inline void ServiceDescriptorProto::clear_has_options() { 5462 inline void ServiceDescriptorProto::clear_has_options() {
5972 _has_bits_[0] &= ~0x00000002u; 5463 _has_bits_[0] &= ~0x00000004u;
5973 } 5464 }
5974 inline void ServiceDescriptorProto::clear_options() { 5465 inline void ServiceDescriptorProto::clear_options() {
5975 if (options_ != NULL) options_->::google::protobuf::ServiceOptions::Clear(); 5466 if (options_ != NULL) options_->::google::protobuf::ServiceOptions::Clear();
5976 clear_has_options(); 5467 clear_has_options();
5977 } 5468 }
5978 inline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::options () const { 5469 inline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::options () const {
5979 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.o ptions) 5470 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.o ptions)
5980 return options_ != NULL ? *options_ 5471 return options_ != NULL ? *options_ : *default_instance_->options_;
5981 : *::google::protobuf::ServiceOptions::internal_default _instance();
5982 } 5472 }
5983 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::mutable_optio ns() { 5473 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::mutable_optio ns() {
5984 set_has_options(); 5474 set_has_options();
5985 if (options_ == NULL) { 5475 if (options_ == NULL) {
5986 options_ = new ::google::protobuf::ServiceOptions; 5476 options_ = new ::google::protobuf::ServiceOptions;
5987 } 5477 }
5988 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorPro to.options) 5478 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorPro to.options)
5989 return options_; 5479 return options_;
5990 } 5480 }
5991 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::release_optio ns() { 5481 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::release_optio ns() {
(...skipping 27 matching lines...) Expand all
6019 } 5509 }
6020 inline void MethodDescriptorProto::clear_has_name() { 5510 inline void MethodDescriptorProto::clear_has_name() {
6021 _has_bits_[0] &= ~0x00000001u; 5511 _has_bits_[0] &= ~0x00000001u;
6022 } 5512 }
6023 inline void MethodDescriptorProto::clear_name() { 5513 inline void MethodDescriptorProto::clear_name() {
6024 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 5514 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
6025 clear_has_name(); 5515 clear_has_name();
6026 } 5516 }
6027 inline const ::std::string& MethodDescriptorProto::name() const { 5517 inline const ::std::string& MethodDescriptorProto::name() const {
6028 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.na me) 5518 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.na me)
6029 return name_.GetNoArena(); 5519 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited());
6030 } 5520 }
6031 inline void MethodDescriptorProto::set_name(const ::std::string& value) { 5521 inline void MethodDescriptorProto::set_name(const ::std::string& value) {
6032 set_has_name(); 5522 set_has_name();
6033 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 5523 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6034 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.na me) 5524 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.na me)
6035 } 5525 }
6036 inline void MethodDescriptorProto::set_name(const char* value) { 5526 inline void MethodDescriptorProto::set_name(const char* value) {
6037 set_has_name(); 5527 set_has_name();
6038 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 5528 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6039 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro to.name) 5529 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro to.name)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
6073 } 5563 }
6074 inline void MethodDescriptorProto::clear_has_input_type() { 5564 inline void MethodDescriptorProto::clear_has_input_type() {
6075 _has_bits_[0] &= ~0x00000002u; 5565 _has_bits_[0] &= ~0x00000002u;
6076 } 5566 }
6077 inline void MethodDescriptorProto::clear_input_type() { 5567 inline void MethodDescriptorProto::clear_input_type() {
6078 input_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringA lreadyInited()); 5568 input_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringA lreadyInited());
6079 clear_has_input_type(); 5569 clear_has_input_type();
6080 } 5570 }
6081 inline const ::std::string& MethodDescriptorProto::input_type() const { 5571 inline const ::std::string& MethodDescriptorProto::input_type() const {
6082 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.in put_type) 5572 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.in put_type)
6083 return input_type_.GetNoArena(); 5573 return input_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited());
6084 } 5574 }
6085 inline void MethodDescriptorProto::set_input_type(const ::std::string& value) { 5575 inline void MethodDescriptorProto::set_input_type(const ::std::string& value) {
6086 set_has_input_type(); 5576 set_has_input_type();
6087 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni ted(), value); 5577 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni ted(), value);
6088 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.in put_type) 5578 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.in put_type)
6089 } 5579 }
6090 inline void MethodDescriptorProto::set_input_type(const char* value) { 5580 inline void MethodDescriptorProto::set_input_type(const char* value) {
6091 set_has_input_type(); 5581 set_has_input_type();
6092 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni ted(), ::std::string(value)); 5582 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni ted(), ::std::string(value));
6093 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro to.input_type) 5583 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro to.input_type)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
6127 } 5617 }
6128 inline void MethodDescriptorProto::clear_has_output_type() { 5618 inline void MethodDescriptorProto::clear_has_output_type() {
6129 _has_bits_[0] &= ~0x00000004u; 5619 _has_bits_[0] &= ~0x00000004u;
6130 } 5620 }
6131 inline void MethodDescriptorProto::clear_output_type() { 5621 inline void MethodDescriptorProto::clear_output_type() {
6132 output_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited()); 5622 output_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited());
6133 clear_has_output_type(); 5623 clear_has_output_type();
6134 } 5624 }
6135 inline const ::std::string& MethodDescriptorProto::output_type() const { 5625 inline const ::std::string& MethodDescriptorProto::output_type() const {
6136 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.ou tput_type) 5626 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.ou tput_type)
6137 return output_type_.GetNoArena(); 5627 return output_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited());
6138 } 5628 }
6139 inline void MethodDescriptorProto::set_output_type(const ::std::string& value) { 5629 inline void MethodDescriptorProto::set_output_type(const ::std::string& value) {
6140 set_has_output_type(); 5630 set_has_output_type();
6141 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited(), value); 5631 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited(), value);
6142 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.ou tput_type) 5632 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.ou tput_type)
6143 } 5633 }
6144 inline void MethodDescriptorProto::set_output_type(const char* value) { 5634 inline void MethodDescriptorProto::set_output_type(const char* value) {
6145 set_has_output_type(); 5635 set_has_output_type();
6146 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited(), ::std::string(value)); 5636 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited(), ::std::string(value));
6147 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro to.output_type) 5637 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro to.output_type)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
6181 } 5671 }
6182 inline void MethodDescriptorProto::clear_has_options() { 5672 inline void MethodDescriptorProto::clear_has_options() {
6183 _has_bits_[0] &= ~0x00000008u; 5673 _has_bits_[0] &= ~0x00000008u;
6184 } 5674 }
6185 inline void MethodDescriptorProto::clear_options() { 5675 inline void MethodDescriptorProto::clear_options() {
6186 if (options_ != NULL) options_->::google::protobuf::MethodOptions::Clear(); 5676 if (options_ != NULL) options_->::google::protobuf::MethodOptions::Clear();
6187 clear_has_options(); 5677 clear_has_options();
6188 } 5678 }
6189 inline const ::google::protobuf::MethodOptions& MethodDescriptorProto::options() const { 5679 inline const ::google::protobuf::MethodOptions& MethodDescriptorProto::options() const {
6190 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.op tions) 5680 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.op tions)
6191 return options_ != NULL ? *options_ 5681 return options_ != NULL ? *options_ : *default_instance_->options_;
6192 : *::google::protobuf::MethodOptions::internal_default_ instance();
6193 } 5682 }
6194 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::mutable_options () { 5683 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::mutable_options () {
6195 set_has_options(); 5684 set_has_options();
6196 if (options_ == NULL) { 5685 if (options_ == NULL) {
6197 options_ = new ::google::protobuf::MethodOptions; 5686 options_ = new ::google::protobuf::MethodOptions;
6198 } 5687 }
6199 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProt o.options) 5688 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProt o.options)
6200 return options_; 5689 return options_;
6201 } 5690 }
6202 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::release_options () { 5691 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::release_options () {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
6278 } 5767 }
6279 inline void FileOptions::clear_has_java_package() { 5768 inline void FileOptions::clear_has_java_package() {
6280 _has_bits_[0] &= ~0x00000001u; 5769 _has_bits_[0] &= ~0x00000001u;
6281 } 5770 }
6282 inline void FileOptions::clear_java_package() { 5771 inline void FileOptions::clear_java_package() {
6283 java_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin gAlreadyInited()); 5772 java_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin gAlreadyInited());
6284 clear_has_java_package(); 5773 clear_has_java_package();
6285 } 5774 }
6286 inline const ::std::string& FileOptions::java_package() const { 5775 inline const ::std::string& FileOptions::java_package() const {
6287 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package ) 5776 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package )
6288 return java_package_.GetNoArena(); 5777 return java_package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringA lreadyInited());
6289 } 5778 }
6290 inline void FileOptions::set_java_package(const ::std::string& value) { 5779 inline void FileOptions::set_java_package(const ::std::string& value) {
6291 set_has_java_package(); 5780 set_has_java_package();
6292 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), value); 5781 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), value);
6293 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package ) 5782 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package )
6294 } 5783 }
6295 inline void FileOptions::set_java_package(const char* value) { 5784 inline void FileOptions::set_java_package(const char* value) {
6296 set_has_java_package(); 5785 set_has_java_package();
6297 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), ::std::string(value)); 5786 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), ::std::string(value));
6298 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_pa ckage) 5787 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_pa ckage)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
6332 } 5821 }
6333 inline void FileOptions::clear_has_java_outer_classname() { 5822 inline void FileOptions::clear_has_java_outer_classname() {
6334 _has_bits_[0] &= ~0x00000002u; 5823 _has_bits_[0] &= ~0x00000002u;
6335 } 5824 }
6336 inline void FileOptions::clear_java_outer_classname() { 5825 inline void FileOptions::clear_java_outer_classname() {
6337 java_outer_classname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEm ptyStringAlreadyInited()); 5826 java_outer_classname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEm ptyStringAlreadyInited());
6338 clear_has_java_outer_classname(); 5827 clear_has_java_outer_classname();
6339 } 5828 }
6340 inline const ::std::string& FileOptions::java_outer_classname() const { 5829 inline const ::std::string& FileOptions::java_outer_classname() const {
6341 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_c lassname) 5830 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_c lassname)
6342 return java_outer_classname_.GetNoArena(); 5831 return java_outer_classname_.GetNoArena(&::google::protobuf::internal::GetEmpt yStringAlreadyInited());
6343 } 5832 }
6344 inline void FileOptions::set_java_outer_classname(const ::std::string& value) { 5833 inline void FileOptions::set_java_outer_classname(const ::std::string& value) {
6345 set_has_java_outer_classname(); 5834 set_has_java_outer_classname();
6346 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited(), value); 5835 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited(), value);
6347 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_c lassname) 5836 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_c lassname)
6348 } 5837 }
6349 inline void FileOptions::set_java_outer_classname(const char* value) { 5838 inline void FileOptions::set_java_outer_classname(const char* value) {
6350 set_has_java_outer_classname(); 5839 set_has_java_outer_classname();
6351 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited(), ::std::string(value)); 5840 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited(), ::std::string(value));
6352 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_ou ter_classname) 5841 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_ou ter_classname)
(...skipping 19 matching lines...) Expand all
6372 set_has_java_outer_classname(); 5861 set_has_java_outer_classname();
6373 } else { 5862 } else {
6374 clear_has_java_outer_classname(); 5863 clear_has_java_outer_classname();
6375 } 5864 }
6376 java_outer_classname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEm ptyStringAlreadyInited(), java_outer_classname); 5865 java_outer_classname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEm ptyStringAlreadyInited(), java_outer_classname);
6377 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ja va_outer_classname) 5866 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ja va_outer_classname)
6378 } 5867 }
6379 5868
6380 // optional bool java_multiple_files = 10 [default = false]; 5869 // optional bool java_multiple_files = 10 [default = false];
6381 inline bool FileOptions::has_java_multiple_files() const { 5870 inline bool FileOptions::has_java_multiple_files() const {
6382 return (_has_bits_[0] & 0x00000040u) != 0; 5871 return (_has_bits_[0] & 0x00000004u) != 0;
6383 } 5872 }
6384 inline void FileOptions::set_has_java_multiple_files() { 5873 inline void FileOptions::set_has_java_multiple_files() {
6385 _has_bits_[0] |= 0x00000040u; 5874 _has_bits_[0] |= 0x00000004u;
6386 } 5875 }
6387 inline void FileOptions::clear_has_java_multiple_files() { 5876 inline void FileOptions::clear_has_java_multiple_files() {
6388 _has_bits_[0] &= ~0x00000040u; 5877 _has_bits_[0] &= ~0x00000004u;
6389 } 5878 }
6390 inline void FileOptions::clear_java_multiple_files() { 5879 inline void FileOptions::clear_java_multiple_files() {
6391 java_multiple_files_ = false; 5880 java_multiple_files_ = false;
6392 clear_has_java_multiple_files(); 5881 clear_has_java_multiple_files();
6393 } 5882 }
6394 inline bool FileOptions::java_multiple_files() const { 5883 inline bool FileOptions::java_multiple_files() const {
6395 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multipl e_files) 5884 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multipl e_files)
6396 return java_multiple_files_; 5885 return java_multiple_files_;
6397 } 5886 }
6398 inline void FileOptions::set_java_multiple_files(bool value) { 5887 inline void FileOptions::set_java_multiple_files(bool value) {
6399 set_has_java_multiple_files(); 5888 set_has_java_multiple_files();
6400 java_multiple_files_ = value; 5889 java_multiple_files_ = value;
6401 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multipl e_files) 5890 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multipl e_files)
6402 } 5891 }
6403 5892
6404 // optional bool java_generate_equals_and_hash = 20 [deprecated = true]; 5893 // optional bool java_generate_equals_and_hash = 20 [default = false];
6405 inline bool FileOptions::has_java_generate_equals_and_hash() const { 5894 inline bool FileOptions::has_java_generate_equals_and_hash() const {
6406 return (_has_bits_[0] & 0x00000080u) != 0; 5895 return (_has_bits_[0] & 0x00000008u) != 0;
6407 } 5896 }
6408 inline void FileOptions::set_has_java_generate_equals_and_hash() { 5897 inline void FileOptions::set_has_java_generate_equals_and_hash() {
6409 _has_bits_[0] |= 0x00000080u; 5898 _has_bits_[0] |= 0x00000008u;
6410 } 5899 }
6411 inline void FileOptions::clear_has_java_generate_equals_and_hash() { 5900 inline void FileOptions::clear_has_java_generate_equals_and_hash() {
6412 _has_bits_[0] &= ~0x00000080u; 5901 _has_bits_[0] &= ~0x00000008u;
6413 } 5902 }
6414 inline void FileOptions::clear_java_generate_equals_and_hash() { 5903 inline void FileOptions::clear_java_generate_equals_and_hash() {
6415 java_generate_equals_and_hash_ = false; 5904 java_generate_equals_and_hash_ = false;
6416 clear_has_java_generate_equals_and_hash(); 5905 clear_has_java_generate_equals_and_hash();
6417 } 5906 }
6418 inline bool FileOptions::java_generate_equals_and_hash() const { 5907 inline bool FileOptions::java_generate_equals_and_hash() const {
6419 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generat e_equals_and_hash) 5908 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generat e_equals_and_hash)
6420 return java_generate_equals_and_hash_; 5909 return java_generate_equals_and_hash_;
6421 } 5910 }
6422 inline void FileOptions::set_java_generate_equals_and_hash(bool value) { 5911 inline void FileOptions::set_java_generate_equals_and_hash(bool value) {
6423 set_has_java_generate_equals_and_hash(); 5912 set_has_java_generate_equals_and_hash();
6424 java_generate_equals_and_hash_ = value; 5913 java_generate_equals_and_hash_ = value;
6425 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generat e_equals_and_hash) 5914 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generat e_equals_and_hash)
6426 } 5915 }
6427 5916
6428 // optional bool java_string_check_utf8 = 27 [default = false]; 5917 // optional bool java_string_check_utf8 = 27 [default = false];
6429 inline bool FileOptions::has_java_string_check_utf8() const { 5918 inline bool FileOptions::has_java_string_check_utf8() const {
6430 return (_has_bits_[0] & 0x00000100u) != 0; 5919 return (_has_bits_[0] & 0x00000010u) != 0;
6431 } 5920 }
6432 inline void FileOptions::set_has_java_string_check_utf8() { 5921 inline void FileOptions::set_has_java_string_check_utf8() {
6433 _has_bits_[0] |= 0x00000100u; 5922 _has_bits_[0] |= 0x00000010u;
6434 } 5923 }
6435 inline void FileOptions::clear_has_java_string_check_utf8() { 5924 inline void FileOptions::clear_has_java_string_check_utf8() {
6436 _has_bits_[0] &= ~0x00000100u; 5925 _has_bits_[0] &= ~0x00000010u;
6437 } 5926 }
6438 inline void FileOptions::clear_java_string_check_utf8() { 5927 inline void FileOptions::clear_java_string_check_utf8() {
6439 java_string_check_utf8_ = false; 5928 java_string_check_utf8_ = false;
6440 clear_has_java_string_check_utf8(); 5929 clear_has_java_string_check_utf8();
6441 } 5930 }
6442 inline bool FileOptions::java_string_check_utf8() const { 5931 inline bool FileOptions::java_string_check_utf8() const {
6443 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_ check_utf8) 5932 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_ check_utf8)
6444 return java_string_check_utf8_; 5933 return java_string_check_utf8_;
6445 } 5934 }
6446 inline void FileOptions::set_java_string_check_utf8(bool value) { 5935 inline void FileOptions::set_java_string_check_utf8(bool value) {
6447 set_has_java_string_check_utf8(); 5936 set_has_java_string_check_utf8();
6448 java_string_check_utf8_ = value; 5937 java_string_check_utf8_ = value;
6449 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_ check_utf8) 5938 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_ check_utf8)
6450 } 5939 }
6451 5940
6452 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; 5941 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
6453 inline bool FileOptions::has_optimize_for() const { 5942 inline bool FileOptions::has_optimize_for() const {
6454 return (_has_bits_[0] & 0x00004000u) != 0; 5943 return (_has_bits_[0] & 0x00000020u) != 0;
6455 } 5944 }
6456 inline void FileOptions::set_has_optimize_for() { 5945 inline void FileOptions::set_has_optimize_for() {
6457 _has_bits_[0] |= 0x00004000u; 5946 _has_bits_[0] |= 0x00000020u;
6458 } 5947 }
6459 inline void FileOptions::clear_has_optimize_for() { 5948 inline void FileOptions::clear_has_optimize_for() {
6460 _has_bits_[0] &= ~0x00004000u; 5949 _has_bits_[0] &= ~0x00000020u;
6461 } 5950 }
6462 inline void FileOptions::clear_optimize_for() { 5951 inline void FileOptions::clear_optimize_for() {
6463 optimize_for_ = 1; 5952 optimize_for_ = 1;
6464 clear_has_optimize_for(); 5953 clear_has_optimize_for();
6465 } 5954 }
6466 inline ::google::protobuf::FileOptions_OptimizeMode FileOptions::optimize_for() const { 5955 inline ::google::protobuf::FileOptions_OptimizeMode FileOptions::optimize_for() const {
6467 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for ) 5956 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for )
6468 return static_cast< ::google::protobuf::FileOptions_OptimizeMode >(optimize_fo r_); 5957 return static_cast< ::google::protobuf::FileOptions_OptimizeMode >(optimize_fo r_);
6469 } 5958 }
6470 inline void FileOptions::set_optimize_for(::google::protobuf::FileOptions_Optimi zeMode value) { 5959 inline void FileOptions::set_optimize_for(::google::protobuf::FileOptions_Optimi zeMode value) {
6471 assert(::google::protobuf::FileOptions_OptimizeMode_IsValid(value)); 5960 assert(::google::protobuf::FileOptions_OptimizeMode_IsValid(value));
6472 set_has_optimize_for(); 5961 set_has_optimize_for();
6473 optimize_for_ = value; 5962 optimize_for_ = value;
6474 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for ) 5963 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for )
6475 } 5964 }
6476 5965
6477 // optional string go_package = 11; 5966 // optional string go_package = 11;
6478 inline bool FileOptions::has_go_package() const { 5967 inline bool FileOptions::has_go_package() const {
6479 return (_has_bits_[0] & 0x00000004u) != 0; 5968 return (_has_bits_[0] & 0x00000040u) != 0;
6480 } 5969 }
6481 inline void FileOptions::set_has_go_package() { 5970 inline void FileOptions::set_has_go_package() {
6482 _has_bits_[0] |= 0x00000004u; 5971 _has_bits_[0] |= 0x00000040u;
6483 } 5972 }
6484 inline void FileOptions::clear_has_go_package() { 5973 inline void FileOptions::clear_has_go_package() {
6485 _has_bits_[0] &= ~0x00000004u; 5974 _has_bits_[0] &= ~0x00000040u;
6486 } 5975 }
6487 inline void FileOptions::clear_go_package() { 5976 inline void FileOptions::clear_go_package() {
6488 go_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringA lreadyInited()); 5977 go_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringA lreadyInited());
6489 clear_has_go_package(); 5978 clear_has_go_package();
6490 } 5979 }
6491 inline const ::std::string& FileOptions::go_package() const { 5980 inline const ::std::string& FileOptions::go_package() const {
6492 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package) 5981 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package)
6493 return go_package_.GetNoArena(); 5982 return go_package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited());
6494 } 5983 }
6495 inline void FileOptions::set_go_package(const ::std::string& value) { 5984 inline void FileOptions::set_go_package(const ::std::string& value) {
6496 set_has_go_package(); 5985 set_has_go_package();
6497 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni ted(), value); 5986 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni ted(), value);
6498 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package) 5987 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package)
6499 } 5988 }
6500 inline void FileOptions::set_go_package(const char* value) { 5989 inline void FileOptions::set_go_package(const char* value) {
6501 set_has_go_package(); 5990 set_has_go_package();
6502 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni ted(), ::std::string(value)); 5991 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni ted(), ::std::string(value));
6503 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.go_pack age) 5992 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.go_pack age)
(...skipping 19 matching lines...) Expand all
6523 set_has_go_package(); 6012 set_has_go_package();
6524 } else { 6013 } else {
6525 clear_has_go_package(); 6014 clear_has_go_package();
6526 } 6015 }
6527 go_package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringA lreadyInited(), go_package); 6016 go_package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringA lreadyInited(), go_package);
6528 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go _package) 6017 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go _package)
6529 } 6018 }
6530 6019
6531 // optional bool cc_generic_services = 16 [default = false]; 6020 // optional bool cc_generic_services = 16 [default = false];
6532 inline bool FileOptions::has_cc_generic_services() const { 6021 inline bool FileOptions::has_cc_generic_services() const {
6533 return (_has_bits_[0] & 0x00000200u) != 0; 6022 return (_has_bits_[0] & 0x00000080u) != 0;
6534 } 6023 }
6535 inline void FileOptions::set_has_cc_generic_services() { 6024 inline void FileOptions::set_has_cc_generic_services() {
6536 _has_bits_[0] |= 0x00000200u; 6025 _has_bits_[0] |= 0x00000080u;
6537 } 6026 }
6538 inline void FileOptions::clear_has_cc_generic_services() { 6027 inline void FileOptions::clear_has_cc_generic_services() {
6539 _has_bits_[0] &= ~0x00000200u; 6028 _has_bits_[0] &= ~0x00000080u;
6540 } 6029 }
6541 inline void FileOptions::clear_cc_generic_services() { 6030 inline void FileOptions::clear_cc_generic_services() {
6542 cc_generic_services_ = false; 6031 cc_generic_services_ = false;
6543 clear_has_cc_generic_services(); 6032 clear_has_cc_generic_services();
6544 } 6033 }
6545 inline bool FileOptions::cc_generic_services() const { 6034 inline bool FileOptions::cc_generic_services() const {
6546 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_s ervices) 6035 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_s ervices)
6547 return cc_generic_services_; 6036 return cc_generic_services_;
6548 } 6037 }
6549 inline void FileOptions::set_cc_generic_services(bool value) { 6038 inline void FileOptions::set_cc_generic_services(bool value) {
6550 set_has_cc_generic_services(); 6039 set_has_cc_generic_services();
6551 cc_generic_services_ = value; 6040 cc_generic_services_ = value;
6552 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_s ervices) 6041 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_s ervices)
6553 } 6042 }
6554 6043
6555 // optional bool java_generic_services = 17 [default = false]; 6044 // optional bool java_generic_services = 17 [default = false];
6556 inline bool FileOptions::has_java_generic_services() const { 6045 inline bool FileOptions::has_java_generic_services() const {
6557 return (_has_bits_[0] & 0x00000400u) != 0; 6046 return (_has_bits_[0] & 0x00000100u) != 0;
6558 } 6047 }
6559 inline void FileOptions::set_has_java_generic_services() { 6048 inline void FileOptions::set_has_java_generic_services() {
6560 _has_bits_[0] |= 0x00000400u; 6049 _has_bits_[0] |= 0x00000100u;
6561 } 6050 }
6562 inline void FileOptions::clear_has_java_generic_services() { 6051 inline void FileOptions::clear_has_java_generic_services() {
6563 _has_bits_[0] &= ~0x00000400u; 6052 _has_bits_[0] &= ~0x00000100u;
6564 } 6053 }
6565 inline void FileOptions::clear_java_generic_services() { 6054 inline void FileOptions::clear_java_generic_services() {
6566 java_generic_services_ = false; 6055 java_generic_services_ = false;
6567 clear_has_java_generic_services(); 6056 clear_has_java_generic_services();
6568 } 6057 }
6569 inline bool FileOptions::java_generic_services() const { 6058 inline bool FileOptions::java_generic_services() const {
6570 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic _services) 6059 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic _services)
6571 return java_generic_services_; 6060 return java_generic_services_;
6572 } 6061 }
6573 inline void FileOptions::set_java_generic_services(bool value) { 6062 inline void FileOptions::set_java_generic_services(bool value) {
6574 set_has_java_generic_services(); 6063 set_has_java_generic_services();
6575 java_generic_services_ = value; 6064 java_generic_services_ = value;
6576 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic _services) 6065 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic _services)
6577 } 6066 }
6578 6067
6579 // optional bool py_generic_services = 18 [default = false]; 6068 // optional bool py_generic_services = 18 [default = false];
6580 inline bool FileOptions::has_py_generic_services() const { 6069 inline bool FileOptions::has_py_generic_services() const {
6581 return (_has_bits_[0] & 0x00000800u) != 0; 6070 return (_has_bits_[0] & 0x00000200u) != 0;
6582 } 6071 }
6583 inline void FileOptions::set_has_py_generic_services() { 6072 inline void FileOptions::set_has_py_generic_services() {
6584 _has_bits_[0] |= 0x00000800u; 6073 _has_bits_[0] |= 0x00000200u;
6585 } 6074 }
6586 inline void FileOptions::clear_has_py_generic_services() { 6075 inline void FileOptions::clear_has_py_generic_services() {
6587 _has_bits_[0] &= ~0x00000800u; 6076 _has_bits_[0] &= ~0x00000200u;
6588 } 6077 }
6589 inline void FileOptions::clear_py_generic_services() { 6078 inline void FileOptions::clear_py_generic_services() {
6590 py_generic_services_ = false; 6079 py_generic_services_ = false;
6591 clear_has_py_generic_services(); 6080 clear_has_py_generic_services();
6592 } 6081 }
6593 inline bool FileOptions::py_generic_services() const { 6082 inline bool FileOptions::py_generic_services() const {
6594 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_s ervices) 6083 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_s ervices)
6595 return py_generic_services_; 6084 return py_generic_services_;
6596 } 6085 }
6597 inline void FileOptions::set_py_generic_services(bool value) { 6086 inline void FileOptions::set_py_generic_services(bool value) {
6598 set_has_py_generic_services(); 6087 set_has_py_generic_services();
6599 py_generic_services_ = value; 6088 py_generic_services_ = value;
6600 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_s ervices) 6089 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_s ervices)
6601 } 6090 }
6602 6091
6603 // optional bool deprecated = 23 [default = false]; 6092 // optional bool deprecated = 23 [default = false];
6604 inline bool FileOptions::has_deprecated() const { 6093 inline bool FileOptions::has_deprecated() const {
6605 return (_has_bits_[0] & 0x00001000u) != 0; 6094 return (_has_bits_[0] & 0x00000400u) != 0;
6606 } 6095 }
6607 inline void FileOptions::set_has_deprecated() { 6096 inline void FileOptions::set_has_deprecated() {
6608 _has_bits_[0] |= 0x00001000u; 6097 _has_bits_[0] |= 0x00000400u;
6609 } 6098 }
6610 inline void FileOptions::clear_has_deprecated() { 6099 inline void FileOptions::clear_has_deprecated() {
6611 _has_bits_[0] &= ~0x00001000u; 6100 _has_bits_[0] &= ~0x00000400u;
6612 } 6101 }
6613 inline void FileOptions::clear_deprecated() { 6102 inline void FileOptions::clear_deprecated() {
6614 deprecated_ = false; 6103 deprecated_ = false;
6615 clear_has_deprecated(); 6104 clear_has_deprecated();
6616 } 6105 }
6617 inline bool FileOptions::deprecated() const { 6106 inline bool FileOptions::deprecated() const {
6618 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated) 6107 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated)
6619 return deprecated_; 6108 return deprecated_;
6620 } 6109 }
6621 inline void FileOptions::set_deprecated(bool value) { 6110 inline void FileOptions::set_deprecated(bool value) {
6622 set_has_deprecated(); 6111 set_has_deprecated();
6623 deprecated_ = value; 6112 deprecated_ = value;
6624 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated) 6113 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated)
6625 } 6114 }
6626 6115
6627 // optional bool cc_enable_arenas = 31 [default = false]; 6116 // optional bool cc_enable_arenas = 31 [default = false];
6628 inline bool FileOptions::has_cc_enable_arenas() const { 6117 inline bool FileOptions::has_cc_enable_arenas() const {
6629 return (_has_bits_[0] & 0x00002000u) != 0; 6118 return (_has_bits_[0] & 0x00000800u) != 0;
6630 } 6119 }
6631 inline void FileOptions::set_has_cc_enable_arenas() { 6120 inline void FileOptions::set_has_cc_enable_arenas() {
6632 _has_bits_[0] |= 0x00002000u; 6121 _has_bits_[0] |= 0x00000800u;
6633 } 6122 }
6634 inline void FileOptions::clear_has_cc_enable_arenas() { 6123 inline void FileOptions::clear_has_cc_enable_arenas() {
6635 _has_bits_[0] &= ~0x00002000u; 6124 _has_bits_[0] &= ~0x00000800u;
6636 } 6125 }
6637 inline void FileOptions::clear_cc_enable_arenas() { 6126 inline void FileOptions::clear_cc_enable_arenas() {
6638 cc_enable_arenas_ = false; 6127 cc_enable_arenas_ = false;
6639 clear_has_cc_enable_arenas(); 6128 clear_has_cc_enable_arenas();
6640 } 6129 }
6641 inline bool FileOptions::cc_enable_arenas() const { 6130 inline bool FileOptions::cc_enable_arenas() const {
6642 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_ar enas) 6131 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_ar enas)
6643 return cc_enable_arenas_; 6132 return cc_enable_arenas_;
6644 } 6133 }
6645 inline void FileOptions::set_cc_enable_arenas(bool value) { 6134 inline void FileOptions::set_cc_enable_arenas(bool value) {
6646 set_has_cc_enable_arenas(); 6135 set_has_cc_enable_arenas();
6647 cc_enable_arenas_ = value; 6136 cc_enable_arenas_ = value;
6648 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_ar enas) 6137 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_ar enas)
6649 } 6138 }
6650 6139
6651 // optional string objc_class_prefix = 36; 6140 // optional string objc_class_prefix = 36;
6652 inline bool FileOptions::has_objc_class_prefix() const { 6141 inline bool FileOptions::has_objc_class_prefix() const {
6653 return (_has_bits_[0] & 0x00000008u) != 0; 6142 return (_has_bits_[0] & 0x00001000u) != 0;
6654 } 6143 }
6655 inline void FileOptions::set_has_objc_class_prefix() { 6144 inline void FileOptions::set_has_objc_class_prefix() {
6656 _has_bits_[0] |= 0x00000008u; 6145 _has_bits_[0] |= 0x00001000u;
6657 } 6146 }
6658 inline void FileOptions::clear_has_objc_class_prefix() { 6147 inline void FileOptions::clear_has_objc_class_prefix() {
6659 _has_bits_[0] &= ~0x00000008u; 6148 _has_bits_[0] &= ~0x00001000u;
6660 } 6149 }
6661 inline void FileOptions::clear_objc_class_prefix() { 6150 inline void FileOptions::clear_objc_class_prefix() {
6662 objc_class_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty StringAlreadyInited()); 6151 objc_class_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty StringAlreadyInited());
6663 clear_has_objc_class_prefix(); 6152 clear_has_objc_class_prefix();
6664 } 6153 }
6665 inline const ::std::string& FileOptions::objc_class_prefix() const { 6154 inline const ::std::string& FileOptions::objc_class_prefix() const {
6666 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_p refix) 6155 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_p refix)
6667 return objc_class_prefix_.GetNoArena(); 6156 return objc_class_prefix_.GetNoArena(&::google::protobuf::internal::GetEmptySt ringAlreadyInited());
6668 } 6157 }
6669 inline void FileOptions::set_objc_class_prefix(const ::std::string& value) { 6158 inline void FileOptions::set_objc_class_prefix(const ::std::string& value) {
6670 set_has_objc_class_prefix(); 6159 set_has_objc_class_prefix();
6671 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), value); 6160 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), value);
6672 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_p refix) 6161 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_p refix)
6673 } 6162 }
6674 inline void FileOptions::set_objc_class_prefix(const char* value) { 6163 inline void FileOptions::set_objc_class_prefix(const char* value) {
6675 set_has_objc_class_prefix(); 6164 set_has_objc_class_prefix();
6676 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), ::std::string(value)); 6165 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), ::std::string(value));
6677 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.objc_cl ass_prefix) 6166 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.objc_cl ass_prefix)
(...skipping 19 matching lines...) Expand all
6697 set_has_objc_class_prefix(); 6186 set_has_objc_class_prefix();
6698 } else { 6187 } else {
6699 clear_has_objc_class_prefix(); 6188 clear_has_objc_class_prefix();
6700 } 6189 }
6701 objc_class_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmpty StringAlreadyInited(), objc_class_prefix); 6190 objc_class_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmpty StringAlreadyInited(), objc_class_prefix);
6702 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ob jc_class_prefix) 6191 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ob jc_class_prefix)
6703 } 6192 }
6704 6193
6705 // optional string csharp_namespace = 37; 6194 // optional string csharp_namespace = 37;
6706 inline bool FileOptions::has_csharp_namespace() const { 6195 inline bool FileOptions::has_csharp_namespace() const {
6707 return (_has_bits_[0] & 0x00000010u) != 0; 6196 return (_has_bits_[0] & 0x00002000u) != 0;
6708 } 6197 }
6709 inline void FileOptions::set_has_csharp_namespace() { 6198 inline void FileOptions::set_has_csharp_namespace() {
6710 _has_bits_[0] |= 0x00000010u; 6199 _has_bits_[0] |= 0x00002000u;
6711 } 6200 }
6712 inline void FileOptions::clear_has_csharp_namespace() { 6201 inline void FileOptions::clear_has_csharp_namespace() {
6713 _has_bits_[0] &= ~0x00000010u; 6202 _has_bits_[0] &= ~0x00002000u;
6714 } 6203 }
6715 inline void FileOptions::clear_csharp_namespace() { 6204 inline void FileOptions::clear_csharp_namespace() {
6716 csharp_namespace_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited()); 6205 csharp_namespace_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited());
6717 clear_has_csharp_namespace(); 6206 clear_has_csharp_namespace();
6718 } 6207 }
6719 inline const ::std::string& FileOptions::csharp_namespace() const { 6208 inline const ::std::string& FileOptions::csharp_namespace() const {
6720 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_names pace) 6209 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_names pace)
6721 return csharp_namespace_.GetNoArena(); 6210 return csharp_namespace_.GetNoArena(&::google::protobuf::internal::GetEmptyStr ingAlreadyInited());
6722 } 6211 }
6723 inline void FileOptions::set_csharp_namespace(const ::std::string& value) { 6212 inline void FileOptions::set_csharp_namespace(const ::std::string& value) {
6724 set_has_csharp_namespace(); 6213 set_has_csharp_namespace();
6725 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), value); 6214 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), value);
6726 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_names pace) 6215 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_names pace)
6727 } 6216 }
6728 inline void FileOptions::set_csharp_namespace(const char* value) { 6217 inline void FileOptions::set_csharp_namespace(const char* value) {
6729 set_has_csharp_namespace(); 6218 set_has_csharp_namespace();
6730 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), ::std::string(value)); 6219 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), ::std::string(value));
6731 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.csharp_ namespace) 6220 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.csharp_ namespace)
(...skipping 17 matching lines...) Expand all
6749 inline void FileOptions::set_allocated_csharp_namespace(::std::string* csharp_na mespace) { 6238 inline void FileOptions::set_allocated_csharp_namespace(::std::string* csharp_na mespace) {
6750 if (csharp_namespace != NULL) { 6239 if (csharp_namespace != NULL) {
6751 set_has_csharp_namespace(); 6240 set_has_csharp_namespace();
6752 } else { 6241 } else {
6753 clear_has_csharp_namespace(); 6242 clear_has_csharp_namespace();
6754 } 6243 }
6755 csharp_namespace_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited(), csharp_namespace); 6244 csharp_namespace_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited(), csharp_namespace);
6756 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.cs harp_namespace) 6245 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.cs harp_namespace)
6757 } 6246 }
6758 6247
6759 // optional string swift_prefix = 39;
6760 inline bool FileOptions::has_swift_prefix() const {
6761 return (_has_bits_[0] & 0x00000020u) != 0;
6762 }
6763 inline void FileOptions::set_has_swift_prefix() {
6764 _has_bits_[0] |= 0x00000020u;
6765 }
6766 inline void FileOptions::clear_has_swift_prefix() {
6767 _has_bits_[0] &= ~0x00000020u;
6768 }
6769 inline void FileOptions::clear_swift_prefix() {
6770 swift_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin gAlreadyInited());
6771 clear_has_swift_prefix();
6772 }
6773 inline const ::std::string& FileOptions::swift_prefix() const {
6774 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.swift_prefix )
6775 return swift_prefix_.GetNoArena();
6776 }
6777 inline void FileOptions::set_swift_prefix(const ::std::string& value) {
6778 set_has_swift_prefix();
6779 swift_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), value);
6780 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.swift_prefix )
6781 }
6782 inline void FileOptions::set_swift_prefix(const char* value) {
6783 set_has_swift_prefix();
6784 swift_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), ::std::string(value));
6785 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.swift_p refix)
6786 }
6787 inline void FileOptions::set_swift_prefix(const char* value, size_t size) {
6788 set_has_swift_prefix();
6789 swift_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(),
6790 ::std::string(reinterpret_cast<const char*>(value), size));
6791 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.swif t_prefix)
6792 }
6793 inline ::std::string* FileOptions::mutable_swift_prefix() {
6794 set_has_swift_prefix();
6795 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.swift_pr efix)
6796 return swift_prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStr ingAlreadyInited());
6797 }
6798 inline ::std::string* FileOptions::release_swift_prefix() {
6799 // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.swift_pr efix)
6800 clear_has_swift_prefix();
6801 return swift_prefix_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStr ingAlreadyInited());
6802 }
6803 inline void FileOptions::set_allocated_swift_prefix(::std::string* swift_prefix) {
6804 if (swift_prefix != NULL) {
6805 set_has_swift_prefix();
6806 } else {
6807 clear_has_swift_prefix();
6808 }
6809 swift_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStrin gAlreadyInited(), swift_prefix);
6810 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.sw ift_prefix)
6811 }
6812
6813 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 6248 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
6814 inline int FileOptions::uninterpreted_option_size() const { 6249 inline int FileOptions::uninterpreted_option_size() const {
6815 return uninterpreted_option_.size(); 6250 return uninterpreted_option_.size();
6816 } 6251 }
6817 inline void FileOptions::clear_uninterpreted_option() { 6252 inline void FileOptions::clear_uninterpreted_option() {
6818 uninterpreted_option_.Clear(); 6253 uninterpreted_option_.Clear();
6819 } 6254 }
6820 inline const ::google::protobuf::UninterpretedOption& FileOptions::uninterpreted _option(int index) const { 6255 inline const ::google::protobuf::UninterpretedOption& FileOptions::uninterpreted _option(int index) const {
6821 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterprete d_option) 6256 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterprete d_option)
6822 return uninterpreted_option_.Get(index); 6257 return uninterpreted_option_.Get(index);
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
6994 } 6429 }
6995 inline void FieldOptions::set_ctype(::google::protobuf::FieldOptions_CType value ) { 6430 inline void FieldOptions::set_ctype(::google::protobuf::FieldOptions_CType value ) {
6996 assert(::google::protobuf::FieldOptions_CType_IsValid(value)); 6431 assert(::google::protobuf::FieldOptions_CType_IsValid(value));
6997 set_has_ctype(); 6432 set_has_ctype();
6998 ctype_ = value; 6433 ctype_ = value;
6999 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype) 6434 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype)
7000 } 6435 }
7001 6436
7002 // optional bool packed = 2; 6437 // optional bool packed = 2;
7003 inline bool FieldOptions::has_packed() const { 6438 inline bool FieldOptions::has_packed() const {
7004 return (_has_bits_[0] & 0x00000004u) != 0; 6439 return (_has_bits_[0] & 0x00000002u) != 0;
7005 } 6440 }
7006 inline void FieldOptions::set_has_packed() { 6441 inline void FieldOptions::set_has_packed() {
7007 _has_bits_[0] |= 0x00000004u; 6442 _has_bits_[0] |= 0x00000002u;
7008 } 6443 }
7009 inline void FieldOptions::clear_has_packed() { 6444 inline void FieldOptions::clear_has_packed() {
7010 _has_bits_[0] &= ~0x00000004u; 6445 _has_bits_[0] &= ~0x00000002u;
7011 } 6446 }
7012 inline void FieldOptions::clear_packed() { 6447 inline void FieldOptions::clear_packed() {
7013 packed_ = false; 6448 packed_ = false;
7014 clear_has_packed(); 6449 clear_has_packed();
7015 } 6450 }
7016 inline bool FieldOptions::packed() const { 6451 inline bool FieldOptions::packed() const {
7017 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed) 6452 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed)
7018 return packed_; 6453 return packed_;
7019 } 6454 }
7020 inline void FieldOptions::set_packed(bool value) { 6455 inline void FieldOptions::set_packed(bool value) {
7021 set_has_packed(); 6456 set_has_packed();
7022 packed_ = value; 6457 packed_ = value;
7023 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed) 6458 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed)
7024 } 6459 }
7025 6460
7026 // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL ]; 6461 // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL ];
7027 inline bool FieldOptions::has_jstype() const { 6462 inline bool FieldOptions::has_jstype() const {
7028 return (_has_bits_[0] & 0x00000002u) != 0; 6463 return (_has_bits_[0] & 0x00000004u) != 0;
7029 } 6464 }
7030 inline void FieldOptions::set_has_jstype() { 6465 inline void FieldOptions::set_has_jstype() {
7031 _has_bits_[0] |= 0x00000002u; 6466 _has_bits_[0] |= 0x00000004u;
7032 } 6467 }
7033 inline void FieldOptions::clear_has_jstype() { 6468 inline void FieldOptions::clear_has_jstype() {
7034 _has_bits_[0] &= ~0x00000002u; 6469 _has_bits_[0] &= ~0x00000004u;
7035 } 6470 }
7036 inline void FieldOptions::clear_jstype() { 6471 inline void FieldOptions::clear_jstype() {
7037 jstype_ = 0; 6472 jstype_ = 0;
7038 clear_has_jstype(); 6473 clear_has_jstype();
7039 } 6474 }
7040 inline ::google::protobuf::FieldOptions_JSType FieldOptions::jstype() const { 6475 inline ::google::protobuf::FieldOptions_JSType FieldOptions::jstype() const {
7041 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype) 6476 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype)
7042 return static_cast< ::google::protobuf::FieldOptions_JSType >(jstype_); 6477 return static_cast< ::google::protobuf::FieldOptions_JSType >(jstype_);
7043 } 6478 }
7044 inline void FieldOptions::set_jstype(::google::protobuf::FieldOptions_JSType val ue) { 6479 inline void FieldOptions::set_jstype(::google::protobuf::FieldOptions_JSType val ue) {
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
7145 return &uninterpreted_option_; 6580 return &uninterpreted_option_;
7146 } 6581 }
7147 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr etedOption >& 6582 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr etedOption >&
7148 FieldOptions::uninterpreted_option() const { 6583 FieldOptions::uninterpreted_option() const {
7149 // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpre ted_option) 6584 // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpre ted_option)
7150 return uninterpreted_option_; 6585 return uninterpreted_option_;
7151 } 6586 }
7152 6587
7153 // ------------------------------------------------------------------- 6588 // -------------------------------------------------------------------
7154 6589
7155 // OneofOptions
7156
7157 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
7158 inline int OneofOptions::uninterpreted_option_size() const {
7159 return uninterpreted_option_.size();
7160 }
7161 inline void OneofOptions::clear_uninterpreted_option() {
7162 uninterpreted_option_.Clear();
7163 }
7164 inline const ::google::protobuf::UninterpretedOption& OneofOptions::uninterprete d_option(int index) const {
7165 // @@protoc_insertion_point(field_get:google.protobuf.OneofOptions.uninterpret ed_option)
7166 return uninterpreted_option_.Get(index);
7167 }
7168 inline ::google::protobuf::UninterpretedOption* OneofOptions::mutable_uninterpre ted_option(int index) {
7169 // @@protoc_insertion_point(field_mutable:google.protobuf.OneofOptions.uninter preted_option)
7170 return uninterpreted_option_.Mutable(index);
7171 }
7172 inline ::google::protobuf::UninterpretedOption* OneofOptions::add_uninterpreted_ option() {
7173 // @@protoc_insertion_point(field_add:google.protobuf.OneofOptions.uninterpret ed_option)
7174 return uninterpreted_option_.Add();
7175 }
7176 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOp tion >*
7177 OneofOptions::mutable_uninterpreted_option() {
7178 // @@protoc_insertion_point(field_mutable_list:google.protobuf.OneofOptions.un interpreted_option)
7179 return &uninterpreted_option_;
7180 }
7181 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr etedOption >&
7182 OneofOptions::uninterpreted_option() const {
7183 // @@protoc_insertion_point(field_list:google.protobuf.OneofOptions.uninterpre ted_option)
7184 return uninterpreted_option_;
7185 }
7186
7187 // -------------------------------------------------------------------
7188
7189 // EnumOptions 6590 // EnumOptions
7190 6591
7191 // optional bool allow_alias = 2; 6592 // optional bool allow_alias = 2;
7192 inline bool EnumOptions::has_allow_alias() const { 6593 inline bool EnumOptions::has_allow_alias() const {
7193 return (_has_bits_[0] & 0x00000001u) != 0; 6594 return (_has_bits_[0] & 0x00000001u) != 0;
7194 } 6595 }
7195 inline void EnumOptions::set_has_allow_alias() { 6596 inline void EnumOptions::set_has_allow_alias() {
7196 _has_bits_[0] |= 0x00000001u; 6597 _has_bits_[0] |= 0x00000001u;
7197 } 6598 }
7198 inline void EnumOptions::clear_has_allow_alias() { 6599 inline void EnumOptions::clear_has_allow_alias() {
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
7403 inline bool MethodOptions::deprecated() const { 6804 inline bool MethodOptions::deprecated() const {
7404 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated ) 6805 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated )
7405 return deprecated_; 6806 return deprecated_;
7406 } 6807 }
7407 inline void MethodOptions::set_deprecated(bool value) { 6808 inline void MethodOptions::set_deprecated(bool value) {
7408 set_has_deprecated(); 6809 set_has_deprecated();
7409 deprecated_ = value; 6810 deprecated_ = value;
7410 // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated ) 6811 // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated )
7411 } 6812 }
7412 6813
7413 // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
7414 inline bool MethodOptions::has_idempotency_level() const {
7415 return (_has_bits_[0] & 0x00000002u) != 0;
7416 }
7417 inline void MethodOptions::set_has_idempotency_level() {
7418 _has_bits_[0] |= 0x00000002u;
7419 }
7420 inline void MethodOptions::clear_has_idempotency_level() {
7421 _has_bits_[0] &= ~0x00000002u;
7422 }
7423 inline void MethodOptions::clear_idempotency_level() {
7424 idempotency_level_ = 0;
7425 clear_has_idempotency_level();
7426 }
7427 inline ::google::protobuf::MethodOptions_IdempotencyLevel MethodOptions::idempot ency_level() const {
7428 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.idempotenc y_level)
7429 return static_cast< ::google::protobuf::MethodOptions_IdempotencyLevel >(idemp otency_level_);
7430 }
7431 inline void MethodOptions::set_idempotency_level(::google::protobuf::MethodOptio ns_IdempotencyLevel value) {
7432 assert(::google::protobuf::MethodOptions_IdempotencyLevel_IsValid(value));
7433 set_has_idempotency_level();
7434 idempotency_level_ = value;
7435 // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.idempotenc y_level)
7436 }
7437
7438 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 6814 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
7439 inline int MethodOptions::uninterpreted_option_size() const { 6815 inline int MethodOptions::uninterpreted_option_size() const {
7440 return uninterpreted_option_.size(); 6816 return uninterpreted_option_.size();
7441 } 6817 }
7442 inline void MethodOptions::clear_uninterpreted_option() { 6818 inline void MethodOptions::clear_uninterpreted_option() {
7443 uninterpreted_option_.Clear(); 6819 uninterpreted_option_.Clear();
7444 } 6820 }
7445 inline const ::google::protobuf::UninterpretedOption& MethodOptions::uninterpret ed_option(int index) const { 6821 inline const ::google::protobuf::UninterpretedOption& MethodOptions::uninterpret ed_option(int index) const {
7446 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpre ted_option) 6822 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpre ted_option)
7447 return uninterpreted_option_.Get(index); 6823 return uninterpreted_option_.Get(index);
(...skipping 30 matching lines...) Expand all
7478 } 6854 }
7479 inline void UninterpretedOption_NamePart::clear_has_name_part() { 6855 inline void UninterpretedOption_NamePart::clear_has_name_part() {
7480 _has_bits_[0] &= ~0x00000001u; 6856 _has_bits_[0] &= ~0x00000001u;
7481 } 6857 }
7482 inline void UninterpretedOption_NamePart::clear_name_part() { 6858 inline void UninterpretedOption_NamePart::clear_name_part() {
7483 name_part_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited()); 6859 name_part_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited());
7484 clear_has_name_part(); 6860 clear_has_name_part();
7485 } 6861 }
7486 inline const ::std::string& UninterpretedOption_NamePart::name_part() const { 6862 inline const ::std::string& UninterpretedOption_NamePart::name_part() const {
7487 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.Name Part.name_part) 6863 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.Name Part.name_part)
7488 return name_part_.GetNoArena(); 6864 return name_part_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited());
7489 } 6865 }
7490 inline void UninterpretedOption_NamePart::set_name_part(const ::std::string& val ue) { 6866 inline void UninterpretedOption_NamePart::set_name_part(const ::std::string& val ue) {
7491 set_has_name_part(); 6867 set_has_name_part();
7492 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), value); 6868 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), value);
7493 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.Name Part.name_part) 6869 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.Name Part.name_part)
7494 } 6870 }
7495 inline void UninterpretedOption_NamePart::set_name_part(const char* value) { 6871 inline void UninterpretedOption_NamePart::set_name_part(const char* value) {
7496 set_has_name_part(); 6872 set_has_name_part();
7497 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), ::std::string(value)); 6873 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), ::std::string(value));
7498 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption .NamePart.name_part) 6874 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption .NamePart.name_part)
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
7576 return &name_; 6952 return &name_;
7577 } 6953 }
7578 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr etedOption_NamePart >& 6954 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr etedOption_NamePart >&
7579 UninterpretedOption::name() const { 6955 UninterpretedOption::name() const {
7580 // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.nam e) 6956 // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.nam e)
7581 return name_; 6957 return name_;
7582 } 6958 }
7583 6959
7584 // optional string identifier_value = 3; 6960 // optional string identifier_value = 3;
7585 inline bool UninterpretedOption::has_identifier_value() const { 6961 inline bool UninterpretedOption::has_identifier_value() const {
7586 return (_has_bits_[0] & 0x00000001u) != 0; 6962 return (_has_bits_[0] & 0x00000002u) != 0;
7587 } 6963 }
7588 inline void UninterpretedOption::set_has_identifier_value() { 6964 inline void UninterpretedOption::set_has_identifier_value() {
7589 _has_bits_[0] |= 0x00000001u; 6965 _has_bits_[0] |= 0x00000002u;
7590 } 6966 }
7591 inline void UninterpretedOption::clear_has_identifier_value() { 6967 inline void UninterpretedOption::clear_has_identifier_value() {
7592 _has_bits_[0] &= ~0x00000001u; 6968 _has_bits_[0] &= ~0x00000002u;
7593 } 6969 }
7594 inline void UninterpretedOption::clear_identifier_value() { 6970 inline void UninterpretedOption::clear_identifier_value() {
7595 identifier_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited()); 6971 identifier_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited());
7596 clear_has_identifier_value(); 6972 clear_has_identifier_value();
7597 } 6973 }
7598 inline const ::std::string& UninterpretedOption::identifier_value() const { 6974 inline const ::std::string& UninterpretedOption::identifier_value() const {
7599 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.iden tifier_value) 6975 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.iden tifier_value)
7600 return identifier_value_.GetNoArena(); 6976 return identifier_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStr ingAlreadyInited());
7601 } 6977 }
7602 inline void UninterpretedOption::set_identifier_value(const ::std::string& value ) { 6978 inline void UninterpretedOption::set_identifier_value(const ::std::string& value ) {
7603 set_has_identifier_value(); 6979 set_has_identifier_value();
7604 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), value); 6980 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), value);
7605 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.iden tifier_value) 6981 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.iden tifier_value)
7606 } 6982 }
7607 inline void UninterpretedOption::set_identifier_value(const char* value) { 6983 inline void UninterpretedOption::set_identifier_value(const char* value) {
7608 set_has_identifier_value(); 6984 set_has_identifier_value();
7609 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), ::std::string(value)); 6985 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), ::std::string(value));
7610 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption .identifier_value) 6986 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption .identifier_value)
(...skipping 19 matching lines...) Expand all
7630 set_has_identifier_value(); 7006 set_has_identifier_value();
7631 } else { 7007 } else {
7632 clear_has_identifier_value(); 7008 clear_has_identifier_value();
7633 } 7009 }
7634 identifier_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited(), identifier_value); 7010 identifier_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited(), identifier_value);
7635 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO ption.identifier_value) 7011 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO ption.identifier_value)
7636 } 7012 }
7637 7013
7638 // optional uint64 positive_int_value = 4; 7014 // optional uint64 positive_int_value = 4;
7639 inline bool UninterpretedOption::has_positive_int_value() const { 7015 inline bool UninterpretedOption::has_positive_int_value() const {
7640 return (_has_bits_[0] & 0x00000008u) != 0; 7016 return (_has_bits_[0] & 0x00000004u) != 0;
7641 } 7017 }
7642 inline void UninterpretedOption::set_has_positive_int_value() { 7018 inline void UninterpretedOption::set_has_positive_int_value() {
7643 _has_bits_[0] |= 0x00000008u; 7019 _has_bits_[0] |= 0x00000004u;
7644 } 7020 }
7645 inline void UninterpretedOption::clear_has_positive_int_value() { 7021 inline void UninterpretedOption::clear_has_positive_int_value() {
7646 _has_bits_[0] &= ~0x00000008u; 7022 _has_bits_[0] &= ~0x00000004u;
7647 } 7023 }
7648 inline void UninterpretedOption::clear_positive_int_value() { 7024 inline void UninterpretedOption::clear_positive_int_value() {
7649 positive_int_value_ = GOOGLE_ULONGLONG(0); 7025 positive_int_value_ = GOOGLE_ULONGLONG(0);
7650 clear_has_positive_int_value(); 7026 clear_has_positive_int_value();
7651 } 7027 }
7652 inline ::google::protobuf::uint64 UninterpretedOption::positive_int_value() cons t { 7028 inline ::google::protobuf::uint64 UninterpretedOption::positive_int_value() cons t {
7653 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.posi tive_int_value) 7029 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.posi tive_int_value)
7654 return positive_int_value_; 7030 return positive_int_value_;
7655 } 7031 }
7656 inline void UninterpretedOption::set_positive_int_value(::google::protobuf::uint 64 value) { 7032 inline void UninterpretedOption::set_positive_int_value(::google::protobuf::uint 64 value) {
7657 set_has_positive_int_value(); 7033 set_has_positive_int_value();
7658 positive_int_value_ = value; 7034 positive_int_value_ = value;
7659 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.posi tive_int_value) 7035 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.posi tive_int_value)
7660 } 7036 }
7661 7037
7662 // optional int64 negative_int_value = 5; 7038 // optional int64 negative_int_value = 5;
7663 inline bool UninterpretedOption::has_negative_int_value() const { 7039 inline bool UninterpretedOption::has_negative_int_value() const {
7664 return (_has_bits_[0] & 0x00000010u) != 0; 7040 return (_has_bits_[0] & 0x00000008u) != 0;
7665 } 7041 }
7666 inline void UninterpretedOption::set_has_negative_int_value() { 7042 inline void UninterpretedOption::set_has_negative_int_value() {
7667 _has_bits_[0] |= 0x00000010u; 7043 _has_bits_[0] |= 0x00000008u;
7668 } 7044 }
7669 inline void UninterpretedOption::clear_has_negative_int_value() { 7045 inline void UninterpretedOption::clear_has_negative_int_value() {
7670 _has_bits_[0] &= ~0x00000010u; 7046 _has_bits_[0] &= ~0x00000008u;
7671 } 7047 }
7672 inline void UninterpretedOption::clear_negative_int_value() { 7048 inline void UninterpretedOption::clear_negative_int_value() {
7673 negative_int_value_ = GOOGLE_LONGLONG(0); 7049 negative_int_value_ = GOOGLE_LONGLONG(0);
7674 clear_has_negative_int_value(); 7050 clear_has_negative_int_value();
7675 } 7051 }
7676 inline ::google::protobuf::int64 UninterpretedOption::negative_int_value() const { 7052 inline ::google::protobuf::int64 UninterpretedOption::negative_int_value() const {
7677 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.nega tive_int_value) 7053 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.nega tive_int_value)
7678 return negative_int_value_; 7054 return negative_int_value_;
7679 } 7055 }
7680 inline void UninterpretedOption::set_negative_int_value(::google::protobuf::int6 4 value) { 7056 inline void UninterpretedOption::set_negative_int_value(::google::protobuf::int6 4 value) {
7681 set_has_negative_int_value(); 7057 set_has_negative_int_value();
7682 negative_int_value_ = value; 7058 negative_int_value_ = value;
7683 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.nega tive_int_value) 7059 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.nega tive_int_value)
7684 } 7060 }
7685 7061
7686 // optional double double_value = 6; 7062 // optional double double_value = 6;
7687 inline bool UninterpretedOption::has_double_value() const { 7063 inline bool UninterpretedOption::has_double_value() const {
7688 return (_has_bits_[0] & 0x00000020u) != 0; 7064 return (_has_bits_[0] & 0x00000010u) != 0;
7689 } 7065 }
7690 inline void UninterpretedOption::set_has_double_value() { 7066 inline void UninterpretedOption::set_has_double_value() {
7691 _has_bits_[0] |= 0x00000020u; 7067 _has_bits_[0] |= 0x00000010u;
7692 } 7068 }
7693 inline void UninterpretedOption::clear_has_double_value() { 7069 inline void UninterpretedOption::clear_has_double_value() {
7694 _has_bits_[0] &= ~0x00000020u; 7070 _has_bits_[0] &= ~0x00000010u;
7695 } 7071 }
7696 inline void UninterpretedOption::clear_double_value() { 7072 inline void UninterpretedOption::clear_double_value() {
7697 double_value_ = 0; 7073 double_value_ = 0;
7698 clear_has_double_value(); 7074 clear_has_double_value();
7699 } 7075 }
7700 inline double UninterpretedOption::double_value() const { 7076 inline double UninterpretedOption::double_value() const {
7701 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.doub le_value) 7077 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.doub le_value)
7702 return double_value_; 7078 return double_value_;
7703 } 7079 }
7704 inline void UninterpretedOption::set_double_value(double value) { 7080 inline void UninterpretedOption::set_double_value(double value) {
7705 set_has_double_value(); 7081 set_has_double_value();
7706 double_value_ = value; 7082 double_value_ = value;
7707 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.doub le_value) 7083 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.doub le_value)
7708 } 7084 }
7709 7085
7710 // optional bytes string_value = 7; 7086 // optional bytes string_value = 7;
7711 inline bool UninterpretedOption::has_string_value() const { 7087 inline bool UninterpretedOption::has_string_value() const {
7712 return (_has_bits_[0] & 0x00000002u) != 0; 7088 return (_has_bits_[0] & 0x00000020u) != 0;
7713 } 7089 }
7714 inline void UninterpretedOption::set_has_string_value() { 7090 inline void UninterpretedOption::set_has_string_value() {
7715 _has_bits_[0] |= 0x00000002u; 7091 _has_bits_[0] |= 0x00000020u;
7716 } 7092 }
7717 inline void UninterpretedOption::clear_has_string_value() { 7093 inline void UninterpretedOption::clear_has_string_value() {
7718 _has_bits_[0] &= ~0x00000002u; 7094 _has_bits_[0] &= ~0x00000020u;
7719 } 7095 }
7720 inline void UninterpretedOption::clear_string_value() { 7096 inline void UninterpretedOption::clear_string_value() {
7721 string_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin gAlreadyInited()); 7097 string_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin gAlreadyInited());
7722 clear_has_string_value(); 7098 clear_has_string_value();
7723 } 7099 }
7724 inline const ::std::string& UninterpretedOption::string_value() const { 7100 inline const ::std::string& UninterpretedOption::string_value() const {
7725 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.stri ng_value) 7101 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.stri ng_value)
7726 return string_value_.GetNoArena(); 7102 return string_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringA lreadyInited());
7727 } 7103 }
7728 inline void UninterpretedOption::set_string_value(const ::std::string& value) { 7104 inline void UninterpretedOption::set_string_value(const ::std::string& value) {
7729 set_has_string_value(); 7105 set_has_string_value();
7730 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), value); 7106 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), value);
7731 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.stri ng_value) 7107 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.stri ng_value)
7732 } 7108 }
7733 inline void UninterpretedOption::set_string_value(const char* value) { 7109 inline void UninterpretedOption::set_string_value(const char* value) {
7734 set_has_string_value(); 7110 set_has_string_value();
7735 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), ::std::string(value)); 7111 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), ::std::string(value));
7736 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption .string_value) 7112 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption .string_value)
(...skipping 19 matching lines...) Expand all
7756 set_has_string_value(); 7132 set_has_string_value();
7757 } else { 7133 } else {
7758 clear_has_string_value(); 7134 clear_has_string_value();
7759 } 7135 }
7760 string_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStrin gAlreadyInited(), string_value); 7136 string_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStrin gAlreadyInited(), string_value);
7761 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO ption.string_value) 7137 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO ption.string_value)
7762 } 7138 }
7763 7139
7764 // optional string aggregate_value = 8; 7140 // optional string aggregate_value = 8;
7765 inline bool UninterpretedOption::has_aggregate_value() const { 7141 inline bool UninterpretedOption::has_aggregate_value() const {
7766 return (_has_bits_[0] & 0x00000004u) != 0; 7142 return (_has_bits_[0] & 0x00000040u) != 0;
7767 } 7143 }
7768 inline void UninterpretedOption::set_has_aggregate_value() { 7144 inline void UninterpretedOption::set_has_aggregate_value() {
7769 _has_bits_[0] |= 0x00000004u; 7145 _has_bits_[0] |= 0x00000040u;
7770 } 7146 }
7771 inline void UninterpretedOption::clear_has_aggregate_value() { 7147 inline void UninterpretedOption::clear_has_aggregate_value() {
7772 _has_bits_[0] &= ~0x00000004u; 7148 _has_bits_[0] &= ~0x00000040u;
7773 } 7149 }
7774 inline void UninterpretedOption::clear_aggregate_value() { 7150 inline void UninterpretedOption::clear_aggregate_value() {
7775 aggregate_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptySt ringAlreadyInited()); 7151 aggregate_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptySt ringAlreadyInited());
7776 clear_has_aggregate_value(); 7152 clear_has_aggregate_value();
7777 } 7153 }
7778 inline const ::std::string& UninterpretedOption::aggregate_value() const { 7154 inline const ::std::string& UninterpretedOption::aggregate_value() const {
7779 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggr egate_value) 7155 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggr egate_value)
7780 return aggregate_value_.GetNoArena(); 7156 return aggregate_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStri ngAlreadyInited());
7781 } 7157 }
7782 inline void UninterpretedOption::set_aggregate_value(const ::std::string& value) { 7158 inline void UninterpretedOption::set_aggregate_value(const ::std::string& value) {
7783 set_has_aggregate_value(); 7159 set_has_aggregate_value();
7784 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited(), value); 7160 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited(), value);
7785 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggr egate_value) 7161 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggr egate_value)
7786 } 7162 }
7787 inline void UninterpretedOption::set_aggregate_value(const char* value) { 7163 inline void UninterpretedOption::set_aggregate_value(const char* value) {
7788 set_has_aggregate_value(); 7164 set_has_aggregate_value();
7789 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited(), ::std::string(value)); 7165 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited(), ::std::string(value));
7790 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption .aggregate_value) 7166 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption .aggregate_value)
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
7874 return span_; 7250 return span_;
7875 } 7251 }
7876 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* 7252 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
7877 SourceCodeInfo_Location::mutable_span() { 7253 SourceCodeInfo_Location::mutable_span() {
7878 // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo. Location.span) 7254 // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo. Location.span)
7879 return &span_; 7255 return &span_;
7880 } 7256 }
7881 7257
7882 // optional string leading_comments = 3; 7258 // optional string leading_comments = 3;
7883 inline bool SourceCodeInfo_Location::has_leading_comments() const { 7259 inline bool SourceCodeInfo_Location::has_leading_comments() const {
7884 return (_has_bits_[0] & 0x00000001u) != 0; 7260 return (_has_bits_[0] & 0x00000004u) != 0;
7885 } 7261 }
7886 inline void SourceCodeInfo_Location::set_has_leading_comments() { 7262 inline void SourceCodeInfo_Location::set_has_leading_comments() {
7887 _has_bits_[0] |= 0x00000001u; 7263 _has_bits_[0] |= 0x00000004u;
7888 } 7264 }
7889 inline void SourceCodeInfo_Location::clear_has_leading_comments() { 7265 inline void SourceCodeInfo_Location::clear_has_leading_comments() {
7890 _has_bits_[0] &= ~0x00000001u; 7266 _has_bits_[0] &= ~0x00000004u;
7891 } 7267 }
7892 inline void SourceCodeInfo_Location::clear_leading_comments() { 7268 inline void SourceCodeInfo_Location::clear_leading_comments() {
7893 leading_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited()); 7269 leading_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited());
7894 clear_has_leading_comments(); 7270 clear_has_leading_comments();
7895 } 7271 }
7896 inline const ::std::string& SourceCodeInfo_Location::leading_comments() const { 7272 inline const ::std::string& SourceCodeInfo_Location::leading_comments() const {
7897 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location. leading_comments) 7273 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location. leading_comments)
7898 return leading_comments_.GetNoArena(); 7274 return leading_comments_.GetNoArena(&::google::protobuf::internal::GetEmptyStr ingAlreadyInited());
7899 } 7275 }
7900 inline void SourceCodeInfo_Location::set_leading_comments(const ::std::string& v alue) { 7276 inline void SourceCodeInfo_Location::set_leading_comments(const ::std::string& v alue) {
7901 set_has_leading_comments(); 7277 set_has_leading_comments();
7902 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), value); 7278 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), value);
7903 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location. leading_comments) 7279 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location. leading_comments)
7904 } 7280 }
7905 inline void SourceCodeInfo_Location::set_leading_comments(const char* value) { 7281 inline void SourceCodeInfo_Location::set_leading_comments(const char* value) {
7906 set_has_leading_comments(); 7282 set_has_leading_comments();
7907 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), ::std::string(value)); 7283 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), ::std::string(value));
7908 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Loca tion.leading_comments) 7284 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Loca tion.leading_comments)
(...skipping 19 matching lines...) Expand all
7928 set_has_leading_comments(); 7304 set_has_leading_comments();
7929 } else { 7305 } else {
7930 clear_has_leading_comments(); 7306 clear_has_leading_comments();
7931 } 7307 }
7932 leading_comments_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited(), leading_comments); 7308 leading_comments_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited(), leading_comments);
7933 // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo .Location.leading_comments) 7309 // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo .Location.leading_comments)
7934 } 7310 }
7935 7311
7936 // optional string trailing_comments = 4; 7312 // optional string trailing_comments = 4;
7937 inline bool SourceCodeInfo_Location::has_trailing_comments() const { 7313 inline bool SourceCodeInfo_Location::has_trailing_comments() const {
7938 return (_has_bits_[0] & 0x00000002u) != 0; 7314 return (_has_bits_[0] & 0x00000008u) != 0;
7939 } 7315 }
7940 inline void SourceCodeInfo_Location::set_has_trailing_comments() { 7316 inline void SourceCodeInfo_Location::set_has_trailing_comments() {
7941 _has_bits_[0] |= 0x00000002u; 7317 _has_bits_[0] |= 0x00000008u;
7942 } 7318 }
7943 inline void SourceCodeInfo_Location::clear_has_trailing_comments() { 7319 inline void SourceCodeInfo_Location::clear_has_trailing_comments() {
7944 _has_bits_[0] &= ~0x00000002u; 7320 _has_bits_[0] &= ~0x00000008u;
7945 } 7321 }
7946 inline void SourceCodeInfo_Location::clear_trailing_comments() { 7322 inline void SourceCodeInfo_Location::clear_trailing_comments() {
7947 trailing_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty StringAlreadyInited()); 7323 trailing_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty StringAlreadyInited());
7948 clear_has_trailing_comments(); 7324 clear_has_trailing_comments();
7949 } 7325 }
7950 inline const ::std::string& SourceCodeInfo_Location::trailing_comments() const { 7326 inline const ::std::string& SourceCodeInfo_Location::trailing_comments() const {
7951 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location. trailing_comments) 7327 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location. trailing_comments)
7952 return trailing_comments_.GetNoArena(); 7328 return trailing_comments_.GetNoArena(&::google::protobuf::internal::GetEmptySt ringAlreadyInited());
7953 } 7329 }
7954 inline void SourceCodeInfo_Location::set_trailing_comments(const ::std::string& value) { 7330 inline void SourceCodeInfo_Location::set_trailing_comments(const ::std::string& value) {
7955 set_has_trailing_comments(); 7331 set_has_trailing_comments();
7956 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), value); 7332 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), value);
7957 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location. trailing_comments) 7333 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location. trailing_comments)
7958 } 7334 }
7959 inline void SourceCodeInfo_Location::set_trailing_comments(const char* value) { 7335 inline void SourceCodeInfo_Location::set_trailing_comments(const char* value) {
7960 set_has_trailing_comments(); 7336 set_has_trailing_comments();
7961 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), ::std::string(value)); 7337 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), ::std::string(value));
7962 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Loca tion.trailing_comments) 7338 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Loca tion.trailing_comments)
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
8105 return path_; 7481 return path_;
8106 } 7482 }
8107 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* 7483 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
8108 GeneratedCodeInfo_Annotation::mutable_path() { 7484 GeneratedCodeInfo_Annotation::mutable_path() {
8109 // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeIn fo.Annotation.path) 7485 // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeIn fo.Annotation.path)
8110 return &path_; 7486 return &path_;
8111 } 7487 }
8112 7488
8113 // optional string source_file = 2; 7489 // optional string source_file = 2;
8114 inline bool GeneratedCodeInfo_Annotation::has_source_file() const { 7490 inline bool GeneratedCodeInfo_Annotation::has_source_file() const {
8115 return (_has_bits_[0] & 0x00000001u) != 0; 7491 return (_has_bits_[0] & 0x00000002u) != 0;
8116 } 7492 }
8117 inline void GeneratedCodeInfo_Annotation::set_has_source_file() { 7493 inline void GeneratedCodeInfo_Annotation::set_has_source_file() {
8118 _has_bits_[0] |= 0x00000001u; 7494 _has_bits_[0] |= 0x00000002u;
8119 } 7495 }
8120 inline void GeneratedCodeInfo_Annotation::clear_has_source_file() { 7496 inline void GeneratedCodeInfo_Annotation::clear_has_source_file() {
8121 _has_bits_[0] &= ~0x00000001u; 7497 _has_bits_[0] &= ~0x00000002u;
8122 } 7498 }
8123 inline void GeneratedCodeInfo_Annotation::clear_source_file() { 7499 inline void GeneratedCodeInfo_Annotation::clear_source_file() {
8124 source_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited()); 7500 source_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited());
8125 clear_has_source_file(); 7501 clear_has_source_file();
8126 } 7502 }
8127 inline const ::std::string& GeneratedCodeInfo_Annotation::source_file() const { 7503 inline const ::std::string& GeneratedCodeInfo_Annotation::source_file() const {
8128 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota tion.source_file) 7504 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota tion.source_file)
8129 return source_file_.GetNoArena(); 7505 return source_file_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited());
8130 } 7506 }
8131 inline void GeneratedCodeInfo_Annotation::set_source_file(const ::std::string& v alue) { 7507 inline void GeneratedCodeInfo_Annotation::set_source_file(const ::std::string& v alue) {
8132 set_has_source_file(); 7508 set_has_source_file();
8133 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited(), value); 7509 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited(), value);
8134 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annota tion.source_file) 7510 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annota tion.source_file)
8135 } 7511 }
8136 inline void GeneratedCodeInfo_Annotation::set_source_file(const char* value) { 7512 inline void GeneratedCodeInfo_Annotation::set_source_file(const char* value) {
8137 set_has_source_file(); 7513 set_has_source_file();
8138 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited(), ::std::string(value)); 7514 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited(), ::std::string(value));
8139 // @@protoc_insertion_point(field_set_char:google.protobuf.GeneratedCodeInfo.A nnotation.source_file) 7515 // @@protoc_insertion_point(field_set_char:google.protobuf.GeneratedCodeInfo.A nnotation.source_file)
(...skipping 19 matching lines...) Expand all
8159 set_has_source_file(); 7535 set_has_source_file();
8160 } else { 7536 } else {
8161 clear_has_source_file(); 7537 clear_has_source_file();
8162 } 7538 }
8163 source_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited(), source_file); 7539 source_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited(), source_file);
8164 // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeI nfo.Annotation.source_file) 7540 // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeI nfo.Annotation.source_file)
8165 } 7541 }
8166 7542
8167 // optional int32 begin = 3; 7543 // optional int32 begin = 3;
8168 inline bool GeneratedCodeInfo_Annotation::has_begin() const { 7544 inline bool GeneratedCodeInfo_Annotation::has_begin() const {
8169 return (_has_bits_[0] & 0x00000002u) != 0; 7545 return (_has_bits_[0] & 0x00000004u) != 0;
8170 } 7546 }
8171 inline void GeneratedCodeInfo_Annotation::set_has_begin() { 7547 inline void GeneratedCodeInfo_Annotation::set_has_begin() {
8172 _has_bits_[0] |= 0x00000002u; 7548 _has_bits_[0] |= 0x00000004u;
8173 } 7549 }
8174 inline void GeneratedCodeInfo_Annotation::clear_has_begin() { 7550 inline void GeneratedCodeInfo_Annotation::clear_has_begin() {
8175 _has_bits_[0] &= ~0x00000002u; 7551 _has_bits_[0] &= ~0x00000004u;
8176 } 7552 }
8177 inline void GeneratedCodeInfo_Annotation::clear_begin() { 7553 inline void GeneratedCodeInfo_Annotation::clear_begin() {
8178 begin_ = 0; 7554 begin_ = 0;
8179 clear_has_begin(); 7555 clear_has_begin();
8180 } 7556 }
8181 inline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::begin() const { 7557 inline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::begin() const {
8182 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota tion.begin) 7558 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota tion.begin)
8183 return begin_; 7559 return begin_;
8184 } 7560 }
8185 inline void GeneratedCodeInfo_Annotation::set_begin(::google::protobuf::int32 va lue) { 7561 inline void GeneratedCodeInfo_Annotation::set_begin(::google::protobuf::int32 va lue) {
8186 set_has_begin(); 7562 set_has_begin();
8187 begin_ = value; 7563 begin_ = value;
8188 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annota tion.begin) 7564 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annota tion.begin)
8189 } 7565 }
8190 7566
8191 // optional int32 end = 4; 7567 // optional int32 end = 4;
8192 inline bool GeneratedCodeInfo_Annotation::has_end() const { 7568 inline bool GeneratedCodeInfo_Annotation::has_end() const {
8193 return (_has_bits_[0] & 0x00000004u) != 0; 7569 return (_has_bits_[0] & 0x00000008u) != 0;
8194 } 7570 }
8195 inline void GeneratedCodeInfo_Annotation::set_has_end() { 7571 inline void GeneratedCodeInfo_Annotation::set_has_end() {
8196 _has_bits_[0] |= 0x00000004u; 7572 _has_bits_[0] |= 0x00000008u;
8197 } 7573 }
8198 inline void GeneratedCodeInfo_Annotation::clear_has_end() { 7574 inline void GeneratedCodeInfo_Annotation::clear_has_end() {
8199 _has_bits_[0] &= ~0x00000004u; 7575 _has_bits_[0] &= ~0x00000008u;
8200 } 7576 }
8201 inline void GeneratedCodeInfo_Annotation::clear_end() { 7577 inline void GeneratedCodeInfo_Annotation::clear_end() {
8202 end_ = 0; 7578 end_ = 0;
8203 clear_has_end(); 7579 clear_has_end();
8204 } 7580 }
8205 inline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::end() const { 7581 inline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::end() const {
8206 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota tion.end) 7582 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota tion.end)
8207 return end_; 7583 return end_;
8208 } 7584 }
8209 inline void GeneratedCodeInfo_Annotation::set_end(::google::protobuf::int32 valu e) { 7585 inline void GeneratedCodeInfo_Annotation::set_end(::google::protobuf::int32 valu e) {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
8286 // ------------------------------------------------------------------- 7662 // -------------------------------------------------------------------
8287 7663
8288 // ------------------------------------------------------------------- 7664 // -------------------------------------------------------------------
8289 7665
8290 // ------------------------------------------------------------------- 7666 // -------------------------------------------------------------------
8291 7667
8292 // ------------------------------------------------------------------- 7668 // -------------------------------------------------------------------
8293 7669
8294 // ------------------------------------------------------------------- 7670 // -------------------------------------------------------------------
8295 7671
8296 // -------------------------------------------------------------------
8297
8298 7672
8299 // @@protoc_insertion_point(namespace_scope) 7673 // @@protoc_insertion_point(namespace_scope)
8300 7674
8301
8302 } // namespace protobuf 7675 } // namespace protobuf
8303 } // namespace google 7676 } // namespace google
8304 7677
8305 #ifndef SWIG 7678 #ifndef SWIG
8306 namespace google { 7679 namespace google {
8307 namespace protobuf { 7680 namespace protobuf {
8308 7681
8309 template <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Type> : ::google::protobuf::internal::true_type {}; 7682 template <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Type> : ::google::protobuf::internal::true_type {};
8310 template <> 7683 template <>
8311 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescrip torProto_Type>() { 7684 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescrip torProto_Type>() {
(...skipping 12 matching lines...) Expand all
8324 template <> struct is_proto_enum< ::google::protobuf::FieldOptions_CType> : ::go ogle::protobuf::internal::true_type {}; 7697 template <> struct is_proto_enum< ::google::protobuf::FieldOptions_CType> : ::go ogle::protobuf::internal::true_type {};
8325 template <> 7698 template <>
8326 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions _CType>() { 7699 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions _CType>() {
8327 return ::google::protobuf::FieldOptions_CType_descriptor(); 7700 return ::google::protobuf::FieldOptions_CType_descriptor();
8328 } 7701 }
8329 template <> struct is_proto_enum< ::google::protobuf::FieldOptions_JSType> : ::g oogle::protobuf::internal::true_type {}; 7702 template <> struct is_proto_enum< ::google::protobuf::FieldOptions_JSType> : ::g oogle::protobuf::internal::true_type {};
8330 template <> 7703 template <>
8331 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions _JSType>() { 7704 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions _JSType>() {
8332 return ::google::protobuf::FieldOptions_JSType_descriptor(); 7705 return ::google::protobuf::FieldOptions_JSType_descriptor();
8333 } 7706 }
8334 template <> struct is_proto_enum< ::google::protobuf::MethodOptions_IdempotencyL evel> : ::google::protobuf::internal::true_type {};
8335 template <>
8336 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::MethodOption s_IdempotencyLevel>() {
8337 return ::google::protobuf::MethodOptions_IdempotencyLevel_descriptor();
8338 }
8339 7707
8340 } // namespace protobuf 7708 } // namespace protobuf
8341 } // namespace google 7709 } // namespace google
8342 #endif // SWIG 7710 #endif // SWIG
8343 7711
8344 // @@protoc_insertion_point(global_scope) 7712 // @@protoc_insertion_point(global_scope)
8345 7713
8346 #endif // PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED 7714 #endif // PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED
OLDNEW
« no previous file with comments | « third_party/protobuf/src/google/protobuf/descriptor.proto ('k') | third_party/protobuf/src/google/protobuf/descriptor.pb.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698