Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // source: google/protobuf/descriptor.proto
3 :
4 : #ifndef PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED
5 : #define PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED
6 :
7 : #include <string>
8 :
9 : #include <google/protobuf/stubs/common.h>
10 :
11 : #if GOOGLE_PROTOBUF_VERSION < 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
14 : #error your headers.
15 : #endif
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.
20 : #endif
21 :
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)
29 :
30 : namespace google {
31 : namespace protobuf {
32 :
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();
37 :
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;
48 : class FileOptions;
49 : class MessageOptions;
50 : class FieldOptions;
51 : class EnumOptions;
52 : class EnumValueOptions;
53 : class ServiceOptions;
54 : class MethodOptions;
55 : class UninterpretedOption;
56 : class UninterpretedOption_NamePart;
57 : class SourceCodeInfo;
58 : class SourceCodeInfo_Location;
59 :
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
79 : };
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;
84 :
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);
89 : }
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);
94 : }
95 : enum FieldDescriptorProto_Label {
96 : FieldDescriptorProto_Label_LABEL_OPTIONAL = 1,
97 : FieldDescriptorProto_Label_LABEL_REQUIRED = 2,
98 : FieldDescriptorProto_Label_LABEL_REPEATED = 3
99 : };
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;
104 :
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);
109 : }
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);
114 : }
115 : enum FileOptions_OptimizeMode {
116 : FileOptions_OptimizeMode_SPEED = 1,
117 : FileOptions_OptimizeMode_CODE_SIZE = 2,
118 : FileOptions_OptimizeMode_LITE_RUNTIME = 3
119 : };
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;
124 :
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);
129 : }
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);
134 : }
135 : enum FieldOptions_CType {
136 : FieldOptions_CType_STRING = 0,
137 : FieldOptions_CType_CORD = 1,
138 : FieldOptions_CType_STRING_PIECE = 2
139 : };
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;
144 :
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);
149 : }
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);
154 : }
155 : // ===================================================================
156 :
157 : class LIBPROTOBUF_EXPORT FileDescriptorSet : public ::google::protobuf::Message {
158 : public:
159 : FileDescriptorSet();
160 : virtual ~FileDescriptorSet();
161 :
162 : FileDescriptorSet(const FileDescriptorSet& from);
163 :
164 : inline FileDescriptorSet& operator=(const FileDescriptorSet& from) {
165 : CopyFrom(from);
166 : return *this;
167 : }
168 :
169 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
170 0 : return _unknown_fields_;
171 : }
172 :
173 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
174 0 : return &_unknown_fields_;
175 : }
176 :
177 : static const ::google::protobuf::Descriptor* descriptor();
178 : static const FileDescriptorSet& default_instance();
179 :
180 : void Swap(FileDescriptorSet* other);
181 :
182 : // implements Message ----------------------------------------------
183 :
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);
189 : void Clear();
190 : bool IsInitialized() const;
191 :
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 0 : int GetCachedSize() const { return _cached_size_; }
199 : private:
200 : void SharedCtor();
201 : void SharedDtor();
202 : void SetCachedSize(int size) const;
203 : public:
204 : ::google::protobuf::Metadata GetMetadata() const;
205 :
206 : // nested types ----------------------------------------------------
207 :
208 : // accessors -------------------------------------------------------
209 :
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 >&
218 : file() const;
219 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
220 : mutable_file();
221 :
222 : // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet)
223 : private:
224 :
225 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
226 :
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();
233 :
234 : void InitAsDefaultInstance();
235 : static FileDescriptorSet* default_instance_;
236 : };
237 : // -------------------------------------------------------------------
238 :
239 : class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Message {
240 : public:
241 : FileDescriptorProto();
242 : virtual ~FileDescriptorProto();
243 :
244 : FileDescriptorProto(const FileDescriptorProto& from);
245 :
246 : inline FileDescriptorProto& operator=(const FileDescriptorProto& from) {
247 : CopyFrom(from);
248 : return *this;
249 : }
250 :
251 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
252 0 : return _unknown_fields_;
253 : }
254 :
255 6 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
256 6 : return &_unknown_fields_;
257 : }
258 :
259 : static const ::google::protobuf::Descriptor* descriptor();
260 : static const FileDescriptorProto& default_instance();
261 :
262 : void Swap(FileDescriptorProto* other);
263 :
264 : // implements Message ----------------------------------------------
265 :
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);
271 : void Clear();
272 : bool IsInitialized() const;
273 :
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 0 : int GetCachedSize() const { return _cached_size_; }
281 : private:
282 : void SharedCtor();
283 : void SharedDtor();
284 : void SetCachedSize(int size) const;
285 : public:
286 : ::google::protobuf::Metadata GetMetadata() const;
287 :
288 : // nested types ----------------------------------------------------
289 :
290 : // accessors -------------------------------------------------------
291 :
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);
303 :
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);
315 :
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();
331 :
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();
343 :
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();
355 :
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();
367 :
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 >&
376 : enum_type() const;
377 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
378 : mutable_enum_type();
379 :
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 >&
388 : service() const;
389 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >*
390 : mutable_service();
391 :
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 >&
400 : extension() const;
401 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
402 : mutable_extension();
403 :
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);
412 :
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);
421 :
422 : // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto)
423 : private:
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();
432 :
433 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
434 :
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();
451 :
452 : void InitAsDefaultInstance();
453 : static FileDescriptorProto* default_instance_;
454 : };
455 : // -------------------------------------------------------------------
456 :
457 : class LIBPROTOBUF_EXPORT DescriptorProto_ExtensionRange : public ::google::protobuf::Message {
458 : public:
459 : DescriptorProto_ExtensionRange();
460 : virtual ~DescriptorProto_ExtensionRange();
461 :
462 : DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from);
463 :
464 : inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) {
465 : CopyFrom(from);
466 : return *this;
467 : }
468 :
469 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
470 0 : return _unknown_fields_;
471 : }
472 :
473 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
474 0 : return &_unknown_fields_;
475 : }
476 :
477 : static const ::google::protobuf::Descriptor* descriptor();
478 : static const DescriptorProto_ExtensionRange& default_instance();
479 :
480 : void Swap(DescriptorProto_ExtensionRange* other);
481 :
482 : // implements Message ----------------------------------------------
483 :
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);
489 : void Clear();
490 : bool IsInitialized() const;
491 :
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 0 : int GetCachedSize() const { return _cached_size_; }
499 : private:
500 : void SharedCtor();
501 : void SharedDtor();
502 : void SetCachedSize(int size) const;
503 : public:
504 : ::google::protobuf::Metadata GetMetadata() const;
505 :
506 : // nested types ----------------------------------------------------
507 :
508 : // accessors -------------------------------------------------------
509 :
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);
516 :
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);
523 :
524 : // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange)
525 : private:
526 : inline void set_has_start();
527 : inline void clear_has_start();
528 : inline void set_has_end();
529 : inline void clear_has_end();
530 :
531 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
532 :
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();
540 :
541 : void InitAsDefaultInstance();
542 : static DescriptorProto_ExtensionRange* default_instance_;
543 : };
544 : // -------------------------------------------------------------------
545 :
546 : class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message {
547 : public:
548 : DescriptorProto();
549 : virtual ~DescriptorProto();
550 :
551 : DescriptorProto(const DescriptorProto& from);
552 :
553 : inline DescriptorProto& operator=(const DescriptorProto& from) {
554 : CopyFrom(from);
555 : return *this;
556 : }
557 :
558 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
559 0 : return _unknown_fields_;
560 : }
561 :
562 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
563 0 : return &_unknown_fields_;
564 : }
565 :
566 : static const ::google::protobuf::Descriptor* descriptor();
567 : static const DescriptorProto& default_instance();
568 :
569 : void Swap(DescriptorProto* other);
570 :
571 : // implements Message ----------------------------------------------
572 :
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);
578 : void Clear();
579 : bool IsInitialized() const;
580 :
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 0 : int GetCachedSize() const { return _cached_size_; }
588 : private:
589 : void SharedCtor();
590 : void SharedDtor();
591 : void SetCachedSize(int size) const;
592 : public:
593 : ::google::protobuf::Metadata GetMetadata() const;
594 :
595 : // nested types ----------------------------------------------------
596 :
597 : typedef DescriptorProto_ExtensionRange ExtensionRange;
598 :
599 : // accessors -------------------------------------------------------
600 :
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);
612 :
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 >&
621 : field() const;
622 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
623 : mutable_field();
624 :
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 >&
633 : extension() const;
634 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
635 : mutable_extension();
636 :
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 >&
645 : nested_type() const;
646 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
647 : mutable_nested_type();
648 :
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 >&
657 : enum_type() const;
658 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
659 : mutable_enum_type();
660 :
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();
672 :
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 >&
681 : oneof_decl() const;
682 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >*
683 : mutable_oneof_decl();
684 :
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);
693 :
694 : // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto)
695 : private:
696 : inline void set_has_name();
697 : inline void clear_has_name();
698 : inline void set_has_options();
699 : inline void clear_has_options();
700 :
701 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
702 :
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();
716 :
717 : void InitAsDefaultInstance();
718 : static DescriptorProto* default_instance_;
719 : };
720 : // -------------------------------------------------------------------
721 :
722 : class LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Message {
723 : public:
724 : FieldDescriptorProto();
725 : virtual ~FieldDescriptorProto();
726 :
727 : FieldDescriptorProto(const FieldDescriptorProto& from);
728 :
729 : inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) {
730 : CopyFrom(from);
731 : return *this;
732 : }
733 :
734 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
735 0 : return _unknown_fields_;
736 : }
737 :
738 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
739 0 : return &_unknown_fields_;
740 : }
741 :
742 : static const ::google::protobuf::Descriptor* descriptor();
743 : static const FieldDescriptorProto& default_instance();
744 :
745 : void Swap(FieldDescriptorProto* other);
746 :
747 : // implements Message ----------------------------------------------
748 :
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);
754 : void Clear();
755 : bool IsInitialized() const;
756 :
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 0 : int GetCachedSize() const { return _cached_size_; }
764 : private:
765 : void SharedCtor();
766 : void SharedDtor();
767 : void SetCachedSize(int size) const;
768 : public:
769 : ::google::protobuf::Metadata GetMetadata() const;
770 :
771 : // nested types ----------------------------------------------------
772 :
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);
794 : }
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*
802 : Type_descriptor() {
803 : return FieldDescriptorProto_Type_descriptor();
804 : }
805 : static inline const ::std::string& Type_Name(Type value) {
806 : return FieldDescriptorProto_Type_Name(value);
807 : }
808 : static inline bool Type_Parse(const ::std::string& name,
809 : Type* value) {
810 : return FieldDescriptorProto_Type_Parse(name, value);
811 : }
812 :
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);
819 : }
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*
827 : Label_descriptor() {
828 : return FieldDescriptorProto_Label_descriptor();
829 : }
830 : static inline const ::std::string& Label_Name(Label value) {
831 : return FieldDescriptorProto_Label_Name(value);
832 : }
833 : static inline bool Label_Parse(const ::std::string& name,
834 : Label* value) {
835 : return FieldDescriptorProto_Label_Parse(name, value);
836 : }
837 :
838 : // accessors -------------------------------------------------------
839 :
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);
851 :
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);
858 :
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);
865 :
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);
872 :
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);
884 :
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);
896 :
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);
908 :
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);
915 :
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);
924 :
925 : // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto)
926 : private:
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();
945 :
946 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
947 :
948 : ::google::protobuf::uint32 _has_bits_[1];
949 : mutable int _cached_size_;
950 : ::std::string* name_;
951 : ::google::protobuf::int32 number_;
952 : int label_;
953 : ::std::string* type_name_;
954 : ::std::string* extendee_;
955 : int type_;
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();
962 :
963 : void InitAsDefaultInstance();
964 : static FieldDescriptorProto* default_instance_;
965 : };
966 : // -------------------------------------------------------------------
967 :
968 : class LIBPROTOBUF_EXPORT OneofDescriptorProto : public ::google::protobuf::Message {
969 : public:
970 : OneofDescriptorProto();
971 : virtual ~OneofDescriptorProto();
972 :
973 : OneofDescriptorProto(const OneofDescriptorProto& from);
974 :
975 : inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) {
976 : CopyFrom(from);
977 : return *this;
978 : }
979 :
980 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
981 0 : return _unknown_fields_;
982 : }
983 :
984 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
985 0 : return &_unknown_fields_;
986 : }
987 :
988 : static const ::google::protobuf::Descriptor* descriptor();
989 : static const OneofDescriptorProto& default_instance();
990 :
991 : void Swap(OneofDescriptorProto* other);
992 :
993 : // implements Message ----------------------------------------------
994 :
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);
1000 : void Clear();
1001 : bool IsInitialized() const;
1002 :
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 0 : int GetCachedSize() const { return _cached_size_; }
1010 : private:
1011 : void SharedCtor();
1012 : void SharedDtor();
1013 : void SetCachedSize(int size) const;
1014 : public:
1015 : ::google::protobuf::Metadata GetMetadata() const;
1016 :
1017 : // nested types ----------------------------------------------------
1018 :
1019 : // accessors -------------------------------------------------------
1020 :
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);
1032 :
1033 : // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto)
1034 : private:
1035 : inline void set_has_name();
1036 : inline void clear_has_name();
1037 :
1038 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
1039 :
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();
1046 :
1047 : void InitAsDefaultInstance();
1048 : static OneofDescriptorProto* default_instance_;
1049 : };
1050 : // -------------------------------------------------------------------
1051 :
1052 : class LIBPROTOBUF_EXPORT EnumDescriptorProto : public ::google::protobuf::Message {
1053 : public:
1054 : EnumDescriptorProto();
1055 : virtual ~EnumDescriptorProto();
1056 :
1057 : EnumDescriptorProto(const EnumDescriptorProto& from);
1058 :
1059 : inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) {
1060 : CopyFrom(from);
1061 : return *this;
1062 : }
1063 :
1064 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1065 0 : return _unknown_fields_;
1066 : }
1067 :
1068 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1069 0 : return &_unknown_fields_;
1070 : }
1071 :
1072 : static const ::google::protobuf::Descriptor* descriptor();
1073 : static const EnumDescriptorProto& default_instance();
1074 :
1075 : void Swap(EnumDescriptorProto* other);
1076 :
1077 : // implements Message ----------------------------------------------
1078 :
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);
1084 : void Clear();
1085 : bool IsInitialized() const;
1086 :
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 0 : int GetCachedSize() const { return _cached_size_; }
1094 : private:
1095 : void SharedCtor();
1096 : void SharedDtor();
1097 : void SetCachedSize(int size) const;
1098 : public:
1099 : ::google::protobuf::Metadata GetMetadata() const;
1100 :
1101 : // nested types ----------------------------------------------------
1102 :
1103 : // accessors -------------------------------------------------------
1104 :
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);
1116 :
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 >&
1125 : value() const;
1126 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >*
1127 : mutable_value();
1128 :
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);
1137 :
1138 : // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto)
1139 : private:
1140 : inline void set_has_name();
1141 : inline void clear_has_name();
1142 : inline void set_has_options();
1143 : inline void clear_has_options();
1144 :
1145 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
1146 :
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();
1155 :
1156 : void InitAsDefaultInstance();
1157 : static EnumDescriptorProto* default_instance_;
1158 : };
1159 : // -------------------------------------------------------------------
1160 :
1161 : class LIBPROTOBUF_EXPORT EnumValueDescriptorProto : public ::google::protobuf::Message {
1162 : public:
1163 : EnumValueDescriptorProto();
1164 : virtual ~EnumValueDescriptorProto();
1165 :
1166 : EnumValueDescriptorProto(const EnumValueDescriptorProto& from);
1167 :
1168 : inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) {
1169 : CopyFrom(from);
1170 : return *this;
1171 : }
1172 :
1173 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1174 0 : return _unknown_fields_;
1175 : }
1176 :
1177 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1178 0 : return &_unknown_fields_;
1179 : }
1180 :
1181 : static const ::google::protobuf::Descriptor* descriptor();
1182 : static const EnumValueDescriptorProto& default_instance();
1183 :
1184 : void Swap(EnumValueDescriptorProto* other);
1185 :
1186 : // implements Message ----------------------------------------------
1187 :
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);
1193 : void Clear();
1194 : bool IsInitialized() const;
1195 :
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 0 : int GetCachedSize() const { return _cached_size_; }
1203 : private:
1204 : void SharedCtor();
1205 : void SharedDtor();
1206 : void SetCachedSize(int size) const;
1207 : public:
1208 : ::google::protobuf::Metadata GetMetadata() const;
1209 :
1210 : // nested types ----------------------------------------------------
1211 :
1212 : // accessors -------------------------------------------------------
1213 :
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);
1225 :
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);
1232 :
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);
1241 :
1242 : // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto)
1243 : private:
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();
1250 :
1251 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
1252 :
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();
1261 :
1262 : void InitAsDefaultInstance();
1263 : static EnumValueDescriptorProto* default_instance_;
1264 : };
1265 : // -------------------------------------------------------------------
1266 :
1267 : class LIBPROTOBUF_EXPORT ServiceDescriptorProto : public ::google::protobuf::Message {
1268 : public:
1269 : ServiceDescriptorProto();
1270 : virtual ~ServiceDescriptorProto();
1271 :
1272 : ServiceDescriptorProto(const ServiceDescriptorProto& from);
1273 :
1274 : inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) {
1275 : CopyFrom(from);
1276 : return *this;
1277 : }
1278 :
1279 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1280 0 : return _unknown_fields_;
1281 : }
1282 :
1283 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1284 0 : return &_unknown_fields_;
1285 : }
1286 :
1287 : static const ::google::protobuf::Descriptor* descriptor();
1288 : static const ServiceDescriptorProto& default_instance();
1289 :
1290 : void Swap(ServiceDescriptorProto* other);
1291 :
1292 : // implements Message ----------------------------------------------
1293 :
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);
1299 : void Clear();
1300 : bool IsInitialized() const;
1301 :
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 0 : int GetCachedSize() const { return _cached_size_; }
1309 : private:
1310 : void SharedCtor();
1311 : void SharedDtor();
1312 : void SetCachedSize(int size) const;
1313 : public:
1314 : ::google::protobuf::Metadata GetMetadata() const;
1315 :
1316 : // nested types ----------------------------------------------------
1317 :
1318 : // accessors -------------------------------------------------------
1319 :
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);
1331 :
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 >&
1340 : method() const;
1341 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >*
1342 : mutable_method();
1343 :
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);
1352 :
1353 : // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto)
1354 : private:
1355 : inline void set_has_name();
1356 : inline void clear_has_name();
1357 : inline void set_has_options();
1358 : inline void clear_has_options();
1359 :
1360 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
1361 :
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();
1370 :
1371 : void InitAsDefaultInstance();
1372 : static ServiceDescriptorProto* default_instance_;
1373 : };
1374 : // -------------------------------------------------------------------
1375 :
1376 : class LIBPROTOBUF_EXPORT MethodDescriptorProto : public ::google::protobuf::Message {
1377 : public:
1378 : MethodDescriptorProto();
1379 : virtual ~MethodDescriptorProto();
1380 :
1381 : MethodDescriptorProto(const MethodDescriptorProto& from);
1382 :
1383 : inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) {
1384 : CopyFrom(from);
1385 : return *this;
1386 : }
1387 :
1388 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1389 0 : return _unknown_fields_;
1390 : }
1391 :
1392 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1393 0 : return &_unknown_fields_;
1394 : }
1395 :
1396 : static const ::google::protobuf::Descriptor* descriptor();
1397 : static const MethodDescriptorProto& default_instance();
1398 :
1399 : void Swap(MethodDescriptorProto* other);
1400 :
1401 : // implements Message ----------------------------------------------
1402 :
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);
1408 : void Clear();
1409 : bool IsInitialized() const;
1410 :
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 0 : int GetCachedSize() const { return _cached_size_; }
1418 : private:
1419 : void SharedCtor();
1420 : void SharedDtor();
1421 : void SetCachedSize(int size) const;
1422 : public:
1423 : ::google::protobuf::Metadata GetMetadata() const;
1424 :
1425 : // nested types ----------------------------------------------------
1426 :
1427 : // accessors -------------------------------------------------------
1428 :
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);
1440 :
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);
1452 :
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);
1464 :
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);
1473 :
1474 : // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto)
1475 : private:
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();
1484 :
1485 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
1486 :
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();
1496 :
1497 : void InitAsDefaultInstance();
1498 : static MethodDescriptorProto* default_instance_;
1499 : };
1500 : // -------------------------------------------------------------------
1501 :
1502 : class LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message {
1503 : public:
1504 : FileOptions();
1505 : virtual ~FileOptions();
1506 :
1507 : FileOptions(const FileOptions& from);
1508 :
1509 : inline FileOptions& operator=(const FileOptions& from) {
1510 : CopyFrom(from);
1511 : return *this;
1512 : }
1513 :
1514 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1515 0 : return _unknown_fields_;
1516 : }
1517 :
1518 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1519 0 : return &_unknown_fields_;
1520 : }
1521 :
1522 : static const ::google::protobuf::Descriptor* descriptor();
1523 : static const FileOptions& default_instance();
1524 :
1525 : void Swap(FileOptions* other);
1526 :
1527 : // implements Message ----------------------------------------------
1528 :
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);
1534 : void Clear();
1535 : bool IsInitialized() const;
1536 :
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 0 : int GetCachedSize() const { return _cached_size_; }
1544 : private:
1545 : void SharedCtor();
1546 : void SharedDtor();
1547 : void SetCachedSize(int size) const;
1548 : public:
1549 : ::google::protobuf::Metadata GetMetadata() const;
1550 :
1551 : // nested types ----------------------------------------------------
1552 :
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);
1559 : }
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();
1569 : }
1570 : static inline const ::std::string& OptimizeMode_Name(OptimizeMode value) {
1571 : return FileOptions_OptimizeMode_Name(value);
1572 : }
1573 : static inline bool OptimizeMode_Parse(const ::std::string& name,
1574 : OptimizeMode* value) {
1575 : return FileOptions_OptimizeMode_Parse(name, value);
1576 : }
1577 :
1578 : // accessors -------------------------------------------------------
1579 :
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);
1591 :
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);
1603 :
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);
1610 :
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);
1617 :
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);
1624 :
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);
1631 :
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);
1643 :
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);
1650 :
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);
1657 :
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);
1664 :
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);
1671 :
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();
1683 :
1684 : GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions)
1685 : // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions)
1686 : private:
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();
1709 :
1710 : ::google::protobuf::internal::ExtensionSet _extensions_;
1711 :
1712 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
1713 :
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_;
1722 : int optimize_for_;
1723 : ::std::string* go_package_;
1724 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
1725 : bool java_generic_services_;
1726 : bool py_generic_services_;
1727 : bool deprecated_;
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();
1731 :
1732 : void InitAsDefaultInstance();
1733 : static FileOptions* default_instance_;
1734 : };
1735 : // -------------------------------------------------------------------
1736 :
1737 : class LIBPROTOBUF_EXPORT MessageOptions : public ::google::protobuf::Message {
1738 : public:
1739 : MessageOptions();
1740 : virtual ~MessageOptions();
1741 :
1742 : MessageOptions(const MessageOptions& from);
1743 :
1744 : inline MessageOptions& operator=(const MessageOptions& from) {
1745 : CopyFrom(from);
1746 : return *this;
1747 : }
1748 :
1749 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1750 0 : return _unknown_fields_;
1751 : }
1752 :
1753 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1754 0 : return &_unknown_fields_;
1755 : }
1756 :
1757 : static const ::google::protobuf::Descriptor* descriptor();
1758 : static const MessageOptions& default_instance();
1759 :
1760 : void Swap(MessageOptions* other);
1761 :
1762 : // implements Message ----------------------------------------------
1763 :
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);
1769 : void Clear();
1770 : bool IsInitialized() const;
1771 :
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 0 : int GetCachedSize() const { return _cached_size_; }
1779 : private:
1780 : void SharedCtor();
1781 : void SharedDtor();
1782 : void SetCachedSize(int size) const;
1783 : public:
1784 : ::google::protobuf::Metadata GetMetadata() const;
1785 :
1786 : // nested types ----------------------------------------------------
1787 :
1788 : // accessors -------------------------------------------------------
1789 :
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);
1796 :
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);
1803 :
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);
1810 :
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();
1822 :
1823 : GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions)
1824 : // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions)
1825 : private:
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();
1832 :
1833 : ::google::protobuf::internal::ExtensionSet _extensions_;
1834 :
1835 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
1836 :
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_;
1842 : bool deprecated_;
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();
1846 :
1847 : void InitAsDefaultInstance();
1848 : static MessageOptions* default_instance_;
1849 : };
1850 : // -------------------------------------------------------------------
1851 :
1852 : class LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message {
1853 : public:
1854 : FieldOptions();
1855 : virtual ~FieldOptions();
1856 :
1857 : FieldOptions(const FieldOptions& from);
1858 :
1859 : inline FieldOptions& operator=(const FieldOptions& from) {
1860 : CopyFrom(from);
1861 : return *this;
1862 : }
1863 :
1864 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1865 0 : return _unknown_fields_;
1866 : }
1867 :
1868 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1869 0 : return &_unknown_fields_;
1870 : }
1871 :
1872 : static const ::google::protobuf::Descriptor* descriptor();
1873 : static const FieldOptions& default_instance();
1874 :
1875 : void Swap(FieldOptions* other);
1876 :
1877 : // implements Message ----------------------------------------------
1878 :
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);
1884 : void Clear();
1885 : bool IsInitialized() const;
1886 :
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 0 : int GetCachedSize() const { return _cached_size_; }
1894 : private:
1895 : void SharedCtor();
1896 : void SharedDtor();
1897 : void SetCachedSize(int size) const;
1898 : public:
1899 : ::google::protobuf::Metadata GetMetadata() const;
1900 :
1901 : // nested types ----------------------------------------------------
1902 :
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);
1909 : }
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();
1919 : }
1920 : static inline const ::std::string& CType_Name(CType value) {
1921 : return FieldOptions_CType_Name(value);
1922 : }
1923 : static inline bool CType_Parse(const ::std::string& name,
1924 : CType* value) {
1925 : return FieldOptions_CType_Parse(name, value);
1926 : }
1927 :
1928 : // accessors -------------------------------------------------------
1929 :
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);
1936 :
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);
1943 :
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);
1950 :
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);
1957 :
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);
1969 :
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);
1976 :
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();
1988 :
1989 : GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions)
1990 : // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions)
1991 : private:
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();
2004 :
2005 : ::google::protobuf::internal::ExtensionSet _extensions_;
2006 :
2007 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
2008 :
2009 : ::google::protobuf::uint32 _has_bits_[1];
2010 : mutable int _cached_size_;
2011 : int ctype_;
2012 : bool packed_;
2013 : bool lazy_;
2014 : bool deprecated_;
2015 : bool weak_;
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();
2021 :
2022 : void InitAsDefaultInstance();
2023 : static FieldOptions* default_instance_;
2024 : };
2025 : // -------------------------------------------------------------------
2026 :
2027 : class LIBPROTOBUF_EXPORT EnumOptions : public ::google::protobuf::Message {
2028 : public:
2029 : EnumOptions();
2030 : virtual ~EnumOptions();
2031 :
2032 : EnumOptions(const EnumOptions& from);
2033 :
2034 : inline EnumOptions& operator=(const EnumOptions& from) {
2035 : CopyFrom(from);
2036 : return *this;
2037 : }
2038 :
2039 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2040 0 : return _unknown_fields_;
2041 : }
2042 :
2043 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2044 0 : return &_unknown_fields_;
2045 : }
2046 :
2047 : static const ::google::protobuf::Descriptor* descriptor();
2048 : static const EnumOptions& default_instance();
2049 :
2050 : void Swap(EnumOptions* other);
2051 :
2052 : // implements Message ----------------------------------------------
2053 :
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);
2059 : void Clear();
2060 : bool IsInitialized() const;
2061 :
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 0 : int GetCachedSize() const { return _cached_size_; }
2069 : private:
2070 : void SharedCtor();
2071 : void SharedDtor();
2072 : void SetCachedSize(int size) const;
2073 : public:
2074 : ::google::protobuf::Metadata GetMetadata() const;
2075 :
2076 : // nested types ----------------------------------------------------
2077 :
2078 : // accessors -------------------------------------------------------
2079 :
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);
2086 :
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);
2093 :
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();
2105 :
2106 : GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions)
2107 : // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions)
2108 : private:
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();
2113 :
2114 : ::google::protobuf::internal::ExtensionSet _extensions_;
2115 :
2116 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
2117 :
2118 : ::google::protobuf::uint32 _has_bits_[1];
2119 : mutable int _cached_size_;
2120 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2121 : bool allow_alias_;
2122 : bool deprecated_;
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();
2126 :
2127 : void InitAsDefaultInstance();
2128 : static EnumOptions* default_instance_;
2129 : };
2130 : // -------------------------------------------------------------------
2131 :
2132 : class LIBPROTOBUF_EXPORT EnumValueOptions : public ::google::protobuf::Message {
2133 : public:
2134 : EnumValueOptions();
2135 : virtual ~EnumValueOptions();
2136 :
2137 : EnumValueOptions(const EnumValueOptions& from);
2138 :
2139 : inline EnumValueOptions& operator=(const EnumValueOptions& from) {
2140 : CopyFrom(from);
2141 : return *this;
2142 : }
2143 :
2144 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2145 0 : return _unknown_fields_;
2146 : }
2147 :
2148 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2149 0 : return &_unknown_fields_;
2150 : }
2151 :
2152 : static const ::google::protobuf::Descriptor* descriptor();
2153 : static const EnumValueOptions& default_instance();
2154 :
2155 : void Swap(EnumValueOptions* other);
2156 :
2157 : // implements Message ----------------------------------------------
2158 :
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);
2164 : void Clear();
2165 : bool IsInitialized() const;
2166 :
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 0 : int GetCachedSize() const { return _cached_size_; }
2174 : private:
2175 : void SharedCtor();
2176 : void SharedDtor();
2177 : void SetCachedSize(int size) const;
2178 : public:
2179 : ::google::protobuf::Metadata GetMetadata() const;
2180 :
2181 : // nested types ----------------------------------------------------
2182 :
2183 : // accessors -------------------------------------------------------
2184 :
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);
2191 :
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();
2203 :
2204 : GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions)
2205 : // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions)
2206 : private:
2207 : inline void set_has_deprecated();
2208 : inline void clear_has_deprecated();
2209 :
2210 : ::google::protobuf::internal::ExtensionSet _extensions_;
2211 :
2212 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
2213 :
2214 : ::google::protobuf::uint32 _has_bits_[1];
2215 : mutable int _cached_size_;
2216 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2217 : bool deprecated_;
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();
2221 :
2222 : void InitAsDefaultInstance();
2223 : static EnumValueOptions* default_instance_;
2224 : };
2225 : // -------------------------------------------------------------------
2226 :
2227 : class LIBPROTOBUF_EXPORT ServiceOptions : public ::google::protobuf::Message {
2228 : public:
2229 : ServiceOptions();
2230 : virtual ~ServiceOptions();
2231 :
2232 : ServiceOptions(const ServiceOptions& from);
2233 :
2234 : inline ServiceOptions& operator=(const ServiceOptions& from) {
2235 : CopyFrom(from);
2236 : return *this;
2237 : }
2238 :
2239 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2240 0 : return _unknown_fields_;
2241 : }
2242 :
2243 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2244 0 : return &_unknown_fields_;
2245 : }
2246 :
2247 : static const ::google::protobuf::Descriptor* descriptor();
2248 : static const ServiceOptions& default_instance();
2249 :
2250 : void Swap(ServiceOptions* other);
2251 :
2252 : // implements Message ----------------------------------------------
2253 :
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);
2259 : void Clear();
2260 : bool IsInitialized() const;
2261 :
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 0 : int GetCachedSize() const { return _cached_size_; }
2269 : private:
2270 : void SharedCtor();
2271 : void SharedDtor();
2272 : void SetCachedSize(int size) const;
2273 : public:
2274 : ::google::protobuf::Metadata GetMetadata() const;
2275 :
2276 : // nested types ----------------------------------------------------
2277 :
2278 : // accessors -------------------------------------------------------
2279 :
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);
2286 :
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();
2298 :
2299 : GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions)
2300 : // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions)
2301 : private:
2302 : inline void set_has_deprecated();
2303 : inline void clear_has_deprecated();
2304 :
2305 : ::google::protobuf::internal::ExtensionSet _extensions_;
2306 :
2307 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
2308 :
2309 : ::google::protobuf::uint32 _has_bits_[1];
2310 : mutable int _cached_size_;
2311 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2312 : bool deprecated_;
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();
2316 :
2317 : void InitAsDefaultInstance();
2318 : static ServiceOptions* default_instance_;
2319 : };
2320 : // -------------------------------------------------------------------
2321 :
2322 : class LIBPROTOBUF_EXPORT MethodOptions : public ::google::protobuf::Message {
2323 : public:
2324 : MethodOptions();
2325 : virtual ~MethodOptions();
2326 :
2327 : MethodOptions(const MethodOptions& from);
2328 :
2329 : inline MethodOptions& operator=(const MethodOptions& from) {
2330 : CopyFrom(from);
2331 : return *this;
2332 : }
2333 :
2334 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2335 0 : return _unknown_fields_;
2336 : }
2337 :
2338 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2339 0 : return &_unknown_fields_;
2340 : }
2341 :
2342 : static const ::google::protobuf::Descriptor* descriptor();
2343 : static const MethodOptions& default_instance();
2344 :
2345 : void Swap(MethodOptions* other);
2346 :
2347 : // implements Message ----------------------------------------------
2348 :
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);
2354 : void Clear();
2355 : bool IsInitialized() const;
2356 :
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 0 : int GetCachedSize() const { return _cached_size_; }
2364 : private:
2365 : void SharedCtor();
2366 : void SharedDtor();
2367 : void SetCachedSize(int size) const;
2368 : public:
2369 : ::google::protobuf::Metadata GetMetadata() const;
2370 :
2371 : // nested types ----------------------------------------------------
2372 :
2373 : // accessors -------------------------------------------------------
2374 :
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);
2381 :
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();
2393 :
2394 : GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions)
2395 : // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions)
2396 : private:
2397 : inline void set_has_deprecated();
2398 : inline void clear_has_deprecated();
2399 :
2400 : ::google::protobuf::internal::ExtensionSet _extensions_;
2401 :
2402 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
2403 :
2404 : ::google::protobuf::uint32 _has_bits_[1];
2405 : mutable int _cached_size_;
2406 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2407 : bool deprecated_;
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();
2411 :
2412 : void InitAsDefaultInstance();
2413 : static MethodOptions* default_instance_;
2414 : };
2415 : // -------------------------------------------------------------------
2416 :
2417 : class LIBPROTOBUF_EXPORT UninterpretedOption_NamePart : public ::google::protobuf::Message {
2418 : public:
2419 : UninterpretedOption_NamePart();
2420 : virtual ~UninterpretedOption_NamePart();
2421 :
2422 : UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from);
2423 :
2424 : inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NamePart& from) {
2425 : CopyFrom(from);
2426 : return *this;
2427 : }
2428 :
2429 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2430 0 : return _unknown_fields_;
2431 : }
2432 :
2433 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2434 0 : return &_unknown_fields_;
2435 : }
2436 :
2437 : static const ::google::protobuf::Descriptor* descriptor();
2438 : static const UninterpretedOption_NamePart& default_instance();
2439 :
2440 : void Swap(UninterpretedOption_NamePart* other);
2441 :
2442 : // implements Message ----------------------------------------------
2443 :
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);
2449 : void Clear();
2450 : bool IsInitialized() const;
2451 :
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 0 : int GetCachedSize() const { return _cached_size_; }
2459 : private:
2460 : void SharedCtor();
2461 : void SharedDtor();
2462 : void SetCachedSize(int size) const;
2463 : public:
2464 : ::google::protobuf::Metadata GetMetadata() const;
2465 :
2466 : // nested types ----------------------------------------------------
2467 :
2468 : // accessors -------------------------------------------------------
2469 :
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);
2481 :
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);
2488 :
2489 : // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart)
2490 : private:
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();
2495 :
2496 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
2497 :
2498 : ::google::protobuf::uint32 _has_bits_[1];
2499 : mutable int _cached_size_;
2500 : ::std::string* name_part_;
2501 : bool is_extension_;
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();
2505 :
2506 : void InitAsDefaultInstance();
2507 : static UninterpretedOption_NamePart* default_instance_;
2508 : };
2509 : // -------------------------------------------------------------------
2510 :
2511 : class LIBPROTOBUF_EXPORT UninterpretedOption : public ::google::protobuf::Message {
2512 : public:
2513 : UninterpretedOption();
2514 : virtual ~UninterpretedOption();
2515 :
2516 : UninterpretedOption(const UninterpretedOption& from);
2517 :
2518 : inline UninterpretedOption& operator=(const UninterpretedOption& from) {
2519 : CopyFrom(from);
2520 : return *this;
2521 : }
2522 :
2523 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2524 0 : return _unknown_fields_;
2525 : }
2526 :
2527 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2528 0 : return &_unknown_fields_;
2529 : }
2530 :
2531 : static const ::google::protobuf::Descriptor* descriptor();
2532 : static const UninterpretedOption& default_instance();
2533 :
2534 : void Swap(UninterpretedOption* other);
2535 :
2536 : // implements Message ----------------------------------------------
2537 :
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);
2543 : void Clear();
2544 : bool IsInitialized() const;
2545 :
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 0 : int GetCachedSize() const { return _cached_size_; }
2553 : private:
2554 : void SharedCtor();
2555 : void SharedDtor();
2556 : void SetCachedSize(int size) const;
2557 : public:
2558 : ::google::protobuf::Metadata GetMetadata() const;
2559 :
2560 : // nested types ----------------------------------------------------
2561 :
2562 : typedef UninterpretedOption_NamePart NamePart;
2563 :
2564 : // accessors -------------------------------------------------------
2565 :
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 >&
2574 : name() const;
2575 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >*
2576 : mutable_name();
2577 :
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);
2589 :
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);
2596 :
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);
2603 :
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);
2610 :
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);
2622 :
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);
2634 :
2635 : // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption)
2636 : private:
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();
2649 :
2650 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
2651 :
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();
2664 :
2665 : void InitAsDefaultInstance();
2666 : static UninterpretedOption* default_instance_;
2667 : };
2668 : // -------------------------------------------------------------------
2669 :
2670 : class LIBPROTOBUF_EXPORT SourceCodeInfo_Location : public ::google::protobuf::Message {
2671 : public:
2672 : SourceCodeInfo_Location();
2673 : virtual ~SourceCodeInfo_Location();
2674 :
2675 : SourceCodeInfo_Location(const SourceCodeInfo_Location& from);
2676 :
2677 : inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) {
2678 : CopyFrom(from);
2679 : return *this;
2680 : }
2681 :
2682 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2683 0 : return _unknown_fields_;
2684 : }
2685 :
2686 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2687 0 : return &_unknown_fields_;
2688 : }
2689 :
2690 : static const ::google::protobuf::Descriptor* descriptor();
2691 : static const SourceCodeInfo_Location& default_instance();
2692 :
2693 : void Swap(SourceCodeInfo_Location* other);
2694 :
2695 : // implements Message ----------------------------------------------
2696 :
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);
2702 : void Clear();
2703 : bool IsInitialized() const;
2704 :
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 0 : int GetCachedSize() const { return _cached_size_; }
2712 : private:
2713 : void SharedCtor();
2714 : void SharedDtor();
2715 : void SetCachedSize(int size) const;
2716 : public:
2717 : ::google::protobuf::Metadata GetMetadata() const;
2718 :
2719 : // nested types ----------------------------------------------------
2720 :
2721 : // accessors -------------------------------------------------------
2722 :
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 >&
2731 : path() const;
2732 : inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
2733 : mutable_path();
2734 :
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 >&
2743 : span() const;
2744 : inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
2745 : mutable_span();
2746 :
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);
2758 :
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);
2770 :
2771 : // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location)
2772 : private:
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();
2777 :
2778 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
2779 :
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();
2791 :
2792 : void InitAsDefaultInstance();
2793 : static SourceCodeInfo_Location* default_instance_;
2794 : };
2795 : // -------------------------------------------------------------------
2796 :
2797 : class LIBPROTOBUF_EXPORT SourceCodeInfo : public ::google::protobuf::Message {
2798 : public:
2799 : SourceCodeInfo();
2800 : virtual ~SourceCodeInfo();
2801 :
2802 : SourceCodeInfo(const SourceCodeInfo& from);
2803 :
2804 : inline SourceCodeInfo& operator=(const SourceCodeInfo& from) {
2805 : CopyFrom(from);
2806 : return *this;
2807 : }
2808 :
2809 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2810 0 : return _unknown_fields_;
2811 : }
2812 :
2813 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2814 0 : return &_unknown_fields_;
2815 : }
2816 :
2817 : static const ::google::protobuf::Descriptor* descriptor();
2818 : static const SourceCodeInfo& default_instance();
2819 :
2820 : void Swap(SourceCodeInfo* other);
2821 :
2822 : // implements Message ----------------------------------------------
2823 :
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);
2829 : void Clear();
2830 : bool IsInitialized() const;
2831 :
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 0 : int GetCachedSize() const { return _cached_size_; }
2839 : private:
2840 : void SharedCtor();
2841 : void SharedDtor();
2842 : void SetCachedSize(int size) const;
2843 : public:
2844 : ::google::protobuf::Metadata GetMetadata() const;
2845 :
2846 : // nested types ----------------------------------------------------
2847 :
2848 : typedef SourceCodeInfo_Location Location;
2849 :
2850 : // accessors -------------------------------------------------------
2851 :
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 >&
2860 : location() const;
2861 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >*
2862 : mutable_location();
2863 :
2864 : // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo)
2865 : private:
2866 :
2867 : ::google::protobuf::UnknownFieldSet _unknown_fields_;
2868 :
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();
2875 :
2876 : void InitAsDefaultInstance();
2877 : static SourceCodeInfo* default_instance_;
2878 : };
2879 : // ===================================================================
2880 :
2881 :
2882 : // ===================================================================
2883 :
2884 : // FileDescriptorSet
2885 :
2886 : // repeated .google.protobuf.FileDescriptorProto file = 1;
2887 0 : inline int FileDescriptorSet::file_size() const {
2888 0 : return file_.size();
2889 : }
2890 : inline void FileDescriptorSet::clear_file() {
2891 : file_.Clear();
2892 : }
2893 0 : inline const ::google::protobuf::FileDescriptorProto& FileDescriptorSet::file(int index) const {
2894 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorSet.file)
2895 0 : return file_.Get(index);
2896 : }
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);
2900 : }
2901 0 : inline ::google::protobuf::FileDescriptorProto* FileDescriptorSet::add_file() {
2902 : // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorSet.file)
2903 0 : return file_.Add();
2904 : }
2905 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
2906 0 : FileDescriptorSet::file() const {
2907 : // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorSet.file)
2908 0 : return file_;
2909 : }
2910 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
2911 : FileDescriptorSet::mutable_file() {
2912 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorSet.file)
2913 : return &file_;
2914 : }
2915 :
2916 : // -------------------------------------------------------------------
2917 :
2918 : // FileDescriptorProto
2919 :
2920 : // optional string name = 1;
2921 0 : inline bool FileDescriptorProto::has_name() const {
2922 0 : return (_has_bits_[0] & 0x00000001u) != 0;
2923 : }
2924 6 : inline void FileDescriptorProto::set_has_name() {
2925 6 : _has_bits_[0] |= 0x00000001u;
2926 6 : }
2927 : inline void FileDescriptorProto::clear_has_name() {
2928 : _has_bits_[0] &= ~0x00000001u;
2929 : }
2930 : inline void FileDescriptorProto::clear_name() {
2931 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2932 : name_->clear();
2933 : }
2934 : clear_has_name();
2935 : }
2936 18 : inline const ::std::string& FileDescriptorProto::name() const {
2937 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name)
2938 18 : return *name_;
2939 : }
2940 0 : inline void FileDescriptorProto::set_name(const ::std::string& value) {
2941 0 : set_has_name();
2942 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2943 0 : name_ = new ::std::string;
2944 : }
2945 0 : name_->assign(value);
2946 : // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name)
2947 0 : }
2948 : inline void FileDescriptorProto::set_name(const char* value) {
2949 : set_has_name();
2950 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2951 : name_ = new ::std::string;
2952 : }
2953 : name_->assign(value);
2954 : // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.name)
2955 : }
2956 : inline void FileDescriptorProto::set_name(const char* value, size_t size) {
2957 : set_has_name();
2958 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2959 : name_ = new ::std::string;
2960 : }
2961 : name_->assign(reinterpret_cast<const char*>(value), size);
2962 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.name)
2963 : }
2964 6 : inline ::std::string* FileDescriptorProto::mutable_name() {
2965 6 : set_has_name();
2966 6 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2967 6 : name_ = new ::std::string;
2968 : }
2969 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.name)
2970 6 : return name_;
2971 : }
2972 : inline ::std::string* FileDescriptorProto::release_name() {
2973 : clear_has_name();
2974 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2975 : return NULL;
2976 : } else {
2977 : ::std::string* temp = name_;
2978 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2979 : return temp;
2980 : }
2981 : }
2982 : inline void FileDescriptorProto::set_allocated_name(::std::string* name) {
2983 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2984 : delete name_;
2985 : }
2986 : if (name) {
2987 : set_has_name();
2988 : name_ = name;
2989 : } else {
2990 : clear_has_name();
2991 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2992 : }
2993 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.name)
2994 : }
2995 :
2996 : // optional string package = 2;
2997 6 : inline bool FileDescriptorProto::has_package() const {
2998 6 : return (_has_bits_[0] & 0x00000002u) != 0;
2999 : }
3000 6 : inline void FileDescriptorProto::set_has_package() {
3001 6 : _has_bits_[0] |= 0x00000002u;
3002 6 : }
3003 : inline void FileDescriptorProto::clear_has_package() {
3004 : _has_bits_[0] &= ~0x00000002u;
3005 : }
3006 : inline void FileDescriptorProto::clear_package() {
3007 : if (package_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3008 : package_->clear();
3009 : }
3010 : clear_has_package();
3011 : }
3012 18 : inline const ::std::string& FileDescriptorProto::package() const {
3013 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.package)
3014 18 : return *package_;
3015 : }
3016 0 : inline void FileDescriptorProto::set_package(const ::std::string& value) {
3017 0 : set_has_package();
3018 0 : if (package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3019 0 : package_ = new ::std::string;
3020 : }
3021 0 : package_->assign(value);
3022 : // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.package)
3023 0 : }
3024 : inline void FileDescriptorProto::set_package(const char* value) {
3025 : set_has_package();
3026 : if (package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3027 : package_ = new ::std::string;
3028 : }
3029 : package_->assign(value);
3030 : // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.package)
3031 : }
3032 : inline void FileDescriptorProto::set_package(const char* value, size_t size) {
3033 : set_has_package();
3034 : if (package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3035 : package_ = new ::std::string;
3036 : }
3037 : package_->assign(reinterpret_cast<const char*>(value), size);
3038 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.package)
3039 : }
3040 6 : inline ::std::string* FileDescriptorProto::mutable_package() {
3041 6 : set_has_package();
3042 6 : if (package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3043 6 : package_ = new ::std::string;
3044 : }
3045 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.package)
3046 6 : return package_;
3047 : }
3048 : inline ::std::string* FileDescriptorProto::release_package() {
3049 : clear_has_package();
3050 : if (package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3051 : return NULL;
3052 : } else {
3053 : ::std::string* temp = package_;
3054 : package_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3055 : return temp;
3056 : }
3057 : }
3058 : inline void FileDescriptorProto::set_allocated_package(::std::string* package) {
3059 : if (package_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3060 : delete package_;
3061 : }
3062 : if (package) {
3063 : set_has_package();
3064 : package_ = package;
3065 : } else {
3066 : clear_has_package();
3067 : package_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3068 : }
3069 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.package)
3070 : }
3071 :
3072 : // repeated string dependency = 3;
3073 0 : inline int FileDescriptorProto::dependency_size() const {
3074 0 : return dependency_.size();
3075 : }
3076 : inline void FileDescriptorProto::clear_dependency() {
3077 : dependency_.Clear();
3078 : }
3079 0 : inline const ::std::string& FileDescriptorProto::dependency(int index) const {
3080 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.dependency)
3081 0 : return dependency_.Get(index);
3082 : }
3083 : inline ::std::string* FileDescriptorProto::mutable_dependency(int index) {
3084 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.dependency)
3085 : return dependency_.Mutable(index);
3086 : }
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);
3090 : }
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)
3094 : }
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)
3099 : }
3100 0 : inline ::std::string* FileDescriptorProto::add_dependency() {
3101 0 : return dependency_.Add();
3102 : }
3103 0 : inline void FileDescriptorProto::add_dependency(const ::std::string& value) {
3104 0 : dependency_.Add()->assign(value);
3105 : // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency)
3106 0 : }
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)
3110 : }
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)
3114 : }
3115 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3116 : FileDescriptorProto::dependency() const {
3117 : // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.dependency)
3118 : return dependency_;
3119 : }
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_;
3124 : }
3125 :
3126 : // repeated int32 public_dependency = 10;
3127 0 : inline int FileDescriptorProto::public_dependency_size() const {
3128 0 : return public_dependency_.size();
3129 : }
3130 : inline void FileDescriptorProto::clear_public_dependency() {
3131 : public_dependency_.Clear();
3132 : }
3133 0 : inline ::google::protobuf::int32 FileDescriptorProto::public_dependency(int index) const {
3134 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.public_dependency)
3135 0 : return public_dependency_.Get(index);
3136 : }
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)
3140 : }
3141 0 : inline void FileDescriptorProto::add_public_dependency(::google::protobuf::int32 value) {
3142 0 : public_dependency_.Add(value);
3143 : // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.public_dependency)
3144 0 : }
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_;
3149 : }
3150 : inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
3151 0 : FileDescriptorProto::mutable_public_dependency() {
3152 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.public_dependency)
3153 0 : return &public_dependency_;
3154 : }
3155 :
3156 : // repeated int32 weak_dependency = 11;
3157 0 : inline int FileDescriptorProto::weak_dependency_size() const {
3158 0 : return weak_dependency_.size();
3159 : }
3160 : inline void FileDescriptorProto::clear_weak_dependency() {
3161 : weak_dependency_.Clear();
3162 : }
3163 0 : inline ::google::protobuf::int32 FileDescriptorProto::weak_dependency(int index) const {
3164 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.weak_dependency)
3165 0 : return weak_dependency_.Get(index);
3166 : }
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)
3170 : }
3171 0 : inline void FileDescriptorProto::add_weak_dependency(::google::protobuf::int32 value) {
3172 0 : weak_dependency_.Add(value);
3173 : // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.weak_dependency)
3174 0 : }
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_;
3179 : }
3180 : inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
3181 0 : FileDescriptorProto::mutable_weak_dependency() {
3182 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.weak_dependency)
3183 0 : return &weak_dependency_;
3184 : }
3185 :
3186 : // repeated .google.protobuf.DescriptorProto message_type = 4;
3187 72 : inline int FileDescriptorProto::message_type_size() const {
3188 72 : return message_type_.size();
3189 : }
3190 : inline void FileDescriptorProto::clear_message_type() {
3191 : message_type_.Clear();
3192 : }
3193 132 : inline const ::google::protobuf::DescriptorProto& FileDescriptorProto::message_type(int index) const {
3194 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.message_type)
3195 132 : return message_type_.Get(index);
3196 : }
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);
3200 : }
3201 66 : inline ::google::protobuf::DescriptorProto* FileDescriptorProto::add_message_type() {
3202 : // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.message_type)
3203 66 : return message_type_.Add();
3204 : }
3205 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
3206 6 : FileDescriptorProto::message_type() const {
3207 : // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.message_type)
3208 6 : return message_type_;
3209 : }
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_;
3214 : }
3215 :
3216 : // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
3217 6 : inline int FileDescriptorProto::enum_type_size() const {
3218 6 : return enum_type_.size();
3219 : }
3220 : inline void FileDescriptorProto::clear_enum_type() {
3221 : enum_type_.Clear();
3222 : }
3223 0 : inline const ::google::protobuf::EnumDescriptorProto& FileDescriptorProto::enum_type(int index) const {
3224 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.enum_type)
3225 0 : return enum_type_.Get(index);
3226 : }
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);
3230 : }
3231 0 : inline ::google::protobuf::EnumDescriptorProto* FileDescriptorProto::add_enum_type() {
3232 : // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.enum_type)
3233 0 : return enum_type_.Add();
3234 : }
3235 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
3236 6 : FileDescriptorProto::enum_type() const {
3237 : // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.enum_type)
3238 6 : return enum_type_;
3239 : }
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)
3243 : return &enum_type_;
3244 : }
3245 :
3246 : // repeated .google.protobuf.ServiceDescriptorProto service = 6;
3247 6 : inline int FileDescriptorProto::service_size() const {
3248 6 : return service_.size();
3249 : }
3250 : inline void FileDescriptorProto::clear_service() {
3251 : service_.Clear();
3252 : }
3253 0 : inline const ::google::protobuf::ServiceDescriptorProto& FileDescriptorProto::service(int index) const {
3254 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.service)
3255 0 : return service_.Get(index);
3256 : }
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);
3260 : }
3261 0 : inline ::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::add_service() {
3262 : // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.service)
3263 0 : return service_.Add();
3264 : }
3265 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >&
3266 6 : FileDescriptorProto::service() const {
3267 : // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.service)
3268 6 : return service_;
3269 : }
3270 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >*
3271 : FileDescriptorProto::mutable_service() {
3272 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.service)
3273 : return &service_;
3274 : }
3275 :
3276 : // repeated .google.protobuf.FieldDescriptorProto extension = 7;
3277 6 : inline int FileDescriptorProto::extension_size() const {
3278 6 : return extension_.size();
3279 : }
3280 : inline void FileDescriptorProto::clear_extension() {
3281 : extension_.Clear();
3282 : }
3283 0 : inline const ::google::protobuf::FieldDescriptorProto& FileDescriptorProto::extension(int index) const {
3284 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.extension)
3285 0 : return extension_.Get(index);
3286 : }
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);
3290 : }
3291 0 : inline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::add_extension() {
3292 : // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.extension)
3293 0 : return extension_.Add();
3294 : }
3295 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
3296 6 : FileDescriptorProto::extension() const {
3297 : // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.extension)
3298 6 : return extension_;
3299 : }
3300 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
3301 : FileDescriptorProto::mutable_extension() {
3302 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.extension)
3303 : return &extension_;
3304 : }
3305 :
3306 : // optional .google.protobuf.FileOptions options = 8;
3307 6 : inline bool FileDescriptorProto::has_options() const {
3308 6 : return (_has_bits_[0] & 0x00000200u) != 0;
3309 : }
3310 3 : inline void FileDescriptorProto::set_has_options() {
3311 3 : _has_bits_[0] |= 0x00000200u;
3312 3 : }
3313 : inline void FileDescriptorProto::clear_has_options() {
3314 : _has_bits_[0] &= ~0x00000200u;
3315 : }
3316 : inline void FileDescriptorProto::clear_options() {
3317 : if (options_ != NULL) options_->::google::protobuf::FileOptions::Clear();
3318 : clear_has_options();
3319 : }
3320 3 : inline const ::google::protobuf::FileOptions& FileDescriptorProto::options() const {
3321 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.options)
3322 3 : return options_ != NULL ? *options_ : *default_instance_->options_;
3323 : }
3324 3 : inline ::google::protobuf::FileOptions* FileDescriptorProto::mutable_options() {
3325 3 : set_has_options();
3326 6 : if (options_ == NULL) options_ = new ::google::protobuf::FileOptions;
3327 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.options)
3328 3 : return options_;
3329 : }
3330 : inline ::google::protobuf::FileOptions* FileDescriptorProto::release_options() {
3331 : clear_has_options();
3332 : ::google::protobuf::FileOptions* temp = options_;
3333 : options_ = NULL;
3334 : return temp;
3335 : }
3336 : inline void FileDescriptorProto::set_allocated_options(::google::protobuf::FileOptions* options) {
3337 : delete options_;
3338 : options_ = options;
3339 : if (options) {
3340 : set_has_options();
3341 : } else {
3342 : clear_has_options();
3343 : }
3344 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.options)
3345 : }
3346 :
3347 : // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
3348 0 : inline bool FileDescriptorProto::has_source_code_info() const {
3349 0 : return (_has_bits_[0] & 0x00000400u) != 0;
3350 : }
3351 0 : inline void FileDescriptorProto::set_has_source_code_info() {
3352 0 : _has_bits_[0] |= 0x00000400u;
3353 0 : }
3354 : inline void FileDescriptorProto::clear_has_source_code_info() {
3355 : _has_bits_[0] &= ~0x00000400u;
3356 : }
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();
3360 : }
3361 0 : inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_code_info() const {
3362 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.source_code_info)
3363 0 : return source_code_info_ != NULL ? *source_code_info_ : *default_instance_->source_code_info_;
3364 : }
3365 0 : inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::mutable_source_code_info() {
3366 0 : set_has_source_code_info();
3367 0 : 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 0 : return source_code_info_;
3370 : }
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;
3375 : return temp;
3376 : }
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();
3382 : } else {
3383 : clear_has_source_code_info();
3384 : }
3385 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.source_code_info)
3386 : }
3387 :
3388 : // -------------------------------------------------------------------
3389 :
3390 : // DescriptorProto_ExtensionRange
3391 :
3392 : // optional int32 start = 1;
3393 0 : inline bool DescriptorProto_ExtensionRange::has_start() const {
3394 0 : return (_has_bits_[0] & 0x00000001u) != 0;
3395 : }
3396 21 : inline void DescriptorProto_ExtensionRange::set_has_start() {
3397 21 : _has_bits_[0] |= 0x00000001u;
3398 21 : }
3399 : inline void DescriptorProto_ExtensionRange::clear_has_start() {
3400 : _has_bits_[0] &= ~0x00000001u;
3401 : }
3402 : inline void DescriptorProto_ExtensionRange::clear_start() {
3403 : start_ = 0;
3404 : clear_has_start();
3405 : }
3406 0 : inline ::google::protobuf::int32 DescriptorProto_ExtensionRange::start() const {
3407 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.start)
3408 0 : return start_;
3409 : }
3410 0 : inline void DescriptorProto_ExtensionRange::set_start(::google::protobuf::int32 value) {
3411 0 : set_has_start();
3412 0 : start_ = value;
3413 : // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.start)
3414 0 : }
3415 :
3416 : // optional int32 end = 2;
3417 0 : inline bool DescriptorProto_ExtensionRange::has_end() const {
3418 0 : return (_has_bits_[0] & 0x00000002u) != 0;
3419 : }
3420 21 : inline void DescriptorProto_ExtensionRange::set_has_end() {
3421 21 : _has_bits_[0] |= 0x00000002u;
3422 21 : }
3423 : inline void DescriptorProto_ExtensionRange::clear_has_end() {
3424 : _has_bits_[0] &= ~0x00000002u;
3425 : }
3426 : inline void DescriptorProto_ExtensionRange::clear_end() {
3427 : end_ = 0;
3428 : clear_has_end();
3429 : }
3430 0 : inline ::google::protobuf::int32 DescriptorProto_ExtensionRange::end() const {
3431 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.end)
3432 0 : return end_;
3433 : }
3434 0 : inline void DescriptorProto_ExtensionRange::set_end(::google::protobuf::int32 value) {
3435 0 : set_has_end();
3436 0 : end_ = value;
3437 : // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.end)
3438 0 : }
3439 :
3440 : // -------------------------------------------------------------------
3441 :
3442 : // DescriptorProto
3443 :
3444 : // optional string name = 1;
3445 0 : inline bool DescriptorProto::has_name() const {
3446 0 : return (_has_bits_[0] & 0x00000001u) != 0;
3447 : }
3448 78 : inline void DescriptorProto::set_has_name() {
3449 78 : _has_bits_[0] |= 0x00000001u;
3450 78 : }
3451 : inline void DescriptorProto::clear_has_name() {
3452 : _has_bits_[0] &= ~0x00000001u;
3453 : }
3454 : inline void DescriptorProto::clear_name() {
3455 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3456 : name_->clear();
3457 : }
3458 : clear_has_name();
3459 : }
3460 222 : inline const ::std::string& DescriptorProto::name() const {
3461 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name)
3462 222 : return *name_;
3463 : }
3464 0 : inline void DescriptorProto::set_name(const ::std::string& value) {
3465 0 : set_has_name();
3466 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3467 0 : name_ = new ::std::string;
3468 : }
3469 0 : name_->assign(value);
3470 : // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name)
3471 0 : }
3472 : inline void DescriptorProto::set_name(const char* value) {
3473 : set_has_name();
3474 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3475 : name_ = new ::std::string;
3476 : }
3477 : name_->assign(value);
3478 : // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.name)
3479 : }
3480 : inline void DescriptorProto::set_name(const char* value, size_t size) {
3481 : set_has_name();
3482 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3483 : name_ = new ::std::string;
3484 : }
3485 : name_->assign(reinterpret_cast<const char*>(value), size);
3486 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.name)
3487 : }
3488 78 : inline ::std::string* DescriptorProto::mutable_name() {
3489 78 : set_has_name();
3490 78 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3491 78 : name_ = new ::std::string;
3492 : }
3493 : // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name)
3494 78 : return name_;
3495 : }
3496 : inline ::std::string* DescriptorProto::release_name() {
3497 : clear_has_name();
3498 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3499 : return NULL;
3500 : } else {
3501 : ::std::string* temp = name_;
3502 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3503 : return temp;
3504 : }
3505 : }
3506 : inline void DescriptorProto::set_allocated_name(::std::string* name) {
3507 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3508 : delete name_;
3509 : }
3510 : if (name) {
3511 : set_has_name();
3512 : name_ = name;
3513 : } else {
3514 : clear_has_name();
3515 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3516 : }
3517 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.name)
3518 : }
3519 :
3520 : // repeated .google.protobuf.FieldDescriptorProto field = 2;
3521 0 : inline int DescriptorProto::field_size() const {
3522 0 : return field_.size();
3523 : }
3524 : inline void DescriptorProto::clear_field() {
3525 : field_.Clear();
3526 : }
3527 0 : inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::field(int index) const {
3528 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.field)
3529 0 : return field_.Get(index);
3530 : }
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);
3534 : }
3535 354 : inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_field() {
3536 : // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.field)
3537 354 : return field_.Add();
3538 : }
3539 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
3540 78 : DescriptorProto::field() const {
3541 : // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.field)
3542 78 : return field_;
3543 : }
3544 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
3545 : DescriptorProto::mutable_field() {
3546 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.field)
3547 : return &field_;
3548 : }
3549 :
3550 : // repeated .google.protobuf.FieldDescriptorProto extension = 6;
3551 78 : inline int DescriptorProto::extension_size() const {
3552 78 : return extension_.size();
3553 : }
3554 : inline void DescriptorProto::clear_extension() {
3555 : extension_.Clear();
3556 : }
3557 0 : inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::extension(int index) const {
3558 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension)
3559 0 : return extension_.Get(index);
3560 : }
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);
3564 : }
3565 0 : inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_extension() {
3566 : // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension)
3567 0 : return extension_.Add();
3568 : }
3569 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
3570 78 : DescriptorProto::extension() const {
3571 : // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension)
3572 78 : return extension_;
3573 : }
3574 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
3575 : DescriptorProto::mutable_extension() {
3576 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension)
3577 : return &extension_;
3578 : }
3579 :
3580 : // repeated .google.protobuf.DescriptorProto nested_type = 3;
3581 90 : inline int DescriptorProto::nested_type_size() const {
3582 90 : return nested_type_.size();
3583 : }
3584 : inline void DescriptorProto::clear_nested_type() {
3585 : nested_type_.Clear();
3586 : }
3587 12 : inline const ::google::protobuf::DescriptorProto& DescriptorProto::nested_type(int index) const {
3588 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.nested_type)
3589 12 : return nested_type_.Get(index);
3590 : }
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);
3594 : }
3595 12 : inline ::google::protobuf::DescriptorProto* DescriptorProto::add_nested_type() {
3596 : // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.nested_type)
3597 12 : return nested_type_.Add();
3598 : }
3599 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
3600 78 : DescriptorProto::nested_type() const {
3601 : // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.nested_type)
3602 78 : return nested_type_;
3603 : }
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_;
3608 : }
3609 :
3610 : // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
3611 0 : inline int DescriptorProto::enum_type_size() const {
3612 0 : return enum_type_.size();
3613 : }
3614 : inline void DescriptorProto::clear_enum_type() {
3615 : enum_type_.Clear();
3616 : }
3617 0 : inline const ::google::protobuf::EnumDescriptorProto& DescriptorProto::enum_type(int index) const {
3618 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.enum_type)
3619 0 : return enum_type_.Get(index);
3620 : }
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);
3624 : }
3625 12 : inline ::google::protobuf::EnumDescriptorProto* DescriptorProto::add_enum_type() {
3626 : // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.enum_type)
3627 12 : return enum_type_.Add();
3628 : }
3629 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
3630 78 : DescriptorProto::enum_type() const {
3631 : // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.enum_type)
3632 78 : return enum_type_;
3633 : }
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)
3637 : return &enum_type_;
3638 : }
3639 :
3640 : // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
3641 0 : inline int DescriptorProto::extension_range_size() const {
3642 0 : return extension_range_.size();
3643 : }
3644 : inline void DescriptorProto::clear_extension_range() {
3645 : extension_range_.Clear();
3646 : }
3647 0 : inline const ::google::protobuf::DescriptorProto_ExtensionRange& DescriptorProto::extension_range(int index) const {
3648 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension_range)
3649 0 : return extension_range_.Get(index);
3650 : }
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);
3654 : }
3655 21 : inline ::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::add_extension_range() {
3656 : // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension_range)
3657 21 : return extension_range_.Add();
3658 : }
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_;
3663 : }
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_;
3668 : }
3669 :
3670 : // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
3671 0 : inline int DescriptorProto::oneof_decl_size() const {
3672 0 : return oneof_decl_.size();
3673 : }
3674 : inline void DescriptorProto::clear_oneof_decl() {
3675 : oneof_decl_.Clear();
3676 : }
3677 0 : inline const ::google::protobuf::OneofDescriptorProto& DescriptorProto::oneof_decl(int index) const {
3678 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.oneof_decl)
3679 0 : return oneof_decl_.Get(index);
3680 : }
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);
3684 : }
3685 21 : inline ::google::protobuf::OneofDescriptorProto* DescriptorProto::add_oneof_decl() {
3686 : // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.oneof_decl)
3687 21 : return oneof_decl_.Add();
3688 : }
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)
3692 : return oneof_decl_;
3693 : }
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_;
3698 : }
3699 :
3700 : // optional .google.protobuf.MessageOptions options = 7;
3701 78 : inline bool DescriptorProto::has_options() const {
3702 78 : return (_has_bits_[0] & 0x00000080u) != 0;
3703 : }
3704 0 : inline void DescriptorProto::set_has_options() {
3705 0 : _has_bits_[0] |= 0x00000080u;
3706 0 : }
3707 : inline void DescriptorProto::clear_has_options() {
3708 : _has_bits_[0] &= ~0x00000080u;
3709 : }
3710 : inline void DescriptorProto::clear_options() {
3711 : if (options_ != NULL) options_->::google::protobuf::MessageOptions::Clear();
3712 : clear_has_options();
3713 : }
3714 0 : inline const ::google::protobuf::MessageOptions& DescriptorProto::options() const {
3715 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options)
3716 0 : return options_ != NULL ? *options_ : *default_instance_->options_;
3717 : }
3718 0 : inline ::google::protobuf::MessageOptions* DescriptorProto::mutable_options() {
3719 0 : set_has_options();
3720 0 : if (options_ == NULL) options_ = new ::google::protobuf::MessageOptions;
3721 : // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.options)
3722 0 : return options_;
3723 : }
3724 : inline ::google::protobuf::MessageOptions* DescriptorProto::release_options() {
3725 : clear_has_options();
3726 : ::google::protobuf::MessageOptions* temp = options_;
3727 : options_ = NULL;
3728 : return temp;
3729 : }
3730 : inline void DescriptorProto::set_allocated_options(::google::protobuf::MessageOptions* options) {
3731 : delete options_;
3732 : options_ = options;
3733 : if (options) {
3734 : set_has_options();
3735 : } else {
3736 : clear_has_options();
3737 : }
3738 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.options)
3739 : }
3740 :
3741 : // -------------------------------------------------------------------
3742 :
3743 : // FieldDescriptorProto
3744 :
3745 : // optional string name = 1;
3746 0 : inline bool FieldDescriptorProto::has_name() const {
3747 0 : return (_has_bits_[0] & 0x00000001u) != 0;
3748 : }
3749 354 : inline void FieldDescriptorProto::set_has_name() {
3750 354 : _has_bits_[0] |= 0x00000001u;
3751 354 : }
3752 : inline void FieldDescriptorProto::clear_has_name() {
3753 : _has_bits_[0] &= ~0x00000001u;
3754 : }
3755 : inline void FieldDescriptorProto::clear_name() {
3756 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3757 : name_->clear();
3758 : }
3759 : clear_has_name();
3760 : }
3761 708 : inline const ::std::string& FieldDescriptorProto::name() const {
3762 : // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.name)
3763 708 : return *name_;
3764 : }
3765 0 : inline void FieldDescriptorProto::set_name(const ::std::string& value) {
3766 0 : set_has_name();
3767 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3768 0 : name_ = new ::std::string;
3769 : }
3770 0 : name_->assign(value);
3771 : // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.name)
3772 0 : }
3773 : inline void FieldDescriptorProto::set_name(const char* value) {
3774 : set_has_name();
3775 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3776 : name_ = new ::std::string;
3777 : }
3778 : name_->assign(value);
3779 : // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.name)
3780 : }
3781 : inline void FieldDescriptorProto::set_name(const char* value, size_t size) {
3782 : set_has_name();
3783 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3784 : name_ = new ::std::string;
3785 : }
3786 : name_->assign(reinterpret_cast<const char*>(value), size);
3787 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.name)
3788 : }
3789 354 : inline ::std::string* FieldDescriptorProto::mutable_name() {
3790 354 : set_has_name();
3791 354 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3792 354 : name_ = new ::std::string;
3793 : }
3794 : // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.name)
3795 354 : return name_;
3796 : }
3797 : inline ::std::string* FieldDescriptorProto::release_name() {
3798 : clear_has_name();
3799 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3800 : return NULL;
3801 : } else {
3802 : ::std::string* temp = name_;
3803 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3804 : return temp;
3805 : }
3806 : }
3807 : inline void FieldDescriptorProto::set_allocated_name(::std::string* name) {
3808 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3809 : delete name_;
3810 : }
3811 : if (name) {
3812 : set_has_name();
3813 : name_ = name;
3814 : } else {
3815 : clear_has_name();
3816 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3817 : }
3818 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.name)
3819 : }
3820 :
3821 : // optional int32 number = 3;
3822 0 : inline bool FieldDescriptorProto::has_number() const {
3823 0 : return (_has_bits_[0] & 0x00000002u) != 0;
3824 : }
3825 354 : inline void FieldDescriptorProto::set_has_number() {
3826 354 : _has_bits_[0] |= 0x00000002u;
3827 354 : }
3828 : inline void FieldDescriptorProto::clear_has_number() {
3829 : _has_bits_[0] &= ~0x00000002u;
3830 : }
3831 : inline void FieldDescriptorProto::clear_number() {
3832 : number_ = 0;
3833 : clear_has_number();
3834 : }
3835 0 : inline ::google::protobuf::int32 FieldDescriptorProto::number() const {
3836 : // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.number)
3837 0 : return number_;
3838 : }
3839 0 : inline void FieldDescriptorProto::set_number(::google::protobuf::int32 value) {
3840 0 : set_has_number();
3841 0 : number_ = value;
3842 : // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.number)
3843 0 : }
3844 :
3845 : // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
3846 0 : inline bool FieldDescriptorProto::has_label() const {
3847 0 : return (_has_bits_[0] & 0x00000004u) != 0;
3848 : }
3849 354 : inline void FieldDescriptorProto::set_has_label() {
3850 354 : _has_bits_[0] |= 0x00000004u;
3851 354 : }
3852 : inline void FieldDescriptorProto::clear_has_label() {
3853 : _has_bits_[0] &= ~0x00000004u;
3854 : }
3855 : inline void FieldDescriptorProto::clear_label() {
3856 : label_ = 1;
3857 : clear_has_label();
3858 : }
3859 0 : inline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::label() const {
3860 : // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.label)
3861 0 : return static_cast< ::google::protobuf::FieldDescriptorProto_Label >(label_);
3862 : }
3863 354 : inline void FieldDescriptorProto::set_label(::google::protobuf::FieldDescriptorProto_Label value) {
3864 354 : assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value));
3865 354 : set_has_label();
3866 354 : label_ = value;
3867 : // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.label)
3868 354 : }
3869 :
3870 : // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
3871 0 : inline bool FieldDescriptorProto::has_type() const {
3872 0 : return (_has_bits_[0] & 0x00000008u) != 0;
3873 : }
3874 354 : inline void FieldDescriptorProto::set_has_type() {
3875 354 : _has_bits_[0] |= 0x00000008u;
3876 354 : }
3877 0 : inline void FieldDescriptorProto::clear_has_type() {
3878 0 : _has_bits_[0] &= ~0x00000008u;
3879 0 : }
3880 0 : inline void FieldDescriptorProto::clear_type() {
3881 0 : type_ = 1;
3882 0 : clear_has_type();
3883 0 : }
3884 0 : inline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::type() const {
3885 : // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type)
3886 0 : return static_cast< ::google::protobuf::FieldDescriptorProto_Type >(type_);
3887 : }
3888 354 : inline void FieldDescriptorProto::set_type(::google::protobuf::FieldDescriptorProto_Type value) {
3889 354 : assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value));
3890 354 : set_has_type();
3891 354 : type_ = value;
3892 : // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type)
3893 354 : }
3894 :
3895 : // optional string type_name = 6;
3896 0 : inline bool FieldDescriptorProto::has_type_name() const {
3897 0 : return (_has_bits_[0] & 0x00000010u) != 0;
3898 : }
3899 114 : inline void FieldDescriptorProto::set_has_type_name() {
3900 114 : _has_bits_[0] |= 0x00000010u;
3901 114 : }
3902 : inline void FieldDescriptorProto::clear_has_type_name() {
3903 : _has_bits_[0] &= ~0x00000010u;
3904 : }
3905 : inline void FieldDescriptorProto::clear_type_name() {
3906 : if (type_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3907 : type_name_->clear();
3908 : }
3909 : clear_has_type_name();
3910 : }
3911 228 : inline const ::std::string& FieldDescriptorProto::type_name() const {
3912 : // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type_name)
3913 228 : return *type_name_;
3914 : }
3915 0 : inline void FieldDescriptorProto::set_type_name(const ::std::string& value) {
3916 0 : set_has_type_name();
3917 0 : if (type_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3918 0 : type_name_ = new ::std::string;
3919 : }
3920 0 : type_name_->assign(value);
3921 : // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type_name)
3922 0 : }
3923 0 : inline void FieldDescriptorProto::set_type_name(const char* value) {
3924 0 : set_has_type_name();
3925 0 : if (type_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3926 0 : type_name_ = new ::std::string;
3927 : }
3928 0 : type_name_->assign(value);
3929 : // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.type_name)
3930 0 : }
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;
3935 : }
3936 : type_name_->assign(reinterpret_cast<const char*>(value), size);
3937 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.type_name)
3938 : }
3939 114 : inline ::std::string* FieldDescriptorProto::mutable_type_name() {
3940 114 : set_has_type_name();
3941 114 : if (type_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3942 114 : type_name_ = new ::std::string;
3943 : }
3944 : // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.type_name)
3945 114 : return type_name_;
3946 : }
3947 : inline ::std::string* FieldDescriptorProto::release_type_name() {
3948 : clear_has_type_name();
3949 : if (type_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3950 : return NULL;
3951 : } else {
3952 : ::std::string* temp = type_name_;
3953 : type_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3954 : return temp;
3955 : }
3956 : }
3957 : inline void FieldDescriptorProto::set_allocated_type_name(::std::string* type_name) {
3958 : if (type_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3959 : delete type_name_;
3960 : }
3961 : if (type_name) {
3962 : set_has_type_name();
3963 : type_name_ = type_name;
3964 : } else {
3965 : clear_has_type_name();
3966 : type_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3967 : }
3968 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.type_name)
3969 : }
3970 :
3971 : // optional string extendee = 2;
3972 0 : inline bool FieldDescriptorProto::has_extendee() const {
3973 0 : return (_has_bits_[0] & 0x00000020u) != 0;
3974 : }
3975 0 : inline void FieldDescriptorProto::set_has_extendee() {
3976 0 : _has_bits_[0] |= 0x00000020u;
3977 0 : }
3978 : inline void FieldDescriptorProto::clear_has_extendee() {
3979 : _has_bits_[0] &= ~0x00000020u;
3980 : }
3981 : inline void FieldDescriptorProto::clear_extendee() {
3982 : if (extendee_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3983 : extendee_->clear();
3984 : }
3985 : clear_has_extendee();
3986 : }
3987 0 : inline const ::std::string& FieldDescriptorProto::extendee() const {
3988 : // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.extendee)
3989 0 : return *extendee_;
3990 : }
3991 0 : inline void FieldDescriptorProto::set_extendee(const ::std::string& value) {
3992 0 : set_has_extendee();
3993 0 : if (extendee_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3994 0 : extendee_ = new ::std::string;
3995 : }
3996 0 : extendee_->assign(value);
3997 : // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.extendee)
3998 0 : }
3999 0 : inline void FieldDescriptorProto::set_extendee(const char* value) {
4000 0 : set_has_extendee();
4001 0 : if (extendee_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4002 0 : extendee_ = new ::std::string;
4003 : }
4004 0 : extendee_->assign(value);
4005 : // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.extendee)
4006 0 : }
4007 : inline void FieldDescriptorProto::set_extendee(const char* value, size_t size) {
4008 : set_has_extendee();
4009 : if (extendee_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4010 : extendee_ = new ::std::string;
4011 : }
4012 : extendee_->assign(reinterpret_cast<const char*>(value), size);
4013 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.extendee)
4014 : }
4015 0 : inline ::std::string* FieldDescriptorProto::mutable_extendee() {
4016 0 : set_has_extendee();
4017 0 : if (extendee_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4018 0 : extendee_ = new ::std::string;
4019 : }
4020 : // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.extendee)
4021 0 : return extendee_;
4022 : }
4023 : inline ::std::string* FieldDescriptorProto::release_extendee() {
4024 : clear_has_extendee();
4025 : if (extendee_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4026 : return NULL;
4027 : } else {
4028 : ::std::string* temp = extendee_;
4029 : extendee_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4030 : return temp;
4031 : }
4032 : }
4033 : inline void FieldDescriptorProto::set_allocated_extendee(::std::string* extendee) {
4034 : if (extendee_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4035 : delete extendee_;
4036 : }
4037 : if (extendee) {
4038 : set_has_extendee();
4039 : extendee_ = extendee;
4040 : } else {
4041 : clear_has_extendee();
4042 : extendee_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4043 : }
4044 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.extendee)
4045 : }
4046 :
4047 : // optional string default_value = 7;
4048 0 : inline bool FieldDescriptorProto::has_default_value() const {
4049 0 : return (_has_bits_[0] & 0x00000040u) != 0;
4050 : }
4051 60 : inline void FieldDescriptorProto::set_has_default_value() {
4052 60 : _has_bits_[0] |= 0x00000040u;
4053 60 : }
4054 : inline void FieldDescriptorProto::clear_has_default_value() {
4055 : _has_bits_[0] &= ~0x00000040u;
4056 : }
4057 : inline void FieldDescriptorProto::clear_default_value() {
4058 : if (default_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4059 : default_value_->clear();
4060 : }
4061 : clear_has_default_value();
4062 : }
4063 120 : inline const ::std::string& FieldDescriptorProto::default_value() const {
4064 : // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.default_value)
4065 120 : return *default_value_;
4066 : }
4067 0 : inline void FieldDescriptorProto::set_default_value(const ::std::string& value) {
4068 0 : set_has_default_value();
4069 0 : if (default_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4070 0 : default_value_ = new ::std::string;
4071 : }
4072 0 : default_value_->assign(value);
4073 : // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.default_value)
4074 0 : }
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;
4079 : }
4080 : default_value_->assign(value);
4081 : // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.default_value)
4082 : }
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;
4087 : }
4088 : default_value_->assign(reinterpret_cast<const char*>(value), size);
4089 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.default_value)
4090 : }
4091 60 : inline ::std::string* FieldDescriptorProto::mutable_default_value() {
4092 60 : set_has_default_value();
4093 60 : if (default_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4094 60 : default_value_ = new ::std::string;
4095 : }
4096 : // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.default_value)
4097 60 : return default_value_;
4098 : }
4099 : inline ::std::string* FieldDescriptorProto::release_default_value() {
4100 : clear_has_default_value();
4101 : if (default_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4102 : return NULL;
4103 : } else {
4104 : ::std::string* temp = default_value_;
4105 : default_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4106 : return temp;
4107 : }
4108 : }
4109 : inline void FieldDescriptorProto::set_allocated_default_value(::std::string* default_value) {
4110 : if (default_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4111 : delete default_value_;
4112 : }
4113 : if (default_value) {
4114 : set_has_default_value();
4115 : default_value_ = default_value;
4116 : } else {
4117 : clear_has_default_value();
4118 : default_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4119 : }
4120 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.default_value)
4121 : }
4122 :
4123 : // optional int32 oneof_index = 9;
4124 0 : inline bool FieldDescriptorProto::has_oneof_index() const {
4125 0 : return (_has_bits_[0] & 0x00000080u) != 0;
4126 : }
4127 42 : inline void FieldDescriptorProto::set_has_oneof_index() {
4128 42 : _has_bits_[0] |= 0x00000080u;
4129 42 : }
4130 : inline void FieldDescriptorProto::clear_has_oneof_index() {
4131 : _has_bits_[0] &= ~0x00000080u;
4132 : }
4133 : inline void FieldDescriptorProto::clear_oneof_index() {
4134 : oneof_index_ = 0;
4135 : clear_has_oneof_index();
4136 : }
4137 0 : inline ::google::protobuf::int32 FieldDescriptorProto::oneof_index() const {
4138 : // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.oneof_index)
4139 0 : return oneof_index_;
4140 : }
4141 0 : inline void FieldDescriptorProto::set_oneof_index(::google::protobuf::int32 value) {
4142 0 : set_has_oneof_index();
4143 0 : oneof_index_ = value;
4144 : // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.oneof_index)
4145 0 : }
4146 :
4147 : // optional .google.protobuf.FieldOptions options = 8;
4148 354 : inline bool FieldDescriptorProto::has_options() const {
4149 354 : return (_has_bits_[0] & 0x00000100u) != 0;
4150 : }
4151 6 : inline void FieldDescriptorProto::set_has_options() {
4152 6 : _has_bits_[0] |= 0x00000100u;
4153 6 : }
4154 : inline void FieldDescriptorProto::clear_has_options() {
4155 : _has_bits_[0] &= ~0x00000100u;
4156 : }
4157 : inline void FieldDescriptorProto::clear_options() {
4158 : if (options_ != NULL) options_->::google::protobuf::FieldOptions::Clear();
4159 : clear_has_options();
4160 : }
4161 6 : inline const ::google::protobuf::FieldOptions& FieldDescriptorProto::options() const {
4162 : // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.options)
4163 6 : return options_ != NULL ? *options_ : *default_instance_->options_;
4164 : }
4165 6 : inline ::google::protobuf::FieldOptions* FieldDescriptorProto::mutable_options() {
4166 6 : set_has_options();
4167 12 : if (options_ == NULL) options_ = new ::google::protobuf::FieldOptions;
4168 : // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.options)
4169 6 : return options_;
4170 : }
4171 : inline ::google::protobuf::FieldOptions* FieldDescriptorProto::release_options() {
4172 : clear_has_options();
4173 : ::google::protobuf::FieldOptions* temp = options_;
4174 : options_ = NULL;
4175 : return temp;
4176 : }
4177 : inline void FieldDescriptorProto::set_allocated_options(::google::protobuf::FieldOptions* options) {
4178 : delete options_;
4179 : options_ = options;
4180 : if (options) {
4181 : set_has_options();
4182 : } else {
4183 : clear_has_options();
4184 : }
4185 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.options)
4186 : }
4187 :
4188 : // -------------------------------------------------------------------
4189 :
4190 : // OneofDescriptorProto
4191 :
4192 : // optional string name = 1;
4193 0 : inline bool OneofDescriptorProto::has_name() const {
4194 0 : return (_has_bits_[0] & 0x00000001u) != 0;
4195 : }
4196 21 : inline void OneofDescriptorProto::set_has_name() {
4197 21 : _has_bits_[0] |= 0x00000001u;
4198 21 : }
4199 : inline void OneofDescriptorProto::clear_has_name() {
4200 : _has_bits_[0] &= ~0x00000001u;
4201 : }
4202 : inline void OneofDescriptorProto::clear_name() {
4203 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4204 : name_->clear();
4205 : }
4206 : clear_has_name();
4207 : }
4208 42 : inline const ::std::string& OneofDescriptorProto::name() const {
4209 : // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.name)
4210 42 : return *name_;
4211 : }
4212 0 : inline void OneofDescriptorProto::set_name(const ::std::string& value) {
4213 0 : set_has_name();
4214 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4215 0 : name_ = new ::std::string;
4216 : }
4217 0 : name_->assign(value);
4218 : // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.name)
4219 0 : }
4220 : inline void OneofDescriptorProto::set_name(const char* value) {
4221 : set_has_name();
4222 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4223 : name_ = new ::std::string;
4224 : }
4225 : name_->assign(value);
4226 : // @@protoc_insertion_point(field_set_char:google.protobuf.OneofDescriptorProto.name)
4227 : }
4228 : inline void OneofDescriptorProto::set_name(const char* value, size_t size) {
4229 : set_has_name();
4230 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4231 : name_ = new ::std::string;
4232 : }
4233 : name_->assign(reinterpret_cast<const char*>(value), size);
4234 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.OneofDescriptorProto.name)
4235 : }
4236 21 : inline ::std::string* OneofDescriptorProto::mutable_name() {
4237 21 : set_has_name();
4238 21 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4239 21 : name_ = new ::std::string;
4240 : }
4241 : // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.name)
4242 21 : return name_;
4243 : }
4244 : inline ::std::string* OneofDescriptorProto::release_name() {
4245 : clear_has_name();
4246 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4247 : return NULL;
4248 : } else {
4249 : ::std::string* temp = name_;
4250 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4251 : return temp;
4252 : }
4253 : }
4254 : inline void OneofDescriptorProto::set_allocated_name(::std::string* name) {
4255 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4256 : delete name_;
4257 : }
4258 : if (name) {
4259 : set_has_name();
4260 : name_ = name;
4261 : } else {
4262 : clear_has_name();
4263 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4264 : }
4265 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.name)
4266 : }
4267 :
4268 : // -------------------------------------------------------------------
4269 :
4270 : // EnumDescriptorProto
4271 :
4272 : // optional string name = 1;
4273 0 : inline bool EnumDescriptorProto::has_name() const {
4274 0 : return (_has_bits_[0] & 0x00000001u) != 0;
4275 : }
4276 12 : inline void EnumDescriptorProto::set_has_name() {
4277 12 : _has_bits_[0] |= 0x00000001u;
4278 12 : }
4279 : inline void EnumDescriptorProto::clear_has_name() {
4280 : _has_bits_[0] &= ~0x00000001u;
4281 : }
4282 : inline void EnumDescriptorProto::clear_name() {
4283 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4284 : name_->clear();
4285 : }
4286 : clear_has_name();
4287 : }
4288 24 : inline const ::std::string& EnumDescriptorProto::name() const {
4289 : // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name)
4290 24 : return *name_;
4291 : }
4292 0 : inline void EnumDescriptorProto::set_name(const ::std::string& value) {
4293 0 : set_has_name();
4294 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4295 0 : name_ = new ::std::string;
4296 : }
4297 0 : name_->assign(value);
4298 : // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name)
4299 0 : }
4300 : inline void EnumDescriptorProto::set_name(const char* value) {
4301 : set_has_name();
4302 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4303 : name_ = new ::std::string;
4304 : }
4305 : name_->assign(value);
4306 : // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto.name)
4307 : }
4308 : inline void EnumDescriptorProto::set_name(const char* value, size_t size) {
4309 : set_has_name();
4310 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4311 : name_ = new ::std::string;
4312 : }
4313 : name_->assign(reinterpret_cast<const char*>(value), size);
4314 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorProto.name)
4315 : }
4316 12 : inline ::std::string* EnumDescriptorProto::mutable_name() {
4317 12 : set_has_name();
4318 12 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4319 12 : name_ = new ::std::string;
4320 : }
4321 : // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.name)
4322 12 : return name_;
4323 : }
4324 : inline ::std::string* EnumDescriptorProto::release_name() {
4325 : clear_has_name();
4326 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4327 : return NULL;
4328 : } else {
4329 : ::std::string* temp = name_;
4330 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4331 : return temp;
4332 : }
4333 : }
4334 : inline void EnumDescriptorProto::set_allocated_name(::std::string* name) {
4335 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4336 : delete name_;
4337 : }
4338 : if (name) {
4339 : set_has_name();
4340 : name_ = name;
4341 : } else {
4342 : clear_has_name();
4343 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4344 : }
4345 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.name)
4346 : }
4347 :
4348 : // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
4349 0 : inline int EnumDescriptorProto::value_size() const {
4350 0 : return value_.size();
4351 : }
4352 : inline void EnumDescriptorProto::clear_value() {
4353 : value_.Clear();
4354 : }
4355 0 : inline const ::google::protobuf::EnumValueDescriptorProto& EnumDescriptorProto::value(int index) const {
4356 : // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.value)
4357 0 : return value_.Get(index);
4358 : }
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);
4362 : }
4363 81 : inline ::google::protobuf::EnumValueDescriptorProto* EnumDescriptorProto::add_value() {
4364 : // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.value)
4365 81 : return value_.Add();
4366 : }
4367 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >&
4368 12 : EnumDescriptorProto::value() const {
4369 : // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.value)
4370 12 : return value_;
4371 : }
4372 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >*
4373 : EnumDescriptorProto::mutable_value() {
4374 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.value)
4375 : return &value_;
4376 : }
4377 :
4378 : // optional .google.protobuf.EnumOptions options = 3;
4379 12 : inline bool EnumDescriptorProto::has_options() const {
4380 12 : return (_has_bits_[0] & 0x00000004u) != 0;
4381 : }
4382 0 : inline void EnumDescriptorProto::set_has_options() {
4383 0 : _has_bits_[0] |= 0x00000004u;
4384 0 : }
4385 : inline void EnumDescriptorProto::clear_has_options() {
4386 : _has_bits_[0] &= ~0x00000004u;
4387 : }
4388 : inline void EnumDescriptorProto::clear_options() {
4389 : if (options_ != NULL) options_->::google::protobuf::EnumOptions::Clear();
4390 : clear_has_options();
4391 : }
4392 0 : inline const ::google::protobuf::EnumOptions& EnumDescriptorProto::options() const {
4393 : // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.options)
4394 0 : return options_ != NULL ? *options_ : *default_instance_->options_;
4395 : }
4396 0 : inline ::google::protobuf::EnumOptions* EnumDescriptorProto::mutable_options() {
4397 0 : set_has_options();
4398 0 : if (options_ == NULL) options_ = new ::google::protobuf::EnumOptions;
4399 : // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.options)
4400 0 : return options_;
4401 : }
4402 : inline ::google::protobuf::EnumOptions* EnumDescriptorProto::release_options() {
4403 : clear_has_options();
4404 : ::google::protobuf::EnumOptions* temp = options_;
4405 : options_ = NULL;
4406 : return temp;
4407 : }
4408 : inline void EnumDescriptorProto::set_allocated_options(::google::protobuf::EnumOptions* options) {
4409 : delete options_;
4410 : options_ = options;
4411 : if (options) {
4412 : set_has_options();
4413 : } else {
4414 : clear_has_options();
4415 : }
4416 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.options)
4417 : }
4418 :
4419 : // -------------------------------------------------------------------
4420 :
4421 : // EnumValueDescriptorProto
4422 :
4423 : // optional string name = 1;
4424 0 : inline bool EnumValueDescriptorProto::has_name() const {
4425 0 : return (_has_bits_[0] & 0x00000001u) != 0;
4426 : }
4427 81 : inline void EnumValueDescriptorProto::set_has_name() {
4428 81 : _has_bits_[0] |= 0x00000001u;
4429 81 : }
4430 : inline void EnumValueDescriptorProto::clear_has_name() {
4431 : _has_bits_[0] &= ~0x00000001u;
4432 : }
4433 : inline void EnumValueDescriptorProto::clear_name() {
4434 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4435 : name_->clear();
4436 : }
4437 : clear_has_name();
4438 : }
4439 162 : inline const ::std::string& EnumValueDescriptorProto::name() const {
4440 : // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.name)
4441 162 : return *name_;
4442 : }
4443 0 : inline void EnumValueDescriptorProto::set_name(const ::std::string& value) {
4444 0 : set_has_name();
4445 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4446 0 : name_ = new ::std::string;
4447 : }
4448 0 : name_->assign(value);
4449 : // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.name)
4450 0 : }
4451 : inline void EnumValueDescriptorProto::set_name(const char* value) {
4452 : set_has_name();
4453 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4454 : name_ = new ::std::string;
4455 : }
4456 : name_->assign(value);
4457 : // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValueDescriptorProto.name)
4458 : }
4459 : inline void EnumValueDescriptorProto::set_name(const char* value, size_t size) {
4460 : set_has_name();
4461 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4462 : name_ = new ::std::string;
4463 : }
4464 : name_->assign(reinterpret_cast<const char*>(value), size);
4465 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValueDescriptorProto.name)
4466 : }
4467 81 : inline ::std::string* EnumValueDescriptorProto::mutable_name() {
4468 81 : set_has_name();
4469 81 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4470 81 : name_ = new ::std::string;
4471 : }
4472 : // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.name)
4473 81 : return name_;
4474 : }
4475 : inline ::std::string* EnumValueDescriptorProto::release_name() {
4476 : clear_has_name();
4477 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4478 : return NULL;
4479 : } else {
4480 : ::std::string* temp = name_;
4481 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4482 : return temp;
4483 : }
4484 : }
4485 : inline void EnumValueDescriptorProto::set_allocated_name(::std::string* name) {
4486 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4487 : delete name_;
4488 : }
4489 : if (name) {
4490 : set_has_name();
4491 : name_ = name;
4492 : } else {
4493 : clear_has_name();
4494 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4495 : }
4496 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.name)
4497 : }
4498 :
4499 : // optional int32 number = 2;
4500 0 : inline bool EnumValueDescriptorProto::has_number() const {
4501 0 : return (_has_bits_[0] & 0x00000002u) != 0;
4502 : }
4503 81 : inline void EnumValueDescriptorProto::set_has_number() {
4504 81 : _has_bits_[0] |= 0x00000002u;
4505 81 : }
4506 : inline void EnumValueDescriptorProto::clear_has_number() {
4507 : _has_bits_[0] &= ~0x00000002u;
4508 : }
4509 : inline void EnumValueDescriptorProto::clear_number() {
4510 : number_ = 0;
4511 : clear_has_number();
4512 : }
4513 0 : inline ::google::protobuf::int32 EnumValueDescriptorProto::number() const {
4514 : // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.number)
4515 0 : return number_;
4516 : }
4517 0 : inline void EnumValueDescriptorProto::set_number(::google::protobuf::int32 value) {
4518 0 : set_has_number();
4519 0 : number_ = value;
4520 : // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.number)
4521 0 : }
4522 :
4523 : // optional .google.protobuf.EnumValueOptions options = 3;
4524 81 : inline bool EnumValueDescriptorProto::has_options() const {
4525 81 : return (_has_bits_[0] & 0x00000004u) != 0;
4526 : }
4527 0 : inline void EnumValueDescriptorProto::set_has_options() {
4528 0 : _has_bits_[0] |= 0x00000004u;
4529 0 : }
4530 : inline void EnumValueDescriptorProto::clear_has_options() {
4531 : _has_bits_[0] &= ~0x00000004u;
4532 : }
4533 : inline void EnumValueDescriptorProto::clear_options() {
4534 : if (options_ != NULL) options_->::google::protobuf::EnumValueOptions::Clear();
4535 : clear_has_options();
4536 : }
4537 0 : inline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::options() const {
4538 : // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.options)
4539 0 : return options_ != NULL ? *options_ : *default_instance_->options_;
4540 : }
4541 0 : inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::mutable_options() {
4542 0 : set_has_options();
4543 0 : if (options_ == NULL) options_ = new ::google::protobuf::EnumValueOptions;
4544 : // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.options)
4545 0 : return options_;
4546 : }
4547 : inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::release_options() {
4548 : clear_has_options();
4549 : ::google::protobuf::EnumValueOptions* temp = options_;
4550 : options_ = NULL;
4551 : return temp;
4552 : }
4553 : inline void EnumValueDescriptorProto::set_allocated_options(::google::protobuf::EnumValueOptions* options) {
4554 : delete options_;
4555 : options_ = options;
4556 : if (options) {
4557 : set_has_options();
4558 : } else {
4559 : clear_has_options();
4560 : }
4561 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.options)
4562 : }
4563 :
4564 : // -------------------------------------------------------------------
4565 :
4566 : // ServiceDescriptorProto
4567 :
4568 : // optional string name = 1;
4569 0 : inline bool ServiceDescriptorProto::has_name() const {
4570 0 : return (_has_bits_[0] & 0x00000001u) != 0;
4571 : }
4572 0 : inline void ServiceDescriptorProto::set_has_name() {
4573 0 : _has_bits_[0] |= 0x00000001u;
4574 0 : }
4575 : inline void ServiceDescriptorProto::clear_has_name() {
4576 : _has_bits_[0] &= ~0x00000001u;
4577 : }
4578 : inline void ServiceDescriptorProto::clear_name() {
4579 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4580 : name_->clear();
4581 : }
4582 : clear_has_name();
4583 : }
4584 0 : inline const ::std::string& ServiceDescriptorProto::name() const {
4585 : // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.name)
4586 0 : return *name_;
4587 : }
4588 0 : inline void ServiceDescriptorProto::set_name(const ::std::string& value) {
4589 0 : set_has_name();
4590 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4591 0 : name_ = new ::std::string;
4592 : }
4593 0 : name_->assign(value);
4594 : // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.name)
4595 0 : }
4596 : inline void ServiceDescriptorProto::set_name(const char* value) {
4597 : set_has_name();
4598 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4599 : name_ = new ::std::string;
4600 : }
4601 : name_->assign(value);
4602 : // @@protoc_insertion_point(field_set_char:google.protobuf.ServiceDescriptorProto.name)
4603 : }
4604 : inline void ServiceDescriptorProto::set_name(const char* value, size_t size) {
4605 : set_has_name();
4606 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4607 : name_ = new ::std::string;
4608 : }
4609 : name_->assign(reinterpret_cast<const char*>(value), size);
4610 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.ServiceDescriptorProto.name)
4611 : }
4612 0 : inline ::std::string* ServiceDescriptorProto::mutable_name() {
4613 0 : set_has_name();
4614 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4615 0 : name_ = new ::std::string;
4616 : }
4617 : // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.name)
4618 0 : return name_;
4619 : }
4620 : inline ::std::string* ServiceDescriptorProto::release_name() {
4621 : clear_has_name();
4622 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4623 : return NULL;
4624 : } else {
4625 : ::std::string* temp = name_;
4626 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4627 : return temp;
4628 : }
4629 : }
4630 : inline void ServiceDescriptorProto::set_allocated_name(::std::string* name) {
4631 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4632 : delete name_;
4633 : }
4634 : if (name) {
4635 : set_has_name();
4636 : name_ = name;
4637 : } else {
4638 : clear_has_name();
4639 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4640 : }
4641 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.name)
4642 : }
4643 :
4644 : // repeated .google.protobuf.MethodDescriptorProto method = 2;
4645 0 : inline int ServiceDescriptorProto::method_size() const {
4646 0 : return method_.size();
4647 : }
4648 : inline void ServiceDescriptorProto::clear_method() {
4649 : method_.Clear();
4650 : }
4651 0 : inline const ::google::protobuf::MethodDescriptorProto& ServiceDescriptorProto::method(int index) const {
4652 : // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.method)
4653 0 : return method_.Get(index);
4654 : }
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);
4658 : }
4659 0 : inline ::google::protobuf::MethodDescriptorProto* ServiceDescriptorProto::add_method() {
4660 : // @@protoc_insertion_point(field_add:google.protobuf.ServiceDescriptorProto.method)
4661 0 : return method_.Add();
4662 : }
4663 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >&
4664 0 : ServiceDescriptorProto::method() const {
4665 : // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.method)
4666 0 : return method_;
4667 : }
4668 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >*
4669 : ServiceDescriptorProto::mutable_method() {
4670 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceDescriptorProto.method)
4671 : return &method_;
4672 : }
4673 :
4674 : // optional .google.protobuf.ServiceOptions options = 3;
4675 0 : inline bool ServiceDescriptorProto::has_options() const {
4676 0 : return (_has_bits_[0] & 0x00000004u) != 0;
4677 : }
4678 0 : inline void ServiceDescriptorProto::set_has_options() {
4679 0 : _has_bits_[0] |= 0x00000004u;
4680 0 : }
4681 : inline void ServiceDescriptorProto::clear_has_options() {
4682 : _has_bits_[0] &= ~0x00000004u;
4683 : }
4684 : inline void ServiceDescriptorProto::clear_options() {
4685 : if (options_ != NULL) options_->::google::protobuf::ServiceOptions::Clear();
4686 : clear_has_options();
4687 : }
4688 0 : inline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::options() const {
4689 : // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.options)
4690 0 : return options_ != NULL ? *options_ : *default_instance_->options_;
4691 : }
4692 0 : inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::mutable_options() {
4693 0 : set_has_options();
4694 0 : if (options_ == NULL) options_ = new ::google::protobuf::ServiceOptions;
4695 : // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.options)
4696 0 : return options_;
4697 : }
4698 : inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::release_options() {
4699 : clear_has_options();
4700 : ::google::protobuf::ServiceOptions* temp = options_;
4701 : options_ = NULL;
4702 : return temp;
4703 : }
4704 : inline void ServiceDescriptorProto::set_allocated_options(::google::protobuf::ServiceOptions* options) {
4705 : delete options_;
4706 : options_ = options;
4707 : if (options) {
4708 : set_has_options();
4709 : } else {
4710 : clear_has_options();
4711 : }
4712 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.options)
4713 : }
4714 :
4715 : // -------------------------------------------------------------------
4716 :
4717 : // MethodDescriptorProto
4718 :
4719 : // optional string name = 1;
4720 0 : inline bool MethodDescriptorProto::has_name() const {
4721 0 : return (_has_bits_[0] & 0x00000001u) != 0;
4722 : }
4723 0 : inline void MethodDescriptorProto::set_has_name() {
4724 0 : _has_bits_[0] |= 0x00000001u;
4725 0 : }
4726 : inline void MethodDescriptorProto::clear_has_name() {
4727 : _has_bits_[0] &= ~0x00000001u;
4728 : }
4729 : inline void MethodDescriptorProto::clear_name() {
4730 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4731 : name_->clear();
4732 : }
4733 : clear_has_name();
4734 : }
4735 0 : inline const ::std::string& MethodDescriptorProto::name() const {
4736 : // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.name)
4737 0 : return *name_;
4738 : }
4739 0 : inline void MethodDescriptorProto::set_name(const ::std::string& value) {
4740 0 : set_has_name();
4741 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4742 0 : name_ = new ::std::string;
4743 : }
4744 0 : name_->assign(value);
4745 : // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.name)
4746 0 : }
4747 : inline void MethodDescriptorProto::set_name(const char* value) {
4748 : set_has_name();
4749 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4750 : name_ = new ::std::string;
4751 : }
4752 : name_->assign(value);
4753 : // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.name)
4754 : }
4755 : inline void MethodDescriptorProto::set_name(const char* value, size_t size) {
4756 : set_has_name();
4757 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4758 : name_ = new ::std::string;
4759 : }
4760 : name_->assign(reinterpret_cast<const char*>(value), size);
4761 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.name)
4762 : }
4763 0 : inline ::std::string* MethodDescriptorProto::mutable_name() {
4764 0 : set_has_name();
4765 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4766 0 : name_ = new ::std::string;
4767 : }
4768 : // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.name)
4769 0 : return name_;
4770 : }
4771 : inline ::std::string* MethodDescriptorProto::release_name() {
4772 : clear_has_name();
4773 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4774 : return NULL;
4775 : } else {
4776 : ::std::string* temp = name_;
4777 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4778 : return temp;
4779 : }
4780 : }
4781 : inline void MethodDescriptorProto::set_allocated_name(::std::string* name) {
4782 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4783 : delete name_;
4784 : }
4785 : if (name) {
4786 : set_has_name();
4787 : name_ = name;
4788 : } else {
4789 : clear_has_name();
4790 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4791 : }
4792 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.name)
4793 : }
4794 :
4795 : // optional string input_type = 2;
4796 0 : inline bool MethodDescriptorProto::has_input_type() const {
4797 0 : return (_has_bits_[0] & 0x00000002u) != 0;
4798 : }
4799 0 : inline void MethodDescriptorProto::set_has_input_type() {
4800 0 : _has_bits_[0] |= 0x00000002u;
4801 0 : }
4802 : inline void MethodDescriptorProto::clear_has_input_type() {
4803 : _has_bits_[0] &= ~0x00000002u;
4804 : }
4805 : inline void MethodDescriptorProto::clear_input_type() {
4806 : if (input_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4807 : input_type_->clear();
4808 : }
4809 : clear_has_input_type();
4810 : }
4811 0 : inline const ::std::string& MethodDescriptorProto::input_type() const {
4812 : // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.input_type)
4813 0 : return *input_type_;
4814 : }
4815 0 : inline void MethodDescriptorProto::set_input_type(const ::std::string& value) {
4816 0 : set_has_input_type();
4817 0 : if (input_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4818 0 : input_type_ = new ::std::string;
4819 : }
4820 0 : input_type_->assign(value);
4821 : // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.input_type)
4822 0 : }
4823 0 : inline void MethodDescriptorProto::set_input_type(const char* value) {
4824 0 : set_has_input_type();
4825 0 : if (input_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4826 0 : input_type_ = new ::std::string;
4827 : }
4828 0 : input_type_->assign(value);
4829 : // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.input_type)
4830 0 : }
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;
4835 : }
4836 : input_type_->assign(reinterpret_cast<const char*>(value), size);
4837 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.input_type)
4838 : }
4839 0 : inline ::std::string* MethodDescriptorProto::mutable_input_type() {
4840 0 : set_has_input_type();
4841 0 : if (input_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4842 0 : input_type_ = new ::std::string;
4843 : }
4844 : // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.input_type)
4845 0 : return input_type_;
4846 : }
4847 : inline ::std::string* MethodDescriptorProto::release_input_type() {
4848 : clear_has_input_type();
4849 : if (input_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4850 : return NULL;
4851 : } else {
4852 : ::std::string* temp = input_type_;
4853 : input_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4854 : return temp;
4855 : }
4856 : }
4857 : inline void MethodDescriptorProto::set_allocated_input_type(::std::string* input_type) {
4858 : if (input_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4859 : delete input_type_;
4860 : }
4861 : if (input_type) {
4862 : set_has_input_type();
4863 : input_type_ = input_type;
4864 : } else {
4865 : clear_has_input_type();
4866 : input_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4867 : }
4868 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.input_type)
4869 : }
4870 :
4871 : // optional string output_type = 3;
4872 0 : inline bool MethodDescriptorProto::has_output_type() const {
4873 0 : return (_has_bits_[0] & 0x00000004u) != 0;
4874 : }
4875 0 : inline void MethodDescriptorProto::set_has_output_type() {
4876 0 : _has_bits_[0] |= 0x00000004u;
4877 0 : }
4878 : inline void MethodDescriptorProto::clear_has_output_type() {
4879 : _has_bits_[0] &= ~0x00000004u;
4880 : }
4881 : inline void MethodDescriptorProto::clear_output_type() {
4882 : if (output_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4883 : output_type_->clear();
4884 : }
4885 : clear_has_output_type();
4886 : }
4887 0 : inline const ::std::string& MethodDescriptorProto::output_type() const {
4888 : // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.output_type)
4889 0 : return *output_type_;
4890 : }
4891 0 : inline void MethodDescriptorProto::set_output_type(const ::std::string& value) {
4892 0 : set_has_output_type();
4893 0 : if (output_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4894 0 : output_type_ = new ::std::string;
4895 : }
4896 0 : output_type_->assign(value);
4897 : // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.output_type)
4898 0 : }
4899 0 : inline void MethodDescriptorProto::set_output_type(const char* value) {
4900 0 : set_has_output_type();
4901 0 : if (output_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4902 0 : output_type_ = new ::std::string;
4903 : }
4904 0 : output_type_->assign(value);
4905 : // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.output_type)
4906 0 : }
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;
4911 : }
4912 : output_type_->assign(reinterpret_cast<const char*>(value), size);
4913 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.output_type)
4914 : }
4915 0 : inline ::std::string* MethodDescriptorProto::mutable_output_type() {
4916 0 : set_has_output_type();
4917 0 : if (output_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4918 0 : output_type_ = new ::std::string;
4919 : }
4920 : // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.output_type)
4921 0 : return output_type_;
4922 : }
4923 : inline ::std::string* MethodDescriptorProto::release_output_type() {
4924 : clear_has_output_type();
4925 : if (output_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4926 : return NULL;
4927 : } else {
4928 : ::std::string* temp = output_type_;
4929 : output_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4930 : return temp;
4931 : }
4932 : }
4933 : inline void MethodDescriptorProto::set_allocated_output_type(::std::string* output_type) {
4934 : if (output_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4935 : delete output_type_;
4936 : }
4937 : if (output_type) {
4938 : set_has_output_type();
4939 : output_type_ = output_type;
4940 : } else {
4941 : clear_has_output_type();
4942 : output_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4943 : }
4944 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.output_type)
4945 : }
4946 :
4947 : // optional .google.protobuf.MethodOptions options = 4;
4948 0 : inline bool MethodDescriptorProto::has_options() const {
4949 0 : return (_has_bits_[0] & 0x00000008u) != 0;
4950 : }
4951 0 : inline void MethodDescriptorProto::set_has_options() {
4952 0 : _has_bits_[0] |= 0x00000008u;
4953 0 : }
4954 : inline void MethodDescriptorProto::clear_has_options() {
4955 : _has_bits_[0] &= ~0x00000008u;
4956 : }
4957 : inline void MethodDescriptorProto::clear_options() {
4958 : if (options_ != NULL) options_->::google::protobuf::MethodOptions::Clear();
4959 : clear_has_options();
4960 : }
4961 0 : inline const ::google::protobuf::MethodOptions& MethodDescriptorProto::options() const {
4962 : // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.options)
4963 0 : return options_ != NULL ? *options_ : *default_instance_->options_;
4964 : }
4965 0 : inline ::google::protobuf::MethodOptions* MethodDescriptorProto::mutable_options() {
4966 0 : set_has_options();
4967 0 : if (options_ == NULL) options_ = new ::google::protobuf::MethodOptions;
4968 : // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.options)
4969 0 : return options_;
4970 : }
4971 : inline ::google::protobuf::MethodOptions* MethodDescriptorProto::release_options() {
4972 : clear_has_options();
4973 : ::google::protobuf::MethodOptions* temp = options_;
4974 : options_ = NULL;
4975 : return temp;
4976 : }
4977 : inline void MethodDescriptorProto::set_allocated_options(::google::protobuf::MethodOptions* options) {
4978 : delete options_;
4979 : options_ = options;
4980 : if (options) {
4981 : set_has_options();
4982 : } else {
4983 : clear_has_options();
4984 : }
4985 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.options)
4986 : }
4987 :
4988 : // -------------------------------------------------------------------
4989 :
4990 : // FileOptions
4991 :
4992 : // optional string java_package = 1;
4993 0 : inline bool FileOptions::has_java_package() const {
4994 0 : return (_has_bits_[0] & 0x00000001u) != 0;
4995 : }
4996 3 : inline void FileOptions::set_has_java_package() {
4997 3 : _has_bits_[0] |= 0x00000001u;
4998 3 : }
4999 : inline void FileOptions::clear_has_java_package() {
5000 : _has_bits_[0] &= ~0x00000001u;
5001 : }
5002 : inline void FileOptions::clear_java_package() {
5003 : if (java_package_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5004 : java_package_->clear();
5005 : }
5006 : clear_has_java_package();
5007 : }
5008 6 : inline const ::std::string& FileOptions::java_package() const {
5009 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package)
5010 6 : return *java_package_;
5011 : }
5012 0 : inline void FileOptions::set_java_package(const ::std::string& value) {
5013 0 : set_has_java_package();
5014 0 : if (java_package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5015 0 : java_package_ = new ::std::string;
5016 : }
5017 0 : java_package_->assign(value);
5018 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package)
5019 0 : }
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;
5024 : }
5025 : java_package_->assign(value);
5026 : // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_package)
5027 : }
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;
5032 : }
5033 : java_package_->assign(reinterpret_cast<const char*>(value), size);
5034 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java_package)
5035 : }
5036 3 : inline ::std::string* FileOptions::mutable_java_package() {
5037 3 : set_has_java_package();
5038 3 : if (java_package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5039 3 : java_package_ = new ::std::string;
5040 : }
5041 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_package)
5042 3 : return java_package_;
5043 : }
5044 : inline ::std::string* FileOptions::release_java_package() {
5045 : clear_has_java_package();
5046 : if (java_package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5047 : return NULL;
5048 : } else {
5049 : ::std::string* temp = java_package_;
5050 : java_package_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5051 : return temp;
5052 : }
5053 : }
5054 : inline void FileOptions::set_allocated_java_package(::std::string* java_package) {
5055 : if (java_package_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5056 : delete java_package_;
5057 : }
5058 : if (java_package) {
5059 : set_has_java_package();
5060 : java_package_ = java_package;
5061 : } else {
5062 : clear_has_java_package();
5063 : java_package_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5064 : }
5065 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_package)
5066 : }
5067 :
5068 : // optional string java_outer_classname = 8;
5069 0 : inline bool FileOptions::has_java_outer_classname() const {
5070 0 : return (_has_bits_[0] & 0x00000002u) != 0;
5071 : }
5072 3 : inline void FileOptions::set_has_java_outer_classname() {
5073 3 : _has_bits_[0] |= 0x00000002u;
5074 3 : }
5075 : inline void FileOptions::clear_has_java_outer_classname() {
5076 : _has_bits_[0] &= ~0x00000002u;
5077 : }
5078 : inline void FileOptions::clear_java_outer_classname() {
5079 : if (java_outer_classname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5080 : java_outer_classname_->clear();
5081 : }
5082 : clear_has_java_outer_classname();
5083 : }
5084 6 : inline const ::std::string& FileOptions::java_outer_classname() const {
5085 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_classname)
5086 6 : return *java_outer_classname_;
5087 : }
5088 0 : inline void FileOptions::set_java_outer_classname(const ::std::string& value) {
5089 0 : set_has_java_outer_classname();
5090 0 : if (java_outer_classname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5091 0 : java_outer_classname_ = new ::std::string;
5092 : }
5093 0 : java_outer_classname_->assign(value);
5094 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_classname)
5095 0 : }
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;
5100 : }
5101 : java_outer_classname_->assign(value);
5102 : // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_outer_classname)
5103 : }
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;
5108 : }
5109 : java_outer_classname_->assign(reinterpret_cast<const char*>(value), size);
5110 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java_outer_classname)
5111 : }
5112 3 : inline ::std::string* FileOptions::mutable_java_outer_classname() {
5113 3 : set_has_java_outer_classname();
5114 3 : if (java_outer_classname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5115 3 : java_outer_classname_ = new ::std::string;
5116 : }
5117 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_outer_classname)
5118 3 : return java_outer_classname_;
5119 : }
5120 : inline ::std::string* FileOptions::release_java_outer_classname() {
5121 : clear_has_java_outer_classname();
5122 : if (java_outer_classname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5123 : return NULL;
5124 : } else {
5125 : ::std::string* temp = java_outer_classname_;
5126 : java_outer_classname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5127 : return temp;
5128 : }
5129 : }
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_;
5133 : }
5134 : if (java_outer_classname) {
5135 : set_has_java_outer_classname();
5136 : java_outer_classname_ = java_outer_classname;
5137 : } else {
5138 : clear_has_java_outer_classname();
5139 : java_outer_classname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5140 : }
5141 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_outer_classname)
5142 : }
5143 :
5144 : // optional bool java_multiple_files = 10 [default = false];
5145 0 : inline bool FileOptions::has_java_multiple_files() const {
5146 0 : return (_has_bits_[0] & 0x00000004u) != 0;
5147 : }
5148 0 : inline void FileOptions::set_has_java_multiple_files() {
5149 0 : _has_bits_[0] |= 0x00000004u;
5150 0 : }
5151 : inline void FileOptions::clear_has_java_multiple_files() {
5152 : _has_bits_[0] &= ~0x00000004u;
5153 : }
5154 : inline void FileOptions::clear_java_multiple_files() {
5155 : java_multiple_files_ = false;
5156 : clear_has_java_multiple_files();
5157 : }
5158 0 : inline bool FileOptions::java_multiple_files() const {
5159 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multiple_files)
5160 0 : return java_multiple_files_;
5161 : }
5162 0 : inline void FileOptions::set_java_multiple_files(bool value) {
5163 0 : set_has_java_multiple_files();
5164 0 : java_multiple_files_ = value;
5165 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multiple_files)
5166 0 : }
5167 :
5168 : // optional bool java_generate_equals_and_hash = 20 [default = false];
5169 0 : inline bool FileOptions::has_java_generate_equals_and_hash() const {
5170 0 : return (_has_bits_[0] & 0x00000008u) != 0;
5171 : }
5172 0 : inline void FileOptions::set_has_java_generate_equals_and_hash() {
5173 0 : _has_bits_[0] |= 0x00000008u;
5174 0 : }
5175 : inline void FileOptions::clear_has_java_generate_equals_and_hash() {
5176 : _has_bits_[0] &= ~0x00000008u;
5177 : }
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();
5181 : }
5182 0 : inline bool FileOptions::java_generate_equals_and_hash() const {
5183 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generate_equals_and_hash)
5184 0 : return java_generate_equals_and_hash_;
5185 : }
5186 0 : inline void FileOptions::set_java_generate_equals_and_hash(bool value) {
5187 0 : set_has_java_generate_equals_and_hash();
5188 0 : java_generate_equals_and_hash_ = value;
5189 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generate_equals_and_hash)
5190 0 : }
5191 :
5192 : // optional bool java_string_check_utf8 = 27 [default = false];
5193 0 : inline bool FileOptions::has_java_string_check_utf8() const {
5194 0 : return (_has_bits_[0] & 0x00000010u) != 0;
5195 : }
5196 0 : inline void FileOptions::set_has_java_string_check_utf8() {
5197 0 : _has_bits_[0] |= 0x00000010u;
5198 0 : }
5199 : inline void FileOptions::clear_has_java_string_check_utf8() {
5200 : _has_bits_[0] &= ~0x00000010u;
5201 : }
5202 : inline void FileOptions::clear_java_string_check_utf8() {
5203 : java_string_check_utf8_ = false;
5204 : clear_has_java_string_check_utf8();
5205 : }
5206 0 : inline bool FileOptions::java_string_check_utf8() const {
5207 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_check_utf8)
5208 0 : return java_string_check_utf8_;
5209 : }
5210 0 : inline void FileOptions::set_java_string_check_utf8(bool value) {
5211 0 : set_has_java_string_check_utf8();
5212 0 : java_string_check_utf8_ = value;
5213 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_check_utf8)
5214 0 : }
5215 :
5216 : // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
5217 0 : inline bool FileOptions::has_optimize_for() const {
5218 0 : return (_has_bits_[0] & 0x00000020u) != 0;
5219 : }
5220 3 : inline void FileOptions::set_has_optimize_for() {
5221 3 : _has_bits_[0] |= 0x00000020u;
5222 3 : }
5223 : inline void FileOptions::clear_has_optimize_for() {
5224 : _has_bits_[0] &= ~0x00000020u;
5225 : }
5226 : inline void FileOptions::clear_optimize_for() {
5227 : optimize_for_ = 1;
5228 : clear_has_optimize_for();
5229 : }
5230 0 : inline ::google::protobuf::FileOptions_OptimizeMode FileOptions::optimize_for() const {
5231 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for)
5232 0 : return static_cast< ::google::protobuf::FileOptions_OptimizeMode >(optimize_for_);
5233 : }
5234 3 : inline void FileOptions::set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value) {
5235 3 : assert(::google::protobuf::FileOptions_OptimizeMode_IsValid(value));
5236 3 : set_has_optimize_for();
5237 3 : optimize_for_ = value;
5238 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for)
5239 3 : }
5240 :
5241 : // optional string go_package = 11;
5242 0 : inline bool FileOptions::has_go_package() const {
5243 0 : return (_has_bits_[0] & 0x00000040u) != 0;
5244 : }
5245 0 : inline void FileOptions::set_has_go_package() {
5246 0 : _has_bits_[0] |= 0x00000040u;
5247 0 : }
5248 : inline void FileOptions::clear_has_go_package() {
5249 : _has_bits_[0] &= ~0x00000040u;
5250 : }
5251 : inline void FileOptions::clear_go_package() {
5252 : if (go_package_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5253 : go_package_->clear();
5254 : }
5255 : clear_has_go_package();
5256 : }
5257 0 : inline const ::std::string& FileOptions::go_package() const {
5258 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package)
5259 0 : return *go_package_;
5260 : }
5261 0 : inline void FileOptions::set_go_package(const ::std::string& value) {
5262 0 : set_has_go_package();
5263 0 : if (go_package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5264 0 : go_package_ = new ::std::string;
5265 : }
5266 0 : go_package_->assign(value);
5267 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package)
5268 0 : }
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;
5273 : }
5274 : go_package_->assign(value);
5275 : // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.go_package)
5276 : }
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;
5281 : }
5282 : go_package_->assign(reinterpret_cast<const char*>(value), size);
5283 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.go_package)
5284 : }
5285 0 : inline ::std::string* FileOptions::mutable_go_package() {
5286 0 : set_has_go_package();
5287 0 : if (go_package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5288 0 : go_package_ = new ::std::string;
5289 : }
5290 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.go_package)
5291 0 : return go_package_;
5292 : }
5293 : inline ::std::string* FileOptions::release_go_package() {
5294 : clear_has_go_package();
5295 : if (go_package_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5296 : return NULL;
5297 : } else {
5298 : ::std::string* temp = go_package_;
5299 : go_package_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5300 : return temp;
5301 : }
5302 : }
5303 : inline void FileOptions::set_allocated_go_package(::std::string* go_package) {
5304 : if (go_package_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5305 : delete go_package_;
5306 : }
5307 : if (go_package) {
5308 : set_has_go_package();
5309 : go_package_ = go_package;
5310 : } else {
5311 : clear_has_go_package();
5312 : go_package_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5313 : }
5314 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go_package)
5315 : }
5316 :
5317 : // optional bool cc_generic_services = 16 [default = false];
5318 0 : inline bool FileOptions::has_cc_generic_services() const {
5319 0 : return (_has_bits_[0] & 0x00000080u) != 0;
5320 : }
5321 0 : inline void FileOptions::set_has_cc_generic_services() {
5322 0 : _has_bits_[0] |= 0x00000080u;
5323 0 : }
5324 : inline void FileOptions::clear_has_cc_generic_services() {
5325 : _has_bits_[0] &= ~0x00000080u;
5326 : }
5327 : inline void FileOptions::clear_cc_generic_services() {
5328 : cc_generic_services_ = false;
5329 : clear_has_cc_generic_services();
5330 : }
5331 0 : inline bool FileOptions::cc_generic_services() const {
5332 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_services)
5333 0 : return cc_generic_services_;
5334 : }
5335 0 : inline void FileOptions::set_cc_generic_services(bool value) {
5336 0 : set_has_cc_generic_services();
5337 0 : cc_generic_services_ = value;
5338 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_services)
5339 0 : }
5340 :
5341 : // optional bool java_generic_services = 17 [default = false];
5342 0 : inline bool FileOptions::has_java_generic_services() const {
5343 0 : return (_has_bits_[0] & 0x00000100u) != 0;
5344 : }
5345 0 : inline void FileOptions::set_has_java_generic_services() {
5346 0 : _has_bits_[0] |= 0x00000100u;
5347 0 : }
5348 : inline void FileOptions::clear_has_java_generic_services() {
5349 : _has_bits_[0] &= ~0x00000100u;
5350 : }
5351 : inline void FileOptions::clear_java_generic_services() {
5352 : java_generic_services_ = false;
5353 : clear_has_java_generic_services();
5354 : }
5355 0 : inline bool FileOptions::java_generic_services() const {
5356 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic_services)
5357 0 : return java_generic_services_;
5358 : }
5359 0 : inline void FileOptions::set_java_generic_services(bool value) {
5360 0 : set_has_java_generic_services();
5361 0 : java_generic_services_ = value;
5362 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic_services)
5363 0 : }
5364 :
5365 : // optional bool py_generic_services = 18 [default = false];
5366 0 : inline bool FileOptions::has_py_generic_services() const {
5367 0 : return (_has_bits_[0] & 0x00000200u) != 0;
5368 : }
5369 0 : inline void FileOptions::set_has_py_generic_services() {
5370 0 : _has_bits_[0] |= 0x00000200u;
5371 0 : }
5372 : inline void FileOptions::clear_has_py_generic_services() {
5373 : _has_bits_[0] &= ~0x00000200u;
5374 : }
5375 : inline void FileOptions::clear_py_generic_services() {
5376 : py_generic_services_ = false;
5377 : clear_has_py_generic_services();
5378 : }
5379 0 : inline bool FileOptions::py_generic_services() const {
5380 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_services)
5381 0 : return py_generic_services_;
5382 : }
5383 0 : inline void FileOptions::set_py_generic_services(bool value) {
5384 0 : set_has_py_generic_services();
5385 0 : py_generic_services_ = value;
5386 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_services)
5387 0 : }
5388 :
5389 : // optional bool deprecated = 23 [default = false];
5390 0 : inline bool FileOptions::has_deprecated() const {
5391 0 : return (_has_bits_[0] & 0x00000400u) != 0;
5392 : }
5393 0 : inline void FileOptions::set_has_deprecated() {
5394 0 : _has_bits_[0] |= 0x00000400u;
5395 0 : }
5396 : inline void FileOptions::clear_has_deprecated() {
5397 : _has_bits_[0] &= ~0x00000400u;
5398 : }
5399 : inline void FileOptions::clear_deprecated() {
5400 : deprecated_ = false;
5401 : clear_has_deprecated();
5402 : }
5403 0 : inline bool FileOptions::deprecated() const {
5404 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated)
5405 0 : return deprecated_;
5406 : }
5407 0 : inline void FileOptions::set_deprecated(bool value) {
5408 0 : set_has_deprecated();
5409 0 : deprecated_ = value;
5410 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated)
5411 0 : }
5412 :
5413 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5414 0 : inline int FileOptions::uninterpreted_option_size() const {
5415 0 : return uninterpreted_option_.size();
5416 : }
5417 : inline void FileOptions::clear_uninterpreted_option() {
5418 : uninterpreted_option_.Clear();
5419 : }
5420 0 : inline const ::google::protobuf::UninterpretedOption& FileOptions::uninterpreted_option(int index) const {
5421 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterpreted_option)
5422 0 : return uninterpreted_option_.Get(index);
5423 : }
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);
5427 : }
5428 0 : inline ::google::protobuf::UninterpretedOption* FileOptions::add_uninterpreted_option() {
5429 : // @@protoc_insertion_point(field_add:google.protobuf.FileOptions.uninterpreted_option)
5430 0 : return uninterpreted_option_.Add();
5431 : }
5432 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
5433 3 : FileOptions::uninterpreted_option() const {
5434 : // @@protoc_insertion_point(field_list:google.protobuf.FileOptions.uninterpreted_option)
5435 3 : return uninterpreted_option_;
5436 : }
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_;
5441 : }
5442 :
5443 : // -------------------------------------------------------------------
5444 :
5445 : // MessageOptions
5446 :
5447 : // optional bool message_set_wire_format = 1 [default = false];
5448 0 : inline bool MessageOptions::has_message_set_wire_format() const {
5449 0 : return (_has_bits_[0] & 0x00000001u) != 0;
5450 : }
5451 0 : inline void MessageOptions::set_has_message_set_wire_format() {
5452 0 : _has_bits_[0] |= 0x00000001u;
5453 0 : }
5454 : inline void MessageOptions::clear_has_message_set_wire_format() {
5455 : _has_bits_[0] &= ~0x00000001u;
5456 : }
5457 : inline void MessageOptions::clear_message_set_wire_format() {
5458 : message_set_wire_format_ = false;
5459 : clear_has_message_set_wire_format();
5460 : }
5461 0 : inline bool MessageOptions::message_set_wire_format() const {
5462 : // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.message_set_wire_format)
5463 0 : return message_set_wire_format_;
5464 : }
5465 0 : inline void MessageOptions::set_message_set_wire_format(bool value) {
5466 0 : set_has_message_set_wire_format();
5467 0 : message_set_wire_format_ = value;
5468 : // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.message_set_wire_format)
5469 0 : }
5470 :
5471 : // optional bool no_standard_descriptor_accessor = 2 [default = false];
5472 0 : inline bool MessageOptions::has_no_standard_descriptor_accessor() const {
5473 0 : return (_has_bits_[0] & 0x00000002u) != 0;
5474 : }
5475 0 : inline void MessageOptions::set_has_no_standard_descriptor_accessor() {
5476 0 : _has_bits_[0] |= 0x00000002u;
5477 0 : }
5478 : inline void MessageOptions::clear_has_no_standard_descriptor_accessor() {
5479 : _has_bits_[0] &= ~0x00000002u;
5480 : }
5481 : inline void MessageOptions::clear_no_standard_descriptor_accessor() {
5482 : no_standard_descriptor_accessor_ = false;
5483 : clear_has_no_standard_descriptor_accessor();
5484 : }
5485 0 : inline bool MessageOptions::no_standard_descriptor_accessor() const {
5486 : // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.no_standard_descriptor_accessor)
5487 0 : return no_standard_descriptor_accessor_;
5488 : }
5489 0 : inline void MessageOptions::set_no_standard_descriptor_accessor(bool value) {
5490 0 : set_has_no_standard_descriptor_accessor();
5491 0 : no_standard_descriptor_accessor_ = value;
5492 : // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.no_standard_descriptor_accessor)
5493 0 : }
5494 :
5495 : // optional bool deprecated = 3 [default = false];
5496 0 : inline bool MessageOptions::has_deprecated() const {
5497 0 : return (_has_bits_[0] & 0x00000004u) != 0;
5498 : }
5499 0 : inline void MessageOptions::set_has_deprecated() {
5500 0 : _has_bits_[0] |= 0x00000004u;
5501 0 : }
5502 : inline void MessageOptions::clear_has_deprecated() {
5503 : _has_bits_[0] &= ~0x00000004u;
5504 : }
5505 : inline void MessageOptions::clear_deprecated() {
5506 : deprecated_ = false;
5507 : clear_has_deprecated();
5508 : }
5509 0 : inline bool MessageOptions::deprecated() const {
5510 : // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.deprecated)
5511 0 : return deprecated_;
5512 : }
5513 0 : inline void MessageOptions::set_deprecated(bool value) {
5514 0 : set_has_deprecated();
5515 0 : deprecated_ = value;
5516 : // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.deprecated)
5517 0 : }
5518 :
5519 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5520 0 : inline int MessageOptions::uninterpreted_option_size() const {
5521 0 : return uninterpreted_option_.size();
5522 : }
5523 : inline void MessageOptions::clear_uninterpreted_option() {
5524 : uninterpreted_option_.Clear();
5525 : }
5526 0 : inline const ::google::protobuf::UninterpretedOption& MessageOptions::uninterpreted_option(int index) const {
5527 : // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.uninterpreted_option)
5528 0 : return uninterpreted_option_.Get(index);
5529 : }
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);
5533 : }
5534 0 : inline ::google::protobuf::UninterpretedOption* MessageOptions::add_uninterpreted_option() {
5535 : // @@protoc_insertion_point(field_add:google.protobuf.MessageOptions.uninterpreted_option)
5536 0 : return uninterpreted_option_.Add();
5537 : }
5538 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
5539 0 : MessageOptions::uninterpreted_option() const {
5540 : // @@protoc_insertion_point(field_list:google.protobuf.MessageOptions.uninterpreted_option)
5541 0 : return uninterpreted_option_;
5542 : }
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_;
5547 : }
5548 :
5549 : // -------------------------------------------------------------------
5550 :
5551 : // FieldOptions
5552 :
5553 : // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
5554 0 : inline bool FieldOptions::has_ctype() const {
5555 0 : return (_has_bits_[0] & 0x00000001u) != 0;
5556 : }
5557 0 : inline void FieldOptions::set_has_ctype() {
5558 0 : _has_bits_[0] |= 0x00000001u;
5559 0 : }
5560 : inline void FieldOptions::clear_has_ctype() {
5561 : _has_bits_[0] &= ~0x00000001u;
5562 : }
5563 : inline void FieldOptions::clear_ctype() {
5564 : ctype_ = 0;
5565 : clear_has_ctype();
5566 : }
5567 0 : inline ::google::protobuf::FieldOptions_CType FieldOptions::ctype() const {
5568 : // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.ctype)
5569 0 : return static_cast< ::google::protobuf::FieldOptions_CType >(ctype_);
5570 : }
5571 0 : inline void FieldOptions::set_ctype(::google::protobuf::FieldOptions_CType value) {
5572 0 : assert(::google::protobuf::FieldOptions_CType_IsValid(value));
5573 0 : set_has_ctype();
5574 0 : ctype_ = value;
5575 : // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype)
5576 0 : }
5577 :
5578 : // optional bool packed = 2;
5579 0 : inline bool FieldOptions::has_packed() const {
5580 0 : return (_has_bits_[0] & 0x00000002u) != 0;
5581 : }
5582 6 : inline void FieldOptions::set_has_packed() {
5583 6 : _has_bits_[0] |= 0x00000002u;
5584 6 : }
5585 : inline void FieldOptions::clear_has_packed() {
5586 : _has_bits_[0] &= ~0x00000002u;
5587 : }
5588 : inline void FieldOptions::clear_packed() {
5589 : packed_ = false;
5590 : clear_has_packed();
5591 : }
5592 0 : inline bool FieldOptions::packed() const {
5593 : // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed)
5594 0 : return packed_;
5595 : }
5596 0 : inline void FieldOptions::set_packed(bool value) {
5597 0 : set_has_packed();
5598 0 : packed_ = value;
5599 : // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed)
5600 0 : }
5601 :
5602 : // optional bool lazy = 5 [default = false];
5603 0 : inline bool FieldOptions::has_lazy() const {
5604 0 : return (_has_bits_[0] & 0x00000004u) != 0;
5605 : }
5606 0 : inline void FieldOptions::set_has_lazy() {
5607 0 : _has_bits_[0] |= 0x00000004u;
5608 0 : }
5609 : inline void FieldOptions::clear_has_lazy() {
5610 : _has_bits_[0] &= ~0x00000004u;
5611 : }
5612 : inline void FieldOptions::clear_lazy() {
5613 : lazy_ = false;
5614 : clear_has_lazy();
5615 : }
5616 0 : inline bool FieldOptions::lazy() const {
5617 : // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.lazy)
5618 0 : return lazy_;
5619 : }
5620 0 : inline void FieldOptions::set_lazy(bool value) {
5621 0 : set_has_lazy();
5622 0 : lazy_ = value;
5623 : // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.lazy)
5624 0 : }
5625 :
5626 : // optional bool deprecated = 3 [default = false];
5627 0 : inline bool FieldOptions::has_deprecated() const {
5628 0 : return (_has_bits_[0] & 0x00000008u) != 0;
5629 : }
5630 0 : inline void FieldOptions::set_has_deprecated() {
5631 0 : _has_bits_[0] |= 0x00000008u;
5632 0 : }
5633 : inline void FieldOptions::clear_has_deprecated() {
5634 : _has_bits_[0] &= ~0x00000008u;
5635 : }
5636 : inline void FieldOptions::clear_deprecated() {
5637 : deprecated_ = false;
5638 : clear_has_deprecated();
5639 : }
5640 0 : inline bool FieldOptions::deprecated() const {
5641 : // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.deprecated)
5642 0 : return deprecated_;
5643 : }
5644 0 : inline void FieldOptions::set_deprecated(bool value) {
5645 0 : set_has_deprecated();
5646 0 : deprecated_ = value;
5647 : // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.deprecated)
5648 0 : }
5649 :
5650 : // optional string experimental_map_key = 9;
5651 0 : inline bool FieldOptions::has_experimental_map_key() const {
5652 0 : return (_has_bits_[0] & 0x00000010u) != 0;
5653 : }
5654 0 : inline void FieldOptions::set_has_experimental_map_key() {
5655 0 : _has_bits_[0] |= 0x00000010u;
5656 0 : }
5657 : inline void FieldOptions::clear_has_experimental_map_key() {
5658 : _has_bits_[0] &= ~0x00000010u;
5659 : }
5660 : inline void FieldOptions::clear_experimental_map_key() {
5661 : if (experimental_map_key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5662 : experimental_map_key_->clear();
5663 : }
5664 : clear_has_experimental_map_key();
5665 : }
5666 0 : inline const ::std::string& FieldOptions::experimental_map_key() const {
5667 : // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.experimental_map_key)
5668 0 : return *experimental_map_key_;
5669 : }
5670 0 : inline void FieldOptions::set_experimental_map_key(const ::std::string& value) {
5671 0 : set_has_experimental_map_key();
5672 0 : if (experimental_map_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5673 0 : experimental_map_key_ = new ::std::string;
5674 : }
5675 0 : experimental_map_key_->assign(value);
5676 : // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.experimental_map_key)
5677 0 : }
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;
5682 : }
5683 : experimental_map_key_->assign(value);
5684 : // @@protoc_insertion_point(field_set_char:google.protobuf.FieldOptions.experimental_map_key)
5685 : }
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;
5690 : }
5691 : experimental_map_key_->assign(reinterpret_cast<const char*>(value), size);
5692 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldOptions.experimental_map_key)
5693 : }
5694 0 : inline ::std::string* FieldOptions::mutable_experimental_map_key() {
5695 0 : set_has_experimental_map_key();
5696 0 : if (experimental_map_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5697 0 : experimental_map_key_ = new ::std::string;
5698 : }
5699 : // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.experimental_map_key)
5700 0 : return experimental_map_key_;
5701 : }
5702 : inline ::std::string* FieldOptions::release_experimental_map_key() {
5703 : clear_has_experimental_map_key();
5704 : if (experimental_map_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5705 : return NULL;
5706 : } else {
5707 : ::std::string* temp = experimental_map_key_;
5708 : experimental_map_key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5709 : return temp;
5710 : }
5711 : }
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_;
5715 : }
5716 : if (experimental_map_key) {
5717 : set_has_experimental_map_key();
5718 : experimental_map_key_ = experimental_map_key;
5719 : } else {
5720 : clear_has_experimental_map_key();
5721 : experimental_map_key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5722 : }
5723 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldOptions.experimental_map_key)
5724 : }
5725 :
5726 : // optional bool weak = 10 [default = false];
5727 0 : inline bool FieldOptions::has_weak() const {
5728 0 : return (_has_bits_[0] & 0x00000020u) != 0;
5729 : }
5730 0 : inline void FieldOptions::set_has_weak() {
5731 0 : _has_bits_[0] |= 0x00000020u;
5732 0 : }
5733 : inline void FieldOptions::clear_has_weak() {
5734 : _has_bits_[0] &= ~0x00000020u;
5735 : }
5736 : inline void FieldOptions::clear_weak() {
5737 : weak_ = false;
5738 : clear_has_weak();
5739 : }
5740 0 : inline bool FieldOptions::weak() const {
5741 : // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.weak)
5742 0 : return weak_;
5743 : }
5744 0 : inline void FieldOptions::set_weak(bool value) {
5745 0 : set_has_weak();
5746 0 : weak_ = value;
5747 : // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.weak)
5748 0 : }
5749 :
5750 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5751 0 : inline int FieldOptions::uninterpreted_option_size() const {
5752 0 : return uninterpreted_option_.size();
5753 : }
5754 : inline void FieldOptions::clear_uninterpreted_option() {
5755 : uninterpreted_option_.Clear();
5756 : }
5757 0 : inline const ::google::protobuf::UninterpretedOption& FieldOptions::uninterpreted_option(int index) const {
5758 : // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.uninterpreted_option)
5759 0 : return uninterpreted_option_.Get(index);
5760 : }
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);
5764 : }
5765 0 : inline ::google::protobuf::UninterpretedOption* FieldOptions::add_uninterpreted_option() {
5766 : // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.uninterpreted_option)
5767 0 : return uninterpreted_option_.Add();
5768 : }
5769 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
5770 6 : FieldOptions::uninterpreted_option() const {
5771 : // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpreted_option)
5772 6 : return uninterpreted_option_;
5773 : }
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_;
5778 : }
5779 :
5780 : // -------------------------------------------------------------------
5781 :
5782 : // EnumOptions
5783 :
5784 : // optional bool allow_alias = 2;
5785 0 : inline bool EnumOptions::has_allow_alias() const {
5786 0 : return (_has_bits_[0] & 0x00000001u) != 0;
5787 : }
5788 0 : inline void EnumOptions::set_has_allow_alias() {
5789 0 : _has_bits_[0] |= 0x00000001u;
5790 0 : }
5791 : inline void EnumOptions::clear_has_allow_alias() {
5792 : _has_bits_[0] &= ~0x00000001u;
5793 : }
5794 : inline void EnumOptions::clear_allow_alias() {
5795 : allow_alias_ = false;
5796 : clear_has_allow_alias();
5797 : }
5798 0 : inline bool EnumOptions::allow_alias() const {
5799 : // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.allow_alias)
5800 0 : return allow_alias_;
5801 : }
5802 0 : inline void EnumOptions::set_allow_alias(bool value) {
5803 0 : set_has_allow_alias();
5804 0 : allow_alias_ = value;
5805 : // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.allow_alias)
5806 0 : }
5807 :
5808 : // optional bool deprecated = 3 [default = false];
5809 0 : inline bool EnumOptions::has_deprecated() const {
5810 0 : return (_has_bits_[0] & 0x00000002u) != 0;
5811 : }
5812 0 : inline void EnumOptions::set_has_deprecated() {
5813 0 : _has_bits_[0] |= 0x00000002u;
5814 0 : }
5815 : inline void EnumOptions::clear_has_deprecated() {
5816 : _has_bits_[0] &= ~0x00000002u;
5817 : }
5818 : inline void EnumOptions::clear_deprecated() {
5819 : deprecated_ = false;
5820 : clear_has_deprecated();
5821 : }
5822 0 : inline bool EnumOptions::deprecated() const {
5823 : // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated)
5824 0 : return deprecated_;
5825 : }
5826 0 : inline void EnumOptions::set_deprecated(bool value) {
5827 0 : set_has_deprecated();
5828 0 : deprecated_ = value;
5829 : // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated)
5830 0 : }
5831 :
5832 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5833 0 : inline int EnumOptions::uninterpreted_option_size() const {
5834 0 : return uninterpreted_option_.size();
5835 : }
5836 : inline void EnumOptions::clear_uninterpreted_option() {
5837 : uninterpreted_option_.Clear();
5838 : }
5839 0 : inline const ::google::protobuf::UninterpretedOption& EnumOptions::uninterpreted_option(int index) const {
5840 : // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.uninterpreted_option)
5841 0 : return uninterpreted_option_.Get(index);
5842 : }
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);
5846 : }
5847 0 : inline ::google::protobuf::UninterpretedOption* EnumOptions::add_uninterpreted_option() {
5848 : // @@protoc_insertion_point(field_add:google.protobuf.EnumOptions.uninterpreted_option)
5849 0 : return uninterpreted_option_.Add();
5850 : }
5851 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
5852 0 : EnumOptions::uninterpreted_option() const {
5853 : // @@protoc_insertion_point(field_list:google.protobuf.EnumOptions.uninterpreted_option)
5854 0 : return uninterpreted_option_;
5855 : }
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_;
5860 : }
5861 :
5862 : // -------------------------------------------------------------------
5863 :
5864 : // EnumValueOptions
5865 :
5866 : // optional bool deprecated = 1 [default = false];
5867 0 : inline bool EnumValueOptions::has_deprecated() const {
5868 0 : return (_has_bits_[0] & 0x00000001u) != 0;
5869 : }
5870 0 : inline void EnumValueOptions::set_has_deprecated() {
5871 0 : _has_bits_[0] |= 0x00000001u;
5872 0 : }
5873 : inline void EnumValueOptions::clear_has_deprecated() {
5874 : _has_bits_[0] &= ~0x00000001u;
5875 : }
5876 : inline void EnumValueOptions::clear_deprecated() {
5877 : deprecated_ = false;
5878 : clear_has_deprecated();
5879 : }
5880 0 : inline bool EnumValueOptions::deprecated() const {
5881 : // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.deprecated)
5882 0 : return deprecated_;
5883 : }
5884 0 : inline void EnumValueOptions::set_deprecated(bool value) {
5885 0 : set_has_deprecated();
5886 0 : deprecated_ = value;
5887 : // @@protoc_insertion_point(field_set:google.protobuf.EnumValueOptions.deprecated)
5888 0 : }
5889 :
5890 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5891 0 : inline int EnumValueOptions::uninterpreted_option_size() const {
5892 0 : return uninterpreted_option_.size();
5893 : }
5894 : inline void EnumValueOptions::clear_uninterpreted_option() {
5895 : uninterpreted_option_.Clear();
5896 : }
5897 0 : inline const ::google::protobuf::UninterpretedOption& EnumValueOptions::uninterpreted_option(int index) const {
5898 : // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.uninterpreted_option)
5899 0 : return uninterpreted_option_.Get(index);
5900 : }
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);
5904 : }
5905 0 : inline ::google::protobuf::UninterpretedOption* EnumValueOptions::add_uninterpreted_option() {
5906 : // @@protoc_insertion_point(field_add:google.protobuf.EnumValueOptions.uninterpreted_option)
5907 0 : return uninterpreted_option_.Add();
5908 : }
5909 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
5910 0 : EnumValueOptions::uninterpreted_option() const {
5911 : // @@protoc_insertion_point(field_list:google.protobuf.EnumValueOptions.uninterpreted_option)
5912 0 : return uninterpreted_option_;
5913 : }
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_;
5918 : }
5919 :
5920 : // -------------------------------------------------------------------
5921 :
5922 : // ServiceOptions
5923 :
5924 : // optional bool deprecated = 33 [default = false];
5925 0 : inline bool ServiceOptions::has_deprecated() const {
5926 0 : return (_has_bits_[0] & 0x00000001u) != 0;
5927 : }
5928 0 : inline void ServiceOptions::set_has_deprecated() {
5929 0 : _has_bits_[0] |= 0x00000001u;
5930 0 : }
5931 : inline void ServiceOptions::clear_has_deprecated() {
5932 : _has_bits_[0] &= ~0x00000001u;
5933 : }
5934 : inline void ServiceOptions::clear_deprecated() {
5935 : deprecated_ = false;
5936 : clear_has_deprecated();
5937 : }
5938 0 : inline bool ServiceOptions::deprecated() const {
5939 : // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.deprecated)
5940 0 : return deprecated_;
5941 : }
5942 0 : inline void ServiceOptions::set_deprecated(bool value) {
5943 0 : set_has_deprecated();
5944 0 : deprecated_ = value;
5945 : // @@protoc_insertion_point(field_set:google.protobuf.ServiceOptions.deprecated)
5946 0 : }
5947 :
5948 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5949 0 : inline int ServiceOptions::uninterpreted_option_size() const {
5950 0 : return uninterpreted_option_.size();
5951 : }
5952 : inline void ServiceOptions::clear_uninterpreted_option() {
5953 : uninterpreted_option_.Clear();
5954 : }
5955 0 : inline const ::google::protobuf::UninterpretedOption& ServiceOptions::uninterpreted_option(int index) const {
5956 : // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.uninterpreted_option)
5957 0 : return uninterpreted_option_.Get(index);
5958 : }
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);
5962 : }
5963 0 : inline ::google::protobuf::UninterpretedOption* ServiceOptions::add_uninterpreted_option() {
5964 : // @@protoc_insertion_point(field_add:google.protobuf.ServiceOptions.uninterpreted_option)
5965 0 : return uninterpreted_option_.Add();
5966 : }
5967 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
5968 0 : ServiceOptions::uninterpreted_option() const {
5969 : // @@protoc_insertion_point(field_list:google.protobuf.ServiceOptions.uninterpreted_option)
5970 0 : return uninterpreted_option_;
5971 : }
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_;
5976 : }
5977 :
5978 : // -------------------------------------------------------------------
5979 :
5980 : // MethodOptions
5981 :
5982 : // optional bool deprecated = 33 [default = false];
5983 0 : inline bool MethodOptions::has_deprecated() const {
5984 0 : return (_has_bits_[0] & 0x00000001u) != 0;
5985 : }
5986 0 : inline void MethodOptions::set_has_deprecated() {
5987 0 : _has_bits_[0] |= 0x00000001u;
5988 0 : }
5989 : inline void MethodOptions::clear_has_deprecated() {
5990 : _has_bits_[0] &= ~0x00000001u;
5991 : }
5992 : inline void MethodOptions::clear_deprecated() {
5993 : deprecated_ = false;
5994 : clear_has_deprecated();
5995 : }
5996 0 : inline bool MethodOptions::deprecated() const {
5997 : // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated)
5998 0 : return deprecated_;
5999 : }
6000 0 : inline void MethodOptions::set_deprecated(bool value) {
6001 0 : set_has_deprecated();
6002 0 : deprecated_ = value;
6003 : // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated)
6004 0 : }
6005 :
6006 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
6007 0 : inline int MethodOptions::uninterpreted_option_size() const {
6008 0 : return uninterpreted_option_.size();
6009 : }
6010 : inline void MethodOptions::clear_uninterpreted_option() {
6011 : uninterpreted_option_.Clear();
6012 : }
6013 0 : inline const ::google::protobuf::UninterpretedOption& MethodOptions::uninterpreted_option(int index) const {
6014 : // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpreted_option)
6015 0 : return uninterpreted_option_.Get(index);
6016 : }
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);
6020 : }
6021 0 : inline ::google::protobuf::UninterpretedOption* MethodOptions::add_uninterpreted_option() {
6022 : // @@protoc_insertion_point(field_add:google.protobuf.MethodOptions.uninterpreted_option)
6023 0 : return uninterpreted_option_.Add();
6024 : }
6025 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
6026 0 : MethodOptions::uninterpreted_option() const {
6027 : // @@protoc_insertion_point(field_list:google.protobuf.MethodOptions.uninterpreted_option)
6028 0 : return uninterpreted_option_;
6029 : }
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_;
6034 : }
6035 :
6036 : // -------------------------------------------------------------------
6037 :
6038 : // UninterpretedOption_NamePart
6039 :
6040 : // required string name_part = 1;
6041 0 : inline bool UninterpretedOption_NamePart::has_name_part() const {
6042 0 : return (_has_bits_[0] & 0x00000001u) != 0;
6043 : }
6044 0 : inline void UninterpretedOption_NamePart::set_has_name_part() {
6045 0 : _has_bits_[0] |= 0x00000001u;
6046 0 : }
6047 : inline void UninterpretedOption_NamePart::clear_has_name_part() {
6048 : _has_bits_[0] &= ~0x00000001u;
6049 : }
6050 : inline void UninterpretedOption_NamePart::clear_name_part() {
6051 : if (name_part_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6052 : name_part_->clear();
6053 : }
6054 : clear_has_name_part();
6055 : }
6056 0 : inline const ::std::string& UninterpretedOption_NamePart::name_part() const {
6057 : // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.name_part)
6058 0 : return *name_part_;
6059 : }
6060 0 : inline void UninterpretedOption_NamePart::set_name_part(const ::std::string& value) {
6061 0 : set_has_name_part();
6062 0 : if (name_part_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6063 0 : name_part_ = new ::std::string;
6064 : }
6065 0 : name_part_->assign(value);
6066 : // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.name_part)
6067 0 : }
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;
6072 : }
6073 : name_part_->assign(value);
6074 : // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.NamePart.name_part)
6075 : }
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;
6080 : }
6081 : name_part_->assign(reinterpret_cast<const char*>(value), size);
6082 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.NamePart.name_part)
6083 : }
6084 0 : inline ::std::string* UninterpretedOption_NamePart::mutable_name_part() {
6085 0 : set_has_name_part();
6086 0 : if (name_part_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6087 0 : name_part_ = new ::std::string;
6088 : }
6089 : // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.NamePart.name_part)
6090 0 : return name_part_;
6091 : }
6092 : inline ::std::string* UninterpretedOption_NamePart::release_name_part() {
6093 : clear_has_name_part();
6094 : if (name_part_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6095 : return NULL;
6096 : } else {
6097 : ::std::string* temp = name_part_;
6098 : name_part_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6099 : return temp;
6100 : }
6101 : }
6102 : inline void UninterpretedOption_NamePart::set_allocated_name_part(::std::string* name_part) {
6103 : if (name_part_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6104 : delete name_part_;
6105 : }
6106 : if (name_part) {
6107 : set_has_name_part();
6108 : name_part_ = name_part;
6109 : } else {
6110 : clear_has_name_part();
6111 : name_part_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6112 : }
6113 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.NamePart.name_part)
6114 : }
6115 :
6116 : // required bool is_extension = 2;
6117 0 : inline bool UninterpretedOption_NamePart::has_is_extension() const {
6118 0 : return (_has_bits_[0] & 0x00000002u) != 0;
6119 : }
6120 0 : inline void UninterpretedOption_NamePart::set_has_is_extension() {
6121 0 : _has_bits_[0] |= 0x00000002u;
6122 0 : }
6123 : inline void UninterpretedOption_NamePart::clear_has_is_extension() {
6124 : _has_bits_[0] &= ~0x00000002u;
6125 : }
6126 : inline void UninterpretedOption_NamePart::clear_is_extension() {
6127 : is_extension_ = false;
6128 : clear_has_is_extension();
6129 : }
6130 0 : inline bool UninterpretedOption_NamePart::is_extension() const {
6131 : // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.is_extension)
6132 0 : return is_extension_;
6133 : }
6134 0 : inline void UninterpretedOption_NamePart::set_is_extension(bool value) {
6135 0 : set_has_is_extension();
6136 0 : is_extension_ = value;
6137 : // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.is_extension)
6138 0 : }
6139 :
6140 : // -------------------------------------------------------------------
6141 :
6142 : // UninterpretedOption
6143 :
6144 : // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
6145 0 : inline int UninterpretedOption::name_size() const {
6146 0 : return name_.size();
6147 : }
6148 : inline void UninterpretedOption::clear_name() {
6149 : name_.Clear();
6150 : }
6151 0 : inline const ::google::protobuf::UninterpretedOption_NamePart& UninterpretedOption::name(int index) const {
6152 : // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.name)
6153 0 : return name_.Get(index);
6154 : }
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);
6158 : }
6159 0 : inline ::google::protobuf::UninterpretedOption_NamePart* UninterpretedOption::add_name() {
6160 : // @@protoc_insertion_point(field_add:google.protobuf.UninterpretedOption.name)
6161 0 : return name_.Add();
6162 : }
6163 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >&
6164 0 : UninterpretedOption::name() const {
6165 : // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.name)
6166 0 : return name_;
6167 : }
6168 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >*
6169 : UninterpretedOption::mutable_name() {
6170 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.UninterpretedOption.name)
6171 : return &name_;
6172 : }
6173 :
6174 : // optional string identifier_value = 3;
6175 0 : inline bool UninterpretedOption::has_identifier_value() const {
6176 0 : return (_has_bits_[0] & 0x00000002u) != 0;
6177 : }
6178 0 : inline void UninterpretedOption::set_has_identifier_value() {
6179 0 : _has_bits_[0] |= 0x00000002u;
6180 0 : }
6181 : inline void UninterpretedOption::clear_has_identifier_value() {
6182 : _has_bits_[0] &= ~0x00000002u;
6183 : }
6184 : inline void UninterpretedOption::clear_identifier_value() {
6185 : if (identifier_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6186 : identifier_value_->clear();
6187 : }
6188 : clear_has_identifier_value();
6189 : }
6190 0 : inline const ::std::string& UninterpretedOption::identifier_value() const {
6191 : // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.identifier_value)
6192 0 : return *identifier_value_;
6193 : }
6194 0 : inline void UninterpretedOption::set_identifier_value(const ::std::string& value) {
6195 0 : set_has_identifier_value();
6196 0 : if (identifier_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6197 0 : identifier_value_ = new ::std::string;
6198 : }
6199 0 : identifier_value_->assign(value);
6200 : // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.identifier_value)
6201 0 : }
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;
6206 : }
6207 : identifier_value_->assign(value);
6208 : // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.identifier_value)
6209 : }
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;
6214 : }
6215 : identifier_value_->assign(reinterpret_cast<const char*>(value), size);
6216 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.identifier_value)
6217 : }
6218 0 : inline ::std::string* UninterpretedOption::mutable_identifier_value() {
6219 0 : set_has_identifier_value();
6220 0 : if (identifier_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6221 0 : identifier_value_ = new ::std::string;
6222 : }
6223 : // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.identifier_value)
6224 0 : return identifier_value_;
6225 : }
6226 : inline ::std::string* UninterpretedOption::release_identifier_value() {
6227 : clear_has_identifier_value();
6228 : if (identifier_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6229 : return NULL;
6230 : } else {
6231 : ::std::string* temp = identifier_value_;
6232 : identifier_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6233 : return temp;
6234 : }
6235 : }
6236 : inline void UninterpretedOption::set_allocated_identifier_value(::std::string* identifier_value) {
6237 : if (identifier_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6238 : delete identifier_value_;
6239 : }
6240 : if (identifier_value) {
6241 : set_has_identifier_value();
6242 : identifier_value_ = identifier_value;
6243 : } else {
6244 : clear_has_identifier_value();
6245 : identifier_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6246 : }
6247 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.identifier_value)
6248 : }
6249 :
6250 : // optional uint64 positive_int_value = 4;
6251 0 : inline bool UninterpretedOption::has_positive_int_value() const {
6252 0 : return (_has_bits_[0] & 0x00000004u) != 0;
6253 : }
6254 0 : inline void UninterpretedOption::set_has_positive_int_value() {
6255 0 : _has_bits_[0] |= 0x00000004u;
6256 0 : }
6257 : inline void UninterpretedOption::clear_has_positive_int_value() {
6258 : _has_bits_[0] &= ~0x00000004u;
6259 : }
6260 : inline void UninterpretedOption::clear_positive_int_value() {
6261 : positive_int_value_ = GOOGLE_ULONGLONG(0);
6262 : clear_has_positive_int_value();
6263 : }
6264 0 : inline ::google::protobuf::uint64 UninterpretedOption::positive_int_value() const {
6265 : // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.positive_int_value)
6266 0 : return positive_int_value_;
6267 : }
6268 0 : inline void UninterpretedOption::set_positive_int_value(::google::protobuf::uint64 value) {
6269 0 : set_has_positive_int_value();
6270 0 : positive_int_value_ = value;
6271 : // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.positive_int_value)
6272 0 : }
6273 :
6274 : // optional int64 negative_int_value = 5;
6275 0 : inline bool UninterpretedOption::has_negative_int_value() const {
6276 0 : return (_has_bits_[0] & 0x00000008u) != 0;
6277 : }
6278 0 : inline void UninterpretedOption::set_has_negative_int_value() {
6279 0 : _has_bits_[0] |= 0x00000008u;
6280 0 : }
6281 : inline void UninterpretedOption::clear_has_negative_int_value() {
6282 : _has_bits_[0] &= ~0x00000008u;
6283 : }
6284 : inline void UninterpretedOption::clear_negative_int_value() {
6285 : negative_int_value_ = GOOGLE_LONGLONG(0);
6286 : clear_has_negative_int_value();
6287 : }
6288 0 : inline ::google::protobuf::int64 UninterpretedOption::negative_int_value() const {
6289 : // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.negative_int_value)
6290 0 : return negative_int_value_;
6291 : }
6292 0 : inline void UninterpretedOption::set_negative_int_value(::google::protobuf::int64 value) {
6293 0 : set_has_negative_int_value();
6294 0 : negative_int_value_ = value;
6295 : // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.negative_int_value)
6296 0 : }
6297 :
6298 : // optional double double_value = 6;
6299 0 : inline bool UninterpretedOption::has_double_value() const {
6300 0 : return (_has_bits_[0] & 0x00000010u) != 0;
6301 : }
6302 0 : inline void UninterpretedOption::set_has_double_value() {
6303 0 : _has_bits_[0] |= 0x00000010u;
6304 0 : }
6305 : inline void UninterpretedOption::clear_has_double_value() {
6306 : _has_bits_[0] &= ~0x00000010u;
6307 : }
6308 : inline void UninterpretedOption::clear_double_value() {
6309 : double_value_ = 0;
6310 : clear_has_double_value();
6311 : }
6312 0 : inline double UninterpretedOption::double_value() const {
6313 : // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.double_value)
6314 0 : return double_value_;
6315 : }
6316 0 : inline void UninterpretedOption::set_double_value(double value) {
6317 0 : set_has_double_value();
6318 0 : double_value_ = value;
6319 : // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.double_value)
6320 0 : }
6321 :
6322 : // optional bytes string_value = 7;
6323 0 : inline bool UninterpretedOption::has_string_value() const {
6324 0 : return (_has_bits_[0] & 0x00000020u) != 0;
6325 : }
6326 0 : inline void UninterpretedOption::set_has_string_value() {
6327 0 : _has_bits_[0] |= 0x00000020u;
6328 0 : }
6329 : inline void UninterpretedOption::clear_has_string_value() {
6330 : _has_bits_[0] &= ~0x00000020u;
6331 : }
6332 : inline void UninterpretedOption::clear_string_value() {
6333 : if (string_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6334 : string_value_->clear();
6335 : }
6336 : clear_has_string_value();
6337 : }
6338 0 : inline const ::std::string& UninterpretedOption::string_value() const {
6339 : // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.string_value)
6340 0 : return *string_value_;
6341 : }
6342 0 : inline void UninterpretedOption::set_string_value(const ::std::string& value) {
6343 0 : set_has_string_value();
6344 0 : if (string_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6345 0 : string_value_ = new ::std::string;
6346 : }
6347 0 : string_value_->assign(value);
6348 : // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.string_value)
6349 0 : }
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;
6354 : }
6355 : string_value_->assign(value);
6356 : // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.string_value)
6357 : }
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;
6362 : }
6363 : string_value_->assign(reinterpret_cast<const char*>(value), size);
6364 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.string_value)
6365 : }
6366 0 : inline ::std::string* UninterpretedOption::mutable_string_value() {
6367 0 : set_has_string_value();
6368 0 : if (string_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6369 0 : string_value_ = new ::std::string;
6370 : }
6371 : // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.string_value)
6372 0 : return string_value_;
6373 : }
6374 : inline ::std::string* UninterpretedOption::release_string_value() {
6375 : clear_has_string_value();
6376 : if (string_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6377 : return NULL;
6378 : } else {
6379 : ::std::string* temp = string_value_;
6380 : string_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6381 : return temp;
6382 : }
6383 : }
6384 : inline void UninterpretedOption::set_allocated_string_value(::std::string* string_value) {
6385 : if (string_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6386 : delete string_value_;
6387 : }
6388 : if (string_value) {
6389 : set_has_string_value();
6390 : string_value_ = string_value;
6391 : } else {
6392 : clear_has_string_value();
6393 : string_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6394 : }
6395 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.string_value)
6396 : }
6397 :
6398 : // optional string aggregate_value = 8;
6399 0 : inline bool UninterpretedOption::has_aggregate_value() const {
6400 0 : return (_has_bits_[0] & 0x00000040u) != 0;
6401 : }
6402 0 : inline void UninterpretedOption::set_has_aggregate_value() {
6403 0 : _has_bits_[0] |= 0x00000040u;
6404 0 : }
6405 : inline void UninterpretedOption::clear_has_aggregate_value() {
6406 : _has_bits_[0] &= ~0x00000040u;
6407 : }
6408 : inline void UninterpretedOption::clear_aggregate_value() {
6409 : if (aggregate_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6410 : aggregate_value_->clear();
6411 : }
6412 : clear_has_aggregate_value();
6413 : }
6414 0 : inline const ::std::string& UninterpretedOption::aggregate_value() const {
6415 : // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggregate_value)
6416 0 : return *aggregate_value_;
6417 : }
6418 0 : inline void UninterpretedOption::set_aggregate_value(const ::std::string& value) {
6419 0 : set_has_aggregate_value();
6420 0 : if (aggregate_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6421 0 : aggregate_value_ = new ::std::string;
6422 : }
6423 0 : aggregate_value_->assign(value);
6424 : // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggregate_value)
6425 0 : }
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;
6430 : }
6431 : aggregate_value_->assign(value);
6432 : // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.aggregate_value)
6433 : }
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;
6438 : }
6439 : aggregate_value_->assign(reinterpret_cast<const char*>(value), size);
6440 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.aggregate_value)
6441 : }
6442 0 : inline ::std::string* UninterpretedOption::mutable_aggregate_value() {
6443 0 : set_has_aggregate_value();
6444 0 : if (aggregate_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6445 0 : aggregate_value_ = new ::std::string;
6446 : }
6447 : // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.aggregate_value)
6448 0 : return aggregate_value_;
6449 : }
6450 : inline ::std::string* UninterpretedOption::release_aggregate_value() {
6451 : clear_has_aggregate_value();
6452 : if (aggregate_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6453 : return NULL;
6454 : } else {
6455 : ::std::string* temp = aggregate_value_;
6456 : aggregate_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6457 : return temp;
6458 : }
6459 : }
6460 : inline void UninterpretedOption::set_allocated_aggregate_value(::std::string* aggregate_value) {
6461 : if (aggregate_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6462 : delete aggregate_value_;
6463 : }
6464 : if (aggregate_value) {
6465 : set_has_aggregate_value();
6466 : aggregate_value_ = aggregate_value;
6467 : } else {
6468 : clear_has_aggregate_value();
6469 : aggregate_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6470 : }
6471 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.aggregate_value)
6472 : }
6473 :
6474 : // -------------------------------------------------------------------
6475 :
6476 : // SourceCodeInfo_Location
6477 :
6478 : // repeated int32 path = 1 [packed = true];
6479 0 : inline int SourceCodeInfo_Location::path_size() const {
6480 0 : return path_.size();
6481 : }
6482 : inline void SourceCodeInfo_Location::clear_path() {
6483 : path_.Clear();
6484 : }
6485 0 : inline ::google::protobuf::int32 SourceCodeInfo_Location::path(int index) const {
6486 : // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.path)
6487 0 : return path_.Get(index);
6488 : }
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)
6492 : }
6493 : inline void SourceCodeInfo_Location::add_path(::google::protobuf::int32 value) {
6494 : path_.Add(value);
6495 : // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.path)
6496 : }
6497 : inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
6498 0 : SourceCodeInfo_Location::path() const {
6499 : // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.path)
6500 0 : return path_;
6501 : }
6502 : inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
6503 0 : SourceCodeInfo_Location::mutable_path() {
6504 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.path)
6505 0 : return &path_;
6506 : }
6507 :
6508 : // repeated int32 span = 2 [packed = true];
6509 0 : inline int SourceCodeInfo_Location::span_size() const {
6510 0 : return span_.size();
6511 : }
6512 : inline void SourceCodeInfo_Location::clear_span() {
6513 : span_.Clear();
6514 : }
6515 0 : inline ::google::protobuf::int32 SourceCodeInfo_Location::span(int index) const {
6516 : // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.span)
6517 0 : return span_.Get(index);
6518 : }
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)
6522 : }
6523 : inline void SourceCodeInfo_Location::add_span(::google::protobuf::int32 value) {
6524 : span_.Add(value);
6525 : // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.span)
6526 : }
6527 : inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
6528 0 : SourceCodeInfo_Location::span() const {
6529 : // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.span)
6530 0 : return span_;
6531 : }
6532 : inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
6533 0 : SourceCodeInfo_Location::mutable_span() {
6534 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.span)
6535 0 : return &span_;
6536 : }
6537 :
6538 : // optional string leading_comments = 3;
6539 0 : inline bool SourceCodeInfo_Location::has_leading_comments() const {
6540 0 : return (_has_bits_[0] & 0x00000004u) != 0;
6541 : }
6542 0 : inline void SourceCodeInfo_Location::set_has_leading_comments() {
6543 0 : _has_bits_[0] |= 0x00000004u;
6544 0 : }
6545 : inline void SourceCodeInfo_Location::clear_has_leading_comments() {
6546 : _has_bits_[0] &= ~0x00000004u;
6547 : }
6548 : inline void SourceCodeInfo_Location::clear_leading_comments() {
6549 : if (leading_comments_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6550 : leading_comments_->clear();
6551 : }
6552 : clear_has_leading_comments();
6553 : }
6554 0 : inline const ::std::string& SourceCodeInfo_Location::leading_comments() const {
6555 : // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_comments)
6556 0 : return *leading_comments_;
6557 : }
6558 0 : inline void SourceCodeInfo_Location::set_leading_comments(const ::std::string& value) {
6559 0 : set_has_leading_comments();
6560 0 : if (leading_comments_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6561 0 : leading_comments_ = new ::std::string;
6562 : }
6563 0 : leading_comments_->assign(value);
6564 : // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_comments)
6565 0 : }
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;
6570 : }
6571 : leading_comments_->assign(value);
6572 : // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.leading_comments)
6573 : }
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;
6578 : }
6579 : leading_comments_->assign(reinterpret_cast<const char*>(value), size);
6580 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_comments)
6581 : }
6582 0 : inline ::std::string* SourceCodeInfo_Location::mutable_leading_comments() {
6583 0 : set_has_leading_comments();
6584 0 : if (leading_comments_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6585 0 : leading_comments_ = new ::std::string;
6586 : }
6587 : // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_comments)
6588 0 : return leading_comments_;
6589 : }
6590 : inline ::std::string* SourceCodeInfo_Location::release_leading_comments() {
6591 : clear_has_leading_comments();
6592 : if (leading_comments_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6593 : return NULL;
6594 : } else {
6595 : ::std::string* temp = leading_comments_;
6596 : leading_comments_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6597 : return temp;
6598 : }
6599 : }
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_;
6603 : }
6604 : if (leading_comments) {
6605 : set_has_leading_comments();
6606 : leading_comments_ = leading_comments;
6607 : } else {
6608 : clear_has_leading_comments();
6609 : leading_comments_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6610 : }
6611 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.leading_comments)
6612 : }
6613 :
6614 : // optional string trailing_comments = 4;
6615 0 : inline bool SourceCodeInfo_Location::has_trailing_comments() const {
6616 0 : return (_has_bits_[0] & 0x00000008u) != 0;
6617 : }
6618 0 : inline void SourceCodeInfo_Location::set_has_trailing_comments() {
6619 0 : _has_bits_[0] |= 0x00000008u;
6620 0 : }
6621 : inline void SourceCodeInfo_Location::clear_has_trailing_comments() {
6622 : _has_bits_[0] &= ~0x00000008u;
6623 : }
6624 : inline void SourceCodeInfo_Location::clear_trailing_comments() {
6625 : if (trailing_comments_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6626 : trailing_comments_->clear();
6627 : }
6628 : clear_has_trailing_comments();
6629 : }
6630 0 : inline const ::std::string& SourceCodeInfo_Location::trailing_comments() const {
6631 : // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.trailing_comments)
6632 0 : return *trailing_comments_;
6633 : }
6634 0 : inline void SourceCodeInfo_Location::set_trailing_comments(const ::std::string& value) {
6635 0 : set_has_trailing_comments();
6636 0 : if (trailing_comments_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6637 0 : trailing_comments_ = new ::std::string;
6638 : }
6639 0 : trailing_comments_->assign(value);
6640 : // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.trailing_comments)
6641 0 : }
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;
6646 : }
6647 : trailing_comments_->assign(value);
6648 : // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.trailing_comments)
6649 : }
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;
6654 : }
6655 : trailing_comments_->assign(reinterpret_cast<const char*>(value), size);
6656 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.trailing_comments)
6657 : }
6658 0 : inline ::std::string* SourceCodeInfo_Location::mutable_trailing_comments() {
6659 0 : set_has_trailing_comments();
6660 0 : if (trailing_comments_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6661 0 : trailing_comments_ = new ::std::string;
6662 : }
6663 : // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.trailing_comments)
6664 0 : return trailing_comments_;
6665 : }
6666 : inline ::std::string* SourceCodeInfo_Location::release_trailing_comments() {
6667 : clear_has_trailing_comments();
6668 : if (trailing_comments_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
6669 : return NULL;
6670 : } else {
6671 : ::std::string* temp = trailing_comments_;
6672 : trailing_comments_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6673 : return temp;
6674 : }
6675 : }
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_;
6679 : }
6680 : if (trailing_comments) {
6681 : set_has_trailing_comments();
6682 : trailing_comments_ = trailing_comments;
6683 : } else {
6684 : clear_has_trailing_comments();
6685 : trailing_comments_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6686 : }
6687 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.trailing_comments)
6688 : }
6689 :
6690 : // -------------------------------------------------------------------
6691 :
6692 : // SourceCodeInfo
6693 :
6694 : // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
6695 0 : inline int SourceCodeInfo::location_size() const {
6696 0 : return location_.size();
6697 : }
6698 : inline void SourceCodeInfo::clear_location() {
6699 : location_.Clear();
6700 : }
6701 0 : inline const ::google::protobuf::SourceCodeInfo_Location& SourceCodeInfo::location(int index) const {
6702 : // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.location)
6703 0 : return location_.Get(index);
6704 : }
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);
6708 : }
6709 0 : inline ::google::protobuf::SourceCodeInfo_Location* SourceCodeInfo::add_location() {
6710 : // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.location)
6711 0 : return location_.Add();
6712 : }
6713 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >&
6714 0 : SourceCodeInfo::location() const {
6715 : // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.location)
6716 0 : return location_;
6717 : }
6718 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >*
6719 : SourceCodeInfo::mutable_location() {
6720 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.location)
6721 : return &location_;
6722 : }
6723 :
6724 :
6725 : // @@protoc_insertion_point(namespace_scope)
6726 :
6727 : } // namespace protobuf
6728 : } // namespace google
6729 :
6730 : #ifndef SWIG
6731 : namespace google {
6732 : namespace protobuf {
6733 :
6734 : template <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Type> : ::google::protobuf::internal::true_type {};
6735 : template <>
6736 : inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescriptorProto_Type>() {
6737 : return ::google::protobuf::FieldDescriptorProto_Type_descriptor();
6738 : }
6739 : template <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Label> : ::google::protobuf::internal::true_type {};
6740 : template <>
6741 : inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescriptorProto_Label>() {
6742 : return ::google::protobuf::FieldDescriptorProto_Label_descriptor();
6743 : }
6744 : template <> struct is_proto_enum< ::google::protobuf::FileOptions_OptimizeMode> : ::google::protobuf::internal::true_type {};
6745 : template <>
6746 : inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FileOptions_OptimizeMode>() {
6747 : return ::google::protobuf::FileOptions_OptimizeMode_descriptor();
6748 : }
6749 : template <> struct is_proto_enum< ::google::protobuf::FieldOptions_CType> : ::google::protobuf::internal::true_type {};
6750 : template <>
6751 : inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions_CType>() {
6752 : return ::google::protobuf::FieldOptions_CType_descriptor();
6753 : }
6754 :
6755 : } // namespace google
6756 : } // namespace protobuf
6757 : #endif // SWIG
6758 :
6759 : // @@protoc_insertion_point(global_scope)
6760 :
6761 : #endif // PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED
|