OLD | NEW |
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 < 2005000 |
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 2005000 < 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> | |
23 #include <google/protobuf/arenastring.h> | |
24 #include <google/protobuf/generated_message_util.h> | 22 #include <google/protobuf/generated_message_util.h> |
25 #include <google/protobuf/metadata.h> | |
26 #include <google/protobuf/message.h> | 23 #include <google/protobuf/message.h> |
27 #include <google/protobuf/repeated_field.h> | 24 #include <google/protobuf/repeated_field.h> |
28 #include <google/protobuf/extension_set.h> | 25 #include <google/protobuf/extension_set.h> |
29 #include <google/protobuf/generated_enum_reflection.h> | 26 #include <google/protobuf/generated_enum_reflection.h> |
30 #include <google/protobuf/unknown_field_set.h> | 27 #include <google/protobuf/unknown_field_set.h> |
31 // @@protoc_insertion_point(includes) | 28 // @@protoc_insertion_point(includes) |
32 | 29 |
33 namespace google { | 30 namespace google { |
34 namespace protobuf { | 31 namespace protobuf { |
35 | 32 |
36 // Internal implementation detail -- do not call these. | 33 // Internal implementation detail -- do not call these. |
37 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(
); | 34 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(
); |
38 void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 35 void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
39 void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 36 void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
40 | 37 |
41 class FileDescriptorSet; | 38 class FileDescriptorSet; |
42 class FileDescriptorProto; | 39 class FileDescriptorProto; |
43 class DescriptorProto; | 40 class DescriptorProto; |
44 class DescriptorProto_ExtensionRange; | 41 class DescriptorProto_ExtensionRange; |
45 class DescriptorProto_ReservedRange; | |
46 class FieldDescriptorProto; | 42 class FieldDescriptorProto; |
47 class OneofDescriptorProto; | |
48 class EnumDescriptorProto; | 43 class EnumDescriptorProto; |
49 class EnumValueDescriptorProto; | 44 class EnumValueDescriptorProto; |
50 class ServiceDescriptorProto; | 45 class ServiceDescriptorProto; |
51 class MethodDescriptorProto; | 46 class MethodDescriptorProto; |
52 class FileOptions; | 47 class FileOptions; |
53 class MessageOptions; | 48 class MessageOptions; |
54 class FieldOptions; | 49 class FieldOptions; |
55 class EnumOptions; | 50 class EnumOptions; |
56 class EnumValueOptions; | 51 class EnumValueOptions; |
57 class ServiceOptions; | 52 class ServiceOptions; |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_CType_
descriptor(); | 144 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_CType_
descriptor(); |
150 inline const ::std::string& FieldOptions_CType_Name(FieldOptions_CType value) { | 145 inline const ::std::string& FieldOptions_CType_Name(FieldOptions_CType value) { |
151 return ::google::protobuf::internal::NameOfEnum( | 146 return ::google::protobuf::internal::NameOfEnum( |
152 FieldOptions_CType_descriptor(), value); | 147 FieldOptions_CType_descriptor(), value); |
153 } | 148 } |
154 inline bool FieldOptions_CType_Parse( | 149 inline bool FieldOptions_CType_Parse( |
155 const ::std::string& name, FieldOptions_CType* value) { | 150 const ::std::string& name, FieldOptions_CType* value) { |
156 return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_CType>( | 151 return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_CType>( |
157 FieldOptions_CType_descriptor(), name, value); | 152 FieldOptions_CType_descriptor(), name, value); |
158 } | 153 } |
159 enum FieldOptions_JSType { | |
160 FieldOptions_JSType_JS_NORMAL = 0, | |
161 FieldOptions_JSType_JS_STRING = 1, | |
162 FieldOptions_JSType_JS_NUMBER = 2 | |
163 }; | |
164 LIBPROTOBUF_EXPORT bool FieldOptions_JSType_IsValid(int value); | |
165 const FieldOptions_JSType FieldOptions_JSType_JSType_MIN = FieldOptions_JSType_J
S_NORMAL; | |
166 const FieldOptions_JSType FieldOptions_JSType_JSType_MAX = FieldOptions_JSType_J
S_NUMBER; | |
167 const int FieldOptions_JSType_JSType_ARRAYSIZE = FieldOptions_JSType_JSType_MAX
+ 1; | |
168 | |
169 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_JSType
_descriptor(); | |
170 inline const ::std::string& FieldOptions_JSType_Name(FieldOptions_JSType value)
{ | |
171 return ::google::protobuf::internal::NameOfEnum( | |
172 FieldOptions_JSType_descriptor(), value); | |
173 } | |
174 inline bool FieldOptions_JSType_Parse( | |
175 const ::std::string& name, FieldOptions_JSType* value) { | |
176 return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_JSType>( | |
177 FieldOptions_JSType_descriptor(), name, value); | |
178 } | |
179 // =================================================================== | 154 // =================================================================== |
180 | 155 |
181 class LIBPROTOBUF_EXPORT FileDescriptorSet : public ::google::protobuf::Message
{ | 156 class LIBPROTOBUF_EXPORT FileDescriptorSet : public ::google::protobuf::Message
{ |
182 public: | 157 public: |
183 FileDescriptorSet(); | 158 FileDescriptorSet(); |
184 virtual ~FileDescriptorSet(); | 159 virtual ~FileDescriptorSet(); |
185 | 160 |
186 FileDescriptorSet(const FileDescriptorSet& from); | 161 FileDescriptorSet(const FileDescriptorSet& from); |
187 | 162 |
188 inline FileDescriptorSet& operator=(const FileDescriptorSet& from) { | 163 inline FileDescriptorSet& operator=(const FileDescriptorSet& from) { |
189 CopyFrom(from); | 164 CopyFrom(from); |
190 return *this; | 165 return *this; |
191 } | 166 } |
192 | 167 |
193 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 168 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
194 return _internal_metadata_.unknown_fields(); | 169 return _unknown_fields_; |
195 } | 170 } |
196 | 171 |
197 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 172 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
198 return _internal_metadata_.mutable_unknown_fields(); | 173 return &_unknown_fields_; |
199 } | 174 } |
200 | 175 |
201 static const ::google::protobuf::Descriptor* descriptor(); | 176 static const ::google::protobuf::Descriptor* descriptor(); |
202 static const FileDescriptorSet& default_instance(); | 177 static const FileDescriptorSet& default_instance(); |
203 | 178 |
204 void Swap(FileDescriptorSet* other); | 179 void Swap(FileDescriptorSet* other); |
205 | 180 |
206 // implements Message ---------------------------------------------- | 181 // implements Message ---------------------------------------------- |
207 | 182 |
208 inline FileDescriptorSet* New() const { return New(NULL); } | 183 FileDescriptorSet* New() const; |
209 | |
210 FileDescriptorSet* New(::google::protobuf::Arena* arena) const; | |
211 void CopyFrom(const ::google::protobuf::Message& from); | 184 void CopyFrom(const ::google::protobuf::Message& from); |
212 void MergeFrom(const ::google::protobuf::Message& from); | 185 void MergeFrom(const ::google::protobuf::Message& from); |
213 void CopyFrom(const FileDescriptorSet& from); | 186 void CopyFrom(const FileDescriptorSet& from); |
214 void MergeFrom(const FileDescriptorSet& from); | 187 void MergeFrom(const FileDescriptorSet& from); |
215 void Clear(); | 188 void Clear(); |
216 bool IsInitialized() const; | 189 bool IsInitialized() const; |
217 | 190 |
218 int ByteSize() const; | 191 int ByteSize() const; |
219 bool MergePartialFromCodedStream( | 192 bool MergePartialFromCodedStream( |
220 ::google::protobuf::io::CodedInputStream* input); | 193 ::google::protobuf::io::CodedInputStream* input); |
221 void SerializeWithCachedSizes( | 194 void SerializeWithCachedSizes( |
222 ::google::protobuf::io::CodedOutputStream* output) const; | 195 ::google::protobuf::io::CodedOutputStream* output) const; |
223 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 196 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
224 int GetCachedSize() const { return _cached_size_; } | 197 int GetCachedSize() const { return _cached_size_; } |
225 private: | 198 private: |
226 void SharedCtor(); | 199 void SharedCtor(); |
227 void SharedDtor(); | 200 void SharedDtor(); |
228 void SetCachedSize(int size) const; | 201 void SetCachedSize(int size) const; |
229 void InternalSwap(FileDescriptorSet* other); | |
230 private: | |
231 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
232 return _internal_metadata_.arena(); | |
233 } | |
234 inline void* MaybeArenaPtr() const { | |
235 return _internal_metadata_.raw_arena_ptr(); | |
236 } | |
237 public: | 202 public: |
238 | 203 |
239 ::google::protobuf::Metadata GetMetadata() const; | 204 ::google::protobuf::Metadata GetMetadata() const; |
240 | 205 |
241 // nested types ---------------------------------------------------- | 206 // nested types ---------------------------------------------------- |
242 | 207 |
243 // accessors ------------------------------------------------------- | 208 // accessors ------------------------------------------------------- |
244 | 209 |
245 // repeated .google.protobuf.FileDescriptorProto file = 1; | 210 // repeated .google.protobuf.FileDescriptorProto file = 1; |
246 int file_size() const; | 211 inline int file_size() const; |
247 void clear_file(); | 212 inline void clear_file(); |
248 static const int kFileFieldNumber = 1; | 213 static const int kFileFieldNumber = 1; |
249 const ::google::protobuf::FileDescriptorProto& file(int index) const; | 214 inline const ::google::protobuf::FileDescriptorProto& file(int index) const; |
250 ::google::protobuf::FileDescriptorProto* mutable_file(int index); | 215 inline ::google::protobuf::FileDescriptorProto* mutable_file(int index); |
251 ::google::protobuf::FileDescriptorProto* add_file(); | 216 inline ::google::protobuf::FileDescriptorProto* add_file(); |
252 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptor
Proto >& | 217 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDes
criptorProto >& |
253 file() const; | 218 file() const; |
254 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto
>* | 219 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescripto
rProto >* |
255 mutable_file(); | 220 mutable_file(); |
256 | 221 |
257 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet) | 222 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet) |
258 private: | 223 private: |
259 | 224 |
260 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 225 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
261 ::google::protobuf::uint32 _has_bits_[1]; | 226 |
| 227 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto
> file_; |
| 228 |
262 mutable int _cached_size_; | 229 mutable int _cached_size_; |
263 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto
> file_; | 230 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; |
| 231 |
264 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 232 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
265 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 233 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
266 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 234 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
267 | 235 |
268 void InitAsDefaultInstance(); | 236 void InitAsDefaultInstance(); |
269 static FileDescriptorSet* default_instance_; | 237 static FileDescriptorSet* default_instance_; |
270 }; | 238 }; |
271 // ------------------------------------------------------------------- | 239 // ------------------------------------------------------------------- |
272 | 240 |
273 class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Messag
e { | 241 class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Messag
e { |
274 public: | 242 public: |
275 FileDescriptorProto(); | 243 FileDescriptorProto(); |
276 virtual ~FileDescriptorProto(); | 244 virtual ~FileDescriptorProto(); |
277 | 245 |
278 FileDescriptorProto(const FileDescriptorProto& from); | 246 FileDescriptorProto(const FileDescriptorProto& from); |
279 | 247 |
280 inline FileDescriptorProto& operator=(const FileDescriptorProto& from) { | 248 inline FileDescriptorProto& operator=(const FileDescriptorProto& from) { |
281 CopyFrom(from); | 249 CopyFrom(from); |
282 return *this; | 250 return *this; |
283 } | 251 } |
284 | 252 |
285 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 253 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
286 return _internal_metadata_.unknown_fields(); | 254 return _unknown_fields_; |
287 } | 255 } |
288 | 256 |
289 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 257 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
290 return _internal_metadata_.mutable_unknown_fields(); | 258 return &_unknown_fields_; |
291 } | 259 } |
292 | 260 |
293 static const ::google::protobuf::Descriptor* descriptor(); | 261 static const ::google::protobuf::Descriptor* descriptor(); |
294 static const FileDescriptorProto& default_instance(); | 262 static const FileDescriptorProto& default_instance(); |
295 | 263 |
296 void Swap(FileDescriptorProto* other); | 264 void Swap(FileDescriptorProto* other); |
297 | 265 |
298 // implements Message ---------------------------------------------- | 266 // implements Message ---------------------------------------------- |
299 | 267 |
300 inline FileDescriptorProto* New() const { return New(NULL); } | 268 FileDescriptorProto* New() const; |
301 | |
302 FileDescriptorProto* New(::google::protobuf::Arena* arena) const; | |
303 void CopyFrom(const ::google::protobuf::Message& from); | 269 void CopyFrom(const ::google::protobuf::Message& from); |
304 void MergeFrom(const ::google::protobuf::Message& from); | 270 void MergeFrom(const ::google::protobuf::Message& from); |
305 void CopyFrom(const FileDescriptorProto& from); | 271 void CopyFrom(const FileDescriptorProto& from); |
306 void MergeFrom(const FileDescriptorProto& from); | 272 void MergeFrom(const FileDescriptorProto& from); |
307 void Clear(); | 273 void Clear(); |
308 bool IsInitialized() const; | 274 bool IsInitialized() const; |
309 | 275 |
310 int ByteSize() const; | 276 int ByteSize() const; |
311 bool MergePartialFromCodedStream( | 277 bool MergePartialFromCodedStream( |
312 ::google::protobuf::io::CodedInputStream* input); | 278 ::google::protobuf::io::CodedInputStream* input); |
313 void SerializeWithCachedSizes( | 279 void SerializeWithCachedSizes( |
314 ::google::protobuf::io::CodedOutputStream* output) const; | 280 ::google::protobuf::io::CodedOutputStream* output) const; |
315 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 281 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
316 int GetCachedSize() const { return _cached_size_; } | 282 int GetCachedSize() const { return _cached_size_; } |
317 private: | 283 private: |
318 void SharedCtor(); | 284 void SharedCtor(); |
319 void SharedDtor(); | 285 void SharedDtor(); |
320 void SetCachedSize(int size) const; | 286 void SetCachedSize(int size) const; |
321 void InternalSwap(FileDescriptorProto* other); | |
322 private: | |
323 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
324 return _internal_metadata_.arena(); | |
325 } | |
326 inline void* MaybeArenaPtr() const { | |
327 return _internal_metadata_.raw_arena_ptr(); | |
328 } | |
329 public: | 287 public: |
330 | 288 |
331 ::google::protobuf::Metadata GetMetadata() const; | 289 ::google::protobuf::Metadata GetMetadata() const; |
332 | 290 |
333 // nested types ---------------------------------------------------- | 291 // nested types ---------------------------------------------------- |
334 | 292 |
335 // accessors ------------------------------------------------------- | 293 // accessors ------------------------------------------------------- |
336 | 294 |
337 // optional string name = 1; | 295 // optional string name = 1; |
338 bool has_name() const; | 296 inline bool has_name() const; |
339 void clear_name(); | 297 inline void clear_name(); |
340 static const int kNameFieldNumber = 1; | 298 static const int kNameFieldNumber = 1; |
341 const ::std::string& name() const; | 299 inline const ::std::string& name() const; |
342 void set_name(const ::std::string& value); | 300 inline void set_name(const ::std::string& value); |
343 void set_name(const char* value); | 301 inline void set_name(const char* value); |
344 void set_name(const char* value, size_t size); | 302 inline void set_name(const char* value, size_t size); |
345 ::std::string* mutable_name(); | 303 inline ::std::string* mutable_name(); |
346 ::std::string* release_name(); | 304 inline ::std::string* release_name(); |
347 void set_allocated_name(::std::string* name); | 305 inline void set_allocated_name(::std::string* name); |
348 | 306 |
349 // optional string package = 2; | 307 // optional string package = 2; |
350 bool has_package() const; | 308 inline bool has_package() const; |
351 void clear_package(); | 309 inline void clear_package(); |
352 static const int kPackageFieldNumber = 2; | 310 static const int kPackageFieldNumber = 2; |
353 const ::std::string& package() const; | 311 inline const ::std::string& package() const; |
354 void set_package(const ::std::string& value); | 312 inline void set_package(const ::std::string& value); |
355 void set_package(const char* value); | 313 inline void set_package(const char* value); |
356 void set_package(const char* value, size_t size); | 314 inline void set_package(const char* value, size_t size); |
357 ::std::string* mutable_package(); | 315 inline ::std::string* mutable_package(); |
358 ::std::string* release_package(); | 316 inline ::std::string* release_package(); |
359 void set_allocated_package(::std::string* package); | 317 inline void set_allocated_package(::std::string* package); |
360 | 318 |
361 // repeated string dependency = 3; | 319 // repeated string dependency = 3; |
362 int dependency_size() const; | 320 inline int dependency_size() const; |
363 void clear_dependency(); | 321 inline void clear_dependency(); |
364 static const int kDependencyFieldNumber = 3; | 322 static const int kDependencyFieldNumber = 3; |
365 const ::std::string& dependency(int index) const; | 323 inline const ::std::string& dependency(int index) const; |
366 ::std::string* mutable_dependency(int index); | 324 inline ::std::string* mutable_dependency(int index); |
367 void set_dependency(int index, const ::std::string& value); | 325 inline void set_dependency(int index, const ::std::string& value); |
368 void set_dependency(int index, const char* value); | 326 inline void set_dependency(int index, const char* value); |
369 void set_dependency(int index, const char* value, size_t size); | 327 inline void set_dependency(int index, const char* value, size_t size); |
370 ::std::string* add_dependency(); | 328 inline ::std::string* add_dependency(); |
371 void add_dependency(const ::std::string& value); | 329 inline void add_dependency(const ::std::string& value); |
372 void add_dependency(const char* value); | 330 inline void add_dependency(const char* value); |
373 void add_dependency(const char* value, size_t size); | 331 inline void add_dependency(const char* value, size_t size); |
374 const ::google::protobuf::RepeatedPtrField< ::std::string>& dependency() const
; | 332 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& dependency(
) const; |
375 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_dependency(); | 333 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_dependenc
y(); |
376 | 334 |
377 // repeated int32 public_dependency = 10; | 335 // repeated int32 public_dependency = 10; |
378 int public_dependency_size() const; | 336 inline int public_dependency_size() const; |
379 void clear_public_dependency(); | 337 inline void clear_public_dependency(); |
380 static const int kPublicDependencyFieldNumber = 10; | 338 static const int kPublicDependencyFieldNumber = 10; |
381 ::google::protobuf::int32 public_dependency(int index) const; | 339 inline ::google::protobuf::int32 public_dependency(int index) const; |
382 void set_public_dependency(int index, ::google::protobuf::int32 value); | 340 inline void set_public_dependency(int index, ::google::protobuf::int32 value); |
383 void add_public_dependency(::google::protobuf::int32 value); | 341 inline void add_public_dependency(::google::protobuf::int32 value); |
384 const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& | 342 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
385 public_dependency() const; | 343 public_dependency() const; |
386 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* | 344 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
387 mutable_public_dependency(); | 345 mutable_public_dependency(); |
388 | 346 |
389 // repeated int32 weak_dependency = 11; | 347 // repeated int32 weak_dependency = 11; |
390 int weak_dependency_size() const; | 348 inline int weak_dependency_size() const; |
391 void clear_weak_dependency(); | 349 inline void clear_weak_dependency(); |
392 static const int kWeakDependencyFieldNumber = 11; | 350 static const int kWeakDependencyFieldNumber = 11; |
393 ::google::protobuf::int32 weak_dependency(int index) const; | 351 inline ::google::protobuf::int32 weak_dependency(int index) const; |
394 void set_weak_dependency(int index, ::google::protobuf::int32 value); | 352 inline void set_weak_dependency(int index, ::google::protobuf::int32 value); |
395 void add_weak_dependency(::google::protobuf::int32 value); | 353 inline void add_weak_dependency(::google::protobuf::int32 value); |
396 const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& | 354 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
397 weak_dependency() const; | 355 weak_dependency() const; |
398 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* | 356 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
399 mutable_weak_dependency(); | 357 mutable_weak_dependency(); |
400 | 358 |
401 // repeated .google.protobuf.DescriptorProto message_type = 4; | 359 // repeated .google.protobuf.DescriptorProto message_type = 4; |
402 int message_type_size() const; | 360 inline int message_type_size() const; |
403 void clear_message_type(); | 361 inline void clear_message_type(); |
404 static const int kMessageTypeFieldNumber = 4; | 362 static const int kMessageTypeFieldNumber = 4; |
405 const ::google::protobuf::DescriptorProto& message_type(int index) const; | 363 inline const ::google::protobuf::DescriptorProto& message_type(int index) cons
t; |
406 ::google::protobuf::DescriptorProto* mutable_message_type(int index); | 364 inline ::google::protobuf::DescriptorProto* mutable_message_type(int index); |
407 ::google::protobuf::DescriptorProto* add_message_type(); | 365 inline ::google::protobuf::DescriptorProto* add_message_type(); |
408 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProt
o >& | 366 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Descrip
torProto >& |
409 message_type() const; | 367 message_type() const; |
410 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >* | 368 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorPro
to >* |
411 mutable_message_type(); | 369 mutable_message_type(); |
412 | 370 |
413 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; | 371 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
414 int enum_type_size() const; | 372 inline int enum_type_size() const; |
415 void clear_enum_type(); | 373 inline void clear_enum_type(); |
416 static const int kEnumTypeFieldNumber = 5; | 374 static const int kEnumTypeFieldNumber = 5; |
417 const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const; | 375 inline const ::google::protobuf::EnumDescriptorProto& enum_type(int index) con
st; |
418 ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index); | 376 inline ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index); |
419 ::google::protobuf::EnumDescriptorProto* add_enum_type(); | 377 inline ::google::protobuf::EnumDescriptorProto* add_enum_type(); |
420 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptor
Proto >& | 378 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDes
criptorProto >& |
421 enum_type() const; | 379 enum_type() const; |
422 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto
>* | 380 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescripto
rProto >* |
423 mutable_enum_type(); | 381 mutable_enum_type(); |
424 | 382 |
425 // repeated .google.protobuf.ServiceDescriptorProto service = 6; | 383 // repeated .google.protobuf.ServiceDescriptorProto service = 6; |
426 int service_size() const; | 384 inline int service_size() const; |
427 void clear_service(); | 385 inline void clear_service(); |
428 static const int kServiceFieldNumber = 6; | 386 static const int kServiceFieldNumber = 6; |
429 const ::google::protobuf::ServiceDescriptorProto& service(int index) const; | 387 inline const ::google::protobuf::ServiceDescriptorProto& service(int index) co
nst; |
430 ::google::protobuf::ServiceDescriptorProto* mutable_service(int index); | 388 inline ::google::protobuf::ServiceDescriptorProto* mutable_service(int index); |
431 ::google::protobuf::ServiceDescriptorProto* add_service(); | 389 inline ::google::protobuf::ServiceDescriptorProto* add_service(); |
432 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescrip
torProto >& | 390 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Service
DescriptorProto >& |
433 service() const; | 391 service() const; |
434 ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorPro
to >* | 392 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescri
ptorProto >* |
435 mutable_service(); | 393 mutable_service(); |
436 | 394 |
437 // repeated .google.protobuf.FieldDescriptorProto extension = 7; | 395 // repeated .google.protobuf.FieldDescriptorProto extension = 7; |
438 int extension_size() const; | 396 inline int extension_size() const; |
439 void clear_extension(); | 397 inline void clear_extension(); |
440 static const int kExtensionFieldNumber = 7; | 398 static const int kExtensionFieldNumber = 7; |
441 const ::google::protobuf::FieldDescriptorProto& extension(int index) const; | 399 inline const ::google::protobuf::FieldDescriptorProto& extension(int index) co
nst; |
442 ::google::protobuf::FieldDescriptorProto* mutable_extension(int index); | 400 inline ::google::protobuf::FieldDescriptorProto* mutable_extension(int index); |
443 ::google::protobuf::FieldDescriptorProto* add_extension(); | 401 inline ::google::protobuf::FieldDescriptorProto* add_extension(); |
444 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescripto
rProto >& | 402 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDe
scriptorProto >& |
445 extension() const; | 403 extension() const; |
446 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
>* | 404 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescript
orProto >* |
447 mutable_extension(); | 405 mutable_extension(); |
448 | 406 |
449 // optional .google.protobuf.FileOptions options = 8; | 407 // optional .google.protobuf.FileOptions options = 8; |
450 bool has_options() const; | 408 inline bool has_options() const; |
451 void clear_options(); | 409 inline void clear_options(); |
452 static const int kOptionsFieldNumber = 8; | 410 static const int kOptionsFieldNumber = 8; |
453 const ::google::protobuf::FileOptions& options() const; | 411 inline const ::google::protobuf::FileOptions& options() const; |
454 ::google::protobuf::FileOptions* mutable_options(); | 412 inline ::google::protobuf::FileOptions* mutable_options(); |
455 ::google::protobuf::FileOptions* release_options(); | 413 inline ::google::protobuf::FileOptions* release_options(); |
456 void set_allocated_options(::google::protobuf::FileOptions* options); | 414 inline void set_allocated_options(::google::protobuf::FileOptions* options); |
457 | 415 |
458 // optional .google.protobuf.SourceCodeInfo source_code_info = 9; | 416 // optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
459 bool has_source_code_info() const; | 417 inline bool has_source_code_info() const; |
460 void clear_source_code_info(); | 418 inline void clear_source_code_info(); |
461 static const int kSourceCodeInfoFieldNumber = 9; | 419 static const int kSourceCodeInfoFieldNumber = 9; |
462 const ::google::protobuf::SourceCodeInfo& source_code_info() const; | 420 inline const ::google::protobuf::SourceCodeInfo& source_code_info() const; |
463 ::google::protobuf::SourceCodeInfo* mutable_source_code_info(); | 421 inline ::google::protobuf::SourceCodeInfo* mutable_source_code_info(); |
464 ::google::protobuf::SourceCodeInfo* release_source_code_info(); | 422 inline ::google::protobuf::SourceCodeInfo* release_source_code_info(); |
465 void set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* source
_code_info); | 423 inline void set_allocated_source_code_info(::google::protobuf::SourceCodeInfo*
source_code_info); |
466 | |
467 // optional string syntax = 12; | |
468 bool has_syntax() const; | |
469 void clear_syntax(); | |
470 static const int kSyntaxFieldNumber = 12; | |
471 const ::std::string& syntax() const; | |
472 void set_syntax(const ::std::string& value); | |
473 void set_syntax(const char* value); | |
474 void set_syntax(const char* value, size_t size); | |
475 ::std::string* mutable_syntax(); | |
476 ::std::string* release_syntax(); | |
477 void set_allocated_syntax(::std::string* syntax); | |
478 | 424 |
479 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto) | 425 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto) |
480 private: | 426 private: |
481 inline void set_has_name(); | 427 inline void set_has_name(); |
482 inline void clear_has_name(); | 428 inline void clear_has_name(); |
483 inline void set_has_package(); | 429 inline void set_has_package(); |
484 inline void clear_has_package(); | 430 inline void clear_has_package(); |
485 inline void set_has_options(); | 431 inline void set_has_options(); |
486 inline void clear_has_options(); | 432 inline void clear_has_options(); |
487 inline void set_has_source_code_info(); | 433 inline void set_has_source_code_info(); |
488 inline void clear_has_source_code_info(); | 434 inline void clear_has_source_code_info(); |
489 inline void set_has_syntax(); | |
490 inline void clear_has_syntax(); | |
491 | 435 |
492 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 436 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
493 ::google::protobuf::uint32 _has_bits_[1]; | 437 |
494 mutable int _cached_size_; | 438 ::std::string* name_; |
495 ::google::protobuf::internal::ArenaStringPtr name_; | 439 ::std::string* package_; |
496 ::google::protobuf::internal::ArenaStringPtr package_; | |
497 ::google::protobuf::RepeatedPtrField< ::std::string> dependency_; | 440 ::google::protobuf::RepeatedPtrField< ::std::string> dependency_; |
498 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > public_dependen
cy_; | 441 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > public_dependen
cy_; |
499 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > weak_dependency
_; | 442 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > weak_dependency
_; |
500 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > me
ssage_type_; | 443 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > me
ssage_type_; |
501 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto
> enum_type_; | 444 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto
> enum_type_; |
502 ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorPro
to > service_; | 445 ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorPro
to > service_; |
503 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
> extension_; | 446 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
> extension_; |
504 ::google::protobuf::FileOptions* options_; | 447 ::google::protobuf::FileOptions* options_; |
505 ::google::protobuf::SourceCodeInfo* source_code_info_; | 448 ::google::protobuf::SourceCodeInfo* source_code_info_; |
506 ::google::protobuf::internal::ArenaStringPtr syntax_; | 449 |
| 450 mutable int _cached_size_; |
| 451 ::google::protobuf::uint32 _has_bits_[(11 + 31) / 32]; |
| 452 |
507 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 453 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
508 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 454 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
509 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 455 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
510 | 456 |
511 void InitAsDefaultInstance(); | 457 void InitAsDefaultInstance(); |
512 static FileDescriptorProto* default_instance_; | 458 static FileDescriptorProto* default_instance_; |
513 }; | 459 }; |
514 // ------------------------------------------------------------------- | 460 // ------------------------------------------------------------------- |
515 | 461 |
516 class LIBPROTOBUF_EXPORT DescriptorProto_ExtensionRange : public ::google::proto
buf::Message { | 462 class LIBPROTOBUF_EXPORT DescriptorProto_ExtensionRange : public ::google::proto
buf::Message { |
517 public: | 463 public: |
518 DescriptorProto_ExtensionRange(); | 464 DescriptorProto_ExtensionRange(); |
519 virtual ~DescriptorProto_ExtensionRange(); | 465 virtual ~DescriptorProto_ExtensionRange(); |
520 | 466 |
521 DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from); | 467 DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from); |
522 | 468 |
523 inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_Extensi
onRange& from) { | 469 inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_Extensi
onRange& from) { |
524 CopyFrom(from); | 470 CopyFrom(from); |
525 return *this; | 471 return *this; |
526 } | 472 } |
527 | 473 |
528 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 474 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
529 return _internal_metadata_.unknown_fields(); | 475 return _unknown_fields_; |
530 } | 476 } |
531 | 477 |
532 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 478 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
533 return _internal_metadata_.mutable_unknown_fields(); | 479 return &_unknown_fields_; |
534 } | 480 } |
535 | 481 |
536 static const ::google::protobuf::Descriptor* descriptor(); | 482 static const ::google::protobuf::Descriptor* descriptor(); |
537 static const DescriptorProto_ExtensionRange& default_instance(); | 483 static const DescriptorProto_ExtensionRange& default_instance(); |
538 | 484 |
539 void Swap(DescriptorProto_ExtensionRange* other); | 485 void Swap(DescriptorProto_ExtensionRange* other); |
540 | 486 |
541 // implements Message ---------------------------------------------- | 487 // implements Message ---------------------------------------------- |
542 | 488 |
543 inline DescriptorProto_ExtensionRange* New() const { return New(NULL); } | 489 DescriptorProto_ExtensionRange* New() const; |
544 | |
545 DescriptorProto_ExtensionRange* New(::google::protobuf::Arena* arena) const; | |
546 void CopyFrom(const ::google::protobuf::Message& from); | 490 void CopyFrom(const ::google::protobuf::Message& from); |
547 void MergeFrom(const ::google::protobuf::Message& from); | 491 void MergeFrom(const ::google::protobuf::Message& from); |
548 void CopyFrom(const DescriptorProto_ExtensionRange& from); | 492 void CopyFrom(const DescriptorProto_ExtensionRange& from); |
549 void MergeFrom(const DescriptorProto_ExtensionRange& from); | 493 void MergeFrom(const DescriptorProto_ExtensionRange& from); |
550 void Clear(); | 494 void Clear(); |
551 bool IsInitialized() const; | 495 bool IsInitialized() const; |
552 | 496 |
553 int ByteSize() const; | 497 int ByteSize() const; |
554 bool MergePartialFromCodedStream( | 498 bool MergePartialFromCodedStream( |
555 ::google::protobuf::io::CodedInputStream* input); | 499 ::google::protobuf::io::CodedInputStream* input); |
556 void SerializeWithCachedSizes( | 500 void SerializeWithCachedSizes( |
557 ::google::protobuf::io::CodedOutputStream* output) const; | 501 ::google::protobuf::io::CodedOutputStream* output) const; |
558 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 502 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
559 int GetCachedSize() const { return _cached_size_; } | 503 int GetCachedSize() const { return _cached_size_; } |
560 private: | 504 private: |
561 void SharedCtor(); | 505 void SharedCtor(); |
562 void SharedDtor(); | 506 void SharedDtor(); |
563 void SetCachedSize(int size) const; | 507 void SetCachedSize(int size) const; |
564 void InternalSwap(DescriptorProto_ExtensionRange* other); | |
565 private: | |
566 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
567 return _internal_metadata_.arena(); | |
568 } | |
569 inline void* MaybeArenaPtr() const { | |
570 return _internal_metadata_.raw_arena_ptr(); | |
571 } | |
572 public: | 508 public: |
573 | 509 |
574 ::google::protobuf::Metadata GetMetadata() const; | 510 ::google::protobuf::Metadata GetMetadata() const; |
575 | 511 |
576 // nested types ---------------------------------------------------- | 512 // nested types ---------------------------------------------------- |
577 | 513 |
578 // accessors ------------------------------------------------------- | 514 // accessors ------------------------------------------------------- |
579 | 515 |
580 // optional int32 start = 1; | 516 // optional int32 start = 1; |
581 bool has_start() const; | 517 inline bool has_start() const; |
582 void clear_start(); | 518 inline void clear_start(); |
583 static const int kStartFieldNumber = 1; | 519 static const int kStartFieldNumber = 1; |
584 ::google::protobuf::int32 start() const; | 520 inline ::google::protobuf::int32 start() const; |
585 void set_start(::google::protobuf::int32 value); | 521 inline void set_start(::google::protobuf::int32 value); |
586 | 522 |
587 // optional int32 end = 2; | 523 // optional int32 end = 2; |
588 bool has_end() const; | 524 inline bool has_end() const; |
589 void clear_end(); | 525 inline void clear_end(); |
590 static const int kEndFieldNumber = 2; | 526 static const int kEndFieldNumber = 2; |
591 ::google::protobuf::int32 end() const; | 527 inline ::google::protobuf::int32 end() const; |
592 void set_end(::google::protobuf::int32 value); | 528 inline void set_end(::google::protobuf::int32 value); |
593 | 529 |
594 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.Extens
ionRange) | 530 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.Extens
ionRange) |
595 private: | 531 private: |
596 inline void set_has_start(); | 532 inline void set_has_start(); |
597 inline void clear_has_start(); | 533 inline void clear_has_start(); |
598 inline void set_has_end(); | 534 inline void set_has_end(); |
599 inline void clear_has_end(); | 535 inline void clear_has_end(); |
600 | 536 |
601 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 537 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
602 ::google::protobuf::uint32 _has_bits_[1]; | 538 |
603 mutable int _cached_size_; | |
604 ::google::protobuf::int32 start_; | 539 ::google::protobuf::int32 start_; |
605 ::google::protobuf::int32 end_; | 540 ::google::protobuf::int32 end_; |
| 541 |
| 542 mutable int _cached_size_; |
| 543 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; |
| 544 |
606 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 545 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
607 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 546 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
608 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 547 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
609 | 548 |
610 void InitAsDefaultInstance(); | 549 void InitAsDefaultInstance(); |
611 static DescriptorProto_ExtensionRange* default_instance_; | 550 static DescriptorProto_ExtensionRange* default_instance_; |
612 }; | 551 }; |
613 // ------------------------------------------------------------------- | 552 // ------------------------------------------------------------------- |
614 | 553 |
615 class LIBPROTOBUF_EXPORT DescriptorProto_ReservedRange : public ::google::protob
uf::Message { | |
616 public: | |
617 DescriptorProto_ReservedRange(); | |
618 virtual ~DescriptorProto_ReservedRange(); | |
619 | |
620 DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from); | |
621 | |
622 inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_Reserved
Range& from) { | |
623 CopyFrom(from); | |
624 return *this; | |
625 } | |
626 | |
627 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | |
628 return _internal_metadata_.unknown_fields(); | |
629 } | |
630 | |
631 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | |
632 return _internal_metadata_.mutable_unknown_fields(); | |
633 } | |
634 | |
635 static const ::google::protobuf::Descriptor* descriptor(); | |
636 static const DescriptorProto_ReservedRange& default_instance(); | |
637 | |
638 void Swap(DescriptorProto_ReservedRange* other); | |
639 | |
640 // implements Message ---------------------------------------------- | |
641 | |
642 inline DescriptorProto_ReservedRange* New() const { return New(NULL); } | |
643 | |
644 DescriptorProto_ReservedRange* New(::google::protobuf::Arena* arena) const; | |
645 void CopyFrom(const ::google::protobuf::Message& from); | |
646 void MergeFrom(const ::google::protobuf::Message& from); | |
647 void CopyFrom(const DescriptorProto_ReservedRange& from); | |
648 void MergeFrom(const DescriptorProto_ReservedRange& from); | |
649 void Clear(); | |
650 bool IsInitialized() const; | |
651 | |
652 int ByteSize() const; | |
653 bool MergePartialFromCodedStream( | |
654 ::google::protobuf::io::CodedInputStream* input); | |
655 void SerializeWithCachedSizes( | |
656 ::google::protobuf::io::CodedOutputStream* output) const; | |
657 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | |
658 int GetCachedSize() const { return _cached_size_; } | |
659 private: | |
660 void SharedCtor(); | |
661 void SharedDtor(); | |
662 void SetCachedSize(int size) const; | |
663 void InternalSwap(DescriptorProto_ReservedRange* other); | |
664 private: | |
665 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
666 return _internal_metadata_.arena(); | |
667 } | |
668 inline void* MaybeArenaPtr() const { | |
669 return _internal_metadata_.raw_arena_ptr(); | |
670 } | |
671 public: | |
672 | |
673 ::google::protobuf::Metadata GetMetadata() const; | |
674 | |
675 // nested types ---------------------------------------------------- | |
676 | |
677 // accessors ------------------------------------------------------- | |
678 | |
679 // optional int32 start = 1; | |
680 bool has_start() const; | |
681 void clear_start(); | |
682 static const int kStartFieldNumber = 1; | |
683 ::google::protobuf::int32 start() const; | |
684 void set_start(::google::protobuf::int32 value); | |
685 | |
686 // optional int32 end = 2; | |
687 bool has_end() const; | |
688 void clear_end(); | |
689 static const int kEndFieldNumber = 2; | |
690 ::google::protobuf::int32 end() const; | |
691 void set_end(::google::protobuf::int32 value); | |
692 | |
693 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.Reserv
edRange) | |
694 private: | |
695 inline void set_has_start(); | |
696 inline void clear_has_start(); | |
697 inline void set_has_end(); | |
698 inline void clear_has_end(); | |
699 | |
700 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | |
701 ::google::protobuf::uint32 _has_bits_[1]; | |
702 mutable int _cached_size_; | |
703 ::google::protobuf::int32 start_; | |
704 ::google::protobuf::int32 end_; | |
705 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | |
706 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | |
707 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | |
708 | |
709 void InitAsDefaultInstance(); | |
710 static DescriptorProto_ReservedRange* default_instance_; | |
711 }; | |
712 // ------------------------------------------------------------------- | |
713 | |
714 class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message { | 554 class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message { |
715 public: | 555 public: |
716 DescriptorProto(); | 556 DescriptorProto(); |
717 virtual ~DescriptorProto(); | 557 virtual ~DescriptorProto(); |
718 | 558 |
719 DescriptorProto(const DescriptorProto& from); | 559 DescriptorProto(const DescriptorProto& from); |
720 | 560 |
721 inline DescriptorProto& operator=(const DescriptorProto& from) { | 561 inline DescriptorProto& operator=(const DescriptorProto& from) { |
722 CopyFrom(from); | 562 CopyFrom(from); |
723 return *this; | 563 return *this; |
724 } | 564 } |
725 | 565 |
726 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 566 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
727 return _internal_metadata_.unknown_fields(); | 567 return _unknown_fields_; |
728 } | 568 } |
729 | 569 |
730 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 570 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
731 return _internal_metadata_.mutable_unknown_fields(); | 571 return &_unknown_fields_; |
732 } | 572 } |
733 | 573 |
734 static const ::google::protobuf::Descriptor* descriptor(); | 574 static const ::google::protobuf::Descriptor* descriptor(); |
735 static const DescriptorProto& default_instance(); | 575 static const DescriptorProto& default_instance(); |
736 | 576 |
737 void Swap(DescriptorProto* other); | 577 void Swap(DescriptorProto* other); |
738 | 578 |
739 // implements Message ---------------------------------------------- | 579 // implements Message ---------------------------------------------- |
740 | 580 |
741 inline DescriptorProto* New() const { return New(NULL); } | 581 DescriptorProto* New() const; |
742 | |
743 DescriptorProto* New(::google::protobuf::Arena* arena) const; | |
744 void CopyFrom(const ::google::protobuf::Message& from); | 582 void CopyFrom(const ::google::protobuf::Message& from); |
745 void MergeFrom(const ::google::protobuf::Message& from); | 583 void MergeFrom(const ::google::protobuf::Message& from); |
746 void CopyFrom(const DescriptorProto& from); | 584 void CopyFrom(const DescriptorProto& from); |
747 void MergeFrom(const DescriptorProto& from); | 585 void MergeFrom(const DescriptorProto& from); |
748 void Clear(); | 586 void Clear(); |
749 bool IsInitialized() const; | 587 bool IsInitialized() const; |
750 | 588 |
751 int ByteSize() const; | 589 int ByteSize() const; |
752 bool MergePartialFromCodedStream( | 590 bool MergePartialFromCodedStream( |
753 ::google::protobuf::io::CodedInputStream* input); | 591 ::google::protobuf::io::CodedInputStream* input); |
754 void SerializeWithCachedSizes( | 592 void SerializeWithCachedSizes( |
755 ::google::protobuf::io::CodedOutputStream* output) const; | 593 ::google::protobuf::io::CodedOutputStream* output) const; |
756 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 594 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
757 int GetCachedSize() const { return _cached_size_; } | 595 int GetCachedSize() const { return _cached_size_; } |
758 private: | 596 private: |
759 void SharedCtor(); | 597 void SharedCtor(); |
760 void SharedDtor(); | 598 void SharedDtor(); |
761 void SetCachedSize(int size) const; | 599 void SetCachedSize(int size) const; |
762 void InternalSwap(DescriptorProto* other); | |
763 private: | |
764 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
765 return _internal_metadata_.arena(); | |
766 } | |
767 inline void* MaybeArenaPtr() const { | |
768 return _internal_metadata_.raw_arena_ptr(); | |
769 } | |
770 public: | 600 public: |
771 | 601 |
772 ::google::protobuf::Metadata GetMetadata() const; | 602 ::google::protobuf::Metadata GetMetadata() const; |
773 | 603 |
774 // nested types ---------------------------------------------------- | 604 // nested types ---------------------------------------------------- |
775 | 605 |
776 typedef DescriptorProto_ExtensionRange ExtensionRange; | 606 typedef DescriptorProto_ExtensionRange ExtensionRange; |
777 typedef DescriptorProto_ReservedRange ReservedRange; | |
778 | 607 |
779 // accessors ------------------------------------------------------- | 608 // accessors ------------------------------------------------------- |
780 | 609 |
781 // optional string name = 1; | 610 // optional string name = 1; |
782 bool has_name() const; | 611 inline bool has_name() const; |
783 void clear_name(); | 612 inline void clear_name(); |
784 static const int kNameFieldNumber = 1; | 613 static const int kNameFieldNumber = 1; |
785 const ::std::string& name() const; | 614 inline const ::std::string& name() const; |
786 void set_name(const ::std::string& value); | 615 inline void set_name(const ::std::string& value); |
787 void set_name(const char* value); | 616 inline void set_name(const char* value); |
788 void set_name(const char* value, size_t size); | 617 inline void set_name(const char* value, size_t size); |
789 ::std::string* mutable_name(); | 618 inline ::std::string* mutable_name(); |
790 ::std::string* release_name(); | 619 inline ::std::string* release_name(); |
791 void set_allocated_name(::std::string* name); | 620 inline void set_allocated_name(::std::string* name); |
792 | 621 |
793 // repeated .google.protobuf.FieldDescriptorProto field = 2; | 622 // repeated .google.protobuf.FieldDescriptorProto field = 2; |
794 int field_size() const; | 623 inline int field_size() const; |
795 void clear_field(); | 624 inline void clear_field(); |
796 static const int kFieldFieldNumber = 2; | 625 static const int kFieldFieldNumber = 2; |
797 const ::google::protobuf::FieldDescriptorProto& field(int index) const; | 626 inline const ::google::protobuf::FieldDescriptorProto& field(int index) const; |
798 ::google::protobuf::FieldDescriptorProto* mutable_field(int index); | 627 inline ::google::protobuf::FieldDescriptorProto* mutable_field(int index); |
799 ::google::protobuf::FieldDescriptorProto* add_field(); | 628 inline ::google::protobuf::FieldDescriptorProto* add_field(); |
800 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescripto
rProto >& | 629 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDe
scriptorProto >& |
801 field() const; | 630 field() const; |
802 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
>* | 631 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescript
orProto >* |
803 mutable_field(); | 632 mutable_field(); |
804 | 633 |
805 // repeated .google.protobuf.FieldDescriptorProto extension = 6; | 634 // repeated .google.protobuf.FieldDescriptorProto extension = 6; |
806 int extension_size() const; | 635 inline int extension_size() const; |
807 void clear_extension(); | 636 inline void clear_extension(); |
808 static const int kExtensionFieldNumber = 6; | 637 static const int kExtensionFieldNumber = 6; |
809 const ::google::protobuf::FieldDescriptorProto& extension(int index) const; | 638 inline const ::google::protobuf::FieldDescriptorProto& extension(int index) co
nst; |
810 ::google::protobuf::FieldDescriptorProto* mutable_extension(int index); | 639 inline ::google::protobuf::FieldDescriptorProto* mutable_extension(int index); |
811 ::google::protobuf::FieldDescriptorProto* add_extension(); | 640 inline ::google::protobuf::FieldDescriptorProto* add_extension(); |
812 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescripto
rProto >& | 641 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDe
scriptorProto >& |
813 extension() const; | 642 extension() const; |
814 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
>* | 643 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescript
orProto >* |
815 mutable_extension(); | 644 mutable_extension(); |
816 | 645 |
817 // repeated .google.protobuf.DescriptorProto nested_type = 3; | 646 // repeated .google.protobuf.DescriptorProto nested_type = 3; |
818 int nested_type_size() const; | 647 inline int nested_type_size() const; |
819 void clear_nested_type(); | 648 inline void clear_nested_type(); |
820 static const int kNestedTypeFieldNumber = 3; | 649 static const int kNestedTypeFieldNumber = 3; |
821 const ::google::protobuf::DescriptorProto& nested_type(int index) const; | 650 inline const ::google::protobuf::DescriptorProto& nested_type(int index) const
; |
822 ::google::protobuf::DescriptorProto* mutable_nested_type(int index); | 651 inline ::google::protobuf::DescriptorProto* mutable_nested_type(int index); |
823 ::google::protobuf::DescriptorProto* add_nested_type(); | 652 inline ::google::protobuf::DescriptorProto* add_nested_type(); |
824 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProt
o >& | 653 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Descrip
torProto >& |
825 nested_type() const; | 654 nested_type() const; |
826 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >* | 655 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorPro
to >* |
827 mutable_nested_type(); | 656 mutable_nested_type(); |
828 | 657 |
829 // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; | 658 // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
830 int enum_type_size() const; | 659 inline int enum_type_size() const; |
831 void clear_enum_type(); | 660 inline void clear_enum_type(); |
832 static const int kEnumTypeFieldNumber = 4; | 661 static const int kEnumTypeFieldNumber = 4; |
833 const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const; | 662 inline const ::google::protobuf::EnumDescriptorProto& enum_type(int index) con
st; |
834 ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index); | 663 inline ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index); |
835 ::google::protobuf::EnumDescriptorProto* add_enum_type(); | 664 inline ::google::protobuf::EnumDescriptorProto* add_enum_type(); |
836 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptor
Proto >& | 665 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDes
criptorProto >& |
837 enum_type() const; | 666 enum_type() const; |
838 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto
>* | 667 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescripto
rProto >* |
839 mutable_enum_type(); | 668 mutable_enum_type(); |
840 | 669 |
841 // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range =
5; | 670 // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range =
5; |
842 int extension_range_size() const; | 671 inline int extension_range_size() const; |
843 void clear_extension_range(); | 672 inline void clear_extension_range(); |
844 static const int kExtensionRangeFieldNumber = 5; | 673 static const int kExtensionRangeFieldNumber = 5; |
845 const ::google::protobuf::DescriptorProto_ExtensionRange& extension_range(int
index) const; | 674 inline const ::google::protobuf::DescriptorProto_ExtensionRange& extension_ran
ge(int index) const; |
846 ::google::protobuf::DescriptorProto_ExtensionRange* mutable_extension_range(in
t index); | 675 inline ::google::protobuf::DescriptorProto_ExtensionRange* mutable_extension_r
ange(int index); |
847 ::google::protobuf::DescriptorProto_ExtensionRange* add_extension_range(); | 676 inline ::google::protobuf::DescriptorProto_ExtensionRange* add_extension_range
(); |
848 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProt
o_ExtensionRange >& | 677 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Descrip
torProto_ExtensionRange >& |
849 extension_range() const; | 678 extension_range() const; |
850 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Exte
nsionRange >* | 679 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorPro
to_ExtensionRange >* |
851 mutable_extension_range(); | 680 mutable_extension_range(); |
852 | 681 |
853 // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; | |
854 int oneof_decl_size() const; | |
855 void clear_oneof_decl(); | |
856 static const int kOneofDeclFieldNumber = 8; | |
857 const ::google::protobuf::OneofDescriptorProto& oneof_decl(int index) const; | |
858 ::google::protobuf::OneofDescriptorProto* mutable_oneof_decl(int index); | |
859 ::google::protobuf::OneofDescriptorProto* add_oneof_decl(); | |
860 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescripto
rProto >& | |
861 oneof_decl() const; | |
862 ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto
>* | |
863 mutable_oneof_decl(); | |
864 | |
865 // optional .google.protobuf.MessageOptions options = 7; | 682 // optional .google.protobuf.MessageOptions options = 7; |
866 bool has_options() const; | 683 inline bool has_options() const; |
867 void clear_options(); | 684 inline void clear_options(); |
868 static const int kOptionsFieldNumber = 7; | 685 static const int kOptionsFieldNumber = 7; |
869 const ::google::protobuf::MessageOptions& options() const; | 686 inline const ::google::protobuf::MessageOptions& options() const; |
870 ::google::protobuf::MessageOptions* mutable_options(); | 687 inline ::google::protobuf::MessageOptions* mutable_options(); |
871 ::google::protobuf::MessageOptions* release_options(); | 688 inline ::google::protobuf::MessageOptions* release_options(); |
872 void set_allocated_options(::google::protobuf::MessageOptions* options); | 689 inline void set_allocated_options(::google::protobuf::MessageOptions* options)
; |
873 | |
874 // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; | |
875 int reserved_range_size() const; | |
876 void clear_reserved_range(); | |
877 static const int kReservedRangeFieldNumber = 9; | |
878 const ::google::protobuf::DescriptorProto_ReservedRange& reserved_range(int in
dex) const; | |
879 ::google::protobuf::DescriptorProto_ReservedRange* mutable_reserved_range(int
index); | |
880 ::google::protobuf::DescriptorProto_ReservedRange* add_reserved_range(); | |
881 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProt
o_ReservedRange >& | |
882 reserved_range() const; | |
883 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Rese
rvedRange >* | |
884 mutable_reserved_range(); | |
885 | |
886 // repeated string reserved_name = 10; | |
887 int reserved_name_size() const; | |
888 void clear_reserved_name(); | |
889 static const int kReservedNameFieldNumber = 10; | |
890 const ::std::string& reserved_name(int index) const; | |
891 ::std::string* mutable_reserved_name(int index); | |
892 void set_reserved_name(int index, const ::std::string& value); | |
893 void set_reserved_name(int index, const char* value); | |
894 void set_reserved_name(int index, const char* value, size_t size); | |
895 ::std::string* add_reserved_name(); | |
896 void add_reserved_name(const ::std::string& value); | |
897 void add_reserved_name(const char* value); | |
898 void add_reserved_name(const char* value, size_t size); | |
899 const ::google::protobuf::RepeatedPtrField< ::std::string>& reserved_name() co
nst; | |
900 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_reserved_name(); | |
901 | 690 |
902 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto) | 691 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto) |
903 private: | 692 private: |
904 inline void set_has_name(); | 693 inline void set_has_name(); |
905 inline void clear_has_name(); | 694 inline void clear_has_name(); |
906 inline void set_has_options(); | 695 inline void set_has_options(); |
907 inline void clear_has_options(); | 696 inline void clear_has_options(); |
908 | 697 |
909 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 698 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
910 ::google::protobuf::uint32 _has_bits_[1]; | 699 |
911 mutable int _cached_size_; | 700 ::std::string* name_; |
912 ::google::protobuf::internal::ArenaStringPtr name_; | |
913 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
> field_; | 701 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
> field_; |
914 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
> extension_; | 702 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
> extension_; |
915 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > ne
sted_type_; | 703 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > ne
sted_type_; |
916 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto
> enum_type_; | 704 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto
> enum_type_; |
917 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Exte
nsionRange > extension_range_; | 705 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Exte
nsionRange > extension_range_; |
918 ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto
> oneof_decl_; | |
919 ::google::protobuf::MessageOptions* options_; | 706 ::google::protobuf::MessageOptions* options_; |
920 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Rese
rvedRange > reserved_range_; | 707 |
921 ::google::protobuf::RepeatedPtrField< ::std::string> reserved_name_; | 708 mutable int _cached_size_; |
| 709 ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32]; |
| 710 |
922 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 711 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
923 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 712 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
924 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 713 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
925 | 714 |
926 void InitAsDefaultInstance(); | 715 void InitAsDefaultInstance(); |
927 static DescriptorProto* default_instance_; | 716 static DescriptorProto* default_instance_; |
928 }; | 717 }; |
929 // ------------------------------------------------------------------- | 718 // ------------------------------------------------------------------- |
930 | 719 |
931 class LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Messa
ge { | 720 class LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Messa
ge { |
932 public: | 721 public: |
933 FieldDescriptorProto(); | 722 FieldDescriptorProto(); |
934 virtual ~FieldDescriptorProto(); | 723 virtual ~FieldDescriptorProto(); |
935 | 724 |
936 FieldDescriptorProto(const FieldDescriptorProto& from); | 725 FieldDescriptorProto(const FieldDescriptorProto& from); |
937 | 726 |
938 inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) { | 727 inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) { |
939 CopyFrom(from); | 728 CopyFrom(from); |
940 return *this; | 729 return *this; |
941 } | 730 } |
942 | 731 |
943 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 732 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
944 return _internal_metadata_.unknown_fields(); | 733 return _unknown_fields_; |
945 } | 734 } |
946 | 735 |
947 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 736 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
948 return _internal_metadata_.mutable_unknown_fields(); | 737 return &_unknown_fields_; |
949 } | 738 } |
950 | 739 |
951 static const ::google::protobuf::Descriptor* descriptor(); | 740 static const ::google::protobuf::Descriptor* descriptor(); |
952 static const FieldDescriptorProto& default_instance(); | 741 static const FieldDescriptorProto& default_instance(); |
953 | 742 |
954 void Swap(FieldDescriptorProto* other); | 743 void Swap(FieldDescriptorProto* other); |
955 | 744 |
956 // implements Message ---------------------------------------------- | 745 // implements Message ---------------------------------------------- |
957 | 746 |
958 inline FieldDescriptorProto* New() const { return New(NULL); } | 747 FieldDescriptorProto* New() const; |
959 | |
960 FieldDescriptorProto* New(::google::protobuf::Arena* arena) const; | |
961 void CopyFrom(const ::google::protobuf::Message& from); | 748 void CopyFrom(const ::google::protobuf::Message& from); |
962 void MergeFrom(const ::google::protobuf::Message& from); | 749 void MergeFrom(const ::google::protobuf::Message& from); |
963 void CopyFrom(const FieldDescriptorProto& from); | 750 void CopyFrom(const FieldDescriptorProto& from); |
964 void MergeFrom(const FieldDescriptorProto& from); | 751 void MergeFrom(const FieldDescriptorProto& from); |
965 void Clear(); | 752 void Clear(); |
966 bool IsInitialized() const; | 753 bool IsInitialized() const; |
967 | 754 |
968 int ByteSize() const; | 755 int ByteSize() const; |
969 bool MergePartialFromCodedStream( | 756 bool MergePartialFromCodedStream( |
970 ::google::protobuf::io::CodedInputStream* input); | 757 ::google::protobuf::io::CodedInputStream* input); |
971 void SerializeWithCachedSizes( | 758 void SerializeWithCachedSizes( |
972 ::google::protobuf::io::CodedOutputStream* output) const; | 759 ::google::protobuf::io::CodedOutputStream* output) const; |
973 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 760 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
974 int GetCachedSize() const { return _cached_size_; } | 761 int GetCachedSize() const { return _cached_size_; } |
975 private: | 762 private: |
976 void SharedCtor(); | 763 void SharedCtor(); |
977 void SharedDtor(); | 764 void SharedDtor(); |
978 void SetCachedSize(int size) const; | 765 void SetCachedSize(int size) const; |
979 void InternalSwap(FieldDescriptorProto* other); | |
980 private: | |
981 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
982 return _internal_metadata_.arena(); | |
983 } | |
984 inline void* MaybeArenaPtr() const { | |
985 return _internal_metadata_.raw_arena_ptr(); | |
986 } | |
987 public: | 766 public: |
988 | 767 |
989 ::google::protobuf::Metadata GetMetadata() const; | 768 ::google::protobuf::Metadata GetMetadata() const; |
990 | 769 |
991 // nested types ---------------------------------------------------- | 770 // nested types ---------------------------------------------------- |
992 | 771 |
993 typedef FieldDescriptorProto_Type Type; | 772 typedef FieldDescriptorProto_Type Type; |
994 static const Type TYPE_DOUBLE = FieldDescriptorProto_Type_TYPE_DOUBLE; | 773 static const Type TYPE_DOUBLE = FieldDescriptorProto_Type_TYPE_DOUBLE; |
995 static const Type TYPE_FLOAT = FieldDescriptorProto_Type_TYPE_FLOAT; | 774 static const Type TYPE_FLOAT = FieldDescriptorProto_Type_TYPE_FLOAT; |
996 static const Type TYPE_INT64 = FieldDescriptorProto_Type_TYPE_INT64; | 775 static const Type TYPE_INT64 = FieldDescriptorProto_Type_TYPE_INT64; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1051 return FieldDescriptorProto_Label_Name(value); | 830 return FieldDescriptorProto_Label_Name(value); |
1052 } | 831 } |
1053 static inline bool Label_Parse(const ::std::string& name, | 832 static inline bool Label_Parse(const ::std::string& name, |
1054 Label* value) { | 833 Label* value) { |
1055 return FieldDescriptorProto_Label_Parse(name, value); | 834 return FieldDescriptorProto_Label_Parse(name, value); |
1056 } | 835 } |
1057 | 836 |
1058 // accessors ------------------------------------------------------- | 837 // accessors ------------------------------------------------------- |
1059 | 838 |
1060 // optional string name = 1; | 839 // optional string name = 1; |
1061 bool has_name() const; | 840 inline bool has_name() const; |
1062 void clear_name(); | 841 inline void clear_name(); |
1063 static const int kNameFieldNumber = 1; | 842 static const int kNameFieldNumber = 1; |
1064 const ::std::string& name() const; | 843 inline const ::std::string& name() const; |
1065 void set_name(const ::std::string& value); | 844 inline void set_name(const ::std::string& value); |
1066 void set_name(const char* value); | 845 inline void set_name(const char* value); |
1067 void set_name(const char* value, size_t size); | 846 inline void set_name(const char* value, size_t size); |
1068 ::std::string* mutable_name(); | 847 inline ::std::string* mutable_name(); |
1069 ::std::string* release_name(); | 848 inline ::std::string* release_name(); |
1070 void set_allocated_name(::std::string* name); | 849 inline void set_allocated_name(::std::string* name); |
1071 | 850 |
1072 // optional int32 number = 3; | 851 // optional int32 number = 3; |
1073 bool has_number() const; | 852 inline bool has_number() const; |
1074 void clear_number(); | 853 inline void clear_number(); |
1075 static const int kNumberFieldNumber = 3; | 854 static const int kNumberFieldNumber = 3; |
1076 ::google::protobuf::int32 number() const; | 855 inline ::google::protobuf::int32 number() const; |
1077 void set_number(::google::protobuf::int32 value); | 856 inline void set_number(::google::protobuf::int32 value); |
1078 | 857 |
1079 // optional .google.protobuf.FieldDescriptorProto.Label label = 4; | 858 // optional .google.protobuf.FieldDescriptorProto.Label label = 4; |
1080 bool has_label() const; | 859 inline bool has_label() const; |
1081 void clear_label(); | 860 inline void clear_label(); |
1082 static const int kLabelFieldNumber = 4; | 861 static const int kLabelFieldNumber = 4; |
1083 ::google::protobuf::FieldDescriptorProto_Label label() const; | 862 inline ::google::protobuf::FieldDescriptorProto_Label label() const; |
1084 void set_label(::google::protobuf::FieldDescriptorProto_Label value); | 863 inline void set_label(::google::protobuf::FieldDescriptorProto_Label value); |
1085 | 864 |
1086 // optional .google.protobuf.FieldDescriptorProto.Type type = 5; | 865 // optional .google.protobuf.FieldDescriptorProto.Type type = 5; |
1087 bool has_type() const; | 866 inline bool has_type() const; |
1088 void clear_type(); | 867 inline void clear_type(); |
1089 static const int kTypeFieldNumber = 5; | 868 static const int kTypeFieldNumber = 5; |
1090 ::google::protobuf::FieldDescriptorProto_Type type() const; | 869 inline ::google::protobuf::FieldDescriptorProto_Type type() const; |
1091 void set_type(::google::protobuf::FieldDescriptorProto_Type value); | 870 inline void set_type(::google::protobuf::FieldDescriptorProto_Type value); |
1092 | 871 |
1093 // optional string type_name = 6; | 872 // optional string type_name = 6; |
1094 bool has_type_name() const; | 873 inline bool has_type_name() const; |
1095 void clear_type_name(); | 874 inline void clear_type_name(); |
1096 static const int kTypeNameFieldNumber = 6; | 875 static const int kTypeNameFieldNumber = 6; |
1097 const ::std::string& type_name() const; | 876 inline const ::std::string& type_name() const; |
1098 void set_type_name(const ::std::string& value); | 877 inline void set_type_name(const ::std::string& value); |
1099 void set_type_name(const char* value); | 878 inline void set_type_name(const char* value); |
1100 void set_type_name(const char* value, size_t size); | 879 inline void set_type_name(const char* value, size_t size); |
1101 ::std::string* mutable_type_name(); | 880 inline ::std::string* mutable_type_name(); |
1102 ::std::string* release_type_name(); | 881 inline ::std::string* release_type_name(); |
1103 void set_allocated_type_name(::std::string* type_name); | 882 inline void set_allocated_type_name(::std::string* type_name); |
1104 | 883 |
1105 // optional string extendee = 2; | 884 // optional string extendee = 2; |
1106 bool has_extendee() const; | 885 inline bool has_extendee() const; |
1107 void clear_extendee(); | 886 inline void clear_extendee(); |
1108 static const int kExtendeeFieldNumber = 2; | 887 static const int kExtendeeFieldNumber = 2; |
1109 const ::std::string& extendee() const; | 888 inline const ::std::string& extendee() const; |
1110 void set_extendee(const ::std::string& value); | 889 inline void set_extendee(const ::std::string& value); |
1111 void set_extendee(const char* value); | 890 inline void set_extendee(const char* value); |
1112 void set_extendee(const char* value, size_t size); | 891 inline void set_extendee(const char* value, size_t size); |
1113 ::std::string* mutable_extendee(); | 892 inline ::std::string* mutable_extendee(); |
1114 ::std::string* release_extendee(); | 893 inline ::std::string* release_extendee(); |
1115 void set_allocated_extendee(::std::string* extendee); | 894 inline void set_allocated_extendee(::std::string* extendee); |
1116 | 895 |
1117 // optional string default_value = 7; | 896 // optional string default_value = 7; |
1118 bool has_default_value() const; | 897 inline bool has_default_value() const; |
1119 void clear_default_value(); | 898 inline void clear_default_value(); |
1120 static const int kDefaultValueFieldNumber = 7; | 899 static const int kDefaultValueFieldNumber = 7; |
1121 const ::std::string& default_value() const; | 900 inline const ::std::string& default_value() const; |
1122 void set_default_value(const ::std::string& value); | 901 inline void set_default_value(const ::std::string& value); |
1123 void set_default_value(const char* value); | 902 inline void set_default_value(const char* value); |
1124 void set_default_value(const char* value, size_t size); | 903 inline void set_default_value(const char* value, size_t size); |
1125 ::std::string* mutable_default_value(); | 904 inline ::std::string* mutable_default_value(); |
1126 ::std::string* release_default_value(); | 905 inline ::std::string* release_default_value(); |
1127 void set_allocated_default_value(::std::string* default_value); | 906 inline void set_allocated_default_value(::std::string* default_value); |
1128 | |
1129 // optional int32 oneof_index = 9; | |
1130 bool has_oneof_index() const; | |
1131 void clear_oneof_index(); | |
1132 static const int kOneofIndexFieldNumber = 9; | |
1133 ::google::protobuf::int32 oneof_index() const; | |
1134 void set_oneof_index(::google::protobuf::int32 value); | |
1135 | 907 |
1136 // optional .google.protobuf.FieldOptions options = 8; | 908 // optional .google.protobuf.FieldOptions options = 8; |
1137 bool has_options() const; | 909 inline bool has_options() const; |
1138 void clear_options(); | 910 inline void clear_options(); |
1139 static const int kOptionsFieldNumber = 8; | 911 static const int kOptionsFieldNumber = 8; |
1140 const ::google::protobuf::FieldOptions& options() const; | 912 inline const ::google::protobuf::FieldOptions& options() const; |
1141 ::google::protobuf::FieldOptions* mutable_options(); | 913 inline ::google::protobuf::FieldOptions* mutable_options(); |
1142 ::google::protobuf::FieldOptions* release_options(); | 914 inline ::google::protobuf::FieldOptions* release_options(); |
1143 void set_allocated_options(::google::protobuf::FieldOptions* options); | 915 inline void set_allocated_options(::google::protobuf::FieldOptions* options); |
1144 | 916 |
1145 // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto) | 917 // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto) |
1146 private: | 918 private: |
1147 inline void set_has_name(); | 919 inline void set_has_name(); |
1148 inline void clear_has_name(); | 920 inline void clear_has_name(); |
1149 inline void set_has_number(); | 921 inline void set_has_number(); |
1150 inline void clear_has_number(); | 922 inline void clear_has_number(); |
1151 inline void set_has_label(); | 923 inline void set_has_label(); |
1152 inline void clear_has_label(); | 924 inline void clear_has_label(); |
1153 inline void set_has_type(); | 925 inline void set_has_type(); |
1154 inline void clear_has_type(); | 926 inline void clear_has_type(); |
1155 inline void set_has_type_name(); | 927 inline void set_has_type_name(); |
1156 inline void clear_has_type_name(); | 928 inline void clear_has_type_name(); |
1157 inline void set_has_extendee(); | 929 inline void set_has_extendee(); |
1158 inline void clear_has_extendee(); | 930 inline void clear_has_extendee(); |
1159 inline void set_has_default_value(); | 931 inline void set_has_default_value(); |
1160 inline void clear_has_default_value(); | 932 inline void clear_has_default_value(); |
1161 inline void set_has_oneof_index(); | |
1162 inline void clear_has_oneof_index(); | |
1163 inline void set_has_options(); | 933 inline void set_has_options(); |
1164 inline void clear_has_options(); | 934 inline void clear_has_options(); |
1165 | 935 |
1166 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 936 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
1167 ::google::protobuf::uint32 _has_bits_[1]; | 937 |
1168 mutable int _cached_size_; | 938 ::std::string* name_; |
1169 ::google::protobuf::internal::ArenaStringPtr name_; | |
1170 ::google::protobuf::int32 number_; | 939 ::google::protobuf::int32 number_; |
1171 int label_; | 940 int label_; |
1172 ::google::protobuf::internal::ArenaStringPtr type_name_; | 941 ::std::string* type_name_; |
1173 ::google::protobuf::internal::ArenaStringPtr extendee_; | 942 ::std::string* extendee_; |
| 943 ::std::string* default_value_; |
| 944 ::google::protobuf::FieldOptions* options_; |
1174 int type_; | 945 int type_; |
1175 ::google::protobuf::int32 oneof_index_; | 946 |
1176 ::google::protobuf::internal::ArenaStringPtr default_value_; | 947 mutable int _cached_size_; |
1177 ::google::protobuf::FieldOptions* options_; | 948 ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32]; |
| 949 |
1178 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 950 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
1179 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 951 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
1180 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 952 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
1181 | 953 |
1182 void InitAsDefaultInstance(); | 954 void InitAsDefaultInstance(); |
1183 static FieldDescriptorProto* default_instance_; | 955 static FieldDescriptorProto* default_instance_; |
1184 }; | 956 }; |
1185 // ------------------------------------------------------------------- | 957 // ------------------------------------------------------------------- |
1186 | 958 |
1187 class LIBPROTOBUF_EXPORT OneofDescriptorProto : public ::google::protobuf::Messa
ge { | |
1188 public: | |
1189 OneofDescriptorProto(); | |
1190 virtual ~OneofDescriptorProto(); | |
1191 | |
1192 OneofDescriptorProto(const OneofDescriptorProto& from); | |
1193 | |
1194 inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) { | |
1195 CopyFrom(from); | |
1196 return *this; | |
1197 } | |
1198 | |
1199 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | |
1200 return _internal_metadata_.unknown_fields(); | |
1201 } | |
1202 | |
1203 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | |
1204 return _internal_metadata_.mutable_unknown_fields(); | |
1205 } | |
1206 | |
1207 static const ::google::protobuf::Descriptor* descriptor(); | |
1208 static const OneofDescriptorProto& default_instance(); | |
1209 | |
1210 void Swap(OneofDescriptorProto* other); | |
1211 | |
1212 // implements Message ---------------------------------------------- | |
1213 | |
1214 inline OneofDescriptorProto* New() const { return New(NULL); } | |
1215 | |
1216 OneofDescriptorProto* New(::google::protobuf::Arena* arena) const; | |
1217 void CopyFrom(const ::google::protobuf::Message& from); | |
1218 void MergeFrom(const ::google::protobuf::Message& from); | |
1219 void CopyFrom(const OneofDescriptorProto& from); | |
1220 void MergeFrom(const OneofDescriptorProto& from); | |
1221 void Clear(); | |
1222 bool IsInitialized() const; | |
1223 | |
1224 int ByteSize() const; | |
1225 bool MergePartialFromCodedStream( | |
1226 ::google::protobuf::io::CodedInputStream* input); | |
1227 void SerializeWithCachedSizes( | |
1228 ::google::protobuf::io::CodedOutputStream* output) const; | |
1229 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | |
1230 int GetCachedSize() const { return _cached_size_; } | |
1231 private: | |
1232 void SharedCtor(); | |
1233 void SharedDtor(); | |
1234 void SetCachedSize(int size) const; | |
1235 void InternalSwap(OneofDescriptorProto* other); | |
1236 private: | |
1237 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
1238 return _internal_metadata_.arena(); | |
1239 } | |
1240 inline void* MaybeArenaPtr() const { | |
1241 return _internal_metadata_.raw_arena_ptr(); | |
1242 } | |
1243 public: | |
1244 | |
1245 ::google::protobuf::Metadata GetMetadata() const; | |
1246 | |
1247 // nested types ---------------------------------------------------- | |
1248 | |
1249 // accessors ------------------------------------------------------- | |
1250 | |
1251 // optional string name = 1; | |
1252 bool has_name() const; | |
1253 void clear_name(); | |
1254 static const int kNameFieldNumber = 1; | |
1255 const ::std::string& name() const; | |
1256 void set_name(const ::std::string& value); | |
1257 void set_name(const char* value); | |
1258 void set_name(const char* value, size_t size); | |
1259 ::std::string* mutable_name(); | |
1260 ::std::string* release_name(); | |
1261 void set_allocated_name(::std::string* name); | |
1262 | |
1263 // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto) | |
1264 private: | |
1265 inline void set_has_name(); | |
1266 inline void clear_has_name(); | |
1267 | |
1268 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | |
1269 ::google::protobuf::uint32 _has_bits_[1]; | |
1270 mutable int _cached_size_; | |
1271 ::google::protobuf::internal::ArenaStringPtr name_; | |
1272 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | |
1273 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | |
1274 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | |
1275 | |
1276 void InitAsDefaultInstance(); | |
1277 static OneofDescriptorProto* default_instance_; | |
1278 }; | |
1279 // ------------------------------------------------------------------- | |
1280 | |
1281 class LIBPROTOBUF_EXPORT EnumDescriptorProto : public ::google::protobuf::Messag
e { | 959 class LIBPROTOBUF_EXPORT EnumDescriptorProto : public ::google::protobuf::Messag
e { |
1282 public: | 960 public: |
1283 EnumDescriptorProto(); | 961 EnumDescriptorProto(); |
1284 virtual ~EnumDescriptorProto(); | 962 virtual ~EnumDescriptorProto(); |
1285 | 963 |
1286 EnumDescriptorProto(const EnumDescriptorProto& from); | 964 EnumDescriptorProto(const EnumDescriptorProto& from); |
1287 | 965 |
1288 inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) { | 966 inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) { |
1289 CopyFrom(from); | 967 CopyFrom(from); |
1290 return *this; | 968 return *this; |
1291 } | 969 } |
1292 | 970 |
1293 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 971 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1294 return _internal_metadata_.unknown_fields(); | 972 return _unknown_fields_; |
1295 } | 973 } |
1296 | 974 |
1297 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 975 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1298 return _internal_metadata_.mutable_unknown_fields(); | 976 return &_unknown_fields_; |
1299 } | 977 } |
1300 | 978 |
1301 static const ::google::protobuf::Descriptor* descriptor(); | 979 static const ::google::protobuf::Descriptor* descriptor(); |
1302 static const EnumDescriptorProto& default_instance(); | 980 static const EnumDescriptorProto& default_instance(); |
1303 | 981 |
1304 void Swap(EnumDescriptorProto* other); | 982 void Swap(EnumDescriptorProto* other); |
1305 | 983 |
1306 // implements Message ---------------------------------------------- | 984 // implements Message ---------------------------------------------- |
1307 | 985 |
1308 inline EnumDescriptorProto* New() const { return New(NULL); } | 986 EnumDescriptorProto* New() const; |
1309 | |
1310 EnumDescriptorProto* New(::google::protobuf::Arena* arena) const; | |
1311 void CopyFrom(const ::google::protobuf::Message& from); | 987 void CopyFrom(const ::google::protobuf::Message& from); |
1312 void MergeFrom(const ::google::protobuf::Message& from); | 988 void MergeFrom(const ::google::protobuf::Message& from); |
1313 void CopyFrom(const EnumDescriptorProto& from); | 989 void CopyFrom(const EnumDescriptorProto& from); |
1314 void MergeFrom(const EnumDescriptorProto& from); | 990 void MergeFrom(const EnumDescriptorProto& from); |
1315 void Clear(); | 991 void Clear(); |
1316 bool IsInitialized() const; | 992 bool IsInitialized() const; |
1317 | 993 |
1318 int ByteSize() const; | 994 int ByteSize() const; |
1319 bool MergePartialFromCodedStream( | 995 bool MergePartialFromCodedStream( |
1320 ::google::protobuf::io::CodedInputStream* input); | 996 ::google::protobuf::io::CodedInputStream* input); |
1321 void SerializeWithCachedSizes( | 997 void SerializeWithCachedSizes( |
1322 ::google::protobuf::io::CodedOutputStream* output) const; | 998 ::google::protobuf::io::CodedOutputStream* output) const; |
1323 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 999 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
1324 int GetCachedSize() const { return _cached_size_; } | 1000 int GetCachedSize() const { return _cached_size_; } |
1325 private: | 1001 private: |
1326 void SharedCtor(); | 1002 void SharedCtor(); |
1327 void SharedDtor(); | 1003 void SharedDtor(); |
1328 void SetCachedSize(int size) const; | 1004 void SetCachedSize(int size) const; |
1329 void InternalSwap(EnumDescriptorProto* other); | |
1330 private: | |
1331 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
1332 return _internal_metadata_.arena(); | |
1333 } | |
1334 inline void* MaybeArenaPtr() const { | |
1335 return _internal_metadata_.raw_arena_ptr(); | |
1336 } | |
1337 public: | 1005 public: |
1338 | 1006 |
1339 ::google::protobuf::Metadata GetMetadata() const; | 1007 ::google::protobuf::Metadata GetMetadata() const; |
1340 | 1008 |
1341 // nested types ---------------------------------------------------- | 1009 // nested types ---------------------------------------------------- |
1342 | 1010 |
1343 // accessors ------------------------------------------------------- | 1011 // accessors ------------------------------------------------------- |
1344 | 1012 |
1345 // optional string name = 1; | 1013 // optional string name = 1; |
1346 bool has_name() const; | 1014 inline bool has_name() const; |
1347 void clear_name(); | 1015 inline void clear_name(); |
1348 static const int kNameFieldNumber = 1; | 1016 static const int kNameFieldNumber = 1; |
1349 const ::std::string& name() const; | 1017 inline const ::std::string& name() const; |
1350 void set_name(const ::std::string& value); | 1018 inline void set_name(const ::std::string& value); |
1351 void set_name(const char* value); | 1019 inline void set_name(const char* value); |
1352 void set_name(const char* value, size_t size); | 1020 inline void set_name(const char* value, size_t size); |
1353 ::std::string* mutable_name(); | 1021 inline ::std::string* mutable_name(); |
1354 ::std::string* release_name(); | 1022 inline ::std::string* release_name(); |
1355 void set_allocated_name(::std::string* name); | 1023 inline void set_allocated_name(::std::string* name); |
1356 | 1024 |
1357 // repeated .google.protobuf.EnumValueDescriptorProto value = 2; | 1025 // repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
1358 int value_size() const; | 1026 inline int value_size() const; |
1359 void clear_value(); | 1027 inline void clear_value(); |
1360 static const int kValueFieldNumber = 2; | 1028 static const int kValueFieldNumber = 2; |
1361 const ::google::protobuf::EnumValueDescriptorProto& value(int index) const; | 1029 inline const ::google::protobuf::EnumValueDescriptorProto& value(int index) co
nst; |
1362 ::google::protobuf::EnumValueDescriptorProto* mutable_value(int index); | 1030 inline ::google::protobuf::EnumValueDescriptorProto* mutable_value(int index); |
1363 ::google::protobuf::EnumValueDescriptorProto* add_value(); | 1031 inline ::google::protobuf::EnumValueDescriptorProto* add_value(); |
1364 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescr
iptorProto >& | 1032 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumVal
ueDescriptorProto >& |
1365 value() const; | 1033 value() const; |
1366 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorP
roto >* | 1034 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDesc
riptorProto >* |
1367 mutable_value(); | 1035 mutable_value(); |
1368 | 1036 |
1369 // optional .google.protobuf.EnumOptions options = 3; | 1037 // optional .google.protobuf.EnumOptions options = 3; |
1370 bool has_options() const; | 1038 inline bool has_options() const; |
1371 void clear_options(); | 1039 inline void clear_options(); |
1372 static const int kOptionsFieldNumber = 3; | 1040 static const int kOptionsFieldNumber = 3; |
1373 const ::google::protobuf::EnumOptions& options() const; | 1041 inline const ::google::protobuf::EnumOptions& options() const; |
1374 ::google::protobuf::EnumOptions* mutable_options(); | 1042 inline ::google::protobuf::EnumOptions* mutable_options(); |
1375 ::google::protobuf::EnumOptions* release_options(); | 1043 inline ::google::protobuf::EnumOptions* release_options(); |
1376 void set_allocated_options(::google::protobuf::EnumOptions* options); | 1044 inline void set_allocated_options(::google::protobuf::EnumOptions* options); |
1377 | 1045 |
1378 // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto) | 1046 // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto) |
1379 private: | 1047 private: |
1380 inline void set_has_name(); | 1048 inline void set_has_name(); |
1381 inline void clear_has_name(); | 1049 inline void clear_has_name(); |
1382 inline void set_has_options(); | 1050 inline void set_has_options(); |
1383 inline void clear_has_options(); | 1051 inline void clear_has_options(); |
1384 | 1052 |
1385 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 1053 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
1386 ::google::protobuf::uint32 _has_bits_[1]; | 1054 |
1387 mutable int _cached_size_; | 1055 ::std::string* name_; |
1388 ::google::protobuf::internal::ArenaStringPtr name_; | |
1389 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorP
roto > value_; | 1056 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorP
roto > value_; |
1390 ::google::protobuf::EnumOptions* options_; | 1057 ::google::protobuf::EnumOptions* options_; |
| 1058 |
| 1059 mutable int _cached_size_; |
| 1060 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; |
| 1061 |
1391 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 1062 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
1392 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 1063 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
1393 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 1064 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
1394 | 1065 |
1395 void InitAsDefaultInstance(); | 1066 void InitAsDefaultInstance(); |
1396 static EnumDescriptorProto* default_instance_; | 1067 static EnumDescriptorProto* default_instance_; |
1397 }; | 1068 }; |
1398 // ------------------------------------------------------------------- | 1069 // ------------------------------------------------------------------- |
1399 | 1070 |
1400 class LIBPROTOBUF_EXPORT EnumValueDescriptorProto : public ::google::protobuf::M
essage { | 1071 class LIBPROTOBUF_EXPORT EnumValueDescriptorProto : public ::google::protobuf::M
essage { |
1401 public: | 1072 public: |
1402 EnumValueDescriptorProto(); | 1073 EnumValueDescriptorProto(); |
1403 virtual ~EnumValueDescriptorProto(); | 1074 virtual ~EnumValueDescriptorProto(); |
1404 | 1075 |
1405 EnumValueDescriptorProto(const EnumValueDescriptorProto& from); | 1076 EnumValueDescriptorProto(const EnumValueDescriptorProto& from); |
1406 | 1077 |
1407 inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& fro
m) { | 1078 inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& fro
m) { |
1408 CopyFrom(from); | 1079 CopyFrom(from); |
1409 return *this; | 1080 return *this; |
1410 } | 1081 } |
1411 | 1082 |
1412 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 1083 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1413 return _internal_metadata_.unknown_fields(); | 1084 return _unknown_fields_; |
1414 } | 1085 } |
1415 | 1086 |
1416 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 1087 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1417 return _internal_metadata_.mutable_unknown_fields(); | 1088 return &_unknown_fields_; |
1418 } | 1089 } |
1419 | 1090 |
1420 static const ::google::protobuf::Descriptor* descriptor(); | 1091 static const ::google::protobuf::Descriptor* descriptor(); |
1421 static const EnumValueDescriptorProto& default_instance(); | 1092 static const EnumValueDescriptorProto& default_instance(); |
1422 | 1093 |
1423 void Swap(EnumValueDescriptorProto* other); | 1094 void Swap(EnumValueDescriptorProto* other); |
1424 | 1095 |
1425 // implements Message ---------------------------------------------- | 1096 // implements Message ---------------------------------------------- |
1426 | 1097 |
1427 inline EnumValueDescriptorProto* New() const { return New(NULL); } | 1098 EnumValueDescriptorProto* New() const; |
1428 | |
1429 EnumValueDescriptorProto* New(::google::protobuf::Arena* arena) const; | |
1430 void CopyFrom(const ::google::protobuf::Message& from); | 1099 void CopyFrom(const ::google::protobuf::Message& from); |
1431 void MergeFrom(const ::google::protobuf::Message& from); | 1100 void MergeFrom(const ::google::protobuf::Message& from); |
1432 void CopyFrom(const EnumValueDescriptorProto& from); | 1101 void CopyFrom(const EnumValueDescriptorProto& from); |
1433 void MergeFrom(const EnumValueDescriptorProto& from); | 1102 void MergeFrom(const EnumValueDescriptorProto& from); |
1434 void Clear(); | 1103 void Clear(); |
1435 bool IsInitialized() const; | 1104 bool IsInitialized() const; |
1436 | 1105 |
1437 int ByteSize() const; | 1106 int ByteSize() const; |
1438 bool MergePartialFromCodedStream( | 1107 bool MergePartialFromCodedStream( |
1439 ::google::protobuf::io::CodedInputStream* input); | 1108 ::google::protobuf::io::CodedInputStream* input); |
1440 void SerializeWithCachedSizes( | 1109 void SerializeWithCachedSizes( |
1441 ::google::protobuf::io::CodedOutputStream* output) const; | 1110 ::google::protobuf::io::CodedOutputStream* output) const; |
1442 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 1111 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
1443 int GetCachedSize() const { return _cached_size_; } | 1112 int GetCachedSize() const { return _cached_size_; } |
1444 private: | 1113 private: |
1445 void SharedCtor(); | 1114 void SharedCtor(); |
1446 void SharedDtor(); | 1115 void SharedDtor(); |
1447 void SetCachedSize(int size) const; | 1116 void SetCachedSize(int size) const; |
1448 void InternalSwap(EnumValueDescriptorProto* other); | |
1449 private: | |
1450 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
1451 return _internal_metadata_.arena(); | |
1452 } | |
1453 inline void* MaybeArenaPtr() const { | |
1454 return _internal_metadata_.raw_arena_ptr(); | |
1455 } | |
1456 public: | 1117 public: |
1457 | 1118 |
1458 ::google::protobuf::Metadata GetMetadata() const; | 1119 ::google::protobuf::Metadata GetMetadata() const; |
1459 | 1120 |
1460 // nested types ---------------------------------------------------- | 1121 // nested types ---------------------------------------------------- |
1461 | 1122 |
1462 // accessors ------------------------------------------------------- | 1123 // accessors ------------------------------------------------------- |
1463 | 1124 |
1464 // optional string name = 1; | 1125 // optional string name = 1; |
1465 bool has_name() const; | 1126 inline bool has_name() const; |
1466 void clear_name(); | 1127 inline void clear_name(); |
1467 static const int kNameFieldNumber = 1; | 1128 static const int kNameFieldNumber = 1; |
1468 const ::std::string& name() const; | 1129 inline const ::std::string& name() const; |
1469 void set_name(const ::std::string& value); | 1130 inline void set_name(const ::std::string& value); |
1470 void set_name(const char* value); | 1131 inline void set_name(const char* value); |
1471 void set_name(const char* value, size_t size); | 1132 inline void set_name(const char* value, size_t size); |
1472 ::std::string* mutable_name(); | 1133 inline ::std::string* mutable_name(); |
1473 ::std::string* release_name(); | 1134 inline ::std::string* release_name(); |
1474 void set_allocated_name(::std::string* name); | 1135 inline void set_allocated_name(::std::string* name); |
1475 | 1136 |
1476 // optional int32 number = 2; | 1137 // optional int32 number = 2; |
1477 bool has_number() const; | 1138 inline bool has_number() const; |
1478 void clear_number(); | 1139 inline void clear_number(); |
1479 static const int kNumberFieldNumber = 2; | 1140 static const int kNumberFieldNumber = 2; |
1480 ::google::protobuf::int32 number() const; | 1141 inline ::google::protobuf::int32 number() const; |
1481 void set_number(::google::protobuf::int32 value); | 1142 inline void set_number(::google::protobuf::int32 value); |
1482 | 1143 |
1483 // optional .google.protobuf.EnumValueOptions options = 3; | 1144 // optional .google.protobuf.EnumValueOptions options = 3; |
1484 bool has_options() const; | 1145 inline bool has_options() const; |
1485 void clear_options(); | 1146 inline void clear_options(); |
1486 static const int kOptionsFieldNumber = 3; | 1147 static const int kOptionsFieldNumber = 3; |
1487 const ::google::protobuf::EnumValueOptions& options() const; | 1148 inline const ::google::protobuf::EnumValueOptions& options() const; |
1488 ::google::protobuf::EnumValueOptions* mutable_options(); | 1149 inline ::google::protobuf::EnumValueOptions* mutable_options(); |
1489 ::google::protobuf::EnumValueOptions* release_options(); | 1150 inline ::google::protobuf::EnumValueOptions* release_options(); |
1490 void set_allocated_options(::google::protobuf::EnumValueOptions* options); | 1151 inline void set_allocated_options(::google::protobuf::EnumValueOptions* option
s); |
1491 | 1152 |
1492 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorPro
to) | 1153 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorPro
to) |
1493 private: | 1154 private: |
1494 inline void set_has_name(); | 1155 inline void set_has_name(); |
1495 inline void clear_has_name(); | 1156 inline void clear_has_name(); |
1496 inline void set_has_number(); | 1157 inline void set_has_number(); |
1497 inline void clear_has_number(); | 1158 inline void clear_has_number(); |
1498 inline void set_has_options(); | 1159 inline void set_has_options(); |
1499 inline void clear_has_options(); | 1160 inline void clear_has_options(); |
1500 | 1161 |
1501 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 1162 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
1502 ::google::protobuf::uint32 _has_bits_[1]; | 1163 |
1503 mutable int _cached_size_; | 1164 ::std::string* name_; |
1504 ::google::protobuf::internal::ArenaStringPtr name_; | |
1505 ::google::protobuf::EnumValueOptions* options_; | 1165 ::google::protobuf::EnumValueOptions* options_; |
1506 ::google::protobuf::int32 number_; | 1166 ::google::protobuf::int32 number_; |
| 1167 |
| 1168 mutable int _cached_size_; |
| 1169 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; |
| 1170 |
1507 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 1171 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
1508 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 1172 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
1509 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 1173 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
1510 | 1174 |
1511 void InitAsDefaultInstance(); | 1175 void InitAsDefaultInstance(); |
1512 static EnumValueDescriptorProto* default_instance_; | 1176 static EnumValueDescriptorProto* default_instance_; |
1513 }; | 1177 }; |
1514 // ------------------------------------------------------------------- | 1178 // ------------------------------------------------------------------- |
1515 | 1179 |
1516 class LIBPROTOBUF_EXPORT ServiceDescriptorProto : public ::google::protobuf::Mes
sage { | 1180 class LIBPROTOBUF_EXPORT ServiceDescriptorProto : public ::google::protobuf::Mes
sage { |
1517 public: | 1181 public: |
1518 ServiceDescriptorProto(); | 1182 ServiceDescriptorProto(); |
1519 virtual ~ServiceDescriptorProto(); | 1183 virtual ~ServiceDescriptorProto(); |
1520 | 1184 |
1521 ServiceDescriptorProto(const ServiceDescriptorProto& from); | 1185 ServiceDescriptorProto(const ServiceDescriptorProto& from); |
1522 | 1186 |
1523 inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) { | 1187 inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) { |
1524 CopyFrom(from); | 1188 CopyFrom(from); |
1525 return *this; | 1189 return *this; |
1526 } | 1190 } |
1527 | 1191 |
1528 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 1192 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1529 return _internal_metadata_.unknown_fields(); | 1193 return _unknown_fields_; |
1530 } | 1194 } |
1531 | 1195 |
1532 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 1196 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1533 return _internal_metadata_.mutable_unknown_fields(); | 1197 return &_unknown_fields_; |
1534 } | 1198 } |
1535 | 1199 |
1536 static const ::google::protobuf::Descriptor* descriptor(); | 1200 static const ::google::protobuf::Descriptor* descriptor(); |
1537 static const ServiceDescriptorProto& default_instance(); | 1201 static const ServiceDescriptorProto& default_instance(); |
1538 | 1202 |
1539 void Swap(ServiceDescriptorProto* other); | 1203 void Swap(ServiceDescriptorProto* other); |
1540 | 1204 |
1541 // implements Message ---------------------------------------------- | 1205 // implements Message ---------------------------------------------- |
1542 | 1206 |
1543 inline ServiceDescriptorProto* New() const { return New(NULL); } | 1207 ServiceDescriptorProto* New() const; |
1544 | |
1545 ServiceDescriptorProto* New(::google::protobuf::Arena* arena) const; | |
1546 void CopyFrom(const ::google::protobuf::Message& from); | 1208 void CopyFrom(const ::google::protobuf::Message& from); |
1547 void MergeFrom(const ::google::protobuf::Message& from); | 1209 void MergeFrom(const ::google::protobuf::Message& from); |
1548 void CopyFrom(const ServiceDescriptorProto& from); | 1210 void CopyFrom(const ServiceDescriptorProto& from); |
1549 void MergeFrom(const ServiceDescriptorProto& from); | 1211 void MergeFrom(const ServiceDescriptorProto& from); |
1550 void Clear(); | 1212 void Clear(); |
1551 bool IsInitialized() const; | 1213 bool IsInitialized() const; |
1552 | 1214 |
1553 int ByteSize() const; | 1215 int ByteSize() const; |
1554 bool MergePartialFromCodedStream( | 1216 bool MergePartialFromCodedStream( |
1555 ::google::protobuf::io::CodedInputStream* input); | 1217 ::google::protobuf::io::CodedInputStream* input); |
1556 void SerializeWithCachedSizes( | 1218 void SerializeWithCachedSizes( |
1557 ::google::protobuf::io::CodedOutputStream* output) const; | 1219 ::google::protobuf::io::CodedOutputStream* output) const; |
1558 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 1220 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
1559 int GetCachedSize() const { return _cached_size_; } | 1221 int GetCachedSize() const { return _cached_size_; } |
1560 private: | 1222 private: |
1561 void SharedCtor(); | 1223 void SharedCtor(); |
1562 void SharedDtor(); | 1224 void SharedDtor(); |
1563 void SetCachedSize(int size) const; | 1225 void SetCachedSize(int size) const; |
1564 void InternalSwap(ServiceDescriptorProto* other); | |
1565 private: | |
1566 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
1567 return _internal_metadata_.arena(); | |
1568 } | |
1569 inline void* MaybeArenaPtr() const { | |
1570 return _internal_metadata_.raw_arena_ptr(); | |
1571 } | |
1572 public: | 1226 public: |
1573 | 1227 |
1574 ::google::protobuf::Metadata GetMetadata() const; | 1228 ::google::protobuf::Metadata GetMetadata() const; |
1575 | 1229 |
1576 // nested types ---------------------------------------------------- | 1230 // nested types ---------------------------------------------------- |
1577 | 1231 |
1578 // accessors ------------------------------------------------------- | 1232 // accessors ------------------------------------------------------- |
1579 | 1233 |
1580 // optional string name = 1; | 1234 // optional string name = 1; |
1581 bool has_name() const; | 1235 inline bool has_name() const; |
1582 void clear_name(); | 1236 inline void clear_name(); |
1583 static const int kNameFieldNumber = 1; | 1237 static const int kNameFieldNumber = 1; |
1584 const ::std::string& name() const; | 1238 inline const ::std::string& name() const; |
1585 void set_name(const ::std::string& value); | 1239 inline void set_name(const ::std::string& value); |
1586 void set_name(const char* value); | 1240 inline void set_name(const char* value); |
1587 void set_name(const char* value, size_t size); | 1241 inline void set_name(const char* value, size_t size); |
1588 ::std::string* mutable_name(); | 1242 inline ::std::string* mutable_name(); |
1589 ::std::string* release_name(); | 1243 inline ::std::string* release_name(); |
1590 void set_allocated_name(::std::string* name); | 1244 inline void set_allocated_name(::std::string* name); |
1591 | 1245 |
1592 // repeated .google.protobuf.MethodDescriptorProto method = 2; | 1246 // repeated .google.protobuf.MethodDescriptorProto method = 2; |
1593 int method_size() const; | 1247 inline int method_size() const; |
1594 void clear_method(); | 1248 inline void clear_method(); |
1595 static const int kMethodFieldNumber = 2; | 1249 static const int kMethodFieldNumber = 2; |
1596 const ::google::protobuf::MethodDescriptorProto& method(int index) const; | 1250 inline const ::google::protobuf::MethodDescriptorProto& method(int index) cons
t; |
1597 ::google::protobuf::MethodDescriptorProto* mutable_method(int index); | 1251 inline ::google::protobuf::MethodDescriptorProto* mutable_method(int index); |
1598 ::google::protobuf::MethodDescriptorProto* add_method(); | 1252 inline ::google::protobuf::MethodDescriptorProto* add_method(); |
1599 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescript
orProto >& | 1253 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodD
escriptorProto >& |
1600 method() const; | 1254 method() const; |
1601 ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProt
o >* | 1255 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescrip
torProto >* |
1602 mutable_method(); | 1256 mutable_method(); |
1603 | 1257 |
1604 // optional .google.protobuf.ServiceOptions options = 3; | 1258 // optional .google.protobuf.ServiceOptions options = 3; |
1605 bool has_options() const; | 1259 inline bool has_options() const; |
1606 void clear_options(); | 1260 inline void clear_options(); |
1607 static const int kOptionsFieldNumber = 3; | 1261 static const int kOptionsFieldNumber = 3; |
1608 const ::google::protobuf::ServiceOptions& options() const; | 1262 inline const ::google::protobuf::ServiceOptions& options() const; |
1609 ::google::protobuf::ServiceOptions* mutable_options(); | 1263 inline ::google::protobuf::ServiceOptions* mutable_options(); |
1610 ::google::protobuf::ServiceOptions* release_options(); | 1264 inline ::google::protobuf::ServiceOptions* release_options(); |
1611 void set_allocated_options(::google::protobuf::ServiceOptions* options); | 1265 inline void set_allocated_options(::google::protobuf::ServiceOptions* options)
; |
1612 | 1266 |
1613 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto
) | 1267 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto
) |
1614 private: | 1268 private: |
1615 inline void set_has_name(); | 1269 inline void set_has_name(); |
1616 inline void clear_has_name(); | 1270 inline void clear_has_name(); |
1617 inline void set_has_options(); | 1271 inline void set_has_options(); |
1618 inline void clear_has_options(); | 1272 inline void clear_has_options(); |
1619 | 1273 |
1620 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 1274 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
1621 ::google::protobuf::uint32 _has_bits_[1]; | 1275 |
1622 mutable int _cached_size_; | 1276 ::std::string* name_; |
1623 ::google::protobuf::internal::ArenaStringPtr name_; | |
1624 ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProt
o > method_; | 1277 ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProt
o > method_; |
1625 ::google::protobuf::ServiceOptions* options_; | 1278 ::google::protobuf::ServiceOptions* options_; |
| 1279 |
| 1280 mutable int _cached_size_; |
| 1281 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; |
| 1282 |
1626 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 1283 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
1627 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 1284 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
1628 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 1285 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
1629 | 1286 |
1630 void InitAsDefaultInstance(); | 1287 void InitAsDefaultInstance(); |
1631 static ServiceDescriptorProto* default_instance_; | 1288 static ServiceDescriptorProto* default_instance_; |
1632 }; | 1289 }; |
1633 // ------------------------------------------------------------------- | 1290 // ------------------------------------------------------------------- |
1634 | 1291 |
1635 class LIBPROTOBUF_EXPORT MethodDescriptorProto : public ::google::protobuf::Mess
age { | 1292 class LIBPROTOBUF_EXPORT MethodDescriptorProto : public ::google::protobuf::Mess
age { |
1636 public: | 1293 public: |
1637 MethodDescriptorProto(); | 1294 MethodDescriptorProto(); |
1638 virtual ~MethodDescriptorProto(); | 1295 virtual ~MethodDescriptorProto(); |
1639 | 1296 |
1640 MethodDescriptorProto(const MethodDescriptorProto& from); | 1297 MethodDescriptorProto(const MethodDescriptorProto& from); |
1641 | 1298 |
1642 inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) { | 1299 inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) { |
1643 CopyFrom(from); | 1300 CopyFrom(from); |
1644 return *this; | 1301 return *this; |
1645 } | 1302 } |
1646 | 1303 |
1647 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 1304 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1648 return _internal_metadata_.unknown_fields(); | 1305 return _unknown_fields_; |
1649 } | 1306 } |
1650 | 1307 |
1651 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 1308 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1652 return _internal_metadata_.mutable_unknown_fields(); | 1309 return &_unknown_fields_; |
1653 } | 1310 } |
1654 | 1311 |
1655 static const ::google::protobuf::Descriptor* descriptor(); | 1312 static const ::google::protobuf::Descriptor* descriptor(); |
1656 static const MethodDescriptorProto& default_instance(); | 1313 static const MethodDescriptorProto& default_instance(); |
1657 | 1314 |
1658 void Swap(MethodDescriptorProto* other); | 1315 void Swap(MethodDescriptorProto* other); |
1659 | 1316 |
1660 // implements Message ---------------------------------------------- | 1317 // implements Message ---------------------------------------------- |
1661 | 1318 |
1662 inline MethodDescriptorProto* New() const { return New(NULL); } | 1319 MethodDescriptorProto* New() const; |
1663 | |
1664 MethodDescriptorProto* New(::google::protobuf::Arena* arena) const; | |
1665 void CopyFrom(const ::google::protobuf::Message& from); | 1320 void CopyFrom(const ::google::protobuf::Message& from); |
1666 void MergeFrom(const ::google::protobuf::Message& from); | 1321 void MergeFrom(const ::google::protobuf::Message& from); |
1667 void CopyFrom(const MethodDescriptorProto& from); | 1322 void CopyFrom(const MethodDescriptorProto& from); |
1668 void MergeFrom(const MethodDescriptorProto& from); | 1323 void MergeFrom(const MethodDescriptorProto& from); |
1669 void Clear(); | 1324 void Clear(); |
1670 bool IsInitialized() const; | 1325 bool IsInitialized() const; |
1671 | 1326 |
1672 int ByteSize() const; | 1327 int ByteSize() const; |
1673 bool MergePartialFromCodedStream( | 1328 bool MergePartialFromCodedStream( |
1674 ::google::protobuf::io::CodedInputStream* input); | 1329 ::google::protobuf::io::CodedInputStream* input); |
1675 void SerializeWithCachedSizes( | 1330 void SerializeWithCachedSizes( |
1676 ::google::protobuf::io::CodedOutputStream* output) const; | 1331 ::google::protobuf::io::CodedOutputStream* output) const; |
1677 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 1332 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
1678 int GetCachedSize() const { return _cached_size_; } | 1333 int GetCachedSize() const { return _cached_size_; } |
1679 private: | 1334 private: |
1680 void SharedCtor(); | 1335 void SharedCtor(); |
1681 void SharedDtor(); | 1336 void SharedDtor(); |
1682 void SetCachedSize(int size) const; | 1337 void SetCachedSize(int size) const; |
1683 void InternalSwap(MethodDescriptorProto* other); | |
1684 private: | |
1685 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
1686 return _internal_metadata_.arena(); | |
1687 } | |
1688 inline void* MaybeArenaPtr() const { | |
1689 return _internal_metadata_.raw_arena_ptr(); | |
1690 } | |
1691 public: | 1338 public: |
1692 | 1339 |
1693 ::google::protobuf::Metadata GetMetadata() const; | 1340 ::google::protobuf::Metadata GetMetadata() const; |
1694 | 1341 |
1695 // nested types ---------------------------------------------------- | 1342 // nested types ---------------------------------------------------- |
1696 | 1343 |
1697 // accessors ------------------------------------------------------- | 1344 // accessors ------------------------------------------------------- |
1698 | 1345 |
1699 // optional string name = 1; | 1346 // optional string name = 1; |
1700 bool has_name() const; | 1347 inline bool has_name() const; |
1701 void clear_name(); | 1348 inline void clear_name(); |
1702 static const int kNameFieldNumber = 1; | 1349 static const int kNameFieldNumber = 1; |
1703 const ::std::string& name() const; | 1350 inline const ::std::string& name() const; |
1704 void set_name(const ::std::string& value); | 1351 inline void set_name(const ::std::string& value); |
1705 void set_name(const char* value); | 1352 inline void set_name(const char* value); |
1706 void set_name(const char* value, size_t size); | 1353 inline void set_name(const char* value, size_t size); |
1707 ::std::string* mutable_name(); | 1354 inline ::std::string* mutable_name(); |
1708 ::std::string* release_name(); | 1355 inline ::std::string* release_name(); |
1709 void set_allocated_name(::std::string* name); | 1356 inline void set_allocated_name(::std::string* name); |
1710 | 1357 |
1711 // optional string input_type = 2; | 1358 // optional string input_type = 2; |
1712 bool has_input_type() const; | 1359 inline bool has_input_type() const; |
1713 void clear_input_type(); | 1360 inline void clear_input_type(); |
1714 static const int kInputTypeFieldNumber = 2; | 1361 static const int kInputTypeFieldNumber = 2; |
1715 const ::std::string& input_type() const; | 1362 inline const ::std::string& input_type() const; |
1716 void set_input_type(const ::std::string& value); | 1363 inline void set_input_type(const ::std::string& value); |
1717 void set_input_type(const char* value); | 1364 inline void set_input_type(const char* value); |
1718 void set_input_type(const char* value, size_t size); | 1365 inline void set_input_type(const char* value, size_t size); |
1719 ::std::string* mutable_input_type(); | 1366 inline ::std::string* mutable_input_type(); |
1720 ::std::string* release_input_type(); | 1367 inline ::std::string* release_input_type(); |
1721 void set_allocated_input_type(::std::string* input_type); | 1368 inline void set_allocated_input_type(::std::string* input_type); |
1722 | 1369 |
1723 // optional string output_type = 3; | 1370 // optional string output_type = 3; |
1724 bool has_output_type() const; | 1371 inline bool has_output_type() const; |
1725 void clear_output_type(); | 1372 inline void clear_output_type(); |
1726 static const int kOutputTypeFieldNumber = 3; | 1373 static const int kOutputTypeFieldNumber = 3; |
1727 const ::std::string& output_type() const; | 1374 inline const ::std::string& output_type() const; |
1728 void set_output_type(const ::std::string& value); | 1375 inline void set_output_type(const ::std::string& value); |
1729 void set_output_type(const char* value); | 1376 inline void set_output_type(const char* value); |
1730 void set_output_type(const char* value, size_t size); | 1377 inline void set_output_type(const char* value, size_t size); |
1731 ::std::string* mutable_output_type(); | 1378 inline ::std::string* mutable_output_type(); |
1732 ::std::string* release_output_type(); | 1379 inline ::std::string* release_output_type(); |
1733 void set_allocated_output_type(::std::string* output_type); | 1380 inline void set_allocated_output_type(::std::string* output_type); |
1734 | 1381 |
1735 // optional .google.protobuf.MethodOptions options = 4; | 1382 // optional .google.protobuf.MethodOptions options = 4; |
1736 bool has_options() const; | 1383 inline bool has_options() const; |
1737 void clear_options(); | 1384 inline void clear_options(); |
1738 static const int kOptionsFieldNumber = 4; | 1385 static const int kOptionsFieldNumber = 4; |
1739 const ::google::protobuf::MethodOptions& options() const; | 1386 inline const ::google::protobuf::MethodOptions& options() const; |
1740 ::google::protobuf::MethodOptions* mutable_options(); | 1387 inline ::google::protobuf::MethodOptions* mutable_options(); |
1741 ::google::protobuf::MethodOptions* release_options(); | 1388 inline ::google::protobuf::MethodOptions* release_options(); |
1742 void set_allocated_options(::google::protobuf::MethodOptions* options); | 1389 inline void set_allocated_options(::google::protobuf::MethodOptions* options); |
1743 | |
1744 // optional bool client_streaming = 5 [default = false]; | |
1745 bool has_client_streaming() const; | |
1746 void clear_client_streaming(); | |
1747 static const int kClientStreamingFieldNumber = 5; | |
1748 bool client_streaming() const; | |
1749 void set_client_streaming(bool value); | |
1750 | |
1751 // optional bool server_streaming = 6 [default = false]; | |
1752 bool has_server_streaming() const; | |
1753 void clear_server_streaming(); | |
1754 static const int kServerStreamingFieldNumber = 6; | |
1755 bool server_streaming() const; | |
1756 void set_server_streaming(bool value); | |
1757 | 1390 |
1758 // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto) | 1391 // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto) |
1759 private: | 1392 private: |
1760 inline void set_has_name(); | 1393 inline void set_has_name(); |
1761 inline void clear_has_name(); | 1394 inline void clear_has_name(); |
1762 inline void set_has_input_type(); | 1395 inline void set_has_input_type(); |
1763 inline void clear_has_input_type(); | 1396 inline void clear_has_input_type(); |
1764 inline void set_has_output_type(); | 1397 inline void set_has_output_type(); |
1765 inline void clear_has_output_type(); | 1398 inline void clear_has_output_type(); |
1766 inline void set_has_options(); | 1399 inline void set_has_options(); |
1767 inline void clear_has_options(); | 1400 inline void clear_has_options(); |
1768 inline void set_has_client_streaming(); | |
1769 inline void clear_has_client_streaming(); | |
1770 inline void set_has_server_streaming(); | |
1771 inline void clear_has_server_streaming(); | |
1772 | 1401 |
1773 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 1402 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
1774 ::google::protobuf::uint32 _has_bits_[1]; | 1403 |
| 1404 ::std::string* name_; |
| 1405 ::std::string* input_type_; |
| 1406 ::std::string* output_type_; |
| 1407 ::google::protobuf::MethodOptions* options_; |
| 1408 |
1775 mutable int _cached_size_; | 1409 mutable int _cached_size_; |
1776 ::google::protobuf::internal::ArenaStringPtr name_; | 1410 ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; |
1777 ::google::protobuf::internal::ArenaStringPtr input_type_; | 1411 |
1778 ::google::protobuf::internal::ArenaStringPtr output_type_; | |
1779 ::google::protobuf::MethodOptions* options_; | |
1780 bool client_streaming_; | |
1781 bool server_streaming_; | |
1782 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 1412 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
1783 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 1413 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
1784 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 1414 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
1785 | 1415 |
1786 void InitAsDefaultInstance(); | 1416 void InitAsDefaultInstance(); |
1787 static MethodDescriptorProto* default_instance_; | 1417 static MethodDescriptorProto* default_instance_; |
1788 }; | 1418 }; |
1789 // ------------------------------------------------------------------- | 1419 // ------------------------------------------------------------------- |
1790 | 1420 |
1791 class LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message { | 1421 class LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message { |
1792 public: | 1422 public: |
1793 FileOptions(); | 1423 FileOptions(); |
1794 virtual ~FileOptions(); | 1424 virtual ~FileOptions(); |
1795 | 1425 |
1796 FileOptions(const FileOptions& from); | 1426 FileOptions(const FileOptions& from); |
1797 | 1427 |
1798 inline FileOptions& operator=(const FileOptions& from) { | 1428 inline FileOptions& operator=(const FileOptions& from) { |
1799 CopyFrom(from); | 1429 CopyFrom(from); |
1800 return *this; | 1430 return *this; |
1801 } | 1431 } |
1802 | 1432 |
1803 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 1433 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1804 return _internal_metadata_.unknown_fields(); | 1434 return _unknown_fields_; |
1805 } | 1435 } |
1806 | 1436 |
1807 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 1437 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1808 return _internal_metadata_.mutable_unknown_fields(); | 1438 return &_unknown_fields_; |
1809 } | 1439 } |
1810 | 1440 |
1811 static const ::google::protobuf::Descriptor* descriptor(); | 1441 static const ::google::protobuf::Descriptor* descriptor(); |
1812 static const FileOptions& default_instance(); | 1442 static const FileOptions& default_instance(); |
1813 | 1443 |
1814 void Swap(FileOptions* other); | 1444 void Swap(FileOptions* other); |
1815 | 1445 |
1816 // implements Message ---------------------------------------------- | 1446 // implements Message ---------------------------------------------- |
1817 | 1447 |
1818 inline FileOptions* New() const { return New(NULL); } | 1448 FileOptions* New() const; |
1819 | |
1820 FileOptions* New(::google::protobuf::Arena* arena) const; | |
1821 void CopyFrom(const ::google::protobuf::Message& from); | 1449 void CopyFrom(const ::google::protobuf::Message& from); |
1822 void MergeFrom(const ::google::protobuf::Message& from); | 1450 void MergeFrom(const ::google::protobuf::Message& from); |
1823 void CopyFrom(const FileOptions& from); | 1451 void CopyFrom(const FileOptions& from); |
1824 void MergeFrom(const FileOptions& from); | 1452 void MergeFrom(const FileOptions& from); |
1825 void Clear(); | 1453 void Clear(); |
1826 bool IsInitialized() const; | 1454 bool IsInitialized() const; |
1827 | 1455 |
1828 int ByteSize() const; | 1456 int ByteSize() const; |
1829 bool MergePartialFromCodedStream( | 1457 bool MergePartialFromCodedStream( |
1830 ::google::protobuf::io::CodedInputStream* input); | 1458 ::google::protobuf::io::CodedInputStream* input); |
1831 void SerializeWithCachedSizes( | 1459 void SerializeWithCachedSizes( |
1832 ::google::protobuf::io::CodedOutputStream* output) const; | 1460 ::google::protobuf::io::CodedOutputStream* output) const; |
1833 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 1461 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
1834 int GetCachedSize() const { return _cached_size_; } | 1462 int GetCachedSize() const { return _cached_size_; } |
1835 private: | 1463 private: |
1836 void SharedCtor(); | 1464 void SharedCtor(); |
1837 void SharedDtor(); | 1465 void SharedDtor(); |
1838 void SetCachedSize(int size) const; | 1466 void SetCachedSize(int size) const; |
1839 void InternalSwap(FileOptions* other); | |
1840 private: | |
1841 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
1842 return _internal_metadata_.arena(); | |
1843 } | |
1844 inline void* MaybeArenaPtr() const { | |
1845 return _internal_metadata_.raw_arena_ptr(); | |
1846 } | |
1847 public: | 1467 public: |
1848 | 1468 |
1849 ::google::protobuf::Metadata GetMetadata() const; | 1469 ::google::protobuf::Metadata GetMetadata() const; |
1850 | 1470 |
1851 // nested types ---------------------------------------------------- | 1471 // nested types ---------------------------------------------------- |
1852 | 1472 |
1853 typedef FileOptions_OptimizeMode OptimizeMode; | 1473 typedef FileOptions_OptimizeMode OptimizeMode; |
1854 static const OptimizeMode SPEED = FileOptions_OptimizeMode_SPEED; | 1474 static const OptimizeMode SPEED = FileOptions_OptimizeMode_SPEED; |
1855 static const OptimizeMode CODE_SIZE = FileOptions_OptimizeMode_CODE_SIZE; | 1475 static const OptimizeMode CODE_SIZE = FileOptions_OptimizeMode_CODE_SIZE; |
1856 static const OptimizeMode LITE_RUNTIME = FileOptions_OptimizeMode_LITE_RUNTIME
; | 1476 static const OptimizeMode LITE_RUNTIME = FileOptions_OptimizeMode_LITE_RUNTIME
; |
(...skipping 14 matching lines...) Expand all Loading... |
1871 return FileOptions_OptimizeMode_Name(value); | 1491 return FileOptions_OptimizeMode_Name(value); |
1872 } | 1492 } |
1873 static inline bool OptimizeMode_Parse(const ::std::string& name, | 1493 static inline bool OptimizeMode_Parse(const ::std::string& name, |
1874 OptimizeMode* value) { | 1494 OptimizeMode* value) { |
1875 return FileOptions_OptimizeMode_Parse(name, value); | 1495 return FileOptions_OptimizeMode_Parse(name, value); |
1876 } | 1496 } |
1877 | 1497 |
1878 // accessors ------------------------------------------------------- | 1498 // accessors ------------------------------------------------------- |
1879 | 1499 |
1880 // optional string java_package = 1; | 1500 // optional string java_package = 1; |
1881 bool has_java_package() const; | 1501 inline bool has_java_package() const; |
1882 void clear_java_package(); | 1502 inline void clear_java_package(); |
1883 static const int kJavaPackageFieldNumber = 1; | 1503 static const int kJavaPackageFieldNumber = 1; |
1884 const ::std::string& java_package() const; | 1504 inline const ::std::string& java_package() const; |
1885 void set_java_package(const ::std::string& value); | 1505 inline void set_java_package(const ::std::string& value); |
1886 void set_java_package(const char* value); | 1506 inline void set_java_package(const char* value); |
1887 void set_java_package(const char* value, size_t size); | 1507 inline void set_java_package(const char* value, size_t size); |
1888 ::std::string* mutable_java_package(); | 1508 inline ::std::string* mutable_java_package(); |
1889 ::std::string* release_java_package(); | 1509 inline ::std::string* release_java_package(); |
1890 void set_allocated_java_package(::std::string* java_package); | 1510 inline void set_allocated_java_package(::std::string* java_package); |
1891 | 1511 |
1892 // optional string java_outer_classname = 8; | 1512 // optional string java_outer_classname = 8; |
1893 bool has_java_outer_classname() const; | 1513 inline bool has_java_outer_classname() const; |
1894 void clear_java_outer_classname(); | 1514 inline void clear_java_outer_classname(); |
1895 static const int kJavaOuterClassnameFieldNumber = 8; | 1515 static const int kJavaOuterClassnameFieldNumber = 8; |
1896 const ::std::string& java_outer_classname() const; | 1516 inline const ::std::string& java_outer_classname() const; |
1897 void set_java_outer_classname(const ::std::string& value); | 1517 inline void set_java_outer_classname(const ::std::string& value); |
1898 void set_java_outer_classname(const char* value); | 1518 inline void set_java_outer_classname(const char* value); |
1899 void set_java_outer_classname(const char* value, size_t size); | 1519 inline void set_java_outer_classname(const char* value, size_t size); |
1900 ::std::string* mutable_java_outer_classname(); | 1520 inline ::std::string* mutable_java_outer_classname(); |
1901 ::std::string* release_java_outer_classname(); | 1521 inline ::std::string* release_java_outer_classname(); |
1902 void set_allocated_java_outer_classname(::std::string* java_outer_classname); | 1522 inline void set_allocated_java_outer_classname(::std::string* java_outer_class
name); |
1903 | 1523 |
1904 // optional bool java_multiple_files = 10 [default = false]; | 1524 // optional bool java_multiple_files = 10 [default = false]; |
1905 bool has_java_multiple_files() const; | 1525 inline bool has_java_multiple_files() const; |
1906 void clear_java_multiple_files(); | 1526 inline void clear_java_multiple_files(); |
1907 static const int kJavaMultipleFilesFieldNumber = 10; | 1527 static const int kJavaMultipleFilesFieldNumber = 10; |
1908 bool java_multiple_files() const; | 1528 inline bool java_multiple_files() const; |
1909 void set_java_multiple_files(bool value); | 1529 inline void set_java_multiple_files(bool value); |
1910 | 1530 |
1911 // optional bool retain_unknown_fields = 12 [default = false]; | 1531 // optional bool retain_unknown_fields = 12 [default = false]; |
1912 bool has_retain_unknown_fields() const; | 1532 inline bool has_retain_unknown_fields() const; |
1913 void clear_retain_unknown_fields(); | 1533 inline void clear_retain_unknown_fields(); |
1914 static const int kRetainUnknownFieldsFieldNumber = 12; | 1534 static const int kRetainUnknownFieldsFieldNumber = 12; |
1915 bool retain_unknown_fields() const; | 1535 inline bool retain_unknown_fields() const; |
1916 void set_retain_unknown_fields(bool value); | 1536 inline void set_retain_unknown_fields(bool value); |
1917 | 1537 |
1918 // optional bool java_generate_equals_and_hash = 20 [default = false]; | 1538 // optional bool java_generate_equals_and_hash = 20 [default = false]; |
1919 bool has_java_generate_equals_and_hash() const; | 1539 inline bool has_java_generate_equals_and_hash() const; |
1920 void clear_java_generate_equals_and_hash(); | 1540 inline void clear_java_generate_equals_and_hash(); |
1921 static const int kJavaGenerateEqualsAndHashFieldNumber = 20; | 1541 static const int kJavaGenerateEqualsAndHashFieldNumber = 20; |
1922 bool java_generate_equals_and_hash() const; | 1542 inline bool java_generate_equals_and_hash() const; |
1923 void set_java_generate_equals_and_hash(bool value); | 1543 inline void set_java_generate_equals_and_hash(bool value); |
1924 | |
1925 // optional bool java_string_check_utf8 = 27 [default = false]; | |
1926 bool has_java_string_check_utf8() const; | |
1927 void clear_java_string_check_utf8(); | |
1928 static const int kJavaStringCheckUtf8FieldNumber = 27; | |
1929 bool java_string_check_utf8() const; | |
1930 void set_java_string_check_utf8(bool value); | |
1931 | 1544 |
1932 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [defaul
t = SPEED]; | 1545 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [defaul
t = SPEED]; |
1933 bool has_optimize_for() const; | 1546 inline bool has_optimize_for() const; |
1934 void clear_optimize_for(); | 1547 inline void clear_optimize_for(); |
1935 static const int kOptimizeForFieldNumber = 9; | 1548 static const int kOptimizeForFieldNumber = 9; |
1936 ::google::protobuf::FileOptions_OptimizeMode optimize_for() const; | 1549 inline ::google::protobuf::FileOptions_OptimizeMode optimize_for() const; |
1937 void set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value); | 1550 inline void set_optimize_for(::google::protobuf::FileOptions_OptimizeMode valu
e); |
1938 | 1551 |
1939 // optional string go_package = 11; | 1552 // optional string go_package = 11; |
1940 bool has_go_package() const; | 1553 inline bool has_go_package() const; |
1941 void clear_go_package(); | 1554 inline void clear_go_package(); |
1942 static const int kGoPackageFieldNumber = 11; | 1555 static const int kGoPackageFieldNumber = 11; |
1943 const ::std::string& go_package() const; | 1556 inline const ::std::string& go_package() const; |
1944 void set_go_package(const ::std::string& value); | 1557 inline void set_go_package(const ::std::string& value); |
1945 void set_go_package(const char* value); | 1558 inline void set_go_package(const char* value); |
1946 void set_go_package(const char* value, size_t size); | 1559 inline void set_go_package(const char* value, size_t size); |
1947 ::std::string* mutable_go_package(); | 1560 inline ::std::string* mutable_go_package(); |
1948 ::std::string* release_go_package(); | 1561 inline ::std::string* release_go_package(); |
1949 void set_allocated_go_package(::std::string* go_package); | 1562 inline void set_allocated_go_package(::std::string* go_package); |
1950 | 1563 |
1951 // optional bool cc_generic_services = 16 [default = false]; | 1564 // optional bool cc_generic_services = 16 [default = false]; |
1952 bool has_cc_generic_services() const; | 1565 inline bool has_cc_generic_services() const; |
1953 void clear_cc_generic_services(); | 1566 inline void clear_cc_generic_services(); |
1954 static const int kCcGenericServicesFieldNumber = 16; | 1567 static const int kCcGenericServicesFieldNumber = 16; |
1955 bool cc_generic_services() const; | 1568 inline bool cc_generic_services() const; |
1956 void set_cc_generic_services(bool value); | 1569 inline void set_cc_generic_services(bool value); |
1957 | 1570 |
1958 // optional bool java_generic_services = 17 [default = false]; | 1571 // optional bool java_generic_services = 17 [default = false]; |
1959 bool has_java_generic_services() const; | 1572 inline bool has_java_generic_services() const; |
1960 void clear_java_generic_services(); | 1573 inline void clear_java_generic_services(); |
1961 static const int kJavaGenericServicesFieldNumber = 17; | 1574 static const int kJavaGenericServicesFieldNumber = 17; |
1962 bool java_generic_services() const; | 1575 inline bool java_generic_services() const; |
1963 void set_java_generic_services(bool value); | 1576 inline void set_java_generic_services(bool value); |
1964 | 1577 |
1965 // optional bool py_generic_services = 18 [default = false]; | 1578 // optional bool py_generic_services = 18 [default = false]; |
1966 bool has_py_generic_services() const; | 1579 inline bool has_py_generic_services() const; |
1967 void clear_py_generic_services(); | 1580 inline void clear_py_generic_services(); |
1968 static const int kPyGenericServicesFieldNumber = 18; | 1581 static const int kPyGenericServicesFieldNumber = 18; |
1969 bool py_generic_services() const; | 1582 inline bool py_generic_services() const; |
1970 void set_py_generic_services(bool value); | 1583 inline void set_py_generic_services(bool value); |
1971 | |
1972 // optional bool deprecated = 23 [default = false]; | |
1973 bool has_deprecated() const; | |
1974 void clear_deprecated(); | |
1975 static const int kDeprecatedFieldNumber = 23; | |
1976 bool deprecated() const; | |
1977 void set_deprecated(bool value); | |
1978 | |
1979 // optional bool cc_enable_arenas = 31 [default = false]; | |
1980 bool has_cc_enable_arenas() const; | |
1981 void clear_cc_enable_arenas(); | |
1982 static const int kCcEnableArenasFieldNumber = 31; | |
1983 bool cc_enable_arenas() const; | |
1984 void set_cc_enable_arenas(bool value); | |
1985 | |
1986 // optional string objc_class_prefix = 36; | |
1987 bool has_objc_class_prefix() const; | |
1988 void clear_objc_class_prefix(); | |
1989 static const int kObjcClassPrefixFieldNumber = 36; | |
1990 const ::std::string& objc_class_prefix() const; | |
1991 void set_objc_class_prefix(const ::std::string& value); | |
1992 void set_objc_class_prefix(const char* value); | |
1993 void set_objc_class_prefix(const char* value, size_t size); | |
1994 ::std::string* mutable_objc_class_prefix(); | |
1995 ::std::string* release_objc_class_prefix(); | |
1996 void set_allocated_objc_class_prefix(::std::string* objc_class_prefix); | |
1997 | |
1998 // optional string csharp_namespace = 37; | |
1999 bool has_csharp_namespace() const; | |
2000 void clear_csharp_namespace(); | |
2001 static const int kCsharpNamespaceFieldNumber = 37; | |
2002 const ::std::string& csharp_namespace() const; | |
2003 void set_csharp_namespace(const ::std::string& value); | |
2004 void set_csharp_namespace(const char* value); | |
2005 void set_csharp_namespace(const char* value, size_t size); | |
2006 ::std::string* mutable_csharp_namespace(); | |
2007 ::std::string* release_csharp_namespace(); | |
2008 void set_allocated_csharp_namespace(::std::string* csharp_namespace); | |
2009 | |
2010 // optional bool javanano_use_deprecated_package = 38; | |
2011 bool has_javanano_use_deprecated_package() const; | |
2012 void clear_javanano_use_deprecated_package(); | |
2013 static const int kJavananoUseDeprecatedPackageFieldNumber = 38; | |
2014 bool javanano_use_deprecated_package() const; | |
2015 void set_javanano_use_deprecated_package(bool value); | |
2016 | 1584 |
2017 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 1585 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
2018 int uninterpreted_option_size() const; | 1586 inline int uninterpreted_option_size() const; |
2019 void clear_uninterpreted_option(); | 1587 inline void clear_uninterpreted_option(); |
2020 static const int kUninterpretedOptionFieldNumber = 999; | 1588 static const int kUninterpretedOptionFieldNumber = 999; |
2021 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; | 1589 inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int
index) const; |
2022 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 1590 inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(i
nt index); |
2023 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 1591 inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
2024 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 1592 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninter
pretedOption >& |
2025 uninterpreted_option() const; | 1593 uninterpreted_option() const; |
2026 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 1594 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpreted
Option >* |
2027 mutable_uninterpreted_option(); | 1595 mutable_uninterpreted_option(); |
2028 | 1596 |
2029 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions) | 1597 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions) |
2030 // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions) | 1598 // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions) |
2031 private: | 1599 private: |
2032 inline void set_has_java_package(); | 1600 inline void set_has_java_package(); |
2033 inline void clear_has_java_package(); | 1601 inline void clear_has_java_package(); |
2034 inline void set_has_java_outer_classname(); | 1602 inline void set_has_java_outer_classname(); |
2035 inline void clear_has_java_outer_classname(); | 1603 inline void clear_has_java_outer_classname(); |
2036 inline void set_has_java_multiple_files(); | 1604 inline void set_has_java_multiple_files(); |
2037 inline void clear_has_java_multiple_files(); | 1605 inline void clear_has_java_multiple_files(); |
2038 inline void set_has_retain_unknown_fields(); | 1606 inline void set_has_retain_unknown_fields(); |
2039 inline void clear_has_retain_unknown_fields(); | 1607 inline void clear_has_retain_unknown_fields(); |
2040 inline void set_has_java_generate_equals_and_hash(); | 1608 inline void set_has_java_generate_equals_and_hash(); |
2041 inline void clear_has_java_generate_equals_and_hash(); | 1609 inline void clear_has_java_generate_equals_and_hash(); |
2042 inline void set_has_java_string_check_utf8(); | |
2043 inline void clear_has_java_string_check_utf8(); | |
2044 inline void set_has_optimize_for(); | 1610 inline void set_has_optimize_for(); |
2045 inline void clear_has_optimize_for(); | 1611 inline void clear_has_optimize_for(); |
2046 inline void set_has_go_package(); | 1612 inline void set_has_go_package(); |
2047 inline void clear_has_go_package(); | 1613 inline void clear_has_go_package(); |
2048 inline void set_has_cc_generic_services(); | 1614 inline void set_has_cc_generic_services(); |
2049 inline void clear_has_cc_generic_services(); | 1615 inline void clear_has_cc_generic_services(); |
2050 inline void set_has_java_generic_services(); | 1616 inline void set_has_java_generic_services(); |
2051 inline void clear_has_java_generic_services(); | 1617 inline void clear_has_java_generic_services(); |
2052 inline void set_has_py_generic_services(); | 1618 inline void set_has_py_generic_services(); |
2053 inline void clear_has_py_generic_services(); | 1619 inline void clear_has_py_generic_services(); |
2054 inline void set_has_deprecated(); | |
2055 inline void clear_has_deprecated(); | |
2056 inline void set_has_cc_enable_arenas(); | |
2057 inline void clear_has_cc_enable_arenas(); | |
2058 inline void set_has_objc_class_prefix(); | |
2059 inline void clear_has_objc_class_prefix(); | |
2060 inline void set_has_csharp_namespace(); | |
2061 inline void clear_has_csharp_namespace(); | |
2062 inline void set_has_javanano_use_deprecated_package(); | |
2063 inline void clear_has_javanano_use_deprecated_package(); | |
2064 | 1620 |
2065 ::google::protobuf::internal::ExtensionSet _extensions_; | 1621 ::google::protobuf::internal::ExtensionSet _extensions_; |
2066 | 1622 |
2067 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 1623 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
2068 ::google::protobuf::uint32 _has_bits_[1]; | 1624 |
2069 mutable int _cached_size_; | 1625 ::std::string* java_package_; |
2070 ::google::protobuf::internal::ArenaStringPtr java_package_; | 1626 ::std::string* java_outer_classname_; |
2071 ::google::protobuf::internal::ArenaStringPtr java_outer_classname_; | |
2072 bool java_multiple_files_; | 1627 bool java_multiple_files_; |
2073 bool retain_unknown_fields_; | 1628 bool retain_unknown_fields_; |
2074 bool java_generate_equals_and_hash_; | 1629 bool java_generate_equals_and_hash_; |
2075 bool java_string_check_utf8_; | 1630 bool cc_generic_services_; |
2076 int optimize_for_; | 1631 int optimize_for_; |
2077 ::google::protobuf::internal::ArenaStringPtr go_package_; | 1632 ::std::string* go_package_; |
2078 bool cc_generic_services_; | 1633 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
2079 bool java_generic_services_; | 1634 bool java_generic_services_; |
2080 bool py_generic_services_; | 1635 bool py_generic_services_; |
2081 bool deprecated_; | 1636 |
2082 bool cc_enable_arenas_; | 1637 mutable int _cached_size_; |
2083 bool javanano_use_deprecated_package_; | 1638 ::google::protobuf::uint32 _has_bits_[(11 + 31) / 32]; |
2084 ::google::protobuf::internal::ArenaStringPtr objc_class_prefix_; | 1639 |
2085 ::google::protobuf::internal::ArenaStringPtr csharp_namespace_; | |
2086 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | |
2087 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 1640 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
2088 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 1641 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
2089 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 1642 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
2090 | 1643 |
2091 void InitAsDefaultInstance(); | 1644 void InitAsDefaultInstance(); |
2092 static FileOptions* default_instance_; | 1645 static FileOptions* default_instance_; |
2093 }; | 1646 }; |
2094 // ------------------------------------------------------------------- | 1647 // ------------------------------------------------------------------- |
2095 | 1648 |
2096 class LIBPROTOBUF_EXPORT MessageOptions : public ::google::protobuf::Message { | 1649 class LIBPROTOBUF_EXPORT MessageOptions : public ::google::protobuf::Message { |
2097 public: | 1650 public: |
2098 MessageOptions(); | 1651 MessageOptions(); |
2099 virtual ~MessageOptions(); | 1652 virtual ~MessageOptions(); |
2100 | 1653 |
2101 MessageOptions(const MessageOptions& from); | 1654 MessageOptions(const MessageOptions& from); |
2102 | 1655 |
2103 inline MessageOptions& operator=(const MessageOptions& from) { | 1656 inline MessageOptions& operator=(const MessageOptions& from) { |
2104 CopyFrom(from); | 1657 CopyFrom(from); |
2105 return *this; | 1658 return *this; |
2106 } | 1659 } |
2107 | 1660 |
2108 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 1661 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2109 return _internal_metadata_.unknown_fields(); | 1662 return _unknown_fields_; |
2110 } | 1663 } |
2111 | 1664 |
2112 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 1665 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2113 return _internal_metadata_.mutable_unknown_fields(); | 1666 return &_unknown_fields_; |
2114 } | 1667 } |
2115 | 1668 |
2116 static const ::google::protobuf::Descriptor* descriptor(); | 1669 static const ::google::protobuf::Descriptor* descriptor(); |
2117 static const MessageOptions& default_instance(); | 1670 static const MessageOptions& default_instance(); |
2118 | 1671 |
2119 void Swap(MessageOptions* other); | 1672 void Swap(MessageOptions* other); |
2120 | 1673 |
2121 // implements Message ---------------------------------------------- | 1674 // implements Message ---------------------------------------------- |
2122 | 1675 |
2123 inline MessageOptions* New() const { return New(NULL); } | 1676 MessageOptions* New() const; |
2124 | |
2125 MessageOptions* New(::google::protobuf::Arena* arena) const; | |
2126 void CopyFrom(const ::google::protobuf::Message& from); | 1677 void CopyFrom(const ::google::protobuf::Message& from); |
2127 void MergeFrom(const ::google::protobuf::Message& from); | 1678 void MergeFrom(const ::google::protobuf::Message& from); |
2128 void CopyFrom(const MessageOptions& from); | 1679 void CopyFrom(const MessageOptions& from); |
2129 void MergeFrom(const MessageOptions& from); | 1680 void MergeFrom(const MessageOptions& from); |
2130 void Clear(); | 1681 void Clear(); |
2131 bool IsInitialized() const; | 1682 bool IsInitialized() const; |
2132 | 1683 |
2133 int ByteSize() const; | 1684 int ByteSize() const; |
2134 bool MergePartialFromCodedStream( | 1685 bool MergePartialFromCodedStream( |
2135 ::google::protobuf::io::CodedInputStream* input); | 1686 ::google::protobuf::io::CodedInputStream* input); |
2136 void SerializeWithCachedSizes( | 1687 void SerializeWithCachedSizes( |
2137 ::google::protobuf::io::CodedOutputStream* output) const; | 1688 ::google::protobuf::io::CodedOutputStream* output) const; |
2138 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 1689 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
2139 int GetCachedSize() const { return _cached_size_; } | 1690 int GetCachedSize() const { return _cached_size_; } |
2140 private: | 1691 private: |
2141 void SharedCtor(); | 1692 void SharedCtor(); |
2142 void SharedDtor(); | 1693 void SharedDtor(); |
2143 void SetCachedSize(int size) const; | 1694 void SetCachedSize(int size) const; |
2144 void InternalSwap(MessageOptions* other); | |
2145 private: | |
2146 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
2147 return _internal_metadata_.arena(); | |
2148 } | |
2149 inline void* MaybeArenaPtr() const { | |
2150 return _internal_metadata_.raw_arena_ptr(); | |
2151 } | |
2152 public: | 1695 public: |
2153 | 1696 |
2154 ::google::protobuf::Metadata GetMetadata() const; | 1697 ::google::protobuf::Metadata GetMetadata() const; |
2155 | 1698 |
2156 // nested types ---------------------------------------------------- | 1699 // nested types ---------------------------------------------------- |
2157 | 1700 |
2158 // accessors ------------------------------------------------------- | 1701 // accessors ------------------------------------------------------- |
2159 | 1702 |
2160 // optional bool message_set_wire_format = 1 [default = false]; | 1703 // optional bool message_set_wire_format = 1 [default = false]; |
2161 bool has_message_set_wire_format() const; | 1704 inline bool has_message_set_wire_format() const; |
2162 void clear_message_set_wire_format(); | 1705 inline void clear_message_set_wire_format(); |
2163 static const int kMessageSetWireFormatFieldNumber = 1; | 1706 static const int kMessageSetWireFormatFieldNumber = 1; |
2164 bool message_set_wire_format() const; | 1707 inline bool message_set_wire_format() const; |
2165 void set_message_set_wire_format(bool value); | 1708 inline void set_message_set_wire_format(bool value); |
2166 | 1709 |
2167 // optional bool no_standard_descriptor_accessor = 2 [default = false]; | 1710 // optional bool no_standard_descriptor_accessor = 2 [default = false]; |
2168 bool has_no_standard_descriptor_accessor() const; | 1711 inline bool has_no_standard_descriptor_accessor() const; |
2169 void clear_no_standard_descriptor_accessor(); | 1712 inline void clear_no_standard_descriptor_accessor(); |
2170 static const int kNoStandardDescriptorAccessorFieldNumber = 2; | 1713 static const int kNoStandardDescriptorAccessorFieldNumber = 2; |
2171 bool no_standard_descriptor_accessor() const; | 1714 inline bool no_standard_descriptor_accessor() const; |
2172 void set_no_standard_descriptor_accessor(bool value); | 1715 inline void set_no_standard_descriptor_accessor(bool value); |
2173 | |
2174 // optional bool deprecated = 3 [default = false]; | |
2175 bool has_deprecated() const; | |
2176 void clear_deprecated(); | |
2177 static const int kDeprecatedFieldNumber = 3; | |
2178 bool deprecated() const; | |
2179 void set_deprecated(bool value); | |
2180 | |
2181 // optional bool map_entry = 7; | |
2182 bool has_map_entry() const; | |
2183 void clear_map_entry(); | |
2184 static const int kMapEntryFieldNumber = 7; | |
2185 bool map_entry() const; | |
2186 void set_map_entry(bool value); | |
2187 | 1716 |
2188 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 1717 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
2189 int uninterpreted_option_size() const; | 1718 inline int uninterpreted_option_size() const; |
2190 void clear_uninterpreted_option(); | 1719 inline void clear_uninterpreted_option(); |
2191 static const int kUninterpretedOptionFieldNumber = 999; | 1720 static const int kUninterpretedOptionFieldNumber = 999; |
2192 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; | 1721 inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int
index) const; |
2193 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 1722 inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(i
nt index); |
2194 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 1723 inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
2195 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 1724 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninter
pretedOption >& |
2196 uninterpreted_option() const; | 1725 uninterpreted_option() const; |
2197 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 1726 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpreted
Option >* |
2198 mutable_uninterpreted_option(); | 1727 mutable_uninterpreted_option(); |
2199 | 1728 |
2200 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions) | 1729 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions) |
2201 // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions) | 1730 // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions) |
2202 private: | 1731 private: |
2203 inline void set_has_message_set_wire_format(); | 1732 inline void set_has_message_set_wire_format(); |
2204 inline void clear_has_message_set_wire_format(); | 1733 inline void clear_has_message_set_wire_format(); |
2205 inline void set_has_no_standard_descriptor_accessor(); | 1734 inline void set_has_no_standard_descriptor_accessor(); |
2206 inline void clear_has_no_standard_descriptor_accessor(); | 1735 inline void clear_has_no_standard_descriptor_accessor(); |
2207 inline void set_has_deprecated(); | |
2208 inline void clear_has_deprecated(); | |
2209 inline void set_has_map_entry(); | |
2210 inline void clear_has_map_entry(); | |
2211 | 1736 |
2212 ::google::protobuf::internal::ExtensionSet _extensions_; | 1737 ::google::protobuf::internal::ExtensionSet _extensions_; |
2213 | 1738 |
2214 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 1739 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
2215 ::google::protobuf::uint32 _has_bits_[1]; | 1740 |
2216 mutable int _cached_size_; | |
2217 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | 1741 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
2218 bool message_set_wire_format_; | 1742 bool message_set_wire_format_; |
2219 bool no_standard_descriptor_accessor_; | 1743 bool no_standard_descriptor_accessor_; |
2220 bool deprecated_; | 1744 |
2221 bool map_entry_; | 1745 mutable int _cached_size_; |
| 1746 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; |
| 1747 |
2222 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 1748 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
2223 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 1749 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
2224 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 1750 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
2225 | 1751 |
2226 void InitAsDefaultInstance(); | 1752 void InitAsDefaultInstance(); |
2227 static MessageOptions* default_instance_; | 1753 static MessageOptions* default_instance_; |
2228 }; | 1754 }; |
2229 // ------------------------------------------------------------------- | 1755 // ------------------------------------------------------------------- |
2230 | 1756 |
2231 class LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message { | 1757 class LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message { |
2232 public: | 1758 public: |
2233 FieldOptions(); | 1759 FieldOptions(); |
2234 virtual ~FieldOptions(); | 1760 virtual ~FieldOptions(); |
2235 | 1761 |
2236 FieldOptions(const FieldOptions& from); | 1762 FieldOptions(const FieldOptions& from); |
2237 | 1763 |
2238 inline FieldOptions& operator=(const FieldOptions& from) { | 1764 inline FieldOptions& operator=(const FieldOptions& from) { |
2239 CopyFrom(from); | 1765 CopyFrom(from); |
2240 return *this; | 1766 return *this; |
2241 } | 1767 } |
2242 | 1768 |
2243 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 1769 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2244 return _internal_metadata_.unknown_fields(); | 1770 return _unknown_fields_; |
2245 } | 1771 } |
2246 | 1772 |
2247 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 1773 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2248 return _internal_metadata_.mutable_unknown_fields(); | 1774 return &_unknown_fields_; |
2249 } | 1775 } |
2250 | 1776 |
2251 static const ::google::protobuf::Descriptor* descriptor(); | 1777 static const ::google::protobuf::Descriptor* descriptor(); |
2252 static const FieldOptions& default_instance(); | 1778 static const FieldOptions& default_instance(); |
2253 | 1779 |
2254 void Swap(FieldOptions* other); | 1780 void Swap(FieldOptions* other); |
2255 | 1781 |
2256 // implements Message ---------------------------------------------- | 1782 // implements Message ---------------------------------------------- |
2257 | 1783 |
2258 inline FieldOptions* New() const { return New(NULL); } | 1784 FieldOptions* New() const; |
2259 | |
2260 FieldOptions* New(::google::protobuf::Arena* arena) const; | |
2261 void CopyFrom(const ::google::protobuf::Message& from); | 1785 void CopyFrom(const ::google::protobuf::Message& from); |
2262 void MergeFrom(const ::google::protobuf::Message& from); | 1786 void MergeFrom(const ::google::protobuf::Message& from); |
2263 void CopyFrom(const FieldOptions& from); | 1787 void CopyFrom(const FieldOptions& from); |
2264 void MergeFrom(const FieldOptions& from); | 1788 void MergeFrom(const FieldOptions& from); |
2265 void Clear(); | 1789 void Clear(); |
2266 bool IsInitialized() const; | 1790 bool IsInitialized() const; |
2267 | 1791 |
2268 int ByteSize() const; | 1792 int ByteSize() const; |
2269 bool MergePartialFromCodedStream( | 1793 bool MergePartialFromCodedStream( |
2270 ::google::protobuf::io::CodedInputStream* input); | 1794 ::google::protobuf::io::CodedInputStream* input); |
2271 void SerializeWithCachedSizes( | 1795 void SerializeWithCachedSizes( |
2272 ::google::protobuf::io::CodedOutputStream* output) const; | 1796 ::google::protobuf::io::CodedOutputStream* output) const; |
2273 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 1797 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
2274 int GetCachedSize() const { return _cached_size_; } | 1798 int GetCachedSize() const { return _cached_size_; } |
2275 private: | 1799 private: |
2276 void SharedCtor(); | 1800 void SharedCtor(); |
2277 void SharedDtor(); | 1801 void SharedDtor(); |
2278 void SetCachedSize(int size) const; | 1802 void SetCachedSize(int size) const; |
2279 void InternalSwap(FieldOptions* other); | |
2280 private: | |
2281 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
2282 return _internal_metadata_.arena(); | |
2283 } | |
2284 inline void* MaybeArenaPtr() const { | |
2285 return _internal_metadata_.raw_arena_ptr(); | |
2286 } | |
2287 public: | 1803 public: |
2288 | 1804 |
2289 ::google::protobuf::Metadata GetMetadata() const; | 1805 ::google::protobuf::Metadata GetMetadata() const; |
2290 | 1806 |
2291 // nested types ---------------------------------------------------- | 1807 // nested types ---------------------------------------------------- |
2292 | 1808 |
2293 typedef FieldOptions_CType CType; | 1809 typedef FieldOptions_CType CType; |
2294 static const CType STRING = FieldOptions_CType_STRING; | 1810 static const CType STRING = FieldOptions_CType_STRING; |
2295 static const CType CORD = FieldOptions_CType_CORD; | 1811 static const CType CORD = FieldOptions_CType_CORD; |
2296 static const CType STRING_PIECE = FieldOptions_CType_STRING_PIECE; | 1812 static const CType STRING_PIECE = FieldOptions_CType_STRING_PIECE; |
(...skipping 11 matching lines...) Expand all Loading... |
2308 return FieldOptions_CType_descriptor(); | 1824 return FieldOptions_CType_descriptor(); |
2309 } | 1825 } |
2310 static inline const ::std::string& CType_Name(CType value) { | 1826 static inline const ::std::string& CType_Name(CType value) { |
2311 return FieldOptions_CType_Name(value); | 1827 return FieldOptions_CType_Name(value); |
2312 } | 1828 } |
2313 static inline bool CType_Parse(const ::std::string& name, | 1829 static inline bool CType_Parse(const ::std::string& name, |
2314 CType* value) { | 1830 CType* value) { |
2315 return FieldOptions_CType_Parse(name, value); | 1831 return FieldOptions_CType_Parse(name, value); |
2316 } | 1832 } |
2317 | 1833 |
2318 typedef FieldOptions_JSType JSType; | |
2319 static const JSType JS_NORMAL = FieldOptions_JSType_JS_NORMAL; | |
2320 static const JSType JS_STRING = FieldOptions_JSType_JS_STRING; | |
2321 static const JSType JS_NUMBER = FieldOptions_JSType_JS_NUMBER; | |
2322 static inline bool JSType_IsValid(int value) { | |
2323 return FieldOptions_JSType_IsValid(value); | |
2324 } | |
2325 static const JSType JSType_MIN = | |
2326 FieldOptions_JSType_JSType_MIN; | |
2327 static const JSType JSType_MAX = | |
2328 FieldOptions_JSType_JSType_MAX; | |
2329 static const int JSType_ARRAYSIZE = | |
2330 FieldOptions_JSType_JSType_ARRAYSIZE; | |
2331 static inline const ::google::protobuf::EnumDescriptor* | |
2332 JSType_descriptor() { | |
2333 return FieldOptions_JSType_descriptor(); | |
2334 } | |
2335 static inline const ::std::string& JSType_Name(JSType value) { | |
2336 return FieldOptions_JSType_Name(value); | |
2337 } | |
2338 static inline bool JSType_Parse(const ::std::string& name, | |
2339 JSType* value) { | |
2340 return FieldOptions_JSType_Parse(name, value); | |
2341 } | |
2342 | |
2343 // accessors ------------------------------------------------------- | 1834 // accessors ------------------------------------------------------- |
2344 | 1835 |
2345 // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; | 1836 // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; |
2346 bool has_ctype() const; | 1837 inline bool has_ctype() const; |
2347 void clear_ctype(); | 1838 inline void clear_ctype(); |
2348 static const int kCtypeFieldNumber = 1; | 1839 static const int kCtypeFieldNumber = 1; |
2349 ::google::protobuf::FieldOptions_CType ctype() const; | 1840 inline ::google::protobuf::FieldOptions_CType ctype() const; |
2350 void set_ctype(::google::protobuf::FieldOptions_CType value); | 1841 inline void set_ctype(::google::protobuf::FieldOptions_CType value); |
2351 | 1842 |
2352 // optional bool packed = 2; | 1843 // optional bool packed = 2; |
2353 bool has_packed() const; | 1844 inline bool has_packed() const; |
2354 void clear_packed(); | 1845 inline void clear_packed(); |
2355 static const int kPackedFieldNumber = 2; | 1846 static const int kPackedFieldNumber = 2; |
2356 bool packed() const; | 1847 inline bool packed() const; |
2357 void set_packed(bool value); | 1848 inline void set_packed(bool value); |
2358 | |
2359 // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORM
AL]; | |
2360 bool has_jstype() const; | |
2361 void clear_jstype(); | |
2362 static const int kJstypeFieldNumber = 6; | |
2363 ::google::protobuf::FieldOptions_JSType jstype() const; | |
2364 void set_jstype(::google::protobuf::FieldOptions_JSType value); | |
2365 | 1849 |
2366 // optional bool lazy = 5 [default = false]; | 1850 // optional bool lazy = 5 [default = false]; |
2367 bool has_lazy() const; | 1851 inline bool has_lazy() const; |
2368 void clear_lazy(); | 1852 inline void clear_lazy(); |
2369 static const int kLazyFieldNumber = 5; | 1853 static const int kLazyFieldNumber = 5; |
2370 bool lazy() const; | 1854 inline bool lazy() const; |
2371 void set_lazy(bool value); | 1855 inline void set_lazy(bool value); |
2372 | 1856 |
2373 // optional bool deprecated = 3 [default = false]; | 1857 // optional bool deprecated = 3 [default = false]; |
2374 bool has_deprecated() const; | 1858 inline bool has_deprecated() const; |
2375 void clear_deprecated(); | 1859 inline void clear_deprecated(); |
2376 static const int kDeprecatedFieldNumber = 3; | 1860 static const int kDeprecatedFieldNumber = 3; |
2377 bool deprecated() const; | 1861 inline bool deprecated() const; |
2378 void set_deprecated(bool value); | 1862 inline void set_deprecated(bool value); |
| 1863 |
| 1864 // optional string experimental_map_key = 9; |
| 1865 inline bool has_experimental_map_key() const; |
| 1866 inline void clear_experimental_map_key(); |
| 1867 static const int kExperimentalMapKeyFieldNumber = 9; |
| 1868 inline const ::std::string& experimental_map_key() const; |
| 1869 inline void set_experimental_map_key(const ::std::string& value); |
| 1870 inline void set_experimental_map_key(const char* value); |
| 1871 inline void set_experimental_map_key(const char* value, size_t size); |
| 1872 inline ::std::string* mutable_experimental_map_key(); |
| 1873 inline ::std::string* release_experimental_map_key(); |
| 1874 inline void set_allocated_experimental_map_key(::std::string* experimental_map
_key); |
2379 | 1875 |
2380 // optional bool weak = 10 [default = false]; | 1876 // optional bool weak = 10 [default = false]; |
2381 bool has_weak() const; | 1877 inline bool has_weak() const; |
2382 void clear_weak(); | 1878 inline void clear_weak(); |
2383 static const int kWeakFieldNumber = 10; | 1879 static const int kWeakFieldNumber = 10; |
2384 bool weak() const; | 1880 inline bool weak() const; |
2385 void set_weak(bool value); | 1881 inline void set_weak(bool value); |
2386 | 1882 |
2387 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 1883 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
2388 int uninterpreted_option_size() const; | 1884 inline int uninterpreted_option_size() const; |
2389 void clear_uninterpreted_option(); | 1885 inline void clear_uninterpreted_option(); |
2390 static const int kUninterpretedOptionFieldNumber = 999; | 1886 static const int kUninterpretedOptionFieldNumber = 999; |
2391 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; | 1887 inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int
index) const; |
2392 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 1888 inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(i
nt index); |
2393 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 1889 inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
2394 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 1890 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninter
pretedOption >& |
2395 uninterpreted_option() const; | 1891 uninterpreted_option() const; |
2396 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 1892 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpreted
Option >* |
2397 mutable_uninterpreted_option(); | 1893 mutable_uninterpreted_option(); |
2398 | 1894 |
2399 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions) | 1895 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions) |
2400 // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions) | 1896 // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions) |
2401 private: | 1897 private: |
2402 inline void set_has_ctype(); | 1898 inline void set_has_ctype(); |
2403 inline void clear_has_ctype(); | 1899 inline void clear_has_ctype(); |
2404 inline void set_has_packed(); | 1900 inline void set_has_packed(); |
2405 inline void clear_has_packed(); | 1901 inline void clear_has_packed(); |
2406 inline void set_has_jstype(); | |
2407 inline void clear_has_jstype(); | |
2408 inline void set_has_lazy(); | 1902 inline void set_has_lazy(); |
2409 inline void clear_has_lazy(); | 1903 inline void clear_has_lazy(); |
2410 inline void set_has_deprecated(); | 1904 inline void set_has_deprecated(); |
2411 inline void clear_has_deprecated(); | 1905 inline void clear_has_deprecated(); |
| 1906 inline void set_has_experimental_map_key(); |
| 1907 inline void clear_has_experimental_map_key(); |
2412 inline void set_has_weak(); | 1908 inline void set_has_weak(); |
2413 inline void clear_has_weak(); | 1909 inline void clear_has_weak(); |
2414 | 1910 |
2415 ::google::protobuf::internal::ExtensionSet _extensions_; | 1911 ::google::protobuf::internal::ExtensionSet _extensions_; |
2416 | 1912 |
2417 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 1913 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
2418 ::google::protobuf::uint32 _has_bits_[1]; | 1914 |
2419 mutable int _cached_size_; | |
2420 int ctype_; | 1915 int ctype_; |
2421 int jstype_; | |
2422 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | |
2423 bool packed_; | 1916 bool packed_; |
2424 bool lazy_; | 1917 bool lazy_; |
2425 bool deprecated_; | 1918 bool deprecated_; |
2426 bool weak_; | 1919 bool weak_; |
| 1920 ::std::string* experimental_map_key_; |
| 1921 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
| 1922 |
| 1923 mutable int _cached_size_; |
| 1924 ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32]; |
| 1925 |
2427 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 1926 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
2428 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 1927 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
2429 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 1928 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
2430 | 1929 |
2431 void InitAsDefaultInstance(); | 1930 void InitAsDefaultInstance(); |
2432 static FieldOptions* default_instance_; | 1931 static FieldOptions* default_instance_; |
2433 }; | 1932 }; |
2434 // ------------------------------------------------------------------- | 1933 // ------------------------------------------------------------------- |
2435 | 1934 |
2436 class LIBPROTOBUF_EXPORT EnumOptions : public ::google::protobuf::Message { | 1935 class LIBPROTOBUF_EXPORT EnumOptions : public ::google::protobuf::Message { |
2437 public: | 1936 public: |
2438 EnumOptions(); | 1937 EnumOptions(); |
2439 virtual ~EnumOptions(); | 1938 virtual ~EnumOptions(); |
2440 | 1939 |
2441 EnumOptions(const EnumOptions& from); | 1940 EnumOptions(const EnumOptions& from); |
2442 | 1941 |
2443 inline EnumOptions& operator=(const EnumOptions& from) { | 1942 inline EnumOptions& operator=(const EnumOptions& from) { |
2444 CopyFrom(from); | 1943 CopyFrom(from); |
2445 return *this; | 1944 return *this; |
2446 } | 1945 } |
2447 | 1946 |
2448 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 1947 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2449 return _internal_metadata_.unknown_fields(); | 1948 return _unknown_fields_; |
2450 } | 1949 } |
2451 | 1950 |
2452 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 1951 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2453 return _internal_metadata_.mutable_unknown_fields(); | 1952 return &_unknown_fields_; |
2454 } | 1953 } |
2455 | 1954 |
2456 static const ::google::protobuf::Descriptor* descriptor(); | 1955 static const ::google::protobuf::Descriptor* descriptor(); |
2457 static const EnumOptions& default_instance(); | 1956 static const EnumOptions& default_instance(); |
2458 | 1957 |
2459 void Swap(EnumOptions* other); | 1958 void Swap(EnumOptions* other); |
2460 | 1959 |
2461 // implements Message ---------------------------------------------- | 1960 // implements Message ---------------------------------------------- |
2462 | 1961 |
2463 inline EnumOptions* New() const { return New(NULL); } | 1962 EnumOptions* New() const; |
2464 | |
2465 EnumOptions* New(::google::protobuf::Arena* arena) const; | |
2466 void CopyFrom(const ::google::protobuf::Message& from); | 1963 void CopyFrom(const ::google::protobuf::Message& from); |
2467 void MergeFrom(const ::google::protobuf::Message& from); | 1964 void MergeFrom(const ::google::protobuf::Message& from); |
2468 void CopyFrom(const EnumOptions& from); | 1965 void CopyFrom(const EnumOptions& from); |
2469 void MergeFrom(const EnumOptions& from); | 1966 void MergeFrom(const EnumOptions& from); |
2470 void Clear(); | 1967 void Clear(); |
2471 bool IsInitialized() const; | 1968 bool IsInitialized() const; |
2472 | 1969 |
2473 int ByteSize() const; | 1970 int ByteSize() const; |
2474 bool MergePartialFromCodedStream( | 1971 bool MergePartialFromCodedStream( |
2475 ::google::protobuf::io::CodedInputStream* input); | 1972 ::google::protobuf::io::CodedInputStream* input); |
2476 void SerializeWithCachedSizes( | 1973 void SerializeWithCachedSizes( |
2477 ::google::protobuf::io::CodedOutputStream* output) const; | 1974 ::google::protobuf::io::CodedOutputStream* output) const; |
2478 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 1975 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
2479 int GetCachedSize() const { return _cached_size_; } | 1976 int GetCachedSize() const { return _cached_size_; } |
2480 private: | 1977 private: |
2481 void SharedCtor(); | 1978 void SharedCtor(); |
2482 void SharedDtor(); | 1979 void SharedDtor(); |
2483 void SetCachedSize(int size) const; | 1980 void SetCachedSize(int size) const; |
2484 void InternalSwap(EnumOptions* other); | |
2485 private: | |
2486 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
2487 return _internal_metadata_.arena(); | |
2488 } | |
2489 inline void* MaybeArenaPtr() const { | |
2490 return _internal_metadata_.raw_arena_ptr(); | |
2491 } | |
2492 public: | 1981 public: |
2493 | 1982 |
2494 ::google::protobuf::Metadata GetMetadata() const; | 1983 ::google::protobuf::Metadata GetMetadata() const; |
2495 | 1984 |
2496 // nested types ---------------------------------------------------- | 1985 // nested types ---------------------------------------------------- |
2497 | 1986 |
2498 // accessors ------------------------------------------------------- | 1987 // accessors ------------------------------------------------------- |
2499 | 1988 |
2500 // optional bool allow_alias = 2; | 1989 // optional bool allow_alias = 2 [default = true]; |
2501 bool has_allow_alias() const; | 1990 inline bool has_allow_alias() const; |
2502 void clear_allow_alias(); | 1991 inline void clear_allow_alias(); |
2503 static const int kAllowAliasFieldNumber = 2; | 1992 static const int kAllowAliasFieldNumber = 2; |
2504 bool allow_alias() const; | 1993 inline bool allow_alias() const; |
2505 void set_allow_alias(bool value); | 1994 inline void set_allow_alias(bool value); |
2506 | |
2507 // optional bool deprecated = 3 [default = false]; | |
2508 bool has_deprecated() const; | |
2509 void clear_deprecated(); | |
2510 static const int kDeprecatedFieldNumber = 3; | |
2511 bool deprecated() const; | |
2512 void set_deprecated(bool value); | |
2513 | 1995 |
2514 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 1996 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
2515 int uninterpreted_option_size() const; | 1997 inline int uninterpreted_option_size() const; |
2516 void clear_uninterpreted_option(); | 1998 inline void clear_uninterpreted_option(); |
2517 static const int kUninterpretedOptionFieldNumber = 999; | 1999 static const int kUninterpretedOptionFieldNumber = 999; |
2518 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; | 2000 inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int
index) const; |
2519 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 2001 inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(i
nt index); |
2520 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 2002 inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
2521 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 2003 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninter
pretedOption >& |
2522 uninterpreted_option() const; | 2004 uninterpreted_option() const; |
2523 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 2005 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpreted
Option >* |
2524 mutable_uninterpreted_option(); | 2006 mutable_uninterpreted_option(); |
2525 | 2007 |
2526 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions) | 2008 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions) |
2527 // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions) | 2009 // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions) |
2528 private: | 2010 private: |
2529 inline void set_has_allow_alias(); | 2011 inline void set_has_allow_alias(); |
2530 inline void clear_has_allow_alias(); | 2012 inline void clear_has_allow_alias(); |
2531 inline void set_has_deprecated(); | |
2532 inline void clear_has_deprecated(); | |
2533 | 2013 |
2534 ::google::protobuf::internal::ExtensionSet _extensions_; | 2014 ::google::protobuf::internal::ExtensionSet _extensions_; |
2535 | 2015 |
2536 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2016 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
2537 ::google::protobuf::uint32 _has_bits_[1]; | 2017 |
2538 mutable int _cached_size_; | |
2539 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | 2018 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
2540 bool allow_alias_; | 2019 bool allow_alias_; |
2541 bool deprecated_; | 2020 |
| 2021 mutable int _cached_size_; |
| 2022 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; |
| 2023 |
2542 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 2024 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
2543 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 2025 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
2544 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2026 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
2545 | 2027 |
2546 void InitAsDefaultInstance(); | 2028 void InitAsDefaultInstance(); |
2547 static EnumOptions* default_instance_; | 2029 static EnumOptions* default_instance_; |
2548 }; | 2030 }; |
2549 // ------------------------------------------------------------------- | 2031 // ------------------------------------------------------------------- |
2550 | 2032 |
2551 class LIBPROTOBUF_EXPORT EnumValueOptions : public ::google::protobuf::Message { | 2033 class LIBPROTOBUF_EXPORT EnumValueOptions : public ::google::protobuf::Message { |
2552 public: | 2034 public: |
2553 EnumValueOptions(); | 2035 EnumValueOptions(); |
2554 virtual ~EnumValueOptions(); | 2036 virtual ~EnumValueOptions(); |
2555 | 2037 |
2556 EnumValueOptions(const EnumValueOptions& from); | 2038 EnumValueOptions(const EnumValueOptions& from); |
2557 | 2039 |
2558 inline EnumValueOptions& operator=(const EnumValueOptions& from) { | 2040 inline EnumValueOptions& operator=(const EnumValueOptions& from) { |
2559 CopyFrom(from); | 2041 CopyFrom(from); |
2560 return *this; | 2042 return *this; |
2561 } | 2043 } |
2562 | 2044 |
2563 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 2045 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2564 return _internal_metadata_.unknown_fields(); | 2046 return _unknown_fields_; |
2565 } | 2047 } |
2566 | 2048 |
2567 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 2049 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2568 return _internal_metadata_.mutable_unknown_fields(); | 2050 return &_unknown_fields_; |
2569 } | 2051 } |
2570 | 2052 |
2571 static const ::google::protobuf::Descriptor* descriptor(); | 2053 static const ::google::protobuf::Descriptor* descriptor(); |
2572 static const EnumValueOptions& default_instance(); | 2054 static const EnumValueOptions& default_instance(); |
2573 | 2055 |
2574 void Swap(EnumValueOptions* other); | 2056 void Swap(EnumValueOptions* other); |
2575 | 2057 |
2576 // implements Message ---------------------------------------------- | 2058 // implements Message ---------------------------------------------- |
2577 | 2059 |
2578 inline EnumValueOptions* New() const { return New(NULL); } | 2060 EnumValueOptions* New() const; |
2579 | |
2580 EnumValueOptions* New(::google::protobuf::Arena* arena) const; | |
2581 void CopyFrom(const ::google::protobuf::Message& from); | 2061 void CopyFrom(const ::google::protobuf::Message& from); |
2582 void MergeFrom(const ::google::protobuf::Message& from); | 2062 void MergeFrom(const ::google::protobuf::Message& from); |
2583 void CopyFrom(const EnumValueOptions& from); | 2063 void CopyFrom(const EnumValueOptions& from); |
2584 void MergeFrom(const EnumValueOptions& from); | 2064 void MergeFrom(const EnumValueOptions& from); |
2585 void Clear(); | 2065 void Clear(); |
2586 bool IsInitialized() const; | 2066 bool IsInitialized() const; |
2587 | 2067 |
2588 int ByteSize() const; | 2068 int ByteSize() const; |
2589 bool MergePartialFromCodedStream( | 2069 bool MergePartialFromCodedStream( |
2590 ::google::protobuf::io::CodedInputStream* input); | 2070 ::google::protobuf::io::CodedInputStream* input); |
2591 void SerializeWithCachedSizes( | 2071 void SerializeWithCachedSizes( |
2592 ::google::protobuf::io::CodedOutputStream* output) const; | 2072 ::google::protobuf::io::CodedOutputStream* output) const; |
2593 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 2073 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
2594 int GetCachedSize() const { return _cached_size_; } | 2074 int GetCachedSize() const { return _cached_size_; } |
2595 private: | 2075 private: |
2596 void SharedCtor(); | 2076 void SharedCtor(); |
2597 void SharedDtor(); | 2077 void SharedDtor(); |
2598 void SetCachedSize(int size) const; | 2078 void SetCachedSize(int size) const; |
2599 void InternalSwap(EnumValueOptions* other); | |
2600 private: | |
2601 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
2602 return _internal_metadata_.arena(); | |
2603 } | |
2604 inline void* MaybeArenaPtr() const { | |
2605 return _internal_metadata_.raw_arena_ptr(); | |
2606 } | |
2607 public: | 2079 public: |
2608 | 2080 |
2609 ::google::protobuf::Metadata GetMetadata() const; | 2081 ::google::protobuf::Metadata GetMetadata() const; |
2610 | 2082 |
2611 // nested types ---------------------------------------------------- | 2083 // nested types ---------------------------------------------------- |
2612 | 2084 |
2613 // accessors ------------------------------------------------------- | 2085 // accessors ------------------------------------------------------- |
2614 | 2086 |
2615 // optional bool deprecated = 1 [default = false]; | |
2616 bool has_deprecated() const; | |
2617 void clear_deprecated(); | |
2618 static const int kDeprecatedFieldNumber = 1; | |
2619 bool deprecated() const; | |
2620 void set_deprecated(bool value); | |
2621 | |
2622 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 2087 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
2623 int uninterpreted_option_size() const; | 2088 inline int uninterpreted_option_size() const; |
2624 void clear_uninterpreted_option(); | 2089 inline void clear_uninterpreted_option(); |
2625 static const int kUninterpretedOptionFieldNumber = 999; | 2090 static const int kUninterpretedOptionFieldNumber = 999; |
2626 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; | 2091 inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int
index) const; |
2627 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 2092 inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(i
nt index); |
2628 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 2093 inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
2629 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 2094 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninter
pretedOption >& |
2630 uninterpreted_option() const; | 2095 uninterpreted_option() const; |
2631 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 2096 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpreted
Option >* |
2632 mutable_uninterpreted_option(); | 2097 mutable_uninterpreted_option(); |
2633 | 2098 |
2634 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions) | 2099 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions) |
2635 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions) | 2100 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions) |
2636 private: | 2101 private: |
2637 inline void set_has_deprecated(); | |
2638 inline void clear_has_deprecated(); | |
2639 | 2102 |
2640 ::google::protobuf::internal::ExtensionSet _extensions_; | 2103 ::google::protobuf::internal::ExtensionSet _extensions_; |
2641 | 2104 |
2642 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2105 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
2643 ::google::protobuf::uint32 _has_bits_[1]; | 2106 |
| 2107 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
| 2108 |
2644 mutable int _cached_size_; | 2109 mutable int _cached_size_; |
2645 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | 2110 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; |
2646 bool deprecated_; | 2111 |
2647 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 2112 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
2648 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 2113 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
2649 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2114 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
2650 | 2115 |
2651 void InitAsDefaultInstance(); | 2116 void InitAsDefaultInstance(); |
2652 static EnumValueOptions* default_instance_; | 2117 static EnumValueOptions* default_instance_; |
2653 }; | 2118 }; |
2654 // ------------------------------------------------------------------- | 2119 // ------------------------------------------------------------------- |
2655 | 2120 |
2656 class LIBPROTOBUF_EXPORT ServiceOptions : public ::google::protobuf::Message { | 2121 class LIBPROTOBUF_EXPORT ServiceOptions : public ::google::protobuf::Message { |
2657 public: | 2122 public: |
2658 ServiceOptions(); | 2123 ServiceOptions(); |
2659 virtual ~ServiceOptions(); | 2124 virtual ~ServiceOptions(); |
2660 | 2125 |
2661 ServiceOptions(const ServiceOptions& from); | 2126 ServiceOptions(const ServiceOptions& from); |
2662 | 2127 |
2663 inline ServiceOptions& operator=(const ServiceOptions& from) { | 2128 inline ServiceOptions& operator=(const ServiceOptions& from) { |
2664 CopyFrom(from); | 2129 CopyFrom(from); |
2665 return *this; | 2130 return *this; |
2666 } | 2131 } |
2667 | 2132 |
2668 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 2133 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2669 return _internal_metadata_.unknown_fields(); | 2134 return _unknown_fields_; |
2670 } | 2135 } |
2671 | 2136 |
2672 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 2137 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2673 return _internal_metadata_.mutable_unknown_fields(); | 2138 return &_unknown_fields_; |
2674 } | 2139 } |
2675 | 2140 |
2676 static const ::google::protobuf::Descriptor* descriptor(); | 2141 static const ::google::protobuf::Descriptor* descriptor(); |
2677 static const ServiceOptions& default_instance(); | 2142 static const ServiceOptions& default_instance(); |
2678 | 2143 |
2679 void Swap(ServiceOptions* other); | 2144 void Swap(ServiceOptions* other); |
2680 | 2145 |
2681 // implements Message ---------------------------------------------- | 2146 // implements Message ---------------------------------------------- |
2682 | 2147 |
2683 inline ServiceOptions* New() const { return New(NULL); } | 2148 ServiceOptions* New() const; |
2684 | |
2685 ServiceOptions* New(::google::protobuf::Arena* arena) const; | |
2686 void CopyFrom(const ::google::protobuf::Message& from); | 2149 void CopyFrom(const ::google::protobuf::Message& from); |
2687 void MergeFrom(const ::google::protobuf::Message& from); | 2150 void MergeFrom(const ::google::protobuf::Message& from); |
2688 void CopyFrom(const ServiceOptions& from); | 2151 void CopyFrom(const ServiceOptions& from); |
2689 void MergeFrom(const ServiceOptions& from); | 2152 void MergeFrom(const ServiceOptions& from); |
2690 void Clear(); | 2153 void Clear(); |
2691 bool IsInitialized() const; | 2154 bool IsInitialized() const; |
2692 | 2155 |
2693 int ByteSize() const; | 2156 int ByteSize() const; |
2694 bool MergePartialFromCodedStream( | 2157 bool MergePartialFromCodedStream( |
2695 ::google::protobuf::io::CodedInputStream* input); | 2158 ::google::protobuf::io::CodedInputStream* input); |
2696 void SerializeWithCachedSizes( | 2159 void SerializeWithCachedSizes( |
2697 ::google::protobuf::io::CodedOutputStream* output) const; | 2160 ::google::protobuf::io::CodedOutputStream* output) const; |
2698 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 2161 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
2699 int GetCachedSize() const { return _cached_size_; } | 2162 int GetCachedSize() const { return _cached_size_; } |
2700 private: | 2163 private: |
2701 void SharedCtor(); | 2164 void SharedCtor(); |
2702 void SharedDtor(); | 2165 void SharedDtor(); |
2703 void SetCachedSize(int size) const; | 2166 void SetCachedSize(int size) const; |
2704 void InternalSwap(ServiceOptions* other); | |
2705 private: | |
2706 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
2707 return _internal_metadata_.arena(); | |
2708 } | |
2709 inline void* MaybeArenaPtr() const { | |
2710 return _internal_metadata_.raw_arena_ptr(); | |
2711 } | |
2712 public: | 2167 public: |
2713 | 2168 |
2714 ::google::protobuf::Metadata GetMetadata() const; | 2169 ::google::protobuf::Metadata GetMetadata() const; |
2715 | 2170 |
2716 // nested types ---------------------------------------------------- | 2171 // nested types ---------------------------------------------------- |
2717 | 2172 |
2718 // accessors ------------------------------------------------------- | 2173 // accessors ------------------------------------------------------- |
2719 | 2174 |
2720 // optional bool deprecated = 33 [default = false]; | |
2721 bool has_deprecated() const; | |
2722 void clear_deprecated(); | |
2723 static const int kDeprecatedFieldNumber = 33; | |
2724 bool deprecated() const; | |
2725 void set_deprecated(bool value); | |
2726 | |
2727 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 2175 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
2728 int uninterpreted_option_size() const; | 2176 inline int uninterpreted_option_size() const; |
2729 void clear_uninterpreted_option(); | 2177 inline void clear_uninterpreted_option(); |
2730 static const int kUninterpretedOptionFieldNumber = 999; | 2178 static const int kUninterpretedOptionFieldNumber = 999; |
2731 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; | 2179 inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int
index) const; |
2732 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 2180 inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(i
nt index); |
2733 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 2181 inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
2734 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 2182 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninter
pretedOption >& |
2735 uninterpreted_option() const; | 2183 uninterpreted_option() const; |
2736 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 2184 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpreted
Option >* |
2737 mutable_uninterpreted_option(); | 2185 mutable_uninterpreted_option(); |
2738 | 2186 |
2739 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions) | 2187 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions) |
2740 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions) | 2188 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions) |
2741 private: | 2189 private: |
2742 inline void set_has_deprecated(); | |
2743 inline void clear_has_deprecated(); | |
2744 | 2190 |
2745 ::google::protobuf::internal::ExtensionSet _extensions_; | 2191 ::google::protobuf::internal::ExtensionSet _extensions_; |
2746 | 2192 |
2747 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2193 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
2748 ::google::protobuf::uint32 _has_bits_[1]; | 2194 |
| 2195 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
| 2196 |
2749 mutable int _cached_size_; | 2197 mutable int _cached_size_; |
2750 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | 2198 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; |
2751 bool deprecated_; | 2199 |
2752 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 2200 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
2753 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 2201 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
2754 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2202 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
2755 | 2203 |
2756 void InitAsDefaultInstance(); | 2204 void InitAsDefaultInstance(); |
2757 static ServiceOptions* default_instance_; | 2205 static ServiceOptions* default_instance_; |
2758 }; | 2206 }; |
2759 // ------------------------------------------------------------------- | 2207 // ------------------------------------------------------------------- |
2760 | 2208 |
2761 class LIBPROTOBUF_EXPORT MethodOptions : public ::google::protobuf::Message { | 2209 class LIBPROTOBUF_EXPORT MethodOptions : public ::google::protobuf::Message { |
2762 public: | 2210 public: |
2763 MethodOptions(); | 2211 MethodOptions(); |
2764 virtual ~MethodOptions(); | 2212 virtual ~MethodOptions(); |
2765 | 2213 |
2766 MethodOptions(const MethodOptions& from); | 2214 MethodOptions(const MethodOptions& from); |
2767 | 2215 |
2768 inline MethodOptions& operator=(const MethodOptions& from) { | 2216 inline MethodOptions& operator=(const MethodOptions& from) { |
2769 CopyFrom(from); | 2217 CopyFrom(from); |
2770 return *this; | 2218 return *this; |
2771 } | 2219 } |
2772 | 2220 |
2773 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 2221 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2774 return _internal_metadata_.unknown_fields(); | 2222 return _unknown_fields_; |
2775 } | 2223 } |
2776 | 2224 |
2777 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 2225 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2778 return _internal_metadata_.mutable_unknown_fields(); | 2226 return &_unknown_fields_; |
2779 } | 2227 } |
2780 | 2228 |
2781 static const ::google::protobuf::Descriptor* descriptor(); | 2229 static const ::google::protobuf::Descriptor* descriptor(); |
2782 static const MethodOptions& default_instance(); | 2230 static const MethodOptions& default_instance(); |
2783 | 2231 |
2784 void Swap(MethodOptions* other); | 2232 void Swap(MethodOptions* other); |
2785 | 2233 |
2786 // implements Message ---------------------------------------------- | 2234 // implements Message ---------------------------------------------- |
2787 | 2235 |
2788 inline MethodOptions* New() const { return New(NULL); } | 2236 MethodOptions* New() const; |
2789 | |
2790 MethodOptions* New(::google::protobuf::Arena* arena) const; | |
2791 void CopyFrom(const ::google::protobuf::Message& from); | 2237 void CopyFrom(const ::google::protobuf::Message& from); |
2792 void MergeFrom(const ::google::protobuf::Message& from); | 2238 void MergeFrom(const ::google::protobuf::Message& from); |
2793 void CopyFrom(const MethodOptions& from); | 2239 void CopyFrom(const MethodOptions& from); |
2794 void MergeFrom(const MethodOptions& from); | 2240 void MergeFrom(const MethodOptions& from); |
2795 void Clear(); | 2241 void Clear(); |
2796 bool IsInitialized() const; | 2242 bool IsInitialized() const; |
2797 | 2243 |
2798 int ByteSize() const; | 2244 int ByteSize() const; |
2799 bool MergePartialFromCodedStream( | 2245 bool MergePartialFromCodedStream( |
2800 ::google::protobuf::io::CodedInputStream* input); | 2246 ::google::protobuf::io::CodedInputStream* input); |
2801 void SerializeWithCachedSizes( | 2247 void SerializeWithCachedSizes( |
2802 ::google::protobuf::io::CodedOutputStream* output) const; | 2248 ::google::protobuf::io::CodedOutputStream* output) const; |
2803 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 2249 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
2804 int GetCachedSize() const { return _cached_size_; } | 2250 int GetCachedSize() const { return _cached_size_; } |
2805 private: | 2251 private: |
2806 void SharedCtor(); | 2252 void SharedCtor(); |
2807 void SharedDtor(); | 2253 void SharedDtor(); |
2808 void SetCachedSize(int size) const; | 2254 void SetCachedSize(int size) const; |
2809 void InternalSwap(MethodOptions* other); | |
2810 private: | |
2811 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
2812 return _internal_metadata_.arena(); | |
2813 } | |
2814 inline void* MaybeArenaPtr() const { | |
2815 return _internal_metadata_.raw_arena_ptr(); | |
2816 } | |
2817 public: | 2255 public: |
2818 | 2256 |
2819 ::google::protobuf::Metadata GetMetadata() const; | 2257 ::google::protobuf::Metadata GetMetadata() const; |
2820 | 2258 |
2821 // nested types ---------------------------------------------------- | 2259 // nested types ---------------------------------------------------- |
2822 | 2260 |
2823 // accessors ------------------------------------------------------- | 2261 // accessors ------------------------------------------------------- |
2824 | 2262 |
2825 // optional bool deprecated = 33 [default = false]; | |
2826 bool has_deprecated() const; | |
2827 void clear_deprecated(); | |
2828 static const int kDeprecatedFieldNumber = 33; | |
2829 bool deprecated() const; | |
2830 void set_deprecated(bool value); | |
2831 | |
2832 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 2263 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
2833 int uninterpreted_option_size() const; | 2264 inline int uninterpreted_option_size() const; |
2834 void clear_uninterpreted_option(); | 2265 inline void clear_uninterpreted_option(); |
2835 static const int kUninterpretedOptionFieldNumber = 999; | 2266 static const int kUninterpretedOptionFieldNumber = 999; |
2836 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; | 2267 inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int
index) const; |
2837 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 2268 inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(i
nt index); |
2838 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 2269 inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
2839 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 2270 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninter
pretedOption >& |
2840 uninterpreted_option() const; | 2271 uninterpreted_option() const; |
2841 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 2272 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpreted
Option >* |
2842 mutable_uninterpreted_option(); | 2273 mutable_uninterpreted_option(); |
2843 | 2274 |
2844 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions) | 2275 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions) |
2845 // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions) | 2276 // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions) |
2846 private: | 2277 private: |
2847 inline void set_has_deprecated(); | |
2848 inline void clear_has_deprecated(); | |
2849 | 2278 |
2850 ::google::protobuf::internal::ExtensionSet _extensions_; | 2279 ::google::protobuf::internal::ExtensionSet _extensions_; |
2851 | 2280 |
2852 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2281 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
2853 ::google::protobuf::uint32 _has_bits_[1]; | 2282 |
| 2283 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
| 2284 |
2854 mutable int _cached_size_; | 2285 mutable int _cached_size_; |
2855 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | 2286 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; |
2856 bool deprecated_; | 2287 |
2857 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 2288 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
2858 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 2289 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
2859 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2290 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
2860 | 2291 |
2861 void InitAsDefaultInstance(); | 2292 void InitAsDefaultInstance(); |
2862 static MethodOptions* default_instance_; | 2293 static MethodOptions* default_instance_; |
2863 }; | 2294 }; |
2864 // ------------------------------------------------------------------- | 2295 // ------------------------------------------------------------------- |
2865 | 2296 |
2866 class LIBPROTOBUF_EXPORT UninterpretedOption_NamePart : public ::google::protobu
f::Message { | 2297 class LIBPROTOBUF_EXPORT UninterpretedOption_NamePart : public ::google::protobu
f::Message { |
2867 public: | 2298 public: |
2868 UninterpretedOption_NamePart(); | 2299 UninterpretedOption_NamePart(); |
2869 virtual ~UninterpretedOption_NamePart(); | 2300 virtual ~UninterpretedOption_NamePart(); |
2870 | 2301 |
2871 UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from); | 2302 UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from); |
2872 | 2303 |
2873 inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NameP
art& from) { | 2304 inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NameP
art& from) { |
2874 CopyFrom(from); | 2305 CopyFrom(from); |
2875 return *this; | 2306 return *this; |
2876 } | 2307 } |
2877 | 2308 |
2878 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 2309 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2879 return _internal_metadata_.unknown_fields(); | 2310 return _unknown_fields_; |
2880 } | 2311 } |
2881 | 2312 |
2882 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 2313 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2883 return _internal_metadata_.mutable_unknown_fields(); | 2314 return &_unknown_fields_; |
2884 } | 2315 } |
2885 | 2316 |
2886 static const ::google::protobuf::Descriptor* descriptor(); | 2317 static const ::google::protobuf::Descriptor* descriptor(); |
2887 static const UninterpretedOption_NamePart& default_instance(); | 2318 static const UninterpretedOption_NamePart& default_instance(); |
2888 | 2319 |
2889 void Swap(UninterpretedOption_NamePart* other); | 2320 void Swap(UninterpretedOption_NamePart* other); |
2890 | 2321 |
2891 // implements Message ---------------------------------------------- | 2322 // implements Message ---------------------------------------------- |
2892 | 2323 |
2893 inline UninterpretedOption_NamePart* New() const { return New(NULL); } | 2324 UninterpretedOption_NamePart* New() const; |
2894 | |
2895 UninterpretedOption_NamePart* New(::google::protobuf::Arena* arena) const; | |
2896 void CopyFrom(const ::google::protobuf::Message& from); | 2325 void CopyFrom(const ::google::protobuf::Message& from); |
2897 void MergeFrom(const ::google::protobuf::Message& from); | 2326 void MergeFrom(const ::google::protobuf::Message& from); |
2898 void CopyFrom(const UninterpretedOption_NamePart& from); | 2327 void CopyFrom(const UninterpretedOption_NamePart& from); |
2899 void MergeFrom(const UninterpretedOption_NamePart& from); | 2328 void MergeFrom(const UninterpretedOption_NamePart& from); |
2900 void Clear(); | 2329 void Clear(); |
2901 bool IsInitialized() const; | 2330 bool IsInitialized() const; |
2902 | 2331 |
2903 int ByteSize() const; | 2332 int ByteSize() const; |
2904 bool MergePartialFromCodedStream( | 2333 bool MergePartialFromCodedStream( |
2905 ::google::protobuf::io::CodedInputStream* input); | 2334 ::google::protobuf::io::CodedInputStream* input); |
2906 void SerializeWithCachedSizes( | 2335 void SerializeWithCachedSizes( |
2907 ::google::protobuf::io::CodedOutputStream* output) const; | 2336 ::google::protobuf::io::CodedOutputStream* output) const; |
2908 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 2337 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
2909 int GetCachedSize() const { return _cached_size_; } | 2338 int GetCachedSize() const { return _cached_size_; } |
2910 private: | 2339 private: |
2911 void SharedCtor(); | 2340 void SharedCtor(); |
2912 void SharedDtor(); | 2341 void SharedDtor(); |
2913 void SetCachedSize(int size) const; | 2342 void SetCachedSize(int size) const; |
2914 void InternalSwap(UninterpretedOption_NamePart* other); | |
2915 private: | |
2916 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
2917 return _internal_metadata_.arena(); | |
2918 } | |
2919 inline void* MaybeArenaPtr() const { | |
2920 return _internal_metadata_.raw_arena_ptr(); | |
2921 } | |
2922 public: | 2343 public: |
2923 | 2344 |
2924 ::google::protobuf::Metadata GetMetadata() const; | 2345 ::google::protobuf::Metadata GetMetadata() const; |
2925 | 2346 |
2926 // nested types ---------------------------------------------------- | 2347 // nested types ---------------------------------------------------- |
2927 | 2348 |
2928 // accessors ------------------------------------------------------- | 2349 // accessors ------------------------------------------------------- |
2929 | 2350 |
2930 // required string name_part = 1; | 2351 // required string name_part = 1; |
2931 bool has_name_part() const; | 2352 inline bool has_name_part() const; |
2932 void clear_name_part(); | 2353 inline void clear_name_part(); |
2933 static const int kNamePartFieldNumber = 1; | 2354 static const int kNamePartFieldNumber = 1; |
2934 const ::std::string& name_part() const; | 2355 inline const ::std::string& name_part() const; |
2935 void set_name_part(const ::std::string& value); | 2356 inline void set_name_part(const ::std::string& value); |
2936 void set_name_part(const char* value); | 2357 inline void set_name_part(const char* value); |
2937 void set_name_part(const char* value, size_t size); | 2358 inline void set_name_part(const char* value, size_t size); |
2938 ::std::string* mutable_name_part(); | 2359 inline ::std::string* mutable_name_part(); |
2939 ::std::string* release_name_part(); | 2360 inline ::std::string* release_name_part(); |
2940 void set_allocated_name_part(::std::string* name_part); | 2361 inline void set_allocated_name_part(::std::string* name_part); |
2941 | 2362 |
2942 // required bool is_extension = 2; | 2363 // required bool is_extension = 2; |
2943 bool has_is_extension() const; | 2364 inline bool has_is_extension() const; |
2944 void clear_is_extension(); | 2365 inline void clear_is_extension(); |
2945 static const int kIsExtensionFieldNumber = 2; | 2366 static const int kIsExtensionFieldNumber = 2; |
2946 bool is_extension() const; | 2367 inline bool is_extension() const; |
2947 void set_is_extension(bool value); | 2368 inline void set_is_extension(bool value); |
2948 | 2369 |
2949 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.Na
mePart) | 2370 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.Na
mePart) |
2950 private: | 2371 private: |
2951 inline void set_has_name_part(); | 2372 inline void set_has_name_part(); |
2952 inline void clear_has_name_part(); | 2373 inline void clear_has_name_part(); |
2953 inline void set_has_is_extension(); | 2374 inline void set_has_is_extension(); |
2954 inline void clear_has_is_extension(); | 2375 inline void clear_has_is_extension(); |
2955 | 2376 |
2956 // helper for ByteSize() | 2377 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
2957 int RequiredFieldsByteSizeFallback() const; | |
2958 | 2378 |
2959 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2379 ::std::string* name_part_; |
2960 ::google::protobuf::uint32 _has_bits_[1]; | 2380 bool is_extension_; |
| 2381 |
2961 mutable int _cached_size_; | 2382 mutable int _cached_size_; |
2962 ::google::protobuf::internal::ArenaStringPtr name_part_; | 2383 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; |
2963 bool is_extension_; | 2384 |
2964 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 2385 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
2965 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 2386 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
2966 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2387 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
2967 | 2388 |
2968 void InitAsDefaultInstance(); | 2389 void InitAsDefaultInstance(); |
2969 static UninterpretedOption_NamePart* default_instance_; | 2390 static UninterpretedOption_NamePart* default_instance_; |
2970 }; | 2391 }; |
2971 // ------------------------------------------------------------------- | 2392 // ------------------------------------------------------------------- |
2972 | 2393 |
2973 class LIBPROTOBUF_EXPORT UninterpretedOption : public ::google::protobuf::Messag
e { | 2394 class LIBPROTOBUF_EXPORT UninterpretedOption : public ::google::protobuf::Messag
e { |
2974 public: | 2395 public: |
2975 UninterpretedOption(); | 2396 UninterpretedOption(); |
2976 virtual ~UninterpretedOption(); | 2397 virtual ~UninterpretedOption(); |
2977 | 2398 |
2978 UninterpretedOption(const UninterpretedOption& from); | 2399 UninterpretedOption(const UninterpretedOption& from); |
2979 | 2400 |
2980 inline UninterpretedOption& operator=(const UninterpretedOption& from) { | 2401 inline UninterpretedOption& operator=(const UninterpretedOption& from) { |
2981 CopyFrom(from); | 2402 CopyFrom(from); |
2982 return *this; | 2403 return *this; |
2983 } | 2404 } |
2984 | 2405 |
2985 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 2406 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2986 return _internal_metadata_.unknown_fields(); | 2407 return _unknown_fields_; |
2987 } | 2408 } |
2988 | 2409 |
2989 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 2410 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2990 return _internal_metadata_.mutable_unknown_fields(); | 2411 return &_unknown_fields_; |
2991 } | 2412 } |
2992 | 2413 |
2993 static const ::google::protobuf::Descriptor* descriptor(); | 2414 static const ::google::protobuf::Descriptor* descriptor(); |
2994 static const UninterpretedOption& default_instance(); | 2415 static const UninterpretedOption& default_instance(); |
2995 | 2416 |
2996 void Swap(UninterpretedOption* other); | 2417 void Swap(UninterpretedOption* other); |
2997 | 2418 |
2998 // implements Message ---------------------------------------------- | 2419 // implements Message ---------------------------------------------- |
2999 | 2420 |
3000 inline UninterpretedOption* New() const { return New(NULL); } | 2421 UninterpretedOption* New() const; |
3001 | |
3002 UninterpretedOption* New(::google::protobuf::Arena* arena) const; | |
3003 void CopyFrom(const ::google::protobuf::Message& from); | 2422 void CopyFrom(const ::google::protobuf::Message& from); |
3004 void MergeFrom(const ::google::protobuf::Message& from); | 2423 void MergeFrom(const ::google::protobuf::Message& from); |
3005 void CopyFrom(const UninterpretedOption& from); | 2424 void CopyFrom(const UninterpretedOption& from); |
3006 void MergeFrom(const UninterpretedOption& from); | 2425 void MergeFrom(const UninterpretedOption& from); |
3007 void Clear(); | 2426 void Clear(); |
3008 bool IsInitialized() const; | 2427 bool IsInitialized() const; |
3009 | 2428 |
3010 int ByteSize() const; | 2429 int ByteSize() const; |
3011 bool MergePartialFromCodedStream( | 2430 bool MergePartialFromCodedStream( |
3012 ::google::protobuf::io::CodedInputStream* input); | 2431 ::google::protobuf::io::CodedInputStream* input); |
3013 void SerializeWithCachedSizes( | 2432 void SerializeWithCachedSizes( |
3014 ::google::protobuf::io::CodedOutputStream* output) const; | 2433 ::google::protobuf::io::CodedOutputStream* output) const; |
3015 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 2434 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
3016 int GetCachedSize() const { return _cached_size_; } | 2435 int GetCachedSize() const { return _cached_size_; } |
3017 private: | 2436 private: |
3018 void SharedCtor(); | 2437 void SharedCtor(); |
3019 void SharedDtor(); | 2438 void SharedDtor(); |
3020 void SetCachedSize(int size) const; | 2439 void SetCachedSize(int size) const; |
3021 void InternalSwap(UninterpretedOption* other); | |
3022 private: | |
3023 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
3024 return _internal_metadata_.arena(); | |
3025 } | |
3026 inline void* MaybeArenaPtr() const { | |
3027 return _internal_metadata_.raw_arena_ptr(); | |
3028 } | |
3029 public: | 2440 public: |
3030 | 2441 |
3031 ::google::protobuf::Metadata GetMetadata() const; | 2442 ::google::protobuf::Metadata GetMetadata() const; |
3032 | 2443 |
3033 // nested types ---------------------------------------------------- | 2444 // nested types ---------------------------------------------------- |
3034 | 2445 |
3035 typedef UninterpretedOption_NamePart NamePart; | 2446 typedef UninterpretedOption_NamePart NamePart; |
3036 | 2447 |
3037 // accessors ------------------------------------------------------- | 2448 // accessors ------------------------------------------------------- |
3038 | 2449 |
3039 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; | 2450 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
3040 int name_size() const; | 2451 inline int name_size() const; |
3041 void clear_name(); | 2452 inline void clear_name(); |
3042 static const int kNameFieldNumber = 2; | 2453 static const int kNameFieldNumber = 2; |
3043 const ::google::protobuf::UninterpretedOption_NamePart& name(int index) const; | 2454 inline const ::google::protobuf::UninterpretedOption_NamePart& name(int index)
const; |
3044 ::google::protobuf::UninterpretedOption_NamePart* mutable_name(int index); | 2455 inline ::google::protobuf::UninterpretedOption_NamePart* mutable_name(int inde
x); |
3045 ::google::protobuf::UninterpretedOption_NamePart* add_name(); | 2456 inline ::google::protobuf::UninterpretedOption_NamePart* add_name(); |
3046 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption_NamePart >& | 2457 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninter
pretedOption_NamePart >& |
3047 name() const; | 2458 name() const; |
3048 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_
NamePart >* | 2459 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpreted
Option_NamePart >* |
3049 mutable_name(); | 2460 mutable_name(); |
3050 | 2461 |
3051 // optional string identifier_value = 3; | 2462 // optional string identifier_value = 3; |
3052 bool has_identifier_value() const; | 2463 inline bool has_identifier_value() const; |
3053 void clear_identifier_value(); | 2464 inline void clear_identifier_value(); |
3054 static const int kIdentifierValueFieldNumber = 3; | 2465 static const int kIdentifierValueFieldNumber = 3; |
3055 const ::std::string& identifier_value() const; | 2466 inline const ::std::string& identifier_value() const; |
3056 void set_identifier_value(const ::std::string& value); | 2467 inline void set_identifier_value(const ::std::string& value); |
3057 void set_identifier_value(const char* value); | 2468 inline void set_identifier_value(const char* value); |
3058 void set_identifier_value(const char* value, size_t size); | 2469 inline void set_identifier_value(const char* value, size_t size); |
3059 ::std::string* mutable_identifier_value(); | 2470 inline ::std::string* mutable_identifier_value(); |
3060 ::std::string* release_identifier_value(); | 2471 inline ::std::string* release_identifier_value(); |
3061 void set_allocated_identifier_value(::std::string* identifier_value); | 2472 inline void set_allocated_identifier_value(::std::string* identifier_value); |
3062 | 2473 |
3063 // optional uint64 positive_int_value = 4; | 2474 // optional uint64 positive_int_value = 4; |
3064 bool has_positive_int_value() const; | 2475 inline bool has_positive_int_value() const; |
3065 void clear_positive_int_value(); | 2476 inline void clear_positive_int_value(); |
3066 static const int kPositiveIntValueFieldNumber = 4; | 2477 static const int kPositiveIntValueFieldNumber = 4; |
3067 ::google::protobuf::uint64 positive_int_value() const; | 2478 inline ::google::protobuf::uint64 positive_int_value() const; |
3068 void set_positive_int_value(::google::protobuf::uint64 value); | 2479 inline void set_positive_int_value(::google::protobuf::uint64 value); |
3069 | 2480 |
3070 // optional int64 negative_int_value = 5; | 2481 // optional int64 negative_int_value = 5; |
3071 bool has_negative_int_value() const; | 2482 inline bool has_negative_int_value() const; |
3072 void clear_negative_int_value(); | 2483 inline void clear_negative_int_value(); |
3073 static const int kNegativeIntValueFieldNumber = 5; | 2484 static const int kNegativeIntValueFieldNumber = 5; |
3074 ::google::protobuf::int64 negative_int_value() const; | 2485 inline ::google::protobuf::int64 negative_int_value() const; |
3075 void set_negative_int_value(::google::protobuf::int64 value); | 2486 inline void set_negative_int_value(::google::protobuf::int64 value); |
3076 | 2487 |
3077 // optional double double_value = 6; | 2488 // optional double double_value = 6; |
3078 bool has_double_value() const; | 2489 inline bool has_double_value() const; |
3079 void clear_double_value(); | 2490 inline void clear_double_value(); |
3080 static const int kDoubleValueFieldNumber = 6; | 2491 static const int kDoubleValueFieldNumber = 6; |
3081 double double_value() const; | 2492 inline double double_value() const; |
3082 void set_double_value(double value); | 2493 inline void set_double_value(double value); |
3083 | 2494 |
3084 // optional bytes string_value = 7; | 2495 // optional bytes string_value = 7; |
3085 bool has_string_value() const; | 2496 inline bool has_string_value() const; |
3086 void clear_string_value(); | 2497 inline void clear_string_value(); |
3087 static const int kStringValueFieldNumber = 7; | 2498 static const int kStringValueFieldNumber = 7; |
3088 const ::std::string& string_value() const; | 2499 inline const ::std::string& string_value() const; |
3089 void set_string_value(const ::std::string& value); | 2500 inline void set_string_value(const ::std::string& value); |
3090 void set_string_value(const char* value); | 2501 inline void set_string_value(const char* value); |
3091 void set_string_value(const void* value, size_t size); | 2502 inline void set_string_value(const void* value, size_t size); |
3092 ::std::string* mutable_string_value(); | 2503 inline ::std::string* mutable_string_value(); |
3093 ::std::string* release_string_value(); | 2504 inline ::std::string* release_string_value(); |
3094 void set_allocated_string_value(::std::string* string_value); | 2505 inline void set_allocated_string_value(::std::string* string_value); |
3095 | 2506 |
3096 // optional string aggregate_value = 8; | 2507 // optional string aggregate_value = 8; |
3097 bool has_aggregate_value() const; | 2508 inline bool has_aggregate_value() const; |
3098 void clear_aggregate_value(); | 2509 inline void clear_aggregate_value(); |
3099 static const int kAggregateValueFieldNumber = 8; | 2510 static const int kAggregateValueFieldNumber = 8; |
3100 const ::std::string& aggregate_value() const; | 2511 inline const ::std::string& aggregate_value() const; |
3101 void set_aggregate_value(const ::std::string& value); | 2512 inline void set_aggregate_value(const ::std::string& value); |
3102 void set_aggregate_value(const char* value); | 2513 inline void set_aggregate_value(const char* value); |
3103 void set_aggregate_value(const char* value, size_t size); | 2514 inline void set_aggregate_value(const char* value, size_t size); |
3104 ::std::string* mutable_aggregate_value(); | 2515 inline ::std::string* mutable_aggregate_value(); |
3105 ::std::string* release_aggregate_value(); | 2516 inline ::std::string* release_aggregate_value(); |
3106 void set_allocated_aggregate_value(::std::string* aggregate_value); | 2517 inline void set_allocated_aggregate_value(::std::string* aggregate_value); |
3107 | 2518 |
3108 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption) | 2519 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption) |
3109 private: | 2520 private: |
3110 inline void set_has_identifier_value(); | 2521 inline void set_has_identifier_value(); |
3111 inline void clear_has_identifier_value(); | 2522 inline void clear_has_identifier_value(); |
3112 inline void set_has_positive_int_value(); | 2523 inline void set_has_positive_int_value(); |
3113 inline void clear_has_positive_int_value(); | 2524 inline void clear_has_positive_int_value(); |
3114 inline void set_has_negative_int_value(); | 2525 inline void set_has_negative_int_value(); |
3115 inline void clear_has_negative_int_value(); | 2526 inline void clear_has_negative_int_value(); |
3116 inline void set_has_double_value(); | 2527 inline void set_has_double_value(); |
3117 inline void clear_has_double_value(); | 2528 inline void clear_has_double_value(); |
3118 inline void set_has_string_value(); | 2529 inline void set_has_string_value(); |
3119 inline void clear_has_string_value(); | 2530 inline void clear_has_string_value(); |
3120 inline void set_has_aggregate_value(); | 2531 inline void set_has_aggregate_value(); |
3121 inline void clear_has_aggregate_value(); | 2532 inline void clear_has_aggregate_value(); |
3122 | 2533 |
3123 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2534 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
3124 ::google::protobuf::uint32 _has_bits_[1]; | 2535 |
3125 mutable int _cached_size_; | |
3126 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_
NamePart > name_; | 2536 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_
NamePart > name_; |
3127 ::google::protobuf::internal::ArenaStringPtr identifier_value_; | 2537 ::std::string* identifier_value_; |
3128 ::google::protobuf::uint64 positive_int_value_; | 2538 ::google::protobuf::uint64 positive_int_value_; |
3129 ::google::protobuf::int64 negative_int_value_; | 2539 ::google::protobuf::int64 negative_int_value_; |
3130 double double_value_; | 2540 double double_value_; |
3131 ::google::protobuf::internal::ArenaStringPtr string_value_; | 2541 ::std::string* string_value_; |
3132 ::google::protobuf::internal::ArenaStringPtr aggregate_value_; | 2542 ::std::string* aggregate_value_; |
| 2543 |
| 2544 mutable int _cached_size_; |
| 2545 ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32]; |
| 2546 |
3133 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 2547 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
3134 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 2548 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
3135 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2549 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
3136 | 2550 |
3137 void InitAsDefaultInstance(); | 2551 void InitAsDefaultInstance(); |
3138 static UninterpretedOption* default_instance_; | 2552 static UninterpretedOption* default_instance_; |
3139 }; | 2553 }; |
3140 // ------------------------------------------------------------------- | 2554 // ------------------------------------------------------------------- |
3141 | 2555 |
3142 class LIBPROTOBUF_EXPORT SourceCodeInfo_Location : public ::google::protobuf::Me
ssage { | 2556 class LIBPROTOBUF_EXPORT SourceCodeInfo_Location : public ::google::protobuf::Me
ssage { |
3143 public: | 2557 public: |
3144 SourceCodeInfo_Location(); | 2558 SourceCodeInfo_Location(); |
3145 virtual ~SourceCodeInfo_Location(); | 2559 virtual ~SourceCodeInfo_Location(); |
3146 | 2560 |
3147 SourceCodeInfo_Location(const SourceCodeInfo_Location& from); | 2561 SourceCodeInfo_Location(const SourceCodeInfo_Location& from); |
3148 | 2562 |
3149 inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from)
{ | 2563 inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from)
{ |
3150 CopyFrom(from); | 2564 CopyFrom(from); |
3151 return *this; | 2565 return *this; |
3152 } | 2566 } |
3153 | 2567 |
3154 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 2568 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3155 return _internal_metadata_.unknown_fields(); | 2569 return _unknown_fields_; |
3156 } | 2570 } |
3157 | 2571 |
3158 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 2572 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3159 return _internal_metadata_.mutable_unknown_fields(); | 2573 return &_unknown_fields_; |
3160 } | 2574 } |
3161 | 2575 |
3162 static const ::google::protobuf::Descriptor* descriptor(); | 2576 static const ::google::protobuf::Descriptor* descriptor(); |
3163 static const SourceCodeInfo_Location& default_instance(); | 2577 static const SourceCodeInfo_Location& default_instance(); |
3164 | 2578 |
3165 void Swap(SourceCodeInfo_Location* other); | 2579 void Swap(SourceCodeInfo_Location* other); |
3166 | 2580 |
3167 // implements Message ---------------------------------------------- | 2581 // implements Message ---------------------------------------------- |
3168 | 2582 |
3169 inline SourceCodeInfo_Location* New() const { return New(NULL); } | 2583 SourceCodeInfo_Location* New() const; |
3170 | |
3171 SourceCodeInfo_Location* New(::google::protobuf::Arena* arena) const; | |
3172 void CopyFrom(const ::google::protobuf::Message& from); | 2584 void CopyFrom(const ::google::protobuf::Message& from); |
3173 void MergeFrom(const ::google::protobuf::Message& from); | 2585 void MergeFrom(const ::google::protobuf::Message& from); |
3174 void CopyFrom(const SourceCodeInfo_Location& from); | 2586 void CopyFrom(const SourceCodeInfo_Location& from); |
3175 void MergeFrom(const SourceCodeInfo_Location& from); | 2587 void MergeFrom(const SourceCodeInfo_Location& from); |
3176 void Clear(); | 2588 void Clear(); |
3177 bool IsInitialized() const; | 2589 bool IsInitialized() const; |
3178 | 2590 |
3179 int ByteSize() const; | 2591 int ByteSize() const; |
3180 bool MergePartialFromCodedStream( | 2592 bool MergePartialFromCodedStream( |
3181 ::google::protobuf::io::CodedInputStream* input); | 2593 ::google::protobuf::io::CodedInputStream* input); |
3182 void SerializeWithCachedSizes( | 2594 void SerializeWithCachedSizes( |
3183 ::google::protobuf::io::CodedOutputStream* output) const; | 2595 ::google::protobuf::io::CodedOutputStream* output) const; |
3184 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 2596 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
3185 int GetCachedSize() const { return _cached_size_; } | 2597 int GetCachedSize() const { return _cached_size_; } |
3186 private: | 2598 private: |
3187 void SharedCtor(); | 2599 void SharedCtor(); |
3188 void SharedDtor(); | 2600 void SharedDtor(); |
3189 void SetCachedSize(int size) const; | 2601 void SetCachedSize(int size) const; |
3190 void InternalSwap(SourceCodeInfo_Location* other); | |
3191 private: | |
3192 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
3193 return _internal_metadata_.arena(); | |
3194 } | |
3195 inline void* MaybeArenaPtr() const { | |
3196 return _internal_metadata_.raw_arena_ptr(); | |
3197 } | |
3198 public: | 2602 public: |
3199 | 2603 |
3200 ::google::protobuf::Metadata GetMetadata() const; | 2604 ::google::protobuf::Metadata GetMetadata() const; |
3201 | 2605 |
3202 // nested types ---------------------------------------------------- | 2606 // nested types ---------------------------------------------------- |
3203 | 2607 |
3204 // accessors ------------------------------------------------------- | 2608 // accessors ------------------------------------------------------- |
3205 | 2609 |
3206 // repeated int32 path = 1 [packed = true]; | 2610 // repeated int32 path = 1 [packed = true]; |
3207 int path_size() const; | 2611 inline int path_size() const; |
3208 void clear_path(); | 2612 inline void clear_path(); |
3209 static const int kPathFieldNumber = 1; | 2613 static const int kPathFieldNumber = 1; |
3210 ::google::protobuf::int32 path(int index) const; | 2614 inline ::google::protobuf::int32 path(int index) const; |
3211 void set_path(int index, ::google::protobuf::int32 value); | 2615 inline void set_path(int index, ::google::protobuf::int32 value); |
3212 void add_path(::google::protobuf::int32 value); | 2616 inline void add_path(::google::protobuf::int32 value); |
3213 const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& | 2617 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
3214 path() const; | 2618 path() const; |
3215 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* | 2619 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
3216 mutable_path(); | 2620 mutable_path(); |
3217 | 2621 |
3218 // repeated int32 span = 2 [packed = true]; | 2622 // repeated int32 span = 2 [packed = true]; |
3219 int span_size() const; | 2623 inline int span_size() const; |
3220 void clear_span(); | 2624 inline void clear_span(); |
3221 static const int kSpanFieldNumber = 2; | 2625 static const int kSpanFieldNumber = 2; |
3222 ::google::protobuf::int32 span(int index) const; | 2626 inline ::google::protobuf::int32 span(int index) const; |
3223 void set_span(int index, ::google::protobuf::int32 value); | 2627 inline void set_span(int index, ::google::protobuf::int32 value); |
3224 void add_span(::google::protobuf::int32 value); | 2628 inline void add_span(::google::protobuf::int32 value); |
3225 const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& | 2629 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
3226 span() const; | 2630 span() const; |
3227 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* | 2631 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
3228 mutable_span(); | 2632 mutable_span(); |
3229 | 2633 |
3230 // optional string leading_comments = 3; | 2634 // optional string leading_comments = 3; |
3231 bool has_leading_comments() const; | 2635 inline bool has_leading_comments() const; |
3232 void clear_leading_comments(); | 2636 inline void clear_leading_comments(); |
3233 static const int kLeadingCommentsFieldNumber = 3; | 2637 static const int kLeadingCommentsFieldNumber = 3; |
3234 const ::std::string& leading_comments() const; | 2638 inline const ::std::string& leading_comments() const; |
3235 void set_leading_comments(const ::std::string& value); | 2639 inline void set_leading_comments(const ::std::string& value); |
3236 void set_leading_comments(const char* value); | 2640 inline void set_leading_comments(const char* value); |
3237 void set_leading_comments(const char* value, size_t size); | 2641 inline void set_leading_comments(const char* value, size_t size); |
3238 ::std::string* mutable_leading_comments(); | 2642 inline ::std::string* mutable_leading_comments(); |
3239 ::std::string* release_leading_comments(); | 2643 inline ::std::string* release_leading_comments(); |
3240 void set_allocated_leading_comments(::std::string* leading_comments); | 2644 inline void set_allocated_leading_comments(::std::string* leading_comments); |
3241 | 2645 |
3242 // optional string trailing_comments = 4; | 2646 // optional string trailing_comments = 4; |
3243 bool has_trailing_comments() const; | 2647 inline bool has_trailing_comments() const; |
3244 void clear_trailing_comments(); | 2648 inline void clear_trailing_comments(); |
3245 static const int kTrailingCommentsFieldNumber = 4; | 2649 static const int kTrailingCommentsFieldNumber = 4; |
3246 const ::std::string& trailing_comments() const; | 2650 inline const ::std::string& trailing_comments() const; |
3247 void set_trailing_comments(const ::std::string& value); | 2651 inline void set_trailing_comments(const ::std::string& value); |
3248 void set_trailing_comments(const char* value); | 2652 inline void set_trailing_comments(const char* value); |
3249 void set_trailing_comments(const char* value, size_t size); | 2653 inline void set_trailing_comments(const char* value, size_t size); |
3250 ::std::string* mutable_trailing_comments(); | 2654 inline ::std::string* mutable_trailing_comments(); |
3251 ::std::string* release_trailing_comments(); | 2655 inline ::std::string* release_trailing_comments(); |
3252 void set_allocated_trailing_comments(::std::string* trailing_comments); | 2656 inline void set_allocated_trailing_comments(::std::string* trailing_comments); |
3253 | |
3254 // repeated string leading_detached_comments = 6; | |
3255 int leading_detached_comments_size() const; | |
3256 void clear_leading_detached_comments(); | |
3257 static const int kLeadingDetachedCommentsFieldNumber = 6; | |
3258 const ::std::string& leading_detached_comments(int index) const; | |
3259 ::std::string* mutable_leading_detached_comments(int index); | |
3260 void set_leading_detached_comments(int index, const ::std::string& value); | |
3261 void set_leading_detached_comments(int index, const char* value); | |
3262 void set_leading_detached_comments(int index, const char* value, size_t size); | |
3263 ::std::string* add_leading_detached_comments(); | |
3264 void add_leading_detached_comments(const ::std::string& value); | |
3265 void add_leading_detached_comments(const char* value); | |
3266 void add_leading_detached_comments(const char* value, size_t size); | |
3267 const ::google::protobuf::RepeatedPtrField< ::std::string>& leading_detached_c
omments() const; | |
3268 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_leading_detached
_comments(); | |
3269 | 2657 |
3270 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Locatio
n) | 2658 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Locatio
n) |
3271 private: | 2659 private: |
3272 inline void set_has_leading_comments(); | 2660 inline void set_has_leading_comments(); |
3273 inline void clear_has_leading_comments(); | 2661 inline void clear_has_leading_comments(); |
3274 inline void set_has_trailing_comments(); | 2662 inline void set_has_trailing_comments(); |
3275 inline void clear_has_trailing_comments(); | 2663 inline void clear_has_trailing_comments(); |
3276 | 2664 |
3277 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2665 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
3278 ::google::protobuf::uint32 _has_bits_[1]; | 2666 |
3279 mutable int _cached_size_; | |
3280 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_; | 2667 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_; |
3281 mutable int _path_cached_byte_size_; | 2668 mutable int _path_cached_byte_size_; |
3282 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > span_; | 2669 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > span_; |
3283 mutable int _span_cached_byte_size_; | 2670 mutable int _span_cached_byte_size_; |
3284 ::google::protobuf::internal::ArenaStringPtr leading_comments_; | 2671 ::std::string* leading_comments_; |
3285 ::google::protobuf::internal::ArenaStringPtr trailing_comments_; | 2672 ::std::string* trailing_comments_; |
3286 ::google::protobuf::RepeatedPtrField< ::std::string> leading_detached_comments
_; | 2673 |
| 2674 mutable int _cached_size_; |
| 2675 ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; |
| 2676 |
3287 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 2677 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
3288 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 2678 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
3289 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2679 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
3290 | 2680 |
3291 void InitAsDefaultInstance(); | 2681 void InitAsDefaultInstance(); |
3292 static SourceCodeInfo_Location* default_instance_; | 2682 static SourceCodeInfo_Location* default_instance_; |
3293 }; | 2683 }; |
3294 // ------------------------------------------------------------------- | 2684 // ------------------------------------------------------------------- |
3295 | 2685 |
3296 class LIBPROTOBUF_EXPORT SourceCodeInfo : public ::google::protobuf::Message { | 2686 class LIBPROTOBUF_EXPORT SourceCodeInfo : public ::google::protobuf::Message { |
3297 public: | 2687 public: |
3298 SourceCodeInfo(); | 2688 SourceCodeInfo(); |
3299 virtual ~SourceCodeInfo(); | 2689 virtual ~SourceCodeInfo(); |
3300 | 2690 |
3301 SourceCodeInfo(const SourceCodeInfo& from); | 2691 SourceCodeInfo(const SourceCodeInfo& from); |
3302 | 2692 |
3303 inline SourceCodeInfo& operator=(const SourceCodeInfo& from) { | 2693 inline SourceCodeInfo& operator=(const SourceCodeInfo& from) { |
3304 CopyFrom(from); | 2694 CopyFrom(from); |
3305 return *this; | 2695 return *this; |
3306 } | 2696 } |
3307 | 2697 |
3308 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 2698 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3309 return _internal_metadata_.unknown_fields(); | 2699 return _unknown_fields_; |
3310 } | 2700 } |
3311 | 2701 |
3312 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 2702 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3313 return _internal_metadata_.mutable_unknown_fields(); | 2703 return &_unknown_fields_; |
3314 } | 2704 } |
3315 | 2705 |
3316 static const ::google::protobuf::Descriptor* descriptor(); | 2706 static const ::google::protobuf::Descriptor* descriptor(); |
3317 static const SourceCodeInfo& default_instance(); | 2707 static const SourceCodeInfo& default_instance(); |
3318 | 2708 |
3319 void Swap(SourceCodeInfo* other); | 2709 void Swap(SourceCodeInfo* other); |
3320 | 2710 |
3321 // implements Message ---------------------------------------------- | 2711 // implements Message ---------------------------------------------- |
3322 | 2712 |
3323 inline SourceCodeInfo* New() const { return New(NULL); } | 2713 SourceCodeInfo* New() const; |
3324 | |
3325 SourceCodeInfo* New(::google::protobuf::Arena* arena) const; | |
3326 void CopyFrom(const ::google::protobuf::Message& from); | 2714 void CopyFrom(const ::google::protobuf::Message& from); |
3327 void MergeFrom(const ::google::protobuf::Message& from); | 2715 void MergeFrom(const ::google::protobuf::Message& from); |
3328 void CopyFrom(const SourceCodeInfo& from); | 2716 void CopyFrom(const SourceCodeInfo& from); |
3329 void MergeFrom(const SourceCodeInfo& from); | 2717 void MergeFrom(const SourceCodeInfo& from); |
3330 void Clear(); | 2718 void Clear(); |
3331 bool IsInitialized() const; | 2719 bool IsInitialized() const; |
3332 | 2720 |
3333 int ByteSize() const; | 2721 int ByteSize() const; |
3334 bool MergePartialFromCodedStream( | 2722 bool MergePartialFromCodedStream( |
3335 ::google::protobuf::io::CodedInputStream* input); | 2723 ::google::protobuf::io::CodedInputStream* input); |
3336 void SerializeWithCachedSizes( | 2724 void SerializeWithCachedSizes( |
3337 ::google::protobuf::io::CodedOutputStream* output) const; | 2725 ::google::protobuf::io::CodedOutputStream* output) const; |
3338 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 2726 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
3339 int GetCachedSize() const { return _cached_size_; } | 2727 int GetCachedSize() const { return _cached_size_; } |
3340 private: | 2728 private: |
3341 void SharedCtor(); | 2729 void SharedCtor(); |
3342 void SharedDtor(); | 2730 void SharedDtor(); |
3343 void SetCachedSize(int size) const; | 2731 void SetCachedSize(int size) const; |
3344 void InternalSwap(SourceCodeInfo* other); | |
3345 private: | |
3346 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
3347 return _internal_metadata_.arena(); | |
3348 } | |
3349 inline void* MaybeArenaPtr() const { | |
3350 return _internal_metadata_.raw_arena_ptr(); | |
3351 } | |
3352 public: | 2732 public: |
3353 | 2733 |
3354 ::google::protobuf::Metadata GetMetadata() const; | 2734 ::google::protobuf::Metadata GetMetadata() const; |
3355 | 2735 |
3356 // nested types ---------------------------------------------------- | 2736 // nested types ---------------------------------------------------- |
3357 | 2737 |
3358 typedef SourceCodeInfo_Location Location; | 2738 typedef SourceCodeInfo_Location Location; |
3359 | 2739 |
3360 // accessors ------------------------------------------------------- | 2740 // accessors ------------------------------------------------------- |
3361 | 2741 |
3362 // repeated .google.protobuf.SourceCodeInfo.Location location = 1; | 2742 // repeated .google.protobuf.SourceCodeInfo.Location location = 1; |
3363 int location_size() const; | 2743 inline int location_size() const; |
3364 void clear_location(); | 2744 inline void clear_location(); |
3365 static const int kLocationFieldNumber = 1; | 2745 static const int kLocationFieldNumber = 1; |
3366 const ::google::protobuf::SourceCodeInfo_Location& location(int index) const; | 2746 inline const ::google::protobuf::SourceCodeInfo_Location& location(int index)
const; |
3367 ::google::protobuf::SourceCodeInfo_Location* mutable_location(int index); | 2747 inline ::google::protobuf::SourceCodeInfo_Location* mutable_location(int index
); |
3368 ::google::protobuf::SourceCodeInfo_Location* add_location(); | 2748 inline ::google::protobuf::SourceCodeInfo_Location* add_location(); |
3369 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo
_Location >& | 2749 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceC
odeInfo_Location >& |
3370 location() const; | 2750 location() const; |
3371 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Locat
ion >* | 2751 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInf
o_Location >* |
3372 mutable_location(); | 2752 mutable_location(); |
3373 | 2753 |
3374 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo) | 2754 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo) |
3375 private: | 2755 private: |
3376 | 2756 |
3377 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2757 ::google::protobuf::UnknownFieldSet _unknown_fields_; |
3378 ::google::protobuf::uint32 _has_bits_[1]; | 2758 |
| 2759 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Locat
ion > location_; |
| 2760 |
3379 mutable int _cached_size_; | 2761 mutable int _cached_size_; |
3380 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Locat
ion > location_; | 2762 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; |
| 2763 |
3381 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 2764 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
3382 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 2765 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
3383 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2766 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
3384 | 2767 |
3385 void InitAsDefaultInstance(); | 2768 void InitAsDefaultInstance(); |
3386 static SourceCodeInfo* default_instance_; | 2769 static SourceCodeInfo* default_instance_; |
3387 }; | 2770 }; |
3388 // =================================================================== | 2771 // =================================================================== |
3389 | 2772 |
3390 | 2773 |
3391 // =================================================================== | 2774 // =================================================================== |
3392 | 2775 |
3393 #if !PROTOBUF_INLINE_NOT_IN_HEADERS | |
3394 // FileDescriptorSet | 2776 // FileDescriptorSet |
3395 | 2777 |
3396 // repeated .google.protobuf.FileDescriptorProto file = 1; | 2778 // repeated .google.protobuf.FileDescriptorProto file = 1; |
3397 inline int FileDescriptorSet::file_size() const { | 2779 inline int FileDescriptorSet::file_size() const { |
3398 return file_.size(); | 2780 return file_.size(); |
3399 } | 2781 } |
3400 inline void FileDescriptorSet::clear_file() { | 2782 inline void FileDescriptorSet::clear_file() { |
3401 file_.Clear(); | 2783 file_.Clear(); |
3402 } | 2784 } |
3403 inline const ::google::protobuf::FileDescriptorProto& FileDescriptorSet::file(in
t index) const { | 2785 inline const ::google::protobuf::FileDescriptorProto& FileDescriptorSet::file(in
t index) const { |
3404 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorSet.file) | |
3405 return file_.Get(index); | 2786 return file_.Get(index); |
3406 } | 2787 } |
3407 inline ::google::protobuf::FileDescriptorProto* FileDescriptorSet::mutable_file(
int index) { | 2788 inline ::google::protobuf::FileDescriptorProto* FileDescriptorSet::mutable_file(
int index) { |
3408 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorSet.fi
le) | |
3409 return file_.Mutable(index); | 2789 return file_.Mutable(index); |
3410 } | 2790 } |
3411 inline ::google::protobuf::FileDescriptorProto* FileDescriptorSet::add_file() { | 2791 inline ::google::protobuf::FileDescriptorProto* FileDescriptorSet::add_file() { |
3412 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorSet.file) | |
3413 return file_.Add(); | 2792 return file_.Add(); |
3414 } | 2793 } |
3415 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescr
iptorProto >& | 2794 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescr
iptorProto >& |
3416 FileDescriptorSet::file() const { | 2795 FileDescriptorSet::file() const { |
3417 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorSet.file) | |
3418 return file_; | 2796 return file_; |
3419 } | 2797 } |
3420 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorP
roto >* | 2798 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorP
roto >* |
3421 FileDescriptorSet::mutable_file() { | 2799 FileDescriptorSet::mutable_file() { |
3422 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorS
et.file) | |
3423 return &file_; | 2800 return &file_; |
3424 } | 2801 } |
3425 | 2802 |
3426 // ------------------------------------------------------------------- | 2803 // ------------------------------------------------------------------- |
3427 | 2804 |
3428 // FileDescriptorProto | 2805 // FileDescriptorProto |
3429 | 2806 |
3430 // optional string name = 1; | 2807 // optional string name = 1; |
3431 inline bool FileDescriptorProto::has_name() const { | 2808 inline bool FileDescriptorProto::has_name() const { |
3432 return (_has_bits_[0] & 0x00000001u) != 0; | 2809 return (_has_bits_[0] & 0x00000001u) != 0; |
3433 } | 2810 } |
3434 inline void FileDescriptorProto::set_has_name() { | 2811 inline void FileDescriptorProto::set_has_name() { |
3435 _has_bits_[0] |= 0x00000001u; | 2812 _has_bits_[0] |= 0x00000001u; |
3436 } | 2813 } |
3437 inline void FileDescriptorProto::clear_has_name() { | 2814 inline void FileDescriptorProto::clear_has_name() { |
3438 _has_bits_[0] &= ~0x00000001u; | 2815 _has_bits_[0] &= ~0x00000001u; |
3439 } | 2816 } |
3440 inline void FileDescriptorProto::clear_name() { | 2817 inline void FileDescriptorProto::clear_name() { |
3441 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 2818 if (name_ != &::google::protobuf::internal::GetEmptyString()) { |
| 2819 name_->clear(); |
| 2820 } |
3442 clear_has_name(); | 2821 clear_has_name(); |
3443 } | 2822 } |
3444 inline const ::std::string& FileDescriptorProto::name() const { | 2823 inline const ::std::string& FileDescriptorProto::name() const { |
3445 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name
) | 2824 return *name_; |
3446 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); | |
3447 } | 2825 } |
3448 inline void FileDescriptorProto::set_name(const ::std::string& value) { | 2826 inline void FileDescriptorProto::set_name(const ::std::string& value) { |
3449 set_has_name(); | 2827 set_has_name(); |
3450 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 2828 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
3451 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name
) | 2829 name_ = new ::std::string; |
| 2830 } |
| 2831 name_->assign(value); |
3452 } | 2832 } |
3453 inline void FileDescriptorProto::set_name(const char* value) { | 2833 inline void FileDescriptorProto::set_name(const char* value) { |
3454 set_has_name(); | 2834 set_has_name(); |
3455 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 2835 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
3456 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto
.name) | 2836 name_ = new ::std::string; |
| 2837 } |
| 2838 name_->assign(value); |
3457 } | 2839 } |
3458 inline void FileDescriptorProto::set_name(const char* value, size_t size) { | 2840 inline void FileDescriptorProto::set_name(const char* value, size_t size) { |
3459 set_has_name(); | 2841 set_has_name(); |
3460 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 2842 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
3461 ::std::string(reinterpret_cast<const char*>(value), size)); | 2843 name_ = new ::std::string; |
3462 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorPr
oto.name) | 2844 } |
| 2845 name_->assign(reinterpret_cast<const char*>(value), size); |
3463 } | 2846 } |
3464 inline ::std::string* FileDescriptorProto::mutable_name() { | 2847 inline ::std::string* FileDescriptorProto::mutable_name() { |
3465 set_has_name(); | 2848 set_has_name(); |
3466 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.
name) | 2849 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
3467 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | 2850 name_ = new ::std::string; |
| 2851 } |
| 2852 return name_; |
3468 } | 2853 } |
3469 inline ::std::string* FileDescriptorProto::release_name() { | 2854 inline ::std::string* FileDescriptorProto::release_name() { |
3470 clear_has_name(); | 2855 clear_has_name(); |
3471 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | 2856 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
| 2857 return NULL; |
| 2858 } else { |
| 2859 ::std::string* temp = name_; |
| 2860 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyS
tring()); |
| 2861 return temp; |
| 2862 } |
3472 } | 2863 } |
3473 inline void FileDescriptorProto::set_allocated_name(::std::string* name) { | 2864 inline void FileDescriptorProto::set_allocated_name(::std::string* name) { |
3474 if (name != NULL) { | 2865 if (name_ != &::google::protobuf::internal::GetEmptyString()) { |
| 2866 delete name_; |
| 2867 } |
| 2868 if (name) { |
3475 set_has_name(); | 2869 set_has_name(); |
| 2870 name_ = name; |
3476 } else { | 2871 } else { |
3477 clear_has_name(); | 2872 clear_has_name(); |
| 2873 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyS
tring()); |
3478 } | 2874 } |
3479 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); | |
3480 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor
Proto.name) | |
3481 } | 2875 } |
3482 | 2876 |
3483 // optional string package = 2; | 2877 // optional string package = 2; |
3484 inline bool FileDescriptorProto::has_package() const { | 2878 inline bool FileDescriptorProto::has_package() const { |
3485 return (_has_bits_[0] & 0x00000002u) != 0; | 2879 return (_has_bits_[0] & 0x00000002u) != 0; |
3486 } | 2880 } |
3487 inline void FileDescriptorProto::set_has_package() { | 2881 inline void FileDescriptorProto::set_has_package() { |
3488 _has_bits_[0] |= 0x00000002u; | 2882 _has_bits_[0] |= 0x00000002u; |
3489 } | 2883 } |
3490 inline void FileDescriptorProto::clear_has_package() { | 2884 inline void FileDescriptorProto::clear_has_package() { |
3491 _has_bits_[0] &= ~0x00000002u; | 2885 _has_bits_[0] &= ~0x00000002u; |
3492 } | 2886 } |
3493 inline void FileDescriptorProto::clear_package() { | 2887 inline void FileDescriptorProto::clear_package() { |
3494 package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited()); | 2888 if (package_ != &::google::protobuf::internal::GetEmptyString()) { |
| 2889 package_->clear(); |
| 2890 } |
3495 clear_has_package(); | 2891 clear_has_package(); |
3496 } | 2892 } |
3497 inline const ::std::string& FileDescriptorProto::package() const { | 2893 inline const ::std::string& FileDescriptorProto::package() const { |
3498 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.pack
age) | 2894 return *package_; |
3499 return package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlread
yInited()); | |
3500 } | 2895 } |
3501 inline void FileDescriptorProto::set_package(const ::std::string& value) { | 2896 inline void FileDescriptorProto::set_package(const ::std::string& value) { |
3502 set_has_package(); | 2897 set_has_package(); |
3503 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited
(), value); | 2898 if (package_ == &::google::protobuf::internal::GetEmptyString()) { |
3504 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.pack
age) | 2899 package_ = new ::std::string; |
| 2900 } |
| 2901 package_->assign(value); |
3505 } | 2902 } |
3506 inline void FileDescriptorProto::set_package(const char* value) { | 2903 inline void FileDescriptorProto::set_package(const char* value) { |
3507 set_has_package(); | 2904 set_has_package(); |
3508 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited
(), ::std::string(value)); | 2905 if (package_ == &::google::protobuf::internal::GetEmptyString()) { |
3509 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto
.package) | 2906 package_ = new ::std::string; |
| 2907 } |
| 2908 package_->assign(value); |
3510 } | 2909 } |
3511 inline void FileDescriptorProto::set_package(const char* value, size_t size) { | 2910 inline void FileDescriptorProto::set_package(const char* value, size_t size) { |
3512 set_has_package(); | 2911 set_has_package(); |
3513 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited
(), | 2912 if (package_ == &::google::protobuf::internal::GetEmptyString()) { |
3514 ::std::string(reinterpret_cast<const char*>(value), size)); | 2913 package_ = new ::std::string; |
3515 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorPr
oto.package) | 2914 } |
| 2915 package_->assign(reinterpret_cast<const char*>(value), size); |
3516 } | 2916 } |
3517 inline ::std::string* FileDescriptorProto::mutable_package() { | 2917 inline ::std::string* FileDescriptorProto::mutable_package() { |
3518 set_has_package(); | 2918 set_has_package(); |
3519 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.
package) | 2919 if (package_ == &::google::protobuf::internal::GetEmptyString()) { |
3520 return package_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); | 2920 package_ = new ::std::string; |
| 2921 } |
| 2922 return package_; |
3521 } | 2923 } |
3522 inline ::std::string* FileDescriptorProto::release_package() { | 2924 inline ::std::string* FileDescriptorProto::release_package() { |
3523 clear_has_package(); | 2925 clear_has_package(); |
3524 return package_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); | 2926 if (package_ == &::google::protobuf::internal::GetEmptyString()) { |
| 2927 return NULL; |
| 2928 } else { |
| 2929 ::std::string* temp = package_; |
| 2930 package_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmp
tyString()); |
| 2931 return temp; |
| 2932 } |
3525 } | 2933 } |
3526 inline void FileDescriptorProto::set_allocated_package(::std::string* package) { | 2934 inline void FileDescriptorProto::set_allocated_package(::std::string* package) { |
3527 if (package != NULL) { | 2935 if (package_ != &::google::protobuf::internal::GetEmptyString()) { |
| 2936 delete package_; |
| 2937 } |
| 2938 if (package) { |
3528 set_has_package(); | 2939 set_has_package(); |
| 2940 package_ = package; |
3529 } else { | 2941 } else { |
3530 clear_has_package(); | 2942 clear_has_package(); |
| 2943 package_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmp
tyString()); |
3531 } | 2944 } |
3532 package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), package); | |
3533 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor
Proto.package) | |
3534 } | 2945 } |
3535 | 2946 |
3536 // repeated string dependency = 3; | 2947 // repeated string dependency = 3; |
3537 inline int FileDescriptorProto::dependency_size() const { | 2948 inline int FileDescriptorProto::dependency_size() const { |
3538 return dependency_.size(); | 2949 return dependency_.size(); |
3539 } | 2950 } |
3540 inline void FileDescriptorProto::clear_dependency() { | 2951 inline void FileDescriptorProto::clear_dependency() { |
3541 dependency_.Clear(); | 2952 dependency_.Clear(); |
3542 } | 2953 } |
3543 inline const ::std::string& FileDescriptorProto::dependency(int index) const { | 2954 inline const ::std::string& FileDescriptorProto::dependency(int index) const { |
3544 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.depe
ndency) | |
3545 return dependency_.Get(index); | 2955 return dependency_.Get(index); |
3546 } | 2956 } |
3547 inline ::std::string* FileDescriptorProto::mutable_dependency(int index) { | 2957 inline ::std::string* FileDescriptorProto::mutable_dependency(int index) { |
3548 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.
dependency) | |
3549 return dependency_.Mutable(index); | 2958 return dependency_.Mutable(index); |
3550 } | 2959 } |
3551 inline void FileDescriptorProto::set_dependency(int index, const ::std::string&
value) { | 2960 inline void FileDescriptorProto::set_dependency(int index, const ::std::string&
value) { |
3552 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.depe
ndency) | |
3553 dependency_.Mutable(index)->assign(value); | 2961 dependency_.Mutable(index)->assign(value); |
3554 } | 2962 } |
3555 inline void FileDescriptorProto::set_dependency(int index, const char* value) { | 2963 inline void FileDescriptorProto::set_dependency(int index, const char* value) { |
3556 dependency_.Mutable(index)->assign(value); | 2964 dependency_.Mutable(index)->assign(value); |
3557 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto
.dependency) | |
3558 } | 2965 } |
3559 inline void FileDescriptorProto::set_dependency(int index, const char* value, si
ze_t size) { | 2966 inline void FileDescriptorProto::set_dependency(int index, const char* value, si
ze_t size) { |
3560 dependency_.Mutable(index)->assign( | 2967 dependency_.Mutable(index)->assign( |
3561 reinterpret_cast<const char*>(value), size); | 2968 reinterpret_cast<const char*>(value), size); |
3562 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorPr
oto.dependency) | |
3563 } | 2969 } |
3564 inline ::std::string* FileDescriptorProto::add_dependency() { | 2970 inline ::std::string* FileDescriptorProto::add_dependency() { |
3565 return dependency_.Add(); | 2971 return dependency_.Add(); |
3566 } | 2972 } |
3567 inline void FileDescriptorProto::add_dependency(const ::std::string& value) { | 2973 inline void FileDescriptorProto::add_dependency(const ::std::string& value) { |
3568 dependency_.Add()->assign(value); | 2974 dependency_.Add()->assign(value); |
3569 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.depe
ndency) | |
3570 } | 2975 } |
3571 inline void FileDescriptorProto::add_dependency(const char* value) { | 2976 inline void FileDescriptorProto::add_dependency(const char* value) { |
3572 dependency_.Add()->assign(value); | 2977 dependency_.Add()->assign(value); |
3573 // @@protoc_insertion_point(field_add_char:google.protobuf.FileDescriptorProto
.dependency) | |
3574 } | 2978 } |
3575 inline void FileDescriptorProto::add_dependency(const char* value, size_t size)
{ | 2979 inline void FileDescriptorProto::add_dependency(const char* value, size_t size)
{ |
3576 dependency_.Add()->assign(reinterpret_cast<const char*>(value), size); | 2980 dependency_.Add()->assign(reinterpret_cast<const char*>(value), size); |
3577 // @@protoc_insertion_point(field_add_pointer:google.protobuf.FileDescriptorPr
oto.dependency) | |
3578 } | 2981 } |
3579 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& | 2982 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
3580 FileDescriptorProto::dependency() const { | 2983 FileDescriptorProto::dependency() const { |
3581 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.dep
endency) | |
3582 return dependency_; | 2984 return dependency_; |
3583 } | 2985 } |
3584 inline ::google::protobuf::RepeatedPtrField< ::std::string>* | 2986 inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
3585 FileDescriptorProto::mutable_dependency() { | 2987 FileDescriptorProto::mutable_dependency() { |
3586 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorP
roto.dependency) | |
3587 return &dependency_; | 2988 return &dependency_; |
3588 } | 2989 } |
3589 | 2990 |
3590 // repeated int32 public_dependency = 10; | 2991 // repeated int32 public_dependency = 10; |
3591 inline int FileDescriptorProto::public_dependency_size() const { | 2992 inline int FileDescriptorProto::public_dependency_size() const { |
3592 return public_dependency_.size(); | 2993 return public_dependency_.size(); |
3593 } | 2994 } |
3594 inline void FileDescriptorProto::clear_public_dependency() { | 2995 inline void FileDescriptorProto::clear_public_dependency() { |
3595 public_dependency_.Clear(); | 2996 public_dependency_.Clear(); |
3596 } | 2997 } |
3597 inline ::google::protobuf::int32 FileDescriptorProto::public_dependency(int inde
x) const { | 2998 inline ::google::protobuf::int32 FileDescriptorProto::public_dependency(int inde
x) const { |
3598 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.publ
ic_dependency) | |
3599 return public_dependency_.Get(index); | 2999 return public_dependency_.Get(index); |
3600 } | 3000 } |
3601 inline void FileDescriptorProto::set_public_dependency(int index, ::google::prot
obuf::int32 value) { | 3001 inline void FileDescriptorProto::set_public_dependency(int index, ::google::prot
obuf::int32 value) { |
3602 public_dependency_.Set(index, value); | 3002 public_dependency_.Set(index, value); |
3603 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.publ
ic_dependency) | |
3604 } | 3003 } |
3605 inline void FileDescriptorProto::add_public_dependency(::google::protobuf::int32
value) { | 3004 inline void FileDescriptorProto::add_public_dependency(::google::protobuf::int32
value) { |
3606 public_dependency_.Add(value); | 3005 public_dependency_.Add(value); |
3607 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.publ
ic_dependency) | |
3608 } | 3006 } |
3609 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& | 3007 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
3610 FileDescriptorProto::public_dependency() const { | 3008 FileDescriptorProto::public_dependency() const { |
3611 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.pub
lic_dependency) | |
3612 return public_dependency_; | 3009 return public_dependency_; |
3613 } | 3010 } |
3614 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* | 3011 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
3615 FileDescriptorProto::mutable_public_dependency() { | 3012 FileDescriptorProto::mutable_public_dependency() { |
3616 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorP
roto.public_dependency) | |
3617 return &public_dependency_; | 3013 return &public_dependency_; |
3618 } | 3014 } |
3619 | 3015 |
3620 // repeated int32 weak_dependency = 11; | 3016 // repeated int32 weak_dependency = 11; |
3621 inline int FileDescriptorProto::weak_dependency_size() const { | 3017 inline int FileDescriptorProto::weak_dependency_size() const { |
3622 return weak_dependency_.size(); | 3018 return weak_dependency_.size(); |
3623 } | 3019 } |
3624 inline void FileDescriptorProto::clear_weak_dependency() { | 3020 inline void FileDescriptorProto::clear_weak_dependency() { |
3625 weak_dependency_.Clear(); | 3021 weak_dependency_.Clear(); |
3626 } | 3022 } |
3627 inline ::google::protobuf::int32 FileDescriptorProto::weak_dependency(int index)
const { | 3023 inline ::google::protobuf::int32 FileDescriptorProto::weak_dependency(int index)
const { |
3628 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.weak
_dependency) | |
3629 return weak_dependency_.Get(index); | 3024 return weak_dependency_.Get(index); |
3630 } | 3025 } |
3631 inline void FileDescriptorProto::set_weak_dependency(int index, ::google::protob
uf::int32 value) { | 3026 inline void FileDescriptorProto::set_weak_dependency(int index, ::google::protob
uf::int32 value) { |
3632 weak_dependency_.Set(index, value); | 3027 weak_dependency_.Set(index, value); |
3633 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.weak
_dependency) | |
3634 } | 3028 } |
3635 inline void FileDescriptorProto::add_weak_dependency(::google::protobuf::int32 v
alue) { | 3029 inline void FileDescriptorProto::add_weak_dependency(::google::protobuf::int32 v
alue) { |
3636 weak_dependency_.Add(value); | 3030 weak_dependency_.Add(value); |
3637 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.weak
_dependency) | |
3638 } | 3031 } |
3639 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& | 3032 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
3640 FileDescriptorProto::weak_dependency() const { | 3033 FileDescriptorProto::weak_dependency() const { |
3641 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.wea
k_dependency) | |
3642 return weak_dependency_; | 3034 return weak_dependency_; |
3643 } | 3035 } |
3644 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* | 3036 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
3645 FileDescriptorProto::mutable_weak_dependency() { | 3037 FileDescriptorProto::mutable_weak_dependency() { |
3646 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorP
roto.weak_dependency) | |
3647 return &weak_dependency_; | 3038 return &weak_dependency_; |
3648 } | 3039 } |
3649 | 3040 |
3650 // repeated .google.protobuf.DescriptorProto message_type = 4; | 3041 // repeated .google.protobuf.DescriptorProto message_type = 4; |
3651 inline int FileDescriptorProto::message_type_size() const { | 3042 inline int FileDescriptorProto::message_type_size() const { |
3652 return message_type_.size(); | 3043 return message_type_.size(); |
3653 } | 3044 } |
3654 inline void FileDescriptorProto::clear_message_type() { | 3045 inline void FileDescriptorProto::clear_message_type() { |
3655 message_type_.Clear(); | 3046 message_type_.Clear(); |
3656 } | 3047 } |
3657 inline const ::google::protobuf::DescriptorProto& FileDescriptorProto::message_t
ype(int index) const { | 3048 inline const ::google::protobuf::DescriptorProto& FileDescriptorProto::message_t
ype(int index) const { |
3658 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.mess
age_type) | |
3659 return message_type_.Get(index); | 3049 return message_type_.Get(index); |
3660 } | 3050 } |
3661 inline ::google::protobuf::DescriptorProto* FileDescriptorProto::mutable_message
_type(int index) { | 3051 inline ::google::protobuf::DescriptorProto* FileDescriptorProto::mutable_message
_type(int index) { |
3662 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.
message_type) | |
3663 return message_type_.Mutable(index); | 3052 return message_type_.Mutable(index); |
3664 } | 3053 } |
3665 inline ::google::protobuf::DescriptorProto* FileDescriptorProto::add_message_typ
e() { | 3054 inline ::google::protobuf::DescriptorProto* FileDescriptorProto::add_message_typ
e() { |
3666 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.mess
age_type) | |
3667 return message_type_.Add(); | 3055 return message_type_.Add(); |
3668 } | 3056 } |
3669 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Descripto
rProto >& | 3057 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Descripto
rProto >& |
3670 FileDescriptorProto::message_type() const { | 3058 FileDescriptorProto::message_type() const { |
3671 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.mes
sage_type) | |
3672 return message_type_; | 3059 return message_type_; |
3673 } | 3060 } |
3674 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto
>* | 3061 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto
>* |
3675 FileDescriptorProto::mutable_message_type() { | 3062 FileDescriptorProto::mutable_message_type() { |
3676 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorP
roto.message_type) | |
3677 return &message_type_; | 3063 return &message_type_; |
3678 } | 3064 } |
3679 | 3065 |
3680 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; | 3066 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
3681 inline int FileDescriptorProto::enum_type_size() const { | 3067 inline int FileDescriptorProto::enum_type_size() const { |
3682 return enum_type_.size(); | 3068 return enum_type_.size(); |
3683 } | 3069 } |
3684 inline void FileDescriptorProto::clear_enum_type() { | 3070 inline void FileDescriptorProto::clear_enum_type() { |
3685 enum_type_.Clear(); | 3071 enum_type_.Clear(); |
3686 } | 3072 } |
3687 inline const ::google::protobuf::EnumDescriptorProto& FileDescriptorProto::enum_
type(int index) const { | 3073 inline const ::google::protobuf::EnumDescriptorProto& FileDescriptorProto::enum_
type(int index) const { |
3688 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.enum
_type) | |
3689 return enum_type_.Get(index); | 3074 return enum_type_.Get(index); |
3690 } | 3075 } |
3691 inline ::google::protobuf::EnumDescriptorProto* FileDescriptorProto::mutable_enu
m_type(int index) { | 3076 inline ::google::protobuf::EnumDescriptorProto* FileDescriptorProto::mutable_enu
m_type(int index) { |
3692 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.
enum_type) | |
3693 return enum_type_.Mutable(index); | 3077 return enum_type_.Mutable(index); |
3694 } | 3078 } |
3695 inline ::google::protobuf::EnumDescriptorProto* FileDescriptorProto::add_enum_ty
pe() { | 3079 inline ::google::protobuf::EnumDescriptorProto* FileDescriptorProto::add_enum_ty
pe() { |
3696 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.enum
_type) | |
3697 return enum_type_.Add(); | 3080 return enum_type_.Add(); |
3698 } | 3081 } |
3699 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescr
iptorProto >& | 3082 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescr
iptorProto >& |
3700 FileDescriptorProto::enum_type() const { | 3083 FileDescriptorProto::enum_type() const { |
3701 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.enu
m_type) | |
3702 return enum_type_; | 3084 return enum_type_; |
3703 } | 3085 } |
3704 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorP
roto >* | 3086 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorP
roto >* |
3705 FileDescriptorProto::mutable_enum_type() { | 3087 FileDescriptorProto::mutable_enum_type() { |
3706 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorP
roto.enum_type) | |
3707 return &enum_type_; | 3088 return &enum_type_; |
3708 } | 3089 } |
3709 | 3090 |
3710 // repeated .google.protobuf.ServiceDescriptorProto service = 6; | 3091 // repeated .google.protobuf.ServiceDescriptorProto service = 6; |
3711 inline int FileDescriptorProto::service_size() const { | 3092 inline int FileDescriptorProto::service_size() const { |
3712 return service_.size(); | 3093 return service_.size(); |
3713 } | 3094 } |
3714 inline void FileDescriptorProto::clear_service() { | 3095 inline void FileDescriptorProto::clear_service() { |
3715 service_.Clear(); | 3096 service_.Clear(); |
3716 } | 3097 } |
3717 inline const ::google::protobuf::ServiceDescriptorProto& FileDescriptorProto::se
rvice(int index) const { | 3098 inline const ::google::protobuf::ServiceDescriptorProto& FileDescriptorProto::se
rvice(int index) const { |
3718 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.serv
ice) | |
3719 return service_.Get(index); | 3099 return service_.Get(index); |
3720 } | 3100 } |
3721 inline ::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::mutable_
service(int index) { | 3101 inline ::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::mutable_
service(int index) { |
3722 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.
service) | |
3723 return service_.Mutable(index); | 3102 return service_.Mutable(index); |
3724 } | 3103 } |
3725 inline ::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::add_serv
ice() { | 3104 inline ::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::add_serv
ice() { |
3726 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.serv
ice) | |
3727 return service_.Add(); | 3105 return service_.Add(); |
3728 } | 3106 } |
3729 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDe
scriptorProto >& | 3107 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDe
scriptorProto >& |
3730 FileDescriptorProto::service() const { | 3108 FileDescriptorProto::service() const { |
3731 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.ser
vice) | |
3732 return service_; | 3109 return service_; |
3733 } | 3110 } |
3734 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescript
orProto >* | 3111 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescript
orProto >* |
3735 FileDescriptorProto::mutable_service() { | 3112 FileDescriptorProto::mutable_service() { |
3736 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorP
roto.service) | |
3737 return &service_; | 3113 return &service_; |
3738 } | 3114 } |
3739 | 3115 |
3740 // repeated .google.protobuf.FieldDescriptorProto extension = 7; | 3116 // repeated .google.protobuf.FieldDescriptorProto extension = 7; |
3741 inline int FileDescriptorProto::extension_size() const { | 3117 inline int FileDescriptorProto::extension_size() const { |
3742 return extension_.size(); | 3118 return extension_.size(); |
3743 } | 3119 } |
3744 inline void FileDescriptorProto::clear_extension() { | 3120 inline void FileDescriptorProto::clear_extension() { |
3745 extension_.Clear(); | 3121 extension_.Clear(); |
3746 } | 3122 } |
3747 inline const ::google::protobuf::FieldDescriptorProto& FileDescriptorProto::exte
nsion(int index) const { | 3123 inline const ::google::protobuf::FieldDescriptorProto& FileDescriptorProto::exte
nsion(int index) const { |
3748 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.exte
nsion) | |
3749 return extension_.Get(index); | 3124 return extension_.Get(index); |
3750 } | 3125 } |
3751 inline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::mutable_ex
tension(int index) { | 3126 inline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::mutable_ex
tension(int index) { |
3752 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.
extension) | |
3753 return extension_.Mutable(index); | 3127 return extension_.Mutable(index); |
3754 } | 3128 } |
3755 inline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::add_extens
ion() { | 3129 inline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::add_extens
ion() { |
3756 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.exte
nsion) | |
3757 return extension_.Add(); | 3130 return extension_.Add(); |
3758 } | 3131 } |
3759 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDesc
riptorProto >& | 3132 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDesc
riptorProto >& |
3760 FileDescriptorProto::extension() const { | 3133 FileDescriptorProto::extension() const { |
3761 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.ext
ension) | |
3762 return extension_; | 3134 return extension_; |
3763 } | 3135 } |
3764 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptor
Proto >* | 3136 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptor
Proto >* |
3765 FileDescriptorProto::mutable_extension() { | 3137 FileDescriptorProto::mutable_extension() { |
3766 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorP
roto.extension) | |
3767 return &extension_; | 3138 return &extension_; |
3768 } | 3139 } |
3769 | 3140 |
3770 // optional .google.protobuf.FileOptions options = 8; | 3141 // optional .google.protobuf.FileOptions options = 8; |
3771 inline bool FileDescriptorProto::has_options() const { | 3142 inline bool FileDescriptorProto::has_options() const { |
3772 return (_has_bits_[0] & 0x00000200u) != 0; | 3143 return (_has_bits_[0] & 0x00000200u) != 0; |
3773 } | 3144 } |
3774 inline void FileDescriptorProto::set_has_options() { | 3145 inline void FileDescriptorProto::set_has_options() { |
3775 _has_bits_[0] |= 0x00000200u; | 3146 _has_bits_[0] |= 0x00000200u; |
3776 } | 3147 } |
3777 inline void FileDescriptorProto::clear_has_options() { | 3148 inline void FileDescriptorProto::clear_has_options() { |
3778 _has_bits_[0] &= ~0x00000200u; | 3149 _has_bits_[0] &= ~0x00000200u; |
3779 } | 3150 } |
3780 inline void FileDescriptorProto::clear_options() { | 3151 inline void FileDescriptorProto::clear_options() { |
3781 if (options_ != NULL) options_->::google::protobuf::FileOptions::Clear(); | 3152 if (options_ != NULL) options_->::google::protobuf::FileOptions::Clear(); |
3782 clear_has_options(); | 3153 clear_has_options(); |
3783 } | 3154 } |
3784 inline const ::google::protobuf::FileOptions& FileDescriptorProto::options() con
st { | 3155 inline const ::google::protobuf::FileOptions& FileDescriptorProto::options() con
st { |
3785 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.opti
ons) | |
3786 return options_ != NULL ? *options_ : *default_instance_->options_; | 3156 return options_ != NULL ? *options_ : *default_instance_->options_; |
3787 } | 3157 } |
3788 inline ::google::protobuf::FileOptions* FileDescriptorProto::mutable_options() { | 3158 inline ::google::protobuf::FileOptions* FileDescriptorProto::mutable_options() { |
3789 set_has_options(); | 3159 set_has_options(); |
3790 if (options_ == NULL) { | 3160 if (options_ == NULL) options_ = new ::google::protobuf::FileOptions; |
3791 options_ = new ::google::protobuf::FileOptions; | |
3792 } | |
3793 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.
options) | |
3794 return options_; | 3161 return options_; |
3795 } | 3162 } |
3796 inline ::google::protobuf::FileOptions* FileDescriptorProto::release_options() { | 3163 inline ::google::protobuf::FileOptions* FileDescriptorProto::release_options() { |
3797 clear_has_options(); | 3164 clear_has_options(); |
3798 ::google::protobuf::FileOptions* temp = options_; | 3165 ::google::protobuf::FileOptions* temp = options_; |
3799 options_ = NULL; | 3166 options_ = NULL; |
3800 return temp; | 3167 return temp; |
3801 } | 3168 } |
3802 inline void FileDescriptorProto::set_allocated_options(::google::protobuf::FileO
ptions* options) { | 3169 inline void FileDescriptorProto::set_allocated_options(::google::protobuf::FileO
ptions* options) { |
3803 delete options_; | 3170 delete options_; |
3804 options_ = options; | 3171 options_ = options; |
3805 if (options) { | 3172 if (options) { |
3806 set_has_options(); | 3173 set_has_options(); |
3807 } else { | 3174 } else { |
3808 clear_has_options(); | 3175 clear_has_options(); |
3809 } | 3176 } |
3810 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor
Proto.options) | |
3811 } | 3177 } |
3812 | 3178 |
3813 // optional .google.protobuf.SourceCodeInfo source_code_info = 9; | 3179 // optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
3814 inline bool FileDescriptorProto::has_source_code_info() const { | 3180 inline bool FileDescriptorProto::has_source_code_info() const { |
3815 return (_has_bits_[0] & 0x00000400u) != 0; | 3181 return (_has_bits_[0] & 0x00000400u) != 0; |
3816 } | 3182 } |
3817 inline void FileDescriptorProto::set_has_source_code_info() { | 3183 inline void FileDescriptorProto::set_has_source_code_info() { |
3818 _has_bits_[0] |= 0x00000400u; | 3184 _has_bits_[0] |= 0x00000400u; |
3819 } | 3185 } |
3820 inline void FileDescriptorProto::clear_has_source_code_info() { | 3186 inline void FileDescriptorProto::clear_has_source_code_info() { |
3821 _has_bits_[0] &= ~0x00000400u; | 3187 _has_bits_[0] &= ~0x00000400u; |
3822 } | 3188 } |
3823 inline void FileDescriptorProto::clear_source_code_info() { | 3189 inline void FileDescriptorProto::clear_source_code_info() { |
3824 if (source_code_info_ != NULL) source_code_info_->::google::protobuf::SourceCo
deInfo::Clear(); | 3190 if (source_code_info_ != NULL) source_code_info_->::google::protobuf::SourceCo
deInfo::Clear(); |
3825 clear_has_source_code_info(); | 3191 clear_has_source_code_info(); |
3826 } | 3192 } |
3827 inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_cod
e_info() const { | 3193 inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_cod
e_info() const { |
3828 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.sour
ce_code_info) | |
3829 return source_code_info_ != NULL ? *source_code_info_ : *default_instance_->so
urce_code_info_; | 3194 return source_code_info_ != NULL ? *source_code_info_ : *default_instance_->so
urce_code_info_; |
3830 } | 3195 } |
3831 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::mutable_source_c
ode_info() { | 3196 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::mutable_source_c
ode_info() { |
3832 set_has_source_code_info(); | 3197 set_has_source_code_info(); |
3833 if (source_code_info_ == NULL) { | 3198 if (source_code_info_ == NULL) source_code_info_ = new ::google::protobuf::Sou
rceCodeInfo; |
3834 source_code_info_ = new ::google::protobuf::SourceCodeInfo; | |
3835 } | |
3836 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.
source_code_info) | |
3837 return source_code_info_; | 3199 return source_code_info_; |
3838 } | 3200 } |
3839 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::release_source_c
ode_info() { | 3201 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::release_source_c
ode_info() { |
3840 clear_has_source_code_info(); | 3202 clear_has_source_code_info(); |
3841 ::google::protobuf::SourceCodeInfo* temp = source_code_info_; | 3203 ::google::protobuf::SourceCodeInfo* temp = source_code_info_; |
3842 source_code_info_ = NULL; | 3204 source_code_info_ = NULL; |
3843 return temp; | 3205 return temp; |
3844 } | 3206 } |
3845 inline void FileDescriptorProto::set_allocated_source_code_info(::google::protob
uf::SourceCodeInfo* source_code_info) { | 3207 inline void FileDescriptorProto::set_allocated_source_code_info(::google::protob
uf::SourceCodeInfo* source_code_info) { |
3846 delete source_code_info_; | 3208 delete source_code_info_; |
3847 source_code_info_ = source_code_info; | 3209 source_code_info_ = source_code_info; |
3848 if (source_code_info) { | 3210 if (source_code_info) { |
3849 set_has_source_code_info(); | 3211 set_has_source_code_info(); |
3850 } else { | 3212 } else { |
3851 clear_has_source_code_info(); | 3213 clear_has_source_code_info(); |
3852 } | 3214 } |
3853 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor
Proto.source_code_info) | |
3854 } | |
3855 | |
3856 // optional string syntax = 12; | |
3857 inline bool FileDescriptorProto::has_syntax() const { | |
3858 return (_has_bits_[0] & 0x00000800u) != 0; | |
3859 } | |
3860 inline void FileDescriptorProto::set_has_syntax() { | |
3861 _has_bits_[0] |= 0x00000800u; | |
3862 } | |
3863 inline void FileDescriptorProto::clear_has_syntax() { | |
3864 _has_bits_[0] &= ~0x00000800u; | |
3865 } | |
3866 inline void FileDescriptorProto::clear_syntax() { | |
3867 syntax_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | |
3868 clear_has_syntax(); | |
3869 } | |
3870 inline const ::std::string& FileDescriptorProto::syntax() const { | |
3871 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.synt
ax) | |
3872 return syntax_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | |
3873 } | |
3874 inline void FileDescriptorProto::set_syntax(const ::std::string& value) { | |
3875 set_has_syntax(); | |
3876 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), value); | |
3877 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.synt
ax) | |
3878 } | |
3879 inline void FileDescriptorProto::set_syntax(const char* value) { | |
3880 set_has_syntax(); | |
3881 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), ::std::string(value)); | |
3882 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto
.syntax) | |
3883 } | |
3884 inline void FileDescriptorProto::set_syntax(const char* value, size_t size) { | |
3885 set_has_syntax(); | |
3886 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), | |
3887 ::std::string(reinterpret_cast<const char*>(value), size)); | |
3888 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorPr
oto.syntax) | |
3889 } | |
3890 inline ::std::string* FileDescriptorProto::mutable_syntax() { | |
3891 set_has_syntax(); | |
3892 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.
syntax) | |
3893 return syntax_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited()); | |
3894 } | |
3895 inline ::std::string* FileDescriptorProto::release_syntax() { | |
3896 clear_has_syntax(); | |
3897 return syntax_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited()); | |
3898 } | |
3899 inline void FileDescriptorProto::set_allocated_syntax(::std::string* syntax) { | |
3900 if (syntax != NULL) { | |
3901 set_has_syntax(); | |
3902 } else { | |
3903 clear_has_syntax(); | |
3904 } | |
3905 syntax_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited(), syntax); | |
3906 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor
Proto.syntax) | |
3907 } | 3215 } |
3908 | 3216 |
3909 // ------------------------------------------------------------------- | 3217 // ------------------------------------------------------------------- |
3910 | 3218 |
3911 // DescriptorProto_ExtensionRange | 3219 // DescriptorProto_ExtensionRange |
3912 | 3220 |
3913 // optional int32 start = 1; | 3221 // optional int32 start = 1; |
3914 inline bool DescriptorProto_ExtensionRange::has_start() const { | 3222 inline bool DescriptorProto_ExtensionRange::has_start() const { |
3915 return (_has_bits_[0] & 0x00000001u) != 0; | 3223 return (_has_bits_[0] & 0x00000001u) != 0; |
3916 } | 3224 } |
3917 inline void DescriptorProto_ExtensionRange::set_has_start() { | 3225 inline void DescriptorProto_ExtensionRange::set_has_start() { |
3918 _has_bits_[0] |= 0x00000001u; | 3226 _has_bits_[0] |= 0x00000001u; |
3919 } | 3227 } |
3920 inline void DescriptorProto_ExtensionRange::clear_has_start() { | 3228 inline void DescriptorProto_ExtensionRange::clear_has_start() { |
3921 _has_bits_[0] &= ~0x00000001u; | 3229 _has_bits_[0] &= ~0x00000001u; |
3922 } | 3230 } |
3923 inline void DescriptorProto_ExtensionRange::clear_start() { | 3231 inline void DescriptorProto_ExtensionRange::clear_start() { |
3924 start_ = 0; | 3232 start_ = 0; |
3925 clear_has_start(); | 3233 clear_has_start(); |
3926 } | 3234 } |
3927 inline ::google::protobuf::int32 DescriptorProto_ExtensionRange::start() const { | 3235 inline ::google::protobuf::int32 DescriptorProto_ExtensionRange::start() const { |
3928 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.Extensio
nRange.start) | |
3929 return start_; | 3236 return start_; |
3930 } | 3237 } |
3931 inline void DescriptorProto_ExtensionRange::set_start(::google::protobuf::int32
value) { | 3238 inline void DescriptorProto_ExtensionRange::set_start(::google::protobuf::int32
value) { |
3932 set_has_start(); | 3239 set_has_start(); |
3933 start_ = value; | 3240 start_ = value; |
3934 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.Extensio
nRange.start) | |
3935 } | 3241 } |
3936 | 3242 |
3937 // optional int32 end = 2; | 3243 // optional int32 end = 2; |
3938 inline bool DescriptorProto_ExtensionRange::has_end() const { | 3244 inline bool DescriptorProto_ExtensionRange::has_end() const { |
3939 return (_has_bits_[0] & 0x00000002u) != 0; | 3245 return (_has_bits_[0] & 0x00000002u) != 0; |
3940 } | 3246 } |
3941 inline void DescriptorProto_ExtensionRange::set_has_end() { | 3247 inline void DescriptorProto_ExtensionRange::set_has_end() { |
3942 _has_bits_[0] |= 0x00000002u; | 3248 _has_bits_[0] |= 0x00000002u; |
3943 } | 3249 } |
3944 inline void DescriptorProto_ExtensionRange::clear_has_end() { | 3250 inline void DescriptorProto_ExtensionRange::clear_has_end() { |
3945 _has_bits_[0] &= ~0x00000002u; | 3251 _has_bits_[0] &= ~0x00000002u; |
3946 } | 3252 } |
3947 inline void DescriptorProto_ExtensionRange::clear_end() { | 3253 inline void DescriptorProto_ExtensionRange::clear_end() { |
3948 end_ = 0; | 3254 end_ = 0; |
3949 clear_has_end(); | 3255 clear_has_end(); |
3950 } | 3256 } |
3951 inline ::google::protobuf::int32 DescriptorProto_ExtensionRange::end() const { | 3257 inline ::google::protobuf::int32 DescriptorProto_ExtensionRange::end() const { |
3952 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.Extensio
nRange.end) | |
3953 return end_; | 3258 return end_; |
3954 } | 3259 } |
3955 inline void DescriptorProto_ExtensionRange::set_end(::google::protobuf::int32 va
lue) { | 3260 inline void DescriptorProto_ExtensionRange::set_end(::google::protobuf::int32 va
lue) { |
3956 set_has_end(); | 3261 set_has_end(); |
3957 end_ = value; | 3262 end_ = value; |
3958 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.Extensio
nRange.end) | |
3959 } | 3263 } |
3960 | 3264 |
3961 // ------------------------------------------------------------------- | 3265 // ------------------------------------------------------------------- |
3962 | |
3963 // DescriptorProto_ReservedRange | |
3964 | |
3965 // optional int32 start = 1; | |
3966 inline bool DescriptorProto_ReservedRange::has_start() const { | |
3967 return (_has_bits_[0] & 0x00000001u) != 0; | |
3968 } | |
3969 inline void DescriptorProto_ReservedRange::set_has_start() { | |
3970 _has_bits_[0] |= 0x00000001u; | |
3971 } | |
3972 inline void DescriptorProto_ReservedRange::clear_has_start() { | |
3973 _has_bits_[0] &= ~0x00000001u; | |
3974 } | |
3975 inline void DescriptorProto_ReservedRange::clear_start() { | |
3976 start_ = 0; | |
3977 clear_has_start(); | |
3978 } | |
3979 inline ::google::protobuf::int32 DescriptorProto_ReservedRange::start() const { | |
3980 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.Reserved
Range.start) | |
3981 return start_; | |
3982 } | |
3983 inline void DescriptorProto_ReservedRange::set_start(::google::protobuf::int32 v
alue) { | |
3984 set_has_start(); | |
3985 start_ = value; | |
3986 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.Reserved
Range.start) | |
3987 } | |
3988 | |
3989 // optional int32 end = 2; | |
3990 inline bool DescriptorProto_ReservedRange::has_end() const { | |
3991 return (_has_bits_[0] & 0x00000002u) != 0; | |
3992 } | |
3993 inline void DescriptorProto_ReservedRange::set_has_end() { | |
3994 _has_bits_[0] |= 0x00000002u; | |
3995 } | |
3996 inline void DescriptorProto_ReservedRange::clear_has_end() { | |
3997 _has_bits_[0] &= ~0x00000002u; | |
3998 } | |
3999 inline void DescriptorProto_ReservedRange::clear_end() { | |
4000 end_ = 0; | |
4001 clear_has_end(); | |
4002 } | |
4003 inline ::google::protobuf::int32 DescriptorProto_ReservedRange::end() const { | |
4004 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.Reserved
Range.end) | |
4005 return end_; | |
4006 } | |
4007 inline void DescriptorProto_ReservedRange::set_end(::google::protobuf::int32 val
ue) { | |
4008 set_has_end(); | |
4009 end_ = value; | |
4010 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.Reserved
Range.end) | |
4011 } | |
4012 | |
4013 // ------------------------------------------------------------------- | |
4014 | 3266 |
4015 // DescriptorProto | 3267 // DescriptorProto |
4016 | 3268 |
4017 // optional string name = 1; | 3269 // optional string name = 1; |
4018 inline bool DescriptorProto::has_name() const { | 3270 inline bool DescriptorProto::has_name() const { |
4019 return (_has_bits_[0] & 0x00000001u) != 0; | 3271 return (_has_bits_[0] & 0x00000001u) != 0; |
4020 } | 3272 } |
4021 inline void DescriptorProto::set_has_name() { | 3273 inline void DescriptorProto::set_has_name() { |
4022 _has_bits_[0] |= 0x00000001u; | 3274 _has_bits_[0] |= 0x00000001u; |
4023 } | 3275 } |
4024 inline void DescriptorProto::clear_has_name() { | 3276 inline void DescriptorProto::clear_has_name() { |
4025 _has_bits_[0] &= ~0x00000001u; | 3277 _has_bits_[0] &= ~0x00000001u; |
4026 } | 3278 } |
4027 inline void DescriptorProto::clear_name() { | 3279 inline void DescriptorProto::clear_name() { |
4028 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 3280 if (name_ != &::google::protobuf::internal::GetEmptyString()) { |
| 3281 name_->clear(); |
| 3282 } |
4029 clear_has_name(); | 3283 clear_has_name(); |
4030 } | 3284 } |
4031 inline const ::std::string& DescriptorProto::name() const { | 3285 inline const ::std::string& DescriptorProto::name() const { |
4032 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name) | 3286 return *name_; |
4033 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); | |
4034 } | 3287 } |
4035 inline void DescriptorProto::set_name(const ::std::string& value) { | 3288 inline void DescriptorProto::set_name(const ::std::string& value) { |
4036 set_has_name(); | 3289 set_has_name(); |
4037 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 3290 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
4038 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name) | 3291 name_ = new ::std::string; |
| 3292 } |
| 3293 name_->assign(value); |
4039 } | 3294 } |
4040 inline void DescriptorProto::set_name(const char* value) { | 3295 inline void DescriptorProto::set_name(const char* value) { |
4041 set_has_name(); | 3296 set_has_name(); |
4042 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 3297 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
4043 // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.nam
e) | 3298 name_ = new ::std::string; |
| 3299 } |
| 3300 name_->assign(value); |
4044 } | 3301 } |
4045 inline void DescriptorProto::set_name(const char* value, size_t size) { | 3302 inline void DescriptorProto::set_name(const char* value, size_t size) { |
4046 set_has_name(); | 3303 set_has_name(); |
4047 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 3304 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
4048 ::std::string(reinterpret_cast<const char*>(value), size)); | 3305 name_ = new ::std::string; |
4049 // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.
name) | 3306 } |
| 3307 name_->assign(reinterpret_cast<const char*>(value), size); |
4050 } | 3308 } |
4051 inline ::std::string* DescriptorProto::mutable_name() { | 3309 inline ::std::string* DescriptorProto::mutable_name() { |
4052 set_has_name(); | 3310 set_has_name(); |
4053 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name
) | 3311 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
4054 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | 3312 name_ = new ::std::string; |
| 3313 } |
| 3314 return name_; |
4055 } | 3315 } |
4056 inline ::std::string* DescriptorProto::release_name() { | 3316 inline ::std::string* DescriptorProto::release_name() { |
4057 clear_has_name(); | 3317 clear_has_name(); |
4058 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | 3318 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
| 3319 return NULL; |
| 3320 } else { |
| 3321 ::std::string* temp = name_; |
| 3322 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyS
tring()); |
| 3323 return temp; |
| 3324 } |
4059 } | 3325 } |
4060 inline void DescriptorProto::set_allocated_name(::std::string* name) { | 3326 inline void DescriptorProto::set_allocated_name(::std::string* name) { |
4061 if (name != NULL) { | 3327 if (name_ != &::google::protobuf::internal::GetEmptyString()) { |
| 3328 delete name_; |
| 3329 } |
| 3330 if (name) { |
4062 set_has_name(); | 3331 set_has_name(); |
| 3332 name_ = name; |
4063 } else { | 3333 } else { |
4064 clear_has_name(); | 3334 clear_has_name(); |
| 3335 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyS
tring()); |
4065 } | 3336 } |
4066 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); | |
4067 // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProt
o.name) | |
4068 } | 3337 } |
4069 | 3338 |
4070 // repeated .google.protobuf.FieldDescriptorProto field = 2; | 3339 // repeated .google.protobuf.FieldDescriptorProto field = 2; |
4071 inline int DescriptorProto::field_size() const { | 3340 inline int DescriptorProto::field_size() const { |
4072 return field_.size(); | 3341 return field_.size(); |
4073 } | 3342 } |
4074 inline void DescriptorProto::clear_field() { | 3343 inline void DescriptorProto::clear_field() { |
4075 field_.Clear(); | 3344 field_.Clear(); |
4076 } | 3345 } |
4077 inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::field(in
t index) const { | 3346 inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::field(in
t index) const { |
4078 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.field) | |
4079 return field_.Get(index); | 3347 return field_.Get(index); |
4080 } | 3348 } |
4081 inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_field(
int index) { | 3349 inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_field(
int index) { |
4082 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.fiel
d) | |
4083 return field_.Mutable(index); | 3350 return field_.Mutable(index); |
4084 } | 3351 } |
4085 inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_field() { | 3352 inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_field() { |
4086 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.field) | |
4087 return field_.Add(); | 3353 return field_.Add(); |
4088 } | 3354 } |
4089 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDesc
riptorProto >& | 3355 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDesc
riptorProto >& |
4090 DescriptorProto::field() const { | 3356 DescriptorProto::field() const { |
4091 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.field) | |
4092 return field_; | 3357 return field_; |
4093 } | 3358 } |
4094 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptor
Proto >* | 3359 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptor
Proto >* |
4095 DescriptorProto::mutable_field() { | 3360 DescriptorProto::mutable_field() { |
4096 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto
.field) | |
4097 return &field_; | 3361 return &field_; |
4098 } | 3362 } |
4099 | 3363 |
4100 // repeated .google.protobuf.FieldDescriptorProto extension = 6; | 3364 // repeated .google.protobuf.FieldDescriptorProto extension = 6; |
4101 inline int DescriptorProto::extension_size() const { | 3365 inline int DescriptorProto::extension_size() const { |
4102 return extension_.size(); | 3366 return extension_.size(); |
4103 } | 3367 } |
4104 inline void DescriptorProto::clear_extension() { | 3368 inline void DescriptorProto::clear_extension() { |
4105 extension_.Clear(); | 3369 extension_.Clear(); |
4106 } | 3370 } |
4107 inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::extensio
n(int index) const { | 3371 inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::extensio
n(int index) const { |
4108 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extensio
n) | |
4109 return extension_.Get(index); | 3372 return extension_.Get(index); |
4110 } | 3373 } |
4111 inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_extens
ion(int index) { | 3374 inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_extens
ion(int index) { |
4112 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.exte
nsion) | |
4113 return extension_.Mutable(index); | 3375 return extension_.Mutable(index); |
4114 } | 3376 } |
4115 inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_extension(
) { | 3377 inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_extension(
) { |
4116 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extensio
n) | |
4117 return extension_.Add(); | 3378 return extension_.Add(); |
4118 } | 3379 } |
4119 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDesc
riptorProto >& | 3380 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDesc
riptorProto >& |
4120 DescriptorProto::extension() const { | 3381 DescriptorProto::extension() const { |
4121 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extensi
on) | |
4122 return extension_; | 3382 return extension_; |
4123 } | 3383 } |
4124 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptor
Proto >* | 3384 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptor
Proto >* |
4125 DescriptorProto::mutable_extension() { | 3385 DescriptorProto::mutable_extension() { |
4126 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto
.extension) | |
4127 return &extension_; | 3386 return &extension_; |
4128 } | 3387 } |
4129 | 3388 |
4130 // repeated .google.protobuf.DescriptorProto nested_type = 3; | 3389 // repeated .google.protobuf.DescriptorProto nested_type = 3; |
4131 inline int DescriptorProto::nested_type_size() const { | 3390 inline int DescriptorProto::nested_type_size() const { |
4132 return nested_type_.size(); | 3391 return nested_type_.size(); |
4133 } | 3392 } |
4134 inline void DescriptorProto::clear_nested_type() { | 3393 inline void DescriptorProto::clear_nested_type() { |
4135 nested_type_.Clear(); | 3394 nested_type_.Clear(); |
4136 } | 3395 } |
4137 inline const ::google::protobuf::DescriptorProto& DescriptorProto::nested_type(i
nt index) const { | 3396 inline const ::google::protobuf::DescriptorProto& DescriptorProto::nested_type(i
nt index) const { |
4138 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.nested_t
ype) | |
4139 return nested_type_.Get(index); | 3397 return nested_type_.Get(index); |
4140 } | 3398 } |
4141 inline ::google::protobuf::DescriptorProto* DescriptorProto::mutable_nested_type
(int index) { | 3399 inline ::google::protobuf::DescriptorProto* DescriptorProto::mutable_nested_type
(int index) { |
4142 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.nest
ed_type) | |
4143 return nested_type_.Mutable(index); | 3400 return nested_type_.Mutable(index); |
4144 } | 3401 } |
4145 inline ::google::protobuf::DescriptorProto* DescriptorProto::add_nested_type() { | 3402 inline ::google::protobuf::DescriptorProto* DescriptorProto::add_nested_type() { |
4146 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.nested_t
ype) | |
4147 return nested_type_.Add(); | 3403 return nested_type_.Add(); |
4148 } | 3404 } |
4149 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Descripto
rProto >& | 3405 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Descripto
rProto >& |
4150 DescriptorProto::nested_type() const { | 3406 DescriptorProto::nested_type() const { |
4151 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.nested_
type) | |
4152 return nested_type_; | 3407 return nested_type_; |
4153 } | 3408 } |
4154 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto
>* | 3409 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto
>* |
4155 DescriptorProto::mutable_nested_type() { | 3410 DescriptorProto::mutable_nested_type() { |
4156 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto
.nested_type) | |
4157 return &nested_type_; | 3411 return &nested_type_; |
4158 } | 3412 } |
4159 | 3413 |
4160 // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; | 3414 // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
4161 inline int DescriptorProto::enum_type_size() const { | 3415 inline int DescriptorProto::enum_type_size() const { |
4162 return enum_type_.size(); | 3416 return enum_type_.size(); |
4163 } | 3417 } |
4164 inline void DescriptorProto::clear_enum_type() { | 3418 inline void DescriptorProto::clear_enum_type() { |
4165 enum_type_.Clear(); | 3419 enum_type_.Clear(); |
4166 } | 3420 } |
4167 inline const ::google::protobuf::EnumDescriptorProto& DescriptorProto::enum_type
(int index) const { | 3421 inline const ::google::protobuf::EnumDescriptorProto& DescriptorProto::enum_type
(int index) const { |
4168 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.enum_typ
e) | |
4169 return enum_type_.Get(index); | 3422 return enum_type_.Get(index); |
4170 } | 3423 } |
4171 inline ::google::protobuf::EnumDescriptorProto* DescriptorProto::mutable_enum_ty
pe(int index) { | 3424 inline ::google::protobuf::EnumDescriptorProto* DescriptorProto::mutable_enum_ty
pe(int index) { |
4172 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.enum
_type) | |
4173 return enum_type_.Mutable(index); | 3425 return enum_type_.Mutable(index); |
4174 } | 3426 } |
4175 inline ::google::protobuf::EnumDescriptorProto* DescriptorProto::add_enum_type()
{ | 3427 inline ::google::protobuf::EnumDescriptorProto* DescriptorProto::add_enum_type()
{ |
4176 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.enum_typ
e) | |
4177 return enum_type_.Add(); | 3428 return enum_type_.Add(); |
4178 } | 3429 } |
4179 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescr
iptorProto >& | 3430 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescr
iptorProto >& |
4180 DescriptorProto::enum_type() const { | 3431 DescriptorProto::enum_type() const { |
4181 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.enum_ty
pe) | |
4182 return enum_type_; | 3432 return enum_type_; |
4183 } | 3433 } |
4184 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorP
roto >* | 3434 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorP
roto >* |
4185 DescriptorProto::mutable_enum_type() { | 3435 DescriptorProto::mutable_enum_type() { |
4186 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto
.enum_type) | |
4187 return &enum_type_; | 3436 return &enum_type_; |
4188 } | 3437 } |
4189 | 3438 |
4190 // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; | 3439 // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
4191 inline int DescriptorProto::extension_range_size() const { | 3440 inline int DescriptorProto::extension_range_size() const { |
4192 return extension_range_.size(); | 3441 return extension_range_.size(); |
4193 } | 3442 } |
4194 inline void DescriptorProto::clear_extension_range() { | 3443 inline void DescriptorProto::clear_extension_range() { |
4195 extension_range_.Clear(); | 3444 extension_range_.Clear(); |
4196 } | 3445 } |
4197 inline const ::google::protobuf::DescriptorProto_ExtensionRange& DescriptorProto
::extension_range(int index) const { | 3446 inline const ::google::protobuf::DescriptorProto_ExtensionRange& DescriptorProto
::extension_range(int index) const { |
4198 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extensio
n_range) | |
4199 return extension_range_.Get(index); | 3447 return extension_range_.Get(index); |
4200 } | 3448 } |
4201 inline ::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::muta
ble_extension_range(int index) { | 3449 inline ::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::muta
ble_extension_range(int index) { |
4202 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.exte
nsion_range) | |
4203 return extension_range_.Mutable(index); | 3450 return extension_range_.Mutable(index); |
4204 } | 3451 } |
4205 inline ::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::add_
extension_range() { | 3452 inline ::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::add_
extension_range() { |
4206 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extensio
n_range) | |
4207 return extension_range_.Add(); | 3453 return extension_range_.Add(); |
4208 } | 3454 } |
4209 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Descripto
rProto_ExtensionRange >& | 3455 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Descripto
rProto_ExtensionRange >& |
4210 DescriptorProto::extension_range() const { | 3456 DescriptorProto::extension_range() const { |
4211 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extensi
on_range) | |
4212 return extension_range_; | 3457 return extension_range_; |
4213 } | 3458 } |
4214 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto
_ExtensionRange >* | 3459 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto
_ExtensionRange >* |
4215 DescriptorProto::mutable_extension_range() { | 3460 DescriptorProto::mutable_extension_range() { |
4216 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto
.extension_range) | |
4217 return &extension_range_; | 3461 return &extension_range_; |
4218 } | 3462 } |
4219 | 3463 |
4220 // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; | |
4221 inline int DescriptorProto::oneof_decl_size() const { | |
4222 return oneof_decl_.size(); | |
4223 } | |
4224 inline void DescriptorProto::clear_oneof_decl() { | |
4225 oneof_decl_.Clear(); | |
4226 } | |
4227 inline const ::google::protobuf::OneofDescriptorProto& DescriptorProto::oneof_de
cl(int index) const { | |
4228 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.oneof_de
cl) | |
4229 return oneof_decl_.Get(index); | |
4230 } | |
4231 inline ::google::protobuf::OneofDescriptorProto* DescriptorProto::mutable_oneof_
decl(int index) { | |
4232 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.oneo
f_decl) | |
4233 return oneof_decl_.Mutable(index); | |
4234 } | |
4235 inline ::google::protobuf::OneofDescriptorProto* DescriptorProto::add_oneof_decl
() { | |
4236 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.oneof_de
cl) | |
4237 return oneof_decl_.Add(); | |
4238 } | |
4239 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDesc
riptorProto >& | |
4240 DescriptorProto::oneof_decl() const { | |
4241 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_d
ecl) | |
4242 return oneof_decl_; | |
4243 } | |
4244 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptor
Proto >* | |
4245 DescriptorProto::mutable_oneof_decl() { | |
4246 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto
.oneof_decl) | |
4247 return &oneof_decl_; | |
4248 } | |
4249 | |
4250 // optional .google.protobuf.MessageOptions options = 7; | 3464 // optional .google.protobuf.MessageOptions options = 7; |
4251 inline bool DescriptorProto::has_options() const { | 3465 inline bool DescriptorProto::has_options() const { |
4252 return (_has_bits_[0] & 0x00000080u) != 0; | 3466 return (_has_bits_[0] & 0x00000040u) != 0; |
4253 } | 3467 } |
4254 inline void DescriptorProto::set_has_options() { | 3468 inline void DescriptorProto::set_has_options() { |
4255 _has_bits_[0] |= 0x00000080u; | 3469 _has_bits_[0] |= 0x00000040u; |
4256 } | 3470 } |
4257 inline void DescriptorProto::clear_has_options() { | 3471 inline void DescriptorProto::clear_has_options() { |
4258 _has_bits_[0] &= ~0x00000080u; | 3472 _has_bits_[0] &= ~0x00000040u; |
4259 } | 3473 } |
4260 inline void DescriptorProto::clear_options() { | 3474 inline void DescriptorProto::clear_options() { |
4261 if (options_ != NULL) options_->::google::protobuf::MessageOptions::Clear(); | 3475 if (options_ != NULL) options_->::google::protobuf::MessageOptions::Clear(); |
4262 clear_has_options(); | 3476 clear_has_options(); |
4263 } | 3477 } |
4264 inline const ::google::protobuf::MessageOptions& DescriptorProto::options() cons
t { | 3478 inline const ::google::protobuf::MessageOptions& DescriptorProto::options() cons
t { |
4265 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options) | |
4266 return options_ != NULL ? *options_ : *default_instance_->options_; | 3479 return options_ != NULL ? *options_ : *default_instance_->options_; |
4267 } | 3480 } |
4268 inline ::google::protobuf::MessageOptions* DescriptorProto::mutable_options() { | 3481 inline ::google::protobuf::MessageOptions* DescriptorProto::mutable_options() { |
4269 set_has_options(); | 3482 set_has_options(); |
4270 if (options_ == NULL) { | 3483 if (options_ == NULL) options_ = new ::google::protobuf::MessageOptions; |
4271 options_ = new ::google::protobuf::MessageOptions; | |
4272 } | |
4273 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.opti
ons) | |
4274 return options_; | 3484 return options_; |
4275 } | 3485 } |
4276 inline ::google::protobuf::MessageOptions* DescriptorProto::release_options() { | 3486 inline ::google::protobuf::MessageOptions* DescriptorProto::release_options() { |
4277 clear_has_options(); | 3487 clear_has_options(); |
4278 ::google::protobuf::MessageOptions* temp = options_; | 3488 ::google::protobuf::MessageOptions* temp = options_; |
4279 options_ = NULL; | 3489 options_ = NULL; |
4280 return temp; | 3490 return temp; |
4281 } | 3491 } |
4282 inline void DescriptorProto::set_allocated_options(::google::protobuf::MessageOp
tions* options) { | 3492 inline void DescriptorProto::set_allocated_options(::google::protobuf::MessageOp
tions* options) { |
4283 delete options_; | 3493 delete options_; |
4284 options_ = options; | 3494 options_ = options; |
4285 if (options) { | 3495 if (options) { |
4286 set_has_options(); | 3496 set_has_options(); |
4287 } else { | 3497 } else { |
4288 clear_has_options(); | 3498 clear_has_options(); |
4289 } | 3499 } |
4290 // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProt
o.options) | |
4291 } | |
4292 | |
4293 // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; | |
4294 inline int DescriptorProto::reserved_range_size() const { | |
4295 return reserved_range_.size(); | |
4296 } | |
4297 inline void DescriptorProto::clear_reserved_range() { | |
4298 reserved_range_.Clear(); | |
4299 } | |
4300 inline const ::google::protobuf::DescriptorProto_ReservedRange& DescriptorProto:
:reserved_range(int index) const { | |
4301 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved
_range) | |
4302 return reserved_range_.Get(index); | |
4303 } | |
4304 inline ::google::protobuf::DescriptorProto_ReservedRange* DescriptorProto::mutab
le_reserved_range(int index) { | |
4305 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.rese
rved_range) | |
4306 return reserved_range_.Mutable(index); | |
4307 } | |
4308 inline ::google::protobuf::DescriptorProto_ReservedRange* DescriptorProto::add_r
eserved_range() { | |
4309 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved
_range) | |
4310 return reserved_range_.Add(); | |
4311 } | |
4312 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Descripto
rProto_ReservedRange >& | |
4313 DescriptorProto::reserved_range() const { | |
4314 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserve
d_range) | |
4315 return reserved_range_; | |
4316 } | |
4317 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto
_ReservedRange >* | |
4318 DescriptorProto::mutable_reserved_range() { | |
4319 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto
.reserved_range) | |
4320 return &reserved_range_; | |
4321 } | |
4322 | |
4323 // repeated string reserved_name = 10; | |
4324 inline int DescriptorProto::reserved_name_size() const { | |
4325 return reserved_name_.size(); | |
4326 } | |
4327 inline void DescriptorProto::clear_reserved_name() { | |
4328 reserved_name_.Clear(); | |
4329 } | |
4330 inline const ::std::string& DescriptorProto::reserved_name(int index) const { | |
4331 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved
_name) | |
4332 return reserved_name_.Get(index); | |
4333 } | |
4334 inline ::std::string* DescriptorProto::mutable_reserved_name(int index) { | |
4335 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.rese
rved_name) | |
4336 return reserved_name_.Mutable(index); | |
4337 } | |
4338 inline void DescriptorProto::set_reserved_name(int index, const ::std::string& v
alue) { | |
4339 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved
_name) | |
4340 reserved_name_.Mutable(index)->assign(value); | |
4341 } | |
4342 inline void DescriptorProto::set_reserved_name(int index, const char* value) { | |
4343 reserved_name_.Mutable(index)->assign(value); | |
4344 // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.res
erved_name) | |
4345 } | |
4346 inline void DescriptorProto::set_reserved_name(int index, const char* value, siz
e_t size) { | |
4347 reserved_name_.Mutable(index)->assign( | |
4348 reinterpret_cast<const char*>(value), size); | |
4349 // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.
reserved_name) | |
4350 } | |
4351 inline ::std::string* DescriptorProto::add_reserved_name() { | |
4352 return reserved_name_.Add(); | |
4353 } | |
4354 inline void DescriptorProto::add_reserved_name(const ::std::string& value) { | |
4355 reserved_name_.Add()->assign(value); | |
4356 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved
_name) | |
4357 } | |
4358 inline void DescriptorProto::add_reserved_name(const char* value) { | |
4359 reserved_name_.Add()->assign(value); | |
4360 // @@protoc_insertion_point(field_add_char:google.protobuf.DescriptorProto.res
erved_name) | |
4361 } | |
4362 inline void DescriptorProto::add_reserved_name(const char* value, size_t size) { | |
4363 reserved_name_.Add()->assign(reinterpret_cast<const char*>(value), size); | |
4364 // @@protoc_insertion_point(field_add_pointer:google.protobuf.DescriptorProto.
reserved_name) | |
4365 } | |
4366 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& | |
4367 DescriptorProto::reserved_name() const { | |
4368 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserve
d_name) | |
4369 return reserved_name_; | |
4370 } | |
4371 inline ::google::protobuf::RepeatedPtrField< ::std::string>* | |
4372 DescriptorProto::mutable_reserved_name() { | |
4373 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto
.reserved_name) | |
4374 return &reserved_name_; | |
4375 } | 3500 } |
4376 | 3501 |
4377 // ------------------------------------------------------------------- | 3502 // ------------------------------------------------------------------- |
4378 | 3503 |
4379 // FieldDescriptorProto | 3504 // FieldDescriptorProto |
4380 | 3505 |
4381 // optional string name = 1; | 3506 // optional string name = 1; |
4382 inline bool FieldDescriptorProto::has_name() const { | 3507 inline bool FieldDescriptorProto::has_name() const { |
4383 return (_has_bits_[0] & 0x00000001u) != 0; | 3508 return (_has_bits_[0] & 0x00000001u) != 0; |
4384 } | 3509 } |
4385 inline void FieldDescriptorProto::set_has_name() { | 3510 inline void FieldDescriptorProto::set_has_name() { |
4386 _has_bits_[0] |= 0x00000001u; | 3511 _has_bits_[0] |= 0x00000001u; |
4387 } | 3512 } |
4388 inline void FieldDescriptorProto::clear_has_name() { | 3513 inline void FieldDescriptorProto::clear_has_name() { |
4389 _has_bits_[0] &= ~0x00000001u; | 3514 _has_bits_[0] &= ~0x00000001u; |
4390 } | 3515 } |
4391 inline void FieldDescriptorProto::clear_name() { | 3516 inline void FieldDescriptorProto::clear_name() { |
4392 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 3517 if (name_ != &::google::protobuf::internal::GetEmptyString()) { |
| 3518 name_->clear(); |
| 3519 } |
4393 clear_has_name(); | 3520 clear_has_name(); |
4394 } | 3521 } |
4395 inline const ::std::string& FieldDescriptorProto::name() const { | 3522 inline const ::std::string& FieldDescriptorProto::name() const { |
4396 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.nam
e) | 3523 return *name_; |
4397 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); | |
4398 } | 3524 } |
4399 inline void FieldDescriptorProto::set_name(const ::std::string& value) { | 3525 inline void FieldDescriptorProto::set_name(const ::std::string& value) { |
4400 set_has_name(); | 3526 set_has_name(); |
4401 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 3527 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
4402 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.nam
e) | 3528 name_ = new ::std::string; |
| 3529 } |
| 3530 name_->assign(value); |
4403 } | 3531 } |
4404 inline void FieldDescriptorProto::set_name(const char* value) { | 3532 inline void FieldDescriptorProto::set_name(const char* value) { |
4405 set_has_name(); | 3533 set_has_name(); |
4406 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 3534 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
4407 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.name) | 3535 name_ = new ::std::string; |
| 3536 } |
| 3537 name_->assign(value); |
4408 } | 3538 } |
4409 inline void FieldDescriptorProto::set_name(const char* value, size_t size) { | 3539 inline void FieldDescriptorProto::set_name(const char* value, size_t size) { |
4410 set_has_name(); | 3540 set_has_name(); |
4411 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 3541 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
4412 ::std::string(reinterpret_cast<const char*>(value), size)); | 3542 name_ = new ::std::string; |
4413 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.name) | 3543 } |
| 3544 name_->assign(reinterpret_cast<const char*>(value), size); |
4414 } | 3545 } |
4415 inline ::std::string* FieldDescriptorProto::mutable_name() { | 3546 inline ::std::string* FieldDescriptorProto::mutable_name() { |
4416 set_has_name(); | 3547 set_has_name(); |
4417 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto
.name) | 3548 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
4418 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | 3549 name_ = new ::std::string; |
| 3550 } |
| 3551 return name_; |
4419 } | 3552 } |
4420 inline ::std::string* FieldDescriptorProto::release_name() { | 3553 inline ::std::string* FieldDescriptorProto::release_name() { |
4421 clear_has_name(); | 3554 clear_has_name(); |
4422 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | 3555 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
| 3556 return NULL; |
| 3557 } else { |
| 3558 ::std::string* temp = name_; |
| 3559 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyS
tring()); |
| 3560 return temp; |
| 3561 } |
4423 } | 3562 } |
4424 inline void FieldDescriptorProto::set_allocated_name(::std::string* name) { | 3563 inline void FieldDescriptorProto::set_allocated_name(::std::string* name) { |
4425 if (name != NULL) { | 3564 if (name_ != &::google::protobuf::internal::GetEmptyString()) { |
| 3565 delete name_; |
| 3566 } |
| 3567 if (name) { |
4426 set_has_name(); | 3568 set_has_name(); |
| 3569 name_ = name; |
4427 } else { | 3570 } else { |
4428 clear_has_name(); | 3571 clear_has_name(); |
| 3572 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyS
tring()); |
4429 } | 3573 } |
4430 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); | |
4431 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.name) | |
4432 } | 3574 } |
4433 | 3575 |
4434 // optional int32 number = 3; | 3576 // optional int32 number = 3; |
4435 inline bool FieldDescriptorProto::has_number() const { | 3577 inline bool FieldDescriptorProto::has_number() const { |
4436 return (_has_bits_[0] & 0x00000002u) != 0; | 3578 return (_has_bits_[0] & 0x00000002u) != 0; |
4437 } | 3579 } |
4438 inline void FieldDescriptorProto::set_has_number() { | 3580 inline void FieldDescriptorProto::set_has_number() { |
4439 _has_bits_[0] |= 0x00000002u; | 3581 _has_bits_[0] |= 0x00000002u; |
4440 } | 3582 } |
4441 inline void FieldDescriptorProto::clear_has_number() { | 3583 inline void FieldDescriptorProto::clear_has_number() { |
4442 _has_bits_[0] &= ~0x00000002u; | 3584 _has_bits_[0] &= ~0x00000002u; |
4443 } | 3585 } |
4444 inline void FieldDescriptorProto::clear_number() { | 3586 inline void FieldDescriptorProto::clear_number() { |
4445 number_ = 0; | 3587 number_ = 0; |
4446 clear_has_number(); | 3588 clear_has_number(); |
4447 } | 3589 } |
4448 inline ::google::protobuf::int32 FieldDescriptorProto::number() const { | 3590 inline ::google::protobuf::int32 FieldDescriptorProto::number() const { |
4449 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.num
ber) | |
4450 return number_; | 3591 return number_; |
4451 } | 3592 } |
4452 inline void FieldDescriptorProto::set_number(::google::protobuf::int32 value) { | 3593 inline void FieldDescriptorProto::set_number(::google::protobuf::int32 value) { |
4453 set_has_number(); | 3594 set_has_number(); |
4454 number_ = value; | 3595 number_ = value; |
4455 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.num
ber) | |
4456 } | 3596 } |
4457 | 3597 |
4458 // optional .google.protobuf.FieldDescriptorProto.Label label = 4; | 3598 // optional .google.protobuf.FieldDescriptorProto.Label label = 4; |
4459 inline bool FieldDescriptorProto::has_label() const { | 3599 inline bool FieldDescriptorProto::has_label() const { |
4460 return (_has_bits_[0] & 0x00000004u) != 0; | 3600 return (_has_bits_[0] & 0x00000004u) != 0; |
4461 } | 3601 } |
4462 inline void FieldDescriptorProto::set_has_label() { | 3602 inline void FieldDescriptorProto::set_has_label() { |
4463 _has_bits_[0] |= 0x00000004u; | 3603 _has_bits_[0] |= 0x00000004u; |
4464 } | 3604 } |
4465 inline void FieldDescriptorProto::clear_has_label() { | 3605 inline void FieldDescriptorProto::clear_has_label() { |
4466 _has_bits_[0] &= ~0x00000004u; | 3606 _has_bits_[0] &= ~0x00000004u; |
4467 } | 3607 } |
4468 inline void FieldDescriptorProto::clear_label() { | 3608 inline void FieldDescriptorProto::clear_label() { |
4469 label_ = 1; | 3609 label_ = 1; |
4470 clear_has_label(); | 3610 clear_has_label(); |
4471 } | 3611 } |
4472 inline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::labe
l() const { | 3612 inline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::labe
l() const { |
4473 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.lab
el) | |
4474 return static_cast< ::google::protobuf::FieldDescriptorProto_Label >(label_); | 3613 return static_cast< ::google::protobuf::FieldDescriptorProto_Label >(label_); |
4475 } | 3614 } |
4476 inline void FieldDescriptorProto::set_label(::google::protobuf::FieldDescriptorP
roto_Label value) { | 3615 inline void FieldDescriptorProto::set_label(::google::protobuf::FieldDescriptorP
roto_Label value) { |
4477 assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value)); | 3616 assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value)); |
4478 set_has_label(); | 3617 set_has_label(); |
4479 label_ = value; | 3618 label_ = value; |
4480 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.lab
el) | |
4481 } | 3619 } |
4482 | 3620 |
4483 // optional .google.protobuf.FieldDescriptorProto.Type type = 5; | 3621 // optional .google.protobuf.FieldDescriptorProto.Type type = 5; |
4484 inline bool FieldDescriptorProto::has_type() const { | 3622 inline bool FieldDescriptorProto::has_type() const { |
4485 return (_has_bits_[0] & 0x00000008u) != 0; | 3623 return (_has_bits_[0] & 0x00000008u) != 0; |
4486 } | 3624 } |
4487 inline void FieldDescriptorProto::set_has_type() { | 3625 inline void FieldDescriptorProto::set_has_type() { |
4488 _has_bits_[0] |= 0x00000008u; | 3626 _has_bits_[0] |= 0x00000008u; |
4489 } | 3627 } |
4490 inline void FieldDescriptorProto::clear_has_type() { | 3628 inline void FieldDescriptorProto::clear_has_type() { |
4491 _has_bits_[0] &= ~0x00000008u; | 3629 _has_bits_[0] &= ~0x00000008u; |
4492 } | 3630 } |
4493 inline void FieldDescriptorProto::clear_type() { | 3631 inline void FieldDescriptorProto::clear_type() { |
4494 type_ = 1; | 3632 type_ = 1; |
4495 clear_has_type(); | 3633 clear_has_type(); |
4496 } | 3634 } |
4497 inline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::type(
) const { | 3635 inline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::type(
) const { |
4498 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.typ
e) | |
4499 return static_cast< ::google::protobuf::FieldDescriptorProto_Type >(type_); | 3636 return static_cast< ::google::protobuf::FieldDescriptorProto_Type >(type_); |
4500 } | 3637 } |
4501 inline void FieldDescriptorProto::set_type(::google::protobuf::FieldDescriptorPr
oto_Type value) { | 3638 inline void FieldDescriptorProto::set_type(::google::protobuf::FieldDescriptorPr
oto_Type value) { |
4502 assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value)); | 3639 assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value)); |
4503 set_has_type(); | 3640 set_has_type(); |
4504 type_ = value; | 3641 type_ = value; |
4505 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.typ
e) | |
4506 } | 3642 } |
4507 | 3643 |
4508 // optional string type_name = 6; | 3644 // optional string type_name = 6; |
4509 inline bool FieldDescriptorProto::has_type_name() const { | 3645 inline bool FieldDescriptorProto::has_type_name() const { |
4510 return (_has_bits_[0] & 0x00000010u) != 0; | 3646 return (_has_bits_[0] & 0x00000010u) != 0; |
4511 } | 3647 } |
4512 inline void FieldDescriptorProto::set_has_type_name() { | 3648 inline void FieldDescriptorProto::set_has_type_name() { |
4513 _has_bits_[0] |= 0x00000010u; | 3649 _has_bits_[0] |= 0x00000010u; |
4514 } | 3650 } |
4515 inline void FieldDescriptorProto::clear_has_type_name() { | 3651 inline void FieldDescriptorProto::clear_has_type_name() { |
4516 _has_bits_[0] &= ~0x00000010u; | 3652 _has_bits_[0] &= ~0x00000010u; |
4517 } | 3653 } |
4518 inline void FieldDescriptorProto::clear_type_name() { | 3654 inline void FieldDescriptorProto::clear_type_name() { |
4519 type_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); | 3655 if (type_name_ != &::google::protobuf::internal::GetEmptyString()) { |
| 3656 type_name_->clear(); |
| 3657 } |
4520 clear_has_type_name(); | 3658 clear_has_type_name(); |
4521 } | 3659 } |
4522 inline const ::std::string& FieldDescriptorProto::type_name() const { | 3660 inline const ::std::string& FieldDescriptorProto::type_name() const { |
4523 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.typ
e_name) | 3661 return *type_name_; |
4524 return type_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited()); | |
4525 } | 3662 } |
4526 inline void FieldDescriptorProto::set_type_name(const ::std::string& value) { | 3663 inline void FieldDescriptorProto::set_type_name(const ::std::string& value) { |
4527 set_has_type_name(); | 3664 set_has_type_name(); |
4528 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), value); | 3665 if (type_name_ == &::google::protobuf::internal::GetEmptyString()) { |
4529 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.typ
e_name) | 3666 type_name_ = new ::std::string; |
| 3667 } |
| 3668 type_name_->assign(value); |
4530 } | 3669 } |
4531 inline void FieldDescriptorProto::set_type_name(const char* value) { | 3670 inline void FieldDescriptorProto::set_type_name(const char* value) { |
4532 set_has_type_name(); | 3671 set_has_type_name(); |
4533 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), ::std::string(value)); | 3672 if (type_name_ == &::google::protobuf::internal::GetEmptyString()) { |
4534 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.type_name) | 3673 type_name_ = new ::std::string; |
| 3674 } |
| 3675 type_name_->assign(value); |
4535 } | 3676 } |
4536 inline void FieldDescriptorProto::set_type_name(const char* value, size_t size)
{ | 3677 inline void FieldDescriptorProto::set_type_name(const char* value, size_t size)
{ |
4537 set_has_type_name(); | 3678 set_has_type_name(); |
4538 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), | 3679 if (type_name_ == &::google::protobuf::internal::GetEmptyString()) { |
4539 ::std::string(reinterpret_cast<const char*>(value), size)); | 3680 type_name_ = new ::std::string; |
4540 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.type_name) | 3681 } |
| 3682 type_name_->assign(reinterpret_cast<const char*>(value), size); |
4541 } | 3683 } |
4542 inline ::std::string* FieldDescriptorProto::mutable_type_name() { | 3684 inline ::std::string* FieldDescriptorProto::mutable_type_name() { |
4543 set_has_type_name(); | 3685 set_has_type_name(); |
4544 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto
.type_name) | 3686 if (type_name_ == &::google::protobuf::internal::GetEmptyString()) { |
4545 return type_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited()); | 3687 type_name_ = new ::std::string; |
| 3688 } |
| 3689 return type_name_; |
4546 } | 3690 } |
4547 inline ::std::string* FieldDescriptorProto::release_type_name() { | 3691 inline ::std::string* FieldDescriptorProto::release_type_name() { |
4548 clear_has_type_name(); | 3692 clear_has_type_name(); |
4549 return type_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited()); | 3693 if (type_name_ == &::google::protobuf::internal::GetEmptyString()) { |
| 3694 return NULL; |
| 3695 } else { |
| 3696 ::std::string* temp = type_name_; |
| 3697 type_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetE
mptyString()); |
| 3698 return temp; |
| 3699 } |
4550 } | 3700 } |
4551 inline void FieldDescriptorProto::set_allocated_type_name(::std::string* type_na
me) { | 3701 inline void FieldDescriptorProto::set_allocated_type_name(::std::string* type_na
me) { |
4552 if (type_name != NULL) { | 3702 if (type_name_ != &::google::protobuf::internal::GetEmptyString()) { |
| 3703 delete type_name_; |
| 3704 } |
| 3705 if (type_name) { |
4553 set_has_type_name(); | 3706 set_has_type_name(); |
| 3707 type_name_ = type_name; |
4554 } else { | 3708 } else { |
4555 clear_has_type_name(); | 3709 clear_has_type_name(); |
| 3710 type_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetE
mptyString()); |
4556 } | 3711 } |
4557 type_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited(), type_name); | |
4558 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.type_name) | |
4559 } | 3712 } |
4560 | 3713 |
4561 // optional string extendee = 2; | 3714 // optional string extendee = 2; |
4562 inline bool FieldDescriptorProto::has_extendee() const { | 3715 inline bool FieldDescriptorProto::has_extendee() const { |
4563 return (_has_bits_[0] & 0x00000020u) != 0; | 3716 return (_has_bits_[0] & 0x00000020u) != 0; |
4564 } | 3717 } |
4565 inline void FieldDescriptorProto::set_has_extendee() { | 3718 inline void FieldDescriptorProto::set_has_extendee() { |
4566 _has_bits_[0] |= 0x00000020u; | 3719 _has_bits_[0] |= 0x00000020u; |
4567 } | 3720 } |
4568 inline void FieldDescriptorProto::clear_has_extendee() { | 3721 inline void FieldDescriptorProto::clear_has_extendee() { |
4569 _has_bits_[0] &= ~0x00000020u; | 3722 _has_bits_[0] &= ~0x00000020u; |
4570 } | 3723 } |
4571 inline void FieldDescriptorProto::clear_extendee() { | 3724 inline void FieldDescriptorProto::clear_extendee() { |
4572 extendee_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited()); | 3725 if (extendee_ != &::google::protobuf::internal::GetEmptyString()) { |
| 3726 extendee_->clear(); |
| 3727 } |
4573 clear_has_extendee(); | 3728 clear_has_extendee(); |
4574 } | 3729 } |
4575 inline const ::std::string& FieldDescriptorProto::extendee() const { | 3730 inline const ::std::string& FieldDescriptorProto::extendee() const { |
4576 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.ext
endee) | 3731 return *extendee_; |
4577 return extendee_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | |
4578 } | 3732 } |
4579 inline void FieldDescriptorProto::set_extendee(const ::std::string& value) { | 3733 inline void FieldDescriptorProto::set_extendee(const ::std::string& value) { |
4580 set_has_extendee(); | 3734 set_has_extendee(); |
4581 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), value); | 3735 if (extendee_ == &::google::protobuf::internal::GetEmptyString()) { |
4582 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.ext
endee) | 3736 extendee_ = new ::std::string; |
| 3737 } |
| 3738 extendee_->assign(value); |
4583 } | 3739 } |
4584 inline void FieldDescriptorProto::set_extendee(const char* value) { | 3740 inline void FieldDescriptorProto::set_extendee(const char* value) { |
4585 set_has_extendee(); | 3741 set_has_extendee(); |
4586 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), ::std::string(value)); | 3742 if (extendee_ == &::google::protobuf::internal::GetEmptyString()) { |
4587 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.extendee) | 3743 extendee_ = new ::std::string; |
| 3744 } |
| 3745 extendee_->assign(value); |
4588 } | 3746 } |
4589 inline void FieldDescriptorProto::set_extendee(const char* value, size_t size) { | 3747 inline void FieldDescriptorProto::set_extendee(const char* value, size_t size) { |
4590 set_has_extendee(); | 3748 set_has_extendee(); |
4591 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), | 3749 if (extendee_ == &::google::protobuf::internal::GetEmptyString()) { |
4592 ::std::string(reinterpret_cast<const char*>(value), size)); | 3750 extendee_ = new ::std::string; |
4593 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.extendee) | 3751 } |
| 3752 extendee_->assign(reinterpret_cast<const char*>(value), size); |
4594 } | 3753 } |
4595 inline ::std::string* FieldDescriptorProto::mutable_extendee() { | 3754 inline ::std::string* FieldDescriptorProto::mutable_extendee() { |
4596 set_has_extendee(); | 3755 set_has_extendee(); |
4597 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto
.extendee) | 3756 if (extendee_ == &::google::protobuf::internal::GetEmptyString()) { |
4598 return extendee_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); | 3757 extendee_ = new ::std::string; |
| 3758 } |
| 3759 return extendee_; |
4599 } | 3760 } |
4600 inline ::std::string* FieldDescriptorProto::release_extendee() { | 3761 inline ::std::string* FieldDescriptorProto::release_extendee() { |
4601 clear_has_extendee(); | 3762 clear_has_extendee(); |
4602 return extendee_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); | 3763 if (extendee_ == &::google::protobuf::internal::GetEmptyString()) { |
| 3764 return NULL; |
| 3765 } else { |
| 3766 ::std::string* temp = extendee_; |
| 3767 extendee_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEm
ptyString()); |
| 3768 return temp; |
| 3769 } |
4603 } | 3770 } |
4604 inline void FieldDescriptorProto::set_allocated_extendee(::std::string* extendee
) { | 3771 inline void FieldDescriptorProto::set_allocated_extendee(::std::string* extendee
) { |
4605 if (extendee != NULL) { | 3772 if (extendee_ != &::google::protobuf::internal::GetEmptyString()) { |
| 3773 delete extendee_; |
| 3774 } |
| 3775 if (extendee) { |
4606 set_has_extendee(); | 3776 set_has_extendee(); |
| 3777 extendee_ = extendee; |
4607 } else { | 3778 } else { |
4608 clear_has_extendee(); | 3779 clear_has_extendee(); |
| 3780 extendee_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEm
ptyString()); |
4609 } | 3781 } |
4610 extendee_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), extendee); | |
4611 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.extendee) | |
4612 } | 3782 } |
4613 | 3783 |
4614 // optional string default_value = 7; | 3784 // optional string default_value = 7; |
4615 inline bool FieldDescriptorProto::has_default_value() const { | 3785 inline bool FieldDescriptorProto::has_default_value() const { |
4616 return (_has_bits_[0] & 0x00000040u) != 0; | 3786 return (_has_bits_[0] & 0x00000040u) != 0; |
4617 } | 3787 } |
4618 inline void FieldDescriptorProto::set_has_default_value() { | 3788 inline void FieldDescriptorProto::set_has_default_value() { |
4619 _has_bits_[0] |= 0x00000040u; | 3789 _has_bits_[0] |= 0x00000040u; |
4620 } | 3790 } |
4621 inline void FieldDescriptorProto::clear_has_default_value() { | 3791 inline void FieldDescriptorProto::clear_has_default_value() { |
4622 _has_bits_[0] &= ~0x00000040u; | 3792 _has_bits_[0] &= ~0x00000040u; |
4623 } | 3793 } |
4624 inline void FieldDescriptorProto::clear_default_value() { | 3794 inline void FieldDescriptorProto::clear_default_value() { |
4625 default_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStri
ngAlreadyInited()); | 3795 if (default_value_ != &::google::protobuf::internal::GetEmptyString()) { |
| 3796 default_value_->clear(); |
| 3797 } |
4626 clear_has_default_value(); | 3798 clear_has_default_value(); |
4627 } | 3799 } |
4628 inline const ::std::string& FieldDescriptorProto::default_value() const { | 3800 inline const ::std::string& FieldDescriptorProto::default_value() const { |
4629 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.def
ault_value) | 3801 return *default_value_; |
4630 return default_value_.GetNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited()); | |
4631 } | 3802 } |
4632 inline void FieldDescriptorProto::set_default_value(const ::std::string& value)
{ | 3803 inline void FieldDescriptorProto::set_default_value(const ::std::string& value)
{ |
4633 set_has_default_value(); | 3804 set_has_default_value(); |
4634 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), value); | 3805 if (default_value_ == &::google::protobuf::internal::GetEmptyString()) { |
4635 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.def
ault_value) | 3806 default_value_ = new ::std::string; |
| 3807 } |
| 3808 default_value_->assign(value); |
4636 } | 3809 } |
4637 inline void FieldDescriptorProto::set_default_value(const char* value) { | 3810 inline void FieldDescriptorProto::set_default_value(const char* value) { |
4638 set_has_default_value(); | 3811 set_has_default_value(); |
4639 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), ::std::string(value)); | 3812 if (default_value_ == &::google::protobuf::internal::GetEmptyString()) { |
4640 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.default_value) | 3813 default_value_ = new ::std::string; |
| 3814 } |
| 3815 default_value_->assign(value); |
4641 } | 3816 } |
4642 inline void FieldDescriptorProto::set_default_value(const char* value, size_t si
ze) { | 3817 inline void FieldDescriptorProto::set_default_value(const char* value, size_t si
ze) { |
4643 set_has_default_value(); | 3818 set_has_default_value(); |
4644 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), | 3819 if (default_value_ == &::google::protobuf::internal::GetEmptyString()) { |
4645 ::std::string(reinterpret_cast<const char*>(value), size)); | 3820 default_value_ = new ::std::string; |
4646 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.default_value) | 3821 } |
| 3822 default_value_->assign(reinterpret_cast<const char*>(value), size); |
4647 } | 3823 } |
4648 inline ::std::string* FieldDescriptorProto::mutable_default_value() { | 3824 inline ::std::string* FieldDescriptorProto::mutable_default_value() { |
4649 set_has_default_value(); | 3825 set_has_default_value(); |
4650 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto
.default_value) | 3826 if (default_value_ == &::google::protobuf::internal::GetEmptyString()) { |
4651 return default_value_.MutableNoArena(&::google::protobuf::internal::GetEmptySt
ringAlreadyInited()); | 3827 default_value_ = new ::std::string; |
| 3828 } |
| 3829 return default_value_; |
4652 } | 3830 } |
4653 inline ::std::string* FieldDescriptorProto::release_default_value() { | 3831 inline ::std::string* FieldDescriptorProto::release_default_value() { |
4654 clear_has_default_value(); | 3832 clear_has_default_value(); |
4655 return default_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptySt
ringAlreadyInited()); | 3833 if (default_value_ == &::google::protobuf::internal::GetEmptyString()) { |
| 3834 return NULL; |
| 3835 } else { |
| 3836 ::std::string* temp = default_value_; |
| 3837 default_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::
GetEmptyString()); |
| 3838 return temp; |
| 3839 } |
4656 } | 3840 } |
4657 inline void FieldDescriptorProto::set_allocated_default_value(::std::string* def
ault_value) { | 3841 inline void FieldDescriptorProto::set_allocated_default_value(::std::string* def
ault_value) { |
4658 if (default_value != NULL) { | 3842 if (default_value_ != &::google::protobuf::internal::GetEmptyString()) { |
| 3843 delete default_value_; |
| 3844 } |
| 3845 if (default_value) { |
4659 set_has_default_value(); | 3846 set_has_default_value(); |
| 3847 default_value_ = default_value; |
4660 } else { | 3848 } else { |
4661 clear_has_default_value(); | 3849 clear_has_default_value(); |
| 3850 default_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::
GetEmptyString()); |
4662 } | 3851 } |
4663 default_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStri
ngAlreadyInited(), default_value); | |
4664 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.default_value) | |
4665 } | |
4666 | |
4667 // optional int32 oneof_index = 9; | |
4668 inline bool FieldDescriptorProto::has_oneof_index() const { | |
4669 return (_has_bits_[0] & 0x00000080u) != 0; | |
4670 } | |
4671 inline void FieldDescriptorProto::set_has_oneof_index() { | |
4672 _has_bits_[0] |= 0x00000080u; | |
4673 } | |
4674 inline void FieldDescriptorProto::clear_has_oneof_index() { | |
4675 _has_bits_[0] &= ~0x00000080u; | |
4676 } | |
4677 inline void FieldDescriptorProto::clear_oneof_index() { | |
4678 oneof_index_ = 0; | |
4679 clear_has_oneof_index(); | |
4680 } | |
4681 inline ::google::protobuf::int32 FieldDescriptorProto::oneof_index() const { | |
4682 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.one
of_index) | |
4683 return oneof_index_; | |
4684 } | |
4685 inline void FieldDescriptorProto::set_oneof_index(::google::protobuf::int32 valu
e) { | |
4686 set_has_oneof_index(); | |
4687 oneof_index_ = value; | |
4688 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.one
of_index) | |
4689 } | 3852 } |
4690 | 3853 |
4691 // optional .google.protobuf.FieldOptions options = 8; | 3854 // optional .google.protobuf.FieldOptions options = 8; |
4692 inline bool FieldDescriptorProto::has_options() const { | 3855 inline bool FieldDescriptorProto::has_options() const { |
4693 return (_has_bits_[0] & 0x00000100u) != 0; | 3856 return (_has_bits_[0] & 0x00000080u) != 0; |
4694 } | 3857 } |
4695 inline void FieldDescriptorProto::set_has_options() { | 3858 inline void FieldDescriptorProto::set_has_options() { |
4696 _has_bits_[0] |= 0x00000100u; | 3859 _has_bits_[0] |= 0x00000080u; |
4697 } | 3860 } |
4698 inline void FieldDescriptorProto::clear_has_options() { | 3861 inline void FieldDescriptorProto::clear_has_options() { |
4699 _has_bits_[0] &= ~0x00000100u; | 3862 _has_bits_[0] &= ~0x00000080u; |
4700 } | 3863 } |
4701 inline void FieldDescriptorProto::clear_options() { | 3864 inline void FieldDescriptorProto::clear_options() { |
4702 if (options_ != NULL) options_->::google::protobuf::FieldOptions::Clear(); | 3865 if (options_ != NULL) options_->::google::protobuf::FieldOptions::Clear(); |
4703 clear_has_options(); | 3866 clear_has_options(); |
4704 } | 3867 } |
4705 inline const ::google::protobuf::FieldOptions& FieldDescriptorProto::options() c
onst { | 3868 inline const ::google::protobuf::FieldOptions& FieldDescriptorProto::options() c
onst { |
4706 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.opt
ions) | |
4707 return options_ != NULL ? *options_ : *default_instance_->options_; | 3869 return options_ != NULL ? *options_ : *default_instance_->options_; |
4708 } | 3870 } |
4709 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::mutable_options()
{ | 3871 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::mutable_options()
{ |
4710 set_has_options(); | 3872 set_has_options(); |
4711 if (options_ == NULL) { | 3873 if (options_ == NULL) options_ = new ::google::protobuf::FieldOptions; |
4712 options_ = new ::google::protobuf::FieldOptions; | |
4713 } | |
4714 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto
.options) | |
4715 return options_; | 3874 return options_; |
4716 } | 3875 } |
4717 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::release_options()
{ | 3876 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::release_options()
{ |
4718 clear_has_options(); | 3877 clear_has_options(); |
4719 ::google::protobuf::FieldOptions* temp = options_; | 3878 ::google::protobuf::FieldOptions* temp = options_; |
4720 options_ = NULL; | 3879 options_ = NULL; |
4721 return temp; | 3880 return temp; |
4722 } | 3881 } |
4723 inline void FieldDescriptorProto::set_allocated_options(::google::protobuf::Fiel
dOptions* options) { | 3882 inline void FieldDescriptorProto::set_allocated_options(::google::protobuf::Fiel
dOptions* options) { |
4724 delete options_; | 3883 delete options_; |
4725 options_ = options; | 3884 options_ = options; |
4726 if (options) { | 3885 if (options) { |
4727 set_has_options(); | 3886 set_has_options(); |
4728 } else { | 3887 } else { |
4729 clear_has_options(); | 3888 clear_has_options(); |
4730 } | 3889 } |
4731 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.options) | |
4732 } | 3890 } |
4733 | 3891 |
4734 // ------------------------------------------------------------------- | 3892 // ------------------------------------------------------------------- |
4735 | |
4736 // OneofDescriptorProto | |
4737 | |
4738 // optional string name = 1; | |
4739 inline bool OneofDescriptorProto::has_name() const { | |
4740 return (_has_bits_[0] & 0x00000001u) != 0; | |
4741 } | |
4742 inline void OneofDescriptorProto::set_has_name() { | |
4743 _has_bits_[0] |= 0x00000001u; | |
4744 } | |
4745 inline void OneofDescriptorProto::clear_has_name() { | |
4746 _has_bits_[0] &= ~0x00000001u; | |
4747 } | |
4748 inline void OneofDescriptorProto::clear_name() { | |
4749 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | |
4750 clear_has_name(); | |
4751 } | |
4752 inline const ::std::string& OneofDescriptorProto::name() const { | |
4753 // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.nam
e) | |
4754 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); | |
4755 } | |
4756 inline void OneofDescriptorProto::set_name(const ::std::string& value) { | |
4757 set_has_name(); | |
4758 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | |
4759 // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.nam
e) | |
4760 } | |
4761 inline void OneofDescriptorProto::set_name(const char* value) { | |
4762 set_has_name(); | |
4763 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | |
4764 // @@protoc_insertion_point(field_set_char:google.protobuf.OneofDescriptorProt
o.name) | |
4765 } | |
4766 inline void OneofDescriptorProto::set_name(const char* value, size_t size) { | |
4767 set_has_name(); | |
4768 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | |
4769 ::std::string(reinterpret_cast<const char*>(value), size)); | |
4770 // @@protoc_insertion_point(field_set_pointer:google.protobuf.OneofDescriptorP
roto.name) | |
4771 } | |
4772 inline ::std::string* OneofDescriptorProto::mutable_name() { | |
4773 set_has_name(); | |
4774 // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto
.name) | |
4775 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | |
4776 } | |
4777 inline ::std::string* OneofDescriptorProto::release_name() { | |
4778 clear_has_name(); | |
4779 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | |
4780 } | |
4781 inline void OneofDescriptorProto::set_allocated_name(::std::string* name) { | |
4782 if (name != NULL) { | |
4783 set_has_name(); | |
4784 } else { | |
4785 clear_has_name(); | |
4786 } | |
4787 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); | |
4788 // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescripto
rProto.name) | |
4789 } | |
4790 | |
4791 // ------------------------------------------------------------------- | |
4792 | 3893 |
4793 // EnumDescriptorProto | 3894 // EnumDescriptorProto |
4794 | 3895 |
4795 // optional string name = 1; | 3896 // optional string name = 1; |
4796 inline bool EnumDescriptorProto::has_name() const { | 3897 inline bool EnumDescriptorProto::has_name() const { |
4797 return (_has_bits_[0] & 0x00000001u) != 0; | 3898 return (_has_bits_[0] & 0x00000001u) != 0; |
4798 } | 3899 } |
4799 inline void EnumDescriptorProto::set_has_name() { | 3900 inline void EnumDescriptorProto::set_has_name() { |
4800 _has_bits_[0] |= 0x00000001u; | 3901 _has_bits_[0] |= 0x00000001u; |
4801 } | 3902 } |
4802 inline void EnumDescriptorProto::clear_has_name() { | 3903 inline void EnumDescriptorProto::clear_has_name() { |
4803 _has_bits_[0] &= ~0x00000001u; | 3904 _has_bits_[0] &= ~0x00000001u; |
4804 } | 3905 } |
4805 inline void EnumDescriptorProto::clear_name() { | 3906 inline void EnumDescriptorProto::clear_name() { |
4806 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 3907 if (name_ != &::google::protobuf::internal::GetEmptyString()) { |
| 3908 name_->clear(); |
| 3909 } |
4807 clear_has_name(); | 3910 clear_has_name(); |
4808 } | 3911 } |
4809 inline const ::std::string& EnumDescriptorProto::name() const { | 3912 inline const ::std::string& EnumDescriptorProto::name() const { |
4810 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name
) | 3913 return *name_; |
4811 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); | |
4812 } | 3914 } |
4813 inline void EnumDescriptorProto::set_name(const ::std::string& value) { | 3915 inline void EnumDescriptorProto::set_name(const ::std::string& value) { |
4814 set_has_name(); | 3916 set_has_name(); |
4815 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 3917 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
4816 // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name
) | 3918 name_ = new ::std::string; |
| 3919 } |
| 3920 name_->assign(value); |
4817 } | 3921 } |
4818 inline void EnumDescriptorProto::set_name(const char* value) { | 3922 inline void EnumDescriptorProto::set_name(const char* value) { |
4819 set_has_name(); | 3923 set_has_name(); |
4820 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 3924 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
4821 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto
.name) | 3925 name_ = new ::std::string; |
| 3926 } |
| 3927 name_->assign(value); |
4822 } | 3928 } |
4823 inline void EnumDescriptorProto::set_name(const char* value, size_t size) { | 3929 inline void EnumDescriptorProto::set_name(const char* value, size_t size) { |
4824 set_has_name(); | 3930 set_has_name(); |
4825 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 3931 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
4826 ::std::string(reinterpret_cast<const char*>(value), size)); | 3932 name_ = new ::std::string; |
4827 // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorPr
oto.name) | 3933 } |
| 3934 name_->assign(reinterpret_cast<const char*>(value), size); |
4828 } | 3935 } |
4829 inline ::std::string* EnumDescriptorProto::mutable_name() { | 3936 inline ::std::string* EnumDescriptorProto::mutable_name() { |
4830 set_has_name(); | 3937 set_has_name(); |
4831 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.
name) | 3938 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
4832 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | 3939 name_ = new ::std::string; |
| 3940 } |
| 3941 return name_; |
4833 } | 3942 } |
4834 inline ::std::string* EnumDescriptorProto::release_name() { | 3943 inline ::std::string* EnumDescriptorProto::release_name() { |
4835 clear_has_name(); | 3944 clear_has_name(); |
4836 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | 3945 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
| 3946 return NULL; |
| 3947 } else { |
| 3948 ::std::string* temp = name_; |
| 3949 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyS
tring()); |
| 3950 return temp; |
| 3951 } |
4837 } | 3952 } |
4838 inline void EnumDescriptorProto::set_allocated_name(::std::string* name) { | 3953 inline void EnumDescriptorProto::set_allocated_name(::std::string* name) { |
4839 if (name != NULL) { | 3954 if (name_ != &::google::protobuf::internal::GetEmptyString()) { |
| 3955 delete name_; |
| 3956 } |
| 3957 if (name) { |
4840 set_has_name(); | 3958 set_has_name(); |
| 3959 name_ = name; |
4841 } else { | 3960 } else { |
4842 clear_has_name(); | 3961 clear_has_name(); |
| 3962 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyS
tring()); |
4843 } | 3963 } |
4844 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); | |
4845 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptor
Proto.name) | |
4846 } | 3964 } |
4847 | 3965 |
4848 // repeated .google.protobuf.EnumValueDescriptorProto value = 2; | 3966 // repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
4849 inline int EnumDescriptorProto::value_size() const { | 3967 inline int EnumDescriptorProto::value_size() const { |
4850 return value_.size(); | 3968 return value_.size(); |
4851 } | 3969 } |
4852 inline void EnumDescriptorProto::clear_value() { | 3970 inline void EnumDescriptorProto::clear_value() { |
4853 value_.Clear(); | 3971 value_.Clear(); |
4854 } | 3972 } |
4855 inline const ::google::protobuf::EnumValueDescriptorProto& EnumDescriptorProto::
value(int index) const { | 3973 inline const ::google::protobuf::EnumValueDescriptorProto& EnumDescriptorProto::
value(int index) const { |
4856 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.valu
e) | |
4857 return value_.Get(index); | 3974 return value_.Get(index); |
4858 } | 3975 } |
4859 inline ::google::protobuf::EnumValueDescriptorProto* EnumDescriptorProto::mutabl
e_value(int index) { | 3976 inline ::google::protobuf::EnumValueDescriptorProto* EnumDescriptorProto::mutabl
e_value(int index) { |
4860 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.
value) | |
4861 return value_.Mutable(index); | 3977 return value_.Mutable(index); |
4862 } | 3978 } |
4863 inline ::google::protobuf::EnumValueDescriptorProto* EnumDescriptorProto::add_va
lue() { | 3979 inline ::google::protobuf::EnumValueDescriptorProto* EnumDescriptorProto::add_va
lue() { |
4864 // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.valu
e) | |
4865 return value_.Add(); | 3980 return value_.Add(); |
4866 } | 3981 } |
4867 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue
DescriptorProto >& | 3982 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue
DescriptorProto >& |
4868 EnumDescriptorProto::value() const { | 3983 EnumDescriptorProto::value() const { |
4869 // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.val
ue) | |
4870 return value_; | 3984 return value_; |
4871 } | 3985 } |
4872 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescri
ptorProto >* | 3986 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescri
ptorProto >* |
4873 EnumDescriptorProto::mutable_value() { | 3987 EnumDescriptorProto::mutable_value() { |
4874 // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorP
roto.value) | |
4875 return &value_; | 3988 return &value_; |
4876 } | 3989 } |
4877 | 3990 |
4878 // optional .google.protobuf.EnumOptions options = 3; | 3991 // optional .google.protobuf.EnumOptions options = 3; |
4879 inline bool EnumDescriptorProto::has_options() const { | 3992 inline bool EnumDescriptorProto::has_options() const { |
4880 return (_has_bits_[0] & 0x00000004u) != 0; | 3993 return (_has_bits_[0] & 0x00000004u) != 0; |
4881 } | 3994 } |
4882 inline void EnumDescriptorProto::set_has_options() { | 3995 inline void EnumDescriptorProto::set_has_options() { |
4883 _has_bits_[0] |= 0x00000004u; | 3996 _has_bits_[0] |= 0x00000004u; |
4884 } | 3997 } |
4885 inline void EnumDescriptorProto::clear_has_options() { | 3998 inline void EnumDescriptorProto::clear_has_options() { |
4886 _has_bits_[0] &= ~0x00000004u; | 3999 _has_bits_[0] &= ~0x00000004u; |
4887 } | 4000 } |
4888 inline void EnumDescriptorProto::clear_options() { | 4001 inline void EnumDescriptorProto::clear_options() { |
4889 if (options_ != NULL) options_->::google::protobuf::EnumOptions::Clear(); | 4002 if (options_ != NULL) options_->::google::protobuf::EnumOptions::Clear(); |
4890 clear_has_options(); | 4003 clear_has_options(); |
4891 } | 4004 } |
4892 inline const ::google::protobuf::EnumOptions& EnumDescriptorProto::options() con
st { | 4005 inline const ::google::protobuf::EnumOptions& EnumDescriptorProto::options() con
st { |
4893 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.opti
ons) | |
4894 return options_ != NULL ? *options_ : *default_instance_->options_; | 4006 return options_ != NULL ? *options_ : *default_instance_->options_; |
4895 } | 4007 } |
4896 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::mutable_options() { | 4008 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::mutable_options() { |
4897 set_has_options(); | 4009 set_has_options(); |
4898 if (options_ == NULL) { | 4010 if (options_ == NULL) options_ = new ::google::protobuf::EnumOptions; |
4899 options_ = new ::google::protobuf::EnumOptions; | |
4900 } | |
4901 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.
options) | |
4902 return options_; | 4011 return options_; |
4903 } | 4012 } |
4904 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::release_options() { | 4013 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::release_options() { |
4905 clear_has_options(); | 4014 clear_has_options(); |
4906 ::google::protobuf::EnumOptions* temp = options_; | 4015 ::google::protobuf::EnumOptions* temp = options_; |
4907 options_ = NULL; | 4016 options_ = NULL; |
4908 return temp; | 4017 return temp; |
4909 } | 4018 } |
4910 inline void EnumDescriptorProto::set_allocated_options(::google::protobuf::EnumO
ptions* options) { | 4019 inline void EnumDescriptorProto::set_allocated_options(::google::protobuf::EnumO
ptions* options) { |
4911 delete options_; | 4020 delete options_; |
4912 options_ = options; | 4021 options_ = options; |
4913 if (options) { | 4022 if (options) { |
4914 set_has_options(); | 4023 set_has_options(); |
4915 } else { | 4024 } else { |
4916 clear_has_options(); | 4025 clear_has_options(); |
4917 } | 4026 } |
4918 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptor
Proto.options) | |
4919 } | 4027 } |
4920 | 4028 |
4921 // ------------------------------------------------------------------- | 4029 // ------------------------------------------------------------------- |
4922 | 4030 |
4923 // EnumValueDescriptorProto | 4031 // EnumValueDescriptorProto |
4924 | 4032 |
4925 // optional string name = 1; | 4033 // optional string name = 1; |
4926 inline bool EnumValueDescriptorProto::has_name() const { | 4034 inline bool EnumValueDescriptorProto::has_name() const { |
4927 return (_has_bits_[0] & 0x00000001u) != 0; | 4035 return (_has_bits_[0] & 0x00000001u) != 0; |
4928 } | 4036 } |
4929 inline void EnumValueDescriptorProto::set_has_name() { | 4037 inline void EnumValueDescriptorProto::set_has_name() { |
4930 _has_bits_[0] |= 0x00000001u; | 4038 _has_bits_[0] |= 0x00000001u; |
4931 } | 4039 } |
4932 inline void EnumValueDescriptorProto::clear_has_name() { | 4040 inline void EnumValueDescriptorProto::clear_has_name() { |
4933 _has_bits_[0] &= ~0x00000001u; | 4041 _has_bits_[0] &= ~0x00000001u; |
4934 } | 4042 } |
4935 inline void EnumValueDescriptorProto::clear_name() { | 4043 inline void EnumValueDescriptorProto::clear_name() { |
4936 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 4044 if (name_ != &::google::protobuf::internal::GetEmptyString()) { |
| 4045 name_->clear(); |
| 4046 } |
4937 clear_has_name(); | 4047 clear_has_name(); |
4938 } | 4048 } |
4939 inline const ::std::string& EnumValueDescriptorProto::name() const { | 4049 inline const ::std::string& EnumValueDescriptorProto::name() const { |
4940 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto
.name) | 4050 return *name_; |
4941 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); | |
4942 } | 4051 } |
4943 inline void EnumValueDescriptorProto::set_name(const ::std::string& value) { | 4052 inline void EnumValueDescriptorProto::set_name(const ::std::string& value) { |
4944 set_has_name(); | 4053 set_has_name(); |
4945 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 4054 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
4946 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto
.name) | 4055 name_ = new ::std::string; |
| 4056 } |
| 4057 name_->assign(value); |
4947 } | 4058 } |
4948 inline void EnumValueDescriptorProto::set_name(const char* value) { | 4059 inline void EnumValueDescriptorProto::set_name(const char* value) { |
4949 set_has_name(); | 4060 set_has_name(); |
4950 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 4061 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
4951 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValueDescriptor
Proto.name) | 4062 name_ = new ::std::string; |
| 4063 } |
| 4064 name_->assign(value); |
4952 } | 4065 } |
4953 inline void EnumValueDescriptorProto::set_name(const char* value, size_t size) { | 4066 inline void EnumValueDescriptorProto::set_name(const char* value, size_t size) { |
4954 set_has_name(); | 4067 set_has_name(); |
4955 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 4068 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
4956 ::std::string(reinterpret_cast<const char*>(value), size)); | 4069 name_ = new ::std::string; |
4957 // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValueDescrip
torProto.name) | 4070 } |
| 4071 name_->assign(reinterpret_cast<const char*>(value), size); |
4958 } | 4072 } |
4959 inline ::std::string* EnumValueDescriptorProto::mutable_name() { | 4073 inline ::std::string* EnumValueDescriptorProto::mutable_name() { |
4960 set_has_name(); | 4074 set_has_name(); |
4961 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorP
roto.name) | 4075 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
4962 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | 4076 name_ = new ::std::string; |
| 4077 } |
| 4078 return name_; |
4963 } | 4079 } |
4964 inline ::std::string* EnumValueDescriptorProto::release_name() { | 4080 inline ::std::string* EnumValueDescriptorProto::release_name() { |
4965 clear_has_name(); | 4081 clear_has_name(); |
4966 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | 4082 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
| 4083 return NULL; |
| 4084 } else { |
| 4085 ::std::string* temp = name_; |
| 4086 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyS
tring()); |
| 4087 return temp; |
| 4088 } |
4967 } | 4089 } |
4968 inline void EnumValueDescriptorProto::set_allocated_name(::std::string* name) { | 4090 inline void EnumValueDescriptorProto::set_allocated_name(::std::string* name) { |
4969 if (name != NULL) { | 4091 if (name_ != &::google::protobuf::internal::GetEmptyString()) { |
| 4092 delete name_; |
| 4093 } |
| 4094 if (name) { |
4970 set_has_name(); | 4095 set_has_name(); |
| 4096 name_ = name; |
4971 } else { | 4097 } else { |
4972 clear_has_name(); | 4098 clear_has_name(); |
| 4099 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyS
tring()); |
4973 } | 4100 } |
4974 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); | |
4975 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescr
iptorProto.name) | |
4976 } | 4101 } |
4977 | 4102 |
4978 // optional int32 number = 2; | 4103 // optional int32 number = 2; |
4979 inline bool EnumValueDescriptorProto::has_number() const { | 4104 inline bool EnumValueDescriptorProto::has_number() const { |
4980 return (_has_bits_[0] & 0x00000002u) != 0; | 4105 return (_has_bits_[0] & 0x00000002u) != 0; |
4981 } | 4106 } |
4982 inline void EnumValueDescriptorProto::set_has_number() { | 4107 inline void EnumValueDescriptorProto::set_has_number() { |
4983 _has_bits_[0] |= 0x00000002u; | 4108 _has_bits_[0] |= 0x00000002u; |
4984 } | 4109 } |
4985 inline void EnumValueDescriptorProto::clear_has_number() { | 4110 inline void EnumValueDescriptorProto::clear_has_number() { |
4986 _has_bits_[0] &= ~0x00000002u; | 4111 _has_bits_[0] &= ~0x00000002u; |
4987 } | 4112 } |
4988 inline void EnumValueDescriptorProto::clear_number() { | 4113 inline void EnumValueDescriptorProto::clear_number() { |
4989 number_ = 0; | 4114 number_ = 0; |
4990 clear_has_number(); | 4115 clear_has_number(); |
4991 } | 4116 } |
4992 inline ::google::protobuf::int32 EnumValueDescriptorProto::number() const { | 4117 inline ::google::protobuf::int32 EnumValueDescriptorProto::number() const { |
4993 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto
.number) | |
4994 return number_; | 4118 return number_; |
4995 } | 4119 } |
4996 inline void EnumValueDescriptorProto::set_number(::google::protobuf::int32 value
) { | 4120 inline void EnumValueDescriptorProto::set_number(::google::protobuf::int32 value
) { |
4997 set_has_number(); | 4121 set_has_number(); |
4998 number_ = value; | 4122 number_ = value; |
4999 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto
.number) | |
5000 } | 4123 } |
5001 | 4124 |
5002 // optional .google.protobuf.EnumValueOptions options = 3; | 4125 // optional .google.protobuf.EnumValueOptions options = 3; |
5003 inline bool EnumValueDescriptorProto::has_options() const { | 4126 inline bool EnumValueDescriptorProto::has_options() const { |
5004 return (_has_bits_[0] & 0x00000004u) != 0; | 4127 return (_has_bits_[0] & 0x00000004u) != 0; |
5005 } | 4128 } |
5006 inline void EnumValueDescriptorProto::set_has_options() { | 4129 inline void EnumValueDescriptorProto::set_has_options() { |
5007 _has_bits_[0] |= 0x00000004u; | 4130 _has_bits_[0] |= 0x00000004u; |
5008 } | 4131 } |
5009 inline void EnumValueDescriptorProto::clear_has_options() { | 4132 inline void EnumValueDescriptorProto::clear_has_options() { |
5010 _has_bits_[0] &= ~0x00000004u; | 4133 _has_bits_[0] &= ~0x00000004u; |
5011 } | 4134 } |
5012 inline void EnumValueDescriptorProto::clear_options() { | 4135 inline void EnumValueDescriptorProto::clear_options() { |
5013 if (options_ != NULL) options_->::google::protobuf::EnumValueOptions::Clear(); | 4136 if (options_ != NULL) options_->::google::protobuf::EnumValueOptions::Clear(); |
5014 clear_has_options(); | 4137 clear_has_options(); |
5015 } | 4138 } |
5016 inline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::opt
ions() const { | 4139 inline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::opt
ions() const { |
5017 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto
.options) | |
5018 return options_ != NULL ? *options_ : *default_instance_->options_; | 4140 return options_ != NULL ? *options_ : *default_instance_->options_; |
5019 } | 4141 } |
5020 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::mutable_o
ptions() { | 4142 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::mutable_o
ptions() { |
5021 set_has_options(); | 4143 set_has_options(); |
5022 if (options_ == NULL) { | 4144 if (options_ == NULL) options_ = new ::google::protobuf::EnumValueOptions; |
5023 options_ = new ::google::protobuf::EnumValueOptions; | |
5024 } | |
5025 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorP
roto.options) | |
5026 return options_; | 4145 return options_; |
5027 } | 4146 } |
5028 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::release_o
ptions() { | 4147 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::release_o
ptions() { |
5029 clear_has_options(); | 4148 clear_has_options(); |
5030 ::google::protobuf::EnumValueOptions* temp = options_; | 4149 ::google::protobuf::EnumValueOptions* temp = options_; |
5031 options_ = NULL; | 4150 options_ = NULL; |
5032 return temp; | 4151 return temp; |
5033 } | 4152 } |
5034 inline void EnumValueDescriptorProto::set_allocated_options(::google::protobuf::
EnumValueOptions* options) { | 4153 inline void EnumValueDescriptorProto::set_allocated_options(::google::protobuf::
EnumValueOptions* options) { |
5035 delete options_; | 4154 delete options_; |
5036 options_ = options; | 4155 options_ = options; |
5037 if (options) { | 4156 if (options) { |
5038 set_has_options(); | 4157 set_has_options(); |
5039 } else { | 4158 } else { |
5040 clear_has_options(); | 4159 clear_has_options(); |
5041 } | 4160 } |
5042 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescr
iptorProto.options) | |
5043 } | 4161 } |
5044 | 4162 |
5045 // ------------------------------------------------------------------- | 4163 // ------------------------------------------------------------------- |
5046 | 4164 |
5047 // ServiceDescriptorProto | 4165 // ServiceDescriptorProto |
5048 | 4166 |
5049 // optional string name = 1; | 4167 // optional string name = 1; |
5050 inline bool ServiceDescriptorProto::has_name() const { | 4168 inline bool ServiceDescriptorProto::has_name() const { |
5051 return (_has_bits_[0] & 0x00000001u) != 0; | 4169 return (_has_bits_[0] & 0x00000001u) != 0; |
5052 } | 4170 } |
5053 inline void ServiceDescriptorProto::set_has_name() { | 4171 inline void ServiceDescriptorProto::set_has_name() { |
5054 _has_bits_[0] |= 0x00000001u; | 4172 _has_bits_[0] |= 0x00000001u; |
5055 } | 4173 } |
5056 inline void ServiceDescriptorProto::clear_has_name() { | 4174 inline void ServiceDescriptorProto::clear_has_name() { |
5057 _has_bits_[0] &= ~0x00000001u; | 4175 _has_bits_[0] &= ~0x00000001u; |
5058 } | 4176 } |
5059 inline void ServiceDescriptorProto::clear_name() { | 4177 inline void ServiceDescriptorProto::clear_name() { |
5060 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 4178 if (name_ != &::google::protobuf::internal::GetEmptyString()) { |
| 4179 name_->clear(); |
| 4180 } |
5061 clear_has_name(); | 4181 clear_has_name(); |
5062 } | 4182 } |
5063 inline const ::std::string& ServiceDescriptorProto::name() const { | 4183 inline const ::std::string& ServiceDescriptorProto::name() const { |
5064 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.n
ame) | 4184 return *name_; |
5065 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); | |
5066 } | 4185 } |
5067 inline void ServiceDescriptorProto::set_name(const ::std::string& value) { | 4186 inline void ServiceDescriptorProto::set_name(const ::std::string& value) { |
5068 set_has_name(); | 4187 set_has_name(); |
5069 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 4188 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
5070 // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.n
ame) | 4189 name_ = new ::std::string; |
| 4190 } |
| 4191 name_->assign(value); |
5071 } | 4192 } |
5072 inline void ServiceDescriptorProto::set_name(const char* value) { | 4193 inline void ServiceDescriptorProto::set_name(const char* value) { |
5073 set_has_name(); | 4194 set_has_name(); |
5074 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 4195 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
5075 // @@protoc_insertion_point(field_set_char:google.protobuf.ServiceDescriptorPr
oto.name) | 4196 name_ = new ::std::string; |
| 4197 } |
| 4198 name_->assign(value); |
5076 } | 4199 } |
5077 inline void ServiceDescriptorProto::set_name(const char* value, size_t size) { | 4200 inline void ServiceDescriptorProto::set_name(const char* value, size_t size) { |
5078 set_has_name(); | 4201 set_has_name(); |
5079 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 4202 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
5080 ::std::string(reinterpret_cast<const char*>(value), size)); | 4203 name_ = new ::std::string; |
5081 // @@protoc_insertion_point(field_set_pointer:google.protobuf.ServiceDescripto
rProto.name) | 4204 } |
| 4205 name_->assign(reinterpret_cast<const char*>(value), size); |
5082 } | 4206 } |
5083 inline ::std::string* ServiceDescriptorProto::mutable_name() { | 4207 inline ::std::string* ServiceDescriptorProto::mutable_name() { |
5084 set_has_name(); | 4208 set_has_name(); |
5085 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorPro
to.name) | 4209 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
5086 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | 4210 name_ = new ::std::string; |
| 4211 } |
| 4212 return name_; |
5087 } | 4213 } |
5088 inline ::std::string* ServiceDescriptorProto::release_name() { | 4214 inline ::std::string* ServiceDescriptorProto::release_name() { |
5089 clear_has_name(); | 4215 clear_has_name(); |
5090 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | 4216 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
| 4217 return NULL; |
| 4218 } else { |
| 4219 ::std::string* temp = name_; |
| 4220 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyS
tring()); |
| 4221 return temp; |
| 4222 } |
5091 } | 4223 } |
5092 inline void ServiceDescriptorProto::set_allocated_name(::std::string* name) { | 4224 inline void ServiceDescriptorProto::set_allocated_name(::std::string* name) { |
5093 if (name != NULL) { | 4225 if (name_ != &::google::protobuf::internal::GetEmptyString()) { |
| 4226 delete name_; |
| 4227 } |
| 4228 if (name) { |
5094 set_has_name(); | 4229 set_has_name(); |
| 4230 name_ = name; |
5095 } else { | 4231 } else { |
5096 clear_has_name(); | 4232 clear_has_name(); |
| 4233 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyS
tring()); |
5097 } | 4234 } |
5098 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); | |
5099 // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescrip
torProto.name) | |
5100 } | 4235 } |
5101 | 4236 |
5102 // repeated .google.protobuf.MethodDescriptorProto method = 2; | 4237 // repeated .google.protobuf.MethodDescriptorProto method = 2; |
5103 inline int ServiceDescriptorProto::method_size() const { | 4238 inline int ServiceDescriptorProto::method_size() const { |
5104 return method_.size(); | 4239 return method_.size(); |
5105 } | 4240 } |
5106 inline void ServiceDescriptorProto::clear_method() { | 4241 inline void ServiceDescriptorProto::clear_method() { |
5107 method_.Clear(); | 4242 method_.Clear(); |
5108 } | 4243 } |
5109 inline const ::google::protobuf::MethodDescriptorProto& ServiceDescriptorProto::
method(int index) const { | 4244 inline const ::google::protobuf::MethodDescriptorProto& ServiceDescriptorProto::
method(int index) const { |
5110 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.m
ethod) | |
5111 return method_.Get(index); | 4245 return method_.Get(index); |
5112 } | 4246 } |
5113 inline ::google::protobuf::MethodDescriptorProto* ServiceDescriptorProto::mutabl
e_method(int index) { | 4247 inline ::google::protobuf::MethodDescriptorProto* ServiceDescriptorProto::mutabl
e_method(int index) { |
5114 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorPro
to.method) | |
5115 return method_.Mutable(index); | 4248 return method_.Mutable(index); |
5116 } | 4249 } |
5117 inline ::google::protobuf::MethodDescriptorProto* ServiceDescriptorProto::add_me
thod() { | 4250 inline ::google::protobuf::MethodDescriptorProto* ServiceDescriptorProto::add_me
thod() { |
5118 // @@protoc_insertion_point(field_add:google.protobuf.ServiceDescriptorProto.m
ethod) | |
5119 return method_.Add(); | 4251 return method_.Add(); |
5120 } | 4252 } |
5121 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDes
criptorProto >& | 4253 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDes
criptorProto >& |
5122 ServiceDescriptorProto::method() const { | 4254 ServiceDescriptorProto::method() const { |
5123 // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.
method) | |
5124 return method_; | 4255 return method_; |
5125 } | 4256 } |
5126 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescripto
rProto >* | 4257 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescripto
rProto >* |
5127 ServiceDescriptorProto::mutable_method() { | 4258 ServiceDescriptorProto::mutable_method() { |
5128 // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceDescript
orProto.method) | |
5129 return &method_; | 4259 return &method_; |
5130 } | 4260 } |
5131 | 4261 |
5132 // optional .google.protobuf.ServiceOptions options = 3; | 4262 // optional .google.protobuf.ServiceOptions options = 3; |
5133 inline bool ServiceDescriptorProto::has_options() const { | 4263 inline bool ServiceDescriptorProto::has_options() const { |
5134 return (_has_bits_[0] & 0x00000004u) != 0; | 4264 return (_has_bits_[0] & 0x00000004u) != 0; |
5135 } | 4265 } |
5136 inline void ServiceDescriptorProto::set_has_options() { | 4266 inline void ServiceDescriptorProto::set_has_options() { |
5137 _has_bits_[0] |= 0x00000004u; | 4267 _has_bits_[0] |= 0x00000004u; |
5138 } | 4268 } |
5139 inline void ServiceDescriptorProto::clear_has_options() { | 4269 inline void ServiceDescriptorProto::clear_has_options() { |
5140 _has_bits_[0] &= ~0x00000004u; | 4270 _has_bits_[0] &= ~0x00000004u; |
5141 } | 4271 } |
5142 inline void ServiceDescriptorProto::clear_options() { | 4272 inline void ServiceDescriptorProto::clear_options() { |
5143 if (options_ != NULL) options_->::google::protobuf::ServiceOptions::Clear(); | 4273 if (options_ != NULL) options_->::google::protobuf::ServiceOptions::Clear(); |
5144 clear_has_options(); | 4274 clear_has_options(); |
5145 } | 4275 } |
5146 inline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::options
() const { | 4276 inline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::options
() const { |
5147 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.o
ptions) | |
5148 return options_ != NULL ? *options_ : *default_instance_->options_; | 4277 return options_ != NULL ? *options_ : *default_instance_->options_; |
5149 } | 4278 } |
5150 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::mutable_optio
ns() { | 4279 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::mutable_optio
ns() { |
5151 set_has_options(); | 4280 set_has_options(); |
5152 if (options_ == NULL) { | 4281 if (options_ == NULL) options_ = new ::google::protobuf::ServiceOptions; |
5153 options_ = new ::google::protobuf::ServiceOptions; | |
5154 } | |
5155 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorPro
to.options) | |
5156 return options_; | 4282 return options_; |
5157 } | 4283 } |
5158 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::release_optio
ns() { | 4284 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::release_optio
ns() { |
5159 clear_has_options(); | 4285 clear_has_options(); |
5160 ::google::protobuf::ServiceOptions* temp = options_; | 4286 ::google::protobuf::ServiceOptions* temp = options_; |
5161 options_ = NULL; | 4287 options_ = NULL; |
5162 return temp; | 4288 return temp; |
5163 } | 4289 } |
5164 inline void ServiceDescriptorProto::set_allocated_options(::google::protobuf::Se
rviceOptions* options) { | 4290 inline void ServiceDescriptorProto::set_allocated_options(::google::protobuf::Se
rviceOptions* options) { |
5165 delete options_; | 4291 delete options_; |
5166 options_ = options; | 4292 options_ = options; |
5167 if (options) { | 4293 if (options) { |
5168 set_has_options(); | 4294 set_has_options(); |
5169 } else { | 4295 } else { |
5170 clear_has_options(); | 4296 clear_has_options(); |
5171 } | 4297 } |
5172 // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescrip
torProto.options) | |
5173 } | 4298 } |
5174 | 4299 |
5175 // ------------------------------------------------------------------- | 4300 // ------------------------------------------------------------------- |
5176 | 4301 |
5177 // MethodDescriptorProto | 4302 // MethodDescriptorProto |
5178 | 4303 |
5179 // optional string name = 1; | 4304 // optional string name = 1; |
5180 inline bool MethodDescriptorProto::has_name() const { | 4305 inline bool MethodDescriptorProto::has_name() const { |
5181 return (_has_bits_[0] & 0x00000001u) != 0; | 4306 return (_has_bits_[0] & 0x00000001u) != 0; |
5182 } | 4307 } |
5183 inline void MethodDescriptorProto::set_has_name() { | 4308 inline void MethodDescriptorProto::set_has_name() { |
5184 _has_bits_[0] |= 0x00000001u; | 4309 _has_bits_[0] |= 0x00000001u; |
5185 } | 4310 } |
5186 inline void MethodDescriptorProto::clear_has_name() { | 4311 inline void MethodDescriptorProto::clear_has_name() { |
5187 _has_bits_[0] &= ~0x00000001u; | 4312 _has_bits_[0] &= ~0x00000001u; |
5188 } | 4313 } |
5189 inline void MethodDescriptorProto::clear_name() { | 4314 inline void MethodDescriptorProto::clear_name() { |
5190 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 4315 if (name_ != &::google::protobuf::internal::GetEmptyString()) { |
| 4316 name_->clear(); |
| 4317 } |
5191 clear_has_name(); | 4318 clear_has_name(); |
5192 } | 4319 } |
5193 inline const ::std::string& MethodDescriptorProto::name() const { | 4320 inline const ::std::string& MethodDescriptorProto::name() const { |
5194 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.na
me) | 4321 return *name_; |
5195 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); | |
5196 } | 4322 } |
5197 inline void MethodDescriptorProto::set_name(const ::std::string& value) { | 4323 inline void MethodDescriptorProto::set_name(const ::std::string& value) { |
5198 set_has_name(); | 4324 set_has_name(); |
5199 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 4325 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
5200 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.na
me) | 4326 name_ = new ::std::string; |
| 4327 } |
| 4328 name_->assign(value); |
5201 } | 4329 } |
5202 inline void MethodDescriptorProto::set_name(const char* value) { | 4330 inline void MethodDescriptorProto::set_name(const char* value) { |
5203 set_has_name(); | 4331 set_has_name(); |
5204 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 4332 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
5205 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro
to.name) | 4333 name_ = new ::std::string; |
| 4334 } |
| 4335 name_->assign(value); |
5206 } | 4336 } |
5207 inline void MethodDescriptorProto::set_name(const char* value, size_t size) { | 4337 inline void MethodDescriptorProto::set_name(const char* value, size_t size) { |
5208 set_has_name(); | 4338 set_has_name(); |
5209 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 4339 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
5210 ::std::string(reinterpret_cast<const char*>(value), size)); | 4340 name_ = new ::std::string; |
5211 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptor
Proto.name) | 4341 } |
| 4342 name_->assign(reinterpret_cast<const char*>(value), size); |
5212 } | 4343 } |
5213 inline ::std::string* MethodDescriptorProto::mutable_name() { | 4344 inline ::std::string* MethodDescriptorProto::mutable_name() { |
5214 set_has_name(); | 4345 set_has_name(); |
5215 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProt
o.name) | 4346 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
5216 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | 4347 name_ = new ::std::string; |
| 4348 } |
| 4349 return name_; |
5217 } | 4350 } |
5218 inline ::std::string* MethodDescriptorProto::release_name() { | 4351 inline ::std::string* MethodDescriptorProto::release_name() { |
5219 clear_has_name(); | 4352 clear_has_name(); |
5220 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | 4353 if (name_ == &::google::protobuf::internal::GetEmptyString()) { |
| 4354 return NULL; |
| 4355 } else { |
| 4356 ::std::string* temp = name_; |
| 4357 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyS
tring()); |
| 4358 return temp; |
| 4359 } |
5221 } | 4360 } |
5222 inline void MethodDescriptorProto::set_allocated_name(::std::string* name) { | 4361 inline void MethodDescriptorProto::set_allocated_name(::std::string* name) { |
5223 if (name != NULL) { | 4362 if (name_ != &::google::protobuf::internal::GetEmptyString()) { |
| 4363 delete name_; |
| 4364 } |
| 4365 if (name) { |
5224 set_has_name(); | 4366 set_has_name(); |
| 4367 name_ = name; |
5225 } else { | 4368 } else { |
5226 clear_has_name(); | 4369 clear_has_name(); |
| 4370 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyS
tring()); |
5227 } | 4371 } |
5228 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); | |
5229 // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescript
orProto.name) | |
5230 } | 4372 } |
5231 | 4373 |
5232 // optional string input_type = 2; | 4374 // optional string input_type = 2; |
5233 inline bool MethodDescriptorProto::has_input_type() const { | 4375 inline bool MethodDescriptorProto::has_input_type() const { |
5234 return (_has_bits_[0] & 0x00000002u) != 0; | 4376 return (_has_bits_[0] & 0x00000002u) != 0; |
5235 } | 4377 } |
5236 inline void MethodDescriptorProto::set_has_input_type() { | 4378 inline void MethodDescriptorProto::set_has_input_type() { |
5237 _has_bits_[0] |= 0x00000002u; | 4379 _has_bits_[0] |= 0x00000002u; |
5238 } | 4380 } |
5239 inline void MethodDescriptorProto::clear_has_input_type() { | 4381 inline void MethodDescriptorProto::clear_has_input_type() { |
5240 _has_bits_[0] &= ~0x00000002u; | 4382 _has_bits_[0] &= ~0x00000002u; |
5241 } | 4383 } |
5242 inline void MethodDescriptorProto::clear_input_type() { | 4384 inline void MethodDescriptorProto::clear_input_type() { |
5243 input_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); | 4385 if (input_type_ != &::google::protobuf::internal::GetEmptyString()) { |
| 4386 input_type_->clear(); |
| 4387 } |
5244 clear_has_input_type(); | 4388 clear_has_input_type(); |
5245 } | 4389 } |
5246 inline const ::std::string& MethodDescriptorProto::input_type() const { | 4390 inline const ::std::string& MethodDescriptorProto::input_type() const { |
5247 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.in
put_type) | 4391 return *input_type_; |
5248 return input_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited()); | |
5249 } | 4392 } |
5250 inline void MethodDescriptorProto::set_input_type(const ::std::string& value) { | 4393 inline void MethodDescriptorProto::set_input_type(const ::std::string& value) { |
5251 set_has_input_type(); | 4394 set_has_input_type(); |
5252 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), value); | 4395 if (input_type_ == &::google::protobuf::internal::GetEmptyString()) { |
5253 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.in
put_type) | 4396 input_type_ = new ::std::string; |
| 4397 } |
| 4398 input_type_->assign(value); |
5254 } | 4399 } |
5255 inline void MethodDescriptorProto::set_input_type(const char* value) { | 4400 inline void MethodDescriptorProto::set_input_type(const char* value) { |
5256 set_has_input_type(); | 4401 set_has_input_type(); |
5257 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), ::std::string(value)); | 4402 if (input_type_ == &::google::protobuf::internal::GetEmptyString()) { |
5258 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro
to.input_type) | 4403 input_type_ = new ::std::string; |
| 4404 } |
| 4405 input_type_->assign(value); |
5259 } | 4406 } |
5260 inline void MethodDescriptorProto::set_input_type(const char* value, size_t size
) { | 4407 inline void MethodDescriptorProto::set_input_type(const char* value, size_t size
) { |
5261 set_has_input_type(); | 4408 set_has_input_type(); |
5262 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), | 4409 if (input_type_ == &::google::protobuf::internal::GetEmptyString()) { |
5263 ::std::string(reinterpret_cast<const char*>(value), size)); | 4410 input_type_ = new ::std::string; |
5264 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptor
Proto.input_type) | 4411 } |
| 4412 input_type_->assign(reinterpret_cast<const char*>(value), size); |
5265 } | 4413 } |
5266 inline ::std::string* MethodDescriptorProto::mutable_input_type() { | 4414 inline ::std::string* MethodDescriptorProto::mutable_input_type() { |
5267 set_has_input_type(); | 4415 set_has_input_type(); |
5268 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProt
o.input_type) | 4416 if (input_type_ == &::google::protobuf::internal::GetEmptyString()) { |
5269 return input_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited()); | 4417 input_type_ = new ::std::string; |
| 4418 } |
| 4419 return input_type_; |
5270 } | 4420 } |
5271 inline ::std::string* MethodDescriptorProto::release_input_type() { | 4421 inline ::std::string* MethodDescriptorProto::release_input_type() { |
5272 clear_has_input_type(); | 4422 clear_has_input_type(); |
5273 return input_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited()); | 4423 if (input_type_ == &::google::protobuf::internal::GetEmptyString()) { |
| 4424 return NULL; |
| 4425 } else { |
| 4426 ::std::string* temp = input_type_; |
| 4427 input_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::Get
EmptyString()); |
| 4428 return temp; |
| 4429 } |
5274 } | 4430 } |
5275 inline void MethodDescriptorProto::set_allocated_input_type(::std::string* input
_type) { | 4431 inline void MethodDescriptorProto::set_allocated_input_type(::std::string* input
_type) { |
5276 if (input_type != NULL) { | 4432 if (input_type_ != &::google::protobuf::internal::GetEmptyString()) { |
| 4433 delete input_type_; |
| 4434 } |
| 4435 if (input_type) { |
5277 set_has_input_type(); | 4436 set_has_input_type(); |
| 4437 input_type_ = input_type; |
5278 } else { | 4438 } else { |
5279 clear_has_input_type(); | 4439 clear_has_input_type(); |
| 4440 input_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::Get
EmptyString()); |
5280 } | 4441 } |
5281 input_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited(), input_type); | |
5282 // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescript
orProto.input_type) | |
5283 } | 4442 } |
5284 | 4443 |
5285 // optional string output_type = 3; | 4444 // optional string output_type = 3; |
5286 inline bool MethodDescriptorProto::has_output_type() const { | 4445 inline bool MethodDescriptorProto::has_output_type() const { |
5287 return (_has_bits_[0] & 0x00000004u) != 0; | 4446 return (_has_bits_[0] & 0x00000004u) != 0; |
5288 } | 4447 } |
5289 inline void MethodDescriptorProto::set_has_output_type() { | 4448 inline void MethodDescriptorProto::set_has_output_type() { |
5290 _has_bits_[0] |= 0x00000004u; | 4449 _has_bits_[0] |= 0x00000004u; |
5291 } | 4450 } |
5292 inline void MethodDescriptorProto::clear_has_output_type() { | 4451 inline void MethodDescriptorProto::clear_has_output_type() { |
5293 _has_bits_[0] &= ~0x00000004u; | 4452 _has_bits_[0] &= ~0x00000004u; |
5294 } | 4453 } |
5295 inline void MethodDescriptorProto::clear_output_type() { | 4454 inline void MethodDescriptorProto::clear_output_type() { |
5296 output_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited()); | 4455 if (output_type_ != &::google::protobuf::internal::GetEmptyString()) { |
| 4456 output_type_->clear(); |
| 4457 } |
5297 clear_has_output_type(); | 4458 clear_has_output_type(); |
5298 } | 4459 } |
5299 inline const ::std::string& MethodDescriptorProto::output_type() const { | 4460 inline const ::std::string& MethodDescriptorProto::output_type() const { |
5300 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.ou
tput_type) | 4461 return *output_type_; |
5301 return output_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); | |
5302 } | 4462 } |
5303 inline void MethodDescriptorProto::set_output_type(const ::std::string& value) { | 4463 inline void MethodDescriptorProto::set_output_type(const ::std::string& value) { |
5304 set_has_output_type(); | 4464 set_has_output_type(); |
5305 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), value); | 4465 if (output_type_ == &::google::protobuf::internal::GetEmptyString()) { |
5306 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.ou
tput_type) | 4466 output_type_ = new ::std::string; |
| 4467 } |
| 4468 output_type_->assign(value); |
5307 } | 4469 } |
5308 inline void MethodDescriptorProto::set_output_type(const char* value) { | 4470 inline void MethodDescriptorProto::set_output_type(const char* value) { |
5309 set_has_output_type(); | 4471 set_has_output_type(); |
5310 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), ::std::string(value)); | 4472 if (output_type_ == &::google::protobuf::internal::GetEmptyString()) { |
5311 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro
to.output_type) | 4473 output_type_ = new ::std::string; |
| 4474 } |
| 4475 output_type_->assign(value); |
5312 } | 4476 } |
5313 inline void MethodDescriptorProto::set_output_type(const char* value, size_t siz
e) { | 4477 inline void MethodDescriptorProto::set_output_type(const char* value, size_t siz
e) { |
5314 set_has_output_type(); | 4478 set_has_output_type(); |
5315 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), | 4479 if (output_type_ == &::google::protobuf::internal::GetEmptyString()) { |
5316 ::std::string(reinterpret_cast<const char*>(value), size)); | 4480 output_type_ = new ::std::string; |
5317 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptor
Proto.output_type) | 4481 } |
| 4482 output_type_->assign(reinterpret_cast<const char*>(value), size); |
5318 } | 4483 } |
5319 inline ::std::string* MethodDescriptorProto::mutable_output_type() { | 4484 inline ::std::string* MethodDescriptorProto::mutable_output_type() { |
5320 set_has_output_type(); | 4485 set_has_output_type(); |
5321 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProt
o.output_type) | 4486 if (output_type_ == &::google::protobuf::internal::GetEmptyString()) { |
5322 return output_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStri
ngAlreadyInited()); | 4487 output_type_ = new ::std::string; |
| 4488 } |
| 4489 return output_type_; |
5323 } | 4490 } |
5324 inline ::std::string* MethodDescriptorProto::release_output_type() { | 4491 inline ::std::string* MethodDescriptorProto::release_output_type() { |
5325 clear_has_output_type(); | 4492 clear_has_output_type(); |
5326 return output_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStri
ngAlreadyInited()); | 4493 if (output_type_ == &::google::protobuf::internal::GetEmptyString()) { |
| 4494 return NULL; |
| 4495 } else { |
| 4496 ::std::string* temp = output_type_; |
| 4497 output_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::Ge
tEmptyString()); |
| 4498 return temp; |
| 4499 } |
5327 } | 4500 } |
5328 inline void MethodDescriptorProto::set_allocated_output_type(::std::string* outp
ut_type) { | 4501 inline void MethodDescriptorProto::set_allocated_output_type(::std::string* outp
ut_type) { |
5329 if (output_type != NULL) { | 4502 if (output_type_ != &::google::protobuf::internal::GetEmptyString()) { |
| 4503 delete output_type_; |
| 4504 } |
| 4505 if (output_type) { |
5330 set_has_output_type(); | 4506 set_has_output_type(); |
| 4507 output_type_ = output_type; |
5331 } else { | 4508 } else { |
5332 clear_has_output_type(); | 4509 clear_has_output_type(); |
| 4510 output_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::Ge
tEmptyString()); |
5333 } | 4511 } |
5334 output_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), output_type); | |
5335 // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescript
orProto.output_type) | |
5336 } | 4512 } |
5337 | 4513 |
5338 // optional .google.protobuf.MethodOptions options = 4; | 4514 // optional .google.protobuf.MethodOptions options = 4; |
5339 inline bool MethodDescriptorProto::has_options() const { | 4515 inline bool MethodDescriptorProto::has_options() const { |
5340 return (_has_bits_[0] & 0x00000008u) != 0; | 4516 return (_has_bits_[0] & 0x00000008u) != 0; |
5341 } | 4517 } |
5342 inline void MethodDescriptorProto::set_has_options() { | 4518 inline void MethodDescriptorProto::set_has_options() { |
5343 _has_bits_[0] |= 0x00000008u; | 4519 _has_bits_[0] |= 0x00000008u; |
5344 } | 4520 } |
5345 inline void MethodDescriptorProto::clear_has_options() { | 4521 inline void MethodDescriptorProto::clear_has_options() { |
5346 _has_bits_[0] &= ~0x00000008u; | 4522 _has_bits_[0] &= ~0x00000008u; |
5347 } | 4523 } |
5348 inline void MethodDescriptorProto::clear_options() { | 4524 inline void MethodDescriptorProto::clear_options() { |
5349 if (options_ != NULL) options_->::google::protobuf::MethodOptions::Clear(); | 4525 if (options_ != NULL) options_->::google::protobuf::MethodOptions::Clear(); |
5350 clear_has_options(); | 4526 clear_has_options(); |
5351 } | 4527 } |
5352 inline const ::google::protobuf::MethodOptions& MethodDescriptorProto::options()
const { | 4528 inline const ::google::protobuf::MethodOptions& MethodDescriptorProto::options()
const { |
5353 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.op
tions) | |
5354 return options_ != NULL ? *options_ : *default_instance_->options_; | 4529 return options_ != NULL ? *options_ : *default_instance_->options_; |
5355 } | 4530 } |
5356 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::mutable_options
() { | 4531 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::mutable_options
() { |
5357 set_has_options(); | 4532 set_has_options(); |
5358 if (options_ == NULL) { | 4533 if (options_ == NULL) options_ = new ::google::protobuf::MethodOptions; |
5359 options_ = new ::google::protobuf::MethodOptions; | |
5360 } | |
5361 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProt
o.options) | |
5362 return options_; | 4534 return options_; |
5363 } | 4535 } |
5364 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::release_options
() { | 4536 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::release_options
() { |
5365 clear_has_options(); | 4537 clear_has_options(); |
5366 ::google::protobuf::MethodOptions* temp = options_; | 4538 ::google::protobuf::MethodOptions* temp = options_; |
5367 options_ = NULL; | 4539 options_ = NULL; |
5368 return temp; | 4540 return temp; |
5369 } | 4541 } |
5370 inline void MethodDescriptorProto::set_allocated_options(::google::protobuf::Met
hodOptions* options) { | 4542 inline void MethodDescriptorProto::set_allocated_options(::google::protobuf::Met
hodOptions* options) { |
5371 delete options_; | 4543 delete options_; |
5372 options_ = options; | 4544 options_ = options; |
5373 if (options) { | 4545 if (options) { |
5374 set_has_options(); | 4546 set_has_options(); |
5375 } else { | 4547 } else { |
5376 clear_has_options(); | 4548 clear_has_options(); |
5377 } | 4549 } |
5378 // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescript
orProto.options) | |
5379 } | |
5380 | |
5381 // optional bool client_streaming = 5 [default = false]; | |
5382 inline bool MethodDescriptorProto::has_client_streaming() const { | |
5383 return (_has_bits_[0] & 0x00000010u) != 0; | |
5384 } | |
5385 inline void MethodDescriptorProto::set_has_client_streaming() { | |
5386 _has_bits_[0] |= 0x00000010u; | |
5387 } | |
5388 inline void MethodDescriptorProto::clear_has_client_streaming() { | |
5389 _has_bits_[0] &= ~0x00000010u; | |
5390 } | |
5391 inline void MethodDescriptorProto::clear_client_streaming() { | |
5392 client_streaming_ = false; | |
5393 clear_has_client_streaming(); | |
5394 } | |
5395 inline bool MethodDescriptorProto::client_streaming() const { | |
5396 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.cl
ient_streaming) | |
5397 return client_streaming_; | |
5398 } | |
5399 inline void MethodDescriptorProto::set_client_streaming(bool value) { | |
5400 set_has_client_streaming(); | |
5401 client_streaming_ = value; | |
5402 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.cl
ient_streaming) | |
5403 } | |
5404 | |
5405 // optional bool server_streaming = 6 [default = false]; | |
5406 inline bool MethodDescriptorProto::has_server_streaming() const { | |
5407 return (_has_bits_[0] & 0x00000020u) != 0; | |
5408 } | |
5409 inline void MethodDescriptorProto::set_has_server_streaming() { | |
5410 _has_bits_[0] |= 0x00000020u; | |
5411 } | |
5412 inline void MethodDescriptorProto::clear_has_server_streaming() { | |
5413 _has_bits_[0] &= ~0x00000020u; | |
5414 } | |
5415 inline void MethodDescriptorProto::clear_server_streaming() { | |
5416 server_streaming_ = false; | |
5417 clear_has_server_streaming(); | |
5418 } | |
5419 inline bool MethodDescriptorProto::server_streaming() const { | |
5420 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.se
rver_streaming) | |
5421 return server_streaming_; | |
5422 } | |
5423 inline void MethodDescriptorProto::set_server_streaming(bool value) { | |
5424 set_has_server_streaming(); | |
5425 server_streaming_ = value; | |
5426 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.se
rver_streaming) | |
5427 } | 4550 } |
5428 | 4551 |
5429 // ------------------------------------------------------------------- | 4552 // ------------------------------------------------------------------- |
5430 | 4553 |
5431 // FileOptions | 4554 // FileOptions |
5432 | 4555 |
5433 // optional string java_package = 1; | 4556 // optional string java_package = 1; |
5434 inline bool FileOptions::has_java_package() const { | 4557 inline bool FileOptions::has_java_package() const { |
5435 return (_has_bits_[0] & 0x00000001u) != 0; | 4558 return (_has_bits_[0] & 0x00000001u) != 0; |
5436 } | 4559 } |
5437 inline void FileOptions::set_has_java_package() { | 4560 inline void FileOptions::set_has_java_package() { |
5438 _has_bits_[0] |= 0x00000001u; | 4561 _has_bits_[0] |= 0x00000001u; |
5439 } | 4562 } |
5440 inline void FileOptions::clear_has_java_package() { | 4563 inline void FileOptions::clear_has_java_package() { |
5441 _has_bits_[0] &= ~0x00000001u; | 4564 _has_bits_[0] &= ~0x00000001u; |
5442 } | 4565 } |
5443 inline void FileOptions::clear_java_package() { | 4566 inline void FileOptions::clear_java_package() { |
5444 java_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited()); | 4567 if (java_package_ != &::google::protobuf::internal::GetEmptyString()) { |
| 4568 java_package_->clear(); |
| 4569 } |
5445 clear_has_java_package(); | 4570 clear_has_java_package(); |
5446 } | 4571 } |
5447 inline const ::std::string& FileOptions::java_package() const { | 4572 inline const ::std::string& FileOptions::java_package() const { |
5448 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package
) | 4573 return *java_package_; |
5449 return java_package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); | |
5450 } | 4574 } |
5451 inline void FileOptions::set_java_package(const ::std::string& value) { | 4575 inline void FileOptions::set_java_package(const ::std::string& value) { |
5452 set_has_java_package(); | 4576 set_has_java_package(); |
5453 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), value); | 4577 if (java_package_ == &::google::protobuf::internal::GetEmptyString()) { |
5454 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package
) | 4578 java_package_ = new ::std::string; |
| 4579 } |
| 4580 java_package_->assign(value); |
5455 } | 4581 } |
5456 inline void FileOptions::set_java_package(const char* value) { | 4582 inline void FileOptions::set_java_package(const char* value) { |
5457 set_has_java_package(); | 4583 set_has_java_package(); |
5458 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), ::std::string(value)); | 4584 if (java_package_ == &::google::protobuf::internal::GetEmptyString()) { |
5459 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_pa
ckage) | 4585 java_package_ = new ::std::string; |
| 4586 } |
| 4587 java_package_->assign(value); |
5460 } | 4588 } |
5461 inline void FileOptions::set_java_package(const char* value, size_t size) { | 4589 inline void FileOptions::set_java_package(const char* value, size_t size) { |
5462 set_has_java_package(); | 4590 set_has_java_package(); |
5463 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), | 4591 if (java_package_ == &::google::protobuf::internal::GetEmptyString()) { |
5464 ::std::string(reinterpret_cast<const char*>(value), size)); | 4592 java_package_ = new ::std::string; |
5465 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java
_package) | 4593 } |
| 4594 java_package_->assign(reinterpret_cast<const char*>(value), size); |
5466 } | 4595 } |
5467 inline ::std::string* FileOptions::mutable_java_package() { | 4596 inline ::std::string* FileOptions::mutable_java_package() { |
5468 set_has_java_package(); | 4597 set_has_java_package(); |
5469 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_pac
kage) | 4598 if (java_package_ == &::google::protobuf::internal::GetEmptyString()) { |
5470 return java_package_.MutableNoArena(&::google::protobuf::internal::GetEmptyStr
ingAlreadyInited()); | 4599 java_package_ = new ::std::string; |
| 4600 } |
| 4601 return java_package_; |
5471 } | 4602 } |
5472 inline ::std::string* FileOptions::release_java_package() { | 4603 inline ::std::string* FileOptions::release_java_package() { |
5473 clear_has_java_package(); | 4604 clear_has_java_package(); |
5474 return java_package_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStr
ingAlreadyInited()); | 4605 if (java_package_ == &::google::protobuf::internal::GetEmptyString()) { |
| 4606 return NULL; |
| 4607 } else { |
| 4608 ::std::string* temp = java_package_; |
| 4609 java_package_ = const_cast< ::std::string*>(&::google::protobuf::internal::G
etEmptyString()); |
| 4610 return temp; |
| 4611 } |
5475 } | 4612 } |
5476 inline void FileOptions::set_allocated_java_package(::std::string* java_package)
{ | 4613 inline void FileOptions::set_allocated_java_package(::std::string* java_package)
{ |
5477 if (java_package != NULL) { | 4614 if (java_package_ != &::google::protobuf::internal::GetEmptyString()) { |
| 4615 delete java_package_; |
| 4616 } |
| 4617 if (java_package) { |
5478 set_has_java_package(); | 4618 set_has_java_package(); |
| 4619 java_package_ = java_package; |
5479 } else { | 4620 } else { |
5480 clear_has_java_package(); | 4621 clear_has_java_package(); |
| 4622 java_package_ = const_cast< ::std::string*>(&::google::protobuf::internal::G
etEmptyString()); |
5481 } | 4623 } |
5482 java_package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited(), java_package); | |
5483 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ja
va_package) | |
5484 } | 4624 } |
5485 | 4625 |
5486 // optional string java_outer_classname = 8; | 4626 // optional string java_outer_classname = 8; |
5487 inline bool FileOptions::has_java_outer_classname() const { | 4627 inline bool FileOptions::has_java_outer_classname() const { |
5488 return (_has_bits_[0] & 0x00000002u) != 0; | 4628 return (_has_bits_[0] & 0x00000002u) != 0; |
5489 } | 4629 } |
5490 inline void FileOptions::set_has_java_outer_classname() { | 4630 inline void FileOptions::set_has_java_outer_classname() { |
5491 _has_bits_[0] |= 0x00000002u; | 4631 _has_bits_[0] |= 0x00000002u; |
5492 } | 4632 } |
5493 inline void FileOptions::clear_has_java_outer_classname() { | 4633 inline void FileOptions::clear_has_java_outer_classname() { |
5494 _has_bits_[0] &= ~0x00000002u; | 4634 _has_bits_[0] &= ~0x00000002u; |
5495 } | 4635 } |
5496 inline void FileOptions::clear_java_outer_classname() { | 4636 inline void FileOptions::clear_java_outer_classname() { |
5497 java_outer_classname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEm
ptyStringAlreadyInited()); | 4637 if (java_outer_classname_ != &::google::protobuf::internal::GetEmptyString())
{ |
| 4638 java_outer_classname_->clear(); |
| 4639 } |
5498 clear_has_java_outer_classname(); | 4640 clear_has_java_outer_classname(); |
5499 } | 4641 } |
5500 inline const ::std::string& FileOptions::java_outer_classname() const { | 4642 inline const ::std::string& FileOptions::java_outer_classname() const { |
5501 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_c
lassname) | 4643 return *java_outer_classname_; |
5502 return java_outer_classname_.GetNoArena(&::google::protobuf::internal::GetEmpt
yStringAlreadyInited()); | |
5503 } | 4644 } |
5504 inline void FileOptions::set_java_outer_classname(const ::std::string& value) { | 4645 inline void FileOptions::set_java_outer_classname(const ::std::string& value) { |
5505 set_has_java_outer_classname(); | 4646 set_has_java_outer_classname(); |
5506 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), value); | 4647 if (java_outer_classname_ == &::google::protobuf::internal::GetEmptyString())
{ |
5507 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_c
lassname) | 4648 java_outer_classname_ = new ::std::string; |
| 4649 } |
| 4650 java_outer_classname_->assign(value); |
5508 } | 4651 } |
5509 inline void FileOptions::set_java_outer_classname(const char* value) { | 4652 inline void FileOptions::set_java_outer_classname(const char* value) { |
5510 set_has_java_outer_classname(); | 4653 set_has_java_outer_classname(); |
5511 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), ::std::string(value)); | 4654 if (java_outer_classname_ == &::google::protobuf::internal::GetEmptyString())
{ |
5512 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_ou
ter_classname) | 4655 java_outer_classname_ = new ::std::string; |
| 4656 } |
| 4657 java_outer_classname_->assign(value); |
5513 } | 4658 } |
5514 inline void FileOptions::set_java_outer_classname(const char* value, size_t size
) { | 4659 inline void FileOptions::set_java_outer_classname(const char* value, size_t size
) { |
5515 set_has_java_outer_classname(); | 4660 set_has_java_outer_classname(); |
5516 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), | 4661 if (java_outer_classname_ == &::google::protobuf::internal::GetEmptyString())
{ |
5517 ::std::string(reinterpret_cast<const char*>(value), size)); | 4662 java_outer_classname_ = new ::std::string; |
5518 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java
_outer_classname) | 4663 } |
| 4664 java_outer_classname_->assign(reinterpret_cast<const char*>(value), size); |
5519 } | 4665 } |
5520 inline ::std::string* FileOptions::mutable_java_outer_classname() { | 4666 inline ::std::string* FileOptions::mutable_java_outer_classname() { |
5521 set_has_java_outer_classname(); | 4667 set_has_java_outer_classname(); |
5522 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_out
er_classname) | 4668 if (java_outer_classname_ == &::google::protobuf::internal::GetEmptyString())
{ |
5523 return java_outer_classname_.MutableNoArena(&::google::protobuf::internal::Get
EmptyStringAlreadyInited()); | 4669 java_outer_classname_ = new ::std::string; |
| 4670 } |
| 4671 return java_outer_classname_; |
5524 } | 4672 } |
5525 inline ::std::string* FileOptions::release_java_outer_classname() { | 4673 inline ::std::string* FileOptions::release_java_outer_classname() { |
5526 clear_has_java_outer_classname(); | 4674 clear_has_java_outer_classname(); |
5527 return java_outer_classname_.ReleaseNoArena(&::google::protobuf::internal::Get
EmptyStringAlreadyInited()); | 4675 if (java_outer_classname_ == &::google::protobuf::internal::GetEmptyString())
{ |
| 4676 return NULL; |
| 4677 } else { |
| 4678 ::std::string* temp = java_outer_classname_; |
| 4679 java_outer_classname_ = const_cast< ::std::string*>(&::google::protobuf::int
ernal::GetEmptyString()); |
| 4680 return temp; |
| 4681 } |
5528 } | 4682 } |
5529 inline void FileOptions::set_allocated_java_outer_classname(::std::string* java_
outer_classname) { | 4683 inline void FileOptions::set_allocated_java_outer_classname(::std::string* java_
outer_classname) { |
5530 if (java_outer_classname != NULL) { | 4684 if (java_outer_classname_ != &::google::protobuf::internal::GetEmptyString())
{ |
| 4685 delete java_outer_classname_; |
| 4686 } |
| 4687 if (java_outer_classname) { |
5531 set_has_java_outer_classname(); | 4688 set_has_java_outer_classname(); |
| 4689 java_outer_classname_ = java_outer_classname; |
5532 } else { | 4690 } else { |
5533 clear_has_java_outer_classname(); | 4691 clear_has_java_outer_classname(); |
| 4692 java_outer_classname_ = const_cast< ::std::string*>(&::google::protobuf::int
ernal::GetEmptyString()); |
5534 } | 4693 } |
5535 java_outer_classname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEm
ptyStringAlreadyInited(), java_outer_classname); | |
5536 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ja
va_outer_classname) | |
5537 } | 4694 } |
5538 | 4695 |
5539 // optional bool java_multiple_files = 10 [default = false]; | 4696 // optional bool java_multiple_files = 10 [default = false]; |
5540 inline bool FileOptions::has_java_multiple_files() const { | 4697 inline bool FileOptions::has_java_multiple_files() const { |
5541 return (_has_bits_[0] & 0x00000004u) != 0; | 4698 return (_has_bits_[0] & 0x00000004u) != 0; |
5542 } | 4699 } |
5543 inline void FileOptions::set_has_java_multiple_files() { | 4700 inline void FileOptions::set_has_java_multiple_files() { |
5544 _has_bits_[0] |= 0x00000004u; | 4701 _has_bits_[0] |= 0x00000004u; |
5545 } | 4702 } |
5546 inline void FileOptions::clear_has_java_multiple_files() { | 4703 inline void FileOptions::clear_has_java_multiple_files() { |
5547 _has_bits_[0] &= ~0x00000004u; | 4704 _has_bits_[0] &= ~0x00000004u; |
5548 } | 4705 } |
5549 inline void FileOptions::clear_java_multiple_files() { | 4706 inline void FileOptions::clear_java_multiple_files() { |
5550 java_multiple_files_ = false; | 4707 java_multiple_files_ = false; |
5551 clear_has_java_multiple_files(); | 4708 clear_has_java_multiple_files(); |
5552 } | 4709 } |
5553 inline bool FileOptions::java_multiple_files() const { | 4710 inline bool FileOptions::java_multiple_files() const { |
5554 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multipl
e_files) | |
5555 return java_multiple_files_; | 4711 return java_multiple_files_; |
5556 } | 4712 } |
5557 inline void FileOptions::set_java_multiple_files(bool value) { | 4713 inline void FileOptions::set_java_multiple_files(bool value) { |
5558 set_has_java_multiple_files(); | 4714 set_has_java_multiple_files(); |
5559 java_multiple_files_ = value; | 4715 java_multiple_files_ = value; |
5560 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multipl
e_files) | |
5561 } | 4716 } |
5562 | 4717 |
5563 // optional bool retain_unknown_fields = 12 [default = false]; | 4718 // optional bool retain_unknown_fields = 12 [default = false]; |
5564 inline bool FileOptions::has_retain_unknown_fields() const { | 4719 inline bool FileOptions::has_retain_unknown_fields() const { |
5565 return (_has_bits_[0] & 0x00000008u) != 0; | 4720 return (_has_bits_[0] & 0x00000008u) != 0; |
5566 } | 4721 } |
5567 inline void FileOptions::set_has_retain_unknown_fields() { | 4722 inline void FileOptions::set_has_retain_unknown_fields() { |
5568 _has_bits_[0] |= 0x00000008u; | 4723 _has_bits_[0] |= 0x00000008u; |
5569 } | 4724 } |
5570 inline void FileOptions::clear_has_retain_unknown_fields() { | 4725 inline void FileOptions::clear_has_retain_unknown_fields() { |
5571 _has_bits_[0] &= ~0x00000008u; | 4726 _has_bits_[0] &= ~0x00000008u; |
5572 } | 4727 } |
5573 inline void FileOptions::clear_retain_unknown_fields() { | 4728 inline void FileOptions::clear_retain_unknown_fields() { |
5574 retain_unknown_fields_ = false; | 4729 retain_unknown_fields_ = false; |
5575 clear_has_retain_unknown_fields(); | 4730 clear_has_retain_unknown_fields(); |
5576 } | 4731 } |
5577 inline bool FileOptions::retain_unknown_fields() const { | 4732 inline bool FileOptions::retain_unknown_fields() const { |
5578 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.retain_unkno
wn_fields) | |
5579 return retain_unknown_fields_; | 4733 return retain_unknown_fields_; |
5580 } | 4734 } |
5581 inline void FileOptions::set_retain_unknown_fields(bool value) { | 4735 inline void FileOptions::set_retain_unknown_fields(bool value) { |
5582 set_has_retain_unknown_fields(); | 4736 set_has_retain_unknown_fields(); |
5583 retain_unknown_fields_ = value; | 4737 retain_unknown_fields_ = value; |
5584 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.retain_unkno
wn_fields) | |
5585 } | 4738 } |
5586 | 4739 |
5587 // optional bool java_generate_equals_and_hash = 20 [default = false]; | 4740 // optional bool java_generate_equals_and_hash = 20 [default = false]; |
5588 inline bool FileOptions::has_java_generate_equals_and_hash() const { | 4741 inline bool FileOptions::has_java_generate_equals_and_hash() const { |
5589 return (_has_bits_[0] & 0x00000010u) != 0; | 4742 return (_has_bits_[0] & 0x00000010u) != 0; |
5590 } | 4743 } |
5591 inline void FileOptions::set_has_java_generate_equals_and_hash() { | 4744 inline void FileOptions::set_has_java_generate_equals_and_hash() { |
5592 _has_bits_[0] |= 0x00000010u; | 4745 _has_bits_[0] |= 0x00000010u; |
5593 } | 4746 } |
5594 inline void FileOptions::clear_has_java_generate_equals_and_hash() { | 4747 inline void FileOptions::clear_has_java_generate_equals_and_hash() { |
5595 _has_bits_[0] &= ~0x00000010u; | 4748 _has_bits_[0] &= ~0x00000010u; |
5596 } | 4749 } |
5597 inline void FileOptions::clear_java_generate_equals_and_hash() { | 4750 inline void FileOptions::clear_java_generate_equals_and_hash() { |
5598 java_generate_equals_and_hash_ = false; | 4751 java_generate_equals_and_hash_ = false; |
5599 clear_has_java_generate_equals_and_hash(); | 4752 clear_has_java_generate_equals_and_hash(); |
5600 } | 4753 } |
5601 inline bool FileOptions::java_generate_equals_and_hash() const { | 4754 inline bool FileOptions::java_generate_equals_and_hash() const { |
5602 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generat
e_equals_and_hash) | |
5603 return java_generate_equals_and_hash_; | 4755 return java_generate_equals_and_hash_; |
5604 } | 4756 } |
5605 inline void FileOptions::set_java_generate_equals_and_hash(bool value) { | 4757 inline void FileOptions::set_java_generate_equals_and_hash(bool value) { |
5606 set_has_java_generate_equals_and_hash(); | 4758 set_has_java_generate_equals_and_hash(); |
5607 java_generate_equals_and_hash_ = value; | 4759 java_generate_equals_and_hash_ = value; |
5608 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generat
e_equals_and_hash) | |
5609 } | |
5610 | |
5611 // optional bool java_string_check_utf8 = 27 [default = false]; | |
5612 inline bool FileOptions::has_java_string_check_utf8() const { | |
5613 return (_has_bits_[0] & 0x00000020u) != 0; | |
5614 } | |
5615 inline void FileOptions::set_has_java_string_check_utf8() { | |
5616 _has_bits_[0] |= 0x00000020u; | |
5617 } | |
5618 inline void FileOptions::clear_has_java_string_check_utf8() { | |
5619 _has_bits_[0] &= ~0x00000020u; | |
5620 } | |
5621 inline void FileOptions::clear_java_string_check_utf8() { | |
5622 java_string_check_utf8_ = false; | |
5623 clear_has_java_string_check_utf8(); | |
5624 } | |
5625 inline bool FileOptions::java_string_check_utf8() const { | |
5626 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_
check_utf8) | |
5627 return java_string_check_utf8_; | |
5628 } | |
5629 inline void FileOptions::set_java_string_check_utf8(bool value) { | |
5630 set_has_java_string_check_utf8(); | |
5631 java_string_check_utf8_ = value; | |
5632 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_
check_utf8) | |
5633 } | 4760 } |
5634 | 4761 |
5635 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default
= SPEED]; | 4762 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default
= SPEED]; |
5636 inline bool FileOptions::has_optimize_for() const { | 4763 inline bool FileOptions::has_optimize_for() const { |
5637 return (_has_bits_[0] & 0x00000040u) != 0; | 4764 return (_has_bits_[0] & 0x00000020u) != 0; |
5638 } | 4765 } |
5639 inline void FileOptions::set_has_optimize_for() { | 4766 inline void FileOptions::set_has_optimize_for() { |
5640 _has_bits_[0] |= 0x00000040u; | 4767 _has_bits_[0] |= 0x00000020u; |
5641 } | 4768 } |
5642 inline void FileOptions::clear_has_optimize_for() { | 4769 inline void FileOptions::clear_has_optimize_for() { |
5643 _has_bits_[0] &= ~0x00000040u; | 4770 _has_bits_[0] &= ~0x00000020u; |
5644 } | 4771 } |
5645 inline void FileOptions::clear_optimize_for() { | 4772 inline void FileOptions::clear_optimize_for() { |
5646 optimize_for_ = 1; | 4773 optimize_for_ = 1; |
5647 clear_has_optimize_for(); | 4774 clear_has_optimize_for(); |
5648 } | 4775 } |
5649 inline ::google::protobuf::FileOptions_OptimizeMode FileOptions::optimize_for()
const { | 4776 inline ::google::protobuf::FileOptions_OptimizeMode FileOptions::optimize_for()
const { |
5650 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for
) | |
5651 return static_cast< ::google::protobuf::FileOptions_OptimizeMode >(optimize_fo
r_); | 4777 return static_cast< ::google::protobuf::FileOptions_OptimizeMode >(optimize_fo
r_); |
5652 } | 4778 } |
5653 inline void FileOptions::set_optimize_for(::google::protobuf::FileOptions_Optimi
zeMode value) { | 4779 inline void FileOptions::set_optimize_for(::google::protobuf::FileOptions_Optimi
zeMode value) { |
5654 assert(::google::protobuf::FileOptions_OptimizeMode_IsValid(value)); | 4780 assert(::google::protobuf::FileOptions_OptimizeMode_IsValid(value)); |
5655 set_has_optimize_for(); | 4781 set_has_optimize_for(); |
5656 optimize_for_ = value; | 4782 optimize_for_ = value; |
5657 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for
) | |
5658 } | 4783 } |
5659 | 4784 |
5660 // optional string go_package = 11; | 4785 // optional string go_package = 11; |
5661 inline bool FileOptions::has_go_package() const { | 4786 inline bool FileOptions::has_go_package() const { |
5662 return (_has_bits_[0] & 0x00000080u) != 0; | 4787 return (_has_bits_[0] & 0x00000040u) != 0; |
5663 } | 4788 } |
5664 inline void FileOptions::set_has_go_package() { | 4789 inline void FileOptions::set_has_go_package() { |
5665 _has_bits_[0] |= 0x00000080u; | 4790 _has_bits_[0] |= 0x00000040u; |
5666 } | 4791 } |
5667 inline void FileOptions::clear_has_go_package() { | 4792 inline void FileOptions::clear_has_go_package() { |
5668 _has_bits_[0] &= ~0x00000080u; | 4793 _has_bits_[0] &= ~0x00000040u; |
5669 } | 4794 } |
5670 inline void FileOptions::clear_go_package() { | 4795 inline void FileOptions::clear_go_package() { |
5671 go_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); | 4796 if (go_package_ != &::google::protobuf::internal::GetEmptyString()) { |
| 4797 go_package_->clear(); |
| 4798 } |
5672 clear_has_go_package(); | 4799 clear_has_go_package(); |
5673 } | 4800 } |
5674 inline const ::std::string& FileOptions::go_package() const { | 4801 inline const ::std::string& FileOptions::go_package() const { |
5675 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package) | 4802 return *go_package_; |
5676 return go_package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited()); | |
5677 } | 4803 } |
5678 inline void FileOptions::set_go_package(const ::std::string& value) { | 4804 inline void FileOptions::set_go_package(const ::std::string& value) { |
5679 set_has_go_package(); | 4805 set_has_go_package(); |
5680 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), value); | 4806 if (go_package_ == &::google::protobuf::internal::GetEmptyString()) { |
5681 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package) | 4807 go_package_ = new ::std::string; |
| 4808 } |
| 4809 go_package_->assign(value); |
5682 } | 4810 } |
5683 inline void FileOptions::set_go_package(const char* value) { | 4811 inline void FileOptions::set_go_package(const char* value) { |
5684 set_has_go_package(); | 4812 set_has_go_package(); |
5685 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), ::std::string(value)); | 4813 if (go_package_ == &::google::protobuf::internal::GetEmptyString()) { |
5686 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.go_pack
age) | 4814 go_package_ = new ::std::string; |
| 4815 } |
| 4816 go_package_->assign(value); |
5687 } | 4817 } |
5688 inline void FileOptions::set_go_package(const char* value, size_t size) { | 4818 inline void FileOptions::set_go_package(const char* value, size_t size) { |
5689 set_has_go_package(); | 4819 set_has_go_package(); |
5690 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), | 4820 if (go_package_ == &::google::protobuf::internal::GetEmptyString()) { |
5691 ::std::string(reinterpret_cast<const char*>(value), size)); | 4821 go_package_ = new ::std::string; |
5692 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.go_p
ackage) | 4822 } |
| 4823 go_package_->assign(reinterpret_cast<const char*>(value), size); |
5693 } | 4824 } |
5694 inline ::std::string* FileOptions::mutable_go_package() { | 4825 inline ::std::string* FileOptions::mutable_go_package() { |
5695 set_has_go_package(); | 4826 set_has_go_package(); |
5696 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.go_packa
ge) | 4827 if (go_package_ == &::google::protobuf::internal::GetEmptyString()) { |
5697 return go_package_.MutableNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited()); | 4828 go_package_ = new ::std::string; |
| 4829 } |
| 4830 return go_package_; |
5698 } | 4831 } |
5699 inline ::std::string* FileOptions::release_go_package() { | 4832 inline ::std::string* FileOptions::release_go_package() { |
5700 clear_has_go_package(); | 4833 clear_has_go_package(); |
5701 return go_package_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited()); | 4834 if (go_package_ == &::google::protobuf::internal::GetEmptyString()) { |
| 4835 return NULL; |
| 4836 } else { |
| 4837 ::std::string* temp = go_package_; |
| 4838 go_package_ = const_cast< ::std::string*>(&::google::protobuf::internal::Get
EmptyString()); |
| 4839 return temp; |
| 4840 } |
5702 } | 4841 } |
5703 inline void FileOptions::set_allocated_go_package(::std::string* go_package) { | 4842 inline void FileOptions::set_allocated_go_package(::std::string* go_package) { |
5704 if (go_package != NULL) { | 4843 if (go_package_ != &::google::protobuf::internal::GetEmptyString()) { |
| 4844 delete go_package_; |
| 4845 } |
| 4846 if (go_package) { |
5705 set_has_go_package(); | 4847 set_has_go_package(); |
| 4848 go_package_ = go_package; |
5706 } else { | 4849 } else { |
5707 clear_has_go_package(); | 4850 clear_has_go_package(); |
| 4851 go_package_ = const_cast< ::std::string*>(&::google::protobuf::internal::Get
EmptyString()); |
5708 } | 4852 } |
5709 go_package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited(), go_package); | |
5710 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go
_package) | |
5711 } | 4853 } |
5712 | 4854 |
5713 // optional bool cc_generic_services = 16 [default = false]; | 4855 // optional bool cc_generic_services = 16 [default = false]; |
5714 inline bool FileOptions::has_cc_generic_services() const { | 4856 inline bool FileOptions::has_cc_generic_services() const { |
5715 return (_has_bits_[0] & 0x00000100u) != 0; | 4857 return (_has_bits_[0] & 0x00000080u) != 0; |
5716 } | 4858 } |
5717 inline void FileOptions::set_has_cc_generic_services() { | 4859 inline void FileOptions::set_has_cc_generic_services() { |
5718 _has_bits_[0] |= 0x00000100u; | 4860 _has_bits_[0] |= 0x00000080u; |
5719 } | 4861 } |
5720 inline void FileOptions::clear_has_cc_generic_services() { | 4862 inline void FileOptions::clear_has_cc_generic_services() { |
5721 _has_bits_[0] &= ~0x00000100u; | 4863 _has_bits_[0] &= ~0x00000080u; |
5722 } | 4864 } |
5723 inline void FileOptions::clear_cc_generic_services() { | 4865 inline void FileOptions::clear_cc_generic_services() { |
5724 cc_generic_services_ = false; | 4866 cc_generic_services_ = false; |
5725 clear_has_cc_generic_services(); | 4867 clear_has_cc_generic_services(); |
5726 } | 4868 } |
5727 inline bool FileOptions::cc_generic_services() const { | 4869 inline bool FileOptions::cc_generic_services() const { |
5728 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_s
ervices) | |
5729 return cc_generic_services_; | 4870 return cc_generic_services_; |
5730 } | 4871 } |
5731 inline void FileOptions::set_cc_generic_services(bool value) { | 4872 inline void FileOptions::set_cc_generic_services(bool value) { |
5732 set_has_cc_generic_services(); | 4873 set_has_cc_generic_services(); |
5733 cc_generic_services_ = value; | 4874 cc_generic_services_ = value; |
5734 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_s
ervices) | |
5735 } | 4875 } |
5736 | 4876 |
5737 // optional bool java_generic_services = 17 [default = false]; | 4877 // optional bool java_generic_services = 17 [default = false]; |
5738 inline bool FileOptions::has_java_generic_services() const { | 4878 inline bool FileOptions::has_java_generic_services() const { |
5739 return (_has_bits_[0] & 0x00000200u) != 0; | 4879 return (_has_bits_[0] & 0x00000100u) != 0; |
5740 } | 4880 } |
5741 inline void FileOptions::set_has_java_generic_services() { | 4881 inline void FileOptions::set_has_java_generic_services() { |
5742 _has_bits_[0] |= 0x00000200u; | 4882 _has_bits_[0] |= 0x00000100u; |
5743 } | 4883 } |
5744 inline void FileOptions::clear_has_java_generic_services() { | 4884 inline void FileOptions::clear_has_java_generic_services() { |
5745 _has_bits_[0] &= ~0x00000200u; | 4885 _has_bits_[0] &= ~0x00000100u; |
5746 } | 4886 } |
5747 inline void FileOptions::clear_java_generic_services() { | 4887 inline void FileOptions::clear_java_generic_services() { |
5748 java_generic_services_ = false; | 4888 java_generic_services_ = false; |
5749 clear_has_java_generic_services(); | 4889 clear_has_java_generic_services(); |
5750 } | 4890 } |
5751 inline bool FileOptions::java_generic_services() const { | 4891 inline bool FileOptions::java_generic_services() const { |
5752 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic
_services) | |
5753 return java_generic_services_; | 4892 return java_generic_services_; |
5754 } | 4893 } |
5755 inline void FileOptions::set_java_generic_services(bool value) { | 4894 inline void FileOptions::set_java_generic_services(bool value) { |
5756 set_has_java_generic_services(); | 4895 set_has_java_generic_services(); |
5757 java_generic_services_ = value; | 4896 java_generic_services_ = value; |
5758 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic
_services) | |
5759 } | 4897 } |
5760 | 4898 |
5761 // optional bool py_generic_services = 18 [default = false]; | 4899 // optional bool py_generic_services = 18 [default = false]; |
5762 inline bool FileOptions::has_py_generic_services() const { | 4900 inline bool FileOptions::has_py_generic_services() const { |
5763 return (_has_bits_[0] & 0x00000400u) != 0; | 4901 return (_has_bits_[0] & 0x00000200u) != 0; |
5764 } | 4902 } |
5765 inline void FileOptions::set_has_py_generic_services() { | 4903 inline void FileOptions::set_has_py_generic_services() { |
5766 _has_bits_[0] |= 0x00000400u; | 4904 _has_bits_[0] |= 0x00000200u; |
5767 } | 4905 } |
5768 inline void FileOptions::clear_has_py_generic_services() { | 4906 inline void FileOptions::clear_has_py_generic_services() { |
5769 _has_bits_[0] &= ~0x00000400u; | 4907 _has_bits_[0] &= ~0x00000200u; |
5770 } | 4908 } |
5771 inline void FileOptions::clear_py_generic_services() { | 4909 inline void FileOptions::clear_py_generic_services() { |
5772 py_generic_services_ = false; | 4910 py_generic_services_ = false; |
5773 clear_has_py_generic_services(); | 4911 clear_has_py_generic_services(); |
5774 } | 4912 } |
5775 inline bool FileOptions::py_generic_services() const { | 4913 inline bool FileOptions::py_generic_services() const { |
5776 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_s
ervices) | |
5777 return py_generic_services_; | 4914 return py_generic_services_; |
5778 } | 4915 } |
5779 inline void FileOptions::set_py_generic_services(bool value) { | 4916 inline void FileOptions::set_py_generic_services(bool value) { |
5780 set_has_py_generic_services(); | 4917 set_has_py_generic_services(); |
5781 py_generic_services_ = value; | 4918 py_generic_services_ = value; |
5782 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_s
ervices) | |
5783 } | |
5784 | |
5785 // optional bool deprecated = 23 [default = false]; | |
5786 inline bool FileOptions::has_deprecated() const { | |
5787 return (_has_bits_[0] & 0x00000800u) != 0; | |
5788 } | |
5789 inline void FileOptions::set_has_deprecated() { | |
5790 _has_bits_[0] |= 0x00000800u; | |
5791 } | |
5792 inline void FileOptions::clear_has_deprecated() { | |
5793 _has_bits_[0] &= ~0x00000800u; | |
5794 } | |
5795 inline void FileOptions::clear_deprecated() { | |
5796 deprecated_ = false; | |
5797 clear_has_deprecated(); | |
5798 } | |
5799 inline bool FileOptions::deprecated() const { | |
5800 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated) | |
5801 return deprecated_; | |
5802 } | |
5803 inline void FileOptions::set_deprecated(bool value) { | |
5804 set_has_deprecated(); | |
5805 deprecated_ = value; | |
5806 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated) | |
5807 } | |
5808 | |
5809 // optional bool cc_enable_arenas = 31 [default = false]; | |
5810 inline bool FileOptions::has_cc_enable_arenas() const { | |
5811 return (_has_bits_[0] & 0x00001000u) != 0; | |
5812 } | |
5813 inline void FileOptions::set_has_cc_enable_arenas() { | |
5814 _has_bits_[0] |= 0x00001000u; | |
5815 } | |
5816 inline void FileOptions::clear_has_cc_enable_arenas() { | |
5817 _has_bits_[0] &= ~0x00001000u; | |
5818 } | |
5819 inline void FileOptions::clear_cc_enable_arenas() { | |
5820 cc_enable_arenas_ = false; | |
5821 clear_has_cc_enable_arenas(); | |
5822 } | |
5823 inline bool FileOptions::cc_enable_arenas() const { | |
5824 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_ar
enas) | |
5825 return cc_enable_arenas_; | |
5826 } | |
5827 inline void FileOptions::set_cc_enable_arenas(bool value) { | |
5828 set_has_cc_enable_arenas(); | |
5829 cc_enable_arenas_ = value; | |
5830 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_ar
enas) | |
5831 } | |
5832 | |
5833 // optional string objc_class_prefix = 36; | |
5834 inline bool FileOptions::has_objc_class_prefix() const { | |
5835 return (_has_bits_[0] & 0x00002000u) != 0; | |
5836 } | |
5837 inline void FileOptions::set_has_objc_class_prefix() { | |
5838 _has_bits_[0] |= 0x00002000u; | |
5839 } | |
5840 inline void FileOptions::clear_has_objc_class_prefix() { | |
5841 _has_bits_[0] &= ~0x00002000u; | |
5842 } | |
5843 inline void FileOptions::clear_objc_class_prefix() { | |
5844 objc_class_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty
StringAlreadyInited()); | |
5845 clear_has_objc_class_prefix(); | |
5846 } | |
5847 inline const ::std::string& FileOptions::objc_class_prefix() const { | |
5848 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_p
refix) | |
5849 return objc_class_prefix_.GetNoArena(&::google::protobuf::internal::GetEmptySt
ringAlreadyInited()); | |
5850 } | |
5851 inline void FileOptions::set_objc_class_prefix(const ::std::string& value) { | |
5852 set_has_objc_class_prefix(); | |
5853 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), value); | |
5854 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_p
refix) | |
5855 } | |
5856 inline void FileOptions::set_objc_class_prefix(const char* value) { | |
5857 set_has_objc_class_prefix(); | |
5858 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), ::std::string(value)); | |
5859 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.objc_cl
ass_prefix) | |
5860 } | |
5861 inline void FileOptions::set_objc_class_prefix(const char* value, size_t size) { | |
5862 set_has_objc_class_prefix(); | |
5863 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), | |
5864 ::std::string(reinterpret_cast<const char*>(value), size)); | |
5865 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.objc
_class_prefix) | |
5866 } | |
5867 inline ::std::string* FileOptions::mutable_objc_class_prefix() { | |
5868 set_has_objc_class_prefix(); | |
5869 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.objc_cla
ss_prefix) | |
5870 return objc_class_prefix_.MutableNoArena(&::google::protobuf::internal::GetEmp
tyStringAlreadyInited()); | |
5871 } | |
5872 inline ::std::string* FileOptions::release_objc_class_prefix() { | |
5873 clear_has_objc_class_prefix(); | |
5874 return objc_class_prefix_.ReleaseNoArena(&::google::protobuf::internal::GetEmp
tyStringAlreadyInited()); | |
5875 } | |
5876 inline void FileOptions::set_allocated_objc_class_prefix(::std::string* objc_cla
ss_prefix) { | |
5877 if (objc_class_prefix != NULL) { | |
5878 set_has_objc_class_prefix(); | |
5879 } else { | |
5880 clear_has_objc_class_prefix(); | |
5881 } | |
5882 objc_class_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmpty
StringAlreadyInited(), objc_class_prefix); | |
5883 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ob
jc_class_prefix) | |
5884 } | |
5885 | |
5886 // optional string csharp_namespace = 37; | |
5887 inline bool FileOptions::has_csharp_namespace() const { | |
5888 return (_has_bits_[0] & 0x00004000u) != 0; | |
5889 } | |
5890 inline void FileOptions::set_has_csharp_namespace() { | |
5891 _has_bits_[0] |= 0x00004000u; | |
5892 } | |
5893 inline void FileOptions::clear_has_csharp_namespace() { | |
5894 _has_bits_[0] &= ~0x00004000u; | |
5895 } | |
5896 inline void FileOptions::clear_csharp_namespace() { | |
5897 csharp_namespace_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited()); | |
5898 clear_has_csharp_namespace(); | |
5899 } | |
5900 inline const ::std::string& FileOptions::csharp_namespace() const { | |
5901 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_names
pace) | |
5902 return csharp_namespace_.GetNoArena(&::google::protobuf::internal::GetEmptyStr
ingAlreadyInited()); | |
5903 } | |
5904 inline void FileOptions::set_csharp_namespace(const ::std::string& value) { | |
5905 set_has_csharp_namespace(); | |
5906 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), value); | |
5907 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_names
pace) | |
5908 } | |
5909 inline void FileOptions::set_csharp_namespace(const char* value) { | |
5910 set_has_csharp_namespace(); | |
5911 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), ::std::string(value)); | |
5912 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.csharp_
namespace) | |
5913 } | |
5914 inline void FileOptions::set_csharp_namespace(const char* value, size_t size) { | |
5915 set_has_csharp_namespace(); | |
5916 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), | |
5917 ::std::string(reinterpret_cast<const char*>(value), size)); | |
5918 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.csha
rp_namespace) | |
5919 } | |
5920 inline ::std::string* FileOptions::mutable_csharp_namespace() { | |
5921 set_has_csharp_namespace(); | |
5922 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.csharp_n
amespace) | |
5923 return csharp_namespace_.MutableNoArena(&::google::protobuf::internal::GetEmpt
yStringAlreadyInited()); | |
5924 } | |
5925 inline ::std::string* FileOptions::release_csharp_namespace() { | |
5926 clear_has_csharp_namespace(); | |
5927 return csharp_namespace_.ReleaseNoArena(&::google::protobuf::internal::GetEmpt
yStringAlreadyInited()); | |
5928 } | |
5929 inline void FileOptions::set_allocated_csharp_namespace(::std::string* csharp_na
mespace) { | |
5930 if (csharp_namespace != NULL) { | |
5931 set_has_csharp_namespace(); | |
5932 } else { | |
5933 clear_has_csharp_namespace(); | |
5934 } | |
5935 csharp_namespace_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited(), csharp_namespace); | |
5936 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.cs
harp_namespace) | |
5937 } | |
5938 | |
5939 // optional bool javanano_use_deprecated_package = 38; | |
5940 inline bool FileOptions::has_javanano_use_deprecated_package() const { | |
5941 return (_has_bits_[0] & 0x00008000u) != 0; | |
5942 } | |
5943 inline void FileOptions::set_has_javanano_use_deprecated_package() { | |
5944 _has_bits_[0] |= 0x00008000u; | |
5945 } | |
5946 inline void FileOptions::clear_has_javanano_use_deprecated_package() { | |
5947 _has_bits_[0] &= ~0x00008000u; | |
5948 } | |
5949 inline void FileOptions::clear_javanano_use_deprecated_package() { | |
5950 javanano_use_deprecated_package_ = false; | |
5951 clear_has_javanano_use_deprecated_package(); | |
5952 } | |
5953 inline bool FileOptions::javanano_use_deprecated_package() const { | |
5954 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.javanano_use
_deprecated_package) | |
5955 return javanano_use_deprecated_package_; | |
5956 } | |
5957 inline void FileOptions::set_javanano_use_deprecated_package(bool value) { | |
5958 set_has_javanano_use_deprecated_package(); | |
5959 javanano_use_deprecated_package_ = value; | |
5960 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.javanano_use
_deprecated_package) | |
5961 } | 4919 } |
5962 | 4920 |
5963 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 4921 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
5964 inline int FileOptions::uninterpreted_option_size() const { | 4922 inline int FileOptions::uninterpreted_option_size() const { |
5965 return uninterpreted_option_.size(); | 4923 return uninterpreted_option_.size(); |
5966 } | 4924 } |
5967 inline void FileOptions::clear_uninterpreted_option() { | 4925 inline void FileOptions::clear_uninterpreted_option() { |
5968 uninterpreted_option_.Clear(); | 4926 uninterpreted_option_.Clear(); |
5969 } | 4927 } |
5970 inline const ::google::protobuf::UninterpretedOption& FileOptions::uninterpreted
_option(int index) const { | 4928 inline const ::google::protobuf::UninterpretedOption& FileOptions::uninterpreted
_option(int index) const { |
5971 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterprete
d_option) | |
5972 return uninterpreted_option_.Get(index); | 4929 return uninterpreted_option_.Get(index); |
5973 } | 4930 } |
5974 inline ::google::protobuf::UninterpretedOption* FileOptions::mutable_uninterpret
ed_option(int index) { | 4931 inline ::google::protobuf::UninterpretedOption* FileOptions::mutable_uninterpret
ed_option(int index) { |
5975 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.uninterp
reted_option) | |
5976 return uninterpreted_option_.Mutable(index); | 4932 return uninterpreted_option_.Mutable(index); |
5977 } | 4933 } |
5978 inline ::google::protobuf::UninterpretedOption* FileOptions::add_uninterpreted_o
ption() { | 4934 inline ::google::protobuf::UninterpretedOption* FileOptions::add_uninterpreted_o
ption() { |
5979 // @@protoc_insertion_point(field_add:google.protobuf.FileOptions.uninterprete
d_option) | |
5980 return uninterpreted_option_.Add(); | 4935 return uninterpreted_option_.Add(); |
5981 } | 4936 } |
5982 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption >& | 4937 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption >& |
5983 FileOptions::uninterpreted_option() const { | 4938 FileOptions::uninterpreted_option() const { |
5984 // @@protoc_insertion_point(field_list:google.protobuf.FileOptions.uninterpret
ed_option) | |
5985 return uninterpreted_option_; | 4939 return uninterpreted_option_; |
5986 } | 4940 } |
5987 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOp
tion >* | 4941 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOp
tion >* |
5988 FileOptions::mutable_uninterpreted_option() { | 4942 FileOptions::mutable_uninterpreted_option() { |
5989 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileOptions.uni
nterpreted_option) | |
5990 return &uninterpreted_option_; | 4943 return &uninterpreted_option_; |
5991 } | 4944 } |
5992 | 4945 |
5993 // ------------------------------------------------------------------- | 4946 // ------------------------------------------------------------------- |
5994 | 4947 |
5995 // MessageOptions | 4948 // MessageOptions |
5996 | 4949 |
5997 // optional bool message_set_wire_format = 1 [default = false]; | 4950 // optional bool message_set_wire_format = 1 [default = false]; |
5998 inline bool MessageOptions::has_message_set_wire_format() const { | 4951 inline bool MessageOptions::has_message_set_wire_format() const { |
5999 return (_has_bits_[0] & 0x00000001u) != 0; | 4952 return (_has_bits_[0] & 0x00000001u) != 0; |
6000 } | 4953 } |
6001 inline void MessageOptions::set_has_message_set_wire_format() { | 4954 inline void MessageOptions::set_has_message_set_wire_format() { |
6002 _has_bits_[0] |= 0x00000001u; | 4955 _has_bits_[0] |= 0x00000001u; |
6003 } | 4956 } |
6004 inline void MessageOptions::clear_has_message_set_wire_format() { | 4957 inline void MessageOptions::clear_has_message_set_wire_format() { |
6005 _has_bits_[0] &= ~0x00000001u; | 4958 _has_bits_[0] &= ~0x00000001u; |
6006 } | 4959 } |
6007 inline void MessageOptions::clear_message_set_wire_format() { | 4960 inline void MessageOptions::clear_message_set_wire_format() { |
6008 message_set_wire_format_ = false; | 4961 message_set_wire_format_ = false; |
6009 clear_has_message_set_wire_format(); | 4962 clear_has_message_set_wire_format(); |
6010 } | 4963 } |
6011 inline bool MessageOptions::message_set_wire_format() const { | 4964 inline bool MessageOptions::message_set_wire_format() const { |
6012 // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.message_s
et_wire_format) | |
6013 return message_set_wire_format_; | 4965 return message_set_wire_format_; |
6014 } | 4966 } |
6015 inline void MessageOptions::set_message_set_wire_format(bool value) { | 4967 inline void MessageOptions::set_message_set_wire_format(bool value) { |
6016 set_has_message_set_wire_format(); | 4968 set_has_message_set_wire_format(); |
6017 message_set_wire_format_ = value; | 4969 message_set_wire_format_ = value; |
6018 // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.message_s
et_wire_format) | |
6019 } | 4970 } |
6020 | 4971 |
6021 // optional bool no_standard_descriptor_accessor = 2 [default = false]; | 4972 // optional bool no_standard_descriptor_accessor = 2 [default = false]; |
6022 inline bool MessageOptions::has_no_standard_descriptor_accessor() const { | 4973 inline bool MessageOptions::has_no_standard_descriptor_accessor() const { |
6023 return (_has_bits_[0] & 0x00000002u) != 0; | 4974 return (_has_bits_[0] & 0x00000002u) != 0; |
6024 } | 4975 } |
6025 inline void MessageOptions::set_has_no_standard_descriptor_accessor() { | 4976 inline void MessageOptions::set_has_no_standard_descriptor_accessor() { |
6026 _has_bits_[0] |= 0x00000002u; | 4977 _has_bits_[0] |= 0x00000002u; |
6027 } | 4978 } |
6028 inline void MessageOptions::clear_has_no_standard_descriptor_accessor() { | 4979 inline void MessageOptions::clear_has_no_standard_descriptor_accessor() { |
6029 _has_bits_[0] &= ~0x00000002u; | 4980 _has_bits_[0] &= ~0x00000002u; |
6030 } | 4981 } |
6031 inline void MessageOptions::clear_no_standard_descriptor_accessor() { | 4982 inline void MessageOptions::clear_no_standard_descriptor_accessor() { |
6032 no_standard_descriptor_accessor_ = false; | 4983 no_standard_descriptor_accessor_ = false; |
6033 clear_has_no_standard_descriptor_accessor(); | 4984 clear_has_no_standard_descriptor_accessor(); |
6034 } | 4985 } |
6035 inline bool MessageOptions::no_standard_descriptor_accessor() const { | 4986 inline bool MessageOptions::no_standard_descriptor_accessor() const { |
6036 // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.no_standa
rd_descriptor_accessor) | |
6037 return no_standard_descriptor_accessor_; | 4987 return no_standard_descriptor_accessor_; |
6038 } | 4988 } |
6039 inline void MessageOptions::set_no_standard_descriptor_accessor(bool value) { | 4989 inline void MessageOptions::set_no_standard_descriptor_accessor(bool value) { |
6040 set_has_no_standard_descriptor_accessor(); | 4990 set_has_no_standard_descriptor_accessor(); |
6041 no_standard_descriptor_accessor_ = value; | 4991 no_standard_descriptor_accessor_ = value; |
6042 // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.no_standa
rd_descriptor_accessor) | |
6043 } | |
6044 | |
6045 // optional bool deprecated = 3 [default = false]; | |
6046 inline bool MessageOptions::has_deprecated() const { | |
6047 return (_has_bits_[0] & 0x00000004u) != 0; | |
6048 } | |
6049 inline void MessageOptions::set_has_deprecated() { | |
6050 _has_bits_[0] |= 0x00000004u; | |
6051 } | |
6052 inline void MessageOptions::clear_has_deprecated() { | |
6053 _has_bits_[0] &= ~0x00000004u; | |
6054 } | |
6055 inline void MessageOptions::clear_deprecated() { | |
6056 deprecated_ = false; | |
6057 clear_has_deprecated(); | |
6058 } | |
6059 inline bool MessageOptions::deprecated() const { | |
6060 // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.deprecate
d) | |
6061 return deprecated_; | |
6062 } | |
6063 inline void MessageOptions::set_deprecated(bool value) { | |
6064 set_has_deprecated(); | |
6065 deprecated_ = value; | |
6066 // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.deprecate
d) | |
6067 } | |
6068 | |
6069 // optional bool map_entry = 7; | |
6070 inline bool MessageOptions::has_map_entry() const { | |
6071 return (_has_bits_[0] & 0x00000008u) != 0; | |
6072 } | |
6073 inline void MessageOptions::set_has_map_entry() { | |
6074 _has_bits_[0] |= 0x00000008u; | |
6075 } | |
6076 inline void MessageOptions::clear_has_map_entry() { | |
6077 _has_bits_[0] &= ~0x00000008u; | |
6078 } | |
6079 inline void MessageOptions::clear_map_entry() { | |
6080 map_entry_ = false; | |
6081 clear_has_map_entry(); | |
6082 } | |
6083 inline bool MessageOptions::map_entry() const { | |
6084 // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.map_entry
) | |
6085 return map_entry_; | |
6086 } | |
6087 inline void MessageOptions::set_map_entry(bool value) { | |
6088 set_has_map_entry(); | |
6089 map_entry_ = value; | |
6090 // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.map_entry
) | |
6091 } | 4992 } |
6092 | 4993 |
6093 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 4994 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
6094 inline int MessageOptions::uninterpreted_option_size() const { | 4995 inline int MessageOptions::uninterpreted_option_size() const { |
6095 return uninterpreted_option_.size(); | 4996 return uninterpreted_option_.size(); |
6096 } | 4997 } |
6097 inline void MessageOptions::clear_uninterpreted_option() { | 4998 inline void MessageOptions::clear_uninterpreted_option() { |
6098 uninterpreted_option_.Clear(); | 4999 uninterpreted_option_.Clear(); |
6099 } | 5000 } |
6100 inline const ::google::protobuf::UninterpretedOption& MessageOptions::uninterpre
ted_option(int index) const { | 5001 inline const ::google::protobuf::UninterpretedOption& MessageOptions::uninterpre
ted_option(int index) const { |
6101 // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.uninterpr
eted_option) | |
6102 return uninterpreted_option_.Get(index); | 5002 return uninterpreted_option_.Get(index); |
6103 } | 5003 } |
6104 inline ::google::protobuf::UninterpretedOption* MessageOptions::mutable_uninterp
reted_option(int index) { | 5004 inline ::google::protobuf::UninterpretedOption* MessageOptions::mutable_uninterp
reted_option(int index) { |
6105 // @@protoc_insertion_point(field_mutable:google.protobuf.MessageOptions.unint
erpreted_option) | |
6106 return uninterpreted_option_.Mutable(index); | 5005 return uninterpreted_option_.Mutable(index); |
6107 } | 5006 } |
6108 inline ::google::protobuf::UninterpretedOption* MessageOptions::add_uninterprete
d_option() { | 5007 inline ::google::protobuf::UninterpretedOption* MessageOptions::add_uninterprete
d_option() { |
6109 // @@protoc_insertion_point(field_add:google.protobuf.MessageOptions.uninterpr
eted_option) | |
6110 return uninterpreted_option_.Add(); | 5008 return uninterpreted_option_.Add(); |
6111 } | 5009 } |
6112 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption >& | 5010 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption >& |
6113 MessageOptions::uninterpreted_option() const { | 5011 MessageOptions::uninterpreted_option() const { |
6114 // @@protoc_insertion_point(field_list:google.protobuf.MessageOptions.uninterp
reted_option) | |
6115 return uninterpreted_option_; | 5012 return uninterpreted_option_; |
6116 } | 5013 } |
6117 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOp
tion >* | 5014 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOp
tion >* |
6118 MessageOptions::mutable_uninterpreted_option() { | 5015 MessageOptions::mutable_uninterpreted_option() { |
6119 // @@protoc_insertion_point(field_mutable_list:google.protobuf.MessageOptions.
uninterpreted_option) | |
6120 return &uninterpreted_option_; | 5016 return &uninterpreted_option_; |
6121 } | 5017 } |
6122 | 5018 |
6123 // ------------------------------------------------------------------- | 5019 // ------------------------------------------------------------------- |
6124 | 5020 |
6125 // FieldOptions | 5021 // FieldOptions |
6126 | 5022 |
6127 // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; | 5023 // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; |
6128 inline bool FieldOptions::has_ctype() const { | 5024 inline bool FieldOptions::has_ctype() const { |
6129 return (_has_bits_[0] & 0x00000001u) != 0; | 5025 return (_has_bits_[0] & 0x00000001u) != 0; |
6130 } | 5026 } |
6131 inline void FieldOptions::set_has_ctype() { | 5027 inline void FieldOptions::set_has_ctype() { |
6132 _has_bits_[0] |= 0x00000001u; | 5028 _has_bits_[0] |= 0x00000001u; |
6133 } | 5029 } |
6134 inline void FieldOptions::clear_has_ctype() { | 5030 inline void FieldOptions::clear_has_ctype() { |
6135 _has_bits_[0] &= ~0x00000001u; | 5031 _has_bits_[0] &= ~0x00000001u; |
6136 } | 5032 } |
6137 inline void FieldOptions::clear_ctype() { | 5033 inline void FieldOptions::clear_ctype() { |
6138 ctype_ = 0; | 5034 ctype_ = 0; |
6139 clear_has_ctype(); | 5035 clear_has_ctype(); |
6140 } | 5036 } |
6141 inline ::google::protobuf::FieldOptions_CType FieldOptions::ctype() const { | 5037 inline ::google::protobuf::FieldOptions_CType FieldOptions::ctype() const { |
6142 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.ctype) | |
6143 return static_cast< ::google::protobuf::FieldOptions_CType >(ctype_); | 5038 return static_cast< ::google::protobuf::FieldOptions_CType >(ctype_); |
6144 } | 5039 } |
6145 inline void FieldOptions::set_ctype(::google::protobuf::FieldOptions_CType value
) { | 5040 inline void FieldOptions::set_ctype(::google::protobuf::FieldOptions_CType value
) { |
6146 assert(::google::protobuf::FieldOptions_CType_IsValid(value)); | 5041 assert(::google::protobuf::FieldOptions_CType_IsValid(value)); |
6147 set_has_ctype(); | 5042 set_has_ctype(); |
6148 ctype_ = value; | 5043 ctype_ = value; |
6149 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype) | |
6150 } | 5044 } |
6151 | 5045 |
6152 // optional bool packed = 2; | 5046 // optional bool packed = 2; |
6153 inline bool FieldOptions::has_packed() const { | 5047 inline bool FieldOptions::has_packed() const { |
6154 return (_has_bits_[0] & 0x00000002u) != 0; | 5048 return (_has_bits_[0] & 0x00000002u) != 0; |
6155 } | 5049 } |
6156 inline void FieldOptions::set_has_packed() { | 5050 inline void FieldOptions::set_has_packed() { |
6157 _has_bits_[0] |= 0x00000002u; | 5051 _has_bits_[0] |= 0x00000002u; |
6158 } | 5052 } |
6159 inline void FieldOptions::clear_has_packed() { | 5053 inline void FieldOptions::clear_has_packed() { |
6160 _has_bits_[0] &= ~0x00000002u; | 5054 _has_bits_[0] &= ~0x00000002u; |
6161 } | 5055 } |
6162 inline void FieldOptions::clear_packed() { | 5056 inline void FieldOptions::clear_packed() { |
6163 packed_ = false; | 5057 packed_ = false; |
6164 clear_has_packed(); | 5058 clear_has_packed(); |
6165 } | 5059 } |
6166 inline bool FieldOptions::packed() const { | 5060 inline bool FieldOptions::packed() const { |
6167 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed) | |
6168 return packed_; | 5061 return packed_; |
6169 } | 5062 } |
6170 inline void FieldOptions::set_packed(bool value) { | 5063 inline void FieldOptions::set_packed(bool value) { |
6171 set_has_packed(); | 5064 set_has_packed(); |
6172 packed_ = value; | 5065 packed_ = value; |
6173 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed) | |
6174 } | |
6175 | |
6176 // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL
]; | |
6177 inline bool FieldOptions::has_jstype() const { | |
6178 return (_has_bits_[0] & 0x00000004u) != 0; | |
6179 } | |
6180 inline void FieldOptions::set_has_jstype() { | |
6181 _has_bits_[0] |= 0x00000004u; | |
6182 } | |
6183 inline void FieldOptions::clear_has_jstype() { | |
6184 _has_bits_[0] &= ~0x00000004u; | |
6185 } | |
6186 inline void FieldOptions::clear_jstype() { | |
6187 jstype_ = 0; | |
6188 clear_has_jstype(); | |
6189 } | |
6190 inline ::google::protobuf::FieldOptions_JSType FieldOptions::jstype() const { | |
6191 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype) | |
6192 return static_cast< ::google::protobuf::FieldOptions_JSType >(jstype_); | |
6193 } | |
6194 inline void FieldOptions::set_jstype(::google::protobuf::FieldOptions_JSType val
ue) { | |
6195 assert(::google::protobuf::FieldOptions_JSType_IsValid(value)); | |
6196 set_has_jstype(); | |
6197 jstype_ = value; | |
6198 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.jstype) | |
6199 } | 5066 } |
6200 | 5067 |
6201 // optional bool lazy = 5 [default = false]; | 5068 // optional bool lazy = 5 [default = false]; |
6202 inline bool FieldOptions::has_lazy() const { | 5069 inline bool FieldOptions::has_lazy() const { |
6203 return (_has_bits_[0] & 0x00000008u) != 0; | 5070 return (_has_bits_[0] & 0x00000004u) != 0; |
6204 } | 5071 } |
6205 inline void FieldOptions::set_has_lazy() { | 5072 inline void FieldOptions::set_has_lazy() { |
6206 _has_bits_[0] |= 0x00000008u; | 5073 _has_bits_[0] |= 0x00000004u; |
6207 } | 5074 } |
6208 inline void FieldOptions::clear_has_lazy() { | 5075 inline void FieldOptions::clear_has_lazy() { |
6209 _has_bits_[0] &= ~0x00000008u; | 5076 _has_bits_[0] &= ~0x00000004u; |
6210 } | 5077 } |
6211 inline void FieldOptions::clear_lazy() { | 5078 inline void FieldOptions::clear_lazy() { |
6212 lazy_ = false; | 5079 lazy_ = false; |
6213 clear_has_lazy(); | 5080 clear_has_lazy(); |
6214 } | 5081 } |
6215 inline bool FieldOptions::lazy() const { | 5082 inline bool FieldOptions::lazy() const { |
6216 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.lazy) | |
6217 return lazy_; | 5083 return lazy_; |
6218 } | 5084 } |
6219 inline void FieldOptions::set_lazy(bool value) { | 5085 inline void FieldOptions::set_lazy(bool value) { |
6220 set_has_lazy(); | 5086 set_has_lazy(); |
6221 lazy_ = value; | 5087 lazy_ = value; |
6222 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.lazy) | |
6223 } | 5088 } |
6224 | 5089 |
6225 // optional bool deprecated = 3 [default = false]; | 5090 // optional bool deprecated = 3 [default = false]; |
6226 inline bool FieldOptions::has_deprecated() const { | 5091 inline bool FieldOptions::has_deprecated() const { |
6227 return (_has_bits_[0] & 0x00000010u) != 0; | 5092 return (_has_bits_[0] & 0x00000008u) != 0; |
6228 } | 5093 } |
6229 inline void FieldOptions::set_has_deprecated() { | 5094 inline void FieldOptions::set_has_deprecated() { |
6230 _has_bits_[0] |= 0x00000010u; | 5095 _has_bits_[0] |= 0x00000008u; |
6231 } | 5096 } |
6232 inline void FieldOptions::clear_has_deprecated() { | 5097 inline void FieldOptions::clear_has_deprecated() { |
6233 _has_bits_[0] &= ~0x00000010u; | 5098 _has_bits_[0] &= ~0x00000008u; |
6234 } | 5099 } |
6235 inline void FieldOptions::clear_deprecated() { | 5100 inline void FieldOptions::clear_deprecated() { |
6236 deprecated_ = false; | 5101 deprecated_ = false; |
6237 clear_has_deprecated(); | 5102 clear_has_deprecated(); |
6238 } | 5103 } |
6239 inline bool FieldOptions::deprecated() const { | 5104 inline bool FieldOptions::deprecated() const { |
6240 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.deprecated) | |
6241 return deprecated_; | 5105 return deprecated_; |
6242 } | 5106 } |
6243 inline void FieldOptions::set_deprecated(bool value) { | 5107 inline void FieldOptions::set_deprecated(bool value) { |
6244 set_has_deprecated(); | 5108 set_has_deprecated(); |
6245 deprecated_ = value; | 5109 deprecated_ = value; |
6246 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.deprecated) | 5110 } |
| 5111 |
| 5112 // optional string experimental_map_key = 9; |
| 5113 inline bool FieldOptions::has_experimental_map_key() const { |
| 5114 return (_has_bits_[0] & 0x00000010u) != 0; |
| 5115 } |
| 5116 inline void FieldOptions::set_has_experimental_map_key() { |
| 5117 _has_bits_[0] |= 0x00000010u; |
| 5118 } |
| 5119 inline void FieldOptions::clear_has_experimental_map_key() { |
| 5120 _has_bits_[0] &= ~0x00000010u; |
| 5121 } |
| 5122 inline void FieldOptions::clear_experimental_map_key() { |
| 5123 if (experimental_map_key_ != &::google::protobuf::internal::GetEmptyString())
{ |
| 5124 experimental_map_key_->clear(); |
| 5125 } |
| 5126 clear_has_experimental_map_key(); |
| 5127 } |
| 5128 inline const ::std::string& FieldOptions::experimental_map_key() const { |
| 5129 return *experimental_map_key_; |
| 5130 } |
| 5131 inline void FieldOptions::set_experimental_map_key(const ::std::string& value) { |
| 5132 set_has_experimental_map_key(); |
| 5133 if (experimental_map_key_ == &::google::protobuf::internal::GetEmptyString())
{ |
| 5134 experimental_map_key_ = new ::std::string; |
| 5135 } |
| 5136 experimental_map_key_->assign(value); |
| 5137 } |
| 5138 inline void FieldOptions::set_experimental_map_key(const char* value) { |
| 5139 set_has_experimental_map_key(); |
| 5140 if (experimental_map_key_ == &::google::protobuf::internal::GetEmptyString())
{ |
| 5141 experimental_map_key_ = new ::std::string; |
| 5142 } |
| 5143 experimental_map_key_->assign(value); |
| 5144 } |
| 5145 inline void FieldOptions::set_experimental_map_key(const char* value, size_t siz
e) { |
| 5146 set_has_experimental_map_key(); |
| 5147 if (experimental_map_key_ == &::google::protobuf::internal::GetEmptyString())
{ |
| 5148 experimental_map_key_ = new ::std::string; |
| 5149 } |
| 5150 experimental_map_key_->assign(reinterpret_cast<const char*>(value), size); |
| 5151 } |
| 5152 inline ::std::string* FieldOptions::mutable_experimental_map_key() { |
| 5153 set_has_experimental_map_key(); |
| 5154 if (experimental_map_key_ == &::google::protobuf::internal::GetEmptyString())
{ |
| 5155 experimental_map_key_ = new ::std::string; |
| 5156 } |
| 5157 return experimental_map_key_; |
| 5158 } |
| 5159 inline ::std::string* FieldOptions::release_experimental_map_key() { |
| 5160 clear_has_experimental_map_key(); |
| 5161 if (experimental_map_key_ == &::google::protobuf::internal::GetEmptyString())
{ |
| 5162 return NULL; |
| 5163 } else { |
| 5164 ::std::string* temp = experimental_map_key_; |
| 5165 experimental_map_key_ = const_cast< ::std::string*>(&::google::protobuf::int
ernal::GetEmptyString()); |
| 5166 return temp; |
| 5167 } |
| 5168 } |
| 5169 inline void FieldOptions::set_allocated_experimental_map_key(::std::string* expe
rimental_map_key) { |
| 5170 if (experimental_map_key_ != &::google::protobuf::internal::GetEmptyString())
{ |
| 5171 delete experimental_map_key_; |
| 5172 } |
| 5173 if (experimental_map_key) { |
| 5174 set_has_experimental_map_key(); |
| 5175 experimental_map_key_ = experimental_map_key; |
| 5176 } else { |
| 5177 clear_has_experimental_map_key(); |
| 5178 experimental_map_key_ = const_cast< ::std::string*>(&::google::protobuf::int
ernal::GetEmptyString()); |
| 5179 } |
6247 } | 5180 } |
6248 | 5181 |
6249 // optional bool weak = 10 [default = false]; | 5182 // optional bool weak = 10 [default = false]; |
6250 inline bool FieldOptions::has_weak() const { | 5183 inline bool FieldOptions::has_weak() const { |
6251 return (_has_bits_[0] & 0x00000020u) != 0; | 5184 return (_has_bits_[0] & 0x00000020u) != 0; |
6252 } | 5185 } |
6253 inline void FieldOptions::set_has_weak() { | 5186 inline void FieldOptions::set_has_weak() { |
6254 _has_bits_[0] |= 0x00000020u; | 5187 _has_bits_[0] |= 0x00000020u; |
6255 } | 5188 } |
6256 inline void FieldOptions::clear_has_weak() { | 5189 inline void FieldOptions::clear_has_weak() { |
6257 _has_bits_[0] &= ~0x00000020u; | 5190 _has_bits_[0] &= ~0x00000020u; |
6258 } | 5191 } |
6259 inline void FieldOptions::clear_weak() { | 5192 inline void FieldOptions::clear_weak() { |
6260 weak_ = false; | 5193 weak_ = false; |
6261 clear_has_weak(); | 5194 clear_has_weak(); |
6262 } | 5195 } |
6263 inline bool FieldOptions::weak() const { | 5196 inline bool FieldOptions::weak() const { |
6264 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.weak) | |
6265 return weak_; | 5197 return weak_; |
6266 } | 5198 } |
6267 inline void FieldOptions::set_weak(bool value) { | 5199 inline void FieldOptions::set_weak(bool value) { |
6268 set_has_weak(); | 5200 set_has_weak(); |
6269 weak_ = value; | 5201 weak_ = value; |
6270 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.weak) | |
6271 } | 5202 } |
6272 | 5203 |
6273 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 5204 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
6274 inline int FieldOptions::uninterpreted_option_size() const { | 5205 inline int FieldOptions::uninterpreted_option_size() const { |
6275 return uninterpreted_option_.size(); | 5206 return uninterpreted_option_.size(); |
6276 } | 5207 } |
6277 inline void FieldOptions::clear_uninterpreted_option() { | 5208 inline void FieldOptions::clear_uninterpreted_option() { |
6278 uninterpreted_option_.Clear(); | 5209 uninterpreted_option_.Clear(); |
6279 } | 5210 } |
6280 inline const ::google::protobuf::UninterpretedOption& FieldOptions::uninterprete
d_option(int index) const { | 5211 inline const ::google::protobuf::UninterpretedOption& FieldOptions::uninterprete
d_option(int index) const { |
6281 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.uninterpret
ed_option) | |
6282 return uninterpreted_option_.Get(index); | 5212 return uninterpreted_option_.Get(index); |
6283 } | 5213 } |
6284 inline ::google::protobuf::UninterpretedOption* FieldOptions::mutable_uninterpre
ted_option(int index) { | 5214 inline ::google::protobuf::UninterpretedOption* FieldOptions::mutable_uninterpre
ted_option(int index) { |
6285 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.uninter
preted_option) | |
6286 return uninterpreted_option_.Mutable(index); | 5215 return uninterpreted_option_.Mutable(index); |
6287 } | 5216 } |
6288 inline ::google::protobuf::UninterpretedOption* FieldOptions::add_uninterpreted_
option() { | 5217 inline ::google::protobuf::UninterpretedOption* FieldOptions::add_uninterpreted_
option() { |
6289 // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.uninterpret
ed_option) | |
6290 return uninterpreted_option_.Add(); | 5218 return uninterpreted_option_.Add(); |
6291 } | 5219 } |
6292 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption >& | 5220 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption >& |
6293 FieldOptions::uninterpreted_option() const { | 5221 FieldOptions::uninterpreted_option() const { |
6294 // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpre
ted_option) | |
6295 return uninterpreted_option_; | 5222 return uninterpreted_option_; |
6296 } | 5223 } |
6297 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOp
tion >* | 5224 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOp
tion >* |
6298 FieldOptions::mutable_uninterpreted_option() { | 5225 FieldOptions::mutable_uninterpreted_option() { |
6299 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldOptions.un
interpreted_option) | |
6300 return &uninterpreted_option_; | 5226 return &uninterpreted_option_; |
6301 } | 5227 } |
6302 | 5228 |
6303 // ------------------------------------------------------------------- | 5229 // ------------------------------------------------------------------- |
6304 | 5230 |
6305 // EnumOptions | 5231 // EnumOptions |
6306 | 5232 |
6307 // optional bool allow_alias = 2; | 5233 // optional bool allow_alias = 2 [default = true]; |
6308 inline bool EnumOptions::has_allow_alias() const { | 5234 inline bool EnumOptions::has_allow_alias() const { |
6309 return (_has_bits_[0] & 0x00000001u) != 0; | 5235 return (_has_bits_[0] & 0x00000001u) != 0; |
6310 } | 5236 } |
6311 inline void EnumOptions::set_has_allow_alias() { | 5237 inline void EnumOptions::set_has_allow_alias() { |
6312 _has_bits_[0] |= 0x00000001u; | 5238 _has_bits_[0] |= 0x00000001u; |
6313 } | 5239 } |
6314 inline void EnumOptions::clear_has_allow_alias() { | 5240 inline void EnumOptions::clear_has_allow_alias() { |
6315 _has_bits_[0] &= ~0x00000001u; | 5241 _has_bits_[0] &= ~0x00000001u; |
6316 } | 5242 } |
6317 inline void EnumOptions::clear_allow_alias() { | 5243 inline void EnumOptions::clear_allow_alias() { |
6318 allow_alias_ = false; | 5244 allow_alias_ = true; |
6319 clear_has_allow_alias(); | 5245 clear_has_allow_alias(); |
6320 } | 5246 } |
6321 inline bool EnumOptions::allow_alias() const { | 5247 inline bool EnumOptions::allow_alias() const { |
6322 // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.allow_alias) | |
6323 return allow_alias_; | 5248 return allow_alias_; |
6324 } | 5249 } |
6325 inline void EnumOptions::set_allow_alias(bool value) { | 5250 inline void EnumOptions::set_allow_alias(bool value) { |
6326 set_has_allow_alias(); | 5251 set_has_allow_alias(); |
6327 allow_alias_ = value; | 5252 allow_alias_ = value; |
6328 // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.allow_alias) | |
6329 } | |
6330 | |
6331 // optional bool deprecated = 3 [default = false]; | |
6332 inline bool EnumOptions::has_deprecated() const { | |
6333 return (_has_bits_[0] & 0x00000002u) != 0; | |
6334 } | |
6335 inline void EnumOptions::set_has_deprecated() { | |
6336 _has_bits_[0] |= 0x00000002u; | |
6337 } | |
6338 inline void EnumOptions::clear_has_deprecated() { | |
6339 _has_bits_[0] &= ~0x00000002u; | |
6340 } | |
6341 inline void EnumOptions::clear_deprecated() { | |
6342 deprecated_ = false; | |
6343 clear_has_deprecated(); | |
6344 } | |
6345 inline bool EnumOptions::deprecated() const { | |
6346 // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated) | |
6347 return deprecated_; | |
6348 } | |
6349 inline void EnumOptions::set_deprecated(bool value) { | |
6350 set_has_deprecated(); | |
6351 deprecated_ = value; | |
6352 // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated) | |
6353 } | 5253 } |
6354 | 5254 |
6355 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 5255 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
6356 inline int EnumOptions::uninterpreted_option_size() const { | 5256 inline int EnumOptions::uninterpreted_option_size() const { |
6357 return uninterpreted_option_.size(); | 5257 return uninterpreted_option_.size(); |
6358 } | 5258 } |
6359 inline void EnumOptions::clear_uninterpreted_option() { | 5259 inline void EnumOptions::clear_uninterpreted_option() { |
6360 uninterpreted_option_.Clear(); | 5260 uninterpreted_option_.Clear(); |
6361 } | 5261 } |
6362 inline const ::google::protobuf::UninterpretedOption& EnumOptions::uninterpreted
_option(int index) const { | 5262 inline const ::google::protobuf::UninterpretedOption& EnumOptions::uninterpreted
_option(int index) const { |
6363 // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.uninterprete
d_option) | |
6364 return uninterpreted_option_.Get(index); | 5263 return uninterpreted_option_.Get(index); |
6365 } | 5264 } |
6366 inline ::google::protobuf::UninterpretedOption* EnumOptions::mutable_uninterpret
ed_option(int index) { | 5265 inline ::google::protobuf::UninterpretedOption* EnumOptions::mutable_uninterpret
ed_option(int index) { |
6367 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumOptions.uninterp
reted_option) | |
6368 return uninterpreted_option_.Mutable(index); | 5266 return uninterpreted_option_.Mutable(index); |
6369 } | 5267 } |
6370 inline ::google::protobuf::UninterpretedOption* EnumOptions::add_uninterpreted_o
ption() { | 5268 inline ::google::protobuf::UninterpretedOption* EnumOptions::add_uninterpreted_o
ption() { |
6371 // @@protoc_insertion_point(field_add:google.protobuf.EnumOptions.uninterprete
d_option) | |
6372 return uninterpreted_option_.Add(); | 5269 return uninterpreted_option_.Add(); |
6373 } | 5270 } |
6374 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption >& | 5271 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption >& |
6375 EnumOptions::uninterpreted_option() const { | 5272 EnumOptions::uninterpreted_option() const { |
6376 // @@protoc_insertion_point(field_list:google.protobuf.EnumOptions.uninterpret
ed_option) | |
6377 return uninterpreted_option_; | 5273 return uninterpreted_option_; |
6378 } | 5274 } |
6379 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOp
tion >* | 5275 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOp
tion >* |
6380 EnumOptions::mutable_uninterpreted_option() { | 5276 EnumOptions::mutable_uninterpreted_option() { |
6381 // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumOptions.uni
nterpreted_option) | |
6382 return &uninterpreted_option_; | 5277 return &uninterpreted_option_; |
6383 } | 5278 } |
6384 | 5279 |
6385 // ------------------------------------------------------------------- | 5280 // ------------------------------------------------------------------- |
6386 | 5281 |
6387 // EnumValueOptions | 5282 // EnumValueOptions |
6388 | 5283 |
6389 // optional bool deprecated = 1 [default = false]; | |
6390 inline bool EnumValueOptions::has_deprecated() const { | |
6391 return (_has_bits_[0] & 0x00000001u) != 0; | |
6392 } | |
6393 inline void EnumValueOptions::set_has_deprecated() { | |
6394 _has_bits_[0] |= 0x00000001u; | |
6395 } | |
6396 inline void EnumValueOptions::clear_has_deprecated() { | |
6397 _has_bits_[0] &= ~0x00000001u; | |
6398 } | |
6399 inline void EnumValueOptions::clear_deprecated() { | |
6400 deprecated_ = false; | |
6401 clear_has_deprecated(); | |
6402 } | |
6403 inline bool EnumValueOptions::deprecated() const { | |
6404 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.depreca
ted) | |
6405 return deprecated_; | |
6406 } | |
6407 inline void EnumValueOptions::set_deprecated(bool value) { | |
6408 set_has_deprecated(); | |
6409 deprecated_ = value; | |
6410 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueOptions.depreca
ted) | |
6411 } | |
6412 | |
6413 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 5284 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
6414 inline int EnumValueOptions::uninterpreted_option_size() const { | 5285 inline int EnumValueOptions::uninterpreted_option_size() const { |
6415 return uninterpreted_option_.size(); | 5286 return uninterpreted_option_.size(); |
6416 } | 5287 } |
6417 inline void EnumValueOptions::clear_uninterpreted_option() { | 5288 inline void EnumValueOptions::clear_uninterpreted_option() { |
6418 uninterpreted_option_.Clear(); | 5289 uninterpreted_option_.Clear(); |
6419 } | 5290 } |
6420 inline const ::google::protobuf::UninterpretedOption& EnumValueOptions::uninterp
reted_option(int index) const { | 5291 inline const ::google::protobuf::UninterpretedOption& EnumValueOptions::uninterp
reted_option(int index) const { |
6421 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.uninter
preted_option) | |
6422 return uninterpreted_option_.Get(index); | 5292 return uninterpreted_option_.Get(index); |
6423 } | 5293 } |
6424 inline ::google::protobuf::UninterpretedOption* EnumValueOptions::mutable_uninte
rpreted_option(int index) { | 5294 inline ::google::protobuf::UninterpretedOption* EnumValueOptions::mutable_uninte
rpreted_option(int index) { |
6425 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueOptions.uni
nterpreted_option) | |
6426 return uninterpreted_option_.Mutable(index); | 5295 return uninterpreted_option_.Mutable(index); |
6427 } | 5296 } |
6428 inline ::google::protobuf::UninterpretedOption* EnumValueOptions::add_uninterpre
ted_option() { | 5297 inline ::google::protobuf::UninterpretedOption* EnumValueOptions::add_uninterpre
ted_option() { |
6429 // @@protoc_insertion_point(field_add:google.protobuf.EnumValueOptions.uninter
preted_option) | |
6430 return uninterpreted_option_.Add(); | 5298 return uninterpreted_option_.Add(); |
6431 } | 5299 } |
6432 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption >& | 5300 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption >& |
6433 EnumValueOptions::uninterpreted_option() const { | 5301 EnumValueOptions::uninterpreted_option() const { |
6434 // @@protoc_insertion_point(field_list:google.protobuf.EnumValueOptions.uninte
rpreted_option) | |
6435 return uninterpreted_option_; | 5302 return uninterpreted_option_; |
6436 } | 5303 } |
6437 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOp
tion >* | 5304 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOp
tion >* |
6438 EnumValueOptions::mutable_uninterpreted_option() { | 5305 EnumValueOptions::mutable_uninterpreted_option() { |
6439 // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValueOption
s.uninterpreted_option) | |
6440 return &uninterpreted_option_; | 5306 return &uninterpreted_option_; |
6441 } | 5307 } |
6442 | 5308 |
6443 // ------------------------------------------------------------------- | 5309 // ------------------------------------------------------------------- |
6444 | 5310 |
6445 // ServiceOptions | 5311 // ServiceOptions |
6446 | 5312 |
6447 // optional bool deprecated = 33 [default = false]; | |
6448 inline bool ServiceOptions::has_deprecated() const { | |
6449 return (_has_bits_[0] & 0x00000001u) != 0; | |
6450 } | |
6451 inline void ServiceOptions::set_has_deprecated() { | |
6452 _has_bits_[0] |= 0x00000001u; | |
6453 } | |
6454 inline void ServiceOptions::clear_has_deprecated() { | |
6455 _has_bits_[0] &= ~0x00000001u; | |
6456 } | |
6457 inline void ServiceOptions::clear_deprecated() { | |
6458 deprecated_ = false; | |
6459 clear_has_deprecated(); | |
6460 } | |
6461 inline bool ServiceOptions::deprecated() const { | |
6462 // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.deprecate
d) | |
6463 return deprecated_; | |
6464 } | |
6465 inline void ServiceOptions::set_deprecated(bool value) { | |
6466 set_has_deprecated(); | |
6467 deprecated_ = value; | |
6468 // @@protoc_insertion_point(field_set:google.protobuf.ServiceOptions.deprecate
d) | |
6469 } | |
6470 | |
6471 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 5313 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
6472 inline int ServiceOptions::uninterpreted_option_size() const { | 5314 inline int ServiceOptions::uninterpreted_option_size() const { |
6473 return uninterpreted_option_.size(); | 5315 return uninterpreted_option_.size(); |
6474 } | 5316 } |
6475 inline void ServiceOptions::clear_uninterpreted_option() { | 5317 inline void ServiceOptions::clear_uninterpreted_option() { |
6476 uninterpreted_option_.Clear(); | 5318 uninterpreted_option_.Clear(); |
6477 } | 5319 } |
6478 inline const ::google::protobuf::UninterpretedOption& ServiceOptions::uninterpre
ted_option(int index) const { | 5320 inline const ::google::protobuf::UninterpretedOption& ServiceOptions::uninterpre
ted_option(int index) const { |
6479 // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.uninterpr
eted_option) | |
6480 return uninterpreted_option_.Get(index); | 5321 return uninterpreted_option_.Get(index); |
6481 } | 5322 } |
6482 inline ::google::protobuf::UninterpretedOption* ServiceOptions::mutable_uninterp
reted_option(int index) { | 5323 inline ::google::protobuf::UninterpretedOption* ServiceOptions::mutable_uninterp
reted_option(int index) { |
6483 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceOptions.unint
erpreted_option) | |
6484 return uninterpreted_option_.Mutable(index); | 5324 return uninterpreted_option_.Mutable(index); |
6485 } | 5325 } |
6486 inline ::google::protobuf::UninterpretedOption* ServiceOptions::add_uninterprete
d_option() { | 5326 inline ::google::protobuf::UninterpretedOption* ServiceOptions::add_uninterprete
d_option() { |
6487 // @@protoc_insertion_point(field_add:google.protobuf.ServiceOptions.uninterpr
eted_option) | |
6488 return uninterpreted_option_.Add(); | 5327 return uninterpreted_option_.Add(); |
6489 } | 5328 } |
6490 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption >& | 5329 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption >& |
6491 ServiceOptions::uninterpreted_option() const { | 5330 ServiceOptions::uninterpreted_option() const { |
6492 // @@protoc_insertion_point(field_list:google.protobuf.ServiceOptions.uninterp
reted_option) | |
6493 return uninterpreted_option_; | 5331 return uninterpreted_option_; |
6494 } | 5332 } |
6495 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOp
tion >* | 5333 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOp
tion >* |
6496 ServiceOptions::mutable_uninterpreted_option() { | 5334 ServiceOptions::mutable_uninterpreted_option() { |
6497 // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceOptions.
uninterpreted_option) | |
6498 return &uninterpreted_option_; | 5335 return &uninterpreted_option_; |
6499 } | 5336 } |
6500 | 5337 |
6501 // ------------------------------------------------------------------- | 5338 // ------------------------------------------------------------------- |
6502 | 5339 |
6503 // MethodOptions | 5340 // MethodOptions |
6504 | 5341 |
6505 // optional bool deprecated = 33 [default = false]; | |
6506 inline bool MethodOptions::has_deprecated() const { | |
6507 return (_has_bits_[0] & 0x00000001u) != 0; | |
6508 } | |
6509 inline void MethodOptions::set_has_deprecated() { | |
6510 _has_bits_[0] |= 0x00000001u; | |
6511 } | |
6512 inline void MethodOptions::clear_has_deprecated() { | |
6513 _has_bits_[0] &= ~0x00000001u; | |
6514 } | |
6515 inline void MethodOptions::clear_deprecated() { | |
6516 deprecated_ = false; | |
6517 clear_has_deprecated(); | |
6518 } | |
6519 inline bool MethodOptions::deprecated() const { | |
6520 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated
) | |
6521 return deprecated_; | |
6522 } | |
6523 inline void MethodOptions::set_deprecated(bool value) { | |
6524 set_has_deprecated(); | |
6525 deprecated_ = value; | |
6526 // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated
) | |
6527 } | |
6528 | |
6529 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 5342 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
6530 inline int MethodOptions::uninterpreted_option_size() const { | 5343 inline int MethodOptions::uninterpreted_option_size() const { |
6531 return uninterpreted_option_.size(); | 5344 return uninterpreted_option_.size(); |
6532 } | 5345 } |
6533 inline void MethodOptions::clear_uninterpreted_option() { | 5346 inline void MethodOptions::clear_uninterpreted_option() { |
6534 uninterpreted_option_.Clear(); | 5347 uninterpreted_option_.Clear(); |
6535 } | 5348 } |
6536 inline const ::google::protobuf::UninterpretedOption& MethodOptions::uninterpret
ed_option(int index) const { | 5349 inline const ::google::protobuf::UninterpretedOption& MethodOptions::uninterpret
ed_option(int index) const { |
6537 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpre
ted_option) | |
6538 return uninterpreted_option_.Get(index); | 5350 return uninterpreted_option_.Get(index); |
6539 } | 5351 } |
6540 inline ::google::protobuf::UninterpretedOption* MethodOptions::mutable_uninterpr
eted_option(int index) { | 5352 inline ::google::protobuf::UninterpretedOption* MethodOptions::mutable_uninterpr
eted_option(int index) { |
6541 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodOptions.uninte
rpreted_option) | |
6542 return uninterpreted_option_.Mutable(index); | 5353 return uninterpreted_option_.Mutable(index); |
6543 } | 5354 } |
6544 inline ::google::protobuf::UninterpretedOption* MethodOptions::add_uninterpreted
_option() { | 5355 inline ::google::protobuf::UninterpretedOption* MethodOptions::add_uninterpreted
_option() { |
6545 // @@protoc_insertion_point(field_add:google.protobuf.MethodOptions.uninterpre
ted_option) | |
6546 return uninterpreted_option_.Add(); | 5356 return uninterpreted_option_.Add(); |
6547 } | 5357 } |
6548 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption >& | 5358 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption >& |
6549 MethodOptions::uninterpreted_option() const { | 5359 MethodOptions::uninterpreted_option() const { |
6550 // @@protoc_insertion_point(field_list:google.protobuf.MethodOptions.uninterpr
eted_option) | |
6551 return uninterpreted_option_; | 5360 return uninterpreted_option_; |
6552 } | 5361 } |
6553 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOp
tion >* | 5362 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOp
tion >* |
6554 MethodOptions::mutable_uninterpreted_option() { | 5363 MethodOptions::mutable_uninterpreted_option() { |
6555 // @@protoc_insertion_point(field_mutable_list:google.protobuf.MethodOptions.u
ninterpreted_option) | |
6556 return &uninterpreted_option_; | 5364 return &uninterpreted_option_; |
6557 } | 5365 } |
6558 | 5366 |
6559 // ------------------------------------------------------------------- | 5367 // ------------------------------------------------------------------- |
6560 | 5368 |
6561 // UninterpretedOption_NamePart | 5369 // UninterpretedOption_NamePart |
6562 | 5370 |
6563 // required string name_part = 1; | 5371 // required string name_part = 1; |
6564 inline bool UninterpretedOption_NamePart::has_name_part() const { | 5372 inline bool UninterpretedOption_NamePart::has_name_part() const { |
6565 return (_has_bits_[0] & 0x00000001u) != 0; | 5373 return (_has_bits_[0] & 0x00000001u) != 0; |
6566 } | 5374 } |
6567 inline void UninterpretedOption_NamePart::set_has_name_part() { | 5375 inline void UninterpretedOption_NamePart::set_has_name_part() { |
6568 _has_bits_[0] |= 0x00000001u; | 5376 _has_bits_[0] |= 0x00000001u; |
6569 } | 5377 } |
6570 inline void UninterpretedOption_NamePart::clear_has_name_part() { | 5378 inline void UninterpretedOption_NamePart::clear_has_name_part() { |
6571 _has_bits_[0] &= ~0x00000001u; | 5379 _has_bits_[0] &= ~0x00000001u; |
6572 } | 5380 } |
6573 inline void UninterpretedOption_NamePart::clear_name_part() { | 5381 inline void UninterpretedOption_NamePart::clear_name_part() { |
6574 name_part_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); | 5382 if (name_part_ != &::google::protobuf::internal::GetEmptyString()) { |
| 5383 name_part_->clear(); |
| 5384 } |
6575 clear_has_name_part(); | 5385 clear_has_name_part(); |
6576 } | 5386 } |
6577 inline const ::std::string& UninterpretedOption_NamePart::name_part() const { | 5387 inline const ::std::string& UninterpretedOption_NamePart::name_part() const { |
6578 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.Name
Part.name_part) | 5388 return *name_part_; |
6579 return name_part_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited()); | |
6580 } | 5389 } |
6581 inline void UninterpretedOption_NamePart::set_name_part(const ::std::string& val
ue) { | 5390 inline void UninterpretedOption_NamePart::set_name_part(const ::std::string& val
ue) { |
6582 set_has_name_part(); | 5391 set_has_name_part(); |
6583 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), value); | 5392 if (name_part_ == &::google::protobuf::internal::GetEmptyString()) { |
6584 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.Name
Part.name_part) | 5393 name_part_ = new ::std::string; |
| 5394 } |
| 5395 name_part_->assign(value); |
6585 } | 5396 } |
6586 inline void UninterpretedOption_NamePart::set_name_part(const char* value) { | 5397 inline void UninterpretedOption_NamePart::set_name_part(const char* value) { |
6587 set_has_name_part(); | 5398 set_has_name_part(); |
6588 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), ::std::string(value)); | 5399 if (name_part_ == &::google::protobuf::internal::GetEmptyString()) { |
6589 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.NamePart.name_part) | 5400 name_part_ = new ::std::string; |
| 5401 } |
| 5402 name_part_->assign(value); |
6590 } | 5403 } |
6591 inline void UninterpretedOption_NamePart::set_name_part(const char* value, size_
t size) { | 5404 inline void UninterpretedOption_NamePart::set_name_part(const char* value, size_
t size) { |
6592 set_has_name_part(); | 5405 set_has_name_part(); |
6593 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), | 5406 if (name_part_ == &::google::protobuf::internal::GetEmptyString()) { |
6594 ::std::string(reinterpret_cast<const char*>(value), size)); | 5407 name_part_ = new ::std::string; |
6595 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOpt
ion.NamePart.name_part) | 5408 } |
| 5409 name_part_->assign(reinterpret_cast<const char*>(value), size); |
6596 } | 5410 } |
6597 inline ::std::string* UninterpretedOption_NamePart::mutable_name_part() { | 5411 inline ::std::string* UninterpretedOption_NamePart::mutable_name_part() { |
6598 set_has_name_part(); | 5412 set_has_name_part(); |
6599 // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.
NamePart.name_part) | 5413 if (name_part_ == &::google::protobuf::internal::GetEmptyString()) { |
6600 return name_part_.MutableNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited()); | 5414 name_part_ = new ::std::string; |
| 5415 } |
| 5416 return name_part_; |
6601 } | 5417 } |
6602 inline ::std::string* UninterpretedOption_NamePart::release_name_part() { | 5418 inline ::std::string* UninterpretedOption_NamePart::release_name_part() { |
6603 clear_has_name_part(); | 5419 clear_has_name_part(); |
6604 return name_part_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited()); | 5420 if (name_part_ == &::google::protobuf::internal::GetEmptyString()) { |
| 5421 return NULL; |
| 5422 } else { |
| 5423 ::std::string* temp = name_part_; |
| 5424 name_part_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetE
mptyString()); |
| 5425 return temp; |
| 5426 } |
6605 } | 5427 } |
6606 inline void UninterpretedOption_NamePart::set_allocated_name_part(::std::string*
name_part) { | 5428 inline void UninterpretedOption_NamePart::set_allocated_name_part(::std::string*
name_part) { |
6607 if (name_part != NULL) { | 5429 if (name_part_ != &::google::protobuf::internal::GetEmptyString()) { |
| 5430 delete name_part_; |
| 5431 } |
| 5432 if (name_part) { |
6608 set_has_name_part(); | 5433 set_has_name_part(); |
| 5434 name_part_ = name_part; |
6609 } else { | 5435 } else { |
6610 clear_has_name_part(); | 5436 clear_has_name_part(); |
| 5437 name_part_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetE
mptyString()); |
6611 } | 5438 } |
6612 name_part_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited(), name_part); | |
6613 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO
ption.NamePart.name_part) | |
6614 } | 5439 } |
6615 | 5440 |
6616 // required bool is_extension = 2; | 5441 // required bool is_extension = 2; |
6617 inline bool UninterpretedOption_NamePart::has_is_extension() const { | 5442 inline bool UninterpretedOption_NamePart::has_is_extension() const { |
6618 return (_has_bits_[0] & 0x00000002u) != 0; | 5443 return (_has_bits_[0] & 0x00000002u) != 0; |
6619 } | 5444 } |
6620 inline void UninterpretedOption_NamePart::set_has_is_extension() { | 5445 inline void UninterpretedOption_NamePart::set_has_is_extension() { |
6621 _has_bits_[0] |= 0x00000002u; | 5446 _has_bits_[0] |= 0x00000002u; |
6622 } | 5447 } |
6623 inline void UninterpretedOption_NamePart::clear_has_is_extension() { | 5448 inline void UninterpretedOption_NamePart::clear_has_is_extension() { |
6624 _has_bits_[0] &= ~0x00000002u; | 5449 _has_bits_[0] &= ~0x00000002u; |
6625 } | 5450 } |
6626 inline void UninterpretedOption_NamePart::clear_is_extension() { | 5451 inline void UninterpretedOption_NamePart::clear_is_extension() { |
6627 is_extension_ = false; | 5452 is_extension_ = false; |
6628 clear_has_is_extension(); | 5453 clear_has_is_extension(); |
6629 } | 5454 } |
6630 inline bool UninterpretedOption_NamePart::is_extension() const { | 5455 inline bool UninterpretedOption_NamePart::is_extension() const { |
6631 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.Name
Part.is_extension) | |
6632 return is_extension_; | 5456 return is_extension_; |
6633 } | 5457 } |
6634 inline void UninterpretedOption_NamePart::set_is_extension(bool value) { | 5458 inline void UninterpretedOption_NamePart::set_is_extension(bool value) { |
6635 set_has_is_extension(); | 5459 set_has_is_extension(); |
6636 is_extension_ = value; | 5460 is_extension_ = value; |
6637 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.Name
Part.is_extension) | |
6638 } | 5461 } |
6639 | 5462 |
6640 // ------------------------------------------------------------------- | 5463 // ------------------------------------------------------------------- |
6641 | 5464 |
6642 // UninterpretedOption | 5465 // UninterpretedOption |
6643 | 5466 |
6644 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; | 5467 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
6645 inline int UninterpretedOption::name_size() const { | 5468 inline int UninterpretedOption::name_size() const { |
6646 return name_.size(); | 5469 return name_.size(); |
6647 } | 5470 } |
6648 inline void UninterpretedOption::clear_name() { | 5471 inline void UninterpretedOption::clear_name() { |
6649 name_.Clear(); | 5472 name_.Clear(); |
6650 } | 5473 } |
6651 inline const ::google::protobuf::UninterpretedOption_NamePart& UninterpretedOpti
on::name(int index) const { | 5474 inline const ::google::protobuf::UninterpretedOption_NamePart& UninterpretedOpti
on::name(int index) const { |
6652 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.name
) | |
6653 return name_.Get(index); | 5475 return name_.Get(index); |
6654 } | 5476 } |
6655 inline ::google::protobuf::UninterpretedOption_NamePart* UninterpretedOption::mu
table_name(int index) { | 5477 inline ::google::protobuf::UninterpretedOption_NamePart* UninterpretedOption::mu
table_name(int index) { |
6656 // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.
name) | |
6657 return name_.Mutable(index); | 5478 return name_.Mutable(index); |
6658 } | 5479 } |
6659 inline ::google::protobuf::UninterpretedOption_NamePart* UninterpretedOption::ad
d_name() { | 5480 inline ::google::protobuf::UninterpretedOption_NamePart* UninterpretedOption::ad
d_name() { |
6660 // @@protoc_insertion_point(field_add:google.protobuf.UninterpretedOption.name
) | |
6661 return name_.Add(); | 5481 return name_.Add(); |
6662 } | 5482 } |
6663 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption_NamePart >& | 5483 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption_NamePart >& |
6664 UninterpretedOption::name() const { | 5484 UninterpretedOption::name() const { |
6665 // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.nam
e) | |
6666 return name_; | 5485 return name_; |
6667 } | 5486 } |
6668 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOp
tion_NamePart >* | 5487 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOp
tion_NamePart >* |
6669 UninterpretedOption::mutable_name() { | 5488 UninterpretedOption::mutable_name() { |
6670 // @@protoc_insertion_point(field_mutable_list:google.protobuf.UninterpretedOp
tion.name) | |
6671 return &name_; | 5489 return &name_; |
6672 } | 5490 } |
6673 | 5491 |
6674 // optional string identifier_value = 3; | 5492 // optional string identifier_value = 3; |
6675 inline bool UninterpretedOption::has_identifier_value() const { | 5493 inline bool UninterpretedOption::has_identifier_value() const { |
6676 return (_has_bits_[0] & 0x00000002u) != 0; | 5494 return (_has_bits_[0] & 0x00000002u) != 0; |
6677 } | 5495 } |
6678 inline void UninterpretedOption::set_has_identifier_value() { | 5496 inline void UninterpretedOption::set_has_identifier_value() { |
6679 _has_bits_[0] |= 0x00000002u; | 5497 _has_bits_[0] |= 0x00000002u; |
6680 } | 5498 } |
6681 inline void UninterpretedOption::clear_has_identifier_value() { | 5499 inline void UninterpretedOption::clear_has_identifier_value() { |
6682 _has_bits_[0] &= ~0x00000002u; | 5500 _has_bits_[0] &= ~0x00000002u; |
6683 } | 5501 } |
6684 inline void UninterpretedOption::clear_identifier_value() { | 5502 inline void UninterpretedOption::clear_identifier_value() { |
6685 identifier_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited()); | 5503 if (identifier_value_ != &::google::protobuf::internal::GetEmptyString()) { |
| 5504 identifier_value_->clear(); |
| 5505 } |
6686 clear_has_identifier_value(); | 5506 clear_has_identifier_value(); |
6687 } | 5507 } |
6688 inline const ::std::string& UninterpretedOption::identifier_value() const { | 5508 inline const ::std::string& UninterpretedOption::identifier_value() const { |
6689 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.iden
tifier_value) | 5509 return *identifier_value_; |
6690 return identifier_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStr
ingAlreadyInited()); | |
6691 } | 5510 } |
6692 inline void UninterpretedOption::set_identifier_value(const ::std::string& value
) { | 5511 inline void UninterpretedOption::set_identifier_value(const ::std::string& value
) { |
6693 set_has_identifier_value(); | 5512 set_has_identifier_value(); |
6694 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), value); | 5513 if (identifier_value_ == &::google::protobuf::internal::GetEmptyString()) { |
6695 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.iden
tifier_value) | 5514 identifier_value_ = new ::std::string; |
| 5515 } |
| 5516 identifier_value_->assign(value); |
6696 } | 5517 } |
6697 inline void UninterpretedOption::set_identifier_value(const char* value) { | 5518 inline void UninterpretedOption::set_identifier_value(const char* value) { |
6698 set_has_identifier_value(); | 5519 set_has_identifier_value(); |
6699 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), ::std::string(value)); | 5520 if (identifier_value_ == &::google::protobuf::internal::GetEmptyString()) { |
6700 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.identifier_value) | 5521 identifier_value_ = new ::std::string; |
| 5522 } |
| 5523 identifier_value_->assign(value); |
6701 } | 5524 } |
6702 inline void UninterpretedOption::set_identifier_value(const char* value, size_t
size) { | 5525 inline void UninterpretedOption::set_identifier_value(const char* value, size_t
size) { |
6703 set_has_identifier_value(); | 5526 set_has_identifier_value(); |
6704 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), | 5527 if (identifier_value_ == &::google::protobuf::internal::GetEmptyString()) { |
6705 ::std::string(reinterpret_cast<const char*>(value), size)); | 5528 identifier_value_ = new ::std::string; |
6706 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOpt
ion.identifier_value) | 5529 } |
| 5530 identifier_value_->assign(reinterpret_cast<const char*>(value), size); |
6707 } | 5531 } |
6708 inline ::std::string* UninterpretedOption::mutable_identifier_value() { | 5532 inline ::std::string* UninterpretedOption::mutable_identifier_value() { |
6709 set_has_identifier_value(); | 5533 set_has_identifier_value(); |
6710 // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.
identifier_value) | 5534 if (identifier_value_ == &::google::protobuf::internal::GetEmptyString()) { |
6711 return identifier_value_.MutableNoArena(&::google::protobuf::internal::GetEmpt
yStringAlreadyInited()); | 5535 identifier_value_ = new ::std::string; |
| 5536 } |
| 5537 return identifier_value_; |
6712 } | 5538 } |
6713 inline ::std::string* UninterpretedOption::release_identifier_value() { | 5539 inline ::std::string* UninterpretedOption::release_identifier_value() { |
6714 clear_has_identifier_value(); | 5540 clear_has_identifier_value(); |
6715 return identifier_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmpt
yStringAlreadyInited()); | 5541 if (identifier_value_ == &::google::protobuf::internal::GetEmptyString()) { |
| 5542 return NULL; |
| 5543 } else { |
| 5544 ::std::string* temp = identifier_value_; |
| 5545 identifier_value_ = const_cast< ::std::string*>(&::google::protobuf::interna
l::GetEmptyString()); |
| 5546 return temp; |
| 5547 } |
6716 } | 5548 } |
6717 inline void UninterpretedOption::set_allocated_identifier_value(::std::string* i
dentifier_value) { | 5549 inline void UninterpretedOption::set_allocated_identifier_value(::std::string* i
dentifier_value) { |
6718 if (identifier_value != NULL) { | 5550 if (identifier_value_ != &::google::protobuf::internal::GetEmptyString()) { |
| 5551 delete identifier_value_; |
| 5552 } |
| 5553 if (identifier_value) { |
6719 set_has_identifier_value(); | 5554 set_has_identifier_value(); |
| 5555 identifier_value_ = identifier_value; |
6720 } else { | 5556 } else { |
6721 clear_has_identifier_value(); | 5557 clear_has_identifier_value(); |
| 5558 identifier_value_ = const_cast< ::std::string*>(&::google::protobuf::interna
l::GetEmptyString()); |
6722 } | 5559 } |
6723 identifier_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited(), identifier_value); | |
6724 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO
ption.identifier_value) | |
6725 } | 5560 } |
6726 | 5561 |
6727 // optional uint64 positive_int_value = 4; | 5562 // optional uint64 positive_int_value = 4; |
6728 inline bool UninterpretedOption::has_positive_int_value() const { | 5563 inline bool UninterpretedOption::has_positive_int_value() const { |
6729 return (_has_bits_[0] & 0x00000004u) != 0; | 5564 return (_has_bits_[0] & 0x00000004u) != 0; |
6730 } | 5565 } |
6731 inline void UninterpretedOption::set_has_positive_int_value() { | 5566 inline void UninterpretedOption::set_has_positive_int_value() { |
6732 _has_bits_[0] |= 0x00000004u; | 5567 _has_bits_[0] |= 0x00000004u; |
6733 } | 5568 } |
6734 inline void UninterpretedOption::clear_has_positive_int_value() { | 5569 inline void UninterpretedOption::clear_has_positive_int_value() { |
6735 _has_bits_[0] &= ~0x00000004u; | 5570 _has_bits_[0] &= ~0x00000004u; |
6736 } | 5571 } |
6737 inline void UninterpretedOption::clear_positive_int_value() { | 5572 inline void UninterpretedOption::clear_positive_int_value() { |
6738 positive_int_value_ = GOOGLE_ULONGLONG(0); | 5573 positive_int_value_ = GOOGLE_ULONGLONG(0); |
6739 clear_has_positive_int_value(); | 5574 clear_has_positive_int_value(); |
6740 } | 5575 } |
6741 inline ::google::protobuf::uint64 UninterpretedOption::positive_int_value() cons
t { | 5576 inline ::google::protobuf::uint64 UninterpretedOption::positive_int_value() cons
t { |
6742 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.posi
tive_int_value) | |
6743 return positive_int_value_; | 5577 return positive_int_value_; |
6744 } | 5578 } |
6745 inline void UninterpretedOption::set_positive_int_value(::google::protobuf::uint
64 value) { | 5579 inline void UninterpretedOption::set_positive_int_value(::google::protobuf::uint
64 value) { |
6746 set_has_positive_int_value(); | 5580 set_has_positive_int_value(); |
6747 positive_int_value_ = value; | 5581 positive_int_value_ = value; |
6748 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.posi
tive_int_value) | |
6749 } | 5582 } |
6750 | 5583 |
6751 // optional int64 negative_int_value = 5; | 5584 // optional int64 negative_int_value = 5; |
6752 inline bool UninterpretedOption::has_negative_int_value() const { | 5585 inline bool UninterpretedOption::has_negative_int_value() const { |
6753 return (_has_bits_[0] & 0x00000008u) != 0; | 5586 return (_has_bits_[0] & 0x00000008u) != 0; |
6754 } | 5587 } |
6755 inline void UninterpretedOption::set_has_negative_int_value() { | 5588 inline void UninterpretedOption::set_has_negative_int_value() { |
6756 _has_bits_[0] |= 0x00000008u; | 5589 _has_bits_[0] |= 0x00000008u; |
6757 } | 5590 } |
6758 inline void UninterpretedOption::clear_has_negative_int_value() { | 5591 inline void UninterpretedOption::clear_has_negative_int_value() { |
6759 _has_bits_[0] &= ~0x00000008u; | 5592 _has_bits_[0] &= ~0x00000008u; |
6760 } | 5593 } |
6761 inline void UninterpretedOption::clear_negative_int_value() { | 5594 inline void UninterpretedOption::clear_negative_int_value() { |
6762 negative_int_value_ = GOOGLE_LONGLONG(0); | 5595 negative_int_value_ = GOOGLE_LONGLONG(0); |
6763 clear_has_negative_int_value(); | 5596 clear_has_negative_int_value(); |
6764 } | 5597 } |
6765 inline ::google::protobuf::int64 UninterpretedOption::negative_int_value() const
{ | 5598 inline ::google::protobuf::int64 UninterpretedOption::negative_int_value() const
{ |
6766 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.nega
tive_int_value) | |
6767 return negative_int_value_; | 5599 return negative_int_value_; |
6768 } | 5600 } |
6769 inline void UninterpretedOption::set_negative_int_value(::google::protobuf::int6
4 value) { | 5601 inline void UninterpretedOption::set_negative_int_value(::google::protobuf::int6
4 value) { |
6770 set_has_negative_int_value(); | 5602 set_has_negative_int_value(); |
6771 negative_int_value_ = value; | 5603 negative_int_value_ = value; |
6772 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.nega
tive_int_value) | |
6773 } | 5604 } |
6774 | 5605 |
6775 // optional double double_value = 6; | 5606 // optional double double_value = 6; |
6776 inline bool UninterpretedOption::has_double_value() const { | 5607 inline bool UninterpretedOption::has_double_value() const { |
6777 return (_has_bits_[0] & 0x00000010u) != 0; | 5608 return (_has_bits_[0] & 0x00000010u) != 0; |
6778 } | 5609 } |
6779 inline void UninterpretedOption::set_has_double_value() { | 5610 inline void UninterpretedOption::set_has_double_value() { |
6780 _has_bits_[0] |= 0x00000010u; | 5611 _has_bits_[0] |= 0x00000010u; |
6781 } | 5612 } |
6782 inline void UninterpretedOption::clear_has_double_value() { | 5613 inline void UninterpretedOption::clear_has_double_value() { |
6783 _has_bits_[0] &= ~0x00000010u; | 5614 _has_bits_[0] &= ~0x00000010u; |
6784 } | 5615 } |
6785 inline void UninterpretedOption::clear_double_value() { | 5616 inline void UninterpretedOption::clear_double_value() { |
6786 double_value_ = 0; | 5617 double_value_ = 0; |
6787 clear_has_double_value(); | 5618 clear_has_double_value(); |
6788 } | 5619 } |
6789 inline double UninterpretedOption::double_value() const { | 5620 inline double UninterpretedOption::double_value() const { |
6790 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.doub
le_value) | |
6791 return double_value_; | 5621 return double_value_; |
6792 } | 5622 } |
6793 inline void UninterpretedOption::set_double_value(double value) { | 5623 inline void UninterpretedOption::set_double_value(double value) { |
6794 set_has_double_value(); | 5624 set_has_double_value(); |
6795 double_value_ = value; | 5625 double_value_ = value; |
6796 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.doub
le_value) | |
6797 } | 5626 } |
6798 | 5627 |
6799 // optional bytes string_value = 7; | 5628 // optional bytes string_value = 7; |
6800 inline bool UninterpretedOption::has_string_value() const { | 5629 inline bool UninterpretedOption::has_string_value() const { |
6801 return (_has_bits_[0] & 0x00000020u) != 0; | 5630 return (_has_bits_[0] & 0x00000020u) != 0; |
6802 } | 5631 } |
6803 inline void UninterpretedOption::set_has_string_value() { | 5632 inline void UninterpretedOption::set_has_string_value() { |
6804 _has_bits_[0] |= 0x00000020u; | 5633 _has_bits_[0] |= 0x00000020u; |
6805 } | 5634 } |
6806 inline void UninterpretedOption::clear_has_string_value() { | 5635 inline void UninterpretedOption::clear_has_string_value() { |
6807 _has_bits_[0] &= ~0x00000020u; | 5636 _has_bits_[0] &= ~0x00000020u; |
6808 } | 5637 } |
6809 inline void UninterpretedOption::clear_string_value() { | 5638 inline void UninterpretedOption::clear_string_value() { |
6810 string_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited()); | 5639 if (string_value_ != &::google::protobuf::internal::GetEmptyString()) { |
| 5640 string_value_->clear(); |
| 5641 } |
6811 clear_has_string_value(); | 5642 clear_has_string_value(); |
6812 } | 5643 } |
6813 inline const ::std::string& UninterpretedOption::string_value() const { | 5644 inline const ::std::string& UninterpretedOption::string_value() const { |
6814 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.stri
ng_value) | 5645 return *string_value_; |
6815 return string_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); | |
6816 } | 5646 } |
6817 inline void UninterpretedOption::set_string_value(const ::std::string& value) { | 5647 inline void UninterpretedOption::set_string_value(const ::std::string& value) { |
6818 set_has_string_value(); | 5648 set_has_string_value(); |
6819 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), value); | 5649 if (string_value_ == &::google::protobuf::internal::GetEmptyString()) { |
6820 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.stri
ng_value) | 5650 string_value_ = new ::std::string; |
| 5651 } |
| 5652 string_value_->assign(value); |
6821 } | 5653 } |
6822 inline void UninterpretedOption::set_string_value(const char* value) { | 5654 inline void UninterpretedOption::set_string_value(const char* value) { |
6823 set_has_string_value(); | 5655 set_has_string_value(); |
6824 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), ::std::string(value)); | 5656 if (string_value_ == &::google::protobuf::internal::GetEmptyString()) { |
6825 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.string_value) | 5657 string_value_ = new ::std::string; |
| 5658 } |
| 5659 string_value_->assign(value); |
6826 } | 5660 } |
6827 inline void UninterpretedOption::set_string_value(const void* value, size_t size
) { | 5661 inline void UninterpretedOption::set_string_value(const void* value, size_t size
) { |
6828 set_has_string_value(); | 5662 set_has_string_value(); |
6829 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), | 5663 if (string_value_ == &::google::protobuf::internal::GetEmptyString()) { |
6830 ::std::string(reinterpret_cast<const char*>(value), size)); | 5664 string_value_ = new ::std::string; |
6831 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOpt
ion.string_value) | 5665 } |
| 5666 string_value_->assign(reinterpret_cast<const char*>(value), size); |
6832 } | 5667 } |
6833 inline ::std::string* UninterpretedOption::mutable_string_value() { | 5668 inline ::std::string* UninterpretedOption::mutable_string_value() { |
6834 set_has_string_value(); | 5669 set_has_string_value(); |
6835 // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.
string_value) | 5670 if (string_value_ == &::google::protobuf::internal::GetEmptyString()) { |
6836 return string_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStr
ingAlreadyInited()); | 5671 string_value_ = new ::std::string; |
| 5672 } |
| 5673 return string_value_; |
6837 } | 5674 } |
6838 inline ::std::string* UninterpretedOption::release_string_value() { | 5675 inline ::std::string* UninterpretedOption::release_string_value() { |
6839 clear_has_string_value(); | 5676 clear_has_string_value(); |
6840 return string_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStr
ingAlreadyInited()); | 5677 if (string_value_ == &::google::protobuf::internal::GetEmptyString()) { |
| 5678 return NULL; |
| 5679 } else { |
| 5680 ::std::string* temp = string_value_; |
| 5681 string_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::G
etEmptyString()); |
| 5682 return temp; |
| 5683 } |
6841 } | 5684 } |
6842 inline void UninterpretedOption::set_allocated_string_value(::std::string* strin
g_value) { | 5685 inline void UninterpretedOption::set_allocated_string_value(::std::string* strin
g_value) { |
6843 if (string_value != NULL) { | 5686 if (string_value_ != &::google::protobuf::internal::GetEmptyString()) { |
| 5687 delete string_value_; |
| 5688 } |
| 5689 if (string_value) { |
6844 set_has_string_value(); | 5690 set_has_string_value(); |
| 5691 string_value_ = string_value; |
6845 } else { | 5692 } else { |
6846 clear_has_string_value(); | 5693 clear_has_string_value(); |
| 5694 string_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::G
etEmptyString()); |
6847 } | 5695 } |
6848 string_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited(), string_value); | |
6849 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO
ption.string_value) | |
6850 } | 5696 } |
6851 | 5697 |
6852 // optional string aggregate_value = 8; | 5698 // optional string aggregate_value = 8; |
6853 inline bool UninterpretedOption::has_aggregate_value() const { | 5699 inline bool UninterpretedOption::has_aggregate_value() const { |
6854 return (_has_bits_[0] & 0x00000040u) != 0; | 5700 return (_has_bits_[0] & 0x00000040u) != 0; |
6855 } | 5701 } |
6856 inline void UninterpretedOption::set_has_aggregate_value() { | 5702 inline void UninterpretedOption::set_has_aggregate_value() { |
6857 _has_bits_[0] |= 0x00000040u; | 5703 _has_bits_[0] |= 0x00000040u; |
6858 } | 5704 } |
6859 inline void UninterpretedOption::clear_has_aggregate_value() { | 5705 inline void UninterpretedOption::clear_has_aggregate_value() { |
6860 _has_bits_[0] &= ~0x00000040u; | 5706 _has_bits_[0] &= ~0x00000040u; |
6861 } | 5707 } |
6862 inline void UninterpretedOption::clear_aggregate_value() { | 5708 inline void UninterpretedOption::clear_aggregate_value() { |
6863 aggregate_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptySt
ringAlreadyInited()); | 5709 if (aggregate_value_ != &::google::protobuf::internal::GetEmptyString()) { |
| 5710 aggregate_value_->clear(); |
| 5711 } |
6864 clear_has_aggregate_value(); | 5712 clear_has_aggregate_value(); |
6865 } | 5713 } |
6866 inline const ::std::string& UninterpretedOption::aggregate_value() const { | 5714 inline const ::std::string& UninterpretedOption::aggregate_value() const { |
6867 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggr
egate_value) | 5715 return *aggregate_value_; |
6868 return aggregate_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStri
ngAlreadyInited()); | |
6869 } | 5716 } |
6870 inline void UninterpretedOption::set_aggregate_value(const ::std::string& value)
{ | 5717 inline void UninterpretedOption::set_aggregate_value(const ::std::string& value)
{ |
6871 set_has_aggregate_value(); | 5718 set_has_aggregate_value(); |
6872 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited(), value); | 5719 if (aggregate_value_ == &::google::protobuf::internal::GetEmptyString()) { |
6873 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggr
egate_value) | 5720 aggregate_value_ = new ::std::string; |
| 5721 } |
| 5722 aggregate_value_->assign(value); |
6874 } | 5723 } |
6875 inline void UninterpretedOption::set_aggregate_value(const char* value) { | 5724 inline void UninterpretedOption::set_aggregate_value(const char* value) { |
6876 set_has_aggregate_value(); | 5725 set_has_aggregate_value(); |
6877 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited(), ::std::string(value)); | 5726 if (aggregate_value_ == &::google::protobuf::internal::GetEmptyString()) { |
6878 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.aggregate_value) | 5727 aggregate_value_ = new ::std::string; |
| 5728 } |
| 5729 aggregate_value_->assign(value); |
6879 } | 5730 } |
6880 inline void UninterpretedOption::set_aggregate_value(const char* value, size_t s
ize) { | 5731 inline void UninterpretedOption::set_aggregate_value(const char* value, size_t s
ize) { |
6881 set_has_aggregate_value(); | 5732 set_has_aggregate_value(); |
6882 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited(), | 5733 if (aggregate_value_ == &::google::protobuf::internal::GetEmptyString()) { |
6883 ::std::string(reinterpret_cast<const char*>(value), size)); | 5734 aggregate_value_ = new ::std::string; |
6884 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOpt
ion.aggregate_value) | 5735 } |
| 5736 aggregate_value_->assign(reinterpret_cast<const char*>(value), size); |
6885 } | 5737 } |
6886 inline ::std::string* UninterpretedOption::mutable_aggregate_value() { | 5738 inline ::std::string* UninterpretedOption::mutable_aggregate_value() { |
6887 set_has_aggregate_value(); | 5739 set_has_aggregate_value(); |
6888 // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.
aggregate_value) | 5740 if (aggregate_value_ == &::google::protobuf::internal::GetEmptyString()) { |
6889 return aggregate_value_.MutableNoArena(&::google::protobuf::internal::GetEmpty
StringAlreadyInited()); | 5741 aggregate_value_ = new ::std::string; |
| 5742 } |
| 5743 return aggregate_value_; |
6890 } | 5744 } |
6891 inline ::std::string* UninterpretedOption::release_aggregate_value() { | 5745 inline ::std::string* UninterpretedOption::release_aggregate_value() { |
6892 clear_has_aggregate_value(); | 5746 clear_has_aggregate_value(); |
6893 return aggregate_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmpty
StringAlreadyInited()); | 5747 if (aggregate_value_ == &::google::protobuf::internal::GetEmptyString()) { |
| 5748 return NULL; |
| 5749 } else { |
| 5750 ::std::string* temp = aggregate_value_; |
| 5751 aggregate_value_ = const_cast< ::std::string*>(&::google::protobuf::internal
::GetEmptyString()); |
| 5752 return temp; |
| 5753 } |
6894 } | 5754 } |
6895 inline void UninterpretedOption::set_allocated_aggregate_value(::std::string* ag
gregate_value) { | 5755 inline void UninterpretedOption::set_allocated_aggregate_value(::std::string* ag
gregate_value) { |
6896 if (aggregate_value != NULL) { | 5756 if (aggregate_value_ != &::google::protobuf::internal::GetEmptyString()) { |
| 5757 delete aggregate_value_; |
| 5758 } |
| 5759 if (aggregate_value) { |
6897 set_has_aggregate_value(); | 5760 set_has_aggregate_value(); |
| 5761 aggregate_value_ = aggregate_value; |
6898 } else { | 5762 } else { |
6899 clear_has_aggregate_value(); | 5763 clear_has_aggregate_value(); |
| 5764 aggregate_value_ = const_cast< ::std::string*>(&::google::protobuf::internal
::GetEmptyString()); |
6900 } | 5765 } |
6901 aggregate_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptySt
ringAlreadyInited(), aggregate_value); | |
6902 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO
ption.aggregate_value) | |
6903 } | 5766 } |
6904 | 5767 |
6905 // ------------------------------------------------------------------- | 5768 // ------------------------------------------------------------------- |
6906 | 5769 |
6907 // SourceCodeInfo_Location | 5770 // SourceCodeInfo_Location |
6908 | 5771 |
6909 // repeated int32 path = 1 [packed = true]; | 5772 // repeated int32 path = 1 [packed = true]; |
6910 inline int SourceCodeInfo_Location::path_size() const { | 5773 inline int SourceCodeInfo_Location::path_size() const { |
6911 return path_.size(); | 5774 return path_.size(); |
6912 } | 5775 } |
6913 inline void SourceCodeInfo_Location::clear_path() { | 5776 inline void SourceCodeInfo_Location::clear_path() { |
6914 path_.Clear(); | 5777 path_.Clear(); |
6915 } | 5778 } |
6916 inline ::google::protobuf::int32 SourceCodeInfo_Location::path(int index) const
{ | 5779 inline ::google::protobuf::int32 SourceCodeInfo_Location::path(int index) const
{ |
6917 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.
path) | |
6918 return path_.Get(index); | 5780 return path_.Get(index); |
6919 } | 5781 } |
6920 inline void SourceCodeInfo_Location::set_path(int index, ::google::protobuf::int
32 value) { | 5782 inline void SourceCodeInfo_Location::set_path(int index, ::google::protobuf::int
32 value) { |
6921 path_.Set(index, value); | 5783 path_.Set(index, value); |
6922 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.
path) | |
6923 } | 5784 } |
6924 inline void SourceCodeInfo_Location::add_path(::google::protobuf::int32 value) { | 5785 inline void SourceCodeInfo_Location::add_path(::google::protobuf::int32 value) { |
6925 path_.Add(value); | 5786 path_.Add(value); |
6926 // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.
path) | |
6927 } | 5787 } |
6928 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& | 5788 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
6929 SourceCodeInfo_Location::path() const { | 5789 SourceCodeInfo_Location::path() const { |
6930 // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location
.path) | |
6931 return path_; | 5790 return path_; |
6932 } | 5791 } |
6933 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* | 5792 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
6934 SourceCodeInfo_Location::mutable_path() { | 5793 SourceCodeInfo_Location::mutable_path() { |
6935 // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.
Location.path) | |
6936 return &path_; | 5794 return &path_; |
6937 } | 5795 } |
6938 | 5796 |
6939 // repeated int32 span = 2 [packed = true]; | 5797 // repeated int32 span = 2 [packed = true]; |
6940 inline int SourceCodeInfo_Location::span_size() const { | 5798 inline int SourceCodeInfo_Location::span_size() const { |
6941 return span_.size(); | 5799 return span_.size(); |
6942 } | 5800 } |
6943 inline void SourceCodeInfo_Location::clear_span() { | 5801 inline void SourceCodeInfo_Location::clear_span() { |
6944 span_.Clear(); | 5802 span_.Clear(); |
6945 } | 5803 } |
6946 inline ::google::protobuf::int32 SourceCodeInfo_Location::span(int index) const
{ | 5804 inline ::google::protobuf::int32 SourceCodeInfo_Location::span(int index) const
{ |
6947 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.
span) | |
6948 return span_.Get(index); | 5805 return span_.Get(index); |
6949 } | 5806 } |
6950 inline void SourceCodeInfo_Location::set_span(int index, ::google::protobuf::int
32 value) { | 5807 inline void SourceCodeInfo_Location::set_span(int index, ::google::protobuf::int
32 value) { |
6951 span_.Set(index, value); | 5808 span_.Set(index, value); |
6952 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.
span) | |
6953 } | 5809 } |
6954 inline void SourceCodeInfo_Location::add_span(::google::protobuf::int32 value) { | 5810 inline void SourceCodeInfo_Location::add_span(::google::protobuf::int32 value) { |
6955 span_.Add(value); | 5811 span_.Add(value); |
6956 // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.
span) | |
6957 } | 5812 } |
6958 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& | 5813 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
6959 SourceCodeInfo_Location::span() const { | 5814 SourceCodeInfo_Location::span() const { |
6960 // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location
.span) | |
6961 return span_; | 5815 return span_; |
6962 } | 5816 } |
6963 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* | 5817 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
6964 SourceCodeInfo_Location::mutable_span() { | 5818 SourceCodeInfo_Location::mutable_span() { |
6965 // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.
Location.span) | |
6966 return &span_; | 5819 return &span_; |
6967 } | 5820 } |
6968 | 5821 |
6969 // optional string leading_comments = 3; | 5822 // optional string leading_comments = 3; |
6970 inline bool SourceCodeInfo_Location::has_leading_comments() const { | 5823 inline bool SourceCodeInfo_Location::has_leading_comments() const { |
6971 return (_has_bits_[0] & 0x00000004u) != 0; | 5824 return (_has_bits_[0] & 0x00000004u) != 0; |
6972 } | 5825 } |
6973 inline void SourceCodeInfo_Location::set_has_leading_comments() { | 5826 inline void SourceCodeInfo_Location::set_has_leading_comments() { |
6974 _has_bits_[0] |= 0x00000004u; | 5827 _has_bits_[0] |= 0x00000004u; |
6975 } | 5828 } |
6976 inline void SourceCodeInfo_Location::clear_has_leading_comments() { | 5829 inline void SourceCodeInfo_Location::clear_has_leading_comments() { |
6977 _has_bits_[0] &= ~0x00000004u; | 5830 _has_bits_[0] &= ~0x00000004u; |
6978 } | 5831 } |
6979 inline void SourceCodeInfo_Location::clear_leading_comments() { | 5832 inline void SourceCodeInfo_Location::clear_leading_comments() { |
6980 leading_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited()); | 5833 if (leading_comments_ != &::google::protobuf::internal::GetEmptyString()) { |
| 5834 leading_comments_->clear(); |
| 5835 } |
6981 clear_has_leading_comments(); | 5836 clear_has_leading_comments(); |
6982 } | 5837 } |
6983 inline const ::std::string& SourceCodeInfo_Location::leading_comments() const { | 5838 inline const ::std::string& SourceCodeInfo_Location::leading_comments() const { |
6984 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.
leading_comments) | 5839 return *leading_comments_; |
6985 return leading_comments_.GetNoArena(&::google::protobuf::internal::GetEmptyStr
ingAlreadyInited()); | |
6986 } | 5840 } |
6987 inline void SourceCodeInfo_Location::set_leading_comments(const ::std::string& v
alue) { | 5841 inline void SourceCodeInfo_Location::set_leading_comments(const ::std::string& v
alue) { |
6988 set_has_leading_comments(); | 5842 set_has_leading_comments(); |
6989 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), value); | 5843 if (leading_comments_ == &::google::protobuf::internal::GetEmptyString()) { |
6990 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.
leading_comments) | 5844 leading_comments_ = new ::std::string; |
| 5845 } |
| 5846 leading_comments_->assign(value); |
6991 } | 5847 } |
6992 inline void SourceCodeInfo_Location::set_leading_comments(const char* value) { | 5848 inline void SourceCodeInfo_Location::set_leading_comments(const char* value) { |
6993 set_has_leading_comments(); | 5849 set_has_leading_comments(); |
6994 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), ::std::string(value)); | 5850 if (leading_comments_ == &::google::protobuf::internal::GetEmptyString()) { |
6995 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Loca
tion.leading_comments) | 5851 leading_comments_ = new ::std::string; |
| 5852 } |
| 5853 leading_comments_->assign(value); |
6996 } | 5854 } |
6997 inline void SourceCodeInfo_Location::set_leading_comments(const char* value, siz
e_t size) { | 5855 inline void SourceCodeInfo_Location::set_leading_comments(const char* value, siz
e_t size) { |
6998 set_has_leading_comments(); | 5856 set_has_leading_comments(); |
6999 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), | 5857 if (leading_comments_ == &::google::protobuf::internal::GetEmptyString()) { |
7000 ::std::string(reinterpret_cast<const char*>(value), size)); | 5858 leading_comments_ = new ::std::string; |
7001 // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.L
ocation.leading_comments) | 5859 } |
| 5860 leading_comments_->assign(reinterpret_cast<const char*>(value), size); |
7002 } | 5861 } |
7003 inline ::std::string* SourceCodeInfo_Location::mutable_leading_comments() { | 5862 inline ::std::string* SourceCodeInfo_Location::mutable_leading_comments() { |
7004 set_has_leading_comments(); | 5863 set_has_leading_comments(); |
7005 // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Locat
ion.leading_comments) | 5864 if (leading_comments_ == &::google::protobuf::internal::GetEmptyString()) { |
7006 return leading_comments_.MutableNoArena(&::google::protobuf::internal::GetEmpt
yStringAlreadyInited()); | 5865 leading_comments_ = new ::std::string; |
| 5866 } |
| 5867 return leading_comments_; |
7007 } | 5868 } |
7008 inline ::std::string* SourceCodeInfo_Location::release_leading_comments() { | 5869 inline ::std::string* SourceCodeInfo_Location::release_leading_comments() { |
7009 clear_has_leading_comments(); | 5870 clear_has_leading_comments(); |
7010 return leading_comments_.ReleaseNoArena(&::google::protobuf::internal::GetEmpt
yStringAlreadyInited()); | 5871 if (leading_comments_ == &::google::protobuf::internal::GetEmptyString()) { |
| 5872 return NULL; |
| 5873 } else { |
| 5874 ::std::string* temp = leading_comments_; |
| 5875 leading_comments_ = const_cast< ::std::string*>(&::google::protobuf::interna
l::GetEmptyString()); |
| 5876 return temp; |
| 5877 } |
7011 } | 5878 } |
7012 inline void SourceCodeInfo_Location::set_allocated_leading_comments(::std::strin
g* leading_comments) { | 5879 inline void SourceCodeInfo_Location::set_allocated_leading_comments(::std::strin
g* leading_comments) { |
7013 if (leading_comments != NULL) { | 5880 if (leading_comments_ != &::google::protobuf::internal::GetEmptyString()) { |
| 5881 delete leading_comments_; |
| 5882 } |
| 5883 if (leading_comments) { |
7014 set_has_leading_comments(); | 5884 set_has_leading_comments(); |
| 5885 leading_comments_ = leading_comments; |
7015 } else { | 5886 } else { |
7016 clear_has_leading_comments(); | 5887 clear_has_leading_comments(); |
| 5888 leading_comments_ = const_cast< ::std::string*>(&::google::protobuf::interna
l::GetEmptyString()); |
7017 } | 5889 } |
7018 leading_comments_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited(), leading_comments); | |
7019 // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo
.Location.leading_comments) | |
7020 } | 5890 } |
7021 | 5891 |
7022 // optional string trailing_comments = 4; | 5892 // optional string trailing_comments = 4; |
7023 inline bool SourceCodeInfo_Location::has_trailing_comments() const { | 5893 inline bool SourceCodeInfo_Location::has_trailing_comments() const { |
7024 return (_has_bits_[0] & 0x00000008u) != 0; | 5894 return (_has_bits_[0] & 0x00000008u) != 0; |
7025 } | 5895 } |
7026 inline void SourceCodeInfo_Location::set_has_trailing_comments() { | 5896 inline void SourceCodeInfo_Location::set_has_trailing_comments() { |
7027 _has_bits_[0] |= 0x00000008u; | 5897 _has_bits_[0] |= 0x00000008u; |
7028 } | 5898 } |
7029 inline void SourceCodeInfo_Location::clear_has_trailing_comments() { | 5899 inline void SourceCodeInfo_Location::clear_has_trailing_comments() { |
7030 _has_bits_[0] &= ~0x00000008u; | 5900 _has_bits_[0] &= ~0x00000008u; |
7031 } | 5901 } |
7032 inline void SourceCodeInfo_Location::clear_trailing_comments() { | 5902 inline void SourceCodeInfo_Location::clear_trailing_comments() { |
7033 trailing_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty
StringAlreadyInited()); | 5903 if (trailing_comments_ != &::google::protobuf::internal::GetEmptyString()) { |
| 5904 trailing_comments_->clear(); |
| 5905 } |
7034 clear_has_trailing_comments(); | 5906 clear_has_trailing_comments(); |
7035 } | 5907 } |
7036 inline const ::std::string& SourceCodeInfo_Location::trailing_comments() const { | 5908 inline const ::std::string& SourceCodeInfo_Location::trailing_comments() const { |
7037 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.
trailing_comments) | 5909 return *trailing_comments_; |
7038 return trailing_comments_.GetNoArena(&::google::protobuf::internal::GetEmptySt
ringAlreadyInited()); | |
7039 } | 5910 } |
7040 inline void SourceCodeInfo_Location::set_trailing_comments(const ::std::string&
value) { | 5911 inline void SourceCodeInfo_Location::set_trailing_comments(const ::std::string&
value) { |
7041 set_has_trailing_comments(); | 5912 set_has_trailing_comments(); |
7042 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), value); | 5913 if (trailing_comments_ == &::google::protobuf::internal::GetEmptyString()) { |
7043 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.
trailing_comments) | 5914 trailing_comments_ = new ::std::string; |
| 5915 } |
| 5916 trailing_comments_->assign(value); |
7044 } | 5917 } |
7045 inline void SourceCodeInfo_Location::set_trailing_comments(const char* value) { | 5918 inline void SourceCodeInfo_Location::set_trailing_comments(const char* value) { |
7046 set_has_trailing_comments(); | 5919 set_has_trailing_comments(); |
7047 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), ::std::string(value)); | 5920 if (trailing_comments_ == &::google::protobuf::internal::GetEmptyString()) { |
7048 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Loca
tion.trailing_comments) | 5921 trailing_comments_ = new ::std::string; |
| 5922 } |
| 5923 trailing_comments_->assign(value); |
7049 } | 5924 } |
7050 inline void SourceCodeInfo_Location::set_trailing_comments(const char* value, si
ze_t size) { | 5925 inline void SourceCodeInfo_Location::set_trailing_comments(const char* value, si
ze_t size) { |
7051 set_has_trailing_comments(); | 5926 set_has_trailing_comments(); |
7052 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), | 5927 if (trailing_comments_ == &::google::protobuf::internal::GetEmptyString()) { |
7053 ::std::string(reinterpret_cast<const char*>(value), size)); | 5928 trailing_comments_ = new ::std::string; |
7054 // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.L
ocation.trailing_comments) | 5929 } |
| 5930 trailing_comments_->assign(reinterpret_cast<const char*>(value), size); |
7055 } | 5931 } |
7056 inline ::std::string* SourceCodeInfo_Location::mutable_trailing_comments() { | 5932 inline ::std::string* SourceCodeInfo_Location::mutable_trailing_comments() { |
7057 set_has_trailing_comments(); | 5933 set_has_trailing_comments(); |
7058 // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Locat
ion.trailing_comments) | 5934 if (trailing_comments_ == &::google::protobuf::internal::GetEmptyString()) { |
7059 return trailing_comments_.MutableNoArena(&::google::protobuf::internal::GetEmp
tyStringAlreadyInited()); | 5935 trailing_comments_ = new ::std::string; |
| 5936 } |
| 5937 return trailing_comments_; |
7060 } | 5938 } |
7061 inline ::std::string* SourceCodeInfo_Location::release_trailing_comments() { | 5939 inline ::std::string* SourceCodeInfo_Location::release_trailing_comments() { |
7062 clear_has_trailing_comments(); | 5940 clear_has_trailing_comments(); |
7063 return trailing_comments_.ReleaseNoArena(&::google::protobuf::internal::GetEmp
tyStringAlreadyInited()); | 5941 if (trailing_comments_ == &::google::protobuf::internal::GetEmptyString()) { |
| 5942 return NULL; |
| 5943 } else { |
| 5944 ::std::string* temp = trailing_comments_; |
| 5945 trailing_comments_ = const_cast< ::std::string*>(&::google::protobuf::intern
al::GetEmptyString()); |
| 5946 return temp; |
| 5947 } |
7064 } | 5948 } |
7065 inline void SourceCodeInfo_Location::set_allocated_trailing_comments(::std::stri
ng* trailing_comments) { | 5949 inline void SourceCodeInfo_Location::set_allocated_trailing_comments(::std::stri
ng* trailing_comments) { |
7066 if (trailing_comments != NULL) { | 5950 if (trailing_comments_ != &::google::protobuf::internal::GetEmptyString()) { |
| 5951 delete trailing_comments_; |
| 5952 } |
| 5953 if (trailing_comments) { |
7067 set_has_trailing_comments(); | 5954 set_has_trailing_comments(); |
| 5955 trailing_comments_ = trailing_comments; |
7068 } else { | 5956 } else { |
7069 clear_has_trailing_comments(); | 5957 clear_has_trailing_comments(); |
| 5958 trailing_comments_ = const_cast< ::std::string*>(&::google::protobuf::intern
al::GetEmptyString()); |
7070 } | 5959 } |
7071 trailing_comments_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmpty
StringAlreadyInited(), trailing_comments); | |
7072 // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo
.Location.trailing_comments) | |
7073 } | |
7074 | |
7075 // repeated string leading_detached_comments = 6; | |
7076 inline int SourceCodeInfo_Location::leading_detached_comments_size() const { | |
7077 return leading_detached_comments_.size(); | |
7078 } | |
7079 inline void SourceCodeInfo_Location::clear_leading_detached_comments() { | |
7080 leading_detached_comments_.Clear(); | |
7081 } | |
7082 inline const ::std::string& SourceCodeInfo_Location::leading_detached_comments(i
nt index) const { | |
7083 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.
leading_detached_comments) | |
7084 return leading_detached_comments_.Get(index); | |
7085 } | |
7086 inline ::std::string* SourceCodeInfo_Location::mutable_leading_detached_comments
(int index) { | |
7087 // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Locat
ion.leading_detached_comments) | |
7088 return leading_detached_comments_.Mutable(index); | |
7089 } | |
7090 inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, co
nst ::std::string& value) { | |
7091 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.
leading_detached_comments) | |
7092 leading_detached_comments_.Mutable(index)->assign(value); | |
7093 } | |
7094 inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, co
nst char* value) { | |
7095 leading_detached_comments_.Mutable(index)->assign(value); | |
7096 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Loca
tion.leading_detached_comments) | |
7097 } | |
7098 inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, co
nst char* value, size_t size) { | |
7099 leading_detached_comments_.Mutable(index)->assign( | |
7100 reinterpret_cast<const char*>(value), size); | |
7101 // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.L
ocation.leading_detached_comments) | |
7102 } | |
7103 inline ::std::string* SourceCodeInfo_Location::add_leading_detached_comments() { | |
7104 return leading_detached_comments_.Add(); | |
7105 } | |
7106 inline void SourceCodeInfo_Location::add_leading_detached_comments(const ::std::
string& value) { | |
7107 leading_detached_comments_.Add()->assign(value); | |
7108 // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.
leading_detached_comments) | |
7109 } | |
7110 inline void SourceCodeInfo_Location::add_leading_detached_comments(const char* v
alue) { | |
7111 leading_detached_comments_.Add()->assign(value); | |
7112 // @@protoc_insertion_point(field_add_char:google.protobuf.SourceCodeInfo.Loca
tion.leading_detached_comments) | |
7113 } | |
7114 inline void SourceCodeInfo_Location::add_leading_detached_comments(const char* v
alue, size_t size) { | |
7115 leading_detached_comments_.Add()->assign(reinterpret_cast<const char*>(value),
size); | |
7116 // @@protoc_insertion_point(field_add_pointer:google.protobuf.SourceCodeInfo.L
ocation.leading_detached_comments) | |
7117 } | |
7118 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& | |
7119 SourceCodeInfo_Location::leading_detached_comments() const { | |
7120 // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location
.leading_detached_comments) | |
7121 return leading_detached_comments_; | |
7122 } | |
7123 inline ::google::protobuf::RepeatedPtrField< ::std::string>* | |
7124 SourceCodeInfo_Location::mutable_leading_detached_comments() { | |
7125 // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.
Location.leading_detached_comments) | |
7126 return &leading_detached_comments_; | |
7127 } | 5960 } |
7128 | 5961 |
7129 // ------------------------------------------------------------------- | 5962 // ------------------------------------------------------------------- |
7130 | 5963 |
7131 // SourceCodeInfo | 5964 // SourceCodeInfo |
7132 | 5965 |
7133 // repeated .google.protobuf.SourceCodeInfo.Location location = 1; | 5966 // repeated .google.protobuf.SourceCodeInfo.Location location = 1; |
7134 inline int SourceCodeInfo::location_size() const { | 5967 inline int SourceCodeInfo::location_size() const { |
7135 return location_.size(); | 5968 return location_.size(); |
7136 } | 5969 } |
7137 inline void SourceCodeInfo::clear_location() { | 5970 inline void SourceCodeInfo::clear_location() { |
7138 location_.Clear(); | 5971 location_.Clear(); |
7139 } | 5972 } |
7140 inline const ::google::protobuf::SourceCodeInfo_Location& SourceCodeInfo::locati
on(int index) const { | 5973 inline const ::google::protobuf::SourceCodeInfo_Location& SourceCodeInfo::locati
on(int index) const { |
7141 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.location) | |
7142 return location_.Get(index); | 5974 return location_.Get(index); |
7143 } | 5975 } |
7144 inline ::google::protobuf::SourceCodeInfo_Location* SourceCodeInfo::mutable_loca
tion(int index) { | 5976 inline ::google::protobuf::SourceCodeInfo_Location* SourceCodeInfo::mutable_loca
tion(int index) { |
7145 // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.locat
ion) | |
7146 return location_.Mutable(index); | 5977 return location_.Mutable(index); |
7147 } | 5978 } |
7148 inline ::google::protobuf::SourceCodeInfo_Location* SourceCodeInfo::add_location
() { | 5979 inline ::google::protobuf::SourceCodeInfo_Location* SourceCodeInfo::add_location
() { |
7149 // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.location) | |
7150 return location_.Add(); | 5980 return location_.Add(); |
7151 } | 5981 } |
7152 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCod
eInfo_Location >& | 5982 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCod
eInfo_Location >& |
7153 SourceCodeInfo::location() const { | 5983 SourceCodeInfo::location() const { |
7154 // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.location
) | |
7155 return location_; | 5984 return location_; |
7156 } | 5985 } |
7157 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_
Location >* | 5986 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_
Location >* |
7158 SourceCodeInfo::mutable_location() { | 5987 SourceCodeInfo::mutable_location() { |
7159 // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.
location) | |
7160 return &location_; | 5988 return &location_; |
7161 } | 5989 } |
7162 | 5990 |
7163 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS | |
7164 // ------------------------------------------------------------------- | |
7165 | |
7166 // ------------------------------------------------------------------- | |
7167 | |
7168 // ------------------------------------------------------------------- | |
7169 | |
7170 // ------------------------------------------------------------------- | |
7171 | |
7172 // ------------------------------------------------------------------- | |
7173 | |
7174 // ------------------------------------------------------------------- | |
7175 | |
7176 // ------------------------------------------------------------------- | |
7177 | |
7178 // ------------------------------------------------------------------- | |
7179 | |
7180 // ------------------------------------------------------------------- | |
7181 | |
7182 // ------------------------------------------------------------------- | |
7183 | |
7184 // ------------------------------------------------------------------- | |
7185 | |
7186 // ------------------------------------------------------------------- | |
7187 | |
7188 // ------------------------------------------------------------------- | |
7189 | |
7190 // ------------------------------------------------------------------- | |
7191 | |
7192 // ------------------------------------------------------------------- | |
7193 | |
7194 // ------------------------------------------------------------------- | |
7195 | |
7196 // ------------------------------------------------------------------- | |
7197 | |
7198 // ------------------------------------------------------------------- | |
7199 | |
7200 // ------------------------------------------------------------------- | |
7201 | |
7202 // ------------------------------------------------------------------- | |
7203 | |
7204 // ------------------------------------------------------------------- | |
7205 | |
7206 | 5991 |
7207 // @@protoc_insertion_point(namespace_scope) | 5992 // @@protoc_insertion_point(namespace_scope) |
7208 | 5993 |
7209 } // namespace protobuf | 5994 } // namespace protobuf |
7210 } // namespace google | 5995 } // namespace google |
7211 | 5996 |
7212 #ifndef SWIG | 5997 #ifndef SWIG |
7213 namespace google { | 5998 namespace google { |
7214 namespace protobuf { | 5999 namespace protobuf { |
7215 | 6000 |
7216 template <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Type>
: ::google::protobuf::internal::true_type {}; | |
7217 template <> | 6001 template <> |
7218 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescrip
torProto_Type>() { | 6002 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescrip
torProto_Type>() { |
7219 return ::google::protobuf::FieldDescriptorProto_Type_descriptor(); | 6003 return ::google::protobuf::FieldDescriptorProto_Type_descriptor(); |
7220 } | 6004 } |
7221 template <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Label
> : ::google::protobuf::internal::true_type {}; | |
7222 template <> | 6005 template <> |
7223 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescrip
torProto_Label>() { | 6006 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescrip
torProto_Label>() { |
7224 return ::google::protobuf::FieldDescriptorProto_Label_descriptor(); | 6007 return ::google::protobuf::FieldDescriptorProto_Label_descriptor(); |
7225 } | 6008 } |
7226 template <> struct is_proto_enum< ::google::protobuf::FileOptions_OptimizeMode>
: ::google::protobuf::internal::true_type {}; | |
7227 template <> | 6009 template <> |
7228 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FileOptions_
OptimizeMode>() { | 6010 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FileOptions_
OptimizeMode>() { |
7229 return ::google::protobuf::FileOptions_OptimizeMode_descriptor(); | 6011 return ::google::protobuf::FileOptions_OptimizeMode_descriptor(); |
7230 } | 6012 } |
7231 template <> struct is_proto_enum< ::google::protobuf::FieldOptions_CType> : ::go
ogle::protobuf::internal::true_type {}; | |
7232 template <> | 6013 template <> |
7233 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions
_CType>() { | 6014 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions
_CType>() { |
7234 return ::google::protobuf::FieldOptions_CType_descriptor(); | 6015 return ::google::protobuf::FieldOptions_CType_descriptor(); |
7235 } | 6016 } |
7236 template <> struct is_proto_enum< ::google::protobuf::FieldOptions_JSType> : ::g
oogle::protobuf::internal::true_type {}; | |
7237 template <> | |
7238 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions
_JSType>() { | |
7239 return ::google::protobuf::FieldOptions_JSType_descriptor(); | |
7240 } | |
7241 | 6017 |
| 6018 } // namespace google |
7242 } // namespace protobuf | 6019 } // namespace protobuf |
7243 } // namespace google | |
7244 #endif // SWIG | 6020 #endif // SWIG |
7245 | 6021 |
7246 // @@protoc_insertion_point(global_scope) | 6022 // @@protoc_insertion_point(global_scope) |
7247 | 6023 |
7248 #endif // PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED | 6024 #endif // PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED |
OLD | NEW |