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

Side by Side Diff: third_party/protobuf/src/google/protobuf/descriptor.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/descriptor.proto 2 // source: google/protobuf/descriptor.proto
3 3
4 #ifndef PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED 4 #ifndef PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED
5 #define PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED 5 #define PROTOBUF_google_2fprotobuf_2fdescriptor_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/generated_enum_reflection.h> 29 #include <google/protobuf/generated_enum_reflection.h>
30 #include <google/protobuf/unknown_field_set.h> 30 #include <google/protobuf/unknown_field_set.h>
31 // @@protoc_insertion_point(includes) 31 // @@protoc_insertion_point(includes)
32 namespace google {
33 namespace protobuf {
34 class DescriptorProto;
35 class DescriptorProtoDefaultTypeInternal;
36 LIBPROTOBUF_EXPORT extern DescriptorProtoDefaultTypeInternal _DescriptorProto_de fault_instance_;
37 class DescriptorProto_ExtensionRange;
38 class DescriptorProto_ExtensionRangeDefaultTypeInternal;
39 LIBPROTOBUF_EXPORT extern DescriptorProto_ExtensionRangeDefaultTypeInternal _Des criptorProto_ExtensionRange_default_instance_;
40 class DescriptorProto_ReservedRange;
41 class DescriptorProto_ReservedRangeDefaultTypeInternal;
42 LIBPROTOBUF_EXPORT extern DescriptorProto_ReservedRangeDefaultTypeInternal _Desc riptorProto_ReservedRange_default_instance_;
43 class EnumDescriptorProto;
44 class EnumDescriptorProtoDefaultTypeInternal;
45 LIBPROTOBUF_EXPORT extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptor Proto_default_instance_;
46 class EnumOptions;
47 class EnumOptionsDefaultTypeInternal;
48 LIBPROTOBUF_EXPORT extern EnumOptionsDefaultTypeInternal _EnumOptions_default_in stance_;
49 class EnumValueDescriptorProto;
50 class EnumValueDescriptorProtoDefaultTypeInternal;
51 LIBPROTOBUF_EXPORT extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValue DescriptorProto_default_instance_;
52 class EnumValueOptions;
53 class EnumValueOptionsDefaultTypeInternal;
54 LIBPROTOBUF_EXPORT extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_ default_instance_;
55 class FieldDescriptorProto;
56 class FieldDescriptorProtoDefaultTypeInternal;
57 LIBPROTOBUF_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescript orProto_default_instance_;
58 class FieldOptions;
59 class FieldOptionsDefaultTypeInternal;
60 LIBPROTOBUF_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_ instance_;
61 class FileDescriptorProto;
62 class FileDescriptorProtoDefaultTypeInternal;
63 LIBPROTOBUF_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptor Proto_default_instance_;
64 class FileDescriptorSet;
65 class FileDescriptorSetDefaultTypeInternal;
66 LIBPROTOBUF_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSe t_default_instance_;
67 class FileOptions;
68 class FileOptionsDefaultTypeInternal;
69 LIBPROTOBUF_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_in stance_;
70 class GeneratedCodeInfo;
71 class GeneratedCodeInfoDefaultTypeInternal;
72 LIBPROTOBUF_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInf o_default_instance_;
73 class GeneratedCodeInfo_Annotation;
74 class GeneratedCodeInfo_AnnotationDefaultTypeInternal;
75 LIBPROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _Gener atedCodeInfo_Annotation_default_instance_;
76 class MessageOptions;
77 class MessageOptionsDefaultTypeInternal;
78 LIBPROTOBUF_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_defa ult_instance_;
79 class MethodDescriptorProto;
80 class MethodDescriptorProtoDefaultTypeInternal;
81 LIBPROTOBUF_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescri ptorProto_default_instance_;
82 class MethodOptions;
83 class MethodOptionsDefaultTypeInternal;
84 LIBPROTOBUF_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_defaul t_instance_;
85 class OneofDescriptorProto;
86 class OneofDescriptorProtoDefaultTypeInternal;
87 LIBPROTOBUF_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescript orProto_default_instance_;
88 class OneofOptions;
89 class OneofOptionsDefaultTypeInternal;
90 LIBPROTOBUF_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_ instance_;
91 class ServiceDescriptorProto;
92 class ServiceDescriptorProtoDefaultTypeInternal;
93 LIBPROTOBUF_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDesc riptorProto_default_instance_;
94 class ServiceOptions;
95 class ServiceOptionsDefaultTypeInternal;
96 LIBPROTOBUF_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_defa ult_instance_;
97 class SourceCodeInfo;
98 class SourceCodeInfoDefaultTypeInternal;
99 LIBPROTOBUF_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_defa ult_instance_;
100 class SourceCodeInfo_Location;
101 class SourceCodeInfo_LocationDefaultTypeInternal;
102 LIBPROTOBUF_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCode Info_Location_default_instance_;
103 class UninterpretedOption;
104 class UninterpretedOptionDefaultTypeInternal;
105 LIBPROTOBUF_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedO ption_default_instance_;
106 class UninterpretedOption_NamePart;
107 class UninterpretedOption_NamePartDefaultTypeInternal;
108 LIBPROTOBUF_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _Unint erpretedOption_NamePart_default_instance_;
109 } // namespace protobuf
110 } // namespace google
32 111
33 namespace google { 112 namespace google {
34 namespace protobuf { 113 namespace protobuf {
35 114
36 // Internal implementation detail -- do not call these. 115 // Internal implementation detail -- do not call these.
37 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto( ); 116 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto( );
38 void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 117 void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescriptor_2ep roto();
39 void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
40
41 class DescriptorProto;
42 class DescriptorProto_ExtensionRange;
43 class DescriptorProto_ReservedRange;
44 class EnumDescriptorProto;
45 class EnumOptions;
46 class EnumValueDescriptorProto;
47 class EnumValueOptions;
48 class FieldDescriptorProto;
49 class FieldOptions;
50 class FileDescriptorProto;
51 class FileDescriptorSet;
52 class FileOptions;
53 class GeneratedCodeInfo;
54 class GeneratedCodeInfo_Annotation;
55 class MessageOptions;
56 class MethodDescriptorProto;
57 class MethodOptions;
58 class OneofDescriptorProto;
59 class ServiceDescriptorProto;
60 class ServiceOptions;
61 class SourceCodeInfo;
62 class SourceCodeInfo_Location;
63 class UninterpretedOption;
64 class UninterpretedOption_NamePart;
65 118
66 enum FieldDescriptorProto_Type { 119 enum FieldDescriptorProto_Type {
67 FieldDescriptorProto_Type_TYPE_DOUBLE = 1, 120 FieldDescriptorProto_Type_TYPE_DOUBLE = 1,
68 FieldDescriptorProto_Type_TYPE_FLOAT = 2, 121 FieldDescriptorProto_Type_TYPE_FLOAT = 2,
69 FieldDescriptorProto_Type_TYPE_INT64 = 3, 122 FieldDescriptorProto_Type_TYPE_INT64 = 3,
70 FieldDescriptorProto_Type_TYPE_UINT64 = 4, 123 FieldDescriptorProto_Type_TYPE_UINT64 = 4,
71 FieldDescriptorProto_Type_TYPE_INT32 = 5, 124 FieldDescriptorProto_Type_TYPE_INT32 = 5,
72 FieldDescriptorProto_Type_TYPE_FIXED64 = 6, 125 FieldDescriptorProto_Type_TYPE_FIXED64 = 6,
73 FieldDescriptorProto_Type_TYPE_FIXED32 = 7, 126 FieldDescriptorProto_Type_TYPE_FIXED32 = 7,
74 FieldDescriptorProto_Type_TYPE_BOOL = 8, 127 FieldDescriptorProto_Type_TYPE_BOOL = 8,
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_JSType _descriptor(); 224 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_JSType _descriptor();
172 inline const ::std::string& FieldOptions_JSType_Name(FieldOptions_JSType value) { 225 inline const ::std::string& FieldOptions_JSType_Name(FieldOptions_JSType value) {
173 return ::google::protobuf::internal::NameOfEnum( 226 return ::google::protobuf::internal::NameOfEnum(
174 FieldOptions_JSType_descriptor(), value); 227 FieldOptions_JSType_descriptor(), value);
175 } 228 }
176 inline bool FieldOptions_JSType_Parse( 229 inline bool FieldOptions_JSType_Parse(
177 const ::std::string& name, FieldOptions_JSType* value) { 230 const ::std::string& name, FieldOptions_JSType* value) {
178 return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_JSType>( 231 return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_JSType>(
179 FieldOptions_JSType_descriptor(), name, value); 232 FieldOptions_JSType_descriptor(), name, value);
180 } 233 }
234 enum MethodOptions_IdempotencyLevel {
235 MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN = 0,
236 MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS = 1,
237 MethodOptions_IdempotencyLevel_IDEMPOTENT = 2
238 };
239 LIBPROTOBUF_EXPORT bool MethodOptions_IdempotencyLevel_IsValid(int value);
240 const MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyL evel_MIN = MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN;
241 const MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyL evel_MAX = MethodOptions_IdempotencyLevel_IDEMPOTENT;
242 const int MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE = MethodOpti ons_IdempotencyLevel_IdempotencyLevel_MAX + 1;
243
244 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* MethodOptions_Idemp otencyLevel_descriptor();
245 inline const ::std::string& MethodOptions_IdempotencyLevel_Name(MethodOptions_Id empotencyLevel value) {
246 return ::google::protobuf::internal::NameOfEnum(
247 MethodOptions_IdempotencyLevel_descriptor(), value);
248 }
249 inline bool MethodOptions_IdempotencyLevel_Parse(
250 const ::std::string& name, MethodOptions_IdempotencyLevel* value) {
251 return ::google::protobuf::internal::ParseNamedEnum<MethodOptions_IdempotencyL evel>(
252 MethodOptions_IdempotencyLevel_descriptor(), name, value);
253 }
181 // =================================================================== 254 // ===================================================================
182 255
183 class LIBPROTOBUF_EXPORT FileDescriptorSet : public ::google::protobuf::Message { 256 class LIBPROTOBUF_EXPORT FileDescriptorSet : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorSet) */ {
184 public: 257 public:
185 FileDescriptorSet(); 258 FileDescriptorSet();
186 virtual ~FileDescriptorSet(); 259 virtual ~FileDescriptorSet();
187 260
188 FileDescriptorSet(const FileDescriptorSet& from); 261 FileDescriptorSet(const FileDescriptorSet& from);
189 262
190 inline FileDescriptorSet& operator=(const FileDescriptorSet& from) { 263 inline FileDescriptorSet& operator=(const FileDescriptorSet& from) {
191 CopyFrom(from); 264 CopyFrom(from);
192 return *this; 265 return *this;
193 } 266 }
194 267
195 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 268 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
196 return _internal_metadata_.unknown_fields(); 269 return _internal_metadata_.unknown_fields();
197 } 270 }
198 271
199 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 272 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
200 return _internal_metadata_.mutable_unknown_fields(); 273 return _internal_metadata_.mutable_unknown_fields();
201 } 274 }
202 275
203 static const ::google::protobuf::Descriptor* descriptor(); 276 static const ::google::protobuf::Descriptor* descriptor();
204 static const FileDescriptorSet& default_instance(); 277 static const FileDescriptorSet& default_instance();
205 278
279 static inline const FileDescriptorSet* internal_default_instance() {
280 return reinterpret_cast<const FileDescriptorSet*>(
281 &_FileDescriptorSet_default_instance_);
282 }
283
206 void Swap(FileDescriptorSet* other); 284 void Swap(FileDescriptorSet* other);
207 285
208 // implements Message ---------------------------------------------- 286 // implements Message ----------------------------------------------
209 287
210 inline FileDescriptorSet* New() const { return New(NULL); } 288 inline FileDescriptorSet* New() const PROTOBUF_FINAL { return New(NULL); }
211 289
212 FileDescriptorSet* New(::google::protobuf::Arena* arena) const; 290 FileDescriptorSet* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
213 void CopyFrom(const ::google::protobuf::Message& from); 291 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
214 void MergeFrom(const ::google::protobuf::Message& from); 292 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
215 void CopyFrom(const FileDescriptorSet& from); 293 void CopyFrom(const FileDescriptorSet& from);
216 void MergeFrom(const FileDescriptorSet& from); 294 void MergeFrom(const FileDescriptorSet& from);
217 void Clear(); 295 void Clear() PROTOBUF_FINAL;
218 bool IsInitialized() const; 296 bool IsInitialized() const PROTOBUF_FINAL;
219 297
220 int ByteSize() const; 298 size_t ByteSizeLong() const PROTOBUF_FINAL;
221 bool MergePartialFromCodedStream( 299 bool MergePartialFromCodedStream(
222 ::google::protobuf::io::CodedInputStream* input); 300 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
223 void SerializeWithCachedSizes( 301 void SerializeWithCachedSizes(
224 ::google::protobuf::io::CodedOutputStream* output) const; 302 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
225 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 303 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
226 int GetCachedSize() const { return _cached_size_; } 304 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
305 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
306 const PROTOBUF_FINAL {
307 return InternalSerializeWithCachedSizesToArray(false, output);
308 }
309 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
227 private: 310 private:
228 void SharedCtor(); 311 void SharedCtor();
229 void SharedDtor(); 312 void SharedDtor();
230 void SetCachedSize(int size) const; 313 void SetCachedSize(int size) const PROTOBUF_FINAL;
231 void InternalSwap(FileDescriptorSet* other); 314 void InternalSwap(FileDescriptorSet* other);
232 private: 315 private:
233 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 316 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
234 return _internal_metadata_.arena(); 317 return NULL;
235 } 318 }
236 inline void* MaybeArenaPtr() const { 319 inline void* MaybeArenaPtr() const {
237 return _internal_metadata_.raw_arena_ptr(); 320 return NULL;
238 } 321 }
239 public: 322 public:
240 323
241 ::google::protobuf::Metadata GetMetadata() const; 324 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
242 325
243 // nested types ---------------------------------------------------- 326 // nested types ----------------------------------------------------
244 327
245 // accessors ------------------------------------------------------- 328 // accessors -------------------------------------------------------
246 329
247 // repeated .google.protobuf.FileDescriptorProto file = 1; 330 // repeated .google.protobuf.FileDescriptorProto file = 1;
248 int file_size() const; 331 int file_size() const;
249 void clear_file(); 332 void clear_file();
250 static const int kFileFieldNumber = 1; 333 static const int kFileFieldNumber = 1;
251 const ::google::protobuf::FileDescriptorProto& file(int index) const; 334 const ::google::protobuf::FileDescriptorProto& file(int index) const;
252 ::google::protobuf::FileDescriptorProto* mutable_file(int index); 335 ::google::protobuf::FileDescriptorProto* mutable_file(int index);
253 ::google::protobuf::FileDescriptorProto* add_file(); 336 ::google::protobuf::FileDescriptorProto* add_file();
254 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >* 337 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
255 mutable_file(); 338 mutable_file();
256 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptor Proto >& 339 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptor Proto >&
257 file() const; 340 file() const;
258 341
259 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet) 342 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet)
260 private: 343 private:
261 344
262 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 345 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
263 ::google::protobuf::uint32 _has_bits_[1]; 346 ::google::protobuf::internal::HasBits<1> _has_bits_;
264 mutable int _cached_size_; 347 mutable int _cached_size_;
265 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > file_; 348 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > file_;
266 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 349 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
267 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 350 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
351 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
268 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 352 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
269 353
270 void InitAsDefaultInstance();
271 static FileDescriptorSet* default_instance_;
272 }; 354 };
273 // ------------------------------------------------------------------- 355 // -------------------------------------------------------------------
274 356
275 class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Messag e { 357 class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Messag e /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorPro to) */ {
276 public: 358 public:
277 FileDescriptorProto(); 359 FileDescriptorProto();
278 virtual ~FileDescriptorProto(); 360 virtual ~FileDescriptorProto();
279 361
280 FileDescriptorProto(const FileDescriptorProto& from); 362 FileDescriptorProto(const FileDescriptorProto& from);
281 363
282 inline FileDescriptorProto& operator=(const FileDescriptorProto& from) { 364 inline FileDescriptorProto& operator=(const FileDescriptorProto& from) {
283 CopyFrom(from); 365 CopyFrom(from);
284 return *this; 366 return *this;
285 } 367 }
286 368
287 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 369 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
288 return _internal_metadata_.unknown_fields(); 370 return _internal_metadata_.unknown_fields();
289 } 371 }
290 372
291 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 373 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
292 return _internal_metadata_.mutable_unknown_fields(); 374 return _internal_metadata_.mutable_unknown_fields();
293 } 375 }
294 376
295 static const ::google::protobuf::Descriptor* descriptor(); 377 static const ::google::protobuf::Descriptor* descriptor();
296 static const FileDescriptorProto& default_instance(); 378 static const FileDescriptorProto& default_instance();
297 379
380 static inline const FileDescriptorProto* internal_default_instance() {
381 return reinterpret_cast<const FileDescriptorProto*>(
382 &_FileDescriptorProto_default_instance_);
383 }
384
298 void Swap(FileDescriptorProto* other); 385 void Swap(FileDescriptorProto* other);
299 386
300 // implements Message ---------------------------------------------- 387 // implements Message ----------------------------------------------
301 388
302 inline FileDescriptorProto* New() const { return New(NULL); } 389 inline FileDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); }
303 390
304 FileDescriptorProto* New(::google::protobuf::Arena* arena) const; 391 FileDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINA L;
305 void CopyFrom(const ::google::protobuf::Message& from); 392 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
306 void MergeFrom(const ::google::protobuf::Message& from); 393 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
307 void CopyFrom(const FileDescriptorProto& from); 394 void CopyFrom(const FileDescriptorProto& from);
308 void MergeFrom(const FileDescriptorProto& from); 395 void MergeFrom(const FileDescriptorProto& from);
309 void Clear(); 396 void Clear() PROTOBUF_FINAL;
310 bool IsInitialized() const; 397 bool IsInitialized() const PROTOBUF_FINAL;
311 398
312 int ByteSize() const; 399 size_t ByteSizeLong() const PROTOBUF_FINAL;
313 bool MergePartialFromCodedStream( 400 bool MergePartialFromCodedStream(
314 ::google::protobuf::io::CodedInputStream* input); 401 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
315 void SerializeWithCachedSizes( 402 void SerializeWithCachedSizes(
316 ::google::protobuf::io::CodedOutputStream* output) const; 403 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
317 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 404 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
318 int GetCachedSize() const { return _cached_size_; } 405 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
406 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
407 const PROTOBUF_FINAL {
408 return InternalSerializeWithCachedSizesToArray(false, output);
409 }
410 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
319 private: 411 private:
320 void SharedCtor(); 412 void SharedCtor();
321 void SharedDtor(); 413 void SharedDtor();
322 void SetCachedSize(int size) const; 414 void SetCachedSize(int size) const PROTOBUF_FINAL;
323 void InternalSwap(FileDescriptorProto* other); 415 void InternalSwap(FileDescriptorProto* other);
324 private: 416 private:
325 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 417 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
326 return _internal_metadata_.arena(); 418 return NULL;
327 } 419 }
328 inline void* MaybeArenaPtr() const { 420 inline void* MaybeArenaPtr() const {
329 return _internal_metadata_.raw_arena_ptr(); 421 return NULL;
330 } 422 }
331 public: 423 public:
332 424
333 ::google::protobuf::Metadata GetMetadata() const; 425 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
334 426
335 // nested types ---------------------------------------------------- 427 // nested types ----------------------------------------------------
336 428
337 // accessors ------------------------------------------------------- 429 // accessors -------------------------------------------------------
338 430
339 // optional string name = 1; 431 // optional string name = 1;
340 bool has_name() const; 432 bool has_name() const;
341 void clear_name(); 433 void clear_name();
342 static const int kNameFieldNumber = 1; 434 static const int kNameFieldNumber = 1;
343 const ::std::string& name() const; 435 const ::std::string& name() const;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 const ::std::string& syntax() const; 565 const ::std::string& syntax() const;
474 void set_syntax(const ::std::string& value); 566 void set_syntax(const ::std::string& value);
475 void set_syntax(const char* value); 567 void set_syntax(const char* value);
476 void set_syntax(const char* value, size_t size); 568 void set_syntax(const char* value, size_t size);
477 ::std::string* mutable_syntax(); 569 ::std::string* mutable_syntax();
478 ::std::string* release_syntax(); 570 ::std::string* release_syntax();
479 void set_allocated_syntax(::std::string* syntax); 571 void set_allocated_syntax(::std::string* syntax);
480 572
481 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto) 573 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto)
482 private: 574 private:
483 inline void set_has_name(); 575 void set_has_name();
484 inline void clear_has_name(); 576 void clear_has_name();
485 inline void set_has_package(); 577 void set_has_package();
486 inline void clear_has_package(); 578 void clear_has_package();
487 inline void set_has_options(); 579 void set_has_options();
488 inline void clear_has_options(); 580 void clear_has_options();
489 inline void set_has_source_code_info(); 581 void set_has_source_code_info();
490 inline void clear_has_source_code_info(); 582 void clear_has_source_code_info();
491 inline void set_has_syntax(); 583 void set_has_syntax();
492 inline void clear_has_syntax(); 584 void clear_has_syntax();
493 585
494 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 586 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
495 ::google::protobuf::uint32 _has_bits_[1]; 587 ::google::protobuf::internal::HasBits<1> _has_bits_;
496 mutable int _cached_size_; 588 mutable int _cached_size_;
497 ::google::protobuf::internal::ArenaStringPtr name_;
498 ::google::protobuf::internal::ArenaStringPtr package_;
499 ::google::protobuf::RepeatedPtrField< ::std::string> dependency_; 589 ::google::protobuf::RepeatedPtrField< ::std::string> dependency_;
500 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > public_dependen cy_; 590 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > public_dependen cy_;
501 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > weak_dependency _; 591 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > weak_dependency _;
502 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > me ssage_type_; 592 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > me ssage_type_;
503 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_; 593 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_;
504 ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorPro to > service_; 594 ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorPro to > service_;
505 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_; 595 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_;
596 ::google::protobuf::internal::ArenaStringPtr name_;
597 ::google::protobuf::internal::ArenaStringPtr package_;
598 ::google::protobuf::internal::ArenaStringPtr syntax_;
506 ::google::protobuf::FileOptions* options_; 599 ::google::protobuf::FileOptions* options_;
507 ::google::protobuf::SourceCodeInfo* source_code_info_; 600 ::google::protobuf::SourceCodeInfo* source_code_info_;
508 ::google::protobuf::internal::ArenaStringPtr syntax_; 601 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
509 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 602 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
510 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 603 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
511 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 604 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
512 605
513 void InitAsDefaultInstance();
514 static FileDescriptorProto* default_instance_;
515 }; 606 };
516 // ------------------------------------------------------------------- 607 // -------------------------------------------------------------------
517 608
518 class LIBPROTOBUF_EXPORT DescriptorProto_ExtensionRange : public ::google::proto buf::Message { 609 class LIBPROTOBUF_EXPORT DescriptorProto_ExtensionRange : public ::google::proto buf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Descri ptorProto.ExtensionRange) */ {
519 public: 610 public:
520 DescriptorProto_ExtensionRange(); 611 DescriptorProto_ExtensionRange();
521 virtual ~DescriptorProto_ExtensionRange(); 612 virtual ~DescriptorProto_ExtensionRange();
522 613
523 DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from); 614 DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from);
524 615
525 inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_Extensi onRange& from) { 616 inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_Extensi onRange& from) {
526 CopyFrom(from); 617 CopyFrom(from);
527 return *this; 618 return *this;
528 } 619 }
529 620
530 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 621 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
531 return _internal_metadata_.unknown_fields(); 622 return _internal_metadata_.unknown_fields();
532 } 623 }
533 624
534 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 625 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
535 return _internal_metadata_.mutable_unknown_fields(); 626 return _internal_metadata_.mutable_unknown_fields();
536 } 627 }
537 628
538 static const ::google::protobuf::Descriptor* descriptor(); 629 static const ::google::protobuf::Descriptor* descriptor();
539 static const DescriptorProto_ExtensionRange& default_instance(); 630 static const DescriptorProto_ExtensionRange& default_instance();
540 631
632 static inline const DescriptorProto_ExtensionRange* internal_default_instance( ) {
633 return reinterpret_cast<const DescriptorProto_ExtensionRange*>(
634 &_DescriptorProto_ExtensionRange_default_instance_);
635 }
636
541 void Swap(DescriptorProto_ExtensionRange* other); 637 void Swap(DescriptorProto_ExtensionRange* other);
542 638
543 // implements Message ---------------------------------------------- 639 // implements Message ----------------------------------------------
544 640
545 inline DescriptorProto_ExtensionRange* New() const { return New(NULL); } 641 inline DescriptorProto_ExtensionRange* New() const PROTOBUF_FINAL { return New (NULL); }
546 642
547 DescriptorProto_ExtensionRange* New(::google::protobuf::Arena* arena) const; 643 DescriptorProto_ExtensionRange* New(::google::protobuf::Arena* arena) const PR OTOBUF_FINAL;
548 void CopyFrom(const ::google::protobuf::Message& from); 644 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
549 void MergeFrom(const ::google::protobuf::Message& from); 645 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
550 void CopyFrom(const DescriptorProto_ExtensionRange& from); 646 void CopyFrom(const DescriptorProto_ExtensionRange& from);
551 void MergeFrom(const DescriptorProto_ExtensionRange& from); 647 void MergeFrom(const DescriptorProto_ExtensionRange& from);
552 void Clear(); 648 void Clear() PROTOBUF_FINAL;
553 bool IsInitialized() const; 649 bool IsInitialized() const PROTOBUF_FINAL;
554 650
555 int ByteSize() const; 651 size_t ByteSizeLong() const PROTOBUF_FINAL;
556 bool MergePartialFromCodedStream( 652 bool MergePartialFromCodedStream(
557 ::google::protobuf::io::CodedInputStream* input); 653 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
558 void SerializeWithCachedSizes( 654 void SerializeWithCachedSizes(
559 ::google::protobuf::io::CodedOutputStream* output) const; 655 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
560 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 656 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
561 int GetCachedSize() const { return _cached_size_; } 657 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
658 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
659 const PROTOBUF_FINAL {
660 return InternalSerializeWithCachedSizesToArray(false, output);
661 }
662 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
562 private: 663 private:
563 void SharedCtor(); 664 void SharedCtor();
564 void SharedDtor(); 665 void SharedDtor();
565 void SetCachedSize(int size) const; 666 void SetCachedSize(int size) const PROTOBUF_FINAL;
566 void InternalSwap(DescriptorProto_ExtensionRange* other); 667 void InternalSwap(DescriptorProto_ExtensionRange* other);
567 private: 668 private:
568 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 669 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
569 return _internal_metadata_.arena(); 670 return NULL;
570 } 671 }
571 inline void* MaybeArenaPtr() const { 672 inline void* MaybeArenaPtr() const {
572 return _internal_metadata_.raw_arena_ptr(); 673 return NULL;
573 } 674 }
574 public: 675 public:
575 676
576 ::google::protobuf::Metadata GetMetadata() const; 677 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
577 678
578 // nested types ---------------------------------------------------- 679 // nested types ----------------------------------------------------
579 680
580 // accessors ------------------------------------------------------- 681 // accessors -------------------------------------------------------
581 682
582 // optional int32 start = 1; 683 // optional int32 start = 1;
583 bool has_start() const; 684 bool has_start() const;
584 void clear_start(); 685 void clear_start();
585 static const int kStartFieldNumber = 1; 686 static const int kStartFieldNumber = 1;
586 ::google::protobuf::int32 start() const; 687 ::google::protobuf::int32 start() const;
587 void set_start(::google::protobuf::int32 value); 688 void set_start(::google::protobuf::int32 value);
588 689
589 // optional int32 end = 2; 690 // optional int32 end = 2;
590 bool has_end() const; 691 bool has_end() const;
591 void clear_end(); 692 void clear_end();
592 static const int kEndFieldNumber = 2; 693 static const int kEndFieldNumber = 2;
593 ::google::protobuf::int32 end() const; 694 ::google::protobuf::int32 end() const;
594 void set_end(::google::protobuf::int32 value); 695 void set_end(::google::protobuf::int32 value);
595 696
596 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.Extens ionRange) 697 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.Extens ionRange)
597 private: 698 private:
598 inline void set_has_start(); 699 void set_has_start();
599 inline void clear_has_start(); 700 void clear_has_start();
600 inline void set_has_end(); 701 void set_has_end();
601 inline void clear_has_end(); 702 void clear_has_end();
602 703
603 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 704 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
604 ::google::protobuf::uint32 _has_bits_[1]; 705 ::google::protobuf::internal::HasBits<1> _has_bits_;
605 mutable int _cached_size_; 706 mutable int _cached_size_;
606 ::google::protobuf::int32 start_; 707 ::google::protobuf::int32 start_;
607 ::google::protobuf::int32 end_; 708 ::google::protobuf::int32 end_;
608 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 709 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
609 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 710 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
711 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
610 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 712 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
611 713
612 void InitAsDefaultInstance();
613 static DescriptorProto_ExtensionRange* default_instance_;
614 }; 714 };
615 // ------------------------------------------------------------------- 715 // -------------------------------------------------------------------
616 716
617 class LIBPROTOBUF_EXPORT DescriptorProto_ReservedRange : public ::google::protob uf::Message { 717 class LIBPROTOBUF_EXPORT DescriptorProto_ReservedRange : public ::google::protob uf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Descrip torProto.ReservedRange) */ {
618 public: 718 public:
619 DescriptorProto_ReservedRange(); 719 DescriptorProto_ReservedRange();
620 virtual ~DescriptorProto_ReservedRange(); 720 virtual ~DescriptorProto_ReservedRange();
621 721
622 DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from); 722 DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from);
623 723
624 inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_Reserved Range& from) { 724 inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_Reserved Range& from) {
625 CopyFrom(from); 725 CopyFrom(from);
626 return *this; 726 return *this;
627 } 727 }
628 728
629 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 729 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
630 return _internal_metadata_.unknown_fields(); 730 return _internal_metadata_.unknown_fields();
631 } 731 }
632 732
633 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 733 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
634 return _internal_metadata_.mutable_unknown_fields(); 734 return _internal_metadata_.mutable_unknown_fields();
635 } 735 }
636 736
637 static const ::google::protobuf::Descriptor* descriptor(); 737 static const ::google::protobuf::Descriptor* descriptor();
638 static const DescriptorProto_ReservedRange& default_instance(); 738 static const DescriptorProto_ReservedRange& default_instance();
639 739
740 static inline const DescriptorProto_ReservedRange* internal_default_instance() {
741 return reinterpret_cast<const DescriptorProto_ReservedRange*>(
742 &_DescriptorProto_ReservedRange_default_instance_);
743 }
744
640 void Swap(DescriptorProto_ReservedRange* other); 745 void Swap(DescriptorProto_ReservedRange* other);
641 746
642 // implements Message ---------------------------------------------- 747 // implements Message ----------------------------------------------
643 748
644 inline DescriptorProto_ReservedRange* New() const { return New(NULL); } 749 inline DescriptorProto_ReservedRange* New() const PROTOBUF_FINAL { return New( NULL); }
645 750
646 DescriptorProto_ReservedRange* New(::google::protobuf::Arena* arena) const; 751 DescriptorProto_ReservedRange* New(::google::protobuf::Arena* arena) const PRO TOBUF_FINAL;
647 void CopyFrom(const ::google::protobuf::Message& from); 752 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
648 void MergeFrom(const ::google::protobuf::Message& from); 753 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
649 void CopyFrom(const DescriptorProto_ReservedRange& from); 754 void CopyFrom(const DescriptorProto_ReservedRange& from);
650 void MergeFrom(const DescriptorProto_ReservedRange& from); 755 void MergeFrom(const DescriptorProto_ReservedRange& from);
651 void Clear(); 756 void Clear() PROTOBUF_FINAL;
652 bool IsInitialized() const; 757 bool IsInitialized() const PROTOBUF_FINAL;
653 758
654 int ByteSize() const; 759 size_t ByteSizeLong() const PROTOBUF_FINAL;
655 bool MergePartialFromCodedStream( 760 bool MergePartialFromCodedStream(
656 ::google::protobuf::io::CodedInputStream* input); 761 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
657 void SerializeWithCachedSizes( 762 void SerializeWithCachedSizes(
658 ::google::protobuf::io::CodedOutputStream* output) const; 763 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
659 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 764 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
660 int GetCachedSize() const { return _cached_size_; } 765 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
766 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
767 const PROTOBUF_FINAL {
768 return InternalSerializeWithCachedSizesToArray(false, output);
769 }
770 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
661 private: 771 private:
662 void SharedCtor(); 772 void SharedCtor();
663 void SharedDtor(); 773 void SharedDtor();
664 void SetCachedSize(int size) const; 774 void SetCachedSize(int size) const PROTOBUF_FINAL;
665 void InternalSwap(DescriptorProto_ReservedRange* other); 775 void InternalSwap(DescriptorProto_ReservedRange* other);
666 private: 776 private:
667 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 777 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
668 return _internal_metadata_.arena(); 778 return NULL;
669 } 779 }
670 inline void* MaybeArenaPtr() const { 780 inline void* MaybeArenaPtr() const {
671 return _internal_metadata_.raw_arena_ptr(); 781 return NULL;
672 } 782 }
673 public: 783 public:
674 784
675 ::google::protobuf::Metadata GetMetadata() const; 785 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
676 786
677 // nested types ---------------------------------------------------- 787 // nested types ----------------------------------------------------
678 788
679 // accessors ------------------------------------------------------- 789 // accessors -------------------------------------------------------
680 790
681 // optional int32 start = 1; 791 // optional int32 start = 1;
682 bool has_start() const; 792 bool has_start() const;
683 void clear_start(); 793 void clear_start();
684 static const int kStartFieldNumber = 1; 794 static const int kStartFieldNumber = 1;
685 ::google::protobuf::int32 start() const; 795 ::google::protobuf::int32 start() const;
686 void set_start(::google::protobuf::int32 value); 796 void set_start(::google::protobuf::int32 value);
687 797
688 // optional int32 end = 2; 798 // optional int32 end = 2;
689 bool has_end() const; 799 bool has_end() const;
690 void clear_end(); 800 void clear_end();
691 static const int kEndFieldNumber = 2; 801 static const int kEndFieldNumber = 2;
692 ::google::protobuf::int32 end() const; 802 ::google::protobuf::int32 end() const;
693 void set_end(::google::protobuf::int32 value); 803 void set_end(::google::protobuf::int32 value);
694 804
695 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.Reserv edRange) 805 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.Reserv edRange)
696 private: 806 private:
697 inline void set_has_start(); 807 void set_has_start();
698 inline void clear_has_start(); 808 void clear_has_start();
699 inline void set_has_end(); 809 void set_has_end();
700 inline void clear_has_end(); 810 void clear_has_end();
701 811
702 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 812 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
703 ::google::protobuf::uint32 _has_bits_[1]; 813 ::google::protobuf::internal::HasBits<1> _has_bits_;
704 mutable int _cached_size_; 814 mutable int _cached_size_;
705 ::google::protobuf::int32 start_; 815 ::google::protobuf::int32 start_;
706 ::google::protobuf::int32 end_; 816 ::google::protobuf::int32 end_;
707 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 817 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
708 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 818 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
819 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
709 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 820 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
710 821
711 void InitAsDefaultInstance();
712 static DescriptorProto_ReservedRange* default_instance_;
713 }; 822 };
714 // ------------------------------------------------------------------- 823 // -------------------------------------------------------------------
715 824
716 class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message { 825 class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto) */ {
717 public: 826 public:
718 DescriptorProto(); 827 DescriptorProto();
719 virtual ~DescriptorProto(); 828 virtual ~DescriptorProto();
720 829
721 DescriptorProto(const DescriptorProto& from); 830 DescriptorProto(const DescriptorProto& from);
722 831
723 inline DescriptorProto& operator=(const DescriptorProto& from) { 832 inline DescriptorProto& operator=(const DescriptorProto& from) {
724 CopyFrom(from); 833 CopyFrom(from);
725 return *this; 834 return *this;
726 } 835 }
727 836
728 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 837 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
729 return _internal_metadata_.unknown_fields(); 838 return _internal_metadata_.unknown_fields();
730 } 839 }
731 840
732 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 841 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
733 return _internal_metadata_.mutable_unknown_fields(); 842 return _internal_metadata_.mutable_unknown_fields();
734 } 843 }
735 844
736 static const ::google::protobuf::Descriptor* descriptor(); 845 static const ::google::protobuf::Descriptor* descriptor();
737 static const DescriptorProto& default_instance(); 846 static const DescriptorProto& default_instance();
738 847
848 static inline const DescriptorProto* internal_default_instance() {
849 return reinterpret_cast<const DescriptorProto*>(
850 &_DescriptorProto_default_instance_);
851 }
852
739 void Swap(DescriptorProto* other); 853 void Swap(DescriptorProto* other);
740 854
741 // implements Message ---------------------------------------------- 855 // implements Message ----------------------------------------------
742 856
743 inline DescriptorProto* New() const { return New(NULL); } 857 inline DescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); }
744 858
745 DescriptorProto* New(::google::protobuf::Arena* arena) const; 859 DescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
746 void CopyFrom(const ::google::protobuf::Message& from); 860 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
747 void MergeFrom(const ::google::protobuf::Message& from); 861 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
748 void CopyFrom(const DescriptorProto& from); 862 void CopyFrom(const DescriptorProto& from);
749 void MergeFrom(const DescriptorProto& from); 863 void MergeFrom(const DescriptorProto& from);
750 void Clear(); 864 void Clear() PROTOBUF_FINAL;
751 bool IsInitialized() const; 865 bool IsInitialized() const PROTOBUF_FINAL;
752 866
753 int ByteSize() const; 867 size_t ByteSizeLong() const PROTOBUF_FINAL;
754 bool MergePartialFromCodedStream( 868 bool MergePartialFromCodedStream(
755 ::google::protobuf::io::CodedInputStream* input); 869 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
756 void SerializeWithCachedSizes( 870 void SerializeWithCachedSizes(
757 ::google::protobuf::io::CodedOutputStream* output) const; 871 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
758 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 872 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
759 int GetCachedSize() const { return _cached_size_; } 873 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
874 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
875 const PROTOBUF_FINAL {
876 return InternalSerializeWithCachedSizesToArray(false, output);
877 }
878 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
760 private: 879 private:
761 void SharedCtor(); 880 void SharedCtor();
762 void SharedDtor(); 881 void SharedDtor();
763 void SetCachedSize(int size) const; 882 void SetCachedSize(int size) const PROTOBUF_FINAL;
764 void InternalSwap(DescriptorProto* other); 883 void InternalSwap(DescriptorProto* other);
765 private: 884 private:
766 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 885 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
767 return _internal_metadata_.arena(); 886 return NULL;
768 } 887 }
769 inline void* MaybeArenaPtr() const { 888 inline void* MaybeArenaPtr() const {
770 return _internal_metadata_.raw_arena_ptr(); 889 return NULL;
771 } 890 }
772 public: 891 public:
773 892
774 ::google::protobuf::Metadata GetMetadata() const; 893 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
775 894
776 // nested types ---------------------------------------------------- 895 // nested types ----------------------------------------------------
777 896
778 typedef DescriptorProto_ExtensionRange ExtensionRange; 897 typedef DescriptorProto_ExtensionRange ExtensionRange;
779 typedef DescriptorProto_ReservedRange ReservedRange; 898 typedef DescriptorProto_ReservedRange ReservedRange;
780 899
781 // accessors ------------------------------------------------------- 900 // accessors -------------------------------------------------------
782 901
783 // optional string name = 1; 902 // optional string name = 1;
784 bool has_name() const; 903 bool has_name() const;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 void set_reserved_name(int index, const char* value, size_t size); 1015 void set_reserved_name(int index, const char* value, size_t size);
897 ::std::string* add_reserved_name(); 1016 ::std::string* add_reserved_name();
898 void add_reserved_name(const ::std::string& value); 1017 void add_reserved_name(const ::std::string& value);
899 void add_reserved_name(const char* value); 1018 void add_reserved_name(const char* value);
900 void add_reserved_name(const char* value, size_t size); 1019 void add_reserved_name(const char* value, size_t size);
901 const ::google::protobuf::RepeatedPtrField< ::std::string>& reserved_name() co nst; 1020 const ::google::protobuf::RepeatedPtrField< ::std::string>& reserved_name() co nst;
902 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_reserved_name(); 1021 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_reserved_name();
903 1022
904 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto) 1023 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto)
905 private: 1024 private:
906 inline void set_has_name(); 1025 void set_has_name();
907 inline void clear_has_name(); 1026 void clear_has_name();
908 inline void set_has_options(); 1027 void set_has_options();
909 inline void clear_has_options(); 1028 void clear_has_options();
910 1029
911 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 1030 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
912 ::google::protobuf::uint32 _has_bits_[1]; 1031 ::google::protobuf::internal::HasBits<1> _has_bits_;
913 mutable int _cached_size_; 1032 mutable int _cached_size_;
914 ::google::protobuf::internal::ArenaStringPtr name_;
915 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_; 1033 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_;
916 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_; 1034 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_;
917 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > ne sted_type_; 1035 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > ne sted_type_;
918 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_; 1036 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_;
919 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Exte nsionRange > extension_range_; 1037 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Exte nsionRange > extension_range_;
920 ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > oneof_decl_; 1038 ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > oneof_decl_;
921 ::google::protobuf::MessageOptions* options_;
922 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Rese rvedRange > reserved_range_; 1039 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Rese rvedRange > reserved_range_;
923 ::google::protobuf::RepeatedPtrField< ::std::string> reserved_name_; 1040 ::google::protobuf::RepeatedPtrField< ::std::string> reserved_name_;
924 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 1041 ::google::protobuf::internal::ArenaStringPtr name_;
925 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 1042 ::google::protobuf::MessageOptions* options_;
1043 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
1044 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
1045 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
926 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 1046 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
927 1047
928 void InitAsDefaultInstance();
929 static DescriptorProto* default_instance_;
930 }; 1048 };
931 // ------------------------------------------------------------------- 1049 // -------------------------------------------------------------------
932 1050
933 class LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Messa ge { 1051 class LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Messa ge /* @@protoc_insertion_point(class_definition:google.protobuf.FieldDescriptorP roto) */ {
934 public: 1052 public:
935 FieldDescriptorProto(); 1053 FieldDescriptorProto();
936 virtual ~FieldDescriptorProto(); 1054 virtual ~FieldDescriptorProto();
937 1055
938 FieldDescriptorProto(const FieldDescriptorProto& from); 1056 FieldDescriptorProto(const FieldDescriptorProto& from);
939 1057
940 inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) { 1058 inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) {
941 CopyFrom(from); 1059 CopyFrom(from);
942 return *this; 1060 return *this;
943 } 1061 }
944 1062
945 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 1063 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
946 return _internal_metadata_.unknown_fields(); 1064 return _internal_metadata_.unknown_fields();
947 } 1065 }
948 1066
949 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 1067 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
950 return _internal_metadata_.mutable_unknown_fields(); 1068 return _internal_metadata_.mutable_unknown_fields();
951 } 1069 }
952 1070
953 static const ::google::protobuf::Descriptor* descriptor(); 1071 static const ::google::protobuf::Descriptor* descriptor();
954 static const FieldDescriptorProto& default_instance(); 1072 static const FieldDescriptorProto& default_instance();
955 1073
1074 static inline const FieldDescriptorProto* internal_default_instance() {
1075 return reinterpret_cast<const FieldDescriptorProto*>(
1076 &_FieldDescriptorProto_default_instance_);
1077 }
1078
956 void Swap(FieldDescriptorProto* other); 1079 void Swap(FieldDescriptorProto* other);
957 1080
958 // implements Message ---------------------------------------------- 1081 // implements Message ----------------------------------------------
959 1082
960 inline FieldDescriptorProto* New() const { return New(NULL); } 1083 inline FieldDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); }
961 1084
962 FieldDescriptorProto* New(::google::protobuf::Arena* arena) const; 1085 FieldDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FIN AL;
963 void CopyFrom(const ::google::protobuf::Message& from); 1086 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
964 void MergeFrom(const ::google::protobuf::Message& from); 1087 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
965 void CopyFrom(const FieldDescriptorProto& from); 1088 void CopyFrom(const FieldDescriptorProto& from);
966 void MergeFrom(const FieldDescriptorProto& from); 1089 void MergeFrom(const FieldDescriptorProto& from);
967 void Clear(); 1090 void Clear() PROTOBUF_FINAL;
968 bool IsInitialized() const; 1091 bool IsInitialized() const PROTOBUF_FINAL;
969 1092
970 int ByteSize() const; 1093 size_t ByteSizeLong() const PROTOBUF_FINAL;
971 bool MergePartialFromCodedStream( 1094 bool MergePartialFromCodedStream(
972 ::google::protobuf::io::CodedInputStream* input); 1095 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
973 void SerializeWithCachedSizes( 1096 void SerializeWithCachedSizes(
974 ::google::protobuf::io::CodedOutputStream* output) const; 1097 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
975 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 1098 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
976 int GetCachedSize() const { return _cached_size_; } 1099 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
1100 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
1101 const PROTOBUF_FINAL {
1102 return InternalSerializeWithCachedSizesToArray(false, output);
1103 }
1104 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
977 private: 1105 private:
978 void SharedCtor(); 1106 void SharedCtor();
979 void SharedDtor(); 1107 void SharedDtor();
980 void SetCachedSize(int size) const; 1108 void SetCachedSize(int size) const PROTOBUF_FINAL;
981 void InternalSwap(FieldDescriptorProto* other); 1109 void InternalSwap(FieldDescriptorProto* other);
982 private: 1110 private:
983 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 1111 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
984 return _internal_metadata_.arena(); 1112 return NULL;
985 } 1113 }
986 inline void* MaybeArenaPtr() const { 1114 inline void* MaybeArenaPtr() const {
987 return _internal_metadata_.raw_arena_ptr(); 1115 return NULL;
988 } 1116 }
989 public: 1117 public:
990 1118
991 ::google::protobuf::Metadata GetMetadata() const; 1119 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
992 1120
993 // nested types ---------------------------------------------------- 1121 // nested types ----------------------------------------------------
994 1122
995 typedef FieldDescriptorProto_Type Type; 1123 typedef FieldDescriptorProto_Type Type;
996 static const Type TYPE_DOUBLE = 1124 static const Type TYPE_DOUBLE =
997 FieldDescriptorProto_Type_TYPE_DOUBLE; 1125 FieldDescriptorProto_Type_TYPE_DOUBLE;
998 static const Type TYPE_FLOAT = 1126 static const Type TYPE_FLOAT =
999 FieldDescriptorProto_Type_TYPE_FLOAT; 1127 FieldDescriptorProto_Type_TYPE_FLOAT;
1000 static const Type TYPE_INT64 = 1128 static const Type TYPE_INT64 =
1001 FieldDescriptorProto_Type_TYPE_INT64; 1129 FieldDescriptorProto_Type_TYPE_INT64;
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
1172 bool has_options() const; 1300 bool has_options() const;
1173 void clear_options(); 1301 void clear_options();
1174 static const int kOptionsFieldNumber = 8; 1302 static const int kOptionsFieldNumber = 8;
1175 const ::google::protobuf::FieldOptions& options() const; 1303 const ::google::protobuf::FieldOptions& options() const;
1176 ::google::protobuf::FieldOptions* mutable_options(); 1304 ::google::protobuf::FieldOptions* mutable_options();
1177 ::google::protobuf::FieldOptions* release_options(); 1305 ::google::protobuf::FieldOptions* release_options();
1178 void set_allocated_options(::google::protobuf::FieldOptions* options); 1306 void set_allocated_options(::google::protobuf::FieldOptions* options);
1179 1307
1180 // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto) 1308 // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto)
1181 private: 1309 private:
1182 inline void set_has_name(); 1310 void set_has_name();
1183 inline void clear_has_name(); 1311 void clear_has_name();
1184 inline void set_has_number(); 1312 void set_has_number();
1185 inline void clear_has_number(); 1313 void clear_has_number();
1186 inline void set_has_label(); 1314 void set_has_label();
1187 inline void clear_has_label(); 1315 void clear_has_label();
1188 inline void set_has_type(); 1316 void set_has_type();
1189 inline void clear_has_type(); 1317 void clear_has_type();
1190 inline void set_has_type_name(); 1318 void set_has_type_name();
1191 inline void clear_has_type_name(); 1319 void clear_has_type_name();
1192 inline void set_has_extendee(); 1320 void set_has_extendee();
1193 inline void clear_has_extendee(); 1321 void clear_has_extendee();
1194 inline void set_has_default_value(); 1322 void set_has_default_value();
1195 inline void clear_has_default_value(); 1323 void clear_has_default_value();
1196 inline void set_has_oneof_index(); 1324 void set_has_oneof_index();
1197 inline void clear_has_oneof_index(); 1325 void clear_has_oneof_index();
1198 inline void set_has_json_name(); 1326 void set_has_json_name();
1199 inline void clear_has_json_name(); 1327 void clear_has_json_name();
1200 inline void set_has_options(); 1328 void set_has_options();
1201 inline void clear_has_options(); 1329 void clear_has_options();
1202 1330
1203 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 1331 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1204 ::google::protobuf::uint32 _has_bits_[1]; 1332 ::google::protobuf::internal::HasBits<1> _has_bits_;
1205 mutable int _cached_size_; 1333 mutable int _cached_size_;
1206 ::google::protobuf::internal::ArenaStringPtr name_; 1334 ::google::protobuf::internal::ArenaStringPtr name_;
1207 ::google::protobuf::int32 number_;
1208 int label_;
1209 ::google::protobuf::internal::ArenaStringPtr type_name_; 1335 ::google::protobuf::internal::ArenaStringPtr type_name_;
1210 ::google::protobuf::internal::ArenaStringPtr extendee_; 1336 ::google::protobuf::internal::ArenaStringPtr extendee_;
1211 int type_;
1212 ::google::protobuf::int32 oneof_index_;
1213 ::google::protobuf::internal::ArenaStringPtr default_value_; 1337 ::google::protobuf::internal::ArenaStringPtr default_value_;
1214 ::google::protobuf::internal::ArenaStringPtr json_name_; 1338 ::google::protobuf::internal::ArenaStringPtr json_name_;
1215 ::google::protobuf::FieldOptions* options_; 1339 ::google::protobuf::FieldOptions* options_;
1216 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 1340 ::google::protobuf::int32 number_;
1217 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 1341 ::google::protobuf::int32 oneof_index_;
1342 int label_;
1343 int type_;
1344 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
1345 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
1346 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
1218 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 1347 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1219 1348
1220 void InitAsDefaultInstance();
1221 static FieldDescriptorProto* default_instance_;
1222 }; 1349 };
1223 // ------------------------------------------------------------------- 1350 // -------------------------------------------------------------------
1224 1351
1225 class LIBPROTOBUF_EXPORT OneofDescriptorProto : public ::google::protobuf::Messa ge { 1352 class LIBPROTOBUF_EXPORT OneofDescriptorProto : public ::google::protobuf::Messa ge /* @@protoc_insertion_point(class_definition:google.protobuf.OneofDescriptorP roto) */ {
1226 public: 1353 public:
1227 OneofDescriptorProto(); 1354 OneofDescriptorProto();
1228 virtual ~OneofDescriptorProto(); 1355 virtual ~OneofDescriptorProto();
1229 1356
1230 OneofDescriptorProto(const OneofDescriptorProto& from); 1357 OneofDescriptorProto(const OneofDescriptorProto& from);
1231 1358
1232 inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) { 1359 inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) {
1233 CopyFrom(from); 1360 CopyFrom(from);
1234 return *this; 1361 return *this;
1235 } 1362 }
1236 1363
1237 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 1364 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1238 return _internal_metadata_.unknown_fields(); 1365 return _internal_metadata_.unknown_fields();
1239 } 1366 }
1240 1367
1241 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 1368 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1242 return _internal_metadata_.mutable_unknown_fields(); 1369 return _internal_metadata_.mutable_unknown_fields();
1243 } 1370 }
1244 1371
1245 static const ::google::protobuf::Descriptor* descriptor(); 1372 static const ::google::protobuf::Descriptor* descriptor();
1246 static const OneofDescriptorProto& default_instance(); 1373 static const OneofDescriptorProto& default_instance();
1247 1374
1375 static inline const OneofDescriptorProto* internal_default_instance() {
1376 return reinterpret_cast<const OneofDescriptorProto*>(
1377 &_OneofDescriptorProto_default_instance_);
1378 }
1379
1248 void Swap(OneofDescriptorProto* other); 1380 void Swap(OneofDescriptorProto* other);
1249 1381
1250 // implements Message ---------------------------------------------- 1382 // implements Message ----------------------------------------------
1251 1383
1252 inline OneofDescriptorProto* New() const { return New(NULL); } 1384 inline OneofDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); }
1253 1385
1254 OneofDescriptorProto* New(::google::protobuf::Arena* arena) const; 1386 OneofDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FIN AL;
1255 void CopyFrom(const ::google::protobuf::Message& from); 1387 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1256 void MergeFrom(const ::google::protobuf::Message& from); 1388 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1257 void CopyFrom(const OneofDescriptorProto& from); 1389 void CopyFrom(const OneofDescriptorProto& from);
1258 void MergeFrom(const OneofDescriptorProto& from); 1390 void MergeFrom(const OneofDescriptorProto& from);
1259 void Clear(); 1391 void Clear() PROTOBUF_FINAL;
1260 bool IsInitialized() const; 1392 bool IsInitialized() const PROTOBUF_FINAL;
1261 1393
1262 int ByteSize() const; 1394 size_t ByteSizeLong() const PROTOBUF_FINAL;
1263 bool MergePartialFromCodedStream( 1395 bool MergePartialFromCodedStream(
1264 ::google::protobuf::io::CodedInputStream* input); 1396 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1265 void SerializeWithCachedSizes( 1397 void SerializeWithCachedSizes(
1266 ::google::protobuf::io::CodedOutputStream* output) const; 1398 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1267 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 1399 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1268 int GetCachedSize() const { return _cached_size_; } 1400 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
1401 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
1402 const PROTOBUF_FINAL {
1403 return InternalSerializeWithCachedSizesToArray(false, output);
1404 }
1405 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1269 private: 1406 private:
1270 void SharedCtor(); 1407 void SharedCtor();
1271 void SharedDtor(); 1408 void SharedDtor();
1272 void SetCachedSize(int size) const; 1409 void SetCachedSize(int size) const PROTOBUF_FINAL;
1273 void InternalSwap(OneofDescriptorProto* other); 1410 void InternalSwap(OneofDescriptorProto* other);
1274 private: 1411 private:
1275 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 1412 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1276 return _internal_metadata_.arena(); 1413 return NULL;
1277 } 1414 }
1278 inline void* MaybeArenaPtr() const { 1415 inline void* MaybeArenaPtr() const {
1279 return _internal_metadata_.raw_arena_ptr(); 1416 return NULL;
1280 } 1417 }
1281 public: 1418 public:
1282 1419
1283 ::google::protobuf::Metadata GetMetadata() const; 1420 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1284 1421
1285 // nested types ---------------------------------------------------- 1422 // nested types ----------------------------------------------------
1286 1423
1287 // accessors ------------------------------------------------------- 1424 // accessors -------------------------------------------------------
1288 1425
1289 // optional string name = 1; 1426 // optional string name = 1;
1290 bool has_name() const; 1427 bool has_name() const;
1291 void clear_name(); 1428 void clear_name();
1292 static const int kNameFieldNumber = 1; 1429 static const int kNameFieldNumber = 1;
1293 const ::std::string& name() const; 1430 const ::std::string& name() const;
1294 void set_name(const ::std::string& value); 1431 void set_name(const ::std::string& value);
1295 void set_name(const char* value); 1432 void set_name(const char* value);
1296 void set_name(const char* value, size_t size); 1433 void set_name(const char* value, size_t size);
1297 ::std::string* mutable_name(); 1434 ::std::string* mutable_name();
1298 ::std::string* release_name(); 1435 ::std::string* release_name();
1299 void set_allocated_name(::std::string* name); 1436 void set_allocated_name(::std::string* name);
1300 1437
1438 // optional .google.protobuf.OneofOptions options = 2;
1439 bool has_options() const;
1440 void clear_options();
1441 static const int kOptionsFieldNumber = 2;
1442 const ::google::protobuf::OneofOptions& options() const;
1443 ::google::protobuf::OneofOptions* mutable_options();
1444 ::google::protobuf::OneofOptions* release_options();
1445 void set_allocated_options(::google::protobuf::OneofOptions* options);
1446
1301 // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto) 1447 // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto)
1302 private: 1448 private:
1303 inline void set_has_name(); 1449 void set_has_name();
1304 inline void clear_has_name(); 1450 void clear_has_name();
1451 void set_has_options();
1452 void clear_has_options();
1305 1453
1306 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 1454 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1307 ::google::protobuf::uint32 _has_bits_[1]; 1455 ::google::protobuf::internal::HasBits<1> _has_bits_;
1308 mutable int _cached_size_; 1456 mutable int _cached_size_;
1309 ::google::protobuf::internal::ArenaStringPtr name_; 1457 ::google::protobuf::internal::ArenaStringPtr name_;
1310 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 1458 ::google::protobuf::OneofOptions* options_;
1311 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 1459 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
1460 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
1461 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
1312 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 1462 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1313 1463
1314 void InitAsDefaultInstance();
1315 static OneofDescriptorProto* default_instance_;
1316 }; 1464 };
1317 // ------------------------------------------------------------------- 1465 // -------------------------------------------------------------------
1318 1466
1319 class LIBPROTOBUF_EXPORT EnumDescriptorProto : public ::google::protobuf::Messag e { 1467 class LIBPROTOBUF_EXPORT EnumDescriptorProto : public ::google::protobuf::Messag e /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorPro to) */ {
1320 public: 1468 public:
1321 EnumDescriptorProto(); 1469 EnumDescriptorProto();
1322 virtual ~EnumDescriptorProto(); 1470 virtual ~EnumDescriptorProto();
1323 1471
1324 EnumDescriptorProto(const EnumDescriptorProto& from); 1472 EnumDescriptorProto(const EnumDescriptorProto& from);
1325 1473
1326 inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) { 1474 inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) {
1327 CopyFrom(from); 1475 CopyFrom(from);
1328 return *this; 1476 return *this;
1329 } 1477 }
1330 1478
1331 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 1479 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1332 return _internal_metadata_.unknown_fields(); 1480 return _internal_metadata_.unknown_fields();
1333 } 1481 }
1334 1482
1335 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 1483 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1336 return _internal_metadata_.mutable_unknown_fields(); 1484 return _internal_metadata_.mutable_unknown_fields();
1337 } 1485 }
1338 1486
1339 static const ::google::protobuf::Descriptor* descriptor(); 1487 static const ::google::protobuf::Descriptor* descriptor();
1340 static const EnumDescriptorProto& default_instance(); 1488 static const EnumDescriptorProto& default_instance();
1341 1489
1490 static inline const EnumDescriptorProto* internal_default_instance() {
1491 return reinterpret_cast<const EnumDescriptorProto*>(
1492 &_EnumDescriptorProto_default_instance_);
1493 }
1494
1342 void Swap(EnumDescriptorProto* other); 1495 void Swap(EnumDescriptorProto* other);
1343 1496
1344 // implements Message ---------------------------------------------- 1497 // implements Message ----------------------------------------------
1345 1498
1346 inline EnumDescriptorProto* New() const { return New(NULL); } 1499 inline EnumDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); }
1347 1500
1348 EnumDescriptorProto* New(::google::protobuf::Arena* arena) const; 1501 EnumDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINA L;
1349 void CopyFrom(const ::google::protobuf::Message& from); 1502 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1350 void MergeFrom(const ::google::protobuf::Message& from); 1503 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1351 void CopyFrom(const EnumDescriptorProto& from); 1504 void CopyFrom(const EnumDescriptorProto& from);
1352 void MergeFrom(const EnumDescriptorProto& from); 1505 void MergeFrom(const EnumDescriptorProto& from);
1353 void Clear(); 1506 void Clear() PROTOBUF_FINAL;
1354 bool IsInitialized() const; 1507 bool IsInitialized() const PROTOBUF_FINAL;
1355 1508
1356 int ByteSize() const; 1509 size_t ByteSizeLong() const PROTOBUF_FINAL;
1357 bool MergePartialFromCodedStream( 1510 bool MergePartialFromCodedStream(
1358 ::google::protobuf::io::CodedInputStream* input); 1511 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1359 void SerializeWithCachedSizes( 1512 void SerializeWithCachedSizes(
1360 ::google::protobuf::io::CodedOutputStream* output) const; 1513 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1361 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 1514 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1362 int GetCachedSize() const { return _cached_size_; } 1515 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
1516 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
1517 const PROTOBUF_FINAL {
1518 return InternalSerializeWithCachedSizesToArray(false, output);
1519 }
1520 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1363 private: 1521 private:
1364 void SharedCtor(); 1522 void SharedCtor();
1365 void SharedDtor(); 1523 void SharedDtor();
1366 void SetCachedSize(int size) const; 1524 void SetCachedSize(int size) const PROTOBUF_FINAL;
1367 void InternalSwap(EnumDescriptorProto* other); 1525 void InternalSwap(EnumDescriptorProto* other);
1368 private: 1526 private:
1369 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 1527 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1370 return _internal_metadata_.arena(); 1528 return NULL;
1371 } 1529 }
1372 inline void* MaybeArenaPtr() const { 1530 inline void* MaybeArenaPtr() const {
1373 return _internal_metadata_.raw_arena_ptr(); 1531 return NULL;
1374 } 1532 }
1375 public: 1533 public:
1376 1534
1377 ::google::protobuf::Metadata GetMetadata() const; 1535 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1378 1536
1379 // nested types ---------------------------------------------------- 1537 // nested types ----------------------------------------------------
1380 1538
1381 // accessors ------------------------------------------------------- 1539 // accessors -------------------------------------------------------
1382 1540
1383 // optional string name = 1; 1541 // optional string name = 1;
1384 bool has_name() const; 1542 bool has_name() const;
1385 void clear_name(); 1543 void clear_name();
1386 static const int kNameFieldNumber = 1; 1544 static const int kNameFieldNumber = 1;
1387 const ::std::string& name() const; 1545 const ::std::string& name() const;
(...skipping 20 matching lines...) Expand all
1408 bool has_options() const; 1566 bool has_options() const;
1409 void clear_options(); 1567 void clear_options();
1410 static const int kOptionsFieldNumber = 3; 1568 static const int kOptionsFieldNumber = 3;
1411 const ::google::protobuf::EnumOptions& options() const; 1569 const ::google::protobuf::EnumOptions& options() const;
1412 ::google::protobuf::EnumOptions* mutable_options(); 1570 ::google::protobuf::EnumOptions* mutable_options();
1413 ::google::protobuf::EnumOptions* release_options(); 1571 ::google::protobuf::EnumOptions* release_options();
1414 void set_allocated_options(::google::protobuf::EnumOptions* options); 1572 void set_allocated_options(::google::protobuf::EnumOptions* options);
1415 1573
1416 // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto) 1574 // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto)
1417 private: 1575 private:
1418 inline void set_has_name(); 1576 void set_has_name();
1419 inline void clear_has_name(); 1577 void clear_has_name();
1420 inline void set_has_options(); 1578 void set_has_options();
1421 inline void clear_has_options(); 1579 void clear_has_options();
1422 1580
1423 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 1581 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1424 ::google::protobuf::uint32 _has_bits_[1]; 1582 ::google::protobuf::internal::HasBits<1> _has_bits_;
1425 mutable int _cached_size_; 1583 mutable int _cached_size_;
1584 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorP roto > value_;
1426 ::google::protobuf::internal::ArenaStringPtr name_; 1585 ::google::protobuf::internal::ArenaStringPtr name_;
1427 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorP roto > value_;
1428 ::google::protobuf::EnumOptions* options_; 1586 ::google::protobuf::EnumOptions* options_;
1429 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 1587 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
1430 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 1588 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
1589 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
1431 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 1590 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1432 1591
1433 void InitAsDefaultInstance();
1434 static EnumDescriptorProto* default_instance_;
1435 }; 1592 };
1436 // ------------------------------------------------------------------- 1593 // -------------------------------------------------------------------
1437 1594
1438 class LIBPROTOBUF_EXPORT EnumValueDescriptorProto : public ::google::protobuf::M essage { 1595 class LIBPROTOBUF_EXPORT EnumValueDescriptorProto : public ::google::protobuf::M essage /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueDes criptorProto) */ {
1439 public: 1596 public:
1440 EnumValueDescriptorProto(); 1597 EnumValueDescriptorProto();
1441 virtual ~EnumValueDescriptorProto(); 1598 virtual ~EnumValueDescriptorProto();
1442 1599
1443 EnumValueDescriptorProto(const EnumValueDescriptorProto& from); 1600 EnumValueDescriptorProto(const EnumValueDescriptorProto& from);
1444 1601
1445 inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& fro m) { 1602 inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& fro m) {
1446 CopyFrom(from); 1603 CopyFrom(from);
1447 return *this; 1604 return *this;
1448 } 1605 }
1449 1606
1450 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 1607 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1451 return _internal_metadata_.unknown_fields(); 1608 return _internal_metadata_.unknown_fields();
1452 } 1609 }
1453 1610
1454 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 1611 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1455 return _internal_metadata_.mutable_unknown_fields(); 1612 return _internal_metadata_.mutable_unknown_fields();
1456 } 1613 }
1457 1614
1458 static const ::google::protobuf::Descriptor* descriptor(); 1615 static const ::google::protobuf::Descriptor* descriptor();
1459 static const EnumValueDescriptorProto& default_instance(); 1616 static const EnumValueDescriptorProto& default_instance();
1460 1617
1618 static inline const EnumValueDescriptorProto* internal_default_instance() {
1619 return reinterpret_cast<const EnumValueDescriptorProto*>(
1620 &_EnumValueDescriptorProto_default_instance_);
1621 }
1622
1461 void Swap(EnumValueDescriptorProto* other); 1623 void Swap(EnumValueDescriptorProto* other);
1462 1624
1463 // implements Message ---------------------------------------------- 1625 // implements Message ----------------------------------------------
1464 1626
1465 inline EnumValueDescriptorProto* New() const { return New(NULL); } 1627 inline EnumValueDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL) ; }
1466 1628
1467 EnumValueDescriptorProto* New(::google::protobuf::Arena* arena) const; 1629 EnumValueDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF _FINAL;
1468 void CopyFrom(const ::google::protobuf::Message& from); 1630 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1469 void MergeFrom(const ::google::protobuf::Message& from); 1631 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1470 void CopyFrom(const EnumValueDescriptorProto& from); 1632 void CopyFrom(const EnumValueDescriptorProto& from);
1471 void MergeFrom(const EnumValueDescriptorProto& from); 1633 void MergeFrom(const EnumValueDescriptorProto& from);
1472 void Clear(); 1634 void Clear() PROTOBUF_FINAL;
1473 bool IsInitialized() const; 1635 bool IsInitialized() const PROTOBUF_FINAL;
1474 1636
1475 int ByteSize() const; 1637 size_t ByteSizeLong() const PROTOBUF_FINAL;
1476 bool MergePartialFromCodedStream( 1638 bool MergePartialFromCodedStream(
1477 ::google::protobuf::io::CodedInputStream* input); 1639 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1478 void SerializeWithCachedSizes( 1640 void SerializeWithCachedSizes(
1479 ::google::protobuf::io::CodedOutputStream* output) const; 1641 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1480 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 1642 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1481 int GetCachedSize() const { return _cached_size_; } 1643 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
1644 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
1645 const PROTOBUF_FINAL {
1646 return InternalSerializeWithCachedSizesToArray(false, output);
1647 }
1648 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1482 private: 1649 private:
1483 void SharedCtor(); 1650 void SharedCtor();
1484 void SharedDtor(); 1651 void SharedDtor();
1485 void SetCachedSize(int size) const; 1652 void SetCachedSize(int size) const PROTOBUF_FINAL;
1486 void InternalSwap(EnumValueDescriptorProto* other); 1653 void InternalSwap(EnumValueDescriptorProto* other);
1487 private: 1654 private:
1488 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 1655 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1489 return _internal_metadata_.arena(); 1656 return NULL;
1490 } 1657 }
1491 inline void* MaybeArenaPtr() const { 1658 inline void* MaybeArenaPtr() const {
1492 return _internal_metadata_.raw_arena_ptr(); 1659 return NULL;
1493 } 1660 }
1494 public: 1661 public:
1495 1662
1496 ::google::protobuf::Metadata GetMetadata() const; 1663 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1497 1664
1498 // nested types ---------------------------------------------------- 1665 // nested types ----------------------------------------------------
1499 1666
1500 // accessors ------------------------------------------------------- 1667 // accessors -------------------------------------------------------
1501 1668
1502 // optional string name = 1; 1669 // optional string name = 1;
1503 bool has_name() const; 1670 bool has_name() const;
1504 void clear_name(); 1671 void clear_name();
1505 static const int kNameFieldNumber = 1; 1672 static const int kNameFieldNumber = 1;
1506 const ::std::string& name() const; 1673 const ::std::string& name() const;
(...skipping 15 matching lines...) Expand all
1522 bool has_options() const; 1689 bool has_options() const;
1523 void clear_options(); 1690 void clear_options();
1524 static const int kOptionsFieldNumber = 3; 1691 static const int kOptionsFieldNumber = 3;
1525 const ::google::protobuf::EnumValueOptions& options() const; 1692 const ::google::protobuf::EnumValueOptions& options() const;
1526 ::google::protobuf::EnumValueOptions* mutable_options(); 1693 ::google::protobuf::EnumValueOptions* mutable_options();
1527 ::google::protobuf::EnumValueOptions* release_options(); 1694 ::google::protobuf::EnumValueOptions* release_options();
1528 void set_allocated_options(::google::protobuf::EnumValueOptions* options); 1695 void set_allocated_options(::google::protobuf::EnumValueOptions* options);
1529 1696
1530 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorPro to) 1697 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorPro to)
1531 private: 1698 private:
1532 inline void set_has_name(); 1699 void set_has_name();
1533 inline void clear_has_name(); 1700 void clear_has_name();
1534 inline void set_has_number(); 1701 void set_has_number();
1535 inline void clear_has_number(); 1702 void clear_has_number();
1536 inline void set_has_options(); 1703 void set_has_options();
1537 inline void clear_has_options(); 1704 void clear_has_options();
1538 1705
1539 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 1706 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1540 ::google::protobuf::uint32 _has_bits_[1]; 1707 ::google::protobuf::internal::HasBits<1> _has_bits_;
1541 mutable int _cached_size_; 1708 mutable int _cached_size_;
1542 ::google::protobuf::internal::ArenaStringPtr name_; 1709 ::google::protobuf::internal::ArenaStringPtr name_;
1543 ::google::protobuf::EnumValueOptions* options_; 1710 ::google::protobuf::EnumValueOptions* options_;
1544 ::google::protobuf::int32 number_; 1711 ::google::protobuf::int32 number_;
1545 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 1712 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
1546 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 1713 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
1714 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
1547 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 1715 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1548 1716
1549 void InitAsDefaultInstance();
1550 static EnumValueDescriptorProto* default_instance_;
1551 }; 1717 };
1552 // ------------------------------------------------------------------- 1718 // -------------------------------------------------------------------
1553 1719
1554 class LIBPROTOBUF_EXPORT ServiceDescriptorProto : public ::google::protobuf::Mes sage { 1720 class LIBPROTOBUF_EXPORT ServiceDescriptorProto : public ::google::protobuf::Mes sage /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceDescrip torProto) */ {
1555 public: 1721 public:
1556 ServiceDescriptorProto(); 1722 ServiceDescriptorProto();
1557 virtual ~ServiceDescriptorProto(); 1723 virtual ~ServiceDescriptorProto();
1558 1724
1559 ServiceDescriptorProto(const ServiceDescriptorProto& from); 1725 ServiceDescriptorProto(const ServiceDescriptorProto& from);
1560 1726
1561 inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) { 1727 inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) {
1562 CopyFrom(from); 1728 CopyFrom(from);
1563 return *this; 1729 return *this;
1564 } 1730 }
1565 1731
1566 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 1732 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1567 return _internal_metadata_.unknown_fields(); 1733 return _internal_metadata_.unknown_fields();
1568 } 1734 }
1569 1735
1570 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 1736 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1571 return _internal_metadata_.mutable_unknown_fields(); 1737 return _internal_metadata_.mutable_unknown_fields();
1572 } 1738 }
1573 1739
1574 static const ::google::protobuf::Descriptor* descriptor(); 1740 static const ::google::protobuf::Descriptor* descriptor();
1575 static const ServiceDescriptorProto& default_instance(); 1741 static const ServiceDescriptorProto& default_instance();
1576 1742
1743 static inline const ServiceDescriptorProto* internal_default_instance() {
1744 return reinterpret_cast<const ServiceDescriptorProto*>(
1745 &_ServiceDescriptorProto_default_instance_);
1746 }
1747
1577 void Swap(ServiceDescriptorProto* other); 1748 void Swap(ServiceDescriptorProto* other);
1578 1749
1579 // implements Message ---------------------------------------------- 1750 // implements Message ----------------------------------------------
1580 1751
1581 inline ServiceDescriptorProto* New() const { return New(NULL); } 1752 inline ServiceDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); }
1582 1753
1583 ServiceDescriptorProto* New(::google::protobuf::Arena* arena) const; 1754 ServiceDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_F INAL;
1584 void CopyFrom(const ::google::protobuf::Message& from); 1755 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1585 void MergeFrom(const ::google::protobuf::Message& from); 1756 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1586 void CopyFrom(const ServiceDescriptorProto& from); 1757 void CopyFrom(const ServiceDescriptorProto& from);
1587 void MergeFrom(const ServiceDescriptorProto& from); 1758 void MergeFrom(const ServiceDescriptorProto& from);
1588 void Clear(); 1759 void Clear() PROTOBUF_FINAL;
1589 bool IsInitialized() const; 1760 bool IsInitialized() const PROTOBUF_FINAL;
1590 1761
1591 int ByteSize() const; 1762 size_t ByteSizeLong() const PROTOBUF_FINAL;
1592 bool MergePartialFromCodedStream( 1763 bool MergePartialFromCodedStream(
1593 ::google::protobuf::io::CodedInputStream* input); 1764 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1594 void SerializeWithCachedSizes( 1765 void SerializeWithCachedSizes(
1595 ::google::protobuf::io::CodedOutputStream* output) const; 1766 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1596 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 1767 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1597 int GetCachedSize() const { return _cached_size_; } 1768 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
1769 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
1770 const PROTOBUF_FINAL {
1771 return InternalSerializeWithCachedSizesToArray(false, output);
1772 }
1773 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1598 private: 1774 private:
1599 void SharedCtor(); 1775 void SharedCtor();
1600 void SharedDtor(); 1776 void SharedDtor();
1601 void SetCachedSize(int size) const; 1777 void SetCachedSize(int size) const PROTOBUF_FINAL;
1602 void InternalSwap(ServiceDescriptorProto* other); 1778 void InternalSwap(ServiceDescriptorProto* other);
1603 private: 1779 private:
1604 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 1780 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1605 return _internal_metadata_.arena(); 1781 return NULL;
1606 } 1782 }
1607 inline void* MaybeArenaPtr() const { 1783 inline void* MaybeArenaPtr() const {
1608 return _internal_metadata_.raw_arena_ptr(); 1784 return NULL;
1609 } 1785 }
1610 public: 1786 public:
1611 1787
1612 ::google::protobuf::Metadata GetMetadata() const; 1788 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1613 1789
1614 // nested types ---------------------------------------------------- 1790 // nested types ----------------------------------------------------
1615 1791
1616 // accessors ------------------------------------------------------- 1792 // accessors -------------------------------------------------------
1617 1793
1618 // optional string name = 1; 1794 // optional string name = 1;
1619 bool has_name() const; 1795 bool has_name() const;
1620 void clear_name(); 1796 void clear_name();
1621 static const int kNameFieldNumber = 1; 1797 static const int kNameFieldNumber = 1;
1622 const ::std::string& name() const; 1798 const ::std::string& name() const;
(...skipping 20 matching lines...) Expand all
1643 bool has_options() const; 1819 bool has_options() const;
1644 void clear_options(); 1820 void clear_options();
1645 static const int kOptionsFieldNumber = 3; 1821 static const int kOptionsFieldNumber = 3;
1646 const ::google::protobuf::ServiceOptions& options() const; 1822 const ::google::protobuf::ServiceOptions& options() const;
1647 ::google::protobuf::ServiceOptions* mutable_options(); 1823 ::google::protobuf::ServiceOptions* mutable_options();
1648 ::google::protobuf::ServiceOptions* release_options(); 1824 ::google::protobuf::ServiceOptions* release_options();
1649 void set_allocated_options(::google::protobuf::ServiceOptions* options); 1825 void set_allocated_options(::google::protobuf::ServiceOptions* options);
1650 1826
1651 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto ) 1827 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto )
1652 private: 1828 private:
1653 inline void set_has_name(); 1829 void set_has_name();
1654 inline void clear_has_name(); 1830 void clear_has_name();
1655 inline void set_has_options(); 1831 void set_has_options();
1656 inline void clear_has_options(); 1832 void clear_has_options();
1657 1833
1658 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 1834 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1659 ::google::protobuf::uint32 _has_bits_[1]; 1835 ::google::protobuf::internal::HasBits<1> _has_bits_;
1660 mutable int _cached_size_; 1836 mutable int _cached_size_;
1837 ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProt o > method_;
1661 ::google::protobuf::internal::ArenaStringPtr name_; 1838 ::google::protobuf::internal::ArenaStringPtr name_;
1662 ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProt o > method_;
1663 ::google::protobuf::ServiceOptions* options_; 1839 ::google::protobuf::ServiceOptions* options_;
1664 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 1840 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
1665 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 1841 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
1842 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
1666 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 1843 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1667 1844
1668 void InitAsDefaultInstance();
1669 static ServiceDescriptorProto* default_instance_;
1670 }; 1845 };
1671 // ------------------------------------------------------------------- 1846 // -------------------------------------------------------------------
1672 1847
1673 class LIBPROTOBUF_EXPORT MethodDescriptorProto : public ::google::protobuf::Mess age { 1848 class LIBPROTOBUF_EXPORT MethodDescriptorProto : public ::google::protobuf::Mess age /* @@protoc_insertion_point(class_definition:google.protobuf.MethodDescripto rProto) */ {
1674 public: 1849 public:
1675 MethodDescriptorProto(); 1850 MethodDescriptorProto();
1676 virtual ~MethodDescriptorProto(); 1851 virtual ~MethodDescriptorProto();
1677 1852
1678 MethodDescriptorProto(const MethodDescriptorProto& from); 1853 MethodDescriptorProto(const MethodDescriptorProto& from);
1679 1854
1680 inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) { 1855 inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) {
1681 CopyFrom(from); 1856 CopyFrom(from);
1682 return *this; 1857 return *this;
1683 } 1858 }
1684 1859
1685 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 1860 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1686 return _internal_metadata_.unknown_fields(); 1861 return _internal_metadata_.unknown_fields();
1687 } 1862 }
1688 1863
1689 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 1864 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1690 return _internal_metadata_.mutable_unknown_fields(); 1865 return _internal_metadata_.mutable_unknown_fields();
1691 } 1866 }
1692 1867
1693 static const ::google::protobuf::Descriptor* descriptor(); 1868 static const ::google::protobuf::Descriptor* descriptor();
1694 static const MethodDescriptorProto& default_instance(); 1869 static const MethodDescriptorProto& default_instance();
1695 1870
1871 static inline const MethodDescriptorProto* internal_default_instance() {
1872 return reinterpret_cast<const MethodDescriptorProto*>(
1873 &_MethodDescriptorProto_default_instance_);
1874 }
1875
1696 void Swap(MethodDescriptorProto* other); 1876 void Swap(MethodDescriptorProto* other);
1697 1877
1698 // implements Message ---------------------------------------------- 1878 // implements Message ----------------------------------------------
1699 1879
1700 inline MethodDescriptorProto* New() const { return New(NULL); } 1880 inline MethodDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); }
1701 1881
1702 MethodDescriptorProto* New(::google::protobuf::Arena* arena) const; 1882 MethodDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FI NAL;
1703 void CopyFrom(const ::google::protobuf::Message& from); 1883 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1704 void MergeFrom(const ::google::protobuf::Message& from); 1884 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1705 void CopyFrom(const MethodDescriptorProto& from); 1885 void CopyFrom(const MethodDescriptorProto& from);
1706 void MergeFrom(const MethodDescriptorProto& from); 1886 void MergeFrom(const MethodDescriptorProto& from);
1707 void Clear(); 1887 void Clear() PROTOBUF_FINAL;
1708 bool IsInitialized() const; 1888 bool IsInitialized() const PROTOBUF_FINAL;
1709 1889
1710 int ByteSize() const; 1890 size_t ByteSizeLong() const PROTOBUF_FINAL;
1711 bool MergePartialFromCodedStream( 1891 bool MergePartialFromCodedStream(
1712 ::google::protobuf::io::CodedInputStream* input); 1892 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1713 void SerializeWithCachedSizes( 1893 void SerializeWithCachedSizes(
1714 ::google::protobuf::io::CodedOutputStream* output) const; 1894 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1715 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 1895 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1716 int GetCachedSize() const { return _cached_size_; } 1896 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
1897 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
1898 const PROTOBUF_FINAL {
1899 return InternalSerializeWithCachedSizesToArray(false, output);
1900 }
1901 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1717 private: 1902 private:
1718 void SharedCtor(); 1903 void SharedCtor();
1719 void SharedDtor(); 1904 void SharedDtor();
1720 void SetCachedSize(int size) const; 1905 void SetCachedSize(int size) const PROTOBUF_FINAL;
1721 void InternalSwap(MethodDescriptorProto* other); 1906 void InternalSwap(MethodDescriptorProto* other);
1722 private: 1907 private:
1723 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 1908 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1724 return _internal_metadata_.arena(); 1909 return NULL;
1725 } 1910 }
1726 inline void* MaybeArenaPtr() const { 1911 inline void* MaybeArenaPtr() const {
1727 return _internal_metadata_.raw_arena_ptr(); 1912 return NULL;
1728 } 1913 }
1729 public: 1914 public:
1730 1915
1731 ::google::protobuf::Metadata GetMetadata() const; 1916 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1732 1917
1733 // nested types ---------------------------------------------------- 1918 // nested types ----------------------------------------------------
1734 1919
1735 // accessors ------------------------------------------------------- 1920 // accessors -------------------------------------------------------
1736 1921
1737 // optional string name = 1; 1922 // optional string name = 1;
1738 bool has_name() const; 1923 bool has_name() const;
1739 void clear_name(); 1924 void clear_name();
1740 static const int kNameFieldNumber = 1; 1925 static const int kNameFieldNumber = 1;
1741 const ::std::string& name() const; 1926 const ::std::string& name() const;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
1788 1973
1789 // optional bool server_streaming = 6 [default = false]; 1974 // optional bool server_streaming = 6 [default = false];
1790 bool has_server_streaming() const; 1975 bool has_server_streaming() const;
1791 void clear_server_streaming(); 1976 void clear_server_streaming();
1792 static const int kServerStreamingFieldNumber = 6; 1977 static const int kServerStreamingFieldNumber = 6;
1793 bool server_streaming() const; 1978 bool server_streaming() const;
1794 void set_server_streaming(bool value); 1979 void set_server_streaming(bool value);
1795 1980
1796 // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto) 1981 // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto)
1797 private: 1982 private:
1798 inline void set_has_name(); 1983 void set_has_name();
1799 inline void clear_has_name(); 1984 void clear_has_name();
1800 inline void set_has_input_type(); 1985 void set_has_input_type();
1801 inline void clear_has_input_type(); 1986 void clear_has_input_type();
1802 inline void set_has_output_type(); 1987 void set_has_output_type();
1803 inline void clear_has_output_type(); 1988 void clear_has_output_type();
1804 inline void set_has_options(); 1989 void set_has_options();
1805 inline void clear_has_options(); 1990 void clear_has_options();
1806 inline void set_has_client_streaming(); 1991 void set_has_client_streaming();
1807 inline void clear_has_client_streaming(); 1992 void clear_has_client_streaming();
1808 inline void set_has_server_streaming(); 1993 void set_has_server_streaming();
1809 inline void clear_has_server_streaming(); 1994 void clear_has_server_streaming();
1810 1995
1811 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 1996 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1812 ::google::protobuf::uint32 _has_bits_[1]; 1997 ::google::protobuf::internal::HasBits<1> _has_bits_;
1813 mutable int _cached_size_; 1998 mutable int _cached_size_;
1814 ::google::protobuf::internal::ArenaStringPtr name_; 1999 ::google::protobuf::internal::ArenaStringPtr name_;
1815 ::google::protobuf::internal::ArenaStringPtr input_type_; 2000 ::google::protobuf::internal::ArenaStringPtr input_type_;
1816 ::google::protobuf::internal::ArenaStringPtr output_type_; 2001 ::google::protobuf::internal::ArenaStringPtr output_type_;
1817 ::google::protobuf::MethodOptions* options_; 2002 ::google::protobuf::MethodOptions* options_;
1818 bool client_streaming_; 2003 bool client_streaming_;
1819 bool server_streaming_; 2004 bool server_streaming_;
1820 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 2005 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
1821 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 2006 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
2007 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
1822 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 2008 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
1823 2009
1824 void InitAsDefaultInstance();
1825 static MethodDescriptorProto* default_instance_;
1826 }; 2010 };
1827 // ------------------------------------------------------------------- 2011 // -------------------------------------------------------------------
1828 2012
1829 class LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message { 2013 class LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message /* @@p rotoc_insertion_point(class_definition:google.protobuf.FileOptions) */ {
1830 public: 2014 public:
1831 FileOptions(); 2015 FileOptions();
1832 virtual ~FileOptions(); 2016 virtual ~FileOptions();
1833 2017
1834 FileOptions(const FileOptions& from); 2018 FileOptions(const FileOptions& from);
1835 2019
1836 inline FileOptions& operator=(const FileOptions& from) { 2020 inline FileOptions& operator=(const FileOptions& from) {
1837 CopyFrom(from); 2021 CopyFrom(from);
1838 return *this; 2022 return *this;
1839 } 2023 }
1840 2024
1841 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 2025 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1842 return _internal_metadata_.unknown_fields(); 2026 return _internal_metadata_.unknown_fields();
1843 } 2027 }
1844 2028
1845 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 2029 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1846 return _internal_metadata_.mutable_unknown_fields(); 2030 return _internal_metadata_.mutable_unknown_fields();
1847 } 2031 }
1848 2032
1849 static const ::google::protobuf::Descriptor* descriptor(); 2033 static const ::google::protobuf::Descriptor* descriptor();
1850 static const FileOptions& default_instance(); 2034 static const FileOptions& default_instance();
1851 2035
2036 static inline const FileOptions* internal_default_instance() {
2037 return reinterpret_cast<const FileOptions*>(
2038 &_FileOptions_default_instance_);
2039 }
2040
1852 void Swap(FileOptions* other); 2041 void Swap(FileOptions* other);
1853 2042
1854 // implements Message ---------------------------------------------- 2043 // implements Message ----------------------------------------------
1855 2044
1856 inline FileOptions* New() const { return New(NULL); } 2045 inline FileOptions* New() const PROTOBUF_FINAL { return New(NULL); }
1857 2046
1858 FileOptions* New(::google::protobuf::Arena* arena) const; 2047 FileOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1859 void CopyFrom(const ::google::protobuf::Message& from); 2048 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1860 void MergeFrom(const ::google::protobuf::Message& from); 2049 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1861 void CopyFrom(const FileOptions& from); 2050 void CopyFrom(const FileOptions& from);
1862 void MergeFrom(const FileOptions& from); 2051 void MergeFrom(const FileOptions& from);
1863 void Clear(); 2052 void Clear() PROTOBUF_FINAL;
1864 bool IsInitialized() const; 2053 bool IsInitialized() const PROTOBUF_FINAL;
1865 2054
1866 int ByteSize() const; 2055 size_t ByteSizeLong() const PROTOBUF_FINAL;
1867 bool MergePartialFromCodedStream( 2056 bool MergePartialFromCodedStream(
1868 ::google::protobuf::io::CodedInputStream* input); 2057 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1869 void SerializeWithCachedSizes( 2058 void SerializeWithCachedSizes(
1870 ::google::protobuf::io::CodedOutputStream* output) const; 2059 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1871 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 2060 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1872 int GetCachedSize() const { return _cached_size_; } 2061 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
2062 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
2063 const PROTOBUF_FINAL {
2064 return InternalSerializeWithCachedSizesToArray(false, output);
2065 }
2066 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1873 private: 2067 private:
1874 void SharedCtor(); 2068 void SharedCtor();
1875 void SharedDtor(); 2069 void SharedDtor();
1876 void SetCachedSize(int size) const; 2070 void SetCachedSize(int size) const PROTOBUF_FINAL;
1877 void InternalSwap(FileOptions* other); 2071 void InternalSwap(FileOptions* other);
1878 private: 2072 private:
1879 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 2073 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1880 return _internal_metadata_.arena(); 2074 return NULL;
1881 } 2075 }
1882 inline void* MaybeArenaPtr() const { 2076 inline void* MaybeArenaPtr() const {
1883 return _internal_metadata_.raw_arena_ptr(); 2077 return NULL;
1884 } 2078 }
1885 public: 2079 public:
1886 2080
1887 ::google::protobuf::Metadata GetMetadata() const; 2081 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1888 2082
1889 // nested types ---------------------------------------------------- 2083 // nested types ----------------------------------------------------
1890 2084
1891 typedef FileOptions_OptimizeMode OptimizeMode; 2085 typedef FileOptions_OptimizeMode OptimizeMode;
1892 static const OptimizeMode SPEED = 2086 static const OptimizeMode SPEED =
1893 FileOptions_OptimizeMode_SPEED; 2087 FileOptions_OptimizeMode_SPEED;
1894 static const OptimizeMode CODE_SIZE = 2088 static const OptimizeMode CODE_SIZE =
1895 FileOptions_OptimizeMode_CODE_SIZE; 2089 FileOptions_OptimizeMode_CODE_SIZE;
1896 static const OptimizeMode LITE_RUNTIME = 2090 static const OptimizeMode LITE_RUNTIME =
1897 FileOptions_OptimizeMode_LITE_RUNTIME; 2091 FileOptions_OptimizeMode_LITE_RUNTIME;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
1942 ::std::string* release_java_outer_classname(); 2136 ::std::string* release_java_outer_classname();
1943 void set_allocated_java_outer_classname(::std::string* java_outer_classname); 2137 void set_allocated_java_outer_classname(::std::string* java_outer_classname);
1944 2138
1945 // optional bool java_multiple_files = 10 [default = false]; 2139 // optional bool java_multiple_files = 10 [default = false];
1946 bool has_java_multiple_files() const; 2140 bool has_java_multiple_files() const;
1947 void clear_java_multiple_files(); 2141 void clear_java_multiple_files();
1948 static const int kJavaMultipleFilesFieldNumber = 10; 2142 static const int kJavaMultipleFilesFieldNumber = 10;
1949 bool java_multiple_files() const; 2143 bool java_multiple_files() const;
1950 void set_java_multiple_files(bool value); 2144 void set_java_multiple_files(bool value);
1951 2145
1952 // optional bool java_generate_equals_and_hash = 20 [default = false]; 2146 // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
1953 bool has_java_generate_equals_and_hash() const; 2147 GOOGLE_PROTOBUF_DEPRECATED_ATTR bool has_java_generate_equals_and_hash() const ;
1954 void clear_java_generate_equals_and_hash(); 2148 GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_java_generate_equals_and_hash();
1955 static const int kJavaGenerateEqualsAndHashFieldNumber = 20; 2149 GOOGLE_PROTOBUF_DEPRECATED_ATTR static const int kJavaGenerateEqualsAndHashFie ldNumber = 20;
1956 bool java_generate_equals_and_hash() const; 2150 GOOGLE_PROTOBUF_DEPRECATED_ATTR bool java_generate_equals_and_hash() const;
1957 void set_java_generate_equals_and_hash(bool value); 2151 GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_java_generate_equals_and_hash(bool va lue);
1958 2152
1959 // optional bool java_string_check_utf8 = 27 [default = false]; 2153 // optional bool java_string_check_utf8 = 27 [default = false];
1960 bool has_java_string_check_utf8() const; 2154 bool has_java_string_check_utf8() const;
1961 void clear_java_string_check_utf8(); 2155 void clear_java_string_check_utf8();
1962 static const int kJavaStringCheckUtf8FieldNumber = 27; 2156 static const int kJavaStringCheckUtf8FieldNumber = 27;
1963 bool java_string_check_utf8() const; 2157 bool java_string_check_utf8() const;
1964 void set_java_string_check_utf8(bool value); 2158 void set_java_string_check_utf8(bool value);
1965 2159
1966 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [defaul t = SPEED]; 2160 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [defaul t = SPEED];
1967 bool has_optimize_for() const; 2161 bool has_optimize_for() const;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
2034 void clear_csharp_namespace(); 2228 void clear_csharp_namespace();
2035 static const int kCsharpNamespaceFieldNumber = 37; 2229 static const int kCsharpNamespaceFieldNumber = 37;
2036 const ::std::string& csharp_namespace() const; 2230 const ::std::string& csharp_namespace() const;
2037 void set_csharp_namespace(const ::std::string& value); 2231 void set_csharp_namespace(const ::std::string& value);
2038 void set_csharp_namespace(const char* value); 2232 void set_csharp_namespace(const char* value);
2039 void set_csharp_namespace(const char* value, size_t size); 2233 void set_csharp_namespace(const char* value, size_t size);
2040 ::std::string* mutable_csharp_namespace(); 2234 ::std::string* mutable_csharp_namespace();
2041 ::std::string* release_csharp_namespace(); 2235 ::std::string* release_csharp_namespace();
2042 void set_allocated_csharp_namespace(::std::string* csharp_namespace); 2236 void set_allocated_csharp_namespace(::std::string* csharp_namespace);
2043 2237
2238 // optional string swift_prefix = 39;
2239 bool has_swift_prefix() const;
2240 void clear_swift_prefix();
2241 static const int kSwiftPrefixFieldNumber = 39;
2242 const ::std::string& swift_prefix() const;
2243 void set_swift_prefix(const ::std::string& value);
2244 void set_swift_prefix(const char* value);
2245 void set_swift_prefix(const char* value, size_t size);
2246 ::std::string* mutable_swift_prefix();
2247 ::std::string* release_swift_prefix();
2248 void set_allocated_swift_prefix(::std::string* swift_prefix);
2249
2044 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 2250 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2045 int uninterpreted_option_size() const; 2251 int uninterpreted_option_size() const;
2046 void clear_uninterpreted_option(); 2252 void clear_uninterpreted_option();
2047 static const int kUninterpretedOptionFieldNumber = 999; 2253 static const int kUninterpretedOptionFieldNumber = 999;
2048 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; 2254 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2049 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x); 2255 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x);
2050 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); 2256 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2051 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* 2257 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2052 mutable_uninterpreted_option(); 2258 mutable_uninterpreted_option();
2053 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >& 2259 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >&
2054 uninterpreted_option() const; 2260 uninterpreted_option() const;
2055 2261
2056 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions) 2262 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions)
2057 // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions) 2263 // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions)
2058 private: 2264 private:
2059 inline void set_has_java_package(); 2265 void set_has_java_package();
2060 inline void clear_has_java_package(); 2266 void clear_has_java_package();
2061 inline void set_has_java_outer_classname(); 2267 void set_has_java_outer_classname();
2062 inline void clear_has_java_outer_classname(); 2268 void clear_has_java_outer_classname();
2063 inline void set_has_java_multiple_files(); 2269 void set_has_java_multiple_files();
2064 inline void clear_has_java_multiple_files(); 2270 void clear_has_java_multiple_files();
2065 inline void set_has_java_generate_equals_and_hash(); 2271 void set_has_java_generate_equals_and_hash();
2066 inline void clear_has_java_generate_equals_and_hash(); 2272 void clear_has_java_generate_equals_and_hash();
2067 inline void set_has_java_string_check_utf8(); 2273 void set_has_java_string_check_utf8();
2068 inline void clear_has_java_string_check_utf8(); 2274 void clear_has_java_string_check_utf8();
2069 inline void set_has_optimize_for(); 2275 void set_has_optimize_for();
2070 inline void clear_has_optimize_for(); 2276 void clear_has_optimize_for();
2071 inline void set_has_go_package(); 2277 void set_has_go_package();
2072 inline void clear_has_go_package(); 2278 void clear_has_go_package();
2073 inline void set_has_cc_generic_services(); 2279 void set_has_cc_generic_services();
2074 inline void clear_has_cc_generic_services(); 2280 void clear_has_cc_generic_services();
2075 inline void set_has_java_generic_services(); 2281 void set_has_java_generic_services();
2076 inline void clear_has_java_generic_services(); 2282 void clear_has_java_generic_services();
2077 inline void set_has_py_generic_services(); 2283 void set_has_py_generic_services();
2078 inline void clear_has_py_generic_services(); 2284 void clear_has_py_generic_services();
2079 inline void set_has_deprecated(); 2285 void set_has_deprecated();
2080 inline void clear_has_deprecated(); 2286 void clear_has_deprecated();
2081 inline void set_has_cc_enable_arenas(); 2287 void set_has_cc_enable_arenas();
2082 inline void clear_has_cc_enable_arenas(); 2288 void clear_has_cc_enable_arenas();
2083 inline void set_has_objc_class_prefix(); 2289 void set_has_objc_class_prefix();
2084 inline void clear_has_objc_class_prefix(); 2290 void clear_has_objc_class_prefix();
2085 inline void set_has_csharp_namespace(); 2291 void set_has_csharp_namespace();
2086 inline void clear_has_csharp_namespace(); 2292 void clear_has_csharp_namespace();
2293 void set_has_swift_prefix();
2294 void clear_has_swift_prefix();
2087 2295
2088 ::google::protobuf::internal::ExtensionSet _extensions_; 2296 ::google::protobuf::internal::ExtensionSet _extensions_;
2089 2297
2090 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 2298 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2091 ::google::protobuf::uint32 _has_bits_[1]; 2299 ::google::protobuf::internal::HasBits<1> _has_bits_;
2092 mutable int _cached_size_; 2300 mutable int _cached_size_;
2301 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2093 ::google::protobuf::internal::ArenaStringPtr java_package_; 2302 ::google::protobuf::internal::ArenaStringPtr java_package_;
2094 ::google::protobuf::internal::ArenaStringPtr java_outer_classname_; 2303 ::google::protobuf::internal::ArenaStringPtr java_outer_classname_;
2304 ::google::protobuf::internal::ArenaStringPtr go_package_;
2305 ::google::protobuf::internal::ArenaStringPtr objc_class_prefix_;
2306 ::google::protobuf::internal::ArenaStringPtr csharp_namespace_;
2307 ::google::protobuf::internal::ArenaStringPtr swift_prefix_;
2095 bool java_multiple_files_; 2308 bool java_multiple_files_;
2096 bool java_generate_equals_and_hash_; 2309 bool java_generate_equals_and_hash_;
2097 bool java_string_check_utf8_; 2310 bool java_string_check_utf8_;
2098 bool cc_generic_services_; 2311 bool cc_generic_services_;
2099 int optimize_for_;
2100 ::google::protobuf::internal::ArenaStringPtr go_package_;
2101 ::google::protobuf::internal::ArenaStringPtr objc_class_prefix_;
2102 ::google::protobuf::internal::ArenaStringPtr csharp_namespace_;
2103 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2104 bool java_generic_services_; 2312 bool java_generic_services_;
2105 bool py_generic_services_; 2313 bool py_generic_services_;
2106 bool deprecated_; 2314 bool deprecated_;
2107 bool cc_enable_arenas_; 2315 bool cc_enable_arenas_;
2108 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 2316 int optimize_for_;
2109 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 2317 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
2318 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
2319 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
2110 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 2320 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2111 2321
2112 void InitAsDefaultInstance();
2113 static FileOptions* default_instance_;
2114 }; 2322 };
2115 // ------------------------------------------------------------------- 2323 // -------------------------------------------------------------------
2116 2324
2117 class LIBPROTOBUF_EXPORT MessageOptions : public ::google::protobuf::Message { 2325 class LIBPROTOBUF_EXPORT MessageOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MessageOptions) */ {
2118 public: 2326 public:
2119 MessageOptions(); 2327 MessageOptions();
2120 virtual ~MessageOptions(); 2328 virtual ~MessageOptions();
2121 2329
2122 MessageOptions(const MessageOptions& from); 2330 MessageOptions(const MessageOptions& from);
2123 2331
2124 inline MessageOptions& operator=(const MessageOptions& from) { 2332 inline MessageOptions& operator=(const MessageOptions& from) {
2125 CopyFrom(from); 2333 CopyFrom(from);
2126 return *this; 2334 return *this;
2127 } 2335 }
2128 2336
2129 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 2337 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2130 return _internal_metadata_.unknown_fields(); 2338 return _internal_metadata_.unknown_fields();
2131 } 2339 }
2132 2340
2133 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 2341 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2134 return _internal_metadata_.mutable_unknown_fields(); 2342 return _internal_metadata_.mutable_unknown_fields();
2135 } 2343 }
2136 2344
2137 static const ::google::protobuf::Descriptor* descriptor(); 2345 static const ::google::protobuf::Descriptor* descriptor();
2138 static const MessageOptions& default_instance(); 2346 static const MessageOptions& default_instance();
2139 2347
2348 static inline const MessageOptions* internal_default_instance() {
2349 return reinterpret_cast<const MessageOptions*>(
2350 &_MessageOptions_default_instance_);
2351 }
2352
2140 void Swap(MessageOptions* other); 2353 void Swap(MessageOptions* other);
2141 2354
2142 // implements Message ---------------------------------------------- 2355 // implements Message ----------------------------------------------
2143 2356
2144 inline MessageOptions* New() const { return New(NULL); } 2357 inline MessageOptions* New() const PROTOBUF_FINAL { return New(NULL); }
2145 2358
2146 MessageOptions* New(::google::protobuf::Arena* arena) const; 2359 MessageOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2147 void CopyFrom(const ::google::protobuf::Message& from); 2360 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2148 void MergeFrom(const ::google::protobuf::Message& from); 2361 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2149 void CopyFrom(const MessageOptions& from); 2362 void CopyFrom(const MessageOptions& from);
2150 void MergeFrom(const MessageOptions& from); 2363 void MergeFrom(const MessageOptions& from);
2151 void Clear(); 2364 void Clear() PROTOBUF_FINAL;
2152 bool IsInitialized() const; 2365 bool IsInitialized() const PROTOBUF_FINAL;
2153 2366
2154 int ByteSize() const; 2367 size_t ByteSizeLong() const PROTOBUF_FINAL;
2155 bool MergePartialFromCodedStream( 2368 bool MergePartialFromCodedStream(
2156 ::google::protobuf::io::CodedInputStream* input); 2369 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2157 void SerializeWithCachedSizes( 2370 void SerializeWithCachedSizes(
2158 ::google::protobuf::io::CodedOutputStream* output) const; 2371 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2159 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 2372 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2160 int GetCachedSize() const { return _cached_size_; } 2373 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
2374 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
2375 const PROTOBUF_FINAL {
2376 return InternalSerializeWithCachedSizesToArray(false, output);
2377 }
2378 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2161 private: 2379 private:
2162 void SharedCtor(); 2380 void SharedCtor();
2163 void SharedDtor(); 2381 void SharedDtor();
2164 void SetCachedSize(int size) const; 2382 void SetCachedSize(int size) const PROTOBUF_FINAL;
2165 void InternalSwap(MessageOptions* other); 2383 void InternalSwap(MessageOptions* other);
2166 private: 2384 private:
2167 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 2385 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2168 return _internal_metadata_.arena(); 2386 return NULL;
2169 } 2387 }
2170 inline void* MaybeArenaPtr() const { 2388 inline void* MaybeArenaPtr() const {
2171 return _internal_metadata_.raw_arena_ptr(); 2389 return NULL;
2172 } 2390 }
2173 public: 2391 public:
2174 2392
2175 ::google::protobuf::Metadata GetMetadata() const; 2393 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2176 2394
2177 // nested types ---------------------------------------------------- 2395 // nested types ----------------------------------------------------
2178 2396
2179 // accessors ------------------------------------------------------- 2397 // accessors -------------------------------------------------------
2180 2398
2181 // optional bool message_set_wire_format = 1 [default = false]; 2399 // optional bool message_set_wire_format = 1 [default = false];
2182 bool has_message_set_wire_format() const; 2400 bool has_message_set_wire_format() const;
2183 void clear_message_set_wire_format(); 2401 void clear_message_set_wire_format();
2184 static const int kMessageSetWireFormatFieldNumber = 1; 2402 static const int kMessageSetWireFormatFieldNumber = 1;
2185 bool message_set_wire_format() const; 2403 bool message_set_wire_format() const;
(...skipping 28 matching lines...) Expand all
2214 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x); 2432 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x);
2215 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); 2433 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2216 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* 2434 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2217 mutable_uninterpreted_option(); 2435 mutable_uninterpreted_option();
2218 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >& 2436 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >&
2219 uninterpreted_option() const; 2437 uninterpreted_option() const;
2220 2438
2221 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions) 2439 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions)
2222 // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions) 2440 // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions)
2223 private: 2441 private:
2224 inline void set_has_message_set_wire_format(); 2442 void set_has_message_set_wire_format();
2225 inline void clear_has_message_set_wire_format(); 2443 void clear_has_message_set_wire_format();
2226 inline void set_has_no_standard_descriptor_accessor(); 2444 void set_has_no_standard_descriptor_accessor();
2227 inline void clear_has_no_standard_descriptor_accessor(); 2445 void clear_has_no_standard_descriptor_accessor();
2228 inline void set_has_deprecated(); 2446 void set_has_deprecated();
2229 inline void clear_has_deprecated(); 2447 void clear_has_deprecated();
2230 inline void set_has_map_entry(); 2448 void set_has_map_entry();
2231 inline void clear_has_map_entry(); 2449 void clear_has_map_entry();
2232 2450
2233 ::google::protobuf::internal::ExtensionSet _extensions_; 2451 ::google::protobuf::internal::ExtensionSet _extensions_;
2234 2452
2235 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 2453 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2236 ::google::protobuf::uint32 _has_bits_[1]; 2454 ::google::protobuf::internal::HasBits<1> _has_bits_;
2237 mutable int _cached_size_; 2455 mutable int _cached_size_;
2238 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; 2456 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2239 bool message_set_wire_format_; 2457 bool message_set_wire_format_;
2240 bool no_standard_descriptor_accessor_; 2458 bool no_standard_descriptor_accessor_;
2241 bool deprecated_; 2459 bool deprecated_;
2242 bool map_entry_; 2460 bool map_entry_;
2243 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 2461 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
2244 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 2462 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
2463 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
2245 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 2464 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2246 2465
2247 void InitAsDefaultInstance();
2248 static MessageOptions* default_instance_;
2249 }; 2466 };
2250 // ------------------------------------------------------------------- 2467 // -------------------------------------------------------------------
2251 2468
2252 class LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message { 2469 class LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message /* @@ protoc_insertion_point(class_definition:google.protobuf.FieldOptions) */ {
2253 public: 2470 public:
2254 FieldOptions(); 2471 FieldOptions();
2255 virtual ~FieldOptions(); 2472 virtual ~FieldOptions();
2256 2473
2257 FieldOptions(const FieldOptions& from); 2474 FieldOptions(const FieldOptions& from);
2258 2475
2259 inline FieldOptions& operator=(const FieldOptions& from) { 2476 inline FieldOptions& operator=(const FieldOptions& from) {
2260 CopyFrom(from); 2477 CopyFrom(from);
2261 return *this; 2478 return *this;
2262 } 2479 }
2263 2480
2264 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 2481 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2265 return _internal_metadata_.unknown_fields(); 2482 return _internal_metadata_.unknown_fields();
2266 } 2483 }
2267 2484
2268 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 2485 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2269 return _internal_metadata_.mutable_unknown_fields(); 2486 return _internal_metadata_.mutable_unknown_fields();
2270 } 2487 }
2271 2488
2272 static const ::google::protobuf::Descriptor* descriptor(); 2489 static const ::google::protobuf::Descriptor* descriptor();
2273 static const FieldOptions& default_instance(); 2490 static const FieldOptions& default_instance();
2274 2491
2492 static inline const FieldOptions* internal_default_instance() {
2493 return reinterpret_cast<const FieldOptions*>(
2494 &_FieldOptions_default_instance_);
2495 }
2496
2275 void Swap(FieldOptions* other); 2497 void Swap(FieldOptions* other);
2276 2498
2277 // implements Message ---------------------------------------------- 2499 // implements Message ----------------------------------------------
2278 2500
2279 inline FieldOptions* New() const { return New(NULL); } 2501 inline FieldOptions* New() const PROTOBUF_FINAL { return New(NULL); }
2280 2502
2281 FieldOptions* New(::google::protobuf::Arena* arena) const; 2503 FieldOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2282 void CopyFrom(const ::google::protobuf::Message& from); 2504 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2283 void MergeFrom(const ::google::protobuf::Message& from); 2505 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2284 void CopyFrom(const FieldOptions& from); 2506 void CopyFrom(const FieldOptions& from);
2285 void MergeFrom(const FieldOptions& from); 2507 void MergeFrom(const FieldOptions& from);
2286 void Clear(); 2508 void Clear() PROTOBUF_FINAL;
2287 bool IsInitialized() const; 2509 bool IsInitialized() const PROTOBUF_FINAL;
2288 2510
2289 int ByteSize() const; 2511 size_t ByteSizeLong() const PROTOBUF_FINAL;
2290 bool MergePartialFromCodedStream( 2512 bool MergePartialFromCodedStream(
2291 ::google::protobuf::io::CodedInputStream* input); 2513 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2292 void SerializeWithCachedSizes( 2514 void SerializeWithCachedSizes(
2293 ::google::protobuf::io::CodedOutputStream* output) const; 2515 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2294 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 2516 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2295 int GetCachedSize() const { return _cached_size_; } 2517 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
2518 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
2519 const PROTOBUF_FINAL {
2520 return InternalSerializeWithCachedSizesToArray(false, output);
2521 }
2522 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2296 private: 2523 private:
2297 void SharedCtor(); 2524 void SharedCtor();
2298 void SharedDtor(); 2525 void SharedDtor();
2299 void SetCachedSize(int size) const; 2526 void SetCachedSize(int size) const PROTOBUF_FINAL;
2300 void InternalSwap(FieldOptions* other); 2527 void InternalSwap(FieldOptions* other);
2301 private: 2528 private:
2302 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 2529 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2303 return _internal_metadata_.arena(); 2530 return NULL;
2304 } 2531 }
2305 inline void* MaybeArenaPtr() const { 2532 inline void* MaybeArenaPtr() const {
2306 return _internal_metadata_.raw_arena_ptr(); 2533 return NULL;
2307 } 2534 }
2308 public: 2535 public:
2309 2536
2310 ::google::protobuf::Metadata GetMetadata() const; 2537 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2311 2538
2312 // nested types ---------------------------------------------------- 2539 // nested types ----------------------------------------------------
2313 2540
2314 typedef FieldOptions_CType CType; 2541 typedef FieldOptions_CType CType;
2315 static const CType STRING = 2542 static const CType STRING =
2316 FieldOptions_CType_STRING; 2543 FieldOptions_CType_STRING;
2317 static const CType CORD = 2544 static const CType CORD =
2318 FieldOptions_CType_CORD; 2545 FieldOptions_CType_CORD;
2319 static const CType STRING_PIECE = 2546 static const CType STRING_PIECE =
2320 FieldOptions_CType_STRING_PIECE; 2547 FieldOptions_CType_STRING_PIECE;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
2419 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x); 2646 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x);
2420 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); 2647 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2421 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* 2648 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2422 mutable_uninterpreted_option(); 2649 mutable_uninterpreted_option();
2423 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >& 2650 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >&
2424 uninterpreted_option() const; 2651 uninterpreted_option() const;
2425 2652
2426 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions) 2653 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions)
2427 // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions) 2654 // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions)
2428 private: 2655 private:
2429 inline void set_has_ctype(); 2656 void set_has_ctype();
2430 inline void clear_has_ctype(); 2657 void clear_has_ctype();
2431 inline void set_has_packed(); 2658 void set_has_packed();
2432 inline void clear_has_packed(); 2659 void clear_has_packed();
2433 inline void set_has_jstype(); 2660 void set_has_jstype();
2434 inline void clear_has_jstype(); 2661 void clear_has_jstype();
2435 inline void set_has_lazy(); 2662 void set_has_lazy();
2436 inline void clear_has_lazy(); 2663 void clear_has_lazy();
2437 inline void set_has_deprecated(); 2664 void set_has_deprecated();
2438 inline void clear_has_deprecated(); 2665 void clear_has_deprecated();
2439 inline void set_has_weak(); 2666 void set_has_weak();
2440 inline void clear_has_weak(); 2667 void clear_has_weak();
2441 2668
2442 ::google::protobuf::internal::ExtensionSet _extensions_; 2669 ::google::protobuf::internal::ExtensionSet _extensions_;
2443 2670
2444 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 2671 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2445 ::google::protobuf::uint32 _has_bits_[1]; 2672 ::google::protobuf::internal::HasBits<1> _has_bits_;
2446 mutable int _cached_size_; 2673 mutable int _cached_size_;
2674 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2447 int ctype_; 2675 int ctype_;
2448 int jstype_; 2676 int jstype_;
2449 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2450 bool packed_; 2677 bool packed_;
2451 bool lazy_; 2678 bool lazy_;
2452 bool deprecated_; 2679 bool deprecated_;
2453 bool weak_; 2680 bool weak_;
2454 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 2681 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
2455 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 2682 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
2683 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
2456 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 2684 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2457 2685
2458 void InitAsDefaultInstance();
2459 static FieldOptions* default_instance_;
2460 }; 2686 };
2461 // ------------------------------------------------------------------- 2687 // -------------------------------------------------------------------
2462 2688
2463 class LIBPROTOBUF_EXPORT EnumOptions : public ::google::protobuf::Message { 2689 class LIBPROTOBUF_EXPORT OneofOptions : public ::google::protobuf::Message /* @@ protoc_insertion_point(class_definition:google.protobuf.OneofOptions) */ {
2690 public:
2691 OneofOptions();
2692 virtual ~OneofOptions();
2693
2694 OneofOptions(const OneofOptions& from);
2695
2696 inline OneofOptions& operator=(const OneofOptions& from) {
2697 CopyFrom(from);
2698 return *this;
2699 }
2700
2701 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2702 return _internal_metadata_.unknown_fields();
2703 }
2704
2705 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2706 return _internal_metadata_.mutable_unknown_fields();
2707 }
2708
2709 static const ::google::protobuf::Descriptor* descriptor();
2710 static const OneofOptions& default_instance();
2711
2712 static inline const OneofOptions* internal_default_instance() {
2713 return reinterpret_cast<const OneofOptions*>(
2714 &_OneofOptions_default_instance_);
2715 }
2716
2717 void Swap(OneofOptions* other);
2718
2719 // implements Message ----------------------------------------------
2720
2721 inline OneofOptions* New() const PROTOBUF_FINAL { return New(NULL); }
2722
2723 OneofOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2724 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2725 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2726 void CopyFrom(const OneofOptions& from);
2727 void MergeFrom(const OneofOptions& from);
2728 void Clear() PROTOBUF_FINAL;
2729 bool IsInitialized() const PROTOBUF_FINAL;
2730
2731 size_t ByteSizeLong() const PROTOBUF_FINAL;
2732 bool MergePartialFromCodedStream(
2733 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2734 void SerializeWithCachedSizes(
2735 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2736 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2737 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
2738 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
2739 const PROTOBUF_FINAL {
2740 return InternalSerializeWithCachedSizesToArray(false, output);
2741 }
2742 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2743 private:
2744 void SharedCtor();
2745 void SharedDtor();
2746 void SetCachedSize(int size) const PROTOBUF_FINAL;
2747 void InternalSwap(OneofOptions* other);
2748 private:
2749 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2750 return NULL;
2751 }
2752 inline void* MaybeArenaPtr() const {
2753 return NULL;
2754 }
2755 public:
2756
2757 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2758
2759 // nested types ----------------------------------------------------
2760
2761 // accessors -------------------------------------------------------
2762
2763 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2764 int uninterpreted_option_size() const;
2765 void clear_uninterpreted_option();
2766 static const int kUninterpretedOptionFieldNumber = 999;
2767 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2768 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x);
2769 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2770 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2771 mutable_uninterpreted_option();
2772 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >&
2773 uninterpreted_option() const;
2774
2775 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(OneofOptions)
2776 // @@protoc_insertion_point(class_scope:google.protobuf.OneofOptions)
2777 private:
2778
2779 ::google::protobuf::internal::ExtensionSet _extensions_;
2780
2781 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2782 ::google::protobuf::internal::HasBits<1> _has_bits_;
2783 mutable int _cached_size_;
2784 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2785 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
2786 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
2787 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
2788 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2789
2790 };
2791 // -------------------------------------------------------------------
2792
2793 class LIBPROTOBUF_EXPORT EnumOptions : public ::google::protobuf::Message /* @@p rotoc_insertion_point(class_definition:google.protobuf.EnumOptions) */ {
2464 public: 2794 public:
2465 EnumOptions(); 2795 EnumOptions();
2466 virtual ~EnumOptions(); 2796 virtual ~EnumOptions();
2467 2797
2468 EnumOptions(const EnumOptions& from); 2798 EnumOptions(const EnumOptions& from);
2469 2799
2470 inline EnumOptions& operator=(const EnumOptions& from) { 2800 inline EnumOptions& operator=(const EnumOptions& from) {
2471 CopyFrom(from); 2801 CopyFrom(from);
2472 return *this; 2802 return *this;
2473 } 2803 }
2474 2804
2475 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 2805 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2476 return _internal_metadata_.unknown_fields(); 2806 return _internal_metadata_.unknown_fields();
2477 } 2807 }
2478 2808
2479 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 2809 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2480 return _internal_metadata_.mutable_unknown_fields(); 2810 return _internal_metadata_.mutable_unknown_fields();
2481 } 2811 }
2482 2812
2483 static const ::google::protobuf::Descriptor* descriptor(); 2813 static const ::google::protobuf::Descriptor* descriptor();
2484 static const EnumOptions& default_instance(); 2814 static const EnumOptions& default_instance();
2485 2815
2816 static inline const EnumOptions* internal_default_instance() {
2817 return reinterpret_cast<const EnumOptions*>(
2818 &_EnumOptions_default_instance_);
2819 }
2820
2486 void Swap(EnumOptions* other); 2821 void Swap(EnumOptions* other);
2487 2822
2488 // implements Message ---------------------------------------------- 2823 // implements Message ----------------------------------------------
2489 2824
2490 inline EnumOptions* New() const { return New(NULL); } 2825 inline EnumOptions* New() const PROTOBUF_FINAL { return New(NULL); }
2491 2826
2492 EnumOptions* New(::google::protobuf::Arena* arena) const; 2827 EnumOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2493 void CopyFrom(const ::google::protobuf::Message& from); 2828 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2494 void MergeFrom(const ::google::protobuf::Message& from); 2829 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2495 void CopyFrom(const EnumOptions& from); 2830 void CopyFrom(const EnumOptions& from);
2496 void MergeFrom(const EnumOptions& from); 2831 void MergeFrom(const EnumOptions& from);
2497 void Clear(); 2832 void Clear() PROTOBUF_FINAL;
2498 bool IsInitialized() const; 2833 bool IsInitialized() const PROTOBUF_FINAL;
2499 2834
2500 int ByteSize() const; 2835 size_t ByteSizeLong() const PROTOBUF_FINAL;
2501 bool MergePartialFromCodedStream( 2836 bool MergePartialFromCodedStream(
2502 ::google::protobuf::io::CodedInputStream* input); 2837 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2503 void SerializeWithCachedSizes( 2838 void SerializeWithCachedSizes(
2504 ::google::protobuf::io::CodedOutputStream* output) const; 2839 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2505 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 2840 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2506 int GetCachedSize() const { return _cached_size_; } 2841 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
2842 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
2843 const PROTOBUF_FINAL {
2844 return InternalSerializeWithCachedSizesToArray(false, output);
2845 }
2846 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2507 private: 2847 private:
2508 void SharedCtor(); 2848 void SharedCtor();
2509 void SharedDtor(); 2849 void SharedDtor();
2510 void SetCachedSize(int size) const; 2850 void SetCachedSize(int size) const PROTOBUF_FINAL;
2511 void InternalSwap(EnumOptions* other); 2851 void InternalSwap(EnumOptions* other);
2512 private: 2852 private:
2513 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 2853 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2514 return _internal_metadata_.arena(); 2854 return NULL;
2515 } 2855 }
2516 inline void* MaybeArenaPtr() const { 2856 inline void* MaybeArenaPtr() const {
2517 return _internal_metadata_.raw_arena_ptr(); 2857 return NULL;
2518 } 2858 }
2519 public: 2859 public:
2520 2860
2521 ::google::protobuf::Metadata GetMetadata() const; 2861 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2522 2862
2523 // nested types ---------------------------------------------------- 2863 // nested types ----------------------------------------------------
2524 2864
2525 // accessors ------------------------------------------------------- 2865 // accessors -------------------------------------------------------
2526 2866
2527 // optional bool allow_alias = 2; 2867 // optional bool allow_alias = 2;
2528 bool has_allow_alias() const; 2868 bool has_allow_alias() const;
2529 void clear_allow_alias(); 2869 void clear_allow_alias();
2530 static const int kAllowAliasFieldNumber = 2; 2870 static const int kAllowAliasFieldNumber = 2;
2531 bool allow_alias() const; 2871 bool allow_alias() const;
(...skipping 14 matching lines...) Expand all
2546 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x); 2886 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x);
2547 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); 2887 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2548 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* 2888 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2549 mutable_uninterpreted_option(); 2889 mutable_uninterpreted_option();
2550 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >& 2890 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >&
2551 uninterpreted_option() const; 2891 uninterpreted_option() const;
2552 2892
2553 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions) 2893 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions)
2554 // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions) 2894 // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions)
2555 private: 2895 private:
2556 inline void set_has_allow_alias(); 2896 void set_has_allow_alias();
2557 inline void clear_has_allow_alias(); 2897 void clear_has_allow_alias();
2558 inline void set_has_deprecated(); 2898 void set_has_deprecated();
2559 inline void clear_has_deprecated(); 2899 void clear_has_deprecated();
2560 2900
2561 ::google::protobuf::internal::ExtensionSet _extensions_; 2901 ::google::protobuf::internal::ExtensionSet _extensions_;
2562 2902
2563 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 2903 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2564 ::google::protobuf::uint32 _has_bits_[1]; 2904 ::google::protobuf::internal::HasBits<1> _has_bits_;
2565 mutable int _cached_size_; 2905 mutable int _cached_size_;
2566 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; 2906 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2567 bool allow_alias_; 2907 bool allow_alias_;
2568 bool deprecated_; 2908 bool deprecated_;
2569 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 2909 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
2570 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 2910 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
2911 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
2571 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 2912 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2572 2913
2573 void InitAsDefaultInstance();
2574 static EnumOptions* default_instance_;
2575 }; 2914 };
2576 // ------------------------------------------------------------------- 2915 // -------------------------------------------------------------------
2577 2916
2578 class LIBPROTOBUF_EXPORT EnumValueOptions : public ::google::protobuf::Message { 2917 class LIBPROTOBUF_EXPORT EnumValueOptions : public ::google::protobuf::Message / * @@protoc_insertion_point(class_definition:google.protobuf.EnumValueOptions) */ {
2579 public: 2918 public:
2580 EnumValueOptions(); 2919 EnumValueOptions();
2581 virtual ~EnumValueOptions(); 2920 virtual ~EnumValueOptions();
2582 2921
2583 EnumValueOptions(const EnumValueOptions& from); 2922 EnumValueOptions(const EnumValueOptions& from);
2584 2923
2585 inline EnumValueOptions& operator=(const EnumValueOptions& from) { 2924 inline EnumValueOptions& operator=(const EnumValueOptions& from) {
2586 CopyFrom(from); 2925 CopyFrom(from);
2587 return *this; 2926 return *this;
2588 } 2927 }
2589 2928
2590 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 2929 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2591 return _internal_metadata_.unknown_fields(); 2930 return _internal_metadata_.unknown_fields();
2592 } 2931 }
2593 2932
2594 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 2933 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2595 return _internal_metadata_.mutable_unknown_fields(); 2934 return _internal_metadata_.mutable_unknown_fields();
2596 } 2935 }
2597 2936
2598 static const ::google::protobuf::Descriptor* descriptor(); 2937 static const ::google::protobuf::Descriptor* descriptor();
2599 static const EnumValueOptions& default_instance(); 2938 static const EnumValueOptions& default_instance();
2600 2939
2940 static inline const EnumValueOptions* internal_default_instance() {
2941 return reinterpret_cast<const EnumValueOptions*>(
2942 &_EnumValueOptions_default_instance_);
2943 }
2944
2601 void Swap(EnumValueOptions* other); 2945 void Swap(EnumValueOptions* other);
2602 2946
2603 // implements Message ---------------------------------------------- 2947 // implements Message ----------------------------------------------
2604 2948
2605 inline EnumValueOptions* New() const { return New(NULL); } 2949 inline EnumValueOptions* New() const PROTOBUF_FINAL { return New(NULL); }
2606 2950
2607 EnumValueOptions* New(::google::protobuf::Arena* arena) const; 2951 EnumValueOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2608 void CopyFrom(const ::google::protobuf::Message& from); 2952 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2609 void MergeFrom(const ::google::protobuf::Message& from); 2953 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2610 void CopyFrom(const EnumValueOptions& from); 2954 void CopyFrom(const EnumValueOptions& from);
2611 void MergeFrom(const EnumValueOptions& from); 2955 void MergeFrom(const EnumValueOptions& from);
2612 void Clear(); 2956 void Clear() PROTOBUF_FINAL;
2613 bool IsInitialized() const; 2957 bool IsInitialized() const PROTOBUF_FINAL;
2614 2958
2615 int ByteSize() const; 2959 size_t ByteSizeLong() const PROTOBUF_FINAL;
2616 bool MergePartialFromCodedStream( 2960 bool MergePartialFromCodedStream(
2617 ::google::protobuf::io::CodedInputStream* input); 2961 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2618 void SerializeWithCachedSizes( 2962 void SerializeWithCachedSizes(
2619 ::google::protobuf::io::CodedOutputStream* output) const; 2963 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2620 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 2964 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2621 int GetCachedSize() const { return _cached_size_; } 2965 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
2966 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
2967 const PROTOBUF_FINAL {
2968 return InternalSerializeWithCachedSizesToArray(false, output);
2969 }
2970 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2622 private: 2971 private:
2623 void SharedCtor(); 2972 void SharedCtor();
2624 void SharedDtor(); 2973 void SharedDtor();
2625 void SetCachedSize(int size) const; 2974 void SetCachedSize(int size) const PROTOBUF_FINAL;
2626 void InternalSwap(EnumValueOptions* other); 2975 void InternalSwap(EnumValueOptions* other);
2627 private: 2976 private:
2628 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 2977 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2629 return _internal_metadata_.arena(); 2978 return NULL;
2630 } 2979 }
2631 inline void* MaybeArenaPtr() const { 2980 inline void* MaybeArenaPtr() const {
2632 return _internal_metadata_.raw_arena_ptr(); 2981 return NULL;
2633 } 2982 }
2634 public: 2983 public:
2635 2984
2636 ::google::protobuf::Metadata GetMetadata() const; 2985 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2637 2986
2638 // nested types ---------------------------------------------------- 2987 // nested types ----------------------------------------------------
2639 2988
2640 // accessors ------------------------------------------------------- 2989 // accessors -------------------------------------------------------
2641 2990
2642 // optional bool deprecated = 1 [default = false]; 2991 // optional bool deprecated = 1 [default = false];
2643 bool has_deprecated() const; 2992 bool has_deprecated() const;
2644 void clear_deprecated(); 2993 void clear_deprecated();
2645 static const int kDeprecatedFieldNumber = 1; 2994 static const int kDeprecatedFieldNumber = 1;
2646 bool deprecated() const; 2995 bool deprecated() const;
2647 void set_deprecated(bool value); 2996 void set_deprecated(bool value);
2648 2997
2649 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 2998 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2650 int uninterpreted_option_size() const; 2999 int uninterpreted_option_size() const;
2651 void clear_uninterpreted_option(); 3000 void clear_uninterpreted_option();
2652 static const int kUninterpretedOptionFieldNumber = 999; 3001 static const int kUninterpretedOptionFieldNumber = 999;
2653 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; 3002 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2654 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x); 3003 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x);
2655 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); 3004 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2656 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* 3005 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2657 mutable_uninterpreted_option(); 3006 mutable_uninterpreted_option();
2658 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >& 3007 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >&
2659 uninterpreted_option() const; 3008 uninterpreted_option() const;
2660 3009
2661 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions) 3010 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions)
2662 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions) 3011 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions)
2663 private: 3012 private:
2664 inline void set_has_deprecated(); 3013 void set_has_deprecated();
2665 inline void clear_has_deprecated(); 3014 void clear_has_deprecated();
2666 3015
2667 ::google::protobuf::internal::ExtensionSet _extensions_; 3016 ::google::protobuf::internal::ExtensionSet _extensions_;
2668 3017
2669 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 3018 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2670 ::google::protobuf::uint32 _has_bits_[1]; 3019 ::google::protobuf::internal::HasBits<1> _has_bits_;
2671 mutable int _cached_size_; 3020 mutable int _cached_size_;
2672 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; 3021 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2673 bool deprecated_; 3022 bool deprecated_;
2674 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 3023 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
2675 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 3024 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
3025 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
2676 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 3026 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2677 3027
2678 void InitAsDefaultInstance();
2679 static EnumValueOptions* default_instance_;
2680 }; 3028 };
2681 // ------------------------------------------------------------------- 3029 // -------------------------------------------------------------------
2682 3030
2683 class LIBPROTOBUF_EXPORT ServiceOptions : public ::google::protobuf::Message { 3031 class LIBPROTOBUF_EXPORT ServiceOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceOptions) */ {
2684 public: 3032 public:
2685 ServiceOptions(); 3033 ServiceOptions();
2686 virtual ~ServiceOptions(); 3034 virtual ~ServiceOptions();
2687 3035
2688 ServiceOptions(const ServiceOptions& from); 3036 ServiceOptions(const ServiceOptions& from);
2689 3037
2690 inline ServiceOptions& operator=(const ServiceOptions& from) { 3038 inline ServiceOptions& operator=(const ServiceOptions& from) {
2691 CopyFrom(from); 3039 CopyFrom(from);
2692 return *this; 3040 return *this;
2693 } 3041 }
2694 3042
2695 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 3043 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2696 return _internal_metadata_.unknown_fields(); 3044 return _internal_metadata_.unknown_fields();
2697 } 3045 }
2698 3046
2699 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 3047 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2700 return _internal_metadata_.mutable_unknown_fields(); 3048 return _internal_metadata_.mutable_unknown_fields();
2701 } 3049 }
2702 3050
2703 static const ::google::protobuf::Descriptor* descriptor(); 3051 static const ::google::protobuf::Descriptor* descriptor();
2704 static const ServiceOptions& default_instance(); 3052 static const ServiceOptions& default_instance();
2705 3053
3054 static inline const ServiceOptions* internal_default_instance() {
3055 return reinterpret_cast<const ServiceOptions*>(
3056 &_ServiceOptions_default_instance_);
3057 }
3058
2706 void Swap(ServiceOptions* other); 3059 void Swap(ServiceOptions* other);
2707 3060
2708 // implements Message ---------------------------------------------- 3061 // implements Message ----------------------------------------------
2709 3062
2710 inline ServiceOptions* New() const { return New(NULL); } 3063 inline ServiceOptions* New() const PROTOBUF_FINAL { return New(NULL); }
2711 3064
2712 ServiceOptions* New(::google::protobuf::Arena* arena) const; 3065 ServiceOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2713 void CopyFrom(const ::google::protobuf::Message& from); 3066 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2714 void MergeFrom(const ::google::protobuf::Message& from); 3067 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2715 void CopyFrom(const ServiceOptions& from); 3068 void CopyFrom(const ServiceOptions& from);
2716 void MergeFrom(const ServiceOptions& from); 3069 void MergeFrom(const ServiceOptions& from);
2717 void Clear(); 3070 void Clear() PROTOBUF_FINAL;
2718 bool IsInitialized() const; 3071 bool IsInitialized() const PROTOBUF_FINAL;
2719 3072
2720 int ByteSize() const; 3073 size_t ByteSizeLong() const PROTOBUF_FINAL;
2721 bool MergePartialFromCodedStream( 3074 bool MergePartialFromCodedStream(
2722 ::google::protobuf::io::CodedInputStream* input); 3075 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2723 void SerializeWithCachedSizes( 3076 void SerializeWithCachedSizes(
2724 ::google::protobuf::io::CodedOutputStream* output) const; 3077 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2725 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 3078 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2726 int GetCachedSize() const { return _cached_size_; } 3079 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
3080 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
3081 const PROTOBUF_FINAL {
3082 return InternalSerializeWithCachedSizesToArray(false, output);
3083 }
3084 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2727 private: 3085 private:
2728 void SharedCtor(); 3086 void SharedCtor();
2729 void SharedDtor(); 3087 void SharedDtor();
2730 void SetCachedSize(int size) const; 3088 void SetCachedSize(int size) const PROTOBUF_FINAL;
2731 void InternalSwap(ServiceOptions* other); 3089 void InternalSwap(ServiceOptions* other);
2732 private: 3090 private:
2733 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 3091 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2734 return _internal_metadata_.arena(); 3092 return NULL;
2735 } 3093 }
2736 inline void* MaybeArenaPtr() const { 3094 inline void* MaybeArenaPtr() const {
2737 return _internal_metadata_.raw_arena_ptr(); 3095 return NULL;
2738 } 3096 }
2739 public: 3097 public:
2740 3098
2741 ::google::protobuf::Metadata GetMetadata() const; 3099 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2742 3100
2743 // nested types ---------------------------------------------------- 3101 // nested types ----------------------------------------------------
2744 3102
2745 // accessors ------------------------------------------------------- 3103 // accessors -------------------------------------------------------
2746 3104
2747 // optional bool deprecated = 33 [default = false]; 3105 // optional bool deprecated = 33 [default = false];
2748 bool has_deprecated() const; 3106 bool has_deprecated() const;
2749 void clear_deprecated(); 3107 void clear_deprecated();
2750 static const int kDeprecatedFieldNumber = 33; 3108 static const int kDeprecatedFieldNumber = 33;
2751 bool deprecated() const; 3109 bool deprecated() const;
2752 void set_deprecated(bool value); 3110 void set_deprecated(bool value);
2753 3111
2754 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 3112 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2755 int uninterpreted_option_size() const; 3113 int uninterpreted_option_size() const;
2756 void clear_uninterpreted_option(); 3114 void clear_uninterpreted_option();
2757 static const int kUninterpretedOptionFieldNumber = 999; 3115 static const int kUninterpretedOptionFieldNumber = 999;
2758 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; 3116 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2759 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x); 3117 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x);
2760 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); 3118 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2761 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* 3119 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2762 mutable_uninterpreted_option(); 3120 mutable_uninterpreted_option();
2763 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >& 3121 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >&
2764 uninterpreted_option() const; 3122 uninterpreted_option() const;
2765 3123
2766 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions) 3124 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions)
2767 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions) 3125 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions)
2768 private: 3126 private:
2769 inline void set_has_deprecated(); 3127 void set_has_deprecated();
2770 inline void clear_has_deprecated(); 3128 void clear_has_deprecated();
2771 3129
2772 ::google::protobuf::internal::ExtensionSet _extensions_; 3130 ::google::protobuf::internal::ExtensionSet _extensions_;
2773 3131
2774 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 3132 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2775 ::google::protobuf::uint32 _has_bits_[1]; 3133 ::google::protobuf::internal::HasBits<1> _has_bits_;
2776 mutable int _cached_size_; 3134 mutable int _cached_size_;
2777 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; 3135 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2778 bool deprecated_; 3136 bool deprecated_;
2779 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 3137 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
2780 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 3138 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
3139 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
2781 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 3140 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2782 3141
2783 void InitAsDefaultInstance();
2784 static ServiceOptions* default_instance_;
2785 }; 3142 };
2786 // ------------------------------------------------------------------- 3143 // -------------------------------------------------------------------
2787 3144
2788 class LIBPROTOBUF_EXPORT MethodOptions : public ::google::protobuf::Message { 3145 class LIBPROTOBUF_EXPORT MethodOptions : public ::google::protobuf::Message /* @ @protoc_insertion_point(class_definition:google.protobuf.MethodOptions) */ {
2789 public: 3146 public:
2790 MethodOptions(); 3147 MethodOptions();
2791 virtual ~MethodOptions(); 3148 virtual ~MethodOptions();
2792 3149
2793 MethodOptions(const MethodOptions& from); 3150 MethodOptions(const MethodOptions& from);
2794 3151
2795 inline MethodOptions& operator=(const MethodOptions& from) { 3152 inline MethodOptions& operator=(const MethodOptions& from) {
2796 CopyFrom(from); 3153 CopyFrom(from);
2797 return *this; 3154 return *this;
2798 } 3155 }
2799 3156
2800 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 3157 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2801 return _internal_metadata_.unknown_fields(); 3158 return _internal_metadata_.unknown_fields();
2802 } 3159 }
2803 3160
2804 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 3161 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2805 return _internal_metadata_.mutable_unknown_fields(); 3162 return _internal_metadata_.mutable_unknown_fields();
2806 } 3163 }
2807 3164
2808 static const ::google::protobuf::Descriptor* descriptor(); 3165 static const ::google::protobuf::Descriptor* descriptor();
2809 static const MethodOptions& default_instance(); 3166 static const MethodOptions& default_instance();
2810 3167
3168 static inline const MethodOptions* internal_default_instance() {
3169 return reinterpret_cast<const MethodOptions*>(
3170 &_MethodOptions_default_instance_);
3171 }
3172
2811 void Swap(MethodOptions* other); 3173 void Swap(MethodOptions* other);
2812 3174
2813 // implements Message ---------------------------------------------- 3175 // implements Message ----------------------------------------------
2814 3176
2815 inline MethodOptions* New() const { return New(NULL); } 3177 inline MethodOptions* New() const PROTOBUF_FINAL { return New(NULL); }
2816 3178
2817 MethodOptions* New(::google::protobuf::Arena* arena) const; 3179 MethodOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2818 void CopyFrom(const ::google::protobuf::Message& from); 3180 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2819 void MergeFrom(const ::google::protobuf::Message& from); 3181 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2820 void CopyFrom(const MethodOptions& from); 3182 void CopyFrom(const MethodOptions& from);
2821 void MergeFrom(const MethodOptions& from); 3183 void MergeFrom(const MethodOptions& from);
2822 void Clear(); 3184 void Clear() PROTOBUF_FINAL;
2823 bool IsInitialized() const; 3185 bool IsInitialized() const PROTOBUF_FINAL;
2824 3186
2825 int ByteSize() const; 3187 size_t ByteSizeLong() const PROTOBUF_FINAL;
2826 bool MergePartialFromCodedStream( 3188 bool MergePartialFromCodedStream(
2827 ::google::protobuf::io::CodedInputStream* input); 3189 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2828 void SerializeWithCachedSizes( 3190 void SerializeWithCachedSizes(
2829 ::google::protobuf::io::CodedOutputStream* output) const; 3191 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2830 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 3192 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2831 int GetCachedSize() const { return _cached_size_; } 3193 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
3194 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
3195 const PROTOBUF_FINAL {
3196 return InternalSerializeWithCachedSizesToArray(false, output);
3197 }
3198 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2832 private: 3199 private:
2833 void SharedCtor(); 3200 void SharedCtor();
2834 void SharedDtor(); 3201 void SharedDtor();
2835 void SetCachedSize(int size) const; 3202 void SetCachedSize(int size) const PROTOBUF_FINAL;
2836 void InternalSwap(MethodOptions* other); 3203 void InternalSwap(MethodOptions* other);
2837 private: 3204 private:
2838 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 3205 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2839 return _internal_metadata_.arena(); 3206 return NULL;
2840 } 3207 }
2841 inline void* MaybeArenaPtr() const { 3208 inline void* MaybeArenaPtr() const {
2842 return _internal_metadata_.raw_arena_ptr(); 3209 return NULL;
2843 } 3210 }
2844 public: 3211 public:
2845 3212
2846 ::google::protobuf::Metadata GetMetadata() const; 3213 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2847 3214
2848 // nested types ---------------------------------------------------- 3215 // nested types ----------------------------------------------------
2849 3216
3217 typedef MethodOptions_IdempotencyLevel IdempotencyLevel;
3218 static const IdempotencyLevel IDEMPOTENCY_UNKNOWN =
3219 MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN;
3220 static const IdempotencyLevel NO_SIDE_EFFECTS =
3221 MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS;
3222 static const IdempotencyLevel IDEMPOTENT =
3223 MethodOptions_IdempotencyLevel_IDEMPOTENT;
3224 static inline bool IdempotencyLevel_IsValid(int value) {
3225 return MethodOptions_IdempotencyLevel_IsValid(value);
3226 }
3227 static const IdempotencyLevel IdempotencyLevel_MIN =
3228 MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN;
3229 static const IdempotencyLevel IdempotencyLevel_MAX =
3230 MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX;
3231 static const int IdempotencyLevel_ARRAYSIZE =
3232 MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE;
3233 static inline const ::google::protobuf::EnumDescriptor*
3234 IdempotencyLevel_descriptor() {
3235 return MethodOptions_IdempotencyLevel_descriptor();
3236 }
3237 static inline const ::std::string& IdempotencyLevel_Name(IdempotencyLevel valu e) {
3238 return MethodOptions_IdempotencyLevel_Name(value);
3239 }
3240 static inline bool IdempotencyLevel_Parse(const ::std::string& name,
3241 IdempotencyLevel* value) {
3242 return MethodOptions_IdempotencyLevel_Parse(name, value);
3243 }
3244
2850 // accessors ------------------------------------------------------- 3245 // accessors -------------------------------------------------------
2851 3246
2852 // optional bool deprecated = 33 [default = false]; 3247 // optional bool deprecated = 33 [default = false];
2853 bool has_deprecated() const; 3248 bool has_deprecated() const;
2854 void clear_deprecated(); 3249 void clear_deprecated();
2855 static const int kDeprecatedFieldNumber = 33; 3250 static const int kDeprecatedFieldNumber = 33;
2856 bool deprecated() const; 3251 bool deprecated() const;
2857 void set_deprecated(bool value); 3252 void set_deprecated(bool value);
2858 3253
3254 // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
3255 bool has_idempotency_level() const;
3256 void clear_idempotency_level();
3257 static const int kIdempotencyLevelFieldNumber = 34;
3258 ::google::protobuf::MethodOptions_IdempotencyLevel idempotency_level() const;
3259 void set_idempotency_level(::google::protobuf::MethodOptions_IdempotencyLevel value);
3260
2859 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 3261 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
2860 int uninterpreted_option_size() const; 3262 int uninterpreted_option_size() const;
2861 void clear_uninterpreted_option(); 3263 void clear_uninterpreted_option();
2862 static const int kUninterpretedOptionFieldNumber = 999; 3264 static const int kUninterpretedOptionFieldNumber = 999;
2863 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; 3265 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
2864 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x); 3266 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde x);
2865 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); 3267 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
2866 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* 3268 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
2867 mutable_uninterpreted_option(); 3269 mutable_uninterpreted_option();
2868 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >& 3270 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO ption >&
2869 uninterpreted_option() const; 3271 uninterpreted_option() const;
2870 3272
2871 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions) 3273 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions)
2872 // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions) 3274 // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions)
2873 private: 3275 private:
2874 inline void set_has_deprecated(); 3276 void set_has_deprecated();
2875 inline void clear_has_deprecated(); 3277 void clear_has_deprecated();
3278 void set_has_idempotency_level();
3279 void clear_has_idempotency_level();
2876 3280
2877 ::google::protobuf::internal::ExtensionSet _extensions_; 3281 ::google::protobuf::internal::ExtensionSet _extensions_;
2878 3282
2879 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 3283 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2880 ::google::protobuf::uint32 _has_bits_[1]; 3284 ::google::protobuf::internal::HasBits<1> _has_bits_;
2881 mutable int _cached_size_; 3285 mutable int _cached_size_;
2882 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; 3286 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
2883 bool deprecated_; 3287 bool deprecated_;
2884 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 3288 int idempotency_level_;
2885 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 3289 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
3290 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
3291 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
2886 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 3292 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2887 3293
2888 void InitAsDefaultInstance();
2889 static MethodOptions* default_instance_;
2890 }; 3294 };
2891 // ------------------------------------------------------------------- 3295 // -------------------------------------------------------------------
2892 3296
2893 class LIBPROTOBUF_EXPORT UninterpretedOption_NamePart : public ::google::protobu f::Message { 3297 class LIBPROTOBUF_EXPORT UninterpretedOption_NamePart : public ::google::protobu f::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Uninterp retedOption.NamePart) */ {
2894 public: 3298 public:
2895 UninterpretedOption_NamePart(); 3299 UninterpretedOption_NamePart();
2896 virtual ~UninterpretedOption_NamePart(); 3300 virtual ~UninterpretedOption_NamePart();
2897 3301
2898 UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from); 3302 UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from);
2899 3303
2900 inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NameP art& from) { 3304 inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NameP art& from) {
2901 CopyFrom(from); 3305 CopyFrom(from);
2902 return *this; 3306 return *this;
2903 } 3307 }
2904 3308
2905 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 3309 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2906 return _internal_metadata_.unknown_fields(); 3310 return _internal_metadata_.unknown_fields();
2907 } 3311 }
2908 3312
2909 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 3313 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2910 return _internal_metadata_.mutable_unknown_fields(); 3314 return _internal_metadata_.mutable_unknown_fields();
2911 } 3315 }
2912 3316
2913 static const ::google::protobuf::Descriptor* descriptor(); 3317 static const ::google::protobuf::Descriptor* descriptor();
2914 static const UninterpretedOption_NamePart& default_instance(); 3318 static const UninterpretedOption_NamePart& default_instance();
2915 3319
3320 static inline const UninterpretedOption_NamePart* internal_default_instance() {
3321 return reinterpret_cast<const UninterpretedOption_NamePart*>(
3322 &_UninterpretedOption_NamePart_default_instance_);
3323 }
3324
2916 void Swap(UninterpretedOption_NamePart* other); 3325 void Swap(UninterpretedOption_NamePart* other);
2917 3326
2918 // implements Message ---------------------------------------------- 3327 // implements Message ----------------------------------------------
2919 3328
2920 inline UninterpretedOption_NamePart* New() const { return New(NULL); } 3329 inline UninterpretedOption_NamePart* New() const PROTOBUF_FINAL { return New(N ULL); }
2921 3330
2922 UninterpretedOption_NamePart* New(::google::protobuf::Arena* arena) const; 3331 UninterpretedOption_NamePart* New(::google::protobuf::Arena* arena) const PROT OBUF_FINAL;
2923 void CopyFrom(const ::google::protobuf::Message& from); 3332 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2924 void MergeFrom(const ::google::protobuf::Message& from); 3333 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2925 void CopyFrom(const UninterpretedOption_NamePart& from); 3334 void CopyFrom(const UninterpretedOption_NamePart& from);
2926 void MergeFrom(const UninterpretedOption_NamePart& from); 3335 void MergeFrom(const UninterpretedOption_NamePart& from);
2927 void Clear(); 3336 void Clear() PROTOBUF_FINAL;
2928 bool IsInitialized() const; 3337 bool IsInitialized() const PROTOBUF_FINAL;
2929 3338
2930 int ByteSize() const; 3339 size_t ByteSizeLong() const PROTOBUF_FINAL;
2931 bool MergePartialFromCodedStream( 3340 bool MergePartialFromCodedStream(
2932 ::google::protobuf::io::CodedInputStream* input); 3341 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2933 void SerializeWithCachedSizes( 3342 void SerializeWithCachedSizes(
2934 ::google::protobuf::io::CodedOutputStream* output) const; 3343 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2935 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 3344 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2936 int GetCachedSize() const { return _cached_size_; } 3345 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
3346 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
3347 const PROTOBUF_FINAL {
3348 return InternalSerializeWithCachedSizesToArray(false, output);
3349 }
3350 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2937 private: 3351 private:
2938 void SharedCtor(); 3352 void SharedCtor();
2939 void SharedDtor(); 3353 void SharedDtor();
2940 void SetCachedSize(int size) const; 3354 void SetCachedSize(int size) const PROTOBUF_FINAL;
2941 void InternalSwap(UninterpretedOption_NamePart* other); 3355 void InternalSwap(UninterpretedOption_NamePart* other);
2942 private: 3356 private:
2943 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 3357 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2944 return _internal_metadata_.arena(); 3358 return NULL;
2945 } 3359 }
2946 inline void* MaybeArenaPtr() const { 3360 inline void* MaybeArenaPtr() const {
2947 return _internal_metadata_.raw_arena_ptr(); 3361 return NULL;
2948 } 3362 }
2949 public: 3363 public:
2950 3364
2951 ::google::protobuf::Metadata GetMetadata() const; 3365 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2952 3366
2953 // nested types ---------------------------------------------------- 3367 // nested types ----------------------------------------------------
2954 3368
2955 // accessors ------------------------------------------------------- 3369 // accessors -------------------------------------------------------
2956 3370
2957 // required string name_part = 1; 3371 // required string name_part = 1;
2958 bool has_name_part() const; 3372 bool has_name_part() const;
2959 void clear_name_part(); 3373 void clear_name_part();
2960 static const int kNamePartFieldNumber = 1; 3374 static const int kNamePartFieldNumber = 1;
2961 const ::std::string& name_part() const; 3375 const ::std::string& name_part() const;
2962 void set_name_part(const ::std::string& value); 3376 void set_name_part(const ::std::string& value);
2963 void set_name_part(const char* value); 3377 void set_name_part(const char* value);
2964 void set_name_part(const char* value, size_t size); 3378 void set_name_part(const char* value, size_t size);
2965 ::std::string* mutable_name_part(); 3379 ::std::string* mutable_name_part();
2966 ::std::string* release_name_part(); 3380 ::std::string* release_name_part();
2967 void set_allocated_name_part(::std::string* name_part); 3381 void set_allocated_name_part(::std::string* name_part);
2968 3382
2969 // required bool is_extension = 2; 3383 // required bool is_extension = 2;
2970 bool has_is_extension() const; 3384 bool has_is_extension() const;
2971 void clear_is_extension(); 3385 void clear_is_extension();
2972 static const int kIsExtensionFieldNumber = 2; 3386 static const int kIsExtensionFieldNumber = 2;
2973 bool is_extension() const; 3387 bool is_extension() const;
2974 void set_is_extension(bool value); 3388 void set_is_extension(bool value);
2975 3389
2976 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.Na mePart) 3390 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.Na mePart)
2977 private: 3391 private:
2978 inline void set_has_name_part(); 3392 void set_has_name_part();
2979 inline void clear_has_name_part(); 3393 void clear_has_name_part();
2980 inline void set_has_is_extension(); 3394 void set_has_is_extension();
2981 inline void clear_has_is_extension(); 3395 void clear_has_is_extension();
2982 3396
2983 // helper for ByteSize() 3397 // helper for ByteSizeLong()
2984 int RequiredFieldsByteSizeFallback() const; 3398 size_t RequiredFieldsByteSizeFallback() const;
2985 3399
2986 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 3400 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2987 ::google::protobuf::uint32 _has_bits_[1]; 3401 ::google::protobuf::internal::HasBits<1> _has_bits_;
2988 mutable int _cached_size_; 3402 mutable int _cached_size_;
2989 ::google::protobuf::internal::ArenaStringPtr name_part_; 3403 ::google::protobuf::internal::ArenaStringPtr name_part_;
2990 bool is_extension_; 3404 bool is_extension_;
2991 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 3405 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
2992 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 3406 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
3407 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
2993 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 3408 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
2994 3409
2995 void InitAsDefaultInstance();
2996 static UninterpretedOption_NamePart* default_instance_;
2997 }; 3410 };
2998 // ------------------------------------------------------------------- 3411 // -------------------------------------------------------------------
2999 3412
3000 class LIBPROTOBUF_EXPORT UninterpretedOption : public ::google::protobuf::Messag e { 3413 class LIBPROTOBUF_EXPORT UninterpretedOption : public ::google::protobuf::Messag e /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOpti on) */ {
3001 public: 3414 public:
3002 UninterpretedOption(); 3415 UninterpretedOption();
3003 virtual ~UninterpretedOption(); 3416 virtual ~UninterpretedOption();
3004 3417
3005 UninterpretedOption(const UninterpretedOption& from); 3418 UninterpretedOption(const UninterpretedOption& from);
3006 3419
3007 inline UninterpretedOption& operator=(const UninterpretedOption& from) { 3420 inline UninterpretedOption& operator=(const UninterpretedOption& from) {
3008 CopyFrom(from); 3421 CopyFrom(from);
3009 return *this; 3422 return *this;
3010 } 3423 }
3011 3424
3012 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 3425 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3013 return _internal_metadata_.unknown_fields(); 3426 return _internal_metadata_.unknown_fields();
3014 } 3427 }
3015 3428
3016 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 3429 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3017 return _internal_metadata_.mutable_unknown_fields(); 3430 return _internal_metadata_.mutable_unknown_fields();
3018 } 3431 }
3019 3432
3020 static const ::google::protobuf::Descriptor* descriptor(); 3433 static const ::google::protobuf::Descriptor* descriptor();
3021 static const UninterpretedOption& default_instance(); 3434 static const UninterpretedOption& default_instance();
3022 3435
3436 static inline const UninterpretedOption* internal_default_instance() {
3437 return reinterpret_cast<const UninterpretedOption*>(
3438 &_UninterpretedOption_default_instance_);
3439 }
3440
3023 void Swap(UninterpretedOption* other); 3441 void Swap(UninterpretedOption* other);
3024 3442
3025 // implements Message ---------------------------------------------- 3443 // implements Message ----------------------------------------------
3026 3444
3027 inline UninterpretedOption* New() const { return New(NULL); } 3445 inline UninterpretedOption* New() const PROTOBUF_FINAL { return New(NULL); }
3028 3446
3029 UninterpretedOption* New(::google::protobuf::Arena* arena) const; 3447 UninterpretedOption* New(::google::protobuf::Arena* arena) const PROTOBUF_FINA L;
3030 void CopyFrom(const ::google::protobuf::Message& from); 3448 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3031 void MergeFrom(const ::google::protobuf::Message& from); 3449 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3032 void CopyFrom(const UninterpretedOption& from); 3450 void CopyFrom(const UninterpretedOption& from);
3033 void MergeFrom(const UninterpretedOption& from); 3451 void MergeFrom(const UninterpretedOption& from);
3034 void Clear(); 3452 void Clear() PROTOBUF_FINAL;
3035 bool IsInitialized() const; 3453 bool IsInitialized() const PROTOBUF_FINAL;
3036 3454
3037 int ByteSize() const; 3455 size_t ByteSizeLong() const PROTOBUF_FINAL;
3038 bool MergePartialFromCodedStream( 3456 bool MergePartialFromCodedStream(
3039 ::google::protobuf::io::CodedInputStream* input); 3457 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3040 void SerializeWithCachedSizes( 3458 void SerializeWithCachedSizes(
3041 ::google::protobuf::io::CodedOutputStream* output) const; 3459 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3042 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 3460 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3043 int GetCachedSize() const { return _cached_size_; } 3461 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
3462 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
3463 const PROTOBUF_FINAL {
3464 return InternalSerializeWithCachedSizesToArray(false, output);
3465 }
3466 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3044 private: 3467 private:
3045 void SharedCtor(); 3468 void SharedCtor();
3046 void SharedDtor(); 3469 void SharedDtor();
3047 void SetCachedSize(int size) const; 3470 void SetCachedSize(int size) const PROTOBUF_FINAL;
3048 void InternalSwap(UninterpretedOption* other); 3471 void InternalSwap(UninterpretedOption* other);
3049 private: 3472 private:
3050 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 3473 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3051 return _internal_metadata_.arena(); 3474 return NULL;
3052 } 3475 }
3053 inline void* MaybeArenaPtr() const { 3476 inline void* MaybeArenaPtr() const {
3054 return _internal_metadata_.raw_arena_ptr(); 3477 return NULL;
3055 } 3478 }
3056 public: 3479 public:
3057 3480
3058 ::google::protobuf::Metadata GetMetadata() const; 3481 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3059 3482
3060 // nested types ---------------------------------------------------- 3483 // nested types ----------------------------------------------------
3061 3484
3062 typedef UninterpretedOption_NamePart NamePart; 3485 typedef UninterpretedOption_NamePart NamePart;
3063 3486
3064 // accessors ------------------------------------------------------- 3487 // accessors -------------------------------------------------------
3065 3488
3066 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; 3489 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
3067 int name_size() const; 3490 int name_size() const;
3068 void clear_name(); 3491 void clear_name();
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
3127 const ::std::string& aggregate_value() const; 3550 const ::std::string& aggregate_value() const;
3128 void set_aggregate_value(const ::std::string& value); 3551 void set_aggregate_value(const ::std::string& value);
3129 void set_aggregate_value(const char* value); 3552 void set_aggregate_value(const char* value);
3130 void set_aggregate_value(const char* value, size_t size); 3553 void set_aggregate_value(const char* value, size_t size);
3131 ::std::string* mutable_aggregate_value(); 3554 ::std::string* mutable_aggregate_value();
3132 ::std::string* release_aggregate_value(); 3555 ::std::string* release_aggregate_value();
3133 void set_allocated_aggregate_value(::std::string* aggregate_value); 3556 void set_allocated_aggregate_value(::std::string* aggregate_value);
3134 3557
3135 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption) 3558 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption)
3136 private: 3559 private:
3137 inline void set_has_identifier_value(); 3560 void set_has_identifier_value();
3138 inline void clear_has_identifier_value(); 3561 void clear_has_identifier_value();
3139 inline void set_has_positive_int_value(); 3562 void set_has_positive_int_value();
3140 inline void clear_has_positive_int_value(); 3563 void clear_has_positive_int_value();
3141 inline void set_has_negative_int_value(); 3564 void set_has_negative_int_value();
3142 inline void clear_has_negative_int_value(); 3565 void clear_has_negative_int_value();
3143 inline void set_has_double_value(); 3566 void set_has_double_value();
3144 inline void clear_has_double_value(); 3567 void clear_has_double_value();
3145 inline void set_has_string_value(); 3568 void set_has_string_value();
3146 inline void clear_has_string_value(); 3569 void clear_has_string_value();
3147 inline void set_has_aggregate_value(); 3570 void set_has_aggregate_value();
3148 inline void clear_has_aggregate_value(); 3571 void clear_has_aggregate_value();
3149 3572
3150 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 3573 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3151 ::google::protobuf::uint32 _has_bits_[1]; 3574 ::google::protobuf::internal::HasBits<1> _has_bits_;
3152 mutable int _cached_size_; 3575 mutable int _cached_size_;
3153 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_ NamePart > name_; 3576 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_ NamePart > name_;
3154 ::google::protobuf::internal::ArenaStringPtr identifier_value_; 3577 ::google::protobuf::internal::ArenaStringPtr identifier_value_;
3578 ::google::protobuf::internal::ArenaStringPtr string_value_;
3579 ::google::protobuf::internal::ArenaStringPtr aggregate_value_;
3155 ::google::protobuf::uint64 positive_int_value_; 3580 ::google::protobuf::uint64 positive_int_value_;
3156 ::google::protobuf::int64 negative_int_value_; 3581 ::google::protobuf::int64 negative_int_value_;
3157 double double_value_; 3582 double double_value_;
3158 ::google::protobuf::internal::ArenaStringPtr string_value_; 3583 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
3159 ::google::protobuf::internal::ArenaStringPtr aggregate_value_; 3584 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
3160 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 3585 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
3161 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
3162 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 3586 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3163 3587
3164 void InitAsDefaultInstance();
3165 static UninterpretedOption* default_instance_;
3166 }; 3588 };
3167 // ------------------------------------------------------------------- 3589 // -------------------------------------------------------------------
3168 3590
3169 class LIBPROTOBUF_EXPORT SourceCodeInfo_Location : public ::google::protobuf::Me ssage { 3591 class LIBPROTOBUF_EXPORT SourceCodeInfo_Location : public ::google::protobuf::Me ssage /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInf o.Location) */ {
3170 public: 3592 public:
3171 SourceCodeInfo_Location(); 3593 SourceCodeInfo_Location();
3172 virtual ~SourceCodeInfo_Location(); 3594 virtual ~SourceCodeInfo_Location();
3173 3595
3174 SourceCodeInfo_Location(const SourceCodeInfo_Location& from); 3596 SourceCodeInfo_Location(const SourceCodeInfo_Location& from);
3175 3597
3176 inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) { 3598 inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) {
3177 CopyFrom(from); 3599 CopyFrom(from);
3178 return *this; 3600 return *this;
3179 } 3601 }
3180 3602
3181 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 3603 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3182 return _internal_metadata_.unknown_fields(); 3604 return _internal_metadata_.unknown_fields();
3183 } 3605 }
3184 3606
3185 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 3607 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3186 return _internal_metadata_.mutable_unknown_fields(); 3608 return _internal_metadata_.mutable_unknown_fields();
3187 } 3609 }
3188 3610
3189 static const ::google::protobuf::Descriptor* descriptor(); 3611 static const ::google::protobuf::Descriptor* descriptor();
3190 static const SourceCodeInfo_Location& default_instance(); 3612 static const SourceCodeInfo_Location& default_instance();
3191 3613
3614 static inline const SourceCodeInfo_Location* internal_default_instance() {
3615 return reinterpret_cast<const SourceCodeInfo_Location*>(
3616 &_SourceCodeInfo_Location_default_instance_);
3617 }
3618
3192 void Swap(SourceCodeInfo_Location* other); 3619 void Swap(SourceCodeInfo_Location* other);
3193 3620
3194 // implements Message ---------------------------------------------- 3621 // implements Message ----------------------------------------------
3195 3622
3196 inline SourceCodeInfo_Location* New() const { return New(NULL); } 3623 inline SourceCodeInfo_Location* New() const PROTOBUF_FINAL { return New(NULL); }
3197 3624
3198 SourceCodeInfo_Location* New(::google::protobuf::Arena* arena) const; 3625 SourceCodeInfo_Location* New(::google::protobuf::Arena* arena) const PROTOBUF_ FINAL;
3199 void CopyFrom(const ::google::protobuf::Message& from); 3626 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3200 void MergeFrom(const ::google::protobuf::Message& from); 3627 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3201 void CopyFrom(const SourceCodeInfo_Location& from); 3628 void CopyFrom(const SourceCodeInfo_Location& from);
3202 void MergeFrom(const SourceCodeInfo_Location& from); 3629 void MergeFrom(const SourceCodeInfo_Location& from);
3203 void Clear(); 3630 void Clear() PROTOBUF_FINAL;
3204 bool IsInitialized() const; 3631 bool IsInitialized() const PROTOBUF_FINAL;
3205 3632
3206 int ByteSize() const; 3633 size_t ByteSizeLong() const PROTOBUF_FINAL;
3207 bool MergePartialFromCodedStream( 3634 bool MergePartialFromCodedStream(
3208 ::google::protobuf::io::CodedInputStream* input); 3635 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3209 void SerializeWithCachedSizes( 3636 void SerializeWithCachedSizes(
3210 ::google::protobuf::io::CodedOutputStream* output) const; 3637 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3211 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 3638 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3212 int GetCachedSize() const { return _cached_size_; } 3639 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
3640 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
3641 const PROTOBUF_FINAL {
3642 return InternalSerializeWithCachedSizesToArray(false, output);
3643 }
3644 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3213 private: 3645 private:
3214 void SharedCtor(); 3646 void SharedCtor();
3215 void SharedDtor(); 3647 void SharedDtor();
3216 void SetCachedSize(int size) const; 3648 void SetCachedSize(int size) const PROTOBUF_FINAL;
3217 void InternalSwap(SourceCodeInfo_Location* other); 3649 void InternalSwap(SourceCodeInfo_Location* other);
3218 private: 3650 private:
3219 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 3651 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3220 return _internal_metadata_.arena(); 3652 return NULL;
3221 } 3653 }
3222 inline void* MaybeArenaPtr() const { 3654 inline void* MaybeArenaPtr() const {
3223 return _internal_metadata_.raw_arena_ptr(); 3655 return NULL;
3224 } 3656 }
3225 public: 3657 public:
3226 3658
3227 ::google::protobuf::Metadata GetMetadata() const; 3659 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3228 3660
3229 // nested types ---------------------------------------------------- 3661 // nested types ----------------------------------------------------
3230 3662
3231 // accessors ------------------------------------------------------- 3663 // accessors -------------------------------------------------------
3232 3664
3233 // repeated int32 path = 1 [packed = true]; 3665 // repeated int32 path = 1 [packed = true];
3234 int path_size() const; 3666 int path_size() const;
3235 void clear_path(); 3667 void clear_path();
3236 static const int kPathFieldNumber = 1; 3668 static const int kPathFieldNumber = 1;
3237 ::google::protobuf::int32 path(int index) const; 3669 ::google::protobuf::int32 path(int index) const;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
3289 void set_leading_detached_comments(int index, const char* value, size_t size); 3721 void set_leading_detached_comments(int index, const char* value, size_t size);
3290 ::std::string* add_leading_detached_comments(); 3722 ::std::string* add_leading_detached_comments();
3291 void add_leading_detached_comments(const ::std::string& value); 3723 void add_leading_detached_comments(const ::std::string& value);
3292 void add_leading_detached_comments(const char* value); 3724 void add_leading_detached_comments(const char* value);
3293 void add_leading_detached_comments(const char* value, size_t size); 3725 void add_leading_detached_comments(const char* value, size_t size);
3294 const ::google::protobuf::RepeatedPtrField< ::std::string>& leading_detached_c omments() const; 3726 const ::google::protobuf::RepeatedPtrField< ::std::string>& leading_detached_c omments() const;
3295 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_leading_detached _comments(); 3727 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_leading_detached _comments();
3296 3728
3297 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Locatio n) 3729 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Locatio n)
3298 private: 3730 private:
3299 inline void set_has_leading_comments(); 3731 void set_has_leading_comments();
3300 inline void clear_has_leading_comments(); 3732 void clear_has_leading_comments();
3301 inline void set_has_trailing_comments(); 3733 void set_has_trailing_comments();
3302 inline void clear_has_trailing_comments(); 3734 void clear_has_trailing_comments();
3303 3735
3304 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 3736 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3305 ::google::protobuf::uint32 _has_bits_[1]; 3737 ::google::protobuf::internal::HasBits<1> _has_bits_;
3306 mutable int _cached_size_; 3738 mutable int _cached_size_;
3307 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_; 3739 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_;
3308 mutable int _path_cached_byte_size_; 3740 mutable int _path_cached_byte_size_;
3309 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > span_; 3741 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > span_;
3310 mutable int _span_cached_byte_size_; 3742 mutable int _span_cached_byte_size_;
3743 ::google::protobuf::RepeatedPtrField< ::std::string> leading_detached_comments _;
3311 ::google::protobuf::internal::ArenaStringPtr leading_comments_; 3744 ::google::protobuf::internal::ArenaStringPtr leading_comments_;
3312 ::google::protobuf::internal::ArenaStringPtr trailing_comments_; 3745 ::google::protobuf::internal::ArenaStringPtr trailing_comments_;
3313 ::google::protobuf::RepeatedPtrField< ::std::string> leading_detached_comments _; 3746 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
3314 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 3747 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
3315 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 3748 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
3316 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 3749 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3317 3750
3318 void InitAsDefaultInstance();
3319 static SourceCodeInfo_Location* default_instance_;
3320 }; 3751 };
3321 // ------------------------------------------------------------------- 3752 // -------------------------------------------------------------------
3322 3753
3323 class LIBPROTOBUF_EXPORT SourceCodeInfo : public ::google::protobuf::Message { 3754 class LIBPROTOBUF_EXPORT SourceCodeInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo) */ {
3324 public: 3755 public:
3325 SourceCodeInfo(); 3756 SourceCodeInfo();
3326 virtual ~SourceCodeInfo(); 3757 virtual ~SourceCodeInfo();
3327 3758
3328 SourceCodeInfo(const SourceCodeInfo& from); 3759 SourceCodeInfo(const SourceCodeInfo& from);
3329 3760
3330 inline SourceCodeInfo& operator=(const SourceCodeInfo& from) { 3761 inline SourceCodeInfo& operator=(const SourceCodeInfo& from) {
3331 CopyFrom(from); 3762 CopyFrom(from);
3332 return *this; 3763 return *this;
3333 } 3764 }
3334 3765
3335 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 3766 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3336 return _internal_metadata_.unknown_fields(); 3767 return _internal_metadata_.unknown_fields();
3337 } 3768 }
3338 3769
3339 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 3770 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3340 return _internal_metadata_.mutable_unknown_fields(); 3771 return _internal_metadata_.mutable_unknown_fields();
3341 } 3772 }
3342 3773
3343 static const ::google::protobuf::Descriptor* descriptor(); 3774 static const ::google::protobuf::Descriptor* descriptor();
3344 static const SourceCodeInfo& default_instance(); 3775 static const SourceCodeInfo& default_instance();
3345 3776
3777 static inline const SourceCodeInfo* internal_default_instance() {
3778 return reinterpret_cast<const SourceCodeInfo*>(
3779 &_SourceCodeInfo_default_instance_);
3780 }
3781
3346 void Swap(SourceCodeInfo* other); 3782 void Swap(SourceCodeInfo* other);
3347 3783
3348 // implements Message ---------------------------------------------- 3784 // implements Message ----------------------------------------------
3349 3785
3350 inline SourceCodeInfo* New() const { return New(NULL); } 3786 inline SourceCodeInfo* New() const PROTOBUF_FINAL { return New(NULL); }
3351 3787
3352 SourceCodeInfo* New(::google::protobuf::Arena* arena) const; 3788 SourceCodeInfo* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3353 void CopyFrom(const ::google::protobuf::Message& from); 3789 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3354 void MergeFrom(const ::google::protobuf::Message& from); 3790 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3355 void CopyFrom(const SourceCodeInfo& from); 3791 void CopyFrom(const SourceCodeInfo& from);
3356 void MergeFrom(const SourceCodeInfo& from); 3792 void MergeFrom(const SourceCodeInfo& from);
3357 void Clear(); 3793 void Clear() PROTOBUF_FINAL;
3358 bool IsInitialized() const; 3794 bool IsInitialized() const PROTOBUF_FINAL;
3359 3795
3360 int ByteSize() const; 3796 size_t ByteSizeLong() const PROTOBUF_FINAL;
3361 bool MergePartialFromCodedStream( 3797 bool MergePartialFromCodedStream(
3362 ::google::protobuf::io::CodedInputStream* input); 3798 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3363 void SerializeWithCachedSizes( 3799 void SerializeWithCachedSizes(
3364 ::google::protobuf::io::CodedOutputStream* output) const; 3800 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3365 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 3801 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3366 int GetCachedSize() const { return _cached_size_; } 3802 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
3803 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
3804 const PROTOBUF_FINAL {
3805 return InternalSerializeWithCachedSizesToArray(false, output);
3806 }
3807 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3367 private: 3808 private:
3368 void SharedCtor(); 3809 void SharedCtor();
3369 void SharedDtor(); 3810 void SharedDtor();
3370 void SetCachedSize(int size) const; 3811 void SetCachedSize(int size) const PROTOBUF_FINAL;
3371 void InternalSwap(SourceCodeInfo* other); 3812 void InternalSwap(SourceCodeInfo* other);
3372 private: 3813 private:
3373 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 3814 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3374 return _internal_metadata_.arena(); 3815 return NULL;
3375 } 3816 }
3376 inline void* MaybeArenaPtr() const { 3817 inline void* MaybeArenaPtr() const {
3377 return _internal_metadata_.raw_arena_ptr(); 3818 return NULL;
3378 } 3819 }
3379 public: 3820 public:
3380 3821
3381 ::google::protobuf::Metadata GetMetadata() const; 3822 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3382 3823
3383 // nested types ---------------------------------------------------- 3824 // nested types ----------------------------------------------------
3384 3825
3385 typedef SourceCodeInfo_Location Location; 3826 typedef SourceCodeInfo_Location Location;
3386 3827
3387 // accessors ------------------------------------------------------- 3828 // accessors -------------------------------------------------------
3388 3829
3389 // repeated .google.protobuf.SourceCodeInfo.Location location = 1; 3830 // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
3390 int location_size() const; 3831 int location_size() const;
3391 void clear_location(); 3832 void clear_location();
3392 static const int kLocationFieldNumber = 1; 3833 static const int kLocationFieldNumber = 1;
3393 const ::google::protobuf::SourceCodeInfo_Location& location(int index) const; 3834 const ::google::protobuf::SourceCodeInfo_Location& location(int index) const;
3394 ::google::protobuf::SourceCodeInfo_Location* mutable_location(int index); 3835 ::google::protobuf::SourceCodeInfo_Location* mutable_location(int index);
3395 ::google::protobuf::SourceCodeInfo_Location* add_location(); 3836 ::google::protobuf::SourceCodeInfo_Location* add_location();
3396 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Locat ion >* 3837 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Locat ion >*
3397 mutable_location(); 3838 mutable_location();
3398 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo _Location >& 3839 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo _Location >&
3399 location() const; 3840 location() const;
3400 3841
3401 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo) 3842 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo)
3402 private: 3843 private:
3403 3844
3404 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 3845 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3405 ::google::protobuf::uint32 _has_bits_[1]; 3846 ::google::protobuf::internal::HasBits<1> _has_bits_;
3406 mutable int _cached_size_; 3847 mutable int _cached_size_;
3407 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Locat ion > location_; 3848 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Locat ion > location_;
3408 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 3849 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
3409 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 3850 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
3851 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
3410 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 3852 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3411 3853
3412 void InitAsDefaultInstance();
3413 static SourceCodeInfo* default_instance_;
3414 }; 3854 };
3415 // ------------------------------------------------------------------- 3855 // -------------------------------------------------------------------
3416 3856
3417 class LIBPROTOBUF_EXPORT GeneratedCodeInfo_Annotation : public ::google::protobu f::Message { 3857 class LIBPROTOBUF_EXPORT GeneratedCodeInfo_Annotation : public ::google::protobu f::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Generate dCodeInfo.Annotation) */ {
3418 public: 3858 public:
3419 GeneratedCodeInfo_Annotation(); 3859 GeneratedCodeInfo_Annotation();
3420 virtual ~GeneratedCodeInfo_Annotation(); 3860 virtual ~GeneratedCodeInfo_Annotation();
3421 3861
3422 GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from); 3862 GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from);
3423 3863
3424 inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotat ion& from) { 3864 inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotat ion& from) {
3425 CopyFrom(from); 3865 CopyFrom(from);
3426 return *this; 3866 return *this;
3427 } 3867 }
3428 3868
3429 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 3869 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3430 return _internal_metadata_.unknown_fields(); 3870 return _internal_metadata_.unknown_fields();
3431 } 3871 }
3432 3872
3433 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 3873 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3434 return _internal_metadata_.mutable_unknown_fields(); 3874 return _internal_metadata_.mutable_unknown_fields();
3435 } 3875 }
3436 3876
3437 static const ::google::protobuf::Descriptor* descriptor(); 3877 static const ::google::protobuf::Descriptor* descriptor();
3438 static const GeneratedCodeInfo_Annotation& default_instance(); 3878 static const GeneratedCodeInfo_Annotation& default_instance();
3439 3879
3880 static inline const GeneratedCodeInfo_Annotation* internal_default_instance() {
3881 return reinterpret_cast<const GeneratedCodeInfo_Annotation*>(
3882 &_GeneratedCodeInfo_Annotation_default_instance_);
3883 }
3884
3440 void Swap(GeneratedCodeInfo_Annotation* other); 3885 void Swap(GeneratedCodeInfo_Annotation* other);
3441 3886
3442 // implements Message ---------------------------------------------- 3887 // implements Message ----------------------------------------------
3443 3888
3444 inline GeneratedCodeInfo_Annotation* New() const { return New(NULL); } 3889 inline GeneratedCodeInfo_Annotation* New() const PROTOBUF_FINAL { return New(N ULL); }
3445 3890
3446 GeneratedCodeInfo_Annotation* New(::google::protobuf::Arena* arena) const; 3891 GeneratedCodeInfo_Annotation* New(::google::protobuf::Arena* arena) const PROT OBUF_FINAL;
3447 void CopyFrom(const ::google::protobuf::Message& from); 3892 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3448 void MergeFrom(const ::google::protobuf::Message& from); 3893 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3449 void CopyFrom(const GeneratedCodeInfo_Annotation& from); 3894 void CopyFrom(const GeneratedCodeInfo_Annotation& from);
3450 void MergeFrom(const GeneratedCodeInfo_Annotation& from); 3895 void MergeFrom(const GeneratedCodeInfo_Annotation& from);
3451 void Clear(); 3896 void Clear() PROTOBUF_FINAL;
3452 bool IsInitialized() const; 3897 bool IsInitialized() const PROTOBUF_FINAL;
3453 3898
3454 int ByteSize() const; 3899 size_t ByteSizeLong() const PROTOBUF_FINAL;
3455 bool MergePartialFromCodedStream( 3900 bool MergePartialFromCodedStream(
3456 ::google::protobuf::io::CodedInputStream* input); 3901 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3457 void SerializeWithCachedSizes( 3902 void SerializeWithCachedSizes(
3458 ::google::protobuf::io::CodedOutputStream* output) const; 3903 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3459 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 3904 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3460 int GetCachedSize() const { return _cached_size_; } 3905 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
3906 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
3907 const PROTOBUF_FINAL {
3908 return InternalSerializeWithCachedSizesToArray(false, output);
3909 }
3910 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3461 private: 3911 private:
3462 void SharedCtor(); 3912 void SharedCtor();
3463 void SharedDtor(); 3913 void SharedDtor();
3464 void SetCachedSize(int size) const; 3914 void SetCachedSize(int size) const PROTOBUF_FINAL;
3465 void InternalSwap(GeneratedCodeInfo_Annotation* other); 3915 void InternalSwap(GeneratedCodeInfo_Annotation* other);
3466 private: 3916 private:
3467 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 3917 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3468 return _internal_metadata_.arena(); 3918 return NULL;
3469 } 3919 }
3470 inline void* MaybeArenaPtr() const { 3920 inline void* MaybeArenaPtr() const {
3471 return _internal_metadata_.raw_arena_ptr(); 3921 return NULL;
3472 } 3922 }
3473 public: 3923 public:
3474 3924
3475 ::google::protobuf::Metadata GetMetadata() const; 3925 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3476 3926
3477 // nested types ---------------------------------------------------- 3927 // nested types ----------------------------------------------------
3478 3928
3479 // accessors ------------------------------------------------------- 3929 // accessors -------------------------------------------------------
3480 3930
3481 // repeated int32 path = 1 [packed = true]; 3931 // repeated int32 path = 1 [packed = true];
3482 int path_size() const; 3932 int path_size() const;
3483 void clear_path(); 3933 void clear_path();
3484 static const int kPathFieldNumber = 1; 3934 static const int kPathFieldNumber = 1;
3485 ::google::protobuf::int32 path(int index) const; 3935 ::google::protobuf::int32 path(int index) const;
(...skipping 25 matching lines...) Expand all
3511 3961
3512 // optional int32 end = 4; 3962 // optional int32 end = 4;
3513 bool has_end() const; 3963 bool has_end() const;
3514 void clear_end(); 3964 void clear_end();
3515 static const int kEndFieldNumber = 4; 3965 static const int kEndFieldNumber = 4;
3516 ::google::protobuf::int32 end() const; 3966 ::google::protobuf::int32 end() const;
3517 void set_end(::google::protobuf::int32 value); 3967 void set_end(::google::protobuf::int32 value);
3518 3968
3519 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Anno tation) 3969 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Anno tation)
3520 private: 3970 private:
3521 inline void set_has_source_file(); 3971 void set_has_source_file();
3522 inline void clear_has_source_file(); 3972 void clear_has_source_file();
3523 inline void set_has_begin(); 3973 void set_has_begin();
3524 inline void clear_has_begin(); 3974 void clear_has_begin();
3525 inline void set_has_end(); 3975 void set_has_end();
3526 inline void clear_has_end(); 3976 void clear_has_end();
3527 3977
3528 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 3978 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3529 ::google::protobuf::uint32 _has_bits_[1]; 3979 ::google::protobuf::internal::HasBits<1> _has_bits_;
3530 mutable int _cached_size_; 3980 mutable int _cached_size_;
3531 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_; 3981 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_;
3532 mutable int _path_cached_byte_size_; 3982 mutable int _path_cached_byte_size_;
3533 ::google::protobuf::internal::ArenaStringPtr source_file_; 3983 ::google::protobuf::internal::ArenaStringPtr source_file_;
3534 ::google::protobuf::int32 begin_; 3984 ::google::protobuf::int32 begin_;
3535 ::google::protobuf::int32 end_; 3985 ::google::protobuf::int32 end_;
3536 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 3986 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
3537 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 3987 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
3988 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
3538 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 3989 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3539 3990
3540 void InitAsDefaultInstance();
3541 static GeneratedCodeInfo_Annotation* default_instance_;
3542 }; 3991 };
3543 // ------------------------------------------------------------------- 3992 // -------------------------------------------------------------------
3544 3993
3545 class LIBPROTOBUF_EXPORT GeneratedCodeInfo : public ::google::protobuf::Message { 3994 class LIBPROTOBUF_EXPORT GeneratedCodeInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo) */ {
3546 public: 3995 public:
3547 GeneratedCodeInfo(); 3996 GeneratedCodeInfo();
3548 virtual ~GeneratedCodeInfo(); 3997 virtual ~GeneratedCodeInfo();
3549 3998
3550 GeneratedCodeInfo(const GeneratedCodeInfo& from); 3999 GeneratedCodeInfo(const GeneratedCodeInfo& from);
3551 4000
3552 inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) { 4001 inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) {
3553 CopyFrom(from); 4002 CopyFrom(from);
3554 return *this; 4003 return *this;
3555 } 4004 }
3556 4005
3557 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 4006 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3558 return _internal_metadata_.unknown_fields(); 4007 return _internal_metadata_.unknown_fields();
3559 } 4008 }
3560 4009
3561 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 4010 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3562 return _internal_metadata_.mutable_unknown_fields(); 4011 return _internal_metadata_.mutable_unknown_fields();
3563 } 4012 }
3564 4013
3565 static const ::google::protobuf::Descriptor* descriptor(); 4014 static const ::google::protobuf::Descriptor* descriptor();
3566 static const GeneratedCodeInfo& default_instance(); 4015 static const GeneratedCodeInfo& default_instance();
3567 4016
4017 static inline const GeneratedCodeInfo* internal_default_instance() {
4018 return reinterpret_cast<const GeneratedCodeInfo*>(
4019 &_GeneratedCodeInfo_default_instance_);
4020 }
4021
3568 void Swap(GeneratedCodeInfo* other); 4022 void Swap(GeneratedCodeInfo* other);
3569 4023
3570 // implements Message ---------------------------------------------- 4024 // implements Message ----------------------------------------------
3571 4025
3572 inline GeneratedCodeInfo* New() const { return New(NULL); } 4026 inline GeneratedCodeInfo* New() const PROTOBUF_FINAL { return New(NULL); }
3573 4027
3574 GeneratedCodeInfo* New(::google::protobuf::Arena* arena) const; 4028 GeneratedCodeInfo* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3575 void CopyFrom(const ::google::protobuf::Message& from); 4029 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3576 void MergeFrom(const ::google::protobuf::Message& from); 4030 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3577 void CopyFrom(const GeneratedCodeInfo& from); 4031 void CopyFrom(const GeneratedCodeInfo& from);
3578 void MergeFrom(const GeneratedCodeInfo& from); 4032 void MergeFrom(const GeneratedCodeInfo& from);
3579 void Clear(); 4033 void Clear() PROTOBUF_FINAL;
3580 bool IsInitialized() const; 4034 bool IsInitialized() const PROTOBUF_FINAL;
3581 4035
3582 int ByteSize() const; 4036 size_t ByteSizeLong() const PROTOBUF_FINAL;
3583 bool MergePartialFromCodedStream( 4037 bool MergePartialFromCodedStream(
3584 ::google::protobuf::io::CodedInputStream* input); 4038 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3585 void SerializeWithCachedSizes( 4039 void SerializeWithCachedSizes(
3586 ::google::protobuf::io::CodedOutputStream* output) const; 4040 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3587 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 4041 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3588 int GetCachedSize() const { return _cached_size_; } 4042 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
4043 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
4044 const PROTOBUF_FINAL {
4045 return InternalSerializeWithCachedSizesToArray(false, output);
4046 }
4047 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3589 private: 4048 private:
3590 void SharedCtor(); 4049 void SharedCtor();
3591 void SharedDtor(); 4050 void SharedDtor();
3592 void SetCachedSize(int size) const; 4051 void SetCachedSize(int size) const PROTOBUF_FINAL;
3593 void InternalSwap(GeneratedCodeInfo* other); 4052 void InternalSwap(GeneratedCodeInfo* other);
3594 private: 4053 private:
3595 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 4054 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3596 return _internal_metadata_.arena(); 4055 return NULL;
3597 } 4056 }
3598 inline void* MaybeArenaPtr() const { 4057 inline void* MaybeArenaPtr() const {
3599 return _internal_metadata_.raw_arena_ptr(); 4058 return NULL;
3600 } 4059 }
3601 public: 4060 public:
3602 4061
3603 ::google::protobuf::Metadata GetMetadata() const; 4062 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3604 4063
3605 // nested types ---------------------------------------------------- 4064 // nested types ----------------------------------------------------
3606 4065
3607 typedef GeneratedCodeInfo_Annotation Annotation; 4066 typedef GeneratedCodeInfo_Annotation Annotation;
3608 4067
3609 // accessors ------------------------------------------------------- 4068 // accessors -------------------------------------------------------
3610 4069
3611 // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; 4070 // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
3612 int annotation_size() const; 4071 int annotation_size() const;
3613 void clear_annotation(); 4072 void clear_annotation();
3614 static const int kAnnotationFieldNumber = 1; 4073 static const int kAnnotationFieldNumber = 1;
3615 const ::google::protobuf::GeneratedCodeInfo_Annotation& annotation(int index) const; 4074 const ::google::protobuf::GeneratedCodeInfo_Annotation& annotation(int index) const;
3616 ::google::protobuf::GeneratedCodeInfo_Annotation* mutable_annotation(int index ); 4075 ::google::protobuf::GeneratedCodeInfo_Annotation* mutable_annotation(int index );
3617 ::google::protobuf::GeneratedCodeInfo_Annotation* add_annotation(); 4076 ::google::protobuf::GeneratedCodeInfo_Annotation* add_annotation();
3618 ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_An notation >* 4077 ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_An notation >*
3619 mutable_annotation(); 4078 mutable_annotation();
3620 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeI nfo_Annotation >& 4079 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeI nfo_Annotation >&
3621 annotation() const; 4080 annotation() const;
3622 4081
3623 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo) 4082 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo)
3624 private: 4083 private:
3625 4084
3626 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 4085 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3627 ::google::protobuf::uint32 _has_bits_[1]; 4086 ::google::protobuf::internal::HasBits<1> _has_bits_;
3628 mutable int _cached_size_; 4087 mutable int _cached_size_;
3629 ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_An notation > annotation_; 4088 ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_An notation > annotation_;
3630 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto(); 4089 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr iptor_2eproto_impl();
3631 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); 4090 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor _2eproto_impl();
4091 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f descriptor_2eproto();
3632 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); 4092 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
3633 4093
3634 void InitAsDefaultInstance();
3635 static GeneratedCodeInfo* default_instance_;
3636 }; 4094 };
3637 // =================================================================== 4095 // ===================================================================
3638 4096
3639 4097
3640 // =================================================================== 4098 // ===================================================================
3641 4099
3642 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 4100 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
3643 // FileDescriptorSet 4101 // FileDescriptorSet
3644 4102
3645 // repeated .google.protobuf.FileDescriptorProto file = 1; 4103 // repeated .google.protobuf.FileDescriptorProto file = 1;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
3685 } 4143 }
3686 inline void FileDescriptorProto::clear_has_name() { 4144 inline void FileDescriptorProto::clear_has_name() {
3687 _has_bits_[0] &= ~0x00000001u; 4145 _has_bits_[0] &= ~0x00000001u;
3688 } 4146 }
3689 inline void FileDescriptorProto::clear_name() { 4147 inline void FileDescriptorProto::clear_name() {
3690 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 4148 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
3691 clear_has_name(); 4149 clear_has_name();
3692 } 4150 }
3693 inline const ::std::string& FileDescriptorProto::name() const { 4151 inline const ::std::string& FileDescriptorProto::name() const {
3694 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name ) 4152 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name )
3695 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited()); 4153 return name_.GetNoArena();
3696 } 4154 }
3697 inline void FileDescriptorProto::set_name(const ::std::string& value) { 4155 inline void FileDescriptorProto::set_name(const ::std::string& value) {
3698 set_has_name(); 4156 set_has_name();
3699 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 4157 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3700 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name ) 4158 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name )
3701 } 4159 }
3702 inline void FileDescriptorProto::set_name(const char* value) { 4160 inline void FileDescriptorProto::set_name(const char* value) {
3703 set_has_name(); 4161 set_has_name();
3704 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 4162 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3705 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto .name) 4163 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto .name)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
3739 } 4197 }
3740 inline void FileDescriptorProto::clear_has_package() { 4198 inline void FileDescriptorProto::clear_has_package() {
3741 _has_bits_[0] &= ~0x00000002u; 4199 _has_bits_[0] &= ~0x00000002u;
3742 } 4200 }
3743 inline void FileDescriptorProto::clear_package() { 4201 inline void FileDescriptorProto::clear_package() {
3744 package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited()); 4202 package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited());
3745 clear_has_package(); 4203 clear_has_package();
3746 } 4204 }
3747 inline const ::std::string& FileDescriptorProto::package() const { 4205 inline const ::std::string& FileDescriptorProto::package() const {
3748 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.pack age) 4206 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.pack age)
3749 return package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlread yInited()); 4207 return package_.GetNoArena();
3750 } 4208 }
3751 inline void FileDescriptorProto::set_package(const ::std::string& value) { 4209 inline void FileDescriptorProto::set_package(const ::std::string& value) {
3752 set_has_package(); 4210 set_has_package();
3753 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited (), value); 4211 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited (), value);
3754 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.pack age) 4212 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.pack age)
3755 } 4213 }
3756 inline void FileDescriptorProto::set_package(const char* value) { 4214 inline void FileDescriptorProto::set_package(const char* value) {
3757 set_has_package(); 4215 set_has_package();
3758 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited (), ::std::string(value)); 4216 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited (), ::std::string(value));
3759 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto .package) 4217 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto .package)
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
4014 return &extension_; 4472 return &extension_;
4015 } 4473 }
4016 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDesc riptorProto >& 4474 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDesc riptorProto >&
4017 FileDescriptorProto::extension() const { 4475 FileDescriptorProto::extension() const {
4018 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.ext ension) 4476 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.ext ension)
4019 return extension_; 4477 return extension_;
4020 } 4478 }
4021 4479
4022 // optional .google.protobuf.FileOptions options = 8; 4480 // optional .google.protobuf.FileOptions options = 8;
4023 inline bool FileDescriptorProto::has_options() const { 4481 inline bool FileDescriptorProto::has_options() const {
4024 return (_has_bits_[0] & 0x00000200u) != 0; 4482 return (_has_bits_[0] & 0x00000008u) != 0;
4025 } 4483 }
4026 inline void FileDescriptorProto::set_has_options() { 4484 inline void FileDescriptorProto::set_has_options() {
4027 _has_bits_[0] |= 0x00000200u; 4485 _has_bits_[0] |= 0x00000008u;
4028 } 4486 }
4029 inline void FileDescriptorProto::clear_has_options() { 4487 inline void FileDescriptorProto::clear_has_options() {
4030 _has_bits_[0] &= ~0x00000200u; 4488 _has_bits_[0] &= ~0x00000008u;
4031 } 4489 }
4032 inline void FileDescriptorProto::clear_options() { 4490 inline void FileDescriptorProto::clear_options() {
4033 if (options_ != NULL) options_->::google::protobuf::FileOptions::Clear(); 4491 if (options_ != NULL) options_->::google::protobuf::FileOptions::Clear();
4034 clear_has_options(); 4492 clear_has_options();
4035 } 4493 }
4036 inline const ::google::protobuf::FileOptions& FileDescriptorProto::options() con st { 4494 inline const ::google::protobuf::FileOptions& FileDescriptorProto::options() con st {
4037 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.opti ons) 4495 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.opti ons)
4038 return options_ != NULL ? *options_ : *default_instance_->options_; 4496 return options_ != NULL ? *options_
4497 : *::google::protobuf::FileOptions::internal_default_in stance();
4039 } 4498 }
4040 inline ::google::protobuf::FileOptions* FileDescriptorProto::mutable_options() { 4499 inline ::google::protobuf::FileOptions* FileDescriptorProto::mutable_options() {
4041 set_has_options(); 4500 set_has_options();
4042 if (options_ == NULL) { 4501 if (options_ == NULL) {
4043 options_ = new ::google::protobuf::FileOptions; 4502 options_ = new ::google::protobuf::FileOptions;
4044 } 4503 }
4045 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto. options) 4504 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto. options)
4046 return options_; 4505 return options_;
4047 } 4506 }
4048 inline ::google::protobuf::FileOptions* FileDescriptorProto::release_options() { 4507 inline ::google::protobuf::FileOptions* FileDescriptorProto::release_options() {
4049 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto. options) 4508 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto. options)
4050 clear_has_options(); 4509 clear_has_options();
4051 ::google::protobuf::FileOptions* temp = options_; 4510 ::google::protobuf::FileOptions* temp = options_;
4052 options_ = NULL; 4511 options_ = NULL;
4053 return temp; 4512 return temp;
4054 } 4513 }
4055 inline void FileDescriptorProto::set_allocated_options(::google::protobuf::FileO ptions* options) { 4514 inline void FileDescriptorProto::set_allocated_options(::google::protobuf::FileO ptions* options) {
4056 delete options_; 4515 delete options_;
4057 options_ = options; 4516 options_ = options;
4058 if (options) { 4517 if (options) {
4059 set_has_options(); 4518 set_has_options();
4060 } else { 4519 } else {
4061 clear_has_options(); 4520 clear_has_options();
4062 } 4521 }
4063 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor Proto.options) 4522 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor Proto.options)
4064 } 4523 }
4065 4524
4066 // optional .google.protobuf.SourceCodeInfo source_code_info = 9; 4525 // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
4067 inline bool FileDescriptorProto::has_source_code_info() const { 4526 inline bool FileDescriptorProto::has_source_code_info() const {
4068 return (_has_bits_[0] & 0x00000400u) != 0; 4527 return (_has_bits_[0] & 0x00000010u) != 0;
4069 } 4528 }
4070 inline void FileDescriptorProto::set_has_source_code_info() { 4529 inline void FileDescriptorProto::set_has_source_code_info() {
4071 _has_bits_[0] |= 0x00000400u; 4530 _has_bits_[0] |= 0x00000010u;
4072 } 4531 }
4073 inline void FileDescriptorProto::clear_has_source_code_info() { 4532 inline void FileDescriptorProto::clear_has_source_code_info() {
4074 _has_bits_[0] &= ~0x00000400u; 4533 _has_bits_[0] &= ~0x00000010u;
4075 } 4534 }
4076 inline void FileDescriptorProto::clear_source_code_info() { 4535 inline void FileDescriptorProto::clear_source_code_info() {
4077 if (source_code_info_ != NULL) source_code_info_->::google::protobuf::SourceCo deInfo::Clear(); 4536 if (source_code_info_ != NULL) source_code_info_->::google::protobuf::SourceCo deInfo::Clear();
4078 clear_has_source_code_info(); 4537 clear_has_source_code_info();
4079 } 4538 }
4080 inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_cod e_info() const { 4539 inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_cod e_info() const {
4081 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.sour ce_code_info) 4540 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.sour ce_code_info)
4082 return source_code_info_ != NULL ? *source_code_info_ : *default_instance_->so urce_code_info_; 4541 return source_code_info_ != NULL ? *source_code_info_
4542 : *::google::protobuf::SourceCodeInfo::internal_default _instance();
4083 } 4543 }
4084 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::mutable_source_c ode_info() { 4544 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::mutable_source_c ode_info() {
4085 set_has_source_code_info(); 4545 set_has_source_code_info();
4086 if (source_code_info_ == NULL) { 4546 if (source_code_info_ == NULL) {
4087 source_code_info_ = new ::google::protobuf::SourceCodeInfo; 4547 source_code_info_ = new ::google::protobuf::SourceCodeInfo;
4088 } 4548 }
4089 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto. source_code_info) 4549 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto. source_code_info)
4090 return source_code_info_; 4550 return source_code_info_;
4091 } 4551 }
4092 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::release_source_c ode_info() { 4552 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::release_source_c ode_info() {
4093 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto. source_code_info) 4553 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto. source_code_info)
4094 clear_has_source_code_info(); 4554 clear_has_source_code_info();
4095 ::google::protobuf::SourceCodeInfo* temp = source_code_info_; 4555 ::google::protobuf::SourceCodeInfo* temp = source_code_info_;
4096 source_code_info_ = NULL; 4556 source_code_info_ = NULL;
4097 return temp; 4557 return temp;
4098 } 4558 }
4099 inline void FileDescriptorProto::set_allocated_source_code_info(::google::protob uf::SourceCodeInfo* source_code_info) { 4559 inline void FileDescriptorProto::set_allocated_source_code_info(::google::protob uf::SourceCodeInfo* source_code_info) {
4100 delete source_code_info_; 4560 delete source_code_info_;
4101 source_code_info_ = source_code_info; 4561 source_code_info_ = source_code_info;
4102 if (source_code_info) { 4562 if (source_code_info) {
4103 set_has_source_code_info(); 4563 set_has_source_code_info();
4104 } else { 4564 } else {
4105 clear_has_source_code_info(); 4565 clear_has_source_code_info();
4106 } 4566 }
4107 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor Proto.source_code_info) 4567 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor Proto.source_code_info)
4108 } 4568 }
4109 4569
4110 // optional string syntax = 12; 4570 // optional string syntax = 12;
4111 inline bool FileDescriptorProto::has_syntax() const { 4571 inline bool FileDescriptorProto::has_syntax() const {
4112 return (_has_bits_[0] & 0x00000800u) != 0; 4572 return (_has_bits_[0] & 0x00000004u) != 0;
4113 } 4573 }
4114 inline void FileDescriptorProto::set_has_syntax() { 4574 inline void FileDescriptorProto::set_has_syntax() {
4115 _has_bits_[0] |= 0x00000800u; 4575 _has_bits_[0] |= 0x00000004u;
4116 } 4576 }
4117 inline void FileDescriptorProto::clear_has_syntax() { 4577 inline void FileDescriptorProto::clear_has_syntax() {
4118 _has_bits_[0] &= ~0x00000800u; 4578 _has_bits_[0] &= ~0x00000004u;
4119 } 4579 }
4120 inline void FileDescriptorProto::clear_syntax() { 4580 inline void FileDescriptorProto::clear_syntax() {
4121 syntax_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited()); 4581 syntax_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited());
4122 clear_has_syntax(); 4582 clear_has_syntax();
4123 } 4583 }
4124 inline const ::std::string& FileDescriptorProto::syntax() const { 4584 inline const ::std::string& FileDescriptorProto::syntax() const {
4125 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.synt ax) 4585 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.synt ax)
4126 return syntax_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 4586 return syntax_.GetNoArena();
4127 } 4587 }
4128 inline void FileDescriptorProto::set_syntax(const ::std::string& value) { 4588 inline void FileDescriptorProto::set_syntax(const ::std::string& value) {
4129 set_has_syntax(); 4589 set_has_syntax();
4130 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited( ), value); 4590 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited( ), value);
4131 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.synt ax) 4591 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.synt ax)
4132 } 4592 }
4133 inline void FileDescriptorProto::set_syntax(const char* value) { 4593 inline void FileDescriptorProto::set_syntax(const char* value) {
4134 set_has_syntax(); 4594 set_has_syntax();
4135 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited( ), ::std::string(value)); 4595 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited( ), ::std::string(value));
4136 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto .syntax) 4596 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto .syntax)
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
4278 } 4738 }
4279 inline void DescriptorProto::clear_has_name() { 4739 inline void DescriptorProto::clear_has_name() {
4280 _has_bits_[0] &= ~0x00000001u; 4740 _has_bits_[0] &= ~0x00000001u;
4281 } 4741 }
4282 inline void DescriptorProto::clear_name() { 4742 inline void DescriptorProto::clear_name() {
4283 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 4743 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
4284 clear_has_name(); 4744 clear_has_name();
4285 } 4745 }
4286 inline const ::std::string& DescriptorProto::name() const { 4746 inline const ::std::string& DescriptorProto::name() const {
4287 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name) 4747 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name)
4288 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited()); 4748 return name_.GetNoArena();
4289 } 4749 }
4290 inline void DescriptorProto::set_name(const ::std::string& value) { 4750 inline void DescriptorProto::set_name(const ::std::string& value) {
4291 set_has_name(); 4751 set_has_name();
4292 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 4752 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4293 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name) 4753 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name)
4294 } 4754 }
4295 inline void DescriptorProto::set_name(const char* value) { 4755 inline void DescriptorProto::set_name(const char* value) {
4296 set_has_name(); 4756 set_has_name();
4297 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 4757 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4298 // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.nam e) 4758 // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.nam e)
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
4498 return &oneof_decl_; 4958 return &oneof_decl_;
4499 } 4959 }
4500 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDesc riptorProto >& 4960 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDesc riptorProto >&
4501 DescriptorProto::oneof_decl() const { 4961 DescriptorProto::oneof_decl() const {
4502 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_d ecl) 4962 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_d ecl)
4503 return oneof_decl_; 4963 return oneof_decl_;
4504 } 4964 }
4505 4965
4506 // optional .google.protobuf.MessageOptions options = 7; 4966 // optional .google.protobuf.MessageOptions options = 7;
4507 inline bool DescriptorProto::has_options() const { 4967 inline bool DescriptorProto::has_options() const {
4508 return (_has_bits_[0] & 0x00000080u) != 0; 4968 return (_has_bits_[0] & 0x00000002u) != 0;
4509 } 4969 }
4510 inline void DescriptorProto::set_has_options() { 4970 inline void DescriptorProto::set_has_options() {
4511 _has_bits_[0] |= 0x00000080u; 4971 _has_bits_[0] |= 0x00000002u;
4512 } 4972 }
4513 inline void DescriptorProto::clear_has_options() { 4973 inline void DescriptorProto::clear_has_options() {
4514 _has_bits_[0] &= ~0x00000080u; 4974 _has_bits_[0] &= ~0x00000002u;
4515 } 4975 }
4516 inline void DescriptorProto::clear_options() { 4976 inline void DescriptorProto::clear_options() {
4517 if (options_ != NULL) options_->::google::protobuf::MessageOptions::Clear(); 4977 if (options_ != NULL) options_->::google::protobuf::MessageOptions::Clear();
4518 clear_has_options(); 4978 clear_has_options();
4519 } 4979 }
4520 inline const ::google::protobuf::MessageOptions& DescriptorProto::options() cons t { 4980 inline const ::google::protobuf::MessageOptions& DescriptorProto::options() cons t {
4521 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options) 4981 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options)
4522 return options_ != NULL ? *options_ : *default_instance_->options_; 4982 return options_ != NULL ? *options_
4983 : *::google::protobuf::MessageOptions::internal_default _instance();
4523 } 4984 }
4524 inline ::google::protobuf::MessageOptions* DescriptorProto::mutable_options() { 4985 inline ::google::protobuf::MessageOptions* DescriptorProto::mutable_options() {
4525 set_has_options(); 4986 set_has_options();
4526 if (options_ == NULL) { 4987 if (options_ == NULL) {
4527 options_ = new ::google::protobuf::MessageOptions; 4988 options_ = new ::google::protobuf::MessageOptions;
4528 } 4989 }
4529 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.opti ons) 4990 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.opti ons)
4530 return options_; 4991 return options_;
4531 } 4992 }
4532 inline ::google::protobuf::MessageOptions* DescriptorProto::release_options() { 4993 inline ::google::protobuf::MessageOptions* DescriptorProto::release_options() {
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
4645 } 5106 }
4646 inline void FieldDescriptorProto::clear_has_name() { 5107 inline void FieldDescriptorProto::clear_has_name() {
4647 _has_bits_[0] &= ~0x00000001u; 5108 _has_bits_[0] &= ~0x00000001u;
4648 } 5109 }
4649 inline void FieldDescriptorProto::clear_name() { 5110 inline void FieldDescriptorProto::clear_name() {
4650 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 5111 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
4651 clear_has_name(); 5112 clear_has_name();
4652 } 5113 }
4653 inline const ::std::string& FieldDescriptorProto::name() const { 5114 inline const ::std::string& FieldDescriptorProto::name() const {
4654 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.nam e) 5115 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.nam e)
4655 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited()); 5116 return name_.GetNoArena();
4656 } 5117 }
4657 inline void FieldDescriptorProto::set_name(const ::std::string& value) { 5118 inline void FieldDescriptorProto::set_name(const ::std::string& value) {
4658 set_has_name(); 5119 set_has_name();
4659 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 5120 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4660 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.nam e) 5121 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.nam e)
4661 } 5122 }
4662 inline void FieldDescriptorProto::set_name(const char* value) { 5123 inline void FieldDescriptorProto::set_name(const char* value) {
4663 set_has_name(); 5124 set_has_name();
4664 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 5125 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4665 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.name) 5126 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.name)
(...skipping 19 matching lines...) Expand all
4685 set_has_name(); 5146 set_has_name();
4686 } else { 5147 } else {
4687 clear_has_name(); 5148 clear_has_name();
4688 } 5149 }
4689 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), name); 5150 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), name);
4690 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto rProto.name) 5151 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto rProto.name)
4691 } 5152 }
4692 5153
4693 // optional int32 number = 3; 5154 // optional int32 number = 3;
4694 inline bool FieldDescriptorProto::has_number() const { 5155 inline bool FieldDescriptorProto::has_number() const {
4695 return (_has_bits_[0] & 0x00000002u) != 0; 5156 return (_has_bits_[0] & 0x00000040u) != 0;
4696 } 5157 }
4697 inline void FieldDescriptorProto::set_has_number() { 5158 inline void FieldDescriptorProto::set_has_number() {
4698 _has_bits_[0] |= 0x00000002u; 5159 _has_bits_[0] |= 0x00000040u;
4699 } 5160 }
4700 inline void FieldDescriptorProto::clear_has_number() { 5161 inline void FieldDescriptorProto::clear_has_number() {
4701 _has_bits_[0] &= ~0x00000002u; 5162 _has_bits_[0] &= ~0x00000040u;
4702 } 5163 }
4703 inline void FieldDescriptorProto::clear_number() { 5164 inline void FieldDescriptorProto::clear_number() {
4704 number_ = 0; 5165 number_ = 0;
4705 clear_has_number(); 5166 clear_has_number();
4706 } 5167 }
4707 inline ::google::protobuf::int32 FieldDescriptorProto::number() const { 5168 inline ::google::protobuf::int32 FieldDescriptorProto::number() const {
4708 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.num ber) 5169 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.num ber)
4709 return number_; 5170 return number_;
4710 } 5171 }
4711 inline void FieldDescriptorProto::set_number(::google::protobuf::int32 value) { 5172 inline void FieldDescriptorProto::set_number(::google::protobuf::int32 value) {
4712 set_has_number(); 5173 set_has_number();
4713 number_ = value; 5174 number_ = value;
4714 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.num ber) 5175 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.num ber)
4715 } 5176 }
4716 5177
4717 // optional .google.protobuf.FieldDescriptorProto.Label label = 4; 5178 // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
4718 inline bool FieldDescriptorProto::has_label() const { 5179 inline bool FieldDescriptorProto::has_label() const {
4719 return (_has_bits_[0] & 0x00000004u) != 0; 5180 return (_has_bits_[0] & 0x00000100u) != 0;
4720 } 5181 }
4721 inline void FieldDescriptorProto::set_has_label() { 5182 inline void FieldDescriptorProto::set_has_label() {
4722 _has_bits_[0] |= 0x00000004u; 5183 _has_bits_[0] |= 0x00000100u;
4723 } 5184 }
4724 inline void FieldDescriptorProto::clear_has_label() { 5185 inline void FieldDescriptorProto::clear_has_label() {
4725 _has_bits_[0] &= ~0x00000004u; 5186 _has_bits_[0] &= ~0x00000100u;
4726 } 5187 }
4727 inline void FieldDescriptorProto::clear_label() { 5188 inline void FieldDescriptorProto::clear_label() {
4728 label_ = 1; 5189 label_ = 1;
4729 clear_has_label(); 5190 clear_has_label();
4730 } 5191 }
4731 inline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::labe l() const { 5192 inline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::labe l() const {
4732 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.lab el) 5193 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.lab el)
4733 return static_cast< ::google::protobuf::FieldDescriptorProto_Label >(label_); 5194 return static_cast< ::google::protobuf::FieldDescriptorProto_Label >(label_);
4734 } 5195 }
4735 inline void FieldDescriptorProto::set_label(::google::protobuf::FieldDescriptorP roto_Label value) { 5196 inline void FieldDescriptorProto::set_label(::google::protobuf::FieldDescriptorP roto_Label value) {
4736 assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value)); 5197 assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value));
4737 set_has_label(); 5198 set_has_label();
4738 label_ = value; 5199 label_ = value;
4739 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.lab el) 5200 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.lab el)
4740 } 5201 }
4741 5202
4742 // optional .google.protobuf.FieldDescriptorProto.Type type = 5; 5203 // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
4743 inline bool FieldDescriptorProto::has_type() const { 5204 inline bool FieldDescriptorProto::has_type() const {
4744 return (_has_bits_[0] & 0x00000008u) != 0; 5205 return (_has_bits_[0] & 0x00000200u) != 0;
4745 } 5206 }
4746 inline void FieldDescriptorProto::set_has_type() { 5207 inline void FieldDescriptorProto::set_has_type() {
4747 _has_bits_[0] |= 0x00000008u; 5208 _has_bits_[0] |= 0x00000200u;
4748 } 5209 }
4749 inline void FieldDescriptorProto::clear_has_type() { 5210 inline void FieldDescriptorProto::clear_has_type() {
4750 _has_bits_[0] &= ~0x00000008u; 5211 _has_bits_[0] &= ~0x00000200u;
4751 } 5212 }
4752 inline void FieldDescriptorProto::clear_type() { 5213 inline void FieldDescriptorProto::clear_type() {
4753 type_ = 1; 5214 type_ = 1;
4754 clear_has_type(); 5215 clear_has_type();
4755 } 5216 }
4756 inline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::type( ) const { 5217 inline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::type( ) const {
4757 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.typ e) 5218 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.typ e)
4758 return static_cast< ::google::protobuf::FieldDescriptorProto_Type >(type_); 5219 return static_cast< ::google::protobuf::FieldDescriptorProto_Type >(type_);
4759 } 5220 }
4760 inline void FieldDescriptorProto::set_type(::google::protobuf::FieldDescriptorPr oto_Type value) { 5221 inline void FieldDescriptorProto::set_type(::google::protobuf::FieldDescriptorPr oto_Type value) {
4761 assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value)); 5222 assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value));
4762 set_has_type(); 5223 set_has_type();
4763 type_ = value; 5224 type_ = value;
4764 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.typ e) 5225 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.typ e)
4765 } 5226 }
4766 5227
4767 // optional string type_name = 6; 5228 // optional string type_name = 6;
4768 inline bool FieldDescriptorProto::has_type_name() const { 5229 inline bool FieldDescriptorProto::has_type_name() const {
4769 return (_has_bits_[0] & 0x00000010u) != 0; 5230 return (_has_bits_[0] & 0x00000002u) != 0;
4770 } 5231 }
4771 inline void FieldDescriptorProto::set_has_type_name() { 5232 inline void FieldDescriptorProto::set_has_type_name() {
4772 _has_bits_[0] |= 0x00000010u; 5233 _has_bits_[0] |= 0x00000002u;
4773 } 5234 }
4774 inline void FieldDescriptorProto::clear_has_type_name() { 5235 inline void FieldDescriptorProto::clear_has_type_name() {
4775 _has_bits_[0] &= ~0x00000010u; 5236 _has_bits_[0] &= ~0x00000002u;
4776 } 5237 }
4777 inline void FieldDescriptorProto::clear_type_name() { 5238 inline void FieldDescriptorProto::clear_type_name() {
4778 type_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited()); 5239 type_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited());
4779 clear_has_type_name(); 5240 clear_has_type_name();
4780 } 5241 }
4781 inline const ::std::string& FieldDescriptorProto::type_name() const { 5242 inline const ::std::string& FieldDescriptorProto::type_name() const {
4782 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.typ e_name) 5243 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.typ e_name)
4783 return type_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited()); 5244 return type_name_.GetNoArena();
4784 } 5245 }
4785 inline void FieldDescriptorProto::set_type_name(const ::std::string& value) { 5246 inline void FieldDescriptorProto::set_type_name(const ::std::string& value) {
4786 set_has_type_name(); 5247 set_has_type_name();
4787 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), value); 5248 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), value);
4788 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.typ e_name) 5249 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.typ e_name)
4789 } 5250 }
4790 inline void FieldDescriptorProto::set_type_name(const char* value) { 5251 inline void FieldDescriptorProto::set_type_name(const char* value) {
4791 set_has_type_name(); 5252 set_has_type_name();
4792 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), ::std::string(value)); 5253 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), ::std::string(value));
4793 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.type_name) 5254 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.type_name)
(...skipping 19 matching lines...) Expand all
4813 set_has_type_name(); 5274 set_has_type_name();
4814 } else { 5275 } else {
4815 clear_has_type_name(); 5276 clear_has_type_name();
4816 } 5277 }
4817 type_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited(), type_name); 5278 type_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited(), type_name);
4818 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto rProto.type_name) 5279 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto rProto.type_name)
4819 } 5280 }
4820 5281
4821 // optional string extendee = 2; 5282 // optional string extendee = 2;
4822 inline bool FieldDescriptorProto::has_extendee() const { 5283 inline bool FieldDescriptorProto::has_extendee() const {
4823 return (_has_bits_[0] & 0x00000020u) != 0; 5284 return (_has_bits_[0] & 0x00000004u) != 0;
4824 } 5285 }
4825 inline void FieldDescriptorProto::set_has_extendee() { 5286 inline void FieldDescriptorProto::set_has_extendee() {
4826 _has_bits_[0] |= 0x00000020u; 5287 _has_bits_[0] |= 0x00000004u;
4827 } 5288 }
4828 inline void FieldDescriptorProto::clear_has_extendee() { 5289 inline void FieldDescriptorProto::clear_has_extendee() {
4829 _has_bits_[0] &= ~0x00000020u; 5290 _has_bits_[0] &= ~0x00000004u;
4830 } 5291 }
4831 inline void FieldDescriptorProto::clear_extendee() { 5292 inline void FieldDescriptorProto::clear_extendee() {
4832 extendee_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited()); 5293 extendee_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited());
4833 clear_has_extendee(); 5294 clear_has_extendee();
4834 } 5295 }
4835 inline const ::std::string& FieldDescriptorProto::extendee() const { 5296 inline const ::std::string& FieldDescriptorProto::extendee() const {
4836 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.ext endee) 5297 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.ext endee)
4837 return extendee_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited()); 5298 return extendee_.GetNoArena();
4838 } 5299 }
4839 inline void FieldDescriptorProto::set_extendee(const ::std::string& value) { 5300 inline void FieldDescriptorProto::set_extendee(const ::std::string& value) {
4840 set_has_extendee(); 5301 set_has_extendee();
4841 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite d(), value); 5302 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite d(), value);
4842 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.ext endee) 5303 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.ext endee)
4843 } 5304 }
4844 inline void FieldDescriptorProto::set_extendee(const char* value) { 5305 inline void FieldDescriptorProto::set_extendee(const char* value) {
4845 set_has_extendee(); 5306 set_has_extendee();
4846 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite d(), ::std::string(value)); 5307 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite d(), ::std::string(value));
4847 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.extendee) 5308 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.extendee)
(...skipping 19 matching lines...) Expand all
4867 set_has_extendee(); 5328 set_has_extendee();
4868 } else { 5329 } else {
4869 clear_has_extendee(); 5330 clear_has_extendee();
4870 } 5331 }
4871 extendee_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), extendee); 5332 extendee_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), extendee);
4872 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto rProto.extendee) 5333 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto rProto.extendee)
4873 } 5334 }
4874 5335
4875 // optional string default_value = 7; 5336 // optional string default_value = 7;
4876 inline bool FieldDescriptorProto::has_default_value() const { 5337 inline bool FieldDescriptorProto::has_default_value() const {
4877 return (_has_bits_[0] & 0x00000040u) != 0; 5338 return (_has_bits_[0] & 0x00000008u) != 0;
4878 } 5339 }
4879 inline void FieldDescriptorProto::set_has_default_value() { 5340 inline void FieldDescriptorProto::set_has_default_value() {
4880 _has_bits_[0] |= 0x00000040u; 5341 _has_bits_[0] |= 0x00000008u;
4881 } 5342 }
4882 inline void FieldDescriptorProto::clear_has_default_value() { 5343 inline void FieldDescriptorProto::clear_has_default_value() {
4883 _has_bits_[0] &= ~0x00000040u; 5344 _has_bits_[0] &= ~0x00000008u;
4884 } 5345 }
4885 inline void FieldDescriptorProto::clear_default_value() { 5346 inline void FieldDescriptorProto::clear_default_value() {
4886 default_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStri ngAlreadyInited()); 5347 default_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStri ngAlreadyInited());
4887 clear_has_default_value(); 5348 clear_has_default_value();
4888 } 5349 }
4889 inline const ::std::string& FieldDescriptorProto::default_value() const { 5350 inline const ::std::string& FieldDescriptorProto::default_value() const {
4890 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.def ault_value) 5351 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.def ault_value)
4891 return default_value_.GetNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited()); 5352 return default_value_.GetNoArena();
4892 } 5353 }
4893 inline void FieldDescriptorProto::set_default_value(const ::std::string& value) { 5354 inline void FieldDescriptorProto::set_default_value(const ::std::string& value) {
4894 set_has_default_value(); 5355 set_has_default_value();
4895 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), value); 5356 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), value);
4896 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.def ault_value) 5357 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.def ault_value)
4897 } 5358 }
4898 inline void FieldDescriptorProto::set_default_value(const char* value) { 5359 inline void FieldDescriptorProto::set_default_value(const char* value) {
4899 set_has_default_value(); 5360 set_has_default_value();
4900 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), ::std::string(value)); 5361 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), ::std::string(value));
4901 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.default_value) 5362 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.default_value)
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
4945 return oneof_index_; 5406 return oneof_index_;
4946 } 5407 }
4947 inline void FieldDescriptorProto::set_oneof_index(::google::protobuf::int32 valu e) { 5408 inline void FieldDescriptorProto::set_oneof_index(::google::protobuf::int32 valu e) {
4948 set_has_oneof_index(); 5409 set_has_oneof_index();
4949 oneof_index_ = value; 5410 oneof_index_ = value;
4950 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.one of_index) 5411 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.one of_index)
4951 } 5412 }
4952 5413
4953 // optional string json_name = 10; 5414 // optional string json_name = 10;
4954 inline bool FieldDescriptorProto::has_json_name() const { 5415 inline bool FieldDescriptorProto::has_json_name() const {
4955 return (_has_bits_[0] & 0x00000100u) != 0; 5416 return (_has_bits_[0] & 0x00000010u) != 0;
4956 } 5417 }
4957 inline void FieldDescriptorProto::set_has_json_name() { 5418 inline void FieldDescriptorProto::set_has_json_name() {
4958 _has_bits_[0] |= 0x00000100u; 5419 _has_bits_[0] |= 0x00000010u;
4959 } 5420 }
4960 inline void FieldDescriptorProto::clear_has_json_name() { 5421 inline void FieldDescriptorProto::clear_has_json_name() {
4961 _has_bits_[0] &= ~0x00000100u; 5422 _has_bits_[0] &= ~0x00000010u;
4962 } 5423 }
4963 inline void FieldDescriptorProto::clear_json_name() { 5424 inline void FieldDescriptorProto::clear_json_name() {
4964 json_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited()); 5425 json_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited());
4965 clear_has_json_name(); 5426 clear_has_json_name();
4966 } 5427 }
4967 inline const ::std::string& FieldDescriptorProto::json_name() const { 5428 inline const ::std::string& FieldDescriptorProto::json_name() const {
4968 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.jso n_name) 5429 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.jso n_name)
4969 return json_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited()); 5430 return json_name_.GetNoArena();
4970 } 5431 }
4971 inline void FieldDescriptorProto::set_json_name(const ::std::string& value) { 5432 inline void FieldDescriptorProto::set_json_name(const ::std::string& value) {
4972 set_has_json_name(); 5433 set_has_json_name();
4973 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), value); 5434 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), value);
4974 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.jso n_name) 5435 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.jso n_name)
4975 } 5436 }
4976 inline void FieldDescriptorProto::set_json_name(const char* value) { 5437 inline void FieldDescriptorProto::set_json_name(const char* value) {
4977 set_has_json_name(); 5438 set_has_json_name();
4978 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), ::std::string(value)); 5439 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), ::std::string(value));
4979 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.json_name) 5440 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt o.json_name)
(...skipping 19 matching lines...) Expand all
4999 set_has_json_name(); 5460 set_has_json_name();
5000 } else { 5461 } else {
5001 clear_has_json_name(); 5462 clear_has_json_name();
5002 } 5463 }
5003 json_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited(), json_name); 5464 json_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited(), json_name);
5004 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto rProto.json_name) 5465 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto rProto.json_name)
5005 } 5466 }
5006 5467
5007 // optional .google.protobuf.FieldOptions options = 8; 5468 // optional .google.protobuf.FieldOptions options = 8;
5008 inline bool FieldDescriptorProto::has_options() const { 5469 inline bool FieldDescriptorProto::has_options() const {
5009 return (_has_bits_[0] & 0x00000200u) != 0; 5470 return (_has_bits_[0] & 0x00000020u) != 0;
5010 } 5471 }
5011 inline void FieldDescriptorProto::set_has_options() { 5472 inline void FieldDescriptorProto::set_has_options() {
5012 _has_bits_[0] |= 0x00000200u; 5473 _has_bits_[0] |= 0x00000020u;
5013 } 5474 }
5014 inline void FieldDescriptorProto::clear_has_options() { 5475 inline void FieldDescriptorProto::clear_has_options() {
5015 _has_bits_[0] &= ~0x00000200u; 5476 _has_bits_[0] &= ~0x00000020u;
5016 } 5477 }
5017 inline void FieldDescriptorProto::clear_options() { 5478 inline void FieldDescriptorProto::clear_options() {
5018 if (options_ != NULL) options_->::google::protobuf::FieldOptions::Clear(); 5479 if (options_ != NULL) options_->::google::protobuf::FieldOptions::Clear();
5019 clear_has_options(); 5480 clear_has_options();
5020 } 5481 }
5021 inline const ::google::protobuf::FieldOptions& FieldDescriptorProto::options() c onst { 5482 inline const ::google::protobuf::FieldOptions& FieldDescriptorProto::options() c onst {
5022 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.opt ions) 5483 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.opt ions)
5023 return options_ != NULL ? *options_ : *default_instance_->options_; 5484 return options_ != NULL ? *options_
5485 : *::google::protobuf::FieldOptions::internal_default_i nstance();
5024 } 5486 }
5025 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::mutable_options() { 5487 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::mutable_options() {
5026 set_has_options(); 5488 set_has_options();
5027 if (options_ == NULL) { 5489 if (options_ == NULL) {
5028 options_ = new ::google::protobuf::FieldOptions; 5490 options_ = new ::google::protobuf::FieldOptions;
5029 } 5491 }
5030 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto .options) 5492 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto .options)
5031 return options_; 5493 return options_;
5032 } 5494 }
5033 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::release_options() { 5495 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::release_options() {
(...skipping 27 matching lines...) Expand all
5061 } 5523 }
5062 inline void OneofDescriptorProto::clear_has_name() { 5524 inline void OneofDescriptorProto::clear_has_name() {
5063 _has_bits_[0] &= ~0x00000001u; 5525 _has_bits_[0] &= ~0x00000001u;
5064 } 5526 }
5065 inline void OneofDescriptorProto::clear_name() { 5527 inline void OneofDescriptorProto::clear_name() {
5066 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 5528 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
5067 clear_has_name(); 5529 clear_has_name();
5068 } 5530 }
5069 inline const ::std::string& OneofDescriptorProto::name() const { 5531 inline const ::std::string& OneofDescriptorProto::name() const {
5070 // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.nam e) 5532 // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.nam e)
5071 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited()); 5533 return name_.GetNoArena();
5072 } 5534 }
5073 inline void OneofDescriptorProto::set_name(const ::std::string& value) { 5535 inline void OneofDescriptorProto::set_name(const ::std::string& value) {
5074 set_has_name(); 5536 set_has_name();
5075 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 5537 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5076 // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.nam e) 5538 // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.nam e)
5077 } 5539 }
5078 inline void OneofDescriptorProto::set_name(const char* value) { 5540 inline void OneofDescriptorProto::set_name(const char* value) {
5079 set_has_name(); 5541 set_has_name();
5080 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 5542 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5081 // @@protoc_insertion_point(field_set_char:google.protobuf.OneofDescriptorProt o.name) 5543 // @@protoc_insertion_point(field_set_char:google.protobuf.OneofDescriptorProt o.name)
(...skipping 17 matching lines...) Expand all
5099 inline void OneofDescriptorProto::set_allocated_name(::std::string* name) { 5561 inline void OneofDescriptorProto::set_allocated_name(::std::string* name) {
5100 if (name != NULL) { 5562 if (name != NULL) {
5101 set_has_name(); 5563 set_has_name();
5102 } else { 5564 } else {
5103 clear_has_name(); 5565 clear_has_name();
5104 } 5566 }
5105 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), name); 5567 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), name);
5106 // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescripto rProto.name) 5568 // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescripto rProto.name)
5107 } 5569 }
5108 5570
5571 // optional .google.protobuf.OneofOptions options = 2;
5572 inline bool OneofDescriptorProto::has_options() const {
5573 return (_has_bits_[0] & 0x00000002u) != 0;
5574 }
5575 inline void OneofDescriptorProto::set_has_options() {
5576 _has_bits_[0] |= 0x00000002u;
5577 }
5578 inline void OneofDescriptorProto::clear_has_options() {
5579 _has_bits_[0] &= ~0x00000002u;
5580 }
5581 inline void OneofDescriptorProto::clear_options() {
5582 if (options_ != NULL) options_->::google::protobuf::OneofOptions::Clear();
5583 clear_has_options();
5584 }
5585 inline const ::google::protobuf::OneofOptions& OneofDescriptorProto::options() c onst {
5586 // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.opt ions)
5587 return options_ != NULL ? *options_
5588 : *::google::protobuf::OneofOptions::internal_default_i nstance();
5589 }
5590 inline ::google::protobuf::OneofOptions* OneofDescriptorProto::mutable_options() {
5591 set_has_options();
5592 if (options_ == NULL) {
5593 options_ = new ::google::protobuf::OneofOptions;
5594 }
5595 // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto .options)
5596 return options_;
5597 }
5598 inline ::google::protobuf::OneofOptions* OneofDescriptorProto::release_options() {
5599 // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto .options)
5600 clear_has_options();
5601 ::google::protobuf::OneofOptions* temp = options_;
5602 options_ = NULL;
5603 return temp;
5604 }
5605 inline void OneofDescriptorProto::set_allocated_options(::google::protobuf::Oneo fOptions* options) {
5606 delete options_;
5607 options_ = options;
5608 if (options) {
5609 set_has_options();
5610 } else {
5611 clear_has_options();
5612 }
5613 // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescripto rProto.options)
5614 }
5615
5109 // ------------------------------------------------------------------- 5616 // -------------------------------------------------------------------
5110 5617
5111 // EnumDescriptorProto 5618 // EnumDescriptorProto
5112 5619
5113 // optional string name = 1; 5620 // optional string name = 1;
5114 inline bool EnumDescriptorProto::has_name() const { 5621 inline bool EnumDescriptorProto::has_name() const {
5115 return (_has_bits_[0] & 0x00000001u) != 0; 5622 return (_has_bits_[0] & 0x00000001u) != 0;
5116 } 5623 }
5117 inline void EnumDescriptorProto::set_has_name() { 5624 inline void EnumDescriptorProto::set_has_name() {
5118 _has_bits_[0] |= 0x00000001u; 5625 _has_bits_[0] |= 0x00000001u;
5119 } 5626 }
5120 inline void EnumDescriptorProto::clear_has_name() { 5627 inline void EnumDescriptorProto::clear_has_name() {
5121 _has_bits_[0] &= ~0x00000001u; 5628 _has_bits_[0] &= ~0x00000001u;
5122 } 5629 }
5123 inline void EnumDescriptorProto::clear_name() { 5630 inline void EnumDescriptorProto::clear_name() {
5124 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 5631 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
5125 clear_has_name(); 5632 clear_has_name();
5126 } 5633 }
5127 inline const ::std::string& EnumDescriptorProto::name() const { 5634 inline const ::std::string& EnumDescriptorProto::name() const {
5128 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name ) 5635 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name )
5129 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited()); 5636 return name_.GetNoArena();
5130 } 5637 }
5131 inline void EnumDescriptorProto::set_name(const ::std::string& value) { 5638 inline void EnumDescriptorProto::set_name(const ::std::string& value) {
5132 set_has_name(); 5639 set_has_name();
5133 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 5640 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5134 // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name ) 5641 // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name )
5135 } 5642 }
5136 inline void EnumDescriptorProto::set_name(const char* value) { 5643 inline void EnumDescriptorProto::set_name(const char* value) {
5137 set_has_name(); 5644 set_has_name();
5138 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 5645 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5139 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto .name) 5646 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto .name)
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
5189 return &value_; 5696 return &value_;
5190 } 5697 }
5191 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue DescriptorProto >& 5698 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue DescriptorProto >&
5192 EnumDescriptorProto::value() const { 5699 EnumDescriptorProto::value() const {
5193 // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.val ue) 5700 // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.val ue)
5194 return value_; 5701 return value_;
5195 } 5702 }
5196 5703
5197 // optional .google.protobuf.EnumOptions options = 3; 5704 // optional .google.protobuf.EnumOptions options = 3;
5198 inline bool EnumDescriptorProto::has_options() const { 5705 inline bool EnumDescriptorProto::has_options() const {
5199 return (_has_bits_[0] & 0x00000004u) != 0; 5706 return (_has_bits_[0] & 0x00000002u) != 0;
5200 } 5707 }
5201 inline void EnumDescriptorProto::set_has_options() { 5708 inline void EnumDescriptorProto::set_has_options() {
5202 _has_bits_[0] |= 0x00000004u; 5709 _has_bits_[0] |= 0x00000002u;
5203 } 5710 }
5204 inline void EnumDescriptorProto::clear_has_options() { 5711 inline void EnumDescriptorProto::clear_has_options() {
5205 _has_bits_[0] &= ~0x00000004u; 5712 _has_bits_[0] &= ~0x00000002u;
5206 } 5713 }
5207 inline void EnumDescriptorProto::clear_options() { 5714 inline void EnumDescriptorProto::clear_options() {
5208 if (options_ != NULL) options_->::google::protobuf::EnumOptions::Clear(); 5715 if (options_ != NULL) options_->::google::protobuf::EnumOptions::Clear();
5209 clear_has_options(); 5716 clear_has_options();
5210 } 5717 }
5211 inline const ::google::protobuf::EnumOptions& EnumDescriptorProto::options() con st { 5718 inline const ::google::protobuf::EnumOptions& EnumDescriptorProto::options() con st {
5212 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.opti ons) 5719 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.opti ons)
5213 return options_ != NULL ? *options_ : *default_instance_->options_; 5720 return options_ != NULL ? *options_
5721 : *::google::protobuf::EnumOptions::internal_default_in stance();
5214 } 5722 }
5215 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::mutable_options() { 5723 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::mutable_options() {
5216 set_has_options(); 5724 set_has_options();
5217 if (options_ == NULL) { 5725 if (options_ == NULL) {
5218 options_ = new ::google::protobuf::EnumOptions; 5726 options_ = new ::google::protobuf::EnumOptions;
5219 } 5727 }
5220 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto. options) 5728 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto. options)
5221 return options_; 5729 return options_;
5222 } 5730 }
5223 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::release_options() { 5731 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::release_options() {
(...skipping 27 matching lines...) Expand all
5251 } 5759 }
5252 inline void EnumValueDescriptorProto::clear_has_name() { 5760 inline void EnumValueDescriptorProto::clear_has_name() {
5253 _has_bits_[0] &= ~0x00000001u; 5761 _has_bits_[0] &= ~0x00000001u;
5254 } 5762 }
5255 inline void EnumValueDescriptorProto::clear_name() { 5763 inline void EnumValueDescriptorProto::clear_name() {
5256 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 5764 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
5257 clear_has_name(); 5765 clear_has_name();
5258 } 5766 }
5259 inline const ::std::string& EnumValueDescriptorProto::name() const { 5767 inline const ::std::string& EnumValueDescriptorProto::name() const {
5260 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto .name) 5768 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto .name)
5261 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited()); 5769 return name_.GetNoArena();
5262 } 5770 }
5263 inline void EnumValueDescriptorProto::set_name(const ::std::string& value) { 5771 inline void EnumValueDescriptorProto::set_name(const ::std::string& value) {
5264 set_has_name(); 5772 set_has_name();
5265 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 5773 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5266 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto .name) 5774 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto .name)
5267 } 5775 }
5268 inline void EnumValueDescriptorProto::set_name(const char* value) { 5776 inline void EnumValueDescriptorProto::set_name(const char* value) {
5269 set_has_name(); 5777 set_has_name();
5270 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 5778 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5271 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValueDescriptor Proto.name) 5779 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValueDescriptor Proto.name)
(...skipping 19 matching lines...) Expand all
5291 set_has_name(); 5799 set_has_name();
5292 } else { 5800 } else {
5293 clear_has_name(); 5801 clear_has_name();
5294 } 5802 }
5295 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), name); 5803 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), name);
5296 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescr iptorProto.name) 5804 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescr iptorProto.name)
5297 } 5805 }
5298 5806
5299 // optional int32 number = 2; 5807 // optional int32 number = 2;
5300 inline bool EnumValueDescriptorProto::has_number() const { 5808 inline bool EnumValueDescriptorProto::has_number() const {
5301 return (_has_bits_[0] & 0x00000002u) != 0; 5809 return (_has_bits_[0] & 0x00000004u) != 0;
5302 } 5810 }
5303 inline void EnumValueDescriptorProto::set_has_number() { 5811 inline void EnumValueDescriptorProto::set_has_number() {
5304 _has_bits_[0] |= 0x00000002u; 5812 _has_bits_[0] |= 0x00000004u;
5305 } 5813 }
5306 inline void EnumValueDescriptorProto::clear_has_number() { 5814 inline void EnumValueDescriptorProto::clear_has_number() {
5307 _has_bits_[0] &= ~0x00000002u; 5815 _has_bits_[0] &= ~0x00000004u;
5308 } 5816 }
5309 inline void EnumValueDescriptorProto::clear_number() { 5817 inline void EnumValueDescriptorProto::clear_number() {
5310 number_ = 0; 5818 number_ = 0;
5311 clear_has_number(); 5819 clear_has_number();
5312 } 5820 }
5313 inline ::google::protobuf::int32 EnumValueDescriptorProto::number() const { 5821 inline ::google::protobuf::int32 EnumValueDescriptorProto::number() const {
5314 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto .number) 5822 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto .number)
5315 return number_; 5823 return number_;
5316 } 5824 }
5317 inline void EnumValueDescriptorProto::set_number(::google::protobuf::int32 value ) { 5825 inline void EnumValueDescriptorProto::set_number(::google::protobuf::int32 value ) {
5318 set_has_number(); 5826 set_has_number();
5319 number_ = value; 5827 number_ = value;
5320 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto .number) 5828 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto .number)
5321 } 5829 }
5322 5830
5323 // optional .google.protobuf.EnumValueOptions options = 3; 5831 // optional .google.protobuf.EnumValueOptions options = 3;
5324 inline bool EnumValueDescriptorProto::has_options() const { 5832 inline bool EnumValueDescriptorProto::has_options() const {
5325 return (_has_bits_[0] & 0x00000004u) != 0; 5833 return (_has_bits_[0] & 0x00000002u) != 0;
5326 } 5834 }
5327 inline void EnumValueDescriptorProto::set_has_options() { 5835 inline void EnumValueDescriptorProto::set_has_options() {
5328 _has_bits_[0] |= 0x00000004u; 5836 _has_bits_[0] |= 0x00000002u;
5329 } 5837 }
5330 inline void EnumValueDescriptorProto::clear_has_options() { 5838 inline void EnumValueDescriptorProto::clear_has_options() {
5331 _has_bits_[0] &= ~0x00000004u; 5839 _has_bits_[0] &= ~0x00000002u;
5332 } 5840 }
5333 inline void EnumValueDescriptorProto::clear_options() { 5841 inline void EnumValueDescriptorProto::clear_options() {
5334 if (options_ != NULL) options_->::google::protobuf::EnumValueOptions::Clear(); 5842 if (options_ != NULL) options_->::google::protobuf::EnumValueOptions::Clear();
5335 clear_has_options(); 5843 clear_has_options();
5336 } 5844 }
5337 inline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::opt ions() const { 5845 inline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::opt ions() const {
5338 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto .options) 5846 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto .options)
5339 return options_ != NULL ? *options_ : *default_instance_->options_; 5847 return options_ != NULL ? *options_
5848 : *::google::protobuf::EnumValueOptions::internal_defau lt_instance();
5340 } 5849 }
5341 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::mutable_o ptions() { 5850 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::mutable_o ptions() {
5342 set_has_options(); 5851 set_has_options();
5343 if (options_ == NULL) { 5852 if (options_ == NULL) {
5344 options_ = new ::google::protobuf::EnumValueOptions; 5853 options_ = new ::google::protobuf::EnumValueOptions;
5345 } 5854 }
5346 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorP roto.options) 5855 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorP roto.options)
5347 return options_; 5856 return options_;
5348 } 5857 }
5349 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::release_o ptions() { 5858 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::release_o ptions() {
(...skipping 27 matching lines...) Expand all
5377 } 5886 }
5378 inline void ServiceDescriptorProto::clear_has_name() { 5887 inline void ServiceDescriptorProto::clear_has_name() {
5379 _has_bits_[0] &= ~0x00000001u; 5888 _has_bits_[0] &= ~0x00000001u;
5380 } 5889 }
5381 inline void ServiceDescriptorProto::clear_name() { 5890 inline void ServiceDescriptorProto::clear_name() {
5382 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 5891 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
5383 clear_has_name(); 5892 clear_has_name();
5384 } 5893 }
5385 inline const ::std::string& ServiceDescriptorProto::name() const { 5894 inline const ::std::string& ServiceDescriptorProto::name() const {
5386 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.n ame) 5895 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.n ame)
5387 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited()); 5896 return name_.GetNoArena();
5388 } 5897 }
5389 inline void ServiceDescriptorProto::set_name(const ::std::string& value) { 5898 inline void ServiceDescriptorProto::set_name(const ::std::string& value) {
5390 set_has_name(); 5899 set_has_name();
5391 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 5900 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5392 // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.n ame) 5901 // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.n ame)
5393 } 5902 }
5394 inline void ServiceDescriptorProto::set_name(const char* value) { 5903 inline void ServiceDescriptorProto::set_name(const char* value) {
5395 set_has_name(); 5904 set_has_name();
5396 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 5905 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5397 // @@protoc_insertion_point(field_set_char:google.protobuf.ServiceDescriptorPr oto.name) 5906 // @@protoc_insertion_point(field_set_char:google.protobuf.ServiceDescriptorPr oto.name)
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
5447 return &method_; 5956 return &method_;
5448 } 5957 }
5449 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDes criptorProto >& 5958 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDes criptorProto >&
5450 ServiceDescriptorProto::method() const { 5959 ServiceDescriptorProto::method() const {
5451 // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto. method) 5960 // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto. method)
5452 return method_; 5961 return method_;
5453 } 5962 }
5454 5963
5455 // optional .google.protobuf.ServiceOptions options = 3; 5964 // optional .google.protobuf.ServiceOptions options = 3;
5456 inline bool ServiceDescriptorProto::has_options() const { 5965 inline bool ServiceDescriptorProto::has_options() const {
5457 return (_has_bits_[0] & 0x00000004u) != 0; 5966 return (_has_bits_[0] & 0x00000002u) != 0;
5458 } 5967 }
5459 inline void ServiceDescriptorProto::set_has_options() { 5968 inline void ServiceDescriptorProto::set_has_options() {
5460 _has_bits_[0] |= 0x00000004u; 5969 _has_bits_[0] |= 0x00000002u;
5461 } 5970 }
5462 inline void ServiceDescriptorProto::clear_has_options() { 5971 inline void ServiceDescriptorProto::clear_has_options() {
5463 _has_bits_[0] &= ~0x00000004u; 5972 _has_bits_[0] &= ~0x00000002u;
5464 } 5973 }
5465 inline void ServiceDescriptorProto::clear_options() { 5974 inline void ServiceDescriptorProto::clear_options() {
5466 if (options_ != NULL) options_->::google::protobuf::ServiceOptions::Clear(); 5975 if (options_ != NULL) options_->::google::protobuf::ServiceOptions::Clear();
5467 clear_has_options(); 5976 clear_has_options();
5468 } 5977 }
5469 inline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::options () const { 5978 inline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::options () const {
5470 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.o ptions) 5979 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.o ptions)
5471 return options_ != NULL ? *options_ : *default_instance_->options_; 5980 return options_ != NULL ? *options_
5981 : *::google::protobuf::ServiceOptions::internal_default _instance();
5472 } 5982 }
5473 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::mutable_optio ns() { 5983 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::mutable_optio ns() {
5474 set_has_options(); 5984 set_has_options();
5475 if (options_ == NULL) { 5985 if (options_ == NULL) {
5476 options_ = new ::google::protobuf::ServiceOptions; 5986 options_ = new ::google::protobuf::ServiceOptions;
5477 } 5987 }
5478 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorPro to.options) 5988 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorPro to.options)
5479 return options_; 5989 return options_;
5480 } 5990 }
5481 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::release_optio ns() { 5991 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::release_optio ns() {
(...skipping 27 matching lines...) Expand all
5509 } 6019 }
5510 inline void MethodDescriptorProto::clear_has_name() { 6020 inline void MethodDescriptorProto::clear_has_name() {
5511 _has_bits_[0] &= ~0x00000001u; 6021 _has_bits_[0] &= ~0x00000001u;
5512 } 6022 }
5513 inline void MethodDescriptorProto::clear_name() { 6023 inline void MethodDescriptorProto::clear_name() {
5514 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 6024 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
5515 clear_has_name(); 6025 clear_has_name();
5516 } 6026 }
5517 inline const ::std::string& MethodDescriptorProto::name() const { 6027 inline const ::std::string& MethodDescriptorProto::name() const {
5518 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.na me) 6028 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.na me)
5519 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited()); 6029 return name_.GetNoArena();
5520 } 6030 }
5521 inline void MethodDescriptorProto::set_name(const ::std::string& value) { 6031 inline void MethodDescriptorProto::set_name(const ::std::string& value) {
5522 set_has_name(); 6032 set_has_name();
5523 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 6033 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5524 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.na me) 6034 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.na me)
5525 } 6035 }
5526 inline void MethodDescriptorProto::set_name(const char* value) { 6036 inline void MethodDescriptorProto::set_name(const char* value) {
5527 set_has_name(); 6037 set_has_name();
5528 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 6038 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5529 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro to.name) 6039 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro to.name)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
5563 } 6073 }
5564 inline void MethodDescriptorProto::clear_has_input_type() { 6074 inline void MethodDescriptorProto::clear_has_input_type() {
5565 _has_bits_[0] &= ~0x00000002u; 6075 _has_bits_[0] &= ~0x00000002u;
5566 } 6076 }
5567 inline void MethodDescriptorProto::clear_input_type() { 6077 inline void MethodDescriptorProto::clear_input_type() {
5568 input_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringA lreadyInited()); 6078 input_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringA lreadyInited());
5569 clear_has_input_type(); 6079 clear_has_input_type();
5570 } 6080 }
5571 inline const ::std::string& MethodDescriptorProto::input_type() const { 6081 inline const ::std::string& MethodDescriptorProto::input_type() const {
5572 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.in put_type) 6082 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.in put_type)
5573 return input_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited()); 6083 return input_type_.GetNoArena();
5574 } 6084 }
5575 inline void MethodDescriptorProto::set_input_type(const ::std::string& value) { 6085 inline void MethodDescriptorProto::set_input_type(const ::std::string& value) {
5576 set_has_input_type(); 6086 set_has_input_type();
5577 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni ted(), value); 6087 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni ted(), value);
5578 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.in put_type) 6088 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.in put_type)
5579 } 6089 }
5580 inline void MethodDescriptorProto::set_input_type(const char* value) { 6090 inline void MethodDescriptorProto::set_input_type(const char* value) {
5581 set_has_input_type(); 6091 set_has_input_type();
5582 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni ted(), ::std::string(value)); 6092 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni ted(), ::std::string(value));
5583 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro to.input_type) 6093 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro to.input_type)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
5617 } 6127 }
5618 inline void MethodDescriptorProto::clear_has_output_type() { 6128 inline void MethodDescriptorProto::clear_has_output_type() {
5619 _has_bits_[0] &= ~0x00000004u; 6129 _has_bits_[0] &= ~0x00000004u;
5620 } 6130 }
5621 inline void MethodDescriptorProto::clear_output_type() { 6131 inline void MethodDescriptorProto::clear_output_type() {
5622 output_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited()); 6132 output_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited());
5623 clear_has_output_type(); 6133 clear_has_output_type();
5624 } 6134 }
5625 inline const ::std::string& MethodDescriptorProto::output_type() const { 6135 inline const ::std::string& MethodDescriptorProto::output_type() const {
5626 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.ou tput_type) 6136 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.ou tput_type)
5627 return output_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited()); 6137 return output_type_.GetNoArena();
5628 } 6138 }
5629 inline void MethodDescriptorProto::set_output_type(const ::std::string& value) { 6139 inline void MethodDescriptorProto::set_output_type(const ::std::string& value) {
5630 set_has_output_type(); 6140 set_has_output_type();
5631 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited(), value); 6141 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited(), value);
5632 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.ou tput_type) 6142 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.ou tput_type)
5633 } 6143 }
5634 inline void MethodDescriptorProto::set_output_type(const char* value) { 6144 inline void MethodDescriptorProto::set_output_type(const char* value) {
5635 set_has_output_type(); 6145 set_has_output_type();
5636 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited(), ::std::string(value)); 6146 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited(), ::std::string(value));
5637 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro to.output_type) 6147 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro to.output_type)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
5671 } 6181 }
5672 inline void MethodDescriptorProto::clear_has_options() { 6182 inline void MethodDescriptorProto::clear_has_options() {
5673 _has_bits_[0] &= ~0x00000008u; 6183 _has_bits_[0] &= ~0x00000008u;
5674 } 6184 }
5675 inline void MethodDescriptorProto::clear_options() { 6185 inline void MethodDescriptorProto::clear_options() {
5676 if (options_ != NULL) options_->::google::protobuf::MethodOptions::Clear(); 6186 if (options_ != NULL) options_->::google::protobuf::MethodOptions::Clear();
5677 clear_has_options(); 6187 clear_has_options();
5678 } 6188 }
5679 inline const ::google::protobuf::MethodOptions& MethodDescriptorProto::options() const { 6189 inline const ::google::protobuf::MethodOptions& MethodDescriptorProto::options() const {
5680 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.op tions) 6190 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.op tions)
5681 return options_ != NULL ? *options_ : *default_instance_->options_; 6191 return options_ != NULL ? *options_
6192 : *::google::protobuf::MethodOptions::internal_default_ instance();
5682 } 6193 }
5683 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::mutable_options () { 6194 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::mutable_options () {
5684 set_has_options(); 6195 set_has_options();
5685 if (options_ == NULL) { 6196 if (options_ == NULL) {
5686 options_ = new ::google::protobuf::MethodOptions; 6197 options_ = new ::google::protobuf::MethodOptions;
5687 } 6198 }
5688 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProt o.options) 6199 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProt o.options)
5689 return options_; 6200 return options_;
5690 } 6201 }
5691 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::release_options () { 6202 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::release_options () {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
5767 } 6278 }
5768 inline void FileOptions::clear_has_java_package() { 6279 inline void FileOptions::clear_has_java_package() {
5769 _has_bits_[0] &= ~0x00000001u; 6280 _has_bits_[0] &= ~0x00000001u;
5770 } 6281 }
5771 inline void FileOptions::clear_java_package() { 6282 inline void FileOptions::clear_java_package() {
5772 java_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin gAlreadyInited()); 6283 java_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin gAlreadyInited());
5773 clear_has_java_package(); 6284 clear_has_java_package();
5774 } 6285 }
5775 inline const ::std::string& FileOptions::java_package() const { 6286 inline const ::std::string& FileOptions::java_package() const {
5776 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package ) 6287 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package )
5777 return java_package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringA lreadyInited()); 6288 return java_package_.GetNoArena();
5778 } 6289 }
5779 inline void FileOptions::set_java_package(const ::std::string& value) { 6290 inline void FileOptions::set_java_package(const ::std::string& value) {
5780 set_has_java_package(); 6291 set_has_java_package();
5781 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), value); 6292 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), value);
5782 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package ) 6293 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package )
5783 } 6294 }
5784 inline void FileOptions::set_java_package(const char* value) { 6295 inline void FileOptions::set_java_package(const char* value) {
5785 set_has_java_package(); 6296 set_has_java_package();
5786 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), ::std::string(value)); 6297 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), ::std::string(value));
5787 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_pa ckage) 6298 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_pa ckage)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
5821 } 6332 }
5822 inline void FileOptions::clear_has_java_outer_classname() { 6333 inline void FileOptions::clear_has_java_outer_classname() {
5823 _has_bits_[0] &= ~0x00000002u; 6334 _has_bits_[0] &= ~0x00000002u;
5824 } 6335 }
5825 inline void FileOptions::clear_java_outer_classname() { 6336 inline void FileOptions::clear_java_outer_classname() {
5826 java_outer_classname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEm ptyStringAlreadyInited()); 6337 java_outer_classname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEm ptyStringAlreadyInited());
5827 clear_has_java_outer_classname(); 6338 clear_has_java_outer_classname();
5828 } 6339 }
5829 inline const ::std::string& FileOptions::java_outer_classname() const { 6340 inline const ::std::string& FileOptions::java_outer_classname() const {
5830 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_c lassname) 6341 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_c lassname)
5831 return java_outer_classname_.GetNoArena(&::google::protobuf::internal::GetEmpt yStringAlreadyInited()); 6342 return java_outer_classname_.GetNoArena();
5832 } 6343 }
5833 inline void FileOptions::set_java_outer_classname(const ::std::string& value) { 6344 inline void FileOptions::set_java_outer_classname(const ::std::string& value) {
5834 set_has_java_outer_classname(); 6345 set_has_java_outer_classname();
5835 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited(), value); 6346 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited(), value);
5836 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_c lassname) 6347 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_c lassname)
5837 } 6348 }
5838 inline void FileOptions::set_java_outer_classname(const char* value) { 6349 inline void FileOptions::set_java_outer_classname(const char* value) {
5839 set_has_java_outer_classname(); 6350 set_has_java_outer_classname();
5840 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited(), ::std::string(value)); 6351 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited(), ::std::string(value));
5841 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_ou ter_classname) 6352 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_ou ter_classname)
(...skipping 19 matching lines...) Expand all
5861 set_has_java_outer_classname(); 6372 set_has_java_outer_classname();
5862 } else { 6373 } else {
5863 clear_has_java_outer_classname(); 6374 clear_has_java_outer_classname();
5864 } 6375 }
5865 java_outer_classname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEm ptyStringAlreadyInited(), java_outer_classname); 6376 java_outer_classname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEm ptyStringAlreadyInited(), java_outer_classname);
5866 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ja va_outer_classname) 6377 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ja va_outer_classname)
5867 } 6378 }
5868 6379
5869 // optional bool java_multiple_files = 10 [default = false]; 6380 // optional bool java_multiple_files = 10 [default = false];
5870 inline bool FileOptions::has_java_multiple_files() const { 6381 inline bool FileOptions::has_java_multiple_files() const {
5871 return (_has_bits_[0] & 0x00000004u) != 0; 6382 return (_has_bits_[0] & 0x00000040u) != 0;
5872 } 6383 }
5873 inline void FileOptions::set_has_java_multiple_files() { 6384 inline void FileOptions::set_has_java_multiple_files() {
5874 _has_bits_[0] |= 0x00000004u; 6385 _has_bits_[0] |= 0x00000040u;
5875 } 6386 }
5876 inline void FileOptions::clear_has_java_multiple_files() { 6387 inline void FileOptions::clear_has_java_multiple_files() {
5877 _has_bits_[0] &= ~0x00000004u; 6388 _has_bits_[0] &= ~0x00000040u;
5878 } 6389 }
5879 inline void FileOptions::clear_java_multiple_files() { 6390 inline void FileOptions::clear_java_multiple_files() {
5880 java_multiple_files_ = false; 6391 java_multiple_files_ = false;
5881 clear_has_java_multiple_files(); 6392 clear_has_java_multiple_files();
5882 } 6393 }
5883 inline bool FileOptions::java_multiple_files() const { 6394 inline bool FileOptions::java_multiple_files() const {
5884 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multipl e_files) 6395 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multipl e_files)
5885 return java_multiple_files_; 6396 return java_multiple_files_;
5886 } 6397 }
5887 inline void FileOptions::set_java_multiple_files(bool value) { 6398 inline void FileOptions::set_java_multiple_files(bool value) {
5888 set_has_java_multiple_files(); 6399 set_has_java_multiple_files();
5889 java_multiple_files_ = value; 6400 java_multiple_files_ = value;
5890 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multipl e_files) 6401 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multipl e_files)
5891 } 6402 }
5892 6403
5893 // optional bool java_generate_equals_and_hash = 20 [default = false]; 6404 // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
5894 inline bool FileOptions::has_java_generate_equals_and_hash() const { 6405 inline bool FileOptions::has_java_generate_equals_and_hash() const {
5895 return (_has_bits_[0] & 0x00000008u) != 0; 6406 return (_has_bits_[0] & 0x00000080u) != 0;
5896 } 6407 }
5897 inline void FileOptions::set_has_java_generate_equals_and_hash() { 6408 inline void FileOptions::set_has_java_generate_equals_and_hash() {
5898 _has_bits_[0] |= 0x00000008u; 6409 _has_bits_[0] |= 0x00000080u;
5899 } 6410 }
5900 inline void FileOptions::clear_has_java_generate_equals_and_hash() { 6411 inline void FileOptions::clear_has_java_generate_equals_and_hash() {
5901 _has_bits_[0] &= ~0x00000008u; 6412 _has_bits_[0] &= ~0x00000080u;
5902 } 6413 }
5903 inline void FileOptions::clear_java_generate_equals_and_hash() { 6414 inline void FileOptions::clear_java_generate_equals_and_hash() {
5904 java_generate_equals_and_hash_ = false; 6415 java_generate_equals_and_hash_ = false;
5905 clear_has_java_generate_equals_and_hash(); 6416 clear_has_java_generate_equals_and_hash();
5906 } 6417 }
5907 inline bool FileOptions::java_generate_equals_and_hash() const { 6418 inline bool FileOptions::java_generate_equals_and_hash() const {
5908 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generat e_equals_and_hash) 6419 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generat e_equals_and_hash)
5909 return java_generate_equals_and_hash_; 6420 return java_generate_equals_and_hash_;
5910 } 6421 }
5911 inline void FileOptions::set_java_generate_equals_and_hash(bool value) { 6422 inline void FileOptions::set_java_generate_equals_and_hash(bool value) {
5912 set_has_java_generate_equals_and_hash(); 6423 set_has_java_generate_equals_and_hash();
5913 java_generate_equals_and_hash_ = value; 6424 java_generate_equals_and_hash_ = value;
5914 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generat e_equals_and_hash) 6425 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generat e_equals_and_hash)
5915 } 6426 }
5916 6427
5917 // optional bool java_string_check_utf8 = 27 [default = false]; 6428 // optional bool java_string_check_utf8 = 27 [default = false];
5918 inline bool FileOptions::has_java_string_check_utf8() const { 6429 inline bool FileOptions::has_java_string_check_utf8() const {
5919 return (_has_bits_[0] & 0x00000010u) != 0; 6430 return (_has_bits_[0] & 0x00000100u) != 0;
5920 } 6431 }
5921 inline void FileOptions::set_has_java_string_check_utf8() { 6432 inline void FileOptions::set_has_java_string_check_utf8() {
5922 _has_bits_[0] |= 0x00000010u; 6433 _has_bits_[0] |= 0x00000100u;
5923 } 6434 }
5924 inline void FileOptions::clear_has_java_string_check_utf8() { 6435 inline void FileOptions::clear_has_java_string_check_utf8() {
5925 _has_bits_[0] &= ~0x00000010u; 6436 _has_bits_[0] &= ~0x00000100u;
5926 } 6437 }
5927 inline void FileOptions::clear_java_string_check_utf8() { 6438 inline void FileOptions::clear_java_string_check_utf8() {
5928 java_string_check_utf8_ = false; 6439 java_string_check_utf8_ = false;
5929 clear_has_java_string_check_utf8(); 6440 clear_has_java_string_check_utf8();
5930 } 6441 }
5931 inline bool FileOptions::java_string_check_utf8() const { 6442 inline bool FileOptions::java_string_check_utf8() const {
5932 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_ check_utf8) 6443 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_ check_utf8)
5933 return java_string_check_utf8_; 6444 return java_string_check_utf8_;
5934 } 6445 }
5935 inline void FileOptions::set_java_string_check_utf8(bool value) { 6446 inline void FileOptions::set_java_string_check_utf8(bool value) {
5936 set_has_java_string_check_utf8(); 6447 set_has_java_string_check_utf8();
5937 java_string_check_utf8_ = value; 6448 java_string_check_utf8_ = value;
5938 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_ check_utf8) 6449 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_ check_utf8)
5939 } 6450 }
5940 6451
5941 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; 6452 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
5942 inline bool FileOptions::has_optimize_for() const { 6453 inline bool FileOptions::has_optimize_for() const {
5943 return (_has_bits_[0] & 0x00000020u) != 0; 6454 return (_has_bits_[0] & 0x00004000u) != 0;
5944 } 6455 }
5945 inline void FileOptions::set_has_optimize_for() { 6456 inline void FileOptions::set_has_optimize_for() {
5946 _has_bits_[0] |= 0x00000020u; 6457 _has_bits_[0] |= 0x00004000u;
5947 } 6458 }
5948 inline void FileOptions::clear_has_optimize_for() { 6459 inline void FileOptions::clear_has_optimize_for() {
5949 _has_bits_[0] &= ~0x00000020u; 6460 _has_bits_[0] &= ~0x00004000u;
5950 } 6461 }
5951 inline void FileOptions::clear_optimize_for() { 6462 inline void FileOptions::clear_optimize_for() {
5952 optimize_for_ = 1; 6463 optimize_for_ = 1;
5953 clear_has_optimize_for(); 6464 clear_has_optimize_for();
5954 } 6465 }
5955 inline ::google::protobuf::FileOptions_OptimizeMode FileOptions::optimize_for() const { 6466 inline ::google::protobuf::FileOptions_OptimizeMode FileOptions::optimize_for() const {
5956 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for ) 6467 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for )
5957 return static_cast< ::google::protobuf::FileOptions_OptimizeMode >(optimize_fo r_); 6468 return static_cast< ::google::protobuf::FileOptions_OptimizeMode >(optimize_fo r_);
5958 } 6469 }
5959 inline void FileOptions::set_optimize_for(::google::protobuf::FileOptions_Optimi zeMode value) { 6470 inline void FileOptions::set_optimize_for(::google::protobuf::FileOptions_Optimi zeMode value) {
5960 assert(::google::protobuf::FileOptions_OptimizeMode_IsValid(value)); 6471 assert(::google::protobuf::FileOptions_OptimizeMode_IsValid(value));
5961 set_has_optimize_for(); 6472 set_has_optimize_for();
5962 optimize_for_ = value; 6473 optimize_for_ = value;
5963 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for ) 6474 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for )
5964 } 6475 }
5965 6476
5966 // optional string go_package = 11; 6477 // optional string go_package = 11;
5967 inline bool FileOptions::has_go_package() const { 6478 inline bool FileOptions::has_go_package() const {
5968 return (_has_bits_[0] & 0x00000040u) != 0; 6479 return (_has_bits_[0] & 0x00000004u) != 0;
5969 } 6480 }
5970 inline void FileOptions::set_has_go_package() { 6481 inline void FileOptions::set_has_go_package() {
5971 _has_bits_[0] |= 0x00000040u; 6482 _has_bits_[0] |= 0x00000004u;
5972 } 6483 }
5973 inline void FileOptions::clear_has_go_package() { 6484 inline void FileOptions::clear_has_go_package() {
5974 _has_bits_[0] &= ~0x00000040u; 6485 _has_bits_[0] &= ~0x00000004u;
5975 } 6486 }
5976 inline void FileOptions::clear_go_package() { 6487 inline void FileOptions::clear_go_package() {
5977 go_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringA lreadyInited()); 6488 go_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringA lreadyInited());
5978 clear_has_go_package(); 6489 clear_has_go_package();
5979 } 6490 }
5980 inline const ::std::string& FileOptions::go_package() const { 6491 inline const ::std::string& FileOptions::go_package() const {
5981 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package) 6492 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package)
5982 return go_package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited()); 6493 return go_package_.GetNoArena();
5983 } 6494 }
5984 inline void FileOptions::set_go_package(const ::std::string& value) { 6495 inline void FileOptions::set_go_package(const ::std::string& value) {
5985 set_has_go_package(); 6496 set_has_go_package();
5986 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni ted(), value); 6497 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni ted(), value);
5987 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package) 6498 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package)
5988 } 6499 }
5989 inline void FileOptions::set_go_package(const char* value) { 6500 inline void FileOptions::set_go_package(const char* value) {
5990 set_has_go_package(); 6501 set_has_go_package();
5991 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni ted(), ::std::string(value)); 6502 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni ted(), ::std::string(value));
5992 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.go_pack age) 6503 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.go_pack age)
(...skipping 19 matching lines...) Expand all
6012 set_has_go_package(); 6523 set_has_go_package();
6013 } else { 6524 } else {
6014 clear_has_go_package(); 6525 clear_has_go_package();
6015 } 6526 }
6016 go_package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringA lreadyInited(), go_package); 6527 go_package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringA lreadyInited(), go_package);
6017 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go _package) 6528 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go _package)
6018 } 6529 }
6019 6530
6020 // optional bool cc_generic_services = 16 [default = false]; 6531 // optional bool cc_generic_services = 16 [default = false];
6021 inline bool FileOptions::has_cc_generic_services() const { 6532 inline bool FileOptions::has_cc_generic_services() const {
6022 return (_has_bits_[0] & 0x00000080u) != 0; 6533 return (_has_bits_[0] & 0x00000200u) != 0;
6023 } 6534 }
6024 inline void FileOptions::set_has_cc_generic_services() { 6535 inline void FileOptions::set_has_cc_generic_services() {
6025 _has_bits_[0] |= 0x00000080u; 6536 _has_bits_[0] |= 0x00000200u;
6026 } 6537 }
6027 inline void FileOptions::clear_has_cc_generic_services() { 6538 inline void FileOptions::clear_has_cc_generic_services() {
6028 _has_bits_[0] &= ~0x00000080u; 6539 _has_bits_[0] &= ~0x00000200u;
6029 } 6540 }
6030 inline void FileOptions::clear_cc_generic_services() { 6541 inline void FileOptions::clear_cc_generic_services() {
6031 cc_generic_services_ = false; 6542 cc_generic_services_ = false;
6032 clear_has_cc_generic_services(); 6543 clear_has_cc_generic_services();
6033 } 6544 }
6034 inline bool FileOptions::cc_generic_services() const { 6545 inline bool FileOptions::cc_generic_services() const {
6035 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_s ervices) 6546 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_s ervices)
6036 return cc_generic_services_; 6547 return cc_generic_services_;
6037 } 6548 }
6038 inline void FileOptions::set_cc_generic_services(bool value) { 6549 inline void FileOptions::set_cc_generic_services(bool value) {
6039 set_has_cc_generic_services(); 6550 set_has_cc_generic_services();
6040 cc_generic_services_ = value; 6551 cc_generic_services_ = value;
6041 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_s ervices) 6552 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_s ervices)
6042 } 6553 }
6043 6554
6044 // optional bool java_generic_services = 17 [default = false]; 6555 // optional bool java_generic_services = 17 [default = false];
6045 inline bool FileOptions::has_java_generic_services() const { 6556 inline bool FileOptions::has_java_generic_services() const {
6046 return (_has_bits_[0] & 0x00000100u) != 0; 6557 return (_has_bits_[0] & 0x00000400u) != 0;
6047 } 6558 }
6048 inline void FileOptions::set_has_java_generic_services() { 6559 inline void FileOptions::set_has_java_generic_services() {
6049 _has_bits_[0] |= 0x00000100u; 6560 _has_bits_[0] |= 0x00000400u;
6050 } 6561 }
6051 inline void FileOptions::clear_has_java_generic_services() { 6562 inline void FileOptions::clear_has_java_generic_services() {
6052 _has_bits_[0] &= ~0x00000100u; 6563 _has_bits_[0] &= ~0x00000400u;
6053 } 6564 }
6054 inline void FileOptions::clear_java_generic_services() { 6565 inline void FileOptions::clear_java_generic_services() {
6055 java_generic_services_ = false; 6566 java_generic_services_ = false;
6056 clear_has_java_generic_services(); 6567 clear_has_java_generic_services();
6057 } 6568 }
6058 inline bool FileOptions::java_generic_services() const { 6569 inline bool FileOptions::java_generic_services() const {
6059 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic _services) 6570 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic _services)
6060 return java_generic_services_; 6571 return java_generic_services_;
6061 } 6572 }
6062 inline void FileOptions::set_java_generic_services(bool value) { 6573 inline void FileOptions::set_java_generic_services(bool value) {
6063 set_has_java_generic_services(); 6574 set_has_java_generic_services();
6064 java_generic_services_ = value; 6575 java_generic_services_ = value;
6065 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic _services) 6576 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic _services)
6066 } 6577 }
6067 6578
6068 // optional bool py_generic_services = 18 [default = false]; 6579 // optional bool py_generic_services = 18 [default = false];
6069 inline bool FileOptions::has_py_generic_services() const { 6580 inline bool FileOptions::has_py_generic_services() const {
6070 return (_has_bits_[0] & 0x00000200u) != 0; 6581 return (_has_bits_[0] & 0x00000800u) != 0;
6071 } 6582 }
6072 inline void FileOptions::set_has_py_generic_services() { 6583 inline void FileOptions::set_has_py_generic_services() {
6073 _has_bits_[0] |= 0x00000200u; 6584 _has_bits_[0] |= 0x00000800u;
6074 } 6585 }
6075 inline void FileOptions::clear_has_py_generic_services() { 6586 inline void FileOptions::clear_has_py_generic_services() {
6076 _has_bits_[0] &= ~0x00000200u; 6587 _has_bits_[0] &= ~0x00000800u;
6077 } 6588 }
6078 inline void FileOptions::clear_py_generic_services() { 6589 inline void FileOptions::clear_py_generic_services() {
6079 py_generic_services_ = false; 6590 py_generic_services_ = false;
6080 clear_has_py_generic_services(); 6591 clear_has_py_generic_services();
6081 } 6592 }
6082 inline bool FileOptions::py_generic_services() const { 6593 inline bool FileOptions::py_generic_services() const {
6083 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_s ervices) 6594 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_s ervices)
6084 return py_generic_services_; 6595 return py_generic_services_;
6085 } 6596 }
6086 inline void FileOptions::set_py_generic_services(bool value) { 6597 inline void FileOptions::set_py_generic_services(bool value) {
6087 set_has_py_generic_services(); 6598 set_has_py_generic_services();
6088 py_generic_services_ = value; 6599 py_generic_services_ = value;
6089 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_s ervices) 6600 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_s ervices)
6090 } 6601 }
6091 6602
6092 // optional bool deprecated = 23 [default = false]; 6603 // optional bool deprecated = 23 [default = false];
6093 inline bool FileOptions::has_deprecated() const { 6604 inline bool FileOptions::has_deprecated() const {
6094 return (_has_bits_[0] & 0x00000400u) != 0; 6605 return (_has_bits_[0] & 0x00001000u) != 0;
6095 } 6606 }
6096 inline void FileOptions::set_has_deprecated() { 6607 inline void FileOptions::set_has_deprecated() {
6097 _has_bits_[0] |= 0x00000400u; 6608 _has_bits_[0] |= 0x00001000u;
6098 } 6609 }
6099 inline void FileOptions::clear_has_deprecated() { 6610 inline void FileOptions::clear_has_deprecated() {
6100 _has_bits_[0] &= ~0x00000400u; 6611 _has_bits_[0] &= ~0x00001000u;
6101 } 6612 }
6102 inline void FileOptions::clear_deprecated() { 6613 inline void FileOptions::clear_deprecated() {
6103 deprecated_ = false; 6614 deprecated_ = false;
6104 clear_has_deprecated(); 6615 clear_has_deprecated();
6105 } 6616 }
6106 inline bool FileOptions::deprecated() const { 6617 inline bool FileOptions::deprecated() const {
6107 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated) 6618 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated)
6108 return deprecated_; 6619 return deprecated_;
6109 } 6620 }
6110 inline void FileOptions::set_deprecated(bool value) { 6621 inline void FileOptions::set_deprecated(bool value) {
6111 set_has_deprecated(); 6622 set_has_deprecated();
6112 deprecated_ = value; 6623 deprecated_ = value;
6113 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated) 6624 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated)
6114 } 6625 }
6115 6626
6116 // optional bool cc_enable_arenas = 31 [default = false]; 6627 // optional bool cc_enable_arenas = 31 [default = false];
6117 inline bool FileOptions::has_cc_enable_arenas() const { 6628 inline bool FileOptions::has_cc_enable_arenas() const {
6118 return (_has_bits_[0] & 0x00000800u) != 0; 6629 return (_has_bits_[0] & 0x00002000u) != 0;
6119 } 6630 }
6120 inline void FileOptions::set_has_cc_enable_arenas() { 6631 inline void FileOptions::set_has_cc_enable_arenas() {
6121 _has_bits_[0] |= 0x00000800u; 6632 _has_bits_[0] |= 0x00002000u;
6122 } 6633 }
6123 inline void FileOptions::clear_has_cc_enable_arenas() { 6634 inline void FileOptions::clear_has_cc_enable_arenas() {
6124 _has_bits_[0] &= ~0x00000800u; 6635 _has_bits_[0] &= ~0x00002000u;
6125 } 6636 }
6126 inline void FileOptions::clear_cc_enable_arenas() { 6637 inline void FileOptions::clear_cc_enable_arenas() {
6127 cc_enable_arenas_ = false; 6638 cc_enable_arenas_ = false;
6128 clear_has_cc_enable_arenas(); 6639 clear_has_cc_enable_arenas();
6129 } 6640 }
6130 inline bool FileOptions::cc_enable_arenas() const { 6641 inline bool FileOptions::cc_enable_arenas() const {
6131 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_ar enas) 6642 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_ar enas)
6132 return cc_enable_arenas_; 6643 return cc_enable_arenas_;
6133 } 6644 }
6134 inline void FileOptions::set_cc_enable_arenas(bool value) { 6645 inline void FileOptions::set_cc_enable_arenas(bool value) {
6135 set_has_cc_enable_arenas(); 6646 set_has_cc_enable_arenas();
6136 cc_enable_arenas_ = value; 6647 cc_enable_arenas_ = value;
6137 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_ar enas) 6648 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_ar enas)
6138 } 6649 }
6139 6650
6140 // optional string objc_class_prefix = 36; 6651 // optional string objc_class_prefix = 36;
6141 inline bool FileOptions::has_objc_class_prefix() const { 6652 inline bool FileOptions::has_objc_class_prefix() const {
6142 return (_has_bits_[0] & 0x00001000u) != 0; 6653 return (_has_bits_[0] & 0x00000008u) != 0;
6143 } 6654 }
6144 inline void FileOptions::set_has_objc_class_prefix() { 6655 inline void FileOptions::set_has_objc_class_prefix() {
6145 _has_bits_[0] |= 0x00001000u; 6656 _has_bits_[0] |= 0x00000008u;
6146 } 6657 }
6147 inline void FileOptions::clear_has_objc_class_prefix() { 6658 inline void FileOptions::clear_has_objc_class_prefix() {
6148 _has_bits_[0] &= ~0x00001000u; 6659 _has_bits_[0] &= ~0x00000008u;
6149 } 6660 }
6150 inline void FileOptions::clear_objc_class_prefix() { 6661 inline void FileOptions::clear_objc_class_prefix() {
6151 objc_class_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty StringAlreadyInited()); 6662 objc_class_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty StringAlreadyInited());
6152 clear_has_objc_class_prefix(); 6663 clear_has_objc_class_prefix();
6153 } 6664 }
6154 inline const ::std::string& FileOptions::objc_class_prefix() const { 6665 inline const ::std::string& FileOptions::objc_class_prefix() const {
6155 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_p refix) 6666 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_p refix)
6156 return objc_class_prefix_.GetNoArena(&::google::protobuf::internal::GetEmptySt ringAlreadyInited()); 6667 return objc_class_prefix_.GetNoArena();
6157 } 6668 }
6158 inline void FileOptions::set_objc_class_prefix(const ::std::string& value) { 6669 inline void FileOptions::set_objc_class_prefix(const ::std::string& value) {
6159 set_has_objc_class_prefix(); 6670 set_has_objc_class_prefix();
6160 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), value); 6671 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), value);
6161 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_p refix) 6672 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_p refix)
6162 } 6673 }
6163 inline void FileOptions::set_objc_class_prefix(const char* value) { 6674 inline void FileOptions::set_objc_class_prefix(const char* value) {
6164 set_has_objc_class_prefix(); 6675 set_has_objc_class_prefix();
6165 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), ::std::string(value)); 6676 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), ::std::string(value));
6166 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.objc_cl ass_prefix) 6677 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.objc_cl ass_prefix)
(...skipping 19 matching lines...) Expand all
6186 set_has_objc_class_prefix(); 6697 set_has_objc_class_prefix();
6187 } else { 6698 } else {
6188 clear_has_objc_class_prefix(); 6699 clear_has_objc_class_prefix();
6189 } 6700 }
6190 objc_class_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmpty StringAlreadyInited(), objc_class_prefix); 6701 objc_class_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmpty StringAlreadyInited(), objc_class_prefix);
6191 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ob jc_class_prefix) 6702 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ob jc_class_prefix)
6192 } 6703 }
6193 6704
6194 // optional string csharp_namespace = 37; 6705 // optional string csharp_namespace = 37;
6195 inline bool FileOptions::has_csharp_namespace() const { 6706 inline bool FileOptions::has_csharp_namespace() const {
6196 return (_has_bits_[0] & 0x00002000u) != 0; 6707 return (_has_bits_[0] & 0x00000010u) != 0;
6197 } 6708 }
6198 inline void FileOptions::set_has_csharp_namespace() { 6709 inline void FileOptions::set_has_csharp_namespace() {
6199 _has_bits_[0] |= 0x00002000u; 6710 _has_bits_[0] |= 0x00000010u;
6200 } 6711 }
6201 inline void FileOptions::clear_has_csharp_namespace() { 6712 inline void FileOptions::clear_has_csharp_namespace() {
6202 _has_bits_[0] &= ~0x00002000u; 6713 _has_bits_[0] &= ~0x00000010u;
6203 } 6714 }
6204 inline void FileOptions::clear_csharp_namespace() { 6715 inline void FileOptions::clear_csharp_namespace() {
6205 csharp_namespace_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited()); 6716 csharp_namespace_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited());
6206 clear_has_csharp_namespace(); 6717 clear_has_csharp_namespace();
6207 } 6718 }
6208 inline const ::std::string& FileOptions::csharp_namespace() const { 6719 inline const ::std::string& FileOptions::csharp_namespace() const {
6209 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_names pace) 6720 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_names pace)
6210 return csharp_namespace_.GetNoArena(&::google::protobuf::internal::GetEmptyStr ingAlreadyInited()); 6721 return csharp_namespace_.GetNoArena();
6211 } 6722 }
6212 inline void FileOptions::set_csharp_namespace(const ::std::string& value) { 6723 inline void FileOptions::set_csharp_namespace(const ::std::string& value) {
6213 set_has_csharp_namespace(); 6724 set_has_csharp_namespace();
6214 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), value); 6725 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), value);
6215 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_names pace) 6726 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_names pace)
6216 } 6727 }
6217 inline void FileOptions::set_csharp_namespace(const char* value) { 6728 inline void FileOptions::set_csharp_namespace(const char* value) {
6218 set_has_csharp_namespace(); 6729 set_has_csharp_namespace();
6219 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), ::std::string(value)); 6730 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), ::std::string(value));
6220 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.csharp_ namespace) 6731 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.csharp_ namespace)
(...skipping 17 matching lines...) Expand all
6238 inline void FileOptions::set_allocated_csharp_namespace(::std::string* csharp_na mespace) { 6749 inline void FileOptions::set_allocated_csharp_namespace(::std::string* csharp_na mespace) {
6239 if (csharp_namespace != NULL) { 6750 if (csharp_namespace != NULL) {
6240 set_has_csharp_namespace(); 6751 set_has_csharp_namespace();
6241 } else { 6752 } else {
6242 clear_has_csharp_namespace(); 6753 clear_has_csharp_namespace();
6243 } 6754 }
6244 csharp_namespace_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited(), csharp_namespace); 6755 csharp_namespace_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited(), csharp_namespace);
6245 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.cs harp_namespace) 6756 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.cs harp_namespace)
6246 } 6757 }
6247 6758
6759 // optional string swift_prefix = 39;
6760 inline bool FileOptions::has_swift_prefix() const {
6761 return (_has_bits_[0] & 0x00000020u) != 0;
6762 }
6763 inline void FileOptions::set_has_swift_prefix() {
6764 _has_bits_[0] |= 0x00000020u;
6765 }
6766 inline void FileOptions::clear_has_swift_prefix() {
6767 _has_bits_[0] &= ~0x00000020u;
6768 }
6769 inline void FileOptions::clear_swift_prefix() {
6770 swift_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin gAlreadyInited());
6771 clear_has_swift_prefix();
6772 }
6773 inline const ::std::string& FileOptions::swift_prefix() const {
6774 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.swift_prefix )
6775 return swift_prefix_.GetNoArena();
6776 }
6777 inline void FileOptions::set_swift_prefix(const ::std::string& value) {
6778 set_has_swift_prefix();
6779 swift_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), value);
6780 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.swift_prefix )
6781 }
6782 inline void FileOptions::set_swift_prefix(const char* value) {
6783 set_has_swift_prefix();
6784 swift_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), ::std::string(value));
6785 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.swift_p refix)
6786 }
6787 inline void FileOptions::set_swift_prefix(const char* value, size_t size) {
6788 set_has_swift_prefix();
6789 swift_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(),
6790 ::std::string(reinterpret_cast<const char*>(value), size));
6791 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.swif t_prefix)
6792 }
6793 inline ::std::string* FileOptions::mutable_swift_prefix() {
6794 set_has_swift_prefix();
6795 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.swift_pr efix)
6796 return swift_prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStr ingAlreadyInited());
6797 }
6798 inline ::std::string* FileOptions::release_swift_prefix() {
6799 // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.swift_pr efix)
6800 clear_has_swift_prefix();
6801 return swift_prefix_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStr ingAlreadyInited());
6802 }
6803 inline void FileOptions::set_allocated_swift_prefix(::std::string* swift_prefix) {
6804 if (swift_prefix != NULL) {
6805 set_has_swift_prefix();
6806 } else {
6807 clear_has_swift_prefix();
6808 }
6809 swift_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStrin gAlreadyInited(), swift_prefix);
6810 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.sw ift_prefix)
6811 }
6812
6248 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 6813 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
6249 inline int FileOptions::uninterpreted_option_size() const { 6814 inline int FileOptions::uninterpreted_option_size() const {
6250 return uninterpreted_option_.size(); 6815 return uninterpreted_option_.size();
6251 } 6816 }
6252 inline void FileOptions::clear_uninterpreted_option() { 6817 inline void FileOptions::clear_uninterpreted_option() {
6253 uninterpreted_option_.Clear(); 6818 uninterpreted_option_.Clear();
6254 } 6819 }
6255 inline const ::google::protobuf::UninterpretedOption& FileOptions::uninterpreted _option(int index) const { 6820 inline const ::google::protobuf::UninterpretedOption& FileOptions::uninterpreted _option(int index) const {
6256 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterprete d_option) 6821 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterprete d_option)
6257 return uninterpreted_option_.Get(index); 6822 return uninterpreted_option_.Get(index);
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
6429 } 6994 }
6430 inline void FieldOptions::set_ctype(::google::protobuf::FieldOptions_CType value ) { 6995 inline void FieldOptions::set_ctype(::google::protobuf::FieldOptions_CType value ) {
6431 assert(::google::protobuf::FieldOptions_CType_IsValid(value)); 6996 assert(::google::protobuf::FieldOptions_CType_IsValid(value));
6432 set_has_ctype(); 6997 set_has_ctype();
6433 ctype_ = value; 6998 ctype_ = value;
6434 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype) 6999 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype)
6435 } 7000 }
6436 7001
6437 // optional bool packed = 2; 7002 // optional bool packed = 2;
6438 inline bool FieldOptions::has_packed() const { 7003 inline bool FieldOptions::has_packed() const {
6439 return (_has_bits_[0] & 0x00000002u) != 0; 7004 return (_has_bits_[0] & 0x00000004u) != 0;
6440 } 7005 }
6441 inline void FieldOptions::set_has_packed() { 7006 inline void FieldOptions::set_has_packed() {
6442 _has_bits_[0] |= 0x00000002u; 7007 _has_bits_[0] |= 0x00000004u;
6443 } 7008 }
6444 inline void FieldOptions::clear_has_packed() { 7009 inline void FieldOptions::clear_has_packed() {
6445 _has_bits_[0] &= ~0x00000002u; 7010 _has_bits_[0] &= ~0x00000004u;
6446 } 7011 }
6447 inline void FieldOptions::clear_packed() { 7012 inline void FieldOptions::clear_packed() {
6448 packed_ = false; 7013 packed_ = false;
6449 clear_has_packed(); 7014 clear_has_packed();
6450 } 7015 }
6451 inline bool FieldOptions::packed() const { 7016 inline bool FieldOptions::packed() const {
6452 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed) 7017 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed)
6453 return packed_; 7018 return packed_;
6454 } 7019 }
6455 inline void FieldOptions::set_packed(bool value) { 7020 inline void FieldOptions::set_packed(bool value) {
6456 set_has_packed(); 7021 set_has_packed();
6457 packed_ = value; 7022 packed_ = value;
6458 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed) 7023 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed)
6459 } 7024 }
6460 7025
6461 // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL ]; 7026 // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL ];
6462 inline bool FieldOptions::has_jstype() const { 7027 inline bool FieldOptions::has_jstype() const {
6463 return (_has_bits_[0] & 0x00000004u) != 0; 7028 return (_has_bits_[0] & 0x00000002u) != 0;
6464 } 7029 }
6465 inline void FieldOptions::set_has_jstype() { 7030 inline void FieldOptions::set_has_jstype() {
6466 _has_bits_[0] |= 0x00000004u; 7031 _has_bits_[0] |= 0x00000002u;
6467 } 7032 }
6468 inline void FieldOptions::clear_has_jstype() { 7033 inline void FieldOptions::clear_has_jstype() {
6469 _has_bits_[0] &= ~0x00000004u; 7034 _has_bits_[0] &= ~0x00000002u;
6470 } 7035 }
6471 inline void FieldOptions::clear_jstype() { 7036 inline void FieldOptions::clear_jstype() {
6472 jstype_ = 0; 7037 jstype_ = 0;
6473 clear_has_jstype(); 7038 clear_has_jstype();
6474 } 7039 }
6475 inline ::google::protobuf::FieldOptions_JSType FieldOptions::jstype() const { 7040 inline ::google::protobuf::FieldOptions_JSType FieldOptions::jstype() const {
6476 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype) 7041 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype)
6477 return static_cast< ::google::protobuf::FieldOptions_JSType >(jstype_); 7042 return static_cast< ::google::protobuf::FieldOptions_JSType >(jstype_);
6478 } 7043 }
6479 inline void FieldOptions::set_jstype(::google::protobuf::FieldOptions_JSType val ue) { 7044 inline void FieldOptions::set_jstype(::google::protobuf::FieldOptions_JSType val ue) {
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
6580 return &uninterpreted_option_; 7145 return &uninterpreted_option_;
6581 } 7146 }
6582 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr etedOption >& 7147 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr etedOption >&
6583 FieldOptions::uninterpreted_option() const { 7148 FieldOptions::uninterpreted_option() const {
6584 // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpre ted_option) 7149 // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpre ted_option)
6585 return uninterpreted_option_; 7150 return uninterpreted_option_;
6586 } 7151 }
6587 7152
6588 // ------------------------------------------------------------------- 7153 // -------------------------------------------------------------------
6589 7154
7155 // OneofOptions
7156
7157 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
7158 inline int OneofOptions::uninterpreted_option_size() const {
7159 return uninterpreted_option_.size();
7160 }
7161 inline void OneofOptions::clear_uninterpreted_option() {
7162 uninterpreted_option_.Clear();
7163 }
7164 inline const ::google::protobuf::UninterpretedOption& OneofOptions::uninterprete d_option(int index) const {
7165 // @@protoc_insertion_point(field_get:google.protobuf.OneofOptions.uninterpret ed_option)
7166 return uninterpreted_option_.Get(index);
7167 }
7168 inline ::google::protobuf::UninterpretedOption* OneofOptions::mutable_uninterpre ted_option(int index) {
7169 // @@protoc_insertion_point(field_mutable:google.protobuf.OneofOptions.uninter preted_option)
7170 return uninterpreted_option_.Mutable(index);
7171 }
7172 inline ::google::protobuf::UninterpretedOption* OneofOptions::add_uninterpreted_ option() {
7173 // @@protoc_insertion_point(field_add:google.protobuf.OneofOptions.uninterpret ed_option)
7174 return uninterpreted_option_.Add();
7175 }
7176 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOp tion >*
7177 OneofOptions::mutable_uninterpreted_option() {
7178 // @@protoc_insertion_point(field_mutable_list:google.protobuf.OneofOptions.un interpreted_option)
7179 return &uninterpreted_option_;
7180 }
7181 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr etedOption >&
7182 OneofOptions::uninterpreted_option() const {
7183 // @@protoc_insertion_point(field_list:google.protobuf.OneofOptions.uninterpre ted_option)
7184 return uninterpreted_option_;
7185 }
7186
7187 // -------------------------------------------------------------------
7188
6590 // EnumOptions 7189 // EnumOptions
6591 7190
6592 // optional bool allow_alias = 2; 7191 // optional bool allow_alias = 2;
6593 inline bool EnumOptions::has_allow_alias() const { 7192 inline bool EnumOptions::has_allow_alias() const {
6594 return (_has_bits_[0] & 0x00000001u) != 0; 7193 return (_has_bits_[0] & 0x00000001u) != 0;
6595 } 7194 }
6596 inline void EnumOptions::set_has_allow_alias() { 7195 inline void EnumOptions::set_has_allow_alias() {
6597 _has_bits_[0] |= 0x00000001u; 7196 _has_bits_[0] |= 0x00000001u;
6598 } 7197 }
6599 inline void EnumOptions::clear_has_allow_alias() { 7198 inline void EnumOptions::clear_has_allow_alias() {
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
6804 inline bool MethodOptions::deprecated() const { 7403 inline bool MethodOptions::deprecated() const {
6805 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated ) 7404 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated )
6806 return deprecated_; 7405 return deprecated_;
6807 } 7406 }
6808 inline void MethodOptions::set_deprecated(bool value) { 7407 inline void MethodOptions::set_deprecated(bool value) {
6809 set_has_deprecated(); 7408 set_has_deprecated();
6810 deprecated_ = value; 7409 deprecated_ = value;
6811 // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated ) 7410 // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated )
6812 } 7411 }
6813 7412
7413 // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
7414 inline bool MethodOptions::has_idempotency_level() const {
7415 return (_has_bits_[0] & 0x00000002u) != 0;
7416 }
7417 inline void MethodOptions::set_has_idempotency_level() {
7418 _has_bits_[0] |= 0x00000002u;
7419 }
7420 inline void MethodOptions::clear_has_idempotency_level() {
7421 _has_bits_[0] &= ~0x00000002u;
7422 }
7423 inline void MethodOptions::clear_idempotency_level() {
7424 idempotency_level_ = 0;
7425 clear_has_idempotency_level();
7426 }
7427 inline ::google::protobuf::MethodOptions_IdempotencyLevel MethodOptions::idempot ency_level() const {
7428 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.idempotenc y_level)
7429 return static_cast< ::google::protobuf::MethodOptions_IdempotencyLevel >(idemp otency_level_);
7430 }
7431 inline void MethodOptions::set_idempotency_level(::google::protobuf::MethodOptio ns_IdempotencyLevel value) {
7432 assert(::google::protobuf::MethodOptions_IdempotencyLevel_IsValid(value));
7433 set_has_idempotency_level();
7434 idempotency_level_ = value;
7435 // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.idempotenc y_level)
7436 }
7437
6814 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 7438 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
6815 inline int MethodOptions::uninterpreted_option_size() const { 7439 inline int MethodOptions::uninterpreted_option_size() const {
6816 return uninterpreted_option_.size(); 7440 return uninterpreted_option_.size();
6817 } 7441 }
6818 inline void MethodOptions::clear_uninterpreted_option() { 7442 inline void MethodOptions::clear_uninterpreted_option() {
6819 uninterpreted_option_.Clear(); 7443 uninterpreted_option_.Clear();
6820 } 7444 }
6821 inline const ::google::protobuf::UninterpretedOption& MethodOptions::uninterpret ed_option(int index) const { 7445 inline const ::google::protobuf::UninterpretedOption& MethodOptions::uninterpret ed_option(int index) const {
6822 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpre ted_option) 7446 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpre ted_option)
6823 return uninterpreted_option_.Get(index); 7447 return uninterpreted_option_.Get(index);
(...skipping 30 matching lines...) Expand all
6854 } 7478 }
6855 inline void UninterpretedOption_NamePart::clear_has_name_part() { 7479 inline void UninterpretedOption_NamePart::clear_has_name_part() {
6856 _has_bits_[0] &= ~0x00000001u; 7480 _has_bits_[0] &= ~0x00000001u;
6857 } 7481 }
6858 inline void UninterpretedOption_NamePart::clear_name_part() { 7482 inline void UninterpretedOption_NamePart::clear_name_part() {
6859 name_part_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited()); 7483 name_part_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited());
6860 clear_has_name_part(); 7484 clear_has_name_part();
6861 } 7485 }
6862 inline const ::std::string& UninterpretedOption_NamePart::name_part() const { 7486 inline const ::std::string& UninterpretedOption_NamePart::name_part() const {
6863 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.Name Part.name_part) 7487 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.Name Part.name_part)
6864 return name_part_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited()); 7488 return name_part_.GetNoArena();
6865 } 7489 }
6866 inline void UninterpretedOption_NamePart::set_name_part(const ::std::string& val ue) { 7490 inline void UninterpretedOption_NamePart::set_name_part(const ::std::string& val ue) {
6867 set_has_name_part(); 7491 set_has_name_part();
6868 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), value); 7492 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), value);
6869 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.Name Part.name_part) 7493 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.Name Part.name_part)
6870 } 7494 }
6871 inline void UninterpretedOption_NamePart::set_name_part(const char* value) { 7495 inline void UninterpretedOption_NamePart::set_name_part(const char* value) {
6872 set_has_name_part(); 7496 set_has_name_part();
6873 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), ::std::string(value)); 7497 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit ed(), ::std::string(value));
6874 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption .NamePart.name_part) 7498 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption .NamePart.name_part)
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
6952 return &name_; 7576 return &name_;
6953 } 7577 }
6954 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr etedOption_NamePart >& 7578 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr etedOption_NamePart >&
6955 UninterpretedOption::name() const { 7579 UninterpretedOption::name() const {
6956 // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.nam e) 7580 // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.nam e)
6957 return name_; 7581 return name_;
6958 } 7582 }
6959 7583
6960 // optional string identifier_value = 3; 7584 // optional string identifier_value = 3;
6961 inline bool UninterpretedOption::has_identifier_value() const { 7585 inline bool UninterpretedOption::has_identifier_value() const {
6962 return (_has_bits_[0] & 0x00000002u) != 0; 7586 return (_has_bits_[0] & 0x00000001u) != 0;
6963 } 7587 }
6964 inline void UninterpretedOption::set_has_identifier_value() { 7588 inline void UninterpretedOption::set_has_identifier_value() {
6965 _has_bits_[0] |= 0x00000002u; 7589 _has_bits_[0] |= 0x00000001u;
6966 } 7590 }
6967 inline void UninterpretedOption::clear_has_identifier_value() { 7591 inline void UninterpretedOption::clear_has_identifier_value() {
6968 _has_bits_[0] &= ~0x00000002u; 7592 _has_bits_[0] &= ~0x00000001u;
6969 } 7593 }
6970 inline void UninterpretedOption::clear_identifier_value() { 7594 inline void UninterpretedOption::clear_identifier_value() {
6971 identifier_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited()); 7595 identifier_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited());
6972 clear_has_identifier_value(); 7596 clear_has_identifier_value();
6973 } 7597 }
6974 inline const ::std::string& UninterpretedOption::identifier_value() const { 7598 inline const ::std::string& UninterpretedOption::identifier_value() const {
6975 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.iden tifier_value) 7599 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.iden tifier_value)
6976 return identifier_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStr ingAlreadyInited()); 7600 return identifier_value_.GetNoArena();
6977 } 7601 }
6978 inline void UninterpretedOption::set_identifier_value(const ::std::string& value ) { 7602 inline void UninterpretedOption::set_identifier_value(const ::std::string& value ) {
6979 set_has_identifier_value(); 7603 set_has_identifier_value();
6980 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), value); 7604 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), value);
6981 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.iden tifier_value) 7605 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.iden tifier_value)
6982 } 7606 }
6983 inline void UninterpretedOption::set_identifier_value(const char* value) { 7607 inline void UninterpretedOption::set_identifier_value(const char* value) {
6984 set_has_identifier_value(); 7608 set_has_identifier_value();
6985 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), ::std::string(value)); 7609 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), ::std::string(value));
6986 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption .identifier_value) 7610 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption .identifier_value)
(...skipping 19 matching lines...) Expand all
7006 set_has_identifier_value(); 7630 set_has_identifier_value();
7007 } else { 7631 } else {
7008 clear_has_identifier_value(); 7632 clear_has_identifier_value();
7009 } 7633 }
7010 identifier_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited(), identifier_value); 7634 identifier_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited(), identifier_value);
7011 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO ption.identifier_value) 7635 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO ption.identifier_value)
7012 } 7636 }
7013 7637
7014 // optional uint64 positive_int_value = 4; 7638 // optional uint64 positive_int_value = 4;
7015 inline bool UninterpretedOption::has_positive_int_value() const { 7639 inline bool UninterpretedOption::has_positive_int_value() const {
7016 return (_has_bits_[0] & 0x00000004u) != 0; 7640 return (_has_bits_[0] & 0x00000008u) != 0;
7017 } 7641 }
7018 inline void UninterpretedOption::set_has_positive_int_value() { 7642 inline void UninterpretedOption::set_has_positive_int_value() {
7019 _has_bits_[0] |= 0x00000004u; 7643 _has_bits_[0] |= 0x00000008u;
7020 } 7644 }
7021 inline void UninterpretedOption::clear_has_positive_int_value() { 7645 inline void UninterpretedOption::clear_has_positive_int_value() {
7022 _has_bits_[0] &= ~0x00000004u; 7646 _has_bits_[0] &= ~0x00000008u;
7023 } 7647 }
7024 inline void UninterpretedOption::clear_positive_int_value() { 7648 inline void UninterpretedOption::clear_positive_int_value() {
7025 positive_int_value_ = GOOGLE_ULONGLONG(0); 7649 positive_int_value_ = GOOGLE_ULONGLONG(0);
7026 clear_has_positive_int_value(); 7650 clear_has_positive_int_value();
7027 } 7651 }
7028 inline ::google::protobuf::uint64 UninterpretedOption::positive_int_value() cons t { 7652 inline ::google::protobuf::uint64 UninterpretedOption::positive_int_value() cons t {
7029 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.posi tive_int_value) 7653 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.posi tive_int_value)
7030 return positive_int_value_; 7654 return positive_int_value_;
7031 } 7655 }
7032 inline void UninterpretedOption::set_positive_int_value(::google::protobuf::uint 64 value) { 7656 inline void UninterpretedOption::set_positive_int_value(::google::protobuf::uint 64 value) {
7033 set_has_positive_int_value(); 7657 set_has_positive_int_value();
7034 positive_int_value_ = value; 7658 positive_int_value_ = value;
7035 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.posi tive_int_value) 7659 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.posi tive_int_value)
7036 } 7660 }
7037 7661
7038 // optional int64 negative_int_value = 5; 7662 // optional int64 negative_int_value = 5;
7039 inline bool UninterpretedOption::has_negative_int_value() const { 7663 inline bool UninterpretedOption::has_negative_int_value() const {
7040 return (_has_bits_[0] & 0x00000008u) != 0; 7664 return (_has_bits_[0] & 0x00000010u) != 0;
7041 } 7665 }
7042 inline void UninterpretedOption::set_has_negative_int_value() { 7666 inline void UninterpretedOption::set_has_negative_int_value() {
7043 _has_bits_[0] |= 0x00000008u; 7667 _has_bits_[0] |= 0x00000010u;
7044 } 7668 }
7045 inline void UninterpretedOption::clear_has_negative_int_value() { 7669 inline void UninterpretedOption::clear_has_negative_int_value() {
7046 _has_bits_[0] &= ~0x00000008u; 7670 _has_bits_[0] &= ~0x00000010u;
7047 } 7671 }
7048 inline void UninterpretedOption::clear_negative_int_value() { 7672 inline void UninterpretedOption::clear_negative_int_value() {
7049 negative_int_value_ = GOOGLE_LONGLONG(0); 7673 negative_int_value_ = GOOGLE_LONGLONG(0);
7050 clear_has_negative_int_value(); 7674 clear_has_negative_int_value();
7051 } 7675 }
7052 inline ::google::protobuf::int64 UninterpretedOption::negative_int_value() const { 7676 inline ::google::protobuf::int64 UninterpretedOption::negative_int_value() const {
7053 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.nega tive_int_value) 7677 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.nega tive_int_value)
7054 return negative_int_value_; 7678 return negative_int_value_;
7055 } 7679 }
7056 inline void UninterpretedOption::set_negative_int_value(::google::protobuf::int6 4 value) { 7680 inline void UninterpretedOption::set_negative_int_value(::google::protobuf::int6 4 value) {
7057 set_has_negative_int_value(); 7681 set_has_negative_int_value();
7058 negative_int_value_ = value; 7682 negative_int_value_ = value;
7059 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.nega tive_int_value) 7683 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.nega tive_int_value)
7060 } 7684 }
7061 7685
7062 // optional double double_value = 6; 7686 // optional double double_value = 6;
7063 inline bool UninterpretedOption::has_double_value() const { 7687 inline bool UninterpretedOption::has_double_value() const {
7064 return (_has_bits_[0] & 0x00000010u) != 0; 7688 return (_has_bits_[0] & 0x00000020u) != 0;
7065 } 7689 }
7066 inline void UninterpretedOption::set_has_double_value() { 7690 inline void UninterpretedOption::set_has_double_value() {
7067 _has_bits_[0] |= 0x00000010u; 7691 _has_bits_[0] |= 0x00000020u;
7068 } 7692 }
7069 inline void UninterpretedOption::clear_has_double_value() { 7693 inline void UninterpretedOption::clear_has_double_value() {
7070 _has_bits_[0] &= ~0x00000010u; 7694 _has_bits_[0] &= ~0x00000020u;
7071 } 7695 }
7072 inline void UninterpretedOption::clear_double_value() { 7696 inline void UninterpretedOption::clear_double_value() {
7073 double_value_ = 0; 7697 double_value_ = 0;
7074 clear_has_double_value(); 7698 clear_has_double_value();
7075 } 7699 }
7076 inline double UninterpretedOption::double_value() const { 7700 inline double UninterpretedOption::double_value() const {
7077 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.doub le_value) 7701 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.doub le_value)
7078 return double_value_; 7702 return double_value_;
7079 } 7703 }
7080 inline void UninterpretedOption::set_double_value(double value) { 7704 inline void UninterpretedOption::set_double_value(double value) {
7081 set_has_double_value(); 7705 set_has_double_value();
7082 double_value_ = value; 7706 double_value_ = value;
7083 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.doub le_value) 7707 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.doub le_value)
7084 } 7708 }
7085 7709
7086 // optional bytes string_value = 7; 7710 // optional bytes string_value = 7;
7087 inline bool UninterpretedOption::has_string_value() const { 7711 inline bool UninterpretedOption::has_string_value() const {
7088 return (_has_bits_[0] & 0x00000020u) != 0; 7712 return (_has_bits_[0] & 0x00000002u) != 0;
7089 } 7713 }
7090 inline void UninterpretedOption::set_has_string_value() { 7714 inline void UninterpretedOption::set_has_string_value() {
7091 _has_bits_[0] |= 0x00000020u; 7715 _has_bits_[0] |= 0x00000002u;
7092 } 7716 }
7093 inline void UninterpretedOption::clear_has_string_value() { 7717 inline void UninterpretedOption::clear_has_string_value() {
7094 _has_bits_[0] &= ~0x00000020u; 7718 _has_bits_[0] &= ~0x00000002u;
7095 } 7719 }
7096 inline void UninterpretedOption::clear_string_value() { 7720 inline void UninterpretedOption::clear_string_value() {
7097 string_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin gAlreadyInited()); 7721 string_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin gAlreadyInited());
7098 clear_has_string_value(); 7722 clear_has_string_value();
7099 } 7723 }
7100 inline const ::std::string& UninterpretedOption::string_value() const { 7724 inline const ::std::string& UninterpretedOption::string_value() const {
7101 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.stri ng_value) 7725 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.stri ng_value)
7102 return string_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringA lreadyInited()); 7726 return string_value_.GetNoArena();
7103 } 7727 }
7104 inline void UninterpretedOption::set_string_value(const ::std::string& value) { 7728 inline void UninterpretedOption::set_string_value(const ::std::string& value) {
7105 set_has_string_value(); 7729 set_has_string_value();
7106 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), value); 7730 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), value);
7107 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.stri ng_value) 7731 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.stri ng_value)
7108 } 7732 }
7109 inline void UninterpretedOption::set_string_value(const char* value) { 7733 inline void UninterpretedOption::set_string_value(const char* value) {
7110 set_has_string_value(); 7734 set_has_string_value();
7111 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), ::std::string(value)); 7735 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI nited(), ::std::string(value));
7112 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption .string_value) 7736 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption .string_value)
(...skipping 19 matching lines...) Expand all
7132 set_has_string_value(); 7756 set_has_string_value();
7133 } else { 7757 } else {
7134 clear_has_string_value(); 7758 clear_has_string_value();
7135 } 7759 }
7136 string_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStrin gAlreadyInited(), string_value); 7760 string_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStrin gAlreadyInited(), string_value);
7137 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO ption.string_value) 7761 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO ption.string_value)
7138 } 7762 }
7139 7763
7140 // optional string aggregate_value = 8; 7764 // optional string aggregate_value = 8;
7141 inline bool UninterpretedOption::has_aggregate_value() const { 7765 inline bool UninterpretedOption::has_aggregate_value() const {
7142 return (_has_bits_[0] & 0x00000040u) != 0; 7766 return (_has_bits_[0] & 0x00000004u) != 0;
7143 } 7767 }
7144 inline void UninterpretedOption::set_has_aggregate_value() { 7768 inline void UninterpretedOption::set_has_aggregate_value() {
7145 _has_bits_[0] |= 0x00000040u; 7769 _has_bits_[0] |= 0x00000004u;
7146 } 7770 }
7147 inline void UninterpretedOption::clear_has_aggregate_value() { 7771 inline void UninterpretedOption::clear_has_aggregate_value() {
7148 _has_bits_[0] &= ~0x00000040u; 7772 _has_bits_[0] &= ~0x00000004u;
7149 } 7773 }
7150 inline void UninterpretedOption::clear_aggregate_value() { 7774 inline void UninterpretedOption::clear_aggregate_value() {
7151 aggregate_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptySt ringAlreadyInited()); 7775 aggregate_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptySt ringAlreadyInited());
7152 clear_has_aggregate_value(); 7776 clear_has_aggregate_value();
7153 } 7777 }
7154 inline const ::std::string& UninterpretedOption::aggregate_value() const { 7778 inline const ::std::string& UninterpretedOption::aggregate_value() const {
7155 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggr egate_value) 7779 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggr egate_value)
7156 return aggregate_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStri ngAlreadyInited()); 7780 return aggregate_value_.GetNoArena();
7157 } 7781 }
7158 inline void UninterpretedOption::set_aggregate_value(const ::std::string& value) { 7782 inline void UninterpretedOption::set_aggregate_value(const ::std::string& value) {
7159 set_has_aggregate_value(); 7783 set_has_aggregate_value();
7160 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited(), value); 7784 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited(), value);
7161 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggr egate_value) 7785 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggr egate_value)
7162 } 7786 }
7163 inline void UninterpretedOption::set_aggregate_value(const char* value) { 7787 inline void UninterpretedOption::set_aggregate_value(const char* value) {
7164 set_has_aggregate_value(); 7788 set_has_aggregate_value();
7165 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited(), ::std::string(value)); 7789 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea dyInited(), ::std::string(value));
7166 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption .aggregate_value) 7790 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption .aggregate_value)
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
7250 return span_; 7874 return span_;
7251 } 7875 }
7252 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* 7876 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
7253 SourceCodeInfo_Location::mutable_span() { 7877 SourceCodeInfo_Location::mutable_span() {
7254 // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo. Location.span) 7878 // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo. Location.span)
7255 return &span_; 7879 return &span_;
7256 } 7880 }
7257 7881
7258 // optional string leading_comments = 3; 7882 // optional string leading_comments = 3;
7259 inline bool SourceCodeInfo_Location::has_leading_comments() const { 7883 inline bool SourceCodeInfo_Location::has_leading_comments() const {
7260 return (_has_bits_[0] & 0x00000004u) != 0; 7884 return (_has_bits_[0] & 0x00000001u) != 0;
7261 } 7885 }
7262 inline void SourceCodeInfo_Location::set_has_leading_comments() { 7886 inline void SourceCodeInfo_Location::set_has_leading_comments() {
7263 _has_bits_[0] |= 0x00000004u; 7887 _has_bits_[0] |= 0x00000001u;
7264 } 7888 }
7265 inline void SourceCodeInfo_Location::clear_has_leading_comments() { 7889 inline void SourceCodeInfo_Location::clear_has_leading_comments() {
7266 _has_bits_[0] &= ~0x00000004u; 7890 _has_bits_[0] &= ~0x00000001u;
7267 } 7891 }
7268 inline void SourceCodeInfo_Location::clear_leading_comments() { 7892 inline void SourceCodeInfo_Location::clear_leading_comments() {
7269 leading_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited()); 7893 leading_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited());
7270 clear_has_leading_comments(); 7894 clear_has_leading_comments();
7271 } 7895 }
7272 inline const ::std::string& SourceCodeInfo_Location::leading_comments() const { 7896 inline const ::std::string& SourceCodeInfo_Location::leading_comments() const {
7273 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location. leading_comments) 7897 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location. leading_comments)
7274 return leading_comments_.GetNoArena(&::google::protobuf::internal::GetEmptyStr ingAlreadyInited()); 7898 return leading_comments_.GetNoArena();
7275 } 7899 }
7276 inline void SourceCodeInfo_Location::set_leading_comments(const ::std::string& v alue) { 7900 inline void SourceCodeInfo_Location::set_leading_comments(const ::std::string& v alue) {
7277 set_has_leading_comments(); 7901 set_has_leading_comments();
7278 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), value); 7902 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), value);
7279 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location. leading_comments) 7903 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location. leading_comments)
7280 } 7904 }
7281 inline void SourceCodeInfo_Location::set_leading_comments(const char* value) { 7905 inline void SourceCodeInfo_Location::set_leading_comments(const char* value) {
7282 set_has_leading_comments(); 7906 set_has_leading_comments();
7283 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), ::std::string(value)); 7907 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), ::std::string(value));
7284 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Loca tion.leading_comments) 7908 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Loca tion.leading_comments)
(...skipping 19 matching lines...) Expand all
7304 set_has_leading_comments(); 7928 set_has_leading_comments();
7305 } else { 7929 } else {
7306 clear_has_leading_comments(); 7930 clear_has_leading_comments();
7307 } 7931 }
7308 leading_comments_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited(), leading_comments); 7932 leading_comments_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited(), leading_comments);
7309 // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo .Location.leading_comments) 7933 // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo .Location.leading_comments)
7310 } 7934 }
7311 7935
7312 // optional string trailing_comments = 4; 7936 // optional string trailing_comments = 4;
7313 inline bool SourceCodeInfo_Location::has_trailing_comments() const { 7937 inline bool SourceCodeInfo_Location::has_trailing_comments() const {
7314 return (_has_bits_[0] & 0x00000008u) != 0; 7938 return (_has_bits_[0] & 0x00000002u) != 0;
7315 } 7939 }
7316 inline void SourceCodeInfo_Location::set_has_trailing_comments() { 7940 inline void SourceCodeInfo_Location::set_has_trailing_comments() {
7317 _has_bits_[0] |= 0x00000008u; 7941 _has_bits_[0] |= 0x00000002u;
7318 } 7942 }
7319 inline void SourceCodeInfo_Location::clear_has_trailing_comments() { 7943 inline void SourceCodeInfo_Location::clear_has_trailing_comments() {
7320 _has_bits_[0] &= ~0x00000008u; 7944 _has_bits_[0] &= ~0x00000002u;
7321 } 7945 }
7322 inline void SourceCodeInfo_Location::clear_trailing_comments() { 7946 inline void SourceCodeInfo_Location::clear_trailing_comments() {
7323 trailing_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty StringAlreadyInited()); 7947 trailing_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty StringAlreadyInited());
7324 clear_has_trailing_comments(); 7948 clear_has_trailing_comments();
7325 } 7949 }
7326 inline const ::std::string& SourceCodeInfo_Location::trailing_comments() const { 7950 inline const ::std::string& SourceCodeInfo_Location::trailing_comments() const {
7327 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location. trailing_comments) 7951 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location. trailing_comments)
7328 return trailing_comments_.GetNoArena(&::google::protobuf::internal::GetEmptySt ringAlreadyInited()); 7952 return trailing_comments_.GetNoArena();
7329 } 7953 }
7330 inline void SourceCodeInfo_Location::set_trailing_comments(const ::std::string& value) { 7954 inline void SourceCodeInfo_Location::set_trailing_comments(const ::std::string& value) {
7331 set_has_trailing_comments(); 7955 set_has_trailing_comments();
7332 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), value); 7956 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), value);
7333 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location. trailing_comments) 7957 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location. trailing_comments)
7334 } 7958 }
7335 inline void SourceCodeInfo_Location::set_trailing_comments(const char* value) { 7959 inline void SourceCodeInfo_Location::set_trailing_comments(const char* value) {
7336 set_has_trailing_comments(); 7960 set_has_trailing_comments();
7337 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), ::std::string(value)); 7961 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), ::std::string(value));
7338 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Loca tion.trailing_comments) 7962 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Loca tion.trailing_comments)
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
7481 return path_; 8105 return path_;
7482 } 8106 }
7483 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* 8107 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
7484 GeneratedCodeInfo_Annotation::mutable_path() { 8108 GeneratedCodeInfo_Annotation::mutable_path() {
7485 // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeIn fo.Annotation.path) 8109 // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeIn fo.Annotation.path)
7486 return &path_; 8110 return &path_;
7487 } 8111 }
7488 8112
7489 // optional string source_file = 2; 8113 // optional string source_file = 2;
7490 inline bool GeneratedCodeInfo_Annotation::has_source_file() const { 8114 inline bool GeneratedCodeInfo_Annotation::has_source_file() const {
7491 return (_has_bits_[0] & 0x00000002u) != 0; 8115 return (_has_bits_[0] & 0x00000001u) != 0;
7492 } 8116 }
7493 inline void GeneratedCodeInfo_Annotation::set_has_source_file() { 8117 inline void GeneratedCodeInfo_Annotation::set_has_source_file() {
7494 _has_bits_[0] |= 0x00000002u; 8118 _has_bits_[0] |= 0x00000001u;
7495 } 8119 }
7496 inline void GeneratedCodeInfo_Annotation::clear_has_source_file() { 8120 inline void GeneratedCodeInfo_Annotation::clear_has_source_file() {
7497 _has_bits_[0] &= ~0x00000002u; 8121 _has_bits_[0] &= ~0x00000001u;
7498 } 8122 }
7499 inline void GeneratedCodeInfo_Annotation::clear_source_file() { 8123 inline void GeneratedCodeInfo_Annotation::clear_source_file() {
7500 source_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited()); 8124 source_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited());
7501 clear_has_source_file(); 8125 clear_has_source_file();
7502 } 8126 }
7503 inline const ::std::string& GeneratedCodeInfo_Annotation::source_file() const { 8127 inline const ::std::string& GeneratedCodeInfo_Annotation::source_file() const {
7504 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota tion.source_file) 8128 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota tion.source_file)
7505 return source_file_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAl readyInited()); 8129 return source_file_.GetNoArena();
7506 } 8130 }
7507 inline void GeneratedCodeInfo_Annotation::set_source_file(const ::std::string& v alue) { 8131 inline void GeneratedCodeInfo_Annotation::set_source_file(const ::std::string& v alue) {
7508 set_has_source_file(); 8132 set_has_source_file();
7509 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited(), value); 8133 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited(), value);
7510 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annota tion.source_file) 8134 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annota tion.source_file)
7511 } 8135 }
7512 inline void GeneratedCodeInfo_Annotation::set_source_file(const char* value) { 8136 inline void GeneratedCodeInfo_Annotation::set_source_file(const char* value) {
7513 set_has_source_file(); 8137 set_has_source_file();
7514 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited(), ::std::string(value)); 8138 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited(), ::std::string(value));
7515 // @@protoc_insertion_point(field_set_char:google.protobuf.GeneratedCodeInfo.A nnotation.source_file) 8139 // @@protoc_insertion_point(field_set_char:google.protobuf.GeneratedCodeInfo.A nnotation.source_file)
(...skipping 19 matching lines...) Expand all
7535 set_has_source_file(); 8159 set_has_source_file();
7536 } else { 8160 } else {
7537 clear_has_source_file(); 8161 clear_has_source_file();
7538 } 8162 }
7539 source_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited(), source_file); 8163 source_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyString AlreadyInited(), source_file);
7540 // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeI nfo.Annotation.source_file) 8164 // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeI nfo.Annotation.source_file)
7541 } 8165 }
7542 8166
7543 // optional int32 begin = 3; 8167 // optional int32 begin = 3;
7544 inline bool GeneratedCodeInfo_Annotation::has_begin() const { 8168 inline bool GeneratedCodeInfo_Annotation::has_begin() const {
7545 return (_has_bits_[0] & 0x00000004u) != 0; 8169 return (_has_bits_[0] & 0x00000002u) != 0;
7546 } 8170 }
7547 inline void GeneratedCodeInfo_Annotation::set_has_begin() { 8171 inline void GeneratedCodeInfo_Annotation::set_has_begin() {
7548 _has_bits_[0] |= 0x00000004u; 8172 _has_bits_[0] |= 0x00000002u;
7549 } 8173 }
7550 inline void GeneratedCodeInfo_Annotation::clear_has_begin() { 8174 inline void GeneratedCodeInfo_Annotation::clear_has_begin() {
7551 _has_bits_[0] &= ~0x00000004u; 8175 _has_bits_[0] &= ~0x00000002u;
7552 } 8176 }
7553 inline void GeneratedCodeInfo_Annotation::clear_begin() { 8177 inline void GeneratedCodeInfo_Annotation::clear_begin() {
7554 begin_ = 0; 8178 begin_ = 0;
7555 clear_has_begin(); 8179 clear_has_begin();
7556 } 8180 }
7557 inline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::begin() const { 8181 inline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::begin() const {
7558 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota tion.begin) 8182 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota tion.begin)
7559 return begin_; 8183 return begin_;
7560 } 8184 }
7561 inline void GeneratedCodeInfo_Annotation::set_begin(::google::protobuf::int32 va lue) { 8185 inline void GeneratedCodeInfo_Annotation::set_begin(::google::protobuf::int32 va lue) {
7562 set_has_begin(); 8186 set_has_begin();
7563 begin_ = value; 8187 begin_ = value;
7564 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annota tion.begin) 8188 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annota tion.begin)
7565 } 8189 }
7566 8190
7567 // optional int32 end = 4; 8191 // optional int32 end = 4;
7568 inline bool GeneratedCodeInfo_Annotation::has_end() const { 8192 inline bool GeneratedCodeInfo_Annotation::has_end() const {
7569 return (_has_bits_[0] & 0x00000008u) != 0; 8193 return (_has_bits_[0] & 0x00000004u) != 0;
7570 } 8194 }
7571 inline void GeneratedCodeInfo_Annotation::set_has_end() { 8195 inline void GeneratedCodeInfo_Annotation::set_has_end() {
7572 _has_bits_[0] |= 0x00000008u; 8196 _has_bits_[0] |= 0x00000004u;
7573 } 8197 }
7574 inline void GeneratedCodeInfo_Annotation::clear_has_end() { 8198 inline void GeneratedCodeInfo_Annotation::clear_has_end() {
7575 _has_bits_[0] &= ~0x00000008u; 8199 _has_bits_[0] &= ~0x00000004u;
7576 } 8200 }
7577 inline void GeneratedCodeInfo_Annotation::clear_end() { 8201 inline void GeneratedCodeInfo_Annotation::clear_end() {
7578 end_ = 0; 8202 end_ = 0;
7579 clear_has_end(); 8203 clear_has_end();
7580 } 8204 }
7581 inline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::end() const { 8205 inline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::end() const {
7582 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota tion.end) 8206 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota tion.end)
7583 return end_; 8207 return end_;
7584 } 8208 }
7585 inline void GeneratedCodeInfo_Annotation::set_end(::google::protobuf::int32 valu e) { 8209 inline void GeneratedCodeInfo_Annotation::set_end(::google::protobuf::int32 valu e) {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
7662 // ------------------------------------------------------------------- 8286 // -------------------------------------------------------------------
7663 8287
7664 // ------------------------------------------------------------------- 8288 // -------------------------------------------------------------------
7665 8289
7666 // ------------------------------------------------------------------- 8290 // -------------------------------------------------------------------
7667 8291
7668 // ------------------------------------------------------------------- 8292 // -------------------------------------------------------------------
7669 8293
7670 // ------------------------------------------------------------------- 8294 // -------------------------------------------------------------------
7671 8295
8296 // -------------------------------------------------------------------
8297
7672 8298
7673 // @@protoc_insertion_point(namespace_scope) 8299 // @@protoc_insertion_point(namespace_scope)
7674 8300
8301
7675 } // namespace protobuf 8302 } // namespace protobuf
7676 } // namespace google 8303 } // namespace google
7677 8304
7678 #ifndef SWIG 8305 #ifndef SWIG
7679 namespace google { 8306 namespace google {
7680 namespace protobuf { 8307 namespace protobuf {
7681 8308
7682 template <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Type> : ::google::protobuf::internal::true_type {}; 8309 template <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Type> : ::google::protobuf::internal::true_type {};
7683 template <> 8310 template <>
7684 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescrip torProto_Type>() { 8311 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescrip torProto_Type>() {
(...skipping 12 matching lines...) Expand all
7697 template <> struct is_proto_enum< ::google::protobuf::FieldOptions_CType> : ::go ogle::protobuf::internal::true_type {}; 8324 template <> struct is_proto_enum< ::google::protobuf::FieldOptions_CType> : ::go ogle::protobuf::internal::true_type {};
7698 template <> 8325 template <>
7699 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions _CType>() { 8326 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions _CType>() {
7700 return ::google::protobuf::FieldOptions_CType_descriptor(); 8327 return ::google::protobuf::FieldOptions_CType_descriptor();
7701 } 8328 }
7702 template <> struct is_proto_enum< ::google::protobuf::FieldOptions_JSType> : ::g oogle::protobuf::internal::true_type {}; 8329 template <> struct is_proto_enum< ::google::protobuf::FieldOptions_JSType> : ::g oogle::protobuf::internal::true_type {};
7703 template <> 8330 template <>
7704 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions _JSType>() { 8331 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions _JSType>() {
7705 return ::google::protobuf::FieldOptions_JSType_descriptor(); 8332 return ::google::protobuf::FieldOptions_JSType_descriptor();
7706 } 8333 }
8334 template <> struct is_proto_enum< ::google::protobuf::MethodOptions_IdempotencyL evel> : ::google::protobuf::internal::true_type {};
8335 template <>
8336 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::MethodOption s_IdempotencyLevel>() {
8337 return ::google::protobuf::MethodOptions_IdempotencyLevel_descriptor();
8338 }
7707 8339
7708 } // namespace protobuf 8340 } // namespace protobuf
7709 } // namespace google 8341 } // namespace google
7710 #endif // SWIG 8342 #endif // SWIG
7711 8343
7712 // @@protoc_insertion_point(global_scope) 8344 // @@protoc_insertion_point(global_scope)
7713 8345
7714 #endif // PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED 8346 #endif // PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED
OLDNEW
« no previous file with comments | « third_party/protobuf/src/google/protobuf/descriptor.proto ('k') | third_party/protobuf/src/google/protobuf/descriptor.pb.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698