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 < 3000000
12 : #error This file was generated by a newer version of protoc which is
13 : #error incompatible with your Protocol Buffer headers. Please update
14 : #error your headers.
15 : #endif
16 : #if 3000000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 : #error This file was generated by an older version of protoc which is
18 : #error incompatible with your Protocol Buffer headers. Please
19 : #error regenerate this file with a newer version of protoc.
20 : #endif
21 :
22 : #include <google/protobuf/arena.h>
23 : #include <google/protobuf/arenastring.h>
24 : #include <google/protobuf/generated_message_util.h>
25 : #include <google/protobuf/metadata.h>
26 : #include <google/protobuf/message.h>
27 : #include <google/protobuf/repeated_field.h>
28 : #include <google/protobuf/extension_set.h>
29 : #include <google/protobuf/generated_enum_reflection.h>
30 : #include <google/protobuf/unknown_field_set.h>
31 : // @@protoc_insertion_point(includes)
32 :
33 : namespace google {
34 : namespace protobuf {
35 :
36 : // Internal implementation detail -- do not call these.
37 : void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
38 : void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
39 : void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
40 :
41 : class DescriptorProto;
42 : class DescriptorProto_ExtensionRange;
43 : class DescriptorProto_ReservedRange;
44 : class EnumDescriptorProto;
45 : class EnumOptions;
46 : class EnumValueDescriptorProto;
47 : class EnumValueOptions;
48 : class FieldDescriptorProto;
49 : class FieldOptions;
50 : class FileDescriptorProto;
51 : class FileDescriptorSet;
52 : class FileOptions;
53 : class MessageOptions;
54 : class MethodDescriptorProto;
55 : class MethodOptions;
56 : class OneofDescriptorProto;
57 : class ServiceDescriptorProto;
58 : class ServiceOptions;
59 : class SourceCodeInfo;
60 : class SourceCodeInfo_Location;
61 : class UninterpretedOption;
62 : class UninterpretedOption_NamePart;
63 :
64 : enum FieldDescriptorProto_Type {
65 : FieldDescriptorProto_Type_TYPE_DOUBLE = 1,
66 : FieldDescriptorProto_Type_TYPE_FLOAT = 2,
67 : FieldDescriptorProto_Type_TYPE_INT64 = 3,
68 : FieldDescriptorProto_Type_TYPE_UINT64 = 4,
69 : FieldDescriptorProto_Type_TYPE_INT32 = 5,
70 : FieldDescriptorProto_Type_TYPE_FIXED64 = 6,
71 : FieldDescriptorProto_Type_TYPE_FIXED32 = 7,
72 : FieldDescriptorProto_Type_TYPE_BOOL = 8,
73 : FieldDescriptorProto_Type_TYPE_STRING = 9,
74 : FieldDescriptorProto_Type_TYPE_GROUP = 10,
75 : FieldDescriptorProto_Type_TYPE_MESSAGE = 11,
76 : FieldDescriptorProto_Type_TYPE_BYTES = 12,
77 : FieldDescriptorProto_Type_TYPE_UINT32 = 13,
78 : FieldDescriptorProto_Type_TYPE_ENUM = 14,
79 : FieldDescriptorProto_Type_TYPE_SFIXED32 = 15,
80 : FieldDescriptorProto_Type_TYPE_SFIXED64 = 16,
81 : FieldDescriptorProto_Type_TYPE_SINT32 = 17,
82 : FieldDescriptorProto_Type_TYPE_SINT64 = 18
83 : };
84 : LIBPROTOBUF_EXPORT bool FieldDescriptorProto_Type_IsValid(int value);
85 : const FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MIN = FieldDescriptorProto_Type_TYPE_DOUBLE;
86 : const FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MAX = FieldDescriptorProto_Type_TYPE_SINT64;
87 : const int FieldDescriptorProto_Type_Type_ARRAYSIZE = FieldDescriptorProto_Type_Type_MAX + 1;
88 :
89 : LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Type_descriptor();
90 : inline const ::std::string& FieldDescriptorProto_Type_Name(FieldDescriptorProto_Type value) {
91 : return ::google::protobuf::internal::NameOfEnum(
92 727 : FieldDescriptorProto_Type_descriptor(), value);
93 : }
94 : inline bool FieldDescriptorProto_Type_Parse(
95 : const ::std::string& name, FieldDescriptorProto_Type* value) {
96 : return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Type>(
97 : FieldDescriptorProto_Type_descriptor(), name, value);
98 : }
99 : enum FieldDescriptorProto_Label {
100 : FieldDescriptorProto_Label_LABEL_OPTIONAL = 1,
101 : FieldDescriptorProto_Label_LABEL_REQUIRED = 2,
102 : FieldDescriptorProto_Label_LABEL_REPEATED = 3
103 : };
104 : LIBPROTOBUF_EXPORT bool FieldDescriptorProto_Label_IsValid(int value);
105 : const FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN = FieldDescriptorProto_Label_LABEL_OPTIONAL;
106 : const FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX = FieldDescriptorProto_Label_LABEL_REPEATED;
107 : const int FieldDescriptorProto_Label_Label_ARRAYSIZE = FieldDescriptorProto_Label_Label_MAX + 1;
108 :
109 : LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Label_descriptor();
110 : inline const ::std::string& FieldDescriptorProto_Label_Name(FieldDescriptorProto_Label value) {
111 : return ::google::protobuf::internal::NameOfEnum(
112 : FieldDescriptorProto_Label_descriptor(), value);
113 : }
114 : inline bool FieldDescriptorProto_Label_Parse(
115 : const ::std::string& name, FieldDescriptorProto_Label* value) {
116 : return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Label>(
117 : FieldDescriptorProto_Label_descriptor(), name, value);
118 : }
119 : enum FileOptions_OptimizeMode {
120 : FileOptions_OptimizeMode_SPEED = 1,
121 : FileOptions_OptimizeMode_CODE_SIZE = 2,
122 : FileOptions_OptimizeMode_LITE_RUNTIME = 3
123 : };
124 : LIBPROTOBUF_EXPORT bool FileOptions_OptimizeMode_IsValid(int value);
125 : const FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MIN = FileOptions_OptimizeMode_SPEED;
126 : const FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MAX = FileOptions_OptimizeMode_LITE_RUNTIME;
127 : const int FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE = FileOptions_OptimizeMode_OptimizeMode_MAX + 1;
128 :
129 : LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FileOptions_OptimizeMode_descriptor();
130 : inline const ::std::string& FileOptions_OptimizeMode_Name(FileOptions_OptimizeMode value) {
131 : return ::google::protobuf::internal::NameOfEnum(
132 : FileOptions_OptimizeMode_descriptor(), value);
133 : }
134 : inline bool FileOptions_OptimizeMode_Parse(
135 : const ::std::string& name, FileOptions_OptimizeMode* value) {
136 : return ::google::protobuf::internal::ParseNamedEnum<FileOptions_OptimizeMode>(
137 : FileOptions_OptimizeMode_descriptor(), name, value);
138 : }
139 : enum FieldOptions_CType {
140 : FieldOptions_CType_STRING = 0,
141 : FieldOptions_CType_CORD = 1,
142 : FieldOptions_CType_STRING_PIECE = 2
143 : };
144 : LIBPROTOBUF_EXPORT bool FieldOptions_CType_IsValid(int value);
145 : const FieldOptions_CType FieldOptions_CType_CType_MIN = FieldOptions_CType_STRING;
146 : const FieldOptions_CType FieldOptions_CType_CType_MAX = FieldOptions_CType_STRING_PIECE;
147 : const int FieldOptions_CType_CType_ARRAYSIZE = FieldOptions_CType_CType_MAX + 1;
148 :
149 : LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_CType_descriptor();
150 : inline const ::std::string& FieldOptions_CType_Name(FieldOptions_CType value) {
151 : return ::google::protobuf::internal::NameOfEnum(
152 : FieldOptions_CType_descriptor(), value);
153 : }
154 : inline bool FieldOptions_CType_Parse(
155 : const ::std::string& name, FieldOptions_CType* value) {
156 : return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_CType>(
157 : FieldOptions_CType_descriptor(), name, value);
158 : }
159 : enum FieldOptions_JSType {
160 : FieldOptions_JSType_JS_NORMAL = 0,
161 : FieldOptions_JSType_JS_STRING = 1,
162 : FieldOptions_JSType_JS_NUMBER = 2
163 : };
164 : LIBPROTOBUF_EXPORT bool FieldOptions_JSType_IsValid(int value);
165 : const FieldOptions_JSType FieldOptions_JSType_JSType_MIN = FieldOptions_JSType_JS_NORMAL;
166 : const FieldOptions_JSType FieldOptions_JSType_JSType_MAX = FieldOptions_JSType_JS_NUMBER;
167 : const int FieldOptions_JSType_JSType_ARRAYSIZE = FieldOptions_JSType_JSType_MAX + 1;
168 :
169 : LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_JSType_descriptor();
170 : inline const ::std::string& FieldOptions_JSType_Name(FieldOptions_JSType value) {
171 : return ::google::protobuf::internal::NameOfEnum(
172 : FieldOptions_JSType_descriptor(), value);
173 : }
174 : inline bool FieldOptions_JSType_Parse(
175 : const ::std::string& name, FieldOptions_JSType* value) {
176 : return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_JSType>(
177 : FieldOptions_JSType_descriptor(), name, value);
178 : }
179 : // ===================================================================
180 :
181 : class LIBPROTOBUF_EXPORT FileDescriptorSet : public ::google::protobuf::Message {
182 : public:
183 : FileDescriptorSet();
184 : virtual ~FileDescriptorSet();
185 :
186 : FileDescriptorSet(const FileDescriptorSet& from);
187 :
188 : inline FileDescriptorSet& operator=(const FileDescriptorSet& from) {
189 : CopyFrom(from);
190 : return *this;
191 : }
192 :
193 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
194 0 : return _internal_metadata_.unknown_fields();
195 : }
196 :
197 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
198 0 : return _internal_metadata_.mutable_unknown_fields();
199 : }
200 :
201 : static const ::google::protobuf::Descriptor* descriptor();
202 : static const FileDescriptorSet& default_instance();
203 :
204 : void Swap(FileDescriptorSet* other);
205 :
206 : // implements Message ----------------------------------------------
207 :
208 0 : inline FileDescriptorSet* New() const { return New(NULL); }
209 :
210 : FileDescriptorSet* New(::google::protobuf::Arena* arena) const;
211 : void CopyFrom(const ::google::protobuf::Message& from);
212 : void MergeFrom(const ::google::protobuf::Message& from);
213 : void CopyFrom(const FileDescriptorSet& from);
214 : void MergeFrom(const FileDescriptorSet& from);
215 : void Clear();
216 : bool IsInitialized() const;
217 :
218 : int ByteSize() const;
219 : bool MergePartialFromCodedStream(
220 : ::google::protobuf::io::CodedInputStream* input);
221 : void SerializeWithCachedSizes(
222 : ::google::protobuf::io::CodedOutputStream* output) const;
223 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
224 0 : int GetCachedSize() const { return _cached_size_; }
225 : private:
226 : void SharedCtor();
227 : void SharedDtor();
228 : void SetCachedSize(int size) const;
229 : void InternalSwap(FileDescriptorSet* other);
230 : private:
231 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
232 : return _internal_metadata_.arena();
233 : }
234 : inline void* MaybeArenaPtr() const {
235 : return _internal_metadata_.raw_arena_ptr();
236 : }
237 : public:
238 :
239 : ::google::protobuf::Metadata GetMetadata() const;
240 :
241 : // nested types ----------------------------------------------------
242 :
243 : // accessors -------------------------------------------------------
244 :
245 : // repeated .google.protobuf.FileDescriptorProto file = 1;
246 : int file_size() const;
247 : void clear_file();
248 : static const int kFileFieldNumber = 1;
249 : const ::google::protobuf::FileDescriptorProto& file(int index) const;
250 : ::google::protobuf::FileDescriptorProto* mutable_file(int index);
251 : ::google::protobuf::FileDescriptorProto* add_file();
252 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
253 : mutable_file();
254 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
255 : file() const;
256 :
257 : // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet)
258 : private:
259 :
260 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
261 : ::google::protobuf::uint32 _has_bits_[1];
262 : mutable int _cached_size_;
263 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > file_;
264 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
265 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
266 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
267 :
268 : void InitAsDefaultInstance();
269 : static FileDescriptorSet* default_instance_;
270 : };
271 : // -------------------------------------------------------------------
272 :
273 : class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Message {
274 : public:
275 : FileDescriptorProto();
276 : virtual ~FileDescriptorProto();
277 :
278 : FileDescriptorProto(const FileDescriptorProto& from);
279 :
280 : inline FileDescriptorProto& operator=(const FileDescriptorProto& from) {
281 : CopyFrom(from);
282 : return *this;
283 : }
284 :
285 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
286 0 : return _internal_metadata_.unknown_fields();
287 : }
288 :
289 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
290 0 : return _internal_metadata_.mutable_unknown_fields();
291 : }
292 :
293 : static const ::google::protobuf::Descriptor* descriptor();
294 : static const FileDescriptorProto& default_instance();
295 :
296 : void Swap(FileDescriptorProto* other);
297 :
298 : // implements Message ----------------------------------------------
299 :
300 0 : inline FileDescriptorProto* New() const { return New(NULL); }
301 :
302 : FileDescriptorProto* New(::google::protobuf::Arena* arena) const;
303 : void CopyFrom(const ::google::protobuf::Message& from);
304 : void MergeFrom(const ::google::protobuf::Message& from);
305 : void CopyFrom(const FileDescriptorProto& from);
306 : void MergeFrom(const FileDescriptorProto& from);
307 : void Clear();
308 : bool IsInitialized() const;
309 :
310 : int ByteSize() const;
311 : bool MergePartialFromCodedStream(
312 : ::google::protobuf::io::CodedInputStream* input);
313 : void SerializeWithCachedSizes(
314 : ::google::protobuf::io::CodedOutputStream* output) const;
315 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
316 13 : int GetCachedSize() const { return _cached_size_; }
317 : private:
318 : void SharedCtor();
319 : void SharedDtor();
320 : void SetCachedSize(int size) const;
321 : void InternalSwap(FileDescriptorProto* other);
322 : private:
323 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
324 : return _internal_metadata_.arena();
325 : }
326 : inline void* MaybeArenaPtr() const {
327 : return _internal_metadata_.raw_arena_ptr();
328 : }
329 : public:
330 :
331 : ::google::protobuf::Metadata GetMetadata() const;
332 :
333 : // nested types ----------------------------------------------------
334 :
335 : // accessors -------------------------------------------------------
336 :
337 : // optional string name = 1;
338 : bool has_name() const;
339 : void clear_name();
340 : static const int kNameFieldNumber = 1;
341 : const ::std::string& name() const;
342 : void set_name(const ::std::string& value);
343 : void set_name(const char* value);
344 : void set_name(const char* value, size_t size);
345 : ::std::string* mutable_name();
346 : ::std::string* release_name();
347 : void set_allocated_name(::std::string* name);
348 :
349 : // optional string package = 2;
350 : bool has_package() const;
351 : void clear_package();
352 : static const int kPackageFieldNumber = 2;
353 : const ::std::string& package() const;
354 : void set_package(const ::std::string& value);
355 : void set_package(const char* value);
356 : void set_package(const char* value, size_t size);
357 : ::std::string* mutable_package();
358 : ::std::string* release_package();
359 : void set_allocated_package(::std::string* package);
360 :
361 : // repeated string dependency = 3;
362 : int dependency_size() const;
363 : void clear_dependency();
364 : static const int kDependencyFieldNumber = 3;
365 : const ::std::string& dependency(int index) const;
366 : ::std::string* mutable_dependency(int index);
367 : void set_dependency(int index, const ::std::string& value);
368 : void set_dependency(int index, const char* value);
369 : void set_dependency(int index, const char* value, size_t size);
370 : ::std::string* add_dependency();
371 : void add_dependency(const ::std::string& value);
372 : void add_dependency(const char* value);
373 : void add_dependency(const char* value, size_t size);
374 : const ::google::protobuf::RepeatedPtrField< ::std::string>& dependency() const;
375 : ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_dependency();
376 :
377 : // repeated int32 public_dependency = 10;
378 : int public_dependency_size() const;
379 : void clear_public_dependency();
380 : static const int kPublicDependencyFieldNumber = 10;
381 : ::google::protobuf::int32 public_dependency(int index) const;
382 : void set_public_dependency(int index, ::google::protobuf::int32 value);
383 : void add_public_dependency(::google::protobuf::int32 value);
384 : const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
385 : public_dependency() const;
386 : ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
387 : mutable_public_dependency();
388 :
389 : // repeated int32 weak_dependency = 11;
390 : int weak_dependency_size() const;
391 : void clear_weak_dependency();
392 : static const int kWeakDependencyFieldNumber = 11;
393 : ::google::protobuf::int32 weak_dependency(int index) const;
394 : void set_weak_dependency(int index, ::google::protobuf::int32 value);
395 : void add_weak_dependency(::google::protobuf::int32 value);
396 : const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
397 : weak_dependency() const;
398 : ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
399 : mutable_weak_dependency();
400 :
401 : // repeated .google.protobuf.DescriptorProto message_type = 4;
402 : int message_type_size() const;
403 : void clear_message_type();
404 : static const int kMessageTypeFieldNumber = 4;
405 : const ::google::protobuf::DescriptorProto& message_type(int index) const;
406 : ::google::protobuf::DescriptorProto* mutable_message_type(int index);
407 : ::google::protobuf::DescriptorProto* add_message_type();
408 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
409 : mutable_message_type();
410 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
411 : message_type() const;
412 :
413 : // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
414 : int enum_type_size() const;
415 : void clear_enum_type();
416 : static const int kEnumTypeFieldNumber = 5;
417 : const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const;
418 : ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index);
419 : ::google::protobuf::EnumDescriptorProto* add_enum_type();
420 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
421 : mutable_enum_type();
422 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
423 : enum_type() const;
424 :
425 : // repeated .google.protobuf.ServiceDescriptorProto service = 6;
426 : int service_size() const;
427 : void clear_service();
428 : static const int kServiceFieldNumber = 6;
429 : const ::google::protobuf::ServiceDescriptorProto& service(int index) const;
430 : ::google::protobuf::ServiceDescriptorProto* mutable_service(int index);
431 : ::google::protobuf::ServiceDescriptorProto* add_service();
432 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >*
433 : mutable_service();
434 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >&
435 : service() const;
436 :
437 : // repeated .google.protobuf.FieldDescriptorProto extension = 7;
438 : int extension_size() const;
439 : void clear_extension();
440 : static const int kExtensionFieldNumber = 7;
441 : const ::google::protobuf::FieldDescriptorProto& extension(int index) const;
442 : ::google::protobuf::FieldDescriptorProto* mutable_extension(int index);
443 : ::google::protobuf::FieldDescriptorProto* add_extension();
444 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
445 : mutable_extension();
446 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
447 : extension() const;
448 :
449 : // optional .google.protobuf.FileOptions options = 8;
450 : bool has_options() const;
451 : void clear_options();
452 : static const int kOptionsFieldNumber = 8;
453 : const ::google::protobuf::FileOptions& options() const;
454 : ::google::protobuf::FileOptions* mutable_options();
455 : ::google::protobuf::FileOptions* release_options();
456 : void set_allocated_options(::google::protobuf::FileOptions* options);
457 :
458 : // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
459 : bool has_source_code_info() const;
460 : void clear_source_code_info();
461 : static const int kSourceCodeInfoFieldNumber = 9;
462 : const ::google::protobuf::SourceCodeInfo& source_code_info() const;
463 : ::google::protobuf::SourceCodeInfo* mutable_source_code_info();
464 : ::google::protobuf::SourceCodeInfo* release_source_code_info();
465 : void set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* source_code_info);
466 :
467 : // optional string syntax = 12;
468 : bool has_syntax() const;
469 : void clear_syntax();
470 : static const int kSyntaxFieldNumber = 12;
471 : const ::std::string& syntax() const;
472 : void set_syntax(const ::std::string& value);
473 : void set_syntax(const char* value);
474 : void set_syntax(const char* value, size_t size);
475 : ::std::string* mutable_syntax();
476 : ::std::string* release_syntax();
477 : void set_allocated_syntax(::std::string* syntax);
478 :
479 : // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto)
480 : private:
481 : inline void set_has_name();
482 : inline void clear_has_name();
483 : inline void set_has_package();
484 : inline void clear_has_package();
485 : inline void set_has_options();
486 : inline void clear_has_options();
487 : inline void set_has_source_code_info();
488 : inline void clear_has_source_code_info();
489 : inline void set_has_syntax();
490 : inline void clear_has_syntax();
491 :
492 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
493 : ::google::protobuf::uint32 _has_bits_[1];
494 : mutable int _cached_size_;
495 : ::google::protobuf::internal::ArenaStringPtr name_;
496 : ::google::protobuf::internal::ArenaStringPtr package_;
497 : ::google::protobuf::RepeatedPtrField< ::std::string> dependency_;
498 : ::google::protobuf::RepeatedField< ::google::protobuf::int32 > public_dependency_;
499 : ::google::protobuf::RepeatedField< ::google::protobuf::int32 > weak_dependency_;
500 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > message_type_;
501 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_;
502 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto > service_;
503 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_;
504 : ::google::protobuf::FileOptions* options_;
505 : ::google::protobuf::SourceCodeInfo* source_code_info_;
506 : ::google::protobuf::internal::ArenaStringPtr syntax_;
507 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
508 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
509 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
510 :
511 : void InitAsDefaultInstance();
512 : static FileDescriptorProto* default_instance_;
513 : };
514 : // -------------------------------------------------------------------
515 :
516 : class LIBPROTOBUF_EXPORT DescriptorProto_ExtensionRange : public ::google::protobuf::Message {
517 : public:
518 : DescriptorProto_ExtensionRange();
519 : virtual ~DescriptorProto_ExtensionRange();
520 :
521 : DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from);
522 :
523 : inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) {
524 : CopyFrom(from);
525 : return *this;
526 : }
527 :
528 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
529 0 : return _internal_metadata_.unknown_fields();
530 : }
531 :
532 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
533 0 : return _internal_metadata_.mutable_unknown_fields();
534 : }
535 :
536 : static const ::google::protobuf::Descriptor* descriptor();
537 : static const DescriptorProto_ExtensionRange& default_instance();
538 :
539 : void Swap(DescriptorProto_ExtensionRange* other);
540 :
541 : // implements Message ----------------------------------------------
542 :
543 0 : inline DescriptorProto_ExtensionRange* New() const { return New(NULL); }
544 :
545 : DescriptorProto_ExtensionRange* New(::google::protobuf::Arena* arena) const;
546 : void CopyFrom(const ::google::protobuf::Message& from);
547 : void MergeFrom(const ::google::protobuf::Message& from);
548 : void CopyFrom(const DescriptorProto_ExtensionRange& from);
549 : void MergeFrom(const DescriptorProto_ExtensionRange& from);
550 : void Clear();
551 : bool IsInitialized() const;
552 :
553 : int ByteSize() const;
554 : bool MergePartialFromCodedStream(
555 : ::google::protobuf::io::CodedInputStream* input);
556 : void SerializeWithCachedSizes(
557 : ::google::protobuf::io::CodedOutputStream* output) const;
558 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
559 18 : int GetCachedSize() const { return _cached_size_; }
560 : private:
561 : void SharedCtor();
562 : void SharedDtor();
563 : void SetCachedSize(int size) const;
564 : void InternalSwap(DescriptorProto_ExtensionRange* other);
565 : private:
566 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
567 : return _internal_metadata_.arena();
568 : }
569 : inline void* MaybeArenaPtr() const {
570 : return _internal_metadata_.raw_arena_ptr();
571 : }
572 : public:
573 :
574 : ::google::protobuf::Metadata GetMetadata() const;
575 :
576 : // nested types ----------------------------------------------------
577 :
578 : // accessors -------------------------------------------------------
579 :
580 : // optional int32 start = 1;
581 : bool has_start() const;
582 : void clear_start();
583 : static const int kStartFieldNumber = 1;
584 : ::google::protobuf::int32 start() const;
585 : void set_start(::google::protobuf::int32 value);
586 :
587 : // optional int32 end = 2;
588 : bool has_end() const;
589 : void clear_end();
590 : static const int kEndFieldNumber = 2;
591 : ::google::protobuf::int32 end() const;
592 : void set_end(::google::protobuf::int32 value);
593 :
594 : // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange)
595 : private:
596 : inline void set_has_start();
597 : inline void clear_has_start();
598 : inline void set_has_end();
599 : inline void clear_has_end();
600 :
601 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
602 : ::google::protobuf::uint32 _has_bits_[1];
603 : mutable int _cached_size_;
604 : ::google::protobuf::int32 start_;
605 : ::google::protobuf::int32 end_;
606 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
607 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
608 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
609 :
610 : void InitAsDefaultInstance();
611 : static DescriptorProto_ExtensionRange* default_instance_;
612 : };
613 : // -------------------------------------------------------------------
614 :
615 : class LIBPROTOBUF_EXPORT DescriptorProto_ReservedRange : public ::google::protobuf::Message {
616 : public:
617 : DescriptorProto_ReservedRange();
618 : virtual ~DescriptorProto_ReservedRange();
619 :
620 : DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from);
621 :
622 : inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_ReservedRange& from) {
623 : CopyFrom(from);
624 : return *this;
625 : }
626 :
627 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
628 0 : return _internal_metadata_.unknown_fields();
629 : }
630 :
631 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
632 0 : return _internal_metadata_.mutable_unknown_fields();
633 : }
634 :
635 : static const ::google::protobuf::Descriptor* descriptor();
636 : static const DescriptorProto_ReservedRange& default_instance();
637 :
638 : void Swap(DescriptorProto_ReservedRange* other);
639 :
640 : // implements Message ----------------------------------------------
641 :
642 0 : inline DescriptorProto_ReservedRange* New() const { return New(NULL); }
643 :
644 : DescriptorProto_ReservedRange* New(::google::protobuf::Arena* arena) const;
645 : void CopyFrom(const ::google::protobuf::Message& from);
646 : void MergeFrom(const ::google::protobuf::Message& from);
647 : void CopyFrom(const DescriptorProto_ReservedRange& from);
648 : void MergeFrom(const DescriptorProto_ReservedRange& from);
649 : void Clear();
650 : bool IsInitialized() const;
651 :
652 : int ByteSize() const;
653 : bool MergePartialFromCodedStream(
654 : ::google::protobuf::io::CodedInputStream* input);
655 : void SerializeWithCachedSizes(
656 : ::google::protobuf::io::CodedOutputStream* output) const;
657 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
658 3 : int GetCachedSize() const { return _cached_size_; }
659 : private:
660 : void SharedCtor();
661 : void SharedDtor();
662 : void SetCachedSize(int size) const;
663 : void InternalSwap(DescriptorProto_ReservedRange* other);
664 : private:
665 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
666 : return _internal_metadata_.arena();
667 : }
668 : inline void* MaybeArenaPtr() const {
669 : return _internal_metadata_.raw_arena_ptr();
670 : }
671 : public:
672 :
673 : ::google::protobuf::Metadata GetMetadata() const;
674 :
675 : // nested types ----------------------------------------------------
676 :
677 : // accessors -------------------------------------------------------
678 :
679 : // optional int32 start = 1;
680 : bool has_start() const;
681 : void clear_start();
682 : static const int kStartFieldNumber = 1;
683 : ::google::protobuf::int32 start() const;
684 : void set_start(::google::protobuf::int32 value);
685 :
686 : // optional int32 end = 2;
687 : bool has_end() const;
688 : void clear_end();
689 : static const int kEndFieldNumber = 2;
690 : ::google::protobuf::int32 end() const;
691 : void set_end(::google::protobuf::int32 value);
692 :
693 : // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ReservedRange)
694 : private:
695 : inline void set_has_start();
696 : inline void clear_has_start();
697 : inline void set_has_end();
698 : inline void clear_has_end();
699 :
700 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
701 : ::google::protobuf::uint32 _has_bits_[1];
702 : mutable int _cached_size_;
703 : ::google::protobuf::int32 start_;
704 : ::google::protobuf::int32 end_;
705 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
706 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
707 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
708 :
709 : void InitAsDefaultInstance();
710 : static DescriptorProto_ReservedRange* default_instance_;
711 : };
712 : // -------------------------------------------------------------------
713 :
714 : class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message {
715 : public:
716 : DescriptorProto();
717 : virtual ~DescriptorProto();
718 :
719 : DescriptorProto(const DescriptorProto& from);
720 :
721 : inline DescriptorProto& operator=(const DescriptorProto& from) {
722 : CopyFrom(from);
723 : return *this;
724 : }
725 :
726 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
727 0 : return _internal_metadata_.unknown_fields();
728 : }
729 :
730 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
731 0 : return _internal_metadata_.mutable_unknown_fields();
732 : }
733 :
734 : static const ::google::protobuf::Descriptor* descriptor();
735 : static const DescriptorProto& default_instance();
736 :
737 : void Swap(DescriptorProto* other);
738 :
739 : // implements Message ----------------------------------------------
740 :
741 0 : inline DescriptorProto* New() const { return New(NULL); }
742 :
743 : DescriptorProto* New(::google::protobuf::Arena* arena) const;
744 : void CopyFrom(const ::google::protobuf::Message& from);
745 : void MergeFrom(const ::google::protobuf::Message& from);
746 : void CopyFrom(const DescriptorProto& from);
747 : void MergeFrom(const DescriptorProto& from);
748 : void Clear();
749 : bool IsInitialized() const;
750 :
751 : int ByteSize() const;
752 : bool MergePartialFromCodedStream(
753 : ::google::protobuf::io::CodedInputStream* input);
754 : void SerializeWithCachedSizes(
755 : ::google::protobuf::io::CodedOutputStream* output) const;
756 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
757 415 : int GetCachedSize() const { return _cached_size_; }
758 : private:
759 : void SharedCtor();
760 : void SharedDtor();
761 : void SetCachedSize(int size) const;
762 : void InternalSwap(DescriptorProto* other);
763 : private:
764 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
765 : return _internal_metadata_.arena();
766 : }
767 : inline void* MaybeArenaPtr() const {
768 : return _internal_metadata_.raw_arena_ptr();
769 : }
770 : public:
771 :
772 : ::google::protobuf::Metadata GetMetadata() const;
773 :
774 : // nested types ----------------------------------------------------
775 :
776 : typedef DescriptorProto_ExtensionRange ExtensionRange;
777 : typedef DescriptorProto_ReservedRange ReservedRange;
778 :
779 : // accessors -------------------------------------------------------
780 :
781 : // optional string name = 1;
782 : bool has_name() const;
783 : void clear_name();
784 : static const int kNameFieldNumber = 1;
785 : const ::std::string& name() const;
786 : void set_name(const ::std::string& value);
787 : void set_name(const char* value);
788 : void set_name(const char* value, size_t size);
789 : ::std::string* mutable_name();
790 : ::std::string* release_name();
791 : void set_allocated_name(::std::string* name);
792 :
793 : // repeated .google.protobuf.FieldDescriptorProto field = 2;
794 : int field_size() const;
795 : void clear_field();
796 : static const int kFieldFieldNumber = 2;
797 : const ::google::protobuf::FieldDescriptorProto& field(int index) const;
798 : ::google::protobuf::FieldDescriptorProto* mutable_field(int index);
799 : ::google::protobuf::FieldDescriptorProto* add_field();
800 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
801 : mutable_field();
802 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
803 : field() const;
804 :
805 : // repeated .google.protobuf.FieldDescriptorProto extension = 6;
806 : int extension_size() const;
807 : void clear_extension();
808 : static const int kExtensionFieldNumber = 6;
809 : const ::google::protobuf::FieldDescriptorProto& extension(int index) const;
810 : ::google::protobuf::FieldDescriptorProto* mutable_extension(int index);
811 : ::google::protobuf::FieldDescriptorProto* add_extension();
812 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
813 : mutable_extension();
814 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
815 : extension() const;
816 :
817 : // repeated .google.protobuf.DescriptorProto nested_type = 3;
818 : int nested_type_size() const;
819 : void clear_nested_type();
820 : static const int kNestedTypeFieldNumber = 3;
821 : const ::google::protobuf::DescriptorProto& nested_type(int index) const;
822 : ::google::protobuf::DescriptorProto* mutable_nested_type(int index);
823 : ::google::protobuf::DescriptorProto* add_nested_type();
824 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
825 : mutable_nested_type();
826 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
827 : nested_type() const;
828 :
829 : // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
830 : int enum_type_size() const;
831 : void clear_enum_type();
832 : static const int kEnumTypeFieldNumber = 4;
833 : const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const;
834 : ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index);
835 : ::google::protobuf::EnumDescriptorProto* add_enum_type();
836 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
837 : mutable_enum_type();
838 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
839 : enum_type() const;
840 :
841 : // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
842 : int extension_range_size() const;
843 : void clear_extension_range();
844 : static const int kExtensionRangeFieldNumber = 5;
845 : const ::google::protobuf::DescriptorProto_ExtensionRange& extension_range(int index) const;
846 : ::google::protobuf::DescriptorProto_ExtensionRange* mutable_extension_range(int index);
847 : ::google::protobuf::DescriptorProto_ExtensionRange* add_extension_range();
848 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >*
849 : mutable_extension_range();
850 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >&
851 : extension_range() const;
852 :
853 : // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
854 : int oneof_decl_size() const;
855 : void clear_oneof_decl();
856 : static const int kOneofDeclFieldNumber = 8;
857 : const ::google::protobuf::OneofDescriptorProto& oneof_decl(int index) const;
858 : ::google::protobuf::OneofDescriptorProto* mutable_oneof_decl(int index);
859 : ::google::protobuf::OneofDescriptorProto* add_oneof_decl();
860 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >*
861 : mutable_oneof_decl();
862 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >&
863 : oneof_decl() const;
864 :
865 : // optional .google.protobuf.MessageOptions options = 7;
866 : bool has_options() const;
867 : void clear_options();
868 : static const int kOptionsFieldNumber = 7;
869 : const ::google::protobuf::MessageOptions& options() const;
870 : ::google::protobuf::MessageOptions* mutable_options();
871 : ::google::protobuf::MessageOptions* release_options();
872 : void set_allocated_options(::google::protobuf::MessageOptions* options);
873 :
874 : // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
875 : int reserved_range_size() const;
876 : void clear_reserved_range();
877 : static const int kReservedRangeFieldNumber = 9;
878 : const ::google::protobuf::DescriptorProto_ReservedRange& reserved_range(int index) const;
879 : ::google::protobuf::DescriptorProto_ReservedRange* mutable_reserved_range(int index);
880 : ::google::protobuf::DescriptorProto_ReservedRange* add_reserved_range();
881 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange >*
882 : mutable_reserved_range();
883 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange >&
884 : reserved_range() const;
885 :
886 : // repeated string reserved_name = 10;
887 : int reserved_name_size() const;
888 : void clear_reserved_name();
889 : static const int kReservedNameFieldNumber = 10;
890 : const ::std::string& reserved_name(int index) const;
891 : ::std::string* mutable_reserved_name(int index);
892 : void set_reserved_name(int index, const ::std::string& value);
893 : void set_reserved_name(int index, const char* value);
894 : void set_reserved_name(int index, const char* value, size_t size);
895 : ::std::string* add_reserved_name();
896 : void add_reserved_name(const ::std::string& value);
897 : void add_reserved_name(const char* value);
898 : void add_reserved_name(const char* value, size_t size);
899 : const ::google::protobuf::RepeatedPtrField< ::std::string>& reserved_name() const;
900 : ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_reserved_name();
901 :
902 : // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto)
903 : private:
904 : inline void set_has_name();
905 : inline void clear_has_name();
906 : inline void set_has_options();
907 : inline void clear_has_options();
908 :
909 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
910 : ::google::protobuf::uint32 _has_bits_[1];
911 : mutable int _cached_size_;
912 : ::google::protobuf::internal::ArenaStringPtr name_;
913 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_;
914 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_;
915 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > nested_type_;
916 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_;
917 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange > extension_range_;
918 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > oneof_decl_;
919 : ::google::protobuf::MessageOptions* options_;
920 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange > reserved_range_;
921 : ::google::protobuf::RepeatedPtrField< ::std::string> reserved_name_;
922 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
923 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
924 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
925 :
926 : void InitAsDefaultInstance();
927 : static DescriptorProto* default_instance_;
928 : };
929 : // -------------------------------------------------------------------
930 :
931 : class LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Message {
932 : public:
933 : FieldDescriptorProto();
934 : virtual ~FieldDescriptorProto();
935 :
936 : FieldDescriptorProto(const FieldDescriptorProto& from);
937 :
938 : inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) {
939 : CopyFrom(from);
940 : return *this;
941 : }
942 :
943 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
944 0 : return _internal_metadata_.unknown_fields();
945 : }
946 :
947 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
948 0 : return _internal_metadata_.mutable_unknown_fields();
949 : }
950 :
951 : static const ::google::protobuf::Descriptor* descriptor();
952 : static const FieldDescriptorProto& default_instance();
953 :
954 : void Swap(FieldDescriptorProto* other);
955 :
956 : // implements Message ----------------------------------------------
957 :
958 0 : inline FieldDescriptorProto* New() const { return New(NULL); }
959 :
960 : FieldDescriptorProto* New(::google::protobuf::Arena* arena) const;
961 : void CopyFrom(const ::google::protobuf::Message& from);
962 : void MergeFrom(const ::google::protobuf::Message& from);
963 : void CopyFrom(const FieldDescriptorProto& from);
964 : void MergeFrom(const FieldDescriptorProto& from);
965 : void Clear();
966 : bool IsInitialized() const;
967 :
968 : int ByteSize() const;
969 : bool MergePartialFromCodedStream(
970 : ::google::protobuf::io::CodedInputStream* input);
971 : void SerializeWithCachedSizes(
972 : ::google::protobuf::io::CodedOutputStream* output) const;
973 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
974 2661 : int GetCachedSize() const { return _cached_size_; }
975 : private:
976 : void SharedCtor();
977 : void SharedDtor();
978 : void SetCachedSize(int size) const;
979 : void InternalSwap(FieldDescriptorProto* other);
980 : private:
981 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
982 : return _internal_metadata_.arena();
983 : }
984 : inline void* MaybeArenaPtr() const {
985 : return _internal_metadata_.raw_arena_ptr();
986 : }
987 : public:
988 :
989 : ::google::protobuf::Metadata GetMetadata() const;
990 :
991 : // nested types ----------------------------------------------------
992 :
993 : typedef FieldDescriptorProto_Type Type;
994 : static const Type TYPE_DOUBLE = FieldDescriptorProto_Type_TYPE_DOUBLE;
995 : static const Type TYPE_FLOAT = FieldDescriptorProto_Type_TYPE_FLOAT;
996 : static const Type TYPE_INT64 = FieldDescriptorProto_Type_TYPE_INT64;
997 : static const Type TYPE_UINT64 = FieldDescriptorProto_Type_TYPE_UINT64;
998 : static const Type TYPE_INT32 = FieldDescriptorProto_Type_TYPE_INT32;
999 : static const Type TYPE_FIXED64 = FieldDescriptorProto_Type_TYPE_FIXED64;
1000 : static const Type TYPE_FIXED32 = FieldDescriptorProto_Type_TYPE_FIXED32;
1001 : static const Type TYPE_BOOL = FieldDescriptorProto_Type_TYPE_BOOL;
1002 : static const Type TYPE_STRING = FieldDescriptorProto_Type_TYPE_STRING;
1003 : static const Type TYPE_GROUP = FieldDescriptorProto_Type_TYPE_GROUP;
1004 : static const Type TYPE_MESSAGE = FieldDescriptorProto_Type_TYPE_MESSAGE;
1005 : static const Type TYPE_BYTES = FieldDescriptorProto_Type_TYPE_BYTES;
1006 : static const Type TYPE_UINT32 = FieldDescriptorProto_Type_TYPE_UINT32;
1007 : static const Type TYPE_ENUM = FieldDescriptorProto_Type_TYPE_ENUM;
1008 : static const Type TYPE_SFIXED32 = FieldDescriptorProto_Type_TYPE_SFIXED32;
1009 : static const Type TYPE_SFIXED64 = FieldDescriptorProto_Type_TYPE_SFIXED64;
1010 : static const Type TYPE_SINT32 = FieldDescriptorProto_Type_TYPE_SINT32;
1011 : static const Type TYPE_SINT64 = FieldDescriptorProto_Type_TYPE_SINT64;
1012 : static inline bool Type_IsValid(int value) {
1013 : return FieldDescriptorProto_Type_IsValid(value);
1014 : }
1015 : static const Type Type_MIN =
1016 : FieldDescriptorProto_Type_Type_MIN;
1017 : static const Type Type_MAX =
1018 : FieldDescriptorProto_Type_Type_MAX;
1019 : static const int Type_ARRAYSIZE =
1020 : FieldDescriptorProto_Type_Type_ARRAYSIZE;
1021 : static inline const ::google::protobuf::EnumDescriptor*
1022 : Type_descriptor() {
1023 : return FieldDescriptorProto_Type_descriptor();
1024 : }
1025 : static inline const ::std::string& Type_Name(Type value) {
1026 : return FieldDescriptorProto_Type_Name(value);
1027 : }
1028 : static inline bool Type_Parse(const ::std::string& name,
1029 : Type* value) {
1030 : return FieldDescriptorProto_Type_Parse(name, value);
1031 : }
1032 :
1033 : typedef FieldDescriptorProto_Label Label;
1034 : static const Label LABEL_OPTIONAL = FieldDescriptorProto_Label_LABEL_OPTIONAL;
1035 : static const Label LABEL_REQUIRED = FieldDescriptorProto_Label_LABEL_REQUIRED;
1036 : static const Label LABEL_REPEATED = FieldDescriptorProto_Label_LABEL_REPEATED;
1037 : static inline bool Label_IsValid(int value) {
1038 : return FieldDescriptorProto_Label_IsValid(value);
1039 : }
1040 : static const Label Label_MIN =
1041 : FieldDescriptorProto_Label_Label_MIN;
1042 : static const Label Label_MAX =
1043 : FieldDescriptorProto_Label_Label_MAX;
1044 : static const int Label_ARRAYSIZE =
1045 : FieldDescriptorProto_Label_Label_ARRAYSIZE;
1046 : static inline const ::google::protobuf::EnumDescriptor*
1047 : Label_descriptor() {
1048 : return FieldDescriptorProto_Label_descriptor();
1049 : }
1050 : static inline const ::std::string& Label_Name(Label value) {
1051 : return FieldDescriptorProto_Label_Name(value);
1052 : }
1053 : static inline bool Label_Parse(const ::std::string& name,
1054 : Label* value) {
1055 : return FieldDescriptorProto_Label_Parse(name, value);
1056 : }
1057 :
1058 : // accessors -------------------------------------------------------
1059 :
1060 : // optional string name = 1;
1061 : bool has_name() const;
1062 : void clear_name();
1063 : static const int kNameFieldNumber = 1;
1064 : const ::std::string& name() const;
1065 : void set_name(const ::std::string& value);
1066 : void set_name(const char* value);
1067 : void set_name(const char* value, size_t size);
1068 : ::std::string* mutable_name();
1069 : ::std::string* release_name();
1070 : void set_allocated_name(::std::string* name);
1071 :
1072 : // optional int32 number = 3;
1073 : bool has_number() const;
1074 : void clear_number();
1075 : static const int kNumberFieldNumber = 3;
1076 : ::google::protobuf::int32 number() const;
1077 : void set_number(::google::protobuf::int32 value);
1078 :
1079 : // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
1080 : bool has_label() const;
1081 : void clear_label();
1082 : static const int kLabelFieldNumber = 4;
1083 : ::google::protobuf::FieldDescriptorProto_Label label() const;
1084 : void set_label(::google::protobuf::FieldDescriptorProto_Label value);
1085 :
1086 : // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
1087 : bool has_type() const;
1088 : void clear_type();
1089 : static const int kTypeFieldNumber = 5;
1090 : ::google::protobuf::FieldDescriptorProto_Type type() const;
1091 : void set_type(::google::protobuf::FieldDescriptorProto_Type value);
1092 :
1093 : // optional string type_name = 6;
1094 : bool has_type_name() const;
1095 : void clear_type_name();
1096 : static const int kTypeNameFieldNumber = 6;
1097 : const ::std::string& type_name() const;
1098 : void set_type_name(const ::std::string& value);
1099 : void set_type_name(const char* value);
1100 : void set_type_name(const char* value, size_t size);
1101 : ::std::string* mutable_type_name();
1102 : ::std::string* release_type_name();
1103 : void set_allocated_type_name(::std::string* type_name);
1104 :
1105 : // optional string extendee = 2;
1106 : bool has_extendee() const;
1107 : void clear_extendee();
1108 : static const int kExtendeeFieldNumber = 2;
1109 : const ::std::string& extendee() const;
1110 : void set_extendee(const ::std::string& value);
1111 : void set_extendee(const char* value);
1112 : void set_extendee(const char* value, size_t size);
1113 : ::std::string* mutable_extendee();
1114 : ::std::string* release_extendee();
1115 : void set_allocated_extendee(::std::string* extendee);
1116 :
1117 : // optional string default_value = 7;
1118 : bool has_default_value() const;
1119 : void clear_default_value();
1120 : static const int kDefaultValueFieldNumber = 7;
1121 : const ::std::string& default_value() const;
1122 : void set_default_value(const ::std::string& value);
1123 : void set_default_value(const char* value);
1124 : void set_default_value(const char* value, size_t size);
1125 : ::std::string* mutable_default_value();
1126 : ::std::string* release_default_value();
1127 : void set_allocated_default_value(::std::string* default_value);
1128 :
1129 : // optional int32 oneof_index = 9;
1130 : bool has_oneof_index() const;
1131 : void clear_oneof_index();
1132 : static const int kOneofIndexFieldNumber = 9;
1133 : ::google::protobuf::int32 oneof_index() const;
1134 : void set_oneof_index(::google::protobuf::int32 value);
1135 :
1136 : // optional .google.protobuf.FieldOptions options = 8;
1137 : bool has_options() const;
1138 : void clear_options();
1139 : static const int kOptionsFieldNumber = 8;
1140 : const ::google::protobuf::FieldOptions& options() const;
1141 : ::google::protobuf::FieldOptions* mutable_options();
1142 : ::google::protobuf::FieldOptions* release_options();
1143 : void set_allocated_options(::google::protobuf::FieldOptions* options);
1144 :
1145 : // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto)
1146 : private:
1147 : inline void set_has_name();
1148 : inline void clear_has_name();
1149 : inline void set_has_number();
1150 : inline void clear_has_number();
1151 : inline void set_has_label();
1152 : inline void clear_has_label();
1153 : inline void set_has_type();
1154 : inline void clear_has_type();
1155 : inline void set_has_type_name();
1156 : inline void clear_has_type_name();
1157 : inline void set_has_extendee();
1158 : inline void clear_has_extendee();
1159 : inline void set_has_default_value();
1160 : inline void clear_has_default_value();
1161 : inline void set_has_oneof_index();
1162 : inline void clear_has_oneof_index();
1163 : inline void set_has_options();
1164 : inline void clear_has_options();
1165 :
1166 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1167 : ::google::protobuf::uint32 _has_bits_[1];
1168 : mutable int _cached_size_;
1169 : ::google::protobuf::internal::ArenaStringPtr name_;
1170 : ::google::protobuf::int32 number_;
1171 : int label_;
1172 : ::google::protobuf::internal::ArenaStringPtr type_name_;
1173 : ::google::protobuf::internal::ArenaStringPtr extendee_;
1174 : int type_;
1175 : ::google::protobuf::int32 oneof_index_;
1176 : ::google::protobuf::internal::ArenaStringPtr default_value_;
1177 : ::google::protobuf::FieldOptions* options_;
1178 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
1179 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1180 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1181 :
1182 : void InitAsDefaultInstance();
1183 : static FieldDescriptorProto* default_instance_;
1184 : };
1185 : // -------------------------------------------------------------------
1186 :
1187 : class LIBPROTOBUF_EXPORT OneofDescriptorProto : public ::google::protobuf::Message {
1188 : public:
1189 : OneofDescriptorProto();
1190 : virtual ~OneofDescriptorProto();
1191 :
1192 : OneofDescriptorProto(const OneofDescriptorProto& from);
1193 :
1194 : inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) {
1195 : CopyFrom(from);
1196 : return *this;
1197 : }
1198 :
1199 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1200 0 : return _internal_metadata_.unknown_fields();
1201 : }
1202 :
1203 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1204 0 : return _internal_metadata_.mutable_unknown_fields();
1205 : }
1206 :
1207 : static const ::google::protobuf::Descriptor* descriptor();
1208 : static const OneofDescriptorProto& default_instance();
1209 :
1210 : void Swap(OneofDescriptorProto* other);
1211 :
1212 : // implements Message ----------------------------------------------
1213 :
1214 0 : inline OneofDescriptorProto* New() const { return New(NULL); }
1215 :
1216 : OneofDescriptorProto* New(::google::protobuf::Arena* arena) const;
1217 : void CopyFrom(const ::google::protobuf::Message& from);
1218 : void MergeFrom(const ::google::protobuf::Message& from);
1219 : void CopyFrom(const OneofDescriptorProto& from);
1220 : void MergeFrom(const OneofDescriptorProto& from);
1221 : void Clear();
1222 : bool IsInitialized() const;
1223 :
1224 : int ByteSize() const;
1225 : bool MergePartialFromCodedStream(
1226 : ::google::protobuf::io::CodedInputStream* input);
1227 : void SerializeWithCachedSizes(
1228 : ::google::protobuf::io::CodedOutputStream* output) const;
1229 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1230 25 : int GetCachedSize() const { return _cached_size_; }
1231 : private:
1232 : void SharedCtor();
1233 : void SharedDtor();
1234 : void SetCachedSize(int size) const;
1235 : void InternalSwap(OneofDescriptorProto* other);
1236 : private:
1237 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1238 : return _internal_metadata_.arena();
1239 : }
1240 : inline void* MaybeArenaPtr() const {
1241 : return _internal_metadata_.raw_arena_ptr();
1242 : }
1243 : public:
1244 :
1245 : ::google::protobuf::Metadata GetMetadata() const;
1246 :
1247 : // nested types ----------------------------------------------------
1248 :
1249 : // accessors -------------------------------------------------------
1250 :
1251 : // optional string name = 1;
1252 : bool has_name() const;
1253 : void clear_name();
1254 : static const int kNameFieldNumber = 1;
1255 : const ::std::string& name() const;
1256 : void set_name(const ::std::string& value);
1257 : void set_name(const char* value);
1258 : void set_name(const char* value, size_t size);
1259 : ::std::string* mutable_name();
1260 : ::std::string* release_name();
1261 : void set_allocated_name(::std::string* name);
1262 :
1263 : // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto)
1264 : private:
1265 : inline void set_has_name();
1266 : inline void clear_has_name();
1267 :
1268 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1269 : ::google::protobuf::uint32 _has_bits_[1];
1270 : mutable int _cached_size_;
1271 : ::google::protobuf::internal::ArenaStringPtr name_;
1272 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
1273 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1274 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1275 :
1276 : void InitAsDefaultInstance();
1277 : static OneofDescriptorProto* default_instance_;
1278 : };
1279 : // -------------------------------------------------------------------
1280 :
1281 : class LIBPROTOBUF_EXPORT EnumDescriptorProto : public ::google::protobuf::Message {
1282 : public:
1283 : EnumDescriptorProto();
1284 : virtual ~EnumDescriptorProto();
1285 :
1286 : EnumDescriptorProto(const EnumDescriptorProto& from);
1287 :
1288 : inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) {
1289 : CopyFrom(from);
1290 : return *this;
1291 : }
1292 :
1293 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1294 0 : return _internal_metadata_.unknown_fields();
1295 : }
1296 :
1297 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1298 0 : return _internal_metadata_.mutable_unknown_fields();
1299 : }
1300 :
1301 : static const ::google::protobuf::Descriptor* descriptor();
1302 : static const EnumDescriptorProto& default_instance();
1303 :
1304 : void Swap(EnumDescriptorProto* other);
1305 :
1306 : // implements Message ----------------------------------------------
1307 :
1308 0 : inline EnumDescriptorProto* New() const { return New(NULL); }
1309 :
1310 : EnumDescriptorProto* New(::google::protobuf::Arena* arena) const;
1311 : void CopyFrom(const ::google::protobuf::Message& from);
1312 : void MergeFrom(const ::google::protobuf::Message& from);
1313 : void CopyFrom(const EnumDescriptorProto& from);
1314 : void MergeFrom(const EnumDescriptorProto& from);
1315 : void Clear();
1316 : bool IsInitialized() const;
1317 :
1318 : int ByteSize() const;
1319 : bool MergePartialFromCodedStream(
1320 : ::google::protobuf::io::CodedInputStream* input);
1321 : void SerializeWithCachedSizes(
1322 : ::google::protobuf::io::CodedOutputStream* output) const;
1323 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1324 55 : int GetCachedSize() const { return _cached_size_; }
1325 : private:
1326 : void SharedCtor();
1327 : void SharedDtor();
1328 : void SetCachedSize(int size) const;
1329 : void InternalSwap(EnumDescriptorProto* other);
1330 : private:
1331 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1332 : return _internal_metadata_.arena();
1333 : }
1334 : inline void* MaybeArenaPtr() const {
1335 : return _internal_metadata_.raw_arena_ptr();
1336 : }
1337 : public:
1338 :
1339 : ::google::protobuf::Metadata GetMetadata() const;
1340 :
1341 : // nested types ----------------------------------------------------
1342 :
1343 : // accessors -------------------------------------------------------
1344 :
1345 : // optional string name = 1;
1346 : bool has_name() const;
1347 : void clear_name();
1348 : static const int kNameFieldNumber = 1;
1349 : const ::std::string& name() const;
1350 : void set_name(const ::std::string& value);
1351 : void set_name(const char* value);
1352 : void set_name(const char* value, size_t size);
1353 : ::std::string* mutable_name();
1354 : ::std::string* release_name();
1355 : void set_allocated_name(::std::string* name);
1356 :
1357 : // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
1358 : int value_size() const;
1359 : void clear_value();
1360 : static const int kValueFieldNumber = 2;
1361 : const ::google::protobuf::EnumValueDescriptorProto& value(int index) const;
1362 : ::google::protobuf::EnumValueDescriptorProto* mutable_value(int index);
1363 : ::google::protobuf::EnumValueDescriptorProto* add_value();
1364 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >*
1365 : mutable_value();
1366 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >&
1367 : value() const;
1368 :
1369 : // optional .google.protobuf.EnumOptions options = 3;
1370 : bool has_options() const;
1371 : void clear_options();
1372 : static const int kOptionsFieldNumber = 3;
1373 : const ::google::protobuf::EnumOptions& options() const;
1374 : ::google::protobuf::EnumOptions* mutable_options();
1375 : ::google::protobuf::EnumOptions* release_options();
1376 : void set_allocated_options(::google::protobuf::EnumOptions* options);
1377 :
1378 : // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto)
1379 : private:
1380 : inline void set_has_name();
1381 : inline void clear_has_name();
1382 : inline void set_has_options();
1383 : inline void clear_has_options();
1384 :
1385 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1386 : ::google::protobuf::uint32 _has_bits_[1];
1387 : mutable int _cached_size_;
1388 : ::google::protobuf::internal::ArenaStringPtr name_;
1389 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto > value_;
1390 : ::google::protobuf::EnumOptions* options_;
1391 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
1392 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1393 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1394 :
1395 : void InitAsDefaultInstance();
1396 : static EnumDescriptorProto* default_instance_;
1397 : };
1398 : // -------------------------------------------------------------------
1399 :
1400 : class LIBPROTOBUF_EXPORT EnumValueDescriptorProto : public ::google::protobuf::Message {
1401 : public:
1402 : EnumValueDescriptorProto();
1403 : virtual ~EnumValueDescriptorProto();
1404 :
1405 : EnumValueDescriptorProto(const EnumValueDescriptorProto& from);
1406 :
1407 : inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) {
1408 : CopyFrom(from);
1409 : return *this;
1410 : }
1411 :
1412 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1413 0 : return _internal_metadata_.unknown_fields();
1414 : }
1415 :
1416 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1417 0 : return _internal_metadata_.mutable_unknown_fields();
1418 : }
1419 :
1420 : static const ::google::protobuf::Descriptor* descriptor();
1421 : static const EnumValueDescriptorProto& default_instance();
1422 :
1423 : void Swap(EnumValueDescriptorProto* other);
1424 :
1425 : // implements Message ----------------------------------------------
1426 :
1427 0 : inline EnumValueDescriptorProto* New() const { return New(NULL); }
1428 :
1429 : EnumValueDescriptorProto* New(::google::protobuf::Arena* arena) const;
1430 : void CopyFrom(const ::google::protobuf::Message& from);
1431 : void MergeFrom(const ::google::protobuf::Message& from);
1432 : void CopyFrom(const EnumValueDescriptorProto& from);
1433 : void MergeFrom(const EnumValueDescriptorProto& from);
1434 : void Clear();
1435 : bool IsInitialized() const;
1436 :
1437 : int ByteSize() const;
1438 : bool MergePartialFromCodedStream(
1439 : ::google::protobuf::io::CodedInputStream* input);
1440 : void SerializeWithCachedSizes(
1441 : ::google::protobuf::io::CodedOutputStream* output) const;
1442 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1443 164 : int GetCachedSize() const { return _cached_size_; }
1444 : private:
1445 : void SharedCtor();
1446 : void SharedDtor();
1447 : void SetCachedSize(int size) const;
1448 : void InternalSwap(EnumValueDescriptorProto* other);
1449 : private:
1450 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1451 : return _internal_metadata_.arena();
1452 : }
1453 : inline void* MaybeArenaPtr() const {
1454 : return _internal_metadata_.raw_arena_ptr();
1455 : }
1456 : public:
1457 :
1458 : ::google::protobuf::Metadata GetMetadata() const;
1459 :
1460 : // nested types ----------------------------------------------------
1461 :
1462 : // accessors -------------------------------------------------------
1463 :
1464 : // optional string name = 1;
1465 : bool has_name() const;
1466 : void clear_name();
1467 : static const int kNameFieldNumber = 1;
1468 : const ::std::string& name() const;
1469 : void set_name(const ::std::string& value);
1470 : void set_name(const char* value);
1471 : void set_name(const char* value, size_t size);
1472 : ::std::string* mutable_name();
1473 : ::std::string* release_name();
1474 : void set_allocated_name(::std::string* name);
1475 :
1476 : // optional int32 number = 2;
1477 : bool has_number() const;
1478 : void clear_number();
1479 : static const int kNumberFieldNumber = 2;
1480 : ::google::protobuf::int32 number() const;
1481 : void set_number(::google::protobuf::int32 value);
1482 :
1483 : // optional .google.protobuf.EnumValueOptions options = 3;
1484 : bool has_options() const;
1485 : void clear_options();
1486 : static const int kOptionsFieldNumber = 3;
1487 : const ::google::protobuf::EnumValueOptions& options() const;
1488 : ::google::protobuf::EnumValueOptions* mutable_options();
1489 : ::google::protobuf::EnumValueOptions* release_options();
1490 : void set_allocated_options(::google::protobuf::EnumValueOptions* options);
1491 :
1492 : // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto)
1493 : private:
1494 : inline void set_has_name();
1495 : inline void clear_has_name();
1496 : inline void set_has_number();
1497 : inline void clear_has_number();
1498 : inline void set_has_options();
1499 : inline void clear_has_options();
1500 :
1501 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1502 : ::google::protobuf::uint32 _has_bits_[1];
1503 : mutable int _cached_size_;
1504 : ::google::protobuf::internal::ArenaStringPtr name_;
1505 : ::google::protobuf::EnumValueOptions* options_;
1506 : ::google::protobuf::int32 number_;
1507 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
1508 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1509 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1510 :
1511 : void InitAsDefaultInstance();
1512 : static EnumValueDescriptorProto* default_instance_;
1513 : };
1514 : // -------------------------------------------------------------------
1515 :
1516 : class LIBPROTOBUF_EXPORT ServiceDescriptorProto : public ::google::protobuf::Message {
1517 : public:
1518 : ServiceDescriptorProto();
1519 : virtual ~ServiceDescriptorProto();
1520 :
1521 : ServiceDescriptorProto(const ServiceDescriptorProto& from);
1522 :
1523 : inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) {
1524 : CopyFrom(from);
1525 : return *this;
1526 : }
1527 :
1528 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1529 0 : return _internal_metadata_.unknown_fields();
1530 : }
1531 :
1532 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1533 0 : return _internal_metadata_.mutable_unknown_fields();
1534 : }
1535 :
1536 : static const ::google::protobuf::Descriptor* descriptor();
1537 : static const ServiceDescriptorProto& default_instance();
1538 :
1539 : void Swap(ServiceDescriptorProto* other);
1540 :
1541 : // implements Message ----------------------------------------------
1542 :
1543 0 : inline ServiceDescriptorProto* New() const { return New(NULL); }
1544 :
1545 : ServiceDescriptorProto* New(::google::protobuf::Arena* arena) const;
1546 : void CopyFrom(const ::google::protobuf::Message& from);
1547 : void MergeFrom(const ::google::protobuf::Message& from);
1548 : void CopyFrom(const ServiceDescriptorProto& from);
1549 : void MergeFrom(const ServiceDescriptorProto& from);
1550 : void Clear();
1551 : bool IsInitialized() const;
1552 :
1553 : int ByteSize() const;
1554 : bool MergePartialFromCodedStream(
1555 : ::google::protobuf::io::CodedInputStream* input);
1556 : void SerializeWithCachedSizes(
1557 : ::google::protobuf::io::CodedOutputStream* output) const;
1558 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1559 32 : int GetCachedSize() const { return _cached_size_; }
1560 : private:
1561 : void SharedCtor();
1562 : void SharedDtor();
1563 : void SetCachedSize(int size) const;
1564 : void InternalSwap(ServiceDescriptorProto* other);
1565 : private:
1566 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1567 : return _internal_metadata_.arena();
1568 : }
1569 : inline void* MaybeArenaPtr() const {
1570 : return _internal_metadata_.raw_arena_ptr();
1571 : }
1572 : public:
1573 :
1574 : ::google::protobuf::Metadata GetMetadata() const;
1575 :
1576 : // nested types ----------------------------------------------------
1577 :
1578 : // accessors -------------------------------------------------------
1579 :
1580 : // optional string name = 1;
1581 : bool has_name() const;
1582 : void clear_name();
1583 : static const int kNameFieldNumber = 1;
1584 : const ::std::string& name() const;
1585 : void set_name(const ::std::string& value);
1586 : void set_name(const char* value);
1587 : void set_name(const char* value, size_t size);
1588 : ::std::string* mutable_name();
1589 : ::std::string* release_name();
1590 : void set_allocated_name(::std::string* name);
1591 :
1592 : // repeated .google.protobuf.MethodDescriptorProto method = 2;
1593 : int method_size() const;
1594 : void clear_method();
1595 : static const int kMethodFieldNumber = 2;
1596 : const ::google::protobuf::MethodDescriptorProto& method(int index) const;
1597 : ::google::protobuf::MethodDescriptorProto* mutable_method(int index);
1598 : ::google::protobuf::MethodDescriptorProto* add_method();
1599 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >*
1600 : mutable_method();
1601 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >&
1602 : method() const;
1603 :
1604 : // optional .google.protobuf.ServiceOptions options = 3;
1605 : bool has_options() const;
1606 : void clear_options();
1607 : static const int kOptionsFieldNumber = 3;
1608 : const ::google::protobuf::ServiceOptions& options() const;
1609 : ::google::protobuf::ServiceOptions* mutable_options();
1610 : ::google::protobuf::ServiceOptions* release_options();
1611 : void set_allocated_options(::google::protobuf::ServiceOptions* options);
1612 :
1613 : // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto)
1614 : private:
1615 : inline void set_has_name();
1616 : inline void clear_has_name();
1617 : inline void set_has_options();
1618 : inline void clear_has_options();
1619 :
1620 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1621 : ::google::protobuf::uint32 _has_bits_[1];
1622 : mutable int _cached_size_;
1623 : ::google::protobuf::internal::ArenaStringPtr name_;
1624 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto > method_;
1625 : ::google::protobuf::ServiceOptions* options_;
1626 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
1627 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1628 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1629 :
1630 : void InitAsDefaultInstance();
1631 : static ServiceDescriptorProto* default_instance_;
1632 : };
1633 : // -------------------------------------------------------------------
1634 :
1635 : class LIBPROTOBUF_EXPORT MethodDescriptorProto : public ::google::protobuf::Message {
1636 : public:
1637 : MethodDescriptorProto();
1638 : virtual ~MethodDescriptorProto();
1639 :
1640 : MethodDescriptorProto(const MethodDescriptorProto& from);
1641 :
1642 : inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) {
1643 : CopyFrom(from);
1644 : return *this;
1645 : }
1646 :
1647 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1648 0 : return _internal_metadata_.unknown_fields();
1649 : }
1650 :
1651 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1652 0 : return _internal_metadata_.mutable_unknown_fields();
1653 : }
1654 :
1655 : static const ::google::protobuf::Descriptor* descriptor();
1656 : static const MethodDescriptorProto& default_instance();
1657 :
1658 : void Swap(MethodDescriptorProto* other);
1659 :
1660 : // implements Message ----------------------------------------------
1661 :
1662 0 : inline MethodDescriptorProto* New() const { return New(NULL); }
1663 :
1664 : MethodDescriptorProto* New(::google::protobuf::Arena* arena) const;
1665 : void CopyFrom(const ::google::protobuf::Message& from);
1666 : void MergeFrom(const ::google::protobuf::Message& from);
1667 : void CopyFrom(const MethodDescriptorProto& from);
1668 : void MergeFrom(const MethodDescriptorProto& from);
1669 : void Clear();
1670 : bool IsInitialized() const;
1671 :
1672 : int ByteSize() const;
1673 : bool MergePartialFromCodedStream(
1674 : ::google::protobuf::io::CodedInputStream* input);
1675 : void SerializeWithCachedSizes(
1676 : ::google::protobuf::io::CodedOutputStream* output) const;
1677 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1678 60 : int GetCachedSize() const { return _cached_size_; }
1679 : private:
1680 : void SharedCtor();
1681 : void SharedDtor();
1682 : void SetCachedSize(int size) const;
1683 : void InternalSwap(MethodDescriptorProto* other);
1684 : private:
1685 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1686 : return _internal_metadata_.arena();
1687 : }
1688 : inline void* MaybeArenaPtr() const {
1689 : return _internal_metadata_.raw_arena_ptr();
1690 : }
1691 : public:
1692 :
1693 : ::google::protobuf::Metadata GetMetadata() const;
1694 :
1695 : // nested types ----------------------------------------------------
1696 :
1697 : // accessors -------------------------------------------------------
1698 :
1699 : // optional string name = 1;
1700 : bool has_name() const;
1701 : void clear_name();
1702 : static const int kNameFieldNumber = 1;
1703 : const ::std::string& name() const;
1704 : void set_name(const ::std::string& value);
1705 : void set_name(const char* value);
1706 : void set_name(const char* value, size_t size);
1707 : ::std::string* mutable_name();
1708 : ::std::string* release_name();
1709 : void set_allocated_name(::std::string* name);
1710 :
1711 : // optional string input_type = 2;
1712 : bool has_input_type() const;
1713 : void clear_input_type();
1714 : static const int kInputTypeFieldNumber = 2;
1715 : const ::std::string& input_type() const;
1716 : void set_input_type(const ::std::string& value);
1717 : void set_input_type(const char* value);
1718 : void set_input_type(const char* value, size_t size);
1719 : ::std::string* mutable_input_type();
1720 : ::std::string* release_input_type();
1721 : void set_allocated_input_type(::std::string* input_type);
1722 :
1723 : // optional string output_type = 3;
1724 : bool has_output_type() const;
1725 : void clear_output_type();
1726 : static const int kOutputTypeFieldNumber = 3;
1727 : const ::std::string& output_type() const;
1728 : void set_output_type(const ::std::string& value);
1729 : void set_output_type(const char* value);
1730 : void set_output_type(const char* value, size_t size);
1731 : ::std::string* mutable_output_type();
1732 : ::std::string* release_output_type();
1733 : void set_allocated_output_type(::std::string* output_type);
1734 :
1735 : // optional .google.protobuf.MethodOptions options = 4;
1736 : bool has_options() const;
1737 : void clear_options();
1738 : static const int kOptionsFieldNumber = 4;
1739 : const ::google::protobuf::MethodOptions& options() const;
1740 : ::google::protobuf::MethodOptions* mutable_options();
1741 : ::google::protobuf::MethodOptions* release_options();
1742 : void set_allocated_options(::google::protobuf::MethodOptions* options);
1743 :
1744 : // optional bool client_streaming = 5 [default = false];
1745 : bool has_client_streaming() const;
1746 : void clear_client_streaming();
1747 : static const int kClientStreamingFieldNumber = 5;
1748 : bool client_streaming() const;
1749 : void set_client_streaming(bool value);
1750 :
1751 : // optional bool server_streaming = 6 [default = false];
1752 : bool has_server_streaming() const;
1753 : void clear_server_streaming();
1754 : static const int kServerStreamingFieldNumber = 6;
1755 : bool server_streaming() const;
1756 : void set_server_streaming(bool value);
1757 :
1758 : // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto)
1759 : private:
1760 : inline void set_has_name();
1761 : inline void clear_has_name();
1762 : inline void set_has_input_type();
1763 : inline void clear_has_input_type();
1764 : inline void set_has_output_type();
1765 : inline void clear_has_output_type();
1766 : inline void set_has_options();
1767 : inline void clear_has_options();
1768 : inline void set_has_client_streaming();
1769 : inline void clear_has_client_streaming();
1770 : inline void set_has_server_streaming();
1771 : inline void clear_has_server_streaming();
1772 :
1773 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1774 : ::google::protobuf::uint32 _has_bits_[1];
1775 : mutable int _cached_size_;
1776 : ::google::protobuf::internal::ArenaStringPtr name_;
1777 : ::google::protobuf::internal::ArenaStringPtr input_type_;
1778 : ::google::protobuf::internal::ArenaStringPtr output_type_;
1779 : ::google::protobuf::MethodOptions* options_;
1780 : bool client_streaming_;
1781 : bool server_streaming_;
1782 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
1783 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
1784 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1785 :
1786 : void InitAsDefaultInstance();
1787 : static MethodDescriptorProto* default_instance_;
1788 : };
1789 : // -------------------------------------------------------------------
1790 :
1791 : class LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message {
1792 : public:
1793 : FileOptions();
1794 : virtual ~FileOptions();
1795 :
1796 : FileOptions(const FileOptions& from);
1797 :
1798 : inline FileOptions& operator=(const FileOptions& from) {
1799 : CopyFrom(from);
1800 : return *this;
1801 : }
1802 :
1803 144 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1804 288 : return _internal_metadata_.unknown_fields();
1805 : }
1806 :
1807 63 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1808 126 : return _internal_metadata_.mutable_unknown_fields();
1809 : }
1810 :
1811 : static const ::google::protobuf::Descriptor* descriptor();
1812 : static const FileOptions& default_instance();
1813 :
1814 : void Swap(FileOptions* other);
1815 :
1816 : // implements Message ----------------------------------------------
1817 :
1818 0 : inline FileOptions* New() const { return New(NULL); }
1819 :
1820 : FileOptions* New(::google::protobuf::Arena* arena) const;
1821 : void CopyFrom(const ::google::protobuf::Message& from);
1822 : void MergeFrom(const ::google::protobuf::Message& from);
1823 : void CopyFrom(const FileOptions& from);
1824 : void MergeFrom(const FileOptions& from);
1825 : void Clear();
1826 : bool IsInitialized() const;
1827 :
1828 : int ByteSize() const;
1829 : bool MergePartialFromCodedStream(
1830 : ::google::protobuf::io::CodedInputStream* input);
1831 : void SerializeWithCachedSizes(
1832 : ::google::protobuf::io::CodedOutputStream* output) const;
1833 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1834 22 : int GetCachedSize() const { return _cached_size_; }
1835 : private:
1836 : void SharedCtor();
1837 : void SharedDtor();
1838 : void SetCachedSize(int size) const;
1839 : void InternalSwap(FileOptions* other);
1840 : private:
1841 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1842 : return _internal_metadata_.arena();
1843 : }
1844 : inline void* MaybeArenaPtr() const {
1845 : return _internal_metadata_.raw_arena_ptr();
1846 : }
1847 : public:
1848 :
1849 : ::google::protobuf::Metadata GetMetadata() const;
1850 :
1851 : // nested types ----------------------------------------------------
1852 :
1853 : typedef FileOptions_OptimizeMode OptimizeMode;
1854 : static const OptimizeMode SPEED = FileOptions_OptimizeMode_SPEED;
1855 : static const OptimizeMode CODE_SIZE = FileOptions_OptimizeMode_CODE_SIZE;
1856 : static const OptimizeMode LITE_RUNTIME = FileOptions_OptimizeMode_LITE_RUNTIME;
1857 : static inline bool OptimizeMode_IsValid(int value) {
1858 : return FileOptions_OptimizeMode_IsValid(value);
1859 : }
1860 : static const OptimizeMode OptimizeMode_MIN =
1861 : FileOptions_OptimizeMode_OptimizeMode_MIN;
1862 : static const OptimizeMode OptimizeMode_MAX =
1863 : FileOptions_OptimizeMode_OptimizeMode_MAX;
1864 : static const int OptimizeMode_ARRAYSIZE =
1865 : FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE;
1866 : static inline const ::google::protobuf::EnumDescriptor*
1867 : OptimizeMode_descriptor() {
1868 : return FileOptions_OptimizeMode_descriptor();
1869 : }
1870 : static inline const ::std::string& OptimizeMode_Name(OptimizeMode value) {
1871 : return FileOptions_OptimizeMode_Name(value);
1872 : }
1873 : static inline bool OptimizeMode_Parse(const ::std::string& name,
1874 : OptimizeMode* value) {
1875 : return FileOptions_OptimizeMode_Parse(name, value);
1876 : }
1877 :
1878 : // accessors -------------------------------------------------------
1879 :
1880 : // optional string java_package = 1;
1881 : bool has_java_package() const;
1882 : void clear_java_package();
1883 : static const int kJavaPackageFieldNumber = 1;
1884 : const ::std::string& java_package() const;
1885 : void set_java_package(const ::std::string& value);
1886 : void set_java_package(const char* value);
1887 : void set_java_package(const char* value, size_t size);
1888 : ::std::string* mutable_java_package();
1889 : ::std::string* release_java_package();
1890 : void set_allocated_java_package(::std::string* java_package);
1891 :
1892 : // optional string java_outer_classname = 8;
1893 : bool has_java_outer_classname() const;
1894 : void clear_java_outer_classname();
1895 : static const int kJavaOuterClassnameFieldNumber = 8;
1896 : const ::std::string& java_outer_classname() const;
1897 : void set_java_outer_classname(const ::std::string& value);
1898 : void set_java_outer_classname(const char* value);
1899 : void set_java_outer_classname(const char* value, size_t size);
1900 : ::std::string* mutable_java_outer_classname();
1901 : ::std::string* release_java_outer_classname();
1902 : void set_allocated_java_outer_classname(::std::string* java_outer_classname);
1903 :
1904 : // optional bool java_multiple_files = 10 [default = false];
1905 : bool has_java_multiple_files() const;
1906 : void clear_java_multiple_files();
1907 : static const int kJavaMultipleFilesFieldNumber = 10;
1908 : bool java_multiple_files() const;
1909 : void set_java_multiple_files(bool value);
1910 :
1911 : // optional bool java_generate_equals_and_hash = 20 [default = false];
1912 : bool has_java_generate_equals_and_hash() const;
1913 : void clear_java_generate_equals_and_hash();
1914 : static const int kJavaGenerateEqualsAndHashFieldNumber = 20;
1915 : bool java_generate_equals_and_hash() const;
1916 : void set_java_generate_equals_and_hash(bool value);
1917 :
1918 : // optional bool java_string_check_utf8 = 27 [default = false];
1919 : bool has_java_string_check_utf8() const;
1920 : void clear_java_string_check_utf8();
1921 : static const int kJavaStringCheckUtf8FieldNumber = 27;
1922 : bool java_string_check_utf8() const;
1923 : void set_java_string_check_utf8(bool value);
1924 :
1925 : // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
1926 : bool has_optimize_for() const;
1927 : void clear_optimize_for();
1928 : static const int kOptimizeForFieldNumber = 9;
1929 : ::google::protobuf::FileOptions_OptimizeMode optimize_for() const;
1930 : void set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value);
1931 :
1932 : // optional string go_package = 11;
1933 : bool has_go_package() const;
1934 : void clear_go_package();
1935 : static const int kGoPackageFieldNumber = 11;
1936 : const ::std::string& go_package() const;
1937 : void set_go_package(const ::std::string& value);
1938 : void set_go_package(const char* value);
1939 : void set_go_package(const char* value, size_t size);
1940 : ::std::string* mutable_go_package();
1941 : ::std::string* release_go_package();
1942 : void set_allocated_go_package(::std::string* go_package);
1943 :
1944 : // optional bool cc_generic_services = 16 [default = false];
1945 : bool has_cc_generic_services() const;
1946 : void clear_cc_generic_services();
1947 : static const int kCcGenericServicesFieldNumber = 16;
1948 : bool cc_generic_services() const;
1949 : void set_cc_generic_services(bool value);
1950 :
1951 : // optional bool java_generic_services = 17 [default = false];
1952 : bool has_java_generic_services() const;
1953 : void clear_java_generic_services();
1954 : static const int kJavaGenericServicesFieldNumber = 17;
1955 : bool java_generic_services() const;
1956 : void set_java_generic_services(bool value);
1957 :
1958 : // optional bool py_generic_services = 18 [default = false];
1959 : bool has_py_generic_services() const;
1960 : void clear_py_generic_services();
1961 : static const int kPyGenericServicesFieldNumber = 18;
1962 : bool py_generic_services() const;
1963 : void set_py_generic_services(bool value);
1964 :
1965 : // optional bool deprecated = 23 [default = false];
1966 : bool has_deprecated() const;
1967 : void clear_deprecated();
1968 : static const int kDeprecatedFieldNumber = 23;
1969 : bool deprecated() const;
1970 : void set_deprecated(bool value);
1971 :
1972 : // optional bool cc_enable_arenas = 31 [default = false];
1973 : bool has_cc_enable_arenas() const;
1974 : void clear_cc_enable_arenas();
1975 : static const int kCcEnableArenasFieldNumber = 31;
1976 : bool cc_enable_arenas() const;
1977 : void set_cc_enable_arenas(bool value);
1978 :
1979 : // optional string objc_class_prefix = 36;
1980 : bool has_objc_class_prefix() const;
1981 : void clear_objc_class_prefix();
1982 : static const int kObjcClassPrefixFieldNumber = 36;
1983 : const ::std::string& objc_class_prefix() const;
1984 : void set_objc_class_prefix(const ::std::string& value);
1985 : void set_objc_class_prefix(const char* value);
1986 : void set_objc_class_prefix(const char* value, size_t size);
1987 : ::std::string* mutable_objc_class_prefix();
1988 : ::std::string* release_objc_class_prefix();
1989 : void set_allocated_objc_class_prefix(::std::string* objc_class_prefix);
1990 :
1991 : // optional string csharp_namespace = 37;
1992 : bool has_csharp_namespace() const;
1993 : void clear_csharp_namespace();
1994 : static const int kCsharpNamespaceFieldNumber = 37;
1995 : const ::std::string& csharp_namespace() const;
1996 : void set_csharp_namespace(const ::std::string& value);
1997 : void set_csharp_namespace(const char* value);
1998 : void set_csharp_namespace(const char* value, size_t size);
1999 : ::std::string* mutable_csharp_namespace();
2000 : ::std::string* release_csharp_namespace();
2001 : void set_allocated_csharp_namespace(::std::string* csharp_namespace);
2002 :
2003 : // optional bool javanano_use_deprecated_package = 38;
2004 : bool has_javanano_use_deprecated_package() const;
2005 : void clear_javanano_use_deprecated_package();
2006 : static const int kJavananoUseDeprecatedPackageFieldNumber = 38;
2007 : bool javanano_use_deprecated_package() const;
2008 : void set_javanano_use_deprecated_package(bool value);
2009 :
2010 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2011 : int uninterpreted_option_size() const;
2012 : void clear_uninterpreted_option();
2013 : static const int kUninterpretedOptionFieldNumber = 999;
2014 : const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2015 : ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
2016 : ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2017 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2018 : mutable_uninterpreted_option();
2019 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
2020 : uninterpreted_option() const;
2021 :
2022 : GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions)
2023 : // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions)
2024 : private:
2025 : inline void set_has_java_package();
2026 : inline void clear_has_java_package();
2027 : inline void set_has_java_outer_classname();
2028 : inline void clear_has_java_outer_classname();
2029 : inline void set_has_java_multiple_files();
2030 : inline void clear_has_java_multiple_files();
2031 : inline void set_has_java_generate_equals_and_hash();
2032 : inline void clear_has_java_generate_equals_and_hash();
2033 : inline void set_has_java_string_check_utf8();
2034 : inline void clear_has_java_string_check_utf8();
2035 : inline void set_has_optimize_for();
2036 : inline void clear_has_optimize_for();
2037 : inline void set_has_go_package();
2038 : inline void clear_has_go_package();
2039 : inline void set_has_cc_generic_services();
2040 : inline void clear_has_cc_generic_services();
2041 : inline void set_has_java_generic_services();
2042 : inline void clear_has_java_generic_services();
2043 : inline void set_has_py_generic_services();
2044 : inline void clear_has_py_generic_services();
2045 : inline void set_has_deprecated();
2046 : inline void clear_has_deprecated();
2047 : inline void set_has_cc_enable_arenas();
2048 : inline void clear_has_cc_enable_arenas();
2049 : inline void set_has_objc_class_prefix();
2050 : inline void clear_has_objc_class_prefix();
2051 : inline void set_has_csharp_namespace();
2052 : inline void clear_has_csharp_namespace();
2053 : inline void set_has_javanano_use_deprecated_package();
2054 : inline void clear_has_javanano_use_deprecated_package();
2055 :
2056 : ::google::protobuf::internal::ExtensionSet _extensions_;
2057 :
2058 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2059 : ::google::protobuf::uint32 _has_bits_[1];
2060 : mutable int _cached_size_;
2061 : ::google::protobuf::internal::ArenaStringPtr java_package_;
2062 : ::google::protobuf::internal::ArenaStringPtr java_outer_classname_;
2063 : bool java_multiple_files_;
2064 : bool java_generate_equals_and_hash_;
2065 : bool java_string_check_utf8_;
2066 : bool cc_generic_services_;
2067 : int optimize_for_;
2068 : ::google::protobuf::internal::ArenaStringPtr go_package_;
2069 : bool java_generic_services_;
2070 : bool py_generic_services_;
2071 : bool deprecated_;
2072 : bool cc_enable_arenas_;
2073 : bool javanano_use_deprecated_package_;
2074 : ::google::protobuf::internal::ArenaStringPtr objc_class_prefix_;
2075 : ::google::protobuf::internal::ArenaStringPtr csharp_namespace_;
2076 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2077 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2078 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2079 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2080 :
2081 : void InitAsDefaultInstance();
2082 : static FileOptions* default_instance_;
2083 : };
2084 : // -------------------------------------------------------------------
2085 :
2086 : class LIBPROTOBUF_EXPORT MessageOptions : public ::google::protobuf::Message {
2087 : public:
2088 : MessageOptions();
2089 : virtual ~MessageOptions();
2090 :
2091 : MessageOptions(const MessageOptions& from);
2092 :
2093 : inline MessageOptions& operator=(const MessageOptions& from) {
2094 : CopyFrom(from);
2095 : return *this;
2096 : }
2097 :
2098 55 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2099 110 : return _internal_metadata_.unknown_fields();
2100 : }
2101 :
2102 77 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2103 154 : return _internal_metadata_.mutable_unknown_fields();
2104 : }
2105 :
2106 : static const ::google::protobuf::Descriptor* descriptor();
2107 : static const MessageOptions& default_instance();
2108 :
2109 : void Swap(MessageOptions* other);
2110 :
2111 : // implements Message ----------------------------------------------
2112 :
2113 0 : inline MessageOptions* New() const { return New(NULL); }
2114 :
2115 : MessageOptions* New(::google::protobuf::Arena* arena) const;
2116 : void CopyFrom(const ::google::protobuf::Message& from);
2117 : void MergeFrom(const ::google::protobuf::Message& from);
2118 : void CopyFrom(const MessageOptions& from);
2119 : void MergeFrom(const MessageOptions& from);
2120 : void Clear();
2121 : bool IsInitialized() const;
2122 :
2123 : int ByteSize() const;
2124 : bool MergePartialFromCodedStream(
2125 : ::google::protobuf::io::CodedInputStream* input);
2126 : void SerializeWithCachedSizes(
2127 : ::google::protobuf::io::CodedOutputStream* output) const;
2128 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2129 92 : int GetCachedSize() const { return _cached_size_; }
2130 : private:
2131 : void SharedCtor();
2132 : void SharedDtor();
2133 : void SetCachedSize(int size) const;
2134 : void InternalSwap(MessageOptions* other);
2135 : private:
2136 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2137 : return _internal_metadata_.arena();
2138 : }
2139 : inline void* MaybeArenaPtr() const {
2140 : return _internal_metadata_.raw_arena_ptr();
2141 : }
2142 : public:
2143 :
2144 : ::google::protobuf::Metadata GetMetadata() const;
2145 :
2146 : // nested types ----------------------------------------------------
2147 :
2148 : // accessors -------------------------------------------------------
2149 :
2150 : // optional bool message_set_wire_format = 1 [default = false];
2151 : bool has_message_set_wire_format() const;
2152 : void clear_message_set_wire_format();
2153 : static const int kMessageSetWireFormatFieldNumber = 1;
2154 : bool message_set_wire_format() const;
2155 : void set_message_set_wire_format(bool value);
2156 :
2157 : // optional bool no_standard_descriptor_accessor = 2 [default = false];
2158 : bool has_no_standard_descriptor_accessor() const;
2159 : void clear_no_standard_descriptor_accessor();
2160 : static const int kNoStandardDescriptorAccessorFieldNumber = 2;
2161 : bool no_standard_descriptor_accessor() const;
2162 : void set_no_standard_descriptor_accessor(bool value);
2163 :
2164 : // optional bool deprecated = 3 [default = false];
2165 : bool has_deprecated() const;
2166 : void clear_deprecated();
2167 : static const int kDeprecatedFieldNumber = 3;
2168 : bool deprecated() const;
2169 : void set_deprecated(bool value);
2170 :
2171 : // optional bool map_entry = 7;
2172 : bool has_map_entry() const;
2173 : void clear_map_entry();
2174 : static const int kMapEntryFieldNumber = 7;
2175 : bool map_entry() const;
2176 : void set_map_entry(bool value);
2177 :
2178 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2179 : int uninterpreted_option_size() const;
2180 : void clear_uninterpreted_option();
2181 : static const int kUninterpretedOptionFieldNumber = 999;
2182 : const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2183 : ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
2184 : ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2185 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2186 : mutable_uninterpreted_option();
2187 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
2188 : uninterpreted_option() const;
2189 :
2190 : GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions)
2191 : // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions)
2192 : private:
2193 : inline void set_has_message_set_wire_format();
2194 : inline void clear_has_message_set_wire_format();
2195 : inline void set_has_no_standard_descriptor_accessor();
2196 : inline void clear_has_no_standard_descriptor_accessor();
2197 : inline void set_has_deprecated();
2198 : inline void clear_has_deprecated();
2199 : inline void set_has_map_entry();
2200 : inline void clear_has_map_entry();
2201 :
2202 : ::google::protobuf::internal::ExtensionSet _extensions_;
2203 :
2204 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2205 : ::google::protobuf::uint32 _has_bits_[1];
2206 : mutable int _cached_size_;
2207 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2208 : bool message_set_wire_format_;
2209 : bool no_standard_descriptor_accessor_;
2210 : bool deprecated_;
2211 : bool map_entry_;
2212 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2213 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2214 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2215 :
2216 : void InitAsDefaultInstance();
2217 : static MessageOptions* default_instance_;
2218 : };
2219 : // -------------------------------------------------------------------
2220 :
2221 : class LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message {
2222 : public:
2223 : FieldOptions();
2224 : virtual ~FieldOptions();
2225 :
2226 : FieldOptions(const FieldOptions& from);
2227 :
2228 : inline FieldOptions& operator=(const FieldOptions& from) {
2229 : CopyFrom(from);
2230 : return *this;
2231 : }
2232 :
2233 924 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2234 1848 : return _internal_metadata_.unknown_fields();
2235 : }
2236 :
2237 383 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2238 766 : return _internal_metadata_.mutable_unknown_fields();
2239 : }
2240 :
2241 : static const ::google::protobuf::Descriptor* descriptor();
2242 : static const FieldOptions& default_instance();
2243 :
2244 : void Swap(FieldOptions* other);
2245 :
2246 : // implements Message ----------------------------------------------
2247 :
2248 0 : inline FieldOptions* New() const { return New(NULL); }
2249 :
2250 : FieldOptions* New(::google::protobuf::Arena* arena) const;
2251 : void CopyFrom(const ::google::protobuf::Message& from);
2252 : void MergeFrom(const ::google::protobuf::Message& from);
2253 : void CopyFrom(const FieldOptions& from);
2254 : void MergeFrom(const FieldOptions& from);
2255 : void Clear();
2256 : bool IsInitialized() const;
2257 :
2258 : int ByteSize() const;
2259 : bool MergePartialFromCodedStream(
2260 : ::google::protobuf::io::CodedInputStream* input);
2261 : void SerializeWithCachedSizes(
2262 : ::google::protobuf::io::CodedOutputStream* output) const;
2263 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2264 166 : int GetCachedSize() const { return _cached_size_; }
2265 : private:
2266 : void SharedCtor();
2267 : void SharedDtor();
2268 : void SetCachedSize(int size) const;
2269 : void InternalSwap(FieldOptions* other);
2270 : private:
2271 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2272 : return _internal_metadata_.arena();
2273 : }
2274 : inline void* MaybeArenaPtr() const {
2275 : return _internal_metadata_.raw_arena_ptr();
2276 : }
2277 : public:
2278 :
2279 : ::google::protobuf::Metadata GetMetadata() const;
2280 :
2281 : // nested types ----------------------------------------------------
2282 :
2283 : typedef FieldOptions_CType CType;
2284 : static const CType STRING = FieldOptions_CType_STRING;
2285 : static const CType CORD = FieldOptions_CType_CORD;
2286 : static const CType STRING_PIECE = FieldOptions_CType_STRING_PIECE;
2287 : static inline bool CType_IsValid(int value) {
2288 : return FieldOptions_CType_IsValid(value);
2289 : }
2290 : static const CType CType_MIN =
2291 : FieldOptions_CType_CType_MIN;
2292 : static const CType CType_MAX =
2293 : FieldOptions_CType_CType_MAX;
2294 : static const int CType_ARRAYSIZE =
2295 : FieldOptions_CType_CType_ARRAYSIZE;
2296 : static inline const ::google::protobuf::EnumDescriptor*
2297 : CType_descriptor() {
2298 : return FieldOptions_CType_descriptor();
2299 : }
2300 : static inline const ::std::string& CType_Name(CType value) {
2301 : return FieldOptions_CType_Name(value);
2302 : }
2303 : static inline bool CType_Parse(const ::std::string& name,
2304 : CType* value) {
2305 : return FieldOptions_CType_Parse(name, value);
2306 : }
2307 :
2308 : typedef FieldOptions_JSType JSType;
2309 : static const JSType JS_NORMAL = FieldOptions_JSType_JS_NORMAL;
2310 : static const JSType JS_STRING = FieldOptions_JSType_JS_STRING;
2311 : static const JSType JS_NUMBER = FieldOptions_JSType_JS_NUMBER;
2312 : static inline bool JSType_IsValid(int value) {
2313 : return FieldOptions_JSType_IsValid(value);
2314 : }
2315 : static const JSType JSType_MIN =
2316 : FieldOptions_JSType_JSType_MIN;
2317 : static const JSType JSType_MAX =
2318 : FieldOptions_JSType_JSType_MAX;
2319 : static const int JSType_ARRAYSIZE =
2320 : FieldOptions_JSType_JSType_ARRAYSIZE;
2321 : static inline const ::google::protobuf::EnumDescriptor*
2322 : JSType_descriptor() {
2323 : return FieldOptions_JSType_descriptor();
2324 : }
2325 : static inline const ::std::string& JSType_Name(JSType value) {
2326 : return FieldOptions_JSType_Name(value);
2327 : }
2328 : static inline bool JSType_Parse(const ::std::string& name,
2329 : JSType* value) {
2330 : return FieldOptions_JSType_Parse(name, value);
2331 : }
2332 :
2333 : // accessors -------------------------------------------------------
2334 :
2335 : // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
2336 : bool has_ctype() const;
2337 : void clear_ctype();
2338 : static const int kCtypeFieldNumber = 1;
2339 : ::google::protobuf::FieldOptions_CType ctype() const;
2340 : void set_ctype(::google::protobuf::FieldOptions_CType value);
2341 :
2342 : // optional bool packed = 2;
2343 : bool has_packed() const;
2344 : void clear_packed();
2345 : static const int kPackedFieldNumber = 2;
2346 : bool packed() const;
2347 : void set_packed(bool value);
2348 :
2349 : // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
2350 : bool has_jstype() const;
2351 : void clear_jstype();
2352 : static const int kJstypeFieldNumber = 6;
2353 : ::google::protobuf::FieldOptions_JSType jstype() const;
2354 : void set_jstype(::google::protobuf::FieldOptions_JSType value);
2355 :
2356 : // optional bool lazy = 5 [default = false];
2357 : bool has_lazy() const;
2358 : void clear_lazy();
2359 : static const int kLazyFieldNumber = 5;
2360 : bool lazy() const;
2361 : void set_lazy(bool value);
2362 :
2363 : // optional bool deprecated = 3 [default = false];
2364 : bool has_deprecated() const;
2365 : void clear_deprecated();
2366 : static const int kDeprecatedFieldNumber = 3;
2367 : bool deprecated() const;
2368 : void set_deprecated(bool value);
2369 :
2370 : // optional bool weak = 10 [default = false];
2371 : bool has_weak() const;
2372 : void clear_weak();
2373 : static const int kWeakFieldNumber = 10;
2374 : bool weak() const;
2375 : void set_weak(bool value);
2376 :
2377 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2378 : int uninterpreted_option_size() const;
2379 : void clear_uninterpreted_option();
2380 : static const int kUninterpretedOptionFieldNumber = 999;
2381 : const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2382 : ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
2383 : ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2384 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2385 : mutable_uninterpreted_option();
2386 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
2387 : uninterpreted_option() const;
2388 :
2389 : GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions)
2390 : // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions)
2391 : private:
2392 : inline void set_has_ctype();
2393 : inline void clear_has_ctype();
2394 : inline void set_has_packed();
2395 : inline void clear_has_packed();
2396 : inline void set_has_jstype();
2397 : inline void clear_has_jstype();
2398 : inline void set_has_lazy();
2399 : inline void clear_has_lazy();
2400 : inline void set_has_deprecated();
2401 : inline void clear_has_deprecated();
2402 : inline void set_has_weak();
2403 : inline void clear_has_weak();
2404 :
2405 : ::google::protobuf::internal::ExtensionSet _extensions_;
2406 :
2407 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2408 : ::google::protobuf::uint32 _has_bits_[1];
2409 : mutable int _cached_size_;
2410 : int ctype_;
2411 : int jstype_;
2412 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2413 : bool packed_;
2414 : bool lazy_;
2415 : bool deprecated_;
2416 : bool weak_;
2417 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2418 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2419 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2420 :
2421 : void InitAsDefaultInstance();
2422 : static FieldOptions* default_instance_;
2423 : };
2424 : // -------------------------------------------------------------------
2425 :
2426 : class LIBPROTOBUF_EXPORT EnumOptions : public ::google::protobuf::Message {
2427 : public:
2428 : EnumOptions();
2429 : virtual ~EnumOptions();
2430 :
2431 : EnumOptions(const EnumOptions& from);
2432 :
2433 : inline EnumOptions& operator=(const EnumOptions& from) {
2434 : CopyFrom(from);
2435 : return *this;
2436 : }
2437 :
2438 20 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2439 40 : return _internal_metadata_.unknown_fields();
2440 : }
2441 :
2442 11 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2443 22 : return _internal_metadata_.mutable_unknown_fields();
2444 : }
2445 :
2446 : static const ::google::protobuf::Descriptor* descriptor();
2447 : static const EnumOptions& default_instance();
2448 :
2449 : void Swap(EnumOptions* other);
2450 :
2451 : // implements Message ----------------------------------------------
2452 :
2453 0 : inline EnumOptions* New() const { return New(NULL); }
2454 :
2455 : EnumOptions* New(::google::protobuf::Arena* arena) const;
2456 : void CopyFrom(const ::google::protobuf::Message& from);
2457 : void MergeFrom(const ::google::protobuf::Message& from);
2458 : void CopyFrom(const EnumOptions& from);
2459 : void MergeFrom(const EnumOptions& from);
2460 : void Clear();
2461 : bool IsInitialized() const;
2462 :
2463 : int ByteSize() const;
2464 : bool MergePartialFromCodedStream(
2465 : ::google::protobuf::io::CodedInputStream* input);
2466 : void SerializeWithCachedSizes(
2467 : ::google::protobuf::io::CodedOutputStream* output) const;
2468 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2469 4 : int GetCachedSize() const { return _cached_size_; }
2470 : private:
2471 : void SharedCtor();
2472 : void SharedDtor();
2473 : void SetCachedSize(int size) const;
2474 : void InternalSwap(EnumOptions* other);
2475 : private:
2476 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2477 : return _internal_metadata_.arena();
2478 : }
2479 : inline void* MaybeArenaPtr() const {
2480 : return _internal_metadata_.raw_arena_ptr();
2481 : }
2482 : public:
2483 :
2484 : ::google::protobuf::Metadata GetMetadata() const;
2485 :
2486 : // nested types ----------------------------------------------------
2487 :
2488 : // accessors -------------------------------------------------------
2489 :
2490 : // optional bool allow_alias = 2;
2491 : bool has_allow_alias() const;
2492 : void clear_allow_alias();
2493 : static const int kAllowAliasFieldNumber = 2;
2494 : bool allow_alias() const;
2495 : void set_allow_alias(bool value);
2496 :
2497 : // optional bool deprecated = 3 [default = false];
2498 : bool has_deprecated() const;
2499 : void clear_deprecated();
2500 : static const int kDeprecatedFieldNumber = 3;
2501 : bool deprecated() const;
2502 : void set_deprecated(bool value);
2503 :
2504 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2505 : int uninterpreted_option_size() const;
2506 : void clear_uninterpreted_option();
2507 : static const int kUninterpretedOptionFieldNumber = 999;
2508 : const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2509 : ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
2510 : ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2511 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2512 : mutable_uninterpreted_option();
2513 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
2514 : uninterpreted_option() const;
2515 :
2516 : GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions)
2517 : // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions)
2518 : private:
2519 : inline void set_has_allow_alias();
2520 : inline void clear_has_allow_alias();
2521 : inline void set_has_deprecated();
2522 : inline void clear_has_deprecated();
2523 :
2524 : ::google::protobuf::internal::ExtensionSet _extensions_;
2525 :
2526 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2527 : ::google::protobuf::uint32 _has_bits_[1];
2528 : mutable int _cached_size_;
2529 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2530 : bool allow_alias_;
2531 : bool deprecated_;
2532 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2533 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2534 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2535 :
2536 : void InitAsDefaultInstance();
2537 : static EnumOptions* default_instance_;
2538 : };
2539 : // -------------------------------------------------------------------
2540 :
2541 : class LIBPROTOBUF_EXPORT EnumValueOptions : public ::google::protobuf::Message {
2542 : public:
2543 : EnumValueOptions();
2544 : virtual ~EnumValueOptions();
2545 :
2546 : EnumValueOptions(const EnumValueOptions& from);
2547 :
2548 : inline EnumValueOptions& operator=(const EnumValueOptions& from) {
2549 : CopyFrom(from);
2550 : return *this;
2551 : }
2552 :
2553 15 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2554 30 : return _internal_metadata_.unknown_fields();
2555 : }
2556 :
2557 9 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2558 18 : return _internal_metadata_.mutable_unknown_fields();
2559 : }
2560 :
2561 : static const ::google::protobuf::Descriptor* descriptor();
2562 : static const EnumValueOptions& default_instance();
2563 :
2564 : void Swap(EnumValueOptions* other);
2565 :
2566 : // implements Message ----------------------------------------------
2567 :
2568 0 : inline EnumValueOptions* New() const { return New(NULL); }
2569 :
2570 : EnumValueOptions* New(::google::protobuf::Arena* arena) const;
2571 : void CopyFrom(const ::google::protobuf::Message& from);
2572 : void MergeFrom(const ::google::protobuf::Message& from);
2573 : void CopyFrom(const EnumValueOptions& from);
2574 : void MergeFrom(const EnumValueOptions& from);
2575 : void Clear();
2576 : bool IsInitialized() const;
2577 :
2578 : int ByteSize() const;
2579 : bool MergePartialFromCodedStream(
2580 : ::google::protobuf::io::CodedInputStream* input);
2581 : void SerializeWithCachedSizes(
2582 : ::google::protobuf::io::CodedOutputStream* output) const;
2583 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2584 3 : int GetCachedSize() const { return _cached_size_; }
2585 : private:
2586 : void SharedCtor();
2587 : void SharedDtor();
2588 : void SetCachedSize(int size) const;
2589 : void InternalSwap(EnumValueOptions* other);
2590 : private:
2591 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2592 : return _internal_metadata_.arena();
2593 : }
2594 : inline void* MaybeArenaPtr() const {
2595 : return _internal_metadata_.raw_arena_ptr();
2596 : }
2597 : public:
2598 :
2599 : ::google::protobuf::Metadata GetMetadata() const;
2600 :
2601 : // nested types ----------------------------------------------------
2602 :
2603 : // accessors -------------------------------------------------------
2604 :
2605 : // optional bool deprecated = 1 [default = false];
2606 : bool has_deprecated() const;
2607 : void clear_deprecated();
2608 : static const int kDeprecatedFieldNumber = 1;
2609 : bool deprecated() const;
2610 : void set_deprecated(bool value);
2611 :
2612 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2613 : int uninterpreted_option_size() const;
2614 : void clear_uninterpreted_option();
2615 : static const int kUninterpretedOptionFieldNumber = 999;
2616 : const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2617 : ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
2618 : ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2619 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2620 : mutable_uninterpreted_option();
2621 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
2622 : uninterpreted_option() const;
2623 :
2624 : GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions)
2625 : // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions)
2626 : private:
2627 : inline void set_has_deprecated();
2628 : inline void clear_has_deprecated();
2629 :
2630 : ::google::protobuf::internal::ExtensionSet _extensions_;
2631 :
2632 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2633 : ::google::protobuf::uint32 _has_bits_[1];
2634 : mutable int _cached_size_;
2635 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2636 : bool deprecated_;
2637 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2638 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2639 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2640 :
2641 : void InitAsDefaultInstance();
2642 : static EnumValueOptions* default_instance_;
2643 : };
2644 : // -------------------------------------------------------------------
2645 :
2646 : class LIBPROTOBUF_EXPORT ServiceOptions : public ::google::protobuf::Message {
2647 : public:
2648 : ServiceOptions();
2649 : virtual ~ServiceOptions();
2650 :
2651 : ServiceOptions(const ServiceOptions& from);
2652 :
2653 : inline ServiceOptions& operator=(const ServiceOptions& from) {
2654 : CopyFrom(from);
2655 : return *this;
2656 : }
2657 :
2658 10 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2659 20 : return _internal_metadata_.unknown_fields();
2660 : }
2661 :
2662 6 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2663 12 : return _internal_metadata_.mutable_unknown_fields();
2664 : }
2665 :
2666 : static const ::google::protobuf::Descriptor* descriptor();
2667 : static const ServiceOptions& default_instance();
2668 :
2669 : void Swap(ServiceOptions* other);
2670 :
2671 : // implements Message ----------------------------------------------
2672 :
2673 0 : inline ServiceOptions* New() const { return New(NULL); }
2674 :
2675 : ServiceOptions* New(::google::protobuf::Arena* arena) const;
2676 : void CopyFrom(const ::google::protobuf::Message& from);
2677 : void MergeFrom(const ::google::protobuf::Message& from);
2678 : void CopyFrom(const ServiceOptions& from);
2679 : void MergeFrom(const ServiceOptions& from);
2680 : void Clear();
2681 : bool IsInitialized() const;
2682 :
2683 : int ByteSize() const;
2684 : bool MergePartialFromCodedStream(
2685 : ::google::protobuf::io::CodedInputStream* input);
2686 : void SerializeWithCachedSizes(
2687 : ::google::protobuf::io::CodedOutputStream* output) const;
2688 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2689 2 : int GetCachedSize() const { return _cached_size_; }
2690 : private:
2691 : void SharedCtor();
2692 : void SharedDtor();
2693 : void SetCachedSize(int size) const;
2694 : void InternalSwap(ServiceOptions* other);
2695 : private:
2696 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2697 : return _internal_metadata_.arena();
2698 : }
2699 : inline void* MaybeArenaPtr() const {
2700 : return _internal_metadata_.raw_arena_ptr();
2701 : }
2702 : public:
2703 :
2704 : ::google::protobuf::Metadata GetMetadata() const;
2705 :
2706 : // nested types ----------------------------------------------------
2707 :
2708 : // accessors -------------------------------------------------------
2709 :
2710 : // optional bool deprecated = 33 [default = false];
2711 : bool has_deprecated() const;
2712 : void clear_deprecated();
2713 : static const int kDeprecatedFieldNumber = 33;
2714 : bool deprecated() const;
2715 : void set_deprecated(bool value);
2716 :
2717 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2718 : int uninterpreted_option_size() const;
2719 : void clear_uninterpreted_option();
2720 : static const int kUninterpretedOptionFieldNumber = 999;
2721 : const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2722 : ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
2723 : ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2724 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2725 : mutable_uninterpreted_option();
2726 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
2727 : uninterpreted_option() const;
2728 :
2729 : GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions)
2730 : // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions)
2731 : private:
2732 : inline void set_has_deprecated();
2733 : inline void clear_has_deprecated();
2734 :
2735 : ::google::protobuf::internal::ExtensionSet _extensions_;
2736 :
2737 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2738 : ::google::protobuf::uint32 _has_bits_[1];
2739 : mutable int _cached_size_;
2740 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2741 : bool deprecated_;
2742 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2743 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2744 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2745 :
2746 : void InitAsDefaultInstance();
2747 : static ServiceOptions* default_instance_;
2748 : };
2749 : // -------------------------------------------------------------------
2750 :
2751 : class LIBPROTOBUF_EXPORT MethodOptions : public ::google::protobuf::Message {
2752 : public:
2753 : MethodOptions();
2754 : virtual ~MethodOptions();
2755 :
2756 : MethodOptions(const MethodOptions& from);
2757 :
2758 : inline MethodOptions& operator=(const MethodOptions& from) {
2759 : CopyFrom(from);
2760 : return *this;
2761 : }
2762 :
2763 10 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2764 20 : return _internal_metadata_.unknown_fields();
2765 : }
2766 :
2767 6 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2768 12 : return _internal_metadata_.mutable_unknown_fields();
2769 : }
2770 :
2771 : static const ::google::protobuf::Descriptor* descriptor();
2772 : static const MethodOptions& default_instance();
2773 :
2774 : void Swap(MethodOptions* other);
2775 :
2776 : // implements Message ----------------------------------------------
2777 :
2778 0 : inline MethodOptions* New() const { return New(NULL); }
2779 :
2780 : MethodOptions* New(::google::protobuf::Arena* arena) const;
2781 : void CopyFrom(const ::google::protobuf::Message& from);
2782 : void MergeFrom(const ::google::protobuf::Message& from);
2783 : void CopyFrom(const MethodOptions& from);
2784 : void MergeFrom(const MethodOptions& from);
2785 : void Clear();
2786 : bool IsInitialized() const;
2787 :
2788 : int ByteSize() const;
2789 : bool MergePartialFromCodedStream(
2790 : ::google::protobuf::io::CodedInputStream* input);
2791 : void SerializeWithCachedSizes(
2792 : ::google::protobuf::io::CodedOutputStream* output) const;
2793 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2794 4 : int GetCachedSize() const { return _cached_size_; }
2795 : private:
2796 : void SharedCtor();
2797 : void SharedDtor();
2798 : void SetCachedSize(int size) const;
2799 : void InternalSwap(MethodOptions* other);
2800 : private:
2801 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2802 : return _internal_metadata_.arena();
2803 : }
2804 : inline void* MaybeArenaPtr() const {
2805 : return _internal_metadata_.raw_arena_ptr();
2806 : }
2807 : public:
2808 :
2809 : ::google::protobuf::Metadata GetMetadata() const;
2810 :
2811 : // nested types ----------------------------------------------------
2812 :
2813 : // accessors -------------------------------------------------------
2814 :
2815 : // optional bool deprecated = 33 [default = false];
2816 : bool has_deprecated() const;
2817 : void clear_deprecated();
2818 : static const int kDeprecatedFieldNumber = 33;
2819 : bool deprecated() const;
2820 : void set_deprecated(bool value);
2821 :
2822 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2823 : int uninterpreted_option_size() const;
2824 : void clear_uninterpreted_option();
2825 : static const int kUninterpretedOptionFieldNumber = 999;
2826 : const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2827 : ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
2828 : ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2829 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2830 : mutable_uninterpreted_option();
2831 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
2832 : uninterpreted_option() const;
2833 :
2834 : GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions)
2835 : // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions)
2836 : private:
2837 : inline void set_has_deprecated();
2838 : inline void clear_has_deprecated();
2839 :
2840 : ::google::protobuf::internal::ExtensionSet _extensions_;
2841 :
2842 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2843 : ::google::protobuf::uint32 _has_bits_[1];
2844 : mutable int _cached_size_;
2845 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2846 : bool deprecated_;
2847 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2848 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2849 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2850 :
2851 : void InitAsDefaultInstance();
2852 : static MethodOptions* default_instance_;
2853 : };
2854 : // -------------------------------------------------------------------
2855 :
2856 : class LIBPROTOBUF_EXPORT UninterpretedOption_NamePart : public ::google::protobuf::Message {
2857 : public:
2858 : UninterpretedOption_NamePart();
2859 : virtual ~UninterpretedOption_NamePart();
2860 :
2861 : UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from);
2862 :
2863 : inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NamePart& from) {
2864 : CopyFrom(from);
2865 : return *this;
2866 : }
2867 :
2868 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2869 0 : return _internal_metadata_.unknown_fields();
2870 : }
2871 :
2872 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2873 0 : return _internal_metadata_.mutable_unknown_fields();
2874 : }
2875 :
2876 : static const ::google::protobuf::Descriptor* descriptor();
2877 : static const UninterpretedOption_NamePart& default_instance();
2878 :
2879 : void Swap(UninterpretedOption_NamePart* other);
2880 :
2881 : // implements Message ----------------------------------------------
2882 :
2883 0 : inline UninterpretedOption_NamePart* New() const { return New(NULL); }
2884 :
2885 : UninterpretedOption_NamePart* New(::google::protobuf::Arena* arena) const;
2886 : void CopyFrom(const ::google::protobuf::Message& from);
2887 : void MergeFrom(const ::google::protobuf::Message& from);
2888 : void CopyFrom(const UninterpretedOption_NamePart& from);
2889 : void MergeFrom(const UninterpretedOption_NamePart& from);
2890 : void Clear();
2891 : bool IsInitialized() const;
2892 :
2893 : int ByteSize() const;
2894 : bool MergePartialFromCodedStream(
2895 : ::google::protobuf::io::CodedInputStream* input);
2896 : void SerializeWithCachedSizes(
2897 : ::google::protobuf::io::CodedOutputStream* output) const;
2898 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2899 436 : int GetCachedSize() const { return _cached_size_; }
2900 : private:
2901 : void SharedCtor();
2902 : void SharedDtor();
2903 : void SetCachedSize(int size) const;
2904 : void InternalSwap(UninterpretedOption_NamePart* other);
2905 : private:
2906 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2907 : return _internal_metadata_.arena();
2908 : }
2909 : inline void* MaybeArenaPtr() const {
2910 : return _internal_metadata_.raw_arena_ptr();
2911 : }
2912 : public:
2913 :
2914 : ::google::protobuf::Metadata GetMetadata() const;
2915 :
2916 : // nested types ----------------------------------------------------
2917 :
2918 : // accessors -------------------------------------------------------
2919 :
2920 : // required string name_part = 1;
2921 : bool has_name_part() const;
2922 : void clear_name_part();
2923 : static const int kNamePartFieldNumber = 1;
2924 : const ::std::string& name_part() const;
2925 : void set_name_part(const ::std::string& value);
2926 : void set_name_part(const char* value);
2927 : void set_name_part(const char* value, size_t size);
2928 : ::std::string* mutable_name_part();
2929 : ::std::string* release_name_part();
2930 : void set_allocated_name_part(::std::string* name_part);
2931 :
2932 : // required bool is_extension = 2;
2933 : bool has_is_extension() const;
2934 : void clear_is_extension();
2935 : static const int kIsExtensionFieldNumber = 2;
2936 : bool is_extension() const;
2937 : void set_is_extension(bool value);
2938 :
2939 : // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart)
2940 : private:
2941 : inline void set_has_name_part();
2942 : inline void clear_has_name_part();
2943 : inline void set_has_is_extension();
2944 : inline void clear_has_is_extension();
2945 :
2946 : // helper for ByteSize()
2947 : int RequiredFieldsByteSizeFallback() const;
2948 :
2949 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2950 : ::google::protobuf::uint32 _has_bits_[1];
2951 : mutable int _cached_size_;
2952 : ::google::protobuf::internal::ArenaStringPtr name_part_;
2953 : bool is_extension_;
2954 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
2955 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
2956 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2957 :
2958 : void InitAsDefaultInstance();
2959 : static UninterpretedOption_NamePart* default_instance_;
2960 : };
2961 : // -------------------------------------------------------------------
2962 :
2963 : class LIBPROTOBUF_EXPORT UninterpretedOption : public ::google::protobuf::Message {
2964 : public:
2965 : UninterpretedOption();
2966 : virtual ~UninterpretedOption();
2967 :
2968 : UninterpretedOption(const UninterpretedOption& from);
2969 :
2970 : inline UninterpretedOption& operator=(const UninterpretedOption& from) {
2971 : CopyFrom(from);
2972 : return *this;
2973 : }
2974 :
2975 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2976 0 : return _internal_metadata_.unknown_fields();
2977 : }
2978 :
2979 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2980 0 : return _internal_metadata_.mutable_unknown_fields();
2981 : }
2982 :
2983 : static const ::google::protobuf::Descriptor* descriptor();
2984 : static const UninterpretedOption& default_instance();
2985 :
2986 : void Swap(UninterpretedOption* other);
2987 :
2988 : // implements Message ----------------------------------------------
2989 :
2990 0 : inline UninterpretedOption* New() const { return New(NULL); }
2991 :
2992 : UninterpretedOption* New(::google::protobuf::Arena* arena) const;
2993 : void CopyFrom(const ::google::protobuf::Message& from);
2994 : void MergeFrom(const ::google::protobuf::Message& from);
2995 : void CopyFrom(const UninterpretedOption& from);
2996 : void MergeFrom(const UninterpretedOption& from);
2997 : void Clear();
2998 : bool IsInitialized() const;
2999 :
3000 : int ByteSize() const;
3001 : bool MergePartialFromCodedStream(
3002 : ::google::protobuf::io::CodedInputStream* input);
3003 : void SerializeWithCachedSizes(
3004 : ::google::protobuf::io::CodedOutputStream* output) const;
3005 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
3006 405 : int GetCachedSize() const { return _cached_size_; }
3007 : private:
3008 : void SharedCtor();
3009 : void SharedDtor();
3010 : void SetCachedSize(int size) const;
3011 : void InternalSwap(UninterpretedOption* other);
3012 : private:
3013 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3014 : return _internal_metadata_.arena();
3015 : }
3016 : inline void* MaybeArenaPtr() const {
3017 : return _internal_metadata_.raw_arena_ptr();
3018 : }
3019 : public:
3020 :
3021 : ::google::protobuf::Metadata GetMetadata() const;
3022 :
3023 : // nested types ----------------------------------------------------
3024 :
3025 : typedef UninterpretedOption_NamePart NamePart;
3026 :
3027 : // accessors -------------------------------------------------------
3028 :
3029 : // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
3030 : int name_size() const;
3031 : void clear_name();
3032 : static const int kNameFieldNumber = 2;
3033 : const ::google::protobuf::UninterpretedOption_NamePart& name(int index) const;
3034 : ::google::protobuf::UninterpretedOption_NamePart* mutable_name(int index);
3035 : ::google::protobuf::UninterpretedOption_NamePart* add_name();
3036 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >*
3037 : mutable_name();
3038 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >&
3039 : name() const;
3040 :
3041 : // optional string identifier_value = 3;
3042 : bool has_identifier_value() const;
3043 : void clear_identifier_value();
3044 : static const int kIdentifierValueFieldNumber = 3;
3045 : const ::std::string& identifier_value() const;
3046 : void set_identifier_value(const ::std::string& value);
3047 : void set_identifier_value(const char* value);
3048 : void set_identifier_value(const char* value, size_t size);
3049 : ::std::string* mutable_identifier_value();
3050 : ::std::string* release_identifier_value();
3051 : void set_allocated_identifier_value(::std::string* identifier_value);
3052 :
3053 : // optional uint64 positive_int_value = 4;
3054 : bool has_positive_int_value() const;
3055 : void clear_positive_int_value();
3056 : static const int kPositiveIntValueFieldNumber = 4;
3057 : ::google::protobuf::uint64 positive_int_value() const;
3058 : void set_positive_int_value(::google::protobuf::uint64 value);
3059 :
3060 : // optional int64 negative_int_value = 5;
3061 : bool has_negative_int_value() const;
3062 : void clear_negative_int_value();
3063 : static const int kNegativeIntValueFieldNumber = 5;
3064 : ::google::protobuf::int64 negative_int_value() const;
3065 : void set_negative_int_value(::google::protobuf::int64 value);
3066 :
3067 : // optional double double_value = 6;
3068 : bool has_double_value() const;
3069 : void clear_double_value();
3070 : static const int kDoubleValueFieldNumber = 6;
3071 : double double_value() const;
3072 : void set_double_value(double value);
3073 :
3074 : // optional bytes string_value = 7;
3075 : bool has_string_value() const;
3076 : void clear_string_value();
3077 : static const int kStringValueFieldNumber = 7;
3078 : const ::std::string& string_value() const;
3079 : void set_string_value(const ::std::string& value);
3080 : void set_string_value(const char* value);
3081 : void set_string_value(const void* value, size_t size);
3082 : ::std::string* mutable_string_value();
3083 : ::std::string* release_string_value();
3084 : void set_allocated_string_value(::std::string* string_value);
3085 :
3086 : // optional string aggregate_value = 8;
3087 : bool has_aggregate_value() const;
3088 : void clear_aggregate_value();
3089 : static const int kAggregateValueFieldNumber = 8;
3090 : const ::std::string& aggregate_value() const;
3091 : void set_aggregate_value(const ::std::string& value);
3092 : void set_aggregate_value(const char* value);
3093 : void set_aggregate_value(const char* value, size_t size);
3094 : ::std::string* mutable_aggregate_value();
3095 : ::std::string* release_aggregate_value();
3096 : void set_allocated_aggregate_value(::std::string* aggregate_value);
3097 :
3098 : // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption)
3099 : private:
3100 : inline void set_has_identifier_value();
3101 : inline void clear_has_identifier_value();
3102 : inline void set_has_positive_int_value();
3103 : inline void clear_has_positive_int_value();
3104 : inline void set_has_negative_int_value();
3105 : inline void clear_has_negative_int_value();
3106 : inline void set_has_double_value();
3107 : inline void clear_has_double_value();
3108 : inline void set_has_string_value();
3109 : inline void clear_has_string_value();
3110 : inline void set_has_aggregate_value();
3111 : inline void clear_has_aggregate_value();
3112 :
3113 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3114 : ::google::protobuf::uint32 _has_bits_[1];
3115 : mutable int _cached_size_;
3116 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart > name_;
3117 : ::google::protobuf::internal::ArenaStringPtr identifier_value_;
3118 : ::google::protobuf::uint64 positive_int_value_;
3119 : ::google::protobuf::int64 negative_int_value_;
3120 : double double_value_;
3121 : ::google::protobuf::internal::ArenaStringPtr string_value_;
3122 : ::google::protobuf::internal::ArenaStringPtr aggregate_value_;
3123 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
3124 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
3125 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3126 :
3127 : void InitAsDefaultInstance();
3128 : static UninterpretedOption* default_instance_;
3129 : };
3130 : // -------------------------------------------------------------------
3131 :
3132 : class LIBPROTOBUF_EXPORT SourceCodeInfo_Location : public ::google::protobuf::Message {
3133 : public:
3134 : SourceCodeInfo_Location();
3135 : virtual ~SourceCodeInfo_Location();
3136 :
3137 : SourceCodeInfo_Location(const SourceCodeInfo_Location& from);
3138 :
3139 : inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) {
3140 : CopyFrom(from);
3141 : return *this;
3142 : }
3143 :
3144 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3145 0 : return _internal_metadata_.unknown_fields();
3146 : }
3147 :
3148 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3149 0 : return _internal_metadata_.mutable_unknown_fields();
3150 : }
3151 :
3152 : static const ::google::protobuf::Descriptor* descriptor();
3153 : static const SourceCodeInfo_Location& default_instance();
3154 :
3155 : void Swap(SourceCodeInfo_Location* other);
3156 :
3157 : // implements Message ----------------------------------------------
3158 :
3159 0 : inline SourceCodeInfo_Location* New() const { return New(NULL); }
3160 :
3161 : SourceCodeInfo_Location* New(::google::protobuf::Arena* arena) const;
3162 : void CopyFrom(const ::google::protobuf::Message& from);
3163 : void MergeFrom(const ::google::protobuf::Message& from);
3164 : void CopyFrom(const SourceCodeInfo_Location& from);
3165 : void MergeFrom(const SourceCodeInfo_Location& from);
3166 : void Clear();
3167 : bool IsInitialized() const;
3168 :
3169 : int ByteSize() const;
3170 : bool MergePartialFromCodedStream(
3171 : ::google::protobuf::io::CodedInputStream* input);
3172 : void SerializeWithCachedSizes(
3173 : ::google::protobuf::io::CodedOutputStream* output) const;
3174 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
3175 1577 : int GetCachedSize() const { return _cached_size_; }
3176 : private:
3177 : void SharedCtor();
3178 : void SharedDtor();
3179 : void SetCachedSize(int size) const;
3180 : void InternalSwap(SourceCodeInfo_Location* other);
3181 : private:
3182 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3183 : return _internal_metadata_.arena();
3184 : }
3185 : inline void* MaybeArenaPtr() const {
3186 : return _internal_metadata_.raw_arena_ptr();
3187 : }
3188 : public:
3189 :
3190 : ::google::protobuf::Metadata GetMetadata() const;
3191 :
3192 : // nested types ----------------------------------------------------
3193 :
3194 : // accessors -------------------------------------------------------
3195 :
3196 : // repeated int32 path = 1 [packed = true];
3197 : int path_size() const;
3198 : void clear_path();
3199 : static const int kPathFieldNumber = 1;
3200 : ::google::protobuf::int32 path(int index) const;
3201 : void set_path(int index, ::google::protobuf::int32 value);
3202 : void add_path(::google::protobuf::int32 value);
3203 : const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
3204 : path() const;
3205 : ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
3206 : mutable_path();
3207 :
3208 : // repeated int32 span = 2 [packed = true];
3209 : int span_size() const;
3210 : void clear_span();
3211 : static const int kSpanFieldNumber = 2;
3212 : ::google::protobuf::int32 span(int index) const;
3213 : void set_span(int index, ::google::protobuf::int32 value);
3214 : void add_span(::google::protobuf::int32 value);
3215 : const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
3216 : span() const;
3217 : ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
3218 : mutable_span();
3219 :
3220 : // optional string leading_comments = 3;
3221 : bool has_leading_comments() const;
3222 : void clear_leading_comments();
3223 : static const int kLeadingCommentsFieldNumber = 3;
3224 : const ::std::string& leading_comments() const;
3225 : void set_leading_comments(const ::std::string& value);
3226 : void set_leading_comments(const char* value);
3227 : void set_leading_comments(const char* value, size_t size);
3228 : ::std::string* mutable_leading_comments();
3229 : ::std::string* release_leading_comments();
3230 : void set_allocated_leading_comments(::std::string* leading_comments);
3231 :
3232 : // optional string trailing_comments = 4;
3233 : bool has_trailing_comments() const;
3234 : void clear_trailing_comments();
3235 : static const int kTrailingCommentsFieldNumber = 4;
3236 : const ::std::string& trailing_comments() const;
3237 : void set_trailing_comments(const ::std::string& value);
3238 : void set_trailing_comments(const char* value);
3239 : void set_trailing_comments(const char* value, size_t size);
3240 : ::std::string* mutable_trailing_comments();
3241 : ::std::string* release_trailing_comments();
3242 : void set_allocated_trailing_comments(::std::string* trailing_comments);
3243 :
3244 : // repeated string leading_detached_comments = 6;
3245 : int leading_detached_comments_size() const;
3246 : void clear_leading_detached_comments();
3247 : static const int kLeadingDetachedCommentsFieldNumber = 6;
3248 : const ::std::string& leading_detached_comments(int index) const;
3249 : ::std::string* mutable_leading_detached_comments(int index);
3250 : void set_leading_detached_comments(int index, const ::std::string& value);
3251 : void set_leading_detached_comments(int index, const char* value);
3252 : void set_leading_detached_comments(int index, const char* value, size_t size);
3253 : ::std::string* add_leading_detached_comments();
3254 : void add_leading_detached_comments(const ::std::string& value);
3255 : void add_leading_detached_comments(const char* value);
3256 : void add_leading_detached_comments(const char* value, size_t size);
3257 : const ::google::protobuf::RepeatedPtrField< ::std::string>& leading_detached_comments() const;
3258 : ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_leading_detached_comments();
3259 :
3260 : // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location)
3261 : private:
3262 : inline void set_has_leading_comments();
3263 : inline void clear_has_leading_comments();
3264 : inline void set_has_trailing_comments();
3265 : inline void clear_has_trailing_comments();
3266 :
3267 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3268 : ::google::protobuf::uint32 _has_bits_[1];
3269 : mutable int _cached_size_;
3270 : ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_;
3271 : mutable int _path_cached_byte_size_;
3272 : ::google::protobuf::RepeatedField< ::google::protobuf::int32 > span_;
3273 : mutable int _span_cached_byte_size_;
3274 : ::google::protobuf::internal::ArenaStringPtr leading_comments_;
3275 : ::google::protobuf::internal::ArenaStringPtr trailing_comments_;
3276 : ::google::protobuf::RepeatedPtrField< ::std::string> leading_detached_comments_;
3277 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
3278 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
3279 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3280 :
3281 : void InitAsDefaultInstance();
3282 : static SourceCodeInfo_Location* default_instance_;
3283 : };
3284 : // -------------------------------------------------------------------
3285 :
3286 : class LIBPROTOBUF_EXPORT SourceCodeInfo : public ::google::protobuf::Message {
3287 : public:
3288 : SourceCodeInfo();
3289 : virtual ~SourceCodeInfo();
3290 :
3291 : SourceCodeInfo(const SourceCodeInfo& from);
3292 :
3293 : inline SourceCodeInfo& operator=(const SourceCodeInfo& from) {
3294 : CopyFrom(from);
3295 : return *this;
3296 : }
3297 :
3298 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3299 0 : return _internal_metadata_.unknown_fields();
3300 : }
3301 :
3302 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3303 0 : return _internal_metadata_.mutable_unknown_fields();
3304 : }
3305 :
3306 : static const ::google::protobuf::Descriptor* descriptor();
3307 : static const SourceCodeInfo& default_instance();
3308 :
3309 : void Swap(SourceCodeInfo* other);
3310 :
3311 : // implements Message ----------------------------------------------
3312 :
3313 0 : inline SourceCodeInfo* New() const { return New(NULL); }
3314 :
3315 : SourceCodeInfo* New(::google::protobuf::Arena* arena) const;
3316 : void CopyFrom(const ::google::protobuf::Message& from);
3317 : void MergeFrom(const ::google::protobuf::Message& from);
3318 : void CopyFrom(const SourceCodeInfo& from);
3319 : void MergeFrom(const SourceCodeInfo& from);
3320 : void Clear();
3321 : bool IsInitialized() const;
3322 :
3323 : int ByteSize() const;
3324 : bool MergePartialFromCodedStream(
3325 : ::google::protobuf::io::CodedInputStream* input);
3326 : void SerializeWithCachedSizes(
3327 : ::google::protobuf::io::CodedOutputStream* output) const;
3328 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
3329 13 : int GetCachedSize() const { return _cached_size_; }
3330 : private:
3331 : void SharedCtor();
3332 : void SharedDtor();
3333 : void SetCachedSize(int size) const;
3334 : void InternalSwap(SourceCodeInfo* other);
3335 : private:
3336 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3337 : return _internal_metadata_.arena();
3338 : }
3339 : inline void* MaybeArenaPtr() const {
3340 : return _internal_metadata_.raw_arena_ptr();
3341 : }
3342 : public:
3343 :
3344 : ::google::protobuf::Metadata GetMetadata() const;
3345 :
3346 : // nested types ----------------------------------------------------
3347 :
3348 : typedef SourceCodeInfo_Location Location;
3349 :
3350 : // accessors -------------------------------------------------------
3351 :
3352 : // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
3353 : int location_size() const;
3354 : void clear_location();
3355 : static const int kLocationFieldNumber = 1;
3356 : const ::google::protobuf::SourceCodeInfo_Location& location(int index) const;
3357 : ::google::protobuf::SourceCodeInfo_Location* mutable_location(int index);
3358 : ::google::protobuf::SourceCodeInfo_Location* add_location();
3359 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >*
3360 : mutable_location();
3361 : const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >&
3362 : location() const;
3363 :
3364 : // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo)
3365 : private:
3366 :
3367 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3368 : ::google::protobuf::uint32 _has_bits_[1];
3369 : mutable int _cached_size_;
3370 : ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location > location_;
3371 : friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
3372 : friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
3373 : friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3374 :
3375 : void InitAsDefaultInstance();
3376 : static SourceCodeInfo* default_instance_;
3377 : };
3378 : // ===================================================================
3379 :
3380 :
3381 : // ===================================================================
3382 :
3383 : #if !PROTOBUF_INLINE_NOT_IN_HEADERS
3384 : // FileDescriptorSet
3385 :
3386 : // repeated .google.protobuf.FileDescriptorProto file = 1;
3387 : inline int FileDescriptorSet::file_size() const {
3388 0 : return file_.size();
3389 : }
3390 : inline void FileDescriptorSet::clear_file() {
3391 : file_.Clear();
3392 : }
3393 : inline const ::google::protobuf::FileDescriptorProto& FileDescriptorSet::file(int index) const {
3394 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorSet.file)
3395 0 : return file_.Get(index);
3396 : }
3397 : inline ::google::protobuf::FileDescriptorProto* FileDescriptorSet::mutable_file(int index) {
3398 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorSet.file)
3399 : return file_.Mutable(index);
3400 : }
3401 : inline ::google::protobuf::FileDescriptorProto* FileDescriptorSet::add_file() {
3402 : // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorSet.file)
3403 0 : return file_.Add();
3404 : }
3405 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
3406 : FileDescriptorSet::mutable_file() {
3407 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorSet.file)
3408 : return &file_;
3409 : }
3410 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
3411 : FileDescriptorSet::file() const {
3412 : // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorSet.file)
3413 : return file_;
3414 : }
3415 :
3416 : // -------------------------------------------------------------------
3417 :
3418 : // FileDescriptorProto
3419 :
3420 : // optional string name = 1;
3421 : inline bool FileDescriptorProto::has_name() const {
3422 208 : return (_has_bits_[0] & 0x00000001u) != 0;
3423 : }
3424 : inline void FileDescriptorProto::set_has_name() {
3425 255 : _has_bits_[0] |= 0x00000001u;
3426 : }
3427 : inline void FileDescriptorProto::clear_has_name() {
3428 : _has_bits_[0] &= ~0x00000001u;
3429 : }
3430 : inline void FileDescriptorProto::clear_name() {
3431 : name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3432 : clear_has_name();
3433 : }
3434 : inline const ::std::string& FileDescriptorProto::name() const {
3435 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name)
3436 1036 : return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3437 : }
3438 : inline void FileDescriptorProto::set_name(const ::std::string& value) {
3439 134 : set_has_name();
3440 134 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3441 : // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name)
3442 : }
3443 0 : inline void FileDescriptorProto::set_name(const char* value) {
3444 0 : set_has_name();
3445 0 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3446 : // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.name)
3447 0 : }
3448 : inline void FileDescriptorProto::set_name(const char* value, size_t size) {
3449 : set_has_name();
3450 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3451 : ::std::string(reinterpret_cast<const char*>(value), size));
3452 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.name)
3453 : }
3454 121 : inline ::std::string* FileDescriptorProto::mutable_name() {
3455 121 : set_has_name();
3456 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.name)
3457 242 : return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3458 : }
3459 : inline ::std::string* FileDescriptorProto::release_name() {
3460 : clear_has_name();
3461 : return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3462 : }
3463 : inline void FileDescriptorProto::set_allocated_name(::std::string* name) {
3464 : if (name != NULL) {
3465 : set_has_name();
3466 : } else {
3467 : clear_has_name();
3468 : }
3469 : name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
3470 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.name)
3471 : }
3472 :
3473 : // optional string package = 2;
3474 : inline bool FileDescriptorProto::has_package() const {
3475 388 : return (_has_bits_[0] & 0x00000002u) != 0;
3476 : }
3477 : inline void FileDescriptorProto::set_has_package() {
3478 423 : _has_bits_[0] |= 0x00000002u;
3479 : }
3480 : inline void FileDescriptorProto::clear_has_package() {
3481 0 : _has_bits_[0] &= ~0x00000002u;
3482 : }
3483 : inline void FileDescriptorProto::clear_package() {
3484 0 : package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3485 0 : clear_has_package();
3486 : }
3487 : inline const ::std::string& FileDescriptorProto::package() const {
3488 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.package)
3489 660 : return package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3490 : }
3491 : inline void FileDescriptorProto::set_package(const ::std::string& value) {
3492 55 : set_has_package();
3493 55 : package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3494 : // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.package)
3495 : }
3496 : inline void FileDescriptorProto::set_package(const char* value) {
3497 : set_has_package();
3498 : package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3499 : // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.package)
3500 : }
3501 : inline void FileDescriptorProto::set_package(const char* value, size_t size) {
3502 : set_has_package();
3503 : package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3504 : ::std::string(reinterpret_cast<const char*>(value), size));
3505 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.package)
3506 : }
3507 368 : inline ::std::string* FileDescriptorProto::mutable_package() {
3508 368 : set_has_package();
3509 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.package)
3510 736 : return package_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3511 : }
3512 : inline ::std::string* FileDescriptorProto::release_package() {
3513 : clear_has_package();
3514 : return package_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3515 : }
3516 : inline void FileDescriptorProto::set_allocated_package(::std::string* package) {
3517 : if (package != NULL) {
3518 : set_has_package();
3519 : } else {
3520 : clear_has_package();
3521 : }
3522 : package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), package);
3523 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.package)
3524 : }
3525 :
3526 : // repeated string dependency = 3;
3527 : inline int FileDescriptorProto::dependency_size() const {
3528 840 : return dependency_.size();
3529 : }
3530 : inline void FileDescriptorProto::clear_dependency() {
3531 : dependency_.Clear();
3532 : }
3533 : inline const ::std::string& FileDescriptorProto::dependency(int index) const {
3534 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.dependency)
3535 499 : return dependency_.Get(index);
3536 : }
3537 : inline ::std::string* FileDescriptorProto::mutable_dependency(int index) {
3538 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.dependency)
3539 : return dependency_.Mutable(index);
3540 : }
3541 : inline void FileDescriptorProto::set_dependency(int index, const ::std::string& value) {
3542 : // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency)
3543 : dependency_.Mutable(index)->assign(value);
3544 : }
3545 : inline void FileDescriptorProto::set_dependency(int index, const char* value) {
3546 : dependency_.Mutable(index)->assign(value);
3547 : // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.dependency)
3548 : }
3549 : inline void FileDescriptorProto::set_dependency(int index, const char* value, size_t size) {
3550 : dependency_.Mutable(index)->assign(
3551 : reinterpret_cast<const char*>(value), size);
3552 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.dependency)
3553 : }
3554 : inline ::std::string* FileDescriptorProto::add_dependency() {
3555 36 : return dependency_.Add();
3556 : }
3557 51 : inline void FileDescriptorProto::add_dependency(const ::std::string& value) {
3558 102 : dependency_.Add()->assign(value);
3559 : // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency)
3560 51 : }
3561 : inline void FileDescriptorProto::add_dependency(const char* value) {
3562 : dependency_.Add()->assign(value);
3563 : // @@protoc_insertion_point(field_add_char:google.protobuf.FileDescriptorProto.dependency)
3564 : }
3565 : inline void FileDescriptorProto::add_dependency(const char* value, size_t size) {
3566 : dependency_.Add()->assign(reinterpret_cast<const char*>(value), size);
3567 : // @@protoc_insertion_point(field_add_pointer:google.protobuf.FileDescriptorProto.dependency)
3568 : }
3569 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3570 : FileDescriptorProto::dependency() const {
3571 : // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.dependency)
3572 : return dependency_;
3573 : }
3574 : inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3575 : FileDescriptorProto::mutable_dependency() {
3576 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.dependency)
3577 : return &dependency_;
3578 : }
3579 :
3580 : // repeated int32 public_dependency = 10;
3581 : inline int FileDescriptorProto::public_dependency_size() const {
3582 364 : return public_dependency_.size();
3583 : }
3584 : inline void FileDescriptorProto::clear_public_dependency() {
3585 : public_dependency_.Clear();
3586 : }
3587 : inline ::google::protobuf::int32 FileDescriptorProto::public_dependency(int index) const {
3588 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.public_dependency)
3589 4 : return public_dependency_.Get(index);
3590 : }
3591 : inline void FileDescriptorProto::set_public_dependency(int index, ::google::protobuf::int32 value) {
3592 : public_dependency_.Set(index, value);
3593 : // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.public_dependency)
3594 : }
3595 : inline void FileDescriptorProto::add_public_dependency(::google::protobuf::int32 value) {
3596 1 : public_dependency_.Add(value);
3597 : // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.public_dependency)
3598 : }
3599 : inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
3600 : FileDescriptorProto::public_dependency() const {
3601 : // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.public_dependency)
3602 : return public_dependency_;
3603 : }
3604 : inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
3605 : FileDescriptorProto::mutable_public_dependency() {
3606 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.public_dependency)
3607 : return &public_dependency_;
3608 : }
3609 :
3610 : // repeated int32 weak_dependency = 11;
3611 : inline int FileDescriptorProto::weak_dependency_size() const {
3612 456 : return weak_dependency_.size();
3613 : }
3614 : inline void FileDescriptorProto::clear_weak_dependency() {
3615 : weak_dependency_.Clear();
3616 : }
3617 : inline ::google::protobuf::int32 FileDescriptorProto::weak_dependency(int index) const {
3618 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.weak_dependency)
3619 0 : return weak_dependency_.Get(index);
3620 : }
3621 : inline void FileDescriptorProto::set_weak_dependency(int index, ::google::protobuf::int32 value) {
3622 : weak_dependency_.Set(index, value);
3623 : // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.weak_dependency)
3624 : }
3625 : inline void FileDescriptorProto::add_weak_dependency(::google::protobuf::int32 value) {
3626 0 : weak_dependency_.Add(value);
3627 : // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.weak_dependency)
3628 : }
3629 : inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
3630 : FileDescriptorProto::weak_dependency() const {
3631 : // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.weak_dependency)
3632 : return weak_dependency_;
3633 : }
3634 : inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
3635 : FileDescriptorProto::mutable_weak_dependency() {
3636 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.weak_dependency)
3637 : return &weak_dependency_;
3638 : }
3639 :
3640 : // repeated .google.protobuf.DescriptorProto message_type = 4;
3641 : inline int FileDescriptorProto::message_type_size() const {
3642 2915 : return message_type_.size();
3643 : }
3644 : inline void FileDescriptorProto::clear_message_type() {
3645 : message_type_.Clear();
3646 : }
3647 : inline const ::google::protobuf::DescriptorProto& FileDescriptorProto::message_type(int index) const {
3648 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.message_type)
3649 4808 : return message_type_.Get(index);
3650 : }
3651 : inline ::google::protobuf::DescriptorProto* FileDescriptorProto::mutable_message_type(int index) {
3652 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.message_type)
3653 : return message_type_.Mutable(index);
3654 : }
3655 : inline ::google::protobuf::DescriptorProto* FileDescriptorProto::add_message_type() {
3656 : // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.message_type)
3657 1957 : return message_type_.Add();
3658 : }
3659 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
3660 : FileDescriptorProto::mutable_message_type() {
3661 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.message_type)
3662 : return &message_type_;
3663 : }
3664 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
3665 : FileDescriptorProto::message_type() const {
3666 : // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.message_type)
3667 : return message_type_;
3668 : }
3669 :
3670 : // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
3671 : inline int FileDescriptorProto::enum_type_size() const {
3672 758 : return enum_type_.size();
3673 : }
3674 : inline void FileDescriptorProto::clear_enum_type() {
3675 : enum_type_.Clear();
3676 : }
3677 : inline const ::google::protobuf::EnumDescriptorProto& FileDescriptorProto::enum_type(int index) const {
3678 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.enum_type)
3679 369 : return enum_type_.Get(index);
3680 : }
3681 : inline ::google::protobuf::EnumDescriptorProto* FileDescriptorProto::mutable_enum_type(int index) {
3682 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.enum_type)
3683 : return enum_type_.Mutable(index);
3684 : }
3685 : inline ::google::protobuf::EnumDescriptorProto* FileDescriptorProto::add_enum_type() {
3686 : // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.enum_type)
3687 146 : return enum_type_.Add();
3688 : }
3689 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
3690 : FileDescriptorProto::mutable_enum_type() {
3691 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.enum_type)
3692 : return &enum_type_;
3693 : }
3694 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
3695 : FileDescriptorProto::enum_type() const {
3696 : // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.enum_type)
3697 : return enum_type_;
3698 : }
3699 :
3700 : // repeated .google.protobuf.ServiceDescriptorProto service = 6;
3701 : inline int FileDescriptorProto::service_size() const {
3702 688 : return service_.size();
3703 : }
3704 : inline void FileDescriptorProto::clear_service() {
3705 : service_.Clear();
3706 : }
3707 : inline const ::google::protobuf::ServiceDescriptorProto& FileDescriptorProto::service(int index) const {
3708 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.service)
3709 217 : return service_.Get(index);
3710 : }
3711 : inline ::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::mutable_service(int index) {
3712 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.service)
3713 : return service_.Mutable(index);
3714 : }
3715 : inline ::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::add_service() {
3716 : // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.service)
3717 95 : return service_.Add();
3718 : }
3719 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >*
3720 : FileDescriptorProto::mutable_service() {
3721 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.service)
3722 : return &service_;
3723 : }
3724 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >&
3725 : FileDescriptorProto::service() const {
3726 : // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.service)
3727 : return service_;
3728 : }
3729 :
3730 : // repeated .google.protobuf.FieldDescriptorProto extension = 7;
3731 : inline int FileDescriptorProto::extension_size() const {
3732 942 : return extension_.size();
3733 : }
3734 : inline void FileDescriptorProto::clear_extension() {
3735 : extension_.Clear();
3736 : }
3737 : inline const ::google::protobuf::FieldDescriptorProto& FileDescriptorProto::extension(int index) const {
3738 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.extension)
3739 1002 : return extension_.Get(index);
3740 : }
3741 : inline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::mutable_extension(int index) {
3742 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.extension)
3743 : return extension_.Mutable(index);
3744 : }
3745 : inline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::add_extension() {
3746 : // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.extension)
3747 147 : return extension_.Add();
3748 : }
3749 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
3750 : FileDescriptorProto::mutable_extension() {
3751 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.extension)
3752 : return &extension_;
3753 : }
3754 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
3755 : FileDescriptorProto::extension() const {
3756 : // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.extension)
3757 : return extension_;
3758 : }
3759 :
3760 : // optional .google.protobuf.FileOptions options = 8;
3761 : inline bool FileDescriptorProto::has_options() const {
3762 322 : return (_has_bits_[0] & 0x00000200u) != 0;
3763 : }
3764 : inline void FileDescriptorProto::set_has_options() {
3765 220 : _has_bits_[0] |= 0x00000200u;
3766 : }
3767 : inline void FileDescriptorProto::clear_has_options() {
3768 : _has_bits_[0] &= ~0x00000200u;
3769 : }
3770 : inline void FileDescriptorProto::clear_options() {
3771 : if (options_ != NULL) options_->::google::protobuf::FileOptions::Clear();
3772 : clear_has_options();
3773 : }
3774 : inline const ::google::protobuf::FileOptions& FileDescriptorProto::options() const {
3775 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.options)
3776 44 : return options_ != NULL ? *options_ : *default_instance_->options_;
3777 : }
3778 220 : inline ::google::protobuf::FileOptions* FileDescriptorProto::mutable_options() {
3779 220 : set_has_options();
3780 220 : if (options_ == NULL) {
3781 137 : options_ = new ::google::protobuf::FileOptions;
3782 : }
3783 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.options)
3784 220 : return options_;
3785 : }
3786 : inline ::google::protobuf::FileOptions* FileDescriptorProto::release_options() {
3787 : clear_has_options();
3788 : ::google::protobuf::FileOptions* temp = options_;
3789 : options_ = NULL;
3790 : return temp;
3791 : }
3792 : inline void FileDescriptorProto::set_allocated_options(::google::protobuf::FileOptions* options) {
3793 : delete options_;
3794 : options_ = options;
3795 : if (options) {
3796 : set_has_options();
3797 : } else {
3798 : clear_has_options();
3799 : }
3800 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.options)
3801 : }
3802 :
3803 : // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
3804 : inline bool FileDescriptorProto::has_source_code_info() const {
3805 201 : return (_has_bits_[0] & 0x00000400u) != 0;
3806 : }
3807 : inline void FileDescriptorProto::set_has_source_code_info() {
3808 104 : _has_bits_[0] |= 0x00000400u;
3809 : }
3810 : inline void FileDescriptorProto::clear_has_source_code_info() {
3811 : _has_bits_[0] &= ~0x00000400u;
3812 : }
3813 : inline void FileDescriptorProto::clear_source_code_info() {
3814 : if (source_code_info_ != NULL) source_code_info_->::google::protobuf::SourceCodeInfo::Clear();
3815 : clear_has_source_code_info();
3816 : }
3817 : inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_code_info() const {
3818 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.source_code_info)
3819 91 : return source_code_info_ != NULL ? *source_code_info_ : *default_instance_->source_code_info_;
3820 : }
3821 104 : inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::mutable_source_code_info() {
3822 104 : set_has_source_code_info();
3823 104 : if (source_code_info_ == NULL) {
3824 104 : source_code_info_ = new ::google::protobuf::SourceCodeInfo;
3825 : }
3826 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.source_code_info)
3827 104 : return source_code_info_;
3828 : }
3829 : inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::release_source_code_info() {
3830 : clear_has_source_code_info();
3831 : ::google::protobuf::SourceCodeInfo* temp = source_code_info_;
3832 : source_code_info_ = NULL;
3833 : return temp;
3834 : }
3835 : inline void FileDescriptorProto::set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* source_code_info) {
3836 : delete source_code_info_;
3837 : source_code_info_ = source_code_info;
3838 : if (source_code_info) {
3839 : set_has_source_code_info();
3840 : } else {
3841 : clear_has_source_code_info();
3842 : }
3843 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.source_code_info)
3844 : }
3845 :
3846 : // optional string syntax = 12;
3847 : inline bool FileDescriptorProto::has_syntax() const {
3848 105 : return (_has_bits_[0] & 0x00000800u) != 0;
3849 : }
3850 : inline void FileDescriptorProto::set_has_syntax() {
3851 160 : _has_bits_[0] |= 0x00000800u;
3852 : }
3853 : inline void FileDescriptorProto::clear_has_syntax() {
3854 : _has_bits_[0] &= ~0x00000800u;
3855 : }
3856 : inline void FileDescriptorProto::clear_syntax() {
3857 : syntax_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3858 : clear_has_syntax();
3859 : }
3860 : inline const ::std::string& FileDescriptorProto::syntax() const {
3861 : // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.syntax)
3862 490 : return syntax_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3863 : }
3864 : inline void FileDescriptorProto::set_syntax(const ::std::string& value) {
3865 78 : set_has_syntax();
3866 78 : syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3867 : // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.syntax)
3868 : }
3869 37 : inline void FileDescriptorProto::set_syntax(const char* value) {
3870 37 : set_has_syntax();
3871 111 : syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3872 : // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.syntax)
3873 37 : }
3874 : inline void FileDescriptorProto::set_syntax(const char* value, size_t size) {
3875 : set_has_syntax();
3876 : syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3877 : ::std::string(reinterpret_cast<const char*>(value), size));
3878 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.syntax)
3879 : }
3880 45 : inline ::std::string* FileDescriptorProto::mutable_syntax() {
3881 45 : set_has_syntax();
3882 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.syntax)
3883 90 : return syntax_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3884 : }
3885 : inline ::std::string* FileDescriptorProto::release_syntax() {
3886 : clear_has_syntax();
3887 : return syntax_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3888 : }
3889 : inline void FileDescriptorProto::set_allocated_syntax(::std::string* syntax) {
3890 : if (syntax != NULL) {
3891 : set_has_syntax();
3892 : } else {
3893 : clear_has_syntax();
3894 : }
3895 : syntax_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), syntax);
3896 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.syntax)
3897 : }
3898 :
3899 : // -------------------------------------------------------------------
3900 :
3901 : // DescriptorProto_ExtensionRange
3902 :
3903 : // optional int32 start = 1;
3904 : inline bool DescriptorProto_ExtensionRange::has_start() const {
3905 36 : return (_has_bits_[0] & 0x00000001u) != 0;
3906 : }
3907 : inline void DescriptorProto_ExtensionRange::set_has_start() {
3908 404 : _has_bits_[0] |= 0x00000001u;
3909 : }
3910 : inline void DescriptorProto_ExtensionRange::clear_has_start() {
3911 : _has_bits_[0] &= ~0x00000001u;
3912 : }
3913 : inline void DescriptorProto_ExtensionRange::clear_start() {
3914 : start_ = 0;
3915 : clear_has_start();
3916 : }
3917 : inline ::google::protobuf::int32 DescriptorProto_ExtensionRange::start() const {
3918 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.start)
3919 : return start_;
3920 : }
3921 : inline void DescriptorProto_ExtensionRange::set_start(::google::protobuf::int32 value) {
3922 47 : set_has_start();
3923 47 : start_ = value;
3924 : // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.start)
3925 : }
3926 :
3927 : // optional int32 end = 2;
3928 : inline bool DescriptorProto_ExtensionRange::has_end() const {
3929 36 : return (_has_bits_[0] & 0x00000002u) != 0;
3930 : }
3931 : inline void DescriptorProto_ExtensionRange::set_has_end() {
3932 428 : _has_bits_[0] |= 0x00000002u;
3933 : }
3934 : inline void DescriptorProto_ExtensionRange::clear_has_end() {
3935 : _has_bits_[0] &= ~0x00000002u;
3936 : }
3937 : inline void DescriptorProto_ExtensionRange::clear_end() {
3938 : end_ = 0;
3939 : clear_has_end();
3940 : }
3941 : inline ::google::protobuf::int32 DescriptorProto_ExtensionRange::end() const {
3942 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.end)
3943 : return end_;
3944 : }
3945 : inline void DescriptorProto_ExtensionRange::set_end(::google::protobuf::int32 value) {
3946 71 : set_has_end();
3947 71 : end_ = value;
3948 : // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.end)
3949 : }
3950 :
3951 : // -------------------------------------------------------------------
3952 :
3953 : // DescriptorProto_ReservedRange
3954 :
3955 : // optional int32 start = 1;
3956 : inline bool DescriptorProto_ReservedRange::has_start() const {
3957 6 : return (_has_bits_[0] & 0x00000001u) != 0;
3958 : }
3959 : inline void DescriptorProto_ReservedRange::set_has_start() {
3960 6 : _has_bits_[0] |= 0x00000001u;
3961 : }
3962 : inline void DescriptorProto_ReservedRange::clear_has_start() {
3963 : _has_bits_[0] &= ~0x00000001u;
3964 : }
3965 : inline void DescriptorProto_ReservedRange::clear_start() {
3966 : start_ = 0;
3967 : clear_has_start();
3968 : }
3969 : inline ::google::protobuf::int32 DescriptorProto_ReservedRange::start() const {
3970 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.start)
3971 : return start_;
3972 : }
3973 : inline void DescriptorProto_ReservedRange::set_start(::google::protobuf::int32 value) {
3974 6 : set_has_start();
3975 6 : start_ = value;
3976 : // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.start)
3977 : }
3978 :
3979 : // optional int32 end = 2;
3980 : inline bool DescriptorProto_ReservedRange::has_end() const {
3981 6 : return (_has_bits_[0] & 0x00000002u) != 0;
3982 : }
3983 : inline void DescriptorProto_ReservedRange::set_has_end() {
3984 6 : _has_bits_[0] |= 0x00000002u;
3985 : }
3986 : inline void DescriptorProto_ReservedRange::clear_has_end() {
3987 : _has_bits_[0] &= ~0x00000002u;
3988 : }
3989 : inline void DescriptorProto_ReservedRange::clear_end() {
3990 : end_ = 0;
3991 : clear_has_end();
3992 : }
3993 : inline ::google::protobuf::int32 DescriptorProto_ReservedRange::end() const {
3994 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.end)
3995 : return end_;
3996 : }
3997 : inline void DescriptorProto_ReservedRange::set_end(::google::protobuf::int32 value) {
3998 6 : set_has_end();
3999 6 : end_ = value;
4000 : // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.end)
4001 : }
4002 :
4003 : // -------------------------------------------------------------------
4004 :
4005 : // DescriptorProto
4006 :
4007 : // optional string name = 1;
4008 : inline bool DescriptorProto::has_name() const {
4009 830 : return (_has_bits_[0] & 0x00000001u) != 0;
4010 : }
4011 : inline void DescriptorProto::set_has_name() {
4012 2490 : _has_bits_[0] |= 0x00000001u;
4013 : }
4014 : inline void DescriptorProto::clear_has_name() {
4015 : _has_bits_[0] &= ~0x00000001u;
4016 : }
4017 : inline void DescriptorProto::clear_name() {
4018 : name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4019 : clear_has_name();
4020 : }
4021 : inline const ::std::string& DescriptorProto::name() const {
4022 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name)
4023 8127 : return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4024 : }
4025 : inline void DescriptorProto::set_name(const ::std::string& value) {
4026 566 : set_has_name();
4027 566 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4028 : // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name)
4029 : }
4030 0 : inline void DescriptorProto::set_name(const char* value) {
4031 0 : set_has_name();
4032 0 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4033 : // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.name)
4034 0 : }
4035 : inline void DescriptorProto::set_name(const char* value, size_t size) {
4036 : set_has_name();
4037 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4038 : ::std::string(reinterpret_cast<const char*>(value), size));
4039 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.name)
4040 : }
4041 1924 : inline ::std::string* DescriptorProto::mutable_name() {
4042 1924 : set_has_name();
4043 : // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name)
4044 3848 : return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4045 : }
4046 : inline ::std::string* DescriptorProto::release_name() {
4047 : clear_has_name();
4048 : return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4049 : }
4050 : inline void DescriptorProto::set_allocated_name(::std::string* name) {
4051 : if (name != NULL) {
4052 : set_has_name();
4053 : } else {
4054 : clear_has_name();
4055 : }
4056 : name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
4057 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.name)
4058 : }
4059 :
4060 : // repeated .google.protobuf.FieldDescriptorProto field = 2;
4061 : inline int DescriptorProto::field_size() const {
4062 12565 : return field_.size();
4063 : }
4064 : inline void DescriptorProto::clear_field() {
4065 : field_.Clear();
4066 : }
4067 : inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::field(int index) const {
4068 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.field)
4069 17631 : return field_.Get(index);
4070 : }
4071 : inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_field(int index) {
4072 : // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.field)
4073 : return field_.Mutable(index);
4074 : }
4075 : inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_field() {
4076 : // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.field)
4077 11945 : return field_.Add();
4078 : }
4079 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
4080 : DescriptorProto::mutable_field() {
4081 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.field)
4082 : return &field_;
4083 : }
4084 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
4085 : DescriptorProto::field() const {
4086 : // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.field)
4087 : return field_;
4088 : }
4089 :
4090 : // repeated .google.protobuf.FieldDescriptorProto extension = 6;
4091 : inline int DescriptorProto::extension_size() const {
4092 4877 : return extension_.size();
4093 : }
4094 : inline void DescriptorProto::clear_extension() {
4095 : extension_.Clear();
4096 : }
4097 : inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::extension(int index) const {
4098 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension)
4099 89 : return extension_.Get(index);
4100 : }
4101 : inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_extension(int index) {
4102 : // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension)
4103 : return extension_.Mutable(index);
4104 : }
4105 : inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_extension() {
4106 : // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension)
4107 16 : return extension_.Add();
4108 : }
4109 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
4110 : DescriptorProto::mutable_extension() {
4111 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension)
4112 : return &extension_;
4113 : }
4114 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
4115 : DescriptorProto::extension() const {
4116 : // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension)
4117 : return extension_;
4118 : }
4119 :
4120 : // repeated .google.protobuf.DescriptorProto nested_type = 3;
4121 : inline int DescriptorProto::nested_type_size() const {
4122 5401 : return nested_type_.size();
4123 : }
4124 : inline void DescriptorProto::clear_nested_type() {
4125 : nested_type_.Clear();
4126 : }
4127 : inline const ::google::protobuf::DescriptorProto& DescriptorProto::nested_type(int index) const {
4128 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.nested_type)
4129 1125 : return nested_type_.Get(index);
4130 : }
4131 : inline ::google::protobuf::DescriptorProto* DescriptorProto::mutable_nested_type(int index) {
4132 : // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.nested_type)
4133 : return nested_type_.Mutable(index);
4134 : }
4135 : inline ::google::protobuf::DescriptorProto* DescriptorProto::add_nested_type() {
4136 : // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.nested_type)
4137 382 : return nested_type_.Add();
4138 : }
4139 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
4140 : DescriptorProto::mutable_nested_type() {
4141 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.nested_type)
4142 : return &nested_type_;
4143 : }
4144 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
4145 : DescriptorProto::nested_type() const {
4146 : // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.nested_type)
4147 : return nested_type_;
4148 : }
4149 :
4150 : // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
4151 : inline int DescriptorProto::enum_type_size() const {
4152 3617 : return enum_type_.size();
4153 : }
4154 : inline void DescriptorProto::clear_enum_type() {
4155 : enum_type_.Clear();
4156 : }
4157 : inline const ::google::protobuf::EnumDescriptorProto& DescriptorProto::enum_type(int index) const {
4158 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.enum_type)
4159 187 : return enum_type_.Get(index);
4160 : }
4161 : inline ::google::protobuf::EnumDescriptorProto* DescriptorProto::mutable_enum_type(int index) {
4162 : // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.enum_type)
4163 : return enum_type_.Mutable(index);
4164 : }
4165 : inline ::google::protobuf::EnumDescriptorProto* DescriptorProto::add_enum_type() {
4166 : // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.enum_type)
4167 295 : return enum_type_.Add();
4168 : }
4169 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
4170 : DescriptorProto::mutable_enum_type() {
4171 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.enum_type)
4172 : return &enum_type_;
4173 : }
4174 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
4175 : DescriptorProto::enum_type() const {
4176 : // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.enum_type)
4177 : return enum_type_;
4178 : }
4179 :
4180 : // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
4181 : inline int DescriptorProto::extension_range_size() const {
4182 4146 : return extension_range_.size();
4183 : }
4184 : inline void DescriptorProto::clear_extension_range() {
4185 : extension_range_.Clear();
4186 : }
4187 : inline const ::google::protobuf::DescriptorProto_ExtensionRange& DescriptorProto::extension_range(int index) const {
4188 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension_range)
4189 129 : return extension_range_.Get(index);
4190 : }
4191 : inline ::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::mutable_extension_range(int index) {
4192 : // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension_range)
4193 24 : return extension_range_.Mutable(index);
4194 : }
4195 : inline ::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::add_extension_range() {
4196 : // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension_range)
4197 404 : return extension_range_.Add();
4198 : }
4199 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >*
4200 : DescriptorProto::mutable_extension_range() {
4201 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension_range)
4202 : return &extension_range_;
4203 : }
4204 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >&
4205 : DescriptorProto::extension_range() const {
4206 : // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension_range)
4207 : return extension_range_;
4208 : }
4209 :
4210 : // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
4211 : inline int DescriptorProto::oneof_decl_size() const {
4212 3619 : return oneof_decl_.size();
4213 : }
4214 : inline void DescriptorProto::clear_oneof_decl() {
4215 : oneof_decl_.Clear();
4216 : }
4217 : inline const ::google::protobuf::OneofDescriptorProto& DescriptorProto::oneof_decl(int index) const {
4218 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.oneof_decl)
4219 86 : return oneof_decl_.Get(index);
4220 : }
4221 : inline ::google::protobuf::OneofDescriptorProto* DescriptorProto::mutable_oneof_decl(int index) {
4222 : // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.oneof_decl)
4223 : return oneof_decl_.Mutable(index);
4224 : }
4225 : inline ::google::protobuf::OneofDescriptorProto* DescriptorProto::add_oneof_decl() {
4226 : // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.oneof_decl)
4227 79 : return oneof_decl_.Add();
4228 : }
4229 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >*
4230 : DescriptorProto::mutable_oneof_decl() {
4231 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.oneof_decl)
4232 : return &oneof_decl_;
4233 : }
4234 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >&
4235 : DescriptorProto::oneof_decl() const {
4236 : // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_decl)
4237 : return oneof_decl_;
4238 : }
4239 :
4240 : // optional .google.protobuf.MessageOptions options = 7;
4241 : inline bool DescriptorProto::has_options() const {
4242 3090 : return (_has_bits_[0] & 0x00000080u) != 0;
4243 : }
4244 : inline void DescriptorProto::set_has_options() {
4245 274 : _has_bits_[0] |= 0x00000080u;
4246 : }
4247 : inline void DescriptorProto::clear_has_options() {
4248 : _has_bits_[0] &= ~0x00000080u;
4249 : }
4250 : inline void DescriptorProto::clear_options() {
4251 : if (options_ != NULL) options_->::google::protobuf::MessageOptions::Clear();
4252 : clear_has_options();
4253 : }
4254 : inline const ::google::protobuf::MessageOptions& DescriptorProto::options() const {
4255 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options)
4256 161 : return options_ != NULL ? *options_ : *default_instance_->options_;
4257 : }
4258 274 : inline ::google::protobuf::MessageOptions* DescriptorProto::mutable_options() {
4259 274 : set_has_options();
4260 274 : if (options_ == NULL) {
4261 227 : options_ = new ::google::protobuf::MessageOptions;
4262 : }
4263 : // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.options)
4264 274 : return options_;
4265 : }
4266 : inline ::google::protobuf::MessageOptions* DescriptorProto::release_options() {
4267 : clear_has_options();
4268 : ::google::protobuf::MessageOptions* temp = options_;
4269 : options_ = NULL;
4270 : return temp;
4271 : }
4272 : inline void DescriptorProto::set_allocated_options(::google::protobuf::MessageOptions* options) {
4273 : delete options_;
4274 : options_ = options;
4275 : if (options) {
4276 : set_has_options();
4277 : } else {
4278 : clear_has_options();
4279 : }
4280 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.options)
4281 : }
4282 :
4283 : // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
4284 : inline int DescriptorProto::reserved_range_size() const {
4285 4307 : return reserved_range_.size();
4286 : }
4287 : inline void DescriptorProto::clear_reserved_range() {
4288 : reserved_range_.Clear();
4289 : }
4290 : inline const ::google::protobuf::DescriptorProto_ReservedRange& DescriptorProto::reserved_range(int index) const {
4291 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_range)
4292 15 : return reserved_range_.Get(index);
4293 : }
4294 : inline ::google::protobuf::DescriptorProto_ReservedRange* DescriptorProto::mutable_reserved_range(int index) {
4295 : // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_range)
4296 : return reserved_range_.Mutable(index);
4297 : }
4298 : inline ::google::protobuf::DescriptorProto_ReservedRange* DescriptorProto::add_reserved_range() {
4299 : // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_range)
4300 6 : return reserved_range_.Add();
4301 : }
4302 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange >*
4303 : DescriptorProto::mutable_reserved_range() {
4304 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_range)
4305 : return &reserved_range_;
4306 : }
4307 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange >&
4308 : DescriptorProto::reserved_range() const {
4309 : // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_range)
4310 : return reserved_range_;
4311 : }
4312 :
4313 : // repeated string reserved_name = 10;
4314 : inline int DescriptorProto::reserved_name_size() const {
4315 2775 : return reserved_name_.size();
4316 : }
4317 : inline void DescriptorProto::clear_reserved_name() {
4318 : reserved_name_.Clear();
4319 : }
4320 : inline const ::std::string& DescriptorProto::reserved_name(int index) const {
4321 : // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_name)
4322 12 : return reserved_name_.Get(index);
4323 : }
4324 : inline ::std::string* DescriptorProto::mutable_reserved_name(int index) {
4325 : // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_name)
4326 : return reserved_name_.Mutable(index);
4327 : }
4328 : inline void DescriptorProto::set_reserved_name(int index, const ::std::string& value) {
4329 : // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name)
4330 : reserved_name_.Mutable(index)->assign(value);
4331 : }
4332 : inline void DescriptorProto::set_reserved_name(int index, const char* value) {
4333 : reserved_name_.Mutable(index)->assign(value);
4334 : // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.reserved_name)
4335 : }
4336 : inline void DescriptorProto::set_reserved_name(int index, const char* value, size_t size) {
4337 : reserved_name_.Mutable(index)->assign(
4338 : reinterpret_cast<const char*>(value), size);
4339 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.reserved_name)
4340 : }
4341 : inline ::std::string* DescriptorProto::add_reserved_name() {
4342 2 : return reserved_name_.Add();
4343 : }
4344 2 : inline void DescriptorProto::add_reserved_name(const ::std::string& value) {
4345 4 : reserved_name_.Add()->assign(value);
4346 : // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name)
4347 2 : }
4348 : inline void DescriptorProto::add_reserved_name(const char* value) {
4349 : reserved_name_.Add()->assign(value);
4350 : // @@protoc_insertion_point(field_add_char:google.protobuf.DescriptorProto.reserved_name)
4351 : }
4352 : inline void DescriptorProto::add_reserved_name(const char* value, size_t size) {
4353 : reserved_name_.Add()->assign(reinterpret_cast<const char*>(value), size);
4354 : // @@protoc_insertion_point(field_add_pointer:google.protobuf.DescriptorProto.reserved_name)
4355 : }
4356 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
4357 : DescriptorProto::reserved_name() const {
4358 : // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_name)
4359 : return reserved_name_;
4360 : }
4361 : inline ::google::protobuf::RepeatedPtrField< ::std::string>*
4362 : DescriptorProto::mutable_reserved_name() {
4363 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_name)
4364 : return &reserved_name_;
4365 : }
4366 :
4367 : // -------------------------------------------------------------------
4368 :
4369 : // FieldDescriptorProto
4370 :
4371 : // optional string name = 1;
4372 : inline bool FieldDescriptorProto::has_name() const {
4373 5322 : return (_has_bits_[0] & 0x00000001u) != 0;
4374 : }
4375 : inline void FieldDescriptorProto::set_has_name() {
4376 12390 : _has_bits_[0] |= 0x00000001u;
4377 : }
4378 : inline void FieldDescriptorProto::clear_has_name() {
4379 : _has_bits_[0] &= ~0x00000001u;
4380 : }
4381 : inline void FieldDescriptorProto::clear_name() {
4382 : name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4383 : clear_has_name();
4384 : }
4385 : inline const ::std::string& FieldDescriptorProto::name() const {
4386 : // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.name)
4387 47749 : return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4388 : }
4389 : inline void FieldDescriptorProto::set_name(const ::std::string& value) {
4390 2661 : set_has_name();
4391 2661 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4392 : // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.name)
4393 : }
4394 248 : inline void FieldDescriptorProto::set_name(const char* value) {
4395 248 : set_has_name();
4396 744 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4397 : // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.name)
4398 248 : }
4399 : inline void FieldDescriptorProto::set_name(const char* value, size_t size) {
4400 : set_has_name();
4401 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4402 : ::std::string(reinterpret_cast<const char*>(value), size));
4403 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.name)
4404 : }
4405 9481 : inline ::std::string* FieldDescriptorProto::mutable_name() {
4406 9481 : set_has_name();
4407 : // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.name)
4408 18962 : return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4409 : }
4410 : inline ::std::string* FieldDescriptorProto::release_name() {
4411 : clear_has_name();
4412 : return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4413 : }
4414 : inline void FieldDescriptorProto::set_allocated_name(::std::string* name) {
4415 : if (name != NULL) {
4416 : set_has_name();
4417 : } else {
4418 : clear_has_name();
4419 : }
4420 : name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
4421 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.name)
4422 : }
4423 :
4424 : // optional int32 number = 3;
4425 : inline bool FieldDescriptorProto::has_number() const {
4426 5322 : return (_has_bits_[0] & 0x00000002u) != 0;
4427 : }
4428 : inline void FieldDescriptorProto::set_has_number() {
4429 12363 : _has_bits_[0] |= 0x00000002u;
4430 : }
4431 : inline void FieldDescriptorProto::clear_has_number() {
4432 : _has_bits_[0] &= ~0x00000002u;
4433 : }
4434 : inline void FieldDescriptorProto::clear_number() {
4435 : number_ = 0;
4436 : clear_has_number();
4437 : }
4438 : inline ::google::protobuf::int32 FieldDescriptorProto::number() const {
4439 : // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.number)
4440 : return number_;
4441 : }
4442 : inline void FieldDescriptorProto::set_number(::google::protobuf::int32 value) {
4443 5940 : set_has_number();
4444 5940 : number_ = value;
4445 : // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.number)
4446 : }
4447 :
4448 : // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
4449 : inline bool FieldDescriptorProto::has_label() const {
4450 11260 : return (_has_bits_[0] & 0x00000004u) != 0;
4451 : }
4452 : inline void FieldDescriptorProto::set_has_label() {
4453 12363 : _has_bits_[0] |= 0x00000004u;
4454 : }
4455 : inline void FieldDescriptorProto::clear_has_label() {
4456 : _has_bits_[0] &= ~0x00000004u;
4457 : }
4458 : inline void FieldDescriptorProto::clear_label() {
4459 : label_ = 1;
4460 : clear_has_label();
4461 : }
4462 : inline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::label() const {
4463 : // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.label)
4464 6679 : return static_cast< ::google::protobuf::FieldDescriptorProto_Label >(label_);
4465 : }
4466 : inline void FieldDescriptorProto::set_label(::google::protobuf::FieldDescriptorProto_Label value) {
4467 : assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value));
4468 12363 : set_has_label();
4469 12363 : label_ = value;
4470 : // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.label)
4471 : }
4472 :
4473 : // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
4474 : inline bool FieldDescriptorProto::has_type() const {
4475 14636 : return (_has_bits_[0] & 0x00000008u) != 0;
4476 : }
4477 : inline void FieldDescriptorProto::set_has_type() {
4478 11540 : _has_bits_[0] |= 0x00000008u;
4479 : }
4480 : inline void FieldDescriptorProto::clear_has_type() {
4481 0 : _has_bits_[0] &= ~0x00000008u;
4482 : }
4483 : inline void FieldDescriptorProto::clear_type() {
4484 0 : type_ = 1;
4485 0 : clear_has_type();
4486 : }
4487 : inline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::type() const {
4488 : // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type)
4489 11180 : return static_cast< ::google::protobuf::FieldDescriptorProto_Type >(type_);
4490 : }
4491 : inline void FieldDescriptorProto::set_type(::google::protobuf::FieldDescriptorProto_Type value) {
4492 : assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value));
4493 11540 : set_has_type();
4494 11540 : type_ = value;
4495 : // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type)
4496 : }
4497 :
4498 : // optional string type_name = 6;
4499 : inline bool FieldDescriptorProto::has_type_name() const {
4500 9340 : return (_has_bits_[0] & 0x00000010u) != 0;
4501 : }
4502 : inline void FieldDescriptorProto::set_has_type_name() {
4503 4304 : _has_bits_[0] |= 0x00000010u;
4504 : }
4505 : inline void FieldDescriptorProto::clear_has_type_name() {
4506 : _has_bits_[0] &= ~0x00000010u;
4507 : }
4508 : inline void FieldDescriptorProto::clear_type_name() {
4509 : type_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4510 : clear_has_type_name();
4511 : }
4512 : inline const ::std::string& FieldDescriptorProto::type_name() const {
4513 : // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type_name)
4514 8013 : return type_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4515 : }
4516 : inline void FieldDescriptorProto::set_type_name(const ::std::string& value) {
4517 850 : set_has_type_name();
4518 850 : type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4519 : // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type_name)
4520 : }
4521 635 : inline void FieldDescriptorProto::set_type_name(const char* value) {
4522 635 : set_has_type_name();
4523 1905 : type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4524 : // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.type_name)
4525 635 : }
4526 : inline void FieldDescriptorProto::set_type_name(const char* value, size_t size) {
4527 : set_has_type_name();
4528 : type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4529 : ::std::string(reinterpret_cast<const char*>(value), size));
4530 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.type_name)
4531 : }
4532 2819 : inline ::std::string* FieldDescriptorProto::mutable_type_name() {
4533 2819 : set_has_type_name();
4534 : // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.type_name)
4535 5638 : return type_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4536 : }
4537 : inline ::std::string* FieldDescriptorProto::release_type_name() {
4538 : clear_has_type_name();
4539 : return type_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4540 : }
4541 : inline void FieldDescriptorProto::set_allocated_type_name(::std::string* type_name) {
4542 : if (type_name != NULL) {
4543 : set_has_type_name();
4544 : } else {
4545 : clear_has_type_name();
4546 : }
4547 : type_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_name);
4548 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.type_name)
4549 : }
4550 :
4551 : // optional string extendee = 2;
4552 : inline bool FieldDescriptorProto::has_extendee() const {
4553 13482 : return (_has_bits_[0] & 0x00000020u) != 0;
4554 : }
4555 : inline void FieldDescriptorProto::set_has_extendee() {
4556 581 : _has_bits_[0] |= 0x00000020u;
4557 : }
4558 : inline void FieldDescriptorProto::clear_has_extendee() {
4559 : _has_bits_[0] &= ~0x00000020u;
4560 : }
4561 : inline void FieldDescriptorProto::clear_extendee() {
4562 : extendee_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4563 : clear_has_extendee();
4564 : }
4565 : inline const ::std::string& FieldDescriptorProto::extendee() const {
4566 : // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.extendee)
4567 907 : return extendee_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4568 : }
4569 : inline void FieldDescriptorProto::set_extendee(const ::std::string& value) {
4570 255 : set_has_extendee();
4571 255 : extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4572 : // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.extendee)
4573 : }
4574 163 : inline void FieldDescriptorProto::set_extendee(const char* value) {
4575 163 : set_has_extendee();
4576 489 : extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4577 : // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.extendee)
4578 163 : }
4579 : inline void FieldDescriptorProto::set_extendee(const char* value, size_t size) {
4580 : set_has_extendee();
4581 : extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4582 : ::std::string(reinterpret_cast<const char*>(value), size));
4583 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.extendee)
4584 : }
4585 163 : inline ::std::string* FieldDescriptorProto::mutable_extendee() {
4586 163 : set_has_extendee();
4587 : // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.extendee)
4588 326 : return extendee_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4589 : }
4590 : inline ::std::string* FieldDescriptorProto::release_extendee() {
4591 : clear_has_extendee();
4592 : return extendee_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4593 : }
4594 : inline void FieldDescriptorProto::set_allocated_extendee(::std::string* extendee) {
4595 : if (extendee != NULL) {
4596 : set_has_extendee();
4597 : } else {
4598 : clear_has_extendee();
4599 : }
4600 : extendee_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), extendee);
4601 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.extendee)
4602 : }
4603 :
4604 : // optional string default_value = 7;
4605 : inline bool FieldDescriptorProto::has_default_value() const {
4606 14753 : return (_has_bits_[0] & 0x00000040u) != 0;
4607 : }
4608 : inline void FieldDescriptorProto::set_has_default_value() {
4609 3430 : _has_bits_[0] |= 0x00000040u;
4610 : }
4611 : inline void FieldDescriptorProto::clear_has_default_value() {
4612 0 : _has_bits_[0] &= ~0x00000040u;
4613 : }
4614 : inline void FieldDescriptorProto::clear_default_value() {
4615 0 : default_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4616 0 : clear_has_default_value();
4617 : }
4618 : inline const ::std::string& FieldDescriptorProto::default_value() const {
4619 : // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.default_value)
4620 8295 : return default_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4621 : }
4622 : inline void FieldDescriptorProto::set_default_value(const ::std::string& value) {
4623 1097 : set_has_default_value();
4624 1097 : default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4625 : // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.default_value)
4626 : }
4627 : inline void FieldDescriptorProto::set_default_value(const char* value) {
4628 : set_has_default_value();
4629 : default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4630 : // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.default_value)
4631 : }
4632 : inline void FieldDescriptorProto::set_default_value(const char* value, size_t size) {
4633 : set_has_default_value();
4634 : default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4635 : ::std::string(reinterpret_cast<const char*>(value), size));
4636 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.default_value)
4637 : }
4638 2333 : inline ::std::string* FieldDescriptorProto::mutable_default_value() {
4639 2333 : set_has_default_value();
4640 : // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.default_value)
4641 4666 : return default_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4642 : }
4643 : inline ::std::string* FieldDescriptorProto::release_default_value() {
4644 : clear_has_default_value();
4645 : return default_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4646 : }
4647 : inline void FieldDescriptorProto::set_allocated_default_value(::std::string* default_value) {
4648 : if (default_value != NULL) {
4649 : set_has_default_value();
4650 : } else {
4651 : clear_has_default_value();
4652 : }
4653 : default_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), default_value);
4654 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.default_value)
4655 : }
4656 :
4657 : // optional int32 oneof_index = 9;
4658 : inline bool FieldDescriptorProto::has_oneof_index() const {
4659 9464 : return (_has_bits_[0] & 0x00000080u) != 0;
4660 : }
4661 : inline void FieldDescriptorProto::set_has_oneof_index() {
4662 288 : _has_bits_[0] |= 0x00000080u;
4663 : }
4664 : inline void FieldDescriptorProto::clear_has_oneof_index() {
4665 : _has_bits_[0] &= ~0x00000080u;
4666 : }
4667 : inline void FieldDescriptorProto::clear_oneof_index() {
4668 : oneof_index_ = 0;
4669 : clear_has_oneof_index();
4670 : }
4671 : inline ::google::protobuf::int32 FieldDescriptorProto::oneof_index() const {
4672 : // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.oneof_index)
4673 : return oneof_index_;
4674 : }
4675 : inline void FieldDescriptorProto::set_oneof_index(::google::protobuf::int32 value) {
4676 224 : set_has_oneof_index();
4677 224 : oneof_index_ = value;
4678 : // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.oneof_index)
4679 : }
4680 :
4681 : // optional .google.protobuf.FieldOptions options = 8;
4682 : inline bool FieldDescriptorProto::has_options() const {
4683 15763 : return (_has_bits_[0] & 0x00000100u) != 0;
4684 : }
4685 : inline void FieldDescriptorProto::set_has_options() {
4686 482 : _has_bits_[0] |= 0x00000100u;
4687 : }
4688 : inline void FieldDescriptorProto::clear_has_options() {
4689 : _has_bits_[0] &= ~0x00000100u;
4690 : }
4691 : inline void FieldDescriptorProto::clear_options() {
4692 : if (options_ != NULL) options_->::google::protobuf::FieldOptions::Clear();
4693 : clear_has_options();
4694 : }
4695 : inline const ::google::protobuf::FieldOptions& FieldDescriptorProto::options() const {
4696 : // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.options)
4697 347 : return options_ != NULL ? *options_ : *default_instance_->options_;
4698 : }
4699 482 : inline ::google::protobuf::FieldOptions* FieldDescriptorProto::mutable_options() {
4700 482 : set_has_options();
4701 482 : if (options_ == NULL) {
4702 481 : options_ = new ::google::protobuf::FieldOptions;
4703 : }
4704 : // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.options)
4705 482 : return options_;
4706 : }
4707 : inline ::google::protobuf::FieldOptions* FieldDescriptorProto::release_options() {
4708 : clear_has_options();
4709 : ::google::protobuf::FieldOptions* temp = options_;
4710 : options_ = NULL;
4711 : return temp;
4712 : }
4713 : inline void FieldDescriptorProto::set_allocated_options(::google::protobuf::FieldOptions* options) {
4714 : delete options_;
4715 : options_ = options;
4716 : if (options) {
4717 : set_has_options();
4718 : } else {
4719 : clear_has_options();
4720 : }
4721 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.options)
4722 : }
4723 :
4724 : // -------------------------------------------------------------------
4725 :
4726 : // OneofDescriptorProto
4727 :
4728 : // optional string name = 1;
4729 : inline bool OneofDescriptorProto::has_name() const {
4730 50 : return (_has_bits_[0] & 0x00000001u) != 0;
4731 : }
4732 : inline void OneofDescriptorProto::set_has_name() {
4733 79 : _has_bits_[0] |= 0x00000001u;
4734 : }
4735 : inline void OneofDescriptorProto::clear_has_name() {
4736 : _has_bits_[0] &= ~0x00000001u;
4737 : }
4738 : inline void OneofDescriptorProto::clear_name() {
4739 : name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4740 : clear_has_name();
4741 : }
4742 : inline const ::std::string& OneofDescriptorProto::name() const {
4743 : // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.name)
4744 256 : return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4745 : }
4746 : inline void OneofDescriptorProto::set_name(const ::std::string& value) {
4747 25 : set_has_name();
4748 25 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4749 : // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.name)
4750 : }
4751 : inline void OneofDescriptorProto::set_name(const char* value) {
4752 : set_has_name();
4753 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4754 : // @@protoc_insertion_point(field_set_char:google.protobuf.OneofDescriptorProto.name)
4755 : }
4756 : inline void OneofDescriptorProto::set_name(const char* value, size_t size) {
4757 : set_has_name();
4758 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4759 : ::std::string(reinterpret_cast<const char*>(value), size));
4760 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.OneofDescriptorProto.name)
4761 : }
4762 54 : inline ::std::string* OneofDescriptorProto::mutable_name() {
4763 54 : set_has_name();
4764 : // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.name)
4765 108 : return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4766 : }
4767 : inline ::std::string* OneofDescriptorProto::release_name() {
4768 : clear_has_name();
4769 : return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4770 : }
4771 : inline void OneofDescriptorProto::set_allocated_name(::std::string* name) {
4772 : if (name != NULL) {
4773 : set_has_name();
4774 : } else {
4775 : clear_has_name();
4776 : }
4777 : name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
4778 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.name)
4779 : }
4780 :
4781 : // -------------------------------------------------------------------
4782 :
4783 : // EnumDescriptorProto
4784 :
4785 : // optional string name = 1;
4786 : inline bool EnumDescriptorProto::has_name() const {
4787 110 : return (_has_bits_[0] & 0x00000001u) != 0;
4788 : }
4789 : inline void EnumDescriptorProto::set_has_name() {
4790 441 : _has_bits_[0] |= 0x00000001u;
4791 : }
4792 : inline void EnumDescriptorProto::clear_has_name() {
4793 : _has_bits_[0] &= ~0x00000001u;
4794 : }
4795 : inline void EnumDescriptorProto::clear_name() {
4796 : name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4797 : clear_has_name();
4798 : }
4799 : inline const ::std::string& EnumDescriptorProto::name() const {
4800 : // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name)
4801 1226 : return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4802 : }
4803 : inline void EnumDescriptorProto::set_name(const ::std::string& value) {
4804 55 : set_has_name();
4805 55 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4806 : // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name)
4807 : }
4808 : inline void EnumDescriptorProto::set_name(const char* value) {
4809 : set_has_name();
4810 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4811 : // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto.name)
4812 : }
4813 : inline void EnumDescriptorProto::set_name(const char* value, size_t size) {
4814 : set_has_name();
4815 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4816 : ::std::string(reinterpret_cast<const char*>(value), size));
4817 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorProto.name)
4818 : }
4819 386 : inline ::std::string* EnumDescriptorProto::mutable_name() {
4820 386 : set_has_name();
4821 : // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.name)
4822 772 : return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4823 : }
4824 : inline ::std::string* EnumDescriptorProto::release_name() {
4825 : clear_has_name();
4826 : return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4827 : }
4828 : inline void EnumDescriptorProto::set_allocated_name(::std::string* name) {
4829 : if (name != NULL) {
4830 : set_has_name();
4831 : } else {
4832 : clear_has_name();
4833 : }
4834 : name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
4835 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.name)
4836 : }
4837 :
4838 : // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
4839 : inline int EnumDescriptorProto::value_size() const {
4840 1501 : return value_.size();
4841 : }
4842 : inline void EnumDescriptorProto::clear_value() {
4843 : value_.Clear();
4844 : }
4845 : inline const ::google::protobuf::EnumValueDescriptorProto& EnumDescriptorProto::value(int index) const {
4846 : // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.value)
4847 1675 : return value_.Get(index);
4848 : }
4849 : inline ::google::protobuf::EnumValueDescriptorProto* EnumDescriptorProto::mutable_value(int index) {
4850 : // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.value)
4851 : return value_.Mutable(index);
4852 : }
4853 : inline ::google::protobuf::EnumValueDescriptorProto* EnumDescriptorProto::add_value() {
4854 : // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.value)
4855 2107 : return value_.Add();
4856 : }
4857 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >*
4858 : EnumDescriptorProto::mutable_value() {
4859 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.value)
4860 : return &value_;
4861 : }
4862 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >&
4863 : EnumDescriptorProto::value() const {
4864 : // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.value)
4865 : return value_;
4866 : }
4867 :
4868 : // optional .google.protobuf.EnumOptions options = 3;
4869 : inline bool EnumDescriptorProto::has_options() const {
4870 535 : return (_has_bits_[0] & 0x00000004u) != 0;
4871 : }
4872 : inline void EnumDescriptorProto::set_has_options() {
4873 8 : _has_bits_[0] |= 0x00000004u;
4874 : }
4875 : inline void EnumDescriptorProto::clear_has_options() {
4876 : _has_bits_[0] &= ~0x00000004u;
4877 : }
4878 : inline void EnumDescriptorProto::clear_options() {
4879 : if (options_ != NULL) options_->::google::protobuf::EnumOptions::Clear();
4880 : clear_has_options();
4881 : }
4882 : inline const ::google::protobuf::EnumOptions& EnumDescriptorProto::options() const {
4883 : // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.options)
4884 4 : return options_ != NULL ? *options_ : *default_instance_->options_;
4885 : }
4886 8 : inline ::google::protobuf::EnumOptions* EnumDescriptorProto::mutable_options() {
4887 8 : set_has_options();
4888 8 : if (options_ == NULL) {
4889 8 : options_ = new ::google::protobuf::EnumOptions;
4890 : }
4891 : // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.options)
4892 8 : return options_;
4893 : }
4894 : inline ::google::protobuf::EnumOptions* EnumDescriptorProto::release_options() {
4895 : clear_has_options();
4896 : ::google::protobuf::EnumOptions* temp = options_;
4897 : options_ = NULL;
4898 : return temp;
4899 : }
4900 : inline void EnumDescriptorProto::set_allocated_options(::google::protobuf::EnumOptions* options) {
4901 : delete options_;
4902 : options_ = options;
4903 : if (options) {
4904 : set_has_options();
4905 : } else {
4906 : clear_has_options();
4907 : }
4908 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.options)
4909 : }
4910 :
4911 : // -------------------------------------------------------------------
4912 :
4913 : // EnumValueDescriptorProto
4914 :
4915 : // optional string name = 1;
4916 : inline bool EnumValueDescriptorProto::has_name() const {
4917 328 : return (_has_bits_[0] & 0x00000001u) != 0;
4918 : }
4919 : inline void EnumValueDescriptorProto::set_has_name() {
4920 2107 : _has_bits_[0] |= 0x00000001u;
4921 : }
4922 : inline void EnumValueDescriptorProto::clear_has_name() {
4923 : _has_bits_[0] &= ~0x00000001u;
4924 : }
4925 : inline void EnumValueDescriptorProto::clear_name() {
4926 : name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4927 : clear_has_name();
4928 : }
4929 : inline const ::std::string& EnumValueDescriptorProto::name() const {
4930 : // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.name)
4931 4922 : return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4932 : }
4933 : inline void EnumValueDescriptorProto::set_name(const ::std::string& value) {
4934 164 : set_has_name();
4935 164 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4936 : // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.name)
4937 : }
4938 : inline void EnumValueDescriptorProto::set_name(const char* value) {
4939 : set_has_name();
4940 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4941 : // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValueDescriptorProto.name)
4942 : }
4943 : inline void EnumValueDescriptorProto::set_name(const char* value, size_t size) {
4944 : set_has_name();
4945 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4946 : ::std::string(reinterpret_cast<const char*>(value), size));
4947 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValueDescriptorProto.name)
4948 : }
4949 1943 : inline ::std::string* EnumValueDescriptorProto::mutable_name() {
4950 1943 : set_has_name();
4951 : // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.name)
4952 3886 : return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4953 : }
4954 : inline ::std::string* EnumValueDescriptorProto::release_name() {
4955 : clear_has_name();
4956 : return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4957 : }
4958 : inline void EnumValueDescriptorProto::set_allocated_name(::std::string* name) {
4959 : if (name != NULL) {
4960 : set_has_name();
4961 : } else {
4962 : clear_has_name();
4963 : }
4964 : name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
4965 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.name)
4966 : }
4967 :
4968 : // optional int32 number = 2;
4969 : inline bool EnumValueDescriptorProto::has_number() const {
4970 328 : return (_has_bits_[0] & 0x00000002u) != 0;
4971 : }
4972 : inline void EnumValueDescriptorProto::set_has_number() {
4973 2107 : _has_bits_[0] |= 0x00000002u;
4974 : }
4975 : inline void EnumValueDescriptorProto::clear_has_number() {
4976 : _has_bits_[0] &= ~0x00000002u;
4977 : }
4978 : inline void EnumValueDescriptorProto::clear_number() {
4979 : number_ = 0;
4980 : clear_has_number();
4981 : }
4982 : inline ::google::protobuf::int32 EnumValueDescriptorProto::number() const {
4983 : // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.number)
4984 : return number_;
4985 : }
4986 : inline void EnumValueDescriptorProto::set_number(::google::protobuf::int32 value) {
4987 423 : set_has_number();
4988 423 : number_ = value;
4989 : // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.number)
4990 : }
4991 :
4992 : // optional .google.protobuf.EnumValueOptions options = 3;
4993 : inline bool EnumValueDescriptorProto::has_options() const {
4994 2461 : return (_has_bits_[0] & 0x00000004u) != 0;
4995 : }
4996 : inline void EnumValueDescriptorProto::set_has_options() {
4997 6 : _has_bits_[0] |= 0x00000004u;
4998 : }
4999 : inline void EnumValueDescriptorProto::clear_has_options() {
5000 : _has_bits_[0] &= ~0x00000004u;
5001 : }
5002 : inline void EnumValueDescriptorProto::clear_options() {
5003 : if (options_ != NULL) options_->::google::protobuf::EnumValueOptions::Clear();
5004 : clear_has_options();
5005 : }
5006 : inline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::options() const {
5007 : // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.options)
5008 3 : return options_ != NULL ? *options_ : *default_instance_->options_;
5009 : }
5010 6 : inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::mutable_options() {
5011 6 : set_has_options();
5012 6 : if (options_ == NULL) {
5013 6 : options_ = new ::google::protobuf::EnumValueOptions;
5014 : }
5015 : // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.options)
5016 6 : return options_;
5017 : }
5018 : inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::release_options() {
5019 : clear_has_options();
5020 : ::google::protobuf::EnumValueOptions* temp = options_;
5021 : options_ = NULL;
5022 : return temp;
5023 : }
5024 : inline void EnumValueDescriptorProto::set_allocated_options(::google::protobuf::EnumValueOptions* options) {
5025 : delete options_;
5026 : options_ = options;
5027 : if (options) {
5028 : set_has_options();
5029 : } else {
5030 : clear_has_options();
5031 : }
5032 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.options)
5033 : }
5034 :
5035 : // -------------------------------------------------------------------
5036 :
5037 : // ServiceDescriptorProto
5038 :
5039 : // optional string name = 1;
5040 : inline bool ServiceDescriptorProto::has_name() const {
5041 64 : return (_has_bits_[0] & 0x00000001u) != 0;
5042 : }
5043 : inline void ServiceDescriptorProto::set_has_name() {
5044 95 : _has_bits_[0] |= 0x00000001u;
5045 : }
5046 : inline void ServiceDescriptorProto::clear_has_name() {
5047 : _has_bits_[0] &= ~0x00000001u;
5048 : }
5049 : inline void ServiceDescriptorProto::clear_name() {
5050 : name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5051 : clear_has_name();
5052 : }
5053 : inline const ::std::string& ServiceDescriptorProto::name() const {
5054 : // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.name)
5055 339 : return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5056 : }
5057 : inline void ServiceDescriptorProto::set_name(const ::std::string& value) {
5058 32 : set_has_name();
5059 32 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5060 : // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.name)
5061 : }
5062 : inline void ServiceDescriptorProto::set_name(const char* value) {
5063 : set_has_name();
5064 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5065 : // @@protoc_insertion_point(field_set_char:google.protobuf.ServiceDescriptorProto.name)
5066 : }
5067 : inline void ServiceDescriptorProto::set_name(const char* value, size_t size) {
5068 : set_has_name();
5069 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5070 : ::std::string(reinterpret_cast<const char*>(value), size));
5071 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.ServiceDescriptorProto.name)
5072 : }
5073 63 : inline ::std::string* ServiceDescriptorProto::mutable_name() {
5074 63 : set_has_name();
5075 : // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.name)
5076 126 : return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5077 : }
5078 : inline ::std::string* ServiceDescriptorProto::release_name() {
5079 : clear_has_name();
5080 : return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5081 : }
5082 : inline void ServiceDescriptorProto::set_allocated_name(::std::string* name) {
5083 : if (name != NULL) {
5084 : set_has_name();
5085 : } else {
5086 : clear_has_name();
5087 : }
5088 : name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
5089 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.name)
5090 : }
5091 :
5092 : // repeated .google.protobuf.MethodDescriptorProto method = 2;
5093 : inline int ServiceDescriptorProto::method_size() const {
5094 444 : return method_.size();
5095 : }
5096 : inline void ServiceDescriptorProto::clear_method() {
5097 : method_.Clear();
5098 : }
5099 : inline const ::google::protobuf::MethodDescriptorProto& ServiceDescriptorProto::method(int index) const {
5100 : // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.method)
5101 387 : return method_.Get(index);
5102 : }
5103 : inline ::google::protobuf::MethodDescriptorProto* ServiceDescriptorProto::mutable_method(int index) {
5104 : // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.method)
5105 : return method_.Mutable(index);
5106 : }
5107 : inline ::google::protobuf::MethodDescriptorProto* ServiceDescriptorProto::add_method() {
5108 : // @@protoc_insertion_point(field_add:google.protobuf.ServiceDescriptorProto.method)
5109 179 : return method_.Add();
5110 : }
5111 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >*
5112 : ServiceDescriptorProto::mutable_method() {
5113 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceDescriptorProto.method)
5114 : return &method_;
5115 : }
5116 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >&
5117 : ServiceDescriptorProto::method() const {
5118 : // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.method)
5119 : return method_;
5120 : }
5121 :
5122 : // optional .google.protobuf.ServiceOptions options = 3;
5123 : inline bool ServiceDescriptorProto::has_options() const {
5124 138 : return (_has_bits_[0] & 0x00000004u) != 0;
5125 : }
5126 : inline void ServiceDescriptorProto::set_has_options() {
5127 4 : _has_bits_[0] |= 0x00000004u;
5128 : }
5129 : inline void ServiceDescriptorProto::clear_has_options() {
5130 : _has_bits_[0] &= ~0x00000004u;
5131 : }
5132 : inline void ServiceDescriptorProto::clear_options() {
5133 : if (options_ != NULL) options_->::google::protobuf::ServiceOptions::Clear();
5134 : clear_has_options();
5135 : }
5136 : inline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::options() const {
5137 : // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.options)
5138 2 : return options_ != NULL ? *options_ : *default_instance_->options_;
5139 : }
5140 4 : inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::mutable_options() {
5141 4 : set_has_options();
5142 4 : if (options_ == NULL) {
5143 4 : options_ = new ::google::protobuf::ServiceOptions;
5144 : }
5145 : // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.options)
5146 4 : return options_;
5147 : }
5148 : inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::release_options() {
5149 : clear_has_options();
5150 : ::google::protobuf::ServiceOptions* temp = options_;
5151 : options_ = NULL;
5152 : return temp;
5153 : }
5154 : inline void ServiceDescriptorProto::set_allocated_options(::google::protobuf::ServiceOptions* options) {
5155 : delete options_;
5156 : options_ = options;
5157 : if (options) {
5158 : set_has_options();
5159 : } else {
5160 : clear_has_options();
5161 : }
5162 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.options)
5163 : }
5164 :
5165 : // -------------------------------------------------------------------
5166 :
5167 : // MethodDescriptorProto
5168 :
5169 : // optional string name = 1;
5170 : inline bool MethodDescriptorProto::has_name() const {
5171 120 : return (_has_bits_[0] & 0x00000001u) != 0;
5172 : }
5173 : inline void MethodDescriptorProto::set_has_name() {
5174 179 : _has_bits_[0] |= 0x00000001u;
5175 : }
5176 : inline void MethodDescriptorProto::clear_has_name() {
5177 : _has_bits_[0] &= ~0x00000001u;
5178 : }
5179 : inline void MethodDescriptorProto::clear_name() {
5180 : name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5181 : clear_has_name();
5182 : }
5183 : inline const ::std::string& MethodDescriptorProto::name() const {
5184 : // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.name)
5185 528 : return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5186 : }
5187 : inline void MethodDescriptorProto::set_name(const ::std::string& value) {
5188 60 : set_has_name();
5189 60 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5190 : // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.name)
5191 : }
5192 : inline void MethodDescriptorProto::set_name(const char* value) {
5193 : set_has_name();
5194 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5195 : // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.name)
5196 : }
5197 : inline void MethodDescriptorProto::set_name(const char* value, size_t size) {
5198 : set_has_name();
5199 : name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5200 : ::std::string(reinterpret_cast<const char*>(value), size));
5201 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.name)
5202 : }
5203 119 : inline ::std::string* MethodDescriptorProto::mutable_name() {
5204 119 : set_has_name();
5205 : // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.name)
5206 238 : return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5207 : }
5208 : inline ::std::string* MethodDescriptorProto::release_name() {
5209 : clear_has_name();
5210 : return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5211 : }
5212 : inline void MethodDescriptorProto::set_allocated_name(::std::string* name) {
5213 : if (name != NULL) {
5214 : set_has_name();
5215 : } else {
5216 : clear_has_name();
5217 : }
5218 : name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
5219 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.name)
5220 : }
5221 :
5222 : // optional string input_type = 2;
5223 : inline bool MethodDescriptorProto::has_input_type() const {
5224 120 : return (_has_bits_[0] & 0x00000002u) != 0;
5225 : }
5226 : inline void MethodDescriptorProto::set_has_input_type() {
5227 239 : _has_bits_[0] |= 0x00000002u;
5228 : }
5229 : inline void MethodDescriptorProto::clear_has_input_type() {
5230 : _has_bits_[0] &= ~0x00000002u;
5231 : }
5232 : inline void MethodDescriptorProto::clear_input_type() {
5233 : input_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5234 : clear_has_input_type();
5235 : }
5236 : inline const ::std::string& MethodDescriptorProto::input_type() const {
5237 : // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.input_type)
5238 439 : return input_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5239 : }
5240 : inline void MethodDescriptorProto::set_input_type(const ::std::string& value) {
5241 : set_has_input_type();
5242 : input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5243 : // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.input_type)
5244 : }
5245 60 : inline void MethodDescriptorProto::set_input_type(const char* value) {
5246 60 : set_has_input_type();
5247 180 : input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5248 : // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.input_type)
5249 60 : }
5250 : inline void MethodDescriptorProto::set_input_type(const char* value, size_t size) {
5251 : set_has_input_type();
5252 : input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5253 : ::std::string(reinterpret_cast<const char*>(value), size));
5254 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.input_type)
5255 : }
5256 179 : inline ::std::string* MethodDescriptorProto::mutable_input_type() {
5257 179 : set_has_input_type();
5258 : // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.input_type)
5259 358 : return input_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5260 : }
5261 : inline ::std::string* MethodDescriptorProto::release_input_type() {
5262 : clear_has_input_type();
5263 : return input_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5264 : }
5265 : inline void MethodDescriptorProto::set_allocated_input_type(::std::string* input_type) {
5266 : if (input_type != NULL) {
5267 : set_has_input_type();
5268 : } else {
5269 : clear_has_input_type();
5270 : }
5271 : input_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), input_type);
5272 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.input_type)
5273 : }
5274 :
5275 : // optional string output_type = 3;
5276 : inline bool MethodDescriptorProto::has_output_type() const {
5277 120 : return (_has_bits_[0] & 0x00000004u) != 0;
5278 : }
5279 : inline void MethodDescriptorProto::set_has_output_type() {
5280 239 : _has_bits_[0] |= 0x00000004u;
5281 : }
5282 : inline void MethodDescriptorProto::clear_has_output_type() {
5283 : _has_bits_[0] &= ~0x00000004u;
5284 : }
5285 : inline void MethodDescriptorProto::clear_output_type() {
5286 : output_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5287 : clear_has_output_type();
5288 : }
5289 : inline const ::std::string& MethodDescriptorProto::output_type() const {
5290 : // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.output_type)
5291 439 : return output_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5292 : }
5293 : inline void MethodDescriptorProto::set_output_type(const ::std::string& value) {
5294 : set_has_output_type();
5295 : output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5296 : // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.output_type)
5297 : }
5298 60 : inline void MethodDescriptorProto::set_output_type(const char* value) {
5299 60 : set_has_output_type();
5300 180 : output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5301 : // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.output_type)
5302 60 : }
5303 : inline void MethodDescriptorProto::set_output_type(const char* value, size_t size) {
5304 : set_has_output_type();
5305 : output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5306 : ::std::string(reinterpret_cast<const char*>(value), size));
5307 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.output_type)
5308 : }
5309 179 : inline ::std::string* MethodDescriptorProto::mutable_output_type() {
5310 179 : set_has_output_type();
5311 : // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.output_type)
5312 358 : return output_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5313 : }
5314 : inline ::std::string* MethodDescriptorProto::release_output_type() {
5315 : clear_has_output_type();
5316 : return output_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5317 : }
5318 : inline void MethodDescriptorProto::set_allocated_output_type(::std::string* output_type) {
5319 : if (output_type != NULL) {
5320 : set_has_output_type();
5321 : } else {
5322 : clear_has_output_type();
5323 : }
5324 : output_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), output_type);
5325 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.output_type)
5326 : }
5327 :
5328 : // optional .google.protobuf.MethodOptions options = 4;
5329 : inline bool MethodDescriptorProto::has_options() const {
5330 264 : return (_has_bits_[0] & 0x00000008u) != 0;
5331 : }
5332 : inline void MethodDescriptorProto::set_has_options() {
5333 15 : _has_bits_[0] |= 0x00000008u;
5334 : }
5335 : inline void MethodDescriptorProto::clear_has_options() {
5336 : _has_bits_[0] &= ~0x00000008u;
5337 : }
5338 : inline void MethodDescriptorProto::clear_options() {
5339 : if (options_ != NULL) options_->::google::protobuf::MethodOptions::Clear();
5340 : clear_has_options();
5341 : }
5342 : inline const ::google::protobuf::MethodOptions& MethodDescriptorProto::options() const {
5343 : // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.options)
5344 5 : return options_ != NULL ? *options_ : *default_instance_->options_;
5345 : }
5346 15 : inline ::google::protobuf::MethodOptions* MethodDescriptorProto::mutable_options() {
5347 15 : set_has_options();
5348 15 : if (options_ == NULL) {
5349 15 : options_ = new ::google::protobuf::MethodOptions;
5350 : }
5351 : // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.options)
5352 15 : return options_;
5353 : }
5354 : inline ::google::protobuf::MethodOptions* MethodDescriptorProto::release_options() {
5355 : clear_has_options();
5356 : ::google::protobuf::MethodOptions* temp = options_;
5357 : options_ = NULL;
5358 : return temp;
5359 : }
5360 : inline void MethodDescriptorProto::set_allocated_options(::google::protobuf::MethodOptions* options) {
5361 : delete options_;
5362 : options_ = options;
5363 : if (options) {
5364 : set_has_options();
5365 : } else {
5366 : clear_has_options();
5367 : }
5368 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.options)
5369 : }
5370 :
5371 : // optional bool client_streaming = 5 [default = false];
5372 : inline bool MethodDescriptorProto::has_client_streaming() const {
5373 120 : return (_has_bits_[0] & 0x00000010u) != 0;
5374 : }
5375 : inline void MethodDescriptorProto::set_has_client_streaming() {
5376 70 : _has_bits_[0] |= 0x00000010u;
5377 : }
5378 : inline void MethodDescriptorProto::clear_has_client_streaming() {
5379 : _has_bits_[0] &= ~0x00000010u;
5380 : }
5381 : inline void MethodDescriptorProto::clear_client_streaming() {
5382 : client_streaming_ = false;
5383 : clear_has_client_streaming();
5384 : }
5385 : inline bool MethodDescriptorProto::client_streaming() const {
5386 : // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.client_streaming)
5387 : return client_streaming_;
5388 : }
5389 : inline void MethodDescriptorProto::set_client_streaming(bool value) {
5390 41 : set_has_client_streaming();
5391 41 : client_streaming_ = value;
5392 : // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.client_streaming)
5393 : }
5394 :
5395 : // optional bool server_streaming = 6 [default = false];
5396 : inline bool MethodDescriptorProto::has_server_streaming() const {
5397 120 : return (_has_bits_[0] & 0x00000020u) != 0;
5398 : }
5399 : inline void MethodDescriptorProto::set_has_server_streaming() {
5400 70 : _has_bits_[0] |= 0x00000020u;
5401 : }
5402 : inline void MethodDescriptorProto::clear_has_server_streaming() {
5403 : _has_bits_[0] &= ~0x00000020u;
5404 : }
5405 : inline void MethodDescriptorProto::clear_server_streaming() {
5406 : server_streaming_ = false;
5407 : clear_has_server_streaming();
5408 : }
5409 : inline bool MethodDescriptorProto::server_streaming() const {
5410 : // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.server_streaming)
5411 : return server_streaming_;
5412 : }
5413 : inline void MethodDescriptorProto::set_server_streaming(bool value) {
5414 41 : set_has_server_streaming();
5415 41 : server_streaming_ = value;
5416 : // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.server_streaming)
5417 : }
5418 :
5419 : // -------------------------------------------------------------------
5420 :
5421 : // FileOptions
5422 :
5423 : // optional string java_package = 1;
5424 : inline bool FileOptions::has_java_package() const {
5425 144 : return (_has_bits_[0] & 0x00000001u) != 0;
5426 : }
5427 : inline void FileOptions::set_has_java_package() {
5428 113 : _has_bits_[0] |= 0x00000001u;
5429 : }
5430 : inline void FileOptions::clear_has_java_package() {
5431 : _has_bits_[0] &= ~0x00000001u;
5432 : }
5433 : inline void FileOptions::clear_java_package() {
5434 : java_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5435 : clear_has_java_package();
5436 : }
5437 : inline const ::std::string& FileOptions::java_package() const {
5438 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package)
5439 264 : return java_package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5440 : }
5441 : inline void FileOptions::set_java_package(const ::std::string& value) {
5442 : set_has_java_package();
5443 : java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5444 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package)
5445 : }
5446 : inline void FileOptions::set_java_package(const char* value) {
5447 : set_has_java_package();
5448 : java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5449 : // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_package)
5450 : }
5451 : inline void FileOptions::set_java_package(const char* value, size_t size) {
5452 : set_has_java_package();
5453 : java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5454 : ::std::string(reinterpret_cast<const char*>(value), size));
5455 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java_package)
5456 : }
5457 104 : inline ::std::string* FileOptions::mutable_java_package() {
5458 104 : set_has_java_package();
5459 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_package)
5460 208 : return java_package_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5461 : }
5462 : inline ::std::string* FileOptions::release_java_package() {
5463 : clear_has_java_package();
5464 : return java_package_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5465 : }
5466 : inline void FileOptions::set_allocated_java_package(::std::string* java_package) {
5467 : if (java_package != NULL) {
5468 : set_has_java_package();
5469 : } else {
5470 : clear_has_java_package();
5471 : }
5472 : java_package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), java_package);
5473 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_package)
5474 : }
5475 :
5476 : // optional string java_outer_classname = 8;
5477 : inline bool FileOptions::has_java_outer_classname() const {
5478 144 : return (_has_bits_[0] & 0x00000002u) != 0;
5479 : }
5480 : inline void FileOptions::set_has_java_outer_classname() {
5481 96 : _has_bits_[0] |= 0x00000002u;
5482 : }
5483 : inline void FileOptions::clear_has_java_outer_classname() {
5484 : _has_bits_[0] &= ~0x00000002u;
5485 : }
5486 : inline void FileOptions::clear_java_outer_classname() {
5487 : java_outer_classname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5488 : clear_has_java_outer_classname();
5489 : }
5490 : inline const ::std::string& FileOptions::java_outer_classname() const {
5491 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_classname)
5492 216 : return java_outer_classname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5493 : }
5494 : inline void FileOptions::set_java_outer_classname(const ::std::string& value) {
5495 : set_has_java_outer_classname();
5496 : java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5497 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_classname)
5498 : }
5499 : inline void FileOptions::set_java_outer_classname(const char* value) {
5500 : set_has_java_outer_classname();
5501 : java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5502 : // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_outer_classname)
5503 : }
5504 : inline void FileOptions::set_java_outer_classname(const char* value, size_t size) {
5505 : set_has_java_outer_classname();
5506 : java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5507 : ::std::string(reinterpret_cast<const char*>(value), size));
5508 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java_outer_classname)
5509 : }
5510 94 : inline ::std::string* FileOptions::mutable_java_outer_classname() {
5511 94 : set_has_java_outer_classname();
5512 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_outer_classname)
5513 188 : return java_outer_classname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5514 : }
5515 : inline ::std::string* FileOptions::release_java_outer_classname() {
5516 : clear_has_java_outer_classname();
5517 : return java_outer_classname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5518 : }
5519 : inline void FileOptions::set_allocated_java_outer_classname(::std::string* java_outer_classname) {
5520 : if (java_outer_classname != NULL) {
5521 : set_has_java_outer_classname();
5522 : } else {
5523 : clear_has_java_outer_classname();
5524 : }
5525 : java_outer_classname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), java_outer_classname);
5526 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_outer_classname)
5527 : }
5528 :
5529 : // optional bool java_multiple_files = 10 [default = false];
5530 : inline bool FileOptions::has_java_multiple_files() const {
5531 144 : return (_has_bits_[0] & 0x00000004u) != 0;
5532 : }
5533 : inline void FileOptions::set_has_java_multiple_files() {
5534 12 : _has_bits_[0] |= 0x00000004u;
5535 : }
5536 : inline void FileOptions::clear_has_java_multiple_files() {
5537 : _has_bits_[0] &= ~0x00000004u;
5538 : }
5539 : inline void FileOptions::clear_java_multiple_files() {
5540 : java_multiple_files_ = false;
5541 : clear_has_java_multiple_files();
5542 : }
5543 : inline bool FileOptions::java_multiple_files() const {
5544 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multiple_files)
5545 : return java_multiple_files_;
5546 : }
5547 : inline void FileOptions::set_java_multiple_files(bool value) {
5548 1 : set_has_java_multiple_files();
5549 1 : java_multiple_files_ = value;
5550 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multiple_files)
5551 : }
5552 :
5553 : // optional bool java_generate_equals_and_hash = 20 [default = false];
5554 : inline bool FileOptions::has_java_generate_equals_and_hash() const {
5555 144 : return (_has_bits_[0] & 0x00000008u) != 0;
5556 : }
5557 : inline void FileOptions::set_has_java_generate_equals_and_hash() {
5558 10 : _has_bits_[0] |= 0x00000008u;
5559 : }
5560 : inline void FileOptions::clear_has_java_generate_equals_and_hash() {
5561 : _has_bits_[0] &= ~0x00000008u;
5562 : }
5563 : inline void FileOptions::clear_java_generate_equals_and_hash() {
5564 : java_generate_equals_and_hash_ = false;
5565 : clear_has_java_generate_equals_and_hash();
5566 : }
5567 : inline bool FileOptions::java_generate_equals_and_hash() const {
5568 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generate_equals_and_hash)
5569 : return java_generate_equals_and_hash_;
5570 : }
5571 : inline void FileOptions::set_java_generate_equals_and_hash(bool value) {
5572 0 : set_has_java_generate_equals_and_hash();
5573 0 : java_generate_equals_and_hash_ = value;
5574 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generate_equals_and_hash)
5575 : }
5576 :
5577 : // optional bool java_string_check_utf8 = 27 [default = false];
5578 : inline bool FileOptions::has_java_string_check_utf8() const {
5579 144 : return (_has_bits_[0] & 0x00000010u) != 0;
5580 : }
5581 : inline void FileOptions::set_has_java_string_check_utf8() {
5582 0 : _has_bits_[0] |= 0x00000010u;
5583 : }
5584 : inline void FileOptions::clear_has_java_string_check_utf8() {
5585 : _has_bits_[0] &= ~0x00000010u;
5586 : }
5587 : inline void FileOptions::clear_java_string_check_utf8() {
5588 : java_string_check_utf8_ = false;
5589 : clear_has_java_string_check_utf8();
5590 : }
5591 : inline bool FileOptions::java_string_check_utf8() const {
5592 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_check_utf8)
5593 : return java_string_check_utf8_;
5594 : }
5595 : inline void FileOptions::set_java_string_check_utf8(bool value) {
5596 0 : set_has_java_string_check_utf8();
5597 0 : java_string_check_utf8_ = value;
5598 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_check_utf8)
5599 : }
5600 :
5601 : // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
5602 : inline bool FileOptions::has_optimize_for() const {
5603 144 : return (_has_bits_[0] & 0x00000020u) != 0;
5604 : }
5605 : inline void FileOptions::set_has_optimize_for() {
5606 79 : _has_bits_[0] |= 0x00000020u;
5607 : }
5608 : inline void FileOptions::clear_has_optimize_for() {
5609 : _has_bits_[0] &= ~0x00000020u;
5610 : }
5611 : inline void FileOptions::clear_optimize_for() {
5612 : optimize_for_ = 1;
5613 : clear_has_optimize_for();
5614 : }
5615 : inline ::google::protobuf::FileOptions_OptimizeMode FileOptions::optimize_for() const {
5616 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for)
5617 16281 : return static_cast< ::google::protobuf::FileOptions_OptimizeMode >(optimize_for_);
5618 : }
5619 : inline void FileOptions::set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value) {
5620 : assert(::google::protobuf::FileOptions_OptimizeMode_IsValid(value));
5621 79 : set_has_optimize_for();
5622 79 : optimize_for_ = value;
5623 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for)
5624 : }
5625 :
5626 : // optional string go_package = 11;
5627 : inline bool FileOptions::has_go_package() const {
5628 144 : return (_has_bits_[0] & 0x00000040u) != 0;
5629 : }
5630 : inline void FileOptions::set_has_go_package() {
5631 82 : _has_bits_[0] |= 0x00000040u;
5632 : }
5633 : inline void FileOptions::clear_has_go_package() {
5634 : _has_bits_[0] &= ~0x00000040u;
5635 : }
5636 : inline void FileOptions::clear_go_package() {
5637 : go_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5638 : clear_has_go_package();
5639 : }
5640 : inline const ::std::string& FileOptions::go_package() const {
5641 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package)
5642 184 : return go_package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5643 : }
5644 : inline void FileOptions::set_go_package(const ::std::string& value) {
5645 : set_has_go_package();
5646 : go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5647 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package)
5648 : }
5649 : inline void FileOptions::set_go_package(const char* value) {
5650 : set_has_go_package();
5651 : go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5652 : // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.go_package)
5653 : }
5654 : inline void FileOptions::set_go_package(const char* value, size_t size) {
5655 : set_has_go_package();
5656 : go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5657 : ::std::string(reinterpret_cast<const char*>(value), size));
5658 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.go_package)
5659 : }
5660 82 : inline ::std::string* FileOptions::mutable_go_package() {
5661 82 : set_has_go_package();
5662 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.go_package)
5663 164 : return go_package_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5664 : }
5665 : inline ::std::string* FileOptions::release_go_package() {
5666 : clear_has_go_package();
5667 : return go_package_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5668 : }
5669 : inline void FileOptions::set_allocated_go_package(::std::string* go_package) {
5670 : if (go_package != NULL) {
5671 : set_has_go_package();
5672 : } else {
5673 : clear_has_go_package();
5674 : }
5675 : go_package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), go_package);
5676 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go_package)
5677 : }
5678 :
5679 : // optional bool cc_generic_services = 16 [default = false];
5680 : inline bool FileOptions::has_cc_generic_services() const {
5681 144 : return (_has_bits_[0] & 0x00000080u) != 0;
5682 : }
5683 : inline void FileOptions::set_has_cc_generic_services() {
5684 8 : _has_bits_[0] |= 0x00000080u;
5685 : }
5686 : inline void FileOptions::clear_has_cc_generic_services() {
5687 : _has_bits_[0] &= ~0x00000080u;
5688 : }
5689 : inline void FileOptions::clear_cc_generic_services() {
5690 : cc_generic_services_ = false;
5691 : clear_has_cc_generic_services();
5692 : }
5693 8 : inline bool FileOptions::cc_generic_services() const {
5694 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_services)
5695 8 : return cc_generic_services_;
5696 : }
5697 : inline void FileOptions::set_cc_generic_services(bool value) {
5698 4 : set_has_cc_generic_services();
5699 4 : cc_generic_services_ = value;
5700 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_services)
5701 : }
5702 :
5703 : // optional bool java_generic_services = 17 [default = false];
5704 : inline bool FileOptions::has_java_generic_services() const {
5705 134 : return (_has_bits_[0] & 0x00000100u) != 0;
5706 : }
5707 : inline void FileOptions::set_has_java_generic_services() {
5708 6 : _has_bits_[0] |= 0x00000100u;
5709 : }
5710 : inline void FileOptions::clear_has_java_generic_services() {
5711 : _has_bits_[0] &= ~0x00000100u;
5712 : }
5713 : inline void FileOptions::clear_java_generic_services() {
5714 : java_generic_services_ = false;
5715 : clear_has_java_generic_services();
5716 : }
5717 : inline bool FileOptions::java_generic_services() const {
5718 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic_services)
5719 : return java_generic_services_;
5720 : }
5721 : inline void FileOptions::set_java_generic_services(bool value) {
5722 3 : set_has_java_generic_services();
5723 3 : java_generic_services_ = value;
5724 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic_services)
5725 : }
5726 :
5727 : // optional bool py_generic_services = 18 [default = false];
5728 : inline bool FileOptions::has_py_generic_services() const {
5729 134 : return (_has_bits_[0] & 0x00000200u) != 0;
5730 : }
5731 : inline void FileOptions::set_has_py_generic_services() {
5732 6 : _has_bits_[0] |= 0x00000200u;
5733 : }
5734 : inline void FileOptions::clear_has_py_generic_services() {
5735 : _has_bits_[0] &= ~0x00000200u;
5736 : }
5737 : inline void FileOptions::clear_py_generic_services() {
5738 : py_generic_services_ = false;
5739 : clear_has_py_generic_services();
5740 : }
5741 : inline bool FileOptions::py_generic_services() const {
5742 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_services)
5743 : return py_generic_services_;
5744 : }
5745 : inline void FileOptions::set_py_generic_services(bool value) {
5746 3 : set_has_py_generic_services();
5747 3 : py_generic_services_ = value;
5748 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_services)
5749 : }
5750 :
5751 : // optional bool deprecated = 23 [default = false];
5752 : inline bool FileOptions::has_deprecated() const {
5753 134 : return (_has_bits_[0] & 0x00000400u) != 0;
5754 : }
5755 : inline void FileOptions::set_has_deprecated() {
5756 0 : _has_bits_[0] |= 0x00000400u;
5757 : }
5758 : inline void FileOptions::clear_has_deprecated() {
5759 : _has_bits_[0] &= ~0x00000400u;
5760 : }
5761 : inline void FileOptions::clear_deprecated() {
5762 : deprecated_ = false;
5763 : clear_has_deprecated();
5764 : }
5765 : inline bool FileOptions::deprecated() const {
5766 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated)
5767 : return deprecated_;
5768 : }
5769 : inline void FileOptions::set_deprecated(bool value) {
5770 0 : set_has_deprecated();
5771 0 : deprecated_ = value;
5772 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated)
5773 : }
5774 :
5775 : // optional bool cc_enable_arenas = 31 [default = false];
5776 : inline bool FileOptions::has_cc_enable_arenas() const {
5777 134 : return (_has_bits_[0] & 0x00000800u) != 0;
5778 : }
5779 : inline void FileOptions::set_has_cc_enable_arenas() {
5780 17 : _has_bits_[0] |= 0x00000800u;
5781 : }
5782 : inline void FileOptions::clear_has_cc_enable_arenas() {
5783 : _has_bits_[0] &= ~0x00000800u;
5784 : }
5785 : inline void FileOptions::clear_cc_enable_arenas() {
5786 : cc_enable_arenas_ = false;
5787 : clear_has_cc_enable_arenas();
5788 : }
5789 : inline bool FileOptions::cc_enable_arenas() const {
5790 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_arenas)
5791 : return cc_enable_arenas_;
5792 : }
5793 : inline void FileOptions::set_cc_enable_arenas(bool value) {
5794 8 : set_has_cc_enable_arenas();
5795 8 : cc_enable_arenas_ = value;
5796 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_arenas)
5797 : }
5798 :
5799 : // optional string objc_class_prefix = 36;
5800 : inline bool FileOptions::has_objc_class_prefix() const {
5801 134 : return (_has_bits_[0] & 0x00001000u) != 0;
5802 : }
5803 : inline void FileOptions::set_has_objc_class_prefix() {
5804 73 : _has_bits_[0] |= 0x00001000u;
5805 : }
5806 : inline void FileOptions::clear_has_objc_class_prefix() {
5807 : _has_bits_[0] &= ~0x00001000u;
5808 : }
5809 : inline void FileOptions::clear_objc_class_prefix() {
5810 : objc_class_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5811 : clear_has_objc_class_prefix();
5812 : }
5813 : inline const ::std::string& FileOptions::objc_class_prefix() const {
5814 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_prefix)
5815 172 : return objc_class_prefix_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5816 : }
5817 : inline void FileOptions::set_objc_class_prefix(const ::std::string& value) {
5818 : set_has_objc_class_prefix();
5819 : objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5820 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_prefix)
5821 : }
5822 : inline void FileOptions::set_objc_class_prefix(const char* value) {
5823 : set_has_objc_class_prefix();
5824 : objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5825 : // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.objc_class_prefix)
5826 : }
5827 : inline void FileOptions::set_objc_class_prefix(const char* value, size_t size) {
5828 : set_has_objc_class_prefix();
5829 : objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5830 : ::std::string(reinterpret_cast<const char*>(value), size));
5831 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.objc_class_prefix)
5832 : }
5833 70 : inline ::std::string* FileOptions::mutable_objc_class_prefix() {
5834 70 : set_has_objc_class_prefix();
5835 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.objc_class_prefix)
5836 140 : return objc_class_prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5837 : }
5838 : inline ::std::string* FileOptions::release_objc_class_prefix() {
5839 : clear_has_objc_class_prefix();
5840 : return objc_class_prefix_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5841 : }
5842 : inline void FileOptions::set_allocated_objc_class_prefix(::std::string* objc_class_prefix) {
5843 : if (objc_class_prefix != NULL) {
5844 : set_has_objc_class_prefix();
5845 : } else {
5846 : clear_has_objc_class_prefix();
5847 : }
5848 : objc_class_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), objc_class_prefix);
5849 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.objc_class_prefix)
5850 : }
5851 :
5852 : // optional string csharp_namespace = 37;
5853 : inline bool FileOptions::has_csharp_namespace() const {
5854 134 : return (_has_bits_[0] & 0x00002000u) != 0;
5855 : }
5856 : inline void FileOptions::set_has_csharp_namespace() {
5857 18 : _has_bits_[0] |= 0x00002000u;
5858 : }
5859 : inline void FileOptions::clear_has_csharp_namespace() {
5860 : _has_bits_[0] &= ~0x00002000u;
5861 : }
5862 : inline void FileOptions::clear_csharp_namespace() {
5863 : csharp_namespace_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5864 : clear_has_csharp_namespace();
5865 : }
5866 : inline const ::std::string& FileOptions::csharp_namespace() const {
5867 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_namespace)
5868 44 : return csharp_namespace_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5869 : }
5870 : inline void FileOptions::set_csharp_namespace(const ::std::string& value) {
5871 : set_has_csharp_namespace();
5872 : csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5873 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_namespace)
5874 : }
5875 : inline void FileOptions::set_csharp_namespace(const char* value) {
5876 : set_has_csharp_namespace();
5877 : csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5878 : // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.csharp_namespace)
5879 : }
5880 : inline void FileOptions::set_csharp_namespace(const char* value, size_t size) {
5881 : set_has_csharp_namespace();
5882 : csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5883 : ::std::string(reinterpret_cast<const char*>(value), size));
5884 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.csharp_namespace)
5885 : }
5886 14 : inline ::std::string* FileOptions::mutable_csharp_namespace() {
5887 14 : set_has_csharp_namespace();
5888 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.csharp_namespace)
5889 28 : return csharp_namespace_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5890 : }
5891 : inline ::std::string* FileOptions::release_csharp_namespace() {
5892 : clear_has_csharp_namespace();
5893 : return csharp_namespace_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5894 : }
5895 : inline void FileOptions::set_allocated_csharp_namespace(::std::string* csharp_namespace) {
5896 : if (csharp_namespace != NULL) {
5897 : set_has_csharp_namespace();
5898 : } else {
5899 : clear_has_csharp_namespace();
5900 : }
5901 : csharp_namespace_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), csharp_namespace);
5902 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.csharp_namespace)
5903 : }
5904 :
5905 : // optional bool javanano_use_deprecated_package = 38;
5906 : inline bool FileOptions::has_javanano_use_deprecated_package() const {
5907 134 : return (_has_bits_[0] & 0x00004000u) != 0;
5908 : }
5909 : inline void FileOptions::set_has_javanano_use_deprecated_package() {
5910 0 : _has_bits_[0] |= 0x00004000u;
5911 : }
5912 : inline void FileOptions::clear_has_javanano_use_deprecated_package() {
5913 : _has_bits_[0] &= ~0x00004000u;
5914 : }
5915 : inline void FileOptions::clear_javanano_use_deprecated_package() {
5916 : javanano_use_deprecated_package_ = false;
5917 : clear_has_javanano_use_deprecated_package();
5918 : }
5919 : inline bool FileOptions::javanano_use_deprecated_package() const {
5920 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.javanano_use_deprecated_package)
5921 : return javanano_use_deprecated_package_;
5922 : }
5923 : inline void FileOptions::set_javanano_use_deprecated_package(bool value) {
5924 0 : set_has_javanano_use_deprecated_package();
5925 0 : javanano_use_deprecated_package_ = value;
5926 : // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.javanano_use_deprecated_package)
5927 : }
5928 :
5929 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5930 : inline int FileOptions::uninterpreted_option_size() const {
5931 481 : return uninterpreted_option_.size();
5932 : }
5933 : inline void FileOptions::clear_uninterpreted_option() {
5934 : uninterpreted_option_.Clear();
5935 : }
5936 : inline const ::google::protobuf::UninterpretedOption& FileOptions::uninterpreted_option(int index) const {
5937 : // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterpreted_option)
5938 244 : return uninterpreted_option_.Get(index);
5939 : }
5940 : inline ::google::protobuf::UninterpretedOption* FileOptions::mutable_uninterpreted_option(int index) {
5941 : // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.uninterpreted_option)
5942 : return uninterpreted_option_.Mutable(index);
5943 : }
5944 : inline ::google::protobuf::UninterpretedOption* FileOptions::add_uninterpreted_option() {
5945 : // @@protoc_insertion_point(field_add:google.protobuf.FileOptions.uninterpreted_option)
5946 122 : return uninterpreted_option_.Add();
5947 : }
5948 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
5949 : FileOptions::mutable_uninterpreted_option() {
5950 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileOptions.uninterpreted_option)
5951 : return &uninterpreted_option_;
5952 : }
5953 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
5954 : FileOptions::uninterpreted_option() const {
5955 : // @@protoc_insertion_point(field_list:google.protobuf.FileOptions.uninterpreted_option)
5956 : return uninterpreted_option_;
5957 : }
5958 :
5959 : // -------------------------------------------------------------------
5960 :
5961 : // MessageOptions
5962 :
5963 : // optional bool message_set_wire_format = 1 [default = false];
5964 : inline bool MessageOptions::has_message_set_wire_format() const {
5965 530 : return (_has_bits_[0] & 0x00000001u) != 0;
5966 : }
5967 : inline void MessageOptions::set_has_message_set_wire_format() {
5968 6 : _has_bits_[0] |= 0x00000001u;
5969 : }
5970 : inline void MessageOptions::clear_has_message_set_wire_format() {
5971 : _has_bits_[0] &= ~0x00000001u;
5972 : }
5973 : inline void MessageOptions::clear_message_set_wire_format() {
5974 : message_set_wire_format_ = false;
5975 : clear_has_message_set_wire_format();
5976 : }
5977 : inline bool MessageOptions::message_set_wire_format() const {
5978 : // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.message_set_wire_format)
5979 : return message_set_wire_format_;
5980 : }
5981 : inline void MessageOptions::set_message_set_wire_format(bool value) {
5982 3 : set_has_message_set_wire_format();
5983 3 : message_set_wire_format_ = value;
5984 : // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.message_set_wire_format)
5985 : }
5986 :
5987 : // optional bool no_standard_descriptor_accessor = 2 [default = false];
5988 : inline bool MessageOptions::has_no_standard_descriptor_accessor() const {
5989 530 : return (_has_bits_[0] & 0x00000002u) != 0;
5990 : }
5991 : inline void MessageOptions::set_has_no_standard_descriptor_accessor() {
5992 0 : _has_bits_[0] |= 0x00000002u;
5993 : }
5994 : inline void MessageOptions::clear_has_no_standard_descriptor_accessor() {
5995 : _has_bits_[0] &= ~0x00000002u;
5996 : }
5997 : inline void MessageOptions::clear_no_standard_descriptor_accessor() {
5998 : no_standard_descriptor_accessor_ = false;
5999 : clear_has_no_standard_descriptor_accessor();
6000 : }
6001 : inline bool MessageOptions::no_standard_descriptor_accessor() const {
6002 : // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.no_standard_descriptor_accessor)
6003 : return no_standard_descriptor_accessor_;
6004 : }
6005 : inline void MessageOptions::set_no_standard_descriptor_accessor(bool value) {
6006 0 : set_has_no_standard_descriptor_accessor();
6007 0 : no_standard_descriptor_accessor_ = value;
6008 : // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.no_standard_descriptor_accessor)
6009 : }
6010 :
6011 : // optional bool deprecated = 3 [default = false];
6012 : inline bool MessageOptions::has_deprecated() const {
6013 530 : return (_has_bits_[0] & 0x00000004u) != 0;
6014 : }
6015 : inline void MessageOptions::set_has_deprecated() {
6016 0 : _has_bits_[0] |= 0x00000004u;
6017 : }
6018 : inline void MessageOptions::clear_has_deprecated() {
6019 : _has_bits_[0] &= ~0x00000004u;
6020 : }
6021 : inline void MessageOptions::clear_deprecated() {
6022 : deprecated_ = false;
6023 : clear_has_deprecated();
6024 : }
6025 : inline bool MessageOptions::deprecated() const {
6026 : // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.deprecated)
6027 : return deprecated_;
6028 : }
6029 : inline void MessageOptions::set_deprecated(bool value) {
6030 0 : set_has_deprecated();
6031 0 : deprecated_ = value;
6032 : // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.deprecated)
6033 : }
6034 :
6035 : // optional bool map_entry = 7;
6036 : inline bool MessageOptions::has_map_entry() const {
6037 530 : return (_has_bits_[0] & 0x00000008u) != 0;
6038 : }
6039 : inline void MessageOptions::set_has_map_entry() {
6040 329 : _has_bits_[0] |= 0x00000008u;
6041 : }
6042 : inline void MessageOptions::clear_has_map_entry() {
6043 : _has_bits_[0] &= ~0x00000008u;
6044 : }
6045 : inline void MessageOptions::clear_map_entry() {
6046 : map_entry_ = false;
6047 : clear_has_map_entry();
6048 : }
6049 : inline bool MessageOptions::map_entry() const {
6050 : // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.map_entry)
6051 : return map_entry_;
6052 : }
6053 : inline void MessageOptions::set_map_entry(bool value) {
6054 205 : set_has_map_entry();
6055 205 : map_entry_ = value;
6056 : // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.map_entry)
6057 : }
6058 :
6059 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
6060 : inline int MessageOptions::uninterpreted_option_size() const {
6061 933 : return uninterpreted_option_.size();
6062 : }
6063 : inline void MessageOptions::clear_uninterpreted_option() {
6064 : uninterpreted_option_.Clear();
6065 : }
6066 : inline const ::google::protobuf::UninterpretedOption& MessageOptions::uninterpreted_option(int index) const {
6067 : // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.uninterpreted_option)
6068 118 : return uninterpreted_option_.Get(index);
6069 : }
6070 : inline ::google::protobuf::UninterpretedOption* MessageOptions::mutable_uninterpreted_option(int index) {
6071 : // @@protoc_insertion_point(field_mutable:google.protobuf.MessageOptions.uninterpreted_option)
6072 : return uninterpreted_option_.Mutable(index);
6073 : }
6074 : inline ::google::protobuf::UninterpretedOption* MessageOptions::add_uninterpreted_option() {
6075 : // @@protoc_insertion_point(field_add:google.protobuf.MessageOptions.uninterpreted_option)
6076 58 : return uninterpreted_option_.Add();
6077 : }
6078 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
6079 : MessageOptions::mutable_uninterpreted_option() {
6080 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.MessageOptions.uninterpreted_option)
6081 : return &uninterpreted_option_;
6082 : }
6083 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
6084 : MessageOptions::uninterpreted_option() const {
6085 : // @@protoc_insertion_point(field_list:google.protobuf.MessageOptions.uninterpreted_option)
6086 : return uninterpreted_option_;
6087 : }
6088 :
6089 : // -------------------------------------------------------------------
6090 :
6091 : // FieldOptions
6092 :
6093 : // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
6094 : inline bool FieldOptions::has_ctype() const {
6095 938 : return (_has_bits_[0] & 0x00000001u) != 0;
6096 : }
6097 : inline void FieldOptions::set_has_ctype() {
6098 98 : _has_bits_[0] |= 0x00000001u;
6099 : }
6100 : inline void FieldOptions::clear_has_ctype() {
6101 : _has_bits_[0] &= ~0x00000001u;
6102 : }
6103 : inline void FieldOptions::clear_ctype() {
6104 : ctype_ = 0;
6105 : clear_has_ctype();
6106 : }
6107 : inline ::google::protobuf::FieldOptions_CType FieldOptions::ctype() const {
6108 : // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.ctype)
6109 1213 : return static_cast< ::google::protobuf::FieldOptions_CType >(ctype_);
6110 : }
6111 : inline void FieldOptions::set_ctype(::google::protobuf::FieldOptions_CType value) {
6112 : assert(::google::protobuf::FieldOptions_CType_IsValid(value));
6113 98 : set_has_ctype();
6114 98 : ctype_ = value;
6115 : // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype)
6116 : }
6117 :
6118 : // optional bool packed = 2;
6119 : inline bool FieldOptions::has_packed() const {
6120 1944 : return (_has_bits_[0] & 0x00000002u) != 0;
6121 : }
6122 : inline void FieldOptions::set_has_packed() {
6123 352 : _has_bits_[0] |= 0x00000002u;
6124 : }
6125 : inline void FieldOptions::clear_has_packed() {
6126 : _has_bits_[0] &= ~0x00000002u;
6127 : }
6128 : inline void FieldOptions::clear_packed() {
6129 : packed_ = false;
6130 : clear_has_packed();
6131 : }
6132 : inline bool FieldOptions::packed() const {
6133 : // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed)
6134 : return packed_;
6135 : }
6136 : inline void FieldOptions::set_packed(bool value) {
6137 105 : set_has_packed();
6138 105 : packed_ = value;
6139 : // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed)
6140 : }
6141 :
6142 : // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
6143 : inline bool FieldOptions::has_jstype() const {
6144 938 : return (_has_bits_[0] & 0x00000004u) != 0;
6145 : }
6146 : inline void FieldOptions::set_has_jstype() {
6147 0 : _has_bits_[0] |= 0x00000004u;
6148 : }
6149 : inline void FieldOptions::clear_has_jstype() {
6150 : _has_bits_[0] &= ~0x00000004u;
6151 : }
6152 : inline void FieldOptions::clear_jstype() {
6153 : jstype_ = 0;
6154 : clear_has_jstype();
6155 : }
6156 : inline ::google::protobuf::FieldOptions_JSType FieldOptions::jstype() const {
6157 : // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype)
6158 0 : return static_cast< ::google::protobuf::FieldOptions_JSType >(jstype_);
6159 : }
6160 : inline void FieldOptions::set_jstype(::google::protobuf::FieldOptions_JSType value) {
6161 : assert(::google::protobuf::FieldOptions_JSType_IsValid(value));
6162 0 : set_has_jstype();
6163 0 : jstype_ = value;
6164 : // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.jstype)
6165 : }
6166 :
6167 : // optional bool lazy = 5 [default = false];
6168 : inline bool FieldOptions::has_lazy() const {
6169 938 : return (_has_bits_[0] & 0x00000008u) != 0;
6170 : }
6171 : inline void FieldOptions::set_has_lazy() {
6172 32 : _has_bits_[0] |= 0x00000008u;
6173 : }
6174 : inline void FieldOptions::clear_has_lazy() {
6175 : _has_bits_[0] &= ~0x00000008u;
6176 : }
6177 : inline void FieldOptions::clear_lazy() {
6178 : lazy_ = false;
6179 : clear_has_lazy();
6180 : }
6181 : inline bool FieldOptions::lazy() const {
6182 : // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.lazy)
6183 : return lazy_;
6184 : }
6185 : inline void FieldOptions::set_lazy(bool value) {
6186 14 : set_has_lazy();
6187 14 : lazy_ = value;
6188 : // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.lazy)
6189 : }
6190 :
6191 : // optional bool deprecated = 3 [default = false];
6192 : inline bool FieldOptions::has_deprecated() const {
6193 938 : return (_has_bits_[0] & 0x00000010u) != 0;
6194 : }
6195 : inline void FieldOptions::set_has_deprecated() {
6196 3 : _has_bits_[0] |= 0x00000010u;
6197 : }
6198 : inline void FieldOptions::clear_has_deprecated() {
6199 : _has_bits_[0] &= ~0x00000010u;
6200 : }
6201 : inline void FieldOptions::clear_deprecated() {
6202 : deprecated_ = false;
6203 : clear_has_deprecated();
6204 : }
6205 : inline bool FieldOptions::deprecated() const {
6206 : // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.deprecated)
6207 : return deprecated_;
6208 : }
6209 : inline void FieldOptions::set_deprecated(bool value) {
6210 1 : set_has_deprecated();
6211 1 : deprecated_ = value;
6212 : // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.deprecated)
6213 : }
6214 :
6215 : // optional bool weak = 10 [default = false];
6216 : inline bool FieldOptions::has_weak() const {
6217 938 : return (_has_bits_[0] & 0x00000020u) != 0;
6218 : }
6219 : inline void FieldOptions::set_has_weak() {
6220 0 : _has_bits_[0] |= 0x00000020u;
6221 : }
6222 : inline void FieldOptions::clear_has_weak() {
6223 : _has_bits_[0] &= ~0x00000020u;
6224 : }
6225 : inline void FieldOptions::clear_weak() {
6226 : weak_ = false;
6227 : clear_has_weak();
6228 : }
6229 : inline bool FieldOptions::weak() const {
6230 : // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.weak)
6231 : return weak_;
6232 : }
6233 : inline void FieldOptions::set_weak(bool value) {
6234 0 : set_has_weak();
6235 0 : weak_ = value;
6236 : // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.weak)
6237 : }
6238 :
6239 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
6240 : inline int FieldOptions::uninterpreted_option_size() const {
6241 2367 : return uninterpreted_option_.size();
6242 : }
6243 : inline void FieldOptions::clear_uninterpreted_option() {
6244 : uninterpreted_option_.Clear();
6245 : }
6246 : inline const ::google::protobuf::UninterpretedOption& FieldOptions::uninterpreted_option(int index) const {
6247 : // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.uninterpreted_option)
6248 428 : return uninterpreted_option_.Get(index);
6249 : }
6250 : inline ::google::protobuf::UninterpretedOption* FieldOptions::mutable_uninterpreted_option(int index) {
6251 : // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.uninterpreted_option)
6252 : return uninterpreted_option_.Mutable(index);
6253 : }
6254 : inline ::google::protobuf::UninterpretedOption* FieldOptions::add_uninterpreted_option() {
6255 : // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.uninterpreted_option)
6256 214 : return uninterpreted_option_.Add();
6257 : }
6258 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
6259 : FieldOptions::mutable_uninterpreted_option() {
6260 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldOptions.uninterpreted_option)
6261 : return &uninterpreted_option_;
6262 : }
6263 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
6264 : FieldOptions::uninterpreted_option() const {
6265 : // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpreted_option)
6266 : return uninterpreted_option_;
6267 : }
6268 :
6269 : // -------------------------------------------------------------------
6270 :
6271 : // EnumOptions
6272 :
6273 : // optional bool allow_alias = 2;
6274 : inline bool EnumOptions::has_allow_alias() const {
6275 130 : return (_has_bits_[0] & 0x00000001u) != 0;
6276 : }
6277 : inline void EnumOptions::set_has_allow_alias() {
6278 2 : _has_bits_[0] |= 0x00000001u;
6279 : }
6280 : inline void EnumOptions::clear_has_allow_alias() {
6281 : _has_bits_[0] &= ~0x00000001u;
6282 : }
6283 : inline void EnumOptions::clear_allow_alias() {
6284 : allow_alias_ = false;
6285 : clear_has_allow_alias();
6286 : }
6287 : inline bool EnumOptions::allow_alias() const {
6288 : // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.allow_alias)
6289 : return allow_alias_;
6290 : }
6291 : inline void EnumOptions::set_allow_alias(bool value) {
6292 1 : set_has_allow_alias();
6293 1 : allow_alias_ = value;
6294 : // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.allow_alias)
6295 : }
6296 :
6297 : // optional bool deprecated = 3 [default = false];
6298 : inline bool EnumOptions::has_deprecated() const {
6299 14 : return (_has_bits_[0] & 0x00000002u) != 0;
6300 : }
6301 : inline void EnumOptions::set_has_deprecated() {
6302 0 : _has_bits_[0] |= 0x00000002u;
6303 : }
6304 : inline void EnumOptions::clear_has_deprecated() {
6305 : _has_bits_[0] &= ~0x00000002u;
6306 : }
6307 : inline void EnumOptions::clear_deprecated() {
6308 : deprecated_ = false;
6309 : clear_has_deprecated();
6310 : }
6311 : inline bool EnumOptions::deprecated() const {
6312 : // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated)
6313 : return deprecated_;
6314 : }
6315 : inline void EnumOptions::set_deprecated(bool value) {
6316 0 : set_has_deprecated();
6317 0 : deprecated_ = value;
6318 : // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated)
6319 : }
6320 :
6321 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
6322 : inline int EnumOptions::uninterpreted_option_size() const {
6323 44 : return uninterpreted_option_.size();
6324 : }
6325 : inline void EnumOptions::clear_uninterpreted_option() {
6326 : uninterpreted_option_.Clear();
6327 : }
6328 : inline const ::google::protobuf::UninterpretedOption& EnumOptions::uninterpreted_option(int index) const {
6329 : // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.uninterpreted_option)
6330 8 : return uninterpreted_option_.Get(index);
6331 : }
6332 : inline ::google::protobuf::UninterpretedOption* EnumOptions::mutable_uninterpreted_option(int index) {
6333 : // @@protoc_insertion_point(field_mutable:google.protobuf.EnumOptions.uninterpreted_option)
6334 : return uninterpreted_option_.Mutable(index);
6335 : }
6336 : inline ::google::protobuf::UninterpretedOption* EnumOptions::add_uninterpreted_option() {
6337 : // @@protoc_insertion_point(field_add:google.protobuf.EnumOptions.uninterpreted_option)
6338 4 : return uninterpreted_option_.Add();
6339 : }
6340 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
6341 : EnumOptions::mutable_uninterpreted_option() {
6342 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumOptions.uninterpreted_option)
6343 : return &uninterpreted_option_;
6344 : }
6345 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
6346 : EnumOptions::uninterpreted_option() const {
6347 : // @@protoc_insertion_point(field_list:google.protobuf.EnumOptions.uninterpreted_option)
6348 : return uninterpreted_option_;
6349 : }
6350 :
6351 : // -------------------------------------------------------------------
6352 :
6353 : // EnumValueOptions
6354 :
6355 : // optional bool deprecated = 1 [default = false];
6356 : inline bool EnumValueOptions::has_deprecated() const {
6357 18 : return (_has_bits_[0] & 0x00000001u) != 0;
6358 : }
6359 : inline void EnumValueOptions::set_has_deprecated() {
6360 0 : _has_bits_[0] |= 0x00000001u;
6361 : }
6362 : inline void EnumValueOptions::clear_has_deprecated() {
6363 : _has_bits_[0] &= ~0x00000001u;
6364 : }
6365 : inline void EnumValueOptions::clear_deprecated() {
6366 : deprecated_ = false;
6367 : clear_has_deprecated();
6368 : }
6369 : inline bool EnumValueOptions::deprecated() const {
6370 : // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.deprecated)
6371 : return deprecated_;
6372 : }
6373 : inline void EnumValueOptions::set_deprecated(bool value) {
6374 0 : set_has_deprecated();
6375 0 : deprecated_ = value;
6376 : // @@protoc_insertion_point(field_set:google.protobuf.EnumValueOptions.deprecated)
6377 : }
6378 :
6379 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
6380 : inline int EnumValueOptions::uninterpreted_option_size() const {
6381 33 : return uninterpreted_option_.size();
6382 : }
6383 : inline void EnumValueOptions::clear_uninterpreted_option() {
6384 : uninterpreted_option_.Clear();
6385 : }
6386 : inline const ::google::protobuf::UninterpretedOption& EnumValueOptions::uninterpreted_option(int index) const {
6387 : // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.uninterpreted_option)
6388 6 : return uninterpreted_option_.Get(index);
6389 : }
6390 : inline ::google::protobuf::UninterpretedOption* EnumValueOptions::mutable_uninterpreted_option(int index) {
6391 : // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueOptions.uninterpreted_option)
6392 : return uninterpreted_option_.Mutable(index);
6393 : }
6394 : inline ::google::protobuf::UninterpretedOption* EnumValueOptions::add_uninterpreted_option() {
6395 : // @@protoc_insertion_point(field_add:google.protobuf.EnumValueOptions.uninterpreted_option)
6396 3 : return uninterpreted_option_.Add();
6397 : }
6398 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
6399 : EnumValueOptions::mutable_uninterpreted_option() {
6400 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValueOptions.uninterpreted_option)
6401 : return &uninterpreted_option_;
6402 : }
6403 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
6404 : EnumValueOptions::uninterpreted_option() const {
6405 : // @@protoc_insertion_point(field_list:google.protobuf.EnumValueOptions.uninterpreted_option)
6406 : return uninterpreted_option_;
6407 : }
6408 :
6409 : // -------------------------------------------------------------------
6410 :
6411 : // ServiceOptions
6412 :
6413 : // optional bool deprecated = 33 [default = false];
6414 : inline bool ServiceOptions::has_deprecated() const {
6415 12 : return (_has_bits_[0] & 0x00000001u) != 0;
6416 : }
6417 : inline void ServiceOptions::set_has_deprecated() {
6418 0 : _has_bits_[0] |= 0x00000001u;
6419 : }
6420 : inline void ServiceOptions::clear_has_deprecated() {
6421 : _has_bits_[0] &= ~0x00000001u;
6422 : }
6423 : inline void ServiceOptions::clear_deprecated() {
6424 : deprecated_ = false;
6425 : clear_has_deprecated();
6426 : }
6427 : inline bool ServiceOptions::deprecated() const {
6428 : // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.deprecated)
6429 : return deprecated_;
6430 : }
6431 : inline void ServiceOptions::set_deprecated(bool value) {
6432 0 : set_has_deprecated();
6433 0 : deprecated_ = value;
6434 : // @@protoc_insertion_point(field_set:google.protobuf.ServiceOptions.deprecated)
6435 : }
6436 :
6437 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
6438 : inline int ServiceOptions::uninterpreted_option_size() const {
6439 22 : return uninterpreted_option_.size();
6440 : }
6441 : inline void ServiceOptions::clear_uninterpreted_option() {
6442 : uninterpreted_option_.Clear();
6443 : }
6444 : inline const ::google::protobuf::UninterpretedOption& ServiceOptions::uninterpreted_option(int index) const {
6445 : // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.uninterpreted_option)
6446 4 : return uninterpreted_option_.Get(index);
6447 : }
6448 : inline ::google::protobuf::UninterpretedOption* ServiceOptions::mutable_uninterpreted_option(int index) {
6449 : // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceOptions.uninterpreted_option)
6450 : return uninterpreted_option_.Mutable(index);
6451 : }
6452 : inline ::google::protobuf::UninterpretedOption* ServiceOptions::add_uninterpreted_option() {
6453 : // @@protoc_insertion_point(field_add:google.protobuf.ServiceOptions.uninterpreted_option)
6454 2 : return uninterpreted_option_.Add();
6455 : }
6456 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
6457 : ServiceOptions::mutable_uninterpreted_option() {
6458 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceOptions.uninterpreted_option)
6459 : return &uninterpreted_option_;
6460 : }
6461 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
6462 : ServiceOptions::uninterpreted_option() const {
6463 : // @@protoc_insertion_point(field_list:google.protobuf.ServiceOptions.uninterpreted_option)
6464 : return uninterpreted_option_;
6465 : }
6466 :
6467 : // -------------------------------------------------------------------
6468 :
6469 : // MethodOptions
6470 :
6471 : // optional bool deprecated = 33 [default = false];
6472 : inline bool MethodOptions::has_deprecated() const {
6473 22 : return (_has_bits_[0] & 0x00000001u) != 0;
6474 : }
6475 : inline void MethodOptions::set_has_deprecated() {
6476 0 : _has_bits_[0] |= 0x00000001u;
6477 : }
6478 : inline void MethodOptions::clear_has_deprecated() {
6479 : _has_bits_[0] &= ~0x00000001u;
6480 : }
6481 : inline void MethodOptions::clear_deprecated() {
6482 : deprecated_ = false;
6483 : clear_has_deprecated();
6484 : }
6485 : inline bool MethodOptions::deprecated() const {
6486 : // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated)
6487 : return deprecated_;
6488 : }
6489 : inline void MethodOptions::set_deprecated(bool value) {
6490 0 : set_has_deprecated();
6491 0 : deprecated_ = value;
6492 : // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated)
6493 : }
6494 :
6495 : // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
6496 : inline int MethodOptions::uninterpreted_option_size() const {
6497 40 : return uninterpreted_option_.size();
6498 : }
6499 : inline void MethodOptions::clear_uninterpreted_option() {
6500 : uninterpreted_option_.Clear();
6501 : }
6502 : inline const ::google::protobuf::UninterpretedOption& MethodOptions::uninterpreted_option(int index) const {
6503 : // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpreted_option)
6504 4 : return uninterpreted_option_.Get(index);
6505 : }
6506 : inline ::google::protobuf::UninterpretedOption* MethodOptions::mutable_uninterpreted_option(int index) {
6507 : // @@protoc_insertion_point(field_mutable:google.protobuf.MethodOptions.uninterpreted_option)
6508 : return uninterpreted_option_.Mutable(index);
6509 : }
6510 : inline ::google::protobuf::UninterpretedOption* MethodOptions::add_uninterpreted_option() {
6511 : // @@protoc_insertion_point(field_add:google.protobuf.MethodOptions.uninterpreted_option)
6512 2 : return uninterpreted_option_.Add();
6513 : }
6514 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
6515 : MethodOptions::mutable_uninterpreted_option() {
6516 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.MethodOptions.uninterpreted_option)
6517 : return &uninterpreted_option_;
6518 : }
6519 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
6520 : MethodOptions::uninterpreted_option() const {
6521 : // @@protoc_insertion_point(field_list:google.protobuf.MethodOptions.uninterpreted_option)
6522 : return uninterpreted_option_;
6523 : }
6524 :
6525 : // -------------------------------------------------------------------
6526 :
6527 : // UninterpretedOption_NamePart
6528 :
6529 : // required string name_part = 1;
6530 : inline bool UninterpretedOption_NamePart::has_name_part() const {
6531 872 : return (_has_bits_[0] & 0x00000001u) != 0;
6532 : }
6533 : inline void UninterpretedOption_NamePart::set_has_name_part() {
6534 902 : _has_bits_[0] |= 0x00000001u;
6535 : }
6536 : inline void UninterpretedOption_NamePart::clear_has_name_part() {
6537 : _has_bits_[0] &= ~0x00000001u;
6538 : }
6539 : inline void UninterpretedOption_NamePart::clear_name_part() {
6540 : name_part_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6541 : clear_has_name_part();
6542 : }
6543 : inline const ::std::string& UninterpretedOption_NamePart::name_part() const {
6544 : // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.name_part)
6545 3459 : return name_part_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6546 : }
6547 : inline void UninterpretedOption_NamePart::set_name_part(const ::std::string& value) {
6548 : set_has_name_part();
6549 : name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6550 : // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.name_part)
6551 : }
6552 : inline void UninterpretedOption_NamePart::set_name_part(const char* value) {
6553 : set_has_name_part();
6554 : name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6555 : // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.NamePart.name_part)
6556 : }
6557 : inline void UninterpretedOption_NamePart::set_name_part(const char* value, size_t size) {
6558 : set_has_name_part();
6559 : name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6560 : ::std::string(reinterpret_cast<const char*>(value), size));
6561 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.NamePart.name_part)
6562 : }
6563 902 : inline ::std::string* UninterpretedOption_NamePart::mutable_name_part() {
6564 902 : set_has_name_part();
6565 : // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.NamePart.name_part)
6566 1804 : return name_part_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6567 : }
6568 : inline ::std::string* UninterpretedOption_NamePart::release_name_part() {
6569 : clear_has_name_part();
6570 : return name_part_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6571 : }
6572 : inline void UninterpretedOption_NamePart::set_allocated_name_part(::std::string* name_part) {
6573 : if (name_part != NULL) {
6574 : set_has_name_part();
6575 : } else {
6576 : clear_has_name_part();
6577 : }
6578 : name_part_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name_part);
6579 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.NamePart.name_part)
6580 : }
6581 :
6582 : // required bool is_extension = 2;
6583 : inline bool UninterpretedOption_NamePart::has_is_extension() const {
6584 436 : return (_has_bits_[0] & 0x00000002u) != 0;
6585 : }
6586 : inline void UninterpretedOption_NamePart::set_has_is_extension() {
6587 872 : _has_bits_[0] |= 0x00000002u;
6588 : }
6589 : inline void UninterpretedOption_NamePart::clear_has_is_extension() {
6590 : _has_bits_[0] &= ~0x00000002u;
6591 : }
6592 : inline void UninterpretedOption_NamePart::clear_is_extension() {
6593 : is_extension_ = false;
6594 : clear_has_is_extension();
6595 : }
6596 : inline bool UninterpretedOption_NamePart::is_extension() const {
6597 : // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.is_extension)
6598 : return is_extension_;
6599 : }
6600 : inline void UninterpretedOption_NamePart::set_is_extension(bool value) {
6601 436 : set_has_is_extension();
6602 436 : is_extension_ = value;
6603 : // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.is_extension)
6604 : }
6605 :
6606 : // -------------------------------------------------------------------
6607 :
6608 : // UninterpretedOption
6609 :
6610 : // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
6611 : inline int UninterpretedOption::name_size() const {
6612 3771 : return name_.size();
6613 : }
6614 : inline void UninterpretedOption::clear_name() {
6615 : name_.Clear();
6616 : }
6617 : inline const ::google::protobuf::UninterpretedOption_NamePart& UninterpretedOption::name(int index) const {
6618 : // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.name)
6619 2151 : return name_.Get(index);
6620 : }
6621 : inline ::google::protobuf::UninterpretedOption_NamePart* UninterpretedOption::mutable_name(int index) {
6622 : // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.name)
6623 : return name_.Mutable(index);
6624 : }
6625 : inline ::google::protobuf::UninterpretedOption_NamePart* UninterpretedOption::add_name() {
6626 : // @@protoc_insertion_point(field_add:google.protobuf.UninterpretedOption.name)
6627 872 : return name_.Add();
6628 : }
6629 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >*
6630 : UninterpretedOption::mutable_name() {
6631 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.UninterpretedOption.name)
6632 : return &name_;
6633 : }
6634 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >&
6635 : UninterpretedOption::name() const {
6636 : // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.name)
6637 : return name_;
6638 : }
6639 :
6640 : // optional string identifier_value = 3;
6641 : inline bool UninterpretedOption::has_identifier_value() const {
6642 1488 : return (_has_bits_[0] & 0x00000002u) != 0;
6643 : }
6644 : inline void UninterpretedOption::set_has_identifier_value() {
6645 546 : _has_bits_[0] |= 0x00000002u;
6646 : }
6647 : inline void UninterpretedOption::clear_has_identifier_value() {
6648 : _has_bits_[0] &= ~0x00000002u;
6649 : }
6650 : inline void UninterpretedOption::clear_identifier_value() {
6651 : identifier_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6652 : clear_has_identifier_value();
6653 : }
6654 : inline const ::std::string& UninterpretedOption::identifier_value() const {
6655 : // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.identifier_value)
6656 1959 : return identifier_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6657 : }
6658 : inline void UninterpretedOption::set_identifier_value(const ::std::string& value) {
6659 273 : set_has_identifier_value();
6660 273 : identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6661 : // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.identifier_value)
6662 : }
6663 : inline void UninterpretedOption::set_identifier_value(const char* value) {
6664 : set_has_identifier_value();
6665 : identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6666 : // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.identifier_value)
6667 : }
6668 : inline void UninterpretedOption::set_identifier_value(const char* value, size_t size) {
6669 : set_has_identifier_value();
6670 : identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6671 : ::std::string(reinterpret_cast<const char*>(value), size));
6672 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.identifier_value)
6673 : }
6674 273 : inline ::std::string* UninterpretedOption::mutable_identifier_value() {
6675 273 : set_has_identifier_value();
6676 : // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.identifier_value)
6677 546 : return identifier_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6678 : }
6679 : inline ::std::string* UninterpretedOption::release_identifier_value() {
6680 : clear_has_identifier_value();
6681 : return identifier_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6682 : }
6683 : inline void UninterpretedOption::set_allocated_identifier_value(::std::string* identifier_value) {
6684 : if (identifier_value != NULL) {
6685 : set_has_identifier_value();
6686 : } else {
6687 : clear_has_identifier_value();
6688 : }
6689 : identifier_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), identifier_value);
6690 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.identifier_value)
6691 : }
6692 :
6693 : // optional uint64 positive_int_value = 4;
6694 : inline bool UninterpretedOption::has_positive_int_value() const {
6695 864 : return (_has_bits_[0] & 0x00000004u) != 0;
6696 : }
6697 : inline void UninterpretedOption::set_has_positive_int_value() {
6698 84 : _has_bits_[0] |= 0x00000004u;
6699 : }
6700 : inline void UninterpretedOption::clear_has_positive_int_value() {
6701 : _has_bits_[0] &= ~0x00000004u;
6702 : }
6703 : inline void UninterpretedOption::clear_positive_int_value() {
6704 : positive_int_value_ = GOOGLE_ULONGLONG(0);
6705 : clear_has_positive_int_value();
6706 : }
6707 : inline ::google::protobuf::uint64 UninterpretedOption::positive_int_value() const {
6708 : // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.positive_int_value)
6709 : return positive_int_value_;
6710 : }
6711 : inline void UninterpretedOption::set_positive_int_value(::google::protobuf::uint64 value) {
6712 42 : set_has_positive_int_value();
6713 42 : positive_int_value_ = value;
6714 : // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.positive_int_value)
6715 : }
6716 :
6717 : // optional int64 negative_int_value = 5;
6718 : inline bool UninterpretedOption::has_negative_int_value() const {
6719 822 : return (_has_bits_[0] & 0x00000008u) != 0;
6720 : }
6721 : inline void UninterpretedOption::set_has_negative_int_value() {
6722 24 : _has_bits_[0] |= 0x00000008u;
6723 : }
6724 : inline void UninterpretedOption::clear_has_negative_int_value() {
6725 : _has_bits_[0] &= ~0x00000008u;
6726 : }
6727 : inline void UninterpretedOption::clear_negative_int_value() {
6728 : negative_int_value_ = GOOGLE_LONGLONG(0);
6729 : clear_has_negative_int_value();
6730 : }
6731 : inline ::google::protobuf::int64 UninterpretedOption::negative_int_value() const {
6732 : // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.negative_int_value)
6733 : return negative_int_value_;
6734 : }
6735 : inline void UninterpretedOption::set_negative_int_value(::google::protobuf::int64 value) {
6736 12 : set_has_negative_int_value();
6737 12 : negative_int_value_ = value;
6738 : // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.negative_int_value)
6739 : }
6740 :
6741 : // optional double double_value = 6;
6742 : inline bool UninterpretedOption::has_double_value() const {
6743 816 : return (_has_bits_[0] & 0x00000010u) != 0;
6744 : }
6745 : inline void UninterpretedOption::set_has_double_value() {
6746 4 : _has_bits_[0] |= 0x00000010u;
6747 : }
6748 : inline void UninterpretedOption::clear_has_double_value() {
6749 : _has_bits_[0] &= ~0x00000010u;
6750 : }
6751 : inline void UninterpretedOption::clear_double_value() {
6752 : double_value_ = 0;
6753 : clear_has_double_value();
6754 : }
6755 : inline double UninterpretedOption::double_value() const {
6756 : // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.double_value)
6757 : return double_value_;
6758 : }
6759 : inline void UninterpretedOption::set_double_value(double value) {
6760 2 : set_has_double_value();
6761 2 : double_value_ = value;
6762 : // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.double_value)
6763 : }
6764 :
6765 : // optional bytes string_value = 7;
6766 : inline bool UninterpretedOption::has_string_value() const {
6767 1282 : return (_has_bits_[0] & 0x00000020u) != 0;
6768 : }
6769 : inline void UninterpretedOption::set_has_string_value() {
6770 134 : _has_bits_[0] |= 0x00000020u;
6771 : }
6772 : inline void UninterpretedOption::clear_has_string_value() {
6773 : _has_bits_[0] &= ~0x00000020u;
6774 : }
6775 : inline void UninterpretedOption::clear_string_value() {
6776 : string_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6777 : clear_has_string_value();
6778 : }
6779 : inline const ::std::string& UninterpretedOption::string_value() const {
6780 : // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.string_value)
6781 201 : return string_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6782 : }
6783 : inline void UninterpretedOption::set_string_value(const ::std::string& value) {
6784 67 : set_has_string_value();
6785 67 : string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6786 : // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.string_value)
6787 : }
6788 : inline void UninterpretedOption::set_string_value(const char* value) {
6789 : set_has_string_value();
6790 : string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6791 : // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.string_value)
6792 : }
6793 : inline void UninterpretedOption::set_string_value(const void* value, size_t size) {
6794 : set_has_string_value();
6795 : string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6796 : ::std::string(reinterpret_cast<const char*>(value), size));
6797 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.string_value)
6798 : }
6799 67 : inline ::std::string* UninterpretedOption::mutable_string_value() {
6800 67 : set_has_string_value();
6801 : // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.string_value)
6802 134 : return string_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6803 : }
6804 : inline ::std::string* UninterpretedOption::release_string_value() {
6805 : clear_has_string_value();
6806 : return string_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6807 : }
6808 : inline void UninterpretedOption::set_allocated_string_value(::std::string* string_value) {
6809 : if (string_value != NULL) {
6810 : set_has_string_value();
6811 : } else {
6812 : clear_has_string_value();
6813 : }
6814 : string_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), string_value);
6815 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.string_value)
6816 : }
6817 :
6818 : // optional string aggregate_value = 8;
6819 : inline bool UninterpretedOption::has_aggregate_value() const {
6820 1224 : return (_has_bits_[0] & 0x00000040u) != 0;
6821 : }
6822 : inline void UninterpretedOption::set_has_aggregate_value() {
6823 18 : _has_bits_[0] |= 0x00000040u;
6824 : }
6825 : inline void UninterpretedOption::clear_has_aggregate_value() {
6826 : _has_bits_[0] &= ~0x00000040u;
6827 : }
6828 : inline void UninterpretedOption::clear_aggregate_value() {
6829 : aggregate_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6830 : clear_has_aggregate_value();
6831 : }
6832 : inline const ::std::string& UninterpretedOption::aggregate_value() const {
6833 : // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggregate_value)
6834 63 : return aggregate_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6835 : }
6836 : inline void UninterpretedOption::set_aggregate_value(const ::std::string& value) {
6837 : set_has_aggregate_value();
6838 : aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6839 : // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggregate_value)
6840 : }
6841 : inline void UninterpretedOption::set_aggregate_value(const char* value) {
6842 : set_has_aggregate_value();
6843 : aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6844 : // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.aggregate_value)
6845 : }
6846 : inline void UninterpretedOption::set_aggregate_value(const char* value, size_t size) {
6847 : set_has_aggregate_value();
6848 : aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6849 : ::std::string(reinterpret_cast<const char*>(value), size));
6850 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.aggregate_value)
6851 : }
6852 18 : inline ::std::string* UninterpretedOption::mutable_aggregate_value() {
6853 18 : set_has_aggregate_value();
6854 : // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.aggregate_value)
6855 36 : return aggregate_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6856 : }
6857 : inline ::std::string* UninterpretedOption::release_aggregate_value() {
6858 : clear_has_aggregate_value();
6859 : return aggregate_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6860 : }
6861 : inline void UninterpretedOption::set_allocated_aggregate_value(::std::string* aggregate_value) {
6862 : if (aggregate_value != NULL) {
6863 : set_has_aggregate_value();
6864 : } else {
6865 : clear_has_aggregate_value();
6866 : }
6867 : aggregate_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), aggregate_value);
6868 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.aggregate_value)
6869 : }
6870 :
6871 : // -------------------------------------------------------------------
6872 :
6873 : // SourceCodeInfo_Location
6874 :
6875 : // repeated int32 path = 1 [packed = true];
6876 : inline int SourceCodeInfo_Location::path_size() const {
6877 18553 : return path_.size();
6878 : }
6879 : inline void SourceCodeInfo_Location::clear_path() {
6880 : path_.Clear();
6881 : }
6882 : inline ::google::protobuf::int32 SourceCodeInfo_Location::path(int index) const {
6883 : // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.path)
6884 13822 : return path_.Get(index);
6885 : }
6886 : inline void SourceCodeInfo_Location::set_path(int index, ::google::protobuf::int32 value) {
6887 : path_.Set(index, value);
6888 : // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.path)
6889 : }
6890 : inline void SourceCodeInfo_Location::add_path(::google::protobuf::int32 value) {
6891 26921 : path_.Add(value);
6892 : // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.path)
6893 : }
6894 : inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
6895 : SourceCodeInfo_Location::path() const {
6896 : // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.path)
6897 : return path_;
6898 : }
6899 : inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
6900 : SourceCodeInfo_Location::mutable_path() {
6901 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.path)
6902 : return &path_;
6903 : }
6904 :
6905 : // repeated int32 span = 2 [packed = true];
6906 : inline int SourceCodeInfo_Location::span_size() const {
6907 37669 : return span_.size();
6908 : }
6909 : inline void SourceCodeInfo_Location::clear_span() {
6910 : span_.Clear();
6911 : }
6912 : inline ::google::protobuf::int32 SourceCodeInfo_Location::span(int index) const {
6913 : // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.span)
6914 58044 : return span_.Get(index);
6915 : }
6916 : inline void SourceCodeInfo_Location::set_span(int index, ::google::protobuf::int32 value) {
6917 678 : span_.Set(index, value);
6918 : // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.span)
6919 : }
6920 : inline void SourceCodeInfo_Location::add_span(::google::protobuf::int32 value) {
6921 70057 : span_.Add(value);
6922 : // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.span)
6923 : }
6924 : inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
6925 : SourceCodeInfo_Location::span() const {
6926 : // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.span)
6927 : return span_;
6928 : }
6929 : inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
6930 : SourceCodeInfo_Location::mutable_span() {
6931 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.span)
6932 : return &span_;
6933 : }
6934 :
6935 : // optional string leading_comments = 3;
6936 : inline bool SourceCodeInfo_Location::has_leading_comments() const {
6937 7068 : return (_has_bits_[0] & 0x00000004u) != 0;
6938 : }
6939 : inline void SourceCodeInfo_Location::set_has_leading_comments() {
6940 1684 : _has_bits_[0] |= 0x00000004u;
6941 : }
6942 : inline void SourceCodeInfo_Location::clear_has_leading_comments() {
6943 : _has_bits_[0] &= ~0x00000004u;
6944 : }
6945 : inline void SourceCodeInfo_Location::clear_leading_comments() {
6946 : leading_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6947 : clear_has_leading_comments();
6948 : }
6949 : inline const ::std::string& SourceCodeInfo_Location::leading_comments() const {
6950 : // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_comments)
6951 780 : return leading_comments_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6952 : }
6953 : inline void SourceCodeInfo_Location::set_leading_comments(const ::std::string& value) {
6954 : set_has_leading_comments();
6955 : leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6956 : // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_comments)
6957 : }
6958 : inline void SourceCodeInfo_Location::set_leading_comments(const char* value) {
6959 : set_has_leading_comments();
6960 : leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6961 : // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.leading_comments)
6962 : }
6963 : inline void SourceCodeInfo_Location::set_leading_comments(const char* value, size_t size) {
6964 : set_has_leading_comments();
6965 : leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6966 : ::std::string(reinterpret_cast<const char*>(value), size));
6967 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_comments)
6968 : }
6969 777 : inline ::std::string* SourceCodeInfo_Location::mutable_leading_comments() {
6970 777 : set_has_leading_comments();
6971 : // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_comments)
6972 1554 : return leading_comments_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6973 : }
6974 : inline ::std::string* SourceCodeInfo_Location::release_leading_comments() {
6975 : clear_has_leading_comments();
6976 : return leading_comments_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6977 : }
6978 : inline void SourceCodeInfo_Location::set_allocated_leading_comments(::std::string* leading_comments) {
6979 : if (leading_comments != NULL) {
6980 : set_has_leading_comments();
6981 : } else {
6982 : clear_has_leading_comments();
6983 : }
6984 : leading_comments_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), leading_comments);
6985 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.leading_comments)
6986 : }
6987 :
6988 : // optional string trailing_comments = 4;
6989 : inline bool SourceCodeInfo_Location::has_trailing_comments() const {
6990 7068 : return (_has_bits_[0] & 0x00000008u) != 0;
6991 : }
6992 : inline void SourceCodeInfo_Location::set_has_trailing_comments() {
6993 125 : _has_bits_[0] |= 0x00000008u;
6994 : }
6995 : inline void SourceCodeInfo_Location::clear_has_trailing_comments() {
6996 : _has_bits_[0] &= ~0x00000008u;
6997 : }
6998 : inline void SourceCodeInfo_Location::clear_trailing_comments() {
6999 : trailing_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7000 : clear_has_trailing_comments();
7001 : }
7002 : inline const ::std::string& SourceCodeInfo_Location::trailing_comments() const {
7003 : // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.trailing_comments)
7004 18 : return trailing_comments_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7005 : }
7006 : inline void SourceCodeInfo_Location::set_trailing_comments(const ::std::string& value) {
7007 : set_has_trailing_comments();
7008 : trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7009 : // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.trailing_comments)
7010 : }
7011 : inline void SourceCodeInfo_Location::set_trailing_comments(const char* value) {
7012 : set_has_trailing_comments();
7013 : trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7014 : // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.trailing_comments)
7015 : }
7016 : inline void SourceCodeInfo_Location::set_trailing_comments(const char* value, size_t size) {
7017 : set_has_trailing_comments();
7018 : trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7019 : ::std::string(reinterpret_cast<const char*>(value), size));
7020 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.trailing_comments)
7021 : }
7022 61 : inline ::std::string* SourceCodeInfo_Location::mutable_trailing_comments() {
7023 61 : set_has_trailing_comments();
7024 : // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.trailing_comments)
7025 122 : return trailing_comments_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7026 : }
7027 : inline ::std::string* SourceCodeInfo_Location::release_trailing_comments() {
7028 : clear_has_trailing_comments();
7029 : return trailing_comments_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7030 : }
7031 : inline void SourceCodeInfo_Location::set_allocated_trailing_comments(::std::string* trailing_comments) {
7032 : if (trailing_comments != NULL) {
7033 : set_has_trailing_comments();
7034 : } else {
7035 : clear_has_trailing_comments();
7036 : }
7037 : trailing_comments_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), trailing_comments);
7038 : // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.trailing_comments)
7039 : }
7040 :
7041 : // repeated string leading_detached_comments = 6;
7042 : inline int SourceCodeInfo_Location::leading_detached_comments_size() const {
7043 4799 : return leading_detached_comments_.size();
7044 : }
7045 : inline void SourceCodeInfo_Location::clear_leading_detached_comments() {
7046 : leading_detached_comments_.Clear();
7047 : }
7048 : inline const ::std::string& SourceCodeInfo_Location::leading_detached_comments(int index) const {
7049 : // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
7050 102 : return leading_detached_comments_.Get(index);
7051 : }
7052 : inline ::std::string* SourceCodeInfo_Location::mutable_leading_detached_comments(int index) {
7053 : // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
7054 : return leading_detached_comments_.Mutable(index);
7055 : }
7056 : inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const ::std::string& value) {
7057 : // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
7058 : leading_detached_comments_.Mutable(index)->assign(value);
7059 : }
7060 : inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value) {
7061 : leading_detached_comments_.Mutable(index)->assign(value);
7062 : // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
7063 : }
7064 : inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value, size_t size) {
7065 : leading_detached_comments_.Mutable(index)->assign(
7066 : reinterpret_cast<const char*>(value), size);
7067 : // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
7068 : }
7069 : inline ::std::string* SourceCodeInfo_Location::add_leading_detached_comments() {
7070 131 : return leading_detached_comments_.Add();
7071 : }
7072 : inline void SourceCodeInfo_Location::add_leading_detached_comments(const ::std::string& value) {
7073 : leading_detached_comments_.Add()->assign(value);
7074 : // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
7075 : }
7076 : inline void SourceCodeInfo_Location::add_leading_detached_comments(const char* value) {
7077 : leading_detached_comments_.Add()->assign(value);
7078 : // @@protoc_insertion_point(field_add_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
7079 : }
7080 : inline void SourceCodeInfo_Location::add_leading_detached_comments(const char* value, size_t size) {
7081 : leading_detached_comments_.Add()->assign(reinterpret_cast<const char*>(value), size);
7082 : // @@protoc_insertion_point(field_add_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
7083 : }
7084 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
7085 : SourceCodeInfo_Location::leading_detached_comments() const {
7086 : // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
7087 : return leading_detached_comments_;
7088 : }
7089 : inline ::google::protobuf::RepeatedPtrField< ::std::string>*
7090 : SourceCodeInfo_Location::mutable_leading_detached_comments() {
7091 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
7092 : return &leading_detached_comments_;
7093 : }
7094 :
7095 : // -------------------------------------------------------------------
7096 :
7097 : // SourceCodeInfo
7098 :
7099 : // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
7100 : inline int SourceCodeInfo::location_size() const {
7101 1616 : return location_.size();
7102 : }
7103 : inline void SourceCodeInfo::clear_location() {
7104 : location_.Clear();
7105 : }
7106 : inline const ::google::protobuf::SourceCodeInfo_Location& SourceCodeInfo::location(int index) const {
7107 : // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.location)
7108 3154 : return location_.Get(index);
7109 : }
7110 : inline ::google::protobuf::SourceCodeInfo_Location* SourceCodeInfo::mutable_location(int index) {
7111 : // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.location)
7112 : return location_.Mutable(index);
7113 : }
7114 : inline ::google::protobuf::SourceCodeInfo_Location* SourceCodeInfo::add_location() {
7115 : // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.location)
7116 24417 : return location_.Add();
7117 : }
7118 : inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >*
7119 : SourceCodeInfo::mutable_location() {
7120 : // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.location)
7121 : return &location_;
7122 : }
7123 : inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >&
7124 : SourceCodeInfo::location() const {
7125 : // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.location)
7126 : return location_;
7127 : }
7128 :
7129 : #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
7130 : // -------------------------------------------------------------------
7131 :
7132 : // -------------------------------------------------------------------
7133 :
7134 : // -------------------------------------------------------------------
7135 :
7136 : // -------------------------------------------------------------------
7137 :
7138 : // -------------------------------------------------------------------
7139 :
7140 : // -------------------------------------------------------------------
7141 :
7142 : // -------------------------------------------------------------------
7143 :
7144 : // -------------------------------------------------------------------
7145 :
7146 : // -------------------------------------------------------------------
7147 :
7148 : // -------------------------------------------------------------------
7149 :
7150 : // -------------------------------------------------------------------
7151 :
7152 : // -------------------------------------------------------------------
7153 :
7154 : // -------------------------------------------------------------------
7155 :
7156 : // -------------------------------------------------------------------
7157 :
7158 : // -------------------------------------------------------------------
7159 :
7160 : // -------------------------------------------------------------------
7161 :
7162 : // -------------------------------------------------------------------
7163 :
7164 : // -------------------------------------------------------------------
7165 :
7166 : // -------------------------------------------------------------------
7167 :
7168 : // -------------------------------------------------------------------
7169 :
7170 : // -------------------------------------------------------------------
7171 :
7172 :
7173 : // @@protoc_insertion_point(namespace_scope)
7174 :
7175 : } // namespace protobuf
7176 : } // namespace google
7177 :
7178 : #ifndef SWIG
7179 : namespace google {
7180 : namespace protobuf {
7181 :
7182 : template <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Type> : ::google::protobuf::internal::true_type {};
7183 : template <>
7184 : inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescriptorProto_Type>() {
7185 : return ::google::protobuf::FieldDescriptorProto_Type_descriptor();
7186 : }
7187 : template <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Label> : ::google::protobuf::internal::true_type {};
7188 : template <>
7189 : inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescriptorProto_Label>() {
7190 : return ::google::protobuf::FieldDescriptorProto_Label_descriptor();
7191 : }
7192 : template <> struct is_proto_enum< ::google::protobuf::FileOptions_OptimizeMode> : ::google::protobuf::internal::true_type {};
7193 : template <>
7194 : inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FileOptions_OptimizeMode>() {
7195 : return ::google::protobuf::FileOptions_OptimizeMode_descriptor();
7196 : }
7197 : template <> struct is_proto_enum< ::google::protobuf::FieldOptions_CType> : ::google::protobuf::internal::true_type {};
7198 : template <>
7199 : inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions_CType>() {
7200 : return ::google::protobuf::FieldOptions_CType_descriptor();
7201 : }
7202 : template <> struct is_proto_enum< ::google::protobuf::FieldOptions_JSType> : ::google::protobuf::internal::true_type {};
7203 : template <>
7204 : inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions_JSType>() {
7205 : return ::google::protobuf::FieldOptions_JSType_descriptor();
7206 : }
7207 :
7208 : } // namespace protobuf
7209 : } // namespace google
7210 : #endif // SWIG
7211 :
7212 : // @@protoc_insertion_point(global_scope)
7213 :
7214 : #endif // PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED
|