1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/api.proto
3
4 #ifndef PROTOBUF_google_2fprotobuf_2fapi_2eproto__INCLUDED
5 #define PROTOBUF_google_2fprotobuf_2fapi_2eproto__INCLUDED
6
7 #include <string>
8
9 #include <google/protobuf/stubs/common.h>
10
11 #if GOOGLE_PROTOBUF_VERSION < 3004000
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 3004000 < 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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/metadata.h>
28 #include <google/protobuf/message.h>
29 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
30 #include <google/protobuf/extension_set.h> // IWYU pragma: export
31 #include <google/protobuf/unknown_field_set.h>
32 #include <google/protobuf/source_context.pb.h>
33 #include <google/protobuf/type.pb.h>
34 // @@protoc_insertion_point(includes)
35 namespace google {
36 namespace protobuf {
37 class Api;
38 class ApiDefaultTypeInternal;
39 LIBPROTOBUF_EXPORT extern ApiDefaultTypeInternal _Api_default_instance_;
40 class Method;
41 class MethodDefaultTypeInternal;
42 LIBPROTOBUF_EXPORT extern MethodDefaultTypeInternal _Method_default_instance_;
43 class Mixin;
44 class MixinDefaultTypeInternal;
45 LIBPROTOBUF_EXPORT extern MixinDefaultTypeInternal _Mixin_default_instance_;
46 } // namespace protobuf
47 } // namespace google
48
49 namespace google {
50 namespace protobuf {
51
52 namespace protobuf_google_2fprotobuf_2fapi_2eproto {
53 // Internal implementation detail -- do not call these.
54 struct LIBPROTOBUF_EXPORT TableStruct {
55 static const ::google::protobuf::internal::ParseTableField entries[];
56 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
57 static const ::google::protobuf::internal::ParseTable schema[];
58 static const ::google::protobuf::uint32 offsets[];
59 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
60 static const ::google::protobuf::internal::SerializationTable serialization_table[];
61 static void InitDefaultsImpl();
62 };
63 void LIBPROTOBUF_EXPORT AddDescriptors();
64 void LIBPROTOBUF_EXPORT InitDefaults();
65 } // namespace protobuf_google_2fprotobuf_2fapi_2eproto
66
67 // ===================================================================
68
69 class LIBPROTOBUF_EXPORT Api : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Api) */ {
70 public:
71 Api();
72 virtual ~Api();
73
74 Api(const Api& from);
75
76 inline Api& operator=(const Api& from) {
77 CopyFrom(from);
78 return *this;
79 }
80 #if LANG_CXX11
Api(Api && from)81 Api(Api&& from) noexcept
82 : Api() {
83 *this = ::std::move(from);
84 }
85
86 inline Api& operator=(Api&& from) noexcept {
87 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
88 if (this != &from) InternalSwap(&from);
89 } else {
90 CopyFrom(from);
91 }
92 return *this;
93 }
94 #endif
95 static const ::google::protobuf::Descriptor* descriptor();
96 static const Api& default_instance();
97
internal_default_instance()98 static inline const Api* internal_default_instance() {
99 return reinterpret_cast<const Api*>(
100 &_Api_default_instance_);
101 }
102 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
103 0;
104
105 void Swap(Api* other);
swap(Api & a,Api & b)106 friend void swap(Api& a, Api& b) {
107 a.Swap(&b);
108 }
109
110 // implements Message ----------------------------------------------
111
New()112 inline Api* New() const PROTOBUF_FINAL { return New(NULL); }
113
114 Api* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
115 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
116 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
117 void CopyFrom(const Api& from);
118 void MergeFrom(const Api& from);
119 void Clear() PROTOBUF_FINAL;
120 bool IsInitialized() const PROTOBUF_FINAL;
121
122 size_t ByteSizeLong() const PROTOBUF_FINAL;
123 bool MergePartialFromCodedStream(
124 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
125 void SerializeWithCachedSizes(
126 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
127 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
128 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()129 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
130 private:
131 void SharedCtor();
132 void SharedDtor();
133 void SetCachedSize(int size) const PROTOBUF_FINAL;
134 void InternalSwap(Api* other);
135 private:
GetArenaNoVirtual()136 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
137 return NULL;
138 }
MaybeArenaPtr()139 inline void* MaybeArenaPtr() const {
140 return NULL;
141 }
142 public:
143
144 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
145
146 // nested types ----------------------------------------------------
147
148 // accessors -------------------------------------------------------
149
150 // repeated .google.protobuf.Method methods = 2;
151 int methods_size() const;
152 void clear_methods();
153 static const int kMethodsFieldNumber = 2;
154 const ::google::protobuf::Method& methods(int index) const;
155 ::google::protobuf::Method* mutable_methods(int index);
156 ::google::protobuf::Method* add_methods();
157 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >*
158 mutable_methods();
159 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >&
160 methods() const;
161
162 // repeated .google.protobuf.Option options = 3;
163 int options_size() const;
164 void clear_options();
165 static const int kOptionsFieldNumber = 3;
166 const ::google::protobuf::Option& options(int index) const;
167 ::google::protobuf::Option* mutable_options(int index);
168 ::google::protobuf::Option* add_options();
169 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
170 mutable_options();
171 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
172 options() const;
173
174 // repeated .google.protobuf.Mixin mixins = 6;
175 int mixins_size() const;
176 void clear_mixins();
177 static const int kMixinsFieldNumber = 6;
178 const ::google::protobuf::Mixin& mixins(int index) const;
179 ::google::protobuf::Mixin* mutable_mixins(int index);
180 ::google::protobuf::Mixin* add_mixins();
181 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >*
182 mutable_mixins();
183 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >&
184 mixins() const;
185
186 // string name = 1;
187 void clear_name();
188 static const int kNameFieldNumber = 1;
189 const ::std::string& name() const;
190 void set_name(const ::std::string& value);
191 #if LANG_CXX11
192 void set_name(::std::string&& value);
193 #endif
194 void set_name(const char* value);
195 void set_name(const char* value, size_t size);
196 ::std::string* mutable_name();
197 ::std::string* release_name();
198 void set_allocated_name(::std::string* name);
199
200 // string version = 4;
201 void clear_version();
202 static const int kVersionFieldNumber = 4;
203 const ::std::string& version() const;
204 void set_version(const ::std::string& value);
205 #if LANG_CXX11
206 void set_version(::std::string&& value);
207 #endif
208 void set_version(const char* value);
209 void set_version(const char* value, size_t size);
210 ::std::string* mutable_version();
211 ::std::string* release_version();
212 void set_allocated_version(::std::string* version);
213
214 // .google.protobuf.SourceContext source_context = 5;
215 bool has_source_context() const;
216 void clear_source_context();
217 static const int kSourceContextFieldNumber = 5;
218 const ::google::protobuf::SourceContext& source_context() const;
219 ::google::protobuf::SourceContext* mutable_source_context();
220 ::google::protobuf::SourceContext* release_source_context();
221 void set_allocated_source_context(::google::protobuf::SourceContext* source_context);
222
223 // .google.protobuf.Syntax syntax = 7;
224 void clear_syntax();
225 static const int kSyntaxFieldNumber = 7;
226 ::google::protobuf::Syntax syntax() const;
227 void set_syntax(::google::protobuf::Syntax value);
228
229 // @@protoc_insertion_point(class_scope:google.protobuf.Api)
230 private:
231
232 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
233 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method > methods_;
234 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
235 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin > mixins_;
236 ::google::protobuf::internal::ArenaStringPtr name_;
237 ::google::protobuf::internal::ArenaStringPtr version_;
238 ::google::protobuf::SourceContext* source_context_;
239 int syntax_;
240 mutable int _cached_size_;
241 friend struct protobuf_google_2fprotobuf_2fapi_2eproto::TableStruct;
242 };
243 // -------------------------------------------------------------------
244
245 class LIBPROTOBUF_EXPORT Method : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Method) */ {
246 public:
247 Method();
248 virtual ~Method();
249
250 Method(const Method& from);
251
252 inline Method& operator=(const Method& from) {
253 CopyFrom(from);
254 return *this;
255 }
256 #if LANG_CXX11
Method(Method && from)257 Method(Method&& from) noexcept
258 : Method() {
259 *this = ::std::move(from);
260 }
261
262 inline Method& operator=(Method&& from) noexcept {
263 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
264 if (this != &from) InternalSwap(&from);
265 } else {
266 CopyFrom(from);
267 }
268 return *this;
269 }
270 #endif
271 static const ::google::protobuf::Descriptor* descriptor();
272 static const Method& default_instance();
273
internal_default_instance()274 static inline const Method* internal_default_instance() {
275 return reinterpret_cast<const Method*>(
276 &_Method_default_instance_);
277 }
278 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
279 1;
280
281 void Swap(Method* other);
swap(Method & a,Method & b)282 friend void swap(Method& a, Method& b) {
283 a.Swap(&b);
284 }
285
286 // implements Message ----------------------------------------------
287
New()288 inline Method* New() const PROTOBUF_FINAL { return New(NULL); }
289
290 Method* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
291 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
292 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
293 void CopyFrom(const Method& from);
294 void MergeFrom(const Method& from);
295 void Clear() PROTOBUF_FINAL;
296 bool IsInitialized() const PROTOBUF_FINAL;
297
298 size_t ByteSizeLong() const PROTOBUF_FINAL;
299 bool MergePartialFromCodedStream(
300 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
301 void SerializeWithCachedSizes(
302 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
303 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
304 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()305 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
306 private:
307 void SharedCtor();
308 void SharedDtor();
309 void SetCachedSize(int size) const PROTOBUF_FINAL;
310 void InternalSwap(Method* other);
311 private:
GetArenaNoVirtual()312 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
313 return NULL;
314 }
MaybeArenaPtr()315 inline void* MaybeArenaPtr() const {
316 return NULL;
317 }
318 public:
319
320 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
321
322 // nested types ----------------------------------------------------
323
324 // accessors -------------------------------------------------------
325
326 // repeated .google.protobuf.Option options = 6;
327 int options_size() const;
328 void clear_options();
329 static const int kOptionsFieldNumber = 6;
330 const ::google::protobuf::Option& options(int index) const;
331 ::google::protobuf::Option* mutable_options(int index);
332 ::google::protobuf::Option* add_options();
333 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
334 mutable_options();
335 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
336 options() const;
337
338 // string name = 1;
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 #if LANG_CXX11
344 void set_name(::std::string&& value);
345 #endif
346 void set_name(const char* value);
347 void set_name(const char* value, size_t size);
348 ::std::string* mutable_name();
349 ::std::string* release_name();
350 void set_allocated_name(::std::string* name);
351
352 // string request_type_url = 2;
353 void clear_request_type_url();
354 static const int kRequestTypeUrlFieldNumber = 2;
355 const ::std::string& request_type_url() const;
356 void set_request_type_url(const ::std::string& value);
357 #if LANG_CXX11
358 void set_request_type_url(::std::string&& value);
359 #endif
360 void set_request_type_url(const char* value);
361 void set_request_type_url(const char* value, size_t size);
362 ::std::string* mutable_request_type_url();
363 ::std::string* release_request_type_url();
364 void set_allocated_request_type_url(::std::string* request_type_url);
365
366 // string response_type_url = 4;
367 void clear_response_type_url();
368 static const int kResponseTypeUrlFieldNumber = 4;
369 const ::std::string& response_type_url() const;
370 void set_response_type_url(const ::std::string& value);
371 #if LANG_CXX11
372 void set_response_type_url(::std::string&& value);
373 #endif
374 void set_response_type_url(const char* value);
375 void set_response_type_url(const char* value, size_t size);
376 ::std::string* mutable_response_type_url();
377 ::std::string* release_response_type_url();
378 void set_allocated_response_type_url(::std::string* response_type_url);
379
380 // bool request_streaming = 3;
381 void clear_request_streaming();
382 static const int kRequestStreamingFieldNumber = 3;
383 bool request_streaming() const;
384 void set_request_streaming(bool value);
385
386 // bool response_streaming = 5;
387 void clear_response_streaming();
388 static const int kResponseStreamingFieldNumber = 5;
389 bool response_streaming() const;
390 void set_response_streaming(bool value);
391
392 // .google.protobuf.Syntax syntax = 7;
393 void clear_syntax();
394 static const int kSyntaxFieldNumber = 7;
395 ::google::protobuf::Syntax syntax() const;
396 void set_syntax(::google::protobuf::Syntax value);
397
398 // @@protoc_insertion_point(class_scope:google.protobuf.Method)
399 private:
400
401 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
402 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
403 ::google::protobuf::internal::ArenaStringPtr name_;
404 ::google::protobuf::internal::ArenaStringPtr request_type_url_;
405 ::google::protobuf::internal::ArenaStringPtr response_type_url_;
406 bool request_streaming_;
407 bool response_streaming_;
408 int syntax_;
409 mutable int _cached_size_;
410 friend struct protobuf_google_2fprotobuf_2fapi_2eproto::TableStruct;
411 };
412 // -------------------------------------------------------------------
413
414 class LIBPROTOBUF_EXPORT Mixin : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Mixin) */ {
415 public:
416 Mixin();
417 virtual ~Mixin();
418
419 Mixin(const Mixin& from);
420
421 inline Mixin& operator=(const Mixin& from) {
422 CopyFrom(from);
423 return *this;
424 }
425 #if LANG_CXX11
Mixin(Mixin && from)426 Mixin(Mixin&& from) noexcept
427 : Mixin() {
428 *this = ::std::move(from);
429 }
430
431 inline Mixin& operator=(Mixin&& from) noexcept {
432 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
433 if (this != &from) InternalSwap(&from);
434 } else {
435 CopyFrom(from);
436 }
437 return *this;
438 }
439 #endif
440 static const ::google::protobuf::Descriptor* descriptor();
441 static const Mixin& default_instance();
442
internal_default_instance()443 static inline const Mixin* internal_default_instance() {
444 return reinterpret_cast<const Mixin*>(
445 &_Mixin_default_instance_);
446 }
447 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
448 2;
449
450 void Swap(Mixin* other);
swap(Mixin & a,Mixin & b)451 friend void swap(Mixin& a, Mixin& b) {
452 a.Swap(&b);
453 }
454
455 // implements Message ----------------------------------------------
456
New()457 inline Mixin* New() const PROTOBUF_FINAL { return New(NULL); }
458
459 Mixin* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
460 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
461 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
462 void CopyFrom(const Mixin& from);
463 void MergeFrom(const Mixin& from);
464 void Clear() PROTOBUF_FINAL;
465 bool IsInitialized() const PROTOBUF_FINAL;
466
467 size_t ByteSizeLong() const PROTOBUF_FINAL;
468 bool MergePartialFromCodedStream(
469 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
470 void SerializeWithCachedSizes(
471 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
472 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
473 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()474 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
475 private:
476 void SharedCtor();
477 void SharedDtor();
478 void SetCachedSize(int size) const PROTOBUF_FINAL;
479 void InternalSwap(Mixin* other);
480 private:
GetArenaNoVirtual()481 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
482 return NULL;
483 }
MaybeArenaPtr()484 inline void* MaybeArenaPtr() const {
485 return NULL;
486 }
487 public:
488
489 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
490
491 // nested types ----------------------------------------------------
492
493 // accessors -------------------------------------------------------
494
495 // string name = 1;
496 void clear_name();
497 static const int kNameFieldNumber = 1;
498 const ::std::string& name() const;
499 void set_name(const ::std::string& value);
500 #if LANG_CXX11
501 void set_name(::std::string&& value);
502 #endif
503 void set_name(const char* value);
504 void set_name(const char* value, size_t size);
505 ::std::string* mutable_name();
506 ::std::string* release_name();
507 void set_allocated_name(::std::string* name);
508
509 // string root = 2;
510 void clear_root();
511 static const int kRootFieldNumber = 2;
512 const ::std::string& root() const;
513 void set_root(const ::std::string& value);
514 #if LANG_CXX11
515 void set_root(::std::string&& value);
516 #endif
517 void set_root(const char* value);
518 void set_root(const char* value, size_t size);
519 ::std::string* mutable_root();
520 ::std::string* release_root();
521 void set_allocated_root(::std::string* root);
522
523 // @@protoc_insertion_point(class_scope:google.protobuf.Mixin)
524 private:
525
526 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
527 ::google::protobuf::internal::ArenaStringPtr name_;
528 ::google::protobuf::internal::ArenaStringPtr root_;
529 mutable int _cached_size_;
530 friend struct protobuf_google_2fprotobuf_2fapi_2eproto::TableStruct;
531 };
532 // ===================================================================
533
534
535 // ===================================================================
536
537 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
538 #ifdef __GNUC__
539 #pragma GCC diagnostic push
540 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
541 #endif // __GNUC__
542 // Api
543
544 // string name = 1;
clear_name()545 inline void Api::clear_name() {
546 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
547 }
name()548 inline const ::std::string& Api::name() const {
549 // @@protoc_insertion_point(field_get:google.protobuf.Api.name)
550 return name_.GetNoArena();
551 }
set_name(const::std::string & value)552 inline void Api::set_name(const ::std::string& value) {
553
554 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
555 // @@protoc_insertion_point(field_set:google.protobuf.Api.name)
556 }
557 #if LANG_CXX11
set_name(::std::string && value)558 inline void Api::set_name(::std::string&& value) {
559
560 name_.SetNoArena(
561 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
562 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Api.name)
563 }
564 #endif
set_name(const char * value)565 inline void Api::set_name(const char* value) {
566 GOOGLE_DCHECK(value != NULL);
567
568 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
569 // @@protoc_insertion_point(field_set_char:google.protobuf.Api.name)
570 }
set_name(const char * value,size_t size)571 inline void Api::set_name(const char* value, size_t size) {
572
573 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
574 ::std::string(reinterpret_cast<const char*>(value), size));
575 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Api.name)
576 }
mutable_name()577 inline ::std::string* Api::mutable_name() {
578
579 // @@protoc_insertion_point(field_mutable:google.protobuf.Api.name)
580 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
581 }
release_name()582 inline ::std::string* Api::release_name() {
583 // @@protoc_insertion_point(field_release:google.protobuf.Api.name)
584
585 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
586 }
set_allocated_name(::std::string * name)587 inline void Api::set_allocated_name(::std::string* name) {
588 if (name != NULL) {
589
590 } else {
591
592 }
593 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
594 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.name)
595 }
596
597 // repeated .google.protobuf.Method methods = 2;
methods_size()598 inline int Api::methods_size() const {
599 return methods_.size();
600 }
clear_methods()601 inline void Api::clear_methods() {
602 methods_.Clear();
603 }
methods(int index)604 inline const ::google::protobuf::Method& Api::methods(int index) const {
605 // @@protoc_insertion_point(field_get:google.protobuf.Api.methods)
606 return methods_.Get(index);
607 }
mutable_methods(int index)608 inline ::google::protobuf::Method* Api::mutable_methods(int index) {
609 // @@protoc_insertion_point(field_mutable:google.protobuf.Api.methods)
610 return methods_.Mutable(index);
611 }
add_methods()612 inline ::google::protobuf::Method* Api::add_methods() {
613 // @@protoc_insertion_point(field_add:google.protobuf.Api.methods)
614 return methods_.Add();
615 }
616 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >*
mutable_methods()617 Api::mutable_methods() {
618 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.methods)
619 return &methods_;
620 }
621 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >&
methods()622 Api::methods() const {
623 // @@protoc_insertion_point(field_list:google.protobuf.Api.methods)
624 return methods_;
625 }
626
627 // repeated .google.protobuf.Option options = 3;
options_size()628 inline int Api::options_size() const {
629 return options_.size();
630 }
clear_options()631 inline void Api::clear_options() {
632 options_.Clear();
633 }
options(int index)634 inline const ::google::protobuf::Option& Api::options(int index) const {
635 // @@protoc_insertion_point(field_get:google.protobuf.Api.options)
636 return options_.Get(index);
637 }
mutable_options(int index)638 inline ::google::protobuf::Option* Api::mutable_options(int index) {
639 // @@protoc_insertion_point(field_mutable:google.protobuf.Api.options)
640 return options_.Mutable(index);
641 }
add_options()642 inline ::google::protobuf::Option* Api::add_options() {
643 // @@protoc_insertion_point(field_add:google.protobuf.Api.options)
644 return options_.Add();
645 }
646 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
mutable_options()647 Api::mutable_options() {
648 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.options)
649 return &options_;
650 }
651 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
options()652 Api::options() const {
653 // @@protoc_insertion_point(field_list:google.protobuf.Api.options)
654 return options_;
655 }
656
657 // string version = 4;
clear_version()658 inline void Api::clear_version() {
659 version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
660 }
version()661 inline const ::std::string& Api::version() const {
662 // @@protoc_insertion_point(field_get:google.protobuf.Api.version)
663 return version_.GetNoArena();
664 }
set_version(const::std::string & value)665 inline void Api::set_version(const ::std::string& value) {
666
667 version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
668 // @@protoc_insertion_point(field_set:google.protobuf.Api.version)
669 }
670 #if LANG_CXX11
set_version(::std::string && value)671 inline void Api::set_version(::std::string&& value) {
672
673 version_.SetNoArena(
674 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
675 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Api.version)
676 }
677 #endif
set_version(const char * value)678 inline void Api::set_version(const char* value) {
679 GOOGLE_DCHECK(value != NULL);
680
681 version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
682 // @@protoc_insertion_point(field_set_char:google.protobuf.Api.version)
683 }
set_version(const char * value,size_t size)684 inline void Api::set_version(const char* value, size_t size) {
685
686 version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
687 ::std::string(reinterpret_cast<const char*>(value), size));
688 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Api.version)
689 }
mutable_version()690 inline ::std::string* Api::mutable_version() {
691
692 // @@protoc_insertion_point(field_mutable:google.protobuf.Api.version)
693 return version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
694 }
release_version()695 inline ::std::string* Api::release_version() {
696 // @@protoc_insertion_point(field_release:google.protobuf.Api.version)
697
698 return version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
699 }
set_allocated_version(::std::string * version)700 inline void Api::set_allocated_version(::std::string* version) {
701 if (version != NULL) {
702
703 } else {
704
705 }
706 version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version);
707 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.version)
708 }
709
710 // .google.protobuf.SourceContext source_context = 5;
has_source_context()711 inline bool Api::has_source_context() const {
712 return this != internal_default_instance() && source_context_ != NULL;
713 }
clear_source_context()714 inline void Api::clear_source_context() {
715 if (GetArenaNoVirtual() == NULL && source_context_ != NULL) delete source_context_;
716 source_context_ = NULL;
717 }
source_context()718 inline const ::google::protobuf::SourceContext& Api::source_context() const {
719 const ::google::protobuf::SourceContext* p = source_context_;
720 // @@protoc_insertion_point(field_get:google.protobuf.Api.source_context)
721 return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::SourceContext*>(
722 &::google::protobuf::_SourceContext_default_instance_);
723 }
mutable_source_context()724 inline ::google::protobuf::SourceContext* Api::mutable_source_context() {
725
726 if (source_context_ == NULL) {
727 source_context_ = new ::google::protobuf::SourceContext;
728 }
729 // @@protoc_insertion_point(field_mutable:google.protobuf.Api.source_context)
730 return source_context_;
731 }
release_source_context()732 inline ::google::protobuf::SourceContext* Api::release_source_context() {
733 // @@protoc_insertion_point(field_release:google.protobuf.Api.source_context)
734
735 ::google::protobuf::SourceContext* temp = source_context_;
736 source_context_ = NULL;
737 return temp;
738 }
set_allocated_source_context(::google::protobuf::SourceContext * source_context)739 inline void Api::set_allocated_source_context(::google::protobuf::SourceContext* source_context) {
740 delete source_context_;
741 source_context_ = source_context;
742 if (source_context) {
743
744 } else {
745
746 }
747 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.source_context)
748 }
749
750 // repeated .google.protobuf.Mixin mixins = 6;
mixins_size()751 inline int Api::mixins_size() const {
752 return mixins_.size();
753 }
clear_mixins()754 inline void Api::clear_mixins() {
755 mixins_.Clear();
756 }
mixins(int index)757 inline const ::google::protobuf::Mixin& Api::mixins(int index) const {
758 // @@protoc_insertion_point(field_get:google.protobuf.Api.mixins)
759 return mixins_.Get(index);
760 }
mutable_mixins(int index)761 inline ::google::protobuf::Mixin* Api::mutable_mixins(int index) {
762 // @@protoc_insertion_point(field_mutable:google.protobuf.Api.mixins)
763 return mixins_.Mutable(index);
764 }
add_mixins()765 inline ::google::protobuf::Mixin* Api::add_mixins() {
766 // @@protoc_insertion_point(field_add:google.protobuf.Api.mixins)
767 return mixins_.Add();
768 }
769 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >*
mutable_mixins()770 Api::mutable_mixins() {
771 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.mixins)
772 return &mixins_;
773 }
774 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >&
mixins()775 Api::mixins() const {
776 // @@protoc_insertion_point(field_list:google.protobuf.Api.mixins)
777 return mixins_;
778 }
779
780 // .google.protobuf.Syntax syntax = 7;
clear_syntax()781 inline void Api::clear_syntax() {
782 syntax_ = 0;
783 }
syntax()784 inline ::google::protobuf::Syntax Api::syntax() const {
785 // @@protoc_insertion_point(field_get:google.protobuf.Api.syntax)
786 return static_cast< ::google::protobuf::Syntax >(syntax_);
787 }
set_syntax(::google::protobuf::Syntax value)788 inline void Api::set_syntax(::google::protobuf::Syntax value) {
789
790 syntax_ = value;
791 // @@protoc_insertion_point(field_set:google.protobuf.Api.syntax)
792 }
793
794 // -------------------------------------------------------------------
795
796 // Method
797
798 // string name = 1;
clear_name()799 inline void Method::clear_name() {
800 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
801 }
name()802 inline const ::std::string& Method::name() const {
803 // @@protoc_insertion_point(field_get:google.protobuf.Method.name)
804 return name_.GetNoArena();
805 }
set_name(const::std::string & value)806 inline void Method::set_name(const ::std::string& value) {
807
808 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
809 // @@protoc_insertion_point(field_set:google.protobuf.Method.name)
810 }
811 #if LANG_CXX11
set_name(::std::string && value)812 inline void Method::set_name(::std::string&& value) {
813
814 name_.SetNoArena(
815 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
816 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.name)
817 }
818 #endif
set_name(const char * value)819 inline void Method::set_name(const char* value) {
820 GOOGLE_DCHECK(value != NULL);
821
822 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
823 // @@protoc_insertion_point(field_set_char:google.protobuf.Method.name)
824 }
set_name(const char * value,size_t size)825 inline void Method::set_name(const char* value, size_t size) {
826
827 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
828 ::std::string(reinterpret_cast<const char*>(value), size));
829 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.name)
830 }
mutable_name()831 inline ::std::string* Method::mutable_name() {
832
833 // @@protoc_insertion_point(field_mutable:google.protobuf.Method.name)
834 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
835 }
release_name()836 inline ::std::string* Method::release_name() {
837 // @@protoc_insertion_point(field_release:google.protobuf.Method.name)
838
839 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
840 }
set_allocated_name(::std::string * name)841 inline void Method::set_allocated_name(::std::string* name) {
842 if (name != NULL) {
843
844 } else {
845
846 }
847 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
848 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.name)
849 }
850
851 // string request_type_url = 2;
clear_request_type_url()852 inline void Method::clear_request_type_url() {
853 request_type_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
854 }
request_type_url()855 inline const ::std::string& Method::request_type_url() const {
856 // @@protoc_insertion_point(field_get:google.protobuf.Method.request_type_url)
857 return request_type_url_.GetNoArena();
858 }
set_request_type_url(const::std::string & value)859 inline void Method::set_request_type_url(const ::std::string& value) {
860
861 request_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
862 // @@protoc_insertion_point(field_set:google.protobuf.Method.request_type_url)
863 }
864 #if LANG_CXX11
set_request_type_url(::std::string && value)865 inline void Method::set_request_type_url(::std::string&& value) {
866
867 request_type_url_.SetNoArena(
868 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
869 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.request_type_url)
870 }
871 #endif
set_request_type_url(const char * value)872 inline void Method::set_request_type_url(const char* value) {
873 GOOGLE_DCHECK(value != NULL);
874
875 request_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
876 // @@protoc_insertion_point(field_set_char:google.protobuf.Method.request_type_url)
877 }
set_request_type_url(const char * value,size_t size)878 inline void Method::set_request_type_url(const char* value, size_t size) {
879
880 request_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
881 ::std::string(reinterpret_cast<const char*>(value), size));
882 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.request_type_url)
883 }
mutable_request_type_url()884 inline ::std::string* Method::mutable_request_type_url() {
885
886 // @@protoc_insertion_point(field_mutable:google.protobuf.Method.request_type_url)
887 return request_type_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
888 }
release_request_type_url()889 inline ::std::string* Method::release_request_type_url() {
890 // @@protoc_insertion_point(field_release:google.protobuf.Method.request_type_url)
891
892 return request_type_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
893 }
set_allocated_request_type_url(::std::string * request_type_url)894 inline void Method::set_allocated_request_type_url(::std::string* request_type_url) {
895 if (request_type_url != NULL) {
896
897 } else {
898
899 }
900 request_type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), request_type_url);
901 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.request_type_url)
902 }
903
904 // bool request_streaming = 3;
clear_request_streaming()905 inline void Method::clear_request_streaming() {
906 request_streaming_ = false;
907 }
request_streaming()908 inline bool Method::request_streaming() const {
909 // @@protoc_insertion_point(field_get:google.protobuf.Method.request_streaming)
910 return request_streaming_;
911 }
set_request_streaming(bool value)912 inline void Method::set_request_streaming(bool value) {
913
914 request_streaming_ = value;
915 // @@protoc_insertion_point(field_set:google.protobuf.Method.request_streaming)
916 }
917
918 // string response_type_url = 4;
clear_response_type_url()919 inline void Method::clear_response_type_url() {
920 response_type_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
921 }
response_type_url()922 inline const ::std::string& Method::response_type_url() const {
923 // @@protoc_insertion_point(field_get:google.protobuf.Method.response_type_url)
924 return response_type_url_.GetNoArena();
925 }
set_response_type_url(const::std::string & value)926 inline void Method::set_response_type_url(const ::std::string& value) {
927
928 response_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
929 // @@protoc_insertion_point(field_set:google.protobuf.Method.response_type_url)
930 }
931 #if LANG_CXX11
set_response_type_url(::std::string && value)932 inline void Method::set_response_type_url(::std::string&& value) {
933
934 response_type_url_.SetNoArena(
935 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
936 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.response_type_url)
937 }
938 #endif
set_response_type_url(const char * value)939 inline void Method::set_response_type_url(const char* value) {
940 GOOGLE_DCHECK(value != NULL);
941
942 response_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
943 // @@protoc_insertion_point(field_set_char:google.protobuf.Method.response_type_url)
944 }
set_response_type_url(const char * value,size_t size)945 inline void Method::set_response_type_url(const char* value, size_t size) {
946
947 response_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
948 ::std::string(reinterpret_cast<const char*>(value), size));
949 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.response_type_url)
950 }
mutable_response_type_url()951 inline ::std::string* Method::mutable_response_type_url() {
952
953 // @@protoc_insertion_point(field_mutable:google.protobuf.Method.response_type_url)
954 return response_type_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
955 }
release_response_type_url()956 inline ::std::string* Method::release_response_type_url() {
957 // @@protoc_insertion_point(field_release:google.protobuf.Method.response_type_url)
958
959 return response_type_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
960 }
set_allocated_response_type_url(::std::string * response_type_url)961 inline void Method::set_allocated_response_type_url(::std::string* response_type_url) {
962 if (response_type_url != NULL) {
963
964 } else {
965
966 }
967 response_type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), response_type_url);
968 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.response_type_url)
969 }
970
971 // bool response_streaming = 5;
clear_response_streaming()972 inline void Method::clear_response_streaming() {
973 response_streaming_ = false;
974 }
response_streaming()975 inline bool Method::response_streaming() const {
976 // @@protoc_insertion_point(field_get:google.protobuf.Method.response_streaming)
977 return response_streaming_;
978 }
set_response_streaming(bool value)979 inline void Method::set_response_streaming(bool value) {
980
981 response_streaming_ = value;
982 // @@protoc_insertion_point(field_set:google.protobuf.Method.response_streaming)
983 }
984
985 // repeated .google.protobuf.Option options = 6;
options_size()986 inline int Method::options_size() const {
987 return options_.size();
988 }
clear_options()989 inline void Method::clear_options() {
990 options_.Clear();
991 }
options(int index)992 inline const ::google::protobuf::Option& Method::options(int index) const {
993 // @@protoc_insertion_point(field_get:google.protobuf.Method.options)
994 return options_.Get(index);
995 }
mutable_options(int index)996 inline ::google::protobuf::Option* Method::mutable_options(int index) {
997 // @@protoc_insertion_point(field_mutable:google.protobuf.Method.options)
998 return options_.Mutable(index);
999 }
add_options()1000 inline ::google::protobuf::Option* Method::add_options() {
1001 // @@protoc_insertion_point(field_add:google.protobuf.Method.options)
1002 return options_.Add();
1003 }
1004 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
mutable_options()1005 Method::mutable_options() {
1006 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Method.options)
1007 return &options_;
1008 }
1009 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
options()1010 Method::options() const {
1011 // @@protoc_insertion_point(field_list:google.protobuf.Method.options)
1012 return options_;
1013 }
1014
1015 // .google.protobuf.Syntax syntax = 7;
clear_syntax()1016 inline void Method::clear_syntax() {
1017 syntax_ = 0;
1018 }
syntax()1019 inline ::google::protobuf::Syntax Method::syntax() const {
1020 // @@protoc_insertion_point(field_get:google.protobuf.Method.syntax)
1021 return static_cast< ::google::protobuf::Syntax >(syntax_);
1022 }
set_syntax(::google::protobuf::Syntax value)1023 inline void Method::set_syntax(::google::protobuf::Syntax value) {
1024
1025 syntax_ = value;
1026 // @@protoc_insertion_point(field_set:google.protobuf.Method.syntax)
1027 }
1028
1029 // -------------------------------------------------------------------
1030
1031 // Mixin
1032
1033 // string name = 1;
clear_name()1034 inline void Mixin::clear_name() {
1035 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1036 }
name()1037 inline const ::std::string& Mixin::name() const {
1038 // @@protoc_insertion_point(field_get:google.protobuf.Mixin.name)
1039 return name_.GetNoArena();
1040 }
set_name(const::std::string & value)1041 inline void Mixin::set_name(const ::std::string& value) {
1042
1043 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1044 // @@protoc_insertion_point(field_set:google.protobuf.Mixin.name)
1045 }
1046 #if LANG_CXX11
set_name(::std::string && value)1047 inline void Mixin::set_name(::std::string&& value) {
1048
1049 name_.SetNoArena(
1050 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1051 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Mixin.name)
1052 }
1053 #endif
set_name(const char * value)1054 inline void Mixin::set_name(const char* value) {
1055 GOOGLE_DCHECK(value != NULL);
1056
1057 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1058 // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.name)
1059 }
set_name(const char * value,size_t size)1060 inline void Mixin::set_name(const char* value, size_t size) {
1061
1062 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1063 ::std::string(reinterpret_cast<const char*>(value), size));
1064 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Mixin.name)
1065 }
mutable_name()1066 inline ::std::string* Mixin::mutable_name() {
1067
1068 // @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.name)
1069 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1070 }
release_name()1071 inline ::std::string* Mixin::release_name() {
1072 // @@protoc_insertion_point(field_release:google.protobuf.Mixin.name)
1073
1074 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1075 }
set_allocated_name(::std::string * name)1076 inline void Mixin::set_allocated_name(::std::string* name) {
1077 if (name != NULL) {
1078
1079 } else {
1080
1081 }
1082 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
1083 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.name)
1084 }
1085
1086 // string root = 2;
clear_root()1087 inline void Mixin::clear_root() {
1088 root_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1089 }
root()1090 inline const ::std::string& Mixin::root() const {
1091 // @@protoc_insertion_point(field_get:google.protobuf.Mixin.root)
1092 return root_.GetNoArena();
1093 }
set_root(const::std::string & value)1094 inline void Mixin::set_root(const ::std::string& value) {
1095
1096 root_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1097 // @@protoc_insertion_point(field_set:google.protobuf.Mixin.root)
1098 }
1099 #if LANG_CXX11
set_root(::std::string && value)1100 inline void Mixin::set_root(::std::string&& value) {
1101
1102 root_.SetNoArena(
1103 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1104 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Mixin.root)
1105 }
1106 #endif
set_root(const char * value)1107 inline void Mixin::set_root(const char* value) {
1108 GOOGLE_DCHECK(value != NULL);
1109
1110 root_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1111 // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.root)
1112 }
set_root(const char * value,size_t size)1113 inline void Mixin::set_root(const char* value, size_t size) {
1114
1115 root_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1116 ::std::string(reinterpret_cast<const char*>(value), size));
1117 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Mixin.root)
1118 }
mutable_root()1119 inline ::std::string* Mixin::mutable_root() {
1120
1121 // @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.root)
1122 return root_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1123 }
release_root()1124 inline ::std::string* Mixin::release_root() {
1125 // @@protoc_insertion_point(field_release:google.protobuf.Mixin.root)
1126
1127 return root_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1128 }
set_allocated_root(::std::string * root)1129 inline void Mixin::set_allocated_root(::std::string* root) {
1130 if (root != NULL) {
1131
1132 } else {
1133
1134 }
1135 root_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), root);
1136 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.root)
1137 }
1138
1139 #ifdef __GNUC__
1140 #pragma GCC diagnostic pop
1141 #endif // __GNUC__
1142 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
1143 // -------------------------------------------------------------------
1144
1145 // -------------------------------------------------------------------
1146
1147
1148 // @@protoc_insertion_point(namespace_scope)
1149
1150
1151 } // namespace protobuf
1152 } // namespace google
1153
1154 // @@protoc_insertion_point(global_scope)
1155
1156 #endif // PROTOBUF_google_2fprotobuf_2fapi_2eproto__INCLUDED
1157