1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/descriptor.proto
3
4 #ifndef PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED
5 #define PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED
6
7 #include <string>
8
9 #include <google/protobuf/stubs/common.h>
10
11 #if GOOGLE_PROTOBUF_VERSION < 3000000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3000000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21
22 #include <google/protobuf/arena.h>
23 #include <google/protobuf/arenastring.h>
24 #include <google/protobuf/generated_message_util.h>
25 #include <google/protobuf/metadata.h>
26 #include <google/protobuf/message.h>
27 #include <google/protobuf/repeated_field.h>
28 #include <google/protobuf/extension_set.h>
29 #include <google/protobuf/generated_enum_reflection.h>
30 #include <google/protobuf/unknown_field_set.h>
31 // @@protoc_insertion_point(includes)
32
33 namespace google {
34 namespace protobuf {
35
36 // Internal implementation detail -- do not call these.
37 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
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;
65
66 enum FieldDescriptorProto_Type {
67 FieldDescriptorProto_Type_TYPE_DOUBLE = 1,
68 FieldDescriptorProto_Type_TYPE_FLOAT = 2,
69 FieldDescriptorProto_Type_TYPE_INT64 = 3,
70 FieldDescriptorProto_Type_TYPE_UINT64 = 4,
71 FieldDescriptorProto_Type_TYPE_INT32 = 5,
72 FieldDescriptorProto_Type_TYPE_FIXED64 = 6,
73 FieldDescriptorProto_Type_TYPE_FIXED32 = 7,
74 FieldDescriptorProto_Type_TYPE_BOOL = 8,
75 FieldDescriptorProto_Type_TYPE_STRING = 9,
76 FieldDescriptorProto_Type_TYPE_GROUP = 10,
77 FieldDescriptorProto_Type_TYPE_MESSAGE = 11,
78 FieldDescriptorProto_Type_TYPE_BYTES = 12,
79 FieldDescriptorProto_Type_TYPE_UINT32 = 13,
80 FieldDescriptorProto_Type_TYPE_ENUM = 14,
81 FieldDescriptorProto_Type_TYPE_SFIXED32 = 15,
82 FieldDescriptorProto_Type_TYPE_SFIXED64 = 16,
83 FieldDescriptorProto_Type_TYPE_SINT32 = 17,
84 FieldDescriptorProto_Type_TYPE_SINT64 = 18
85 };
86 LIBPROTOBUF_EXPORT bool FieldDescriptorProto_Type_IsValid(int value);
87 const FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MIN = FieldDescriptorProto_Type_TYPE_DOUBLE;
88 const FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MAX = FieldDescriptorProto_Type_TYPE_SINT64;
89 const int FieldDescriptorProto_Type_Type_ARRAYSIZE = FieldDescriptorProto_Type_Type_MAX + 1;
90
91 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Type_descriptor();
FieldDescriptorProto_Type_Name(FieldDescriptorProto_Type value)92 inline const ::std::string& FieldDescriptorProto_Type_Name(FieldDescriptorProto_Type value) {
93 return ::google::protobuf::internal::NameOfEnum(
94 FieldDescriptorProto_Type_descriptor(), value);
95 }
FieldDescriptorProto_Type_Parse(const::std::string & name,FieldDescriptorProto_Type * value)96 inline bool FieldDescriptorProto_Type_Parse(
97 const ::std::string& name, FieldDescriptorProto_Type* value) {
98 return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Type>(
99 FieldDescriptorProto_Type_descriptor(), name, value);
100 }
101 enum FieldDescriptorProto_Label {
102 FieldDescriptorProto_Label_LABEL_OPTIONAL = 1,
103 FieldDescriptorProto_Label_LABEL_REQUIRED = 2,
104 FieldDescriptorProto_Label_LABEL_REPEATED = 3
105 };
106 LIBPROTOBUF_EXPORT bool FieldDescriptorProto_Label_IsValid(int value);
107 const FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN = FieldDescriptorProto_Label_LABEL_OPTIONAL;
108 const FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX = FieldDescriptorProto_Label_LABEL_REPEATED;
109 const int FieldDescriptorProto_Label_Label_ARRAYSIZE = FieldDescriptorProto_Label_Label_MAX + 1;
110
111 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Label_descriptor();
FieldDescriptorProto_Label_Name(FieldDescriptorProto_Label value)112 inline const ::std::string& FieldDescriptorProto_Label_Name(FieldDescriptorProto_Label value) {
113 return ::google::protobuf::internal::NameOfEnum(
114 FieldDescriptorProto_Label_descriptor(), value);
115 }
FieldDescriptorProto_Label_Parse(const::std::string & name,FieldDescriptorProto_Label * value)116 inline bool FieldDescriptorProto_Label_Parse(
117 const ::std::string& name, FieldDescriptorProto_Label* value) {
118 return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Label>(
119 FieldDescriptorProto_Label_descriptor(), name, value);
120 }
121 enum FileOptions_OptimizeMode {
122 FileOptions_OptimizeMode_SPEED = 1,
123 FileOptions_OptimizeMode_CODE_SIZE = 2,
124 FileOptions_OptimizeMode_LITE_RUNTIME = 3
125 };
126 LIBPROTOBUF_EXPORT bool FileOptions_OptimizeMode_IsValid(int value);
127 const FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MIN = FileOptions_OptimizeMode_SPEED;
128 const FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MAX = FileOptions_OptimizeMode_LITE_RUNTIME;
129 const int FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE = FileOptions_OptimizeMode_OptimizeMode_MAX + 1;
130
131 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FileOptions_OptimizeMode_descriptor();
FileOptions_OptimizeMode_Name(FileOptions_OptimizeMode value)132 inline const ::std::string& FileOptions_OptimizeMode_Name(FileOptions_OptimizeMode value) {
133 return ::google::protobuf::internal::NameOfEnum(
134 FileOptions_OptimizeMode_descriptor(), value);
135 }
FileOptions_OptimizeMode_Parse(const::std::string & name,FileOptions_OptimizeMode * value)136 inline bool FileOptions_OptimizeMode_Parse(
137 const ::std::string& name, FileOptions_OptimizeMode* value) {
138 return ::google::protobuf::internal::ParseNamedEnum<FileOptions_OptimizeMode>(
139 FileOptions_OptimizeMode_descriptor(), name, value);
140 }
141 enum FieldOptions_CType {
142 FieldOptions_CType_STRING = 0,
143 FieldOptions_CType_CORD = 1,
144 FieldOptions_CType_STRING_PIECE = 2
145 };
146 LIBPROTOBUF_EXPORT bool FieldOptions_CType_IsValid(int value);
147 const FieldOptions_CType FieldOptions_CType_CType_MIN = FieldOptions_CType_STRING;
148 const FieldOptions_CType FieldOptions_CType_CType_MAX = FieldOptions_CType_STRING_PIECE;
149 const int FieldOptions_CType_CType_ARRAYSIZE = FieldOptions_CType_CType_MAX + 1;
150
151 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_CType_descriptor();
FieldOptions_CType_Name(FieldOptions_CType value)152 inline const ::std::string& FieldOptions_CType_Name(FieldOptions_CType value) {
153 return ::google::protobuf::internal::NameOfEnum(
154 FieldOptions_CType_descriptor(), value);
155 }
FieldOptions_CType_Parse(const::std::string & name,FieldOptions_CType * value)156 inline bool FieldOptions_CType_Parse(
157 const ::std::string& name, FieldOptions_CType* value) {
158 return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_CType>(
159 FieldOptions_CType_descriptor(), name, value);
160 }
161 enum FieldOptions_JSType {
162 FieldOptions_JSType_JS_NORMAL = 0,
163 FieldOptions_JSType_JS_STRING = 1,
164 FieldOptions_JSType_JS_NUMBER = 2
165 };
166 LIBPROTOBUF_EXPORT bool FieldOptions_JSType_IsValid(int value);
167 const FieldOptions_JSType FieldOptions_JSType_JSType_MIN = FieldOptions_JSType_JS_NORMAL;
168 const FieldOptions_JSType FieldOptions_JSType_JSType_MAX = FieldOptions_JSType_JS_NUMBER;
169 const int FieldOptions_JSType_JSType_ARRAYSIZE = FieldOptions_JSType_JSType_MAX + 1;
170
171 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_JSType_descriptor();
FieldOptions_JSType_Name(FieldOptions_JSType value)172 inline const ::std::string& FieldOptions_JSType_Name(FieldOptions_JSType value) {
173 return ::google::protobuf::internal::NameOfEnum(
174 FieldOptions_JSType_descriptor(), value);
175 }
FieldOptions_JSType_Parse(const::std::string & name,FieldOptions_JSType * value)176 inline bool FieldOptions_JSType_Parse(
177 const ::std::string& name, FieldOptions_JSType* value) {
178 return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_JSType>(
179 FieldOptions_JSType_descriptor(), name, value);
180 }
181 // ===================================================================
182
183 class LIBPROTOBUF_EXPORT FileDescriptorSet : public ::google::protobuf::Message {
184 public:
185 FileDescriptorSet();
186 virtual ~FileDescriptorSet();
187
188 FileDescriptorSet(const FileDescriptorSet& from);
189
190 inline FileDescriptorSet& operator=(const FileDescriptorSet& from) {
191 CopyFrom(from);
192 return *this;
193 }
194
unknown_fields()195 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
196 return _internal_metadata_.unknown_fields();
197 }
198
mutable_unknown_fields()199 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
200 return _internal_metadata_.mutable_unknown_fields();
201 }
202
203 static const ::google::protobuf::Descriptor* descriptor();
204 static const FileDescriptorSet& default_instance();
205
206 void Swap(FileDescriptorSet* other);
207
208 // implements Message ----------------------------------------------
209
New()210 inline FileDescriptorSet* New() const { return New(NULL); }
211
212 FileDescriptorSet* New(::google::protobuf::Arena* arena) const;
213 void CopyFrom(const ::google::protobuf::Message& from);
214 void MergeFrom(const ::google::protobuf::Message& from);
215 void CopyFrom(const FileDescriptorSet& from);
216 void MergeFrom(const FileDescriptorSet& from);
217 void Clear();
218 bool IsInitialized() const;
219
220 int ByteSize() const;
221 bool MergePartialFromCodedStream(
222 ::google::protobuf::io::CodedInputStream* input);
223 void SerializeWithCachedSizes(
224 ::google::protobuf::io::CodedOutputStream* output) const;
225 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()226 int GetCachedSize() const { return _cached_size_; }
227 private:
228 void SharedCtor();
229 void SharedDtor();
230 void SetCachedSize(int size) const;
231 void InternalSwap(FileDescriptorSet* other);
232 private:
GetArenaNoVirtual()233 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
234 return _internal_metadata_.arena();
235 }
MaybeArenaPtr()236 inline void* MaybeArenaPtr() const {
237 return _internal_metadata_.raw_arena_ptr();
238 }
239 public:
240
241 ::google::protobuf::Metadata GetMetadata() const;
242
243 // nested types ----------------------------------------------------
244
245 // accessors -------------------------------------------------------
246
247 // repeated .google.protobuf.FileDescriptorProto file = 1;
248 int file_size() const;
249 void clear_file();
250 static const int kFileFieldNumber = 1;
251 const ::google::protobuf::FileDescriptorProto& file(int index) const;
252 ::google::protobuf::FileDescriptorProto* mutable_file(int index);
253 ::google::protobuf::FileDescriptorProto* add_file();
254 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
255 mutable_file();
256 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
257 file() const;
258
259 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet)
260 private:
261
262 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
263 ::google::protobuf::uint32 _has_bits_[1];
264 mutable int _cached_size_;
265 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > file_;
266 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
267 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
268 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
269
270 void InitAsDefaultInstance();
271 static FileDescriptorSet* default_instance_;
272 };
273 // -------------------------------------------------------------------
274
275 class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Message {
276 public:
277 FileDescriptorProto();
278 virtual ~FileDescriptorProto();
279
280 FileDescriptorProto(const FileDescriptorProto& from);
281
282 inline FileDescriptorProto& operator=(const FileDescriptorProto& from) {
283 CopyFrom(from);
284 return *this;
285 }
286
unknown_fields()287 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
288 return _internal_metadata_.unknown_fields();
289 }
290
mutable_unknown_fields()291 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
292 return _internal_metadata_.mutable_unknown_fields();
293 }
294
295 static const ::google::protobuf::Descriptor* descriptor();
296 static const FileDescriptorProto& default_instance();
297
298 void Swap(FileDescriptorProto* other);
299
300 // implements Message ----------------------------------------------
301
New()302 inline FileDescriptorProto* New() const { return New(NULL); }
303
304 FileDescriptorProto* New(::google::protobuf::Arena* arena) const;
305 void CopyFrom(const ::google::protobuf::Message& from);
306 void MergeFrom(const ::google::protobuf::Message& from);
307 void CopyFrom(const FileDescriptorProto& from);
308 void MergeFrom(const FileDescriptorProto& from);
309 void Clear();
310 bool IsInitialized() const;
311
312 int ByteSize() const;
313 bool MergePartialFromCodedStream(
314 ::google::protobuf::io::CodedInputStream* input);
315 void SerializeWithCachedSizes(
316 ::google::protobuf::io::CodedOutputStream* output) const;
317 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()318 int GetCachedSize() const { return _cached_size_; }
319 private:
320 void SharedCtor();
321 void SharedDtor();
322 void SetCachedSize(int size) const;
323 void InternalSwap(FileDescriptorProto* other);
324 private:
GetArenaNoVirtual()325 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
326 return _internal_metadata_.arena();
327 }
MaybeArenaPtr()328 inline void* MaybeArenaPtr() const {
329 return _internal_metadata_.raw_arena_ptr();
330 }
331 public:
332
333 ::google::protobuf::Metadata GetMetadata() const;
334
335 // nested types ----------------------------------------------------
336
337 // accessors -------------------------------------------------------
338
339 // optional string name = 1;
340 bool has_name() const;
341 void clear_name();
342 static const int kNameFieldNumber = 1;
343 const ::std::string& name() const;
344 void set_name(const ::std::string& value);
345 void set_name(const char* value);
346 void set_name(const char* value, size_t size);
347 ::std::string* mutable_name();
348 ::std::string* release_name();
349 void set_allocated_name(::std::string* name);
350
351 // optional string package = 2;
352 bool has_package() const;
353 void clear_package();
354 static const int kPackageFieldNumber = 2;
355 const ::std::string& package() const;
356 void set_package(const ::std::string& value);
357 void set_package(const char* value);
358 void set_package(const char* value, size_t size);
359 ::std::string* mutable_package();
360 ::std::string* release_package();
361 void set_allocated_package(::std::string* package);
362
363 // repeated string dependency = 3;
364 int dependency_size() const;
365 void clear_dependency();
366 static const int kDependencyFieldNumber = 3;
367 const ::std::string& dependency(int index) const;
368 ::std::string* mutable_dependency(int index);
369 void set_dependency(int index, const ::std::string& value);
370 void set_dependency(int index, const char* value);
371 void set_dependency(int index, const char* value, size_t size);
372 ::std::string* add_dependency();
373 void add_dependency(const ::std::string& value);
374 void add_dependency(const char* value);
375 void add_dependency(const char* value, size_t size);
376 const ::google::protobuf::RepeatedPtrField< ::std::string>& dependency() const;
377 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_dependency();
378
379 // repeated int32 public_dependency = 10;
380 int public_dependency_size() const;
381 void clear_public_dependency();
382 static const int kPublicDependencyFieldNumber = 10;
383 ::google::protobuf::int32 public_dependency(int index) const;
384 void set_public_dependency(int index, ::google::protobuf::int32 value);
385 void add_public_dependency(::google::protobuf::int32 value);
386 const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
387 public_dependency() const;
388 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
389 mutable_public_dependency();
390
391 // repeated int32 weak_dependency = 11;
392 int weak_dependency_size() const;
393 void clear_weak_dependency();
394 static const int kWeakDependencyFieldNumber = 11;
395 ::google::protobuf::int32 weak_dependency(int index) const;
396 void set_weak_dependency(int index, ::google::protobuf::int32 value);
397 void add_weak_dependency(::google::protobuf::int32 value);
398 const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
399 weak_dependency() const;
400 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
401 mutable_weak_dependency();
402
403 // repeated .google.protobuf.DescriptorProto message_type = 4;
404 int message_type_size() const;
405 void clear_message_type();
406 static const int kMessageTypeFieldNumber = 4;
407 const ::google::protobuf::DescriptorProto& message_type(int index) const;
408 ::google::protobuf::DescriptorProto* mutable_message_type(int index);
409 ::google::protobuf::DescriptorProto* add_message_type();
410 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
411 mutable_message_type();
412 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
413 message_type() const;
414
415 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
416 int enum_type_size() const;
417 void clear_enum_type();
418 static const int kEnumTypeFieldNumber = 5;
419 const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const;
420 ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index);
421 ::google::protobuf::EnumDescriptorProto* add_enum_type();
422 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
423 mutable_enum_type();
424 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
425 enum_type() const;
426
427 // repeated .google.protobuf.ServiceDescriptorProto service = 6;
428 int service_size() const;
429 void clear_service();
430 static const int kServiceFieldNumber = 6;
431 const ::google::protobuf::ServiceDescriptorProto& service(int index) const;
432 ::google::protobuf::ServiceDescriptorProto* mutable_service(int index);
433 ::google::protobuf::ServiceDescriptorProto* add_service();
434 ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >*
435 mutable_service();
436 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >&
437 service() const;
438
439 // repeated .google.protobuf.FieldDescriptorProto extension = 7;
440 int extension_size() const;
441 void clear_extension();
442 static const int kExtensionFieldNumber = 7;
443 const ::google::protobuf::FieldDescriptorProto& extension(int index) const;
444 ::google::protobuf::FieldDescriptorProto* mutable_extension(int index);
445 ::google::protobuf::FieldDescriptorProto* add_extension();
446 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
447 mutable_extension();
448 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
449 extension() const;
450
451 // optional .google.protobuf.FileOptions options = 8;
452 bool has_options() const;
453 void clear_options();
454 static const int kOptionsFieldNumber = 8;
455 const ::google::protobuf::FileOptions& options() const;
456 ::google::protobuf::FileOptions* mutable_options();
457 ::google::protobuf::FileOptions* release_options();
458 void set_allocated_options(::google::protobuf::FileOptions* options);
459
460 // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
461 bool has_source_code_info() const;
462 void clear_source_code_info();
463 static const int kSourceCodeInfoFieldNumber = 9;
464 const ::google::protobuf::SourceCodeInfo& source_code_info() const;
465 ::google::protobuf::SourceCodeInfo* mutable_source_code_info();
466 ::google::protobuf::SourceCodeInfo* release_source_code_info();
467 void set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* source_code_info);
468
469 // optional string syntax = 12;
470 bool has_syntax() const;
471 void clear_syntax();
472 static const int kSyntaxFieldNumber = 12;
473 const ::std::string& syntax() const;
474 void set_syntax(const ::std::string& value);
475 void set_syntax(const char* value);
476 void set_syntax(const char* value, size_t size);
477 ::std::string* mutable_syntax();
478 ::std::string* release_syntax();
479 void set_allocated_syntax(::std::string* syntax);
480
481 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto)
482 private:
483 inline void set_has_name();
484 inline void clear_has_name();
485 inline void set_has_package();
486 inline void clear_has_package();
487 inline void set_has_options();
488 inline void clear_has_options();
489 inline void set_has_source_code_info();
490 inline void clear_has_source_code_info();
491 inline void set_has_syntax();
492 inline void clear_has_syntax();
493
494 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
495 ::google::protobuf::uint32 _has_bits_[1];
496 mutable int _cached_size_;
497 ::google::protobuf::internal::ArenaStringPtr name_;
498 ::google::protobuf::internal::ArenaStringPtr package_;
499 ::google::protobuf::RepeatedPtrField< ::std::string> dependency_;
500 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > public_dependency_;
501 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > weak_dependency_;
502 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > message_type_;
503 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_;
504 ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto > service_;
505 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_;
506 ::google::protobuf::FileOptions* options_;
507 ::google::protobuf::SourceCodeInfo* source_code_info_;
508 ::google::protobuf::internal::ArenaStringPtr syntax_;
509 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
510 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
511 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
512
513 void InitAsDefaultInstance();
514 static FileDescriptorProto* default_instance_;
515 };
516 // -------------------------------------------------------------------
517
518 class LIBPROTOBUF_EXPORT DescriptorProto_ExtensionRange : public ::google::protobuf::Message {
519 public:
520 DescriptorProto_ExtensionRange();
521 virtual ~DescriptorProto_ExtensionRange();
522
523 DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from);
524
525 inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) {
526 CopyFrom(from);
527 return *this;
528 }
529
unknown_fields()530 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
531 return _internal_metadata_.unknown_fields();
532 }
533
mutable_unknown_fields()534 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
535 return _internal_metadata_.mutable_unknown_fields();
536 }
537
538 static const ::google::protobuf::Descriptor* descriptor();
539 static const DescriptorProto_ExtensionRange& default_instance();
540
541 void Swap(DescriptorProto_ExtensionRange* other);
542
543 // implements Message ----------------------------------------------
544
New()545 inline DescriptorProto_ExtensionRange* New() const { return New(NULL); }
546
547 DescriptorProto_ExtensionRange* New(::google::protobuf::Arena* arena) const;
548 void CopyFrom(const ::google::protobuf::Message& from);
549 void MergeFrom(const ::google::protobuf::Message& from);
550 void CopyFrom(const DescriptorProto_ExtensionRange& from);
551 void MergeFrom(const DescriptorProto_ExtensionRange& from);
552 void Clear();
553 bool IsInitialized() const;
554
555 int ByteSize() const;
556 bool MergePartialFromCodedStream(
557 ::google::protobuf::io::CodedInputStream* input);
558 void SerializeWithCachedSizes(
559 ::google::protobuf::io::CodedOutputStream* output) const;
560 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()561 int GetCachedSize() const { return _cached_size_; }
562 private:
563 void SharedCtor();
564 void SharedDtor();
565 void SetCachedSize(int size) const;
566 void InternalSwap(DescriptorProto_ExtensionRange* other);
567 private:
GetArenaNoVirtual()568 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
569 return _internal_metadata_.arena();
570 }
MaybeArenaPtr()571 inline void* MaybeArenaPtr() const {
572 return _internal_metadata_.raw_arena_ptr();
573 }
574 public:
575
576 ::google::protobuf::Metadata GetMetadata() const;
577
578 // nested types ----------------------------------------------------
579
580 // accessors -------------------------------------------------------
581
582 // optional int32 start = 1;
583 bool has_start() const;
584 void clear_start();
585 static const int kStartFieldNumber = 1;
586 ::google::protobuf::int32 start() const;
587 void set_start(::google::protobuf::int32 value);
588
589 // optional int32 end = 2;
590 bool has_end() const;
591 void clear_end();
592 static const int kEndFieldNumber = 2;
593 ::google::protobuf::int32 end() const;
594 void set_end(::google::protobuf::int32 value);
595
596 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange)
597 private:
598 inline void set_has_start();
599 inline void clear_has_start();
600 inline void set_has_end();
601 inline void clear_has_end();
602
603 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
604 ::google::protobuf::uint32 _has_bits_[1];
605 mutable int _cached_size_;
606 ::google::protobuf::int32 start_;
607 ::google::protobuf::int32 end_;
608 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
609 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
610 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
611
612 void InitAsDefaultInstance();
613 static DescriptorProto_ExtensionRange* default_instance_;
614 };
615 // -------------------------------------------------------------------
616
617 class LIBPROTOBUF_EXPORT DescriptorProto_ReservedRange : public ::google::protobuf::Message {
618 public:
619 DescriptorProto_ReservedRange();
620 virtual ~DescriptorProto_ReservedRange();
621
622 DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from);
623
624 inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_ReservedRange& from) {
625 CopyFrom(from);
626 return *this;
627 }
628
unknown_fields()629 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
630 return _internal_metadata_.unknown_fields();
631 }
632
mutable_unknown_fields()633 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
634 return _internal_metadata_.mutable_unknown_fields();
635 }
636
637 static const ::google::protobuf::Descriptor* descriptor();
638 static const DescriptorProto_ReservedRange& default_instance();
639
640 void Swap(DescriptorProto_ReservedRange* other);
641
642 // implements Message ----------------------------------------------
643
New()644 inline DescriptorProto_ReservedRange* New() const { return New(NULL); }
645
646 DescriptorProto_ReservedRange* New(::google::protobuf::Arena* arena) const;
647 void CopyFrom(const ::google::protobuf::Message& from);
648 void MergeFrom(const ::google::protobuf::Message& from);
649 void CopyFrom(const DescriptorProto_ReservedRange& from);
650 void MergeFrom(const DescriptorProto_ReservedRange& from);
651 void Clear();
652 bool IsInitialized() const;
653
654 int ByteSize() const;
655 bool MergePartialFromCodedStream(
656 ::google::protobuf::io::CodedInputStream* input);
657 void SerializeWithCachedSizes(
658 ::google::protobuf::io::CodedOutputStream* output) const;
659 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()660 int GetCachedSize() const { return _cached_size_; }
661 private:
662 void SharedCtor();
663 void SharedDtor();
664 void SetCachedSize(int size) const;
665 void InternalSwap(DescriptorProto_ReservedRange* other);
666 private:
GetArenaNoVirtual()667 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
668 return _internal_metadata_.arena();
669 }
MaybeArenaPtr()670 inline void* MaybeArenaPtr() const {
671 return _internal_metadata_.raw_arena_ptr();
672 }
673 public:
674
675 ::google::protobuf::Metadata GetMetadata() const;
676
677 // nested types ----------------------------------------------------
678
679 // accessors -------------------------------------------------------
680
681 // optional int32 start = 1;
682 bool has_start() const;
683 void clear_start();
684 static const int kStartFieldNumber = 1;
685 ::google::protobuf::int32 start() const;
686 void set_start(::google::protobuf::int32 value);
687
688 // optional int32 end = 2;
689 bool has_end() const;
690 void clear_end();
691 static const int kEndFieldNumber = 2;
692 ::google::protobuf::int32 end() const;
693 void set_end(::google::protobuf::int32 value);
694
695 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ReservedRange)
696 private:
697 inline void set_has_start();
698 inline void clear_has_start();
699 inline void set_has_end();
700 inline void clear_has_end();
701
702 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
703 ::google::protobuf::uint32 _has_bits_[1];
704 mutable int _cached_size_;
705 ::google::protobuf::int32 start_;
706 ::google::protobuf::int32 end_;
707 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
708 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
709 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
710
711 void InitAsDefaultInstance();
712 static DescriptorProto_ReservedRange* default_instance_;
713 };
714 // -------------------------------------------------------------------
715
716 class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message {
717 public:
718 DescriptorProto();
719 virtual ~DescriptorProto();
720
721 DescriptorProto(const DescriptorProto& from);
722
723 inline DescriptorProto& operator=(const DescriptorProto& from) {
724 CopyFrom(from);
725 return *this;
726 }
727
unknown_fields()728 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
729 return _internal_metadata_.unknown_fields();
730 }
731
mutable_unknown_fields()732 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
733 return _internal_metadata_.mutable_unknown_fields();
734 }
735
736 static const ::google::protobuf::Descriptor* descriptor();
737 static const DescriptorProto& default_instance();
738
739 void Swap(DescriptorProto* other);
740
741 // implements Message ----------------------------------------------
742
New()743 inline DescriptorProto* New() const { return New(NULL); }
744
745 DescriptorProto* New(::google::protobuf::Arena* arena) const;
746 void CopyFrom(const ::google::protobuf::Message& from);
747 void MergeFrom(const ::google::protobuf::Message& from);
748 void CopyFrom(const DescriptorProto& from);
749 void MergeFrom(const DescriptorProto& from);
750 void Clear();
751 bool IsInitialized() const;
752
753 int ByteSize() const;
754 bool MergePartialFromCodedStream(
755 ::google::protobuf::io::CodedInputStream* input);
756 void SerializeWithCachedSizes(
757 ::google::protobuf::io::CodedOutputStream* output) const;
758 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()759 int GetCachedSize() const { return _cached_size_; }
760 private:
761 void SharedCtor();
762 void SharedDtor();
763 void SetCachedSize(int size) const;
764 void InternalSwap(DescriptorProto* other);
765 private:
GetArenaNoVirtual()766 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
767 return _internal_metadata_.arena();
768 }
MaybeArenaPtr()769 inline void* MaybeArenaPtr() const {
770 return _internal_metadata_.raw_arena_ptr();
771 }
772 public:
773
774 ::google::protobuf::Metadata GetMetadata() const;
775
776 // nested types ----------------------------------------------------
777
778 typedef DescriptorProto_ExtensionRange ExtensionRange;
779 typedef DescriptorProto_ReservedRange ReservedRange;
780
781 // accessors -------------------------------------------------------
782
783 // optional string name = 1;
784 bool has_name() const;
785 void clear_name();
786 static const int kNameFieldNumber = 1;
787 const ::std::string& name() const;
788 void set_name(const ::std::string& value);
789 void set_name(const char* value);
790 void set_name(const char* value, size_t size);
791 ::std::string* mutable_name();
792 ::std::string* release_name();
793 void set_allocated_name(::std::string* name);
794
795 // repeated .google.protobuf.FieldDescriptorProto field = 2;
796 int field_size() const;
797 void clear_field();
798 static const int kFieldFieldNumber = 2;
799 const ::google::protobuf::FieldDescriptorProto& field(int index) const;
800 ::google::protobuf::FieldDescriptorProto* mutable_field(int index);
801 ::google::protobuf::FieldDescriptorProto* add_field();
802 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
803 mutable_field();
804 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
805 field() const;
806
807 // repeated .google.protobuf.FieldDescriptorProto extension = 6;
808 int extension_size() const;
809 void clear_extension();
810 static const int kExtensionFieldNumber = 6;
811 const ::google::protobuf::FieldDescriptorProto& extension(int index) const;
812 ::google::protobuf::FieldDescriptorProto* mutable_extension(int index);
813 ::google::protobuf::FieldDescriptorProto* add_extension();
814 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
815 mutable_extension();
816 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
817 extension() const;
818
819 // repeated .google.protobuf.DescriptorProto nested_type = 3;
820 int nested_type_size() const;
821 void clear_nested_type();
822 static const int kNestedTypeFieldNumber = 3;
823 const ::google::protobuf::DescriptorProto& nested_type(int index) const;
824 ::google::protobuf::DescriptorProto* mutable_nested_type(int index);
825 ::google::protobuf::DescriptorProto* add_nested_type();
826 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
827 mutable_nested_type();
828 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
829 nested_type() const;
830
831 // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
832 int enum_type_size() const;
833 void clear_enum_type();
834 static const int kEnumTypeFieldNumber = 4;
835 const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const;
836 ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index);
837 ::google::protobuf::EnumDescriptorProto* add_enum_type();
838 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
839 mutable_enum_type();
840 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
841 enum_type() const;
842
843 // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
844 int extension_range_size() const;
845 void clear_extension_range();
846 static const int kExtensionRangeFieldNumber = 5;
847 const ::google::protobuf::DescriptorProto_ExtensionRange& extension_range(int index) const;
848 ::google::protobuf::DescriptorProto_ExtensionRange* mutable_extension_range(int index);
849 ::google::protobuf::DescriptorProto_ExtensionRange* add_extension_range();
850 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >*
851 mutable_extension_range();
852 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >&
853 extension_range() const;
854
855 // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
856 int oneof_decl_size() const;
857 void clear_oneof_decl();
858 static const int kOneofDeclFieldNumber = 8;
859 const ::google::protobuf::OneofDescriptorProto& oneof_decl(int index) const;
860 ::google::protobuf::OneofDescriptorProto* mutable_oneof_decl(int index);
861 ::google::protobuf::OneofDescriptorProto* add_oneof_decl();
862 ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >*
863 mutable_oneof_decl();
864 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >&
865 oneof_decl() const;
866
867 // optional .google.protobuf.MessageOptions options = 7;
868 bool has_options() const;
869 void clear_options();
870 static const int kOptionsFieldNumber = 7;
871 const ::google::protobuf::MessageOptions& options() const;
872 ::google::protobuf::MessageOptions* mutable_options();
873 ::google::protobuf::MessageOptions* release_options();
874 void set_allocated_options(::google::protobuf::MessageOptions* options);
875
876 // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
877 int reserved_range_size() const;
878 void clear_reserved_range();
879 static const int kReservedRangeFieldNumber = 9;
880 const ::google::protobuf::DescriptorProto_ReservedRange& reserved_range(int index) const;
881 ::google::protobuf::DescriptorProto_ReservedRange* mutable_reserved_range(int index);
882 ::google::protobuf::DescriptorProto_ReservedRange* add_reserved_range();
883 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange >*
884 mutable_reserved_range();
885 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange >&
886 reserved_range() const;
887
888 // repeated string reserved_name = 10;
889 int reserved_name_size() const;
890 void clear_reserved_name();
891 static const int kReservedNameFieldNumber = 10;
892 const ::std::string& reserved_name(int index) const;
893 ::std::string* mutable_reserved_name(int index);
894 void set_reserved_name(int index, const ::std::string& value);
895 void set_reserved_name(int index, const char* value);
896 void set_reserved_name(int index, const char* value, size_t size);
897 ::std::string* add_reserved_name();
898 void add_reserved_name(const ::std::string& value);
899 void add_reserved_name(const char* value);
900 void add_reserved_name(const char* value, size_t size);
901 const ::google::protobuf::RepeatedPtrField< ::std::string>& reserved_name() const;
902 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_reserved_name();
903
904 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto)
905 private:
906 inline void set_has_name();
907 inline void clear_has_name();
908 inline void set_has_options();
909 inline void clear_has_options();
910
911 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
912 ::google::protobuf::uint32 _has_bits_[1];
913 mutable int _cached_size_;
914 ::google::protobuf::internal::ArenaStringPtr name_;
915 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_;
916 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_;
917 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > nested_type_;
918 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_;
919 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange > extension_range_;
920 ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > oneof_decl_;
921 ::google::protobuf::MessageOptions* options_;
922 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange > reserved_range_;
923 ::google::protobuf::RepeatedPtrField< ::std::string> reserved_name_;
924 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
925 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
926 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
927
928 void InitAsDefaultInstance();
929 static DescriptorProto* default_instance_;
930 };
931 // -------------------------------------------------------------------
932
933 class LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Message {
934 public:
935 FieldDescriptorProto();
936 virtual ~FieldDescriptorProto();
937
938 FieldDescriptorProto(const FieldDescriptorProto& from);
939
940 inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) {
941 CopyFrom(from);
942 return *this;
943 }
944
unknown_fields()945 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
946 return _internal_metadata_.unknown_fields();
947 }
948
mutable_unknown_fields()949 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
950 return _internal_metadata_.mutable_unknown_fields();
951 }
952
953 static const ::google::protobuf::Descriptor* descriptor();
954 static const FieldDescriptorProto& default_instance();
955
956 void Swap(FieldDescriptorProto* other);
957
958 // implements Message ----------------------------------------------
959
New()960 inline FieldDescriptorProto* New() const { return New(NULL); }
961
962 FieldDescriptorProto* New(::google::protobuf::Arena* arena) const;
963 void CopyFrom(const ::google::protobuf::Message& from);
964 void MergeFrom(const ::google::protobuf::Message& from);
965 void CopyFrom(const FieldDescriptorProto& from);
966 void MergeFrom(const FieldDescriptorProto& from);
967 void Clear();
968 bool IsInitialized() const;
969
970 int ByteSize() const;
971 bool MergePartialFromCodedStream(
972 ::google::protobuf::io::CodedInputStream* input);
973 void SerializeWithCachedSizes(
974 ::google::protobuf::io::CodedOutputStream* output) const;
975 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()976 int GetCachedSize() const { return _cached_size_; }
977 private:
978 void SharedCtor();
979 void SharedDtor();
980 void SetCachedSize(int size) const;
981 void InternalSwap(FieldDescriptorProto* other);
982 private:
GetArenaNoVirtual()983 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
984 return _internal_metadata_.arena();
985 }
MaybeArenaPtr()986 inline void* MaybeArenaPtr() const {
987 return _internal_metadata_.raw_arena_ptr();
988 }
989 public:
990
991 ::google::protobuf::Metadata GetMetadata() const;
992
993 // nested types ----------------------------------------------------
994
995 typedef FieldDescriptorProto_Type Type;
996 static const Type TYPE_DOUBLE =
997 FieldDescriptorProto_Type_TYPE_DOUBLE;
998 static const Type TYPE_FLOAT =
999 FieldDescriptorProto_Type_TYPE_FLOAT;
1000 static const Type TYPE_INT64 =
1001 FieldDescriptorProto_Type_TYPE_INT64;
1002 static const Type TYPE_UINT64 =
1003 FieldDescriptorProto_Type_TYPE_UINT64;
1004 static const Type TYPE_INT32 =
1005 FieldDescriptorProto_Type_TYPE_INT32;
1006 static const Type TYPE_FIXED64 =
1007 FieldDescriptorProto_Type_TYPE_FIXED64;
1008 static const Type TYPE_FIXED32 =
1009 FieldDescriptorProto_Type_TYPE_FIXED32;
1010 static const Type TYPE_BOOL =
1011 FieldDescriptorProto_Type_TYPE_BOOL;
1012 static const Type TYPE_STRING =
1013 FieldDescriptorProto_Type_TYPE_STRING;
1014 static const Type TYPE_GROUP =
1015 FieldDescriptorProto_Type_TYPE_GROUP;
1016 static const Type TYPE_MESSAGE =
1017 FieldDescriptorProto_Type_TYPE_MESSAGE;
1018 static const Type TYPE_BYTES =
1019 FieldDescriptorProto_Type_TYPE_BYTES;
1020 static const Type TYPE_UINT32 =
1021 FieldDescriptorProto_Type_TYPE_UINT32;
1022 static const Type TYPE_ENUM =
1023 FieldDescriptorProto_Type_TYPE_ENUM;
1024 static const Type TYPE_SFIXED32 =
1025 FieldDescriptorProto_Type_TYPE_SFIXED32;
1026 static const Type TYPE_SFIXED64 =
1027 FieldDescriptorProto_Type_TYPE_SFIXED64;
1028 static const Type TYPE_SINT32 =
1029 FieldDescriptorProto_Type_TYPE_SINT32;
1030 static const Type TYPE_SINT64 =
1031 FieldDescriptorProto_Type_TYPE_SINT64;
Type_IsValid(int value)1032 static inline bool Type_IsValid(int value) {
1033 return FieldDescriptorProto_Type_IsValid(value);
1034 }
1035 static const Type Type_MIN =
1036 FieldDescriptorProto_Type_Type_MIN;
1037 static const Type Type_MAX =
1038 FieldDescriptorProto_Type_Type_MAX;
1039 static const int Type_ARRAYSIZE =
1040 FieldDescriptorProto_Type_Type_ARRAYSIZE;
1041 static inline const ::google::protobuf::EnumDescriptor*
Type_descriptor()1042 Type_descriptor() {
1043 return FieldDescriptorProto_Type_descriptor();
1044 }
Type_Name(Type value)1045 static inline const ::std::string& Type_Name(Type value) {
1046 return FieldDescriptorProto_Type_Name(value);
1047 }
Type_Parse(const::std::string & name,Type * value)1048 static inline bool Type_Parse(const ::std::string& name,
1049 Type* value) {
1050 return FieldDescriptorProto_Type_Parse(name, value);
1051 }
1052
1053 typedef FieldDescriptorProto_Label Label;
1054 static const Label LABEL_OPTIONAL =
1055 FieldDescriptorProto_Label_LABEL_OPTIONAL;
1056 static const Label LABEL_REQUIRED =
1057 FieldDescriptorProto_Label_LABEL_REQUIRED;
1058 static const Label LABEL_REPEATED =
1059 FieldDescriptorProto_Label_LABEL_REPEATED;
Label_IsValid(int value)1060 static inline bool Label_IsValid(int value) {
1061 return FieldDescriptorProto_Label_IsValid(value);
1062 }
1063 static const Label Label_MIN =
1064 FieldDescriptorProto_Label_Label_MIN;
1065 static const Label Label_MAX =
1066 FieldDescriptorProto_Label_Label_MAX;
1067 static const int Label_ARRAYSIZE =
1068 FieldDescriptorProto_Label_Label_ARRAYSIZE;
1069 static inline const ::google::protobuf::EnumDescriptor*
Label_descriptor()1070 Label_descriptor() {
1071 return FieldDescriptorProto_Label_descriptor();
1072 }
Label_Name(Label value)1073 static inline const ::std::string& Label_Name(Label value) {
1074 return FieldDescriptorProto_Label_Name(value);
1075 }
Label_Parse(const::std::string & name,Label * value)1076 static inline bool Label_Parse(const ::std::string& name,
1077 Label* value) {
1078 return FieldDescriptorProto_Label_Parse(name, value);
1079 }
1080
1081 // accessors -------------------------------------------------------
1082
1083 // optional string name = 1;
1084 bool has_name() const;
1085 void clear_name();
1086 static const int kNameFieldNumber = 1;
1087 const ::std::string& name() const;
1088 void set_name(const ::std::string& value);
1089 void set_name(const char* value);
1090 void set_name(const char* value, size_t size);
1091 ::std::string* mutable_name();
1092 ::std::string* release_name();
1093 void set_allocated_name(::std::string* name);
1094
1095 // optional int32 number = 3;
1096 bool has_number() const;
1097 void clear_number();
1098 static const int kNumberFieldNumber = 3;
1099 ::google::protobuf::int32 number() const;
1100 void set_number(::google::protobuf::int32 value);
1101
1102 // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
1103 bool has_label() const;
1104 void clear_label();
1105 static const int kLabelFieldNumber = 4;
1106 ::google::protobuf::FieldDescriptorProto_Label label() const;
1107 void set_label(::google::protobuf::FieldDescriptorProto_Label value);
1108
1109 // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
1110 bool has_type() const;
1111 void clear_type();
1112 static const int kTypeFieldNumber = 5;
1113 ::google::protobuf::FieldDescriptorProto_Type type() const;
1114 void set_type(::google::protobuf::FieldDescriptorProto_Type value);
1115
1116 // optional string type_name = 6;
1117 bool has_type_name() const;
1118 void clear_type_name();
1119 static const int kTypeNameFieldNumber = 6;
1120 const ::std::string& type_name() const;
1121 void set_type_name(const ::std::string& value);
1122 void set_type_name(const char* value);
1123 void set_type_name(const char* value, size_t size);
1124 ::std::string* mutable_type_name();
1125 ::std::string* release_type_name();
1126 void set_allocated_type_name(::std::string* type_name);
1127
1128 // optional string extendee = 2;
1129 bool has_extendee() const;
1130 void clear_extendee();
1131 static const int kExtendeeFieldNumber = 2;
1132 const ::std::string& extendee() const;
1133 void set_extendee(const ::std::string& value);
1134 void set_extendee(const char* value);
1135 void set_extendee(const char* value, size_t size);
1136 ::std::string* mutable_extendee();
1137 ::std::string* release_extendee();
1138 void set_allocated_extendee(::std::string* extendee);
1139
1140 // optional string default_value = 7;
1141 bool has_default_value() const;
1142 void clear_default_value();
1143 static const int kDefaultValueFieldNumber = 7;
1144 const ::std::string& default_value() const;
1145 void set_default_value(const ::std::string& value);
1146 void set_default_value(const char* value);
1147 void set_default_value(const char* value, size_t size);
1148 ::std::string* mutable_default_value();
1149 ::std::string* release_default_value();
1150 void set_allocated_default_value(::std::string* default_value);
1151
1152 // optional int32 oneof_index = 9;
1153 bool has_oneof_index() const;
1154 void clear_oneof_index();
1155 static const int kOneofIndexFieldNumber = 9;
1156 ::google::protobuf::int32 oneof_index() const;
1157 void set_oneof_index(::google::protobuf::int32 value);
1158
1159 // optional string json_name = 10;
1160 bool has_json_name() const;
1161 void clear_json_name();
1162 static const int kJsonNameFieldNumber = 10;
1163 const ::std::string& json_name() const;
1164 void set_json_name(const ::std::string& value);
1165 void set_json_name(const char* value);
1166 void set_json_name(const char* value, size_t size);
1167 ::std::string* mutable_json_name();
1168 ::std::string* release_json_name();
1169 void set_allocated_json_name(::std::string* json_name);
1170
1171 // optional .google.protobuf.FieldOptions options = 8;
1172 bool has_options() const;
1173 void clear_options();
1174 static const int kOptionsFieldNumber = 8;
1175 const ::google::protobuf::FieldOptions& options() const;
1176 ::google::protobuf::FieldOptions* mutable_options();
1177 ::google::protobuf::FieldOptions* release_options();
1178 void set_allocated_options(::google::protobuf::FieldOptions* options);
1179
1180 // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto)
1181 private:
1182 inline void set_has_name();
1183 inline void clear_has_name();
1184 inline void set_has_number();
1185 inline void clear_has_number();
1186 inline void set_has_label();
1187 inline void clear_has_label();
1188 inline void set_has_type();
1189 inline void clear_has_type();
1190 inline void set_has_type_name();
1191 inline void clear_has_type_name();
1192 inline void set_has_extendee();
1193 inline void clear_has_extendee();
1194 inline void set_has_default_value();
1195 inline void clear_has_default_value();
1196 inline void set_has_oneof_index();
1197 inline void clear_has_oneof_index();
1198 inline void set_has_json_name();
1199 inline void clear_has_json_name();
1200 inline void set_has_options();
1201 inline void clear_has_options();
1202
1203 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1204 ::google::protobuf::uint32 _has_bits_[1];
1205 mutable int _cached_size_;
1206 ::google::protobuf::internal::ArenaStringPtr name_;
1207 ::google::protobuf::int32 number_;
1208 int label_;
1209 ::google::protobuf::internal::ArenaStringPtr type_name_;
1210 ::google::protobuf::internal::ArenaStringPtr extendee_;
1211 int type_;
1212 ::google::protobuf::int32 oneof_index_;
1213 ::google::protobuf::internal::ArenaStringPtr default_value_;
1214 ::google::protobuf::internal::ArenaStringPtr json_name_;
1215 ::google::protobuf::FieldOptions* options_;
1216 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
1217 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1218 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1219
1220 void InitAsDefaultInstance();
1221 static FieldDescriptorProto* default_instance_;
1222 };
1223 // -------------------------------------------------------------------
1224
1225 class LIBPROTOBUF_EXPORT OneofDescriptorProto : public ::google::protobuf::Message {
1226 public:
1227 OneofDescriptorProto();
1228 virtual ~OneofDescriptorProto();
1229
1230 OneofDescriptorProto(const OneofDescriptorProto& from);
1231
1232 inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) {
1233 CopyFrom(from);
1234 return *this;
1235 }
1236
unknown_fields()1237 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1238 return _internal_metadata_.unknown_fields();
1239 }
1240
mutable_unknown_fields()1241 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1242 return _internal_metadata_.mutable_unknown_fields();
1243 }
1244
1245 static const ::google::protobuf::Descriptor* descriptor();
1246 static const OneofDescriptorProto& default_instance();
1247
1248 void Swap(OneofDescriptorProto* other);
1249
1250 // implements Message ----------------------------------------------
1251
New()1252 inline OneofDescriptorProto* New() const { return New(NULL); }
1253
1254 OneofDescriptorProto* New(::google::protobuf::Arena* arena) const;
1255 void CopyFrom(const ::google::protobuf::Message& from);
1256 void MergeFrom(const ::google::protobuf::Message& from);
1257 void CopyFrom(const OneofDescriptorProto& from);
1258 void MergeFrom(const OneofDescriptorProto& from);
1259 void Clear();
1260 bool IsInitialized() const;
1261
1262 int ByteSize() const;
1263 bool MergePartialFromCodedStream(
1264 ::google::protobuf::io::CodedInputStream* input);
1265 void SerializeWithCachedSizes(
1266 ::google::protobuf::io::CodedOutputStream* output) const;
1267 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()1268 int GetCachedSize() const { return _cached_size_; }
1269 private:
1270 void SharedCtor();
1271 void SharedDtor();
1272 void SetCachedSize(int size) const;
1273 void InternalSwap(OneofDescriptorProto* other);
1274 private:
GetArenaNoVirtual()1275 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1276 return _internal_metadata_.arena();
1277 }
MaybeArenaPtr()1278 inline void* MaybeArenaPtr() const {
1279 return _internal_metadata_.raw_arena_ptr();
1280 }
1281 public:
1282
1283 ::google::protobuf::Metadata GetMetadata() const;
1284
1285 // nested types ----------------------------------------------------
1286
1287 // accessors -------------------------------------------------------
1288
1289 // optional string name = 1;
1290 bool has_name() const;
1291 void clear_name();
1292 static const int kNameFieldNumber = 1;
1293 const ::std::string& name() const;
1294 void set_name(const ::std::string& value);
1295 void set_name(const char* value);
1296 void set_name(const char* value, size_t size);
1297 ::std::string* mutable_name();
1298 ::std::string* release_name();
1299 void set_allocated_name(::std::string* name);
1300
1301 // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto)
1302 private:
1303 inline void set_has_name();
1304 inline void clear_has_name();
1305
1306 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1307 ::google::protobuf::uint32 _has_bits_[1];
1308 mutable int _cached_size_;
1309 ::google::protobuf::internal::ArenaStringPtr name_;
1310 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
1311 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1312 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1313
1314 void InitAsDefaultInstance();
1315 static OneofDescriptorProto* default_instance_;
1316 };
1317 // -------------------------------------------------------------------
1318
1319 class LIBPROTOBUF_EXPORT EnumDescriptorProto : public ::google::protobuf::Message {
1320 public:
1321 EnumDescriptorProto();
1322 virtual ~EnumDescriptorProto();
1323
1324 EnumDescriptorProto(const EnumDescriptorProto& from);
1325
1326 inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) {
1327 CopyFrom(from);
1328 return *this;
1329 }
1330
unknown_fields()1331 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1332 return _internal_metadata_.unknown_fields();
1333 }
1334
mutable_unknown_fields()1335 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1336 return _internal_metadata_.mutable_unknown_fields();
1337 }
1338
1339 static const ::google::protobuf::Descriptor* descriptor();
1340 static const EnumDescriptorProto& default_instance();
1341
1342 void Swap(EnumDescriptorProto* other);
1343
1344 // implements Message ----------------------------------------------
1345
New()1346 inline EnumDescriptorProto* New() const { return New(NULL); }
1347
1348 EnumDescriptorProto* New(::google::protobuf::Arena* arena) const;
1349 void CopyFrom(const ::google::protobuf::Message& from);
1350 void MergeFrom(const ::google::protobuf::Message& from);
1351 void CopyFrom(const EnumDescriptorProto& from);
1352 void MergeFrom(const EnumDescriptorProto& from);
1353 void Clear();
1354 bool IsInitialized() const;
1355
1356 int ByteSize() const;
1357 bool MergePartialFromCodedStream(
1358 ::google::protobuf::io::CodedInputStream* input);
1359 void SerializeWithCachedSizes(
1360 ::google::protobuf::io::CodedOutputStream* output) const;
1361 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()1362 int GetCachedSize() const { return _cached_size_; }
1363 private:
1364 void SharedCtor();
1365 void SharedDtor();
1366 void SetCachedSize(int size) const;
1367 void InternalSwap(EnumDescriptorProto* other);
1368 private:
GetArenaNoVirtual()1369 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1370 return _internal_metadata_.arena();
1371 }
MaybeArenaPtr()1372 inline void* MaybeArenaPtr() const {
1373 return _internal_metadata_.raw_arena_ptr();
1374 }
1375 public:
1376
1377 ::google::protobuf::Metadata GetMetadata() const;
1378
1379 // nested types ----------------------------------------------------
1380
1381 // accessors -------------------------------------------------------
1382
1383 // optional string name = 1;
1384 bool has_name() const;
1385 void clear_name();
1386 static const int kNameFieldNumber = 1;
1387 const ::std::string& name() const;
1388 void set_name(const ::std::string& value);
1389 void set_name(const char* value);
1390 void set_name(const char* value, size_t size);
1391 ::std::string* mutable_name();
1392 ::std::string* release_name();
1393 void set_allocated_name(::std::string* name);
1394
1395 // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
1396 int value_size() const;
1397 void clear_value();
1398 static const int kValueFieldNumber = 2;
1399 const ::google::protobuf::EnumValueDescriptorProto& value(int index) const;
1400 ::google::protobuf::EnumValueDescriptorProto* mutable_value(int index);
1401 ::google::protobuf::EnumValueDescriptorProto* add_value();
1402 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >*
1403 mutable_value();
1404 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >&
1405 value() const;
1406
1407 // optional .google.protobuf.EnumOptions options = 3;
1408 bool has_options() const;
1409 void clear_options();
1410 static const int kOptionsFieldNumber = 3;
1411 const ::google::protobuf::EnumOptions& options() const;
1412 ::google::protobuf::EnumOptions* mutable_options();
1413 ::google::protobuf::EnumOptions* release_options();
1414 void set_allocated_options(::google::protobuf::EnumOptions* options);
1415
1416 // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto)
1417 private:
1418 inline void set_has_name();
1419 inline void clear_has_name();
1420 inline void set_has_options();
1421 inline void clear_has_options();
1422
1423 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1424 ::google::protobuf::uint32 _has_bits_[1];
1425 mutable int _cached_size_;
1426 ::google::protobuf::internal::ArenaStringPtr name_;
1427 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto > value_;
1428 ::google::protobuf::EnumOptions* options_;
1429 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
1430 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1431 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1432
1433 void InitAsDefaultInstance();
1434 static EnumDescriptorProto* default_instance_;
1435 };
1436 // -------------------------------------------------------------------
1437
1438 class LIBPROTOBUF_EXPORT EnumValueDescriptorProto : public ::google::protobuf::Message {
1439 public:
1440 EnumValueDescriptorProto();
1441 virtual ~EnumValueDescriptorProto();
1442
1443 EnumValueDescriptorProto(const EnumValueDescriptorProto& from);
1444
1445 inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) {
1446 CopyFrom(from);
1447 return *this;
1448 }
1449
unknown_fields()1450 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1451 return _internal_metadata_.unknown_fields();
1452 }
1453
mutable_unknown_fields()1454 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1455 return _internal_metadata_.mutable_unknown_fields();
1456 }
1457
1458 static const ::google::protobuf::Descriptor* descriptor();
1459 static const EnumValueDescriptorProto& default_instance();
1460
1461 void Swap(EnumValueDescriptorProto* other);
1462
1463 // implements Message ----------------------------------------------
1464
New()1465 inline EnumValueDescriptorProto* New() const { return New(NULL); }
1466
1467 EnumValueDescriptorProto* New(::google::protobuf::Arena* arena) const;
1468 void CopyFrom(const ::google::protobuf::Message& from);
1469 void MergeFrom(const ::google::protobuf::Message& from);
1470 void CopyFrom(const EnumValueDescriptorProto& from);
1471 void MergeFrom(const EnumValueDescriptorProto& from);
1472 void Clear();
1473 bool IsInitialized() const;
1474
1475 int ByteSize() const;
1476 bool MergePartialFromCodedStream(
1477 ::google::protobuf::io::CodedInputStream* input);
1478 void SerializeWithCachedSizes(
1479 ::google::protobuf::io::CodedOutputStream* output) const;
1480 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()1481 int GetCachedSize() const { return _cached_size_; }
1482 private:
1483 void SharedCtor();
1484 void SharedDtor();
1485 void SetCachedSize(int size) const;
1486 void InternalSwap(EnumValueDescriptorProto* other);
1487 private:
GetArenaNoVirtual()1488 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1489 return _internal_metadata_.arena();
1490 }
MaybeArenaPtr()1491 inline void* MaybeArenaPtr() const {
1492 return _internal_metadata_.raw_arena_ptr();
1493 }
1494 public:
1495
1496 ::google::protobuf::Metadata GetMetadata() const;
1497
1498 // nested types ----------------------------------------------------
1499
1500 // accessors -------------------------------------------------------
1501
1502 // optional string name = 1;
1503 bool has_name() const;
1504 void clear_name();
1505 static const int kNameFieldNumber = 1;
1506 const ::std::string& name() const;
1507 void set_name(const ::std::string& value);
1508 void set_name(const char* value);
1509 void set_name(const char* value, size_t size);
1510 ::std::string* mutable_name();
1511 ::std::string* release_name();
1512 void set_allocated_name(::std::string* name);
1513
1514 // optional int32 number = 2;
1515 bool has_number() const;
1516 void clear_number();
1517 static const int kNumberFieldNumber = 2;
1518 ::google::protobuf::int32 number() const;
1519 void set_number(::google::protobuf::int32 value);
1520
1521 // optional .google.protobuf.EnumValueOptions options = 3;
1522 bool has_options() const;
1523 void clear_options();
1524 static const int kOptionsFieldNumber = 3;
1525 const ::google::protobuf::EnumValueOptions& options() const;
1526 ::google::protobuf::EnumValueOptions* mutable_options();
1527 ::google::protobuf::EnumValueOptions* release_options();
1528 void set_allocated_options(::google::protobuf::EnumValueOptions* options);
1529
1530 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto)
1531 private:
1532 inline void set_has_name();
1533 inline void clear_has_name();
1534 inline void set_has_number();
1535 inline void clear_has_number();
1536 inline void set_has_options();
1537 inline void clear_has_options();
1538
1539 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1540 ::google::protobuf::uint32 _has_bits_[1];
1541 mutable int _cached_size_;
1542 ::google::protobuf::internal::ArenaStringPtr name_;
1543 ::google::protobuf::EnumValueOptions* options_;
1544 ::google::protobuf::int32 number_;
1545 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
1546 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1547 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1548
1549 void InitAsDefaultInstance();
1550 static EnumValueDescriptorProto* default_instance_;
1551 };
1552 // -------------------------------------------------------------------
1553
1554 class LIBPROTOBUF_EXPORT ServiceDescriptorProto : public ::google::protobuf::Message {
1555 public:
1556 ServiceDescriptorProto();
1557 virtual ~ServiceDescriptorProto();
1558
1559 ServiceDescriptorProto(const ServiceDescriptorProto& from);
1560
1561 inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) {
1562 CopyFrom(from);
1563 return *this;
1564 }
1565
unknown_fields()1566 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1567 return _internal_metadata_.unknown_fields();
1568 }
1569
mutable_unknown_fields()1570 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1571 return _internal_metadata_.mutable_unknown_fields();
1572 }
1573
1574 static const ::google::protobuf::Descriptor* descriptor();
1575 static const ServiceDescriptorProto& default_instance();
1576
1577 void Swap(ServiceDescriptorProto* other);
1578
1579 // implements Message ----------------------------------------------
1580
New()1581 inline ServiceDescriptorProto* New() const { return New(NULL); }
1582
1583 ServiceDescriptorProto* New(::google::protobuf::Arena* arena) const;
1584 void CopyFrom(const ::google::protobuf::Message& from);
1585 void MergeFrom(const ::google::protobuf::Message& from);
1586 void CopyFrom(const ServiceDescriptorProto& from);
1587 void MergeFrom(const ServiceDescriptorProto& from);
1588 void Clear();
1589 bool IsInitialized() const;
1590
1591 int ByteSize() const;
1592 bool MergePartialFromCodedStream(
1593 ::google::protobuf::io::CodedInputStream* input);
1594 void SerializeWithCachedSizes(
1595 ::google::protobuf::io::CodedOutputStream* output) const;
1596 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()1597 int GetCachedSize() const { return _cached_size_; }
1598 private:
1599 void SharedCtor();
1600 void SharedDtor();
1601 void SetCachedSize(int size) const;
1602 void InternalSwap(ServiceDescriptorProto* other);
1603 private:
GetArenaNoVirtual()1604 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1605 return _internal_metadata_.arena();
1606 }
MaybeArenaPtr()1607 inline void* MaybeArenaPtr() const {
1608 return _internal_metadata_.raw_arena_ptr();
1609 }
1610 public:
1611
1612 ::google::protobuf::Metadata GetMetadata() const;
1613
1614 // nested types ----------------------------------------------------
1615
1616 // accessors -------------------------------------------------------
1617
1618 // optional string name = 1;
1619 bool has_name() const;
1620 void clear_name();
1621 static const int kNameFieldNumber = 1;
1622 const ::std::string& name() const;
1623 void set_name(const ::std::string& value);
1624 void set_name(const char* value);
1625 void set_name(const char* value, size_t size);
1626 ::std::string* mutable_name();
1627 ::std::string* release_name();
1628 void set_allocated_name(::std::string* name);
1629
1630 // repeated .google.protobuf.MethodDescriptorProto method = 2;
1631 int method_size() const;
1632 void clear_method();
1633 static const int kMethodFieldNumber = 2;
1634 const ::google::protobuf::MethodDescriptorProto& method(int index) const;
1635 ::google::protobuf::MethodDescriptorProto* mutable_method(int index);
1636 ::google::protobuf::MethodDescriptorProto* add_method();
1637 ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >*
1638 mutable_method();
1639 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >&
1640 method() const;
1641
1642 // optional .google.protobuf.ServiceOptions options = 3;
1643 bool has_options() const;
1644 void clear_options();
1645 static const int kOptionsFieldNumber = 3;
1646 const ::google::protobuf::ServiceOptions& options() const;
1647 ::google::protobuf::ServiceOptions* mutable_options();
1648 ::google::protobuf::ServiceOptions* release_options();
1649 void set_allocated_options(::google::protobuf::ServiceOptions* options);
1650
1651 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto)
1652 private:
1653 inline void set_has_name();
1654 inline void clear_has_name();
1655 inline void set_has_options();
1656 inline void clear_has_options();
1657
1658 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1659 ::google::protobuf::uint32 _has_bits_[1];
1660 mutable int _cached_size_;
1661 ::google::protobuf::internal::ArenaStringPtr name_;
1662 ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto > method_;
1663 ::google::protobuf::ServiceOptions* options_;
1664 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
1665 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1666 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1667
1668 void InitAsDefaultInstance();
1669 static ServiceDescriptorProto* default_instance_;
1670 };
1671 // -------------------------------------------------------------------
1672
1673 class LIBPROTOBUF_EXPORT MethodDescriptorProto : public ::google::protobuf::Message {
1674 public:
1675 MethodDescriptorProto();
1676 virtual ~MethodDescriptorProto();
1677
1678 MethodDescriptorProto(const MethodDescriptorProto& from);
1679
1680 inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) {
1681 CopyFrom(from);
1682 return *this;
1683 }
1684
unknown_fields()1685 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1686 return _internal_metadata_.unknown_fields();
1687 }
1688
mutable_unknown_fields()1689 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1690 return _internal_metadata_.mutable_unknown_fields();
1691 }
1692
1693 static const ::google::protobuf::Descriptor* descriptor();
1694 static const MethodDescriptorProto& default_instance();
1695
1696 void Swap(MethodDescriptorProto* other);
1697
1698 // implements Message ----------------------------------------------
1699
New()1700 inline MethodDescriptorProto* New() const { return New(NULL); }
1701
1702 MethodDescriptorProto* New(::google::protobuf::Arena* arena) const;
1703 void CopyFrom(const ::google::protobuf::Message& from);
1704 void MergeFrom(const ::google::protobuf::Message& from);
1705 void CopyFrom(const MethodDescriptorProto& from);
1706 void MergeFrom(const MethodDescriptorProto& from);
1707 void Clear();
1708 bool IsInitialized() const;
1709
1710 int ByteSize() const;
1711 bool MergePartialFromCodedStream(
1712 ::google::protobuf::io::CodedInputStream* input);
1713 void SerializeWithCachedSizes(
1714 ::google::protobuf::io::CodedOutputStream* output) const;
1715 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()1716 int GetCachedSize() const { return _cached_size_; }
1717 private:
1718 void SharedCtor();
1719 void SharedDtor();
1720 void SetCachedSize(int size) const;
1721 void InternalSwap(MethodDescriptorProto* other);
1722 private:
GetArenaNoVirtual()1723 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1724 return _internal_metadata_.arena();
1725 }
MaybeArenaPtr()1726 inline void* MaybeArenaPtr() const {
1727 return _internal_metadata_.raw_arena_ptr();
1728 }
1729 public:
1730
1731 ::google::protobuf::Metadata GetMetadata() const;
1732
1733 // nested types ----------------------------------------------------
1734
1735 // accessors -------------------------------------------------------
1736
1737 // optional string name = 1;
1738 bool has_name() const;
1739 void clear_name();
1740 static const int kNameFieldNumber = 1;
1741 const ::std::string& name() const;
1742 void set_name(const ::std::string& value);
1743 void set_name(const char* value);
1744 void set_name(const char* value, size_t size);
1745 ::std::string* mutable_name();
1746 ::std::string* release_name();
1747 void set_allocated_name(::std::string* name);
1748
1749 // optional string input_type = 2;
1750 bool has_input_type() const;
1751 void clear_input_type();
1752 static const int kInputTypeFieldNumber = 2;
1753 const ::std::string& input_type() const;
1754 void set_input_type(const ::std::string& value);
1755 void set_input_type(const char* value);
1756 void set_input_type(const char* value, size_t size);
1757 ::std::string* mutable_input_type();
1758 ::std::string* release_input_type();
1759 void set_allocated_input_type(::std::string* input_type);
1760
1761 // optional string output_type = 3;
1762 bool has_output_type() const;
1763 void clear_output_type();
1764 static const int kOutputTypeFieldNumber = 3;
1765 const ::std::string& output_type() const;
1766 void set_output_type(const ::std::string& value);
1767 void set_output_type(const char* value);
1768 void set_output_type(const char* value, size_t size);
1769 ::std::string* mutable_output_type();
1770 ::std::string* release_output_type();
1771 void set_allocated_output_type(::std::string* output_type);
1772
1773 // optional .google.protobuf.MethodOptions options = 4;
1774 bool has_options() const;
1775 void clear_options();
1776 static const int kOptionsFieldNumber = 4;
1777 const ::google::protobuf::MethodOptions& options() const;
1778 ::google::protobuf::MethodOptions* mutable_options();
1779 ::google::protobuf::MethodOptions* release_options();
1780 void set_allocated_options(::google::protobuf::MethodOptions* options);
1781
1782 // optional bool client_streaming = 5 [default = false];
1783 bool has_client_streaming() const;
1784 void clear_client_streaming();
1785 static const int kClientStreamingFieldNumber = 5;
1786 bool client_streaming() const;
1787 void set_client_streaming(bool value);
1788
1789 // optional bool server_streaming = 6 [default = false];
1790 bool has_server_streaming() const;
1791 void clear_server_streaming();
1792 static const int kServerStreamingFieldNumber = 6;
1793 bool server_streaming() const;
1794 void set_server_streaming(bool value);
1795
1796 // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto)
1797 private:
1798 inline void set_has_name();
1799 inline void clear_has_name();
1800 inline void set_has_input_type();
1801 inline void clear_has_input_type();
1802 inline void set_has_output_type();
1803 inline void clear_has_output_type();
1804 inline void set_has_options();
1805 inline void clear_has_options();
1806 inline void set_has_client_streaming();
1807 inline void clear_has_client_streaming();
1808 inline void set_has_server_streaming();
1809 inline void clear_has_server_streaming();
1810
1811 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1812 ::google::protobuf::uint32 _has_bits_[1];
1813 mutable int _cached_size_;
1814 ::google::protobuf::internal::ArenaStringPtr name_;
1815 ::google::protobuf::internal::ArenaStringPtr input_type_;
1816 ::google::protobuf::internal::ArenaStringPtr output_type_;
1817 ::google::protobuf::MethodOptions* options_;
1818 bool client_streaming_;
1819 bool server_streaming_;
1820 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
1821 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1822 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1823
1824 void InitAsDefaultInstance();
1825 static MethodDescriptorProto* default_instance_;
1826 };
1827 // -------------------------------------------------------------------
1828
1829 class LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message {
1830 public:
1831 FileOptions();
1832 virtual ~FileOptions();
1833
1834 FileOptions(const FileOptions& from);
1835
1836 inline FileOptions& operator=(const FileOptions& from) {
1837 CopyFrom(from);
1838 return *this;
1839 }
1840
unknown_fields()1841 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1842 return _internal_metadata_.unknown_fields();
1843 }
1844
mutable_unknown_fields()1845 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1846 return _internal_metadata_.mutable_unknown_fields();
1847 }
1848
1849 static const ::google::protobuf::Descriptor* descriptor();
1850 static const FileOptions& default_instance();
1851
1852 void Swap(FileOptions* other);
1853
1854 // implements Message ----------------------------------------------
1855
New()1856 inline FileOptions* New() const { return New(NULL); }
1857
1858 FileOptions* New(::google::protobuf::Arena* arena) const;
1859 void CopyFrom(const ::google::protobuf::Message& from);
1860 void MergeFrom(const ::google::protobuf::Message& from);
1861 void CopyFrom(const FileOptions& from);
1862 void MergeFrom(const FileOptions& from);
1863 void Clear();
1864 bool IsInitialized() const;
1865
1866 int ByteSize() const;
1867 bool MergePartialFromCodedStream(
1868 ::google::protobuf::io::CodedInputStream* input);
1869 void SerializeWithCachedSizes(
1870 ::google::protobuf::io::CodedOutputStream* output) const;
1871 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()1872 int GetCachedSize() const { return _cached_size_; }
1873 private:
1874 void SharedCtor();
1875 void SharedDtor();
1876 void SetCachedSize(int size) const;
1877 void InternalSwap(FileOptions* other);
1878 private:
GetArenaNoVirtual()1879 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1880 return _internal_metadata_.arena();
1881 }
MaybeArenaPtr()1882 inline void* MaybeArenaPtr() const {
1883 return _internal_metadata_.raw_arena_ptr();
1884 }
1885 public:
1886
1887 ::google::protobuf::Metadata GetMetadata() const;
1888
1889 // nested types ----------------------------------------------------
1890
1891 typedef FileOptions_OptimizeMode OptimizeMode;
1892 static const OptimizeMode SPEED =
1893 FileOptions_OptimizeMode_SPEED;
1894 static const OptimizeMode CODE_SIZE =
1895 FileOptions_OptimizeMode_CODE_SIZE;
1896 static const OptimizeMode LITE_RUNTIME =
1897 FileOptions_OptimizeMode_LITE_RUNTIME;
OptimizeMode_IsValid(int value)1898 static inline bool OptimizeMode_IsValid(int value) {
1899 return FileOptions_OptimizeMode_IsValid(value);
1900 }
1901 static const OptimizeMode OptimizeMode_MIN =
1902 FileOptions_OptimizeMode_OptimizeMode_MIN;
1903 static const OptimizeMode OptimizeMode_MAX =
1904 FileOptions_OptimizeMode_OptimizeMode_MAX;
1905 static const int OptimizeMode_ARRAYSIZE =
1906 FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE;
1907 static inline const ::google::protobuf::EnumDescriptor*
OptimizeMode_descriptor()1908 OptimizeMode_descriptor() {
1909 return FileOptions_OptimizeMode_descriptor();
1910 }
OptimizeMode_Name(OptimizeMode value)1911 static inline const ::std::string& OptimizeMode_Name(OptimizeMode value) {
1912 return FileOptions_OptimizeMode_Name(value);
1913 }
OptimizeMode_Parse(const::std::string & name,OptimizeMode * value)1914 static inline bool OptimizeMode_Parse(const ::std::string& name,
1915 OptimizeMode* value) {
1916 return FileOptions_OptimizeMode_Parse(name, value);
1917 }
1918
1919 // accessors -------------------------------------------------------
1920
1921 // optional string java_package = 1;
1922 bool has_java_package() const;
1923 void clear_java_package();
1924 static const int kJavaPackageFieldNumber = 1;
1925 const ::std::string& java_package() const;
1926 void set_java_package(const ::std::string& value);
1927 void set_java_package(const char* value);
1928 void set_java_package(const char* value, size_t size);
1929 ::std::string* mutable_java_package();
1930 ::std::string* release_java_package();
1931 void set_allocated_java_package(::std::string* java_package);
1932
1933 // optional string java_outer_classname = 8;
1934 bool has_java_outer_classname() const;
1935 void clear_java_outer_classname();
1936 static const int kJavaOuterClassnameFieldNumber = 8;
1937 const ::std::string& java_outer_classname() const;
1938 void set_java_outer_classname(const ::std::string& value);
1939 void set_java_outer_classname(const char* value);
1940 void set_java_outer_classname(const char* value, size_t size);
1941 ::std::string* mutable_java_outer_classname();
1942 ::std::string* release_java_outer_classname();
1943 void set_allocated_java_outer_classname(::std::string* java_outer_classname);
1944
1945 // optional bool java_multiple_files = 10 [default = false];
1946 bool has_java_multiple_files() const;
1947 void clear_java_multiple_files();
1948 static const int kJavaMultipleFilesFieldNumber = 10;
1949 bool java_multiple_files() const;
1950 void set_java_multiple_files(bool value);
1951
1952 // optional bool java_generate_equals_and_hash = 20 [default = false];
1953 bool has_java_generate_equals_and_hash() const;
1954 void clear_java_generate_equals_and_hash();
1955 static const int kJavaGenerateEqualsAndHashFieldNumber = 20;
1956 bool java_generate_equals_and_hash() const;
1957 void set_java_generate_equals_and_hash(bool value);
1958
1959 // optional bool java_string_check_utf8 = 27 [default = false];
1960 bool has_java_string_check_utf8() const;
1961 void clear_java_string_check_utf8();
1962 static const int kJavaStringCheckUtf8FieldNumber = 27;
1963 bool java_string_check_utf8() const;
1964 void set_java_string_check_utf8(bool value);
1965
1966 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
1967 bool has_optimize_for() const;
1968 void clear_optimize_for();
1969 static const int kOptimizeForFieldNumber = 9;
1970 ::google::protobuf::FileOptions_OptimizeMode optimize_for() const;
1971 void set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value);
1972
1973 // optional string go_package = 11;
1974 bool has_go_package() const;
1975 void clear_go_package();
1976 static const int kGoPackageFieldNumber = 11;
1977 const ::std::string& go_package() const;
1978 void set_go_package(const ::std::string& value);
1979 void set_go_package(const char* value);
1980 void set_go_package(const char* value, size_t size);
1981 ::std::string* mutable_go_package();
1982 ::std::string* release_go_package();
1983 void set_allocated_go_package(::std::string* go_package);
1984
1985 // optional bool cc_generic_services = 16 [default = false];
1986 bool has_cc_generic_services() const;
1987 void clear_cc_generic_services();
1988 static const int kCcGenericServicesFieldNumber = 16;
1989 bool cc_generic_services() const;
1990 void set_cc_generic_services(bool value);
1991
1992 // optional bool java_generic_services = 17 [default = false];
1993 bool has_java_generic_services() const;
1994 void clear_java_generic_services();
1995 static const int kJavaGenericServicesFieldNumber = 17;
1996 bool java_generic_services() const;
1997 void set_java_generic_services(bool value);
1998
1999 // optional bool py_generic_services = 18 [default = false];
2000 bool has_py_generic_services() const;
2001 void clear_py_generic_services();
2002 static const int kPyGenericServicesFieldNumber = 18;
2003 bool py_generic_services() const;
2004 void set_py_generic_services(bool value);
2005
2006 // optional bool deprecated = 23 [default = false];
2007 bool has_deprecated() const;
2008 void clear_deprecated();
2009 static const int kDeprecatedFieldNumber = 23;
2010 bool deprecated() const;
2011 void set_deprecated(bool value);
2012
2013 // optional bool cc_enable_arenas = 31 [default = false];
2014 bool has_cc_enable_arenas() const;
2015 void clear_cc_enable_arenas();
2016 static const int kCcEnableArenasFieldNumber = 31;
2017 bool cc_enable_arenas() const;
2018 void set_cc_enable_arenas(bool value);
2019
2020 // optional string objc_class_prefix = 36;
2021 bool has_objc_class_prefix() const;
2022 void clear_objc_class_prefix();
2023 static const int kObjcClassPrefixFieldNumber = 36;
2024 const ::std::string& objc_class_prefix() const;
2025 void set_objc_class_prefix(const ::std::string& value);
2026 void set_objc_class_prefix(const char* value);
2027 void set_objc_class_prefix(const char* value, size_t size);
2028 ::std::string* mutable_objc_class_prefix();
2029 ::std::string* release_objc_class_prefix();
2030 void set_allocated_objc_class_prefix(::std::string* objc_class_prefix);
2031
2032 // optional string csharp_namespace = 37;
2033 bool has_csharp_namespace() const;
2034 void clear_csharp_namespace();
2035 static const int kCsharpNamespaceFieldNumber = 37;
2036 const ::std::string& csharp_namespace() const;
2037 void set_csharp_namespace(const ::std::string& value);
2038 void set_csharp_namespace(const char* value);
2039 void set_csharp_namespace(const char* value, size_t size);
2040 ::std::string* mutable_csharp_namespace();
2041 ::std::string* release_csharp_namespace();
2042 void set_allocated_csharp_namespace(::std::string* csharp_namespace);
2043
2044 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2045 int uninterpreted_option_size() const;
2046 void clear_uninterpreted_option();
2047 static const int kUninterpretedOptionFieldNumber = 999;
2048 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2049 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
2050 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2051 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2052 mutable_uninterpreted_option();
2053 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
2054 uninterpreted_option() const;
2055
2056 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions)
2057 // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions)
2058 private:
2059 inline void set_has_java_package();
2060 inline void clear_has_java_package();
2061 inline void set_has_java_outer_classname();
2062 inline void clear_has_java_outer_classname();
2063 inline void set_has_java_multiple_files();
2064 inline void clear_has_java_multiple_files();
2065 inline void set_has_java_generate_equals_and_hash();
2066 inline void clear_has_java_generate_equals_and_hash();
2067 inline void set_has_java_string_check_utf8();
2068 inline void clear_has_java_string_check_utf8();
2069 inline void set_has_optimize_for();
2070 inline void clear_has_optimize_for();
2071 inline void set_has_go_package();
2072 inline void clear_has_go_package();
2073 inline void set_has_cc_generic_services();
2074 inline void clear_has_cc_generic_services();
2075 inline void set_has_java_generic_services();
2076 inline void clear_has_java_generic_services();
2077 inline void set_has_py_generic_services();
2078 inline void clear_has_py_generic_services();
2079 inline void set_has_deprecated();
2080 inline void clear_has_deprecated();
2081 inline void set_has_cc_enable_arenas();
2082 inline void clear_has_cc_enable_arenas();
2083 inline void set_has_objc_class_prefix();
2084 inline void clear_has_objc_class_prefix();
2085 inline void set_has_csharp_namespace();
2086 inline void clear_has_csharp_namespace();
2087
2088 ::google::protobuf::internal::ExtensionSet _extensions_;
2089
2090 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2091 ::google::protobuf::uint32 _has_bits_[1];
2092 mutable int _cached_size_;
2093 ::google::protobuf::internal::ArenaStringPtr java_package_;
2094 ::google::protobuf::internal::ArenaStringPtr java_outer_classname_;
2095 bool java_multiple_files_;
2096 bool java_generate_equals_and_hash_;
2097 bool java_string_check_utf8_;
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_;
2104 bool java_generic_services_;
2105 bool py_generic_services_;
2106 bool deprecated_;
2107 bool cc_enable_arenas_;
2108 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2109 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2110 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2111
2112 void InitAsDefaultInstance();
2113 static FileOptions* default_instance_;
2114 };
2115 // -------------------------------------------------------------------
2116
2117 class LIBPROTOBUF_EXPORT MessageOptions : public ::google::protobuf::Message {
2118 public:
2119 MessageOptions();
2120 virtual ~MessageOptions();
2121
2122 MessageOptions(const MessageOptions& from);
2123
2124 inline MessageOptions& operator=(const MessageOptions& from) {
2125 CopyFrom(from);
2126 return *this;
2127 }
2128
unknown_fields()2129 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2130 return _internal_metadata_.unknown_fields();
2131 }
2132
mutable_unknown_fields()2133 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2134 return _internal_metadata_.mutable_unknown_fields();
2135 }
2136
2137 static const ::google::protobuf::Descriptor* descriptor();
2138 static const MessageOptions& default_instance();
2139
2140 void Swap(MessageOptions* other);
2141
2142 // implements Message ----------------------------------------------
2143
New()2144 inline MessageOptions* New() const { return New(NULL); }
2145
2146 MessageOptions* New(::google::protobuf::Arena* arena) const;
2147 void CopyFrom(const ::google::protobuf::Message& from);
2148 void MergeFrom(const ::google::protobuf::Message& from);
2149 void CopyFrom(const MessageOptions& from);
2150 void MergeFrom(const MessageOptions& from);
2151 void Clear();
2152 bool IsInitialized() const;
2153
2154 int ByteSize() const;
2155 bool MergePartialFromCodedStream(
2156 ::google::protobuf::io::CodedInputStream* input);
2157 void SerializeWithCachedSizes(
2158 ::google::protobuf::io::CodedOutputStream* output) const;
2159 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()2160 int GetCachedSize() const { return _cached_size_; }
2161 private:
2162 void SharedCtor();
2163 void SharedDtor();
2164 void SetCachedSize(int size) const;
2165 void InternalSwap(MessageOptions* other);
2166 private:
GetArenaNoVirtual()2167 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2168 return _internal_metadata_.arena();
2169 }
MaybeArenaPtr()2170 inline void* MaybeArenaPtr() const {
2171 return _internal_metadata_.raw_arena_ptr();
2172 }
2173 public:
2174
2175 ::google::protobuf::Metadata GetMetadata() const;
2176
2177 // nested types ----------------------------------------------------
2178
2179 // accessors -------------------------------------------------------
2180
2181 // optional bool message_set_wire_format = 1 [default = false];
2182 bool has_message_set_wire_format() const;
2183 void clear_message_set_wire_format();
2184 static const int kMessageSetWireFormatFieldNumber = 1;
2185 bool message_set_wire_format() const;
2186 void set_message_set_wire_format(bool value);
2187
2188 // optional bool no_standard_descriptor_accessor = 2 [default = false];
2189 bool has_no_standard_descriptor_accessor() const;
2190 void clear_no_standard_descriptor_accessor();
2191 static const int kNoStandardDescriptorAccessorFieldNumber = 2;
2192 bool no_standard_descriptor_accessor() const;
2193 void set_no_standard_descriptor_accessor(bool value);
2194
2195 // optional bool deprecated = 3 [default = false];
2196 bool has_deprecated() const;
2197 void clear_deprecated();
2198 static const int kDeprecatedFieldNumber = 3;
2199 bool deprecated() const;
2200 void set_deprecated(bool value);
2201
2202 // optional bool map_entry = 7;
2203 bool has_map_entry() const;
2204 void clear_map_entry();
2205 static const int kMapEntryFieldNumber = 7;
2206 bool map_entry() const;
2207 void set_map_entry(bool value);
2208
2209 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2210 int uninterpreted_option_size() const;
2211 void clear_uninterpreted_option();
2212 static const int kUninterpretedOptionFieldNumber = 999;
2213 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2214 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
2215 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2216 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2217 mutable_uninterpreted_option();
2218 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
2219 uninterpreted_option() const;
2220
2221 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions)
2222 // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions)
2223 private:
2224 inline void set_has_message_set_wire_format();
2225 inline void clear_has_message_set_wire_format();
2226 inline void set_has_no_standard_descriptor_accessor();
2227 inline void clear_has_no_standard_descriptor_accessor();
2228 inline void set_has_deprecated();
2229 inline void clear_has_deprecated();
2230 inline void set_has_map_entry();
2231 inline void clear_has_map_entry();
2232
2233 ::google::protobuf::internal::ExtensionSet _extensions_;
2234
2235 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2236 ::google::protobuf::uint32 _has_bits_[1];
2237 mutable int _cached_size_;
2238 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2239 bool message_set_wire_format_;
2240 bool no_standard_descriptor_accessor_;
2241 bool deprecated_;
2242 bool map_entry_;
2243 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2244 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2245 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2246
2247 void InitAsDefaultInstance();
2248 static MessageOptions* default_instance_;
2249 };
2250 // -------------------------------------------------------------------
2251
2252 class LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message {
2253 public:
2254 FieldOptions();
2255 virtual ~FieldOptions();
2256
2257 FieldOptions(const FieldOptions& from);
2258
2259 inline FieldOptions& operator=(const FieldOptions& from) {
2260 CopyFrom(from);
2261 return *this;
2262 }
2263
unknown_fields()2264 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2265 return _internal_metadata_.unknown_fields();
2266 }
2267
mutable_unknown_fields()2268 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2269 return _internal_metadata_.mutable_unknown_fields();
2270 }
2271
2272 static const ::google::protobuf::Descriptor* descriptor();
2273 static const FieldOptions& default_instance();
2274
2275 void Swap(FieldOptions* other);
2276
2277 // implements Message ----------------------------------------------
2278
New()2279 inline FieldOptions* New() const { return New(NULL); }
2280
2281 FieldOptions* New(::google::protobuf::Arena* arena) const;
2282 void CopyFrom(const ::google::protobuf::Message& from);
2283 void MergeFrom(const ::google::protobuf::Message& from);
2284 void CopyFrom(const FieldOptions& from);
2285 void MergeFrom(const FieldOptions& from);
2286 void Clear();
2287 bool IsInitialized() const;
2288
2289 int ByteSize() const;
2290 bool MergePartialFromCodedStream(
2291 ::google::protobuf::io::CodedInputStream* input);
2292 void SerializeWithCachedSizes(
2293 ::google::protobuf::io::CodedOutputStream* output) const;
2294 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()2295 int GetCachedSize() const { return _cached_size_; }
2296 private:
2297 void SharedCtor();
2298 void SharedDtor();
2299 void SetCachedSize(int size) const;
2300 void InternalSwap(FieldOptions* other);
2301 private:
GetArenaNoVirtual()2302 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2303 return _internal_metadata_.arena();
2304 }
MaybeArenaPtr()2305 inline void* MaybeArenaPtr() const {
2306 return _internal_metadata_.raw_arena_ptr();
2307 }
2308 public:
2309
2310 ::google::protobuf::Metadata GetMetadata() const;
2311
2312 // nested types ----------------------------------------------------
2313
2314 typedef FieldOptions_CType CType;
2315 static const CType STRING =
2316 FieldOptions_CType_STRING;
2317 static const CType CORD =
2318 FieldOptions_CType_CORD;
2319 static const CType STRING_PIECE =
2320 FieldOptions_CType_STRING_PIECE;
CType_IsValid(int value)2321 static inline bool CType_IsValid(int value) {
2322 return FieldOptions_CType_IsValid(value);
2323 }
2324 static const CType CType_MIN =
2325 FieldOptions_CType_CType_MIN;
2326 static const CType CType_MAX =
2327 FieldOptions_CType_CType_MAX;
2328 static const int CType_ARRAYSIZE =
2329 FieldOptions_CType_CType_ARRAYSIZE;
2330 static inline const ::google::protobuf::EnumDescriptor*
CType_descriptor()2331 CType_descriptor() {
2332 return FieldOptions_CType_descriptor();
2333 }
CType_Name(CType value)2334 static inline const ::std::string& CType_Name(CType value) {
2335 return FieldOptions_CType_Name(value);
2336 }
CType_Parse(const::std::string & name,CType * value)2337 static inline bool CType_Parse(const ::std::string& name,
2338 CType* value) {
2339 return FieldOptions_CType_Parse(name, value);
2340 }
2341
2342 typedef FieldOptions_JSType JSType;
2343 static const JSType JS_NORMAL =
2344 FieldOptions_JSType_JS_NORMAL;
2345 static const JSType JS_STRING =
2346 FieldOptions_JSType_JS_STRING;
2347 static const JSType JS_NUMBER =
2348 FieldOptions_JSType_JS_NUMBER;
JSType_IsValid(int value)2349 static inline bool JSType_IsValid(int value) {
2350 return FieldOptions_JSType_IsValid(value);
2351 }
2352 static const JSType JSType_MIN =
2353 FieldOptions_JSType_JSType_MIN;
2354 static const JSType JSType_MAX =
2355 FieldOptions_JSType_JSType_MAX;
2356 static const int JSType_ARRAYSIZE =
2357 FieldOptions_JSType_JSType_ARRAYSIZE;
2358 static inline const ::google::protobuf::EnumDescriptor*
JSType_descriptor()2359 JSType_descriptor() {
2360 return FieldOptions_JSType_descriptor();
2361 }
JSType_Name(JSType value)2362 static inline const ::std::string& JSType_Name(JSType value) {
2363 return FieldOptions_JSType_Name(value);
2364 }
JSType_Parse(const::std::string & name,JSType * value)2365 static inline bool JSType_Parse(const ::std::string& name,
2366 JSType* value) {
2367 return FieldOptions_JSType_Parse(name, value);
2368 }
2369
2370 // accessors -------------------------------------------------------
2371
2372 // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
2373 bool has_ctype() const;
2374 void clear_ctype();
2375 static const int kCtypeFieldNumber = 1;
2376 ::google::protobuf::FieldOptions_CType ctype() const;
2377 void set_ctype(::google::protobuf::FieldOptions_CType value);
2378
2379 // optional bool packed = 2;
2380 bool has_packed() const;
2381 void clear_packed();
2382 static const int kPackedFieldNumber = 2;
2383 bool packed() const;
2384 void set_packed(bool value);
2385
2386 // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
2387 bool has_jstype() const;
2388 void clear_jstype();
2389 static const int kJstypeFieldNumber = 6;
2390 ::google::protobuf::FieldOptions_JSType jstype() const;
2391 void set_jstype(::google::protobuf::FieldOptions_JSType value);
2392
2393 // optional bool lazy = 5 [default = false];
2394 bool has_lazy() const;
2395 void clear_lazy();
2396 static const int kLazyFieldNumber = 5;
2397 bool lazy() const;
2398 void set_lazy(bool value);
2399
2400 // optional bool deprecated = 3 [default = false];
2401 bool has_deprecated() const;
2402 void clear_deprecated();
2403 static const int kDeprecatedFieldNumber = 3;
2404 bool deprecated() const;
2405 void set_deprecated(bool value);
2406
2407 // optional bool weak = 10 [default = false];
2408 bool has_weak() const;
2409 void clear_weak();
2410 static const int kWeakFieldNumber = 10;
2411 bool weak() const;
2412 void set_weak(bool value);
2413
2414 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2415 int uninterpreted_option_size() const;
2416 void clear_uninterpreted_option();
2417 static const int kUninterpretedOptionFieldNumber = 999;
2418 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2419 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
2420 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2421 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2422 mutable_uninterpreted_option();
2423 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
2424 uninterpreted_option() const;
2425
2426 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions)
2427 // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions)
2428 private:
2429 inline void set_has_ctype();
2430 inline void clear_has_ctype();
2431 inline void set_has_packed();
2432 inline void clear_has_packed();
2433 inline void set_has_jstype();
2434 inline void clear_has_jstype();
2435 inline void set_has_lazy();
2436 inline void clear_has_lazy();
2437 inline void set_has_deprecated();
2438 inline void clear_has_deprecated();
2439 inline void set_has_weak();
2440 inline void clear_has_weak();
2441
2442 ::google::protobuf::internal::ExtensionSet _extensions_;
2443
2444 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2445 ::google::protobuf::uint32 _has_bits_[1];
2446 mutable int _cached_size_;
2447 int ctype_;
2448 int jstype_;
2449 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2450 bool packed_;
2451 bool lazy_;
2452 bool deprecated_;
2453 bool weak_;
2454 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2455 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2456 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2457
2458 void InitAsDefaultInstance();
2459 static FieldOptions* default_instance_;
2460 };
2461 // -------------------------------------------------------------------
2462
2463 class LIBPROTOBUF_EXPORT EnumOptions : public ::google::protobuf::Message {
2464 public:
2465 EnumOptions();
2466 virtual ~EnumOptions();
2467
2468 EnumOptions(const EnumOptions& from);
2469
2470 inline EnumOptions& operator=(const EnumOptions& from) {
2471 CopyFrom(from);
2472 return *this;
2473 }
2474
unknown_fields()2475 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2476 return _internal_metadata_.unknown_fields();
2477 }
2478
mutable_unknown_fields()2479 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2480 return _internal_metadata_.mutable_unknown_fields();
2481 }
2482
2483 static const ::google::protobuf::Descriptor* descriptor();
2484 static const EnumOptions& default_instance();
2485
2486 void Swap(EnumOptions* other);
2487
2488 // implements Message ----------------------------------------------
2489
New()2490 inline EnumOptions* New() const { return New(NULL); }
2491
2492 EnumOptions* New(::google::protobuf::Arena* arena) const;
2493 void CopyFrom(const ::google::protobuf::Message& from);
2494 void MergeFrom(const ::google::protobuf::Message& from);
2495 void CopyFrom(const EnumOptions& from);
2496 void MergeFrom(const EnumOptions& from);
2497 void Clear();
2498 bool IsInitialized() const;
2499
2500 int ByteSize() const;
2501 bool MergePartialFromCodedStream(
2502 ::google::protobuf::io::CodedInputStream* input);
2503 void SerializeWithCachedSizes(
2504 ::google::protobuf::io::CodedOutputStream* output) const;
2505 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()2506 int GetCachedSize() const { return _cached_size_; }
2507 private:
2508 void SharedCtor();
2509 void SharedDtor();
2510 void SetCachedSize(int size) const;
2511 void InternalSwap(EnumOptions* other);
2512 private:
GetArenaNoVirtual()2513 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2514 return _internal_metadata_.arena();
2515 }
MaybeArenaPtr()2516 inline void* MaybeArenaPtr() const {
2517 return _internal_metadata_.raw_arena_ptr();
2518 }
2519 public:
2520
2521 ::google::protobuf::Metadata GetMetadata() const;
2522
2523 // nested types ----------------------------------------------------
2524
2525 // accessors -------------------------------------------------------
2526
2527 // optional bool allow_alias = 2;
2528 bool has_allow_alias() const;
2529 void clear_allow_alias();
2530 static const int kAllowAliasFieldNumber = 2;
2531 bool allow_alias() const;
2532 void set_allow_alias(bool value);
2533
2534 // optional bool deprecated = 3 [default = false];
2535 bool has_deprecated() const;
2536 void clear_deprecated();
2537 static const int kDeprecatedFieldNumber = 3;
2538 bool deprecated() const;
2539 void set_deprecated(bool value);
2540
2541 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2542 int uninterpreted_option_size() const;
2543 void clear_uninterpreted_option();
2544 static const int kUninterpretedOptionFieldNumber = 999;
2545 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2546 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
2547 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2548 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2549 mutable_uninterpreted_option();
2550 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
2551 uninterpreted_option() const;
2552
2553 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions)
2554 // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions)
2555 private:
2556 inline void set_has_allow_alias();
2557 inline void clear_has_allow_alias();
2558 inline void set_has_deprecated();
2559 inline void clear_has_deprecated();
2560
2561 ::google::protobuf::internal::ExtensionSet _extensions_;
2562
2563 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2564 ::google::protobuf::uint32 _has_bits_[1];
2565 mutable int _cached_size_;
2566 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2567 bool allow_alias_;
2568 bool deprecated_;
2569 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2570 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2571 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2572
2573 void InitAsDefaultInstance();
2574 static EnumOptions* default_instance_;
2575 };
2576 // -------------------------------------------------------------------
2577
2578 class LIBPROTOBUF_EXPORT EnumValueOptions : public ::google::protobuf::Message {
2579 public:
2580 EnumValueOptions();
2581 virtual ~EnumValueOptions();
2582
2583 EnumValueOptions(const EnumValueOptions& from);
2584
2585 inline EnumValueOptions& operator=(const EnumValueOptions& from) {
2586 CopyFrom(from);
2587 return *this;
2588 }
2589
unknown_fields()2590 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2591 return _internal_metadata_.unknown_fields();
2592 }
2593
mutable_unknown_fields()2594 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2595 return _internal_metadata_.mutable_unknown_fields();
2596 }
2597
2598 static const ::google::protobuf::Descriptor* descriptor();
2599 static const EnumValueOptions& default_instance();
2600
2601 void Swap(EnumValueOptions* other);
2602
2603 // implements Message ----------------------------------------------
2604
New()2605 inline EnumValueOptions* New() const { return New(NULL); }
2606
2607 EnumValueOptions* New(::google::protobuf::Arena* arena) const;
2608 void CopyFrom(const ::google::protobuf::Message& from);
2609 void MergeFrom(const ::google::protobuf::Message& from);
2610 void CopyFrom(const EnumValueOptions& from);
2611 void MergeFrom(const EnumValueOptions& from);
2612 void Clear();
2613 bool IsInitialized() const;
2614
2615 int ByteSize() const;
2616 bool MergePartialFromCodedStream(
2617 ::google::protobuf::io::CodedInputStream* input);
2618 void SerializeWithCachedSizes(
2619 ::google::protobuf::io::CodedOutputStream* output) const;
2620 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()2621 int GetCachedSize() const { return _cached_size_; }
2622 private:
2623 void SharedCtor();
2624 void SharedDtor();
2625 void SetCachedSize(int size) const;
2626 void InternalSwap(EnumValueOptions* other);
2627 private:
GetArenaNoVirtual()2628 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2629 return _internal_metadata_.arena();
2630 }
MaybeArenaPtr()2631 inline void* MaybeArenaPtr() const {
2632 return _internal_metadata_.raw_arena_ptr();
2633 }
2634 public:
2635
2636 ::google::protobuf::Metadata GetMetadata() const;
2637
2638 // nested types ----------------------------------------------------
2639
2640 // accessors -------------------------------------------------------
2641
2642 // optional bool deprecated = 1 [default = false];
2643 bool has_deprecated() const;
2644 void clear_deprecated();
2645 static const int kDeprecatedFieldNumber = 1;
2646 bool deprecated() const;
2647 void set_deprecated(bool value);
2648
2649 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2650 int uninterpreted_option_size() const;
2651 void clear_uninterpreted_option();
2652 static const int kUninterpretedOptionFieldNumber = 999;
2653 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2654 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
2655 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2656 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2657 mutable_uninterpreted_option();
2658 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
2659 uninterpreted_option() const;
2660
2661 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions)
2662 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions)
2663 private:
2664 inline void set_has_deprecated();
2665 inline void clear_has_deprecated();
2666
2667 ::google::protobuf::internal::ExtensionSet _extensions_;
2668
2669 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2670 ::google::protobuf::uint32 _has_bits_[1];
2671 mutable int _cached_size_;
2672 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2673 bool deprecated_;
2674 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2675 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2676 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2677
2678 void InitAsDefaultInstance();
2679 static EnumValueOptions* default_instance_;
2680 };
2681 // -------------------------------------------------------------------
2682
2683 class LIBPROTOBUF_EXPORT ServiceOptions : public ::google::protobuf::Message {
2684 public:
2685 ServiceOptions();
2686 virtual ~ServiceOptions();
2687
2688 ServiceOptions(const ServiceOptions& from);
2689
2690 inline ServiceOptions& operator=(const ServiceOptions& from) {
2691 CopyFrom(from);
2692 return *this;
2693 }
2694
unknown_fields()2695 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2696 return _internal_metadata_.unknown_fields();
2697 }
2698
mutable_unknown_fields()2699 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2700 return _internal_metadata_.mutable_unknown_fields();
2701 }
2702
2703 static const ::google::protobuf::Descriptor* descriptor();
2704 static const ServiceOptions& default_instance();
2705
2706 void Swap(ServiceOptions* other);
2707
2708 // implements Message ----------------------------------------------
2709
New()2710 inline ServiceOptions* New() const { return New(NULL); }
2711
2712 ServiceOptions* New(::google::protobuf::Arena* arena) const;
2713 void CopyFrom(const ::google::protobuf::Message& from);
2714 void MergeFrom(const ::google::protobuf::Message& from);
2715 void CopyFrom(const ServiceOptions& from);
2716 void MergeFrom(const ServiceOptions& from);
2717 void Clear();
2718 bool IsInitialized() const;
2719
2720 int ByteSize() const;
2721 bool MergePartialFromCodedStream(
2722 ::google::protobuf::io::CodedInputStream* input);
2723 void SerializeWithCachedSizes(
2724 ::google::protobuf::io::CodedOutputStream* output) const;
2725 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()2726 int GetCachedSize() const { return _cached_size_; }
2727 private:
2728 void SharedCtor();
2729 void SharedDtor();
2730 void SetCachedSize(int size) const;
2731 void InternalSwap(ServiceOptions* other);
2732 private:
GetArenaNoVirtual()2733 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2734 return _internal_metadata_.arena();
2735 }
MaybeArenaPtr()2736 inline void* MaybeArenaPtr() const {
2737 return _internal_metadata_.raw_arena_ptr();
2738 }
2739 public:
2740
2741 ::google::protobuf::Metadata GetMetadata() const;
2742
2743 // nested types ----------------------------------------------------
2744
2745 // accessors -------------------------------------------------------
2746
2747 // optional bool deprecated = 33 [default = false];
2748 bool has_deprecated() const;
2749 void clear_deprecated();
2750 static const int kDeprecatedFieldNumber = 33;
2751 bool deprecated() const;
2752 void set_deprecated(bool value);
2753
2754 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2755 int uninterpreted_option_size() const;
2756 void clear_uninterpreted_option();
2757 static const int kUninterpretedOptionFieldNumber = 999;
2758 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2759 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
2760 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2761 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2762 mutable_uninterpreted_option();
2763 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
2764 uninterpreted_option() const;
2765
2766 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions)
2767 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions)
2768 private:
2769 inline void set_has_deprecated();
2770 inline void clear_has_deprecated();
2771
2772 ::google::protobuf::internal::ExtensionSet _extensions_;
2773
2774 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2775 ::google::protobuf::uint32 _has_bits_[1];
2776 mutable int _cached_size_;
2777 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2778 bool deprecated_;
2779 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2780 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2781 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2782
2783 void InitAsDefaultInstance();
2784 static ServiceOptions* default_instance_;
2785 };
2786 // -------------------------------------------------------------------
2787
2788 class LIBPROTOBUF_EXPORT MethodOptions : public ::google::protobuf::Message {
2789 public:
2790 MethodOptions();
2791 virtual ~MethodOptions();
2792
2793 MethodOptions(const MethodOptions& from);
2794
2795 inline MethodOptions& operator=(const MethodOptions& from) {
2796 CopyFrom(from);
2797 return *this;
2798 }
2799
unknown_fields()2800 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2801 return _internal_metadata_.unknown_fields();
2802 }
2803
mutable_unknown_fields()2804 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2805 return _internal_metadata_.mutable_unknown_fields();
2806 }
2807
2808 static const ::google::protobuf::Descriptor* descriptor();
2809 static const MethodOptions& default_instance();
2810
2811 void Swap(MethodOptions* other);
2812
2813 // implements Message ----------------------------------------------
2814
New()2815 inline MethodOptions* New() const { return New(NULL); }
2816
2817 MethodOptions* New(::google::protobuf::Arena* arena) const;
2818 void CopyFrom(const ::google::protobuf::Message& from);
2819 void MergeFrom(const ::google::protobuf::Message& from);
2820 void CopyFrom(const MethodOptions& from);
2821 void MergeFrom(const MethodOptions& from);
2822 void Clear();
2823 bool IsInitialized() const;
2824
2825 int ByteSize() const;
2826 bool MergePartialFromCodedStream(
2827 ::google::protobuf::io::CodedInputStream* input);
2828 void SerializeWithCachedSizes(
2829 ::google::protobuf::io::CodedOutputStream* output) const;
2830 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()2831 int GetCachedSize() const { return _cached_size_; }
2832 private:
2833 void SharedCtor();
2834 void SharedDtor();
2835 void SetCachedSize(int size) const;
2836 void InternalSwap(MethodOptions* other);
2837 private:
GetArenaNoVirtual()2838 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2839 return _internal_metadata_.arena();
2840 }
MaybeArenaPtr()2841 inline void* MaybeArenaPtr() const {
2842 return _internal_metadata_.raw_arena_ptr();
2843 }
2844 public:
2845
2846 ::google::protobuf::Metadata GetMetadata() const;
2847
2848 // nested types ----------------------------------------------------
2849
2850 // accessors -------------------------------------------------------
2851
2852 // optional bool deprecated = 33 [default = false];
2853 bool has_deprecated() const;
2854 void clear_deprecated();
2855 static const int kDeprecatedFieldNumber = 33;
2856 bool deprecated() const;
2857 void set_deprecated(bool value);
2858
2859 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2860 int uninterpreted_option_size() const;
2861 void clear_uninterpreted_option();
2862 static const int kUninterpretedOptionFieldNumber = 999;
2863 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2864 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
2865 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2866 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2867 mutable_uninterpreted_option();
2868 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
2869 uninterpreted_option() const;
2870
2871 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions)
2872 // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions)
2873 private:
2874 inline void set_has_deprecated();
2875 inline void clear_has_deprecated();
2876
2877 ::google::protobuf::internal::ExtensionSet _extensions_;
2878
2879 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2880 ::google::protobuf::uint32 _has_bits_[1];
2881 mutable int _cached_size_;
2882 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2883 bool deprecated_;
2884 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2885 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2886 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2887
2888 void InitAsDefaultInstance();
2889 static MethodOptions* default_instance_;
2890 };
2891 // -------------------------------------------------------------------
2892
2893 class LIBPROTOBUF_EXPORT UninterpretedOption_NamePart : public ::google::protobuf::Message {
2894 public:
2895 UninterpretedOption_NamePart();
2896 virtual ~UninterpretedOption_NamePart();
2897
2898 UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from);
2899
2900 inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NamePart& from) {
2901 CopyFrom(from);
2902 return *this;
2903 }
2904
unknown_fields()2905 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2906 return _internal_metadata_.unknown_fields();
2907 }
2908
mutable_unknown_fields()2909 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2910 return _internal_metadata_.mutable_unknown_fields();
2911 }
2912
2913 static const ::google::protobuf::Descriptor* descriptor();
2914 static const UninterpretedOption_NamePart& default_instance();
2915
2916 void Swap(UninterpretedOption_NamePart* other);
2917
2918 // implements Message ----------------------------------------------
2919
New()2920 inline UninterpretedOption_NamePart* New() const { return New(NULL); }
2921
2922 UninterpretedOption_NamePart* New(::google::protobuf::Arena* arena) const;
2923 void CopyFrom(const ::google::protobuf::Message& from);
2924 void MergeFrom(const ::google::protobuf::Message& from);
2925 void CopyFrom(const UninterpretedOption_NamePart& from);
2926 void MergeFrom(const UninterpretedOption_NamePart& from);
2927 void Clear();
2928 bool IsInitialized() const;
2929
2930 int ByteSize() const;
2931 bool MergePartialFromCodedStream(
2932 ::google::protobuf::io::CodedInputStream* input);
2933 void SerializeWithCachedSizes(
2934 ::google::protobuf::io::CodedOutputStream* output) const;
2935 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()2936 int GetCachedSize() const { return _cached_size_; }
2937 private:
2938 void SharedCtor();
2939 void SharedDtor();
2940 void SetCachedSize(int size) const;
2941 void InternalSwap(UninterpretedOption_NamePart* other);
2942 private:
GetArenaNoVirtual()2943 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2944 return _internal_metadata_.arena();
2945 }
MaybeArenaPtr()2946 inline void* MaybeArenaPtr() const {
2947 return _internal_metadata_.raw_arena_ptr();
2948 }
2949 public:
2950
2951 ::google::protobuf::Metadata GetMetadata() const;
2952
2953 // nested types ----------------------------------------------------
2954
2955 // accessors -------------------------------------------------------
2956
2957 // required string name_part = 1;
2958 bool has_name_part() const;
2959 void clear_name_part();
2960 static const int kNamePartFieldNumber = 1;
2961 const ::std::string& name_part() const;
2962 void set_name_part(const ::std::string& value);
2963 void set_name_part(const char* value);
2964 void set_name_part(const char* value, size_t size);
2965 ::std::string* mutable_name_part();
2966 ::std::string* release_name_part();
2967 void set_allocated_name_part(::std::string* name_part);
2968
2969 // required bool is_extension = 2;
2970 bool has_is_extension() const;
2971 void clear_is_extension();
2972 static const int kIsExtensionFieldNumber = 2;
2973 bool is_extension() const;
2974 void set_is_extension(bool value);
2975
2976 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart)
2977 private:
2978 inline void set_has_name_part();
2979 inline void clear_has_name_part();
2980 inline void set_has_is_extension();
2981 inline void clear_has_is_extension();
2982
2983 // helper for ByteSize()
2984 int RequiredFieldsByteSizeFallback() const;
2985
2986 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2987 ::google::protobuf::uint32 _has_bits_[1];
2988 mutable int _cached_size_;
2989 ::google::protobuf::internal::ArenaStringPtr name_part_;
2990 bool is_extension_;
2991 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2992 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2993 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2994
2995 void InitAsDefaultInstance();
2996 static UninterpretedOption_NamePart* default_instance_;
2997 };
2998 // -------------------------------------------------------------------
2999
3000 class LIBPROTOBUF_EXPORT UninterpretedOption : public ::google::protobuf::Message {
3001 public:
3002 UninterpretedOption();
3003 virtual ~UninterpretedOption();
3004
3005 UninterpretedOption(const UninterpretedOption& from);
3006
3007 inline UninterpretedOption& operator=(const UninterpretedOption& from) {
3008 CopyFrom(from);
3009 return *this;
3010 }
3011
unknown_fields()3012 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3013 return _internal_metadata_.unknown_fields();
3014 }
3015
mutable_unknown_fields()3016 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3017 return _internal_metadata_.mutable_unknown_fields();
3018 }
3019
3020 static const ::google::protobuf::Descriptor* descriptor();
3021 static const UninterpretedOption& default_instance();
3022
3023 void Swap(UninterpretedOption* other);
3024
3025 // implements Message ----------------------------------------------
3026
New()3027 inline UninterpretedOption* New() const { return New(NULL); }
3028
3029 UninterpretedOption* New(::google::protobuf::Arena* arena) const;
3030 void CopyFrom(const ::google::protobuf::Message& from);
3031 void MergeFrom(const ::google::protobuf::Message& from);
3032 void CopyFrom(const UninterpretedOption& from);
3033 void MergeFrom(const UninterpretedOption& from);
3034 void Clear();
3035 bool IsInitialized() const;
3036
3037 int ByteSize() const;
3038 bool MergePartialFromCodedStream(
3039 ::google::protobuf::io::CodedInputStream* input);
3040 void SerializeWithCachedSizes(
3041 ::google::protobuf::io::CodedOutputStream* output) const;
3042 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()3043 int GetCachedSize() const { return _cached_size_; }
3044 private:
3045 void SharedCtor();
3046 void SharedDtor();
3047 void SetCachedSize(int size) const;
3048 void InternalSwap(UninterpretedOption* other);
3049 private:
GetArenaNoVirtual()3050 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3051 return _internal_metadata_.arena();
3052 }
MaybeArenaPtr()3053 inline void* MaybeArenaPtr() const {
3054 return _internal_metadata_.raw_arena_ptr();
3055 }
3056 public:
3057
3058 ::google::protobuf::Metadata GetMetadata() const;
3059
3060 // nested types ----------------------------------------------------
3061
3062 typedef UninterpretedOption_NamePart NamePart;
3063
3064 // accessors -------------------------------------------------------
3065
3066 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
3067 int name_size() const;
3068 void clear_name();
3069 static const int kNameFieldNumber = 2;
3070 const ::google::protobuf::UninterpretedOption_NamePart& name(int index) const;
3071 ::google::protobuf::UninterpretedOption_NamePart* mutable_name(int index);
3072 ::google::protobuf::UninterpretedOption_NamePart* add_name();
3073 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >*
3074 mutable_name();
3075 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >&
3076 name() const;
3077
3078 // optional string identifier_value = 3;
3079 bool has_identifier_value() const;
3080 void clear_identifier_value();
3081 static const int kIdentifierValueFieldNumber = 3;
3082 const ::std::string& identifier_value() const;
3083 void set_identifier_value(const ::std::string& value);
3084 void set_identifier_value(const char* value);
3085 void set_identifier_value(const char* value, size_t size);
3086 ::std::string* mutable_identifier_value();
3087 ::std::string* release_identifier_value();
3088 void set_allocated_identifier_value(::std::string* identifier_value);
3089
3090 // optional uint64 positive_int_value = 4;
3091 bool has_positive_int_value() const;
3092 void clear_positive_int_value();
3093 static const int kPositiveIntValueFieldNumber = 4;
3094 ::google::protobuf::uint64 positive_int_value() const;
3095 void set_positive_int_value(::google::protobuf::uint64 value);
3096
3097 // optional int64 negative_int_value = 5;
3098 bool has_negative_int_value() const;
3099 void clear_negative_int_value();
3100 static const int kNegativeIntValueFieldNumber = 5;
3101 ::google::protobuf::int64 negative_int_value() const;
3102 void set_negative_int_value(::google::protobuf::int64 value);
3103
3104 // optional double double_value = 6;
3105 bool has_double_value() const;
3106 void clear_double_value();
3107 static const int kDoubleValueFieldNumber = 6;
3108 double double_value() const;
3109 void set_double_value(double value);
3110
3111 // optional bytes string_value = 7;
3112 bool has_string_value() const;
3113 void clear_string_value();
3114 static const int kStringValueFieldNumber = 7;
3115 const ::std::string& string_value() const;
3116 void set_string_value(const ::std::string& value);
3117 void set_string_value(const char* value);
3118 void set_string_value(const void* value, size_t size);
3119 ::std::string* mutable_string_value();
3120 ::std::string* release_string_value();
3121 void set_allocated_string_value(::std::string* string_value);
3122
3123 // optional string aggregate_value = 8;
3124 bool has_aggregate_value() const;
3125 void clear_aggregate_value();
3126 static const int kAggregateValueFieldNumber = 8;
3127 const ::std::string& aggregate_value() const;
3128 void set_aggregate_value(const ::std::string& value);
3129 void set_aggregate_value(const char* value);
3130 void set_aggregate_value(const char* value, size_t size);
3131 ::std::string* mutable_aggregate_value();
3132 ::std::string* release_aggregate_value();
3133 void set_allocated_aggregate_value(::std::string* aggregate_value);
3134
3135 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption)
3136 private:
3137 inline void set_has_identifier_value();
3138 inline void clear_has_identifier_value();
3139 inline void set_has_positive_int_value();
3140 inline void clear_has_positive_int_value();
3141 inline void set_has_negative_int_value();
3142 inline void clear_has_negative_int_value();
3143 inline void set_has_double_value();
3144 inline void clear_has_double_value();
3145 inline void set_has_string_value();
3146 inline void clear_has_string_value();
3147 inline void set_has_aggregate_value();
3148 inline void clear_has_aggregate_value();
3149
3150 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3151 ::google::protobuf::uint32 _has_bits_[1];
3152 mutable int _cached_size_;
3153 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart > name_;
3154 ::google::protobuf::internal::ArenaStringPtr identifier_value_;
3155 ::google::protobuf::uint64 positive_int_value_;
3156 ::google::protobuf::int64 negative_int_value_;
3157 double double_value_;
3158 ::google::protobuf::internal::ArenaStringPtr string_value_;
3159 ::google::protobuf::internal::ArenaStringPtr aggregate_value_;
3160 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
3161 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
3162 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3163
3164 void InitAsDefaultInstance();
3165 static UninterpretedOption* default_instance_;
3166 };
3167 // -------------------------------------------------------------------
3168
3169 class LIBPROTOBUF_EXPORT SourceCodeInfo_Location : public ::google::protobuf::Message {
3170 public:
3171 SourceCodeInfo_Location();
3172 virtual ~SourceCodeInfo_Location();
3173
3174 SourceCodeInfo_Location(const SourceCodeInfo_Location& from);
3175
3176 inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) {
3177 CopyFrom(from);
3178 return *this;
3179 }
3180
unknown_fields()3181 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3182 return _internal_metadata_.unknown_fields();
3183 }
3184
mutable_unknown_fields()3185 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3186 return _internal_metadata_.mutable_unknown_fields();
3187 }
3188
3189 static const ::google::protobuf::Descriptor* descriptor();
3190 static const SourceCodeInfo_Location& default_instance();
3191
3192 void Swap(SourceCodeInfo_Location* other);
3193
3194 // implements Message ----------------------------------------------
3195
New()3196 inline SourceCodeInfo_Location* New() const { return New(NULL); }
3197
3198 SourceCodeInfo_Location* New(::google::protobuf::Arena* arena) const;
3199 void CopyFrom(const ::google::protobuf::Message& from);
3200 void MergeFrom(const ::google::protobuf::Message& from);
3201 void CopyFrom(const SourceCodeInfo_Location& from);
3202 void MergeFrom(const SourceCodeInfo_Location& from);
3203 void Clear();
3204 bool IsInitialized() const;
3205
3206 int ByteSize() const;
3207 bool MergePartialFromCodedStream(
3208 ::google::protobuf::io::CodedInputStream* input);
3209 void SerializeWithCachedSizes(
3210 ::google::protobuf::io::CodedOutputStream* output) const;
3211 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()3212 int GetCachedSize() const { return _cached_size_; }
3213 private:
3214 void SharedCtor();
3215 void SharedDtor();
3216 void SetCachedSize(int size) const;
3217 void InternalSwap(SourceCodeInfo_Location* other);
3218 private:
GetArenaNoVirtual()3219 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3220 return _internal_metadata_.arena();
3221 }
MaybeArenaPtr()3222 inline void* MaybeArenaPtr() const {
3223 return _internal_metadata_.raw_arena_ptr();
3224 }
3225 public:
3226
3227 ::google::protobuf::Metadata GetMetadata() const;
3228
3229 // nested types ----------------------------------------------------
3230
3231 // accessors -------------------------------------------------------
3232
3233 // repeated int32 path = 1 [packed = true];
3234 int path_size() const;
3235 void clear_path();
3236 static const int kPathFieldNumber = 1;
3237 ::google::protobuf::int32 path(int index) const;
3238 void set_path(int index, ::google::protobuf::int32 value);
3239 void add_path(::google::protobuf::int32 value);
3240 const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
3241 path() const;
3242 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
3243 mutable_path();
3244
3245 // repeated int32 span = 2 [packed = true];
3246 int span_size() const;
3247 void clear_span();
3248 static const int kSpanFieldNumber = 2;
3249 ::google::protobuf::int32 span(int index) const;
3250 void set_span(int index, ::google::protobuf::int32 value);
3251 void add_span(::google::protobuf::int32 value);
3252 const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
3253 span() const;
3254 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
3255 mutable_span();
3256
3257 // optional string leading_comments = 3;
3258 bool has_leading_comments() const;
3259 void clear_leading_comments();
3260 static const int kLeadingCommentsFieldNumber = 3;
3261 const ::std::string& leading_comments() const;
3262 void set_leading_comments(const ::std::string& value);
3263 void set_leading_comments(const char* value);
3264 void set_leading_comments(const char* value, size_t size);
3265 ::std::string* mutable_leading_comments();
3266 ::std::string* release_leading_comments();
3267 void set_allocated_leading_comments(::std::string* leading_comments);
3268
3269 // optional string trailing_comments = 4;
3270 bool has_trailing_comments() const;
3271 void clear_trailing_comments();
3272 static const int kTrailingCommentsFieldNumber = 4;
3273 const ::std::string& trailing_comments() const;
3274 void set_trailing_comments(const ::std::string& value);
3275 void set_trailing_comments(const char* value);
3276 void set_trailing_comments(const char* value, size_t size);
3277 ::std::string* mutable_trailing_comments();
3278 ::std::string* release_trailing_comments();
3279 void set_allocated_trailing_comments(::std::string* trailing_comments);
3280
3281 // repeated string leading_detached_comments = 6;
3282 int leading_detached_comments_size() const;
3283 void clear_leading_detached_comments();
3284 static const int kLeadingDetachedCommentsFieldNumber = 6;
3285 const ::std::string& leading_detached_comments(int index) const;
3286 ::std::string* mutable_leading_detached_comments(int index);
3287 void set_leading_detached_comments(int index, const ::std::string& value);
3288 void set_leading_detached_comments(int index, const char* value);
3289 void set_leading_detached_comments(int index, const char* value, size_t size);
3290 ::std::string* add_leading_detached_comments();
3291 void add_leading_detached_comments(const ::std::string& value);
3292 void add_leading_detached_comments(const char* value);
3293 void add_leading_detached_comments(const char* value, size_t size);
3294 const ::google::protobuf::RepeatedPtrField< ::std::string>& leading_detached_comments() const;
3295 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_leading_detached_comments();
3296
3297 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location)
3298 private:
3299 inline void set_has_leading_comments();
3300 inline void clear_has_leading_comments();
3301 inline void set_has_trailing_comments();
3302 inline void clear_has_trailing_comments();
3303
3304 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3305 ::google::protobuf::uint32 _has_bits_[1];
3306 mutable int _cached_size_;
3307 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_;
3308 mutable int _path_cached_byte_size_;
3309 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > span_;
3310 mutable int _span_cached_byte_size_;
3311 ::google::protobuf::internal::ArenaStringPtr leading_comments_;
3312 ::google::protobuf::internal::ArenaStringPtr trailing_comments_;
3313 ::google::protobuf::RepeatedPtrField< ::std::string> leading_detached_comments_;
3314 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
3315 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
3316 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3317
3318 void InitAsDefaultInstance();
3319 static SourceCodeInfo_Location* default_instance_;
3320 };
3321 // -------------------------------------------------------------------
3322
3323 class LIBPROTOBUF_EXPORT SourceCodeInfo : public ::google::protobuf::Message {
3324 public:
3325 SourceCodeInfo();
3326 virtual ~SourceCodeInfo();
3327
3328 SourceCodeInfo(const SourceCodeInfo& from);
3329
3330 inline SourceCodeInfo& operator=(const SourceCodeInfo& from) {
3331 CopyFrom(from);
3332 return *this;
3333 }
3334
unknown_fields()3335 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3336 return _internal_metadata_.unknown_fields();
3337 }
3338
mutable_unknown_fields()3339 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3340 return _internal_metadata_.mutable_unknown_fields();
3341 }
3342
3343 static const ::google::protobuf::Descriptor* descriptor();
3344 static const SourceCodeInfo& default_instance();
3345
3346 void Swap(SourceCodeInfo* other);
3347
3348 // implements Message ----------------------------------------------
3349
New()3350 inline SourceCodeInfo* New() const { return New(NULL); }
3351
3352 SourceCodeInfo* New(::google::protobuf::Arena* arena) const;
3353 void CopyFrom(const ::google::protobuf::Message& from);
3354 void MergeFrom(const ::google::protobuf::Message& from);
3355 void CopyFrom(const SourceCodeInfo& from);
3356 void MergeFrom(const SourceCodeInfo& from);
3357 void Clear();
3358 bool IsInitialized() const;
3359
3360 int ByteSize() const;
3361 bool MergePartialFromCodedStream(
3362 ::google::protobuf::io::CodedInputStream* input);
3363 void SerializeWithCachedSizes(
3364 ::google::protobuf::io::CodedOutputStream* output) const;
3365 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()3366 int GetCachedSize() const { return _cached_size_; }
3367 private:
3368 void SharedCtor();
3369 void SharedDtor();
3370 void SetCachedSize(int size) const;
3371 void InternalSwap(SourceCodeInfo* other);
3372 private:
GetArenaNoVirtual()3373 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3374 return _internal_metadata_.arena();
3375 }
MaybeArenaPtr()3376 inline void* MaybeArenaPtr() const {
3377 return _internal_metadata_.raw_arena_ptr();
3378 }
3379 public:
3380
3381 ::google::protobuf::Metadata GetMetadata() const;
3382
3383 // nested types ----------------------------------------------------
3384
3385 typedef SourceCodeInfo_Location Location;
3386
3387 // accessors -------------------------------------------------------
3388
3389 // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
3390 int location_size() const;
3391 void clear_location();
3392 static const int kLocationFieldNumber = 1;
3393 const ::google::protobuf::SourceCodeInfo_Location& location(int index) const;
3394 ::google::protobuf::SourceCodeInfo_Location* mutable_location(int index);
3395 ::google::protobuf::SourceCodeInfo_Location* add_location();
3396 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >*
3397 mutable_location();
3398 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >&
3399 location() const;
3400
3401 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo)
3402 private:
3403
3404 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3405 ::google::protobuf::uint32 _has_bits_[1];
3406 mutable int _cached_size_;
3407 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location > location_;
3408 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
3409 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
3410 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3411
3412 void InitAsDefaultInstance();
3413 static SourceCodeInfo* default_instance_;
3414 };
3415 // -------------------------------------------------------------------
3416
3417 class LIBPROTOBUF_EXPORT GeneratedCodeInfo_Annotation : public ::google::protobuf::Message {
3418 public:
3419 GeneratedCodeInfo_Annotation();
3420 virtual ~GeneratedCodeInfo_Annotation();
3421
3422 GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from);
3423
3424 inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotation& from) {
3425 CopyFrom(from);
3426 return *this;
3427 }
3428
unknown_fields()3429 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3430 return _internal_metadata_.unknown_fields();
3431 }
3432
mutable_unknown_fields()3433 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3434 return _internal_metadata_.mutable_unknown_fields();
3435 }
3436
3437 static const ::google::protobuf::Descriptor* descriptor();
3438 static const GeneratedCodeInfo_Annotation& default_instance();
3439
3440 void Swap(GeneratedCodeInfo_Annotation* other);
3441
3442 // implements Message ----------------------------------------------
3443
New()3444 inline GeneratedCodeInfo_Annotation* New() const { return New(NULL); }
3445
3446 GeneratedCodeInfo_Annotation* New(::google::protobuf::Arena* arena) const;
3447 void CopyFrom(const ::google::protobuf::Message& from);
3448 void MergeFrom(const ::google::protobuf::Message& from);
3449 void CopyFrom(const GeneratedCodeInfo_Annotation& from);
3450 void MergeFrom(const GeneratedCodeInfo_Annotation& from);
3451 void Clear();
3452 bool IsInitialized() const;
3453
3454 int ByteSize() const;
3455 bool MergePartialFromCodedStream(
3456 ::google::protobuf::io::CodedInputStream* input);
3457 void SerializeWithCachedSizes(
3458 ::google::protobuf::io::CodedOutputStream* output) const;
3459 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()3460 int GetCachedSize() const { return _cached_size_; }
3461 private:
3462 void SharedCtor();
3463 void SharedDtor();
3464 void SetCachedSize(int size) const;
3465 void InternalSwap(GeneratedCodeInfo_Annotation* other);
3466 private:
GetArenaNoVirtual()3467 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3468 return _internal_metadata_.arena();
3469 }
MaybeArenaPtr()3470 inline void* MaybeArenaPtr() const {
3471 return _internal_metadata_.raw_arena_ptr();
3472 }
3473 public:
3474
3475 ::google::protobuf::Metadata GetMetadata() const;
3476
3477 // nested types ----------------------------------------------------
3478
3479 // accessors -------------------------------------------------------
3480
3481 // repeated int32 path = 1 [packed = true];
3482 int path_size() const;
3483 void clear_path();
3484 static const int kPathFieldNumber = 1;
3485 ::google::protobuf::int32 path(int index) const;
3486 void set_path(int index, ::google::protobuf::int32 value);
3487 void add_path(::google::protobuf::int32 value);
3488 const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
3489 path() const;
3490 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
3491 mutable_path();
3492
3493 // optional string source_file = 2;
3494 bool has_source_file() const;
3495 void clear_source_file();
3496 static const int kSourceFileFieldNumber = 2;
3497 const ::std::string& source_file() const;
3498 void set_source_file(const ::std::string& value);
3499 void set_source_file(const char* value);
3500 void set_source_file(const char* value, size_t size);
3501 ::std::string* mutable_source_file();
3502 ::std::string* release_source_file();
3503 void set_allocated_source_file(::std::string* source_file);
3504
3505 // optional int32 begin = 3;
3506 bool has_begin() const;
3507 void clear_begin();
3508 static const int kBeginFieldNumber = 3;
3509 ::google::protobuf::int32 begin() const;
3510 void set_begin(::google::protobuf::int32 value);
3511
3512 // optional int32 end = 4;
3513 bool has_end() const;
3514 void clear_end();
3515 static const int kEndFieldNumber = 4;
3516 ::google::protobuf::int32 end() const;
3517 void set_end(::google::protobuf::int32 value);
3518
3519 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Annotation)
3520 private:
3521 inline void set_has_source_file();
3522 inline void clear_has_source_file();
3523 inline void set_has_begin();
3524 inline void clear_has_begin();
3525 inline void set_has_end();
3526 inline void clear_has_end();
3527
3528 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3529 ::google::protobuf::uint32 _has_bits_[1];
3530 mutable int _cached_size_;
3531 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_;
3532 mutable int _path_cached_byte_size_;
3533 ::google::protobuf::internal::ArenaStringPtr source_file_;
3534 ::google::protobuf::int32 begin_;
3535 ::google::protobuf::int32 end_;
3536 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
3537 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
3538 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3539
3540 void InitAsDefaultInstance();
3541 static GeneratedCodeInfo_Annotation* default_instance_;
3542 };
3543 // -------------------------------------------------------------------
3544
3545 class LIBPROTOBUF_EXPORT GeneratedCodeInfo : public ::google::protobuf::Message {
3546 public:
3547 GeneratedCodeInfo();
3548 virtual ~GeneratedCodeInfo();
3549
3550 GeneratedCodeInfo(const GeneratedCodeInfo& from);
3551
3552 inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) {
3553 CopyFrom(from);
3554 return *this;
3555 }
3556
unknown_fields()3557 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3558 return _internal_metadata_.unknown_fields();
3559 }
3560
mutable_unknown_fields()3561 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3562 return _internal_metadata_.mutable_unknown_fields();
3563 }
3564
3565 static const ::google::protobuf::Descriptor* descriptor();
3566 static const GeneratedCodeInfo& default_instance();
3567
3568 void Swap(GeneratedCodeInfo* other);
3569
3570 // implements Message ----------------------------------------------
3571
New()3572 inline GeneratedCodeInfo* New() const { return New(NULL); }
3573
3574 GeneratedCodeInfo* New(::google::protobuf::Arena* arena) const;
3575 void CopyFrom(const ::google::protobuf::Message& from);
3576 void MergeFrom(const ::google::protobuf::Message& from);
3577 void CopyFrom(const GeneratedCodeInfo& from);
3578 void MergeFrom(const GeneratedCodeInfo& from);
3579 void Clear();
3580 bool IsInitialized() const;
3581
3582 int ByteSize() const;
3583 bool MergePartialFromCodedStream(
3584 ::google::protobuf::io::CodedInputStream* input);
3585 void SerializeWithCachedSizes(
3586 ::google::protobuf::io::CodedOutputStream* output) const;
3587 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()3588 int GetCachedSize() const { return _cached_size_; }
3589 private:
3590 void SharedCtor();
3591 void SharedDtor();
3592 void SetCachedSize(int size) const;
3593 void InternalSwap(GeneratedCodeInfo* other);
3594 private:
GetArenaNoVirtual()3595 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3596 return _internal_metadata_.arena();
3597 }
MaybeArenaPtr()3598 inline void* MaybeArenaPtr() const {
3599 return _internal_metadata_.raw_arena_ptr();
3600 }
3601 public:
3602
3603 ::google::protobuf::Metadata GetMetadata() const;
3604
3605 // nested types ----------------------------------------------------
3606
3607 typedef GeneratedCodeInfo_Annotation Annotation;
3608
3609 // accessors -------------------------------------------------------
3610
3611 // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
3612 int annotation_size() const;
3613 void clear_annotation();
3614 static const int kAnnotationFieldNumber = 1;
3615 const ::google::protobuf::GeneratedCodeInfo_Annotation& annotation(int index) const;
3616 ::google::protobuf::GeneratedCodeInfo_Annotation* mutable_annotation(int index);
3617 ::google::protobuf::GeneratedCodeInfo_Annotation* add_annotation();
3618 ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation >*
3619 mutable_annotation();
3620 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation >&
3621 annotation() const;
3622
3623 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo)
3624 private:
3625
3626 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3627 ::google::protobuf::uint32 _has_bits_[1];
3628 mutable int _cached_size_;
3629 ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation > annotation_;
3630 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
3631 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
3632 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3633
3634 void InitAsDefaultInstance();
3635 static GeneratedCodeInfo* default_instance_;
3636 };
3637 // ===================================================================
3638
3639
3640 // ===================================================================
3641
3642 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
3643 // FileDescriptorSet
3644
3645 // repeated .google.protobuf.FileDescriptorProto file = 1;
file_size()3646 inline int FileDescriptorSet::file_size() const {
3647 return file_.size();
3648 }
clear_file()3649 inline void FileDescriptorSet::clear_file() {
3650 file_.Clear();
3651 }
file(int index)3652 inline const ::google::protobuf::FileDescriptorProto& FileDescriptorSet::file(int index) const {
3653 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorSet.file)
3654 return file_.Get(index);
3655 }
mutable_file(int index)3656 inline ::google::protobuf::FileDescriptorProto* FileDescriptorSet::mutable_file(int index) {
3657 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorSet.file)
3658 return file_.Mutable(index);
3659 }
add_file()3660 inline ::google::protobuf::FileDescriptorProto* FileDescriptorSet::add_file() {
3661 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorSet.file)
3662 return file_.Add();
3663 }
3664 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
mutable_file()3665 FileDescriptorSet::mutable_file() {
3666 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorSet.file)
3667 return &file_;
3668 }
3669 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
file()3670 FileDescriptorSet::file() const {
3671 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorSet.file)
3672 return file_;
3673 }
3674
3675 // -------------------------------------------------------------------
3676
3677 // FileDescriptorProto
3678
3679 // optional string name = 1;
has_name()3680 inline bool FileDescriptorProto::has_name() const {
3681 return (_has_bits_[0] & 0x00000001u) != 0;
3682 }
set_has_name()3683 inline void FileDescriptorProto::set_has_name() {
3684 _has_bits_[0] |= 0x00000001u;
3685 }
clear_has_name()3686 inline void FileDescriptorProto::clear_has_name() {
3687 _has_bits_[0] &= ~0x00000001u;
3688 }
clear_name()3689 inline void FileDescriptorProto::clear_name() {
3690 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3691 clear_has_name();
3692 }
name()3693 inline const ::std::string& FileDescriptorProto::name() const {
3694 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name)
3695 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3696 }
set_name(const::std::string & value)3697 inline void FileDescriptorProto::set_name(const ::std::string& value) {
3698 set_has_name();
3699 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3700 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name)
3701 }
set_name(const char * value)3702 inline void FileDescriptorProto::set_name(const char* value) {
3703 set_has_name();
3704 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3705 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.name)
3706 }
set_name(const char * value,size_t size)3707 inline void FileDescriptorProto::set_name(const char* value, size_t size) {
3708 set_has_name();
3709 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3710 ::std::string(reinterpret_cast<const char*>(value), size));
3711 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.name)
3712 }
mutable_name()3713 inline ::std::string* FileDescriptorProto::mutable_name() {
3714 set_has_name();
3715 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.name)
3716 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3717 }
release_name()3718 inline ::std::string* FileDescriptorProto::release_name() {
3719 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.name)
3720 clear_has_name();
3721 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3722 }
set_allocated_name(::std::string * name)3723 inline void FileDescriptorProto::set_allocated_name(::std::string* name) {
3724 if (name != NULL) {
3725 set_has_name();
3726 } else {
3727 clear_has_name();
3728 }
3729 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
3730 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.name)
3731 }
3732
3733 // optional string package = 2;
has_package()3734 inline bool FileDescriptorProto::has_package() const {
3735 return (_has_bits_[0] & 0x00000002u) != 0;
3736 }
set_has_package()3737 inline void FileDescriptorProto::set_has_package() {
3738 _has_bits_[0] |= 0x00000002u;
3739 }
clear_has_package()3740 inline void FileDescriptorProto::clear_has_package() {
3741 _has_bits_[0] &= ~0x00000002u;
3742 }
clear_package()3743 inline void FileDescriptorProto::clear_package() {
3744 package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3745 clear_has_package();
3746 }
package()3747 inline const ::std::string& FileDescriptorProto::package() const {
3748 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.package)
3749 return package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3750 }
set_package(const::std::string & value)3751 inline void FileDescriptorProto::set_package(const ::std::string& value) {
3752 set_has_package();
3753 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3754 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.package)
3755 }
set_package(const char * value)3756 inline void FileDescriptorProto::set_package(const char* value) {
3757 set_has_package();
3758 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3759 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.package)
3760 }
set_package(const char * value,size_t size)3761 inline void FileDescriptorProto::set_package(const char* value, size_t size) {
3762 set_has_package();
3763 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3764 ::std::string(reinterpret_cast<const char*>(value), size));
3765 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.package)
3766 }
mutable_package()3767 inline ::std::string* FileDescriptorProto::mutable_package() {
3768 set_has_package();
3769 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.package)
3770 return package_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3771 }
release_package()3772 inline ::std::string* FileDescriptorProto::release_package() {
3773 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.package)
3774 clear_has_package();
3775 return package_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3776 }
set_allocated_package(::std::string * package)3777 inline void FileDescriptorProto::set_allocated_package(::std::string* package) {
3778 if (package != NULL) {
3779 set_has_package();
3780 } else {
3781 clear_has_package();
3782 }
3783 package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), package);
3784 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.package)
3785 }
3786
3787 // repeated string dependency = 3;
dependency_size()3788 inline int FileDescriptorProto::dependency_size() const {
3789 return dependency_.size();
3790 }
clear_dependency()3791 inline void FileDescriptorProto::clear_dependency() {
3792 dependency_.Clear();
3793 }
dependency(int index)3794 inline const ::std::string& FileDescriptorProto::dependency(int index) const {
3795 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.dependency)
3796 return dependency_.Get(index);
3797 }
mutable_dependency(int index)3798 inline ::std::string* FileDescriptorProto::mutable_dependency(int index) {
3799 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.dependency)
3800 return dependency_.Mutable(index);
3801 }
set_dependency(int index,const::std::string & value)3802 inline void FileDescriptorProto::set_dependency(int index, const ::std::string& value) {
3803 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency)
3804 dependency_.Mutable(index)->assign(value);
3805 }
set_dependency(int index,const char * value)3806 inline void FileDescriptorProto::set_dependency(int index, const char* value) {
3807 dependency_.Mutable(index)->assign(value);
3808 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.dependency)
3809 }
set_dependency(int index,const char * value,size_t size)3810 inline void FileDescriptorProto::set_dependency(int index, const char* value, size_t size) {
3811 dependency_.Mutable(index)->assign(
3812 reinterpret_cast<const char*>(value), size);
3813 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.dependency)
3814 }
add_dependency()3815 inline ::std::string* FileDescriptorProto::add_dependency() {
3816 // @@protoc_insertion_point(field_add_mutable:google.protobuf.FileDescriptorProto.dependency)
3817 return dependency_.Add();
3818 }
add_dependency(const::std::string & value)3819 inline void FileDescriptorProto::add_dependency(const ::std::string& value) {
3820 dependency_.Add()->assign(value);
3821 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency)
3822 }
add_dependency(const char * value)3823 inline void FileDescriptorProto::add_dependency(const char* value) {
3824 dependency_.Add()->assign(value);
3825 // @@protoc_insertion_point(field_add_char:google.protobuf.FileDescriptorProto.dependency)
3826 }
add_dependency(const char * value,size_t size)3827 inline void FileDescriptorProto::add_dependency(const char* value, size_t size) {
3828 dependency_.Add()->assign(reinterpret_cast<const char*>(value), size);
3829 // @@protoc_insertion_point(field_add_pointer:google.protobuf.FileDescriptorProto.dependency)
3830 }
3831 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
dependency()3832 FileDescriptorProto::dependency() const {
3833 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.dependency)
3834 return dependency_;
3835 }
3836 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
mutable_dependency()3837 FileDescriptorProto::mutable_dependency() {
3838 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.dependency)
3839 return &dependency_;
3840 }
3841
3842 // repeated int32 public_dependency = 10;
public_dependency_size()3843 inline int FileDescriptorProto::public_dependency_size() const {
3844 return public_dependency_.size();
3845 }
clear_public_dependency()3846 inline void FileDescriptorProto::clear_public_dependency() {
3847 public_dependency_.Clear();
3848 }
public_dependency(int index)3849 inline ::google::protobuf::int32 FileDescriptorProto::public_dependency(int index) const {
3850 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.public_dependency)
3851 return public_dependency_.Get(index);
3852 }
set_public_dependency(int index,::google::protobuf::int32 value)3853 inline void FileDescriptorProto::set_public_dependency(int index, ::google::protobuf::int32 value) {
3854 public_dependency_.Set(index, value);
3855 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.public_dependency)
3856 }
add_public_dependency(::google::protobuf::int32 value)3857 inline void FileDescriptorProto::add_public_dependency(::google::protobuf::int32 value) {
3858 public_dependency_.Add(value);
3859 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.public_dependency)
3860 }
3861 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
public_dependency()3862 FileDescriptorProto::public_dependency() const {
3863 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.public_dependency)
3864 return public_dependency_;
3865 }
3866 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
mutable_public_dependency()3867 FileDescriptorProto::mutable_public_dependency() {
3868 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.public_dependency)
3869 return &public_dependency_;
3870 }
3871
3872 // repeated int32 weak_dependency = 11;
weak_dependency_size()3873 inline int FileDescriptorProto::weak_dependency_size() const {
3874 return weak_dependency_.size();
3875 }
clear_weak_dependency()3876 inline void FileDescriptorProto::clear_weak_dependency() {
3877 weak_dependency_.Clear();
3878 }
weak_dependency(int index)3879 inline ::google::protobuf::int32 FileDescriptorProto::weak_dependency(int index) const {
3880 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.weak_dependency)
3881 return weak_dependency_.Get(index);
3882 }
set_weak_dependency(int index,::google::protobuf::int32 value)3883 inline void FileDescriptorProto::set_weak_dependency(int index, ::google::protobuf::int32 value) {
3884 weak_dependency_.Set(index, value);
3885 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.weak_dependency)
3886 }
add_weak_dependency(::google::protobuf::int32 value)3887 inline void FileDescriptorProto::add_weak_dependency(::google::protobuf::int32 value) {
3888 weak_dependency_.Add(value);
3889 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.weak_dependency)
3890 }
3891 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
weak_dependency()3892 FileDescriptorProto::weak_dependency() const {
3893 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.weak_dependency)
3894 return weak_dependency_;
3895 }
3896 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
mutable_weak_dependency()3897 FileDescriptorProto::mutable_weak_dependency() {
3898 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.weak_dependency)
3899 return &weak_dependency_;
3900 }
3901
3902 // repeated .google.protobuf.DescriptorProto message_type = 4;
message_type_size()3903 inline int FileDescriptorProto::message_type_size() const {
3904 return message_type_.size();
3905 }
clear_message_type()3906 inline void FileDescriptorProto::clear_message_type() {
3907 message_type_.Clear();
3908 }
message_type(int index)3909 inline const ::google::protobuf::DescriptorProto& FileDescriptorProto::message_type(int index) const {
3910 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.message_type)
3911 return message_type_.Get(index);
3912 }
mutable_message_type(int index)3913 inline ::google::protobuf::DescriptorProto* FileDescriptorProto::mutable_message_type(int index) {
3914 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.message_type)
3915 return message_type_.Mutable(index);
3916 }
add_message_type()3917 inline ::google::protobuf::DescriptorProto* FileDescriptorProto::add_message_type() {
3918 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.message_type)
3919 return message_type_.Add();
3920 }
3921 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
mutable_message_type()3922 FileDescriptorProto::mutable_message_type() {
3923 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.message_type)
3924 return &message_type_;
3925 }
3926 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
message_type()3927 FileDescriptorProto::message_type() const {
3928 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.message_type)
3929 return message_type_;
3930 }
3931
3932 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
enum_type_size()3933 inline int FileDescriptorProto::enum_type_size() const {
3934 return enum_type_.size();
3935 }
clear_enum_type()3936 inline void FileDescriptorProto::clear_enum_type() {
3937 enum_type_.Clear();
3938 }
enum_type(int index)3939 inline const ::google::protobuf::EnumDescriptorProto& FileDescriptorProto::enum_type(int index) const {
3940 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.enum_type)
3941 return enum_type_.Get(index);
3942 }
mutable_enum_type(int index)3943 inline ::google::protobuf::EnumDescriptorProto* FileDescriptorProto::mutable_enum_type(int index) {
3944 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.enum_type)
3945 return enum_type_.Mutable(index);
3946 }
add_enum_type()3947 inline ::google::protobuf::EnumDescriptorProto* FileDescriptorProto::add_enum_type() {
3948 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.enum_type)
3949 return enum_type_.Add();
3950 }
3951 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
mutable_enum_type()3952 FileDescriptorProto::mutable_enum_type() {
3953 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.enum_type)
3954 return &enum_type_;
3955 }
3956 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
enum_type()3957 FileDescriptorProto::enum_type() const {
3958 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.enum_type)
3959 return enum_type_;
3960 }
3961
3962 // repeated .google.protobuf.ServiceDescriptorProto service = 6;
service_size()3963 inline int FileDescriptorProto::service_size() const {
3964 return service_.size();
3965 }
clear_service()3966 inline void FileDescriptorProto::clear_service() {
3967 service_.Clear();
3968 }
service(int index)3969 inline const ::google::protobuf::ServiceDescriptorProto& FileDescriptorProto::service(int index) const {
3970 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.service)
3971 return service_.Get(index);
3972 }
mutable_service(int index)3973 inline ::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::mutable_service(int index) {
3974 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.service)
3975 return service_.Mutable(index);
3976 }
add_service()3977 inline ::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::add_service() {
3978 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.service)
3979 return service_.Add();
3980 }
3981 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >*
mutable_service()3982 FileDescriptorProto::mutable_service() {
3983 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.service)
3984 return &service_;
3985 }
3986 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >&
service()3987 FileDescriptorProto::service() const {
3988 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.service)
3989 return service_;
3990 }
3991
3992 // repeated .google.protobuf.FieldDescriptorProto extension = 7;
extension_size()3993 inline int FileDescriptorProto::extension_size() const {
3994 return extension_.size();
3995 }
clear_extension()3996 inline void FileDescriptorProto::clear_extension() {
3997 extension_.Clear();
3998 }
extension(int index)3999 inline const ::google::protobuf::FieldDescriptorProto& FileDescriptorProto::extension(int index) const {
4000 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.extension)
4001 return extension_.Get(index);
4002 }
mutable_extension(int index)4003 inline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::mutable_extension(int index) {
4004 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.extension)
4005 return extension_.Mutable(index);
4006 }
add_extension()4007 inline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::add_extension() {
4008 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.extension)
4009 return extension_.Add();
4010 }
4011 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
mutable_extension()4012 FileDescriptorProto::mutable_extension() {
4013 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.extension)
4014 return &extension_;
4015 }
4016 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
extension()4017 FileDescriptorProto::extension() const {
4018 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.extension)
4019 return extension_;
4020 }
4021
4022 // optional .google.protobuf.FileOptions options = 8;
has_options()4023 inline bool FileDescriptorProto::has_options() const {
4024 return (_has_bits_[0] & 0x00000200u) != 0;
4025 }
set_has_options()4026 inline void FileDescriptorProto::set_has_options() {
4027 _has_bits_[0] |= 0x00000200u;
4028 }
clear_has_options()4029 inline void FileDescriptorProto::clear_has_options() {
4030 _has_bits_[0] &= ~0x00000200u;
4031 }
clear_options()4032 inline void FileDescriptorProto::clear_options() {
4033 if (options_ != NULL) options_->::google::protobuf::FileOptions::Clear();
4034 clear_has_options();
4035 }
options()4036 inline const ::google::protobuf::FileOptions& FileDescriptorProto::options() const {
4037 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.options)
4038 return options_ != NULL ? *options_ : *default_instance_->options_;
4039 }
mutable_options()4040 inline ::google::protobuf::FileOptions* FileDescriptorProto::mutable_options() {
4041 set_has_options();
4042 if (options_ == NULL) {
4043 options_ = new ::google::protobuf::FileOptions;
4044 }
4045 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.options)
4046 return options_;
4047 }
release_options()4048 inline ::google::protobuf::FileOptions* FileDescriptorProto::release_options() {
4049 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.options)
4050 clear_has_options();
4051 ::google::protobuf::FileOptions* temp = options_;
4052 options_ = NULL;
4053 return temp;
4054 }
set_allocated_options(::google::protobuf::FileOptions * options)4055 inline void FileDescriptorProto::set_allocated_options(::google::protobuf::FileOptions* options) {
4056 delete options_;
4057 options_ = options;
4058 if (options) {
4059 set_has_options();
4060 } else {
4061 clear_has_options();
4062 }
4063 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.options)
4064 }
4065
4066 // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
has_source_code_info()4067 inline bool FileDescriptorProto::has_source_code_info() const {
4068 return (_has_bits_[0] & 0x00000400u) != 0;
4069 }
set_has_source_code_info()4070 inline void FileDescriptorProto::set_has_source_code_info() {
4071 _has_bits_[0] |= 0x00000400u;
4072 }
clear_has_source_code_info()4073 inline void FileDescriptorProto::clear_has_source_code_info() {
4074 _has_bits_[0] &= ~0x00000400u;
4075 }
clear_source_code_info()4076 inline void FileDescriptorProto::clear_source_code_info() {
4077 if (source_code_info_ != NULL) source_code_info_->::google::protobuf::SourceCodeInfo::Clear();
4078 clear_has_source_code_info();
4079 }
source_code_info()4080 inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_code_info() const {
4081 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.source_code_info)
4082 return source_code_info_ != NULL ? *source_code_info_ : *default_instance_->source_code_info_;
4083 }
mutable_source_code_info()4084 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::mutable_source_code_info() {
4085 set_has_source_code_info();
4086 if (source_code_info_ == NULL) {
4087 source_code_info_ = new ::google::protobuf::SourceCodeInfo;
4088 }
4089 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.source_code_info)
4090 return source_code_info_;
4091 }
release_source_code_info()4092 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::release_source_code_info() {
4093 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.source_code_info)
4094 clear_has_source_code_info();
4095 ::google::protobuf::SourceCodeInfo* temp = source_code_info_;
4096 source_code_info_ = NULL;
4097 return temp;
4098 }
set_allocated_source_code_info(::google::protobuf::SourceCodeInfo * source_code_info)4099 inline void FileDescriptorProto::set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* source_code_info) {
4100 delete source_code_info_;
4101 source_code_info_ = source_code_info;
4102 if (source_code_info) {
4103 set_has_source_code_info();
4104 } else {
4105 clear_has_source_code_info();
4106 }
4107 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.source_code_info)
4108 }
4109
4110 // optional string syntax = 12;
has_syntax()4111 inline bool FileDescriptorProto::has_syntax() const {
4112 return (_has_bits_[0] & 0x00000800u) != 0;
4113 }
set_has_syntax()4114 inline void FileDescriptorProto::set_has_syntax() {
4115 _has_bits_[0] |= 0x00000800u;
4116 }
clear_has_syntax()4117 inline void FileDescriptorProto::clear_has_syntax() {
4118 _has_bits_[0] &= ~0x00000800u;
4119 }
clear_syntax()4120 inline void FileDescriptorProto::clear_syntax() {
4121 syntax_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4122 clear_has_syntax();
4123 }
syntax()4124 inline const ::std::string& FileDescriptorProto::syntax() const {
4125 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.syntax)
4126 return syntax_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4127 }
set_syntax(const::std::string & value)4128 inline void FileDescriptorProto::set_syntax(const ::std::string& value) {
4129 set_has_syntax();
4130 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4131 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.syntax)
4132 }
set_syntax(const char * value)4133 inline void FileDescriptorProto::set_syntax(const char* value) {
4134 set_has_syntax();
4135 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4136 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.syntax)
4137 }
set_syntax(const char * value,size_t size)4138 inline void FileDescriptorProto::set_syntax(const char* value, size_t size) {
4139 set_has_syntax();
4140 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4141 ::std::string(reinterpret_cast<const char*>(value), size));
4142 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.syntax)
4143 }
mutable_syntax()4144 inline ::std::string* FileDescriptorProto::mutable_syntax() {
4145 set_has_syntax();
4146 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.syntax)
4147 return syntax_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4148 }
release_syntax()4149 inline ::std::string* FileDescriptorProto::release_syntax() {
4150 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.syntax)
4151 clear_has_syntax();
4152 return syntax_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4153 }
set_allocated_syntax(::std::string * syntax)4154 inline void FileDescriptorProto::set_allocated_syntax(::std::string* syntax) {
4155 if (syntax != NULL) {
4156 set_has_syntax();
4157 } else {
4158 clear_has_syntax();
4159 }
4160 syntax_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), syntax);
4161 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.syntax)
4162 }
4163
4164 // -------------------------------------------------------------------
4165
4166 // DescriptorProto_ExtensionRange
4167
4168 // optional int32 start = 1;
has_start()4169 inline bool DescriptorProto_ExtensionRange::has_start() const {
4170 return (_has_bits_[0] & 0x00000001u) != 0;
4171 }
set_has_start()4172 inline void DescriptorProto_ExtensionRange::set_has_start() {
4173 _has_bits_[0] |= 0x00000001u;
4174 }
clear_has_start()4175 inline void DescriptorProto_ExtensionRange::clear_has_start() {
4176 _has_bits_[0] &= ~0x00000001u;
4177 }
clear_start()4178 inline void DescriptorProto_ExtensionRange::clear_start() {
4179 start_ = 0;
4180 clear_has_start();
4181 }
start()4182 inline ::google::protobuf::int32 DescriptorProto_ExtensionRange::start() const {
4183 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.start)
4184 return start_;
4185 }
set_start(::google::protobuf::int32 value)4186 inline void DescriptorProto_ExtensionRange::set_start(::google::protobuf::int32 value) {
4187 set_has_start();
4188 start_ = value;
4189 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.start)
4190 }
4191
4192 // optional int32 end = 2;
has_end()4193 inline bool DescriptorProto_ExtensionRange::has_end() const {
4194 return (_has_bits_[0] & 0x00000002u) != 0;
4195 }
set_has_end()4196 inline void DescriptorProto_ExtensionRange::set_has_end() {
4197 _has_bits_[0] |= 0x00000002u;
4198 }
clear_has_end()4199 inline void DescriptorProto_ExtensionRange::clear_has_end() {
4200 _has_bits_[0] &= ~0x00000002u;
4201 }
clear_end()4202 inline void DescriptorProto_ExtensionRange::clear_end() {
4203 end_ = 0;
4204 clear_has_end();
4205 }
end()4206 inline ::google::protobuf::int32 DescriptorProto_ExtensionRange::end() const {
4207 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.end)
4208 return end_;
4209 }
set_end(::google::protobuf::int32 value)4210 inline void DescriptorProto_ExtensionRange::set_end(::google::protobuf::int32 value) {
4211 set_has_end();
4212 end_ = value;
4213 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.end)
4214 }
4215
4216 // -------------------------------------------------------------------
4217
4218 // DescriptorProto_ReservedRange
4219
4220 // optional int32 start = 1;
has_start()4221 inline bool DescriptorProto_ReservedRange::has_start() const {
4222 return (_has_bits_[0] & 0x00000001u) != 0;
4223 }
set_has_start()4224 inline void DescriptorProto_ReservedRange::set_has_start() {
4225 _has_bits_[0] |= 0x00000001u;
4226 }
clear_has_start()4227 inline void DescriptorProto_ReservedRange::clear_has_start() {
4228 _has_bits_[0] &= ~0x00000001u;
4229 }
clear_start()4230 inline void DescriptorProto_ReservedRange::clear_start() {
4231 start_ = 0;
4232 clear_has_start();
4233 }
start()4234 inline ::google::protobuf::int32 DescriptorProto_ReservedRange::start() const {
4235 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.start)
4236 return start_;
4237 }
set_start(::google::protobuf::int32 value)4238 inline void DescriptorProto_ReservedRange::set_start(::google::protobuf::int32 value) {
4239 set_has_start();
4240 start_ = value;
4241 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.start)
4242 }
4243
4244 // optional int32 end = 2;
has_end()4245 inline bool DescriptorProto_ReservedRange::has_end() const {
4246 return (_has_bits_[0] & 0x00000002u) != 0;
4247 }
set_has_end()4248 inline void DescriptorProto_ReservedRange::set_has_end() {
4249 _has_bits_[0] |= 0x00000002u;
4250 }
clear_has_end()4251 inline void DescriptorProto_ReservedRange::clear_has_end() {
4252 _has_bits_[0] &= ~0x00000002u;
4253 }
clear_end()4254 inline void DescriptorProto_ReservedRange::clear_end() {
4255 end_ = 0;
4256 clear_has_end();
4257 }
end()4258 inline ::google::protobuf::int32 DescriptorProto_ReservedRange::end() const {
4259 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.end)
4260 return end_;
4261 }
set_end(::google::protobuf::int32 value)4262 inline void DescriptorProto_ReservedRange::set_end(::google::protobuf::int32 value) {
4263 set_has_end();
4264 end_ = value;
4265 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.end)
4266 }
4267
4268 // -------------------------------------------------------------------
4269
4270 // DescriptorProto
4271
4272 // optional string name = 1;
has_name()4273 inline bool DescriptorProto::has_name() const {
4274 return (_has_bits_[0] & 0x00000001u) != 0;
4275 }
set_has_name()4276 inline void DescriptorProto::set_has_name() {
4277 _has_bits_[0] |= 0x00000001u;
4278 }
clear_has_name()4279 inline void DescriptorProto::clear_has_name() {
4280 _has_bits_[0] &= ~0x00000001u;
4281 }
clear_name()4282 inline void DescriptorProto::clear_name() {
4283 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4284 clear_has_name();
4285 }
name()4286 inline const ::std::string& DescriptorProto::name() const {
4287 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name)
4288 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4289 }
set_name(const::std::string & value)4290 inline void DescriptorProto::set_name(const ::std::string& value) {
4291 set_has_name();
4292 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4293 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name)
4294 }
set_name(const char * value)4295 inline void DescriptorProto::set_name(const char* value) {
4296 set_has_name();
4297 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4298 // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.name)
4299 }
set_name(const char * value,size_t size)4300 inline void DescriptorProto::set_name(const char* value, size_t size) {
4301 set_has_name();
4302 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4303 ::std::string(reinterpret_cast<const char*>(value), size));
4304 // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.name)
4305 }
mutable_name()4306 inline ::std::string* DescriptorProto::mutable_name() {
4307 set_has_name();
4308 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name)
4309 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4310 }
release_name()4311 inline ::std::string* DescriptorProto::release_name() {
4312 // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.name)
4313 clear_has_name();
4314 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4315 }
set_allocated_name(::std::string * name)4316 inline void DescriptorProto::set_allocated_name(::std::string* name) {
4317 if (name != NULL) {
4318 set_has_name();
4319 } else {
4320 clear_has_name();
4321 }
4322 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
4323 // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.name)
4324 }
4325
4326 // repeated .google.protobuf.FieldDescriptorProto field = 2;
field_size()4327 inline int DescriptorProto::field_size() const {
4328 return field_.size();
4329 }
clear_field()4330 inline void DescriptorProto::clear_field() {
4331 field_.Clear();
4332 }
field(int index)4333 inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::field(int index) const {
4334 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.field)
4335 return field_.Get(index);
4336 }
mutable_field(int index)4337 inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_field(int index) {
4338 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.field)
4339 return field_.Mutable(index);
4340 }
add_field()4341 inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_field() {
4342 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.field)
4343 return field_.Add();
4344 }
4345 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
mutable_field()4346 DescriptorProto::mutable_field() {
4347 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.field)
4348 return &field_;
4349 }
4350 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
field()4351 DescriptorProto::field() const {
4352 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.field)
4353 return field_;
4354 }
4355
4356 // repeated .google.protobuf.FieldDescriptorProto extension = 6;
extension_size()4357 inline int DescriptorProto::extension_size() const {
4358 return extension_.size();
4359 }
clear_extension()4360 inline void DescriptorProto::clear_extension() {
4361 extension_.Clear();
4362 }
extension(int index)4363 inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::extension(int index) const {
4364 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension)
4365 return extension_.Get(index);
4366 }
mutable_extension(int index)4367 inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_extension(int index) {
4368 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension)
4369 return extension_.Mutable(index);
4370 }
add_extension()4371 inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_extension() {
4372 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension)
4373 return extension_.Add();
4374 }
4375 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
mutable_extension()4376 DescriptorProto::mutable_extension() {
4377 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension)
4378 return &extension_;
4379 }
4380 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
extension()4381 DescriptorProto::extension() const {
4382 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension)
4383 return extension_;
4384 }
4385
4386 // repeated .google.protobuf.DescriptorProto nested_type = 3;
nested_type_size()4387 inline int DescriptorProto::nested_type_size() const {
4388 return nested_type_.size();
4389 }
clear_nested_type()4390 inline void DescriptorProto::clear_nested_type() {
4391 nested_type_.Clear();
4392 }
nested_type(int index)4393 inline const ::google::protobuf::DescriptorProto& DescriptorProto::nested_type(int index) const {
4394 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.nested_type)
4395 return nested_type_.Get(index);
4396 }
mutable_nested_type(int index)4397 inline ::google::protobuf::DescriptorProto* DescriptorProto::mutable_nested_type(int index) {
4398 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.nested_type)
4399 return nested_type_.Mutable(index);
4400 }
add_nested_type()4401 inline ::google::protobuf::DescriptorProto* DescriptorProto::add_nested_type() {
4402 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.nested_type)
4403 return nested_type_.Add();
4404 }
4405 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
mutable_nested_type()4406 DescriptorProto::mutable_nested_type() {
4407 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.nested_type)
4408 return &nested_type_;
4409 }
4410 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
nested_type()4411 DescriptorProto::nested_type() const {
4412 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.nested_type)
4413 return nested_type_;
4414 }
4415
4416 // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
enum_type_size()4417 inline int DescriptorProto::enum_type_size() const {
4418 return enum_type_.size();
4419 }
clear_enum_type()4420 inline void DescriptorProto::clear_enum_type() {
4421 enum_type_.Clear();
4422 }
enum_type(int index)4423 inline const ::google::protobuf::EnumDescriptorProto& DescriptorProto::enum_type(int index) const {
4424 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.enum_type)
4425 return enum_type_.Get(index);
4426 }
mutable_enum_type(int index)4427 inline ::google::protobuf::EnumDescriptorProto* DescriptorProto::mutable_enum_type(int index) {
4428 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.enum_type)
4429 return enum_type_.Mutable(index);
4430 }
add_enum_type()4431 inline ::google::protobuf::EnumDescriptorProto* DescriptorProto::add_enum_type() {
4432 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.enum_type)
4433 return enum_type_.Add();
4434 }
4435 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
mutable_enum_type()4436 DescriptorProto::mutable_enum_type() {
4437 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.enum_type)
4438 return &enum_type_;
4439 }
4440 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
enum_type()4441 DescriptorProto::enum_type() const {
4442 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.enum_type)
4443 return enum_type_;
4444 }
4445
4446 // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
extension_range_size()4447 inline int DescriptorProto::extension_range_size() const {
4448 return extension_range_.size();
4449 }
clear_extension_range()4450 inline void DescriptorProto::clear_extension_range() {
4451 extension_range_.Clear();
4452 }
extension_range(int index)4453 inline const ::google::protobuf::DescriptorProto_ExtensionRange& DescriptorProto::extension_range(int index) const {
4454 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension_range)
4455 return extension_range_.Get(index);
4456 }
mutable_extension_range(int index)4457 inline ::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::mutable_extension_range(int index) {
4458 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension_range)
4459 return extension_range_.Mutable(index);
4460 }
add_extension_range()4461 inline ::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::add_extension_range() {
4462 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension_range)
4463 return extension_range_.Add();
4464 }
4465 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >*
mutable_extension_range()4466 DescriptorProto::mutable_extension_range() {
4467 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension_range)
4468 return &extension_range_;
4469 }
4470 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >&
extension_range()4471 DescriptorProto::extension_range() const {
4472 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension_range)
4473 return extension_range_;
4474 }
4475
4476 // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
oneof_decl_size()4477 inline int DescriptorProto::oneof_decl_size() const {
4478 return oneof_decl_.size();
4479 }
clear_oneof_decl()4480 inline void DescriptorProto::clear_oneof_decl() {
4481 oneof_decl_.Clear();
4482 }
oneof_decl(int index)4483 inline const ::google::protobuf::OneofDescriptorProto& DescriptorProto::oneof_decl(int index) const {
4484 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.oneof_decl)
4485 return oneof_decl_.Get(index);
4486 }
mutable_oneof_decl(int index)4487 inline ::google::protobuf::OneofDescriptorProto* DescriptorProto::mutable_oneof_decl(int index) {
4488 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.oneof_decl)
4489 return oneof_decl_.Mutable(index);
4490 }
add_oneof_decl()4491 inline ::google::protobuf::OneofDescriptorProto* DescriptorProto::add_oneof_decl() {
4492 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.oneof_decl)
4493 return oneof_decl_.Add();
4494 }
4495 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >*
mutable_oneof_decl()4496 DescriptorProto::mutable_oneof_decl() {
4497 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.oneof_decl)
4498 return &oneof_decl_;
4499 }
4500 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >&
oneof_decl()4501 DescriptorProto::oneof_decl() const {
4502 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_decl)
4503 return oneof_decl_;
4504 }
4505
4506 // optional .google.protobuf.MessageOptions options = 7;
has_options()4507 inline bool DescriptorProto::has_options() const {
4508 return (_has_bits_[0] & 0x00000080u) != 0;
4509 }
set_has_options()4510 inline void DescriptorProto::set_has_options() {
4511 _has_bits_[0] |= 0x00000080u;
4512 }
clear_has_options()4513 inline void DescriptorProto::clear_has_options() {
4514 _has_bits_[0] &= ~0x00000080u;
4515 }
clear_options()4516 inline void DescriptorProto::clear_options() {
4517 if (options_ != NULL) options_->::google::protobuf::MessageOptions::Clear();
4518 clear_has_options();
4519 }
options()4520 inline const ::google::protobuf::MessageOptions& DescriptorProto::options() const {
4521 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options)
4522 return options_ != NULL ? *options_ : *default_instance_->options_;
4523 }
mutable_options()4524 inline ::google::protobuf::MessageOptions* DescriptorProto::mutable_options() {
4525 set_has_options();
4526 if (options_ == NULL) {
4527 options_ = new ::google::protobuf::MessageOptions;
4528 }
4529 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.options)
4530 return options_;
4531 }
release_options()4532 inline ::google::protobuf::MessageOptions* DescriptorProto::release_options() {
4533 // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.options)
4534 clear_has_options();
4535 ::google::protobuf::MessageOptions* temp = options_;
4536 options_ = NULL;
4537 return temp;
4538 }
set_allocated_options(::google::protobuf::MessageOptions * options)4539 inline void DescriptorProto::set_allocated_options(::google::protobuf::MessageOptions* options) {
4540 delete options_;
4541 options_ = options;
4542 if (options) {
4543 set_has_options();
4544 } else {
4545 clear_has_options();
4546 }
4547 // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.options)
4548 }
4549
4550 // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
reserved_range_size()4551 inline int DescriptorProto::reserved_range_size() const {
4552 return reserved_range_.size();
4553 }
clear_reserved_range()4554 inline void DescriptorProto::clear_reserved_range() {
4555 reserved_range_.Clear();
4556 }
reserved_range(int index)4557 inline const ::google::protobuf::DescriptorProto_ReservedRange& DescriptorProto::reserved_range(int index) const {
4558 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_range)
4559 return reserved_range_.Get(index);
4560 }
mutable_reserved_range(int index)4561 inline ::google::protobuf::DescriptorProto_ReservedRange* DescriptorProto::mutable_reserved_range(int index) {
4562 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_range)
4563 return reserved_range_.Mutable(index);
4564 }
add_reserved_range()4565 inline ::google::protobuf::DescriptorProto_ReservedRange* DescriptorProto::add_reserved_range() {
4566 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_range)
4567 return reserved_range_.Add();
4568 }
4569 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange >*
mutable_reserved_range()4570 DescriptorProto::mutable_reserved_range() {
4571 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_range)
4572 return &reserved_range_;
4573 }
4574 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange >&
reserved_range()4575 DescriptorProto::reserved_range() const {
4576 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_range)
4577 return reserved_range_;
4578 }
4579
4580 // repeated string reserved_name = 10;
reserved_name_size()4581 inline int DescriptorProto::reserved_name_size() const {
4582 return reserved_name_.size();
4583 }
clear_reserved_name()4584 inline void DescriptorProto::clear_reserved_name() {
4585 reserved_name_.Clear();
4586 }
reserved_name(int index)4587 inline const ::std::string& DescriptorProto::reserved_name(int index) const {
4588 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_name)
4589 return reserved_name_.Get(index);
4590 }
mutable_reserved_name(int index)4591 inline ::std::string* DescriptorProto::mutable_reserved_name(int index) {
4592 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_name)
4593 return reserved_name_.Mutable(index);
4594 }
set_reserved_name(int index,const::std::string & value)4595 inline void DescriptorProto::set_reserved_name(int index, const ::std::string& value) {
4596 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name)
4597 reserved_name_.Mutable(index)->assign(value);
4598 }
set_reserved_name(int index,const char * value)4599 inline void DescriptorProto::set_reserved_name(int index, const char* value) {
4600 reserved_name_.Mutable(index)->assign(value);
4601 // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.reserved_name)
4602 }
set_reserved_name(int index,const char * value,size_t size)4603 inline void DescriptorProto::set_reserved_name(int index, const char* value, size_t size) {
4604 reserved_name_.Mutable(index)->assign(
4605 reinterpret_cast<const char*>(value), size);
4606 // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.reserved_name)
4607 }
add_reserved_name()4608 inline ::std::string* DescriptorProto::add_reserved_name() {
4609 // @@protoc_insertion_point(field_add_mutable:google.protobuf.DescriptorProto.reserved_name)
4610 return reserved_name_.Add();
4611 }
add_reserved_name(const::std::string & value)4612 inline void DescriptorProto::add_reserved_name(const ::std::string& value) {
4613 reserved_name_.Add()->assign(value);
4614 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name)
4615 }
add_reserved_name(const char * value)4616 inline void DescriptorProto::add_reserved_name(const char* value) {
4617 reserved_name_.Add()->assign(value);
4618 // @@protoc_insertion_point(field_add_char:google.protobuf.DescriptorProto.reserved_name)
4619 }
add_reserved_name(const char * value,size_t size)4620 inline void DescriptorProto::add_reserved_name(const char* value, size_t size) {
4621 reserved_name_.Add()->assign(reinterpret_cast<const char*>(value), size);
4622 // @@protoc_insertion_point(field_add_pointer:google.protobuf.DescriptorProto.reserved_name)
4623 }
4624 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
reserved_name()4625 DescriptorProto::reserved_name() const {
4626 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_name)
4627 return reserved_name_;
4628 }
4629 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
mutable_reserved_name()4630 DescriptorProto::mutable_reserved_name() {
4631 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_name)
4632 return &reserved_name_;
4633 }
4634
4635 // -------------------------------------------------------------------
4636
4637 // FieldDescriptorProto
4638
4639 // optional string name = 1;
has_name()4640 inline bool FieldDescriptorProto::has_name() const {
4641 return (_has_bits_[0] & 0x00000001u) != 0;
4642 }
set_has_name()4643 inline void FieldDescriptorProto::set_has_name() {
4644 _has_bits_[0] |= 0x00000001u;
4645 }
clear_has_name()4646 inline void FieldDescriptorProto::clear_has_name() {
4647 _has_bits_[0] &= ~0x00000001u;
4648 }
clear_name()4649 inline void FieldDescriptorProto::clear_name() {
4650 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4651 clear_has_name();
4652 }
name()4653 inline const ::std::string& FieldDescriptorProto::name() const {
4654 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.name)
4655 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4656 }
set_name(const::std::string & value)4657 inline void FieldDescriptorProto::set_name(const ::std::string& value) {
4658 set_has_name();
4659 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4660 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.name)
4661 }
set_name(const char * value)4662 inline void FieldDescriptorProto::set_name(const char* value) {
4663 set_has_name();
4664 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4665 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.name)
4666 }
set_name(const char * value,size_t size)4667 inline void FieldDescriptorProto::set_name(const char* value, size_t size) {
4668 set_has_name();
4669 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4670 ::std::string(reinterpret_cast<const char*>(value), size));
4671 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.name)
4672 }
mutable_name()4673 inline ::std::string* FieldDescriptorProto::mutable_name() {
4674 set_has_name();
4675 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.name)
4676 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4677 }
release_name()4678 inline ::std::string* FieldDescriptorProto::release_name() {
4679 // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.name)
4680 clear_has_name();
4681 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4682 }
set_allocated_name(::std::string * name)4683 inline void FieldDescriptorProto::set_allocated_name(::std::string* name) {
4684 if (name != NULL) {
4685 set_has_name();
4686 } else {
4687 clear_has_name();
4688 }
4689 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
4690 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.name)
4691 }
4692
4693 // optional int32 number = 3;
has_number()4694 inline bool FieldDescriptorProto::has_number() const {
4695 return (_has_bits_[0] & 0x00000002u) != 0;
4696 }
set_has_number()4697 inline void FieldDescriptorProto::set_has_number() {
4698 _has_bits_[0] |= 0x00000002u;
4699 }
clear_has_number()4700 inline void FieldDescriptorProto::clear_has_number() {
4701 _has_bits_[0] &= ~0x00000002u;
4702 }
clear_number()4703 inline void FieldDescriptorProto::clear_number() {
4704 number_ = 0;
4705 clear_has_number();
4706 }
number()4707 inline ::google::protobuf::int32 FieldDescriptorProto::number() const {
4708 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.number)
4709 return number_;
4710 }
set_number(::google::protobuf::int32 value)4711 inline void FieldDescriptorProto::set_number(::google::protobuf::int32 value) {
4712 set_has_number();
4713 number_ = value;
4714 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.number)
4715 }
4716
4717 // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
has_label()4718 inline bool FieldDescriptorProto::has_label() const {
4719 return (_has_bits_[0] & 0x00000004u) != 0;
4720 }
set_has_label()4721 inline void FieldDescriptorProto::set_has_label() {
4722 _has_bits_[0] |= 0x00000004u;
4723 }
clear_has_label()4724 inline void FieldDescriptorProto::clear_has_label() {
4725 _has_bits_[0] &= ~0x00000004u;
4726 }
clear_label()4727 inline void FieldDescriptorProto::clear_label() {
4728 label_ = 1;
4729 clear_has_label();
4730 }
label()4731 inline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::label() const {
4732 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.label)
4733 return static_cast< ::google::protobuf::FieldDescriptorProto_Label >(label_);
4734 }
set_label(::google::protobuf::FieldDescriptorProto_Label value)4735 inline void FieldDescriptorProto::set_label(::google::protobuf::FieldDescriptorProto_Label value) {
4736 assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value));
4737 set_has_label();
4738 label_ = value;
4739 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.label)
4740 }
4741
4742 // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
has_type()4743 inline bool FieldDescriptorProto::has_type() const {
4744 return (_has_bits_[0] & 0x00000008u) != 0;
4745 }
set_has_type()4746 inline void FieldDescriptorProto::set_has_type() {
4747 _has_bits_[0] |= 0x00000008u;
4748 }
clear_has_type()4749 inline void FieldDescriptorProto::clear_has_type() {
4750 _has_bits_[0] &= ~0x00000008u;
4751 }
clear_type()4752 inline void FieldDescriptorProto::clear_type() {
4753 type_ = 1;
4754 clear_has_type();
4755 }
type()4756 inline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::type() const {
4757 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type)
4758 return static_cast< ::google::protobuf::FieldDescriptorProto_Type >(type_);
4759 }
set_type(::google::protobuf::FieldDescriptorProto_Type value)4760 inline void FieldDescriptorProto::set_type(::google::protobuf::FieldDescriptorProto_Type value) {
4761 assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value));
4762 set_has_type();
4763 type_ = value;
4764 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type)
4765 }
4766
4767 // optional string type_name = 6;
has_type_name()4768 inline bool FieldDescriptorProto::has_type_name() const {
4769 return (_has_bits_[0] & 0x00000010u) != 0;
4770 }
set_has_type_name()4771 inline void FieldDescriptorProto::set_has_type_name() {
4772 _has_bits_[0] |= 0x00000010u;
4773 }
clear_has_type_name()4774 inline void FieldDescriptorProto::clear_has_type_name() {
4775 _has_bits_[0] &= ~0x00000010u;
4776 }
clear_type_name()4777 inline void FieldDescriptorProto::clear_type_name() {
4778 type_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4779 clear_has_type_name();
4780 }
type_name()4781 inline const ::std::string& FieldDescriptorProto::type_name() const {
4782 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type_name)
4783 return type_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4784 }
set_type_name(const::std::string & value)4785 inline void FieldDescriptorProto::set_type_name(const ::std::string& value) {
4786 set_has_type_name();
4787 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4788 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type_name)
4789 }
set_type_name(const char * value)4790 inline void FieldDescriptorProto::set_type_name(const char* value) {
4791 set_has_type_name();
4792 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4793 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.type_name)
4794 }
set_type_name(const char * value,size_t size)4795 inline void FieldDescriptorProto::set_type_name(const char* value, size_t size) {
4796 set_has_type_name();
4797 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4798 ::std::string(reinterpret_cast<const char*>(value), size));
4799 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.type_name)
4800 }
mutable_type_name()4801 inline ::std::string* FieldDescriptorProto::mutable_type_name() {
4802 set_has_type_name();
4803 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.type_name)
4804 return type_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4805 }
release_type_name()4806 inline ::std::string* FieldDescriptorProto::release_type_name() {
4807 // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.type_name)
4808 clear_has_type_name();
4809 return type_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4810 }
set_allocated_type_name(::std::string * type_name)4811 inline void FieldDescriptorProto::set_allocated_type_name(::std::string* type_name) {
4812 if (type_name != NULL) {
4813 set_has_type_name();
4814 } else {
4815 clear_has_type_name();
4816 }
4817 type_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_name);
4818 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.type_name)
4819 }
4820
4821 // optional string extendee = 2;
has_extendee()4822 inline bool FieldDescriptorProto::has_extendee() const {
4823 return (_has_bits_[0] & 0x00000020u) != 0;
4824 }
set_has_extendee()4825 inline void FieldDescriptorProto::set_has_extendee() {
4826 _has_bits_[0] |= 0x00000020u;
4827 }
clear_has_extendee()4828 inline void FieldDescriptorProto::clear_has_extendee() {
4829 _has_bits_[0] &= ~0x00000020u;
4830 }
clear_extendee()4831 inline void FieldDescriptorProto::clear_extendee() {
4832 extendee_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4833 clear_has_extendee();
4834 }
extendee()4835 inline const ::std::string& FieldDescriptorProto::extendee() const {
4836 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.extendee)
4837 return extendee_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4838 }
set_extendee(const::std::string & value)4839 inline void FieldDescriptorProto::set_extendee(const ::std::string& value) {
4840 set_has_extendee();
4841 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4842 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.extendee)
4843 }
set_extendee(const char * value)4844 inline void FieldDescriptorProto::set_extendee(const char* value) {
4845 set_has_extendee();
4846 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4847 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.extendee)
4848 }
set_extendee(const char * value,size_t size)4849 inline void FieldDescriptorProto::set_extendee(const char* value, size_t size) {
4850 set_has_extendee();
4851 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4852 ::std::string(reinterpret_cast<const char*>(value), size));
4853 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.extendee)
4854 }
mutable_extendee()4855 inline ::std::string* FieldDescriptorProto::mutable_extendee() {
4856 set_has_extendee();
4857 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.extendee)
4858 return extendee_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4859 }
release_extendee()4860 inline ::std::string* FieldDescriptorProto::release_extendee() {
4861 // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.extendee)
4862 clear_has_extendee();
4863 return extendee_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4864 }
set_allocated_extendee(::std::string * extendee)4865 inline void FieldDescriptorProto::set_allocated_extendee(::std::string* extendee) {
4866 if (extendee != NULL) {
4867 set_has_extendee();
4868 } else {
4869 clear_has_extendee();
4870 }
4871 extendee_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), extendee);
4872 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.extendee)
4873 }
4874
4875 // optional string default_value = 7;
has_default_value()4876 inline bool FieldDescriptorProto::has_default_value() const {
4877 return (_has_bits_[0] & 0x00000040u) != 0;
4878 }
set_has_default_value()4879 inline void FieldDescriptorProto::set_has_default_value() {
4880 _has_bits_[0] |= 0x00000040u;
4881 }
clear_has_default_value()4882 inline void FieldDescriptorProto::clear_has_default_value() {
4883 _has_bits_[0] &= ~0x00000040u;
4884 }
clear_default_value()4885 inline void FieldDescriptorProto::clear_default_value() {
4886 default_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4887 clear_has_default_value();
4888 }
default_value()4889 inline const ::std::string& FieldDescriptorProto::default_value() const {
4890 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.default_value)
4891 return default_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4892 }
set_default_value(const::std::string & value)4893 inline void FieldDescriptorProto::set_default_value(const ::std::string& value) {
4894 set_has_default_value();
4895 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4896 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.default_value)
4897 }
set_default_value(const char * value)4898 inline void FieldDescriptorProto::set_default_value(const char* value) {
4899 set_has_default_value();
4900 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4901 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.default_value)
4902 }
set_default_value(const char * value,size_t size)4903 inline void FieldDescriptorProto::set_default_value(const char* value, size_t size) {
4904 set_has_default_value();
4905 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4906 ::std::string(reinterpret_cast<const char*>(value), size));
4907 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.default_value)
4908 }
mutable_default_value()4909