webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
api.pb.h
Go to the documentation of this file.
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 
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>
32 // @@protoc_insertion_point(includes)
33 
34 namespace google {
35 namespace protobuf {
36 
37 // Internal implementation detail -- do not call these.
41 
42 class Api;
43 class Method;
44 class Mixin;
45 
46 // ===================================================================
47 
49  public:
50  Api();
51  virtual ~Api();
52 
53  Api(const Api& from);
54 
55  inline Api& operator=(const Api& from) {
56  CopyFrom(from);
57  return *this;
58  }
59 
61  static const Api& default_instance();
62 
63  void Swap(Api* other);
64 
65  // implements Message ----------------------------------------------
66 
67  inline Api* New() const { return New(NULL); }
68 
69  Api* New(::google::protobuf::Arena* arena) const;
70  void CopyFrom(const ::google::protobuf::Message& from);
72  void CopyFrom(const Api& from);
73  void MergeFrom(const Api& from);
74  void Clear();
75  bool IsInitialized() const;
76 
77  int ByteSize() const;
78  bool MergePartialFromCodedStream(
80  void SerializeWithCachedSizes(
82  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
83  int GetCachedSize() const { return _cached_size_; }
84  private:
85  void SharedCtor();
86  void SharedDtor();
87  void SetCachedSize(int size) const;
88  void InternalSwap(Api* other);
89  private:
90  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
91  return _internal_metadata_.arena();
92  }
93  inline void* MaybeArenaPtr() const {
94  return _internal_metadata_.raw_arena_ptr();
95  }
96  public:
97 
98  ::google::protobuf::Metadata GetMetadata() const;
99 
100  // nested types ----------------------------------------------------
101 
102  // accessors -------------------------------------------------------
103 
104  // optional string name = 1;
105  void clear_name();
106  static const int kNameFieldNumber = 1;
107  const ::std::string& name() const;
108  void set_name(const ::std::string& value);
109  void set_name(const char* value);
110  void set_name(const char* value, size_t size);
111  ::std::string* mutable_name();
112  ::std::string* release_name();
113  void set_allocated_name(::std::string* name);
114 
115  // repeated .google.protobuf.Method methods = 2;
116  int methods_size() const;
117  void clear_methods();
118  static const int kMethodsFieldNumber = 2;
119  const ::google::protobuf::Method& methods(int index) const;
120  ::google::protobuf::Method* mutable_methods(int index);
121  ::google::protobuf::Method* add_methods();
123  mutable_methods();
124  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >&
125  methods() const;
126 
127  // repeated .google.protobuf.Option options = 3;
128  int options_size() const;
129  void clear_options();
130  static const int kOptionsFieldNumber = 3;
131  const ::google::protobuf::Option& options(int index) const;
132  ::google::protobuf::Option* mutable_options(int index);
133  ::google::protobuf::Option* add_options();
135  mutable_options();
136  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
137  options() const;
138 
139  // optional string version = 4;
140  void clear_version();
141  static const int kVersionFieldNumber = 4;
142  const ::std::string& version() const;
144  void set_version(const char* value);
145  void set_version(const char* value, size_t size);
146  ::std::string* mutable_version();
147  ::std::string* release_version();
148  void set_allocated_version(::std::string* version);
149 
150  // optional .google.protobuf.SourceContext source_context = 5;
151  bool has_source_context() const;
152  void clear_source_context();
153  static const int kSourceContextFieldNumber = 5;
154  const ::google::protobuf::SourceContext& source_context() const;
155  ::google::protobuf::SourceContext* mutable_source_context();
156  ::google::protobuf::SourceContext* release_source_context();
157  void set_allocated_source_context(::google::protobuf::SourceContext* source_context);
158 
159  // repeated .google.protobuf.Mixin mixins = 6;
160  int mixins_size() const;
161  void clear_mixins();
162  static const int kMixinsFieldNumber = 6;
163  const ::google::protobuf::Mixin& mixins(int index) const;
164  ::google::protobuf::Mixin* mutable_mixins(int index);
165  ::google::protobuf::Mixin* add_mixins();
167  mutable_mixins();
168  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >&
169  mixins() const;
170 
171  // optional .google.protobuf.Syntax syntax = 7;
172  void clear_syntax();
173  static const int kSyntaxFieldNumber = 7;
174  ::google::protobuf::Syntax syntax() const;
175  void set_syntax(::google::protobuf::Syntax value);
176 
177  // @@protoc_insertion_point(class_scope:google.protobuf.Api)
178  private:
179 
181  bool _is_default_instance_;
186  ::google::protobuf::SourceContext* source_context_;
188  int syntax_;
189  mutable int _cached_size_;
193 
194  void InitAsDefaultInstance();
195  static Api* default_instance_;
196 };
197 // -------------------------------------------------------------------
198 
200  public:
201  Method();
202  virtual ~Method();
203 
204  Method(const Method& from);
205 
206  inline Method& operator=(const Method& from) {
207  CopyFrom(from);
208  return *this;
209  }
210 
212  static const Method& default_instance();
213 
214  void Swap(Method* other);
215 
216  // implements Message ----------------------------------------------
217 
218  inline Method* New() const { return New(NULL); }
219 
220  Method* New(::google::protobuf::Arena* arena) const;
221  void CopyFrom(const ::google::protobuf::Message& from);
223  void CopyFrom(const Method& from);
224  void MergeFrom(const Method& from);
225  void Clear();
226  bool IsInitialized() const;
227 
228  int ByteSize() const;
229  bool MergePartialFromCodedStream(
231  void SerializeWithCachedSizes(
233  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
234  int GetCachedSize() const { return _cached_size_; }
235  private:
236  void SharedCtor();
237  void SharedDtor();
238  void SetCachedSize(int size) const;
239  void InternalSwap(Method* other);
240  private:
241  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
242  return _internal_metadata_.arena();
243  }
244  inline void* MaybeArenaPtr() const {
245  return _internal_metadata_.raw_arena_ptr();
246  }
247  public:
248 
249  ::google::protobuf::Metadata GetMetadata() const;
250 
251  // nested types ----------------------------------------------------
252 
253  // accessors -------------------------------------------------------
254 
255  // optional string name = 1;
256  void clear_name();
257  static const int kNameFieldNumber = 1;
258  const ::std::string& name() const;
259  void set_name(const ::std::string& value);
260  void set_name(const char* value);
261  void set_name(const char* value, size_t size);
262  ::std::string* mutable_name();
263  ::std::string* release_name();
264  void set_allocated_name(::std::string* name);
265 
266  // optional string request_type_url = 2;
267  void clear_request_type_url();
268  static const int kRequestTypeUrlFieldNumber = 2;
269  const ::std::string& request_type_url() const;
270  void set_request_type_url(const ::std::string& value);
271  void set_request_type_url(const char* value);
272  void set_request_type_url(const char* value, size_t size);
273  ::std::string* mutable_request_type_url();
274  ::std::string* release_request_type_url();
275  void set_allocated_request_type_url(::std::string* request_type_url);
276 
277  // optional bool request_streaming = 3;
278  void clear_request_streaming();
279  static const int kRequestStreamingFieldNumber = 3;
280  bool request_streaming() const;
281  void set_request_streaming(bool value);
282 
283  // optional string response_type_url = 4;
284  void clear_response_type_url();
285  static const int kResponseTypeUrlFieldNumber = 4;
286  const ::std::string& response_type_url() const;
287  void set_response_type_url(const ::std::string& value);
288  void set_response_type_url(const char* value);
289  void set_response_type_url(const char* value, size_t size);
290  ::std::string* mutable_response_type_url();
291  ::std::string* release_response_type_url();
292  void set_allocated_response_type_url(::std::string* response_type_url);
293 
294  // optional bool response_streaming = 5;
295  void clear_response_streaming();
296  static const int kResponseStreamingFieldNumber = 5;
297  bool response_streaming() const;
298  void set_response_streaming(bool value);
299 
300  // repeated .google.protobuf.Option options = 6;
301  int options_size() const;
302  void clear_options();
303  static const int kOptionsFieldNumber = 6;
304  const ::google::protobuf::Option& options(int index) const;
305  ::google::protobuf::Option* mutable_options(int index);
306  ::google::protobuf::Option* add_options();
308  mutable_options();
309  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
310  options() const;
311 
312  // optional .google.protobuf.Syntax syntax = 7;
313  void clear_syntax();
314  static const int kSyntaxFieldNumber = 7;
315  ::google::protobuf::Syntax syntax() const;
316  void set_syntax(::google::protobuf::Syntax value);
317 
318  // @@protoc_insertion_point(class_scope:google.protobuf.Method)
319  private:
320 
322  bool _is_default_instance_;
326  bool request_streaming_;
327  bool response_streaming_;
328  int syntax_;
330  mutable int _cached_size_;
334 
335  void InitAsDefaultInstance();
336  static Method* default_instance_;
337 };
338 // -------------------------------------------------------------------
339 
341  public:
342  Mixin();
343  virtual ~Mixin();
344 
345  Mixin(const Mixin& from);
346 
347  inline Mixin& operator=(const Mixin& from) {
348  CopyFrom(from);
349  return *this;
350  }
351 
353  static const Mixin& default_instance();
354 
355  void Swap(Mixin* other);
356 
357  // implements Message ----------------------------------------------
358 
359  inline Mixin* New() const { return New(NULL); }
360 
361  Mixin* New(::google::protobuf::Arena* arena) const;
362  void CopyFrom(const ::google::protobuf::Message& from);
364  void CopyFrom(const Mixin& from);
365  void MergeFrom(const Mixin& from);
366  void Clear();
367  bool IsInitialized() const;
368 
369  int ByteSize() const;
370  bool MergePartialFromCodedStream(
372  void SerializeWithCachedSizes(
374  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
375  int GetCachedSize() const { return _cached_size_; }
376  private:
377  void SharedCtor();
378  void SharedDtor();
379  void SetCachedSize(int size) const;
380  void InternalSwap(Mixin* other);
381  private:
382  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
383  return _internal_metadata_.arena();
384  }
385  inline void* MaybeArenaPtr() const {
386  return _internal_metadata_.raw_arena_ptr();
387  }
388  public:
389 
390  ::google::protobuf::Metadata GetMetadata() const;
391 
392  // nested types ----------------------------------------------------
393 
394  // accessors -------------------------------------------------------
395 
396  // optional string name = 1;
397  void clear_name();
398  static const int kNameFieldNumber = 1;
399  const ::std::string& name() const;
400  void set_name(const ::std::string& value);
401  void set_name(const char* value);
402  void set_name(const char* value, size_t size);
403  ::std::string* mutable_name();
404  ::std::string* release_name();
405  void set_allocated_name(::std::string* name);
406 
407  // optional string root = 2;
408  void clear_root();
409  static const int kRootFieldNumber = 2;
410  const ::std::string& root() const;
411  void set_root(const ::std::string& value);
412  void set_root(const char* value);
413  void set_root(const char* value, size_t size);
414  ::std::string* mutable_root();
415  ::std::string* release_root();
416  void set_allocated_root(::std::string* root);
417 
418  // @@protoc_insertion_point(class_scope:google.protobuf.Mixin)
419  private:
420 
422  bool _is_default_instance_;
425  mutable int _cached_size_;
429 
430  void InitAsDefaultInstance();
431  static Mixin* default_instance_;
432 };
433 // ===================================================================
434 
435 
436 // ===================================================================
437 
438 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
439 // Api
440 
441 // optional string name = 1;
442 inline void Api::clear_name() {
443  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
444 }
446  // @@protoc_insertion_point(field_get:google.protobuf.Api.name)
447  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
448 }
450 
451  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
452  // @@protoc_insertion_point(field_set:google.protobuf.Api.name)
453 }
454 inline void Api::set_name(const char* value) {
455 
457  // @@protoc_insertion_point(field_set_char:google.protobuf.Api.name)
458 }
459 inline void Api::set_name(const char* value, size_t size) {
460 
462  ::std::string(reinterpret_cast<const char*>(value), size));
463  // @@protoc_insertion_point(field_set_pointer:google.protobuf.Api.name)
464 }
466 
467  // @@protoc_insertion_point(field_mutable:google.protobuf.Api.name)
468  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
469 }
471  // @@protoc_insertion_point(field_release:google.protobuf.Api.name)
472 
473  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
474 }
476  if (name != NULL) {
477 
478  } else {
479 
480  }
481  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
482  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.name)
483 }
484 
485 // repeated .google.protobuf.Method methods = 2;
486 inline int Api::methods_size() const {
487  return methods_.size();
488 }
489 inline void Api::clear_methods() {
490  methods_.Clear();
491 }
492 inline const ::google::protobuf::Method& Api::methods(int index) const {
493  // @@protoc_insertion_point(field_get:google.protobuf.Api.methods)
494  return methods_.Get(index);
495 }
496 inline ::google::protobuf::Method* Api::mutable_methods(int index) {
497  // @@protoc_insertion_point(field_mutable:google.protobuf.Api.methods)
498  return methods_.Mutable(index);
499 }
500 inline ::google::protobuf::Method* Api::add_methods() {
501  // @@protoc_insertion_point(field_add:google.protobuf.Api.methods)
502  return methods_.Add();
503 }
504 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >*
506  // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.methods)
507  return &methods_;
508 }
509 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >&
510 Api::methods() const {
511  // @@protoc_insertion_point(field_list:google.protobuf.Api.methods)
512  return methods_;
513 }
514 
515 // repeated .google.protobuf.Option options = 3;
516 inline int Api::options_size() const {
517  return options_.size();
518 }
519 inline void Api::clear_options() {
520  options_.Clear();
521 }
522 inline const ::google::protobuf::Option& Api::options(int index) const {
523  // @@protoc_insertion_point(field_get:google.protobuf.Api.options)
524  return options_.Get(index);
525 }
526 inline ::google::protobuf::Option* Api::mutable_options(int index) {
527  // @@protoc_insertion_point(field_mutable:google.protobuf.Api.options)
528  return options_.Mutable(index);
529 }
530 inline ::google::protobuf::Option* Api::add_options() {
531  // @@protoc_insertion_point(field_add:google.protobuf.Api.options)
532  return options_.Add();
533 }
534 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
536  // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.options)
537  return &options_;
538 }
539 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
540 Api::options() const {
541  // @@protoc_insertion_point(field_list:google.protobuf.Api.options)
542  return options_;
543 }
544 
545 // optional string version = 4;
546 inline void Api::clear_version() {
547  version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
548 }
550  // @@protoc_insertion_point(field_get:google.protobuf.Api.version)
551  return version_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
552 }
554 
555  version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
556  // @@protoc_insertion_point(field_set:google.protobuf.Api.version)
557 }
558 inline void Api::set_version(const char* value) {
559 
560  version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
561  // @@protoc_insertion_point(field_set_char:google.protobuf.Api.version)
562 }
563 inline void Api::set_version(const char* value, size_t size) {
564 
566  ::std::string(reinterpret_cast<const char*>(value), size));
567  // @@protoc_insertion_point(field_set_pointer:google.protobuf.Api.version)
568 }
570 
571  // @@protoc_insertion_point(field_mutable:google.protobuf.Api.version)
572  return version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
573 }
575  // @@protoc_insertion_point(field_release:google.protobuf.Api.version)
576 
577  return version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
578 }
580  if (version != NULL) {
581 
582  } else {
583 
584  }
585  version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version);
586  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.version)
587 }
588 
589 // optional .google.protobuf.SourceContext source_context = 5;
590 inline bool Api::has_source_context() const {
591  return !_is_default_instance_ && source_context_ != NULL;
592 }
594  if (GetArenaNoVirtual() == NULL && source_context_ != NULL) delete source_context_;
595  source_context_ = NULL;
596 }
597 inline const ::google::protobuf::SourceContext& Api::source_context() const {
598  // @@protoc_insertion_point(field_get:google.protobuf.Api.source_context)
599  return source_context_ != NULL ? *source_context_ : *default_instance_->source_context_;
600 }
601 inline ::google::protobuf::SourceContext* Api::mutable_source_context() {
602 
603  if (source_context_ == NULL) {
604  source_context_ = new ::google::protobuf::SourceContext;
605  }
606  // @@protoc_insertion_point(field_mutable:google.protobuf.Api.source_context)
607  return source_context_;
608 }
609 inline ::google::protobuf::SourceContext* Api::release_source_context() {
610  // @@protoc_insertion_point(field_release:google.protobuf.Api.source_context)
611 
612  ::google::protobuf::SourceContext* temp = source_context_;
613  source_context_ = NULL;
614  return temp;
615 }
617  delete source_context_;
618  source_context_ = source_context;
619  if (source_context) {
620 
621  } else {
622 
623  }
624  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.source_context)
625 }
626 
627 // repeated .google.protobuf.Mixin mixins = 6;
628 inline int Api::mixins_size() const {
629  return mixins_.size();
630 }
631 inline void Api::clear_mixins() {
632  mixins_.Clear();
633 }
634 inline const ::google::protobuf::Mixin& Api::mixins(int index) const {
635  // @@protoc_insertion_point(field_get:google.protobuf.Api.mixins)
636  return mixins_.Get(index);
637 }
638 inline ::google::protobuf::Mixin* Api::mutable_mixins(int index) {
639  // @@protoc_insertion_point(field_mutable:google.protobuf.Api.mixins)
640  return mixins_.Mutable(index);
641 }
642 inline ::google::protobuf::Mixin* Api::add_mixins() {
643  // @@protoc_insertion_point(field_add:google.protobuf.Api.mixins)
644  return mixins_.Add();
645 }
646 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >*
648  // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.mixins)
649  return &mixins_;
650 }
651 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >&
652 Api::mixins() const {
653  // @@protoc_insertion_point(field_list:google.protobuf.Api.mixins)
654  return mixins_;
655 }
656 
657 // optional .google.protobuf.Syntax syntax = 7;
658 inline void Api::clear_syntax() {
659  syntax_ = 0;
660 }
662  // @@protoc_insertion_point(field_get:google.protobuf.Api.syntax)
663  return static_cast< ::google::protobuf::Syntax >(syntax_);
664 }
666 
667  syntax_ = value;
668  // @@protoc_insertion_point(field_set:google.protobuf.Api.syntax)
669 }
670 
671 // -------------------------------------------------------------------
672 
673 // Method
674 
675 // optional string name = 1;
676 inline void Method::clear_name() {
677  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
678 }
680  // @@protoc_insertion_point(field_get:google.protobuf.Method.name)
681  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
682 }
684 
685  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
686  // @@protoc_insertion_point(field_set:google.protobuf.Method.name)
687 }
688 inline void Method::set_name(const char* value) {
689 
691  // @@protoc_insertion_point(field_set_char:google.protobuf.Method.name)
692 }
693 inline void Method::set_name(const char* value, size_t size) {
694 
696  ::std::string(reinterpret_cast<const char*>(value), size));
697  // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.name)
698 }
700 
701  // @@protoc_insertion_point(field_mutable:google.protobuf.Method.name)
702  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
703 }
705  // @@protoc_insertion_point(field_release:google.protobuf.Method.name)
706 
707  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
708 }
710  if (name != NULL) {
711 
712  } else {
713 
714  }
715  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
716  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.name)
717 }
718 
719 // optional string request_type_url = 2;
721  request_type_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
722 }
724  // @@protoc_insertion_point(field_get:google.protobuf.Method.request_type_url)
725  return request_type_url_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
726 }
728 
729  request_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
730  // @@protoc_insertion_point(field_set:google.protobuf.Method.request_type_url)
731 }
732 inline void Method::set_request_type_url(const char* value) {
733 
734  request_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
735  // @@protoc_insertion_point(field_set_char:google.protobuf.Method.request_type_url)
736 }
737 inline void Method::set_request_type_url(const char* value, size_t size) {
738 
739  request_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
740  ::std::string(reinterpret_cast<const char*>(value), size));
741  // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.request_type_url)
742 }
744 
745  // @@protoc_insertion_point(field_mutable:google.protobuf.Method.request_type_url)
746  return request_type_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
747 }
749  // @@protoc_insertion_point(field_release:google.protobuf.Method.request_type_url)
750 
751  return request_type_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
752 }
753 inline void Method::set_allocated_request_type_url(::std::string* request_type_url) {
754  if (request_type_url != NULL) {
755 
756  } else {
757 
758  }
759  request_type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), request_type_url);
760  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.request_type_url)
761 }
762 
763 // optional bool request_streaming = 3;
765  request_streaming_ = false;
766 }
767 inline bool Method::request_streaming() const {
768  // @@protoc_insertion_point(field_get:google.protobuf.Method.request_streaming)
769  return request_streaming_;
770 }
772 
773  request_streaming_ = value;
774  // @@protoc_insertion_point(field_set:google.protobuf.Method.request_streaming)
775 }
776 
777 // optional string response_type_url = 4;
779  response_type_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
780 }
782  // @@protoc_insertion_point(field_get:google.protobuf.Method.response_type_url)
783  return response_type_url_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
784 }
786 
787  response_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
788  // @@protoc_insertion_point(field_set:google.protobuf.Method.response_type_url)
789 }
790 inline void Method::set_response_type_url(const char* value) {
791 
792  response_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
793  // @@protoc_insertion_point(field_set_char:google.protobuf.Method.response_type_url)
794 }
795 inline void Method::set_response_type_url(const char* value, size_t size) {
796 
797  response_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
798  ::std::string(reinterpret_cast<const char*>(value), size));
799  // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.response_type_url)
800 }
802 
803  // @@protoc_insertion_point(field_mutable:google.protobuf.Method.response_type_url)
804  return response_type_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
805 }
807  // @@protoc_insertion_point(field_release:google.protobuf.Method.response_type_url)
808 
809  return response_type_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
810 }
811 inline void Method::set_allocated_response_type_url(::std::string* response_type_url) {
812  if (response_type_url != NULL) {
813 
814  } else {
815 
816  }
817  response_type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), response_type_url);
818  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.response_type_url)
819 }
820 
821 // optional bool response_streaming = 5;
823  response_streaming_ = false;
824 }
825 inline bool Method::response_streaming() const {
826  // @@protoc_insertion_point(field_get:google.protobuf.Method.response_streaming)
827  return response_streaming_;
828 }
830 
831  response_streaming_ = value;
832  // @@protoc_insertion_point(field_set:google.protobuf.Method.response_streaming)
833 }
834 
835 // repeated .google.protobuf.Option options = 6;
836 inline int Method::options_size() const {
837  return options_.size();
838 }
839 inline void Method::clear_options() {
840  options_.Clear();
841 }
842 inline const ::google::protobuf::Option& Method::options(int index) const {
843  // @@protoc_insertion_point(field_get:google.protobuf.Method.options)
844  return options_.Get(index);
845 }
846 inline ::google::protobuf::Option* Method::mutable_options(int index) {
847  // @@protoc_insertion_point(field_mutable:google.protobuf.Method.options)
848  return options_.Mutable(index);
849 }
850 inline ::google::protobuf::Option* Method::add_options() {
851  // @@protoc_insertion_point(field_add:google.protobuf.Method.options)
852  return options_.Add();
853 }
854 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
856  // @@protoc_insertion_point(field_mutable_list:google.protobuf.Method.options)
857  return &options_;
858 }
859 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
861  // @@protoc_insertion_point(field_list:google.protobuf.Method.options)
862  return options_;
863 }
864 
865 // optional .google.protobuf.Syntax syntax = 7;
866 inline void Method::clear_syntax() {
867  syntax_ = 0;
868 }
870  // @@protoc_insertion_point(field_get:google.protobuf.Method.syntax)
871  return static_cast< ::google::protobuf::Syntax >(syntax_);
872 }
874 
875  syntax_ = value;
876  // @@protoc_insertion_point(field_set:google.protobuf.Method.syntax)
877 }
878 
879 // -------------------------------------------------------------------
880 
881 // Mixin
882 
883 // optional string name = 1;
884 inline void Mixin::clear_name() {
885  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
886 }
888  // @@protoc_insertion_point(field_get:google.protobuf.Mixin.name)
889  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
890 }
892 
893  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
894  // @@protoc_insertion_point(field_set:google.protobuf.Mixin.name)
895 }
896 inline void Mixin::set_name(const char* value) {
897 
899  // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.name)
900 }
901 inline void Mixin::set_name(const char* value, size_t size) {
902 
904  ::std::string(reinterpret_cast<const char*>(value), size));
905  // @@protoc_insertion_point(field_set_pointer:google.protobuf.Mixin.name)
906 }
908 
909  // @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.name)
910  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
911 }
913  // @@protoc_insertion_point(field_release:google.protobuf.Mixin.name)
914 
915  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
916 }
918  if (name != NULL) {
919 
920  } else {
921 
922  }
923  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
924  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.name)
925 }
926 
927 // optional string root = 2;
928 inline void Mixin::clear_root() {
929  root_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
930 }
932  // @@protoc_insertion_point(field_get:google.protobuf.Mixin.root)
933  return root_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
934 }
936 
937  root_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
938  // @@protoc_insertion_point(field_set:google.protobuf.Mixin.root)
939 }
940 inline void Mixin::set_root(const char* value) {
941 
943  // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.root)
944 }
945 inline void Mixin::set_root(const char* value, size_t size) {
946 
948  ::std::string(reinterpret_cast<const char*>(value), size));
949  // @@protoc_insertion_point(field_set_pointer:google.protobuf.Mixin.root)
950 }
952 
953  // @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.root)
954  return root_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
955 }
957  // @@protoc_insertion_point(field_release:google.protobuf.Mixin.root)
958 
959  return root_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
960 }
962  if (root != NULL) {
963 
964  } else {
965 
966  }
967  root_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), root);
968  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.root)
969 }
970 
971 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
972 // -------------------------------------------------------------------
973 
974 // -------------------------------------------------------------------
975 
976 
977 // @@protoc_insertion_point(namespace_scope)
978 
979 } // namespace protobuf
980 } // namespace google
981 
982 // @@protoc_insertion_point(global_scope)
983 
984 #endif // PROTOBUF_google_2fprotobuf_2fapi_2eproto__INCLUDED
Method * New() const
Definition: api.pb.h:218
void clear_mixins()
Definition: api.pb.h:631
bool response_streaming() const
Definition: api.pb.h:825
::google::protobuf::SourceContext * release_source_context()
Definition: api.pb.h:609
bool has_source_context() const
Definition: api.pb.h:590
::google::protobuf::Option * add_options()
Definition: api.pb.h:850
Definition: message.h:179
EGLStreamKHR EGLint EGLint EGLint size
Definition: eglext.h:984
Api
Definition: ecdsa_test.cc:65
void clear_root()
Definition: api.pb.h:928
::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > * mutable_options()
Definition: api.pb.h:855
::std::string * release_response_type_url()
Definition: api.pb.h:806
bool request_streaming() const
Definition: api.pb.h:767
const ::std::string & name() const
Definition: api.pb.h:679
int options_size() const
Definition: api.pb.h:836
def root
Definition: pyjsontestrunner.py:60
::std::string * mutable_version()
Definition: api.pb.h:569
void clear_name()
Definition: api.pb.h:884
::std::string * release_name()
Definition: api.pb.h:912
const ::std::string & name() const
Definition: api.pb.h:887
::std::string * mutable_root()
Definition: api.pb.h:951
options
Definition: CodeGeneratorReplayInputs.py:1046
struct Descriptor Descriptor
Definition: protobuf.h:23
Mixin & operator=(const Mixin &from)
Definition: api.pb.h:347
const Descriptor * descriptor
Definition: descriptor.cc:271
uint8_t uint8
Definition: port.h:133
Definition: api.pb.h:340
void clear_request_type_url()
Definition: api.pb.h:720
Api & operator=(const Api &from)
Definition: api.pb.h:55
const ::std::string & name() const
Definition: api.pb.h:445
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > & options() const
Definition: api.pb.h:860
LIBPROTOBUF_EXPORTconst ::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:85
Definition: arenastring.h:56
Message
Definition: peerconnection_unittest.cc:105
::google::protobuf::Syntax syntax() const
Definition: api.pb.h:869
Definition: command_line_interface.h:56
void set_allocated_root(::std::string *root)
Definition: api.pb.h:961
::google::protobuf::SourceContext * mutable_source_context()
Definition: api.pb.h:601
uint16_t version
Definition: ssl_lib.c:2731
Method & operator=(const Method &from)
Definition: api.pb.h:206
::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin > * mutable_mixins()
Definition: api.pb.h:647
::std::string * mutable_request_type_url()
Definition: api.pb.h:743
const ::std::string & version() const
Definition: api.pb.h:549
Definition: message.h:164
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method > & methods() const
Definition: api.pb.h:510
void set_allocated_name(::std::string *name)
Definition: api.pb.h:475
Definition: api.pb.h:199
#define output
Definition: wire_format_lite.h:418
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > & options() const
Definition: api.pb.h:540
::google::protobuf::Option * add_options()
Definition: api.pb.h:530
Api * New() const
Definition: api.pb.h:67
const FieldDescriptor const OneofDescriptor value
Definition: descriptor.h:1717
void set_name(const ::std::string &value)
Definition: api.pb.h:449
int methods_size() const
Definition: api.pb.h:486
const ::std::string & root() const
Definition: api.pb.h:931
void clear_response_type_url()
Definition: api.pb.h:778
void set_response_type_url(const ::std::string &value)
Definition: api.pb.h:785
::google::protobuf::RepeatedPtrField< ::google::protobuf::Method > * mutable_methods()
Definition: api.pb.h:505
void set_name(const ::std::string &value)
Definition: api.pb.h:891
Definition: source_context.pb.h:44
Syntax
The syntax in which a protocol buffer element is defined.
Definition: Type.cs:78
void set_allocated_source_context(::google::protobuf::SourceContext *source_context)
Definition: api.pb.h:616
IsInitialized
Definition: python_message.py:1169
Mixin * New() const
Definition: api.pb.h:359
GLuint index
Definition: gl2.h:383
void set_version(const ::std::string &value)
Definition: api.pb.h:553
EGLAttrib * value
Definition: eglext.h:120
void set_response_streaming(bool value)
Definition: api.pb.h:829
void protobuf_AssignDesc_google_2fprotobuf_2fapi_2eproto()
Definition: api.pb.cc:38
void clear_options()
Definition: api.pb.h:839
::google::protobuf::Method * add_methods()
Definition: api.pb.h:500
::google::protobuf::Mixin * add_mixins()
Definition: api.pb.h:642
EGLImageKHR EGLint * name
Definition: eglext.h:851
int mixins_size() const
Definition: api.pb.h:628
Syntax
Definition: type.pb.h:110
int options_size() const
Definition: api.pb.h:516
void set_name(const ::std::string &value)
Definition: api.pb.h:683
Definition: __init__.py:1
void clear_name()
Definition: api.pb.h:442
void set_syntax(::google::protobuf::Syntax value)
Definition: api.pb.h:873
::std::string * mutable_response_type_url()
Definition: api.pb.h:801
::std::string * mutable_name()
Definition: api.pb.h:699
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin > & mixins() const
Definition: api.pb.h:652
::google::protobuf::Syntax syntax() const
Definition: api.pb.h:661
Definition: type.pb.h:762
void set_syntax(::google::protobuf::Syntax value)
Definition: api.pb.h:665
Definition: arena.h:218
void set_allocated_name(::std::string *name)
Definition: api.pb.h:917
void set_request_streaming(bool value)
Definition: api.pb.h:771
void set_root(const ::std::string &value)
Definition: api.pb.h:935
GLsizei const GLchar *const * string
Definition: gl2.h:479
const ::std::string & response_type_url() const
Definition: api.pb.h:781
void clear_version()
Definition: api.pb.h:546
void set_request_type_url(const ::std::string &value)
Definition: api.pb.h:727
::std::string * mutable_name()
Definition: api.pb.h:907
void clear_options()
Definition: api.pb.h:519
::std::string * release_name()
Definition: api.pb.h:470
void clear_response_streaming()
Definition: api.pb.h:822
void clear_methods()
Definition: api.pb.h:489
#define NULL
Definition: common_types.h:41
void clear_request_streaming()
Definition: api.pb.h:764
void clear_syntax()
Definition: api.pb.h:658
::std::string * release_name()
Definition: api.pb.h:704
#define LIBPROTOBUF_EXPORT
Definition: port.h:97
::std::string * release_version()
Definition: api.pb.h:574
Definition: gflags_completions.h:115
int GetCachedSize() const
Definition: api.pb.h:375
::std::string * release_request_type_url()
Definition: api.pb.h:748
def set_version(version)
Definition: makerelease.py:33
void set_allocated_name(::std::string *name)
Definition: api.pb.h:709
const ::std::string & request_type_url() const
Definition: api.pb.h:723
GPBFileSyntax syntax_
Definition: GPBDescriptor.m:250
string input
Definition: tokenizer_unittest.cc:198
ByteSize
Definition: python_message.py:1040
::std::string * mutable_name()
Definition: api.pb.h:465
const ::google::protobuf::SourceContext & source_context() const
Definition: api.pb.h:597
void clear_name()
Definition: api.pb.h:676
void protobuf_AddDesc_google_2fprotobuf_2fapi_2eproto()
Definition: api.pb.cc:133
Definition: coded_stream.h:665
::std::string * release_root()
Definition: api.pb.h:956
Definition: api.pb.h:48
int GetCachedSize() const
Definition: api.pb.h:234
Definition: coded_stream.h:159
::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > * mutable_options()
Definition: api.pb.h:535
void protobuf_ShutdownFile_google_2fprotobuf_2fapi_2eproto()
Definition: api.pb.cc:124
void set_allocated_request_type_url(::std::string *request_type_url)
Definition: api.pb.h:753
void clear_syntax()
Definition: api.pb.h:866
temp
Definition: parse_delay_file.m:64
void clear_source_context()
Definition: api.pb.h:593
int GetCachedSize() const
Definition: api.pb.h:83
void set_allocated_response_type_url(::std::string *response_type_url)
Definition: api.pb.h:811
MergeFrom
Definition: python_message.py:1259
void set_allocated_version(::std::string *version)
Definition: api.pb.h:579