webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
plugin.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/compiler/plugin.proto
3 
4 #ifndef PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto__INCLUDED
5 #define PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_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>
31 // @@protoc_insertion_point(includes)
32 
33 namespace google {
34 namespace protobuf {
35 namespace compiler {
36 
37 // Internal implementation detail -- do not call these.
41 
42 class CodeGeneratorRequest;
43 class CodeGeneratorResponse;
44 class CodeGeneratorResponse_File;
45 
46 // ===================================================================
47 
49  public:
51  virtual ~CodeGeneratorRequest();
52 
54 
56  CopyFrom(from);
57  return *this;
58  }
59 
60  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
61  return _internal_metadata_.unknown_fields();
62  }
63 
64  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
65  return _internal_metadata_.mutable_unknown_fields();
66  }
67 
69  static const CodeGeneratorRequest& default_instance();
70 
71  void Swap(CodeGeneratorRequest* other);
72 
73  // implements Message ----------------------------------------------
74 
75  inline CodeGeneratorRequest* New() const { return New(NULL); }
76 
77  CodeGeneratorRequest* New(::google::protobuf::Arena* arena) const;
78  void CopyFrom(const ::google::protobuf::Message& from);
80  void CopyFrom(const CodeGeneratorRequest& from);
81  void MergeFrom(const CodeGeneratorRequest& from);
82  void Clear();
83  bool IsInitialized() const;
84 
85  int ByteSize() const;
86  bool MergePartialFromCodedStream(
88  void SerializeWithCachedSizes(
90  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
91  int GetCachedSize() const { return _cached_size_; }
92  private:
93  void SharedCtor();
94  void SharedDtor();
95  void SetCachedSize(int size) const;
96  void InternalSwap(CodeGeneratorRequest* other);
97  private:
98  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
99  return _internal_metadata_.arena();
100  }
101  inline void* MaybeArenaPtr() const {
102  return _internal_metadata_.raw_arena_ptr();
103  }
104  public:
105 
106  ::google::protobuf::Metadata GetMetadata() const;
107 
108  // nested types ----------------------------------------------------
109 
110  // accessors -------------------------------------------------------
111 
112  // repeated string file_to_generate = 1;
113  int file_to_generate_size() const;
114  void clear_file_to_generate();
115  static const int kFileToGenerateFieldNumber = 1;
116  const ::std::string& file_to_generate(int index) const;
117  ::std::string* mutable_file_to_generate(int index);
118  void set_file_to_generate(int index, const ::std::string& value);
119  void set_file_to_generate(int index, const char* value);
120  void set_file_to_generate(int index, const char* value, size_t size);
121  ::std::string* add_file_to_generate();
122  void add_file_to_generate(const ::std::string& value);
123  void add_file_to_generate(const char* value);
124  void add_file_to_generate(const char* value, size_t size);
125  const ::google::protobuf::RepeatedPtrField< ::std::string>& file_to_generate() const;
126  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_file_to_generate();
127 
128  // optional string parameter = 2;
129  bool has_parameter() const;
130  void clear_parameter();
131  static const int kParameterFieldNumber = 2;
132  const ::std::string& parameter() const;
133  void set_parameter(const ::std::string& value);
134  void set_parameter(const char* value);
135  void set_parameter(const char* value, size_t size);
136  ::std::string* mutable_parameter();
137  ::std::string* release_parameter();
138  void set_allocated_parameter(::std::string* parameter);
139 
140  // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
141  int proto_file_size() const;
142  void clear_proto_file();
143  static const int kProtoFileFieldNumber = 15;
145  ::google::protobuf::FileDescriptorProto* mutable_proto_file(int index);
146  ::google::protobuf::FileDescriptorProto* add_proto_file();
148  mutable_proto_file();
149  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
150  proto_file() const;
151 
152  // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorRequest)
153  private:
154  inline void set_has_parameter();
155  inline void clear_has_parameter();
156 
158  ::google::protobuf::uint32 _has_bits_[1];
159  mutable int _cached_size_;
166 
167  void InitAsDefaultInstance();
168  static CodeGeneratorRequest* default_instance_;
169 };
170 // -------------------------------------------------------------------
171 
173  public:
175  virtual ~CodeGeneratorResponse_File();
176 
178 
180  CopyFrom(from);
181  return *this;
182  }
183 
184  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
185  return _internal_metadata_.unknown_fields();
186  }
187 
188  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
189  return _internal_metadata_.mutable_unknown_fields();
190  }
191 
193  static const CodeGeneratorResponse_File& default_instance();
194 
195  void Swap(CodeGeneratorResponse_File* other);
196 
197  // implements Message ----------------------------------------------
198 
199  inline CodeGeneratorResponse_File* New() const { return New(NULL); }
200 
202  void CopyFrom(const ::google::protobuf::Message& from);
204  void CopyFrom(const CodeGeneratorResponse_File& from);
205  void MergeFrom(const CodeGeneratorResponse_File& from);
206  void Clear();
207  bool IsInitialized() const;
208 
209  int ByteSize() const;
210  bool MergePartialFromCodedStream(
212  void SerializeWithCachedSizes(
214  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
215  int GetCachedSize() const { return _cached_size_; }
216  private:
217  void SharedCtor();
218  void SharedDtor();
219  void SetCachedSize(int size) const;
220  void InternalSwap(CodeGeneratorResponse_File* other);
221  private:
222  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
223  return _internal_metadata_.arena();
224  }
225  inline void* MaybeArenaPtr() const {
226  return _internal_metadata_.raw_arena_ptr();
227  }
228  public:
229 
230  ::google::protobuf::Metadata GetMetadata() const;
231 
232  // nested types ----------------------------------------------------
233 
234  // accessors -------------------------------------------------------
235 
236  // optional string name = 1;
237  bool has_name() const;
238  void clear_name();
239  static const int kNameFieldNumber = 1;
240  const ::std::string& name() const;
241  void set_name(const ::std::string& value);
242  void set_name(const char* value);
243  void set_name(const char* value, size_t size);
244  ::std::string* mutable_name();
245  ::std::string* release_name();
246  void set_allocated_name(::std::string* name);
247 
248  // optional string insertion_point = 2;
249  bool has_insertion_point() const;
250  void clear_insertion_point();
251  static const int kInsertionPointFieldNumber = 2;
252  const ::std::string& insertion_point() const;
253  void set_insertion_point(const ::std::string& value);
254  void set_insertion_point(const char* value);
255  void set_insertion_point(const char* value, size_t size);
256  ::std::string* mutable_insertion_point();
257  ::std::string* release_insertion_point();
258  void set_allocated_insertion_point(::std::string* insertion_point);
259 
260  // optional string content = 15;
261  bool has_content() const;
262  void clear_content();
263  static const int kContentFieldNumber = 15;
264  const ::std::string& content() const;
265  void set_content(const ::std::string& value);
266  void set_content(const char* value);
267  void set_content(const char* value, size_t size);
268  ::std::string* mutable_content();
269  ::std::string* release_content();
270  void set_allocated_content(::std::string* content);
271 
272  // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorResponse.File)
273  private:
274  inline void set_has_name();
275  inline void clear_has_name();
276  inline void set_has_insertion_point();
277  inline void clear_has_insertion_point();
278  inline void set_has_content();
279  inline void clear_has_content();
280 
282  ::google::protobuf::uint32 _has_bits_[1];
283  mutable int _cached_size_;
290 
291  void InitAsDefaultInstance();
292  static CodeGeneratorResponse_File* default_instance_;
293 };
294 // -------------------------------------------------------------------
295 
297  public:
299  virtual ~CodeGeneratorResponse();
300 
302 
304  CopyFrom(from);
305  return *this;
306  }
307 
308  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
309  return _internal_metadata_.unknown_fields();
310  }
311 
312  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
313  return _internal_metadata_.mutable_unknown_fields();
314  }
315 
317  static const CodeGeneratorResponse& default_instance();
318 
319  void Swap(CodeGeneratorResponse* other);
320 
321  // implements Message ----------------------------------------------
322 
323  inline CodeGeneratorResponse* New() const { return New(NULL); }
324 
325  CodeGeneratorResponse* New(::google::protobuf::Arena* arena) const;
326  void CopyFrom(const ::google::protobuf::Message& from);
328  void CopyFrom(const CodeGeneratorResponse& from);
329  void MergeFrom(const CodeGeneratorResponse& from);
330  void Clear();
331  bool IsInitialized() const;
332 
333  int ByteSize() const;
334  bool MergePartialFromCodedStream(
336  void SerializeWithCachedSizes(
338  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
339  int GetCachedSize() const { return _cached_size_; }
340  private:
341  void SharedCtor();
342  void SharedDtor();
343  void SetCachedSize(int size) const;
344  void InternalSwap(CodeGeneratorResponse* other);
345  private:
346  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
347  return _internal_metadata_.arena();
348  }
349  inline void* MaybeArenaPtr() const {
350  return _internal_metadata_.raw_arena_ptr();
351  }
352  public:
353 
354  ::google::protobuf::Metadata GetMetadata() const;
355 
356  // nested types ----------------------------------------------------
357 
359 
360  // accessors -------------------------------------------------------
361 
362  // optional string error = 1;
363  bool has_error() const;
364  void clear_error();
365  static const int kErrorFieldNumber = 1;
366  const ::std::string& error() const;
367  void set_error(const ::std::string& value);
368  void set_error(const char* value);
369  void set_error(const char* value, size_t size);
370  ::std::string* mutable_error();
371  ::std::string* release_error();
372  void set_allocated_error(::std::string* error);
373 
374  // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
375  int file_size() const;
376  void clear_file();
377  static const int kFileFieldNumber = 15;
378  const ::google::protobuf::compiler::CodeGeneratorResponse_File& file(int index) const;
382  mutable_file();
383  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File >&
384  file() const;
385 
386  // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorResponse)
387  private:
388  inline void set_has_error();
389  inline void clear_has_error();
390 
392  ::google::protobuf::uint32 _has_bits_[1];
393  mutable int _cached_size_;
399 
400  void InitAsDefaultInstance();
401  static CodeGeneratorResponse* default_instance_;
402 };
403 // ===================================================================
404 
405 
406 // ===================================================================
407 
408 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
409 // CodeGeneratorRequest
410 
411 // repeated string file_to_generate = 1;
413  return file_to_generate_.size();
414 }
416  file_to_generate_.Clear();
417 }
419  // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
420  return file_to_generate_.Get(index);
421 }
423  // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
424  return file_to_generate_.Mutable(index);
425 }
427  // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
428  file_to_generate_.Mutable(index)->assign(value);
429 }
431  file_to_generate_.Mutable(index)->assign(value);
432  // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
433 }
434 inline void CodeGeneratorRequest::set_file_to_generate(int index, const char* value, size_t size) {
435  file_to_generate_.Mutable(index)->assign(
436  reinterpret_cast<const char*>(value), size);
437  // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
438 }
440  // @@protoc_insertion_point(field_add_mutable:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
441  return file_to_generate_.Add();
442 }
444  file_to_generate_.Add()->assign(value);
445  // @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
446 }
448  file_to_generate_.Add()->assign(value);
449  // @@protoc_insertion_point(field_add_char:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
450 }
451 inline void CodeGeneratorRequest::add_file_to_generate(const char* value, size_t size) {
452  file_to_generate_.Add()->assign(reinterpret_cast<const char*>(value), size);
453  // @@protoc_insertion_point(field_add_pointer:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
454 }
455 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
457  // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
458  return file_to_generate_;
459 }
460 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
462  // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
463  return &file_to_generate_;
464 }
465 
466 // optional string parameter = 2;
468  return (_has_bits_[0] & 0x00000002u) != 0;
469 }
470 inline void CodeGeneratorRequest::set_has_parameter() {
471  _has_bits_[0] |= 0x00000002u;
472 }
473 inline void CodeGeneratorRequest::clear_has_parameter() {
474  _has_bits_[0] &= ~0x00000002u;
475 }
478  clear_has_parameter();
479 }
481  // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.parameter)
483 }
485  set_has_parameter();
487  // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRequest.parameter)
488 }
489 inline void CodeGeneratorRequest::set_parameter(const char* value) {
490  set_has_parameter();
492  // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorRequest.parameter)
493 }
494 inline void CodeGeneratorRequest::set_parameter(const char* value, size_t size) {
495  set_has_parameter();
497  ::std::string(reinterpret_cast<const char*>(value), size));
498  // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorRequest.parameter)
499 }
501  set_has_parameter();
502  // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.parameter)
504 }
506  // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorRequest.parameter)
507  clear_has_parameter();
509 }
511  if (parameter != NULL) {
512  set_has_parameter();
513  } else {
514  clear_has_parameter();
515  }
516  parameter_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), parameter);
517  // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorRequest.parameter)
518 }
519 
520 // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
522  return proto_file_.size();
523 }
525  proto_file_.Clear();
526 }
528  // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
529  return proto_file_.Get(index);
530 }
532  // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
533  return proto_file_.Mutable(index);
534 }
536  // @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
537  return proto_file_.Add();
538 }
539 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
541  // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
542  return &proto_file_;
543 }
544 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
546  // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
547  return proto_file_;
548 }
549 
550 // -------------------------------------------------------------------
551 
552 // CodeGeneratorResponse_File
553 
554 // optional string name = 1;
556  return (_has_bits_[0] & 0x00000001u) != 0;
557 }
558 inline void CodeGeneratorResponse_File::set_has_name() {
559  _has_bits_[0] |= 0x00000001u;
560 }
561 inline void CodeGeneratorResponse_File::clear_has_name() {
562  _has_bits_[0] &= ~0x00000001u;
563 }
565  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
566  clear_has_name();
567 }
569  // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.name)
570  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
571 }
573  set_has_name();
574  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
575  // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.name)
576 }
577 inline void CodeGeneratorResponse_File::set_name(const char* value) {
578  set_has_name();
580  // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.File.name)
581 }
582 inline void CodeGeneratorResponse_File::set_name(const char* value, size_t size) {
583  set_has_name();
585  ::std::string(reinterpret_cast<const char*>(value), size));
586  // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.File.name)
587 }
589  set_has_name();
590  // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.name)
591  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
592 }
594  // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.File.name)
595  clear_has_name();
596  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
597 }
599  if (name != NULL) {
600  set_has_name();
601  } else {
602  clear_has_name();
603  }
604  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
605  // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.File.name)
606 }
607 
608 // optional string insertion_point = 2;
610  return (_has_bits_[0] & 0x00000002u) != 0;
611 }
612 inline void CodeGeneratorResponse_File::set_has_insertion_point() {
613  _has_bits_[0] |= 0x00000002u;
614 }
615 inline void CodeGeneratorResponse_File::clear_has_insertion_point() {
616  _has_bits_[0] &= ~0x00000002u;
617 }
619  insertion_point_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
620  clear_has_insertion_point();
621 }
623  // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
624  return insertion_point_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
625 }
627  set_has_insertion_point();
628  insertion_point_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
629  // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
630 }
632  set_has_insertion_point();
633  insertion_point_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
634  // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
635 }
637  set_has_insertion_point();
638  insertion_point_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
639  ::std::string(reinterpret_cast<const char*>(value), size));
640  // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
641 }
643  set_has_insertion_point();
644  // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
645  return insertion_point_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
646 }
648  // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
649  clear_has_insertion_point();
650  return insertion_point_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
651 }
653  if (insertion_point != NULL) {
654  set_has_insertion_point();
655  } else {
656  clear_has_insertion_point();
657  }
658  insertion_point_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), insertion_point);
659  // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
660 }
661 
662 // optional string content = 15;
664  return (_has_bits_[0] & 0x00000004u) != 0;
665 }
666 inline void CodeGeneratorResponse_File::set_has_content() {
667  _has_bits_[0] |= 0x00000004u;
668 }
669 inline void CodeGeneratorResponse_File::clear_has_content() {
670  _has_bits_[0] &= ~0x00000004u;
671 }
673  content_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
674  clear_has_content();
675 }
677  // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.content)
678  return content_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
679 }
681  set_has_content();
682  content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
683  // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.content)
684 }
686  set_has_content();
687  content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
688  // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.File.content)
689 }
690 inline void CodeGeneratorResponse_File::set_content(const char* value, size_t size) {
691  set_has_content();
693  ::std::string(reinterpret_cast<const char*>(value), size));
694  // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.File.content)
695 }
697  set_has_content();
698  // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.content)
699  return content_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
700 }
702  // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.File.content)
703  clear_has_content();
704  return content_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
705 }
707  if (content != NULL) {
708  set_has_content();
709  } else {
710  clear_has_content();
711  }
712  content_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), content);
713  // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.File.content)
714 }
715 
716 // -------------------------------------------------------------------
717 
718 // CodeGeneratorResponse
719 
720 // optional string error = 1;
721 inline bool CodeGeneratorResponse::has_error() const {
722  return (_has_bits_[0] & 0x00000001u) != 0;
723 }
724 inline void CodeGeneratorResponse::set_has_error() {
725  _has_bits_[0] |= 0x00000001u;
726 }
727 inline void CodeGeneratorResponse::clear_has_error() {
728  _has_bits_[0] &= ~0x00000001u;
729 }
732  clear_has_error();
733 }
735  // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.error)
737 }
739  set_has_error();
741  // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.error)
742 }
743 inline void CodeGeneratorResponse::set_error(const char* value) {
744  set_has_error();
746  // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.error)
747 }
748 inline void CodeGeneratorResponse::set_error(const char* value, size_t size) {
749  set_has_error();
751  ::std::string(reinterpret_cast<const char*>(value), size));
752  // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.error)
753 }
755  set_has_error();
756  // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.error)
758 }
760  // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.error)
761  clear_has_error();
763 }
765  if (error != NULL) {
766  set_has_error();
767  } else {
768  clear_has_error();
769  }
770  error_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error);
771  // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.error)
772 }
773 
774 // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
776  return file_.size();
777 }
779  file_.Clear();
780 }
781 inline const ::google::protobuf::compiler::CodeGeneratorResponse_File& CodeGeneratorResponse::file(int index) const {
782  // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.file)
783  return file_.Get(index);
784 }
785 inline ::google::protobuf::compiler::CodeGeneratorResponse_File* CodeGeneratorResponse::mutable_file(int index) {
786  // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.file)
787  return file_.Mutable(index);
788 }
789 inline ::google::protobuf::compiler::CodeGeneratorResponse_File* CodeGeneratorResponse::add_file() {
790  // @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorResponse.file)
791  return file_.Add();
792 }
793 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File >*
795  // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorResponse.file)
796  return &file_;
797 }
798 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File >&
800  // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorResponse.file)
801  return file_;
802 }
803 
804 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
805 // -------------------------------------------------------------------
806 
807 // -------------------------------------------------------------------
808 
809 
810 // @@protoc_insertion_point(namespace_scope)
811 
812 } // namespace compiler
813 } // namespace protobuf
814 } // namespace google
815 
816 // @@protoc_insertion_point(global_scope)
817 
818 #endif // PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto__INCLUDED
Definition: upb.c:6604
::std::string * mutable_insertion_point()
Definition: plugin.pb.h:642
void set_name(const ::std::string &value)
Definition: plugin.pb.h:572
bool has_error() const
Definition: plugin.pb.h:721
Definition: message.h:179
EGLStreamKHR EGLint EGLint EGLint size
Definition: eglext.h:984
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File > & file() const
Definition: plugin.pb.h:799
void set_insertion_point(const ::std::string &value)
Definition: plugin.pb.h:626
::std::string * release_insertion_point()
Definition: plugin.pb.h:647
void protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto()
Definition: plugin.pb.cc:126
::google::protobuf::RepeatedPtrField< ::std::string > * mutable_file_to_generate()
Definition: plugin.pb.h:461
void set_allocated_parameter(::std::string *parameter)
Definition: plugin.pb.h:510
CodeGeneratorResponse_File File
Definition: plugin.pb.h:358
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > & proto_file() const
Definition: plugin.pb.h:545
OPENSSL_EXPORT pem_password_cb void * u
Definition: pem.h:398
int GetCachedSize() const
Definition: plugin.pb.h:215
CodeGeneratorResponse & operator=(const CodeGeneratorResponse &from)
Definition: plugin.pb.h:303
const ::std::string & content() const
Definition: plugin.pb.h:676
struct Descriptor Descriptor
Definition: protobuf.h:23
void set_allocated_insertion_point(::std::string *insertion_point)
Definition: plugin.pb.h:652
const Descriptor * descriptor
Definition: descriptor.cc:271
uint8_t uint8
Definition: port.h:133
::std::string * release_error()
Definition: plugin.pb.h:759
Definition: content.py:1
bool has_name() const
Definition: plugin.pb.h:555
::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File > * mutable_file()
Definition: plugin.pb.h:794
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: plugin.pb.h:308
LIBPROTOBUF_EXPORTconst ::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:85
void clear_insertion_point()
Definition: plugin.pb.h:618
Definition: arenastring.h:56
Message
Definition: peerconnection_unittest.cc:105
void clear_error()
Definition: plugin.pb.h:730
::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > * mutable_proto_file()
Definition: plugin.pb.h:540
CodeGeneratorResponse_File * New() const
Definition: plugin.pb.h:199
Definition: message.h:164
void set_error(const ::std::string &value)
Definition: plugin.pb.h:738
#define output
Definition: wire_format_lite.h:418
VoEFile * file
Definition: voe_cmd_test.cc:59
void set_allocated_content(::std::string *content)
Definition: plugin.pb.h:706
int file_to_generate_size() const
Definition: plugin.pb.h:412
::std::string * mutable_name()
Definition: plugin.pb.h:588
::std::string * release_parameter()
Definition: plugin.pb.h:505
FileDescriptorProto
Definition: descriptor_pb2.py:1630
IsInitialized
Definition: python_message.py:1169
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: plugin.pb.h:188
void clear_name()
Definition: plugin.pb.h:564
int proto_file_size() const
Definition: plugin.pb.h:521
const ::std::string & error() const
Definition: plugin.pb.h:734
int GetCachedSize() const
Definition: plugin.pb.h:91
GLuint index
Definition: gl2.h:383
EGLAttrib * value
Definition: eglext.h:120
const ::std::string & parameter() const
Definition: plugin.pb.h:480
Definition: EncryptedMediaExtensions.idl:80
void clear_parameter()
Definition: plugin.pb.h:476
bool has_insertion_point() const
Definition: plugin.pb.h:609
void clear_proto_file()
Definition: plugin.pb.h:524
void clear_file_to_generate()
Definition: plugin.pb.h:415
void set_parameter(const ::std::string &value)
Definition: plugin.pb.h:484
uint32_t uint32
Definition: port.h:135
EGLImageKHR EGLint * name
Definition: eglext.h:851
Definition: __init__.py:1
::std::string * release_content()
Definition: plugin.pb.h:701
void protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto()
Definition: plugin.pb.cc:39
void clear_content()
Definition: plugin.pb.h:672
void set_file_to_generate(int index, const ::std::string &value)
Definition: plugin.pb.h:426
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: plugin.pb.h:184
Definition: arena.h:218
void clear_file()
Definition: plugin.pb.h:778
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: plugin.pb.h:312
GLsizei const GLchar *const * string
Definition: gl2.h:479
Definition: MediaSession.idl:42
::std::string * add_file_to_generate()
Definition: plugin.pb.h:439
const Element & Get(int index) const
Definition: repeated_field.h:1828
bool has_content() const
Definition: plugin.pb.h:663
void set_allocated_name(::std::string *name)
Definition: plugin.pb.h:598
void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eproto()
Definition: plugin.pb.cc:117
::std::string * mutable_content()
Definition: plugin.pb.h:696
::std::string * mutable_parameter()
Definition: plugin.pb.h:500
#define LIBPROTOC_EXPORT
Definition: port.h:98
string error_
Definition: descriptor.cc:6098
#define NULL
Definition: common_types.h:41
string parameter_
Definition: command_line_interface_unittest.cc:231
const ::google::protobuf::RepeatedPtrField< ::std::string > & file_to_generate() const
Definition: plugin.pb.h:456
Definition: descriptor.pb.h:275
Element * Mutable(int index)
Definition: repeated_field.h:1834
int GetCachedSize() const
Definition: plugin.pb.h:339
::google::protobuf::FileDescriptorProto * add_proto_file()
Definition: plugin.pb.h:535
const ::std::string & name() const
Definition: plugin.pb.h:568
Definition: gflags_completions.h:115
void set_allocated_error(::std::string *error)
Definition: plugin.pb.h:764
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: plugin.pb.h:60
string input
Definition: tokenizer_unittest.cc:198
CodeGeneratorRequest * New() const
Definition: plugin.pb.h:75
ByteSize
Definition: python_message.py:1040
bool has_parameter() const
Definition: plugin.pb.h:467
Definition: coded_stream.h:665
const ::std::string & insertion_point() const
Definition: plugin.pb.h:622
::std::string * mutable_error()
Definition: plugin.pb.h:754
::google::protobuf::compiler::CodeGeneratorResponse_File * add_file()
Definition: plugin.pb.h:789
CodeGeneratorResponse * New() const
Definition: plugin.pb.h:323
int file_size() const
Definition: plugin.pb.h:775
Definition: coded_stream.h:159
::std::string * release_name()
Definition: plugin.pb.h:593
CodeGeneratorResponse_File & operator=(const CodeGeneratorResponse_File &from)
Definition: plugin.pb.h:179
MergeFrom
Definition: python_message.py:1259
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: plugin.pb.h:64
CodeGeneratorRequest & operator=(const CodeGeneratorRequest &from)
Definition: plugin.pb.h:55
void set_content(const ::std::string &value)
Definition: plugin.pb.h:680