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