1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/descriptor.proto
4 #ifndef PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED
5 #define PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 2006000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 2006001 < 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.
22 #include <google/protobuf/generated_message_util.h>
23 #include <google/protobuf/message.h>
24 #include <google/protobuf/repeated_field.h>
25 #include <google/protobuf/extension_set.h>
26 #include <google/protobuf/generated_enum_reflection.h>
27 #include <google/protobuf/unknown_field_set.h>
28 // @@protoc_insertion_point(includes)
33 // Internal implementation detail -- do not call these.
34 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
35 void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
36 void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
38 class FileDescriptorSet;
39 class FileDescriptorProto;
40 class DescriptorProto;
41 class DescriptorProto_ExtensionRange;
42 class FieldDescriptorProto;
43 class OneofDescriptorProto;
44 class EnumDescriptorProto;
45 class EnumValueDescriptorProto;
46 class ServiceDescriptorProto;
47 class MethodDescriptorProto;
52 class EnumValueOptions;
55 class UninterpretedOption;
56 class UninterpretedOption_NamePart;
58 class SourceCodeInfo_Location;
60 enum FieldDescriptorProto_Type {
61 FieldDescriptorProto_Type_TYPE_DOUBLE = 1,
62 FieldDescriptorProto_Type_TYPE_FLOAT = 2,
63 FieldDescriptorProto_Type_TYPE_INT64 = 3,
64 FieldDescriptorProto_Type_TYPE_UINT64 = 4,
65 FieldDescriptorProto_Type_TYPE_INT32 = 5,
66 FieldDescriptorProto_Type_TYPE_FIXED64 = 6,
67 FieldDescriptorProto_Type_TYPE_FIXED32 = 7,
68 FieldDescriptorProto_Type_TYPE_BOOL = 8,
69 FieldDescriptorProto_Type_TYPE_STRING = 9,
70 FieldDescriptorProto_Type_TYPE_GROUP = 10,
71 FieldDescriptorProto_Type_TYPE_MESSAGE = 11,
72 FieldDescriptorProto_Type_TYPE_BYTES = 12,
73 FieldDescriptorProto_Type_TYPE_UINT32 = 13,
74 FieldDescriptorProto_Type_TYPE_ENUM = 14,
75 FieldDescriptorProto_Type_TYPE_SFIXED32 = 15,
76 FieldDescriptorProto_Type_TYPE_SFIXED64 = 16,
77 FieldDescriptorProto_Type_TYPE_SINT32 = 17,
78 FieldDescriptorProto_Type_TYPE_SINT64 = 18
80 LIBPROTOBUF_EXPORT bool FieldDescriptorProto_Type_IsValid(int value);
81 const FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MIN = FieldDescriptorProto_Type_TYPE_DOUBLE;
82 const FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MAX = FieldDescriptorProto_Type_TYPE_SINT64;
83 const int FieldDescriptorProto_Type_Type_ARRAYSIZE = FieldDescriptorProto_Type_Type_MAX + 1;
85 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Type_descriptor();
86 inline const ::std::string& FieldDescriptorProto_Type_Name(FieldDescriptorProto_Type value) {
87 return ::google::protobuf::internal::NameOfEnum(
88 FieldDescriptorProto_Type_descriptor(), value);
90 inline bool FieldDescriptorProto_Type_Parse(
91 const ::std::string& name, FieldDescriptorProto_Type* value) {
92 return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Type>(
93 FieldDescriptorProto_Type_descriptor(), name, value);
95 enum FieldDescriptorProto_Label {
96 FieldDescriptorProto_Label_LABEL_OPTIONAL = 1,
97 FieldDescriptorProto_Label_LABEL_REQUIRED = 2,
98 FieldDescriptorProto_Label_LABEL_REPEATED = 3
100 LIBPROTOBUF_EXPORT bool FieldDescriptorProto_Label_IsValid(int value);
101 const FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN = FieldDescriptorProto_Label_LABEL_OPTIONAL;
102 const FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX = FieldDescriptorProto_Label_LABEL_REPEATED;
103 const int FieldDescriptorProto_Label_Label_ARRAYSIZE = FieldDescriptorProto_Label_Label_MAX + 1;
105 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Label_descriptor();
106 inline const ::std::string& FieldDescriptorProto_Label_Name(FieldDescriptorProto_Label value) {
107 return ::google::protobuf::internal::NameOfEnum(
108 FieldDescriptorProto_Label_descriptor(), value);
110 inline bool FieldDescriptorProto_Label_Parse(
111 const ::std::string& name, FieldDescriptorProto_Label* value) {
112 return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Label>(
113 FieldDescriptorProto_Label_descriptor(), name, value);
115 enum FileOptions_OptimizeMode {
116 FileOptions_OptimizeMode_SPEED = 1,
117 FileOptions_OptimizeMode_CODE_SIZE = 2,
118 FileOptions_OptimizeMode_LITE_RUNTIME = 3
120 LIBPROTOBUF_EXPORT bool FileOptions_OptimizeMode_IsValid(int value);
121 const FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MIN = FileOptions_OptimizeMode_SPEED;
122 const FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MAX = FileOptions_OptimizeMode_LITE_RUNTIME;
123 const int FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE = FileOptions_OptimizeMode_OptimizeMode_MAX + 1;
125 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FileOptions_OptimizeMode_descriptor();
126 inline const ::std::string& FileOptions_OptimizeMode_Name(FileOptions_OptimizeMode value) {
127 return ::google::protobuf::internal::NameOfEnum(
128 FileOptions_OptimizeMode_descriptor(), value);
130 inline bool FileOptions_OptimizeMode_Parse(
131 const ::std::string& name, FileOptions_OptimizeMode* value) {
132 return ::google::protobuf::internal::ParseNamedEnum<FileOptions_OptimizeMode>(
133 FileOptions_OptimizeMode_descriptor(), name, value);
135 enum FieldOptions_CType {
136 FieldOptions_CType_STRING = 0,
137 FieldOptions_CType_CORD = 1,
138 FieldOptions_CType_STRING_PIECE = 2
140 LIBPROTOBUF_EXPORT bool FieldOptions_CType_IsValid(int value);
141 const FieldOptions_CType FieldOptions_CType_CType_MIN = FieldOptions_CType_STRING;
142 const FieldOptions_CType FieldOptions_CType_CType_MAX = FieldOptions_CType_STRING_PIECE;
143 const int FieldOptions_CType_CType_ARRAYSIZE = FieldOptions_CType_CType_MAX + 1;
145 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_CType_descriptor();
146 inline const ::std::string& FieldOptions_CType_Name(FieldOptions_CType value) {
147 return ::google::protobuf::internal::NameOfEnum(
148 FieldOptions_CType_descriptor(), value);
150 inline bool FieldOptions_CType_Parse(
151 const ::std::string& name, FieldOptions_CType* value) {
152 return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_CType>(
153 FieldOptions_CType_descriptor(), name, value);
155 // ===================================================================
157 class LIBPROTOBUF_EXPORT FileDescriptorSet : public ::google::protobuf::Message {
160 virtual ~FileDescriptorSet();
162 FileDescriptorSet(const FileDescriptorSet& from);
164 inline FileDescriptorSet& operator=(const FileDescriptorSet& from) {
169 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
170 return _unknown_fields_;
173 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
174 return &_unknown_fields_;
177 static const ::google::protobuf::Descriptor* descriptor();
178 static const FileDescriptorSet& default_instance();
180 void Swap(FileDescriptorSet* other);
182 // implements Message ----------------------------------------------
184 FileDescriptorSet* New() const;
185 void CopyFrom(const ::google::protobuf::Message& from);
186 void MergeFrom(const ::google::protobuf::Message& from);
187 void CopyFrom(const FileDescriptorSet& from);
188 void MergeFrom(const FileDescriptorSet& from);
190 bool IsInitialized() const;
192 int ByteSize() const;
193 bool MergePartialFromCodedStream(
194 ::google::protobuf::io::CodedInputStream* input);
195 void SerializeWithCachedSizes(
196 ::google::protobuf::io::CodedOutputStream* output) const;
197 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
198 int GetCachedSize() const { return _cached_size_; }
202 void SetCachedSize(int size) const;
204 ::google::protobuf::Metadata GetMetadata() const;
206 // nested types ----------------------------------------------------
208 // accessors -------------------------------------------------------
210 // repeated .google.protobuf.FileDescriptorProto file = 1;
211 inline int file_size() const;
212 inline void clear_file();
213 static const int kFileFieldNumber = 1;
214 inline const ::google::protobuf::FileDescriptorProto& file(int index) const;
215 inline ::google::protobuf::FileDescriptorProto* mutable_file(int index);
216 inline ::google::protobuf::FileDescriptorProto* add_file();
217 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
219 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
222 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet)
225 ::google::protobuf::UnknownFieldSet _unknown_fields_;
227 ::google::protobuf::uint32 _has_bits_[1];
228 mutable int _cached_size_;
229 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > file_;
230 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
231 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
232 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
234 void InitAsDefaultInstance();
235 static FileDescriptorSet* default_instance_;
237 // -------------------------------------------------------------------
239 class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Message {
241 FileDescriptorProto();
242 virtual ~FileDescriptorProto();
244 FileDescriptorProto(const FileDescriptorProto& from);
246 inline FileDescriptorProto& operator=(const FileDescriptorProto& from) {
251 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
252 return _unknown_fields_;
255 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
256 return &_unknown_fields_;
259 static const ::google::protobuf::Descriptor* descriptor();
260 static const FileDescriptorProto& default_instance();
262 void Swap(FileDescriptorProto* other);
264 // implements Message ----------------------------------------------
266 FileDescriptorProto* New() const;
267 void CopyFrom(const ::google::protobuf::Message& from);
268 void MergeFrom(const ::google::protobuf::Message& from);
269 void CopyFrom(const FileDescriptorProto& from);
270 void MergeFrom(const FileDescriptorProto& from);
272 bool IsInitialized() const;
274 int ByteSize() const;
275 bool MergePartialFromCodedStream(
276 ::google::protobuf::io::CodedInputStream* input);
277 void SerializeWithCachedSizes(
278 ::google::protobuf::io::CodedOutputStream* output) const;
279 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
280 int GetCachedSize() const { return _cached_size_; }
284 void SetCachedSize(int size) const;
286 ::google::protobuf::Metadata GetMetadata() const;
288 // nested types ----------------------------------------------------
290 // accessors -------------------------------------------------------
292 // optional string name = 1;
293 inline bool has_name() const;
294 inline void clear_name();
295 static const int kNameFieldNumber = 1;
296 inline const ::std::string& name() const;
297 inline void set_name(const ::std::string& value);
298 inline void set_name(const char* value);
299 inline void set_name(const char* value, size_t size);
300 inline ::std::string* mutable_name();
301 inline ::std::string* release_name();
302 inline void set_allocated_name(::std::string* name);
304 // optional string package = 2;
305 inline bool has_package() const;
306 inline void clear_package();
307 static const int kPackageFieldNumber = 2;
308 inline const ::std::string& package() const;
309 inline void set_package(const ::std::string& value);
310 inline void set_package(const char* value);
311 inline void set_package(const char* value, size_t size);
312 inline ::std::string* mutable_package();
313 inline ::std::string* release_package();
314 inline void set_allocated_package(::std::string* package);
316 // repeated string dependency = 3;
317 inline int dependency_size() const;
318 inline void clear_dependency();
319 static const int kDependencyFieldNumber = 3;
320 inline const ::std::string& dependency(int index) const;
321 inline ::std::string* mutable_dependency(int index);
322 inline void set_dependency(int index, const ::std::string& value);
323 inline void set_dependency(int index, const char* value);
324 inline void set_dependency(int index, const char* value, size_t size);
325 inline ::std::string* add_dependency();
326 inline void add_dependency(const ::std::string& value);
327 inline void add_dependency(const char* value);
328 inline void add_dependency(const char* value, size_t size);
329 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& dependency() const;
330 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_dependency();
332 // repeated int32 public_dependency = 10;
333 inline int public_dependency_size() const;
334 inline void clear_public_dependency();
335 static const int kPublicDependencyFieldNumber = 10;
336 inline ::google::protobuf::int32 public_dependency(int index) const;
337 inline void set_public_dependency(int index, ::google::protobuf::int32 value);
338 inline void add_public_dependency(::google::protobuf::int32 value);
339 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
340 public_dependency() const;
341 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
342 mutable_public_dependency();
344 // repeated int32 weak_dependency = 11;
345 inline int weak_dependency_size() const;
346 inline void clear_weak_dependency();
347 static const int kWeakDependencyFieldNumber = 11;
348 inline ::google::protobuf::int32 weak_dependency(int index) const;
349 inline void set_weak_dependency(int index, ::google::protobuf::int32 value);
350 inline void add_weak_dependency(::google::protobuf::int32 value);
351 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
352 weak_dependency() const;
353 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
354 mutable_weak_dependency();
356 // repeated .google.protobuf.DescriptorProto message_type = 4;
357 inline int message_type_size() const;
358 inline void clear_message_type();
359 static const int kMessageTypeFieldNumber = 4;
360 inline const ::google::protobuf::DescriptorProto& message_type(int index) const;
361 inline ::google::protobuf::DescriptorProto* mutable_message_type(int index);
362 inline ::google::protobuf::DescriptorProto* add_message_type();
363 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
364 message_type() const;
365 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
366 mutable_message_type();
368 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
369 inline int enum_type_size() const;
370 inline void clear_enum_type();
371 static const int kEnumTypeFieldNumber = 5;
372 inline const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const;
373 inline ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index);
374 inline ::google::protobuf::EnumDescriptorProto* add_enum_type();
375 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
377 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
380 // repeated .google.protobuf.ServiceDescriptorProto service = 6;
381 inline int service_size() const;
382 inline void clear_service();
383 static const int kServiceFieldNumber = 6;
384 inline const ::google::protobuf::ServiceDescriptorProto& service(int index) const;
385 inline ::google::protobuf::ServiceDescriptorProto* mutable_service(int index);
386 inline ::google::protobuf::ServiceDescriptorProto* add_service();
387 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >&
389 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >*
392 // repeated .google.protobuf.FieldDescriptorProto extension = 7;
393 inline int extension_size() const;
394 inline void clear_extension();
395 static const int kExtensionFieldNumber = 7;
396 inline const ::google::protobuf::FieldDescriptorProto& extension(int index) const;
397 inline ::google::protobuf::FieldDescriptorProto* mutable_extension(int index);
398 inline ::google::protobuf::FieldDescriptorProto* add_extension();
399 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
401 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
404 // optional .google.protobuf.FileOptions options = 8;
405 inline bool has_options() const;
406 inline void clear_options();
407 static const int kOptionsFieldNumber = 8;
408 inline const ::google::protobuf::FileOptions& options() const;
409 inline ::google::protobuf::FileOptions* mutable_options();
410 inline ::google::protobuf::FileOptions* release_options();
411 inline void set_allocated_options(::google::protobuf::FileOptions* options);
413 // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
414 inline bool has_source_code_info() const;
415 inline void clear_source_code_info();
416 static const int kSourceCodeInfoFieldNumber = 9;
417 inline const ::google::protobuf::SourceCodeInfo& source_code_info() const;
418 inline ::google::protobuf::SourceCodeInfo* mutable_source_code_info();
419 inline ::google::protobuf::SourceCodeInfo* release_source_code_info();
420 inline void set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* source_code_info);
422 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto)
424 inline void set_has_name();
425 inline void clear_has_name();
426 inline void set_has_package();
427 inline void clear_has_package();
428 inline void set_has_options();
429 inline void clear_has_options();
430 inline void set_has_source_code_info();
431 inline void clear_has_source_code_info();
433 ::google::protobuf::UnknownFieldSet _unknown_fields_;
435 ::google::protobuf::uint32 _has_bits_[1];
436 mutable int _cached_size_;
437 ::std::string* name_;
438 ::std::string* package_;
439 ::google::protobuf::RepeatedPtrField< ::std::string> dependency_;
440 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > public_dependency_;
441 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > weak_dependency_;
442 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > message_type_;
443 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_;
444 ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto > service_;
445 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_;
446 ::google::protobuf::FileOptions* options_;
447 ::google::protobuf::SourceCodeInfo* source_code_info_;
448 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
449 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
450 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
452 void InitAsDefaultInstance();
453 static FileDescriptorProto* default_instance_;
455 // -------------------------------------------------------------------
457 class LIBPROTOBUF_EXPORT DescriptorProto_ExtensionRange : public ::google::protobuf::Message {
459 DescriptorProto_ExtensionRange();
460 virtual ~DescriptorProto_ExtensionRange();
462 DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from);
464 inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) {
469 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
470 return _unknown_fields_;
473 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
474 return &_unknown_fields_;
477 static const ::google::protobuf::Descriptor* descriptor();
478 static const DescriptorProto_ExtensionRange& default_instance();
480 void Swap(DescriptorProto_ExtensionRange* other);
482 // implements Message ----------------------------------------------
484 DescriptorProto_ExtensionRange* New() const;
485 void CopyFrom(const ::google::protobuf::Message& from);
486 void MergeFrom(const ::google::protobuf::Message& from);
487 void CopyFrom(const DescriptorProto_ExtensionRange& from);
488 void MergeFrom(const DescriptorProto_ExtensionRange& from);
490 bool IsInitialized() const;
492 int ByteSize() const;
493 bool MergePartialFromCodedStream(
494 ::google::protobuf::io::CodedInputStream* input);
495 void SerializeWithCachedSizes(
496 ::google::protobuf::io::CodedOutputStream* output) const;
497 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
498 int GetCachedSize() const { return _cached_size_; }
502 void SetCachedSize(int size) const;
504 ::google::protobuf::Metadata GetMetadata() const;
506 // nested types ----------------------------------------------------
508 // accessors -------------------------------------------------------
510 // optional int32 start = 1;
511 inline bool has_start() const;
512 inline void clear_start();
513 static const int kStartFieldNumber = 1;
514 inline ::google::protobuf::int32 start() const;
515 inline void set_start(::google::protobuf::int32 value);
517 // optional int32 end = 2;
518 inline bool has_end() const;
519 inline void clear_end();
520 static const int kEndFieldNumber = 2;
521 inline ::google::protobuf::int32 end() const;
522 inline void set_end(::google::protobuf::int32 value);
524 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange)
526 inline void set_has_start();
527 inline void clear_has_start();
528 inline void set_has_end();
529 inline void clear_has_end();
531 ::google::protobuf::UnknownFieldSet _unknown_fields_;
533 ::google::protobuf::uint32 _has_bits_[1];
534 mutable int _cached_size_;
535 ::google::protobuf::int32 start_;
536 ::google::protobuf::int32 end_;
537 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
538 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
539 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
541 void InitAsDefaultInstance();
542 static DescriptorProto_ExtensionRange* default_instance_;
544 // -------------------------------------------------------------------
546 class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message {
549 virtual ~DescriptorProto();
551 DescriptorProto(const DescriptorProto& from);
553 inline DescriptorProto& operator=(const DescriptorProto& from) {
558 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
559 return _unknown_fields_;
562 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
563 return &_unknown_fields_;
566 static const ::google::protobuf::Descriptor* descriptor();
567 static const DescriptorProto& default_instance();
569 void Swap(DescriptorProto* other);
571 // implements Message ----------------------------------------------
573 DescriptorProto* New() const;
574 void CopyFrom(const ::google::protobuf::Message& from);
575 void MergeFrom(const ::google::protobuf::Message& from);
576 void CopyFrom(const DescriptorProto& from);
577 void MergeFrom(const DescriptorProto& from);
579 bool IsInitialized() const;
581 int ByteSize() const;
582 bool MergePartialFromCodedStream(
583 ::google::protobuf::io::CodedInputStream* input);
584 void SerializeWithCachedSizes(
585 ::google::protobuf::io::CodedOutputStream* output) const;
586 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
587 int GetCachedSize() const { return _cached_size_; }
591 void SetCachedSize(int size) const;
593 ::google::protobuf::Metadata GetMetadata() const;
595 // nested types ----------------------------------------------------
597 typedef DescriptorProto_ExtensionRange ExtensionRange;
599 // accessors -------------------------------------------------------
601 // optional string name = 1;
602 inline bool has_name() const;
603 inline void clear_name();
604 static const int kNameFieldNumber = 1;
605 inline const ::std::string& name() const;
606 inline void set_name(const ::std::string& value);
607 inline void set_name(const char* value);
608 inline void set_name(const char* value, size_t size);
609 inline ::std::string* mutable_name();
610 inline ::std::string* release_name();
611 inline void set_allocated_name(::std::string* name);
613 // repeated .google.protobuf.FieldDescriptorProto field = 2;
614 inline int field_size() const;
615 inline void clear_field();
616 static const int kFieldFieldNumber = 2;
617 inline const ::google::protobuf::FieldDescriptorProto& field(int index) const;
618 inline ::google::protobuf::FieldDescriptorProto* mutable_field(int index);
619 inline ::google::protobuf::FieldDescriptorProto* add_field();
620 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
622 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
625 // repeated .google.protobuf.FieldDescriptorProto extension = 6;
626 inline int extension_size() const;
627 inline void clear_extension();
628 static const int kExtensionFieldNumber = 6;
629 inline const ::google::protobuf::FieldDescriptorProto& extension(int index) const;
630 inline ::google::protobuf::FieldDescriptorProto* mutable_extension(int index);
631 inline ::google::protobuf::FieldDescriptorProto* add_extension();
632 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
634 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
637 // repeated .google.protobuf.DescriptorProto nested_type = 3;
638 inline int nested_type_size() const;
639 inline void clear_nested_type();
640 static const int kNestedTypeFieldNumber = 3;
641 inline const ::google::protobuf::DescriptorProto& nested_type(int index) const;
642 inline ::google::protobuf::DescriptorProto* mutable_nested_type(int index);
643 inline ::google::protobuf::DescriptorProto* add_nested_type();
644 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
646 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
647 mutable_nested_type();
649 // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
650 inline int enum_type_size() const;
651 inline void clear_enum_type();
652 static const int kEnumTypeFieldNumber = 4;
653 inline const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const;
654 inline ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index);
655 inline ::google::protobuf::EnumDescriptorProto* add_enum_type();
656 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
658 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
661 // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
662 inline int extension_range_size() const;
663 inline void clear_extension_range();
664 static const int kExtensionRangeFieldNumber = 5;
665 inline const ::google::protobuf::DescriptorProto_ExtensionRange& extension_range(int index) const;
666 inline ::google::protobuf::DescriptorProto_ExtensionRange* mutable_extension_range(int index);
667 inline ::google::protobuf::DescriptorProto_ExtensionRange* add_extension_range();
668 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >&
669 extension_range() const;
670 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >*
671 mutable_extension_range();
673 // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
674 inline int oneof_decl_size() const;
675 inline void clear_oneof_decl();
676 static const int kOneofDeclFieldNumber = 8;
677 inline const ::google::protobuf::OneofDescriptorProto& oneof_decl(int index) const;
678 inline ::google::protobuf::OneofDescriptorProto* mutable_oneof_decl(int index);
679 inline ::google::protobuf::OneofDescriptorProto* add_oneof_decl();
680 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >&
682 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >*
683 mutable_oneof_decl();
685 // optional .google.protobuf.MessageOptions options = 7;
686 inline bool has_options() const;
687 inline void clear_options();
688 static const int kOptionsFieldNumber = 7;
689 inline const ::google::protobuf::MessageOptions& options() const;
690 inline ::google::protobuf::MessageOptions* mutable_options();
691 inline ::google::protobuf::MessageOptions* release_options();
692 inline void set_allocated_options(::google::protobuf::MessageOptions* options);
694 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto)
696 inline void set_has_name();
697 inline void clear_has_name();
698 inline void set_has_options();
699 inline void clear_has_options();
701 ::google::protobuf::UnknownFieldSet _unknown_fields_;
703 ::google::protobuf::uint32 _has_bits_[1];
704 mutable int _cached_size_;
705 ::std::string* name_;
706 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_;
707 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_;
708 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > nested_type_;
709 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_;
710 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange > extension_range_;
711 ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > oneof_decl_;
712 ::google::protobuf::MessageOptions* options_;
713 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
714 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
715 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
717 void InitAsDefaultInstance();
718 static DescriptorProto* default_instance_;
720 // -------------------------------------------------------------------
722 class LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Message {
724 FieldDescriptorProto();
725 virtual ~FieldDescriptorProto();
727 FieldDescriptorProto(const FieldDescriptorProto& from);
729 inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) {
734 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
735 return _unknown_fields_;
738 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
739 return &_unknown_fields_;
742 static const ::google::protobuf::Descriptor* descriptor();
743 static const FieldDescriptorProto& default_instance();
745 void Swap(FieldDescriptorProto* other);
747 // implements Message ----------------------------------------------
749 FieldDescriptorProto* New() const;
750 void CopyFrom(const ::google::protobuf::Message& from);
751 void MergeFrom(const ::google::protobuf::Message& from);
752 void CopyFrom(const FieldDescriptorProto& from);
753 void MergeFrom(const FieldDescriptorProto& from);
755 bool IsInitialized() const;
757 int ByteSize() const;
758 bool MergePartialFromCodedStream(
759 ::google::protobuf::io::CodedInputStream* input);
760 void SerializeWithCachedSizes(
761 ::google::protobuf::io::CodedOutputStream* output) const;
762 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
763 int GetCachedSize() const { return _cached_size_; }
767 void SetCachedSize(int size) const;
769 ::google::protobuf::Metadata GetMetadata() const;
771 // nested types ----------------------------------------------------
773 typedef FieldDescriptorProto_Type Type;
774 static const Type TYPE_DOUBLE = FieldDescriptorProto_Type_TYPE_DOUBLE;
775 static const Type TYPE_FLOAT = FieldDescriptorProto_Type_TYPE_FLOAT;
776 static const Type TYPE_INT64 = FieldDescriptorProto_Type_TYPE_INT64;
777 static const Type TYPE_UINT64 = FieldDescriptorProto_Type_TYPE_UINT64;
778 static const Type TYPE_INT32 = FieldDescriptorProto_Type_TYPE_INT32;
779 static const Type TYPE_FIXED64 = FieldDescriptorProto_Type_TYPE_FIXED64;
780 static const Type TYPE_FIXED32 = FieldDescriptorProto_Type_TYPE_FIXED32;
781 static const Type TYPE_BOOL = FieldDescriptorProto_Type_TYPE_BOOL;
782 static const Type TYPE_STRING = FieldDescriptorProto_Type_TYPE_STRING;
783 static const Type TYPE_GROUP = FieldDescriptorProto_Type_TYPE_GROUP;
784 static const Type TYPE_MESSAGE = FieldDescriptorProto_Type_TYPE_MESSAGE;
785 static const Type TYPE_BYTES = FieldDescriptorProto_Type_TYPE_BYTES;
786 static const Type TYPE_UINT32 = FieldDescriptorProto_Type_TYPE_UINT32;
787 static const Type TYPE_ENUM = FieldDescriptorProto_Type_TYPE_ENUM;
788 static const Type TYPE_SFIXED32 = FieldDescriptorProto_Type_TYPE_SFIXED32;
789 static const Type TYPE_SFIXED64 = FieldDescriptorProto_Type_TYPE_SFIXED64;
790 static const Type TYPE_SINT32 = FieldDescriptorProto_Type_TYPE_SINT32;
791 static const Type TYPE_SINT64 = FieldDescriptorProto_Type_TYPE_SINT64;
792 static inline bool Type_IsValid(int value) {
793 return FieldDescriptorProto_Type_IsValid(value);
795 static const Type Type_MIN =
796 FieldDescriptorProto_Type_Type_MIN;
797 static const Type Type_MAX =
798 FieldDescriptorProto_Type_Type_MAX;
799 static const int Type_ARRAYSIZE =
800 FieldDescriptorProto_Type_Type_ARRAYSIZE;
801 static inline const ::google::protobuf::EnumDescriptor*
803 return FieldDescriptorProto_Type_descriptor();
805 static inline const ::std::string& Type_Name(Type value) {
806 return FieldDescriptorProto_Type_Name(value);
808 static inline bool Type_Parse(const ::std::string& name,
810 return FieldDescriptorProto_Type_Parse(name, value);
813 typedef FieldDescriptorProto_Label Label;
814 static const Label LABEL_OPTIONAL = FieldDescriptorProto_Label_LABEL_OPTIONAL;
815 static const Label LABEL_REQUIRED = FieldDescriptorProto_Label_LABEL_REQUIRED;
816 static const Label LABEL_REPEATED = FieldDescriptorProto_Label_LABEL_REPEATED;
817 static inline bool Label_IsValid(int value) {
818 return FieldDescriptorProto_Label_IsValid(value);
820 static const Label Label_MIN =
821 FieldDescriptorProto_Label_Label_MIN;
822 static const Label Label_MAX =
823 FieldDescriptorProto_Label_Label_MAX;
824 static const int Label_ARRAYSIZE =
825 FieldDescriptorProto_Label_Label_ARRAYSIZE;
826 static inline const ::google::protobuf::EnumDescriptor*
828 return FieldDescriptorProto_Label_descriptor();
830 static inline const ::std::string& Label_Name(Label value) {
831 return FieldDescriptorProto_Label_Name(value);
833 static inline bool Label_Parse(const ::std::string& name,
835 return FieldDescriptorProto_Label_Parse(name, value);
838 // accessors -------------------------------------------------------
840 // optional string name = 1;
841 inline bool has_name() const;
842 inline void clear_name();
843 static const int kNameFieldNumber = 1;
844 inline const ::std::string& name() const;
845 inline void set_name(const ::std::string& value);
846 inline void set_name(const char* value);
847 inline void set_name(const char* value, size_t size);
848 inline ::std::string* mutable_name();
849 inline ::std::string* release_name();
850 inline void set_allocated_name(::std::string* name);
852 // optional int32 number = 3;
853 inline bool has_number() const;
854 inline void clear_number();
855 static const int kNumberFieldNumber = 3;
856 inline ::google::protobuf::int32 number() const;
857 inline void set_number(::google::protobuf::int32 value);
859 // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
860 inline bool has_label() const;
861 inline void clear_label();
862 static const int kLabelFieldNumber = 4;
863 inline ::google::protobuf::FieldDescriptorProto_Label label() const;
864 inline void set_label(::google::protobuf::FieldDescriptorProto_Label value);
866 // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
867 inline bool has_type() const;
868 inline void clear_type();
869 static const int kTypeFieldNumber = 5;
870 inline ::google::protobuf::FieldDescriptorProto_Type type() const;
871 inline void set_type(::google::protobuf::FieldDescriptorProto_Type value);
873 // optional string type_name = 6;
874 inline bool has_type_name() const;
875 inline void clear_type_name();
876 static const int kTypeNameFieldNumber = 6;
877 inline const ::std::string& type_name() const;
878 inline void set_type_name(const ::std::string& value);
879 inline void set_type_name(const char* value);
880 inline void set_type_name(const char* value, size_t size);
881 inline ::std::string* mutable_type_name();
882 inline ::std::string* release_type_name();
883 inline void set_allocated_type_name(::std::string* type_name);
885 // optional string extendee = 2;
886 inline bool has_extendee() const;
887 inline void clear_extendee();
888 static const int kExtendeeFieldNumber = 2;
889 inline const ::std::string& extendee() const;
890 inline void set_extendee(const ::std::string& value);
891 inline void set_extendee(const char* value);
892 inline void set_extendee(const char* value, size_t size);
893 inline ::std::string* mutable_extendee();
894 inline ::std::string* release_extendee();
895 inline void set_allocated_extendee(::std::string* extendee);
897 // optional string default_value = 7;
898 inline bool has_default_value() const;
899 inline void clear_default_value();
900 static const int kDefaultValueFieldNumber = 7;
901 inline const ::std::string& default_value() const;
902 inline void set_default_value(const ::std::string& value);
903 inline void set_default_value(const char* value);
904 inline void set_default_value(const char* value, size_t size);
905 inline ::std::string* mutable_default_value();
906 inline ::std::string* release_default_value();
907 inline void set_allocated_default_value(::std::string* default_value);
909 // optional int32 oneof_index = 9;
910 inline bool has_oneof_index() const;
911 inline void clear_oneof_index();
912 static const int kOneofIndexFieldNumber = 9;
913 inline ::google::protobuf::int32 oneof_index() const;
914 inline void set_oneof_index(::google::protobuf::int32 value);
916 // optional .google.protobuf.FieldOptions options = 8;
917 inline bool has_options() const;
918 inline void clear_options();
919 static const int kOptionsFieldNumber = 8;
920 inline const ::google::protobuf::FieldOptions& options() const;
921 inline ::google::protobuf::FieldOptions* mutable_options();
922 inline ::google::protobuf::FieldOptions* release_options();
923 inline void set_allocated_options(::google::protobuf::FieldOptions* options);
925 // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto)
927 inline void set_has_name();
928 inline void clear_has_name();
929 inline void set_has_number();
930 inline void clear_has_number();
931 inline void set_has_label();
932 inline void clear_has_label();
933 inline void set_has_type();
934 inline void clear_has_type();
935 inline void set_has_type_name();
936 inline void clear_has_type_name();
937 inline void set_has_extendee();
938 inline void clear_has_extendee();
939 inline void set_has_default_value();
940 inline void clear_has_default_value();
941 inline void set_has_oneof_index();
942 inline void clear_has_oneof_index();
943 inline void set_has_options();
944 inline void clear_has_options();
946 ::google::protobuf::UnknownFieldSet _unknown_fields_;
948 ::google::protobuf::uint32 _has_bits_[1];
949 mutable int _cached_size_;
950 ::std::string* name_;
951 ::google::protobuf::int32 number_;
953 ::std::string* type_name_;
954 ::std::string* extendee_;
956 ::google::protobuf::int32 oneof_index_;
957 ::std::string* default_value_;
958 ::google::protobuf::FieldOptions* options_;
959 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
960 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
961 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
963 void InitAsDefaultInstance();
964 static FieldDescriptorProto* default_instance_;
966 // -------------------------------------------------------------------
968 class LIBPROTOBUF_EXPORT OneofDescriptorProto : public ::google::protobuf::Message {
970 OneofDescriptorProto();
971 virtual ~OneofDescriptorProto();
973 OneofDescriptorProto(const OneofDescriptorProto& from);
975 inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) {
980 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
981 return _unknown_fields_;
984 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
985 return &_unknown_fields_;
988 static const ::google::protobuf::Descriptor* descriptor();
989 static const OneofDescriptorProto& default_instance();
991 void Swap(OneofDescriptorProto* other);
993 // implements Message ----------------------------------------------
995 OneofDescriptorProto* New() const;
996 void CopyFrom(const ::google::protobuf::Message& from);
997 void MergeFrom(const ::google::protobuf::Message& from);
998 void CopyFrom(const OneofDescriptorProto& from);
999 void MergeFrom(const OneofDescriptorProto& from);
1001 bool IsInitialized() const;
1003 int ByteSize() const;
1004 bool MergePartialFromCodedStream(
1005 ::google::protobuf::io::CodedInputStream* input);
1006 void SerializeWithCachedSizes(
1007 ::google::protobuf::io::CodedOutputStream* output) const;
1008 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1009 int GetCachedSize() const { return _cached_size_; }
1013 void SetCachedSize(int size) const;
1015 ::google::protobuf::Metadata GetMetadata() const;
1017 // nested types ----------------------------------------------------
1019 // accessors -------------------------------------------------------
1021 // optional string name = 1;
1022 inline bool has_name() const;
1023 inline void clear_name();
1024 static const int kNameFieldNumber = 1;
1025 inline const ::std::string& name() const;
1026 inline void set_name(const ::std::string& value);
1027 inline void set_name(const char* value);
1028 inline void set_name(const char* value, size_t size);
1029 inline ::std::string* mutable_name();
1030 inline ::std::string* release_name();
1031 inline void set_allocated_name(::std::string* name);
1033 // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto)
1035 inline void set_has_name();
1036 inline void clear_has_name();
1038 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1040 ::google::protobuf::uint32 _has_bits_[1];
1041 mutable int _cached_size_;
1042 ::std::string* name_;
1043 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
1044 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1045 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1047 void InitAsDefaultInstance();
1048 static OneofDescriptorProto* default_instance_;
1050 // -------------------------------------------------------------------
1052 class LIBPROTOBUF_EXPORT EnumDescriptorProto : public ::google::protobuf::Message {
1054 EnumDescriptorProto();
1055 virtual ~EnumDescriptorProto();
1057 EnumDescriptorProto(const EnumDescriptorProto& from);
1059 inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) {
1064 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1065 return _unknown_fields_;
1068 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1069 return &_unknown_fields_;
1072 static const ::google::protobuf::Descriptor* descriptor();
1073 static const EnumDescriptorProto& default_instance();
1075 void Swap(EnumDescriptorProto* other);
1077 // implements Message ----------------------------------------------
1079 EnumDescriptorProto* New() const;
1080 void CopyFrom(const ::google::protobuf::Message& from);
1081 void MergeFrom(const ::google::protobuf::Message& from);
1082 void CopyFrom(const EnumDescriptorProto& from);
1083 void MergeFrom(const EnumDescriptorProto& from);
1085 bool IsInitialized() const;
1087 int ByteSize() const;
1088 bool MergePartialFromCodedStream(
1089 ::google::protobuf::io::CodedInputStream* input);
1090 void SerializeWithCachedSizes(
1091 ::google::protobuf::io::CodedOutputStream* output) const;
1092 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1093 int GetCachedSize() const { return _cached_size_; }
1097 void SetCachedSize(int size) const;
1099 ::google::protobuf::Metadata GetMetadata() const;
1101 // nested types ----------------------------------------------------
1103 // accessors -------------------------------------------------------
1105 // optional string name = 1;
1106 inline bool has_name() const;
1107 inline void clear_name();
1108 static const int kNameFieldNumber = 1;
1109 inline const ::std::string& name() const;
1110 inline void set_name(const ::std::string& value);
1111 inline void set_name(const char* value);
1112 inline void set_name(const char* value, size_t size);
1113 inline ::std::string* mutable_name();
1114 inline ::std::string* release_name();
1115 inline void set_allocated_name(::std::string* name);
1117 // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
1118 inline int value_size() const;
1119 inline void clear_value();
1120 static const int kValueFieldNumber = 2;
1121 inline const ::google::protobuf::EnumValueDescriptorProto& value(int index) const;
1122 inline ::google::protobuf::EnumValueDescriptorProto* mutable_value(int index);
1123 inline ::google::protobuf::EnumValueDescriptorProto* add_value();
1124 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >&
1126 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >*
1129 // optional .google.protobuf.EnumOptions options = 3;
1130 inline bool has_options() const;
1131 inline void clear_options();
1132 static const int kOptionsFieldNumber = 3;
1133 inline const ::google::protobuf::EnumOptions& options() const;
1134 inline ::google::protobuf::EnumOptions* mutable_options();
1135 inline ::google::protobuf::EnumOptions* release_options();
1136 inline void set_allocated_options(::google::protobuf::EnumOptions* options);
1138 // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto)
1140 inline void set_has_name();
1141 inline void clear_has_name();
1142 inline void set_has_options();
1143 inline void clear_has_options();
1145 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1147 ::google::protobuf::uint32 _has_bits_[1];
1148 mutable int _cached_size_;
1149 ::std::string* name_;
1150 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto > value_;
1151 ::google::protobuf::EnumOptions* options_;
1152 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
1153 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1154 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1156 void InitAsDefaultInstance();
1157 static EnumDescriptorProto* default_instance_;
1159 // -------------------------------------------------------------------
1161 class LIBPROTOBUF_EXPORT EnumValueDescriptorProto : public ::google::protobuf::Message {
1163 EnumValueDescriptorProto();
1164 virtual ~EnumValueDescriptorProto();
1166 EnumValueDescriptorProto(const EnumValueDescriptorProto& from);
1168 inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) {
1173 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1174 return _unknown_fields_;
1177 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1178 return &_unknown_fields_;
1181 static const ::google::protobuf::Descriptor* descriptor();
1182 static const EnumValueDescriptorProto& default_instance();
1184 void Swap(EnumValueDescriptorProto* other);
1186 // implements Message ----------------------------------------------
1188 EnumValueDescriptorProto* New() const;
1189 void CopyFrom(const ::google::protobuf::Message& from);
1190 void MergeFrom(const ::google::protobuf::Message& from);
1191 void CopyFrom(const EnumValueDescriptorProto& from);
1192 void MergeFrom(const EnumValueDescriptorProto& from);
1194 bool IsInitialized() const;
1196 int ByteSize() const;
1197 bool MergePartialFromCodedStream(
1198 ::google::protobuf::io::CodedInputStream* input);
1199 void SerializeWithCachedSizes(
1200 ::google::protobuf::io::CodedOutputStream* output) const;
1201 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1202 int GetCachedSize() const { return _cached_size_; }
1206 void SetCachedSize(int size) const;
1208 ::google::protobuf::Metadata GetMetadata() const;
1210 // nested types ----------------------------------------------------
1212 // accessors -------------------------------------------------------
1214 // optional string name = 1;
1215 inline bool has_name() const;
1216 inline void clear_name();
1217 static const int kNameFieldNumber = 1;
1218 inline const ::std::string& name() const;
1219 inline void set_name(const ::std::string& value);
1220 inline void set_name(const char* value);
1221 inline void set_name(const char* value, size_t size);
1222 inline ::std::string* mutable_name();
1223 inline ::std::string* release_name();
1224 inline void set_allocated_name(::std::string* name);
1226 // optional int32 number = 2;
1227 inline bool has_number() const;
1228 inline void clear_number();
1229 static const int kNumberFieldNumber = 2;
1230 inline ::google::protobuf::int32 number() const;
1231 inline void set_number(::google::protobuf::int32 value);
1233 // optional .google.protobuf.EnumValueOptions options = 3;
1234 inline bool has_options() const;
1235 inline void clear_options();
1236 static const int kOptionsFieldNumber = 3;
1237 inline const ::google::protobuf::EnumValueOptions& options() const;
1238 inline ::google::protobuf::EnumValueOptions* mutable_options();
1239 inline ::google::protobuf::EnumValueOptions* release_options();
1240 inline void set_allocated_options(::google::protobuf::EnumValueOptions* options);
1242 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto)
1244 inline void set_has_name();
1245 inline void clear_has_name();
1246 inline void set_has_number();
1247 inline void clear_has_number();
1248 inline void set_has_options();
1249 inline void clear_has_options();
1251 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1253 ::google::protobuf::uint32 _has_bits_[1];
1254 mutable int _cached_size_;
1255 ::std::string* name_;
1256 ::google::protobuf::EnumValueOptions* options_;
1257 ::google::protobuf::int32 number_;
1258 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
1259 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1260 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1262 void InitAsDefaultInstance();
1263 static EnumValueDescriptorProto* default_instance_;
1265 // -------------------------------------------------------------------
1267 class LIBPROTOBUF_EXPORT ServiceDescriptorProto : public ::google::protobuf::Message {
1269 ServiceDescriptorProto();
1270 virtual ~ServiceDescriptorProto();
1272 ServiceDescriptorProto(const ServiceDescriptorProto& from);
1274 inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) {
1279 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1280 return _unknown_fields_;
1283 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1284 return &_unknown_fields_;
1287 static const ::google::protobuf::Descriptor* descriptor();
1288 static const ServiceDescriptorProto& default_instance();
1290 void Swap(ServiceDescriptorProto* other);
1292 // implements Message ----------------------------------------------
1294 ServiceDescriptorProto* New() const;
1295 void CopyFrom(const ::google::protobuf::Message& from);
1296 void MergeFrom(const ::google::protobuf::Message& from);
1297 void CopyFrom(const ServiceDescriptorProto& from);
1298 void MergeFrom(const ServiceDescriptorProto& from);
1300 bool IsInitialized() const;
1302 int ByteSize() const;
1303 bool MergePartialFromCodedStream(
1304 ::google::protobuf::io::CodedInputStream* input);
1305 void SerializeWithCachedSizes(
1306 ::google::protobuf::io::CodedOutputStream* output) const;
1307 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1308 int GetCachedSize() const { return _cached_size_; }
1312 void SetCachedSize(int size) const;
1314 ::google::protobuf::Metadata GetMetadata() const;
1316 // nested types ----------------------------------------------------
1318 // accessors -------------------------------------------------------
1320 // optional string name = 1;
1321 inline bool has_name() const;
1322 inline void clear_name();
1323 static const int kNameFieldNumber = 1;
1324 inline const ::std::string& name() const;
1325 inline void set_name(const ::std::string& value);
1326 inline void set_name(const char* value);
1327 inline void set_name(const char* value, size_t size);
1328 inline ::std::string* mutable_name();
1329 inline ::std::string* release_name();
1330 inline void set_allocated_name(::std::string* name);
1332 // repeated .google.protobuf.MethodDescriptorProto method = 2;
1333 inline int method_size() const;
1334 inline void clear_method();
1335 static const int kMethodFieldNumber = 2;
1336 inline const ::google::protobuf::MethodDescriptorProto& method(int index) const;
1337 inline ::google::protobuf::MethodDescriptorProto* mutable_method(int index);
1338 inline ::google::protobuf::MethodDescriptorProto* add_method();
1339 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >&
1341 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >*
1344 // optional .google.protobuf.ServiceOptions options = 3;
1345 inline bool has_options() const;
1346 inline void clear_options();
1347 static const int kOptionsFieldNumber = 3;
1348 inline const ::google::protobuf::ServiceOptions& options() const;
1349 inline ::google::protobuf::ServiceOptions* mutable_options();
1350 inline ::google::protobuf::ServiceOptions* release_options();
1351 inline void set_allocated_options(::google::protobuf::ServiceOptions* options);
1353 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto)
1355 inline void set_has_name();
1356 inline void clear_has_name();
1357 inline void set_has_options();
1358 inline void clear_has_options();
1360 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1362 ::google::protobuf::uint32 _has_bits_[1];
1363 mutable int _cached_size_;
1364 ::std::string* name_;
1365 ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto > method_;
1366 ::google::protobuf::ServiceOptions* options_;
1367 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
1368 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1369 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1371 void InitAsDefaultInstance();
1372 static ServiceDescriptorProto* default_instance_;
1374 // -------------------------------------------------------------------
1376 class LIBPROTOBUF_EXPORT MethodDescriptorProto : public ::google::protobuf::Message {
1378 MethodDescriptorProto();
1379 virtual ~MethodDescriptorProto();
1381 MethodDescriptorProto(const MethodDescriptorProto& from);
1383 inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) {
1388 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1389 return _unknown_fields_;
1392 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1393 return &_unknown_fields_;
1396 static const ::google::protobuf::Descriptor* descriptor();
1397 static const MethodDescriptorProto& default_instance();
1399 void Swap(MethodDescriptorProto* other);
1401 // implements Message ----------------------------------------------
1403 MethodDescriptorProto* New() const;
1404 void CopyFrom(const ::google::protobuf::Message& from);
1405 void MergeFrom(const ::google::protobuf::Message& from);
1406 void CopyFrom(const MethodDescriptorProto& from);
1407 void MergeFrom(const MethodDescriptorProto& from);
1409 bool IsInitialized() const;
1411 int ByteSize() const;
1412 bool MergePartialFromCodedStream(
1413 ::google::protobuf::io::CodedInputStream* input);
1414 void SerializeWithCachedSizes(
1415 ::google::protobuf::io::CodedOutputStream* output) const;
1416 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1417 int GetCachedSize() const { return _cached_size_; }
1421 void SetCachedSize(int size) const;
1423 ::google::protobuf::Metadata GetMetadata() const;
1425 // nested types ----------------------------------------------------
1427 // accessors -------------------------------------------------------
1429 // optional string name = 1;
1430 inline bool has_name() const;
1431 inline void clear_name();
1432 static const int kNameFieldNumber = 1;
1433 inline const ::std::string& name() const;
1434 inline void set_name(const ::std::string& value);
1435 inline void set_name(const char* value);
1436 inline void set_name(const char* value, size_t size);
1437 inline ::std::string* mutable_name();
1438 inline ::std::string* release_name();
1439 inline void set_allocated_name(::std::string* name);
1441 // optional string input_type = 2;
1442 inline bool has_input_type() const;
1443 inline void clear_input_type();
1444 static const int kInputTypeFieldNumber = 2;
1445 inline const ::std::string& input_type() const;
1446 inline void set_input_type(const ::std::string& value);
1447 inline void set_input_type(const char* value);
1448 inline void set_input_type(const char* value, size_t size);
1449 inline ::std::string* mutable_input_type();
1450 inline ::std::string* release_input_type();
1451 inline void set_allocated_input_type(::std::string* input_type);
1453 // optional string output_type = 3;
1454 inline bool has_output_type() const;
1455 inline void clear_output_type();
1456 static const int kOutputTypeFieldNumber = 3;
1457 inline const ::std::string& output_type() const;
1458 inline void set_output_type(const ::std::string& value);
1459 inline void set_output_type(const char* value);
1460 inline void set_output_type(const char* value, size_t size);
1461 inline ::std::string* mutable_output_type();
1462 inline ::std::string* release_output_type();
1463 inline void set_allocated_output_type(::std::string* output_type);
1465 // optional .google.protobuf.MethodOptions options = 4;
1466 inline bool has_options() const;
1467 inline void clear_options();
1468 static const int kOptionsFieldNumber = 4;
1469 inline const ::google::protobuf::MethodOptions& options() const;
1470 inline ::google::protobuf::MethodOptions* mutable_options();
1471 inline ::google::protobuf::MethodOptions* release_options();
1472 inline void set_allocated_options(::google::protobuf::MethodOptions* options);
1474 // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto)
1476 inline void set_has_name();
1477 inline void clear_has_name();
1478 inline void set_has_input_type();
1479 inline void clear_has_input_type();
1480 inline void set_has_output_type();
1481 inline void clear_has_output_type();
1482 inline void set_has_options();
1483 inline void clear_has_options();
1485 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1487 ::google::protobuf::uint32 _has_bits_[1];
1488 mutable int _cached_size_;
1489 ::std::string* name_;
1490 ::std::string* input_type_;
1491 ::std::string* output_type_;
1492 ::google::protobuf::MethodOptions* options_;
1493 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
1494 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1495 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1497 void InitAsDefaultInstance();
1498 static MethodDescriptorProto* default_instance_;
1500 // -------------------------------------------------------------------
1502 class LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message {
1505 virtual ~FileOptions();
1507 FileOptions(const FileOptions& from);
1509 inline FileOptions& operator=(const FileOptions& from) {
1514 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1515 return _unknown_fields_;
1518 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1519 return &_unknown_fields_;
1522 static const ::google::protobuf::Descriptor* descriptor();
1523 static const FileOptions& default_instance();
1525 void Swap(FileOptions* other);
1527 // implements Message ----------------------------------------------
1529 FileOptions* New() const;
1530 void CopyFrom(const ::google::protobuf::Message& from);
1531 void MergeFrom(const ::google::protobuf::Message& from);
1532 void CopyFrom(const FileOptions& from);
1533 void MergeFrom(const FileOptions& from);
1535 bool IsInitialized() const;
1537 int ByteSize() const;
1538 bool MergePartialFromCodedStream(
1539 ::google::protobuf::io::CodedInputStream* input);
1540 void SerializeWithCachedSizes(
1541 ::google::protobuf::io::CodedOutputStream* output) const;
1542 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1543 int GetCachedSize() const { return _cached_size_; }
1547 void SetCachedSize(int size) const;
1549 ::google::protobuf::Metadata GetMetadata() const;
1551 // nested types ----------------------------------------------------
1553 typedef FileOptions_OptimizeMode OptimizeMode;
1554 static const OptimizeMode SPEED = FileOptions_OptimizeMode_SPEED;
1555 static const OptimizeMode CODE_SIZE = FileOptions_OptimizeMode_CODE_SIZE;
1556 static const OptimizeMode LITE_RUNTIME = FileOptions_OptimizeMode_LITE_RUNTIME;
1557 static inline bool OptimizeMode_IsValid(int value) {
1558 return FileOptions_OptimizeMode_IsValid(value);
1560 static const OptimizeMode OptimizeMode_MIN =
1561 FileOptions_OptimizeMode_OptimizeMode_MIN;
1562 static const OptimizeMode OptimizeMode_MAX =
1563 FileOptions_OptimizeMode_OptimizeMode_MAX;
1564 static const int OptimizeMode_ARRAYSIZE =
1565 FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE;
1566 static inline const ::google::protobuf::EnumDescriptor*
1567 OptimizeMode_descriptor() {
1568 return FileOptions_OptimizeMode_descriptor();
1570 static inline const ::std::string& OptimizeMode_Name(OptimizeMode value) {
1571 return FileOptions_OptimizeMode_Name(value);
1573 static inline bool OptimizeMode_Parse(const ::std::string& name,
1574 OptimizeMode* value) {
1575 return FileOptions_OptimizeMode_Parse(name, value);
1578 // accessors -------------------------------------------------------
1580 // optional string java_package = 1;
1581 inline bool has_java_package() const;
1582 inline void clear_java_package();
1583 static const int kJavaPackageFieldNumber = 1;
1584 inline const ::std::string& java_package() const;
1585 inline void set_java_package(const ::std::string& value);
1586 inline void set_java_package(const char* value);
1587 inline void set_java_package(const char* value, size_t size);
1588 inline ::std::string* mutable_java_package();
1589 inline ::std::string* release_java_package();
1590 inline void set_allocated_java_package(::std::string* java_package);
1592 // optional string java_outer_classname = 8;
1593 inline bool has_java_outer_classname() const;
1594 inline void clear_java_outer_classname();
1595 static const int kJavaOuterClassnameFieldNumber = 8;
1596 inline const ::std::string& java_outer_classname() const;
1597 inline void set_java_outer_classname(const ::std::string& value);
1598 inline void set_java_outer_classname(const char* value);
1599 inline void set_java_outer_classname(const char* value, size_t size);
1600 inline ::std::string* mutable_java_outer_classname();
1601 inline ::std::string* release_java_outer_classname();
1602 inline void set_allocated_java_outer_classname(::std::string* java_outer_classname);
1604 // optional bool java_multiple_files = 10 [default = false];
1605 inline bool has_java_multiple_files() const;
1606 inline void clear_java_multiple_files();
1607 static const int kJavaMultipleFilesFieldNumber = 10;
1608 inline bool java_multiple_files() const;
1609 inline void set_java_multiple_files(bool value);
1611 // optional bool java_generate_equals_and_hash = 20 [default = false];
1612 inline bool has_java_generate_equals_and_hash() const;
1613 inline void clear_java_generate_equals_and_hash();
1614 static const int kJavaGenerateEqualsAndHashFieldNumber = 20;
1615 inline bool java_generate_equals_and_hash() const;
1616 inline void set_java_generate_equals_and_hash(bool value);
1618 // optional bool java_string_check_utf8 = 27 [default = false];
1619 inline bool has_java_string_check_utf8() const;
1620 inline void clear_java_string_check_utf8();
1621 static const int kJavaStringCheckUtf8FieldNumber = 27;
1622 inline bool java_string_check_utf8() const;
1623 inline void set_java_string_check_utf8(bool value);
1625 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
1626 inline bool has_optimize_for() const;
1627 inline void clear_optimize_for();
1628 static const int kOptimizeForFieldNumber = 9;
1629 inline ::google::protobuf::FileOptions_OptimizeMode optimize_for() const;
1630 inline void set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value);
1632 // optional string go_package = 11;
1633 inline bool has_go_package() const;
1634 inline void clear_go_package();
1635 static const int kGoPackageFieldNumber = 11;
1636 inline const ::std::string& go_package() const;
1637 inline void set_go_package(const ::std::string& value);
1638 inline void set_go_package(const char* value);
1639 inline void set_go_package(const char* value, size_t size);
1640 inline ::std::string* mutable_go_package();
1641 inline ::std::string* release_go_package();
1642 inline void set_allocated_go_package(::std::string* go_package);
1644 // optional bool cc_generic_services = 16 [default = false];
1645 inline bool has_cc_generic_services() const;
1646 inline void clear_cc_generic_services();
1647 static const int kCcGenericServicesFieldNumber = 16;
1648 inline bool cc_generic_services() const;
1649 inline void set_cc_generic_services(bool value);
1651 // optional bool java_generic_services = 17 [default = false];
1652 inline bool has_java_generic_services() const;
1653 inline void clear_java_generic_services();
1654 static const int kJavaGenericServicesFieldNumber = 17;
1655 inline bool java_generic_services() const;
1656 inline void set_java_generic_services(bool value);
1658 // optional bool py_generic_services = 18 [default = false];
1659 inline bool has_py_generic_services() const;
1660 inline void clear_py_generic_services();
1661 static const int kPyGenericServicesFieldNumber = 18;
1662 inline bool py_generic_services() const;
1663 inline void set_py_generic_services(bool value);
1665 // optional bool deprecated = 23 [default = false];
1666 inline bool has_deprecated() const;
1667 inline void clear_deprecated();
1668 static const int kDeprecatedFieldNumber = 23;
1669 inline bool deprecated() const;
1670 inline void set_deprecated(bool value);
1672 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
1673 inline int uninterpreted_option_size() const;
1674 inline void clear_uninterpreted_option();
1675 static const int kUninterpretedOptionFieldNumber = 999;
1676 inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
1677 inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
1678 inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
1679 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
1680 uninterpreted_option() const;
1681 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
1682 mutable_uninterpreted_option();
1684 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions)
1685 // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions)
1687 inline void set_has_java_package();
1688 inline void clear_has_java_package();
1689 inline void set_has_java_outer_classname();
1690 inline void clear_has_java_outer_classname();
1691 inline void set_has_java_multiple_files();
1692 inline void clear_has_java_multiple_files();
1693 inline void set_has_java_generate_equals_and_hash();
1694 inline void clear_has_java_generate_equals_and_hash();
1695 inline void set_has_java_string_check_utf8();
1696 inline void clear_has_java_string_check_utf8();
1697 inline void set_has_optimize_for();
1698 inline void clear_has_optimize_for();
1699 inline void set_has_go_package();
1700 inline void clear_has_go_package();
1701 inline void set_has_cc_generic_services();
1702 inline void clear_has_cc_generic_services();
1703 inline void set_has_java_generic_services();
1704 inline void clear_has_java_generic_services();
1705 inline void set_has_py_generic_services();
1706 inline void clear_has_py_generic_services();
1707 inline void set_has_deprecated();
1708 inline void clear_has_deprecated();
1710 ::google::protobuf::internal::ExtensionSet _extensions_;
1712 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1714 ::google::protobuf::uint32 _has_bits_[1];
1715 mutable int _cached_size_;
1716 ::std::string* java_package_;
1717 ::std::string* java_outer_classname_;
1718 bool java_multiple_files_;
1719 bool java_generate_equals_and_hash_;
1720 bool java_string_check_utf8_;
1721 bool cc_generic_services_;
1723 ::std::string* go_package_;
1724 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
1725 bool java_generic_services_;
1726 bool py_generic_services_;
1728 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
1729 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1730 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1732 void InitAsDefaultInstance();
1733 static FileOptions* default_instance_;
1735 // -------------------------------------------------------------------
1737 class LIBPROTOBUF_EXPORT MessageOptions : public ::google::protobuf::Message {
1740 virtual ~MessageOptions();
1742 MessageOptions(const MessageOptions& from);
1744 inline MessageOptions& operator=(const MessageOptions& from) {
1749 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1750 return _unknown_fields_;
1753 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1754 return &_unknown_fields_;
1757 static const ::google::protobuf::Descriptor* descriptor();
1758 static const MessageOptions& default_instance();
1760 void Swap(MessageOptions* other);
1762 // implements Message ----------------------------------------------
1764 MessageOptions* New() const;
1765 void CopyFrom(const ::google::protobuf::Message& from);
1766 void MergeFrom(const ::google::protobuf::Message& from);
1767 void CopyFrom(const MessageOptions& from);
1768 void MergeFrom(const MessageOptions& from);
1770 bool IsInitialized() const;
1772 int ByteSize() const;
1773 bool MergePartialFromCodedStream(
1774 ::google::protobuf::io::CodedInputStream* input);
1775 void SerializeWithCachedSizes(
1776 ::google::protobuf::io::CodedOutputStream* output) const;
1777 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1778 int GetCachedSize() const { return _cached_size_; }
1782 void SetCachedSize(int size) const;
1784 ::google::protobuf::Metadata GetMetadata() const;
1786 // nested types ----------------------------------------------------
1788 // accessors -------------------------------------------------------
1790 // optional bool message_set_wire_format = 1 [default = false];
1791 inline bool has_message_set_wire_format() const;
1792 inline void clear_message_set_wire_format();
1793 static const int kMessageSetWireFormatFieldNumber = 1;
1794 inline bool message_set_wire_format() const;
1795 inline void set_message_set_wire_format(bool value);
1797 // optional bool no_standard_descriptor_accessor = 2 [default = false];
1798 inline bool has_no_standard_descriptor_accessor() const;
1799 inline void clear_no_standard_descriptor_accessor();
1800 static const int kNoStandardDescriptorAccessorFieldNumber = 2;
1801 inline bool no_standard_descriptor_accessor() const;
1802 inline void set_no_standard_descriptor_accessor(bool value);
1804 // optional bool deprecated = 3 [default = false];
1805 inline bool has_deprecated() const;
1806 inline void clear_deprecated();
1807 static const int kDeprecatedFieldNumber = 3;
1808 inline bool deprecated() const;
1809 inline void set_deprecated(bool value);
1811 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
1812 inline int uninterpreted_option_size() const;
1813 inline void clear_uninterpreted_option();
1814 static const int kUninterpretedOptionFieldNumber = 999;
1815 inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
1816 inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
1817 inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
1818 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
1819 uninterpreted_option() const;
1820 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
1821 mutable_uninterpreted_option();
1823 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions)
1824 // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions)
1826 inline void set_has_message_set_wire_format();
1827 inline void clear_has_message_set_wire_format();
1828 inline void set_has_no_standard_descriptor_accessor();
1829 inline void clear_has_no_standard_descriptor_accessor();
1830 inline void set_has_deprecated();
1831 inline void clear_has_deprecated();
1833 ::google::protobuf::internal::ExtensionSet _extensions_;
1835 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1837 ::google::protobuf::uint32 _has_bits_[1];
1838 mutable int _cached_size_;
1839 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
1840 bool message_set_wire_format_;
1841 bool no_standard_descriptor_accessor_;
1843 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
1844 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1845 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1847 void InitAsDefaultInstance();
1848 static MessageOptions* default_instance_;
1850 // -------------------------------------------------------------------
1852 class LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message {
1855 virtual ~FieldOptions();
1857 FieldOptions(const FieldOptions& from);
1859 inline FieldOptions& operator=(const FieldOptions& from) {
1864 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1865 return _unknown_fields_;
1868 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1869 return &_unknown_fields_;
1872 static const ::google::protobuf::Descriptor* descriptor();
1873 static const FieldOptions& default_instance();
1875 void Swap(FieldOptions* other);
1877 // implements Message ----------------------------------------------
1879 FieldOptions* New() const;
1880 void CopyFrom(const ::google::protobuf::Message& from);
1881 void MergeFrom(const ::google::protobuf::Message& from);
1882 void CopyFrom(const FieldOptions& from);
1883 void MergeFrom(const FieldOptions& from);
1885 bool IsInitialized() const;
1887 int ByteSize() const;
1888 bool MergePartialFromCodedStream(
1889 ::google::protobuf::io::CodedInputStream* input);
1890 void SerializeWithCachedSizes(
1891 ::google::protobuf::io::CodedOutputStream* output) const;
1892 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1893 int GetCachedSize() const { return _cached_size_; }
1897 void SetCachedSize(int size) const;
1899 ::google::protobuf::Metadata GetMetadata() const;
1901 // nested types ----------------------------------------------------
1903 typedef FieldOptions_CType CType;
1904 static const CType STRING = FieldOptions_CType_STRING;
1905 static const CType CORD = FieldOptions_CType_CORD;
1906 static const CType STRING_PIECE = FieldOptions_CType_STRING_PIECE;
1907 static inline bool CType_IsValid(int value) {
1908 return FieldOptions_CType_IsValid(value);
1910 static const CType CType_MIN =
1911 FieldOptions_CType_CType_MIN;
1912 static const CType CType_MAX =
1913 FieldOptions_CType_CType_MAX;
1914 static const int CType_ARRAYSIZE =
1915 FieldOptions_CType_CType_ARRAYSIZE;
1916 static inline const ::google::protobuf::EnumDescriptor*
1917 CType_descriptor() {
1918 return FieldOptions_CType_descriptor();
1920 static inline const ::std::string& CType_Name(CType value) {
1921 return FieldOptions_CType_Name(value);
1923 static inline bool CType_Parse(const ::std::string& name,
1925 return FieldOptions_CType_Parse(name, value);
1928 // accessors -------------------------------------------------------
1930 // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
1931 inline bool has_ctype() const;
1932 inline void clear_ctype();
1933 static const int kCtypeFieldNumber = 1;
1934 inline ::google::protobuf::FieldOptions_CType ctype() const;
1935 inline void set_ctype(::google::protobuf::FieldOptions_CType value);
1937 // optional bool packed = 2;
1938 inline bool has_packed() const;
1939 inline void clear_packed();
1940 static const int kPackedFieldNumber = 2;
1941 inline bool packed() const;
1942 inline void set_packed(bool value);
1944 // optional bool lazy = 5 [default = false];
1945 inline bool has_lazy() const;
1946 inline void clear_lazy();
1947 static const int kLazyFieldNumber = 5;
1948 inline bool lazy() const;
1949 inline void set_lazy(bool value);
1951 // optional bool deprecated = 3 [default = false];
1952 inline bool has_deprecated() const;
1953 inline void clear_deprecated();
1954 static const int kDeprecatedFieldNumber = 3;
1955 inline bool deprecated() const;
1956 inline void set_deprecated(bool value);
1958 // optional string experimental_map_key = 9;
1959 inline bool has_experimental_map_key() const;
1960 inline void clear_experimental_map_key();
1961 static const int kExperimentalMapKeyFieldNumber = 9;
1962 inline const ::std::string& experimental_map_key() const;
1963 inline void set_experimental_map_key(const ::std::string& value);
1964 inline void set_experimental_map_key(const char* value);
1965 inline void set_experimental_map_key(const char* value, size_t size);
1966 inline ::std::string* mutable_experimental_map_key();
1967 inline ::std::string* release_experimental_map_key();
1968 inline void set_allocated_experimental_map_key(::std::string* experimental_map_key);
1970 // optional bool weak = 10 [default = false];
1971 inline bool has_weak() const;
1972 inline void clear_weak();
1973 static const int kWeakFieldNumber = 10;
1974 inline bool weak() const;
1975 inline void set_weak(bool value);
1977 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
1978 inline int uninterpreted_option_size() const;
1979 inline void clear_uninterpreted_option();
1980 static const int kUninterpretedOptionFieldNumber = 999;
1981 inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
1982 inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
1983 inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
1984 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
1985 uninterpreted_option() const;
1986 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
1987 mutable_uninterpreted_option();
1989 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions)
1990 // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions)
1992 inline void set_has_ctype();
1993 inline void clear_has_ctype();
1994 inline void set_has_packed();
1995 inline void clear_has_packed();
1996 inline void set_has_lazy();
1997 inline void clear_has_lazy();
1998 inline void set_has_deprecated();
1999 inline void clear_has_deprecated();
2000 inline void set_has_experimental_map_key();
2001 inline void clear_has_experimental_map_key();
2002 inline void set_has_weak();
2003 inline void clear_has_weak();
2005 ::google::protobuf::internal::ExtensionSet _extensions_;
2007 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2009 ::google::protobuf::uint32 _has_bits_[1];
2010 mutable int _cached_size_;
2016 ::std::string* experimental_map_key_;
2017 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2018 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2019 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2020 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2022 void InitAsDefaultInstance();
2023 static FieldOptions* default_instance_;
2025 // -------------------------------------------------------------------
2027 class LIBPROTOBUF_EXPORT EnumOptions : public ::google::protobuf::Message {
2030 virtual ~EnumOptions();
2032 EnumOptions(const EnumOptions& from);
2034 inline EnumOptions& operator=(const EnumOptions& from) {
2039 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2040 return _unknown_fields_;
2043 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2044 return &_unknown_fields_;
2047 static const ::google::protobuf::Descriptor* descriptor();
2048 static const EnumOptions& default_instance();
2050 void Swap(EnumOptions* other);
2052 // implements Message ----------------------------------------------
2054 EnumOptions* New() const;
2055 void CopyFrom(const ::google::protobuf::Message& from);
2056 void MergeFrom(const ::google::protobuf::Message& from);
2057 void CopyFrom(const EnumOptions& from);
2058 void MergeFrom(const EnumOptions& from);
2060 bool IsInitialized() const;
2062 int ByteSize() const;
2063 bool MergePartialFromCodedStream(
2064 ::google::protobuf::io::CodedInputStream* input);
2065 void SerializeWithCachedSizes(
2066 ::google::protobuf::io::CodedOutputStream* output) const;
2067 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2068 int GetCachedSize() const { return _cached_size_; }
2072 void SetCachedSize(int size) const;
2074 ::google::protobuf::Metadata GetMetadata() const;
2076 // nested types ----------------------------------------------------
2078 // accessors -------------------------------------------------------
2080 // optional bool allow_alias = 2;
2081 inline bool has_allow_alias() const;
2082 inline void clear_allow_alias();
2083 static const int kAllowAliasFieldNumber = 2;
2084 inline bool allow_alias() const;
2085 inline void set_allow_alias(bool value);
2087 // optional bool deprecated = 3 [default = false];
2088 inline bool has_deprecated() const;
2089 inline void clear_deprecated();
2090 static const int kDeprecatedFieldNumber = 3;
2091 inline bool deprecated() const;
2092 inline void set_deprecated(bool value);
2094 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2095 inline int uninterpreted_option_size() const;
2096 inline void clear_uninterpreted_option();
2097 static const int kUninterpretedOptionFieldNumber = 999;
2098 inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2099 inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
2100 inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2101 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
2102 uninterpreted_option() const;
2103 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2104 mutable_uninterpreted_option();
2106 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions)
2107 // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions)
2109 inline void set_has_allow_alias();
2110 inline void clear_has_allow_alias();
2111 inline void set_has_deprecated();
2112 inline void clear_has_deprecated();
2114 ::google::protobuf::internal::ExtensionSet _extensions_;
2116 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2118 ::google::protobuf::uint32 _has_bits_[1];
2119 mutable int _cached_size_;
2120 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2123 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2124 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2125 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2127 void InitAsDefaultInstance();
2128 static EnumOptions* default_instance_;
2130 // -------------------------------------------------------------------
2132 class LIBPROTOBUF_EXPORT EnumValueOptions : public ::google::protobuf::Message {
2135 virtual ~EnumValueOptions();
2137 EnumValueOptions(const EnumValueOptions& from);
2139 inline EnumValueOptions& operator=(const EnumValueOptions& from) {
2144 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2145 return _unknown_fields_;
2148 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2149 return &_unknown_fields_;
2152 static const ::google::protobuf::Descriptor* descriptor();
2153 static const EnumValueOptions& default_instance();
2155 void Swap(EnumValueOptions* other);
2157 // implements Message ----------------------------------------------
2159 EnumValueOptions* New() const;
2160 void CopyFrom(const ::google::protobuf::Message& from);
2161 void MergeFrom(const ::google::protobuf::Message& from);
2162 void CopyFrom(const EnumValueOptions& from);
2163 void MergeFrom(const EnumValueOptions& from);
2165 bool IsInitialized() const;
2167 int ByteSize() const;
2168 bool MergePartialFromCodedStream(
2169 ::google::protobuf::io::CodedInputStream* input);
2170 void SerializeWithCachedSizes(
2171 ::google::protobuf::io::CodedOutputStream* output) const;
2172 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2173 int GetCachedSize() const { return _cached_size_; }
2177 void SetCachedSize(int size) const;
2179 ::google::protobuf::Metadata GetMetadata() const;
2181 // nested types ----------------------------------------------------
2183 // accessors -------------------------------------------------------
2185 // optional bool deprecated = 1 [default = false];
2186 inline bool has_deprecated() const;
2187 inline void clear_deprecated();
2188 static const int kDeprecatedFieldNumber = 1;
2189 inline bool deprecated() const;
2190 inline void set_deprecated(bool value);
2192 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2193 inline int uninterpreted_option_size() const;
2194 inline void clear_uninterpreted_option();
2195 static const int kUninterpretedOptionFieldNumber = 999;
2196 inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2197 inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
2198 inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2199 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
2200 uninterpreted_option() const;
2201 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2202 mutable_uninterpreted_option();
2204 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions)
2205 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions)
2207 inline void set_has_deprecated();
2208 inline void clear_has_deprecated();
2210 ::google::protobuf::internal::ExtensionSet _extensions_;
2212 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2214 ::google::protobuf::uint32 _has_bits_[1];
2215 mutable int _cached_size_;
2216 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2218 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2219 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2220 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2222 void InitAsDefaultInstance();
2223 static EnumValueOptions* default_instance_;
2225 // -------------------------------------------------------------------
2227 class LIBPROTOBUF_EXPORT ServiceOptions : public ::google::protobuf::Message {
2230 virtual ~ServiceOptions();
2232 ServiceOptions(const ServiceOptions& from);
2234 inline ServiceOptions& operator=(const ServiceOptions& from) {
2239 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2240 return _unknown_fields_;
2243 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2244 return &_unknown_fields_;
2247 static const ::google::protobuf::Descriptor* descriptor();
2248 static const ServiceOptions& default_instance();
2250 void Swap(ServiceOptions* other);
2252 // implements Message ----------------------------------------------
2254 ServiceOptions* New() const;
2255 void CopyFrom(const ::google::protobuf::Message& from);
2256 void MergeFrom(const ::google::protobuf::Message& from);
2257 void CopyFrom(const ServiceOptions& from);
2258 void MergeFrom(const ServiceOptions& from);
2260 bool IsInitialized() const;
2262 int ByteSize() const;
2263 bool MergePartialFromCodedStream(
2264 ::google::protobuf::io::CodedInputStream* input);
2265 void SerializeWithCachedSizes(
2266 ::google::protobuf::io::CodedOutputStream* output) const;
2267 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2268 int GetCachedSize() const { return _cached_size_; }
2272 void SetCachedSize(int size) const;
2274 ::google::protobuf::Metadata GetMetadata() const;
2276 // nested types ----------------------------------------------------
2278 // accessors -------------------------------------------------------
2280 // optional bool deprecated = 33 [default = false];
2281 inline bool has_deprecated() const;
2282 inline void clear_deprecated();
2283 static const int kDeprecatedFieldNumber = 33;
2284 inline bool deprecated() const;
2285 inline void set_deprecated(bool value);
2287 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2288 inline int uninterpreted_option_size() const;
2289 inline void clear_uninterpreted_option();
2290 static const int kUninterpretedOptionFieldNumber = 999;
2291 inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2292 inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
2293 inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2294 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
2295 uninterpreted_option() const;
2296 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2297 mutable_uninterpreted_option();
2299 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions)
2300 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions)
2302 inline void set_has_deprecated();
2303 inline void clear_has_deprecated();
2305 ::google::protobuf::internal::ExtensionSet _extensions_;
2307 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2309 ::google::protobuf::uint32 _has_bits_[1];
2310 mutable int _cached_size_;
2311 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2313 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2314 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2315 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2317 void InitAsDefaultInstance();
2318 static ServiceOptions* default_instance_;
2320 // -------------------------------------------------------------------
2322 class LIBPROTOBUF_EXPORT MethodOptions : public ::google::protobuf::Message {
2325 virtual ~MethodOptions();
2327 MethodOptions(const MethodOptions& from);
2329 inline MethodOptions& operator=(const MethodOptions& from) {
2334 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2335 return _unknown_fields_;
2338 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2339 return &_unknown_fields_;
2342 static const ::google::protobuf::Descriptor* descriptor();
2343 static const MethodOptions& default_instance();
2345 void Swap(MethodOptions* other);
2347 // implements Message ----------------------------------------------
2349 MethodOptions* New() const;
2350 void CopyFrom(const ::google::protobuf::Message& from);
2351 void MergeFrom(const ::google::protobuf::Message& from);
2352 void CopyFrom(const MethodOptions& from);
2353 void MergeFrom(const MethodOptions& from);
2355 bool IsInitialized() const;
2357 int ByteSize() const;
2358 bool MergePartialFromCodedStream(
2359 ::google::protobuf::io::CodedInputStream* input);
2360 void SerializeWithCachedSizes(
2361 ::google::protobuf::io::CodedOutputStream* output) const;
2362 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2363 int GetCachedSize() const { return _cached_size_; }
2367 void SetCachedSize(int size) const;
2369 ::google::protobuf::Metadata GetMetadata() const;
2371 // nested types ----------------------------------------------------
2373 // accessors -------------------------------------------------------
2375 // optional bool deprecated = 33 [default = false];
2376 inline bool has_deprecated() const;
2377 inline void clear_deprecated();
2378 static const int kDeprecatedFieldNumber = 33;
2379 inline bool deprecated() const;
2380 inline void set_deprecated(bool value);
2382 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2383 inline int uninterpreted_option_size() const;
2384 inline void clear_uninterpreted_option();
2385 static const int kUninterpretedOptionFieldNumber = 999;
2386 inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2387 inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
2388 inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2389 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
2390 uninterpreted_option() const;
2391 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2392 mutable_uninterpreted_option();
2394 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions)
2395 // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions)
2397 inline void set_has_deprecated();
2398 inline void clear_has_deprecated();
2400 ::google::protobuf::internal::ExtensionSet _extensions_;
2402 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2404 ::google::protobuf::uint32 _has_bits_[1];
2405 mutable int _cached_size_;
2406 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2408 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2409 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2410 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2412 void InitAsDefaultInstance();
2413 static MethodOptions* default_instance_;
2415 // -------------------------------------------------------------------
2417 class LIBPROTOBUF_EXPORT UninterpretedOption_NamePart : public ::google::protobuf::Message {
2419 UninterpretedOption_NamePart();
2420 virtual ~UninterpretedOption_NamePart();
2422 UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from);
2424 inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NamePart& from) {
2429 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2430 return _unknown_fields_;
2433 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2434 return &_unknown_fields_;
2437 static const ::google::protobuf::Descriptor* descriptor();
2438 static const UninterpretedOption_NamePart& default_instance();
2440 void Swap(UninterpretedOption_NamePart* other);
2442 // implements Message ----------------------------------------------
2444 UninterpretedOption_NamePart* New() const;
2445 void CopyFrom(const ::google::protobuf::Message& from);
2446 void MergeFrom(const ::google::protobuf::Message& from);
2447 void CopyFrom(const UninterpretedOption_NamePart& from);
2448 void MergeFrom(const UninterpretedOption_NamePart& from);
2450 bool IsInitialized() const;
2452 int ByteSize() const;
2453 bool MergePartialFromCodedStream(
2454 ::google::protobuf::io::CodedInputStream* input);
2455 void SerializeWithCachedSizes(
2456 ::google::protobuf::io::CodedOutputStream* output) const;
2457 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2458 int GetCachedSize() const { return _cached_size_; }
2462 void SetCachedSize(int size) const;
2464 ::google::protobuf::Metadata GetMetadata() const;
2466 // nested types ----------------------------------------------------
2468 // accessors -------------------------------------------------------
2470 // required string name_part = 1;
2471 inline bool has_name_part() const;
2472 inline void clear_name_part();
2473 static const int kNamePartFieldNumber = 1;
2474 inline const ::std::string& name_part() const;
2475 inline void set_name_part(const ::std::string& value);
2476 inline void set_name_part(const char* value);
2477 inline void set_name_part(const char* value, size_t size);
2478 inline ::std::string* mutable_name_part();
2479 inline ::std::string* release_name_part();
2480 inline void set_allocated_name_part(::std::string* name_part);
2482 // required bool is_extension = 2;
2483 inline bool has_is_extension() const;
2484 inline void clear_is_extension();
2485 static const int kIsExtensionFieldNumber = 2;
2486 inline bool is_extension() const;
2487 inline void set_is_extension(bool value);
2489 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart)
2491 inline void set_has_name_part();
2492 inline void clear_has_name_part();
2493 inline void set_has_is_extension();
2494 inline void clear_has_is_extension();
2496 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2498 ::google::protobuf::uint32 _has_bits_[1];
2499 mutable int _cached_size_;
2500 ::std::string* name_part_;
2502 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2503 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2504 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2506 void InitAsDefaultInstance();
2507 static UninterpretedOption_NamePart* default_instance_;
2509 // -------------------------------------------------------------------
2511 class LIBPROTOBUF_EXPORT UninterpretedOption : public ::google::protobuf::Message {
2513 UninterpretedOption();
2514 virtual ~UninterpretedOption();
2516 UninterpretedOption(const UninterpretedOption& from);
2518 inline UninterpretedOption& operator=(const UninterpretedOption& from) {
2523 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2524 return _unknown_fields_;
2527 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2528 return &_unknown_fields_;
2531 static const ::google::protobuf::Descriptor* descriptor();
2532 static const UninterpretedOption& default_instance();
2534 void Swap(UninterpretedOption* other);
2536 // implements Message ----------------------------------------------
2538 UninterpretedOption* New() const;
2539 void CopyFrom(const ::google::protobuf::Message& from);
2540 void MergeFrom(const ::google::protobuf::Message& from);
2541 void CopyFrom(const UninterpretedOption& from);
2542 void MergeFrom(const UninterpretedOption& from);
2544 bool IsInitialized() const;
2546 int ByteSize() const;
2547 bool MergePartialFromCodedStream(
2548 ::google::protobuf::io::CodedInputStream* input);
2549 void SerializeWithCachedSizes(
2550 ::google::protobuf::io::CodedOutputStream* output) const;
2551 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2552 int GetCachedSize() const { return _cached_size_; }
2556 void SetCachedSize(int size) const;
2558 ::google::protobuf::Metadata GetMetadata() const;
2560 // nested types ----------------------------------------------------
2562 typedef UninterpretedOption_NamePart NamePart;
2564 // accessors -------------------------------------------------------
2566 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
2567 inline int name_size() const;
2568 inline void clear_name();
2569 static const int kNameFieldNumber = 2;
2570 inline const ::google::protobuf::UninterpretedOption_NamePart& name(int index) const;
2571 inline ::google::protobuf::UninterpretedOption_NamePart* mutable_name(int index);
2572 inline ::google::protobuf::UninterpretedOption_NamePart* add_name();
2573 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >&
2575 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >*
2578 // optional string identifier_value = 3;
2579 inline bool has_identifier_value() const;
2580 inline void clear_identifier_value();
2581 static const int kIdentifierValueFieldNumber = 3;
2582 inline const ::std::string& identifier_value() const;
2583 inline void set_identifier_value(const ::std::string& value);
2584 inline void set_identifier_value(const char* value);
2585 inline void set_identifier_value(const char* value, size_t size);
2586 inline ::std::string* mutable_identifier_value();
2587 inline ::std::string* release_identifier_value();
2588 inline void set_allocated_identifier_value(::std::string* identifier_value);
2590 // optional uint64 positive_int_value = 4;
2591 inline bool has_positive_int_value() const;
2592 inline void clear_positive_int_value();
2593 static const int kPositiveIntValueFieldNumber = 4;
2594 inline ::google::protobuf::uint64 positive_int_value() const;
2595 inline void set_positive_int_value(::google::protobuf::uint64 value);
2597 // optional int64 negative_int_value = 5;
2598 inline bool has_negative_int_value() const;
2599 inline void clear_negative_int_value();
2600 static const int kNegativeIntValueFieldNumber = 5;
2601 inline ::google::protobuf::int64 negative_int_value() const;
2602 inline void set_negative_int_value(::google::protobuf::int64 value);
2604 // optional double double_value = 6;
2605 inline bool has_double_value() const;
2606 inline void clear_double_value();
2607 static const int kDoubleValueFieldNumber = 6;
2608 inline double double_value() const;
2609 inline void set_double_value(double value);
2611 // optional bytes string_value = 7;
2612 inline bool has_string_value() const;
2613 inline void clear_string_value();
2614 static const int kStringValueFieldNumber = 7;
2615 inline const ::std::string& string_value() const;
2616 inline void set_string_value(const ::std::string& value);
2617 inline void set_string_value(const char* value);
2618 inline void set_string_value(const void* value, size_t size);
2619 inline ::std::string* mutable_string_value();
2620 inline ::std::string* release_string_value();
2621 inline void set_allocated_string_value(::std::string* string_value);
2623 // optional string aggregate_value = 8;
2624 inline bool has_aggregate_value() const;
2625 inline void clear_aggregate_value();
2626 static const int kAggregateValueFieldNumber = 8;
2627 inline const ::std::string& aggregate_value() const;
2628 inline void set_aggregate_value(const ::std::string& value);
2629 inline void set_aggregate_value(const char* value);
2630 inline void set_aggregate_value(const char* value, size_t size);
2631 inline ::std::string* mutable_aggregate_value();
2632 inline ::std::string* release_aggregate_value();
2633 inline void set_allocated_aggregate_value(::std::string* aggregate_value);
2635 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption)
2637 inline void set_has_identifier_value();
2638 inline void clear_has_identifier_value();
2639 inline void set_has_positive_int_value();
2640 inline void clear_has_positive_int_value();
2641 inline void set_has_negative_int_value();
2642 inline void clear_has_negative_int_value();
2643 inline void set_has_double_value();
2644 inline void clear_has_double_value();
2645 inline void set_has_string_value();
2646 inline void clear_has_string_value();
2647 inline void set_has_aggregate_value();
2648 inline void clear_has_aggregate_value();
2650 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2652 ::google::protobuf::uint32 _has_bits_[1];
2653 mutable int _cached_size_;
2654 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart > name_;
2655 ::std::string* identifier_value_;
2656 ::google::protobuf::uint64 positive_int_value_;
2657 ::google::protobuf::int64 negative_int_value_;
2658 double double_value_;
2659 ::std::string* string_value_;
2660 ::std::string* aggregate_value_;
2661 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2662 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2663 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2665 void InitAsDefaultInstance();
2666 static UninterpretedOption* default_instance_;
2668 // -------------------------------------------------------------------
2670 class LIBPROTOBUF_EXPORT SourceCodeInfo_Location : public ::google::protobuf::Message {
2672 SourceCodeInfo_Location();
2673 virtual ~SourceCodeInfo_Location();
2675 SourceCodeInfo_Location(const SourceCodeInfo_Location& from);
2677 inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) {
2682 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2683 return _unknown_fields_;
2686 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2687 return &_unknown_fields_;
2690 static const ::google::protobuf::Descriptor* descriptor();
2691 static const SourceCodeInfo_Location& default_instance();
2693 void Swap(SourceCodeInfo_Location* other);
2695 // implements Message ----------------------------------------------
2697 SourceCodeInfo_Location* New() const;
2698 void CopyFrom(const ::google::protobuf::Message& from);
2699 void MergeFrom(const ::google::protobuf::Message& from);
2700 void CopyFrom(const SourceCodeInfo_Location& from);
2701 void MergeFrom(const SourceCodeInfo_Location& from);
2703 bool IsInitialized() const;
2705 int ByteSize() const;
2706 bool MergePartialFromCodedStream(
2707 ::google::protobuf::io::CodedInputStream* input);
2708 void SerializeWithCachedSizes(
2709 ::google::protobuf::io::CodedOutputStream* output) const;
2710 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2711 int GetCachedSize() const { return _cached_size_; }
2715 void SetCachedSize(int size) const;
2717 ::google::protobuf::Metadata GetMetadata() const;
2719 // nested types ----------------------------------------------------
2721 // accessors -------------------------------------------------------
2723 // repeated int32 path = 1 [packed = true];
2724 inline int path_size() const;
2725 inline void clear_path();
2726 static const int kPathFieldNumber = 1;
2727 inline ::google::protobuf::int32 path(int index) const;
2728 inline void set_path(int index, ::google::protobuf::int32 value);
2729 inline void add_path(::google::protobuf::int32 value);
2730 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
2732 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
2735 // repeated int32 span = 2 [packed = true];
2736 inline int span_size() const;
2737 inline void clear_span();
2738 static const int kSpanFieldNumber = 2;
2739 inline ::google::protobuf::int32 span(int index) const;
2740 inline void set_span(int index, ::google::protobuf::int32 value);
2741 inline void add_span(::google::protobuf::int32 value);
2742 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
2744 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
2747 // optional string leading_comments = 3;
2748 inline bool has_leading_comments() const;
2749 inline void clear_leading_comments();
2750 static const int kLeadingCommentsFieldNumber = 3;
2751 inline const ::std::string& leading_comments() const;
2752 inline void set_leading_comments(const ::std::string& value);
2753 inline void set_leading_comments(const char* value);
2754 inline void set_leading_comments(const char* value, size_t size);
2755 inline ::std::string* mutable_leading_comments();
2756 inline ::std::string* release_leading_comments();
2757 inline void set_allocated_leading_comments(::std::string* leading_comments);
2759 // optional string trailing_comments = 4;
2760 inline bool has_trailing_comments() const;
2761 inline void clear_trailing_comments();
2762 static const int kTrailingCommentsFieldNumber = 4;
2763 inline const ::std::string& trailing_comments() const;
2764 inline void set_trailing_comments(const ::std::string& value);
2765 inline void set_trailing_comments(const char* value);
2766 inline void set_trailing_comments(const char* value, size_t size);
2767 inline ::std::string* mutable_trailing_comments();
2768 inline ::std::string* release_trailing_comments();
2769 inline void set_allocated_trailing_comments(::std::string* trailing_comments);
2771 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location)
2773 inline void set_has_leading_comments();
2774 inline void clear_has_leading_comments();
2775 inline void set_has_trailing_comments();
2776 inline void clear_has_trailing_comments();
2778 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2780 ::google::protobuf::uint32 _has_bits_[1];
2781 mutable int _cached_size_;
2782 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_;
2783 mutable int _path_cached_byte_size_;
2784 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > span_;
2785 mutable int _span_cached_byte_size_;
2786 ::std::string* leading_comments_;
2787 ::std::string* trailing_comments_;
2788 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2789 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2790 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2792 void InitAsDefaultInstance();
2793 static SourceCodeInfo_Location* default_instance_;
2795 // -------------------------------------------------------------------
2797 class LIBPROTOBUF_EXPORT SourceCodeInfo : public ::google::protobuf::Message {
2800 virtual ~SourceCodeInfo();
2802 SourceCodeInfo(const SourceCodeInfo& from);
2804 inline SourceCodeInfo& operator=(const SourceCodeInfo& from) {
2809 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2810 return _unknown_fields_;
2813 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2814 return &_unknown_fields_;
2817 static const ::google::protobuf::Descriptor* descriptor();
2818 static const SourceCodeInfo& default_instance();
2820 void Swap(SourceCodeInfo* other);
2822 // implements Message ----------------------------------------------
2824 SourceCodeInfo* New() const;
2825 void CopyFrom(const ::google::protobuf::Message& from);
2826 void MergeFrom(const ::google::protobuf::Message& from);
2827 void CopyFrom(const SourceCodeInfo& from);
2828 void MergeFrom(const SourceCodeInfo& from);
2830 bool IsInitialized() const;
2832 int ByteSize() const;
2833 bool MergePartialFromCodedStream(
2834 ::google::protobuf::io::CodedInputStream* input);
2835 void SerializeWithCachedSizes(
2836 ::google::protobuf::io::CodedOutputStream* output) const;
2837 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2838 int GetCachedSize() const { return _cached_size_; }
2842 void SetCachedSize(int size) const;
2844 ::google::protobuf::Metadata GetMetadata() const;
2846 // nested types ----------------------------------------------------
2848 typedef SourceCodeInfo_Location Location;
2850 // accessors -------------------------------------------------------
2852 // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
2853 inline int location_size() const;
2854 inline void clear_location();
2855 static const int kLocationFieldNumber = 1;
2856 inline const ::google::protobuf::SourceCodeInfo_Location& location(int index) const;
2857 inline ::google::protobuf::SourceCodeInfo_Location* mutable_location(int index);
2858 inline ::google::protobuf::SourceCodeInfo_Location* add_location();
2859 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >&
2861 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >*
2864 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo)
2867 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2869 ::google::protobuf::uint32 _has_bits_[1];
2870 mutable int _cached_size_;
2871 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location > location_;
2872 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2873 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2874 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2876 void InitAsDefaultInstance();
2877 static SourceCodeInfo* default_instance_;
2879 // ===================================================================
2882 // ===================================================================
2884 // FileDescriptorSet
2886 // repeated .google.protobuf.FileDescriptorProto file = 1;
2887 inline int FileDescriptorSet::file_size() const {
2888 return file_.size();
2890 inline void FileDescriptorSet::clear_file() {
2893 inline const ::google::protobuf::FileDescriptorProto& FileDescriptorSet::file(int index) const {
2894 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorSet.file)
2895 return file_.Get(index);
2897 inline ::google::protobuf::FileDescriptorProto* FileDescriptorSet::mutable_file(int index) {
2898 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorSet.file)
2899 return file_.Mutable(index);
2901 inline ::google::protobuf::FileDescriptorProto* FileDescriptorSet::add_file() {
2902 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorSet.file)
2905 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
2906 FileDescriptorSet::file() const {
2907 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorSet.file)
2910 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
2911 FileDescriptorSet::mutable_file() {
2912 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorSet.file)
2916 // -------------------------------------------------------------------
2918 // FileDescriptorProto
2920 // optional string name = 1;
2921 inline bool FileDescriptorProto::has_name() const {
2922 return (_has_bits_[0] & 0x00000001u) != 0;
2924 inline void FileDescriptorProto::set_has_name() {
2925 _has_bits_[0] |= 0x00000001u;
2927 inline void FileDescriptorProto::clear_has_name() {
2928 _has_bits_[0] &= ~0x00000001u;
2930 inline void FileDescriptorProto::clear_name() {
2931 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2936 inline const ::std::string& FileDescriptorProto::name() const {
2937 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name)
2940 inline void FileDescriptorProto::set_name(const ::std::string& value) {
2942 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2943 name_ = new ::std::string;
2945 name_->assign(value);
2946 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name)
2948 inline void FileDescriptorProto::set_name(const char* value) {
2950 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2951 name_ = new ::std::string;
2953 name_->assign(value);
2954 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.name)
2956 inline void FileDescriptorProto::set_name(const char* value, size_t size) {
2958 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2959 name_ = new ::std::string;
2961 name_->assign(reinterpret_cast<const char*>(value), size);
2962 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.name)
2964 inline ::std::string* FileDescriptorProto::mutable_name() {
2966 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2967 name_ = new ::std::string;
2969 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.name)
2972 inline ::std::string* FileDescriptorProto::release_name() {
2974 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2977 ::std::string* temp = name_;
2978 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2982 inline void FileDescriptorProto::set_allocated_name(::std::string* name) {
2983 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2991 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2993 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.name)
2996 // optional string package = 2;
2997 inline bool FileDescriptorProto::has_package() const {
2998 return (_has_bits_[0] & 0x00000002u) != 0;
3000 inline void FileDescriptorProto::set_has_package() {
3001 _has_bits_[0] |= 0x00000002u;
3003 inline void FileDescriptorProto::clear_has_package() {
3004 _has_bits_[0] &= ~0x00000002u;
3006 inline void FileDescriptorProto::clear_package() {
3007 if (package_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3010 clear_has_package();
3012 inline const ::std::string& FileDescriptorProto::package() const {
3013 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.package)
3016 inline void FileDescriptorProto::set_package(const ::std::string& value) {
3018 if (package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3019 package_ = new ::std::string;
3021 package_->assign(value);
3022 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.package)
3024 inline void FileDescriptorProto::set_package(const char* value) {
3026 if (package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3027 package_ = new ::std::string;
3029 package_->assign(value);
3030 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.package)
3032 inline void FileDescriptorProto::set_package(const char* value, size_t size) {
3034 if (package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3035 package_ = new ::std::string;
3037 package_->assign(reinterpret_cast<const char*>(value), size);
3038 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.package)
3040 inline ::std::string* FileDescriptorProto::mutable_package() {
3042 if (package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3043 package_ = new ::std::string;
3045 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.package)
3048 inline ::std::string* FileDescriptorProto::release_package() {
3049 clear_has_package();
3050 if (package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3053 ::std::string* temp = package_;
3054 package_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3058 inline void FileDescriptorProto::set_allocated_package(::std::string* package) {
3059 if (package_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3066 clear_has_package();
3067 package_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3069 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.package)
3072 // repeated string dependency = 3;
3073 inline int FileDescriptorProto::dependency_size() const {
3074 return dependency_.size();
3076 inline void FileDescriptorProto::clear_dependency() {
3077 dependency_.Clear();
3079 inline const ::std::string& FileDescriptorProto::dependency(int index) const {
3080 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.dependency)
3081 return dependency_.Get(index);
3083 inline ::std::string* FileDescriptorProto::mutable_dependency(int index) {
3084 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.dependency)
3085 return dependency_.Mutable(index);
3087 inline void FileDescriptorProto::set_dependency(int index, const ::std::string& value) {
3088 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency)
3089 dependency_.Mutable(index)->assign(value);
3091 inline void FileDescriptorProto::set_dependency(int index, const char* value) {
3092 dependency_.Mutable(index)->assign(value);
3093 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.dependency)
3095 inline void FileDescriptorProto::set_dependency(int index, const char* value, size_t size) {
3096 dependency_.Mutable(index)->assign(
3097 reinterpret_cast<const char*>(value), size);
3098 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.dependency)
3100 inline ::std::string* FileDescriptorProto::add_dependency() {
3101 return dependency_.Add();
3103 inline void FileDescriptorProto::add_dependency(const ::std::string& value) {
3104 dependency_.Add()->assign(value);
3105 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency)
3107 inline void FileDescriptorProto::add_dependency(const char* value) {
3108 dependency_.Add()->assign(value);
3109 // @@protoc_insertion_point(field_add_char:google.protobuf.FileDescriptorProto.dependency)
3111 inline void FileDescriptorProto::add_dependency(const char* value, size_t size) {
3112 dependency_.Add()->assign(reinterpret_cast<const char*>(value), size);
3113 // @@protoc_insertion_point(field_add_pointer:google.protobuf.FileDescriptorProto.dependency)
3115 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3116 FileDescriptorProto::dependency() const {
3117 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.dependency)
3120 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3121 FileDescriptorProto::mutable_dependency() {
3122 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.dependency)
3123 return &dependency_;
3126 // repeated int32 public_dependency = 10;
3127 inline int FileDescriptorProto::public_dependency_size() const {
3128 return public_dependency_.size();
3130 inline void FileDescriptorProto::clear_public_dependency() {
3131 public_dependency_.Clear();
3133 inline ::google::protobuf::int32 FileDescriptorProto::public_dependency(int index) const {
3134 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.public_dependency)
3135 return public_dependency_.Get(index);
3137 inline void FileDescriptorProto::set_public_dependency(int index, ::google::protobuf::int32 value) {
3138 public_dependency_.Set(index, value);
3139 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.public_dependency)
3141 inline void FileDescriptorProto::add_public_dependency(::google::protobuf::int32 value) {
3142 public_dependency_.Add(value);
3143 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.public_dependency)
3145 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
3146 FileDescriptorProto::public_dependency() const {
3147 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.public_dependency)
3148 return public_dependency_;
3150 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
3151 FileDescriptorProto::mutable_public_dependency() {
3152 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.public_dependency)
3153 return &public_dependency_;
3156 // repeated int32 weak_dependency = 11;
3157 inline int FileDescriptorProto::weak_dependency_size() const {
3158 return weak_dependency_.size();
3160 inline void FileDescriptorProto::clear_weak_dependency() {
3161 weak_dependency_.Clear();
3163 inline ::google::protobuf::int32 FileDescriptorProto::weak_dependency(int index) const {
3164 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.weak_dependency)
3165 return weak_dependency_.Get(index);
3167 inline void FileDescriptorProto::set_weak_dependency(int index, ::google::protobuf::int32 value) {
3168 weak_dependency_.Set(index, value);
3169 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.weak_dependency)
3171 inline void FileDescriptorProto::add_weak_dependency(::google::protobuf::int32 value) {
3172 weak_dependency_.Add(value);
3173 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.weak_dependency)
3175 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
3176 FileDescriptorProto::weak_dependency() const {
3177 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.weak_dependency)
3178 return weak_dependency_;
3180 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
3181 FileDescriptorProto::mutable_weak_dependency() {
3182 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.weak_dependency)
3183 return &weak_dependency_;
3186 // repeated .google.protobuf.DescriptorProto message_type = 4;
3187 inline int FileDescriptorProto::message_type_size() const {
3188 return message_type_.size();
3190 inline void FileDescriptorProto::clear_message_type() {
3191 message_type_.Clear();
3193 inline const ::google::protobuf::DescriptorProto& FileDescriptorProto::message_type(int index) const {
3194 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.message_type)
3195 return message_type_.Get(index);
3197 inline ::google::protobuf::DescriptorProto* FileDescriptorProto::mutable_message_type(int index) {
3198 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.message_type)
3199 return message_type_.Mutable(index);
3201 inline ::google::protobuf::DescriptorProto* FileDescriptorProto::add_message_type() {
3202 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.message_type)
3203 return message_type_.Add();
3205 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
3206 FileDescriptorProto::message_type() const {
3207 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.message_type)
3208 return message_type_;
3210 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
3211 FileDescriptorProto::mutable_message_type() {
3212 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.message_type)
3213 return &message_type_;
3216 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
3217 inline int FileDescriptorProto::enum_type_size() const {
3218 return enum_type_.size();
3220 inline void FileDescriptorProto::clear_enum_type() {
3223 inline const ::google::protobuf::EnumDescriptorProto& FileDescriptorProto::enum_type(int index) const {
3224 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.enum_type)
3225 return enum_type_.Get(index);
3227 inline ::google::protobuf::EnumDescriptorProto* FileDescriptorProto::mutable_enum_type(int index) {
3228 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.enum_type)
3229 return enum_type_.Mutable(index);
3231 inline ::google::protobuf::EnumDescriptorProto* FileDescriptorProto::add_enum_type() {
3232 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.enum_type)
3233 return enum_type_.Add();
3235 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
3236 FileDescriptorProto::enum_type() const {
3237 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.enum_type)
3240 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
3241 FileDescriptorProto::mutable_enum_type() {
3242 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.enum_type)
3246 // repeated .google.protobuf.ServiceDescriptorProto service = 6;
3247 inline int FileDescriptorProto::service_size() const {
3248 return service_.size();
3250 inline void FileDescriptorProto::clear_service() {
3253 inline const ::google::protobuf::ServiceDescriptorProto& FileDescriptorProto::service(int index) const {
3254 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.service)
3255 return service_.Get(index);
3257 inline ::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::mutable_service(int index) {
3258 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.service)
3259 return service_.Mutable(index);
3261 inline ::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::add_service() {
3262 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.service)
3263 return service_.Add();
3265 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >&
3266 FileDescriptorProto::service() const {
3267 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.service)
3270 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >*
3271 FileDescriptorProto::mutable_service() {
3272 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.service)
3276 // repeated .google.protobuf.FieldDescriptorProto extension = 7;
3277 inline int FileDescriptorProto::extension_size() const {
3278 return extension_.size();
3280 inline void FileDescriptorProto::clear_extension() {
3283 inline const ::google::protobuf::FieldDescriptorProto& FileDescriptorProto::extension(int index) const {
3284 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.extension)
3285 return extension_.Get(index);
3287 inline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::mutable_extension(int index) {
3288 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.extension)
3289 return extension_.Mutable(index);
3291 inline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::add_extension() {
3292 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.extension)
3293 return extension_.Add();
3295 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
3296 FileDescriptorProto::extension() const {
3297 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.extension)
3300 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
3301 FileDescriptorProto::mutable_extension() {
3302 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.extension)
3306 // optional .google.protobuf.FileOptions options = 8;
3307 inline bool FileDescriptorProto::has_options() const {
3308 return (_has_bits_[0] & 0x00000200u) != 0;
3310 inline void FileDescriptorProto::set_has_options() {
3311 _has_bits_[0] |= 0x00000200u;
3313 inline void FileDescriptorProto::clear_has_options() {
3314 _has_bits_[0] &= ~0x00000200u;
3316 inline void FileDescriptorProto::clear_options() {
3317 if (options_ != NULL) options_->::google::protobuf::FileOptions::Clear();
3318 clear_has_options();
3320 inline const ::google::protobuf::FileOptions& FileDescriptorProto::options() const {
3321 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.options)
3322 return options_ != NULL ? *options_ : *default_instance_->options_;
3324 inline ::google::protobuf::FileOptions* FileDescriptorProto::mutable_options() {
3326 if (options_ == NULL) options_ = new ::google::protobuf::FileOptions;
3327 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.options)
3330 inline ::google::protobuf::FileOptions* FileDescriptorProto::release_options() {
3331 clear_has_options();
3332 ::google::protobuf::FileOptions* temp = options_;
3336 inline void FileDescriptorProto::set_allocated_options(::google::protobuf::FileOptions* options) {
3342 clear_has_options();
3344 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.options)
3347 // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
3348 inline bool FileDescriptorProto::has_source_code_info() const {
3349 return (_has_bits_[0] & 0x00000400u) != 0;
3351 inline void FileDescriptorProto::set_has_source_code_info() {
3352 _has_bits_[0] |= 0x00000400u;
3354 inline void FileDescriptorProto::clear_has_source_code_info() {
3355 _has_bits_[0] &= ~0x00000400u;
3357 inline void FileDescriptorProto::clear_source_code_info() {
3358 if (source_code_info_ != NULL) source_code_info_->::google::protobuf::SourceCodeInfo::Clear();
3359 clear_has_source_code_info();
3361 inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_code_info() const {
3362 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.source_code_info)
3363 return source_code_info_ != NULL ? *source_code_info_ : *default_instance_->source_code_info_;
3365 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::mutable_source_code_info() {
3366 set_has_source_code_info();
3367 if (source_code_info_ == NULL) source_code_info_ = new ::google::protobuf::SourceCodeInfo;
3368 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.source_code_info)
3369 return source_code_info_;
3371 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::release_source_code_info() {
3372 clear_has_source_code_info();
3373 ::google::protobuf::SourceCodeInfo* temp = source_code_info_;
3374 source_code_info_ = NULL;
3377 inline void FileDescriptorProto::set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* source_code_info) {
3378 delete source_code_info_;
3379 source_code_info_ = source_code_info;
3380 if (source_code_info) {
3381 set_has_source_code_info();
3383 clear_has_source_code_info();
3385 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.source_code_info)
3388 // -------------------------------------------------------------------
3390 // DescriptorProto_ExtensionRange
3392 // optional int32 start = 1;
3393 inline bool DescriptorProto_ExtensionRange::has_start() const {
3394 return (_has_bits_[0] & 0x00000001u) != 0;
3396 inline void DescriptorProto_ExtensionRange::set_has_start() {
3397 _has_bits_[0] |= 0x00000001u;
3399 inline void DescriptorProto_ExtensionRange::clear_has_start() {
3400 _has_bits_[0] &= ~0x00000001u;
3402 inline void DescriptorProto_ExtensionRange::clear_start() {
3406 inline ::google::protobuf::int32 DescriptorProto_ExtensionRange::start() const {
3407 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.start)
3410 inline void DescriptorProto_ExtensionRange::set_start(::google::protobuf::int32 value) {
3413 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.start)
3416 // optional int32 end = 2;
3417 inline bool DescriptorProto_ExtensionRange::has_end() const {
3418 return (_has_bits_[0] & 0x00000002u) != 0;
3420 inline void DescriptorProto_ExtensionRange::set_has_end() {
3421 _has_bits_[0] |= 0x00000002u;
3423 inline void DescriptorProto_ExtensionRange::clear_has_end() {
3424 _has_bits_[0] &= ~0x00000002u;
3426 inline void DescriptorProto_ExtensionRange::clear_end() {
3430 inline ::google::protobuf::int32 DescriptorProto_ExtensionRange::end() const {
3431 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.end)
3434 inline void DescriptorProto_ExtensionRange::set_end(::google::protobuf::int32 value) {
3437 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.end)
3440 // -------------------------------------------------------------------
3444 // optional string name = 1;
3445 inline bool DescriptorProto::has_name() const {
3446 return (_has_bits_[0] & 0x00000001u) != 0;
3448 inline void DescriptorProto::set_has_name() {
3449 _has_bits_[0] |= 0x00000001u;
3451 inline void DescriptorProto::clear_has_name() {
3452 _has_bits_[0] &= ~0x00000001u;
3454 inline void DescriptorProto::clear_name() {
3455 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3460 inline const ::std::string& DescriptorProto::name() const {
3461 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name)
3464 inline void DescriptorProto::set_name(const ::std::string& value) {
3466 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3467 name_ = new ::std::string;
3469 name_->assign(value);
3470 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name)
3472 inline void DescriptorProto::set_name(const char* value) {
3474 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3475 name_ = new ::std::string;
3477 name_->assign(value);
3478 // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.name)
3480 inline void DescriptorProto::set_name(const char* value, size_t size) {
3482 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3483 name_ = new ::std::string;
3485 name_->assign(reinterpret_cast<const char*>(value), size);
3486 // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.name)
3488 inline ::std::string* DescriptorProto::mutable_name() {
3490 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3491 name_ = new ::std::string;
3493 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name)
3496 inline ::std::string* DescriptorProto::release_name() {
3498 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3501 ::std::string* temp = name_;
3502 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3506 inline void DescriptorProto::set_allocated_name(::std::string* name) {
3507 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3515 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3517 // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.name)
3520 // repeated .google.protobuf.FieldDescriptorProto field = 2;
3521 inline int DescriptorProto::field_size() const {
3522 return field_.size();
3524 inline void DescriptorProto::clear_field() {
3527 inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::field(int index) const {
3528 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.field)
3529 return field_.Get(index);
3531 inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_field(int index) {
3532 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.field)
3533 return field_.Mutable(index);
3535 inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_field() {
3536 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.field)
3537 return field_.Add();
3539 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
3540 DescriptorProto::field() const {
3541 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.field)
3544 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
3545 DescriptorProto::mutable_field() {
3546 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.field)
3550 // repeated .google.protobuf.FieldDescriptorProto extension = 6;
3551 inline int DescriptorProto::extension_size() const {
3552 return extension_.size();
3554 inline void DescriptorProto::clear_extension() {
3557 inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::extension(int index) const {
3558 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension)
3559 return extension_.Get(index);
3561 inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_extension(int index) {
3562 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension)
3563 return extension_.Mutable(index);
3565 inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_extension() {
3566 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension)
3567 return extension_.Add();
3569 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
3570 DescriptorProto::extension() const {
3571 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension)
3574 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
3575 DescriptorProto::mutable_extension() {
3576 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension)
3580 // repeated .google.protobuf.DescriptorProto nested_type = 3;
3581 inline int DescriptorProto::nested_type_size() const {
3582 return nested_type_.size();
3584 inline void DescriptorProto::clear_nested_type() {
3585 nested_type_.Clear();
3587 inline const ::google::protobuf::DescriptorProto& DescriptorProto::nested_type(int index) const {
3588 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.nested_type)
3589 return nested_type_.Get(index);
3591 inline ::google::protobuf::DescriptorProto* DescriptorProto::mutable_nested_type(int index) {
3592 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.nested_type)
3593 return nested_type_.Mutable(index);
3595 inline ::google::protobuf::DescriptorProto* DescriptorProto::add_nested_type() {
3596 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.nested_type)
3597 return nested_type_.Add();
3599 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
3600 DescriptorProto::nested_type() const {
3601 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.nested_type)
3602 return nested_type_;
3604 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
3605 DescriptorProto::mutable_nested_type() {
3606 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.nested_type)
3607 return &nested_type_;
3610 // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
3611 inline int DescriptorProto::enum_type_size() const {
3612 return enum_type_.size();
3614 inline void DescriptorProto::clear_enum_type() {
3617 inline const ::google::protobuf::EnumDescriptorProto& DescriptorProto::enum_type(int index) const {
3618 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.enum_type)
3619 return enum_type_.Get(index);
3621 inline ::google::protobuf::EnumDescriptorProto* DescriptorProto::mutable_enum_type(int index) {
3622 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.enum_type)
3623 return enum_type_.Mutable(index);
3625 inline ::google::protobuf::EnumDescriptorProto* DescriptorProto::add_enum_type() {
3626 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.enum_type)
3627 return enum_type_.Add();
3629 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
3630 DescriptorProto::enum_type() const {
3631 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.enum_type)
3634 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
3635 DescriptorProto::mutable_enum_type() {
3636 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.enum_type)
3640 // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
3641 inline int DescriptorProto::extension_range_size() const {
3642 return extension_range_.size();
3644 inline void DescriptorProto::clear_extension_range() {
3645 extension_range_.Clear();
3647 inline const ::google::protobuf::DescriptorProto_ExtensionRange& DescriptorProto::extension_range(int index) const {
3648 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension_range)
3649 return extension_range_.Get(index);
3651 inline ::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::mutable_extension_range(int index) {
3652 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension_range)
3653 return extension_range_.Mutable(index);
3655 inline ::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::add_extension_range() {
3656 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension_range)
3657 return extension_range_.Add();
3659 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >&
3660 DescriptorProto::extension_range() const {
3661 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension_range)
3662 return extension_range_;
3664 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >*
3665 DescriptorProto::mutable_extension_range() {
3666 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension_range)
3667 return &extension_range_;
3670 // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
3671 inline int DescriptorProto::oneof_decl_size() const {
3672 return oneof_decl_.size();
3674 inline void DescriptorProto::clear_oneof_decl() {
3675 oneof_decl_.Clear();
3677 inline const ::google::protobuf::OneofDescriptorProto& DescriptorProto::oneof_decl(int index) const {
3678 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.oneof_decl)
3679 return oneof_decl_.Get(index);
3681 inline ::google::protobuf::OneofDescriptorProto* DescriptorProto::mutable_oneof_decl(int index) {
3682 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.oneof_decl)
3683 return oneof_decl_.Mutable(index);
3685 inline ::google::protobuf::OneofDescriptorProto* DescriptorProto::add_oneof_decl() {
3686 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.oneof_decl)
3687 return oneof_decl_.Add();
3689 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >&
3690 DescriptorProto::oneof_decl() const {
3691 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_decl)
3694 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >*
3695 DescriptorProto::mutable_oneof_decl() {
3696 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.oneof_decl)
3697 return &oneof_decl_;
3700 // optional .google.protobuf.MessageOptions options = 7;
3701 inline bool DescriptorProto::has_options() const {
3702 return (_has_bits_[0] & 0x00000080u) != 0;
3704 inline void DescriptorProto::set_has_options() {
3705 _has_bits_[0] |= 0x00000080u;
3707 inline void DescriptorProto::clear_has_options() {
3708 _has_bits_[0] &= ~0x00000080u;
3710 inline void DescriptorProto::clear_options() {
3711 if (options_ != NULL) options_->::google::protobuf::MessageOptions::Clear();
3712 clear_has_options();
3714 inline const ::google::protobuf::MessageOptions& DescriptorProto::options() const {
3715 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options)
3716 return options_ != NULL ? *options_ : *default_instance_->options_;
3718 inline ::google::protobuf::MessageOptions* DescriptorProto::mutable_options() {
3720 if (options_ == NULL) options_ = new ::google::protobuf::MessageOptions;
3721 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.options)
3724 inline ::google::protobuf::MessageOptions* DescriptorProto::release_options() {
3725 clear_has_options();
3726 ::google::protobuf::MessageOptions* temp = options_;
3730 inline void DescriptorProto::set_allocated_options(::google::protobuf::MessageOptions* options) {
3736 clear_has_options();
3738 // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.options)
3741 // -------------------------------------------------------------------
3743 // FieldDescriptorProto
3745 // optional string name = 1;
3746 inline bool FieldDescriptorProto::has_name() const {
3747 return (_has_bits_[0] & 0x00000001u) != 0;
3749 inline void FieldDescriptorProto::set_has_name() {
3750 _has_bits_[0] |= 0x00000001u;
3752 inline void FieldDescriptorProto::clear_has_name() {
3753 _has_bits_[0] &= ~0x00000001u;
3755 inline void FieldDescriptorProto::clear_name() {
3756 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3761 inline const ::std::string& FieldDescriptorProto::name() const {
3762 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.name)
3765 inline void FieldDescriptorProto::set_name(const ::std::string& value) {
3767 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3768 name_ = new ::std::string;
3770 name_->assign(value);
3771 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.name)
3773 inline void FieldDescriptorProto::set_name(const char* value) {
3775 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3776 name_ = new ::std::string;
3778 name_->assign(value);
3779 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.name)
3781 inline void FieldDescriptorProto::set_name(const char* value, size_t size) {
3783 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3784 name_ = new ::std::string;
3786 name_->assign(reinterpret_cast<const char*>(value), size);
3787 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.name)
3789 inline ::std::string* FieldDescriptorProto::mutable_name() {
3791 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3792 name_ = new ::std::string;
3794 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.name)
3797 inline ::std::string* FieldDescriptorProto::release_name() {
3799 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3802 ::std::string* temp = name_;
3803 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3807 inline void FieldDescriptorProto::set_allocated_name(::std::string* name) {
3808 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3816 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3818 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.name)
3821 // optional int32 number = 3;
3822 inline bool FieldDescriptorProto::has_number() const {
3823 return (_has_bits_[0] & 0x00000002u) != 0;
3825 inline void FieldDescriptorProto::set_has_number() {
3826 _has_bits_[0] |= 0x00000002u;
3828 inline void FieldDescriptorProto::clear_has_number() {
3829 _has_bits_[0] &= ~0x00000002u;
3831 inline void FieldDescriptorProto::clear_number() {
3835 inline ::google::protobuf::int32 FieldDescriptorProto::number() const {
3836 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.number)
3839 inline void FieldDescriptorProto::set_number(::google::protobuf::int32 value) {
3842 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.number)
3845 // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
3846 inline bool FieldDescriptorProto::has_label() const {
3847 return (_has_bits_[0] & 0x00000004u) != 0;
3849 inline void FieldDescriptorProto::set_has_label() {
3850 _has_bits_[0] |= 0x00000004u;
3852 inline void FieldDescriptorProto::clear_has_label() {
3853 _has_bits_[0] &= ~0x00000004u;
3855 inline void FieldDescriptorProto::clear_label() {
3859 inline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::label() const {
3860 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.label)
3861 return static_cast< ::google::protobuf::FieldDescriptorProto_Label >(label_);
3863 inline void FieldDescriptorProto::set_label(::google::protobuf::FieldDescriptorProto_Label value) {
3864 assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value));
3867 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.label)
3870 // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
3871 inline bool FieldDescriptorProto::has_type() const {
3872 return (_has_bits_[0] & 0x00000008u) != 0;
3874 inline void FieldDescriptorProto::set_has_type() {
3875 _has_bits_[0] |= 0x00000008u;
3877 inline void FieldDescriptorProto::clear_has_type() {
3878 _has_bits_[0] &= ~0x00000008u;
3880 inline void FieldDescriptorProto::clear_type() {
3884 inline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::type() const {
3885 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type)
3886 return static_cast< ::google::protobuf::FieldDescriptorProto_Type >(type_);
3888 inline void FieldDescriptorProto::set_type(::google::protobuf::FieldDescriptorProto_Type value) {
3889 assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value));
3892 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type)
3895 // optional string type_name = 6;
3896 inline bool FieldDescriptorProto::has_type_name() const {
3897 return (_has_bits_[0] & 0x00000010u) != 0;
3899 inline void FieldDescriptorProto::set_has_type_name() {
3900 _has_bits_[0] |= 0x00000010u;
3902 inline void FieldDescriptorProto::clear_has_type_name() {
3903 _has_bits_[0] &= ~0x00000010u;
3905 inline void FieldDescriptorProto::clear_type_name() {
3906 if (type_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3907 type_name_->clear();
3909 clear_has_type_name();
3911 inline const ::std::string& FieldDescriptorProto::type_name() const {
3912 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type_name)
3915 inline void FieldDescriptorProto::set_type_name(const ::std::string& value) {
3916 set_has_type_name();
3917 if (type_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3918 type_name_ = new ::std::string;
3920 type_name_->assign(value);
3921 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type_name)
3923 inline void FieldDescriptorProto::set_type_name(const char* value) {
3924 set_has_type_name();
3925 if (type_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3926 type_name_ = new ::std::string;
3928 type_name_->assign(value);
3929 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.type_name)
3931 inline void FieldDescriptorProto::set_type_name(const char* value, size_t size) {
3932 set_has_type_name();
3933 if (type_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3934 type_name_ = new ::std::string;
3936 type_name_->assign(reinterpret_cast<const char*>(value), size);
3937 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.type_name)
3939 inline ::std::string* FieldDescriptorProto::mutable_type_name() {
3940 set_has_type_name();
3941 if (type_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3942 type_name_ = new ::std::string;
3944 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.type_name)
3947 inline ::std::string* FieldDescriptorProto::release_type_name() {
3948 clear_has_type_name();
3949 if (type_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3952 ::std::string* temp = type_name_;
3953 type_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3957 inline void FieldDescriptorProto::set_allocated_type_name(::std::string* type_name) {
3958 if (type_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3962 set_has_type_name();
3963 type_name_ = type_name;
3965 clear_has_type_name();
3966 type_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3968 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.type_name)
3971 // optional string extendee = 2;
3972 inline bool FieldDescriptorProto::has_extendee() const {
3973 return (_has_bits_[0] & 0x00000020u) != 0;
3975 inline void FieldDescriptorProto::set_has_extendee() {
3976 _has_bits_[0] |= 0x00000020u;
3978 inline void FieldDescriptorProto::clear_has_extendee() {
3979 _has_bits_[0] &= ~0x00000020u;
3981 inline void FieldDescriptorProto::clear_extendee() {
3982 if (extendee_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3985 clear_has_extendee();
3987 inline const ::std::string& FieldDescriptorProto::extendee() const {
3988 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.extendee)
3991 inline void FieldDescriptorProto::set_extendee(const ::std::string& value) {
3993 if (extendee_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3994 extendee_ = new ::std::string;
3996 extendee_->assign(value);
3997 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.extendee)
3999 inline void FieldDescriptorProto::set_extendee(const char* value) {
4001 if (extendee_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4002 extendee_ = new ::std::string;
4004 extendee_->assign(value);
4005 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.extendee)
4007 inline void FieldDescriptorProto::set_extendee(const char* value, size_t size) {
4009 if (extendee_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4010 extendee_ = new ::std::string;
4012 extendee_->assign(reinterpret_cast<const char*>(value), size);
4013 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.extendee)
4015 inline ::std::string* FieldDescriptorProto::mutable_extendee() {
4017 if (extendee_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4018 extendee_ = new ::std::string;
4020 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.extendee)
4023 inline ::std::string* FieldDescriptorProto::release_extendee() {
4024 clear_has_extendee();
4025 if (extendee_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4028 ::std::string* temp = extendee_;
4029 extendee_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4033 inline void FieldDescriptorProto::set_allocated_extendee(::std::string* extendee) {
4034 if (extendee_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4039 extendee_ = extendee;
4041 clear_has_extendee();
4042 extendee_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4044 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.extendee)
4047 // optional string default_value = 7;
4048 inline bool FieldDescriptorProto::has_default_value() const {
4049 return (_has_bits_[0] & 0x00000040u) != 0;
4051 inline void FieldDescriptorProto::set_has_default_value() {
4052 _has_bits_[0] |= 0x00000040u;
4054 inline void FieldDescriptorProto::clear_has_default_value() {
4055 _has_bits_[0] &= ~0x00000040u;
4057 inline void FieldDescriptorProto::clear_default_value() {
4058 if (default_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4059 default_value_->clear();
4061 clear_has_default_value();
4063 inline const ::std::string& FieldDescriptorProto::default_value() const {
4064 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.default_value)
4065 return *default_value_;
4067 inline void FieldDescriptorProto::set_default_value(const ::std::string& value) {
4068 set_has_default_value();
4069 if (default_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4070 default_value_ = new ::std::string;
4072 default_value_->assign(value);
4073 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.default_value)
4075 inline void FieldDescriptorProto::set_default_value(const char* value) {
4076 set_has_default_value();
4077 if (default_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4078 default_value_ = new ::std::string;
4080 default_value_->assign(value);
4081 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.default_value)
4083 inline void FieldDescriptorProto::set_default_value(const char* value, size_t size) {
4084 set_has_default_value();
4085 if (default_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4086 default_value_ = new ::std::string;
4088 default_value_->assign(reinterpret_cast<const char*>(value), size);
4089 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.default_value)
4091 inline ::std::string* FieldDescriptorProto::mutable_default_value() {
4092 set_has_default_value();
4093 if (default_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4094 default_value_ = new ::std::string;
4096 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.default_value)
4097 return default_value_;
4099 inline ::std::string* FieldDescriptorProto::release_default_value() {
4100 clear_has_default_value();
4101 if (default_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4104 ::std::string* temp = default_value_;
4105 default_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4109 inline void FieldDescriptorProto::set_allocated_default_value(::std::string* default_value) {
4110 if (default_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4111 delete default_value_;
4113 if (default_value) {
4114 set_has_default_value();
4115 default_value_ = default_value;
4117 clear_has_default_value();
4118 default_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4120 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.default_value)
4123 // optional int32 oneof_index = 9;
4124 inline bool FieldDescriptorProto::has_oneof_index() const {
4125 return (_has_bits_[0] & 0x00000080u) != 0;
4127 inline void FieldDescriptorProto::set_has_oneof_index() {
4128 _has_bits_[0] |= 0x00000080u;
4130 inline void FieldDescriptorProto::clear_has_oneof_index() {
4131 _has_bits_[0] &= ~0x00000080u;
4133 inline void FieldDescriptorProto::clear_oneof_index() {
4135 clear_has_oneof_index();
4137 inline ::google::protobuf::int32 FieldDescriptorProto::oneof_index() const {
4138 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.oneof_index)
4139 return oneof_index_;
4141 inline void FieldDescriptorProto::set_oneof_index(::google::protobuf::int32 value) {
4142 set_has_oneof_index();
4143 oneof_index_ = value;
4144 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.oneof_index)
4147 // optional .google.protobuf.FieldOptions options = 8;
4148 inline bool FieldDescriptorProto::has_options() const {
4149 return (_has_bits_[0] & 0x00000100u) != 0;
4151 inline void FieldDescriptorProto::set_has_options() {
4152 _has_bits_[0] |= 0x00000100u;
4154 inline void FieldDescriptorProto::clear_has_options() {
4155 _has_bits_[0] &= ~0x00000100u;
4157 inline void FieldDescriptorProto::clear_options() {
4158 if (options_ != NULL) options_->::google::protobuf::FieldOptions::Clear();
4159 clear_has_options();
4161 inline const ::google::protobuf::FieldOptions& FieldDescriptorProto::options() const {
4162 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.options)
4163 return options_ != NULL ? *options_ : *default_instance_->options_;
4165 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::mutable_options() {
4167 if (options_ == NULL) options_ = new ::google::protobuf::FieldOptions;
4168 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.options)
4171 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::release_options() {
4172 clear_has_options();
4173 ::google::protobuf::FieldOptions* temp = options_;
4177 inline void FieldDescriptorProto::set_allocated_options(::google::protobuf::FieldOptions* options) {
4183 clear_has_options();
4185 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.options)
4188 // -------------------------------------------------------------------
4190 // OneofDescriptorProto
4192 // optional string name = 1;
4193 inline bool OneofDescriptorProto::has_name() const {
4194 return (_has_bits_[0] & 0x00000001u) != 0;
4196 inline void OneofDescriptorProto::set_has_name() {
4197 _has_bits_[0] |= 0x00000001u;
4199 inline void OneofDescriptorProto::clear_has_name() {
4200 _has_bits_[0] &= ~0x00000001u;
4202 inline void OneofDescriptorProto::clear_name() {
4203 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4208 inline const ::std::string& OneofDescriptorProto::name() const {
4209 // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.name)
4212 inline void OneofDescriptorProto::set_name(const ::std::string& value) {
4214 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4215 name_ = new ::std::string;
4217 name_->assign(value);
4218 // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.name)
4220 inline void OneofDescriptorProto::set_name(const char* value) {
4222 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4223 name_ = new ::std::string;
4225 name_->assign(value);
4226 // @@protoc_insertion_point(field_set_char:google.protobuf.OneofDescriptorProto.name)
4228 inline void OneofDescriptorProto::set_name(const char* value, size_t size) {
4230 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4231 name_ = new ::std::string;
4233 name_->assign(reinterpret_cast<const char*>(value), size);
4234 // @@protoc_insertion_point(field_set_pointer:google.protobuf.OneofDescriptorProto.name)
4236 inline ::std::string* OneofDescriptorProto::mutable_name() {
4238 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4239 name_ = new ::std::string;
4241 // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.name)
4244 inline ::std::string* OneofDescriptorProto::release_name() {
4246 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4249 ::std::string* temp = name_;
4250 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4254 inline void OneofDescriptorProto::set_allocated_name(::std::string* name) {
4255 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4263 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4265 // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.name)
4268 // -------------------------------------------------------------------
4270 // EnumDescriptorProto
4272 // optional string name = 1;
4273 inline bool EnumDescriptorProto::has_name() const {
4274 return (_has_bits_[0] & 0x00000001u) != 0;
4276 inline void EnumDescriptorProto::set_has_name() {
4277 _has_bits_[0] |= 0x00000001u;
4279 inline void EnumDescriptorProto::clear_has_name() {
4280 _has_bits_[0] &= ~0x00000001u;
4282 inline void EnumDescriptorProto::clear_name() {
4283 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4288 inline const ::std::string& EnumDescriptorProto::name() const {
4289 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name)
4292 inline void EnumDescriptorProto::set_name(const ::std::string& value) {
4294 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4295 name_ = new ::std::string;
4297 name_->assign(value);
4298 // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name)
4300 inline void EnumDescriptorProto::set_name(const char* value) {
4302 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4303 name_ = new ::std::string;
4305 name_->assign(value);
4306 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto.name)
4308 inline void EnumDescriptorProto::set_name(const char* value, size_t size) {
4310 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4311 name_ = new ::std::string;
4313 name_->assign(reinterpret_cast<const char*>(value), size);
4314 // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorProto.name)
4316 inline ::std::string* EnumDescriptorProto::mutable_name() {
4318 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4319 name_ = new ::std::string;
4321 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.name)
4324 inline ::std::string* EnumDescriptorProto::release_name() {
4326 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4329 ::std::string* temp = name_;
4330 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4334 inline void EnumDescriptorProto::set_allocated_name(::std::string* name) {
4335 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4343 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4345 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.name)
4348 // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
4349 inline int EnumDescriptorProto::value_size() const {
4350 return value_.size();
4352 inline void EnumDescriptorProto::clear_value() {
4355 inline const ::google::protobuf::EnumValueDescriptorProto& EnumDescriptorProto::value(int index) const {
4356 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.value)
4357 return value_.Get(index);
4359 inline ::google::protobuf::EnumValueDescriptorProto* EnumDescriptorProto::mutable_value(int index) {
4360 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.value)
4361 return value_.Mutable(index);
4363 inline ::google::protobuf::EnumValueDescriptorProto* EnumDescriptorProto::add_value() {
4364 // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.value)
4365 return value_.Add();
4367 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >&
4368 EnumDescriptorProto::value() const {
4369 // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.value)
4372 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >*
4373 EnumDescriptorProto::mutable_value() {
4374 // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.value)
4378 // optional .google.protobuf.EnumOptions options = 3;
4379 inline bool EnumDescriptorProto::has_options() const {
4380 return (_has_bits_[0] & 0x00000004u) != 0;
4382 inline void EnumDescriptorProto::set_has_options() {
4383 _has_bits_[0] |= 0x00000004u;
4385 inline void EnumDescriptorProto::clear_has_options() {
4386 _has_bits_[0] &= ~0x00000004u;
4388 inline void EnumDescriptorProto::clear_options() {
4389 if (options_ != NULL) options_->::google::protobuf::EnumOptions::Clear();
4390 clear_has_options();
4392 inline const ::google::protobuf::EnumOptions& EnumDescriptorProto::options() const {
4393 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.options)
4394 return options_ != NULL ? *options_ : *default_instance_->options_;
4396 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::mutable_options() {
4398 if (options_ == NULL) options_ = new ::google::protobuf::EnumOptions;
4399 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.options)
4402 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::release_options() {
4403 clear_has_options();
4404 ::google::protobuf::EnumOptions* temp = options_;
4408 inline void EnumDescriptorProto::set_allocated_options(::google::protobuf::EnumOptions* options) {
4414 clear_has_options();
4416 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.options)
4419 // -------------------------------------------------------------------
4421 // EnumValueDescriptorProto
4423 // optional string name = 1;
4424 inline bool EnumValueDescriptorProto::has_name() const {
4425 return (_has_bits_[0] & 0x00000001u) != 0;
4427 inline void EnumValueDescriptorProto::set_has_name() {
4428 _has_bits_[0] |= 0x00000001u;
4430 inline void EnumValueDescriptorProto::clear_has_name() {
4431 _has_bits_[0] &= ~0x00000001u;
4433 inline void EnumValueDescriptorProto::clear_name() {
4434 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4439 inline const ::std::string& EnumValueDescriptorProto::name() const {
4440 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.name)
4443 inline void EnumValueDescriptorProto::set_name(const ::std::string& value) {
4445 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4446 name_ = new ::std::string;
4448 name_->assign(value);
4449 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.name)
4451 inline void EnumValueDescriptorProto::set_name(const char* value) {
4453 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4454 name_ = new ::std::string;
4456 name_->assign(value);
4457 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValueDescriptorProto.name)
4459 inline void EnumValueDescriptorProto::set_name(const char* value, size_t size) {
4461 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4462 name_ = new ::std::string;
4464 name_->assign(reinterpret_cast<const char*>(value), size);
4465 // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValueDescriptorProto.name)
4467 inline ::std::string* EnumValueDescriptorProto::mutable_name() {
4469 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4470 name_ = new ::std::string;
4472 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.name)
4475 inline ::std::string* EnumValueDescriptorProto::release_name() {
4477 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4480 ::std::string* temp = name_;
4481 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4485 inline void EnumValueDescriptorProto::set_allocated_name(::std::string* name) {
4486 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4494 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4496 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.name)
4499 // optional int32 number = 2;
4500 inline bool EnumValueDescriptorProto::has_number() const {
4501 return (_has_bits_[0] & 0x00000002u) != 0;
4503 inline void EnumValueDescriptorProto::set_has_number() {
4504 _has_bits_[0] |= 0x00000002u;
4506 inline void EnumValueDescriptorProto::clear_has_number() {
4507 _has_bits_[0] &= ~0x00000002u;
4509 inline void EnumValueDescriptorProto::clear_number() {
4513 inline ::google::protobuf::int32 EnumValueDescriptorProto::number() const {
4514 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.number)
4517 inline void EnumValueDescriptorProto::set_number(::google::protobuf::int32 value) {
4520 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.number)
4523 // optional .google.protobuf.EnumValueOptions options = 3;
4524 inline bool EnumValueDescriptorProto::has_options() const {
4525 return (_has_bits_[0] & 0x00000004u) != 0;
4527 inline void EnumValueDescriptorProto::set_has_options() {
4528 _has_bits_[0] |= 0x00000004u;
4530 inline void EnumValueDescriptorProto::clear_has_options() {
4531 _has_bits_[0] &= ~0x00000004u;
4533 inline void EnumValueDescriptorProto::clear_options() {
4534 if (options_ != NULL) options_->::google::protobuf::EnumValueOptions::Clear();
4535 clear_has_options();
4537 inline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::options() const {
4538 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.options)
4539 return options_ != NULL ? *options_ : *default_instance_->options_;
4541 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::mutable_options() {
4543 if (options_ == NULL) options_ = new ::google::protobuf::EnumValueOptions;
4544 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.options)
4547 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::release_options() {
4548 clear_has_options();
4549 ::google::protobuf::EnumValueOptions* temp = options_;
4553 inline void EnumValueDescriptorProto::set_allocated_options(::google::protobuf::EnumValueOptions* options) {
4559 clear_has_options();
4561 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.options)
4564 // -------------------------------------------------------------------
4566 // ServiceDescriptorProto
4568 // optional string name = 1;
4569 inline bool ServiceDescriptorProto::has_name() const {
4570 return (_has_bits_[0] & 0x00000001u) != 0;
4572 inline void ServiceDescriptorProto::set_has_name() {
4573 _has_bits_[0] |= 0x00000001u;
4575 inline void ServiceDescriptorProto::clear_has_name() {
4576 _has_bits_[0] &= ~0x00000001u;
4578 inline void ServiceDescriptorProto::clear_name() {
4579 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4584 inline const ::std::string& ServiceDescriptorProto::name() const {
4585 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.name)
4588 inline void ServiceDescriptorProto::set_name(const ::std::string& value) {
4590 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4591 name_ = new ::std::string;
4593 name_->assign(value);
4594 // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.name)
4596 inline void ServiceDescriptorProto::set_name(const char* value) {
4598 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4599 name_ = new ::std::string;
4601 name_->assign(value);
4602 // @@protoc_insertion_point(field_set_char:google.protobuf.ServiceDescriptorProto.name)
4604 inline void ServiceDescriptorProto::set_name(const char* value, size_t size) {
4606 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4607 name_ = new ::std::string;
4609 name_->assign(reinterpret_cast<const char*>(value), size);
4610 // @@protoc_insertion_point(field_set_pointer:google.protobuf.ServiceDescriptorProto.name)
4612 inline ::std::string* ServiceDescriptorProto::mutable_name() {
4614 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4615 name_ = new ::std::string;
4617 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.name)
4620 inline ::std::string* ServiceDescriptorProto::release_name() {
4622 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4625 ::std::string* temp = name_;
4626 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4630 inline void ServiceDescriptorProto::set_allocated_name(::std::string* name) {
4631 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4639 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4641 // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.name)
4644 // repeated .google.protobuf.MethodDescriptorProto method = 2;
4645 inline int ServiceDescriptorProto::method_size() const {
4646 return method_.size();
4648 inline void ServiceDescriptorProto::clear_method() {
4651 inline const ::google::protobuf::MethodDescriptorProto& ServiceDescriptorProto::method(int index) const {
4652 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.method)
4653 return method_.Get(index);
4655 inline ::google::protobuf::MethodDescriptorProto* ServiceDescriptorProto::mutable_method(int index) {
4656 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.method)
4657 return method_.Mutable(index);
4659 inline ::google::protobuf::MethodDescriptorProto* ServiceDescriptorProto::add_method() {
4660 // @@protoc_insertion_point(field_add:google.protobuf.ServiceDescriptorProto.method)
4661 return method_.Add();
4663 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >&
4664 ServiceDescriptorProto::method() const {
4665 // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.method)
4668 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >*
4669 ServiceDescriptorProto::mutable_method() {
4670 // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceDescriptorProto.method)
4674 // optional .google.protobuf.ServiceOptions options = 3;
4675 inline bool ServiceDescriptorProto::has_options() const {
4676 return (_has_bits_[0] & 0x00000004u) != 0;
4678 inline void ServiceDescriptorProto::set_has_options() {
4679 _has_bits_[0] |= 0x00000004u;
4681 inline void ServiceDescriptorProto::clear_has_options() {
4682 _has_bits_[0] &= ~0x00000004u;
4684 inline void ServiceDescriptorProto::clear_options() {
4685 if (options_ != NULL) options_->::google::protobuf::ServiceOptions::Clear();
4686 clear_has_options();
4688 inline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::options() const {
4689 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.options)
4690 return options_ != NULL ? *options_ : *default_instance_->options_;
4692 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::mutable_options() {
4694 if (options_ == NULL) options_ = new ::google::protobuf::ServiceOptions;
4695 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.options)
4698 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::release_options() {
4699 clear_has_options();
4700 ::google::protobuf::ServiceOptions* temp = options_;
4704 inline void ServiceDescriptorProto::set_allocated_options(::google::protobuf::ServiceOptions* options) {
4710 clear_has_options();
4712 // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.options)
4715 // -------------------------------------------------------------------
4717 // MethodDescriptorProto
4719 // optional string name = 1;
4720 inline bool MethodDescriptorProto::has_name() const {
4721 return (_has_bits_[0] & 0x00000001u) != 0;
4723 inline void MethodDescriptorProto::set_has_name() {
4724 _has_bits_[0] |= 0x00000001u;
4726 inline void MethodDescriptorProto::clear_has_name() {
4727 _has_bits_[0] &= ~0x00000001u;
4729 inline void MethodDescriptorProto::clear_name() {
4730 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4735 inline const ::std::string& MethodDescriptorProto::name() const {
4736 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.name)
4739 inline void MethodDescriptorProto::set_name(const ::std::string& value) {
4741 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4742 name_ = new ::std::string;
4744 name_->assign(value);
4745 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.name)
4747 inline void MethodDescriptorProto::set_name(const char* value) {
4749 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4750 name_ = new ::std::string;
4752 name_->assign(value);
4753 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.name)
4755 inline void MethodDescriptorProto::set_name(const char* value, size_t size) {
4757 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4758 name_ = new ::std::string;
4760 name_->assign(reinterpret_cast<const char*>(value), size);
4761 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.name)
4763 inline ::std::string* MethodDescriptorProto::mutable_name() {
4765 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4766 name_ = new ::std::string;
4768 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.name)
4771 inline ::std::string* MethodDescriptorProto::release_name() {
4773 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4776 ::std::string* temp = name_;
4777 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4781 inline void MethodDescriptorProto::set_allocated_name(::std::string* name) {
4782 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4790 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4792 // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.name)
4795 // optional string input_type = 2;
4796 inline bool MethodDescriptorProto::has_input_type() const {
4797 return (_has_bits_[0] & 0x00000002u) != 0;
4799 inline void MethodDescriptorProto::set_has_input_type() {
4800 _has_bits_[0] |= 0x00000002u;
4802 inline void MethodDescriptorProto::clear_has_input_type() {
4803 _has_bits_[0] &= ~0x00000002u;
4805 inline void MethodDescriptorProto::clear_input_type() {
4806 if (input_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4807 input_type_->clear();
4809 clear_has_input_type();
4811 inline const ::std::string& MethodDescriptorProto::input_type() const {
4812 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.input_type)
4813 return *input_type_;
4815 inline void MethodDescriptorProto::set_input_type(const ::std::string& value) {
4816 set_has_input_type();
4817 if (input_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4818 input_type_ = new ::std::string;
4820 input_type_->assign(value);
4821 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.input_type)
4823 inline void MethodDescriptorProto::set_input_type(const char* value) {
4824 set_has_input_type();
4825 if (input_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4826 input_type_ = new ::std::string;
4828 input_type_->assign(value);
4829 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.input_type)
4831 inline void MethodDescriptorProto::set_input_type(const char* value, size_t size) {
4832 set_has_input_type();
4833 if (input_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4834 input_type_ = new ::std::string;
4836 input_type_->assign(reinterpret_cast<const char*>(value), size);
4837 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.input_type)
4839 inline ::std::string* MethodDescriptorProto::mutable_input_type() {
4840 set_has_input_type();
4841 if (input_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4842 input_type_ = new ::std::string;
4844 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.input_type)
4847 inline ::std::string* MethodDescriptorProto::release_input_type() {
4848 clear_has_input_type();
4849 if (input_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4852 ::std::string* temp = input_type_;
4853 input_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4857 inline void MethodDescriptorProto::set_allocated_input_type(::std::string* input_type) {
4858 if (input_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4862 set_has_input_type();
4863 input_type_ = input_type;
4865 clear_has_input_type();
4866 input_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4868 // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.input_type)
4871 // optional string output_type = 3;
4872 inline bool MethodDescriptorProto::has_output_type() const {
4873 return (_has_bits_[0] & 0x00000004u) != 0;
4875 inline void MethodDescriptorProto::set_has_output_type() {
4876 _has_bits_[0] |= 0x00000004u;
4878 inline void MethodDescriptorProto::clear_has_output_type() {
4879 _has_bits_[0] &= ~0x00000004u;
4881 inline void MethodDescriptorProto::clear_output_type() {
4882 if (output_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4883 output_type_->clear();
4885 clear_has_output_type();
4887 inline const ::std::string& MethodDescriptorProto::output_type() const {
4888 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.output_type)
4889 return *output_type_;
4891 inline void MethodDescriptorProto::set_output_type(const ::std::string& value) {
4892 set_has_output_type();
4893 if (output_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4894 output_type_ = new ::std::string;
4896 output_type_->assign(value);
4897 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.output_type)
4899 inline void MethodDescriptorProto::set_output_type(const char* value) {
4900 set_has_output_type();
4901 if (output_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4902 output_type_ = new ::std::string;
4904 output_type_->assign(value);
4905 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.output_type)
4907 inline void MethodDescriptorProto::set_output_type(const char* value, size_t size) {
4908 set_has_output_type();
4909 if (output_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4910 output_type_ = new ::std::string;
4912 output_type_->assign(reinterpret_cast<const char*>(value), size);
4913 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.output_type)
4915 inline ::std::string* MethodDescriptorProto::mutable_output_type() {
4916 set_has_output_type();
4917 if (output_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4918 output_type_ = new ::std::string;
4920 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.output_type)
4921 return output_type_;
4923 inline ::std::string* MethodDescriptorProto::release_output_type() {
4924 clear_has_output_type();
4925 if (output_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4928 ::std::string* temp = output_type_;
4929 output_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4933 inline void MethodDescriptorProto::set_allocated_output_type(::std::string* output_type) {
4934 if (output_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4935 delete output_type_;
4938 set_has_output_type();
4939 output_type_ = output_type;
4941 clear_has_output_type();
4942 output_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4944 // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.output_type)
4947 // optional .google.protobuf.MethodOptions options = 4;
4948 inline bool MethodDescriptorProto::has_options() const {
4949 return (_has_bits_[0] & 0x00000008u) != 0;
4951 inline void MethodDescriptorProto::set_has_options() {
4952 _has_bits_[0] |= 0x00000008u;
4954 inline void MethodDescriptorProto::clear_has_options() {
4955 _has_bits_[0] &= ~0x00000008u;
4957 inline void MethodDescriptorProto::clear_options() {
4958 if (options_ != NULL) options_->::google::protobuf::MethodOptions::Clear();
4959 clear_has_options();
4961 inline const ::google::protobuf::MethodOptions& MethodDescriptorProto::options() const {
4962 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.options)
4963 return options_ != NULL ? *options_ : *default_instance_->options_;
4965 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::mutable_options() {
4967 if (options_ == NULL) options_ = new ::google::protobuf::MethodOptions;
4968 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.options)
4971 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::release_options() {
4972 clear_has_options();
4973 ::google::protobuf::MethodOptions* temp = options_;
4977 inline void MethodDescriptorProto::set_allocated_options(::google::protobuf::MethodOptions* options) {
4983 clear_has_options();
4985 // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.options)
4988 // -------------------------------------------------------------------
4992 // optional string java_package = 1;
4993 inline bool FileOptions::has_java_package() const {
4994 return (_has_bits_[0] & 0x00000001u) != 0;
4996 inline void FileOptions::set_has_java_package() {
4997 _has_bits_[0] |= 0x00000001u;
4999 inline void FileOptions::clear_has_java_package() {
5000 _has_bits_[0] &= ~0x00000001u;
5002 inline void FileOptions::clear_java_package() {
5003 if (java_package_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5004 java_package_->clear();
5006 clear_has_java_package();
5008 inline const ::std::string& FileOptions::java_package() const {
5009 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package)
5010 return *java_package_;
5012 inline void FileOptions::set_java_package(const ::std::string& value) {
5013 set_has_java_package();
5014 if (java_package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5015 java_package_ = new ::std::string;
5017 java_package_->assign(value);
5018 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package)
5020 inline void FileOptions::set_java_package(const char* value) {
5021 set_has_java_package();
5022 if (java_package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5023 java_package_ = new ::std::string;
5025 java_package_->assign(value);
5026 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_package)
5028 inline void FileOptions::set_java_package(const char* value, size_t size) {
5029 set_has_java_package();
5030 if (java_package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5031 java_package_ = new ::std::string;
5033 java_package_->assign(reinterpret_cast<const char*>(value), size);
5034 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java_package)
5036 inline ::std::string* FileOptions::mutable_java_package() {
5037 set_has_java_package();
5038 if (java_package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5039 java_package_ = new ::std::string;
5041 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_package)
5042 return java_package_;
5044 inline ::std::string* FileOptions::release_java_package() {
5045 clear_has_java_package();
5046 if (java_package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5049 ::std::string* temp = java_package_;
5050 java_package_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5054 inline void FileOptions::set_allocated_java_package(::std::string* java_package) {
5055 if (java_package_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5056 delete java_package_;
5059 set_has_java_package();
5060 java_package_ = java_package;
5062 clear_has_java_package();
5063 java_package_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5065 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_package)
5068 // optional string java_outer_classname = 8;
5069 inline bool FileOptions::has_java_outer_classname() const {
5070 return (_has_bits_[0] & 0x00000002u) != 0;
5072 inline void FileOptions::set_has_java_outer_classname() {
5073 _has_bits_[0] |= 0x00000002u;
5075 inline void FileOptions::clear_has_java_outer_classname() {
5076 _has_bits_[0] &= ~0x00000002u;
5078 inline void FileOptions::clear_java_outer_classname() {
5079 if (java_outer_classname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5080 java_outer_classname_->clear();
5082 clear_has_java_outer_classname();
5084 inline const ::std::string& FileOptions::java_outer_classname() const {
5085 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_classname)
5086 return *java_outer_classname_;
5088 inline void FileOptions::set_java_outer_classname(const ::std::string& value) {
5089 set_has_java_outer_classname();
5090 if (java_outer_classname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5091 java_outer_classname_ = new ::std::string;
5093 java_outer_classname_->assign(value);
5094 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_classname)
5096 inline void FileOptions::set_java_outer_classname(const char* value) {
5097 set_has_java_outer_classname();
5098 if (java_outer_classname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5099 java_outer_classname_ = new ::std::string;
5101 java_outer_classname_->assign(value);
5102 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_outer_classname)
5104 inline void FileOptions::set_java_outer_classname(const char* value, size_t size) {
5105 set_has_java_outer_classname();
5106 if (java_outer_classname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5107 java_outer_classname_ = new ::std::string;
5109 java_outer_classname_->assign(reinterpret_cast<const char*>(value), size);
5110 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java_outer_classname)
5112 inline ::std::string* FileOptions::mutable_java_outer_classname() {
5113 set_has_java_outer_classname();
5114 if (java_outer_classname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5115 java_outer_classname_ = new ::std::string;
5117 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_outer_classname)
5118 return java_outer_classname_;
5120 inline ::std::string* FileOptions::release_java_outer_classname() {
5121 clear_has_java_outer_classname();
5122 if (java_outer_classname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5125 ::std::string* temp = java_outer_classname_;
5126 java_outer_classname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5130 inline void FileOptions::set_allocated_java_outer_classname(::std::string* java_outer_classname) {
5131 if (java_outer_classname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5132 delete java_outer_classname_;
5134 if (java_outer_classname) {
5135 set_has_java_outer_classname();
5136 java_outer_classname_ = java_outer_classname;
5138 clear_has_java_outer_classname();
5139 java_outer_classname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5141 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_outer_classname)
5144 // optional bool java_multiple_files = 10 [default = false];
5145 inline bool FileOptions::has_java_multiple_files() const {
5146 return (_has_bits_[0] & 0x00000004u) != 0;
5148 inline void FileOptions::set_has_java_multiple_files() {
5149 _has_bits_[0] |= 0x00000004u;
5151 inline void FileOptions::clear_has_java_multiple_files() {
5152 _has_bits_[0] &= ~0x00000004u;
5154 inline void FileOptions::clear_java_multiple_files() {
5155 java_multiple_files_ = false;
5156 clear_has_java_multiple_files();
5158 inline bool FileOptions::java_multiple_files() const {
5159 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multiple_files)
5160 return java_multiple_files_;
5162 inline void FileOptions::set_java_multiple_files(bool value) {
5163 set_has_java_multiple_files();
5164 java_multiple_files_ = value;
5165 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multiple_files)
5168 // optional bool java_generate_equals_and_hash = 20 [default = false];
5169 inline bool FileOptions::has_java_generate_equals_and_hash() const {
5170 return (_has_bits_[0] & 0x00000008u) != 0;
5172 inline void FileOptions::set_has_java_generate_equals_and_hash() {
5173 _has_bits_[0] |= 0x00000008u;
5175 inline void FileOptions::clear_has_java_generate_equals_and_hash() {
5176 _has_bits_[0] &= ~0x00000008u;
5178 inline void FileOptions::clear_java_generate_equals_and_hash() {
5179 java_generate_equals_and_hash_ = false;
5180 clear_has_java_generate_equals_and_hash();
5182 inline bool FileOptions::java_generate_equals_and_hash() const {
5183 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generate_equals_and_hash)
5184 return java_generate_equals_and_hash_;
5186 inline void FileOptions::set_java_generate_equals_and_hash(bool value) {
5187 set_has_java_generate_equals_and_hash();
5188 java_generate_equals_and_hash_ = value;
5189 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generate_equals_and_hash)
5192 // optional bool java_string_check_utf8 = 27 [default = false];
5193 inline bool FileOptions::has_java_string_check_utf8() const {
5194 return (_has_bits_[0] & 0x00000010u) != 0;
5196 inline void FileOptions::set_has_java_string_check_utf8() {
5197 _has_bits_[0] |= 0x00000010u;
5199 inline void FileOptions::clear_has_java_string_check_utf8() {
5200 _has_bits_[0] &= ~0x00000010u;
5202 inline void FileOptions::clear_java_string_check_utf8() {
5203 java_string_check_utf8_ = false;
5204 clear_has_java_string_check_utf8();
5206 inline bool FileOptions::java_string_check_utf8() const {
5207 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_check_utf8)
5208 return java_string_check_utf8_;
5210 inline void FileOptions::set_java_string_check_utf8(bool value) {
5211 set_has_java_string_check_utf8();
5212 java_string_check_utf8_ = value;
5213 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_check_utf8)
5216 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
5217 inline bool FileOptions::has_optimize_for() const {
5218 return (_has_bits_[0] & 0x00000020u) != 0;
5220 inline void FileOptions::set_has_optimize_for() {
5221 _has_bits_[0] |= 0x00000020u;
5223 inline void FileOptions::clear_has_optimize_for() {
5224 _has_bits_[0] &= ~0x00000020u;
5226 inline void FileOptions::clear_optimize_for() {
5228 clear_has_optimize_for();
5230 inline ::google::protobuf::FileOptions_OptimizeMode FileOptions::optimize_for() const {
5231 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for)
5232 return static_cast< ::google::protobuf::FileOptions_OptimizeMode >(optimize_for_);
5234 inline void FileOptions::set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value) {
5235 assert(::google::protobuf::FileOptions_OptimizeMode_IsValid(value));
5236 set_has_optimize_for();
5237 optimize_for_ = value;
5238 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for)
5241 // optional string go_package = 11;
5242 inline bool FileOptions::has_go_package() const {
5243 return (_has_bits_[0] & 0x00000040u) != 0;
5245 inline void FileOptions::set_has_go_package() {
5246 _has_bits_[0] |= 0x00000040u;
5248 inline void FileOptions::clear_has_go_package() {
5249 _has_bits_[0] &= ~0x00000040u;
5251 inline void FileOptions::clear_go_package() {
5252 if (go_package_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5253 go_package_->clear();
5255 clear_has_go_package();
5257 inline const ::std::string& FileOptions::go_package() const {
5258 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package)
5259 return *go_package_;
5261 inline void FileOptions::set_go_package(const ::std::string& value) {
5262 set_has_go_package();
5263 if (go_package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5264 go_package_ = new ::std::string;
5266 go_package_->assign(value);
5267 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package)
5269 inline void FileOptions::set_go_package(const char* value) {
5270 set_has_go_package();
5271 if (go_package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5272 go_package_ = new ::std::string;
5274 go_package_->assign(value);
5275 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.go_package)
5277 inline void FileOptions::set_go_package(const char* value, size_t size) {
5278 set_has_go_package();
5279 if (go_package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5280 go_package_ = new ::std::string;
5282 go_package_->assign(reinterpret_cast<const char*>(value), size);
5283 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.go_package)
5285 inline ::std::string* FileOptions::mutable_go_package() {
5286 set_has_go_package();
5287 if (go_package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5288 go_package_ = new ::std::string;
5290 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.go_package)
5293 inline ::std::string* FileOptions::release_go_package() {
5294 clear_has_go_package();
5295 if (go_package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5298 ::std::string* temp = go_package_;
5299 go_package_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5303 inline void FileOptions::set_allocated_go_package(::std::string* go_package) {
5304 if (go_package_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5308 set_has_go_package();
5309 go_package_ = go_package;
5311 clear_has_go_package();
5312 go_package_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5314 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go_package)
5317 // optional bool cc_generic_services = 16 [default = false];
5318 inline bool FileOptions::has_cc_generic_services() const {
5319 return (_has_bits_[0] & 0x00000080u) != 0;
5321 inline void FileOptions::set_has_cc_generic_services() {
5322 _has_bits_[0] |= 0x00000080u;
5324 inline void FileOptions::clear_has_cc_generic_services() {
5325 _has_bits_[0] &= ~0x00000080u;
5327 inline void FileOptions::clear_cc_generic_services() {
5328 cc_generic_services_ = false;
5329 clear_has_cc_generic_services();
5331 inline bool FileOptions::cc_generic_services() const {
5332 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_services)
5333 return cc_generic_services_;
5335 inline void FileOptions::set_cc_generic_services(bool value) {
5336 set_has_cc_generic_services();
5337 cc_generic_services_ = value;
5338 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_services)
5341 // optional bool java_generic_services = 17 [default = false];
5342 inline bool FileOptions::has_java_generic_services() const {
5343 return (_has_bits_[0] & 0x00000100u) != 0;
5345 inline void FileOptions::set_has_java_generic_services() {
5346 _has_bits_[0] |= 0x00000100u;
5348 inline void FileOptions::clear_has_java_generic_services() {
5349 _has_bits_[0] &= ~0x00000100u;
5351 inline void FileOptions::clear_java_generic_services() {
5352 java_generic_services_ = false;
5353 clear_has_java_generic_services();
5355 inline bool FileOptions::java_generic_services() const {
5356 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic_services)
5357 return java_generic_services_;
5359 inline void FileOptions::set_java_generic_services(bool value) {
5360 set_has_java_generic_services();
5361 java_generic_services_ = value;
5362 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic_services)
5365 // optional bool py_generic_services = 18 [default = false];
5366 inline bool FileOptions::has_py_generic_services() const {
5367 return (_has_bits_[0] & 0x00000200u) != 0;
5369 inline void FileOptions::set_has_py_generic_services() {
5370 _has_bits_[0] |= 0x00000200u;
5372 inline void FileOptions::clear_has_py_generic_services() {
5373 _has_bits_[0] &= ~0x00000200u;
5375 inline void FileOptions::clear_py_generic_services() {
5376 py_generic_services_ = false;
5377 clear_has_py_generic_services();
5379 inline bool FileOptions::py_generic_services() const {
5380 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_services)
5381 return py_generic_services_;
5383 inline void FileOptions::set_py_generic_services(bool value) {
5384 set_has_py_generic_services();
5385 py_generic_services_ = value;
5386 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_services)
5389 // optional bool deprecated = 23 [default = false];
5390 inline bool FileOptions::has_deprecated() const {
5391 return (_has_bits_[0] & 0x00000400u) != 0;
5393 inline void FileOptions::set_has_deprecated() {
5394 _has_bits_[0] |= 0x00000400u;
5396 inline void FileOptions::clear_has_deprecated() {
5397 _has_bits_[0] &= ~0x00000400u;
5399 inline void FileOptions::clear_deprecated() {
5400 deprecated_ = false;
5401 clear_has_deprecated();
5403 inline bool FileOptions::deprecated() const {
5404 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated)
5407 inline void FileOptions::set_deprecated(bool value) {
5408 set_has_deprecated();
5409 deprecated_ = value;
5410 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated)
5413 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5414 inline int FileOptions::uninterpreted_option_size() const {
5415 return uninterpreted_option_.size();
5417 inline void FileOptions::clear_uninterpreted_option() {
5418 uninterpreted_option_.Clear();
5420 inline const ::google::protobuf::UninterpretedOption& FileOptions::uninterpreted_option(int index) const {
5421 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterpreted_option)
5422 return uninterpreted_option_.Get(index);
5424 inline ::google::protobuf::UninterpretedOption* FileOptions::mutable_uninterpreted_option(int index) {
5425 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.uninterpreted_option)
5426 return uninterpreted_option_.Mutable(index);
5428 inline ::google::protobuf::UninterpretedOption* FileOptions::add_uninterpreted_option() {
5429 // @@protoc_insertion_point(field_add:google.protobuf.FileOptions.uninterpreted_option)
5430 return uninterpreted_option_.Add();
5432 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
5433 FileOptions::uninterpreted_option() const {
5434 // @@protoc_insertion_point(field_list:google.protobuf.FileOptions.uninterpreted_option)
5435 return uninterpreted_option_;
5437 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
5438 FileOptions::mutable_uninterpreted_option() {
5439 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileOptions.uninterpreted_option)
5440 return &uninterpreted_option_;
5443 // -------------------------------------------------------------------
5447 // optional bool message_set_wire_format = 1 [default = false];
5448 inline bool MessageOptions::has_message_set_wire_format() const {
5449 return (_has_bits_[0] & 0x00000001u) != 0;
5451 inline void MessageOptions::set_has_message_set_wire_format() {
5452 _has_bits_[0] |= 0x00000001u;
5454 inline void MessageOptions::clear_has_message_set_wire_format() {
5455 _has_bits_[0] &= ~0x00000001u;
5457 inline void MessageOptions::clear_message_set_wire_format() {
5458 message_set_wire_format_ = false;
5459 clear_has_message_set_wire_format();
5461 inline bool MessageOptions::message_set_wire_format() const {
5462 // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.message_set_wire_format)
5463 return message_set_wire_format_;
5465 inline void MessageOptions::set_message_set_wire_format(bool value) {
5466 set_has_message_set_wire_format();
5467 message_set_wire_format_ = value;
5468 // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.message_set_wire_format)
5471 // optional bool no_standard_descriptor_accessor = 2 [default = false];
5472 inline bool MessageOptions::has_no_standard_descriptor_accessor() const {
5473 return (_has_bits_[0] & 0x00000002u) != 0;
5475 inline void MessageOptions::set_has_no_standard_descriptor_accessor() {
5476 _has_bits_[0] |= 0x00000002u;
5478 inline void MessageOptions::clear_has_no_standard_descriptor_accessor() {
5479 _has_bits_[0] &= ~0x00000002u;
5481 inline void MessageOptions::clear_no_standard_descriptor_accessor() {
5482 no_standard_descriptor_accessor_ = false;
5483 clear_has_no_standard_descriptor_accessor();
5485 inline bool MessageOptions::no_standard_descriptor_accessor() const {
5486 // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.no_standard_descriptor_accessor)
5487 return no_standard_descriptor_accessor_;
5489 inline void MessageOptions::set_no_standard_descriptor_accessor(bool value) {
5490 set_has_no_standard_descriptor_accessor();
5491 no_standard_descriptor_accessor_ = value;
5492 // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.no_standard_descriptor_accessor)
5495 // optional bool deprecated = 3 [default = false];
5496 inline bool MessageOptions::has_deprecated() const {
5497 return (_has_bits_[0] & 0x00000004u) != 0;
5499 inline void MessageOptions::set_has_deprecated() {
5500 _has_bits_[0] |= 0x00000004u;
5502 inline void MessageOptions::clear_has_deprecated() {
5503 _has_bits_[0] &= ~0x00000004u;
5505 inline void MessageOptions::clear_deprecated() {
5506 deprecated_ = false;
5507 clear_has_deprecated();
5509 inline bool MessageOptions::deprecated() const {
5510 // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.deprecated)
5513 inline void MessageOptions::set_deprecated(bool value) {
5514 set_has_deprecated();
5515 deprecated_ = value;
5516 // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.deprecated)
5519 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5520 inline int MessageOptions::uninterpreted_option_size() const {
5521 return uninterpreted_option_.size();
5523 inline void MessageOptions::clear_uninterpreted_option() {
5524 uninterpreted_option_.Clear();
5526 inline const ::google::protobuf::UninterpretedOption& MessageOptions::uninterpreted_option(int index) const {
5527 // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.uninterpreted_option)
5528 return uninterpreted_option_.Get(index);
5530 inline ::google::protobuf::UninterpretedOption* MessageOptions::mutable_uninterpreted_option(int index) {
5531 // @@protoc_insertion_point(field_mutable:google.protobuf.MessageOptions.uninterpreted_option)
5532 return uninterpreted_option_.Mutable(index);
5534 inline ::google::protobuf::UninterpretedOption* MessageOptions::add_uninterpreted_option() {
5535 // @@protoc_insertion_point(field_add:google.protobuf.MessageOptions.uninterpreted_option)
5536 return uninterpreted_option_.Add();
5538 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
5539 MessageOptions::uninterpreted_option() const {
5540 // @@protoc_insertion_point(field_list:google.protobuf.MessageOptions.uninterpreted_option)
5541 return uninterpreted_option_;
5543 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
5544 MessageOptions::mutable_uninterpreted_option() {
5545 // @@protoc_insertion_point(field_mutable_list:google.protobuf.MessageOptions.uninterpreted_option)
5546 return &uninterpreted_option_;
5549 // -------------------------------------------------------------------
5553 // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
5554 inline bool FieldOptions::has_ctype() const {
5555 return (_has_bits_[0] & 0x00000001u) != 0;
5557 inline void FieldOptions::set_has_ctype() {
5558 _has_bits_[0] |= 0x00000001u;
5560 inline void FieldOptions::clear_has_ctype() {
5561 _has_bits_[0] &= ~0x00000001u;
5563 inline void FieldOptions::clear_ctype() {
5567 inline ::google::protobuf::FieldOptions_CType FieldOptions::ctype() const {
5568 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.ctype)
5569 return static_cast< ::google::protobuf::FieldOptions_CType >(ctype_);
5571 inline void FieldOptions::set_ctype(::google::protobuf::FieldOptions_CType value) {
5572 assert(::google::protobuf::FieldOptions_CType_IsValid(value));
5575 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype)
5578 // optional bool packed = 2;
5579 inline bool FieldOptions::has_packed() const {
5580 return (_has_bits_[0] & 0x00000002u) != 0;
5582 inline void FieldOptions::set_has_packed() {
5583 _has_bits_[0] |= 0x00000002u;
5585 inline void FieldOptions::clear_has_packed() {
5586 _has_bits_[0] &= ~0x00000002u;
5588 inline void FieldOptions::clear_packed() {
5592 inline bool FieldOptions::packed() const {
5593 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed)
5596 inline void FieldOptions::set_packed(bool value) {
5599 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed)
5602 // optional bool lazy = 5 [default = false];
5603 inline bool FieldOptions::has_lazy() const {
5604 return (_has_bits_[0] & 0x00000004u) != 0;
5606 inline void FieldOptions::set_has_lazy() {
5607 _has_bits_[0] |= 0x00000004u;
5609 inline void FieldOptions::clear_has_lazy() {
5610 _has_bits_[0] &= ~0x00000004u;
5612 inline void FieldOptions::clear_lazy() {
5616 inline bool FieldOptions::lazy() const {
5617 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.lazy)
5620 inline void FieldOptions::set_lazy(bool value) {
5623 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.lazy)
5626 // optional bool deprecated = 3 [default = false];
5627 inline bool FieldOptions::has_deprecated() const {
5628 return (_has_bits_[0] & 0x00000008u) != 0;
5630 inline void FieldOptions::set_has_deprecated() {
5631 _has_bits_[0] |= 0x00000008u;
5633 inline void FieldOptions::clear_has_deprecated() {
5634 _has_bits_[0] &= ~0x00000008u;
5636 inline void FieldOptions::clear_deprecated() {
5637 deprecated_ = false;
5638 clear_has_deprecated();
5640 inline bool FieldOptions::deprecated() const {
5641 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.deprecated)
5644 inline void FieldOptions::set_deprecated(bool value) {
5645 set_has_deprecated();
5646 deprecated_ = value;
5647 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.deprecated)
5650 // optional string experimental_map_key = 9;
5651 inline bool FieldOptions::has_experimental_map_key() const {
5652 return (_has_bits_[0] & 0x00000010u) != 0;
5654 inline void FieldOptions::set_has_experimental_map_key() {
5655 _has_bits_[0] |= 0x00000010u;
5657 inline void FieldOptions::clear_has_experimental_map_key() {
5658 _has_bits_[0] &= ~0x00000010u;
5660 inline void FieldOptions::clear_experimental_map_key() {
5661 if (experimental_map_key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5662 experimental_map_key_->clear();
5664 clear_has_experimental_map_key();
5666 inline const ::std::string& FieldOptions::experimental_map_key() const {
5667 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.experimental_map_key)
5668 return *experimental_map_key_;
5670 inline void FieldOptions::set_experimental_map_key(const ::std::string& value) {
5671 set_has_experimental_map_key();
5672 if (experimental_map_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5673 experimental_map_key_ = new ::std::string;
5675 experimental_map_key_->assign(value);
5676 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.experimental_map_key)
5678 inline void FieldOptions::set_experimental_map_key(const char* value) {
5679 set_has_experimental_map_key();
5680 if (experimental_map_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5681 experimental_map_key_ = new ::std::string;
5683 experimental_map_key_->assign(value);
5684 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldOptions.experimental_map_key)
5686 inline void FieldOptions::set_experimental_map_key(const char* value, size_t size) {
5687 set_has_experimental_map_key();
5688 if (experimental_map_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5689 experimental_map_key_ = new ::std::string;
5691 experimental_map_key_->assign(reinterpret_cast<const char*>(value), size);
5692 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldOptions.experimental_map_key)
5694 inline ::std::string* FieldOptions::mutable_experimental_map_key() {
5695 set_has_experimental_map_key();
5696 if (experimental_map_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5697 experimental_map_key_ = new ::std::string;
5699 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.experimental_map_key)
5700 return experimental_map_key_;
5702 inline ::std::string* FieldOptions::release_experimental_map_key() {
5703 clear_has_experimental_map_key();
5704 if (experimental_map_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5707 ::std::string* temp = experimental_map_key_;
5708 experimental_map_key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5712 inline void FieldOptions::set_allocated_experimental_map_key(::std::string* experimental_map_key) {
5713 if (experimental_map_key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5714 delete experimental_map_key_;
5716 if (experimental_map_key) {
5717 set_has_experimental_map_key();
5718 experimental_map_key_ = experimental_map_key;
5720 clear_has_experimental_map_key();
5721 experimental_map_key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5723 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldOptions.experimental_map_key)
5726 // optional bool weak = 10 [default = false];
5727 inline bool FieldOptions::has_weak() const {
5728 return (_has_bits_[0] & 0x00000020u) != 0;
5730 inline void FieldOptions::set_has_weak() {
5731 _has_bits_[0] |= 0x00000020u;
5733 inline void FieldOptions::clear_has_weak() {
5734 _has_bits_[0] &= ~0x00000020u;
5736 inline void FieldOptions::clear_weak() {
5740 inline bool FieldOptions::weak() const {
5741 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.weak)
5744 inline void FieldOptions::set_weak(bool value) {
5747 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.weak)
5750 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5751 inline int FieldOptions::uninterpreted_option_size() const {
5752 return uninterpreted_option_.size();
5754 inline void FieldOptions::clear_uninterpreted_option() {
5755 uninterpreted_option_.Clear();
5757 inline const ::google::protobuf::UninterpretedOption& FieldOptions::uninterpreted_option(int index) const {
5758 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.uninterpreted_option)
5759 return uninterpreted_option_.Get(index);
5761 inline ::google::protobuf::UninterpretedOption* FieldOptions::mutable_uninterpreted_option(int index) {
5762 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.uninterpreted_option)
5763 return uninterpreted_option_.Mutable(index);
5765 inline ::google::protobuf::UninterpretedOption* FieldOptions::add_uninterpreted_option() {
5766 // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.uninterpreted_option)
5767 return uninterpreted_option_.Add();
5769 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
5770 FieldOptions::uninterpreted_option() const {
5771 // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpreted_option)
5772 return uninterpreted_option_;
5774 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
5775 FieldOptions::mutable_uninterpreted_option() {
5776 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldOptions.uninterpreted_option)
5777 return &uninterpreted_option_;
5780 // -------------------------------------------------------------------
5784 // optional bool allow_alias = 2;
5785 inline bool EnumOptions::has_allow_alias() const {
5786 return (_has_bits_[0] & 0x00000001u) != 0;
5788 inline void EnumOptions::set_has_allow_alias() {
5789 _has_bits_[0] |= 0x00000001u;
5791 inline void EnumOptions::clear_has_allow_alias() {
5792 _has_bits_[0] &= ~0x00000001u;
5794 inline void EnumOptions::clear_allow_alias() {
5795 allow_alias_ = false;
5796 clear_has_allow_alias();
5798 inline bool EnumOptions::allow_alias() const {
5799 // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.allow_alias)
5800 return allow_alias_;
5802 inline void EnumOptions::set_allow_alias(bool value) {
5803 set_has_allow_alias();
5804 allow_alias_ = value;
5805 // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.allow_alias)
5808 // optional bool deprecated = 3 [default = false];
5809 inline bool EnumOptions::has_deprecated() const {
5810 return (_has_bits_[0] & 0x00000002u) != 0;
5812 inline void EnumOptions::set_has_deprecated() {
5813 _has_bits_[0] |= 0x00000002u;
5815 inline void EnumOptions::clear_has_deprecated() {
5816 _has_bits_[0] &= ~0x00000002u;
5818 inline void EnumOptions::clear_deprecated() {
5819 deprecated_ = false;
5820 clear_has_deprecated();
5822 inline bool EnumOptions::deprecated() const {
5823 // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated)
5826 inline void EnumOptions::set_deprecated(bool value) {
5827 set_has_deprecated();
5828 deprecated_ = value;
5829 // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated)
5832 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5833 inline int EnumOptions::uninterpreted_option_size() const {
5834 return uninterpreted_option_.size();
5836 inline void EnumOptions::clear_uninterpreted_option() {
5837 uninterpreted_option_.Clear();
5839 inline const ::google::protobuf::UninterpretedOption& EnumOptions::uninterpreted_option(int index) const {
5840 // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.uninterpreted_option)
5841 return uninterpreted_option_.Get(index);
5843 inline ::google::protobuf::UninterpretedOption* EnumOptions::mutable_uninterpreted_option(int index) {
5844 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumOptions.uninterpreted_option)
5845 return uninterpreted_option_.Mutable(index);
5847 inline ::google::protobuf::UninterpretedOption* EnumOptions::add_uninterpreted_option() {
5848 // @@protoc_insertion_point(field_add:google.protobuf.EnumOptions.uninterpreted_option)
5849 return uninterpreted_option_.Add();
5851 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
5852 EnumOptions::uninterpreted_option() const {
5853 // @@protoc_insertion_point(field_list:google.protobuf.EnumOptions.uninterpreted_option)
5854 return uninterpreted_option_;
5856 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
5857 EnumOptions::mutable_uninterpreted_option() {
5858 // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumOptions.uninterpreted_option)
5859 return &uninterpreted_option_;
5862 // -------------------------------------------------------------------
5866 // optional bool deprecated = 1 [default = false];
5867 inline bool EnumValueOptions::has_deprecated() const {
5868 return (_has_bits_[0] & 0x00000001u) != 0;
5870 inline void EnumValueOptions::set_has_deprecated() {
5871 _has_bits_[0] |= 0x00000001u;
5873 inline void EnumValueOptions::clear_has_deprecated() {
5874 _has_bits_[0] &= ~0x00000001u;
5876 inline void EnumValueOptions::clear_deprecated() {
5877 deprecated_ = false;
5878 clear_has_deprecated();
5880 inline bool EnumValueOptions::deprecated() const {
5881 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.deprecated)
5884 inline void EnumValueOptions::set_deprecated(bool value) {
5885 set_has_deprecated();
5886 deprecated_ = value;
5887 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueOptions.deprecated)
5890 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5891 inline int EnumValueOptions::uninterpreted_option_size() const {
5892 return uninterpreted_option_.size();
5894 inline void EnumValueOptions::clear_uninterpreted_option() {
5895 uninterpreted_option_.Clear();
5897 inline const ::google::protobuf::UninterpretedOption& EnumValueOptions::uninterpreted_option(int index) const {
5898 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.uninterpreted_option)
5899 return uninterpreted_option_.Get(index);
5901 inline ::google::protobuf::UninterpretedOption* EnumValueOptions::mutable_uninterpreted_option(int index) {
5902 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueOptions.uninterpreted_option)
5903 return uninterpreted_option_.Mutable(index);
5905 inline ::google::protobuf::UninterpretedOption* EnumValueOptions::add_uninterpreted_option() {
5906 // @@protoc_insertion_point(field_add:google.protobuf.EnumValueOptions.uninterpreted_option)
5907 return uninterpreted_option_.Add();
5909 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
5910 EnumValueOptions::uninterpreted_option() const {
5911 // @@protoc_insertion_point(field_list:google.protobuf.EnumValueOptions.uninterpreted_option)
5912 return uninterpreted_option_;
5914 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
5915 EnumValueOptions::mutable_uninterpreted_option() {
5916 // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValueOptions.uninterpreted_option)
5917 return &uninterpreted_option_;
5920 // -------------------------------------------------------------------
5924 // optional bool deprecated = 33 [default = false];
5925 inline bool ServiceOptions::has_deprecated() const {
5926 return (_has_bits_[0] & 0x00000001u) != 0;
5928 inline void ServiceOptions::set_has_deprecated() {
5929 _has_bits_[0] |= 0x00000001u;
5931 inline void ServiceOptions::clear_has_deprecated() {
5932 _has_bits_[0] &= ~0x00000001u;
5934 inline void ServiceOptions::clear_deprecated() {
5935 deprecated_ = false;
5936 clear_has_deprecated();
5938 inline bool ServiceOptions::deprecated() const {
5939 // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.deprecated)
5942 inline void ServiceOptions::set_deprecated(bool value) {
5943 set_has_deprecated();
5944 deprecated_ = value;
5945 // @@protoc_insertion_point(field_set:google.protobuf.ServiceOptions.deprecated)
5948 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5949 inline int ServiceOptions::uninterpreted_option_size() const {
5950 return uninterpreted_option_.size();
5952 inline void ServiceOptions::clear_uninterpreted_option() {
5953 uninterpreted_option_.Clear();
5955 inline const ::google::protobuf::UninterpretedOption& ServiceOptions::uninterpreted_option(int index) const {
5956 // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.uninterpreted_option)
5957 return uninterpreted_option_.Get(index);
5959 inline ::google::protobuf::UninterpretedOption* ServiceOptions::mutable_uninterpreted_option(int index) {
5960 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceOptions.uninterpreted_option)
5961 return uninterpreted_option_.Mutable(index);
5963 inline ::google::protobuf::UninterpretedOption* ServiceOptions::add_uninterpreted_option() {
5964 // @@protoc_insertion_point(field_add:google.protobuf.ServiceOptions.uninterpreted_option)
5965 return uninterpreted_option_.Add();
5967 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
5968 ServiceOptions::uninterpreted_option() const {
5969 // @@protoc_insertion_point(field_list:google.protobuf.ServiceOptions.uninterpreted_option)
5970 return uninterpreted_option_;
5972 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
5973 ServiceOptions::mutable_uninterpreted_option() {
5974 // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceOptions.uninterpreted_option)
5975 return &uninterpreted_option_;
5978 // -------------------------------------------------------------------
5982 // optional bool deprecated = 33 [default = false];
5983 inline bool MethodOptions::has_deprecated() const {
5984 return (_has_bits_[0] & 0x00000001u) != 0;
5986 inline void MethodOptions::set_has_deprecated() {
5987 _has_bits_[0] |= 0x00000001u;
5989 inline void MethodOptions::clear_has_deprecated() {
5990 _has_bits_[0] &= ~0x00000001u;
5992 inline void MethodOptions::clear_deprecated() {
5993 deprecated_ = false;
5994 clear_has_deprecated();
5996 inline bool MethodOptions::deprecated() const {
5997 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated)
6000 inline void MethodOptions::set_deprecated(bool value) {
6001 set_has_deprecated();
6002 deprecated_ = value;
6003 // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated)
6006 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
6007 inline int MethodOptions::uninterpreted_option_size() const {
6008 return uninterpreted_option_.size();
6010 inline void MethodOptions::clear_uninterpreted_option() {
6011 uninterpreted_option_.Clear();
6013 inline const ::google::protobuf::UninterpretedOption& MethodOptions::uninterpreted_option(int index) const {
6014 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpreted_option)
6015 return uninterpreted_option_.Get(index);
6017 inline ::google::protobuf::UninterpretedOption* MethodOptions::mutable_uninterpreted_option(int index) {
6018 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodOptions.uninterpreted_option)
6019 return uninterpreted_option_.Mutable(index);
6021 inline ::google::protobuf::UninterpretedOption* MethodOptions::add_uninterpreted_option() {
6022 // @@protoc_insertion_point(field_add:google.protobuf.MethodOptions.uninterpreted_option)
6023 return uninterpreted_option_.Add();
6025 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
6026 MethodOptions::uninterpreted_option() const {
6027 // @@protoc_insertion_point(field_list:google.protobuf.MethodOptions.uninterpreted_option)
6028 return uninterpreted_option_;
6030 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
6031 MethodOptions::mutable_uninterpreted_option() {
6032 // @@protoc_insertion_point(field_mutable_list:google.protobuf.MethodOptions.uninterpreted_option)
6033 return &uninterpreted_option_;
6036 // -------------------------------------------------------------------
6038 // UninterpretedOption_NamePart
6040 // required string name_part = 1;
6041 inline bool UninterpretedOption_NamePart::has_name_part() const {
6042 return (_has_bits_[0] & 0x00000001u) != 0;
6044 inline void UninterpretedOption_NamePart::set_has_name_part() {
6045 _has_bits_[0] |= 0x00000001u;
6047 inline void UninterpretedOption_NamePart::clear_has_name_part() {
6048 _has_bits_[0] &= ~0x00000001u;
6050 inline void UninterpretedOption_NamePart::clear_name_part() {
6051 if (name_part_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6052 name_part_->clear();
6054 clear_has_name_part();
6056 inline const ::std::string& UninterpretedOption_NamePart::name_part() const {
6057 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.name_part)
6060 inline void UninterpretedOption_NamePart::set_name_part(const ::std::string& value) {
6061 set_has_name_part();
6062 if (name_part_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6063 name_part_ = new ::std::string;
6065 name_part_->assign(value);
6066 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.name_part)
6068 inline void UninterpretedOption_NamePart::set_name_part(const char* value) {
6069 set_has_name_part();
6070 if (name_part_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6071 name_part_ = new ::std::string;
6073 name_part_->assign(value);
6074 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.NamePart.name_part)
6076 inline void UninterpretedOption_NamePart::set_name_part(const char* value, size_t size) {
6077 set_has_name_part();
6078 if (name_part_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6079 name_part_ = new ::std::string;
6081 name_part_->assign(reinterpret_cast<const char*>(value), size);
6082 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.NamePart.name_part)
6084 inline ::std::string* UninterpretedOption_NamePart::mutable_name_part() {
6085 set_has_name_part();
6086 if (name_part_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6087 name_part_ = new ::std::string;
6089 // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.NamePart.name_part)
6092 inline ::std::string* UninterpretedOption_NamePart::release_name_part() {
6093 clear_has_name_part();
6094 if (name_part_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6097 ::std::string* temp = name_part_;
6098 name_part_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6102 inline void UninterpretedOption_NamePart::set_allocated_name_part(::std::string* name_part) {
6103 if (name_part_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6107 set_has_name_part();
6108 name_part_ = name_part;
6110 clear_has_name_part();
6111 name_part_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6113 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.NamePart.name_part)
6116 // required bool is_extension = 2;
6117 inline bool UninterpretedOption_NamePart::has_is_extension() const {
6118 return (_has_bits_[0] & 0x00000002u) != 0;
6120 inline void UninterpretedOption_NamePart::set_has_is_extension() {
6121 _has_bits_[0] |= 0x00000002u;
6123 inline void UninterpretedOption_NamePart::clear_has_is_extension() {
6124 _has_bits_[0] &= ~0x00000002u;
6126 inline void UninterpretedOption_NamePart::clear_is_extension() {
6127 is_extension_ = false;
6128 clear_has_is_extension();
6130 inline bool UninterpretedOption_NamePart::is_extension() const {
6131 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.is_extension)
6132 return is_extension_;
6134 inline void UninterpretedOption_NamePart::set_is_extension(bool value) {
6135 set_has_is_extension();
6136 is_extension_ = value;
6137 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.is_extension)
6140 // -------------------------------------------------------------------
6142 // UninterpretedOption
6144 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
6145 inline int UninterpretedOption::name_size() const {
6146 return name_.size();
6148 inline void UninterpretedOption::clear_name() {
6151 inline const ::google::protobuf::UninterpretedOption_NamePart& UninterpretedOption::name(int index) const {
6152 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.name)
6153 return name_.Get(index);
6155 inline ::google::protobuf::UninterpretedOption_NamePart* UninterpretedOption::mutable_name(int index) {
6156 // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.name)
6157 return name_.Mutable(index);
6159 inline ::google::protobuf::UninterpretedOption_NamePart* UninterpretedOption::add_name() {
6160 // @@protoc_insertion_point(field_add:google.protobuf.UninterpretedOption.name)
6163 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >&
6164 UninterpretedOption::name() const {
6165 // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.name)
6168 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >*
6169 UninterpretedOption::mutable_name() {
6170 // @@protoc_insertion_point(field_mutable_list:google.protobuf.UninterpretedOption.name)
6174 // optional string identifier_value = 3;
6175 inline bool UninterpretedOption::has_identifier_value() const {
6176 return (_has_bits_[0] & 0x00000002u) != 0;
6178 inline void UninterpretedOption::set_has_identifier_value() {
6179 _has_bits_[0] |= 0x00000002u;
6181 inline void UninterpretedOption::clear_has_identifier_value() {
6182 _has_bits_[0] &= ~0x00000002u;
6184 inline void UninterpretedOption::clear_identifier_value() {
6185 if (identifier_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6186 identifier_value_->clear();
6188 clear_has_identifier_value();
6190 inline const ::std::string& UninterpretedOption::identifier_value() const {
6191 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.identifier_value)
6192 return *identifier_value_;
6194 inline void UninterpretedOption::set_identifier_value(const ::std::string& value) {
6195 set_has_identifier_value();
6196 if (identifier_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6197 identifier_value_ = new ::std::string;
6199 identifier_value_->assign(value);
6200 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.identifier_value)
6202 inline void UninterpretedOption::set_identifier_value(const char* value) {
6203 set_has_identifier_value();
6204 if (identifier_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6205 identifier_value_ = new ::std::string;
6207 identifier_value_->assign(value);
6208 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.identifier_value)
6210 inline void UninterpretedOption::set_identifier_value(const char* value, size_t size) {
6211 set_has_identifier_value();
6212 if (identifier_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6213 identifier_value_ = new ::std::string;
6215 identifier_value_->assign(reinterpret_cast<const char*>(value), size);
6216 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.identifier_value)
6218 inline ::std::string* UninterpretedOption::mutable_identifier_value() {
6219 set_has_identifier_value();
6220 if (identifier_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6221 identifier_value_ = new ::std::string;
6223 // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.identifier_value)
6224 return identifier_value_;
6226 inline ::std::string* UninterpretedOption::release_identifier_value() {
6227 clear_has_identifier_value();
6228 if (identifier_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6231 ::std::string* temp = identifier_value_;
6232 identifier_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6236 inline void UninterpretedOption::set_allocated_identifier_value(::std::string* identifier_value) {
6237 if (identifier_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6238 delete identifier_value_;
6240 if (identifier_value) {
6241 set_has_identifier_value();
6242 identifier_value_ = identifier_value;
6244 clear_has_identifier_value();
6245 identifier_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6247 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.identifier_value)
6250 // optional uint64 positive_int_value = 4;
6251 inline bool UninterpretedOption::has_positive_int_value() const {
6252 return (_has_bits_[0] & 0x00000004u) != 0;
6254 inline void UninterpretedOption::set_has_positive_int_value() {
6255 _has_bits_[0] |= 0x00000004u;
6257 inline void UninterpretedOption::clear_has_positive_int_value() {
6258 _has_bits_[0] &= ~0x00000004u;
6260 inline void UninterpretedOption::clear_positive_int_value() {
6261 positive_int_value_ = GOOGLE_ULONGLONG(0);
6262 clear_has_positive_int_value();
6264 inline ::google::protobuf::uint64 UninterpretedOption::positive_int_value() const {
6265 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.positive_int_value)
6266 return positive_int_value_;
6268 inline void UninterpretedOption::set_positive_int_value(::google::protobuf::uint64 value) {
6269 set_has_positive_int_value();
6270 positive_int_value_ = value;
6271 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.positive_int_value)
6274 // optional int64 negative_int_value = 5;
6275 inline bool UninterpretedOption::has_negative_int_value() const {
6276 return (_has_bits_[0] & 0x00000008u) != 0;
6278 inline void UninterpretedOption::set_has_negative_int_value() {
6279 _has_bits_[0] |= 0x00000008u;
6281 inline void UninterpretedOption::clear_has_negative_int_value() {
6282 _has_bits_[0] &= ~0x00000008u;
6284 inline void UninterpretedOption::clear_negative_int_value() {
6285 negative_int_value_ = GOOGLE_LONGLONG(0);
6286 clear_has_negative_int_value();
6288 inline ::google::protobuf::int64 UninterpretedOption::negative_int_value() const {
6289 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.negative_int_value)
6290 return negative_int_value_;
6292 inline void UninterpretedOption::set_negative_int_value(::google::protobuf::int64 value) {
6293 set_has_negative_int_value();
6294 negative_int_value_ = value;
6295 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.negative_int_value)
6298 // optional double double_value = 6;
6299 inline bool UninterpretedOption::has_double_value() const {
6300 return (_has_bits_[0] & 0x00000010u) != 0;
6302 inline void UninterpretedOption::set_has_double_value() {
6303 _has_bits_[0] |= 0x00000010u;
6305 inline void UninterpretedOption::clear_has_double_value() {
6306 _has_bits_[0] &= ~0x00000010u;
6308 inline void UninterpretedOption::clear_double_value() {
6310 clear_has_double_value();
6312 inline double UninterpretedOption::double_value() const {
6313 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.double_value)
6314 return double_value_;
6316 inline void UninterpretedOption::set_double_value(double value) {
6317 set_has_double_value();
6318 double_value_ = value;
6319 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.double_value)
6322 // optional bytes string_value = 7;
6323 inline bool UninterpretedOption::has_string_value() const {
6324 return (_has_bits_[0] & 0x00000020u) != 0;
6326 inline void UninterpretedOption::set_has_string_value() {
6327 _has_bits_[0] |= 0x00000020u;
6329 inline void UninterpretedOption::clear_has_string_value() {
6330 _has_bits_[0] &= ~0x00000020u;
6332 inline void UninterpretedOption::clear_string_value() {
6333 if (string_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6334 string_value_->clear();
6336 clear_has_string_value();
6338 inline const ::std::string& UninterpretedOption::string_value() const {
6339 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.string_value)
6340 return *string_value_;
6342 inline void UninterpretedOption::set_string_value(const ::std::string& value) {
6343 set_has_string_value();
6344 if (string_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6345 string_value_ = new ::std::string;
6347 string_value_->assign(value);
6348 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.string_value)
6350 inline void UninterpretedOption::set_string_value(const char* value) {
6351 set_has_string_value();
6352 if (string_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6353 string_value_ = new ::std::string;
6355 string_value_->assign(value);
6356 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.string_value)
6358 inline void UninterpretedOption::set_string_value(const void* value, size_t size) {
6359 set_has_string_value();
6360 if (string_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6361 string_value_ = new ::std::string;
6363 string_value_->assign(reinterpret_cast<const char*>(value), size);
6364 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.string_value)
6366 inline ::std::string* UninterpretedOption::mutable_string_value() {
6367 set_has_string_value();
6368 if (string_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6369 string_value_ = new ::std::string;
6371 // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.string_value)
6372 return string_value_;
6374 inline ::std::string* UninterpretedOption::release_string_value() {
6375 clear_has_string_value();
6376 if (string_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6379 ::std::string* temp = string_value_;
6380 string_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6384 inline void UninterpretedOption::set_allocated_string_value(::std::string* string_value) {
6385 if (string_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6386 delete string_value_;
6389 set_has_string_value();
6390 string_value_ = string_value;
6392 clear_has_string_value();
6393 string_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6395 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.string_value)
6398 // optional string aggregate_value = 8;
6399 inline bool UninterpretedOption::has_aggregate_value() const {
6400 return (_has_bits_[0] & 0x00000040u) != 0;
6402 inline void UninterpretedOption::set_has_aggregate_value() {
6403 _has_bits_[0] |= 0x00000040u;
6405 inline void UninterpretedOption::clear_has_aggregate_value() {
6406 _has_bits_[0] &= ~0x00000040u;
6408 inline void UninterpretedOption::clear_aggregate_value() {
6409 if (aggregate_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6410 aggregate_value_->clear();
6412 clear_has_aggregate_value();
6414 inline const ::std::string& UninterpretedOption::aggregate_value() const {
6415 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggregate_value)
6416 return *aggregate_value_;
6418 inline void UninterpretedOption::set_aggregate_value(const ::std::string& value) {
6419 set_has_aggregate_value();
6420 if (aggregate_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6421 aggregate_value_ = new ::std::string;
6423 aggregate_value_->assign(value);
6424 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggregate_value)
6426 inline void UninterpretedOption::set_aggregate_value(const char* value) {
6427 set_has_aggregate_value();
6428 if (aggregate_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6429 aggregate_value_ = new ::std::string;
6431 aggregate_value_->assign(value);
6432 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.aggregate_value)
6434 inline void UninterpretedOption::set_aggregate_value(const char* value, size_t size) {
6435 set_has_aggregate_value();
6436 if (aggregate_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6437 aggregate_value_ = new ::std::string;
6439 aggregate_value_->assign(reinterpret_cast<const char*>(value), size);
6440 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.aggregate_value)
6442 inline ::std::string* UninterpretedOption::mutable_aggregate_value() {
6443 set_has_aggregate_value();
6444 if (aggregate_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6445 aggregate_value_ = new ::std::string;
6447 // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.aggregate_value)
6448 return aggregate_value_;
6450 inline ::std::string* UninterpretedOption::release_aggregate_value() {
6451 clear_has_aggregate_value();
6452 if (aggregate_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6455 ::std::string* temp = aggregate_value_;
6456 aggregate_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6460 inline void UninterpretedOption::set_allocated_aggregate_value(::std::string* aggregate_value) {
6461 if (aggregate_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6462 delete aggregate_value_;
6464 if (aggregate_value) {
6465 set_has_aggregate_value();
6466 aggregate_value_ = aggregate_value;
6468 clear_has_aggregate_value();
6469 aggregate_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6471 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.aggregate_value)
6474 // -------------------------------------------------------------------
6476 // SourceCodeInfo_Location
6478 // repeated int32 path = 1 [packed = true];
6479 inline int SourceCodeInfo_Location::path_size() const {
6480 return path_.size();
6482 inline void SourceCodeInfo_Location::clear_path() {
6485 inline ::google::protobuf::int32 SourceCodeInfo_Location::path(int index) const {
6486 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.path)
6487 return path_.Get(index);
6489 inline void SourceCodeInfo_Location::set_path(int index, ::google::protobuf::int32 value) {
6490 path_.Set(index, value);
6491 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.path)
6493 inline void SourceCodeInfo_Location::add_path(::google::protobuf::int32 value) {
6495 // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.path)
6497 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
6498 SourceCodeInfo_Location::path() const {
6499 // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.path)
6502 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
6503 SourceCodeInfo_Location::mutable_path() {
6504 // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.path)
6508 // repeated int32 span = 2 [packed = true];
6509 inline int SourceCodeInfo_Location::span_size() const {
6510 return span_.size();
6512 inline void SourceCodeInfo_Location::clear_span() {
6515 inline ::google::protobuf::int32 SourceCodeInfo_Location::span(int index) const {
6516 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.span)
6517 return span_.Get(index);
6519 inline void SourceCodeInfo_Location::set_span(int index, ::google::protobuf::int32 value) {
6520 span_.Set(index, value);
6521 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.span)
6523 inline void SourceCodeInfo_Location::add_span(::google::protobuf::int32 value) {
6525 // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.span)
6527 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
6528 SourceCodeInfo_Location::span() const {
6529 // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.span)
6532 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
6533 SourceCodeInfo_Location::mutable_span() {
6534 // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.span)
6538 // optional string leading_comments = 3;
6539 inline bool SourceCodeInfo_Location::has_leading_comments() const {
6540 return (_has_bits_[0] & 0x00000004u) != 0;
6542 inline void SourceCodeInfo_Location::set_has_leading_comments() {
6543 _has_bits_[0] |= 0x00000004u;
6545 inline void SourceCodeInfo_Location::clear_has_leading_comments() {
6546 _has_bits_[0] &= ~0x00000004u;
6548 inline void SourceCodeInfo_Location::clear_leading_comments() {
6549 if (leading_comments_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6550 leading_comments_->clear();
6552 clear_has_leading_comments();
6554 inline const ::std::string& SourceCodeInfo_Location::leading_comments() const {
6555 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_comments)
6556 return *leading_comments_;
6558 inline void SourceCodeInfo_Location::set_leading_comments(const ::std::string& value) {
6559 set_has_leading_comments();
6560 if (leading_comments_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6561 leading_comments_ = new ::std::string;
6563 leading_comments_->assign(value);
6564 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_comments)
6566 inline void SourceCodeInfo_Location::set_leading_comments(const char* value) {
6567 set_has_leading_comments();
6568 if (leading_comments_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6569 leading_comments_ = new ::std::string;
6571 leading_comments_->assign(value);
6572 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.leading_comments)
6574 inline void SourceCodeInfo_Location::set_leading_comments(const char* value, size_t size) {
6575 set_has_leading_comments();
6576 if (leading_comments_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6577 leading_comments_ = new ::std::string;
6579 leading_comments_->assign(reinterpret_cast<const char*>(value), size);
6580 // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_comments)
6582 inline ::std::string* SourceCodeInfo_Location::mutable_leading_comments() {
6583 set_has_leading_comments();
6584 if (leading_comments_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6585 leading_comments_ = new ::std::string;
6587 // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_comments)
6588 return leading_comments_;
6590 inline ::std::string* SourceCodeInfo_Location::release_leading_comments() {
6591 clear_has_leading_comments();
6592 if (leading_comments_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6595 ::std::string* temp = leading_comments_;
6596 leading_comments_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6600 inline void SourceCodeInfo_Location::set_allocated_leading_comments(::std::string* leading_comments) {
6601 if (leading_comments_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6602 delete leading_comments_;
6604 if (leading_comments) {
6605 set_has_leading_comments();
6606 leading_comments_ = leading_comments;
6608 clear_has_leading_comments();
6609 leading_comments_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6611 // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.leading_comments)
6614 // optional string trailing_comments = 4;
6615 inline bool SourceCodeInfo_Location::has_trailing_comments() const {
6616 return (_has_bits_[0] & 0x00000008u) != 0;
6618 inline void SourceCodeInfo_Location::set_has_trailing_comments() {
6619 _has_bits_[0] |= 0x00000008u;
6621 inline void SourceCodeInfo_Location::clear_has_trailing_comments() {
6622 _has_bits_[0] &= ~0x00000008u;
6624 inline void SourceCodeInfo_Location::clear_trailing_comments() {
6625 if (trailing_comments_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6626 trailing_comments_->clear();
6628 clear_has_trailing_comments();
6630 inline const ::std::string& SourceCodeInfo_Location::trailing_comments() const {
6631 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.trailing_comments)
6632 return *trailing_comments_;
6634 inline void SourceCodeInfo_Location::set_trailing_comments(const ::std::string& value) {
6635 set_has_trailing_comments();
6636 if (trailing_comments_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6637 trailing_comments_ = new ::std::string;
6639 trailing_comments_->assign(value);
6640 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.trailing_comments)
6642 inline void SourceCodeInfo_Location::set_trailing_comments(const char* value) {
6643 set_has_trailing_comments();
6644 if (trailing_comments_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6645 trailing_comments_ = new ::std::string;
6647 trailing_comments_->assign(value);
6648 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.trailing_comments)
6650 inline void SourceCodeInfo_Location::set_trailing_comments(const char* value, size_t size) {
6651 set_has_trailing_comments();
6652 if (trailing_comments_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6653 trailing_comments_ = new ::std::string;
6655 trailing_comments_->assign(reinterpret_cast<const char*>(value), size);
6656 // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.trailing_comments)
6658 inline ::std::string* SourceCodeInfo_Location::mutable_trailing_comments() {
6659 set_has_trailing_comments();
6660 if (trailing_comments_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6661 trailing_comments_ = new ::std::string;
6663 // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.trailing_comments)
6664 return trailing_comments_;
6666 inline ::std::string* SourceCodeInfo_Location::release_trailing_comments() {
6667 clear_has_trailing_comments();
6668 if (trailing_comments_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6671 ::std::string* temp = trailing_comments_;
6672 trailing_comments_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6676 inline void SourceCodeInfo_Location::set_allocated_trailing_comments(::std::string* trailing_comments) {
6677 if (trailing_comments_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6678 delete trailing_comments_;
6680 if (trailing_comments) {
6681 set_has_trailing_comments();
6682 trailing_comments_ = trailing_comments;
6684 clear_has_trailing_comments();
6685 trailing_comments_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6687 // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.trailing_comments)
6690 // -------------------------------------------------------------------
6694 // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
6695 inline int SourceCodeInfo::location_size() const {
6696 return location_.size();
6698 inline void SourceCodeInfo::clear_location() {
6701 inline const ::google::protobuf::SourceCodeInfo_Location& SourceCodeInfo::location(int index) const {
6702 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.location)
6703 return location_.Get(index);
6705 inline ::google::protobuf::SourceCodeInfo_Location* SourceCodeInfo::mutable_location(int index) {
6706 // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.location)
6707 return location_.Mutable(index);
6709 inline ::google::protobuf::SourceCodeInfo_Location* SourceCodeInfo::add_location() {
6710 // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.location)
6711 return location_.Add();
6713 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >&
6714 SourceCodeInfo::location() const {
6715 // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.location)
6718 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >*
6719 SourceCodeInfo::mutable_location() {
6720 // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.location)
6725 // @@protoc_insertion_point(namespace_scope)
6727 } // namespace protobuf
6728 } // namespace google
6732 namespace protobuf {
6734 template <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Type> : ::google::protobuf::internal::true_type {};
6736 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescriptorProto_Type>() {
6737 return ::google::protobuf::FieldDescriptorProto_Type_descriptor();
6739 template <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Label> : ::google::protobuf::internal::true_type {};
6741 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescriptorProto_Label>() {
6742 return ::google::protobuf::FieldDescriptorProto_Label_descriptor();
6744 template <> struct is_proto_enum< ::google::protobuf::FileOptions_OptimizeMode> : ::google::protobuf::internal::true_type {};
6746 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FileOptions_OptimizeMode>() {
6747 return ::google::protobuf::FileOptions_OptimizeMode_descriptor();
6749 template <> struct is_proto_enum< ::google::protobuf::FieldOptions_CType> : ::google::protobuf::internal::true_type {};
6751 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions_CType>() {
6752 return ::google::protobuf::FieldOptions_CType_descriptor();
6755 } // namespace google
6756 } // namespace protobuf
6759 // @@protoc_insertion_point(global_scope)
6761 #endif // PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED