Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: third_party/protobuf/src/google/protobuf/compiler/plugin.pb.h

Issue 2495533002: third_party/protobuf: Update to HEAD (83d681ee2c) (Closed)
Patch Set: Make chrome settings proto generated file a component Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Generated by the protocol buffer compiler. DO NOT EDIT! 1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/compiler/plugin.proto 2 // source: google/protobuf/compiler/plugin.proto
3 3
4 #ifndef PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto__INCLUDED 4 #ifndef PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto__INCLUDED
5 #define PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto__INCLUDED 5 #define PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto__INCLUDED
6 6
7 #include <string> 7 #include <string>
8 8
9 #include <google/protobuf/stubs/common.h> 9 #include <google/protobuf/stubs/common.h>
10 10
11 #if GOOGLE_PROTOBUF_VERSION < 3000000 11 #if GOOGLE_PROTOBUF_VERSION < 3001000
12 #error This file was generated by a newer version of protoc which is 12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update 13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers. 14 #error your headers.
15 #endif 15 #endif
16 #if 3000000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION 16 #if 3001000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is 17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please 18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc. 19 #error regenerate this file with a newer version of protoc.
20 #endif 20 #endif
21 21
22 #include <google/protobuf/arena.h> 22 #include <google/protobuf/arena.h>
23 #include <google/protobuf/arenastring.h> 23 #include <google/protobuf/arenastring.h>
24 #include <google/protobuf/generated_message_util.h> 24 #include <google/protobuf/generated_message_util.h>
25 #include <google/protobuf/metadata.h> 25 #include <google/protobuf/metadata.h>
26 #include <google/protobuf/message.h> 26 #include <google/protobuf/message.h>
27 #include <google/protobuf/repeated_field.h> 27 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
28 #include <google/protobuf/extension_set.h> 28 #include <google/protobuf/extension_set.h> // IWYU pragma: export
29 #include <google/protobuf/unknown_field_set.h> 29 #include <google/protobuf/unknown_field_set.h>
30 #include <google/protobuf/descriptor.pb.h> 30 #include <google/protobuf/descriptor.pb.h>
31 // @@protoc_insertion_point(includes) 31 // @@protoc_insertion_point(includes)
32 namespace google {
33 namespace protobuf {
34 class DescriptorProto;
35 class DescriptorProtoDefaultTypeInternal;
36 LIBPROTOC_EXPORT extern DescriptorProtoDefaultTypeInternal _DescriptorProto_defa ult_instance_;
37 class DescriptorProto_ExtensionRange;
38 class DescriptorProto_ExtensionRangeDefaultTypeInternal;
39 LIBPROTOC_EXPORT extern DescriptorProto_ExtensionRangeDefaultTypeInternal _Descr iptorProto_ExtensionRange_default_instance_;
40 class DescriptorProto_ReservedRange;
41 class DescriptorProto_ReservedRangeDefaultTypeInternal;
42 LIBPROTOC_EXPORT extern DescriptorProto_ReservedRangeDefaultTypeInternal _Descri ptorProto_ReservedRange_default_instance_;
43 class EnumDescriptorProto;
44 class EnumDescriptorProtoDefaultTypeInternal;
45 LIBPROTOC_EXPORT extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorPr oto_default_instance_;
46 class EnumOptions;
47 class EnumOptionsDefaultTypeInternal;
48 LIBPROTOC_EXPORT extern EnumOptionsDefaultTypeInternal _EnumOptions_default_inst ance_;
49 class EnumValueDescriptorProto;
50 class EnumValueDescriptorProtoDefaultTypeInternal;
51 LIBPROTOC_EXPORT extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDe scriptorProto_default_instance_;
52 class EnumValueOptions;
53 class EnumValueOptionsDefaultTypeInternal;
54 LIBPROTOC_EXPORT extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_de fault_instance_;
55 class FieldDescriptorProto;
56 class FieldDescriptorProtoDefaultTypeInternal;
57 LIBPROTOC_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescriptor Proto_default_instance_;
58 class FieldOptions;
59 class FieldOptionsDefaultTypeInternal;
60 LIBPROTOC_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_in stance_;
61 class FileDescriptorProto;
62 class FileDescriptorProtoDefaultTypeInternal;
63 LIBPROTOC_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptorPr oto_default_instance_;
64 class FileDescriptorSet;
65 class FileDescriptorSetDefaultTypeInternal;
66 LIBPROTOC_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_ default_instance_;
67 class FileOptions;
68 class FileOptionsDefaultTypeInternal;
69 LIBPROTOC_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_inst ance_;
70 class GeneratedCodeInfo;
71 class GeneratedCodeInfoDefaultTypeInternal;
72 LIBPROTOC_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_ default_instance_;
73 class GeneratedCodeInfo_Annotation;
74 class GeneratedCodeInfo_AnnotationDefaultTypeInternal;
75 LIBPROTOC_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _Generat edCodeInfo_Annotation_default_instance_;
76 class MessageOptions;
77 class MessageOptionsDefaultTypeInternal;
78 LIBPROTOC_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_defaul t_instance_;
79 class MethodDescriptorProto;
80 class MethodDescriptorProtoDefaultTypeInternal;
81 LIBPROTOC_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescript orProto_default_instance_;
82 class MethodOptions;
83 class MethodOptionsDefaultTypeInternal;
84 LIBPROTOC_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_default_ instance_;
85 class OneofDescriptorProto;
86 class OneofDescriptorProtoDefaultTypeInternal;
87 LIBPROTOC_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescriptor Proto_default_instance_;
88 class OneofOptions;
89 class OneofOptionsDefaultTypeInternal;
90 LIBPROTOC_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_in stance_;
91 class ServiceDescriptorProto;
92 class ServiceDescriptorProtoDefaultTypeInternal;
93 LIBPROTOC_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDescri ptorProto_default_instance_;
94 class ServiceOptions;
95 class ServiceOptionsDefaultTypeInternal;
96 LIBPROTOC_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_defaul t_instance_;
97 class SourceCodeInfo;
98 class SourceCodeInfoDefaultTypeInternal;
99 LIBPROTOC_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_defaul t_instance_;
100 class SourceCodeInfo_Location;
101 class SourceCodeInfo_LocationDefaultTypeInternal;
102 LIBPROTOC_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeIn fo_Location_default_instance_;
103 class UninterpretedOption;
104 class UninterpretedOptionDefaultTypeInternal;
105 LIBPROTOC_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedOpt ion_default_instance_;
106 class UninterpretedOption_NamePart;
107 class UninterpretedOption_NamePartDefaultTypeInternal;
108 LIBPROTOC_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _Uninter pretedOption_NamePart_default_instance_;
109 namespace compiler {
110 class CodeGeneratorRequest;
111 class CodeGeneratorRequestDefaultTypeInternal;
112 LIBPROTOC_EXPORT extern CodeGeneratorRequestDefaultTypeInternal _CodeGeneratorRe quest_default_instance_;
113 class CodeGeneratorResponse;
114 class CodeGeneratorResponseDefaultTypeInternal;
115 LIBPROTOC_EXPORT extern CodeGeneratorResponseDefaultTypeInternal _CodeGeneratorR esponse_default_instance_;
116 class CodeGeneratorResponse_File;
117 class CodeGeneratorResponse_FileDefaultTypeInternal;
118 LIBPROTOC_EXPORT extern CodeGeneratorResponse_FileDefaultTypeInternal _CodeGener atorResponse_File_default_instance_;
119 class Version;
120 class VersionDefaultTypeInternal;
121 LIBPROTOC_EXPORT extern VersionDefaultTypeInternal _Version_default_instance_;
122 } // namespace compiler
123 } // namespace protobuf
124 } // namespace google
32 125
33 namespace google { 126 namespace google {
34 namespace protobuf { 127 namespace protobuf {
35 namespace compiler { 128 namespace compiler {
36 129
37 // Internal implementation detail -- do not call these. 130 // Internal implementation detail -- do not call these.
38 void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2ep roto(); 131 void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2ep roto();
39 void protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto(); 132 void LIBPROTOC_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fcompiler_2fplugi n_2eproto();
40 void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
41
42 class CodeGeneratorRequest;
43 class CodeGeneratorResponse;
44 class CodeGeneratorResponse_File;
45 133
46 // =================================================================== 134 // ===================================================================
47 135
48 class LIBPROTOC_EXPORT CodeGeneratorRequest : public ::google::protobuf::Message { 136 class LIBPROTOC_EXPORT Version : public ::google::protobuf::Message /* @@protoc_ insertion_point(class_definition:google.protobuf.compiler.Version) */ {
137 public:
138 Version();
139 virtual ~Version();
140
141 Version(const Version& from);
142
143 inline Version& operator=(const Version& from) {
144 CopyFrom(from);
145 return *this;
146 }
147
148 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
149 return _internal_metadata_.unknown_fields();
150 }
151
152 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
153 return _internal_metadata_.mutable_unknown_fields();
154 }
155
156 static const ::google::protobuf::Descriptor* descriptor();
157 static const Version& default_instance();
158
159 static inline const Version* internal_default_instance() {
160 return reinterpret_cast<const Version*>(
161 &_Version_default_instance_);
162 }
163
164 void Swap(Version* other);
165
166 // implements Message ----------------------------------------------
167
168 inline Version* New() const PROTOBUF_FINAL { return New(NULL); }
169
170 Version* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
171 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
172 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
173 void CopyFrom(const Version& from);
174 void MergeFrom(const Version& from);
175 void Clear() PROTOBUF_FINAL;
176 bool IsInitialized() const PROTOBUF_FINAL;
177
178 size_t ByteSizeLong() const PROTOBUF_FINAL;
179 bool MergePartialFromCodedStream(
180 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
181 void SerializeWithCachedSizes(
182 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
183 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
184 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
185 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
186 const PROTOBUF_FINAL {
187 return InternalSerializeWithCachedSizesToArray(false, output);
188 }
189 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
190 private:
191 void SharedCtor();
192 void SharedDtor();
193 void SetCachedSize(int size) const PROTOBUF_FINAL;
194 void InternalSwap(Version* other);
195 private:
196 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
197 return NULL;
198 }
199 inline void* MaybeArenaPtr() const {
200 return NULL;
201 }
202 public:
203
204 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
205
206 // nested types ----------------------------------------------------
207
208 // accessors -------------------------------------------------------
209
210 // optional int32 major = 1;
211 bool has_major() const;
212 void clear_major();
213 static const int kMajorFieldNumber = 1;
214 ::google::protobuf::int32 major() const;
215 void set_major(::google::protobuf::int32 value);
216
217 // optional int32 minor = 2;
218 bool has_minor() const;
219 void clear_minor();
220 static const int kMinorFieldNumber = 2;
221 ::google::protobuf::int32 minor() const;
222 void set_minor(::google::protobuf::int32 value);
223
224 // optional int32 patch = 3;
225 bool has_patch() const;
226 void clear_patch();
227 static const int kPatchFieldNumber = 3;
228 ::google::protobuf::int32 patch() const;
229 void set_patch(::google::protobuf::int32 value);
230
231 // optional string suffix = 4;
232 bool has_suffix() const;
233 void clear_suffix();
234 static const int kSuffixFieldNumber = 4;
235 const ::std::string& suffix() const;
236 void set_suffix(const ::std::string& value);
237 void set_suffix(const char* value);
238 void set_suffix(const char* value, size_t size);
239 ::std::string* mutable_suffix();
240 ::std::string* release_suffix();
241 void set_allocated_suffix(::std::string* suffix);
242
243 // @@protoc_insertion_point(class_scope:google.protobuf.compiler.Version)
244 private:
245 void set_has_major();
246 void clear_has_major();
247 void set_has_minor();
248 void clear_has_minor();
249 void set_has_patch();
250 void clear_has_patch();
251 void set_has_suffix();
252 void clear_has_suffix();
253
254 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
255 ::google::protobuf::internal::HasBits<1> _has_bits_;
256 mutable int _cached_size_;
257 ::google::protobuf::internal::ArenaStringPtr suffix_;
258 ::google::protobuf::int32 major_;
259 ::google::protobuf::int32 minor_;
260 ::google::protobuf::int32 patch_;
261 friend void LIBPROTOC_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fcompile r_2fplugin_2eproto_impl();
262 friend void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fp lugin_2eproto_impl();
263 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f compiler_2fplugin_2eproto();
264 friend void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eprot o();
265
266 };
267 // -------------------------------------------------------------------
268
269 class LIBPROTOC_EXPORT CodeGeneratorRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.compiler.CodeGener atorRequest) */ {
49 public: 270 public:
50 CodeGeneratorRequest(); 271 CodeGeneratorRequest();
51 virtual ~CodeGeneratorRequest(); 272 virtual ~CodeGeneratorRequest();
52 273
53 CodeGeneratorRequest(const CodeGeneratorRequest& from); 274 CodeGeneratorRequest(const CodeGeneratorRequest& from);
54 275
55 inline CodeGeneratorRequest& operator=(const CodeGeneratorRequest& from) { 276 inline CodeGeneratorRequest& operator=(const CodeGeneratorRequest& from) {
56 CopyFrom(from); 277 CopyFrom(from);
57 return *this; 278 return *this;
58 } 279 }
59 280
60 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 281 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
61 return _internal_metadata_.unknown_fields(); 282 return _internal_metadata_.unknown_fields();
62 } 283 }
63 284
64 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 285 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
65 return _internal_metadata_.mutable_unknown_fields(); 286 return _internal_metadata_.mutable_unknown_fields();
66 } 287 }
67 288
68 static const ::google::protobuf::Descriptor* descriptor(); 289 static const ::google::protobuf::Descriptor* descriptor();
69 static const CodeGeneratorRequest& default_instance(); 290 static const CodeGeneratorRequest& default_instance();
70 291
292 static inline const CodeGeneratorRequest* internal_default_instance() {
293 return reinterpret_cast<const CodeGeneratorRequest*>(
294 &_CodeGeneratorRequest_default_instance_);
295 }
296
71 void Swap(CodeGeneratorRequest* other); 297 void Swap(CodeGeneratorRequest* other);
72 298
73 // implements Message ---------------------------------------------- 299 // implements Message ----------------------------------------------
74 300
75 inline CodeGeneratorRequest* New() const { return New(NULL); } 301 inline CodeGeneratorRequest* New() const PROTOBUF_FINAL { return New(NULL); }
76 302
77 CodeGeneratorRequest* New(::google::protobuf::Arena* arena) const; 303 CodeGeneratorRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FIN AL;
78 void CopyFrom(const ::google::protobuf::Message& from); 304 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
79 void MergeFrom(const ::google::protobuf::Message& from); 305 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
80 void CopyFrom(const CodeGeneratorRequest& from); 306 void CopyFrom(const CodeGeneratorRequest& from);
81 void MergeFrom(const CodeGeneratorRequest& from); 307 void MergeFrom(const CodeGeneratorRequest& from);
82 void Clear(); 308 void Clear() PROTOBUF_FINAL;
83 bool IsInitialized() const; 309 bool IsInitialized() const PROTOBUF_FINAL;
84 310
85 int ByteSize() const; 311 size_t ByteSizeLong() const PROTOBUF_FINAL;
86 bool MergePartialFromCodedStream( 312 bool MergePartialFromCodedStream(
87 ::google::protobuf::io::CodedInputStream* input); 313 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
88 void SerializeWithCachedSizes( 314 void SerializeWithCachedSizes(
89 ::google::protobuf::io::CodedOutputStream* output) const; 315 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
90 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 316 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
91 int GetCachedSize() const { return _cached_size_; } 317 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
318 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
319 const PROTOBUF_FINAL {
320 return InternalSerializeWithCachedSizesToArray(false, output);
321 }
322 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
92 private: 323 private:
93 void SharedCtor(); 324 void SharedCtor();
94 void SharedDtor(); 325 void SharedDtor();
95 void SetCachedSize(int size) const; 326 void SetCachedSize(int size) const PROTOBUF_FINAL;
96 void InternalSwap(CodeGeneratorRequest* other); 327 void InternalSwap(CodeGeneratorRequest* other);
97 private: 328 private:
98 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 329 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
99 return _internal_metadata_.arena(); 330 return NULL;
100 } 331 }
101 inline void* MaybeArenaPtr() const { 332 inline void* MaybeArenaPtr() const {
102 return _internal_metadata_.raw_arena_ptr(); 333 return NULL;
103 } 334 }
104 public: 335 public:
105 336
106 ::google::protobuf::Metadata GetMetadata() const; 337 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
107 338
108 // nested types ---------------------------------------------------- 339 // nested types ----------------------------------------------------
109 340
110 // accessors ------------------------------------------------------- 341 // accessors -------------------------------------------------------
111 342
112 // repeated string file_to_generate = 1; 343 // repeated string file_to_generate = 1;
113 int file_to_generate_size() const; 344 int file_to_generate_size() const;
114 void clear_file_to_generate(); 345 void clear_file_to_generate();
115 static const int kFileToGenerateFieldNumber = 1; 346 static const int kFileToGenerateFieldNumber = 1;
116 const ::std::string& file_to_generate(int index) const; 347 const ::std::string& file_to_generate(int index) const;
(...skipping 25 matching lines...) Expand all
142 void clear_proto_file(); 373 void clear_proto_file();
143 static const int kProtoFileFieldNumber = 15; 374 static const int kProtoFileFieldNumber = 15;
144 const ::google::protobuf::FileDescriptorProto& proto_file(int index) const; 375 const ::google::protobuf::FileDescriptorProto& proto_file(int index) const;
145 ::google::protobuf::FileDescriptorProto* mutable_proto_file(int index); 376 ::google::protobuf::FileDescriptorProto* mutable_proto_file(int index);
146 ::google::protobuf::FileDescriptorProto* add_proto_file(); 377 ::google::protobuf::FileDescriptorProto* add_proto_file();
147 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >* 378 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
148 mutable_proto_file(); 379 mutable_proto_file();
149 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptor Proto >& 380 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptor Proto >&
150 proto_file() const; 381 proto_file() const;
151 382
383 // optional .google.protobuf.compiler.Version compiler_version = 3;
384 bool has_compiler_version() const;
385 void clear_compiler_version();
386 static const int kCompilerVersionFieldNumber = 3;
387 const ::google::protobuf::compiler::Version& compiler_version() const;
388 ::google::protobuf::compiler::Version* mutable_compiler_version();
389 ::google::protobuf::compiler::Version* release_compiler_version();
390 void set_allocated_compiler_version(::google::protobuf::compiler::Version* com piler_version);
391
152 // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGenerator Request) 392 // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGenerator Request)
153 private: 393 private:
154 inline void set_has_parameter(); 394 void set_has_parameter();
155 inline void clear_has_parameter(); 395 void clear_has_parameter();
396 void set_has_compiler_version();
397 void clear_has_compiler_version();
156 398
157 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 399 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
158 ::google::protobuf::uint32 _has_bits_[1]; 400 ::google::protobuf::internal::HasBits<1> _has_bits_;
159 mutable int _cached_size_; 401 mutable int _cached_size_;
160 ::google::protobuf::RepeatedPtrField< ::std::string> file_to_generate_; 402 ::google::protobuf::RepeatedPtrField< ::std::string> file_to_generate_;
403 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > proto_file_;
161 ::google::protobuf::internal::ArenaStringPtr parameter_; 404 ::google::protobuf::internal::ArenaStringPtr parameter_;
162 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > proto_file_; 405 ::google::protobuf::compiler::Version* compiler_version_;
163 friend void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fp lugin_2eproto(); 406 friend void LIBPROTOC_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fcompile r_2fplugin_2eproto_impl();
164 friend void protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto( ); 407 friend void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fp lugin_2eproto_impl();
408 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f compiler_2fplugin_2eproto();
165 friend void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eprot o(); 409 friend void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eprot o();
166 410
167 void InitAsDefaultInstance();
168 static CodeGeneratorRequest* default_instance_;
169 }; 411 };
170 // ------------------------------------------------------------------- 412 // -------------------------------------------------------------------
171 413
172 class LIBPROTOC_EXPORT CodeGeneratorResponse_File : public ::google::protobuf::M essage { 414 class LIBPROTOC_EXPORT CodeGeneratorResponse_File : public ::google::protobuf::M essage /* @@protoc_insertion_point(class_definition:google.protobuf.compiler.Cod eGeneratorResponse.File) */ {
173 public: 415 public:
174 CodeGeneratorResponse_File(); 416 CodeGeneratorResponse_File();
175 virtual ~CodeGeneratorResponse_File(); 417 virtual ~CodeGeneratorResponse_File();
176 418
177 CodeGeneratorResponse_File(const CodeGeneratorResponse_File& from); 419 CodeGeneratorResponse_File(const CodeGeneratorResponse_File& from);
178 420
179 inline CodeGeneratorResponse_File& operator=(const CodeGeneratorResponse_File& from) { 421 inline CodeGeneratorResponse_File& operator=(const CodeGeneratorResponse_File& from) {
180 CopyFrom(from); 422 CopyFrom(from);
181 return *this; 423 return *this;
182 } 424 }
183 425
184 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 426 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
185 return _internal_metadata_.unknown_fields(); 427 return _internal_metadata_.unknown_fields();
186 } 428 }
187 429
188 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 430 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
189 return _internal_metadata_.mutable_unknown_fields(); 431 return _internal_metadata_.mutable_unknown_fields();
190 } 432 }
191 433
192 static const ::google::protobuf::Descriptor* descriptor(); 434 static const ::google::protobuf::Descriptor* descriptor();
193 static const CodeGeneratorResponse_File& default_instance(); 435 static const CodeGeneratorResponse_File& default_instance();
194 436
437 static inline const CodeGeneratorResponse_File* internal_default_instance() {
438 return reinterpret_cast<const CodeGeneratorResponse_File*>(
439 &_CodeGeneratorResponse_File_default_instance_);
440 }
441
195 void Swap(CodeGeneratorResponse_File* other); 442 void Swap(CodeGeneratorResponse_File* other);
196 443
197 // implements Message ---------------------------------------------- 444 // implements Message ----------------------------------------------
198 445
199 inline CodeGeneratorResponse_File* New() const { return New(NULL); } 446 inline CodeGeneratorResponse_File* New() const PROTOBUF_FINAL { return New(NUL L); }
200 447
201 CodeGeneratorResponse_File* New(::google::protobuf::Arena* arena) const; 448 CodeGeneratorResponse_File* New(::google::protobuf::Arena* arena) const PROTOB UF_FINAL;
202 void CopyFrom(const ::google::protobuf::Message& from); 449 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
203 void MergeFrom(const ::google::protobuf::Message& from); 450 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
204 void CopyFrom(const CodeGeneratorResponse_File& from); 451 void CopyFrom(const CodeGeneratorResponse_File& from);
205 void MergeFrom(const CodeGeneratorResponse_File& from); 452 void MergeFrom(const CodeGeneratorResponse_File& from);
206 void Clear(); 453 void Clear() PROTOBUF_FINAL;
207 bool IsInitialized() const; 454 bool IsInitialized() const PROTOBUF_FINAL;
208 455
209 int ByteSize() const; 456 size_t ByteSizeLong() const PROTOBUF_FINAL;
210 bool MergePartialFromCodedStream( 457 bool MergePartialFromCodedStream(
211 ::google::protobuf::io::CodedInputStream* input); 458 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
212 void SerializeWithCachedSizes( 459 void SerializeWithCachedSizes(
213 ::google::protobuf::io::CodedOutputStream* output) const; 460 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
214 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 461 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
215 int GetCachedSize() const { return _cached_size_; } 462 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
463 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
464 const PROTOBUF_FINAL {
465 return InternalSerializeWithCachedSizesToArray(false, output);
466 }
467 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
216 private: 468 private:
217 void SharedCtor(); 469 void SharedCtor();
218 void SharedDtor(); 470 void SharedDtor();
219 void SetCachedSize(int size) const; 471 void SetCachedSize(int size) const PROTOBUF_FINAL;
220 void InternalSwap(CodeGeneratorResponse_File* other); 472 void InternalSwap(CodeGeneratorResponse_File* other);
221 private: 473 private:
222 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 474 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
223 return _internal_metadata_.arena(); 475 return NULL;
224 } 476 }
225 inline void* MaybeArenaPtr() const { 477 inline void* MaybeArenaPtr() const {
226 return _internal_metadata_.raw_arena_ptr(); 478 return NULL;
227 } 479 }
228 public: 480 public:
229 481
230 ::google::protobuf::Metadata GetMetadata() const; 482 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
231 483
232 // nested types ---------------------------------------------------- 484 // nested types ----------------------------------------------------
233 485
234 // accessors ------------------------------------------------------- 486 // accessors -------------------------------------------------------
235 487
236 // optional string name = 1; 488 // optional string name = 1;
237 bool has_name() const; 489 bool has_name() const;
238 void clear_name(); 490 void clear_name();
239 static const int kNameFieldNumber = 1; 491 static const int kNameFieldNumber = 1;
240 const ::std::string& name() const; 492 const ::std::string& name() const;
(...skipping 23 matching lines...) Expand all
264 const ::std::string& content() const; 516 const ::std::string& content() const;
265 void set_content(const ::std::string& value); 517 void set_content(const ::std::string& value);
266 void set_content(const char* value); 518 void set_content(const char* value);
267 void set_content(const char* value, size_t size); 519 void set_content(const char* value, size_t size);
268 ::std::string* mutable_content(); 520 ::std::string* mutable_content();
269 ::std::string* release_content(); 521 ::std::string* release_content();
270 void set_allocated_content(::std::string* content); 522 void set_allocated_content(::std::string* content);
271 523
272 // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGenerator Response.File) 524 // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGenerator Response.File)
273 private: 525 private:
274 inline void set_has_name(); 526 void set_has_name();
275 inline void clear_has_name(); 527 void clear_has_name();
276 inline void set_has_insertion_point(); 528 void set_has_insertion_point();
277 inline void clear_has_insertion_point(); 529 void clear_has_insertion_point();
278 inline void set_has_content(); 530 void set_has_content();
279 inline void clear_has_content(); 531 void clear_has_content();
280 532
281 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 533 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
282 ::google::protobuf::uint32 _has_bits_[1]; 534 ::google::protobuf::internal::HasBits<1> _has_bits_;
283 mutable int _cached_size_; 535 mutable int _cached_size_;
284 ::google::protobuf::internal::ArenaStringPtr name_; 536 ::google::protobuf::internal::ArenaStringPtr name_;
285 ::google::protobuf::internal::ArenaStringPtr insertion_point_; 537 ::google::protobuf::internal::ArenaStringPtr insertion_point_;
286 ::google::protobuf::internal::ArenaStringPtr content_; 538 ::google::protobuf::internal::ArenaStringPtr content_;
287 friend void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fp lugin_2eproto(); 539 friend void LIBPROTOC_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fcompile r_2fplugin_2eproto_impl();
288 friend void protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto( ); 540 friend void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fp lugin_2eproto_impl();
541 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f compiler_2fplugin_2eproto();
289 friend void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eprot o(); 542 friend void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eprot o();
290 543
291 void InitAsDefaultInstance();
292 static CodeGeneratorResponse_File* default_instance_;
293 }; 544 };
294 // ------------------------------------------------------------------- 545 // -------------------------------------------------------------------
295 546
296 class LIBPROTOC_EXPORT CodeGeneratorResponse : public ::google::protobuf::Messag e { 547 class LIBPROTOC_EXPORT CodeGeneratorResponse : public ::google::protobuf::Messag e /* @@protoc_insertion_point(class_definition:google.protobuf.compiler.CodeGene ratorResponse) */ {
297 public: 548 public:
298 CodeGeneratorResponse(); 549 CodeGeneratorResponse();
299 virtual ~CodeGeneratorResponse(); 550 virtual ~CodeGeneratorResponse();
300 551
301 CodeGeneratorResponse(const CodeGeneratorResponse& from); 552 CodeGeneratorResponse(const CodeGeneratorResponse& from);
302 553
303 inline CodeGeneratorResponse& operator=(const CodeGeneratorResponse& from) { 554 inline CodeGeneratorResponse& operator=(const CodeGeneratorResponse& from) {
304 CopyFrom(from); 555 CopyFrom(from);
305 return *this; 556 return *this;
306 } 557 }
307 558
308 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 559 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
309 return _internal_metadata_.unknown_fields(); 560 return _internal_metadata_.unknown_fields();
310 } 561 }
311 562
312 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 563 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
313 return _internal_metadata_.mutable_unknown_fields(); 564 return _internal_metadata_.mutable_unknown_fields();
314 } 565 }
315 566
316 static const ::google::protobuf::Descriptor* descriptor(); 567 static const ::google::protobuf::Descriptor* descriptor();
317 static const CodeGeneratorResponse& default_instance(); 568 static const CodeGeneratorResponse& default_instance();
318 569
570 static inline const CodeGeneratorResponse* internal_default_instance() {
571 return reinterpret_cast<const CodeGeneratorResponse*>(
572 &_CodeGeneratorResponse_default_instance_);
573 }
574
319 void Swap(CodeGeneratorResponse* other); 575 void Swap(CodeGeneratorResponse* other);
320 576
321 // implements Message ---------------------------------------------- 577 // implements Message ----------------------------------------------
322 578
323 inline CodeGeneratorResponse* New() const { return New(NULL); } 579 inline CodeGeneratorResponse* New() const PROTOBUF_FINAL { return New(NULL); }
324 580
325 CodeGeneratorResponse* New(::google::protobuf::Arena* arena) const; 581 CodeGeneratorResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FI NAL;
326 void CopyFrom(const ::google::protobuf::Message& from); 582 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
327 void MergeFrom(const ::google::protobuf::Message& from); 583 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
328 void CopyFrom(const CodeGeneratorResponse& from); 584 void CopyFrom(const CodeGeneratorResponse& from);
329 void MergeFrom(const CodeGeneratorResponse& from); 585 void MergeFrom(const CodeGeneratorResponse& from);
330 void Clear(); 586 void Clear() PROTOBUF_FINAL;
331 bool IsInitialized() const; 587 bool IsInitialized() const PROTOBUF_FINAL;
332 588
333 int ByteSize() const; 589 size_t ByteSizeLong() const PROTOBUF_FINAL;
334 bool MergePartialFromCodedStream( 590 bool MergePartialFromCodedStream(
335 ::google::protobuf::io::CodedInputStream* input); 591 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
336 void SerializeWithCachedSizes( 592 void SerializeWithCachedSizes(
337 ::google::protobuf::io::CodedOutputStream* output) const; 593 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
338 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 594 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
339 int GetCachedSize() const { return _cached_size_; } 595 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
596 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
597 const PROTOBUF_FINAL {
598 return InternalSerializeWithCachedSizesToArray(false, output);
599 }
600 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
340 private: 601 private:
341 void SharedCtor(); 602 void SharedCtor();
342 void SharedDtor(); 603 void SharedDtor();
343 void SetCachedSize(int size) const; 604 void SetCachedSize(int size) const PROTOBUF_FINAL;
344 void InternalSwap(CodeGeneratorResponse* other); 605 void InternalSwap(CodeGeneratorResponse* other);
345 private: 606 private:
346 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 607 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
347 return _internal_metadata_.arena(); 608 return NULL;
348 } 609 }
349 inline void* MaybeArenaPtr() const { 610 inline void* MaybeArenaPtr() const {
350 return _internal_metadata_.raw_arena_ptr(); 611 return NULL;
351 } 612 }
352 public: 613 public:
353 614
354 ::google::protobuf::Metadata GetMetadata() const; 615 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
355 616
356 // nested types ---------------------------------------------------- 617 // nested types ----------------------------------------------------
357 618
358 typedef CodeGeneratorResponse_File File; 619 typedef CodeGeneratorResponse_File File;
359 620
360 // accessors ------------------------------------------------------- 621 // accessors -------------------------------------------------------
361 622
362 // optional string error = 1; 623 // optional string error = 1;
363 bool has_error() const; 624 bool has_error() const;
364 void clear_error(); 625 void clear_error();
(...skipping 13 matching lines...) Expand all
378 const ::google::protobuf::compiler::CodeGeneratorResponse_File& file(int index ) const; 639 const ::google::protobuf::compiler::CodeGeneratorResponse_File& file(int index ) const;
379 ::google::protobuf::compiler::CodeGeneratorResponse_File* mutable_file(int ind ex); 640 ::google::protobuf::compiler::CodeGeneratorResponse_File* mutable_file(int ind ex);
380 ::google::protobuf::compiler::CodeGeneratorResponse_File* add_file(); 641 ::google::protobuf::compiler::CodeGeneratorResponse_File* add_file();
381 ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGenera torResponse_File >* 642 ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGenera torResponse_File >*
382 mutable_file(); 643 mutable_file();
383 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::Code GeneratorResponse_File >& 644 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::Code GeneratorResponse_File >&
384 file() const; 645 file() const;
385 646
386 // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGenerator Response) 647 // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGenerator Response)
387 private: 648 private:
388 inline void set_has_error(); 649 void set_has_error();
389 inline void clear_has_error(); 650 void clear_has_error();
390 651
391 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 652 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
392 ::google::protobuf::uint32 _has_bits_[1]; 653 ::google::protobuf::internal::HasBits<1> _has_bits_;
393 mutable int _cached_size_; 654 mutable int _cached_size_;
655 ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGenera torResponse_File > file_;
394 ::google::protobuf::internal::ArenaStringPtr error_; 656 ::google::protobuf::internal::ArenaStringPtr error_;
395 ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGenera torResponse_File > file_; 657 friend void LIBPROTOC_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fcompile r_2fplugin_2eproto_impl();
396 friend void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fp lugin_2eproto(); 658 friend void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fp lugin_2eproto_impl();
397 friend void protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto( ); 659 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f compiler_2fplugin_2eproto();
398 friend void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eprot o(); 660 friend void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eprot o();
399 661
400 void InitAsDefaultInstance();
401 static CodeGeneratorResponse* default_instance_;
402 }; 662 };
403 // =================================================================== 663 // ===================================================================
404 664
405 665
406 // =================================================================== 666 // ===================================================================
407 667
408 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 668 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
669 // Version
670
671 // optional int32 major = 1;
672 inline bool Version::has_major() const {
673 return (_has_bits_[0] & 0x00000002u) != 0;
674 }
675 inline void Version::set_has_major() {
676 _has_bits_[0] |= 0x00000002u;
677 }
678 inline void Version::clear_has_major() {
679 _has_bits_[0] &= ~0x00000002u;
680 }
681 inline void Version::clear_major() {
682 major_ = 0;
683 clear_has_major();
684 }
685 inline ::google::protobuf::int32 Version::major() const {
686 // @@protoc_insertion_point(field_get:google.protobuf.compiler.Version.major)
687 return major_;
688 }
689 inline void Version::set_major(::google::protobuf::int32 value) {
690 set_has_major();
691 major_ = value;
692 // @@protoc_insertion_point(field_set:google.protobuf.compiler.Version.major)
693 }
694
695 // optional int32 minor = 2;
696 inline bool Version::has_minor() const {
697 return (_has_bits_[0] & 0x00000004u) != 0;
698 }
699 inline void Version::set_has_minor() {
700 _has_bits_[0] |= 0x00000004u;
701 }
702 inline void Version::clear_has_minor() {
703 _has_bits_[0] &= ~0x00000004u;
704 }
705 inline void Version::clear_minor() {
706 minor_ = 0;
707 clear_has_minor();
708 }
709 inline ::google::protobuf::int32 Version::minor() const {
710 // @@protoc_insertion_point(field_get:google.protobuf.compiler.Version.minor)
711 return minor_;
712 }
713 inline void Version::set_minor(::google::protobuf::int32 value) {
714 set_has_minor();
715 minor_ = value;
716 // @@protoc_insertion_point(field_set:google.protobuf.compiler.Version.minor)
717 }
718
719 // optional int32 patch = 3;
720 inline bool Version::has_patch() const {
721 return (_has_bits_[0] & 0x00000008u) != 0;
722 }
723 inline void Version::set_has_patch() {
724 _has_bits_[0] |= 0x00000008u;
725 }
726 inline void Version::clear_has_patch() {
727 _has_bits_[0] &= ~0x00000008u;
728 }
729 inline void Version::clear_patch() {
730 patch_ = 0;
731 clear_has_patch();
732 }
733 inline ::google::protobuf::int32 Version::patch() const {
734 // @@protoc_insertion_point(field_get:google.protobuf.compiler.Version.patch)
735 return patch_;
736 }
737 inline void Version::set_patch(::google::protobuf::int32 value) {
738 set_has_patch();
739 patch_ = value;
740 // @@protoc_insertion_point(field_set:google.protobuf.compiler.Version.patch)
741 }
742
743 // optional string suffix = 4;
744 inline bool Version::has_suffix() const {
745 return (_has_bits_[0] & 0x00000001u) != 0;
746 }
747 inline void Version::set_has_suffix() {
748 _has_bits_[0] |= 0x00000001u;
749 }
750 inline void Version::clear_has_suffix() {
751 _has_bits_[0] &= ~0x00000001u;
752 }
753 inline void Version::clear_suffix() {
754 suffix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited());
755 clear_has_suffix();
756 }
757 inline const ::std::string& Version::suffix() const {
758 // @@protoc_insertion_point(field_get:google.protobuf.compiler.Version.suffix)
759 return suffix_.GetNoArena();
760 }
761 inline void Version::set_suffix(const ::std::string& value) {
762 set_has_suffix();
763 suffix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited( ), value);
764 // @@protoc_insertion_point(field_set:google.protobuf.compiler.Version.suffix)
765 }
766 inline void Version::set_suffix(const char* value) {
767 set_has_suffix();
768 suffix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited( ), ::std::string(value));
769 // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.Version.su ffix)
770 }
771 inline void Version::set_suffix(const char* value, size_t size) {
772 set_has_suffix();
773 suffix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited( ),
774 ::std::string(reinterpret_cast<const char*>(value), size));
775 // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.Version .suffix)
776 }
777 inline ::std::string* Version::mutable_suffix() {
778 set_has_suffix();
779 // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.Version.suf fix)
780 return suffix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited());
781 }
782 inline ::std::string* Version::release_suffix() {
783 // @@protoc_insertion_point(field_release:google.protobuf.compiler.Version.suf fix)
784 clear_has_suffix();
785 return suffix_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited());
786 }
787 inline void Version::set_allocated_suffix(::std::string* suffix) {
788 if (suffix != NULL) {
789 set_has_suffix();
790 } else {
791 clear_has_suffix();
792 }
793 suffix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited(), suffix);
794 // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.Versi on.suffix)
795 }
796
797 // -------------------------------------------------------------------
798
409 // CodeGeneratorRequest 799 // CodeGeneratorRequest
410 800
411 // repeated string file_to_generate = 1; 801 // repeated string file_to_generate = 1;
412 inline int CodeGeneratorRequest::file_to_generate_size() const { 802 inline int CodeGeneratorRequest::file_to_generate_size() const {
413 return file_to_generate_.size(); 803 return file_to_generate_.size();
414 } 804 }
415 inline void CodeGeneratorRequest::clear_file_to_generate() { 805 inline void CodeGeneratorRequest::clear_file_to_generate() {
416 file_to_generate_.Clear(); 806 file_to_generate_.Clear();
417 } 807 }
418 inline const ::std::string& CodeGeneratorRequest::file_to_generate(int index) co nst { 808 inline const ::std::string& CodeGeneratorRequest::file_to_generate(int index) co nst {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 return file_to_generate_; 848 return file_to_generate_;
459 } 849 }
460 inline ::google::protobuf::RepeatedPtrField< ::std::string>* 850 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
461 CodeGeneratorRequest::mutable_file_to_generate() { 851 CodeGeneratorRequest::mutable_file_to_generate() {
462 // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGe neratorRequest.file_to_generate) 852 // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGe neratorRequest.file_to_generate)
463 return &file_to_generate_; 853 return &file_to_generate_;
464 } 854 }
465 855
466 // optional string parameter = 2; 856 // optional string parameter = 2;
467 inline bool CodeGeneratorRequest::has_parameter() const { 857 inline bool CodeGeneratorRequest::has_parameter() const {
468 return (_has_bits_[0] & 0x00000002u) != 0; 858 return (_has_bits_[0] & 0x00000001u) != 0;
469 } 859 }
470 inline void CodeGeneratorRequest::set_has_parameter() { 860 inline void CodeGeneratorRequest::set_has_parameter() {
471 _has_bits_[0] |= 0x00000002u; 861 _has_bits_[0] |= 0x00000001u;
472 } 862 }
473 inline void CodeGeneratorRequest::clear_has_parameter() { 863 inline void CodeGeneratorRequest::clear_has_parameter() {
474 _has_bits_[0] &= ~0x00000002u; 864 _has_bits_[0] &= ~0x00000001u;
475 } 865 }
476 inline void CodeGeneratorRequest::clear_parameter() { 866 inline void CodeGeneratorRequest::clear_parameter() {
477 parameter_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited()); 867 parameter_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited());
478 clear_has_parameter(); 868 clear_has_parameter();
479 } 869 }
480 inline const ::std::string& CodeGeneratorRequest::parameter() const { 870 inline const ::std::string& CodeGeneratorRequest::parameter() const {
481 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRe quest.parameter) 871 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRe quest.parameter)
482 return parameter_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited()); 872 return parameter_.GetNoArena();
483 } 873 }
484 inline void CodeGeneratorRequest::set_parameter(const ::std::string& value) { 874 inline void CodeGeneratorRequest::set_parameter(const ::std::string& value) {
485 set_has_parameter(); 875 set_has_parameter();
486 parameter_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), value); 876 parameter_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), value);
487 // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRe quest.parameter) 877 // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRe quest.parameter)
488 } 878 }
489 inline void CodeGeneratorRequest::set_parameter(const char* value) { 879 inline void CodeGeneratorRequest::set_parameter(const char* value) {
490 set_has_parameter(); 880 set_has_parameter();
491 parameter_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), ::std::string(value)); 881 parameter_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), ::std::string(value));
492 // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGenera torRequest.parameter) 882 // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGenera torRequest.parameter)
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 CodeGeneratorRequest::mutable_proto_file() { 930 CodeGeneratorRequest::mutable_proto_file() {
541 // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGe neratorRequest.proto_file) 931 // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGe neratorRequest.proto_file)
542 return &proto_file_; 932 return &proto_file_;
543 } 933 }
544 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescr iptorProto >& 934 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescr iptorProto >&
545 CodeGeneratorRequest::proto_file() const { 935 CodeGeneratorRequest::proto_file() const {
546 // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorR equest.proto_file) 936 // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorR equest.proto_file)
547 return proto_file_; 937 return proto_file_;
548 } 938 }
549 939
940 // optional .google.protobuf.compiler.Version compiler_version = 3;
941 inline bool CodeGeneratorRequest::has_compiler_version() const {
942 return (_has_bits_[0] & 0x00000002u) != 0;
943 }
944 inline void CodeGeneratorRequest::set_has_compiler_version() {
945 _has_bits_[0] |= 0x00000002u;
946 }
947 inline void CodeGeneratorRequest::clear_has_compiler_version() {
948 _has_bits_[0] &= ~0x00000002u;
949 }
950 inline void CodeGeneratorRequest::clear_compiler_version() {
951 if (compiler_version_ != NULL) compiler_version_->::google::protobuf::compiler ::Version::Clear();
952 clear_has_compiler_version();
953 }
954 inline const ::google::protobuf::compiler::Version& CodeGeneratorRequest::compil er_version() const {
955 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRe quest.compiler_version)
956 return compiler_version_ != NULL ? *compiler_version_
957 : *::google::protobuf::compiler::Version::internal_defa ult_instance();
958 }
959 inline ::google::protobuf::compiler::Version* CodeGeneratorRequest::mutable_comp iler_version() {
960 set_has_compiler_version();
961 if (compiler_version_ == NULL) {
962 compiler_version_ = new ::google::protobuf::compiler::Version;
963 }
964 // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGenerat orRequest.compiler_version)
965 return compiler_version_;
966 }
967 inline ::google::protobuf::compiler::Version* CodeGeneratorRequest::release_comp iler_version() {
968 // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGenerat orRequest.compiler_version)
969 clear_has_compiler_version();
970 ::google::protobuf::compiler::Version* temp = compiler_version_;
971 compiler_version_ = NULL;
972 return temp;
973 }
974 inline void CodeGeneratorRequest::set_allocated_compiler_version(::google::proto buf::compiler::Version* compiler_version) {
975 delete compiler_version_;
976 compiler_version_ = compiler_version;
977 if (compiler_version) {
978 set_has_compiler_version();
979 } else {
980 clear_has_compiler_version();
981 }
982 // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeG eneratorRequest.compiler_version)
983 }
984
550 // ------------------------------------------------------------------- 985 // -------------------------------------------------------------------
551 986
552 // CodeGeneratorResponse_File 987 // CodeGeneratorResponse_File
553 988
554 // optional string name = 1; 989 // optional string name = 1;
555 inline bool CodeGeneratorResponse_File::has_name() const { 990 inline bool CodeGeneratorResponse_File::has_name() const {
556 return (_has_bits_[0] & 0x00000001u) != 0; 991 return (_has_bits_[0] & 0x00000001u) != 0;
557 } 992 }
558 inline void CodeGeneratorResponse_File::set_has_name() { 993 inline void CodeGeneratorResponse_File::set_has_name() {
559 _has_bits_[0] |= 0x00000001u; 994 _has_bits_[0] |= 0x00000001u;
560 } 995 }
561 inline void CodeGeneratorResponse_File::clear_has_name() { 996 inline void CodeGeneratorResponse_File::clear_has_name() {
562 _has_bits_[0] &= ~0x00000001u; 997 _has_bits_[0] &= ~0x00000001u;
563 } 998 }
564 inline void CodeGeneratorResponse_File::clear_name() { 999 inline void CodeGeneratorResponse_File::clear_name() {
565 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 1000 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
566 clear_has_name(); 1001 clear_has_name();
567 } 1002 }
568 inline const ::std::string& CodeGeneratorResponse_File::name() const { 1003 inline const ::std::string& CodeGeneratorResponse_File::name() const {
569 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRe sponse.File.name) 1004 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRe sponse.File.name)
570 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited()); 1005 return name_.GetNoArena();
571 } 1006 }
572 inline void CodeGeneratorResponse_File::set_name(const ::std::string& value) { 1007 inline void CodeGeneratorResponse_File::set_name(const ::std::string& value) {
573 set_has_name(); 1008 set_has_name();
574 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 1009 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
575 // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRe sponse.File.name) 1010 // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRe sponse.File.name)
576 } 1011 }
577 inline void CodeGeneratorResponse_File::set_name(const char* value) { 1012 inline void CodeGeneratorResponse_File::set_name(const char* value) {
578 set_has_name(); 1013 set_has_name();
579 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 1014 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
580 // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGenera torResponse.File.name) 1015 // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGenera torResponse.File.name)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 } 1049 }
615 inline void CodeGeneratorResponse_File::clear_has_insertion_point() { 1050 inline void CodeGeneratorResponse_File::clear_has_insertion_point() {
616 _has_bits_[0] &= ~0x00000002u; 1051 _has_bits_[0] &= ~0x00000002u;
617 } 1052 }
618 inline void CodeGeneratorResponse_File::clear_insertion_point() { 1053 inline void CodeGeneratorResponse_File::clear_insertion_point() {
619 insertion_point_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptySt ringAlreadyInited()); 1054 insertion_point_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptySt ringAlreadyInited());
620 clear_has_insertion_point(); 1055 clear_has_insertion_point();
621 } 1056 }
622 inline const ::std::string& CodeGeneratorResponse_File::insertion_point() const { 1057 inline const ::std::string& CodeGeneratorResponse_File::insertion_point() const {
623 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRe sponse.File.insertion_point) 1058 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRe sponse.File.insertion_point)
624 return insertion_point_.GetNoArena(&::google::protobuf::internal::GetEmptyStri ngAlreadyInited()); 1059 return insertion_point_.GetNoArena();
625 } 1060 }
626 inline void CodeGeneratorResponse_File::set_insertion_point(const ::std::string& value) { 1061 inline void CodeGeneratorResponse_File::set_insertion_point(const ::std::string& value) {
627 set_has_insertion_point(); 1062 set_has_insertion_point();
628 insertion_point_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited(), value); 1063 insertion_point_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited(), value);
629 // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRe sponse.File.insertion_point) 1064 // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRe sponse.File.insertion_point)
630 } 1065 }
631 inline void CodeGeneratorResponse_File::set_insertion_point(const char* value) { 1066 inline void CodeGeneratorResponse_File::set_insertion_point(const char* value) {
632 set_has_insertion_point(); 1067 set_has_insertion_point();
633 insertion_point_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited(), ::std::string(value)); 1068 insertion_point_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited(), ::std::string(value));
634 // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGenera torResponse.File.insertion_point) 1069 // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGenera torResponse.File.insertion_point)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 } 1103 }
669 inline void CodeGeneratorResponse_File::clear_has_content() { 1104 inline void CodeGeneratorResponse_File::clear_has_content() {
670 _has_bits_[0] &= ~0x00000004u; 1105 _has_bits_[0] &= ~0x00000004u;
671 } 1106 }
672 inline void CodeGeneratorResponse_File::clear_content() { 1107 inline void CodeGeneratorResponse_File::clear_content() {
673 content_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited()); 1108 content_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited());
674 clear_has_content(); 1109 clear_has_content();
675 } 1110 }
676 inline const ::std::string& CodeGeneratorResponse_File::content() const { 1111 inline const ::std::string& CodeGeneratorResponse_File::content() const {
677 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRe sponse.File.content) 1112 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRe sponse.File.content)
678 return content_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlread yInited()); 1113 return content_.GetNoArena();
679 } 1114 }
680 inline void CodeGeneratorResponse_File::set_content(const ::std::string& value) { 1115 inline void CodeGeneratorResponse_File::set_content(const ::std::string& value) {
681 set_has_content(); 1116 set_has_content();
682 content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited (), value); 1117 content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited (), value);
683 // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRe sponse.File.content) 1118 // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRe sponse.File.content)
684 } 1119 }
685 inline void CodeGeneratorResponse_File::set_content(const char* value) { 1120 inline void CodeGeneratorResponse_File::set_content(const char* value) {
686 set_has_content(); 1121 set_has_content();
687 content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited (), ::std::string(value)); 1122 content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited (), ::std::string(value));
688 // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGenera torResponse.File.content) 1123 // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGenera torResponse.File.content)
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 } 1161 }
727 inline void CodeGeneratorResponse::clear_has_error() { 1162 inline void CodeGeneratorResponse::clear_has_error() {
728 _has_bits_[0] &= ~0x00000001u; 1163 _has_bits_[0] &= ~0x00000001u;
729 } 1164 }
730 inline void CodeGeneratorResponse::clear_error() { 1165 inline void CodeGeneratorResponse::clear_error() {
731 error_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlread yInited()); 1166 error_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlread yInited());
732 clear_has_error(); 1167 clear_has_error();
733 } 1168 }
734 inline const ::std::string& CodeGeneratorResponse::error() const { 1169 inline const ::std::string& CodeGeneratorResponse::error() const {
735 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRe sponse.error) 1170 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRe sponse.error)
736 return error_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited()); 1171 return error_.GetNoArena();
737 } 1172 }
738 inline void CodeGeneratorResponse::set_error(const ::std::string& value) { 1173 inline void CodeGeneratorResponse::set_error(const ::std::string& value) {
739 set_has_error(); 1174 set_has_error();
740 error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited() , value); 1175 error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited() , value);
741 // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRe sponse.error) 1176 // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRe sponse.error)
742 } 1177 }
743 inline void CodeGeneratorResponse::set_error(const char* value) { 1178 inline void CodeGeneratorResponse::set_error(const char* value) {
744 set_has_error(); 1179 set_has_error();
745 error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited() , ::std::string(value)); 1180 error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited() , ::std::string(value));
746 // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGenera torResponse.error) 1181 // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGenera torResponse.error)
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 CodeGeneratorResponse::file() const { 1234 CodeGeneratorResponse::file() const {
800 // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorR esponse.file) 1235 // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorR esponse.file)
801 return file_; 1236 return file_;
802 } 1237 }
803 1238
804 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 1239 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
805 // ------------------------------------------------------------------- 1240 // -------------------------------------------------------------------
806 1241
807 // ------------------------------------------------------------------- 1242 // -------------------------------------------------------------------
808 1243
1244 // -------------------------------------------------------------------
1245
809 1246
810 // @@protoc_insertion_point(namespace_scope) 1247 // @@protoc_insertion_point(namespace_scope)
811 1248
1249
812 } // namespace compiler 1250 } // namespace compiler
813 } // namespace protobuf 1251 } // namespace protobuf
814 } // namespace google 1252 } // namespace google
815 1253
816 // @@protoc_insertion_point(global_scope) 1254 // @@protoc_insertion_point(global_scope)
817 1255
818 #endif // PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto__INCLUDED 1256 #endif // PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto__INCLUDED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698