PageRenderTime 83ms CodeModel.GetById 17ms app.highlight 59ms RepoModel.GetById 1ms app.codeStats 0ms

/thirdparty/breakpad/third_party/protobuf/protobuf/src/google/protobuf/compiler/plugin.pb.h

http://github.com/tomahawk-player/tomahawk
C++ Header | 790 lines | 648 code | 98 blank | 44 comment | 70 complexity | b14a9de7dcff74fc1c119e7dfb4a8059 MD5 | raw 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
  9#include <google/protobuf/stubs/common.h>
 10
 11#if GOOGLE_PROTOBUF_VERSION < 2004000
 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 2004002 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
 17#error This file was generated by an older version of protoc which is
 18#error incompatible with your Protocol Buffer headers.  Please
 19#error regenerate this file with a newer version of protoc.
 20#endif
 21
 22#include <google/protobuf/generated_message_util.h>
 23#include <google/protobuf/repeated_field.h>
 24#include <google/protobuf/extension_set.h>
 25#include <google/protobuf/generated_message_reflection.h>
 26#include "google/protobuf/descriptor.pb.h"
 27// @@protoc_insertion_point(includes)
 28
 29namespace google {
 30namespace protobuf {
 31namespace compiler {
 32
 33// Internal implementation detail -- do not call these.
 34void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
 35void protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
 36void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
 37
 38class CodeGeneratorRequest;
 39class CodeGeneratorResponse;
 40class CodeGeneratorResponse_File;
 41
 42// ===================================================================
 43
 44class LIBPROTOC_EXPORT CodeGeneratorRequest : public ::google::protobuf::Message {
 45 public:
 46  CodeGeneratorRequest();
 47  virtual ~CodeGeneratorRequest();
 48  
 49  CodeGeneratorRequest(const CodeGeneratorRequest& from);
 50  
 51  inline CodeGeneratorRequest& operator=(const CodeGeneratorRequest& from) {
 52    CopyFrom(from);
 53    return *this;
 54  }
 55  
 56  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
 57    return _unknown_fields_;
 58  }
 59  
 60  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
 61    return &_unknown_fields_;
 62  }
 63  
 64  static const ::google::protobuf::Descriptor* descriptor();
 65  static const CodeGeneratorRequest& default_instance();
 66  
 67  void Swap(CodeGeneratorRequest* other);
 68  
 69  // implements Message ----------------------------------------------
 70  
 71  CodeGeneratorRequest* New() const;
 72  void CopyFrom(const ::google::protobuf::Message& from);
 73  void MergeFrom(const ::google::protobuf::Message& from);
 74  void CopyFrom(const CodeGeneratorRequest& from);
 75  void MergeFrom(const CodeGeneratorRequest& from);
 76  void Clear();
 77  bool IsInitialized() const;
 78  
 79  int ByteSize() const;
 80  bool MergePartialFromCodedStream(
 81      ::google::protobuf::io::CodedInputStream* input);
 82  void SerializeWithCachedSizes(
 83      ::google::protobuf::io::CodedOutputStream* output) const;
 84  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
 85  int GetCachedSize() const { return _cached_size_; }
 86  private:
 87  void SharedCtor();
 88  void SharedDtor();
 89  void SetCachedSize(int size) const;
 90  public:
 91  
 92  ::google::protobuf::Metadata GetMetadata() const;
 93  
 94  // nested types ----------------------------------------------------
 95  
 96  // accessors -------------------------------------------------------
 97  
 98  // repeated string file_to_generate = 1;
 99  inline int file_to_generate_size() const;
100  inline void clear_file_to_generate();
101  static const int kFileToGenerateFieldNumber = 1;
102  inline const ::std::string& file_to_generate(int index) const;
103  inline ::std::string* mutable_file_to_generate(int index);
104  inline void set_file_to_generate(int index, const ::std::string& value);
105  inline void set_file_to_generate(int index, const char* value);
106  inline void set_file_to_generate(int index, const char* value, size_t size);
107  inline ::std::string* add_file_to_generate();
108  inline void add_file_to_generate(const ::std::string& value);
109  inline void add_file_to_generate(const char* value);
110  inline void add_file_to_generate(const char* value, size_t size);
111  inline const ::google::protobuf::RepeatedPtrField< ::std::string>& file_to_generate() const;
112  inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_file_to_generate();
113  
114  // optional string parameter = 2;
115  inline bool has_parameter() const;
116  inline void clear_parameter();
117  static const int kParameterFieldNumber = 2;
118  inline const ::std::string& parameter() const;
119  inline void set_parameter(const ::std::string& value);
120  inline void set_parameter(const char* value);
121  inline void set_parameter(const char* value, size_t size);
122  inline ::std::string* mutable_parameter();
123  inline ::std::string* release_parameter();
124  
125  // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
126  inline int proto_file_size() const;
127  inline void clear_proto_file();
128  static const int kProtoFileFieldNumber = 15;
129  inline const ::google::protobuf::FileDescriptorProto& proto_file(int index) const;
130  inline ::google::protobuf::FileDescriptorProto* mutable_proto_file(int index);
131  inline ::google::protobuf::FileDescriptorProto* add_proto_file();
132  inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
133      proto_file() const;
134  inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
135      mutable_proto_file();
136  
137  // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorRequest)
138 private:
139  inline void set_has_parameter();
140  inline void clear_has_parameter();
141  
142  ::google::protobuf::UnknownFieldSet _unknown_fields_;
143  
144  ::google::protobuf::RepeatedPtrField< ::std::string> file_to_generate_;
145  ::std::string* parameter_;
146  ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > proto_file_;
147  
148  mutable int _cached_size_;
149  ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
150  
151  friend void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
152  friend void protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
153  friend void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
154  
155  void InitAsDefaultInstance();
156  static CodeGeneratorRequest* default_instance_;
157};
158// -------------------------------------------------------------------
159
160class LIBPROTOC_EXPORT CodeGeneratorResponse_File : public ::google::protobuf::Message {
161 public:
162  CodeGeneratorResponse_File();
163  virtual ~CodeGeneratorResponse_File();
164  
165  CodeGeneratorResponse_File(const CodeGeneratorResponse_File& from);
166  
167  inline CodeGeneratorResponse_File& operator=(const CodeGeneratorResponse_File& from) {
168    CopyFrom(from);
169    return *this;
170  }
171  
172  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
173    return _unknown_fields_;
174  }
175  
176  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
177    return &_unknown_fields_;
178  }
179  
180  static const ::google::protobuf::Descriptor* descriptor();
181  static const CodeGeneratorResponse_File& default_instance();
182  
183  void Swap(CodeGeneratorResponse_File* other);
184  
185  // implements Message ----------------------------------------------
186  
187  CodeGeneratorResponse_File* New() const;
188  void CopyFrom(const ::google::protobuf::Message& from);
189  void MergeFrom(const ::google::protobuf::Message& from);
190  void CopyFrom(const CodeGeneratorResponse_File& from);
191  void MergeFrom(const CodeGeneratorResponse_File& from);
192  void Clear();
193  bool IsInitialized() const;
194  
195  int ByteSize() const;
196  bool MergePartialFromCodedStream(
197      ::google::protobuf::io::CodedInputStream* input);
198  void SerializeWithCachedSizes(
199      ::google::protobuf::io::CodedOutputStream* output) const;
200  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
201  int GetCachedSize() const { return _cached_size_; }
202  private:
203  void SharedCtor();
204  void SharedDtor();
205  void SetCachedSize(int size) const;
206  public:
207  
208  ::google::protobuf::Metadata GetMetadata() const;
209  
210  // nested types ----------------------------------------------------
211  
212  // accessors -------------------------------------------------------
213  
214  // optional string name = 1;
215  inline bool has_name() const;
216  inline void clear_name();
217  static const int kNameFieldNumber = 1;
218  inline const ::std::string& name() const;
219  inline void set_name(const ::std::string& value);
220  inline void set_name(const char* value);
221  inline void set_name(const char* value, size_t size);
222  inline ::std::string* mutable_name();
223  inline ::std::string* release_name();
224  
225  // optional string insertion_point = 2;
226  inline bool has_insertion_point() const;
227  inline void clear_insertion_point();
228  static const int kInsertionPointFieldNumber = 2;
229  inline const ::std::string& insertion_point() const;
230  inline void set_insertion_point(const ::std::string& value);
231  inline void set_insertion_point(const char* value);
232  inline void set_insertion_point(const char* value, size_t size);
233  inline ::std::string* mutable_insertion_point();
234  inline ::std::string* release_insertion_point();
235  
236  // optional string content = 15;
237  inline bool has_content() const;
238  inline void clear_content();
239  static const int kContentFieldNumber = 15;
240  inline const ::std::string& content() const;
241  inline void set_content(const ::std::string& value);
242  inline void set_content(const char* value);
243  inline void set_content(const char* value, size_t size);
244  inline ::std::string* mutable_content();
245  inline ::std::string* release_content();
246  
247  // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorResponse.File)
248 private:
249  inline void set_has_name();
250  inline void clear_has_name();
251  inline void set_has_insertion_point();
252  inline void clear_has_insertion_point();
253  inline void set_has_content();
254  inline void clear_has_content();
255  
256  ::google::protobuf::UnknownFieldSet _unknown_fields_;
257  
258  ::std::string* name_;
259  ::std::string* insertion_point_;
260  ::std::string* content_;
261  
262  mutable int _cached_size_;
263  ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
264  
265  friend void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
266  friend void protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
267  friend void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
268  
269  void InitAsDefaultInstance();
270  static CodeGeneratorResponse_File* default_instance_;
271};
272// -------------------------------------------------------------------
273
274class LIBPROTOC_EXPORT CodeGeneratorResponse : public ::google::protobuf::Message {
275 public:
276  CodeGeneratorResponse();
277  virtual ~CodeGeneratorResponse();
278  
279  CodeGeneratorResponse(const CodeGeneratorResponse& from);
280  
281  inline CodeGeneratorResponse& operator=(const CodeGeneratorResponse& from) {
282    CopyFrom(from);
283    return *this;
284  }
285  
286  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
287    return _unknown_fields_;
288  }
289  
290  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
291    return &_unknown_fields_;
292  }
293  
294  static const ::google::protobuf::Descriptor* descriptor();
295  static const CodeGeneratorResponse& default_instance();
296  
297  void Swap(CodeGeneratorResponse* other);
298  
299  // implements Message ----------------------------------------------
300  
301  CodeGeneratorResponse* New() const;
302  void CopyFrom(const ::google::protobuf::Message& from);
303  void MergeFrom(const ::google::protobuf::Message& from);
304  void CopyFrom(const CodeGeneratorResponse& from);
305  void MergeFrom(const CodeGeneratorResponse& from);
306  void Clear();
307  bool IsInitialized() const;
308  
309  int ByteSize() const;
310  bool MergePartialFromCodedStream(
311      ::google::protobuf::io::CodedInputStream* input);
312  void SerializeWithCachedSizes(
313      ::google::protobuf::io::CodedOutputStream* output) const;
314  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
315  int GetCachedSize() const { return _cached_size_; }
316  private:
317  void SharedCtor();
318  void SharedDtor();
319  void SetCachedSize(int size) const;
320  public:
321  
322  ::google::protobuf::Metadata GetMetadata() const;
323  
324  // nested types ----------------------------------------------------
325  
326  typedef CodeGeneratorResponse_File File;
327  
328  // accessors -------------------------------------------------------
329  
330  // optional string error = 1;
331  inline bool has_error() const;
332  inline void clear_error();
333  static const int kErrorFieldNumber = 1;
334  inline const ::std::string& error() const;
335  inline void set_error(const ::std::string& value);
336  inline void set_error(const char* value);
337  inline void set_error(const char* value, size_t size);
338  inline ::std::string* mutable_error();
339  inline ::std::string* release_error();
340  
341  // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
342  inline int file_size() const;
343  inline void clear_file();
344  static const int kFileFieldNumber = 15;
345  inline const ::google::protobuf::compiler::CodeGeneratorResponse_File& file(int index) const;
346  inline ::google::protobuf::compiler::CodeGeneratorResponse_File* mutable_file(int index);
347  inline ::google::protobuf::compiler::CodeGeneratorResponse_File* add_file();
348  inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File >&
349      file() const;
350  inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File >*
351      mutable_file();
352  
353  // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorResponse)
354 private:
355  inline void set_has_error();
356  inline void clear_has_error();
357  
358  ::google::protobuf::UnknownFieldSet _unknown_fields_;
359  
360  ::std::string* error_;
361  ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File > file_;
362  
363  mutable int _cached_size_;
364  ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
365  
366  friend void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
367  friend void protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
368  friend void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
369  
370  void InitAsDefaultInstance();
371  static CodeGeneratorResponse* default_instance_;
372};
373// ===================================================================
374
375
376// ===================================================================
377
378// CodeGeneratorRequest
379
380// repeated string file_to_generate = 1;
381inline int CodeGeneratorRequest::file_to_generate_size() const {
382  return file_to_generate_.size();
383}
384inline void CodeGeneratorRequest::clear_file_to_generate() {
385  file_to_generate_.Clear();
386}
387inline const ::std::string& CodeGeneratorRequest::file_to_generate(int index) const {
388  return file_to_generate_.Get(index);
389}
390inline ::std::string* CodeGeneratorRequest::mutable_file_to_generate(int index) {
391  return file_to_generate_.Mutable(index);
392}
393inline void CodeGeneratorRequest::set_file_to_generate(int index, const ::std::string& value) {
394  file_to_generate_.Mutable(index)->assign(value);
395}
396inline void CodeGeneratorRequest::set_file_to_generate(int index, const char* value) {
397  file_to_generate_.Mutable(index)->assign(value);
398}
399inline void CodeGeneratorRequest::set_file_to_generate(int index, const char* value, size_t size) {
400  file_to_generate_.Mutable(index)->assign(
401    reinterpret_cast<const char*>(value), size);
402}
403inline ::std::string* CodeGeneratorRequest::add_file_to_generate() {
404  return file_to_generate_.Add();
405}
406inline void CodeGeneratorRequest::add_file_to_generate(const ::std::string& value) {
407  file_to_generate_.Add()->assign(value);
408}
409inline void CodeGeneratorRequest::add_file_to_generate(const char* value) {
410  file_to_generate_.Add()->assign(value);
411}
412inline void CodeGeneratorRequest::add_file_to_generate(const char* value, size_t size) {
413  file_to_generate_.Add()->assign(reinterpret_cast<const char*>(value), size);
414}
415inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
416CodeGeneratorRequest::file_to_generate() const {
417  return file_to_generate_;
418}
419inline ::google::protobuf::RepeatedPtrField< ::std::string>*
420CodeGeneratorRequest::mutable_file_to_generate() {
421  return &file_to_generate_;
422}
423
424// optional string parameter = 2;
425inline bool CodeGeneratorRequest::has_parameter() const {
426  return (_has_bits_[0] & 0x00000002u) != 0;
427}
428inline void CodeGeneratorRequest::set_has_parameter() {
429  _has_bits_[0] |= 0x00000002u;
430}
431inline void CodeGeneratorRequest::clear_has_parameter() {
432  _has_bits_[0] &= ~0x00000002u;
433}
434inline void CodeGeneratorRequest::clear_parameter() {
435  if (parameter_ != &::google::protobuf::internal::kEmptyString) {
436    parameter_->clear();
437  }
438  clear_has_parameter();
439}
440inline const ::std::string& CodeGeneratorRequest::parameter() const {
441  return *parameter_;
442}
443inline void CodeGeneratorRequest::set_parameter(const ::std::string& value) {
444  set_has_parameter();
445  if (parameter_ == &::google::protobuf::internal::kEmptyString) {
446    parameter_ = new ::std::string;
447  }
448  parameter_->assign(value);
449}
450inline void CodeGeneratorRequest::set_parameter(const char* value) {
451  set_has_parameter();
452  if (parameter_ == &::google::protobuf::internal::kEmptyString) {
453    parameter_ = new ::std::string;
454  }
455  parameter_->assign(value);
456}
457inline void CodeGeneratorRequest::set_parameter(const char* value, size_t size) {
458  set_has_parameter();
459  if (parameter_ == &::google::protobuf::internal::kEmptyString) {
460    parameter_ = new ::std::string;
461  }
462  parameter_->assign(reinterpret_cast<const char*>(value), size);
463}
464inline ::std::string* CodeGeneratorRequest::mutable_parameter() {
465  set_has_parameter();
466  if (parameter_ == &::google::protobuf::internal::kEmptyString) {
467    parameter_ = new ::std::string;
468  }
469  return parameter_;
470}
471inline ::std::string* CodeGeneratorRequest::release_parameter() {
472  clear_has_parameter();
473  if (parameter_ == &::google::protobuf::internal::kEmptyString) {
474    return NULL;
475  } else {
476    ::std::string* temp = parameter_;
477    parameter_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
478    return temp;
479  }
480}
481
482// repeated .google.protobuf.FileDescriptorProto proto_file = 15;
483inline int CodeGeneratorRequest::proto_file_size() const {
484  return proto_file_.size();
485}
486inline void CodeGeneratorRequest::clear_proto_file() {
487  proto_file_.Clear();
488}
489inline const ::google::protobuf::FileDescriptorProto& CodeGeneratorRequest::proto_file(int index) const {
490  return proto_file_.Get(index);
491}
492inline ::google::protobuf::FileDescriptorProto* CodeGeneratorRequest::mutable_proto_file(int index) {
493  return proto_file_.Mutable(index);
494}
495inline ::google::protobuf::FileDescriptorProto* CodeGeneratorRequest::add_proto_file() {
496  return proto_file_.Add();
497}
498inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
499CodeGeneratorRequest::proto_file() const {
500  return proto_file_;
501}
502inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
503CodeGeneratorRequest::mutable_proto_file() {
504  return &proto_file_;
505}
506
507// -------------------------------------------------------------------
508
509// CodeGeneratorResponse_File
510
511// optional string name = 1;
512inline bool CodeGeneratorResponse_File::has_name() const {
513  return (_has_bits_[0] & 0x00000001u) != 0;
514}
515inline void CodeGeneratorResponse_File::set_has_name() {
516  _has_bits_[0] |= 0x00000001u;
517}
518inline void CodeGeneratorResponse_File::clear_has_name() {
519  _has_bits_[0] &= ~0x00000001u;
520}
521inline void CodeGeneratorResponse_File::clear_name() {
522  if (name_ != &::google::protobuf::internal::kEmptyString) {
523    name_->clear();
524  }
525  clear_has_name();
526}
527inline const ::std::string& CodeGeneratorResponse_File::name() const {
528  return *name_;
529}
530inline void CodeGeneratorResponse_File::set_name(const ::std::string& value) {
531  set_has_name();
532  if (name_ == &::google::protobuf::internal::kEmptyString) {
533    name_ = new ::std::string;
534  }
535  name_->assign(value);
536}
537inline void CodeGeneratorResponse_File::set_name(const char* value) {
538  set_has_name();
539  if (name_ == &::google::protobuf::internal::kEmptyString) {
540    name_ = new ::std::string;
541  }
542  name_->assign(value);
543}
544inline void CodeGeneratorResponse_File::set_name(const char* value, size_t size) {
545  set_has_name();
546  if (name_ == &::google::protobuf::internal::kEmptyString) {
547    name_ = new ::std::string;
548  }
549  name_->assign(reinterpret_cast<const char*>(value), size);
550}
551inline ::std::string* CodeGeneratorResponse_File::mutable_name() {
552  set_has_name();
553  if (name_ == &::google::protobuf::internal::kEmptyString) {
554    name_ = new ::std::string;
555  }
556  return name_;
557}
558inline ::std::string* CodeGeneratorResponse_File::release_name() {
559  clear_has_name();
560  if (name_ == &::google::protobuf::internal::kEmptyString) {
561    return NULL;
562  } else {
563    ::std::string* temp = name_;
564    name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
565    return temp;
566  }
567}
568
569// optional string insertion_point = 2;
570inline bool CodeGeneratorResponse_File::has_insertion_point() const {
571  return (_has_bits_[0] & 0x00000002u) != 0;
572}
573inline void CodeGeneratorResponse_File::set_has_insertion_point() {
574  _has_bits_[0] |= 0x00000002u;
575}
576inline void CodeGeneratorResponse_File::clear_has_insertion_point() {
577  _has_bits_[0] &= ~0x00000002u;
578}
579inline void CodeGeneratorResponse_File::clear_insertion_point() {
580  if (insertion_point_ != &::google::protobuf::internal::kEmptyString) {
581    insertion_point_->clear();
582  }
583  clear_has_insertion_point();
584}
585inline const ::std::string& CodeGeneratorResponse_File::insertion_point() const {
586  return *insertion_point_;
587}
588inline void CodeGeneratorResponse_File::set_insertion_point(const ::std::string& value) {
589  set_has_insertion_point();
590  if (insertion_point_ == &::google::protobuf::internal::kEmptyString) {
591    insertion_point_ = new ::std::string;
592  }
593  insertion_point_->assign(value);
594}
595inline void CodeGeneratorResponse_File::set_insertion_point(const char* value) {
596  set_has_insertion_point();
597  if (insertion_point_ == &::google::protobuf::internal::kEmptyString) {
598    insertion_point_ = new ::std::string;
599  }
600  insertion_point_->assign(value);
601}
602inline void CodeGeneratorResponse_File::set_insertion_point(const char* value, size_t size) {
603  set_has_insertion_point();
604  if (insertion_point_ == &::google::protobuf::internal::kEmptyString) {
605    insertion_point_ = new ::std::string;
606  }
607  insertion_point_->assign(reinterpret_cast<const char*>(value), size);
608}
609inline ::std::string* CodeGeneratorResponse_File::mutable_insertion_point() {
610  set_has_insertion_point();
611  if (insertion_point_ == &::google::protobuf::internal::kEmptyString) {
612    insertion_point_ = new ::std::string;
613  }
614  return insertion_point_;
615}
616inline ::std::string* CodeGeneratorResponse_File::release_insertion_point() {
617  clear_has_insertion_point();
618  if (insertion_point_ == &::google::protobuf::internal::kEmptyString) {
619    return NULL;
620  } else {
621    ::std::string* temp = insertion_point_;
622    insertion_point_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
623    return temp;
624  }
625}
626
627// optional string content = 15;
628inline bool CodeGeneratorResponse_File::has_content() const {
629  return (_has_bits_[0] & 0x00000004u) != 0;
630}
631inline void CodeGeneratorResponse_File::set_has_content() {
632  _has_bits_[0] |= 0x00000004u;
633}
634inline void CodeGeneratorResponse_File::clear_has_content() {
635  _has_bits_[0] &= ~0x00000004u;
636}
637inline void CodeGeneratorResponse_File::clear_content() {
638  if (content_ != &::google::protobuf::internal::kEmptyString) {
639    content_->clear();
640  }
641  clear_has_content();
642}
643inline const ::std::string& CodeGeneratorResponse_File::content() const {
644  return *content_;
645}
646inline void CodeGeneratorResponse_File::set_content(const ::std::string& value) {
647  set_has_content();
648  if (content_ == &::google::protobuf::internal::kEmptyString) {
649    content_ = new ::std::string;
650  }
651  content_->assign(value);
652}
653inline void CodeGeneratorResponse_File::set_content(const char* value) {
654  set_has_content();
655  if (content_ == &::google::protobuf::internal::kEmptyString) {
656    content_ = new ::std::string;
657  }
658  content_->assign(value);
659}
660inline void CodeGeneratorResponse_File::set_content(const char* value, size_t size) {
661  set_has_content();
662  if (content_ == &::google::protobuf::internal::kEmptyString) {
663    content_ = new ::std::string;
664  }
665  content_->assign(reinterpret_cast<const char*>(value), size);
666}
667inline ::std::string* CodeGeneratorResponse_File::mutable_content() {
668  set_has_content();
669  if (content_ == &::google::protobuf::internal::kEmptyString) {
670    content_ = new ::std::string;
671  }
672  return content_;
673}
674inline ::std::string* CodeGeneratorResponse_File::release_content() {
675  clear_has_content();
676  if (content_ == &::google::protobuf::internal::kEmptyString) {
677    return NULL;
678  } else {
679    ::std::string* temp = content_;
680    content_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
681    return temp;
682  }
683}
684
685// -------------------------------------------------------------------
686
687// CodeGeneratorResponse
688
689// optional string error = 1;
690inline bool CodeGeneratorResponse::has_error() const {
691  return (_has_bits_[0] & 0x00000001u) != 0;
692}
693inline void CodeGeneratorResponse::set_has_error() {
694  _has_bits_[0] |= 0x00000001u;
695}
696inline void CodeGeneratorResponse::clear_has_error() {
697  _has_bits_[0] &= ~0x00000001u;
698}
699inline void CodeGeneratorResponse::clear_error() {
700  if (error_ != &::google::protobuf::internal::kEmptyString) {
701    error_->clear();
702  }
703  clear_has_error();
704}
705inline const ::std::string& CodeGeneratorResponse::error() const {
706  return *error_;
707}
708inline void CodeGeneratorResponse::set_error(const ::std::string& value) {
709  set_has_error();
710  if (error_ == &::google::protobuf::internal::kEmptyString) {
711    error_ = new ::std::string;
712  }
713  error_->assign(value);
714}
715inline void CodeGeneratorResponse::set_error(const char* value) {
716  set_has_error();
717  if (error_ == &::google::protobuf::internal::kEmptyString) {
718    error_ = new ::std::string;
719  }
720  error_->assign(value);
721}
722inline void CodeGeneratorResponse::set_error(const char* value, size_t size) {
723  set_has_error();
724  if (error_ == &::google::protobuf::internal::kEmptyString) {
725    error_ = new ::std::string;
726  }
727  error_->assign(reinterpret_cast<const char*>(value), size);
728}
729inline ::std::string* CodeGeneratorResponse::mutable_error() {
730  set_has_error();
731  if (error_ == &::google::protobuf::internal::kEmptyString) {
732    error_ = new ::std::string;
733  }
734  return error_;
735}
736inline ::std::string* CodeGeneratorResponse::release_error() {
737  clear_has_error();
738  if (error_ == &::google::protobuf::internal::kEmptyString) {
739    return NULL;
740  } else {
741    ::std::string* temp = error_;
742    error_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
743    return temp;
744  }
745}
746
747// repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
748inline int CodeGeneratorResponse::file_size() const {
749  return file_.size();
750}
751inline void CodeGeneratorResponse::clear_file() {
752  file_.Clear();
753}
754inline const ::google::protobuf::compiler::CodeGeneratorResponse_File& CodeGeneratorResponse::file(int index) const {
755  return file_.Get(index);
756}
757inline ::google::protobuf::compiler::CodeGeneratorResponse_File* CodeGeneratorResponse::mutable_file(int index) {
758  return file_.Mutable(index);
759}
760inline ::google::protobuf::compiler::CodeGeneratorResponse_File* CodeGeneratorResponse::add_file() {
761  return file_.Add();
762}
763inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File >&
764CodeGeneratorResponse::file() const {
765  return file_;
766}
767inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File >*
768CodeGeneratorResponse::mutable_file() {
769  return &file_;
770}
771
772
773// @@protoc_insertion_point(namespace_scope)
774
775}  // namespace compiler
776}  // namespace protobuf
777}  // namespace google
778
779#ifndef SWIG
780namespace google {
781namespace protobuf {
782
783
784}  // namespace google
785}  // namespace protobuf
786#endif  // SWIG
787
788// @@protoc_insertion_point(global_scope)
789
790#endif  // PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto__INCLUDED