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 < 3001000 | 11 #if GOOGLE_PROTOBUF_VERSION < 3000000 |
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 3001000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION | 16 #if 3000000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
17 #error This file was generated by an older version of protoc which is | 17 #error This file was generated by an older version of protoc which is |
18 #error incompatible with your Protocol Buffer headers. Please | 18 #error incompatible with your Protocol Buffer headers. Please |
19 #error regenerate this file with a newer version of protoc. | 19 #error regenerate this file with a newer version of protoc. |
20 #endif | 20 #endif |
21 | 21 |
22 #include <google/protobuf/arena.h> | 22 #include <google/protobuf/arena.h> |
23 #include <google/protobuf/arenastring.h> | 23 #include <google/protobuf/arenastring.h> |
24 #include <google/protobuf/generated_message_util.h> | 24 #include <google/protobuf/generated_message_util.h> |
25 #include <google/protobuf/metadata.h> | 25 #include <google/protobuf/metadata.h> |
26 #include <google/protobuf/message.h> | 26 #include <google/protobuf/message.h> |
27 #include <google/protobuf/repeated_field.h> // IWYU pragma: export | 27 #include <google/protobuf/repeated_field.h> |
28 #include <google/protobuf/extension_set.h> // IWYU pragma: export | 28 #include <google/protobuf/extension_set.h> |
29 #include <google/protobuf/generated_enum_reflection.h> | 29 #include <google/protobuf/generated_enum_reflection.h> |
30 #include <google/protobuf/unknown_field_set.h> | 30 #include <google/protobuf/unknown_field_set.h> |
31 // @@protoc_insertion_point(includes) | 31 // @@protoc_insertion_point(includes) |
32 namespace google { | |
33 namespace protobuf { | |
34 class DescriptorProto; | |
35 class DescriptorProtoDefaultTypeInternal; | |
36 LIBPROTOBUF_EXPORT extern DescriptorProtoDefaultTypeInternal _DescriptorProto_de
fault_instance_; | |
37 class DescriptorProto_ExtensionRange; | |
38 class DescriptorProto_ExtensionRangeDefaultTypeInternal; | |
39 LIBPROTOBUF_EXPORT extern DescriptorProto_ExtensionRangeDefaultTypeInternal _Des
criptorProto_ExtensionRange_default_instance_; | |
40 class DescriptorProto_ReservedRange; | |
41 class DescriptorProto_ReservedRangeDefaultTypeInternal; | |
42 LIBPROTOBUF_EXPORT extern DescriptorProto_ReservedRangeDefaultTypeInternal _Desc
riptorProto_ReservedRange_default_instance_; | |
43 class EnumDescriptorProto; | |
44 class EnumDescriptorProtoDefaultTypeInternal; | |
45 LIBPROTOBUF_EXPORT extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptor
Proto_default_instance_; | |
46 class EnumOptions; | |
47 class EnumOptionsDefaultTypeInternal; | |
48 LIBPROTOBUF_EXPORT extern EnumOptionsDefaultTypeInternal _EnumOptions_default_in
stance_; | |
49 class EnumValueDescriptorProto; | |
50 class EnumValueDescriptorProtoDefaultTypeInternal; | |
51 LIBPROTOBUF_EXPORT extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValue
DescriptorProto_default_instance_; | |
52 class EnumValueOptions; | |
53 class EnumValueOptionsDefaultTypeInternal; | |
54 LIBPROTOBUF_EXPORT extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_
default_instance_; | |
55 class FieldDescriptorProto; | |
56 class FieldDescriptorProtoDefaultTypeInternal; | |
57 LIBPROTOBUF_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescript
orProto_default_instance_; | |
58 class FieldOptions; | |
59 class FieldOptionsDefaultTypeInternal; | |
60 LIBPROTOBUF_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_
instance_; | |
61 class FileDescriptorProto; | |
62 class FileDescriptorProtoDefaultTypeInternal; | |
63 LIBPROTOBUF_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptor
Proto_default_instance_; | |
64 class FileDescriptorSet; | |
65 class FileDescriptorSetDefaultTypeInternal; | |
66 LIBPROTOBUF_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSe
t_default_instance_; | |
67 class FileOptions; | |
68 class FileOptionsDefaultTypeInternal; | |
69 LIBPROTOBUF_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_in
stance_; | |
70 class GeneratedCodeInfo; | |
71 class GeneratedCodeInfoDefaultTypeInternal; | |
72 LIBPROTOBUF_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInf
o_default_instance_; | |
73 class GeneratedCodeInfo_Annotation; | |
74 class GeneratedCodeInfo_AnnotationDefaultTypeInternal; | |
75 LIBPROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _Gener
atedCodeInfo_Annotation_default_instance_; | |
76 class MessageOptions; | |
77 class MessageOptionsDefaultTypeInternal; | |
78 LIBPROTOBUF_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_defa
ult_instance_; | |
79 class MethodDescriptorProto; | |
80 class MethodDescriptorProtoDefaultTypeInternal; | |
81 LIBPROTOBUF_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescri
ptorProto_default_instance_; | |
82 class MethodOptions; | |
83 class MethodOptionsDefaultTypeInternal; | |
84 LIBPROTOBUF_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_defaul
t_instance_; | |
85 class OneofDescriptorProto; | |
86 class OneofDescriptorProtoDefaultTypeInternal; | |
87 LIBPROTOBUF_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescript
orProto_default_instance_; | |
88 class OneofOptions; | |
89 class OneofOptionsDefaultTypeInternal; | |
90 LIBPROTOBUF_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_
instance_; | |
91 class ServiceDescriptorProto; | |
92 class ServiceDescriptorProtoDefaultTypeInternal; | |
93 LIBPROTOBUF_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDesc
riptorProto_default_instance_; | |
94 class ServiceOptions; | |
95 class ServiceOptionsDefaultTypeInternal; | |
96 LIBPROTOBUF_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_defa
ult_instance_; | |
97 class SourceCodeInfo; | |
98 class SourceCodeInfoDefaultTypeInternal; | |
99 LIBPROTOBUF_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_defa
ult_instance_; | |
100 class SourceCodeInfo_Location; | |
101 class SourceCodeInfo_LocationDefaultTypeInternal; | |
102 LIBPROTOBUF_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCode
Info_Location_default_instance_; | |
103 class UninterpretedOption; | |
104 class UninterpretedOptionDefaultTypeInternal; | |
105 LIBPROTOBUF_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedO
ption_default_instance_; | |
106 class UninterpretedOption_NamePart; | |
107 class UninterpretedOption_NamePartDefaultTypeInternal; | |
108 LIBPROTOBUF_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _Unint
erpretedOption_NamePart_default_instance_; | |
109 } // namespace protobuf | |
110 } // namespace google | |
111 | 32 |
112 namespace google { | 33 namespace google { |
113 namespace protobuf { | 34 namespace protobuf { |
114 | 35 |
115 // Internal implementation detail -- do not call these. | 36 // Internal implementation detail -- do not call these. |
116 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(
); | 37 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(
); |
117 void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescriptor_2ep
roto(); | 38 void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| 39 void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 40 |
| 41 class DescriptorProto; |
| 42 class DescriptorProto_ExtensionRange; |
| 43 class DescriptorProto_ReservedRange; |
| 44 class EnumDescriptorProto; |
| 45 class EnumOptions; |
| 46 class EnumValueDescriptorProto; |
| 47 class EnumValueOptions; |
| 48 class FieldDescriptorProto; |
| 49 class FieldOptions; |
| 50 class FileDescriptorProto; |
| 51 class FileDescriptorSet; |
| 52 class FileOptions; |
| 53 class GeneratedCodeInfo; |
| 54 class GeneratedCodeInfo_Annotation; |
| 55 class MessageOptions; |
| 56 class MethodDescriptorProto; |
| 57 class MethodOptions; |
| 58 class OneofDescriptorProto; |
| 59 class ServiceDescriptorProto; |
| 60 class ServiceOptions; |
| 61 class SourceCodeInfo; |
| 62 class SourceCodeInfo_Location; |
| 63 class UninterpretedOption; |
| 64 class UninterpretedOption_NamePart; |
118 | 65 |
119 enum FieldDescriptorProto_Type { | 66 enum FieldDescriptorProto_Type { |
120 FieldDescriptorProto_Type_TYPE_DOUBLE = 1, | 67 FieldDescriptorProto_Type_TYPE_DOUBLE = 1, |
121 FieldDescriptorProto_Type_TYPE_FLOAT = 2, | 68 FieldDescriptorProto_Type_TYPE_FLOAT = 2, |
122 FieldDescriptorProto_Type_TYPE_INT64 = 3, | 69 FieldDescriptorProto_Type_TYPE_INT64 = 3, |
123 FieldDescriptorProto_Type_TYPE_UINT64 = 4, | 70 FieldDescriptorProto_Type_TYPE_UINT64 = 4, |
124 FieldDescriptorProto_Type_TYPE_INT32 = 5, | 71 FieldDescriptorProto_Type_TYPE_INT32 = 5, |
125 FieldDescriptorProto_Type_TYPE_FIXED64 = 6, | 72 FieldDescriptorProto_Type_TYPE_FIXED64 = 6, |
126 FieldDescriptorProto_Type_TYPE_FIXED32 = 7, | 73 FieldDescriptorProto_Type_TYPE_FIXED32 = 7, |
127 FieldDescriptorProto_Type_TYPE_BOOL = 8, | 74 FieldDescriptorProto_Type_TYPE_BOOL = 8, |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_JSType
_descriptor(); | 171 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_JSType
_descriptor(); |
225 inline const ::std::string& FieldOptions_JSType_Name(FieldOptions_JSType value)
{ | 172 inline const ::std::string& FieldOptions_JSType_Name(FieldOptions_JSType value)
{ |
226 return ::google::protobuf::internal::NameOfEnum( | 173 return ::google::protobuf::internal::NameOfEnum( |
227 FieldOptions_JSType_descriptor(), value); | 174 FieldOptions_JSType_descriptor(), value); |
228 } | 175 } |
229 inline bool FieldOptions_JSType_Parse( | 176 inline bool FieldOptions_JSType_Parse( |
230 const ::std::string& name, FieldOptions_JSType* value) { | 177 const ::std::string& name, FieldOptions_JSType* value) { |
231 return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_JSType>( | 178 return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_JSType>( |
232 FieldOptions_JSType_descriptor(), name, value); | 179 FieldOptions_JSType_descriptor(), name, value); |
233 } | 180 } |
234 enum MethodOptions_IdempotencyLevel { | |
235 MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN = 0, | |
236 MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS = 1, | |
237 MethodOptions_IdempotencyLevel_IDEMPOTENT = 2 | |
238 }; | |
239 LIBPROTOBUF_EXPORT bool MethodOptions_IdempotencyLevel_IsValid(int value); | |
240 const MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyL
evel_MIN = MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN; | |
241 const MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyL
evel_MAX = MethodOptions_IdempotencyLevel_IDEMPOTENT; | |
242 const int MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE = MethodOpti
ons_IdempotencyLevel_IdempotencyLevel_MAX + 1; | |
243 | |
244 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* MethodOptions_Idemp
otencyLevel_descriptor(); | |
245 inline const ::std::string& MethodOptions_IdempotencyLevel_Name(MethodOptions_Id
empotencyLevel value) { | |
246 return ::google::protobuf::internal::NameOfEnum( | |
247 MethodOptions_IdempotencyLevel_descriptor(), value); | |
248 } | |
249 inline bool MethodOptions_IdempotencyLevel_Parse( | |
250 const ::std::string& name, MethodOptions_IdempotencyLevel* value) { | |
251 return ::google::protobuf::internal::ParseNamedEnum<MethodOptions_IdempotencyL
evel>( | |
252 MethodOptions_IdempotencyLevel_descriptor(), name, value); | |
253 } | |
254 // =================================================================== | 181 // =================================================================== |
255 | 182 |
256 class LIBPROTOBUF_EXPORT FileDescriptorSet : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorSet)
*/ { | 183 class LIBPROTOBUF_EXPORT FileDescriptorSet : public ::google::protobuf::Message
{ |
257 public: | 184 public: |
258 FileDescriptorSet(); | 185 FileDescriptorSet(); |
259 virtual ~FileDescriptorSet(); | 186 virtual ~FileDescriptorSet(); |
260 | 187 |
261 FileDescriptorSet(const FileDescriptorSet& from); | 188 FileDescriptorSet(const FileDescriptorSet& from); |
262 | 189 |
263 inline FileDescriptorSet& operator=(const FileDescriptorSet& from) { | 190 inline FileDescriptorSet& operator=(const FileDescriptorSet& from) { |
264 CopyFrom(from); | 191 CopyFrom(from); |
265 return *this; | 192 return *this; |
266 } | 193 } |
267 | 194 |
268 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 195 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
269 return _internal_metadata_.unknown_fields(); | 196 return _internal_metadata_.unknown_fields(); |
270 } | 197 } |
271 | 198 |
272 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 199 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
273 return _internal_metadata_.mutable_unknown_fields(); | 200 return _internal_metadata_.mutable_unknown_fields(); |
274 } | 201 } |
275 | 202 |
276 static const ::google::protobuf::Descriptor* descriptor(); | 203 static const ::google::protobuf::Descriptor* descriptor(); |
277 static const FileDescriptorSet& default_instance(); | 204 static const FileDescriptorSet& default_instance(); |
278 | 205 |
279 static inline const FileDescriptorSet* internal_default_instance() { | |
280 return reinterpret_cast<const FileDescriptorSet*>( | |
281 &_FileDescriptorSet_default_instance_); | |
282 } | |
283 | |
284 void Swap(FileDescriptorSet* other); | 206 void Swap(FileDescriptorSet* other); |
285 | 207 |
286 // implements Message ---------------------------------------------- | 208 // implements Message ---------------------------------------------- |
287 | 209 |
288 inline FileDescriptorSet* New() const PROTOBUF_FINAL { return New(NULL); } | 210 inline FileDescriptorSet* New() const { return New(NULL); } |
289 | 211 |
290 FileDescriptorSet* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; | 212 FileDescriptorSet* New(::google::protobuf::Arena* arena) const; |
291 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 213 void CopyFrom(const ::google::protobuf::Message& from); |
292 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 214 void MergeFrom(const ::google::protobuf::Message& from); |
293 void CopyFrom(const FileDescriptorSet& from); | 215 void CopyFrom(const FileDescriptorSet& from); |
294 void MergeFrom(const FileDescriptorSet& from); | 216 void MergeFrom(const FileDescriptorSet& from); |
295 void Clear() PROTOBUF_FINAL; | 217 void Clear(); |
296 bool IsInitialized() const PROTOBUF_FINAL; | 218 bool IsInitialized() const; |
297 | 219 |
298 size_t ByteSizeLong() const PROTOBUF_FINAL; | 220 int ByteSize() const; |
299 bool MergePartialFromCodedStream( | 221 bool MergePartialFromCodedStream( |
300 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 222 ::google::protobuf::io::CodedInputStream* input); |
301 void SerializeWithCachedSizes( | 223 void SerializeWithCachedSizes( |
302 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 224 ::google::protobuf::io::CodedOutputStream* output) const; |
303 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 225 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
304 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 226 int GetCachedSize() const { return _cached_size_; } |
305 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
306 const PROTOBUF_FINAL { | |
307 return InternalSerializeWithCachedSizesToArray(false, output); | |
308 } | |
309 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
310 private: | 227 private: |
311 void SharedCtor(); | 228 void SharedCtor(); |
312 void SharedDtor(); | 229 void SharedDtor(); |
313 void SetCachedSize(int size) const PROTOBUF_FINAL; | 230 void SetCachedSize(int size) const; |
314 void InternalSwap(FileDescriptorSet* other); | 231 void InternalSwap(FileDescriptorSet* other); |
315 private: | 232 private: |
316 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 233 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
317 return NULL; | 234 return _internal_metadata_.arena(); |
318 } | 235 } |
319 inline void* MaybeArenaPtr() const { | 236 inline void* MaybeArenaPtr() const { |
320 return NULL; | 237 return _internal_metadata_.raw_arena_ptr(); |
321 } | 238 } |
322 public: | 239 public: |
323 | 240 |
324 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 241 ::google::protobuf::Metadata GetMetadata() const; |
325 | 242 |
326 // nested types ---------------------------------------------------- | 243 // nested types ---------------------------------------------------- |
327 | 244 |
328 // accessors ------------------------------------------------------- | 245 // accessors ------------------------------------------------------- |
329 | 246 |
330 // repeated .google.protobuf.FileDescriptorProto file = 1; | 247 // repeated .google.protobuf.FileDescriptorProto file = 1; |
331 int file_size() const; | 248 int file_size() const; |
332 void clear_file(); | 249 void clear_file(); |
333 static const int kFileFieldNumber = 1; | 250 static const int kFileFieldNumber = 1; |
334 const ::google::protobuf::FileDescriptorProto& file(int index) const; | 251 const ::google::protobuf::FileDescriptorProto& file(int index) const; |
335 ::google::protobuf::FileDescriptorProto* mutable_file(int index); | 252 ::google::protobuf::FileDescriptorProto* mutable_file(int index); |
336 ::google::protobuf::FileDescriptorProto* add_file(); | 253 ::google::protobuf::FileDescriptorProto* add_file(); |
337 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto
>* | 254 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto
>* |
338 mutable_file(); | 255 mutable_file(); |
339 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptor
Proto >& | 256 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptor
Proto >& |
340 file() const; | 257 file() const; |
341 | 258 |
342 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet) | 259 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet) |
343 private: | 260 private: |
344 | 261 |
345 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 262 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
346 ::google::protobuf::internal::HasBits<1> _has_bits_; | 263 ::google::protobuf::uint32 _has_bits_[1]; |
347 mutable int _cached_size_; | 264 mutable int _cached_size_; |
348 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto
> file_; | 265 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto
> file_; |
349 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 266 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
350 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | 267 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
351 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
352 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 268 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
353 | 269 |
| 270 void InitAsDefaultInstance(); |
| 271 static FileDescriptorSet* default_instance_; |
354 }; | 272 }; |
355 // ------------------------------------------------------------------- | 273 // ------------------------------------------------------------------- |
356 | 274 |
357 class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Messag
e /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorPro
to) */ { | 275 class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Messag
e { |
358 public: | 276 public: |
359 FileDescriptorProto(); | 277 FileDescriptorProto(); |
360 virtual ~FileDescriptorProto(); | 278 virtual ~FileDescriptorProto(); |
361 | 279 |
362 FileDescriptorProto(const FileDescriptorProto& from); | 280 FileDescriptorProto(const FileDescriptorProto& from); |
363 | 281 |
364 inline FileDescriptorProto& operator=(const FileDescriptorProto& from) { | 282 inline FileDescriptorProto& operator=(const FileDescriptorProto& from) { |
365 CopyFrom(from); | 283 CopyFrom(from); |
366 return *this; | 284 return *this; |
367 } | 285 } |
368 | 286 |
369 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 287 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
370 return _internal_metadata_.unknown_fields(); | 288 return _internal_metadata_.unknown_fields(); |
371 } | 289 } |
372 | 290 |
373 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 291 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
374 return _internal_metadata_.mutable_unknown_fields(); | 292 return _internal_metadata_.mutable_unknown_fields(); |
375 } | 293 } |
376 | 294 |
377 static const ::google::protobuf::Descriptor* descriptor(); | 295 static const ::google::protobuf::Descriptor* descriptor(); |
378 static const FileDescriptorProto& default_instance(); | 296 static const FileDescriptorProto& default_instance(); |
379 | 297 |
380 static inline const FileDescriptorProto* internal_default_instance() { | |
381 return reinterpret_cast<const FileDescriptorProto*>( | |
382 &_FileDescriptorProto_default_instance_); | |
383 } | |
384 | |
385 void Swap(FileDescriptorProto* other); | 298 void Swap(FileDescriptorProto* other); |
386 | 299 |
387 // implements Message ---------------------------------------------- | 300 // implements Message ---------------------------------------------- |
388 | 301 |
389 inline FileDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); } | 302 inline FileDescriptorProto* New() const { return New(NULL); } |
390 | 303 |
391 FileDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINA
L; | 304 FileDescriptorProto* New(::google::protobuf::Arena* arena) const; |
392 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 305 void CopyFrom(const ::google::protobuf::Message& from); |
393 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 306 void MergeFrom(const ::google::protobuf::Message& from); |
394 void CopyFrom(const FileDescriptorProto& from); | 307 void CopyFrom(const FileDescriptorProto& from); |
395 void MergeFrom(const FileDescriptorProto& from); | 308 void MergeFrom(const FileDescriptorProto& from); |
396 void Clear() PROTOBUF_FINAL; | 309 void Clear(); |
397 bool IsInitialized() const PROTOBUF_FINAL; | 310 bool IsInitialized() const; |
398 | 311 |
399 size_t ByteSizeLong() const PROTOBUF_FINAL; | 312 int ByteSize() const; |
400 bool MergePartialFromCodedStream( | 313 bool MergePartialFromCodedStream( |
401 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 314 ::google::protobuf::io::CodedInputStream* input); |
402 void SerializeWithCachedSizes( | 315 void SerializeWithCachedSizes( |
403 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 316 ::google::protobuf::io::CodedOutputStream* output) const; |
404 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 317 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
405 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 318 int GetCachedSize() const { return _cached_size_; } |
406 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
407 const PROTOBUF_FINAL { | |
408 return InternalSerializeWithCachedSizesToArray(false, output); | |
409 } | |
410 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
411 private: | 319 private: |
412 void SharedCtor(); | 320 void SharedCtor(); |
413 void SharedDtor(); | 321 void SharedDtor(); |
414 void SetCachedSize(int size) const PROTOBUF_FINAL; | 322 void SetCachedSize(int size) const; |
415 void InternalSwap(FileDescriptorProto* other); | 323 void InternalSwap(FileDescriptorProto* other); |
416 private: | 324 private: |
417 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 325 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
418 return NULL; | 326 return _internal_metadata_.arena(); |
419 } | 327 } |
420 inline void* MaybeArenaPtr() const { | 328 inline void* MaybeArenaPtr() const { |
421 return NULL; | 329 return _internal_metadata_.raw_arena_ptr(); |
422 } | 330 } |
423 public: | 331 public: |
424 | 332 |
425 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 333 ::google::protobuf::Metadata GetMetadata() const; |
426 | 334 |
427 // nested types ---------------------------------------------------- | 335 // nested types ---------------------------------------------------- |
428 | 336 |
429 // accessors ------------------------------------------------------- | 337 // accessors ------------------------------------------------------- |
430 | 338 |
431 // optional string name = 1; | 339 // optional string name = 1; |
432 bool has_name() const; | 340 bool has_name() const; |
433 void clear_name(); | 341 void clear_name(); |
434 static const int kNameFieldNumber = 1; | 342 static const int kNameFieldNumber = 1; |
435 const ::std::string& name() const; | 343 const ::std::string& name() const; |
436 void set_name(const ::std::string& value); | 344 void set_name(const ::std::string& value); |
437 #if LANG_CXX11 | |
438 void set_name(::std::string&& value); | |
439 #endif | |
440 void set_name(const char* value); | 345 void set_name(const char* value); |
441 void set_name(const char* value, size_t size); | 346 void set_name(const char* value, size_t size); |
442 ::std::string* mutable_name(); | 347 ::std::string* mutable_name(); |
443 ::std::string* release_name(); | 348 ::std::string* release_name(); |
444 void set_allocated_name(::std::string* name); | 349 void set_allocated_name(::std::string* name); |
445 | 350 |
446 // optional string package = 2; | 351 // optional string package = 2; |
447 bool has_package() const; | 352 bool has_package() const; |
448 void clear_package(); | 353 void clear_package(); |
449 static const int kPackageFieldNumber = 2; | 354 static const int kPackageFieldNumber = 2; |
450 const ::std::string& package() const; | 355 const ::std::string& package() const; |
451 void set_package(const ::std::string& value); | 356 void set_package(const ::std::string& value); |
452 #if LANG_CXX11 | |
453 void set_package(::std::string&& value); | |
454 #endif | |
455 void set_package(const char* value); | 357 void set_package(const char* value); |
456 void set_package(const char* value, size_t size); | 358 void set_package(const char* value, size_t size); |
457 ::std::string* mutable_package(); | 359 ::std::string* mutable_package(); |
458 ::std::string* release_package(); | 360 ::std::string* release_package(); |
459 void set_allocated_package(::std::string* package); | 361 void set_allocated_package(::std::string* package); |
460 | 362 |
461 // repeated string dependency = 3; | 363 // repeated string dependency = 3; |
462 int dependency_size() const; | 364 int dependency_size() const; |
463 void clear_dependency(); | 365 void clear_dependency(); |
464 static const int kDependencyFieldNumber = 3; | 366 static const int kDependencyFieldNumber = 3; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 ::google::protobuf::SourceCodeInfo* mutable_source_code_info(); | 465 ::google::protobuf::SourceCodeInfo* mutable_source_code_info(); |
564 ::google::protobuf::SourceCodeInfo* release_source_code_info(); | 466 ::google::protobuf::SourceCodeInfo* release_source_code_info(); |
565 void set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* source
_code_info); | 467 void set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* source
_code_info); |
566 | 468 |
567 // optional string syntax = 12; | 469 // optional string syntax = 12; |
568 bool has_syntax() const; | 470 bool has_syntax() const; |
569 void clear_syntax(); | 471 void clear_syntax(); |
570 static const int kSyntaxFieldNumber = 12; | 472 static const int kSyntaxFieldNumber = 12; |
571 const ::std::string& syntax() const; | 473 const ::std::string& syntax() const; |
572 void set_syntax(const ::std::string& value); | 474 void set_syntax(const ::std::string& value); |
573 #if LANG_CXX11 | |
574 void set_syntax(::std::string&& value); | |
575 #endif | |
576 void set_syntax(const char* value); | 475 void set_syntax(const char* value); |
577 void set_syntax(const char* value, size_t size); | 476 void set_syntax(const char* value, size_t size); |
578 ::std::string* mutable_syntax(); | 477 ::std::string* mutable_syntax(); |
579 ::std::string* release_syntax(); | 478 ::std::string* release_syntax(); |
580 void set_allocated_syntax(::std::string* syntax); | 479 void set_allocated_syntax(::std::string* syntax); |
581 | 480 |
582 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto) | 481 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto) |
583 private: | 482 private: |
584 void set_has_name(); | 483 inline void set_has_name(); |
585 void clear_has_name(); | 484 inline void clear_has_name(); |
586 void set_has_package(); | 485 inline void set_has_package(); |
587 void clear_has_package(); | 486 inline void clear_has_package(); |
588 void set_has_options(); | 487 inline void set_has_options(); |
589 void clear_has_options(); | 488 inline void clear_has_options(); |
590 void set_has_source_code_info(); | 489 inline void set_has_source_code_info(); |
591 void clear_has_source_code_info(); | 490 inline void clear_has_source_code_info(); |
592 void set_has_syntax(); | 491 inline void set_has_syntax(); |
593 void clear_has_syntax(); | 492 inline void clear_has_syntax(); |
594 | 493 |
595 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 494 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
596 ::google::protobuf::internal::HasBits<1> _has_bits_; | 495 ::google::protobuf::uint32 _has_bits_[1]; |
597 mutable int _cached_size_; | 496 mutable int _cached_size_; |
| 497 ::google::protobuf::internal::ArenaStringPtr name_; |
| 498 ::google::protobuf::internal::ArenaStringPtr package_; |
598 ::google::protobuf::RepeatedPtrField< ::std::string> dependency_; | 499 ::google::protobuf::RepeatedPtrField< ::std::string> dependency_; |
599 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > public_dependen
cy_; | 500 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > public_dependen
cy_; |
600 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > weak_dependency
_; | 501 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > weak_dependency
_; |
601 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > me
ssage_type_; | 502 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > me
ssage_type_; |
602 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto
> enum_type_; | 503 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto
> enum_type_; |
603 ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorPro
to > service_; | 504 ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorPro
to > service_; |
604 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
> extension_; | 505 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
> extension_; |
605 ::google::protobuf::internal::ArenaStringPtr name_; | |
606 ::google::protobuf::internal::ArenaStringPtr package_; | |
607 ::google::protobuf::internal::ArenaStringPtr syntax_; | |
608 ::google::protobuf::FileOptions* options_; | 506 ::google::protobuf::FileOptions* options_; |
609 ::google::protobuf::SourceCodeInfo* source_code_info_; | 507 ::google::protobuf::SourceCodeInfo* source_code_info_; |
610 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 508 ::google::protobuf::internal::ArenaStringPtr syntax_; |
611 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | 509 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
612 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | 510 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
613 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 511 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
614 | 512 |
| 513 void InitAsDefaultInstance(); |
| 514 static FileDescriptorProto* default_instance_; |
615 }; | 515 }; |
616 // ------------------------------------------------------------------- | 516 // ------------------------------------------------------------------- |
617 | 517 |
618 class LIBPROTOBUF_EXPORT DescriptorProto_ExtensionRange : public ::google::proto
buf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Descri
ptorProto.ExtensionRange) */ { | 518 class LIBPROTOBUF_EXPORT DescriptorProto_ExtensionRange : public ::google::proto
buf::Message { |
619 public: | 519 public: |
620 DescriptorProto_ExtensionRange(); | 520 DescriptorProto_ExtensionRange(); |
621 virtual ~DescriptorProto_ExtensionRange(); | 521 virtual ~DescriptorProto_ExtensionRange(); |
622 | 522 |
623 DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from); | 523 DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from); |
624 | 524 |
625 inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_Extensi
onRange& from) { | 525 inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_Extensi
onRange& from) { |
626 CopyFrom(from); | 526 CopyFrom(from); |
627 return *this; | 527 return *this; |
628 } | 528 } |
629 | 529 |
630 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 530 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
631 return _internal_metadata_.unknown_fields(); | 531 return _internal_metadata_.unknown_fields(); |
632 } | 532 } |
633 | 533 |
634 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 534 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
635 return _internal_metadata_.mutable_unknown_fields(); | 535 return _internal_metadata_.mutable_unknown_fields(); |
636 } | 536 } |
637 | 537 |
638 static const ::google::protobuf::Descriptor* descriptor(); | 538 static const ::google::protobuf::Descriptor* descriptor(); |
639 static const DescriptorProto_ExtensionRange& default_instance(); | 539 static const DescriptorProto_ExtensionRange& default_instance(); |
640 | 540 |
641 static inline const DescriptorProto_ExtensionRange* internal_default_instance(
) { | |
642 return reinterpret_cast<const DescriptorProto_ExtensionRange*>( | |
643 &_DescriptorProto_ExtensionRange_default_instance_); | |
644 } | |
645 | |
646 void Swap(DescriptorProto_ExtensionRange* other); | 541 void Swap(DescriptorProto_ExtensionRange* other); |
647 | 542 |
648 // implements Message ---------------------------------------------- | 543 // implements Message ---------------------------------------------- |
649 | 544 |
650 inline DescriptorProto_ExtensionRange* New() const PROTOBUF_FINAL { return New
(NULL); } | 545 inline DescriptorProto_ExtensionRange* New() const { return New(NULL); } |
651 | 546 |
652 DescriptorProto_ExtensionRange* New(::google::protobuf::Arena* arena) const PR
OTOBUF_FINAL; | 547 DescriptorProto_ExtensionRange* New(::google::protobuf::Arena* arena) const; |
653 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 548 void CopyFrom(const ::google::protobuf::Message& from); |
654 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 549 void MergeFrom(const ::google::protobuf::Message& from); |
655 void CopyFrom(const DescriptorProto_ExtensionRange& from); | 550 void CopyFrom(const DescriptorProto_ExtensionRange& from); |
656 void MergeFrom(const DescriptorProto_ExtensionRange& from); | 551 void MergeFrom(const DescriptorProto_ExtensionRange& from); |
657 void Clear() PROTOBUF_FINAL; | 552 void Clear(); |
658 bool IsInitialized() const PROTOBUF_FINAL; | 553 bool IsInitialized() const; |
659 | 554 |
660 size_t ByteSizeLong() const PROTOBUF_FINAL; | 555 int ByteSize() const; |
661 bool MergePartialFromCodedStream( | 556 bool MergePartialFromCodedStream( |
662 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 557 ::google::protobuf::io::CodedInputStream* input); |
663 void SerializeWithCachedSizes( | 558 void SerializeWithCachedSizes( |
664 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 559 ::google::protobuf::io::CodedOutputStream* output) const; |
665 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 560 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
666 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 561 int GetCachedSize() const { return _cached_size_; } |
667 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
668 const PROTOBUF_FINAL { | |
669 return InternalSerializeWithCachedSizesToArray(false, output); | |
670 } | |
671 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
672 private: | 562 private: |
673 void SharedCtor(); | 563 void SharedCtor(); |
674 void SharedDtor(); | 564 void SharedDtor(); |
675 void SetCachedSize(int size) const PROTOBUF_FINAL; | 565 void SetCachedSize(int size) const; |
676 void InternalSwap(DescriptorProto_ExtensionRange* other); | 566 void InternalSwap(DescriptorProto_ExtensionRange* other); |
677 private: | 567 private: |
678 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 568 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
679 return NULL; | 569 return _internal_metadata_.arena(); |
680 } | 570 } |
681 inline void* MaybeArenaPtr() const { | 571 inline void* MaybeArenaPtr() const { |
682 return NULL; | 572 return _internal_metadata_.raw_arena_ptr(); |
683 } | 573 } |
684 public: | 574 public: |
685 | 575 |
686 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 576 ::google::protobuf::Metadata GetMetadata() const; |
687 | 577 |
688 // nested types ---------------------------------------------------- | 578 // nested types ---------------------------------------------------- |
689 | 579 |
690 // accessors ------------------------------------------------------- | 580 // accessors ------------------------------------------------------- |
691 | 581 |
692 // optional int32 start = 1; | 582 // optional int32 start = 1; |
693 bool has_start() const; | 583 bool has_start() const; |
694 void clear_start(); | 584 void clear_start(); |
695 static const int kStartFieldNumber = 1; | 585 static const int kStartFieldNumber = 1; |
696 ::google::protobuf::int32 start() const; | 586 ::google::protobuf::int32 start() const; |
697 void set_start(::google::protobuf::int32 value); | 587 void set_start(::google::protobuf::int32 value); |
698 | 588 |
699 // optional int32 end = 2; | 589 // optional int32 end = 2; |
700 bool has_end() const; | 590 bool has_end() const; |
701 void clear_end(); | 591 void clear_end(); |
702 static const int kEndFieldNumber = 2; | 592 static const int kEndFieldNumber = 2; |
703 ::google::protobuf::int32 end() const; | 593 ::google::protobuf::int32 end() const; |
704 void set_end(::google::protobuf::int32 value); | 594 void set_end(::google::protobuf::int32 value); |
705 | 595 |
706 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.Extens
ionRange) | 596 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.Extens
ionRange) |
707 private: | 597 private: |
708 void set_has_start(); | 598 inline void set_has_start(); |
709 void clear_has_start(); | 599 inline void clear_has_start(); |
710 void set_has_end(); | 600 inline void set_has_end(); |
711 void clear_has_end(); | 601 inline void clear_has_end(); |
712 | 602 |
713 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 603 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
714 ::google::protobuf::internal::HasBits<1> _has_bits_; | 604 ::google::protobuf::uint32 _has_bits_[1]; |
715 mutable int _cached_size_; | 605 mutable int _cached_size_; |
716 ::google::protobuf::int32 start_; | 606 ::google::protobuf::int32 start_; |
717 ::google::protobuf::int32 end_; | 607 ::google::protobuf::int32 end_; |
718 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 608 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
719 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | 609 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
720 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
721 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 610 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
722 | 611 |
| 612 void InitAsDefaultInstance(); |
| 613 static DescriptorProto_ExtensionRange* default_instance_; |
723 }; | 614 }; |
724 // ------------------------------------------------------------------- | 615 // ------------------------------------------------------------------- |
725 | 616 |
726 class LIBPROTOBUF_EXPORT DescriptorProto_ReservedRange : public ::google::protob
uf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Descrip
torProto.ReservedRange) */ { | 617 class LIBPROTOBUF_EXPORT DescriptorProto_ReservedRange : public ::google::protob
uf::Message { |
727 public: | 618 public: |
728 DescriptorProto_ReservedRange(); | 619 DescriptorProto_ReservedRange(); |
729 virtual ~DescriptorProto_ReservedRange(); | 620 virtual ~DescriptorProto_ReservedRange(); |
730 | 621 |
731 DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from); | 622 DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from); |
732 | 623 |
733 inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_Reserved
Range& from) { | 624 inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_Reserved
Range& from) { |
734 CopyFrom(from); | 625 CopyFrom(from); |
735 return *this; | 626 return *this; |
736 } | 627 } |
737 | 628 |
738 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 629 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
739 return _internal_metadata_.unknown_fields(); | 630 return _internal_metadata_.unknown_fields(); |
740 } | 631 } |
741 | 632 |
742 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 633 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
743 return _internal_metadata_.mutable_unknown_fields(); | 634 return _internal_metadata_.mutable_unknown_fields(); |
744 } | 635 } |
745 | 636 |
746 static const ::google::protobuf::Descriptor* descriptor(); | 637 static const ::google::protobuf::Descriptor* descriptor(); |
747 static const DescriptorProto_ReservedRange& default_instance(); | 638 static const DescriptorProto_ReservedRange& default_instance(); |
748 | 639 |
749 static inline const DescriptorProto_ReservedRange* internal_default_instance()
{ | |
750 return reinterpret_cast<const DescriptorProto_ReservedRange*>( | |
751 &_DescriptorProto_ReservedRange_default_instance_); | |
752 } | |
753 | |
754 void Swap(DescriptorProto_ReservedRange* other); | 640 void Swap(DescriptorProto_ReservedRange* other); |
755 | 641 |
756 // implements Message ---------------------------------------------- | 642 // implements Message ---------------------------------------------- |
757 | 643 |
758 inline DescriptorProto_ReservedRange* New() const PROTOBUF_FINAL { return New(
NULL); } | 644 inline DescriptorProto_ReservedRange* New() const { return New(NULL); } |
759 | 645 |
760 DescriptorProto_ReservedRange* New(::google::protobuf::Arena* arena) const PRO
TOBUF_FINAL; | 646 DescriptorProto_ReservedRange* New(::google::protobuf::Arena* arena) const; |
761 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 647 void CopyFrom(const ::google::protobuf::Message& from); |
762 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 648 void MergeFrom(const ::google::protobuf::Message& from); |
763 void CopyFrom(const DescriptorProto_ReservedRange& from); | 649 void CopyFrom(const DescriptorProto_ReservedRange& from); |
764 void MergeFrom(const DescriptorProto_ReservedRange& from); | 650 void MergeFrom(const DescriptorProto_ReservedRange& from); |
765 void Clear() PROTOBUF_FINAL; | 651 void Clear(); |
766 bool IsInitialized() const PROTOBUF_FINAL; | 652 bool IsInitialized() const; |
767 | 653 |
768 size_t ByteSizeLong() const PROTOBUF_FINAL; | 654 int ByteSize() const; |
769 bool MergePartialFromCodedStream( | 655 bool MergePartialFromCodedStream( |
770 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 656 ::google::protobuf::io::CodedInputStream* input); |
771 void SerializeWithCachedSizes( | 657 void SerializeWithCachedSizes( |
772 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 658 ::google::protobuf::io::CodedOutputStream* output) const; |
773 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 659 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
774 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 660 int GetCachedSize() const { return _cached_size_; } |
775 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
776 const PROTOBUF_FINAL { | |
777 return InternalSerializeWithCachedSizesToArray(false, output); | |
778 } | |
779 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
780 private: | 661 private: |
781 void SharedCtor(); | 662 void SharedCtor(); |
782 void SharedDtor(); | 663 void SharedDtor(); |
783 void SetCachedSize(int size) const PROTOBUF_FINAL; | 664 void SetCachedSize(int size) const; |
784 void InternalSwap(DescriptorProto_ReservedRange* other); | 665 void InternalSwap(DescriptorProto_ReservedRange* other); |
785 private: | 666 private: |
786 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 667 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
787 return NULL; | 668 return _internal_metadata_.arena(); |
788 } | 669 } |
789 inline void* MaybeArenaPtr() const { | 670 inline void* MaybeArenaPtr() const { |
790 return NULL; | 671 return _internal_metadata_.raw_arena_ptr(); |
791 } | 672 } |
792 public: | 673 public: |
793 | 674 |
794 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 675 ::google::protobuf::Metadata GetMetadata() const; |
795 | 676 |
796 // nested types ---------------------------------------------------- | 677 // nested types ---------------------------------------------------- |
797 | 678 |
798 // accessors ------------------------------------------------------- | 679 // accessors ------------------------------------------------------- |
799 | 680 |
800 // optional int32 start = 1; | 681 // optional int32 start = 1; |
801 bool has_start() const; | 682 bool has_start() const; |
802 void clear_start(); | 683 void clear_start(); |
803 static const int kStartFieldNumber = 1; | 684 static const int kStartFieldNumber = 1; |
804 ::google::protobuf::int32 start() const; | 685 ::google::protobuf::int32 start() const; |
805 void set_start(::google::protobuf::int32 value); | 686 void set_start(::google::protobuf::int32 value); |
806 | 687 |
807 // optional int32 end = 2; | 688 // optional int32 end = 2; |
808 bool has_end() const; | 689 bool has_end() const; |
809 void clear_end(); | 690 void clear_end(); |
810 static const int kEndFieldNumber = 2; | 691 static const int kEndFieldNumber = 2; |
811 ::google::protobuf::int32 end() const; | 692 ::google::protobuf::int32 end() const; |
812 void set_end(::google::protobuf::int32 value); | 693 void set_end(::google::protobuf::int32 value); |
813 | 694 |
814 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.Reserv
edRange) | 695 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.Reserv
edRange) |
815 private: | 696 private: |
816 void set_has_start(); | 697 inline void set_has_start(); |
817 void clear_has_start(); | 698 inline void clear_has_start(); |
818 void set_has_end(); | 699 inline void set_has_end(); |
819 void clear_has_end(); | 700 inline void clear_has_end(); |
820 | 701 |
821 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 702 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
822 ::google::protobuf::internal::HasBits<1> _has_bits_; | 703 ::google::protobuf::uint32 _has_bits_[1]; |
823 mutable int _cached_size_; | 704 mutable int _cached_size_; |
824 ::google::protobuf::int32 start_; | 705 ::google::protobuf::int32 start_; |
825 ::google::protobuf::int32 end_; | 706 ::google::protobuf::int32 end_; |
826 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 707 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
827 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | 708 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
828 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
829 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 709 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
830 | 710 |
| 711 void InitAsDefaultInstance(); |
| 712 static DescriptorProto_ReservedRange* default_instance_; |
831 }; | 713 }; |
832 // ------------------------------------------------------------------- | 714 // ------------------------------------------------------------------- |
833 | 715 |
834 class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message /*
@@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto) */ { | 716 class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message { |
835 public: | 717 public: |
836 DescriptorProto(); | 718 DescriptorProto(); |
837 virtual ~DescriptorProto(); | 719 virtual ~DescriptorProto(); |
838 | 720 |
839 DescriptorProto(const DescriptorProto& from); | 721 DescriptorProto(const DescriptorProto& from); |
840 | 722 |
841 inline DescriptorProto& operator=(const DescriptorProto& from) { | 723 inline DescriptorProto& operator=(const DescriptorProto& from) { |
842 CopyFrom(from); | 724 CopyFrom(from); |
843 return *this; | 725 return *this; |
844 } | 726 } |
845 | 727 |
846 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 728 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
847 return _internal_metadata_.unknown_fields(); | 729 return _internal_metadata_.unknown_fields(); |
848 } | 730 } |
849 | 731 |
850 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 732 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
851 return _internal_metadata_.mutable_unknown_fields(); | 733 return _internal_metadata_.mutable_unknown_fields(); |
852 } | 734 } |
853 | 735 |
854 static const ::google::protobuf::Descriptor* descriptor(); | 736 static const ::google::protobuf::Descriptor* descriptor(); |
855 static const DescriptorProto& default_instance(); | 737 static const DescriptorProto& default_instance(); |
856 | 738 |
857 static inline const DescriptorProto* internal_default_instance() { | |
858 return reinterpret_cast<const DescriptorProto*>( | |
859 &_DescriptorProto_default_instance_); | |
860 } | |
861 | |
862 void Swap(DescriptorProto* other); | 739 void Swap(DescriptorProto* other); |
863 | 740 |
864 // implements Message ---------------------------------------------- | 741 // implements Message ---------------------------------------------- |
865 | 742 |
866 inline DescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); } | 743 inline DescriptorProto* New() const { return New(NULL); } |
867 | 744 |
868 DescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; | 745 DescriptorProto* New(::google::protobuf::Arena* arena) const; |
869 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 746 void CopyFrom(const ::google::protobuf::Message& from); |
870 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 747 void MergeFrom(const ::google::protobuf::Message& from); |
871 void CopyFrom(const DescriptorProto& from); | 748 void CopyFrom(const DescriptorProto& from); |
872 void MergeFrom(const DescriptorProto& from); | 749 void MergeFrom(const DescriptorProto& from); |
873 void Clear() PROTOBUF_FINAL; | 750 void Clear(); |
874 bool IsInitialized() const PROTOBUF_FINAL; | 751 bool IsInitialized() const; |
875 | 752 |
876 size_t ByteSizeLong() const PROTOBUF_FINAL; | 753 int ByteSize() const; |
877 bool MergePartialFromCodedStream( | 754 bool MergePartialFromCodedStream( |
878 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 755 ::google::protobuf::io::CodedInputStream* input); |
879 void SerializeWithCachedSizes( | 756 void SerializeWithCachedSizes( |
880 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 757 ::google::protobuf::io::CodedOutputStream* output) const; |
881 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 758 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
882 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 759 int GetCachedSize() const { return _cached_size_; } |
883 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
884 const PROTOBUF_FINAL { | |
885 return InternalSerializeWithCachedSizesToArray(false, output); | |
886 } | |
887 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
888 private: | 760 private: |
889 void SharedCtor(); | 761 void SharedCtor(); |
890 void SharedDtor(); | 762 void SharedDtor(); |
891 void SetCachedSize(int size) const PROTOBUF_FINAL; | 763 void SetCachedSize(int size) const; |
892 void InternalSwap(DescriptorProto* other); | 764 void InternalSwap(DescriptorProto* other); |
893 private: | 765 private: |
894 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 766 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
895 return NULL; | 767 return _internal_metadata_.arena(); |
896 } | 768 } |
897 inline void* MaybeArenaPtr() const { | 769 inline void* MaybeArenaPtr() const { |
898 return NULL; | 770 return _internal_metadata_.raw_arena_ptr(); |
899 } | 771 } |
900 public: | 772 public: |
901 | 773 |
902 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 774 ::google::protobuf::Metadata GetMetadata() const; |
903 | 775 |
904 // nested types ---------------------------------------------------- | 776 // nested types ---------------------------------------------------- |
905 | 777 |
906 typedef DescriptorProto_ExtensionRange ExtensionRange; | 778 typedef DescriptorProto_ExtensionRange ExtensionRange; |
907 typedef DescriptorProto_ReservedRange ReservedRange; | 779 typedef DescriptorProto_ReservedRange ReservedRange; |
908 | 780 |
909 // accessors ------------------------------------------------------- | 781 // accessors ------------------------------------------------------- |
910 | 782 |
911 // optional string name = 1; | 783 // optional string name = 1; |
912 bool has_name() const; | 784 bool has_name() const; |
913 void clear_name(); | 785 void clear_name(); |
914 static const int kNameFieldNumber = 1; | 786 static const int kNameFieldNumber = 1; |
915 const ::std::string& name() const; | 787 const ::std::string& name() const; |
916 void set_name(const ::std::string& value); | 788 void set_name(const ::std::string& value); |
917 #if LANG_CXX11 | |
918 void set_name(::std::string&& value); | |
919 #endif | |
920 void set_name(const char* value); | 789 void set_name(const char* value); |
921 void set_name(const char* value, size_t size); | 790 void set_name(const char* value, size_t size); |
922 ::std::string* mutable_name(); | 791 ::std::string* mutable_name(); |
923 ::std::string* release_name(); | 792 ::std::string* release_name(); |
924 void set_allocated_name(::std::string* name); | 793 void set_allocated_name(::std::string* name); |
925 | 794 |
926 // repeated .google.protobuf.FieldDescriptorProto field = 2; | 795 // repeated .google.protobuf.FieldDescriptorProto field = 2; |
927 int field_size() const; | 796 int field_size() const; |
928 void clear_field(); | 797 void clear_field(); |
929 static const int kFieldFieldNumber = 2; | 798 static const int kFieldFieldNumber = 2; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1027 void set_reserved_name(int index, const char* value, size_t size); | 896 void set_reserved_name(int index, const char* value, size_t size); |
1028 ::std::string* add_reserved_name(); | 897 ::std::string* add_reserved_name(); |
1029 void add_reserved_name(const ::std::string& value); | 898 void add_reserved_name(const ::std::string& value); |
1030 void add_reserved_name(const char* value); | 899 void add_reserved_name(const char* value); |
1031 void add_reserved_name(const char* value, size_t size); | 900 void add_reserved_name(const char* value, size_t size); |
1032 const ::google::protobuf::RepeatedPtrField< ::std::string>& reserved_name() co
nst; | 901 const ::google::protobuf::RepeatedPtrField< ::std::string>& reserved_name() co
nst; |
1033 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_reserved_name(); | 902 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_reserved_name(); |
1034 | 903 |
1035 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto) | 904 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto) |
1036 private: | 905 private: |
1037 void set_has_name(); | 906 inline void set_has_name(); |
1038 void clear_has_name(); | 907 inline void clear_has_name(); |
1039 void set_has_options(); | 908 inline void set_has_options(); |
1040 void clear_has_options(); | 909 inline void clear_has_options(); |
1041 | 910 |
1042 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 911 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1043 ::google::protobuf::internal::HasBits<1> _has_bits_; | 912 ::google::protobuf::uint32 _has_bits_[1]; |
1044 mutable int _cached_size_; | 913 mutable int _cached_size_; |
| 914 ::google::protobuf::internal::ArenaStringPtr name_; |
1045 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
> field_; | 915 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
> field_; |
1046 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
> extension_; | 916 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
> extension_; |
1047 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > ne
sted_type_; | 917 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > ne
sted_type_; |
1048 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto
> enum_type_; | 918 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto
> enum_type_; |
1049 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Exte
nsionRange > extension_range_; | 919 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Exte
nsionRange > extension_range_; |
1050 ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto
> oneof_decl_; | 920 ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto
> oneof_decl_; |
| 921 ::google::protobuf::MessageOptions* options_; |
1051 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Rese
rvedRange > reserved_range_; | 922 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Rese
rvedRange > reserved_range_; |
1052 ::google::protobuf::RepeatedPtrField< ::std::string> reserved_name_; | 923 ::google::protobuf::RepeatedPtrField< ::std::string> reserved_name_; |
1053 ::google::protobuf::internal::ArenaStringPtr name_; | 924 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
1054 ::google::protobuf::MessageOptions* options_; | 925 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
1055 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | |
1056 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | |
1057 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
1058 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 926 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
1059 | 927 |
| 928 void InitAsDefaultInstance(); |
| 929 static DescriptorProto* default_instance_; |
1060 }; | 930 }; |
1061 // ------------------------------------------------------------------- | 931 // ------------------------------------------------------------------- |
1062 | 932 |
1063 class LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Messa
ge /* @@protoc_insertion_point(class_definition:google.protobuf.FieldDescriptorP
roto) */ { | 933 class LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Messa
ge { |
1064 public: | 934 public: |
1065 FieldDescriptorProto(); | 935 FieldDescriptorProto(); |
1066 virtual ~FieldDescriptorProto(); | 936 virtual ~FieldDescriptorProto(); |
1067 | 937 |
1068 FieldDescriptorProto(const FieldDescriptorProto& from); | 938 FieldDescriptorProto(const FieldDescriptorProto& from); |
1069 | 939 |
1070 inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) { | 940 inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) { |
1071 CopyFrom(from); | 941 CopyFrom(from); |
1072 return *this; | 942 return *this; |
1073 } | 943 } |
1074 | 944 |
1075 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 945 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1076 return _internal_metadata_.unknown_fields(); | 946 return _internal_metadata_.unknown_fields(); |
1077 } | 947 } |
1078 | 948 |
1079 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 949 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1080 return _internal_metadata_.mutable_unknown_fields(); | 950 return _internal_metadata_.mutable_unknown_fields(); |
1081 } | 951 } |
1082 | 952 |
1083 static const ::google::protobuf::Descriptor* descriptor(); | 953 static const ::google::protobuf::Descriptor* descriptor(); |
1084 static const FieldDescriptorProto& default_instance(); | 954 static const FieldDescriptorProto& default_instance(); |
1085 | 955 |
1086 static inline const FieldDescriptorProto* internal_default_instance() { | |
1087 return reinterpret_cast<const FieldDescriptorProto*>( | |
1088 &_FieldDescriptorProto_default_instance_); | |
1089 } | |
1090 | |
1091 void Swap(FieldDescriptorProto* other); | 956 void Swap(FieldDescriptorProto* other); |
1092 | 957 |
1093 // implements Message ---------------------------------------------- | 958 // implements Message ---------------------------------------------- |
1094 | 959 |
1095 inline FieldDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); } | 960 inline FieldDescriptorProto* New() const { return New(NULL); } |
1096 | 961 |
1097 FieldDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FIN
AL; | 962 FieldDescriptorProto* New(::google::protobuf::Arena* arena) const; |
1098 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 963 void CopyFrom(const ::google::protobuf::Message& from); |
1099 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 964 void MergeFrom(const ::google::protobuf::Message& from); |
1100 void CopyFrom(const FieldDescriptorProto& from); | 965 void CopyFrom(const FieldDescriptorProto& from); |
1101 void MergeFrom(const FieldDescriptorProto& from); | 966 void MergeFrom(const FieldDescriptorProto& from); |
1102 void Clear() PROTOBUF_FINAL; | 967 void Clear(); |
1103 bool IsInitialized() const PROTOBUF_FINAL; | 968 bool IsInitialized() const; |
1104 | 969 |
1105 size_t ByteSizeLong() const PROTOBUF_FINAL; | 970 int ByteSize() const; |
1106 bool MergePartialFromCodedStream( | 971 bool MergePartialFromCodedStream( |
1107 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 972 ::google::protobuf::io::CodedInputStream* input); |
1108 void SerializeWithCachedSizes( | 973 void SerializeWithCachedSizes( |
1109 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 974 ::google::protobuf::io::CodedOutputStream* output) const; |
1110 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 975 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
1111 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 976 int GetCachedSize() const { return _cached_size_; } |
1112 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
1113 const PROTOBUF_FINAL { | |
1114 return InternalSerializeWithCachedSizesToArray(false, output); | |
1115 } | |
1116 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
1117 private: | 977 private: |
1118 void SharedCtor(); | 978 void SharedCtor(); |
1119 void SharedDtor(); | 979 void SharedDtor(); |
1120 void SetCachedSize(int size) const PROTOBUF_FINAL; | 980 void SetCachedSize(int size) const; |
1121 void InternalSwap(FieldDescriptorProto* other); | 981 void InternalSwap(FieldDescriptorProto* other); |
1122 private: | 982 private: |
1123 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 983 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1124 return NULL; | 984 return _internal_metadata_.arena(); |
1125 } | 985 } |
1126 inline void* MaybeArenaPtr() const { | 986 inline void* MaybeArenaPtr() const { |
1127 return NULL; | 987 return _internal_metadata_.raw_arena_ptr(); |
1128 } | 988 } |
1129 public: | 989 public: |
1130 | 990 |
1131 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 991 ::google::protobuf::Metadata GetMetadata() const; |
1132 | 992 |
1133 // nested types ---------------------------------------------------- | 993 // nested types ---------------------------------------------------- |
1134 | 994 |
1135 typedef FieldDescriptorProto_Type Type; | 995 typedef FieldDescriptorProto_Type Type; |
1136 static const Type TYPE_DOUBLE = | 996 static const Type TYPE_DOUBLE = |
1137 FieldDescriptorProto_Type_TYPE_DOUBLE; | 997 FieldDescriptorProto_Type_TYPE_DOUBLE; |
1138 static const Type TYPE_FLOAT = | 998 static const Type TYPE_FLOAT = |
1139 FieldDescriptorProto_Type_TYPE_FLOAT; | 999 FieldDescriptorProto_Type_TYPE_FLOAT; |
1140 static const Type TYPE_INT64 = | 1000 static const Type TYPE_INT64 = |
1141 FieldDescriptorProto_Type_TYPE_INT64; | 1001 FieldDescriptorProto_Type_TYPE_INT64; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1219 } | 1079 } |
1220 | 1080 |
1221 // accessors ------------------------------------------------------- | 1081 // accessors ------------------------------------------------------- |
1222 | 1082 |
1223 // optional string name = 1; | 1083 // optional string name = 1; |
1224 bool has_name() const; | 1084 bool has_name() const; |
1225 void clear_name(); | 1085 void clear_name(); |
1226 static const int kNameFieldNumber = 1; | 1086 static const int kNameFieldNumber = 1; |
1227 const ::std::string& name() const; | 1087 const ::std::string& name() const; |
1228 void set_name(const ::std::string& value); | 1088 void set_name(const ::std::string& value); |
1229 #if LANG_CXX11 | |
1230 void set_name(::std::string&& value); | |
1231 #endif | |
1232 void set_name(const char* value); | 1089 void set_name(const char* value); |
1233 void set_name(const char* value, size_t size); | 1090 void set_name(const char* value, size_t size); |
1234 ::std::string* mutable_name(); | 1091 ::std::string* mutable_name(); |
1235 ::std::string* release_name(); | 1092 ::std::string* release_name(); |
1236 void set_allocated_name(::std::string* name); | 1093 void set_allocated_name(::std::string* name); |
1237 | 1094 |
1238 // optional int32 number = 3; | 1095 // optional int32 number = 3; |
1239 bool has_number() const; | 1096 bool has_number() const; |
1240 void clear_number(); | 1097 void clear_number(); |
1241 static const int kNumberFieldNumber = 3; | 1098 static const int kNumberFieldNumber = 3; |
(...skipping 13 matching lines...) Expand all Loading... |
1255 static const int kTypeFieldNumber = 5; | 1112 static const int kTypeFieldNumber = 5; |
1256 ::google::protobuf::FieldDescriptorProto_Type type() const; | 1113 ::google::protobuf::FieldDescriptorProto_Type type() const; |
1257 void set_type(::google::protobuf::FieldDescriptorProto_Type value); | 1114 void set_type(::google::protobuf::FieldDescriptorProto_Type value); |
1258 | 1115 |
1259 // optional string type_name = 6; | 1116 // optional string type_name = 6; |
1260 bool has_type_name() const; | 1117 bool has_type_name() const; |
1261 void clear_type_name(); | 1118 void clear_type_name(); |
1262 static const int kTypeNameFieldNumber = 6; | 1119 static const int kTypeNameFieldNumber = 6; |
1263 const ::std::string& type_name() const; | 1120 const ::std::string& type_name() const; |
1264 void set_type_name(const ::std::string& value); | 1121 void set_type_name(const ::std::string& value); |
1265 #if LANG_CXX11 | |
1266 void set_type_name(::std::string&& value); | |
1267 #endif | |
1268 void set_type_name(const char* value); | 1122 void set_type_name(const char* value); |
1269 void set_type_name(const char* value, size_t size); | 1123 void set_type_name(const char* value, size_t size); |
1270 ::std::string* mutable_type_name(); | 1124 ::std::string* mutable_type_name(); |
1271 ::std::string* release_type_name(); | 1125 ::std::string* release_type_name(); |
1272 void set_allocated_type_name(::std::string* type_name); | 1126 void set_allocated_type_name(::std::string* type_name); |
1273 | 1127 |
1274 // optional string extendee = 2; | 1128 // optional string extendee = 2; |
1275 bool has_extendee() const; | 1129 bool has_extendee() const; |
1276 void clear_extendee(); | 1130 void clear_extendee(); |
1277 static const int kExtendeeFieldNumber = 2; | 1131 static const int kExtendeeFieldNumber = 2; |
1278 const ::std::string& extendee() const; | 1132 const ::std::string& extendee() const; |
1279 void set_extendee(const ::std::string& value); | 1133 void set_extendee(const ::std::string& value); |
1280 #if LANG_CXX11 | |
1281 void set_extendee(::std::string&& value); | |
1282 #endif | |
1283 void set_extendee(const char* value); | 1134 void set_extendee(const char* value); |
1284 void set_extendee(const char* value, size_t size); | 1135 void set_extendee(const char* value, size_t size); |
1285 ::std::string* mutable_extendee(); | 1136 ::std::string* mutable_extendee(); |
1286 ::std::string* release_extendee(); | 1137 ::std::string* release_extendee(); |
1287 void set_allocated_extendee(::std::string* extendee); | 1138 void set_allocated_extendee(::std::string* extendee); |
1288 | 1139 |
1289 // optional string default_value = 7; | 1140 // optional string default_value = 7; |
1290 bool has_default_value() const; | 1141 bool has_default_value() const; |
1291 void clear_default_value(); | 1142 void clear_default_value(); |
1292 static const int kDefaultValueFieldNumber = 7; | 1143 static const int kDefaultValueFieldNumber = 7; |
1293 const ::std::string& default_value() const; | 1144 const ::std::string& default_value() const; |
1294 void set_default_value(const ::std::string& value); | 1145 void set_default_value(const ::std::string& value); |
1295 #if LANG_CXX11 | |
1296 void set_default_value(::std::string&& value); | |
1297 #endif | |
1298 void set_default_value(const char* value); | 1146 void set_default_value(const char* value); |
1299 void set_default_value(const char* value, size_t size); | 1147 void set_default_value(const char* value, size_t size); |
1300 ::std::string* mutable_default_value(); | 1148 ::std::string* mutable_default_value(); |
1301 ::std::string* release_default_value(); | 1149 ::std::string* release_default_value(); |
1302 void set_allocated_default_value(::std::string* default_value); | 1150 void set_allocated_default_value(::std::string* default_value); |
1303 | 1151 |
1304 // optional int32 oneof_index = 9; | 1152 // optional int32 oneof_index = 9; |
1305 bool has_oneof_index() const; | 1153 bool has_oneof_index() const; |
1306 void clear_oneof_index(); | 1154 void clear_oneof_index(); |
1307 static const int kOneofIndexFieldNumber = 9; | 1155 static const int kOneofIndexFieldNumber = 9; |
1308 ::google::protobuf::int32 oneof_index() const; | 1156 ::google::protobuf::int32 oneof_index() const; |
1309 void set_oneof_index(::google::protobuf::int32 value); | 1157 void set_oneof_index(::google::protobuf::int32 value); |
1310 | 1158 |
1311 // optional string json_name = 10; | 1159 // optional string json_name = 10; |
1312 bool has_json_name() const; | 1160 bool has_json_name() const; |
1313 void clear_json_name(); | 1161 void clear_json_name(); |
1314 static const int kJsonNameFieldNumber = 10; | 1162 static const int kJsonNameFieldNumber = 10; |
1315 const ::std::string& json_name() const; | 1163 const ::std::string& json_name() const; |
1316 void set_json_name(const ::std::string& value); | 1164 void set_json_name(const ::std::string& value); |
1317 #if LANG_CXX11 | |
1318 void set_json_name(::std::string&& value); | |
1319 #endif | |
1320 void set_json_name(const char* value); | 1165 void set_json_name(const char* value); |
1321 void set_json_name(const char* value, size_t size); | 1166 void set_json_name(const char* value, size_t size); |
1322 ::std::string* mutable_json_name(); | 1167 ::std::string* mutable_json_name(); |
1323 ::std::string* release_json_name(); | 1168 ::std::string* release_json_name(); |
1324 void set_allocated_json_name(::std::string* json_name); | 1169 void set_allocated_json_name(::std::string* json_name); |
1325 | 1170 |
1326 // optional .google.protobuf.FieldOptions options = 8; | 1171 // optional .google.protobuf.FieldOptions options = 8; |
1327 bool has_options() const; | 1172 bool has_options() const; |
1328 void clear_options(); | 1173 void clear_options(); |
1329 static const int kOptionsFieldNumber = 8; | 1174 static const int kOptionsFieldNumber = 8; |
1330 const ::google::protobuf::FieldOptions& options() const; | 1175 const ::google::protobuf::FieldOptions& options() const; |
1331 ::google::protobuf::FieldOptions* mutable_options(); | 1176 ::google::protobuf::FieldOptions* mutable_options(); |
1332 ::google::protobuf::FieldOptions* release_options(); | 1177 ::google::protobuf::FieldOptions* release_options(); |
1333 void set_allocated_options(::google::protobuf::FieldOptions* options); | 1178 void set_allocated_options(::google::protobuf::FieldOptions* options); |
1334 | 1179 |
1335 // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto) | 1180 // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto) |
1336 private: | 1181 private: |
1337 void set_has_name(); | 1182 inline void set_has_name(); |
1338 void clear_has_name(); | 1183 inline void clear_has_name(); |
1339 void set_has_number(); | 1184 inline void set_has_number(); |
1340 void clear_has_number(); | 1185 inline void clear_has_number(); |
1341 void set_has_label(); | 1186 inline void set_has_label(); |
1342 void clear_has_label(); | 1187 inline void clear_has_label(); |
1343 void set_has_type(); | 1188 inline void set_has_type(); |
1344 void clear_has_type(); | 1189 inline void clear_has_type(); |
1345 void set_has_type_name(); | 1190 inline void set_has_type_name(); |
1346 void clear_has_type_name(); | 1191 inline void clear_has_type_name(); |
1347 void set_has_extendee(); | 1192 inline void set_has_extendee(); |
1348 void clear_has_extendee(); | 1193 inline void clear_has_extendee(); |
1349 void set_has_default_value(); | 1194 inline void set_has_default_value(); |
1350 void clear_has_default_value(); | 1195 inline void clear_has_default_value(); |
1351 void set_has_oneof_index(); | 1196 inline void set_has_oneof_index(); |
1352 void clear_has_oneof_index(); | 1197 inline void clear_has_oneof_index(); |
1353 void set_has_json_name(); | 1198 inline void set_has_json_name(); |
1354 void clear_has_json_name(); | 1199 inline void clear_has_json_name(); |
1355 void set_has_options(); | 1200 inline void set_has_options(); |
1356 void clear_has_options(); | 1201 inline void clear_has_options(); |
1357 | 1202 |
1358 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 1203 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1359 ::google::protobuf::internal::HasBits<1> _has_bits_; | 1204 ::google::protobuf::uint32 _has_bits_[1]; |
1360 mutable int _cached_size_; | 1205 mutable int _cached_size_; |
1361 ::google::protobuf::internal::ArenaStringPtr name_; | 1206 ::google::protobuf::internal::ArenaStringPtr name_; |
| 1207 ::google::protobuf::int32 number_; |
| 1208 int label_; |
1362 ::google::protobuf::internal::ArenaStringPtr type_name_; | 1209 ::google::protobuf::internal::ArenaStringPtr type_name_; |
1363 ::google::protobuf::internal::ArenaStringPtr extendee_; | 1210 ::google::protobuf::internal::ArenaStringPtr extendee_; |
| 1211 int type_; |
| 1212 ::google::protobuf::int32 oneof_index_; |
1364 ::google::protobuf::internal::ArenaStringPtr default_value_; | 1213 ::google::protobuf::internal::ArenaStringPtr default_value_; |
1365 ::google::protobuf::internal::ArenaStringPtr json_name_; | 1214 ::google::protobuf::internal::ArenaStringPtr json_name_; |
1366 ::google::protobuf::FieldOptions* options_; | 1215 ::google::protobuf::FieldOptions* options_; |
1367 ::google::protobuf::int32 number_; | 1216 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
1368 ::google::protobuf::int32 oneof_index_; | 1217 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
1369 int label_; | |
1370 int type_; | |
1371 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | |
1372 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | |
1373 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
1374 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 1218 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
1375 | 1219 |
| 1220 void InitAsDefaultInstance(); |
| 1221 static FieldDescriptorProto* default_instance_; |
1376 }; | 1222 }; |
1377 // ------------------------------------------------------------------- | 1223 // ------------------------------------------------------------------- |
1378 | 1224 |
1379 class LIBPROTOBUF_EXPORT OneofDescriptorProto : public ::google::protobuf::Messa
ge /* @@protoc_insertion_point(class_definition:google.protobuf.OneofDescriptorP
roto) */ { | 1225 class LIBPROTOBUF_EXPORT OneofDescriptorProto : public ::google::protobuf::Messa
ge { |
1380 public: | 1226 public: |
1381 OneofDescriptorProto(); | 1227 OneofDescriptorProto(); |
1382 virtual ~OneofDescriptorProto(); | 1228 virtual ~OneofDescriptorProto(); |
1383 | 1229 |
1384 OneofDescriptorProto(const OneofDescriptorProto& from); | 1230 OneofDescriptorProto(const OneofDescriptorProto& from); |
1385 | 1231 |
1386 inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) { | 1232 inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) { |
1387 CopyFrom(from); | 1233 CopyFrom(from); |
1388 return *this; | 1234 return *this; |
1389 } | 1235 } |
1390 | 1236 |
1391 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 1237 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1392 return _internal_metadata_.unknown_fields(); | 1238 return _internal_metadata_.unknown_fields(); |
1393 } | 1239 } |
1394 | 1240 |
1395 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 1241 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1396 return _internal_metadata_.mutable_unknown_fields(); | 1242 return _internal_metadata_.mutable_unknown_fields(); |
1397 } | 1243 } |
1398 | 1244 |
1399 static const ::google::protobuf::Descriptor* descriptor(); | 1245 static const ::google::protobuf::Descriptor* descriptor(); |
1400 static const OneofDescriptorProto& default_instance(); | 1246 static const OneofDescriptorProto& default_instance(); |
1401 | 1247 |
1402 static inline const OneofDescriptorProto* internal_default_instance() { | |
1403 return reinterpret_cast<const OneofDescriptorProto*>( | |
1404 &_OneofDescriptorProto_default_instance_); | |
1405 } | |
1406 | |
1407 void Swap(OneofDescriptorProto* other); | 1248 void Swap(OneofDescriptorProto* other); |
1408 | 1249 |
1409 // implements Message ---------------------------------------------- | 1250 // implements Message ---------------------------------------------- |
1410 | 1251 |
1411 inline OneofDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); } | 1252 inline OneofDescriptorProto* New() const { return New(NULL); } |
1412 | 1253 |
1413 OneofDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FIN
AL; | 1254 OneofDescriptorProto* New(::google::protobuf::Arena* arena) const; |
1414 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 1255 void CopyFrom(const ::google::protobuf::Message& from); |
1415 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 1256 void MergeFrom(const ::google::protobuf::Message& from); |
1416 void CopyFrom(const OneofDescriptorProto& from); | 1257 void CopyFrom(const OneofDescriptorProto& from); |
1417 void MergeFrom(const OneofDescriptorProto& from); | 1258 void MergeFrom(const OneofDescriptorProto& from); |
1418 void Clear() PROTOBUF_FINAL; | 1259 void Clear(); |
1419 bool IsInitialized() const PROTOBUF_FINAL; | 1260 bool IsInitialized() const; |
1420 | 1261 |
1421 size_t ByteSizeLong() const PROTOBUF_FINAL; | 1262 int ByteSize() const; |
1422 bool MergePartialFromCodedStream( | 1263 bool MergePartialFromCodedStream( |
1423 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 1264 ::google::protobuf::io::CodedInputStream* input); |
1424 void SerializeWithCachedSizes( | 1265 void SerializeWithCachedSizes( |
1425 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 1266 ::google::protobuf::io::CodedOutputStream* output) const; |
1426 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 1267 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
1427 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 1268 int GetCachedSize() const { return _cached_size_; } |
1428 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
1429 const PROTOBUF_FINAL { | |
1430 return InternalSerializeWithCachedSizesToArray(false, output); | |
1431 } | |
1432 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
1433 private: | 1269 private: |
1434 void SharedCtor(); | 1270 void SharedCtor(); |
1435 void SharedDtor(); | 1271 void SharedDtor(); |
1436 void SetCachedSize(int size) const PROTOBUF_FINAL; | 1272 void SetCachedSize(int size) const; |
1437 void InternalSwap(OneofDescriptorProto* other); | 1273 void InternalSwap(OneofDescriptorProto* other); |
1438 private: | 1274 private: |
1439 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 1275 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1440 return NULL; | 1276 return _internal_metadata_.arena(); |
1441 } | 1277 } |
1442 inline void* MaybeArenaPtr() const { | 1278 inline void* MaybeArenaPtr() const { |
1443 return NULL; | 1279 return _internal_metadata_.raw_arena_ptr(); |
1444 } | 1280 } |
1445 public: | 1281 public: |
1446 | 1282 |
1447 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 1283 ::google::protobuf::Metadata GetMetadata() const; |
1448 | 1284 |
1449 // nested types ---------------------------------------------------- | 1285 // nested types ---------------------------------------------------- |
1450 | 1286 |
1451 // accessors ------------------------------------------------------- | 1287 // accessors ------------------------------------------------------- |
1452 | 1288 |
1453 // optional string name = 1; | 1289 // optional string name = 1; |
1454 bool has_name() const; | 1290 bool has_name() const; |
1455 void clear_name(); | 1291 void clear_name(); |
1456 static const int kNameFieldNumber = 1; | 1292 static const int kNameFieldNumber = 1; |
1457 const ::std::string& name() const; | 1293 const ::std::string& name() const; |
1458 void set_name(const ::std::string& value); | 1294 void set_name(const ::std::string& value); |
1459 #if LANG_CXX11 | |
1460 void set_name(::std::string&& value); | |
1461 #endif | |
1462 void set_name(const char* value); | 1295 void set_name(const char* value); |
1463 void set_name(const char* value, size_t size); | 1296 void set_name(const char* value, size_t size); |
1464 ::std::string* mutable_name(); | 1297 ::std::string* mutable_name(); |
1465 ::std::string* release_name(); | 1298 ::std::string* release_name(); |
1466 void set_allocated_name(::std::string* name); | 1299 void set_allocated_name(::std::string* name); |
1467 | 1300 |
1468 // optional .google.protobuf.OneofOptions options = 2; | |
1469 bool has_options() const; | |
1470 void clear_options(); | |
1471 static const int kOptionsFieldNumber = 2; | |
1472 const ::google::protobuf::OneofOptions& options() const; | |
1473 ::google::protobuf::OneofOptions* mutable_options(); | |
1474 ::google::protobuf::OneofOptions* release_options(); | |
1475 void set_allocated_options(::google::protobuf::OneofOptions* options); | |
1476 | |
1477 // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto) | 1301 // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto) |
1478 private: | 1302 private: |
1479 void set_has_name(); | 1303 inline void set_has_name(); |
1480 void clear_has_name(); | 1304 inline void clear_has_name(); |
1481 void set_has_options(); | |
1482 void clear_has_options(); | |
1483 | 1305 |
1484 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 1306 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1485 ::google::protobuf::internal::HasBits<1> _has_bits_; | 1307 ::google::protobuf::uint32 _has_bits_[1]; |
1486 mutable int _cached_size_; | 1308 mutable int _cached_size_; |
1487 ::google::protobuf::internal::ArenaStringPtr name_; | 1309 ::google::protobuf::internal::ArenaStringPtr name_; |
1488 ::google::protobuf::OneofOptions* options_; | 1310 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
1489 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 1311 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
1490 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | |
1491 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
1492 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 1312 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
1493 | 1313 |
| 1314 void InitAsDefaultInstance(); |
| 1315 static OneofDescriptorProto* default_instance_; |
1494 }; | 1316 }; |
1495 // ------------------------------------------------------------------- | 1317 // ------------------------------------------------------------------- |
1496 | 1318 |
1497 class LIBPROTOBUF_EXPORT EnumDescriptorProto : public ::google::protobuf::Messag
e /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorPro
to) */ { | 1319 class LIBPROTOBUF_EXPORT EnumDescriptorProto : public ::google::protobuf::Messag
e { |
1498 public: | 1320 public: |
1499 EnumDescriptorProto(); | 1321 EnumDescriptorProto(); |
1500 virtual ~EnumDescriptorProto(); | 1322 virtual ~EnumDescriptorProto(); |
1501 | 1323 |
1502 EnumDescriptorProto(const EnumDescriptorProto& from); | 1324 EnumDescriptorProto(const EnumDescriptorProto& from); |
1503 | 1325 |
1504 inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) { | 1326 inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) { |
1505 CopyFrom(from); | 1327 CopyFrom(from); |
1506 return *this; | 1328 return *this; |
1507 } | 1329 } |
1508 | 1330 |
1509 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 1331 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1510 return _internal_metadata_.unknown_fields(); | 1332 return _internal_metadata_.unknown_fields(); |
1511 } | 1333 } |
1512 | 1334 |
1513 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 1335 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1514 return _internal_metadata_.mutable_unknown_fields(); | 1336 return _internal_metadata_.mutable_unknown_fields(); |
1515 } | 1337 } |
1516 | 1338 |
1517 static const ::google::protobuf::Descriptor* descriptor(); | 1339 static const ::google::protobuf::Descriptor* descriptor(); |
1518 static const EnumDescriptorProto& default_instance(); | 1340 static const EnumDescriptorProto& default_instance(); |
1519 | 1341 |
1520 static inline const EnumDescriptorProto* internal_default_instance() { | |
1521 return reinterpret_cast<const EnumDescriptorProto*>( | |
1522 &_EnumDescriptorProto_default_instance_); | |
1523 } | |
1524 | |
1525 void Swap(EnumDescriptorProto* other); | 1342 void Swap(EnumDescriptorProto* other); |
1526 | 1343 |
1527 // implements Message ---------------------------------------------- | 1344 // implements Message ---------------------------------------------- |
1528 | 1345 |
1529 inline EnumDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); } | 1346 inline EnumDescriptorProto* New() const { return New(NULL); } |
1530 | 1347 |
1531 EnumDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINA
L; | 1348 EnumDescriptorProto* New(::google::protobuf::Arena* arena) const; |
1532 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 1349 void CopyFrom(const ::google::protobuf::Message& from); |
1533 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 1350 void MergeFrom(const ::google::protobuf::Message& from); |
1534 void CopyFrom(const EnumDescriptorProto& from); | 1351 void CopyFrom(const EnumDescriptorProto& from); |
1535 void MergeFrom(const EnumDescriptorProto& from); | 1352 void MergeFrom(const EnumDescriptorProto& from); |
1536 void Clear() PROTOBUF_FINAL; | 1353 void Clear(); |
1537 bool IsInitialized() const PROTOBUF_FINAL; | 1354 bool IsInitialized() const; |
1538 | 1355 |
1539 size_t ByteSizeLong() const PROTOBUF_FINAL; | 1356 int ByteSize() const; |
1540 bool MergePartialFromCodedStream( | 1357 bool MergePartialFromCodedStream( |
1541 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 1358 ::google::protobuf::io::CodedInputStream* input); |
1542 void SerializeWithCachedSizes( | 1359 void SerializeWithCachedSizes( |
1543 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 1360 ::google::protobuf::io::CodedOutputStream* output) const; |
1544 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 1361 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
1545 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 1362 int GetCachedSize() const { return _cached_size_; } |
1546 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
1547 const PROTOBUF_FINAL { | |
1548 return InternalSerializeWithCachedSizesToArray(false, output); | |
1549 } | |
1550 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
1551 private: | 1363 private: |
1552 void SharedCtor(); | 1364 void SharedCtor(); |
1553 void SharedDtor(); | 1365 void SharedDtor(); |
1554 void SetCachedSize(int size) const PROTOBUF_FINAL; | 1366 void SetCachedSize(int size) const; |
1555 void InternalSwap(EnumDescriptorProto* other); | 1367 void InternalSwap(EnumDescriptorProto* other); |
1556 private: | 1368 private: |
1557 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 1369 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1558 return NULL; | 1370 return _internal_metadata_.arena(); |
1559 } | 1371 } |
1560 inline void* MaybeArenaPtr() const { | 1372 inline void* MaybeArenaPtr() const { |
1561 return NULL; | 1373 return _internal_metadata_.raw_arena_ptr(); |
1562 } | 1374 } |
1563 public: | 1375 public: |
1564 | 1376 |
1565 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 1377 ::google::protobuf::Metadata GetMetadata() const; |
1566 | 1378 |
1567 // nested types ---------------------------------------------------- | 1379 // nested types ---------------------------------------------------- |
1568 | 1380 |
1569 // accessors ------------------------------------------------------- | 1381 // accessors ------------------------------------------------------- |
1570 | 1382 |
1571 // optional string name = 1; | 1383 // optional string name = 1; |
1572 bool has_name() const; | 1384 bool has_name() const; |
1573 void clear_name(); | 1385 void clear_name(); |
1574 static const int kNameFieldNumber = 1; | 1386 static const int kNameFieldNumber = 1; |
1575 const ::std::string& name() const; | 1387 const ::std::string& name() const; |
1576 void set_name(const ::std::string& value); | 1388 void set_name(const ::std::string& value); |
1577 #if LANG_CXX11 | |
1578 void set_name(::std::string&& value); | |
1579 #endif | |
1580 void set_name(const char* value); | 1389 void set_name(const char* value); |
1581 void set_name(const char* value, size_t size); | 1390 void set_name(const char* value, size_t size); |
1582 ::std::string* mutable_name(); | 1391 ::std::string* mutable_name(); |
1583 ::std::string* release_name(); | 1392 ::std::string* release_name(); |
1584 void set_allocated_name(::std::string* name); | 1393 void set_allocated_name(::std::string* name); |
1585 | 1394 |
1586 // repeated .google.protobuf.EnumValueDescriptorProto value = 2; | 1395 // repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
1587 int value_size() const; | 1396 int value_size() const; |
1588 void clear_value(); | 1397 void clear_value(); |
1589 static const int kValueFieldNumber = 2; | 1398 static const int kValueFieldNumber = 2; |
1590 const ::google::protobuf::EnumValueDescriptorProto& value(int index) const; | 1399 const ::google::protobuf::EnumValueDescriptorProto& value(int index) const; |
1591 ::google::protobuf::EnumValueDescriptorProto* mutable_value(int index); | 1400 ::google::protobuf::EnumValueDescriptorProto* mutable_value(int index); |
1592 ::google::protobuf::EnumValueDescriptorProto* add_value(); | 1401 ::google::protobuf::EnumValueDescriptorProto* add_value(); |
1593 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorP
roto >* | 1402 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorP
roto >* |
1594 mutable_value(); | 1403 mutable_value(); |
1595 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescr
iptorProto >& | 1404 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescr
iptorProto >& |
1596 value() const; | 1405 value() const; |
1597 | 1406 |
1598 // optional .google.protobuf.EnumOptions options = 3; | 1407 // optional .google.protobuf.EnumOptions options = 3; |
1599 bool has_options() const; | 1408 bool has_options() const; |
1600 void clear_options(); | 1409 void clear_options(); |
1601 static const int kOptionsFieldNumber = 3; | 1410 static const int kOptionsFieldNumber = 3; |
1602 const ::google::protobuf::EnumOptions& options() const; | 1411 const ::google::protobuf::EnumOptions& options() const; |
1603 ::google::protobuf::EnumOptions* mutable_options(); | 1412 ::google::protobuf::EnumOptions* mutable_options(); |
1604 ::google::protobuf::EnumOptions* release_options(); | 1413 ::google::protobuf::EnumOptions* release_options(); |
1605 void set_allocated_options(::google::protobuf::EnumOptions* options); | 1414 void set_allocated_options(::google::protobuf::EnumOptions* options); |
1606 | 1415 |
1607 // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto) | 1416 // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto) |
1608 private: | 1417 private: |
1609 void set_has_name(); | 1418 inline void set_has_name(); |
1610 void clear_has_name(); | 1419 inline void clear_has_name(); |
1611 void set_has_options(); | 1420 inline void set_has_options(); |
1612 void clear_has_options(); | 1421 inline void clear_has_options(); |
1613 | 1422 |
1614 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 1423 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1615 ::google::protobuf::internal::HasBits<1> _has_bits_; | 1424 ::google::protobuf::uint32 _has_bits_[1]; |
1616 mutable int _cached_size_; | 1425 mutable int _cached_size_; |
| 1426 ::google::protobuf::internal::ArenaStringPtr name_; |
1617 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorP
roto > value_; | 1427 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorP
roto > value_; |
1618 ::google::protobuf::internal::ArenaStringPtr name_; | |
1619 ::google::protobuf::EnumOptions* options_; | 1428 ::google::protobuf::EnumOptions* options_; |
1620 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 1429 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
1621 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | 1430 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
1622 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
1623 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 1431 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
1624 | 1432 |
| 1433 void InitAsDefaultInstance(); |
| 1434 static EnumDescriptorProto* default_instance_; |
1625 }; | 1435 }; |
1626 // ------------------------------------------------------------------- | 1436 // ------------------------------------------------------------------- |
1627 | 1437 |
1628 class LIBPROTOBUF_EXPORT EnumValueDescriptorProto : public ::google::protobuf::M
essage /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueDes
criptorProto) */ { | 1438 class LIBPROTOBUF_EXPORT EnumValueDescriptorProto : public ::google::protobuf::M
essage { |
1629 public: | 1439 public: |
1630 EnumValueDescriptorProto(); | 1440 EnumValueDescriptorProto(); |
1631 virtual ~EnumValueDescriptorProto(); | 1441 virtual ~EnumValueDescriptorProto(); |
1632 | 1442 |
1633 EnumValueDescriptorProto(const EnumValueDescriptorProto& from); | 1443 EnumValueDescriptorProto(const EnumValueDescriptorProto& from); |
1634 | 1444 |
1635 inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& fro
m) { | 1445 inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& fro
m) { |
1636 CopyFrom(from); | 1446 CopyFrom(from); |
1637 return *this; | 1447 return *this; |
1638 } | 1448 } |
1639 | 1449 |
1640 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 1450 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1641 return _internal_metadata_.unknown_fields(); | 1451 return _internal_metadata_.unknown_fields(); |
1642 } | 1452 } |
1643 | 1453 |
1644 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 1454 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1645 return _internal_metadata_.mutable_unknown_fields(); | 1455 return _internal_metadata_.mutable_unknown_fields(); |
1646 } | 1456 } |
1647 | 1457 |
1648 static const ::google::protobuf::Descriptor* descriptor(); | 1458 static const ::google::protobuf::Descriptor* descriptor(); |
1649 static const EnumValueDescriptorProto& default_instance(); | 1459 static const EnumValueDescriptorProto& default_instance(); |
1650 | 1460 |
1651 static inline const EnumValueDescriptorProto* internal_default_instance() { | |
1652 return reinterpret_cast<const EnumValueDescriptorProto*>( | |
1653 &_EnumValueDescriptorProto_default_instance_); | |
1654 } | |
1655 | |
1656 void Swap(EnumValueDescriptorProto* other); | 1461 void Swap(EnumValueDescriptorProto* other); |
1657 | 1462 |
1658 // implements Message ---------------------------------------------- | 1463 // implements Message ---------------------------------------------- |
1659 | 1464 |
1660 inline EnumValueDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL)
; } | 1465 inline EnumValueDescriptorProto* New() const { return New(NULL); } |
1661 | 1466 |
1662 EnumValueDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF
_FINAL; | 1467 EnumValueDescriptorProto* New(::google::protobuf::Arena* arena) const; |
1663 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 1468 void CopyFrom(const ::google::protobuf::Message& from); |
1664 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 1469 void MergeFrom(const ::google::protobuf::Message& from); |
1665 void CopyFrom(const EnumValueDescriptorProto& from); | 1470 void CopyFrom(const EnumValueDescriptorProto& from); |
1666 void MergeFrom(const EnumValueDescriptorProto& from); | 1471 void MergeFrom(const EnumValueDescriptorProto& from); |
1667 void Clear() PROTOBUF_FINAL; | 1472 void Clear(); |
1668 bool IsInitialized() const PROTOBUF_FINAL; | 1473 bool IsInitialized() const; |
1669 | 1474 |
1670 size_t ByteSizeLong() const PROTOBUF_FINAL; | 1475 int ByteSize() const; |
1671 bool MergePartialFromCodedStream( | 1476 bool MergePartialFromCodedStream( |
1672 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 1477 ::google::protobuf::io::CodedInputStream* input); |
1673 void SerializeWithCachedSizes( | 1478 void SerializeWithCachedSizes( |
1674 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 1479 ::google::protobuf::io::CodedOutputStream* output) const; |
1675 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 1480 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
1676 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 1481 int GetCachedSize() const { return _cached_size_; } |
1677 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
1678 const PROTOBUF_FINAL { | |
1679 return InternalSerializeWithCachedSizesToArray(false, output); | |
1680 } | |
1681 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
1682 private: | 1482 private: |
1683 void SharedCtor(); | 1483 void SharedCtor(); |
1684 void SharedDtor(); | 1484 void SharedDtor(); |
1685 void SetCachedSize(int size) const PROTOBUF_FINAL; | 1485 void SetCachedSize(int size) const; |
1686 void InternalSwap(EnumValueDescriptorProto* other); | 1486 void InternalSwap(EnumValueDescriptorProto* other); |
1687 private: | 1487 private: |
1688 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 1488 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1689 return NULL; | 1489 return _internal_metadata_.arena(); |
1690 } | 1490 } |
1691 inline void* MaybeArenaPtr() const { | 1491 inline void* MaybeArenaPtr() const { |
1692 return NULL; | 1492 return _internal_metadata_.raw_arena_ptr(); |
1693 } | 1493 } |
1694 public: | 1494 public: |
1695 | 1495 |
1696 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 1496 ::google::protobuf::Metadata GetMetadata() const; |
1697 | 1497 |
1698 // nested types ---------------------------------------------------- | 1498 // nested types ---------------------------------------------------- |
1699 | 1499 |
1700 // accessors ------------------------------------------------------- | 1500 // accessors ------------------------------------------------------- |
1701 | 1501 |
1702 // optional string name = 1; | 1502 // optional string name = 1; |
1703 bool has_name() const; | 1503 bool has_name() const; |
1704 void clear_name(); | 1504 void clear_name(); |
1705 static const int kNameFieldNumber = 1; | 1505 static const int kNameFieldNumber = 1; |
1706 const ::std::string& name() const; | 1506 const ::std::string& name() const; |
1707 void set_name(const ::std::string& value); | 1507 void set_name(const ::std::string& value); |
1708 #if LANG_CXX11 | |
1709 void set_name(::std::string&& value); | |
1710 #endif | |
1711 void set_name(const char* value); | 1508 void set_name(const char* value); |
1712 void set_name(const char* value, size_t size); | 1509 void set_name(const char* value, size_t size); |
1713 ::std::string* mutable_name(); | 1510 ::std::string* mutable_name(); |
1714 ::std::string* release_name(); | 1511 ::std::string* release_name(); |
1715 void set_allocated_name(::std::string* name); | 1512 void set_allocated_name(::std::string* name); |
1716 | 1513 |
1717 // optional int32 number = 2; | 1514 // optional int32 number = 2; |
1718 bool has_number() const; | 1515 bool has_number() const; |
1719 void clear_number(); | 1516 void clear_number(); |
1720 static const int kNumberFieldNumber = 2; | 1517 static const int kNumberFieldNumber = 2; |
1721 ::google::protobuf::int32 number() const; | 1518 ::google::protobuf::int32 number() const; |
1722 void set_number(::google::protobuf::int32 value); | 1519 void set_number(::google::protobuf::int32 value); |
1723 | 1520 |
1724 // optional .google.protobuf.EnumValueOptions options = 3; | 1521 // optional .google.protobuf.EnumValueOptions options = 3; |
1725 bool has_options() const; | 1522 bool has_options() const; |
1726 void clear_options(); | 1523 void clear_options(); |
1727 static const int kOptionsFieldNumber = 3; | 1524 static const int kOptionsFieldNumber = 3; |
1728 const ::google::protobuf::EnumValueOptions& options() const; | 1525 const ::google::protobuf::EnumValueOptions& options() const; |
1729 ::google::protobuf::EnumValueOptions* mutable_options(); | 1526 ::google::protobuf::EnumValueOptions* mutable_options(); |
1730 ::google::protobuf::EnumValueOptions* release_options(); | 1527 ::google::protobuf::EnumValueOptions* release_options(); |
1731 void set_allocated_options(::google::protobuf::EnumValueOptions* options); | 1528 void set_allocated_options(::google::protobuf::EnumValueOptions* options); |
1732 | 1529 |
1733 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorPro
to) | 1530 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorPro
to) |
1734 private: | 1531 private: |
1735 void set_has_name(); | 1532 inline void set_has_name(); |
1736 void clear_has_name(); | 1533 inline void clear_has_name(); |
1737 void set_has_number(); | 1534 inline void set_has_number(); |
1738 void clear_has_number(); | 1535 inline void clear_has_number(); |
1739 void set_has_options(); | 1536 inline void set_has_options(); |
1740 void clear_has_options(); | 1537 inline void clear_has_options(); |
1741 | 1538 |
1742 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 1539 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1743 ::google::protobuf::internal::HasBits<1> _has_bits_; | 1540 ::google::protobuf::uint32 _has_bits_[1]; |
1744 mutable int _cached_size_; | 1541 mutable int _cached_size_; |
1745 ::google::protobuf::internal::ArenaStringPtr name_; | 1542 ::google::protobuf::internal::ArenaStringPtr name_; |
1746 ::google::protobuf::EnumValueOptions* options_; | 1543 ::google::protobuf::EnumValueOptions* options_; |
1747 ::google::protobuf::int32 number_; | 1544 ::google::protobuf::int32 number_; |
1748 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 1545 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
1749 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | 1546 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
1750 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
1751 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 1547 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
1752 | 1548 |
| 1549 void InitAsDefaultInstance(); |
| 1550 static EnumValueDescriptorProto* default_instance_; |
1753 }; | 1551 }; |
1754 // ------------------------------------------------------------------- | 1552 // ------------------------------------------------------------------- |
1755 | 1553 |
1756 class LIBPROTOBUF_EXPORT ServiceDescriptorProto : public ::google::protobuf::Mes
sage /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceDescrip
torProto) */ { | 1554 class LIBPROTOBUF_EXPORT ServiceDescriptorProto : public ::google::protobuf::Mes
sage { |
1757 public: | 1555 public: |
1758 ServiceDescriptorProto(); | 1556 ServiceDescriptorProto(); |
1759 virtual ~ServiceDescriptorProto(); | 1557 virtual ~ServiceDescriptorProto(); |
1760 | 1558 |
1761 ServiceDescriptorProto(const ServiceDescriptorProto& from); | 1559 ServiceDescriptorProto(const ServiceDescriptorProto& from); |
1762 | 1560 |
1763 inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) { | 1561 inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) { |
1764 CopyFrom(from); | 1562 CopyFrom(from); |
1765 return *this; | 1563 return *this; |
1766 } | 1564 } |
1767 | 1565 |
1768 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 1566 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1769 return _internal_metadata_.unknown_fields(); | 1567 return _internal_metadata_.unknown_fields(); |
1770 } | 1568 } |
1771 | 1569 |
1772 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 1570 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1773 return _internal_metadata_.mutable_unknown_fields(); | 1571 return _internal_metadata_.mutable_unknown_fields(); |
1774 } | 1572 } |
1775 | 1573 |
1776 static const ::google::protobuf::Descriptor* descriptor(); | 1574 static const ::google::protobuf::Descriptor* descriptor(); |
1777 static const ServiceDescriptorProto& default_instance(); | 1575 static const ServiceDescriptorProto& default_instance(); |
1778 | 1576 |
1779 static inline const ServiceDescriptorProto* internal_default_instance() { | |
1780 return reinterpret_cast<const ServiceDescriptorProto*>( | |
1781 &_ServiceDescriptorProto_default_instance_); | |
1782 } | |
1783 | |
1784 void Swap(ServiceDescriptorProto* other); | 1577 void Swap(ServiceDescriptorProto* other); |
1785 | 1578 |
1786 // implements Message ---------------------------------------------- | 1579 // implements Message ---------------------------------------------- |
1787 | 1580 |
1788 inline ServiceDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL);
} | 1581 inline ServiceDescriptorProto* New() const { return New(NULL); } |
1789 | 1582 |
1790 ServiceDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_F
INAL; | 1583 ServiceDescriptorProto* New(::google::protobuf::Arena* arena) const; |
1791 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 1584 void CopyFrom(const ::google::protobuf::Message& from); |
1792 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 1585 void MergeFrom(const ::google::protobuf::Message& from); |
1793 void CopyFrom(const ServiceDescriptorProto& from); | 1586 void CopyFrom(const ServiceDescriptorProto& from); |
1794 void MergeFrom(const ServiceDescriptorProto& from); | 1587 void MergeFrom(const ServiceDescriptorProto& from); |
1795 void Clear() PROTOBUF_FINAL; | 1588 void Clear(); |
1796 bool IsInitialized() const PROTOBUF_FINAL; | 1589 bool IsInitialized() const; |
1797 | 1590 |
1798 size_t ByteSizeLong() const PROTOBUF_FINAL; | 1591 int ByteSize() const; |
1799 bool MergePartialFromCodedStream( | 1592 bool MergePartialFromCodedStream( |
1800 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 1593 ::google::protobuf::io::CodedInputStream* input); |
1801 void SerializeWithCachedSizes( | 1594 void SerializeWithCachedSizes( |
1802 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 1595 ::google::protobuf::io::CodedOutputStream* output) const; |
1803 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 1596 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
1804 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 1597 int GetCachedSize() const { return _cached_size_; } |
1805 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
1806 const PROTOBUF_FINAL { | |
1807 return InternalSerializeWithCachedSizesToArray(false, output); | |
1808 } | |
1809 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
1810 private: | 1598 private: |
1811 void SharedCtor(); | 1599 void SharedCtor(); |
1812 void SharedDtor(); | 1600 void SharedDtor(); |
1813 void SetCachedSize(int size) const PROTOBUF_FINAL; | 1601 void SetCachedSize(int size) const; |
1814 void InternalSwap(ServiceDescriptorProto* other); | 1602 void InternalSwap(ServiceDescriptorProto* other); |
1815 private: | 1603 private: |
1816 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 1604 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1817 return NULL; | 1605 return _internal_metadata_.arena(); |
1818 } | 1606 } |
1819 inline void* MaybeArenaPtr() const { | 1607 inline void* MaybeArenaPtr() const { |
1820 return NULL; | 1608 return _internal_metadata_.raw_arena_ptr(); |
1821 } | 1609 } |
1822 public: | 1610 public: |
1823 | 1611 |
1824 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 1612 ::google::protobuf::Metadata GetMetadata() const; |
1825 | 1613 |
1826 // nested types ---------------------------------------------------- | 1614 // nested types ---------------------------------------------------- |
1827 | 1615 |
1828 // accessors ------------------------------------------------------- | 1616 // accessors ------------------------------------------------------- |
1829 | 1617 |
1830 // optional string name = 1; | 1618 // optional string name = 1; |
1831 bool has_name() const; | 1619 bool has_name() const; |
1832 void clear_name(); | 1620 void clear_name(); |
1833 static const int kNameFieldNumber = 1; | 1621 static const int kNameFieldNumber = 1; |
1834 const ::std::string& name() const; | 1622 const ::std::string& name() const; |
1835 void set_name(const ::std::string& value); | 1623 void set_name(const ::std::string& value); |
1836 #if LANG_CXX11 | |
1837 void set_name(::std::string&& value); | |
1838 #endif | |
1839 void set_name(const char* value); | 1624 void set_name(const char* value); |
1840 void set_name(const char* value, size_t size); | 1625 void set_name(const char* value, size_t size); |
1841 ::std::string* mutable_name(); | 1626 ::std::string* mutable_name(); |
1842 ::std::string* release_name(); | 1627 ::std::string* release_name(); |
1843 void set_allocated_name(::std::string* name); | 1628 void set_allocated_name(::std::string* name); |
1844 | 1629 |
1845 // repeated .google.protobuf.MethodDescriptorProto method = 2; | 1630 // repeated .google.protobuf.MethodDescriptorProto method = 2; |
1846 int method_size() const; | 1631 int method_size() const; |
1847 void clear_method(); | 1632 void clear_method(); |
1848 static const int kMethodFieldNumber = 2; | 1633 static const int kMethodFieldNumber = 2; |
1849 const ::google::protobuf::MethodDescriptorProto& method(int index) const; | 1634 const ::google::protobuf::MethodDescriptorProto& method(int index) const; |
1850 ::google::protobuf::MethodDescriptorProto* mutable_method(int index); | 1635 ::google::protobuf::MethodDescriptorProto* mutable_method(int index); |
1851 ::google::protobuf::MethodDescriptorProto* add_method(); | 1636 ::google::protobuf::MethodDescriptorProto* add_method(); |
1852 ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProt
o >* | 1637 ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProt
o >* |
1853 mutable_method(); | 1638 mutable_method(); |
1854 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescript
orProto >& | 1639 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescript
orProto >& |
1855 method() const; | 1640 method() const; |
1856 | 1641 |
1857 // optional .google.protobuf.ServiceOptions options = 3; | 1642 // optional .google.protobuf.ServiceOptions options = 3; |
1858 bool has_options() const; | 1643 bool has_options() const; |
1859 void clear_options(); | 1644 void clear_options(); |
1860 static const int kOptionsFieldNumber = 3; | 1645 static const int kOptionsFieldNumber = 3; |
1861 const ::google::protobuf::ServiceOptions& options() const; | 1646 const ::google::protobuf::ServiceOptions& options() const; |
1862 ::google::protobuf::ServiceOptions* mutable_options(); | 1647 ::google::protobuf::ServiceOptions* mutable_options(); |
1863 ::google::protobuf::ServiceOptions* release_options(); | 1648 ::google::protobuf::ServiceOptions* release_options(); |
1864 void set_allocated_options(::google::protobuf::ServiceOptions* options); | 1649 void set_allocated_options(::google::protobuf::ServiceOptions* options); |
1865 | 1650 |
1866 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto
) | 1651 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto
) |
1867 private: | 1652 private: |
1868 void set_has_name(); | 1653 inline void set_has_name(); |
1869 void clear_has_name(); | 1654 inline void clear_has_name(); |
1870 void set_has_options(); | 1655 inline void set_has_options(); |
1871 void clear_has_options(); | 1656 inline void clear_has_options(); |
1872 | 1657 |
1873 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 1658 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1874 ::google::protobuf::internal::HasBits<1> _has_bits_; | 1659 ::google::protobuf::uint32 _has_bits_[1]; |
1875 mutable int _cached_size_; | 1660 mutable int _cached_size_; |
| 1661 ::google::protobuf::internal::ArenaStringPtr name_; |
1876 ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProt
o > method_; | 1662 ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProt
o > method_; |
1877 ::google::protobuf::internal::ArenaStringPtr name_; | |
1878 ::google::protobuf::ServiceOptions* options_; | 1663 ::google::protobuf::ServiceOptions* options_; |
1879 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 1664 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
1880 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | 1665 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
1881 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
1882 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 1666 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
1883 | 1667 |
| 1668 void InitAsDefaultInstance(); |
| 1669 static ServiceDescriptorProto* default_instance_; |
1884 }; | 1670 }; |
1885 // ------------------------------------------------------------------- | 1671 // ------------------------------------------------------------------- |
1886 | 1672 |
1887 class LIBPROTOBUF_EXPORT MethodDescriptorProto : public ::google::protobuf::Mess
age /* @@protoc_insertion_point(class_definition:google.protobuf.MethodDescripto
rProto) */ { | 1673 class LIBPROTOBUF_EXPORT MethodDescriptorProto : public ::google::protobuf::Mess
age { |
1888 public: | 1674 public: |
1889 MethodDescriptorProto(); | 1675 MethodDescriptorProto(); |
1890 virtual ~MethodDescriptorProto(); | 1676 virtual ~MethodDescriptorProto(); |
1891 | 1677 |
1892 MethodDescriptorProto(const MethodDescriptorProto& from); | 1678 MethodDescriptorProto(const MethodDescriptorProto& from); |
1893 | 1679 |
1894 inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) { | 1680 inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) { |
1895 CopyFrom(from); | 1681 CopyFrom(from); |
1896 return *this; | 1682 return *this; |
1897 } | 1683 } |
1898 | 1684 |
1899 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 1685 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1900 return _internal_metadata_.unknown_fields(); | 1686 return _internal_metadata_.unknown_fields(); |
1901 } | 1687 } |
1902 | 1688 |
1903 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 1689 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1904 return _internal_metadata_.mutable_unknown_fields(); | 1690 return _internal_metadata_.mutable_unknown_fields(); |
1905 } | 1691 } |
1906 | 1692 |
1907 static const ::google::protobuf::Descriptor* descriptor(); | 1693 static const ::google::protobuf::Descriptor* descriptor(); |
1908 static const MethodDescriptorProto& default_instance(); | 1694 static const MethodDescriptorProto& default_instance(); |
1909 | 1695 |
1910 static inline const MethodDescriptorProto* internal_default_instance() { | |
1911 return reinterpret_cast<const MethodDescriptorProto*>( | |
1912 &_MethodDescriptorProto_default_instance_); | |
1913 } | |
1914 | |
1915 void Swap(MethodDescriptorProto* other); | 1696 void Swap(MethodDescriptorProto* other); |
1916 | 1697 |
1917 // implements Message ---------------------------------------------- | 1698 // implements Message ---------------------------------------------- |
1918 | 1699 |
1919 inline MethodDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); } | 1700 inline MethodDescriptorProto* New() const { return New(NULL); } |
1920 | 1701 |
1921 MethodDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FI
NAL; | 1702 MethodDescriptorProto* New(::google::protobuf::Arena* arena) const; |
1922 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 1703 void CopyFrom(const ::google::protobuf::Message& from); |
1923 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 1704 void MergeFrom(const ::google::protobuf::Message& from); |
1924 void CopyFrom(const MethodDescriptorProto& from); | 1705 void CopyFrom(const MethodDescriptorProto& from); |
1925 void MergeFrom(const MethodDescriptorProto& from); | 1706 void MergeFrom(const MethodDescriptorProto& from); |
1926 void Clear() PROTOBUF_FINAL; | 1707 void Clear(); |
1927 bool IsInitialized() const PROTOBUF_FINAL; | 1708 bool IsInitialized() const; |
1928 | 1709 |
1929 size_t ByteSizeLong() const PROTOBUF_FINAL; | 1710 int ByteSize() const; |
1930 bool MergePartialFromCodedStream( | 1711 bool MergePartialFromCodedStream( |
1931 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 1712 ::google::protobuf::io::CodedInputStream* input); |
1932 void SerializeWithCachedSizes( | 1713 void SerializeWithCachedSizes( |
1933 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 1714 ::google::protobuf::io::CodedOutputStream* output) const; |
1934 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 1715 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
1935 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 1716 int GetCachedSize() const { return _cached_size_; } |
1936 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
1937 const PROTOBUF_FINAL { | |
1938 return InternalSerializeWithCachedSizesToArray(false, output); | |
1939 } | |
1940 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
1941 private: | 1717 private: |
1942 void SharedCtor(); | 1718 void SharedCtor(); |
1943 void SharedDtor(); | 1719 void SharedDtor(); |
1944 void SetCachedSize(int size) const PROTOBUF_FINAL; | 1720 void SetCachedSize(int size) const; |
1945 void InternalSwap(MethodDescriptorProto* other); | 1721 void InternalSwap(MethodDescriptorProto* other); |
1946 private: | 1722 private: |
1947 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 1723 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1948 return NULL; | 1724 return _internal_metadata_.arena(); |
1949 } | 1725 } |
1950 inline void* MaybeArenaPtr() const { | 1726 inline void* MaybeArenaPtr() const { |
1951 return NULL; | 1727 return _internal_metadata_.raw_arena_ptr(); |
1952 } | 1728 } |
1953 public: | 1729 public: |
1954 | 1730 |
1955 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 1731 ::google::protobuf::Metadata GetMetadata() const; |
1956 | 1732 |
1957 // nested types ---------------------------------------------------- | 1733 // nested types ---------------------------------------------------- |
1958 | 1734 |
1959 // accessors ------------------------------------------------------- | 1735 // accessors ------------------------------------------------------- |
1960 | 1736 |
1961 // optional string name = 1; | 1737 // optional string name = 1; |
1962 bool has_name() const; | 1738 bool has_name() const; |
1963 void clear_name(); | 1739 void clear_name(); |
1964 static const int kNameFieldNumber = 1; | 1740 static const int kNameFieldNumber = 1; |
1965 const ::std::string& name() const; | 1741 const ::std::string& name() const; |
1966 void set_name(const ::std::string& value); | 1742 void set_name(const ::std::string& value); |
1967 #if LANG_CXX11 | |
1968 void set_name(::std::string&& value); | |
1969 #endif | |
1970 void set_name(const char* value); | 1743 void set_name(const char* value); |
1971 void set_name(const char* value, size_t size); | 1744 void set_name(const char* value, size_t size); |
1972 ::std::string* mutable_name(); | 1745 ::std::string* mutable_name(); |
1973 ::std::string* release_name(); | 1746 ::std::string* release_name(); |
1974 void set_allocated_name(::std::string* name); | 1747 void set_allocated_name(::std::string* name); |
1975 | 1748 |
1976 // optional string input_type = 2; | 1749 // optional string input_type = 2; |
1977 bool has_input_type() const; | 1750 bool has_input_type() const; |
1978 void clear_input_type(); | 1751 void clear_input_type(); |
1979 static const int kInputTypeFieldNumber = 2; | 1752 static const int kInputTypeFieldNumber = 2; |
1980 const ::std::string& input_type() const; | 1753 const ::std::string& input_type() const; |
1981 void set_input_type(const ::std::string& value); | 1754 void set_input_type(const ::std::string& value); |
1982 #if LANG_CXX11 | |
1983 void set_input_type(::std::string&& value); | |
1984 #endif | |
1985 void set_input_type(const char* value); | 1755 void set_input_type(const char* value); |
1986 void set_input_type(const char* value, size_t size); | 1756 void set_input_type(const char* value, size_t size); |
1987 ::std::string* mutable_input_type(); | 1757 ::std::string* mutable_input_type(); |
1988 ::std::string* release_input_type(); | 1758 ::std::string* release_input_type(); |
1989 void set_allocated_input_type(::std::string* input_type); | 1759 void set_allocated_input_type(::std::string* input_type); |
1990 | 1760 |
1991 // optional string output_type = 3; | 1761 // optional string output_type = 3; |
1992 bool has_output_type() const; | 1762 bool has_output_type() const; |
1993 void clear_output_type(); | 1763 void clear_output_type(); |
1994 static const int kOutputTypeFieldNumber = 3; | 1764 static const int kOutputTypeFieldNumber = 3; |
1995 const ::std::string& output_type() const; | 1765 const ::std::string& output_type() const; |
1996 void set_output_type(const ::std::string& value); | 1766 void set_output_type(const ::std::string& value); |
1997 #if LANG_CXX11 | |
1998 void set_output_type(::std::string&& value); | |
1999 #endif | |
2000 void set_output_type(const char* value); | 1767 void set_output_type(const char* value); |
2001 void set_output_type(const char* value, size_t size); | 1768 void set_output_type(const char* value, size_t size); |
2002 ::std::string* mutable_output_type(); | 1769 ::std::string* mutable_output_type(); |
2003 ::std::string* release_output_type(); | 1770 ::std::string* release_output_type(); |
2004 void set_allocated_output_type(::std::string* output_type); | 1771 void set_allocated_output_type(::std::string* output_type); |
2005 | 1772 |
2006 // optional .google.protobuf.MethodOptions options = 4; | 1773 // optional .google.protobuf.MethodOptions options = 4; |
2007 bool has_options() const; | 1774 bool has_options() const; |
2008 void clear_options(); | 1775 void clear_options(); |
2009 static const int kOptionsFieldNumber = 4; | 1776 static const int kOptionsFieldNumber = 4; |
(...skipping 11 matching lines...) Expand all Loading... |
2021 | 1788 |
2022 // optional bool server_streaming = 6 [default = false]; | 1789 // optional bool server_streaming = 6 [default = false]; |
2023 bool has_server_streaming() const; | 1790 bool has_server_streaming() const; |
2024 void clear_server_streaming(); | 1791 void clear_server_streaming(); |
2025 static const int kServerStreamingFieldNumber = 6; | 1792 static const int kServerStreamingFieldNumber = 6; |
2026 bool server_streaming() const; | 1793 bool server_streaming() const; |
2027 void set_server_streaming(bool value); | 1794 void set_server_streaming(bool value); |
2028 | 1795 |
2029 // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto) | 1796 // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto) |
2030 private: | 1797 private: |
2031 void set_has_name(); | 1798 inline void set_has_name(); |
2032 void clear_has_name(); | 1799 inline void clear_has_name(); |
2033 void set_has_input_type(); | 1800 inline void set_has_input_type(); |
2034 void clear_has_input_type(); | 1801 inline void clear_has_input_type(); |
2035 void set_has_output_type(); | 1802 inline void set_has_output_type(); |
2036 void clear_has_output_type(); | 1803 inline void clear_has_output_type(); |
2037 void set_has_options(); | 1804 inline void set_has_options(); |
2038 void clear_has_options(); | 1805 inline void clear_has_options(); |
2039 void set_has_client_streaming(); | 1806 inline void set_has_client_streaming(); |
2040 void clear_has_client_streaming(); | 1807 inline void clear_has_client_streaming(); |
2041 void set_has_server_streaming(); | 1808 inline void set_has_server_streaming(); |
2042 void clear_has_server_streaming(); | 1809 inline void clear_has_server_streaming(); |
2043 | 1810 |
2044 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 1811 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2045 ::google::protobuf::internal::HasBits<1> _has_bits_; | 1812 ::google::protobuf::uint32 _has_bits_[1]; |
2046 mutable int _cached_size_; | 1813 mutable int _cached_size_; |
2047 ::google::protobuf::internal::ArenaStringPtr name_; | 1814 ::google::protobuf::internal::ArenaStringPtr name_; |
2048 ::google::protobuf::internal::ArenaStringPtr input_type_; | 1815 ::google::protobuf::internal::ArenaStringPtr input_type_; |
2049 ::google::protobuf::internal::ArenaStringPtr output_type_; | 1816 ::google::protobuf::internal::ArenaStringPtr output_type_; |
2050 ::google::protobuf::MethodOptions* options_; | 1817 ::google::protobuf::MethodOptions* options_; |
2051 bool client_streaming_; | 1818 bool client_streaming_; |
2052 bool server_streaming_; | 1819 bool server_streaming_; |
2053 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 1820 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
2054 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | 1821 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
2055 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
2056 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 1822 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
2057 | 1823 |
| 1824 void InitAsDefaultInstance(); |
| 1825 static MethodDescriptorProto* default_instance_; |
2058 }; | 1826 }; |
2059 // ------------------------------------------------------------------- | 1827 // ------------------------------------------------------------------- |
2060 | 1828 |
2061 class LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message /* @@p
rotoc_insertion_point(class_definition:google.protobuf.FileOptions) */ { | 1829 class LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message { |
2062 public: | 1830 public: |
2063 FileOptions(); | 1831 FileOptions(); |
2064 virtual ~FileOptions(); | 1832 virtual ~FileOptions(); |
2065 | 1833 |
2066 FileOptions(const FileOptions& from); | 1834 FileOptions(const FileOptions& from); |
2067 | 1835 |
2068 inline FileOptions& operator=(const FileOptions& from) { | 1836 inline FileOptions& operator=(const FileOptions& from) { |
2069 CopyFrom(from); | 1837 CopyFrom(from); |
2070 return *this; | 1838 return *this; |
2071 } | 1839 } |
2072 | 1840 |
2073 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 1841 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2074 return _internal_metadata_.unknown_fields(); | 1842 return _internal_metadata_.unknown_fields(); |
2075 } | 1843 } |
2076 | 1844 |
2077 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 1845 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2078 return _internal_metadata_.mutable_unknown_fields(); | 1846 return _internal_metadata_.mutable_unknown_fields(); |
2079 } | 1847 } |
2080 | 1848 |
2081 static const ::google::protobuf::Descriptor* descriptor(); | 1849 static const ::google::protobuf::Descriptor* descriptor(); |
2082 static const FileOptions& default_instance(); | 1850 static const FileOptions& default_instance(); |
2083 | 1851 |
2084 static inline const FileOptions* internal_default_instance() { | |
2085 return reinterpret_cast<const FileOptions*>( | |
2086 &_FileOptions_default_instance_); | |
2087 } | |
2088 | |
2089 void Swap(FileOptions* other); | 1852 void Swap(FileOptions* other); |
2090 | 1853 |
2091 // implements Message ---------------------------------------------- | 1854 // implements Message ---------------------------------------------- |
2092 | 1855 |
2093 inline FileOptions* New() const PROTOBUF_FINAL { return New(NULL); } | 1856 inline FileOptions* New() const { return New(NULL); } |
2094 | 1857 |
2095 FileOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; | 1858 FileOptions* New(::google::protobuf::Arena* arena) const; |
2096 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 1859 void CopyFrom(const ::google::protobuf::Message& from); |
2097 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 1860 void MergeFrom(const ::google::protobuf::Message& from); |
2098 void CopyFrom(const FileOptions& from); | 1861 void CopyFrom(const FileOptions& from); |
2099 void MergeFrom(const FileOptions& from); | 1862 void MergeFrom(const FileOptions& from); |
2100 void Clear() PROTOBUF_FINAL; | 1863 void Clear(); |
2101 bool IsInitialized() const PROTOBUF_FINAL; | 1864 bool IsInitialized() const; |
2102 | 1865 |
2103 size_t ByteSizeLong() const PROTOBUF_FINAL; | 1866 int ByteSize() const; |
2104 bool MergePartialFromCodedStream( | 1867 bool MergePartialFromCodedStream( |
2105 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 1868 ::google::protobuf::io::CodedInputStream* input); |
2106 void SerializeWithCachedSizes( | 1869 void SerializeWithCachedSizes( |
2107 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 1870 ::google::protobuf::io::CodedOutputStream* output) const; |
2108 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 1871 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
2109 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 1872 int GetCachedSize() const { return _cached_size_; } |
2110 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
2111 const PROTOBUF_FINAL { | |
2112 return InternalSerializeWithCachedSizesToArray(false, output); | |
2113 } | |
2114 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
2115 private: | 1873 private: |
2116 void SharedCtor(); | 1874 void SharedCtor(); |
2117 void SharedDtor(); | 1875 void SharedDtor(); |
2118 void SetCachedSize(int size) const PROTOBUF_FINAL; | 1876 void SetCachedSize(int size) const; |
2119 void InternalSwap(FileOptions* other); | 1877 void InternalSwap(FileOptions* other); |
2120 private: | 1878 private: |
2121 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 1879 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2122 return NULL; | 1880 return _internal_metadata_.arena(); |
2123 } | 1881 } |
2124 inline void* MaybeArenaPtr() const { | 1882 inline void* MaybeArenaPtr() const { |
2125 return NULL; | 1883 return _internal_metadata_.raw_arena_ptr(); |
2126 } | 1884 } |
2127 public: | 1885 public: |
2128 | 1886 |
2129 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 1887 ::google::protobuf::Metadata GetMetadata() const; |
2130 | 1888 |
2131 // nested types ---------------------------------------------------- | 1889 // nested types ---------------------------------------------------- |
2132 | 1890 |
2133 typedef FileOptions_OptimizeMode OptimizeMode; | 1891 typedef FileOptions_OptimizeMode OptimizeMode; |
2134 static const OptimizeMode SPEED = | 1892 static const OptimizeMode SPEED = |
2135 FileOptions_OptimizeMode_SPEED; | 1893 FileOptions_OptimizeMode_SPEED; |
2136 static const OptimizeMode CODE_SIZE = | 1894 static const OptimizeMode CODE_SIZE = |
2137 FileOptions_OptimizeMode_CODE_SIZE; | 1895 FileOptions_OptimizeMode_CODE_SIZE; |
2138 static const OptimizeMode LITE_RUNTIME = | 1896 static const OptimizeMode LITE_RUNTIME = |
2139 FileOptions_OptimizeMode_LITE_RUNTIME; | 1897 FileOptions_OptimizeMode_LITE_RUNTIME; |
(...skipping 19 matching lines...) Expand all Loading... |
2159 } | 1917 } |
2160 | 1918 |
2161 // accessors ------------------------------------------------------- | 1919 // accessors ------------------------------------------------------- |
2162 | 1920 |
2163 // optional string java_package = 1; | 1921 // optional string java_package = 1; |
2164 bool has_java_package() const; | 1922 bool has_java_package() const; |
2165 void clear_java_package(); | 1923 void clear_java_package(); |
2166 static const int kJavaPackageFieldNumber = 1; | 1924 static const int kJavaPackageFieldNumber = 1; |
2167 const ::std::string& java_package() const; | 1925 const ::std::string& java_package() const; |
2168 void set_java_package(const ::std::string& value); | 1926 void set_java_package(const ::std::string& value); |
2169 #if LANG_CXX11 | |
2170 void set_java_package(::std::string&& value); | |
2171 #endif | |
2172 void set_java_package(const char* value); | 1927 void set_java_package(const char* value); |
2173 void set_java_package(const char* value, size_t size); | 1928 void set_java_package(const char* value, size_t size); |
2174 ::std::string* mutable_java_package(); | 1929 ::std::string* mutable_java_package(); |
2175 ::std::string* release_java_package(); | 1930 ::std::string* release_java_package(); |
2176 void set_allocated_java_package(::std::string* java_package); | 1931 void set_allocated_java_package(::std::string* java_package); |
2177 | 1932 |
2178 // optional string java_outer_classname = 8; | 1933 // optional string java_outer_classname = 8; |
2179 bool has_java_outer_classname() const; | 1934 bool has_java_outer_classname() const; |
2180 void clear_java_outer_classname(); | 1935 void clear_java_outer_classname(); |
2181 static const int kJavaOuterClassnameFieldNumber = 8; | 1936 static const int kJavaOuterClassnameFieldNumber = 8; |
2182 const ::std::string& java_outer_classname() const; | 1937 const ::std::string& java_outer_classname() const; |
2183 void set_java_outer_classname(const ::std::string& value); | 1938 void set_java_outer_classname(const ::std::string& value); |
2184 #if LANG_CXX11 | |
2185 void set_java_outer_classname(::std::string&& value); | |
2186 #endif | |
2187 void set_java_outer_classname(const char* value); | 1939 void set_java_outer_classname(const char* value); |
2188 void set_java_outer_classname(const char* value, size_t size); | 1940 void set_java_outer_classname(const char* value, size_t size); |
2189 ::std::string* mutable_java_outer_classname(); | 1941 ::std::string* mutable_java_outer_classname(); |
2190 ::std::string* release_java_outer_classname(); | 1942 ::std::string* release_java_outer_classname(); |
2191 void set_allocated_java_outer_classname(::std::string* java_outer_classname); | 1943 void set_allocated_java_outer_classname(::std::string* java_outer_classname); |
2192 | 1944 |
2193 // optional bool java_multiple_files = 10 [default = false]; | 1945 // optional bool java_multiple_files = 10 [default = false]; |
2194 bool has_java_multiple_files() const; | 1946 bool has_java_multiple_files() const; |
2195 void clear_java_multiple_files(); | 1947 void clear_java_multiple_files(); |
2196 static const int kJavaMultipleFilesFieldNumber = 10; | 1948 static const int kJavaMultipleFilesFieldNumber = 10; |
2197 bool java_multiple_files() const; | 1949 bool java_multiple_files() const; |
2198 void set_java_multiple_files(bool value); | 1950 void set_java_multiple_files(bool value); |
2199 | 1951 |
2200 // optional bool java_generate_equals_and_hash = 20 [deprecated = true]; | 1952 // optional bool java_generate_equals_and_hash = 20 [default = false]; |
2201 GOOGLE_PROTOBUF_DEPRECATED_ATTR bool has_java_generate_equals_and_hash() const
; | 1953 bool has_java_generate_equals_and_hash() const; |
2202 GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_java_generate_equals_and_hash(); | 1954 void clear_java_generate_equals_and_hash(); |
2203 GOOGLE_PROTOBUF_DEPRECATED_ATTR static const int kJavaGenerateEqualsAndHashFie
ldNumber = 20; | 1955 static const int kJavaGenerateEqualsAndHashFieldNumber = 20; |
2204 GOOGLE_PROTOBUF_DEPRECATED_ATTR bool java_generate_equals_and_hash() const; | 1956 bool java_generate_equals_and_hash() const; |
2205 GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_java_generate_equals_and_hash(bool va
lue); | 1957 void set_java_generate_equals_and_hash(bool value); |
2206 | 1958 |
2207 // optional bool java_string_check_utf8 = 27 [default = false]; | 1959 // optional bool java_string_check_utf8 = 27 [default = false]; |
2208 bool has_java_string_check_utf8() const; | 1960 bool has_java_string_check_utf8() const; |
2209 void clear_java_string_check_utf8(); | 1961 void clear_java_string_check_utf8(); |
2210 static const int kJavaStringCheckUtf8FieldNumber = 27; | 1962 static const int kJavaStringCheckUtf8FieldNumber = 27; |
2211 bool java_string_check_utf8() const; | 1963 bool java_string_check_utf8() const; |
2212 void set_java_string_check_utf8(bool value); | 1964 void set_java_string_check_utf8(bool value); |
2213 | 1965 |
2214 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [defaul
t = SPEED]; | 1966 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [defaul
t = SPEED]; |
2215 bool has_optimize_for() const; | 1967 bool has_optimize_for() const; |
2216 void clear_optimize_for(); | 1968 void clear_optimize_for(); |
2217 static const int kOptimizeForFieldNumber = 9; | 1969 static const int kOptimizeForFieldNumber = 9; |
2218 ::google::protobuf::FileOptions_OptimizeMode optimize_for() const; | 1970 ::google::protobuf::FileOptions_OptimizeMode optimize_for() const; |
2219 void set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value); | 1971 void set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value); |
2220 | 1972 |
2221 // optional string go_package = 11; | 1973 // optional string go_package = 11; |
2222 bool has_go_package() const; | 1974 bool has_go_package() const; |
2223 void clear_go_package(); | 1975 void clear_go_package(); |
2224 static const int kGoPackageFieldNumber = 11; | 1976 static const int kGoPackageFieldNumber = 11; |
2225 const ::std::string& go_package() const; | 1977 const ::std::string& go_package() const; |
2226 void set_go_package(const ::std::string& value); | 1978 void set_go_package(const ::std::string& value); |
2227 #if LANG_CXX11 | |
2228 void set_go_package(::std::string&& value); | |
2229 #endif | |
2230 void set_go_package(const char* value); | 1979 void set_go_package(const char* value); |
2231 void set_go_package(const char* value, size_t size); | 1980 void set_go_package(const char* value, size_t size); |
2232 ::std::string* mutable_go_package(); | 1981 ::std::string* mutable_go_package(); |
2233 ::std::string* release_go_package(); | 1982 ::std::string* release_go_package(); |
2234 void set_allocated_go_package(::std::string* go_package); | 1983 void set_allocated_go_package(::std::string* go_package); |
2235 | 1984 |
2236 // optional bool cc_generic_services = 16 [default = false]; | 1985 // optional bool cc_generic_services = 16 [default = false]; |
2237 bool has_cc_generic_services() const; | 1986 bool has_cc_generic_services() const; |
2238 void clear_cc_generic_services(); | 1987 void clear_cc_generic_services(); |
2239 static const int kCcGenericServicesFieldNumber = 16; | 1988 static const int kCcGenericServicesFieldNumber = 16; |
(...skipping 27 matching lines...) Expand all Loading... |
2267 static const int kCcEnableArenasFieldNumber = 31; | 2016 static const int kCcEnableArenasFieldNumber = 31; |
2268 bool cc_enable_arenas() const; | 2017 bool cc_enable_arenas() const; |
2269 void set_cc_enable_arenas(bool value); | 2018 void set_cc_enable_arenas(bool value); |
2270 | 2019 |
2271 // optional string objc_class_prefix = 36; | 2020 // optional string objc_class_prefix = 36; |
2272 bool has_objc_class_prefix() const; | 2021 bool has_objc_class_prefix() const; |
2273 void clear_objc_class_prefix(); | 2022 void clear_objc_class_prefix(); |
2274 static const int kObjcClassPrefixFieldNumber = 36; | 2023 static const int kObjcClassPrefixFieldNumber = 36; |
2275 const ::std::string& objc_class_prefix() const; | 2024 const ::std::string& objc_class_prefix() const; |
2276 void set_objc_class_prefix(const ::std::string& value); | 2025 void set_objc_class_prefix(const ::std::string& value); |
2277 #if LANG_CXX11 | |
2278 void set_objc_class_prefix(::std::string&& value); | |
2279 #endif | |
2280 void set_objc_class_prefix(const char* value); | 2026 void set_objc_class_prefix(const char* value); |
2281 void set_objc_class_prefix(const char* value, size_t size); | 2027 void set_objc_class_prefix(const char* value, size_t size); |
2282 ::std::string* mutable_objc_class_prefix(); | 2028 ::std::string* mutable_objc_class_prefix(); |
2283 ::std::string* release_objc_class_prefix(); | 2029 ::std::string* release_objc_class_prefix(); |
2284 void set_allocated_objc_class_prefix(::std::string* objc_class_prefix); | 2030 void set_allocated_objc_class_prefix(::std::string* objc_class_prefix); |
2285 | 2031 |
2286 // optional string csharp_namespace = 37; | 2032 // optional string csharp_namespace = 37; |
2287 bool has_csharp_namespace() const; | 2033 bool has_csharp_namespace() const; |
2288 void clear_csharp_namespace(); | 2034 void clear_csharp_namespace(); |
2289 static const int kCsharpNamespaceFieldNumber = 37; | 2035 static const int kCsharpNamespaceFieldNumber = 37; |
2290 const ::std::string& csharp_namespace() const; | 2036 const ::std::string& csharp_namespace() const; |
2291 void set_csharp_namespace(const ::std::string& value); | 2037 void set_csharp_namespace(const ::std::string& value); |
2292 #if LANG_CXX11 | |
2293 void set_csharp_namespace(::std::string&& value); | |
2294 #endif | |
2295 void set_csharp_namespace(const char* value); | 2038 void set_csharp_namespace(const char* value); |
2296 void set_csharp_namespace(const char* value, size_t size); | 2039 void set_csharp_namespace(const char* value, size_t size); |
2297 ::std::string* mutable_csharp_namespace(); | 2040 ::std::string* mutable_csharp_namespace(); |
2298 ::std::string* release_csharp_namespace(); | 2041 ::std::string* release_csharp_namespace(); |
2299 void set_allocated_csharp_namespace(::std::string* csharp_namespace); | 2042 void set_allocated_csharp_namespace(::std::string* csharp_namespace); |
2300 | 2043 |
2301 // optional string swift_prefix = 39; | |
2302 bool has_swift_prefix() const; | |
2303 void clear_swift_prefix(); | |
2304 static const int kSwiftPrefixFieldNumber = 39; | |
2305 const ::std::string& swift_prefix() const; | |
2306 void set_swift_prefix(const ::std::string& value); | |
2307 #if LANG_CXX11 | |
2308 void set_swift_prefix(::std::string&& value); | |
2309 #endif | |
2310 void set_swift_prefix(const char* value); | |
2311 void set_swift_prefix(const char* value, size_t size); | |
2312 ::std::string* mutable_swift_prefix(); | |
2313 ::std::string* release_swift_prefix(); | |
2314 void set_allocated_swift_prefix(::std::string* swift_prefix); | |
2315 | |
2316 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 2044 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
2317 int uninterpreted_option_size() const; | 2045 int uninterpreted_option_size() const; |
2318 void clear_uninterpreted_option(); | 2046 void clear_uninterpreted_option(); |
2319 static const int kUninterpretedOptionFieldNumber = 999; | 2047 static const int kUninterpretedOptionFieldNumber = 999; |
2320 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; | 2048 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; |
2321 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 2049 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); |
2322 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 2050 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
2323 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 2051 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* |
2324 mutable_uninterpreted_option(); | 2052 mutable_uninterpreted_option(); |
2325 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 2053 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& |
2326 uninterpreted_option() const; | 2054 uninterpreted_option() const; |
2327 | 2055 |
2328 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions) | 2056 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions) |
2329 // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions) | 2057 // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions) |
2330 private: | 2058 private: |
2331 void set_has_java_package(); | 2059 inline void set_has_java_package(); |
2332 void clear_has_java_package(); | 2060 inline void clear_has_java_package(); |
2333 void set_has_java_outer_classname(); | 2061 inline void set_has_java_outer_classname(); |
2334 void clear_has_java_outer_classname(); | 2062 inline void clear_has_java_outer_classname(); |
2335 void set_has_java_multiple_files(); | 2063 inline void set_has_java_multiple_files(); |
2336 void clear_has_java_multiple_files(); | 2064 inline void clear_has_java_multiple_files(); |
2337 void set_has_java_generate_equals_and_hash(); | 2065 inline void set_has_java_generate_equals_and_hash(); |
2338 void clear_has_java_generate_equals_and_hash(); | 2066 inline void clear_has_java_generate_equals_and_hash(); |
2339 void set_has_java_string_check_utf8(); | 2067 inline void set_has_java_string_check_utf8(); |
2340 void clear_has_java_string_check_utf8(); | 2068 inline void clear_has_java_string_check_utf8(); |
2341 void set_has_optimize_for(); | 2069 inline void set_has_optimize_for(); |
2342 void clear_has_optimize_for(); | 2070 inline void clear_has_optimize_for(); |
2343 void set_has_go_package(); | 2071 inline void set_has_go_package(); |
2344 void clear_has_go_package(); | 2072 inline void clear_has_go_package(); |
2345 void set_has_cc_generic_services(); | 2073 inline void set_has_cc_generic_services(); |
2346 void clear_has_cc_generic_services(); | 2074 inline void clear_has_cc_generic_services(); |
2347 void set_has_java_generic_services(); | 2075 inline void set_has_java_generic_services(); |
2348 void clear_has_java_generic_services(); | 2076 inline void clear_has_java_generic_services(); |
2349 void set_has_py_generic_services(); | 2077 inline void set_has_py_generic_services(); |
2350 void clear_has_py_generic_services(); | 2078 inline void clear_has_py_generic_services(); |
2351 void set_has_deprecated(); | 2079 inline void set_has_deprecated(); |
2352 void clear_has_deprecated(); | 2080 inline void clear_has_deprecated(); |
2353 void set_has_cc_enable_arenas(); | 2081 inline void set_has_cc_enable_arenas(); |
2354 void clear_has_cc_enable_arenas(); | 2082 inline void clear_has_cc_enable_arenas(); |
2355 void set_has_objc_class_prefix(); | 2083 inline void set_has_objc_class_prefix(); |
2356 void clear_has_objc_class_prefix(); | 2084 inline void clear_has_objc_class_prefix(); |
2357 void set_has_csharp_namespace(); | 2085 inline void set_has_csharp_namespace(); |
2358 void clear_has_csharp_namespace(); | 2086 inline void clear_has_csharp_namespace(); |
2359 void set_has_swift_prefix(); | |
2360 void clear_has_swift_prefix(); | |
2361 | 2087 |
2362 ::google::protobuf::internal::ExtensionSet _extensions_; | 2088 ::google::protobuf::internal::ExtensionSet _extensions_; |
2363 | 2089 |
2364 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2090 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2365 ::google::protobuf::internal::HasBits<1> _has_bits_; | 2091 ::google::protobuf::uint32 _has_bits_[1]; |
2366 mutable int _cached_size_; | 2092 mutable int _cached_size_; |
2367 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | |
2368 ::google::protobuf::internal::ArenaStringPtr java_package_; | 2093 ::google::protobuf::internal::ArenaStringPtr java_package_; |
2369 ::google::protobuf::internal::ArenaStringPtr java_outer_classname_; | 2094 ::google::protobuf::internal::ArenaStringPtr java_outer_classname_; |
2370 ::google::protobuf::internal::ArenaStringPtr go_package_; | |
2371 ::google::protobuf::internal::ArenaStringPtr objc_class_prefix_; | |
2372 ::google::protobuf::internal::ArenaStringPtr csharp_namespace_; | |
2373 ::google::protobuf::internal::ArenaStringPtr swift_prefix_; | |
2374 bool java_multiple_files_; | 2095 bool java_multiple_files_; |
2375 bool java_generate_equals_and_hash_; | 2096 bool java_generate_equals_and_hash_; |
2376 bool java_string_check_utf8_; | 2097 bool java_string_check_utf8_; |
2377 bool cc_generic_services_; | 2098 bool cc_generic_services_; |
| 2099 int optimize_for_; |
| 2100 ::google::protobuf::internal::ArenaStringPtr go_package_; |
| 2101 ::google::protobuf::internal::ArenaStringPtr objc_class_prefix_; |
| 2102 ::google::protobuf::internal::ArenaStringPtr csharp_namespace_; |
| 2103 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
2378 bool java_generic_services_; | 2104 bool java_generic_services_; |
2379 bool py_generic_services_; | 2105 bool py_generic_services_; |
2380 bool deprecated_; | 2106 bool deprecated_; |
2381 bool cc_enable_arenas_; | 2107 bool cc_enable_arenas_; |
2382 int optimize_for_; | 2108 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
2383 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 2109 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
2384 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | |
2385 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
2386 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2110 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
2387 | 2111 |
| 2112 void InitAsDefaultInstance(); |
| 2113 static FileOptions* default_instance_; |
2388 }; | 2114 }; |
2389 // ------------------------------------------------------------------- | 2115 // ------------------------------------------------------------------- |
2390 | 2116 |
2391 class LIBPROTOBUF_EXPORT MessageOptions : public ::google::protobuf::Message /*
@@protoc_insertion_point(class_definition:google.protobuf.MessageOptions) */ { | 2117 class LIBPROTOBUF_EXPORT MessageOptions : public ::google::protobuf::Message { |
2392 public: | 2118 public: |
2393 MessageOptions(); | 2119 MessageOptions(); |
2394 virtual ~MessageOptions(); | 2120 virtual ~MessageOptions(); |
2395 | 2121 |
2396 MessageOptions(const MessageOptions& from); | 2122 MessageOptions(const MessageOptions& from); |
2397 | 2123 |
2398 inline MessageOptions& operator=(const MessageOptions& from) { | 2124 inline MessageOptions& operator=(const MessageOptions& from) { |
2399 CopyFrom(from); | 2125 CopyFrom(from); |
2400 return *this; | 2126 return *this; |
2401 } | 2127 } |
2402 | 2128 |
2403 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 2129 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2404 return _internal_metadata_.unknown_fields(); | 2130 return _internal_metadata_.unknown_fields(); |
2405 } | 2131 } |
2406 | 2132 |
2407 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 2133 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2408 return _internal_metadata_.mutable_unknown_fields(); | 2134 return _internal_metadata_.mutable_unknown_fields(); |
2409 } | 2135 } |
2410 | 2136 |
2411 static const ::google::protobuf::Descriptor* descriptor(); | 2137 static const ::google::protobuf::Descriptor* descriptor(); |
2412 static const MessageOptions& default_instance(); | 2138 static const MessageOptions& default_instance(); |
2413 | 2139 |
2414 static inline const MessageOptions* internal_default_instance() { | |
2415 return reinterpret_cast<const MessageOptions*>( | |
2416 &_MessageOptions_default_instance_); | |
2417 } | |
2418 | |
2419 void Swap(MessageOptions* other); | 2140 void Swap(MessageOptions* other); |
2420 | 2141 |
2421 // implements Message ---------------------------------------------- | 2142 // implements Message ---------------------------------------------- |
2422 | 2143 |
2423 inline MessageOptions* New() const PROTOBUF_FINAL { return New(NULL); } | 2144 inline MessageOptions* New() const { return New(NULL); } |
2424 | 2145 |
2425 MessageOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; | 2146 MessageOptions* New(::google::protobuf::Arena* arena) const; |
2426 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 2147 void CopyFrom(const ::google::protobuf::Message& from); |
2427 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 2148 void MergeFrom(const ::google::protobuf::Message& from); |
2428 void CopyFrom(const MessageOptions& from); | 2149 void CopyFrom(const MessageOptions& from); |
2429 void MergeFrom(const MessageOptions& from); | 2150 void MergeFrom(const MessageOptions& from); |
2430 void Clear() PROTOBUF_FINAL; | 2151 void Clear(); |
2431 bool IsInitialized() const PROTOBUF_FINAL; | 2152 bool IsInitialized() const; |
2432 | 2153 |
2433 size_t ByteSizeLong() const PROTOBUF_FINAL; | 2154 int ByteSize() const; |
2434 bool MergePartialFromCodedStream( | 2155 bool MergePartialFromCodedStream( |
2435 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 2156 ::google::protobuf::io::CodedInputStream* input); |
2436 void SerializeWithCachedSizes( | 2157 void SerializeWithCachedSizes( |
2437 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 2158 ::google::protobuf::io::CodedOutputStream* output) const; |
2438 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 2159 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
2439 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 2160 int GetCachedSize() const { return _cached_size_; } |
2440 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
2441 const PROTOBUF_FINAL { | |
2442 return InternalSerializeWithCachedSizesToArray(false, output); | |
2443 } | |
2444 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
2445 private: | 2161 private: |
2446 void SharedCtor(); | 2162 void SharedCtor(); |
2447 void SharedDtor(); | 2163 void SharedDtor(); |
2448 void SetCachedSize(int size) const PROTOBUF_FINAL; | 2164 void SetCachedSize(int size) const; |
2449 void InternalSwap(MessageOptions* other); | 2165 void InternalSwap(MessageOptions* other); |
2450 private: | 2166 private: |
2451 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 2167 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2452 return NULL; | 2168 return _internal_metadata_.arena(); |
2453 } | 2169 } |
2454 inline void* MaybeArenaPtr() const { | 2170 inline void* MaybeArenaPtr() const { |
2455 return NULL; | 2171 return _internal_metadata_.raw_arena_ptr(); |
2456 } | 2172 } |
2457 public: | 2173 public: |
2458 | 2174 |
2459 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 2175 ::google::protobuf::Metadata GetMetadata() const; |
2460 | 2176 |
2461 // nested types ---------------------------------------------------- | 2177 // nested types ---------------------------------------------------- |
2462 | 2178 |
2463 // accessors ------------------------------------------------------- | 2179 // accessors ------------------------------------------------------- |
2464 | 2180 |
2465 // optional bool message_set_wire_format = 1 [default = false]; | 2181 // optional bool message_set_wire_format = 1 [default = false]; |
2466 bool has_message_set_wire_format() const; | 2182 bool has_message_set_wire_format() const; |
2467 void clear_message_set_wire_format(); | 2183 void clear_message_set_wire_format(); |
2468 static const int kMessageSetWireFormatFieldNumber = 1; | 2184 static const int kMessageSetWireFormatFieldNumber = 1; |
2469 bool message_set_wire_format() const; | 2185 bool message_set_wire_format() const; |
(...skipping 28 matching lines...) Expand all Loading... |
2498 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 2214 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); |
2499 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 2215 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
2500 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 2216 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* |
2501 mutable_uninterpreted_option(); | 2217 mutable_uninterpreted_option(); |
2502 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 2218 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& |
2503 uninterpreted_option() const; | 2219 uninterpreted_option() const; |
2504 | 2220 |
2505 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions) | 2221 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions) |
2506 // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions) | 2222 // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions) |
2507 private: | 2223 private: |
2508 void set_has_message_set_wire_format(); | 2224 inline void set_has_message_set_wire_format(); |
2509 void clear_has_message_set_wire_format(); | 2225 inline void clear_has_message_set_wire_format(); |
2510 void set_has_no_standard_descriptor_accessor(); | 2226 inline void set_has_no_standard_descriptor_accessor(); |
2511 void clear_has_no_standard_descriptor_accessor(); | 2227 inline void clear_has_no_standard_descriptor_accessor(); |
2512 void set_has_deprecated(); | 2228 inline void set_has_deprecated(); |
2513 void clear_has_deprecated(); | 2229 inline void clear_has_deprecated(); |
2514 void set_has_map_entry(); | 2230 inline void set_has_map_entry(); |
2515 void clear_has_map_entry(); | 2231 inline void clear_has_map_entry(); |
2516 | 2232 |
2517 ::google::protobuf::internal::ExtensionSet _extensions_; | 2233 ::google::protobuf::internal::ExtensionSet _extensions_; |
2518 | 2234 |
2519 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2235 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2520 ::google::protobuf::internal::HasBits<1> _has_bits_; | 2236 ::google::protobuf::uint32 _has_bits_[1]; |
2521 mutable int _cached_size_; | 2237 mutable int _cached_size_; |
2522 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | 2238 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
2523 bool message_set_wire_format_; | 2239 bool message_set_wire_format_; |
2524 bool no_standard_descriptor_accessor_; | 2240 bool no_standard_descriptor_accessor_; |
2525 bool deprecated_; | 2241 bool deprecated_; |
2526 bool map_entry_; | 2242 bool map_entry_; |
2527 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 2243 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
2528 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | 2244 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
2529 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
2530 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2245 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
2531 | 2246 |
| 2247 void InitAsDefaultInstance(); |
| 2248 static MessageOptions* default_instance_; |
2532 }; | 2249 }; |
2533 // ------------------------------------------------------------------- | 2250 // ------------------------------------------------------------------- |
2534 | 2251 |
2535 class LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message /* @@
protoc_insertion_point(class_definition:google.protobuf.FieldOptions) */ { | 2252 class LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message { |
2536 public: | 2253 public: |
2537 FieldOptions(); | 2254 FieldOptions(); |
2538 virtual ~FieldOptions(); | 2255 virtual ~FieldOptions(); |
2539 | 2256 |
2540 FieldOptions(const FieldOptions& from); | 2257 FieldOptions(const FieldOptions& from); |
2541 | 2258 |
2542 inline FieldOptions& operator=(const FieldOptions& from) { | 2259 inline FieldOptions& operator=(const FieldOptions& from) { |
2543 CopyFrom(from); | 2260 CopyFrom(from); |
2544 return *this; | 2261 return *this; |
2545 } | 2262 } |
2546 | 2263 |
2547 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 2264 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2548 return _internal_metadata_.unknown_fields(); | 2265 return _internal_metadata_.unknown_fields(); |
2549 } | 2266 } |
2550 | 2267 |
2551 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 2268 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2552 return _internal_metadata_.mutable_unknown_fields(); | 2269 return _internal_metadata_.mutable_unknown_fields(); |
2553 } | 2270 } |
2554 | 2271 |
2555 static const ::google::protobuf::Descriptor* descriptor(); | 2272 static const ::google::protobuf::Descriptor* descriptor(); |
2556 static const FieldOptions& default_instance(); | 2273 static const FieldOptions& default_instance(); |
2557 | 2274 |
2558 static inline const FieldOptions* internal_default_instance() { | |
2559 return reinterpret_cast<const FieldOptions*>( | |
2560 &_FieldOptions_default_instance_); | |
2561 } | |
2562 | |
2563 void Swap(FieldOptions* other); | 2275 void Swap(FieldOptions* other); |
2564 | 2276 |
2565 // implements Message ---------------------------------------------- | 2277 // implements Message ---------------------------------------------- |
2566 | 2278 |
2567 inline FieldOptions* New() const PROTOBUF_FINAL { return New(NULL); } | 2279 inline FieldOptions* New() const { return New(NULL); } |
2568 | 2280 |
2569 FieldOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; | 2281 FieldOptions* New(::google::protobuf::Arena* arena) const; |
2570 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 2282 void CopyFrom(const ::google::protobuf::Message& from); |
2571 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 2283 void MergeFrom(const ::google::protobuf::Message& from); |
2572 void CopyFrom(const FieldOptions& from); | 2284 void CopyFrom(const FieldOptions& from); |
2573 void MergeFrom(const FieldOptions& from); | 2285 void MergeFrom(const FieldOptions& from); |
2574 void Clear() PROTOBUF_FINAL; | 2286 void Clear(); |
2575 bool IsInitialized() const PROTOBUF_FINAL; | 2287 bool IsInitialized() const; |
2576 | 2288 |
2577 size_t ByteSizeLong() const PROTOBUF_FINAL; | 2289 int ByteSize() const; |
2578 bool MergePartialFromCodedStream( | 2290 bool MergePartialFromCodedStream( |
2579 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 2291 ::google::protobuf::io::CodedInputStream* input); |
2580 void SerializeWithCachedSizes( | 2292 void SerializeWithCachedSizes( |
2581 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 2293 ::google::protobuf::io::CodedOutputStream* output) const; |
2582 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 2294 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
2583 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 2295 int GetCachedSize() const { return _cached_size_; } |
2584 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
2585 const PROTOBUF_FINAL { | |
2586 return InternalSerializeWithCachedSizesToArray(false, output); | |
2587 } | |
2588 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
2589 private: | 2296 private: |
2590 void SharedCtor(); | 2297 void SharedCtor(); |
2591 void SharedDtor(); | 2298 void SharedDtor(); |
2592 void SetCachedSize(int size) const PROTOBUF_FINAL; | 2299 void SetCachedSize(int size) const; |
2593 void InternalSwap(FieldOptions* other); | 2300 void InternalSwap(FieldOptions* other); |
2594 private: | 2301 private: |
2595 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 2302 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2596 return NULL; | 2303 return _internal_metadata_.arena(); |
2597 } | 2304 } |
2598 inline void* MaybeArenaPtr() const { | 2305 inline void* MaybeArenaPtr() const { |
2599 return NULL; | 2306 return _internal_metadata_.raw_arena_ptr(); |
2600 } | 2307 } |
2601 public: | 2308 public: |
2602 | 2309 |
2603 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 2310 ::google::protobuf::Metadata GetMetadata() const; |
2604 | 2311 |
2605 // nested types ---------------------------------------------------- | 2312 // nested types ---------------------------------------------------- |
2606 | 2313 |
2607 typedef FieldOptions_CType CType; | 2314 typedef FieldOptions_CType CType; |
2608 static const CType STRING = | 2315 static const CType STRING = |
2609 FieldOptions_CType_STRING; | 2316 FieldOptions_CType_STRING; |
2610 static const CType CORD = | 2317 static const CType CORD = |
2611 FieldOptions_CType_CORD; | 2318 FieldOptions_CType_CORD; |
2612 static const CType STRING_PIECE = | 2319 static const CType STRING_PIECE = |
2613 FieldOptions_CType_STRING_PIECE; | 2320 FieldOptions_CType_STRING_PIECE; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2712 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 2419 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); |
2713 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 2420 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
2714 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 2421 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* |
2715 mutable_uninterpreted_option(); | 2422 mutable_uninterpreted_option(); |
2716 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 2423 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& |
2717 uninterpreted_option() const; | 2424 uninterpreted_option() const; |
2718 | 2425 |
2719 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions) | 2426 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions) |
2720 // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions) | 2427 // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions) |
2721 private: | 2428 private: |
2722 void set_has_ctype(); | 2429 inline void set_has_ctype(); |
2723 void clear_has_ctype(); | 2430 inline void clear_has_ctype(); |
2724 void set_has_packed(); | 2431 inline void set_has_packed(); |
2725 void clear_has_packed(); | 2432 inline void clear_has_packed(); |
2726 void set_has_jstype(); | 2433 inline void set_has_jstype(); |
2727 void clear_has_jstype(); | 2434 inline void clear_has_jstype(); |
2728 void set_has_lazy(); | 2435 inline void set_has_lazy(); |
2729 void clear_has_lazy(); | 2436 inline void clear_has_lazy(); |
2730 void set_has_deprecated(); | 2437 inline void set_has_deprecated(); |
2731 void clear_has_deprecated(); | 2438 inline void clear_has_deprecated(); |
2732 void set_has_weak(); | 2439 inline void set_has_weak(); |
2733 void clear_has_weak(); | 2440 inline void clear_has_weak(); |
2734 | 2441 |
2735 ::google::protobuf::internal::ExtensionSet _extensions_; | 2442 ::google::protobuf::internal::ExtensionSet _extensions_; |
2736 | 2443 |
2737 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2444 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2738 ::google::protobuf::internal::HasBits<1> _has_bits_; | 2445 ::google::protobuf::uint32 _has_bits_[1]; |
2739 mutable int _cached_size_; | 2446 mutable int _cached_size_; |
2740 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | |
2741 int ctype_; | 2447 int ctype_; |
2742 int jstype_; | 2448 int jstype_; |
| 2449 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
2743 bool packed_; | 2450 bool packed_; |
2744 bool lazy_; | 2451 bool lazy_; |
2745 bool deprecated_; | 2452 bool deprecated_; |
2746 bool weak_; | 2453 bool weak_; |
2747 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 2454 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
2748 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | 2455 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
2749 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
2750 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2456 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
2751 | 2457 |
| 2458 void InitAsDefaultInstance(); |
| 2459 static FieldOptions* default_instance_; |
2752 }; | 2460 }; |
2753 // ------------------------------------------------------------------- | 2461 // ------------------------------------------------------------------- |
2754 | 2462 |
2755 class LIBPROTOBUF_EXPORT OneofOptions : public ::google::protobuf::Message /* @@
protoc_insertion_point(class_definition:google.protobuf.OneofOptions) */ { | 2463 class LIBPROTOBUF_EXPORT EnumOptions : public ::google::protobuf::Message { |
2756 public: | |
2757 OneofOptions(); | |
2758 virtual ~OneofOptions(); | |
2759 | |
2760 OneofOptions(const OneofOptions& from); | |
2761 | |
2762 inline OneofOptions& operator=(const OneofOptions& from) { | |
2763 CopyFrom(from); | |
2764 return *this; | |
2765 } | |
2766 | |
2767 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | |
2768 return _internal_metadata_.unknown_fields(); | |
2769 } | |
2770 | |
2771 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | |
2772 return _internal_metadata_.mutable_unknown_fields(); | |
2773 } | |
2774 | |
2775 static const ::google::protobuf::Descriptor* descriptor(); | |
2776 static const OneofOptions& default_instance(); | |
2777 | |
2778 static inline const OneofOptions* internal_default_instance() { | |
2779 return reinterpret_cast<const OneofOptions*>( | |
2780 &_OneofOptions_default_instance_); | |
2781 } | |
2782 | |
2783 void Swap(OneofOptions* other); | |
2784 | |
2785 // implements Message ---------------------------------------------- | |
2786 | |
2787 inline OneofOptions* New() const PROTOBUF_FINAL { return New(NULL); } | |
2788 | |
2789 OneofOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; | |
2790 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | |
2791 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | |
2792 void CopyFrom(const OneofOptions& from); | |
2793 void MergeFrom(const OneofOptions& from); | |
2794 void Clear() PROTOBUF_FINAL; | |
2795 bool IsInitialized() const PROTOBUF_FINAL; | |
2796 | |
2797 size_t ByteSizeLong() const PROTOBUF_FINAL; | |
2798 bool MergePartialFromCodedStream( | |
2799 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | |
2800 void SerializeWithCachedSizes( | |
2801 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | |
2802 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | |
2803 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | |
2804 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
2805 const PROTOBUF_FINAL { | |
2806 return InternalSerializeWithCachedSizesToArray(false, output); | |
2807 } | |
2808 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
2809 private: | |
2810 void SharedCtor(); | |
2811 void SharedDtor(); | |
2812 void SetCachedSize(int size) const PROTOBUF_FINAL; | |
2813 void InternalSwap(OneofOptions* other); | |
2814 private: | |
2815 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | |
2816 return NULL; | |
2817 } | |
2818 inline void* MaybeArenaPtr() const { | |
2819 return NULL; | |
2820 } | |
2821 public: | |
2822 | |
2823 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | |
2824 | |
2825 // nested types ---------------------------------------------------- | |
2826 | |
2827 // accessors ------------------------------------------------------- | |
2828 | |
2829 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | |
2830 int uninterpreted_option_size() const; | |
2831 void clear_uninterpreted_option(); | |
2832 static const int kUninterpretedOptionFieldNumber = 999; | |
2833 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; | |
2834 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | |
2835 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | |
2836 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | |
2837 mutable_uninterpreted_option(); | |
2838 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | |
2839 uninterpreted_option() const; | |
2840 | |
2841 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(OneofOptions) | |
2842 // @@protoc_insertion_point(class_scope:google.protobuf.OneofOptions) | |
2843 private: | |
2844 | |
2845 ::google::protobuf::internal::ExtensionSet _extensions_; | |
2846 | |
2847 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | |
2848 ::google::protobuf::internal::HasBits<1> _has_bits_; | |
2849 mutable int _cached_size_; | |
2850 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | |
2851 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | |
2852 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | |
2853 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
2854 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | |
2855 | |
2856 }; | |
2857 // ------------------------------------------------------------------- | |
2858 | |
2859 class LIBPROTOBUF_EXPORT EnumOptions : public ::google::protobuf::Message /* @@p
rotoc_insertion_point(class_definition:google.protobuf.EnumOptions) */ { | |
2860 public: | 2464 public: |
2861 EnumOptions(); | 2465 EnumOptions(); |
2862 virtual ~EnumOptions(); | 2466 virtual ~EnumOptions(); |
2863 | 2467 |
2864 EnumOptions(const EnumOptions& from); | 2468 EnumOptions(const EnumOptions& from); |
2865 | 2469 |
2866 inline EnumOptions& operator=(const EnumOptions& from) { | 2470 inline EnumOptions& operator=(const EnumOptions& from) { |
2867 CopyFrom(from); | 2471 CopyFrom(from); |
2868 return *this; | 2472 return *this; |
2869 } | 2473 } |
2870 | 2474 |
2871 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 2475 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2872 return _internal_metadata_.unknown_fields(); | 2476 return _internal_metadata_.unknown_fields(); |
2873 } | 2477 } |
2874 | 2478 |
2875 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 2479 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2876 return _internal_metadata_.mutable_unknown_fields(); | 2480 return _internal_metadata_.mutable_unknown_fields(); |
2877 } | 2481 } |
2878 | 2482 |
2879 static const ::google::protobuf::Descriptor* descriptor(); | 2483 static const ::google::protobuf::Descriptor* descriptor(); |
2880 static const EnumOptions& default_instance(); | 2484 static const EnumOptions& default_instance(); |
2881 | 2485 |
2882 static inline const EnumOptions* internal_default_instance() { | |
2883 return reinterpret_cast<const EnumOptions*>( | |
2884 &_EnumOptions_default_instance_); | |
2885 } | |
2886 | |
2887 void Swap(EnumOptions* other); | 2486 void Swap(EnumOptions* other); |
2888 | 2487 |
2889 // implements Message ---------------------------------------------- | 2488 // implements Message ---------------------------------------------- |
2890 | 2489 |
2891 inline EnumOptions* New() const PROTOBUF_FINAL { return New(NULL); } | 2490 inline EnumOptions* New() const { return New(NULL); } |
2892 | 2491 |
2893 EnumOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; | 2492 EnumOptions* New(::google::protobuf::Arena* arena) const; |
2894 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 2493 void CopyFrom(const ::google::protobuf::Message& from); |
2895 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 2494 void MergeFrom(const ::google::protobuf::Message& from); |
2896 void CopyFrom(const EnumOptions& from); | 2495 void CopyFrom(const EnumOptions& from); |
2897 void MergeFrom(const EnumOptions& from); | 2496 void MergeFrom(const EnumOptions& from); |
2898 void Clear() PROTOBUF_FINAL; | 2497 void Clear(); |
2899 bool IsInitialized() const PROTOBUF_FINAL; | 2498 bool IsInitialized() const; |
2900 | 2499 |
2901 size_t ByteSizeLong() const PROTOBUF_FINAL; | 2500 int ByteSize() const; |
2902 bool MergePartialFromCodedStream( | 2501 bool MergePartialFromCodedStream( |
2903 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 2502 ::google::protobuf::io::CodedInputStream* input); |
2904 void SerializeWithCachedSizes( | 2503 void SerializeWithCachedSizes( |
2905 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 2504 ::google::protobuf::io::CodedOutputStream* output) const; |
2906 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 2505 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
2907 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 2506 int GetCachedSize() const { return _cached_size_; } |
2908 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
2909 const PROTOBUF_FINAL { | |
2910 return InternalSerializeWithCachedSizesToArray(false, output); | |
2911 } | |
2912 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
2913 private: | 2507 private: |
2914 void SharedCtor(); | 2508 void SharedCtor(); |
2915 void SharedDtor(); | 2509 void SharedDtor(); |
2916 void SetCachedSize(int size) const PROTOBUF_FINAL; | 2510 void SetCachedSize(int size) const; |
2917 void InternalSwap(EnumOptions* other); | 2511 void InternalSwap(EnumOptions* other); |
2918 private: | 2512 private: |
2919 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 2513 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2920 return NULL; | 2514 return _internal_metadata_.arena(); |
2921 } | 2515 } |
2922 inline void* MaybeArenaPtr() const { | 2516 inline void* MaybeArenaPtr() const { |
2923 return NULL; | 2517 return _internal_metadata_.raw_arena_ptr(); |
2924 } | 2518 } |
2925 public: | 2519 public: |
2926 | 2520 |
2927 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 2521 ::google::protobuf::Metadata GetMetadata() const; |
2928 | 2522 |
2929 // nested types ---------------------------------------------------- | 2523 // nested types ---------------------------------------------------- |
2930 | 2524 |
2931 // accessors ------------------------------------------------------- | 2525 // accessors ------------------------------------------------------- |
2932 | 2526 |
2933 // optional bool allow_alias = 2; | 2527 // optional bool allow_alias = 2; |
2934 bool has_allow_alias() const; | 2528 bool has_allow_alias() const; |
2935 void clear_allow_alias(); | 2529 void clear_allow_alias(); |
2936 static const int kAllowAliasFieldNumber = 2; | 2530 static const int kAllowAliasFieldNumber = 2; |
2937 bool allow_alias() const; | 2531 bool allow_alias() const; |
(...skipping 14 matching lines...) Expand all Loading... |
2952 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 2546 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); |
2953 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 2547 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
2954 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 2548 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* |
2955 mutable_uninterpreted_option(); | 2549 mutable_uninterpreted_option(); |
2956 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 2550 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& |
2957 uninterpreted_option() const; | 2551 uninterpreted_option() const; |
2958 | 2552 |
2959 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions) | 2553 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions) |
2960 // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions) | 2554 // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions) |
2961 private: | 2555 private: |
2962 void set_has_allow_alias(); | 2556 inline void set_has_allow_alias(); |
2963 void clear_has_allow_alias(); | 2557 inline void clear_has_allow_alias(); |
2964 void set_has_deprecated(); | 2558 inline void set_has_deprecated(); |
2965 void clear_has_deprecated(); | 2559 inline void clear_has_deprecated(); |
2966 | 2560 |
2967 ::google::protobuf::internal::ExtensionSet _extensions_; | 2561 ::google::protobuf::internal::ExtensionSet _extensions_; |
2968 | 2562 |
2969 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2563 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2970 ::google::protobuf::internal::HasBits<1> _has_bits_; | 2564 ::google::protobuf::uint32 _has_bits_[1]; |
2971 mutable int _cached_size_; | 2565 mutable int _cached_size_; |
2972 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | 2566 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
2973 bool allow_alias_; | 2567 bool allow_alias_; |
2974 bool deprecated_; | 2568 bool deprecated_; |
2975 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 2569 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
2976 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | 2570 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
2977 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
2978 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2571 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
2979 | 2572 |
| 2573 void InitAsDefaultInstance(); |
| 2574 static EnumOptions* default_instance_; |
2980 }; | 2575 }; |
2981 // ------------------------------------------------------------------- | 2576 // ------------------------------------------------------------------- |
2982 | 2577 |
2983 class LIBPROTOBUF_EXPORT EnumValueOptions : public ::google::protobuf::Message /
* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueOptions) */
{ | 2578 class LIBPROTOBUF_EXPORT EnumValueOptions : public ::google::protobuf::Message { |
2984 public: | 2579 public: |
2985 EnumValueOptions(); | 2580 EnumValueOptions(); |
2986 virtual ~EnumValueOptions(); | 2581 virtual ~EnumValueOptions(); |
2987 | 2582 |
2988 EnumValueOptions(const EnumValueOptions& from); | 2583 EnumValueOptions(const EnumValueOptions& from); |
2989 | 2584 |
2990 inline EnumValueOptions& operator=(const EnumValueOptions& from) { | 2585 inline EnumValueOptions& operator=(const EnumValueOptions& from) { |
2991 CopyFrom(from); | 2586 CopyFrom(from); |
2992 return *this; | 2587 return *this; |
2993 } | 2588 } |
2994 | 2589 |
2995 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 2590 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2996 return _internal_metadata_.unknown_fields(); | 2591 return _internal_metadata_.unknown_fields(); |
2997 } | 2592 } |
2998 | 2593 |
2999 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 2594 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3000 return _internal_metadata_.mutable_unknown_fields(); | 2595 return _internal_metadata_.mutable_unknown_fields(); |
3001 } | 2596 } |
3002 | 2597 |
3003 static const ::google::protobuf::Descriptor* descriptor(); | 2598 static const ::google::protobuf::Descriptor* descriptor(); |
3004 static const EnumValueOptions& default_instance(); | 2599 static const EnumValueOptions& default_instance(); |
3005 | 2600 |
3006 static inline const EnumValueOptions* internal_default_instance() { | |
3007 return reinterpret_cast<const EnumValueOptions*>( | |
3008 &_EnumValueOptions_default_instance_); | |
3009 } | |
3010 | |
3011 void Swap(EnumValueOptions* other); | 2601 void Swap(EnumValueOptions* other); |
3012 | 2602 |
3013 // implements Message ---------------------------------------------- | 2603 // implements Message ---------------------------------------------- |
3014 | 2604 |
3015 inline EnumValueOptions* New() const PROTOBUF_FINAL { return New(NULL); } | 2605 inline EnumValueOptions* New() const { return New(NULL); } |
3016 | 2606 |
3017 EnumValueOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; | 2607 EnumValueOptions* New(::google::protobuf::Arena* arena) const; |
3018 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 2608 void CopyFrom(const ::google::protobuf::Message& from); |
3019 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 2609 void MergeFrom(const ::google::protobuf::Message& from); |
3020 void CopyFrom(const EnumValueOptions& from); | 2610 void CopyFrom(const EnumValueOptions& from); |
3021 void MergeFrom(const EnumValueOptions& from); | 2611 void MergeFrom(const EnumValueOptions& from); |
3022 void Clear() PROTOBUF_FINAL; | 2612 void Clear(); |
3023 bool IsInitialized() const PROTOBUF_FINAL; | 2613 bool IsInitialized() const; |
3024 | 2614 |
3025 size_t ByteSizeLong() const PROTOBUF_FINAL; | 2615 int ByteSize() const; |
3026 bool MergePartialFromCodedStream( | 2616 bool MergePartialFromCodedStream( |
3027 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 2617 ::google::protobuf::io::CodedInputStream* input); |
3028 void SerializeWithCachedSizes( | 2618 void SerializeWithCachedSizes( |
3029 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 2619 ::google::protobuf::io::CodedOutputStream* output) const; |
3030 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 2620 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
3031 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 2621 int GetCachedSize() const { return _cached_size_; } |
3032 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
3033 const PROTOBUF_FINAL { | |
3034 return InternalSerializeWithCachedSizesToArray(false, output); | |
3035 } | |
3036 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
3037 private: | 2622 private: |
3038 void SharedCtor(); | 2623 void SharedCtor(); |
3039 void SharedDtor(); | 2624 void SharedDtor(); |
3040 void SetCachedSize(int size) const PROTOBUF_FINAL; | 2625 void SetCachedSize(int size) const; |
3041 void InternalSwap(EnumValueOptions* other); | 2626 void InternalSwap(EnumValueOptions* other); |
3042 private: | 2627 private: |
3043 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 2628 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3044 return NULL; | 2629 return _internal_metadata_.arena(); |
3045 } | 2630 } |
3046 inline void* MaybeArenaPtr() const { | 2631 inline void* MaybeArenaPtr() const { |
3047 return NULL; | 2632 return _internal_metadata_.raw_arena_ptr(); |
3048 } | 2633 } |
3049 public: | 2634 public: |
3050 | 2635 |
3051 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 2636 ::google::protobuf::Metadata GetMetadata() const; |
3052 | 2637 |
3053 // nested types ---------------------------------------------------- | 2638 // nested types ---------------------------------------------------- |
3054 | 2639 |
3055 // accessors ------------------------------------------------------- | 2640 // accessors ------------------------------------------------------- |
3056 | 2641 |
3057 // optional bool deprecated = 1 [default = false]; | 2642 // optional bool deprecated = 1 [default = false]; |
3058 bool has_deprecated() const; | 2643 bool has_deprecated() const; |
3059 void clear_deprecated(); | 2644 void clear_deprecated(); |
3060 static const int kDeprecatedFieldNumber = 1; | 2645 static const int kDeprecatedFieldNumber = 1; |
3061 bool deprecated() const; | 2646 bool deprecated() const; |
3062 void set_deprecated(bool value); | 2647 void set_deprecated(bool value); |
3063 | 2648 |
3064 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 2649 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
3065 int uninterpreted_option_size() const; | 2650 int uninterpreted_option_size() const; |
3066 void clear_uninterpreted_option(); | 2651 void clear_uninterpreted_option(); |
3067 static const int kUninterpretedOptionFieldNumber = 999; | 2652 static const int kUninterpretedOptionFieldNumber = 999; |
3068 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; | 2653 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; |
3069 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 2654 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); |
3070 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 2655 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
3071 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 2656 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* |
3072 mutable_uninterpreted_option(); | 2657 mutable_uninterpreted_option(); |
3073 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 2658 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& |
3074 uninterpreted_option() const; | 2659 uninterpreted_option() const; |
3075 | 2660 |
3076 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions) | 2661 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions) |
3077 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions) | 2662 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions) |
3078 private: | 2663 private: |
3079 void set_has_deprecated(); | 2664 inline void set_has_deprecated(); |
3080 void clear_has_deprecated(); | 2665 inline void clear_has_deprecated(); |
3081 | 2666 |
3082 ::google::protobuf::internal::ExtensionSet _extensions_; | 2667 ::google::protobuf::internal::ExtensionSet _extensions_; |
3083 | 2668 |
3084 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2669 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3085 ::google::protobuf::internal::HasBits<1> _has_bits_; | 2670 ::google::protobuf::uint32 _has_bits_[1]; |
3086 mutable int _cached_size_; | 2671 mutable int _cached_size_; |
3087 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | 2672 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
3088 bool deprecated_; | 2673 bool deprecated_; |
3089 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 2674 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
3090 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | 2675 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
3091 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
3092 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2676 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
3093 | 2677 |
| 2678 void InitAsDefaultInstance(); |
| 2679 static EnumValueOptions* default_instance_; |
3094 }; | 2680 }; |
3095 // ------------------------------------------------------------------- | 2681 // ------------------------------------------------------------------- |
3096 | 2682 |
3097 class LIBPROTOBUF_EXPORT ServiceOptions : public ::google::protobuf::Message /*
@@protoc_insertion_point(class_definition:google.protobuf.ServiceOptions) */ { | 2683 class LIBPROTOBUF_EXPORT ServiceOptions : public ::google::protobuf::Message { |
3098 public: | 2684 public: |
3099 ServiceOptions(); | 2685 ServiceOptions(); |
3100 virtual ~ServiceOptions(); | 2686 virtual ~ServiceOptions(); |
3101 | 2687 |
3102 ServiceOptions(const ServiceOptions& from); | 2688 ServiceOptions(const ServiceOptions& from); |
3103 | 2689 |
3104 inline ServiceOptions& operator=(const ServiceOptions& from) { | 2690 inline ServiceOptions& operator=(const ServiceOptions& from) { |
3105 CopyFrom(from); | 2691 CopyFrom(from); |
3106 return *this; | 2692 return *this; |
3107 } | 2693 } |
3108 | 2694 |
3109 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 2695 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3110 return _internal_metadata_.unknown_fields(); | 2696 return _internal_metadata_.unknown_fields(); |
3111 } | 2697 } |
3112 | 2698 |
3113 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 2699 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3114 return _internal_metadata_.mutable_unknown_fields(); | 2700 return _internal_metadata_.mutable_unknown_fields(); |
3115 } | 2701 } |
3116 | 2702 |
3117 static const ::google::protobuf::Descriptor* descriptor(); | 2703 static const ::google::protobuf::Descriptor* descriptor(); |
3118 static const ServiceOptions& default_instance(); | 2704 static const ServiceOptions& default_instance(); |
3119 | 2705 |
3120 static inline const ServiceOptions* internal_default_instance() { | |
3121 return reinterpret_cast<const ServiceOptions*>( | |
3122 &_ServiceOptions_default_instance_); | |
3123 } | |
3124 | |
3125 void Swap(ServiceOptions* other); | 2706 void Swap(ServiceOptions* other); |
3126 | 2707 |
3127 // implements Message ---------------------------------------------- | 2708 // implements Message ---------------------------------------------- |
3128 | 2709 |
3129 inline ServiceOptions* New() const PROTOBUF_FINAL { return New(NULL); } | 2710 inline ServiceOptions* New() const { return New(NULL); } |
3130 | 2711 |
3131 ServiceOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; | 2712 ServiceOptions* New(::google::protobuf::Arena* arena) const; |
3132 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 2713 void CopyFrom(const ::google::protobuf::Message& from); |
3133 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 2714 void MergeFrom(const ::google::protobuf::Message& from); |
3134 void CopyFrom(const ServiceOptions& from); | 2715 void CopyFrom(const ServiceOptions& from); |
3135 void MergeFrom(const ServiceOptions& from); | 2716 void MergeFrom(const ServiceOptions& from); |
3136 void Clear() PROTOBUF_FINAL; | 2717 void Clear(); |
3137 bool IsInitialized() const PROTOBUF_FINAL; | 2718 bool IsInitialized() const; |
3138 | 2719 |
3139 size_t ByteSizeLong() const PROTOBUF_FINAL; | 2720 int ByteSize() const; |
3140 bool MergePartialFromCodedStream( | 2721 bool MergePartialFromCodedStream( |
3141 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 2722 ::google::protobuf::io::CodedInputStream* input); |
3142 void SerializeWithCachedSizes( | 2723 void SerializeWithCachedSizes( |
3143 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 2724 ::google::protobuf::io::CodedOutputStream* output) const; |
3144 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 2725 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
3145 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 2726 int GetCachedSize() const { return _cached_size_; } |
3146 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
3147 const PROTOBUF_FINAL { | |
3148 return InternalSerializeWithCachedSizesToArray(false, output); | |
3149 } | |
3150 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
3151 private: | 2727 private: |
3152 void SharedCtor(); | 2728 void SharedCtor(); |
3153 void SharedDtor(); | 2729 void SharedDtor(); |
3154 void SetCachedSize(int size) const PROTOBUF_FINAL; | 2730 void SetCachedSize(int size) const; |
3155 void InternalSwap(ServiceOptions* other); | 2731 void InternalSwap(ServiceOptions* other); |
3156 private: | 2732 private: |
3157 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 2733 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3158 return NULL; | 2734 return _internal_metadata_.arena(); |
3159 } | 2735 } |
3160 inline void* MaybeArenaPtr() const { | 2736 inline void* MaybeArenaPtr() const { |
3161 return NULL; | 2737 return _internal_metadata_.raw_arena_ptr(); |
3162 } | 2738 } |
3163 public: | 2739 public: |
3164 | 2740 |
3165 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 2741 ::google::protobuf::Metadata GetMetadata() const; |
3166 | 2742 |
3167 // nested types ---------------------------------------------------- | 2743 // nested types ---------------------------------------------------- |
3168 | 2744 |
3169 // accessors ------------------------------------------------------- | 2745 // accessors ------------------------------------------------------- |
3170 | 2746 |
3171 // optional bool deprecated = 33 [default = false]; | 2747 // optional bool deprecated = 33 [default = false]; |
3172 bool has_deprecated() const; | 2748 bool has_deprecated() const; |
3173 void clear_deprecated(); | 2749 void clear_deprecated(); |
3174 static const int kDeprecatedFieldNumber = 33; | 2750 static const int kDeprecatedFieldNumber = 33; |
3175 bool deprecated() const; | 2751 bool deprecated() const; |
3176 void set_deprecated(bool value); | 2752 void set_deprecated(bool value); |
3177 | 2753 |
3178 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 2754 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
3179 int uninterpreted_option_size() const; | 2755 int uninterpreted_option_size() const; |
3180 void clear_uninterpreted_option(); | 2756 void clear_uninterpreted_option(); |
3181 static const int kUninterpretedOptionFieldNumber = 999; | 2757 static const int kUninterpretedOptionFieldNumber = 999; |
3182 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; | 2758 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; |
3183 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 2759 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); |
3184 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 2760 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
3185 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 2761 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* |
3186 mutable_uninterpreted_option(); | 2762 mutable_uninterpreted_option(); |
3187 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 2763 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& |
3188 uninterpreted_option() const; | 2764 uninterpreted_option() const; |
3189 | 2765 |
3190 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions) | 2766 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions) |
3191 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions) | 2767 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions) |
3192 private: | 2768 private: |
3193 void set_has_deprecated(); | 2769 inline void set_has_deprecated(); |
3194 void clear_has_deprecated(); | 2770 inline void clear_has_deprecated(); |
3195 | 2771 |
3196 ::google::protobuf::internal::ExtensionSet _extensions_; | 2772 ::google::protobuf::internal::ExtensionSet _extensions_; |
3197 | 2773 |
3198 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2774 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3199 ::google::protobuf::internal::HasBits<1> _has_bits_; | 2775 ::google::protobuf::uint32 _has_bits_[1]; |
3200 mutable int _cached_size_; | 2776 mutable int _cached_size_; |
3201 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | 2777 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
3202 bool deprecated_; | 2778 bool deprecated_; |
3203 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 2779 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
3204 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | 2780 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
3205 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
3206 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2781 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
3207 | 2782 |
| 2783 void InitAsDefaultInstance(); |
| 2784 static ServiceOptions* default_instance_; |
3208 }; | 2785 }; |
3209 // ------------------------------------------------------------------- | 2786 // ------------------------------------------------------------------- |
3210 | 2787 |
3211 class LIBPROTOBUF_EXPORT MethodOptions : public ::google::protobuf::Message /* @
@protoc_insertion_point(class_definition:google.protobuf.MethodOptions) */ { | 2788 class LIBPROTOBUF_EXPORT MethodOptions : public ::google::protobuf::Message { |
3212 public: | 2789 public: |
3213 MethodOptions(); | 2790 MethodOptions(); |
3214 virtual ~MethodOptions(); | 2791 virtual ~MethodOptions(); |
3215 | 2792 |
3216 MethodOptions(const MethodOptions& from); | 2793 MethodOptions(const MethodOptions& from); |
3217 | 2794 |
3218 inline MethodOptions& operator=(const MethodOptions& from) { | 2795 inline MethodOptions& operator=(const MethodOptions& from) { |
3219 CopyFrom(from); | 2796 CopyFrom(from); |
3220 return *this; | 2797 return *this; |
3221 } | 2798 } |
3222 | 2799 |
3223 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 2800 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3224 return _internal_metadata_.unknown_fields(); | 2801 return _internal_metadata_.unknown_fields(); |
3225 } | 2802 } |
3226 | 2803 |
3227 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 2804 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3228 return _internal_metadata_.mutable_unknown_fields(); | 2805 return _internal_metadata_.mutable_unknown_fields(); |
3229 } | 2806 } |
3230 | 2807 |
3231 static const ::google::protobuf::Descriptor* descriptor(); | 2808 static const ::google::protobuf::Descriptor* descriptor(); |
3232 static const MethodOptions& default_instance(); | 2809 static const MethodOptions& default_instance(); |
3233 | 2810 |
3234 static inline const MethodOptions* internal_default_instance() { | |
3235 return reinterpret_cast<const MethodOptions*>( | |
3236 &_MethodOptions_default_instance_); | |
3237 } | |
3238 | |
3239 void Swap(MethodOptions* other); | 2811 void Swap(MethodOptions* other); |
3240 | 2812 |
3241 // implements Message ---------------------------------------------- | 2813 // implements Message ---------------------------------------------- |
3242 | 2814 |
3243 inline MethodOptions* New() const PROTOBUF_FINAL { return New(NULL); } | 2815 inline MethodOptions* New() const { return New(NULL); } |
3244 | 2816 |
3245 MethodOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; | 2817 MethodOptions* New(::google::protobuf::Arena* arena) const; |
3246 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 2818 void CopyFrom(const ::google::protobuf::Message& from); |
3247 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 2819 void MergeFrom(const ::google::protobuf::Message& from); |
3248 void CopyFrom(const MethodOptions& from); | 2820 void CopyFrom(const MethodOptions& from); |
3249 void MergeFrom(const MethodOptions& from); | 2821 void MergeFrom(const MethodOptions& from); |
3250 void Clear() PROTOBUF_FINAL; | 2822 void Clear(); |
3251 bool IsInitialized() const PROTOBUF_FINAL; | 2823 bool IsInitialized() const; |
3252 | 2824 |
3253 size_t ByteSizeLong() const PROTOBUF_FINAL; | 2825 int ByteSize() const; |
3254 bool MergePartialFromCodedStream( | 2826 bool MergePartialFromCodedStream( |
3255 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 2827 ::google::protobuf::io::CodedInputStream* input); |
3256 void SerializeWithCachedSizes( | 2828 void SerializeWithCachedSizes( |
3257 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 2829 ::google::protobuf::io::CodedOutputStream* output) const; |
3258 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 2830 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
3259 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 2831 int GetCachedSize() const { return _cached_size_; } |
3260 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
3261 const PROTOBUF_FINAL { | |
3262 return InternalSerializeWithCachedSizesToArray(false, output); | |
3263 } | |
3264 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
3265 private: | 2832 private: |
3266 void SharedCtor(); | 2833 void SharedCtor(); |
3267 void SharedDtor(); | 2834 void SharedDtor(); |
3268 void SetCachedSize(int size) const PROTOBUF_FINAL; | 2835 void SetCachedSize(int size) const; |
3269 void InternalSwap(MethodOptions* other); | 2836 void InternalSwap(MethodOptions* other); |
3270 private: | 2837 private: |
3271 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 2838 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3272 return NULL; | 2839 return _internal_metadata_.arena(); |
3273 } | 2840 } |
3274 inline void* MaybeArenaPtr() const { | 2841 inline void* MaybeArenaPtr() const { |
3275 return NULL; | 2842 return _internal_metadata_.raw_arena_ptr(); |
3276 } | 2843 } |
3277 public: | 2844 public: |
3278 | 2845 |
3279 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 2846 ::google::protobuf::Metadata GetMetadata() const; |
3280 | 2847 |
3281 // nested types ---------------------------------------------------- | 2848 // nested types ---------------------------------------------------- |
3282 | 2849 |
3283 typedef MethodOptions_IdempotencyLevel IdempotencyLevel; | |
3284 static const IdempotencyLevel IDEMPOTENCY_UNKNOWN = | |
3285 MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN; | |
3286 static const IdempotencyLevel NO_SIDE_EFFECTS = | |
3287 MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS; | |
3288 static const IdempotencyLevel IDEMPOTENT = | |
3289 MethodOptions_IdempotencyLevel_IDEMPOTENT; | |
3290 static inline bool IdempotencyLevel_IsValid(int value) { | |
3291 return MethodOptions_IdempotencyLevel_IsValid(value); | |
3292 } | |
3293 static const IdempotencyLevel IdempotencyLevel_MIN = | |
3294 MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN; | |
3295 static const IdempotencyLevel IdempotencyLevel_MAX = | |
3296 MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX; | |
3297 static const int IdempotencyLevel_ARRAYSIZE = | |
3298 MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE; | |
3299 static inline const ::google::protobuf::EnumDescriptor* | |
3300 IdempotencyLevel_descriptor() { | |
3301 return MethodOptions_IdempotencyLevel_descriptor(); | |
3302 } | |
3303 static inline const ::std::string& IdempotencyLevel_Name(IdempotencyLevel valu
e) { | |
3304 return MethodOptions_IdempotencyLevel_Name(value); | |
3305 } | |
3306 static inline bool IdempotencyLevel_Parse(const ::std::string& name, | |
3307 IdempotencyLevel* value) { | |
3308 return MethodOptions_IdempotencyLevel_Parse(name, value); | |
3309 } | |
3310 | |
3311 // accessors ------------------------------------------------------- | 2850 // accessors ------------------------------------------------------- |
3312 | 2851 |
3313 // optional bool deprecated = 33 [default = false]; | 2852 // optional bool deprecated = 33 [default = false]; |
3314 bool has_deprecated() const; | 2853 bool has_deprecated() const; |
3315 void clear_deprecated(); | 2854 void clear_deprecated(); |
3316 static const int kDeprecatedFieldNumber = 33; | 2855 static const int kDeprecatedFieldNumber = 33; |
3317 bool deprecated() const; | 2856 bool deprecated() const; |
3318 void set_deprecated(bool value); | 2857 void set_deprecated(bool value); |
3319 | 2858 |
3320 // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level
= 34 [default = IDEMPOTENCY_UNKNOWN]; | |
3321 bool has_idempotency_level() const; | |
3322 void clear_idempotency_level(); | |
3323 static const int kIdempotencyLevelFieldNumber = 34; | |
3324 ::google::protobuf::MethodOptions_IdempotencyLevel idempotency_level() const; | |
3325 void set_idempotency_level(::google::protobuf::MethodOptions_IdempotencyLevel
value); | |
3326 | |
3327 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 2859 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
3328 int uninterpreted_option_size() const; | 2860 int uninterpreted_option_size() const; |
3329 void clear_uninterpreted_option(); | 2861 void clear_uninterpreted_option(); |
3330 static const int kUninterpretedOptionFieldNumber = 999; | 2862 static const int kUninterpretedOptionFieldNumber = 999; |
3331 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; | 2863 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; |
3332 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 2864 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); |
3333 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 2865 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
3334 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 2866 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* |
3335 mutable_uninterpreted_option(); | 2867 mutable_uninterpreted_option(); |
3336 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 2868 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& |
3337 uninterpreted_option() const; | 2869 uninterpreted_option() const; |
3338 | 2870 |
3339 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions) | 2871 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions) |
3340 // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions) | 2872 // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions) |
3341 private: | 2873 private: |
3342 void set_has_deprecated(); | 2874 inline void set_has_deprecated(); |
3343 void clear_has_deprecated(); | 2875 inline void clear_has_deprecated(); |
3344 void set_has_idempotency_level(); | |
3345 void clear_has_idempotency_level(); | |
3346 | 2876 |
3347 ::google::protobuf::internal::ExtensionSet _extensions_; | 2877 ::google::protobuf::internal::ExtensionSet _extensions_; |
3348 | 2878 |
3349 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2879 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3350 ::google::protobuf::internal::HasBits<1> _has_bits_; | 2880 ::google::protobuf::uint32 _has_bits_[1]; |
3351 mutable int _cached_size_; | 2881 mutable int _cached_size_; |
3352 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | 2882 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
3353 bool deprecated_; | 2883 bool deprecated_; |
3354 int idempotency_level_; | 2884 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
3355 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 2885 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
3356 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | |
3357 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
3358 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2886 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
3359 | 2887 |
| 2888 void InitAsDefaultInstance(); |
| 2889 static MethodOptions* default_instance_; |
3360 }; | 2890 }; |
3361 // ------------------------------------------------------------------- | 2891 // ------------------------------------------------------------------- |
3362 | 2892 |
3363 class LIBPROTOBUF_EXPORT UninterpretedOption_NamePart : public ::google::protobu
f::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Uninterp
retedOption.NamePart) */ { | 2893 class LIBPROTOBUF_EXPORT UninterpretedOption_NamePart : public ::google::protobu
f::Message { |
3364 public: | 2894 public: |
3365 UninterpretedOption_NamePart(); | 2895 UninterpretedOption_NamePart(); |
3366 virtual ~UninterpretedOption_NamePart(); | 2896 virtual ~UninterpretedOption_NamePart(); |
3367 | 2897 |
3368 UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from); | 2898 UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from); |
3369 | 2899 |
3370 inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NameP
art& from) { | 2900 inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NameP
art& from) { |
3371 CopyFrom(from); | 2901 CopyFrom(from); |
3372 return *this; | 2902 return *this; |
3373 } | 2903 } |
3374 | 2904 |
3375 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 2905 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3376 return _internal_metadata_.unknown_fields(); | 2906 return _internal_metadata_.unknown_fields(); |
3377 } | 2907 } |
3378 | 2908 |
3379 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 2909 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3380 return _internal_metadata_.mutable_unknown_fields(); | 2910 return _internal_metadata_.mutable_unknown_fields(); |
3381 } | 2911 } |
3382 | 2912 |
3383 static const ::google::protobuf::Descriptor* descriptor(); | 2913 static const ::google::protobuf::Descriptor* descriptor(); |
3384 static const UninterpretedOption_NamePart& default_instance(); | 2914 static const UninterpretedOption_NamePart& default_instance(); |
3385 | 2915 |
3386 static inline const UninterpretedOption_NamePart* internal_default_instance()
{ | |
3387 return reinterpret_cast<const UninterpretedOption_NamePart*>( | |
3388 &_UninterpretedOption_NamePart_default_instance_); | |
3389 } | |
3390 | |
3391 void Swap(UninterpretedOption_NamePart* other); | 2916 void Swap(UninterpretedOption_NamePart* other); |
3392 | 2917 |
3393 // implements Message ---------------------------------------------- | 2918 // implements Message ---------------------------------------------- |
3394 | 2919 |
3395 inline UninterpretedOption_NamePart* New() const PROTOBUF_FINAL { return New(N
ULL); } | 2920 inline UninterpretedOption_NamePart* New() const { return New(NULL); } |
3396 | 2921 |
3397 UninterpretedOption_NamePart* New(::google::protobuf::Arena* arena) const PROT
OBUF_FINAL; | 2922 UninterpretedOption_NamePart* New(::google::protobuf::Arena* arena) const; |
3398 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 2923 void CopyFrom(const ::google::protobuf::Message& from); |
3399 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 2924 void MergeFrom(const ::google::protobuf::Message& from); |
3400 void CopyFrom(const UninterpretedOption_NamePart& from); | 2925 void CopyFrom(const UninterpretedOption_NamePart& from); |
3401 void MergeFrom(const UninterpretedOption_NamePart& from); | 2926 void MergeFrom(const UninterpretedOption_NamePart& from); |
3402 void Clear() PROTOBUF_FINAL; | 2927 void Clear(); |
3403 bool IsInitialized() const PROTOBUF_FINAL; | 2928 bool IsInitialized() const; |
3404 | 2929 |
3405 size_t ByteSizeLong() const PROTOBUF_FINAL; | 2930 int ByteSize() const; |
3406 bool MergePartialFromCodedStream( | 2931 bool MergePartialFromCodedStream( |
3407 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 2932 ::google::protobuf::io::CodedInputStream* input); |
3408 void SerializeWithCachedSizes( | 2933 void SerializeWithCachedSizes( |
3409 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 2934 ::google::protobuf::io::CodedOutputStream* output) const; |
3410 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 2935 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
3411 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 2936 int GetCachedSize() const { return _cached_size_; } |
3412 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
3413 const PROTOBUF_FINAL { | |
3414 return InternalSerializeWithCachedSizesToArray(false, output); | |
3415 } | |
3416 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
3417 private: | 2937 private: |
3418 void SharedCtor(); | 2938 void SharedCtor(); |
3419 void SharedDtor(); | 2939 void SharedDtor(); |
3420 void SetCachedSize(int size) const PROTOBUF_FINAL; | 2940 void SetCachedSize(int size) const; |
3421 void InternalSwap(UninterpretedOption_NamePart* other); | 2941 void InternalSwap(UninterpretedOption_NamePart* other); |
3422 private: | 2942 private: |
3423 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 2943 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3424 return NULL; | 2944 return _internal_metadata_.arena(); |
3425 } | 2945 } |
3426 inline void* MaybeArenaPtr() const { | 2946 inline void* MaybeArenaPtr() const { |
3427 return NULL; | 2947 return _internal_metadata_.raw_arena_ptr(); |
3428 } | 2948 } |
3429 public: | 2949 public: |
3430 | 2950 |
3431 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 2951 ::google::protobuf::Metadata GetMetadata() const; |
3432 | 2952 |
3433 // nested types ---------------------------------------------------- | 2953 // nested types ---------------------------------------------------- |
3434 | 2954 |
3435 // accessors ------------------------------------------------------- | 2955 // accessors ------------------------------------------------------- |
3436 | 2956 |
3437 // required string name_part = 1; | 2957 // required string name_part = 1; |
3438 bool has_name_part() const; | 2958 bool has_name_part() const; |
3439 void clear_name_part(); | 2959 void clear_name_part(); |
3440 static const int kNamePartFieldNumber = 1; | 2960 static const int kNamePartFieldNumber = 1; |
3441 const ::std::string& name_part() const; | 2961 const ::std::string& name_part() const; |
3442 void set_name_part(const ::std::string& value); | 2962 void set_name_part(const ::std::string& value); |
3443 #if LANG_CXX11 | |
3444 void set_name_part(::std::string&& value); | |
3445 #endif | |
3446 void set_name_part(const char* value); | 2963 void set_name_part(const char* value); |
3447 void set_name_part(const char* value, size_t size); | 2964 void set_name_part(const char* value, size_t size); |
3448 ::std::string* mutable_name_part(); | 2965 ::std::string* mutable_name_part(); |
3449 ::std::string* release_name_part(); | 2966 ::std::string* release_name_part(); |
3450 void set_allocated_name_part(::std::string* name_part); | 2967 void set_allocated_name_part(::std::string* name_part); |
3451 | 2968 |
3452 // required bool is_extension = 2; | 2969 // required bool is_extension = 2; |
3453 bool has_is_extension() const; | 2970 bool has_is_extension() const; |
3454 void clear_is_extension(); | 2971 void clear_is_extension(); |
3455 static const int kIsExtensionFieldNumber = 2; | 2972 static const int kIsExtensionFieldNumber = 2; |
3456 bool is_extension() const; | 2973 bool is_extension() const; |
3457 void set_is_extension(bool value); | 2974 void set_is_extension(bool value); |
3458 | 2975 |
3459 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.Na
mePart) | 2976 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.Na
mePart) |
3460 private: | 2977 private: |
3461 void set_has_name_part(); | 2978 inline void set_has_name_part(); |
3462 void clear_has_name_part(); | 2979 inline void clear_has_name_part(); |
3463 void set_has_is_extension(); | 2980 inline void set_has_is_extension(); |
3464 void clear_has_is_extension(); | 2981 inline void clear_has_is_extension(); |
3465 | 2982 |
3466 // helper for ByteSizeLong() | 2983 // helper for ByteSize() |
3467 size_t RequiredFieldsByteSizeFallback() const; | 2984 int RequiredFieldsByteSizeFallback() const; |
3468 | 2985 |
3469 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2986 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3470 ::google::protobuf::internal::HasBits<1> _has_bits_; | 2987 ::google::protobuf::uint32 _has_bits_[1]; |
3471 mutable int _cached_size_; | 2988 mutable int _cached_size_; |
3472 ::google::protobuf::internal::ArenaStringPtr name_part_; | 2989 ::google::protobuf::internal::ArenaStringPtr name_part_; |
3473 bool is_extension_; | 2990 bool is_extension_; |
3474 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 2991 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
3475 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | 2992 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
3476 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
3477 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2993 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
3478 | 2994 |
| 2995 void InitAsDefaultInstance(); |
| 2996 static UninterpretedOption_NamePart* default_instance_; |
3479 }; | 2997 }; |
3480 // ------------------------------------------------------------------- | 2998 // ------------------------------------------------------------------- |
3481 | 2999 |
3482 class LIBPROTOBUF_EXPORT UninterpretedOption : public ::google::protobuf::Messag
e /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOpti
on) */ { | 3000 class LIBPROTOBUF_EXPORT UninterpretedOption : public ::google::protobuf::Messag
e { |
3483 public: | 3001 public: |
3484 UninterpretedOption(); | 3002 UninterpretedOption(); |
3485 virtual ~UninterpretedOption(); | 3003 virtual ~UninterpretedOption(); |
3486 | 3004 |
3487 UninterpretedOption(const UninterpretedOption& from); | 3005 UninterpretedOption(const UninterpretedOption& from); |
3488 | 3006 |
3489 inline UninterpretedOption& operator=(const UninterpretedOption& from) { | 3007 inline UninterpretedOption& operator=(const UninterpretedOption& from) { |
3490 CopyFrom(from); | 3008 CopyFrom(from); |
3491 return *this; | 3009 return *this; |
3492 } | 3010 } |
3493 | 3011 |
3494 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 3012 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3495 return _internal_metadata_.unknown_fields(); | 3013 return _internal_metadata_.unknown_fields(); |
3496 } | 3014 } |
3497 | 3015 |
3498 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 3016 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3499 return _internal_metadata_.mutable_unknown_fields(); | 3017 return _internal_metadata_.mutable_unknown_fields(); |
3500 } | 3018 } |
3501 | 3019 |
3502 static const ::google::protobuf::Descriptor* descriptor(); | 3020 static const ::google::protobuf::Descriptor* descriptor(); |
3503 static const UninterpretedOption& default_instance(); | 3021 static const UninterpretedOption& default_instance(); |
3504 | 3022 |
3505 static inline const UninterpretedOption* internal_default_instance() { | |
3506 return reinterpret_cast<const UninterpretedOption*>( | |
3507 &_UninterpretedOption_default_instance_); | |
3508 } | |
3509 | |
3510 void Swap(UninterpretedOption* other); | 3023 void Swap(UninterpretedOption* other); |
3511 | 3024 |
3512 // implements Message ---------------------------------------------- | 3025 // implements Message ---------------------------------------------- |
3513 | 3026 |
3514 inline UninterpretedOption* New() const PROTOBUF_FINAL { return New(NULL); } | 3027 inline UninterpretedOption* New() const { return New(NULL); } |
3515 | 3028 |
3516 UninterpretedOption* New(::google::protobuf::Arena* arena) const PROTOBUF_FINA
L; | 3029 UninterpretedOption* New(::google::protobuf::Arena* arena) const; |
3517 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 3030 void CopyFrom(const ::google::protobuf::Message& from); |
3518 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 3031 void MergeFrom(const ::google::protobuf::Message& from); |
3519 void CopyFrom(const UninterpretedOption& from); | 3032 void CopyFrom(const UninterpretedOption& from); |
3520 void MergeFrom(const UninterpretedOption& from); | 3033 void MergeFrom(const UninterpretedOption& from); |
3521 void Clear() PROTOBUF_FINAL; | 3034 void Clear(); |
3522 bool IsInitialized() const PROTOBUF_FINAL; | 3035 bool IsInitialized() const; |
3523 | 3036 |
3524 size_t ByteSizeLong() const PROTOBUF_FINAL; | 3037 int ByteSize() const; |
3525 bool MergePartialFromCodedStream( | 3038 bool MergePartialFromCodedStream( |
3526 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 3039 ::google::protobuf::io::CodedInputStream* input); |
3527 void SerializeWithCachedSizes( | 3040 void SerializeWithCachedSizes( |
3528 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 3041 ::google::protobuf::io::CodedOutputStream* output) const; |
3529 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 3042 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
3530 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 3043 int GetCachedSize() const { return _cached_size_; } |
3531 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
3532 const PROTOBUF_FINAL { | |
3533 return InternalSerializeWithCachedSizesToArray(false, output); | |
3534 } | |
3535 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
3536 private: | 3044 private: |
3537 void SharedCtor(); | 3045 void SharedCtor(); |
3538 void SharedDtor(); | 3046 void SharedDtor(); |
3539 void SetCachedSize(int size) const PROTOBUF_FINAL; | 3047 void SetCachedSize(int size) const; |
3540 void InternalSwap(UninterpretedOption* other); | 3048 void InternalSwap(UninterpretedOption* other); |
3541 private: | 3049 private: |
3542 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 3050 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3543 return NULL; | 3051 return _internal_metadata_.arena(); |
3544 } | 3052 } |
3545 inline void* MaybeArenaPtr() const { | 3053 inline void* MaybeArenaPtr() const { |
3546 return NULL; | 3054 return _internal_metadata_.raw_arena_ptr(); |
3547 } | 3055 } |
3548 public: | 3056 public: |
3549 | 3057 |
3550 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 3058 ::google::protobuf::Metadata GetMetadata() const; |
3551 | 3059 |
3552 // nested types ---------------------------------------------------- | 3060 // nested types ---------------------------------------------------- |
3553 | 3061 |
3554 typedef UninterpretedOption_NamePart NamePart; | 3062 typedef UninterpretedOption_NamePart NamePart; |
3555 | 3063 |
3556 // accessors ------------------------------------------------------- | 3064 // accessors ------------------------------------------------------- |
3557 | 3065 |
3558 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; | 3066 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
3559 int name_size() const; | 3067 int name_size() const; |
3560 void clear_name(); | 3068 void clear_name(); |
3561 static const int kNameFieldNumber = 2; | 3069 static const int kNameFieldNumber = 2; |
3562 const ::google::protobuf::UninterpretedOption_NamePart& name(int index) const; | 3070 const ::google::protobuf::UninterpretedOption_NamePart& name(int index) const; |
3563 ::google::protobuf::UninterpretedOption_NamePart* mutable_name(int index); | 3071 ::google::protobuf::UninterpretedOption_NamePart* mutable_name(int index); |
3564 ::google::protobuf::UninterpretedOption_NamePart* add_name(); | 3072 ::google::protobuf::UninterpretedOption_NamePart* add_name(); |
3565 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_
NamePart >* | 3073 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_
NamePart >* |
3566 mutable_name(); | 3074 mutable_name(); |
3567 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption_NamePart >& | 3075 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption_NamePart >& |
3568 name() const; | 3076 name() const; |
3569 | 3077 |
3570 // optional string identifier_value = 3; | 3078 // optional string identifier_value = 3; |
3571 bool has_identifier_value() const; | 3079 bool has_identifier_value() const; |
3572 void clear_identifier_value(); | 3080 void clear_identifier_value(); |
3573 static const int kIdentifierValueFieldNumber = 3; | 3081 static const int kIdentifierValueFieldNumber = 3; |
3574 const ::std::string& identifier_value() const; | 3082 const ::std::string& identifier_value() const; |
3575 void set_identifier_value(const ::std::string& value); | 3083 void set_identifier_value(const ::std::string& value); |
3576 #if LANG_CXX11 | |
3577 void set_identifier_value(::std::string&& value); | |
3578 #endif | |
3579 void set_identifier_value(const char* value); | 3084 void set_identifier_value(const char* value); |
3580 void set_identifier_value(const char* value, size_t size); | 3085 void set_identifier_value(const char* value, size_t size); |
3581 ::std::string* mutable_identifier_value(); | 3086 ::std::string* mutable_identifier_value(); |
3582 ::std::string* release_identifier_value(); | 3087 ::std::string* release_identifier_value(); |
3583 void set_allocated_identifier_value(::std::string* identifier_value); | 3088 void set_allocated_identifier_value(::std::string* identifier_value); |
3584 | 3089 |
3585 // optional uint64 positive_int_value = 4; | 3090 // optional uint64 positive_int_value = 4; |
3586 bool has_positive_int_value() const; | 3091 bool has_positive_int_value() const; |
3587 void clear_positive_int_value(); | 3092 void clear_positive_int_value(); |
3588 static const int kPositiveIntValueFieldNumber = 4; | 3093 static const int kPositiveIntValueFieldNumber = 4; |
(...skipping 13 matching lines...) Expand all Loading... |
3602 static const int kDoubleValueFieldNumber = 6; | 3107 static const int kDoubleValueFieldNumber = 6; |
3603 double double_value() const; | 3108 double double_value() const; |
3604 void set_double_value(double value); | 3109 void set_double_value(double value); |
3605 | 3110 |
3606 // optional bytes string_value = 7; | 3111 // optional bytes string_value = 7; |
3607 bool has_string_value() const; | 3112 bool has_string_value() const; |
3608 void clear_string_value(); | 3113 void clear_string_value(); |
3609 static const int kStringValueFieldNumber = 7; | 3114 static const int kStringValueFieldNumber = 7; |
3610 const ::std::string& string_value() const; | 3115 const ::std::string& string_value() const; |
3611 void set_string_value(const ::std::string& value); | 3116 void set_string_value(const ::std::string& value); |
3612 #if LANG_CXX11 | |
3613 void set_string_value(::std::string&& value); | |
3614 #endif | |
3615 void set_string_value(const char* value); | 3117 void set_string_value(const char* value); |
3616 void set_string_value(const void* value, size_t size); | 3118 void set_string_value(const void* value, size_t size); |
3617 ::std::string* mutable_string_value(); | 3119 ::std::string* mutable_string_value(); |
3618 ::std::string* release_string_value(); | 3120 ::std::string* release_string_value(); |
3619 void set_allocated_string_value(::std::string* string_value); | 3121 void set_allocated_string_value(::std::string* string_value); |
3620 | 3122 |
3621 // optional string aggregate_value = 8; | 3123 // optional string aggregate_value = 8; |
3622 bool has_aggregate_value() const; | 3124 bool has_aggregate_value() const; |
3623 void clear_aggregate_value(); | 3125 void clear_aggregate_value(); |
3624 static const int kAggregateValueFieldNumber = 8; | 3126 static const int kAggregateValueFieldNumber = 8; |
3625 const ::std::string& aggregate_value() const; | 3127 const ::std::string& aggregate_value() const; |
3626 void set_aggregate_value(const ::std::string& value); | 3128 void set_aggregate_value(const ::std::string& value); |
3627 #if LANG_CXX11 | |
3628 void set_aggregate_value(::std::string&& value); | |
3629 #endif | |
3630 void set_aggregate_value(const char* value); | 3129 void set_aggregate_value(const char* value); |
3631 void set_aggregate_value(const char* value, size_t size); | 3130 void set_aggregate_value(const char* value, size_t size); |
3632 ::std::string* mutable_aggregate_value(); | 3131 ::std::string* mutable_aggregate_value(); |
3633 ::std::string* release_aggregate_value(); | 3132 ::std::string* release_aggregate_value(); |
3634 void set_allocated_aggregate_value(::std::string* aggregate_value); | 3133 void set_allocated_aggregate_value(::std::string* aggregate_value); |
3635 | 3134 |
3636 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption) | 3135 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption) |
3637 private: | 3136 private: |
3638 void set_has_identifier_value(); | 3137 inline void set_has_identifier_value(); |
3639 void clear_has_identifier_value(); | 3138 inline void clear_has_identifier_value(); |
3640 void set_has_positive_int_value(); | 3139 inline void set_has_positive_int_value(); |
3641 void clear_has_positive_int_value(); | 3140 inline void clear_has_positive_int_value(); |
3642 void set_has_negative_int_value(); | 3141 inline void set_has_negative_int_value(); |
3643 void clear_has_negative_int_value(); | 3142 inline void clear_has_negative_int_value(); |
3644 void set_has_double_value(); | 3143 inline void set_has_double_value(); |
3645 void clear_has_double_value(); | 3144 inline void clear_has_double_value(); |
3646 void set_has_string_value(); | 3145 inline void set_has_string_value(); |
3647 void clear_has_string_value(); | 3146 inline void clear_has_string_value(); |
3648 void set_has_aggregate_value(); | 3147 inline void set_has_aggregate_value(); |
3649 void clear_has_aggregate_value(); | 3148 inline void clear_has_aggregate_value(); |
3650 | 3149 |
3651 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 3150 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3652 ::google::protobuf::internal::HasBits<1> _has_bits_; | 3151 ::google::protobuf::uint32 _has_bits_[1]; |
3653 mutable int _cached_size_; | 3152 mutable int _cached_size_; |
3654 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_
NamePart > name_; | 3153 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_
NamePart > name_; |
3655 ::google::protobuf::internal::ArenaStringPtr identifier_value_; | 3154 ::google::protobuf::internal::ArenaStringPtr identifier_value_; |
3656 ::google::protobuf::internal::ArenaStringPtr string_value_; | |
3657 ::google::protobuf::internal::ArenaStringPtr aggregate_value_; | |
3658 ::google::protobuf::uint64 positive_int_value_; | 3155 ::google::protobuf::uint64 positive_int_value_; |
3659 ::google::protobuf::int64 negative_int_value_; | 3156 ::google::protobuf::int64 negative_int_value_; |
3660 double double_value_; | 3157 double double_value_; |
3661 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 3158 ::google::protobuf::internal::ArenaStringPtr string_value_; |
3662 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | 3159 ::google::protobuf::internal::ArenaStringPtr aggregate_value_; |
3663 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | 3160 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
| 3161 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
3664 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 3162 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
3665 | 3163 |
| 3164 void InitAsDefaultInstance(); |
| 3165 static UninterpretedOption* default_instance_; |
3666 }; | 3166 }; |
3667 // ------------------------------------------------------------------- | 3167 // ------------------------------------------------------------------- |
3668 | 3168 |
3669 class LIBPROTOBUF_EXPORT SourceCodeInfo_Location : public ::google::protobuf::Me
ssage /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInf
o.Location) */ { | 3169 class LIBPROTOBUF_EXPORT SourceCodeInfo_Location : public ::google::protobuf::Me
ssage { |
3670 public: | 3170 public: |
3671 SourceCodeInfo_Location(); | 3171 SourceCodeInfo_Location(); |
3672 virtual ~SourceCodeInfo_Location(); | 3172 virtual ~SourceCodeInfo_Location(); |
3673 | 3173 |
3674 SourceCodeInfo_Location(const SourceCodeInfo_Location& from); | 3174 SourceCodeInfo_Location(const SourceCodeInfo_Location& from); |
3675 | 3175 |
3676 inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from)
{ | 3176 inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from)
{ |
3677 CopyFrom(from); | 3177 CopyFrom(from); |
3678 return *this; | 3178 return *this; |
3679 } | 3179 } |
3680 | 3180 |
3681 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 3181 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3682 return _internal_metadata_.unknown_fields(); | 3182 return _internal_metadata_.unknown_fields(); |
3683 } | 3183 } |
3684 | 3184 |
3685 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 3185 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3686 return _internal_metadata_.mutable_unknown_fields(); | 3186 return _internal_metadata_.mutable_unknown_fields(); |
3687 } | 3187 } |
3688 | 3188 |
3689 static const ::google::protobuf::Descriptor* descriptor(); | 3189 static const ::google::protobuf::Descriptor* descriptor(); |
3690 static const SourceCodeInfo_Location& default_instance(); | 3190 static const SourceCodeInfo_Location& default_instance(); |
3691 | 3191 |
3692 static inline const SourceCodeInfo_Location* internal_default_instance() { | |
3693 return reinterpret_cast<const SourceCodeInfo_Location*>( | |
3694 &_SourceCodeInfo_Location_default_instance_); | |
3695 } | |
3696 | |
3697 void Swap(SourceCodeInfo_Location* other); | 3192 void Swap(SourceCodeInfo_Location* other); |
3698 | 3193 |
3699 // implements Message ---------------------------------------------- | 3194 // implements Message ---------------------------------------------- |
3700 | 3195 |
3701 inline SourceCodeInfo_Location* New() const PROTOBUF_FINAL { return New(NULL);
} | 3196 inline SourceCodeInfo_Location* New() const { return New(NULL); } |
3702 | 3197 |
3703 SourceCodeInfo_Location* New(::google::protobuf::Arena* arena) const PROTOBUF_
FINAL; | 3198 SourceCodeInfo_Location* New(::google::protobuf::Arena* arena) const; |
3704 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 3199 void CopyFrom(const ::google::protobuf::Message& from); |
3705 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 3200 void MergeFrom(const ::google::protobuf::Message& from); |
3706 void CopyFrom(const SourceCodeInfo_Location& from); | 3201 void CopyFrom(const SourceCodeInfo_Location& from); |
3707 void MergeFrom(const SourceCodeInfo_Location& from); | 3202 void MergeFrom(const SourceCodeInfo_Location& from); |
3708 void Clear() PROTOBUF_FINAL; | 3203 void Clear(); |
3709 bool IsInitialized() const PROTOBUF_FINAL; | 3204 bool IsInitialized() const; |
3710 | 3205 |
3711 size_t ByteSizeLong() const PROTOBUF_FINAL; | 3206 int ByteSize() const; |
3712 bool MergePartialFromCodedStream( | 3207 bool MergePartialFromCodedStream( |
3713 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 3208 ::google::protobuf::io::CodedInputStream* input); |
3714 void SerializeWithCachedSizes( | 3209 void SerializeWithCachedSizes( |
3715 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 3210 ::google::protobuf::io::CodedOutputStream* output) const; |
3716 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 3211 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
3717 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 3212 int GetCachedSize() const { return _cached_size_; } |
3718 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
3719 const PROTOBUF_FINAL { | |
3720 return InternalSerializeWithCachedSizesToArray(false, output); | |
3721 } | |
3722 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
3723 private: | 3213 private: |
3724 void SharedCtor(); | 3214 void SharedCtor(); |
3725 void SharedDtor(); | 3215 void SharedDtor(); |
3726 void SetCachedSize(int size) const PROTOBUF_FINAL; | 3216 void SetCachedSize(int size) const; |
3727 void InternalSwap(SourceCodeInfo_Location* other); | 3217 void InternalSwap(SourceCodeInfo_Location* other); |
3728 private: | 3218 private: |
3729 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 3219 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3730 return NULL; | 3220 return _internal_metadata_.arena(); |
3731 } | 3221 } |
3732 inline void* MaybeArenaPtr() const { | 3222 inline void* MaybeArenaPtr() const { |
3733 return NULL; | 3223 return _internal_metadata_.raw_arena_ptr(); |
3734 } | 3224 } |
3735 public: | 3225 public: |
3736 | 3226 |
3737 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 3227 ::google::protobuf::Metadata GetMetadata() const; |
3738 | 3228 |
3739 // nested types ---------------------------------------------------- | 3229 // nested types ---------------------------------------------------- |
3740 | 3230 |
3741 // accessors ------------------------------------------------------- | 3231 // accessors ------------------------------------------------------- |
3742 | 3232 |
3743 // repeated int32 path = 1 [packed = true]; | 3233 // repeated int32 path = 1 [packed = true]; |
3744 int path_size() const; | 3234 int path_size() const; |
3745 void clear_path(); | 3235 void clear_path(); |
3746 static const int kPathFieldNumber = 1; | 3236 static const int kPathFieldNumber = 1; |
3747 ::google::protobuf::int32 path(int index) const; | 3237 ::google::protobuf::int32 path(int index) const; |
(...skipping 15 matching lines...) Expand all Loading... |
3763 span() const; | 3253 span() const; |
3764 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* | 3254 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
3765 mutable_span(); | 3255 mutable_span(); |
3766 | 3256 |
3767 // optional string leading_comments = 3; | 3257 // optional string leading_comments = 3; |
3768 bool has_leading_comments() const; | 3258 bool has_leading_comments() const; |
3769 void clear_leading_comments(); | 3259 void clear_leading_comments(); |
3770 static const int kLeadingCommentsFieldNumber = 3; | 3260 static const int kLeadingCommentsFieldNumber = 3; |
3771 const ::std::string& leading_comments() const; | 3261 const ::std::string& leading_comments() const; |
3772 void set_leading_comments(const ::std::string& value); | 3262 void set_leading_comments(const ::std::string& value); |
3773 #if LANG_CXX11 | |
3774 void set_leading_comments(::std::string&& value); | |
3775 #endif | |
3776 void set_leading_comments(const char* value); | 3263 void set_leading_comments(const char* value); |
3777 void set_leading_comments(const char* value, size_t size); | 3264 void set_leading_comments(const char* value, size_t size); |
3778 ::std::string* mutable_leading_comments(); | 3265 ::std::string* mutable_leading_comments(); |
3779 ::std::string* release_leading_comments(); | 3266 ::std::string* release_leading_comments(); |
3780 void set_allocated_leading_comments(::std::string* leading_comments); | 3267 void set_allocated_leading_comments(::std::string* leading_comments); |
3781 | 3268 |
3782 // optional string trailing_comments = 4; | 3269 // optional string trailing_comments = 4; |
3783 bool has_trailing_comments() const; | 3270 bool has_trailing_comments() const; |
3784 void clear_trailing_comments(); | 3271 void clear_trailing_comments(); |
3785 static const int kTrailingCommentsFieldNumber = 4; | 3272 static const int kTrailingCommentsFieldNumber = 4; |
3786 const ::std::string& trailing_comments() const; | 3273 const ::std::string& trailing_comments() const; |
3787 void set_trailing_comments(const ::std::string& value); | 3274 void set_trailing_comments(const ::std::string& value); |
3788 #if LANG_CXX11 | |
3789 void set_trailing_comments(::std::string&& value); | |
3790 #endif | |
3791 void set_trailing_comments(const char* value); | 3275 void set_trailing_comments(const char* value); |
3792 void set_trailing_comments(const char* value, size_t size); | 3276 void set_trailing_comments(const char* value, size_t size); |
3793 ::std::string* mutable_trailing_comments(); | 3277 ::std::string* mutable_trailing_comments(); |
3794 ::std::string* release_trailing_comments(); | 3278 ::std::string* release_trailing_comments(); |
3795 void set_allocated_trailing_comments(::std::string* trailing_comments); | 3279 void set_allocated_trailing_comments(::std::string* trailing_comments); |
3796 | 3280 |
3797 // repeated string leading_detached_comments = 6; | 3281 // repeated string leading_detached_comments = 6; |
3798 int leading_detached_comments_size() const; | 3282 int leading_detached_comments_size() const; |
3799 void clear_leading_detached_comments(); | 3283 void clear_leading_detached_comments(); |
3800 static const int kLeadingDetachedCommentsFieldNumber = 6; | 3284 static const int kLeadingDetachedCommentsFieldNumber = 6; |
3801 const ::std::string& leading_detached_comments(int index) const; | 3285 const ::std::string& leading_detached_comments(int index) const; |
3802 ::std::string* mutable_leading_detached_comments(int index); | 3286 ::std::string* mutable_leading_detached_comments(int index); |
3803 void set_leading_detached_comments(int index, const ::std::string& value); | 3287 void set_leading_detached_comments(int index, const ::std::string& value); |
3804 void set_leading_detached_comments(int index, const char* value); | 3288 void set_leading_detached_comments(int index, const char* value); |
3805 void set_leading_detached_comments(int index, const char* value, size_t size); | 3289 void set_leading_detached_comments(int index, const char* value, size_t size); |
3806 ::std::string* add_leading_detached_comments(); | 3290 ::std::string* add_leading_detached_comments(); |
3807 void add_leading_detached_comments(const ::std::string& value); | 3291 void add_leading_detached_comments(const ::std::string& value); |
3808 void add_leading_detached_comments(const char* value); | 3292 void add_leading_detached_comments(const char* value); |
3809 void add_leading_detached_comments(const char* value, size_t size); | 3293 void add_leading_detached_comments(const char* value, size_t size); |
3810 const ::google::protobuf::RepeatedPtrField< ::std::string>& leading_detached_c
omments() const; | 3294 const ::google::protobuf::RepeatedPtrField< ::std::string>& leading_detached_c
omments() const; |
3811 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_leading_detached
_comments(); | 3295 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_leading_detached
_comments(); |
3812 | 3296 |
3813 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Locatio
n) | 3297 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Locatio
n) |
3814 private: | 3298 private: |
3815 void set_has_leading_comments(); | 3299 inline void set_has_leading_comments(); |
3816 void clear_has_leading_comments(); | 3300 inline void clear_has_leading_comments(); |
3817 void set_has_trailing_comments(); | 3301 inline void set_has_trailing_comments(); |
3818 void clear_has_trailing_comments(); | 3302 inline void clear_has_trailing_comments(); |
3819 | 3303 |
3820 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 3304 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3821 ::google::protobuf::internal::HasBits<1> _has_bits_; | 3305 ::google::protobuf::uint32 _has_bits_[1]; |
3822 mutable int _cached_size_; | 3306 mutable int _cached_size_; |
3823 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_; | 3307 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_; |
3824 mutable int _path_cached_byte_size_; | 3308 mutable int _path_cached_byte_size_; |
3825 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > span_; | 3309 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > span_; |
3826 mutable int _span_cached_byte_size_; | 3310 mutable int _span_cached_byte_size_; |
3827 ::google::protobuf::RepeatedPtrField< ::std::string> leading_detached_comments
_; | |
3828 ::google::protobuf::internal::ArenaStringPtr leading_comments_; | 3311 ::google::protobuf::internal::ArenaStringPtr leading_comments_; |
3829 ::google::protobuf::internal::ArenaStringPtr trailing_comments_; | 3312 ::google::protobuf::internal::ArenaStringPtr trailing_comments_; |
3830 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 3313 ::google::protobuf::RepeatedPtrField< ::std::string> leading_detached_comments
_; |
3831 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | 3314 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
3832 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | 3315 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
3833 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 3316 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
3834 | 3317 |
| 3318 void InitAsDefaultInstance(); |
| 3319 static SourceCodeInfo_Location* default_instance_; |
3835 }; | 3320 }; |
3836 // ------------------------------------------------------------------- | 3321 // ------------------------------------------------------------------- |
3837 | 3322 |
3838 class LIBPROTOBUF_EXPORT SourceCodeInfo : public ::google::protobuf::Message /*
@@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo) */ { | 3323 class LIBPROTOBUF_EXPORT SourceCodeInfo : public ::google::protobuf::Message { |
3839 public: | 3324 public: |
3840 SourceCodeInfo(); | 3325 SourceCodeInfo(); |
3841 virtual ~SourceCodeInfo(); | 3326 virtual ~SourceCodeInfo(); |
3842 | 3327 |
3843 SourceCodeInfo(const SourceCodeInfo& from); | 3328 SourceCodeInfo(const SourceCodeInfo& from); |
3844 | 3329 |
3845 inline SourceCodeInfo& operator=(const SourceCodeInfo& from) { | 3330 inline SourceCodeInfo& operator=(const SourceCodeInfo& from) { |
3846 CopyFrom(from); | 3331 CopyFrom(from); |
3847 return *this; | 3332 return *this; |
3848 } | 3333 } |
3849 | 3334 |
3850 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 3335 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3851 return _internal_metadata_.unknown_fields(); | 3336 return _internal_metadata_.unknown_fields(); |
3852 } | 3337 } |
3853 | 3338 |
3854 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 3339 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3855 return _internal_metadata_.mutable_unknown_fields(); | 3340 return _internal_metadata_.mutable_unknown_fields(); |
3856 } | 3341 } |
3857 | 3342 |
3858 static const ::google::protobuf::Descriptor* descriptor(); | 3343 static const ::google::protobuf::Descriptor* descriptor(); |
3859 static const SourceCodeInfo& default_instance(); | 3344 static const SourceCodeInfo& default_instance(); |
3860 | 3345 |
3861 static inline const SourceCodeInfo* internal_default_instance() { | |
3862 return reinterpret_cast<const SourceCodeInfo*>( | |
3863 &_SourceCodeInfo_default_instance_); | |
3864 } | |
3865 | |
3866 void Swap(SourceCodeInfo* other); | 3346 void Swap(SourceCodeInfo* other); |
3867 | 3347 |
3868 // implements Message ---------------------------------------------- | 3348 // implements Message ---------------------------------------------- |
3869 | 3349 |
3870 inline SourceCodeInfo* New() const PROTOBUF_FINAL { return New(NULL); } | 3350 inline SourceCodeInfo* New() const { return New(NULL); } |
3871 | 3351 |
3872 SourceCodeInfo* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; | 3352 SourceCodeInfo* New(::google::protobuf::Arena* arena) const; |
3873 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 3353 void CopyFrom(const ::google::protobuf::Message& from); |
3874 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 3354 void MergeFrom(const ::google::protobuf::Message& from); |
3875 void CopyFrom(const SourceCodeInfo& from); | 3355 void CopyFrom(const SourceCodeInfo& from); |
3876 void MergeFrom(const SourceCodeInfo& from); | 3356 void MergeFrom(const SourceCodeInfo& from); |
3877 void Clear() PROTOBUF_FINAL; | 3357 void Clear(); |
3878 bool IsInitialized() const PROTOBUF_FINAL; | 3358 bool IsInitialized() const; |
3879 | 3359 |
3880 size_t ByteSizeLong() const PROTOBUF_FINAL; | 3360 int ByteSize() const; |
3881 bool MergePartialFromCodedStream( | 3361 bool MergePartialFromCodedStream( |
3882 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 3362 ::google::protobuf::io::CodedInputStream* input); |
3883 void SerializeWithCachedSizes( | 3363 void SerializeWithCachedSizes( |
3884 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 3364 ::google::protobuf::io::CodedOutputStream* output) const; |
3885 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 3365 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
3886 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 3366 int GetCachedSize() const { return _cached_size_; } |
3887 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
3888 const PROTOBUF_FINAL { | |
3889 return InternalSerializeWithCachedSizesToArray(false, output); | |
3890 } | |
3891 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
3892 private: | 3367 private: |
3893 void SharedCtor(); | 3368 void SharedCtor(); |
3894 void SharedDtor(); | 3369 void SharedDtor(); |
3895 void SetCachedSize(int size) const PROTOBUF_FINAL; | 3370 void SetCachedSize(int size) const; |
3896 void InternalSwap(SourceCodeInfo* other); | 3371 void InternalSwap(SourceCodeInfo* other); |
3897 private: | 3372 private: |
3898 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 3373 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3899 return NULL; | 3374 return _internal_metadata_.arena(); |
3900 } | 3375 } |
3901 inline void* MaybeArenaPtr() const { | 3376 inline void* MaybeArenaPtr() const { |
3902 return NULL; | 3377 return _internal_metadata_.raw_arena_ptr(); |
3903 } | 3378 } |
3904 public: | 3379 public: |
3905 | 3380 |
3906 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 3381 ::google::protobuf::Metadata GetMetadata() const; |
3907 | 3382 |
3908 // nested types ---------------------------------------------------- | 3383 // nested types ---------------------------------------------------- |
3909 | 3384 |
3910 typedef SourceCodeInfo_Location Location; | 3385 typedef SourceCodeInfo_Location Location; |
3911 | 3386 |
3912 // accessors ------------------------------------------------------- | 3387 // accessors ------------------------------------------------------- |
3913 | 3388 |
3914 // repeated .google.protobuf.SourceCodeInfo.Location location = 1; | 3389 // repeated .google.protobuf.SourceCodeInfo.Location location = 1; |
3915 int location_size() const; | 3390 int location_size() const; |
3916 void clear_location(); | 3391 void clear_location(); |
3917 static const int kLocationFieldNumber = 1; | 3392 static const int kLocationFieldNumber = 1; |
3918 const ::google::protobuf::SourceCodeInfo_Location& location(int index) const; | 3393 const ::google::protobuf::SourceCodeInfo_Location& location(int index) const; |
3919 ::google::protobuf::SourceCodeInfo_Location* mutable_location(int index); | 3394 ::google::protobuf::SourceCodeInfo_Location* mutable_location(int index); |
3920 ::google::protobuf::SourceCodeInfo_Location* add_location(); | 3395 ::google::protobuf::SourceCodeInfo_Location* add_location(); |
3921 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Locat
ion >* | 3396 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Locat
ion >* |
3922 mutable_location(); | 3397 mutable_location(); |
3923 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo
_Location >& | 3398 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo
_Location >& |
3924 location() const; | 3399 location() const; |
3925 | 3400 |
3926 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo) | 3401 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo) |
3927 private: | 3402 private: |
3928 | 3403 |
3929 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 3404 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3930 ::google::protobuf::internal::HasBits<1> _has_bits_; | 3405 ::google::protobuf::uint32 _has_bits_[1]; |
3931 mutable int _cached_size_; | 3406 mutable int _cached_size_; |
3932 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Locat
ion > location_; | 3407 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Locat
ion > location_; |
3933 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 3408 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
3934 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | 3409 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
3935 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
3936 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 3410 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
3937 | 3411 |
| 3412 void InitAsDefaultInstance(); |
| 3413 static SourceCodeInfo* default_instance_; |
3938 }; | 3414 }; |
3939 // ------------------------------------------------------------------- | 3415 // ------------------------------------------------------------------- |
3940 | 3416 |
3941 class LIBPROTOBUF_EXPORT GeneratedCodeInfo_Annotation : public ::google::protobu
f::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Generate
dCodeInfo.Annotation) */ { | 3417 class LIBPROTOBUF_EXPORT GeneratedCodeInfo_Annotation : public ::google::protobu
f::Message { |
3942 public: | 3418 public: |
3943 GeneratedCodeInfo_Annotation(); | 3419 GeneratedCodeInfo_Annotation(); |
3944 virtual ~GeneratedCodeInfo_Annotation(); | 3420 virtual ~GeneratedCodeInfo_Annotation(); |
3945 | 3421 |
3946 GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from); | 3422 GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from); |
3947 | 3423 |
3948 inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotat
ion& from) { | 3424 inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotat
ion& from) { |
3949 CopyFrom(from); | 3425 CopyFrom(from); |
3950 return *this; | 3426 return *this; |
3951 } | 3427 } |
3952 | 3428 |
3953 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 3429 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3954 return _internal_metadata_.unknown_fields(); | 3430 return _internal_metadata_.unknown_fields(); |
3955 } | 3431 } |
3956 | 3432 |
3957 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 3433 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3958 return _internal_metadata_.mutable_unknown_fields(); | 3434 return _internal_metadata_.mutable_unknown_fields(); |
3959 } | 3435 } |
3960 | 3436 |
3961 static const ::google::protobuf::Descriptor* descriptor(); | 3437 static const ::google::protobuf::Descriptor* descriptor(); |
3962 static const GeneratedCodeInfo_Annotation& default_instance(); | 3438 static const GeneratedCodeInfo_Annotation& default_instance(); |
3963 | 3439 |
3964 static inline const GeneratedCodeInfo_Annotation* internal_default_instance()
{ | |
3965 return reinterpret_cast<const GeneratedCodeInfo_Annotation*>( | |
3966 &_GeneratedCodeInfo_Annotation_default_instance_); | |
3967 } | |
3968 | |
3969 void Swap(GeneratedCodeInfo_Annotation* other); | 3440 void Swap(GeneratedCodeInfo_Annotation* other); |
3970 | 3441 |
3971 // implements Message ---------------------------------------------- | 3442 // implements Message ---------------------------------------------- |
3972 | 3443 |
3973 inline GeneratedCodeInfo_Annotation* New() const PROTOBUF_FINAL { return New(N
ULL); } | 3444 inline GeneratedCodeInfo_Annotation* New() const { return New(NULL); } |
3974 | 3445 |
3975 GeneratedCodeInfo_Annotation* New(::google::protobuf::Arena* arena) const PROT
OBUF_FINAL; | 3446 GeneratedCodeInfo_Annotation* New(::google::protobuf::Arena* arena) const; |
3976 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 3447 void CopyFrom(const ::google::protobuf::Message& from); |
3977 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 3448 void MergeFrom(const ::google::protobuf::Message& from); |
3978 void CopyFrom(const GeneratedCodeInfo_Annotation& from); | 3449 void CopyFrom(const GeneratedCodeInfo_Annotation& from); |
3979 void MergeFrom(const GeneratedCodeInfo_Annotation& from); | 3450 void MergeFrom(const GeneratedCodeInfo_Annotation& from); |
3980 void Clear() PROTOBUF_FINAL; | 3451 void Clear(); |
3981 bool IsInitialized() const PROTOBUF_FINAL; | 3452 bool IsInitialized() const; |
3982 | 3453 |
3983 size_t ByteSizeLong() const PROTOBUF_FINAL; | 3454 int ByteSize() const; |
3984 bool MergePartialFromCodedStream( | 3455 bool MergePartialFromCodedStream( |
3985 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 3456 ::google::protobuf::io::CodedInputStream* input); |
3986 void SerializeWithCachedSizes( | 3457 void SerializeWithCachedSizes( |
3987 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 3458 ::google::protobuf::io::CodedOutputStream* output) const; |
3988 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 3459 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
3989 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 3460 int GetCachedSize() const { return _cached_size_; } |
3990 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
3991 const PROTOBUF_FINAL { | |
3992 return InternalSerializeWithCachedSizesToArray(false, output); | |
3993 } | |
3994 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
3995 private: | 3461 private: |
3996 void SharedCtor(); | 3462 void SharedCtor(); |
3997 void SharedDtor(); | 3463 void SharedDtor(); |
3998 void SetCachedSize(int size) const PROTOBUF_FINAL; | 3464 void SetCachedSize(int size) const; |
3999 void InternalSwap(GeneratedCodeInfo_Annotation* other); | 3465 void InternalSwap(GeneratedCodeInfo_Annotation* other); |
4000 private: | 3466 private: |
4001 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 3467 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4002 return NULL; | 3468 return _internal_metadata_.arena(); |
4003 } | 3469 } |
4004 inline void* MaybeArenaPtr() const { | 3470 inline void* MaybeArenaPtr() const { |
4005 return NULL; | 3471 return _internal_metadata_.raw_arena_ptr(); |
4006 } | 3472 } |
4007 public: | 3473 public: |
4008 | 3474 |
4009 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 3475 ::google::protobuf::Metadata GetMetadata() const; |
4010 | 3476 |
4011 // nested types ---------------------------------------------------- | 3477 // nested types ---------------------------------------------------- |
4012 | 3478 |
4013 // accessors ------------------------------------------------------- | 3479 // accessors ------------------------------------------------------- |
4014 | 3480 |
4015 // repeated int32 path = 1 [packed = true]; | 3481 // repeated int32 path = 1 [packed = true]; |
4016 int path_size() const; | 3482 int path_size() const; |
4017 void clear_path(); | 3483 void clear_path(); |
4018 static const int kPathFieldNumber = 1; | 3484 static const int kPathFieldNumber = 1; |
4019 ::google::protobuf::int32 path(int index) const; | 3485 ::google::protobuf::int32 path(int index) const; |
4020 void set_path(int index, ::google::protobuf::int32 value); | 3486 void set_path(int index, ::google::protobuf::int32 value); |
4021 void add_path(::google::protobuf::int32 value); | 3487 void add_path(::google::protobuf::int32 value); |
4022 const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& | 3488 const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
4023 path() const; | 3489 path() const; |
4024 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* | 3490 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
4025 mutable_path(); | 3491 mutable_path(); |
4026 | 3492 |
4027 // optional string source_file = 2; | 3493 // optional string source_file = 2; |
4028 bool has_source_file() const; | 3494 bool has_source_file() const; |
4029 void clear_source_file(); | 3495 void clear_source_file(); |
4030 static const int kSourceFileFieldNumber = 2; | 3496 static const int kSourceFileFieldNumber = 2; |
4031 const ::std::string& source_file() const; | 3497 const ::std::string& source_file() const; |
4032 void set_source_file(const ::std::string& value); | 3498 void set_source_file(const ::std::string& value); |
4033 #if LANG_CXX11 | |
4034 void set_source_file(::std::string&& value); | |
4035 #endif | |
4036 void set_source_file(const char* value); | 3499 void set_source_file(const char* value); |
4037 void set_source_file(const char* value, size_t size); | 3500 void set_source_file(const char* value, size_t size); |
4038 ::std::string* mutable_source_file(); | 3501 ::std::string* mutable_source_file(); |
4039 ::std::string* release_source_file(); | 3502 ::std::string* release_source_file(); |
4040 void set_allocated_source_file(::std::string* source_file); | 3503 void set_allocated_source_file(::std::string* source_file); |
4041 | 3504 |
4042 // optional int32 begin = 3; | 3505 // optional int32 begin = 3; |
4043 bool has_begin() const; | 3506 bool has_begin() const; |
4044 void clear_begin(); | 3507 void clear_begin(); |
4045 static const int kBeginFieldNumber = 3; | 3508 static const int kBeginFieldNumber = 3; |
4046 ::google::protobuf::int32 begin() const; | 3509 ::google::protobuf::int32 begin() const; |
4047 void set_begin(::google::protobuf::int32 value); | 3510 void set_begin(::google::protobuf::int32 value); |
4048 | 3511 |
4049 // optional int32 end = 4; | 3512 // optional int32 end = 4; |
4050 bool has_end() const; | 3513 bool has_end() const; |
4051 void clear_end(); | 3514 void clear_end(); |
4052 static const int kEndFieldNumber = 4; | 3515 static const int kEndFieldNumber = 4; |
4053 ::google::protobuf::int32 end() const; | 3516 ::google::protobuf::int32 end() const; |
4054 void set_end(::google::protobuf::int32 value); | 3517 void set_end(::google::protobuf::int32 value); |
4055 | 3518 |
4056 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Anno
tation) | 3519 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Anno
tation) |
4057 private: | 3520 private: |
4058 void set_has_source_file(); | 3521 inline void set_has_source_file(); |
4059 void clear_has_source_file(); | 3522 inline void clear_has_source_file(); |
4060 void set_has_begin(); | 3523 inline void set_has_begin(); |
4061 void clear_has_begin(); | 3524 inline void clear_has_begin(); |
4062 void set_has_end(); | 3525 inline void set_has_end(); |
4063 void clear_has_end(); | 3526 inline void clear_has_end(); |
4064 | 3527 |
4065 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 3528 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4066 ::google::protobuf::internal::HasBits<1> _has_bits_; | 3529 ::google::protobuf::uint32 _has_bits_[1]; |
4067 mutable int _cached_size_; | 3530 mutable int _cached_size_; |
4068 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_; | 3531 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_; |
4069 mutable int _path_cached_byte_size_; | 3532 mutable int _path_cached_byte_size_; |
4070 ::google::protobuf::internal::ArenaStringPtr source_file_; | 3533 ::google::protobuf::internal::ArenaStringPtr source_file_; |
4071 ::google::protobuf::int32 begin_; | 3534 ::google::protobuf::int32 begin_; |
4072 ::google::protobuf::int32 end_; | 3535 ::google::protobuf::int32 end_; |
4073 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 3536 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
4074 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | 3537 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
4075 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
4076 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 3538 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
4077 | 3539 |
| 3540 void InitAsDefaultInstance(); |
| 3541 static GeneratedCodeInfo_Annotation* default_instance_; |
4078 }; | 3542 }; |
4079 // ------------------------------------------------------------------- | 3543 // ------------------------------------------------------------------- |
4080 | 3544 |
4081 class LIBPROTOBUF_EXPORT GeneratedCodeInfo : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo)
*/ { | 3545 class LIBPROTOBUF_EXPORT GeneratedCodeInfo : public ::google::protobuf::Message
{ |
4082 public: | 3546 public: |
4083 GeneratedCodeInfo(); | 3547 GeneratedCodeInfo(); |
4084 virtual ~GeneratedCodeInfo(); | 3548 virtual ~GeneratedCodeInfo(); |
4085 | 3549 |
4086 GeneratedCodeInfo(const GeneratedCodeInfo& from); | 3550 GeneratedCodeInfo(const GeneratedCodeInfo& from); |
4087 | 3551 |
4088 inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) { | 3552 inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) { |
4089 CopyFrom(from); | 3553 CopyFrom(from); |
4090 return *this; | 3554 return *this; |
4091 } | 3555 } |
4092 | 3556 |
4093 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 3557 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4094 return _internal_metadata_.unknown_fields(); | 3558 return _internal_metadata_.unknown_fields(); |
4095 } | 3559 } |
4096 | 3560 |
4097 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 3561 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4098 return _internal_metadata_.mutable_unknown_fields(); | 3562 return _internal_metadata_.mutable_unknown_fields(); |
4099 } | 3563 } |
4100 | 3564 |
4101 static const ::google::protobuf::Descriptor* descriptor(); | 3565 static const ::google::protobuf::Descriptor* descriptor(); |
4102 static const GeneratedCodeInfo& default_instance(); | 3566 static const GeneratedCodeInfo& default_instance(); |
4103 | 3567 |
4104 static inline const GeneratedCodeInfo* internal_default_instance() { | |
4105 return reinterpret_cast<const GeneratedCodeInfo*>( | |
4106 &_GeneratedCodeInfo_default_instance_); | |
4107 } | |
4108 | |
4109 void Swap(GeneratedCodeInfo* other); | 3568 void Swap(GeneratedCodeInfo* other); |
4110 | 3569 |
4111 // implements Message ---------------------------------------------- | 3570 // implements Message ---------------------------------------------- |
4112 | 3571 |
4113 inline GeneratedCodeInfo* New() const PROTOBUF_FINAL { return New(NULL); } | 3572 inline GeneratedCodeInfo* New() const { return New(NULL); } |
4114 | 3573 |
4115 GeneratedCodeInfo* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; | 3574 GeneratedCodeInfo* New(::google::protobuf::Arena* arena) const; |
4116 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 3575 void CopyFrom(const ::google::protobuf::Message& from); |
4117 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 3576 void MergeFrom(const ::google::protobuf::Message& from); |
4118 void CopyFrom(const GeneratedCodeInfo& from); | 3577 void CopyFrom(const GeneratedCodeInfo& from); |
4119 void MergeFrom(const GeneratedCodeInfo& from); | 3578 void MergeFrom(const GeneratedCodeInfo& from); |
4120 void Clear() PROTOBUF_FINAL; | 3579 void Clear(); |
4121 bool IsInitialized() const PROTOBUF_FINAL; | 3580 bool IsInitialized() const; |
4122 | 3581 |
4123 size_t ByteSizeLong() const PROTOBUF_FINAL; | 3582 int ByteSize() const; |
4124 bool MergePartialFromCodedStream( | 3583 bool MergePartialFromCodedStream( |
4125 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 3584 ::google::protobuf::io::CodedInputStream* input); |
4126 void SerializeWithCachedSizes( | 3585 void SerializeWithCachedSizes( |
4127 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 3586 ::google::protobuf::io::CodedOutputStream* output) const; |
4128 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 3587 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; |
4129 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; | 3588 int GetCachedSize() const { return _cached_size_; } |
4130 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) | |
4131 const PROTOBUF_FINAL { | |
4132 return InternalSerializeWithCachedSizesToArray(false, output); | |
4133 } | |
4134 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | |
4135 private: | 3589 private: |
4136 void SharedCtor(); | 3590 void SharedCtor(); |
4137 void SharedDtor(); | 3591 void SharedDtor(); |
4138 void SetCachedSize(int size) const PROTOBUF_FINAL; | 3592 void SetCachedSize(int size) const; |
4139 void InternalSwap(GeneratedCodeInfo* other); | 3593 void InternalSwap(GeneratedCodeInfo* other); |
4140 private: | 3594 private: |
4141 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 3595 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4142 return NULL; | 3596 return _internal_metadata_.arena(); |
4143 } | 3597 } |
4144 inline void* MaybeArenaPtr() const { | 3598 inline void* MaybeArenaPtr() const { |
4145 return NULL; | 3599 return _internal_metadata_.raw_arena_ptr(); |
4146 } | 3600 } |
4147 public: | 3601 public: |
4148 | 3602 |
4149 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 3603 ::google::protobuf::Metadata GetMetadata() const; |
4150 | 3604 |
4151 // nested types ---------------------------------------------------- | 3605 // nested types ---------------------------------------------------- |
4152 | 3606 |
4153 typedef GeneratedCodeInfo_Annotation Annotation; | 3607 typedef GeneratedCodeInfo_Annotation Annotation; |
4154 | 3608 |
4155 // accessors ------------------------------------------------------- | 3609 // accessors ------------------------------------------------------- |
4156 | 3610 |
4157 // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; | 3611 // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; |
4158 int annotation_size() const; | 3612 int annotation_size() const; |
4159 void clear_annotation(); | 3613 void clear_annotation(); |
4160 static const int kAnnotationFieldNumber = 1; | 3614 static const int kAnnotationFieldNumber = 1; |
4161 const ::google::protobuf::GeneratedCodeInfo_Annotation& annotation(int index)
const; | 3615 const ::google::protobuf::GeneratedCodeInfo_Annotation& annotation(int index)
const; |
4162 ::google::protobuf::GeneratedCodeInfo_Annotation* mutable_annotation(int index
); | 3616 ::google::protobuf::GeneratedCodeInfo_Annotation* mutable_annotation(int index
); |
4163 ::google::protobuf::GeneratedCodeInfo_Annotation* add_annotation(); | 3617 ::google::protobuf::GeneratedCodeInfo_Annotation* add_annotation(); |
4164 ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_An
notation >* | 3618 ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_An
notation >* |
4165 mutable_annotation(); | 3619 mutable_annotation(); |
4166 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeI
nfo_Annotation >& | 3620 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeI
nfo_Annotation >& |
4167 annotation() const; | 3621 annotation() const; |
4168 | 3622 |
4169 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo) | 3623 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo) |
4170 private: | 3624 private: |
4171 | 3625 |
4172 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 3626 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4173 ::google::protobuf::internal::HasBits<1> _has_bits_; | 3627 ::google::protobuf::uint32 _has_bits_[1]; |
4174 mutable int _cached_size_; | 3628 mutable int _cached_size_; |
4175 ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_An
notation > annotation_; | 3629 ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_An
notation > annotation_; |
4176 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); | 3630 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); |
4177 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); | 3631 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
4178 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); | |
4179 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 3632 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
4180 | 3633 |
| 3634 void InitAsDefaultInstance(); |
| 3635 static GeneratedCodeInfo* default_instance_; |
4181 }; | 3636 }; |
4182 // =================================================================== | 3637 // =================================================================== |
4183 | 3638 |
4184 | 3639 |
4185 // =================================================================== | 3640 // =================================================================== |
4186 | 3641 |
4187 #if !PROTOBUF_INLINE_NOT_IN_HEADERS | 3642 #if !PROTOBUF_INLINE_NOT_IN_HEADERS |
4188 // FileDescriptorSet | 3643 // FileDescriptorSet |
4189 | 3644 |
4190 // repeated .google.protobuf.FileDescriptorProto file = 1; | 3645 // repeated .google.protobuf.FileDescriptorProto file = 1; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4230 } | 3685 } |
4231 inline void FileDescriptorProto::clear_has_name() { | 3686 inline void FileDescriptorProto::clear_has_name() { |
4232 _has_bits_[0] &= ~0x00000001u; | 3687 _has_bits_[0] &= ~0x00000001u; |
4233 } | 3688 } |
4234 inline void FileDescriptorProto::clear_name() { | 3689 inline void FileDescriptorProto::clear_name() { |
4235 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 3690 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
4236 clear_has_name(); | 3691 clear_has_name(); |
4237 } | 3692 } |
4238 inline const ::std::string& FileDescriptorProto::name() const { | 3693 inline const ::std::string& FileDescriptorProto::name() const { |
4239 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name
) | 3694 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name
) |
4240 return name_.GetNoArena(); | 3695 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); |
4241 } | 3696 } |
4242 inline void FileDescriptorProto::set_name(const ::std::string& value) { | 3697 inline void FileDescriptorProto::set_name(const ::std::string& value) { |
4243 set_has_name(); | 3698 set_has_name(); |
4244 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 3699 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
4245 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name
) | 3700 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name
) |
4246 } | 3701 } |
4247 #if LANG_CXX11 | |
4248 inline void FileDescriptorProto::set_name(::std::string&& value) { | |
4249 set_has_name(); | |
4250 name_.SetNoArena( | |
4251 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
4252 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileDescriptorPro
to.name) | |
4253 } | |
4254 #endif | |
4255 inline void FileDescriptorProto::set_name(const char* value) { | 3702 inline void FileDescriptorProto::set_name(const char* value) { |
4256 set_has_name(); | 3703 set_has_name(); |
4257 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 3704 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
4258 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto
.name) | 3705 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto
.name) |
4259 } | 3706 } |
4260 inline void FileDescriptorProto::set_name(const char* value, size_t size) { | 3707 inline void FileDescriptorProto::set_name(const char* value, size_t size) { |
4261 set_has_name(); | 3708 set_has_name(); |
4262 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 3709 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4263 ::std::string(reinterpret_cast<const char*>(value), size)); | 3710 ::std::string(reinterpret_cast<const char*>(value), size)); |
4264 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorPr
oto.name) | 3711 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorPr
oto.name) |
(...skipping 27 matching lines...) Expand all Loading... |
4292 } | 3739 } |
4293 inline void FileDescriptorProto::clear_has_package() { | 3740 inline void FileDescriptorProto::clear_has_package() { |
4294 _has_bits_[0] &= ~0x00000002u; | 3741 _has_bits_[0] &= ~0x00000002u; |
4295 } | 3742 } |
4296 inline void FileDescriptorProto::clear_package() { | 3743 inline void FileDescriptorProto::clear_package() { |
4297 package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited()); | 3744 package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited()); |
4298 clear_has_package(); | 3745 clear_has_package(); |
4299 } | 3746 } |
4300 inline const ::std::string& FileDescriptorProto::package() const { | 3747 inline const ::std::string& FileDescriptorProto::package() const { |
4301 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.pack
age) | 3748 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.pack
age) |
4302 return package_.GetNoArena(); | 3749 return package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlread
yInited()); |
4303 } | 3750 } |
4304 inline void FileDescriptorProto::set_package(const ::std::string& value) { | 3751 inline void FileDescriptorProto::set_package(const ::std::string& value) { |
4305 set_has_package(); | 3752 set_has_package(); |
4306 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited
(), value); | 3753 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited
(), value); |
4307 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.pack
age) | 3754 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.pack
age) |
4308 } | 3755 } |
4309 #if LANG_CXX11 | |
4310 inline void FileDescriptorProto::set_package(::std::string&& value) { | |
4311 set_has_package(); | |
4312 package_.SetNoArena( | |
4313 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
4314 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileDescriptorPro
to.package) | |
4315 } | |
4316 #endif | |
4317 inline void FileDescriptorProto::set_package(const char* value) { | 3756 inline void FileDescriptorProto::set_package(const char* value) { |
4318 set_has_package(); | 3757 set_has_package(); |
4319 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited
(), ::std::string(value)); | 3758 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited
(), ::std::string(value)); |
4320 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto
.package) | 3759 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto
.package) |
4321 } | 3760 } |
4322 inline void FileDescriptorProto::set_package(const char* value, size_t size) { | 3761 inline void FileDescriptorProto::set_package(const char* value, size_t size) { |
4323 set_has_package(); | 3762 set_has_package(); |
4324 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited
(), | 3763 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited
(), |
4325 ::std::string(reinterpret_cast<const char*>(value), size)); | 3764 ::std::string(reinterpret_cast<const char*>(value), size)); |
4326 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorPr
oto.package) | 3765 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorPr
oto.package) |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4575 return &extension_; | 4014 return &extension_; |
4576 } | 4015 } |
4577 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDesc
riptorProto >& | 4016 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDesc
riptorProto >& |
4578 FileDescriptorProto::extension() const { | 4017 FileDescriptorProto::extension() const { |
4579 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.ext
ension) | 4018 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.ext
ension) |
4580 return extension_; | 4019 return extension_; |
4581 } | 4020 } |
4582 | 4021 |
4583 // optional .google.protobuf.FileOptions options = 8; | 4022 // optional .google.protobuf.FileOptions options = 8; |
4584 inline bool FileDescriptorProto::has_options() const { | 4023 inline bool FileDescriptorProto::has_options() const { |
4585 return (_has_bits_[0] & 0x00000008u) != 0; | 4024 return (_has_bits_[0] & 0x00000200u) != 0; |
4586 } | 4025 } |
4587 inline void FileDescriptorProto::set_has_options() { | 4026 inline void FileDescriptorProto::set_has_options() { |
4588 _has_bits_[0] |= 0x00000008u; | 4027 _has_bits_[0] |= 0x00000200u; |
4589 } | 4028 } |
4590 inline void FileDescriptorProto::clear_has_options() { | 4029 inline void FileDescriptorProto::clear_has_options() { |
4591 _has_bits_[0] &= ~0x00000008u; | 4030 _has_bits_[0] &= ~0x00000200u; |
4592 } | 4031 } |
4593 inline void FileDescriptorProto::clear_options() { | 4032 inline void FileDescriptorProto::clear_options() { |
4594 if (options_ != NULL) options_->::google::protobuf::FileOptions::Clear(); | 4033 if (options_ != NULL) options_->::google::protobuf::FileOptions::Clear(); |
4595 clear_has_options(); | 4034 clear_has_options(); |
4596 } | 4035 } |
4597 inline const ::google::protobuf::FileOptions& FileDescriptorProto::options() con
st { | 4036 inline const ::google::protobuf::FileOptions& FileDescriptorProto::options() con
st { |
4598 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.opti
ons) | 4037 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.opti
ons) |
4599 return options_ != NULL ? *options_ | 4038 return options_ != NULL ? *options_ : *default_instance_->options_; |
4600 : *::google::protobuf::FileOptions::internal_default_in
stance(); | |
4601 } | 4039 } |
4602 inline ::google::protobuf::FileOptions* FileDescriptorProto::mutable_options() { | 4040 inline ::google::protobuf::FileOptions* FileDescriptorProto::mutable_options() { |
4603 set_has_options(); | 4041 set_has_options(); |
4604 if (options_ == NULL) { | 4042 if (options_ == NULL) { |
4605 options_ = new ::google::protobuf::FileOptions; | 4043 options_ = new ::google::protobuf::FileOptions; |
4606 } | 4044 } |
4607 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.
options) | 4045 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.
options) |
4608 return options_; | 4046 return options_; |
4609 } | 4047 } |
4610 inline ::google::protobuf::FileOptions* FileDescriptorProto::release_options() { | 4048 inline ::google::protobuf::FileOptions* FileDescriptorProto::release_options() { |
4611 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.
options) | 4049 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.
options) |
4612 clear_has_options(); | 4050 clear_has_options(); |
4613 ::google::protobuf::FileOptions* temp = options_; | 4051 ::google::protobuf::FileOptions* temp = options_; |
4614 options_ = NULL; | 4052 options_ = NULL; |
4615 return temp; | 4053 return temp; |
4616 } | 4054 } |
4617 inline void FileDescriptorProto::set_allocated_options(::google::protobuf::FileO
ptions* options) { | 4055 inline void FileDescriptorProto::set_allocated_options(::google::protobuf::FileO
ptions* options) { |
4618 delete options_; | 4056 delete options_; |
4619 options_ = options; | 4057 options_ = options; |
4620 if (options) { | 4058 if (options) { |
4621 set_has_options(); | 4059 set_has_options(); |
4622 } else { | 4060 } else { |
4623 clear_has_options(); | 4061 clear_has_options(); |
4624 } | 4062 } |
4625 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor
Proto.options) | 4063 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor
Proto.options) |
4626 } | 4064 } |
4627 | 4065 |
4628 // optional .google.protobuf.SourceCodeInfo source_code_info = 9; | 4066 // optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
4629 inline bool FileDescriptorProto::has_source_code_info() const { | 4067 inline bool FileDescriptorProto::has_source_code_info() const { |
4630 return (_has_bits_[0] & 0x00000010u) != 0; | 4068 return (_has_bits_[0] & 0x00000400u) != 0; |
4631 } | 4069 } |
4632 inline void FileDescriptorProto::set_has_source_code_info() { | 4070 inline void FileDescriptorProto::set_has_source_code_info() { |
4633 _has_bits_[0] |= 0x00000010u; | 4071 _has_bits_[0] |= 0x00000400u; |
4634 } | 4072 } |
4635 inline void FileDescriptorProto::clear_has_source_code_info() { | 4073 inline void FileDescriptorProto::clear_has_source_code_info() { |
4636 _has_bits_[0] &= ~0x00000010u; | 4074 _has_bits_[0] &= ~0x00000400u; |
4637 } | 4075 } |
4638 inline void FileDescriptorProto::clear_source_code_info() { | 4076 inline void FileDescriptorProto::clear_source_code_info() { |
4639 if (source_code_info_ != NULL) source_code_info_->::google::protobuf::SourceCo
deInfo::Clear(); | 4077 if (source_code_info_ != NULL) source_code_info_->::google::protobuf::SourceCo
deInfo::Clear(); |
4640 clear_has_source_code_info(); | 4078 clear_has_source_code_info(); |
4641 } | 4079 } |
4642 inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_cod
e_info() const { | 4080 inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_cod
e_info() const { |
4643 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.sour
ce_code_info) | 4081 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.sour
ce_code_info) |
4644 return source_code_info_ != NULL ? *source_code_info_ | 4082 return source_code_info_ != NULL ? *source_code_info_ : *default_instance_->so
urce_code_info_; |
4645 : *::google::protobuf::SourceCodeInfo::internal_default
_instance(); | |
4646 } | 4083 } |
4647 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::mutable_source_c
ode_info() { | 4084 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::mutable_source_c
ode_info() { |
4648 set_has_source_code_info(); | 4085 set_has_source_code_info(); |
4649 if (source_code_info_ == NULL) { | 4086 if (source_code_info_ == NULL) { |
4650 source_code_info_ = new ::google::protobuf::SourceCodeInfo; | 4087 source_code_info_ = new ::google::protobuf::SourceCodeInfo; |
4651 } | 4088 } |
4652 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.
source_code_info) | 4089 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.
source_code_info) |
4653 return source_code_info_; | 4090 return source_code_info_; |
4654 } | 4091 } |
4655 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::release_source_c
ode_info() { | 4092 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::release_source_c
ode_info() { |
4656 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.
source_code_info) | 4093 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.
source_code_info) |
4657 clear_has_source_code_info(); | 4094 clear_has_source_code_info(); |
4658 ::google::protobuf::SourceCodeInfo* temp = source_code_info_; | 4095 ::google::protobuf::SourceCodeInfo* temp = source_code_info_; |
4659 source_code_info_ = NULL; | 4096 source_code_info_ = NULL; |
4660 return temp; | 4097 return temp; |
4661 } | 4098 } |
4662 inline void FileDescriptorProto::set_allocated_source_code_info(::google::protob
uf::SourceCodeInfo* source_code_info) { | 4099 inline void FileDescriptorProto::set_allocated_source_code_info(::google::protob
uf::SourceCodeInfo* source_code_info) { |
4663 delete source_code_info_; | 4100 delete source_code_info_; |
4664 source_code_info_ = source_code_info; | 4101 source_code_info_ = source_code_info; |
4665 if (source_code_info) { | 4102 if (source_code_info) { |
4666 set_has_source_code_info(); | 4103 set_has_source_code_info(); |
4667 } else { | 4104 } else { |
4668 clear_has_source_code_info(); | 4105 clear_has_source_code_info(); |
4669 } | 4106 } |
4670 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor
Proto.source_code_info) | 4107 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor
Proto.source_code_info) |
4671 } | 4108 } |
4672 | 4109 |
4673 // optional string syntax = 12; | 4110 // optional string syntax = 12; |
4674 inline bool FileDescriptorProto::has_syntax() const { | 4111 inline bool FileDescriptorProto::has_syntax() const { |
4675 return (_has_bits_[0] & 0x00000004u) != 0; | 4112 return (_has_bits_[0] & 0x00000800u) != 0; |
4676 } | 4113 } |
4677 inline void FileDescriptorProto::set_has_syntax() { | 4114 inline void FileDescriptorProto::set_has_syntax() { |
4678 _has_bits_[0] |= 0x00000004u; | 4115 _has_bits_[0] |= 0x00000800u; |
4679 } | 4116 } |
4680 inline void FileDescriptorProto::clear_has_syntax() { | 4117 inline void FileDescriptorProto::clear_has_syntax() { |
4681 _has_bits_[0] &= ~0x00000004u; | 4118 _has_bits_[0] &= ~0x00000800u; |
4682 } | 4119 } |
4683 inline void FileDescriptorProto::clear_syntax() { | 4120 inline void FileDescriptorProto::clear_syntax() { |
4684 syntax_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | 4121 syntax_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); |
4685 clear_has_syntax(); | 4122 clear_has_syntax(); |
4686 } | 4123 } |
4687 inline const ::std::string& FileDescriptorProto::syntax() const { | 4124 inline const ::std::string& FileDescriptorProto::syntax() const { |
4688 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.synt
ax) | 4125 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.synt
ax) |
4689 return syntax_.GetNoArena(); | 4126 return syntax_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
4690 } | 4127 } |
4691 inline void FileDescriptorProto::set_syntax(const ::std::string& value) { | 4128 inline void FileDescriptorProto::set_syntax(const ::std::string& value) { |
4692 set_has_syntax(); | 4129 set_has_syntax(); |
4693 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), value); | 4130 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), value); |
4694 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.synt
ax) | 4131 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.synt
ax) |
4695 } | 4132 } |
4696 #if LANG_CXX11 | |
4697 inline void FileDescriptorProto::set_syntax(::std::string&& value) { | |
4698 set_has_syntax(); | |
4699 syntax_.SetNoArena( | |
4700 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
4701 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileDescriptorPro
to.syntax) | |
4702 } | |
4703 #endif | |
4704 inline void FileDescriptorProto::set_syntax(const char* value) { | 4133 inline void FileDescriptorProto::set_syntax(const char* value) { |
4705 set_has_syntax(); | 4134 set_has_syntax(); |
4706 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), ::std::string(value)); | 4135 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), ::std::string(value)); |
4707 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto
.syntax) | 4136 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto
.syntax) |
4708 } | 4137 } |
4709 inline void FileDescriptorProto::set_syntax(const char* value, size_t size) { | 4138 inline void FileDescriptorProto::set_syntax(const char* value, size_t size) { |
4710 set_has_syntax(); | 4139 set_has_syntax(); |
4711 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), | 4140 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), |
4712 ::std::string(reinterpret_cast<const char*>(value), size)); | 4141 ::std::string(reinterpret_cast<const char*>(value), size)); |
4713 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorPr
oto.syntax) | 4142 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorPr
oto.syntax) |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4849 } | 4278 } |
4850 inline void DescriptorProto::clear_has_name() { | 4279 inline void DescriptorProto::clear_has_name() { |
4851 _has_bits_[0] &= ~0x00000001u; | 4280 _has_bits_[0] &= ~0x00000001u; |
4852 } | 4281 } |
4853 inline void DescriptorProto::clear_name() { | 4282 inline void DescriptorProto::clear_name() { |
4854 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 4283 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
4855 clear_has_name(); | 4284 clear_has_name(); |
4856 } | 4285 } |
4857 inline const ::std::string& DescriptorProto::name() const { | 4286 inline const ::std::string& DescriptorProto::name() const { |
4858 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name) | 4287 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name) |
4859 return name_.GetNoArena(); | 4288 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); |
4860 } | 4289 } |
4861 inline void DescriptorProto::set_name(const ::std::string& value) { | 4290 inline void DescriptorProto::set_name(const ::std::string& value) { |
4862 set_has_name(); | 4291 set_has_name(); |
4863 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 4292 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
4864 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name) | 4293 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name) |
4865 } | 4294 } |
4866 #if LANG_CXX11 | |
4867 inline void DescriptorProto::set_name(::std::string&& value) { | |
4868 set_has_name(); | |
4869 name_.SetNoArena( | |
4870 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
4871 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.DescriptorProto.n
ame) | |
4872 } | |
4873 #endif | |
4874 inline void DescriptorProto::set_name(const char* value) { | 4295 inline void DescriptorProto::set_name(const char* value) { |
4875 set_has_name(); | 4296 set_has_name(); |
4876 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 4297 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
4877 // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.nam
e) | 4298 // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.nam
e) |
4878 } | 4299 } |
4879 inline void DescriptorProto::set_name(const char* value, size_t size) { | 4300 inline void DescriptorProto::set_name(const char* value, size_t size) { |
4880 set_has_name(); | 4301 set_has_name(); |
4881 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 4302 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4882 ::std::string(reinterpret_cast<const char*>(value), size)); | 4303 ::std::string(reinterpret_cast<const char*>(value), size)); |
4883 // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.
name) | 4304 // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.
name) |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5077 return &oneof_decl_; | 4498 return &oneof_decl_; |
5078 } | 4499 } |
5079 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDesc
riptorProto >& | 4500 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDesc
riptorProto >& |
5080 DescriptorProto::oneof_decl() const { | 4501 DescriptorProto::oneof_decl() const { |
5081 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_d
ecl) | 4502 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_d
ecl) |
5082 return oneof_decl_; | 4503 return oneof_decl_; |
5083 } | 4504 } |
5084 | 4505 |
5085 // optional .google.protobuf.MessageOptions options = 7; | 4506 // optional .google.protobuf.MessageOptions options = 7; |
5086 inline bool DescriptorProto::has_options() const { | 4507 inline bool DescriptorProto::has_options() const { |
5087 return (_has_bits_[0] & 0x00000002u) != 0; | 4508 return (_has_bits_[0] & 0x00000080u) != 0; |
5088 } | 4509 } |
5089 inline void DescriptorProto::set_has_options() { | 4510 inline void DescriptorProto::set_has_options() { |
5090 _has_bits_[0] |= 0x00000002u; | 4511 _has_bits_[0] |= 0x00000080u; |
5091 } | 4512 } |
5092 inline void DescriptorProto::clear_has_options() { | 4513 inline void DescriptorProto::clear_has_options() { |
5093 _has_bits_[0] &= ~0x00000002u; | 4514 _has_bits_[0] &= ~0x00000080u; |
5094 } | 4515 } |
5095 inline void DescriptorProto::clear_options() { | 4516 inline void DescriptorProto::clear_options() { |
5096 if (options_ != NULL) options_->::google::protobuf::MessageOptions::Clear(); | 4517 if (options_ != NULL) options_->::google::protobuf::MessageOptions::Clear(); |
5097 clear_has_options(); | 4518 clear_has_options(); |
5098 } | 4519 } |
5099 inline const ::google::protobuf::MessageOptions& DescriptorProto::options() cons
t { | 4520 inline const ::google::protobuf::MessageOptions& DescriptorProto::options() cons
t { |
5100 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options) | 4521 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options) |
5101 return options_ != NULL ? *options_ | 4522 return options_ != NULL ? *options_ : *default_instance_->options_; |
5102 : *::google::protobuf::MessageOptions::internal_default
_instance(); | |
5103 } | 4523 } |
5104 inline ::google::protobuf::MessageOptions* DescriptorProto::mutable_options() { | 4524 inline ::google::protobuf::MessageOptions* DescriptorProto::mutable_options() { |
5105 set_has_options(); | 4525 set_has_options(); |
5106 if (options_ == NULL) { | 4526 if (options_ == NULL) { |
5107 options_ = new ::google::protobuf::MessageOptions; | 4527 options_ = new ::google::protobuf::MessageOptions; |
5108 } | 4528 } |
5109 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.opti
ons) | 4529 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.opti
ons) |
5110 return options_; | 4530 return options_; |
5111 } | 4531 } |
5112 inline ::google::protobuf::MessageOptions* DescriptorProto::release_options() { | 4532 inline ::google::protobuf::MessageOptions* DescriptorProto::release_options() { |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5225 } | 4645 } |
5226 inline void FieldDescriptorProto::clear_has_name() { | 4646 inline void FieldDescriptorProto::clear_has_name() { |
5227 _has_bits_[0] &= ~0x00000001u; | 4647 _has_bits_[0] &= ~0x00000001u; |
5228 } | 4648 } |
5229 inline void FieldDescriptorProto::clear_name() { | 4649 inline void FieldDescriptorProto::clear_name() { |
5230 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 4650 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
5231 clear_has_name(); | 4651 clear_has_name(); |
5232 } | 4652 } |
5233 inline const ::std::string& FieldDescriptorProto::name() const { | 4653 inline const ::std::string& FieldDescriptorProto::name() const { |
5234 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.nam
e) | 4654 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.nam
e) |
5235 return name_.GetNoArena(); | 4655 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); |
5236 } | 4656 } |
5237 inline void FieldDescriptorProto::set_name(const ::std::string& value) { | 4657 inline void FieldDescriptorProto::set_name(const ::std::string& value) { |
5238 set_has_name(); | 4658 set_has_name(); |
5239 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 4659 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
5240 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.nam
e) | 4660 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.nam
e) |
5241 } | 4661 } |
5242 #if LANG_CXX11 | |
5243 inline void FieldDescriptorProto::set_name(::std::string&& value) { | |
5244 set_has_name(); | |
5245 name_.SetNoArena( | |
5246 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
5247 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FieldDescriptorPr
oto.name) | |
5248 } | |
5249 #endif | |
5250 inline void FieldDescriptorProto::set_name(const char* value) { | 4662 inline void FieldDescriptorProto::set_name(const char* value) { |
5251 set_has_name(); | 4663 set_has_name(); |
5252 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 4664 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
5253 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.name) | 4665 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.name) |
5254 } | 4666 } |
5255 inline void FieldDescriptorProto::set_name(const char* value, size_t size) { | 4667 inline void FieldDescriptorProto::set_name(const char* value, size_t size) { |
5256 set_has_name(); | 4668 set_has_name(); |
5257 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 4669 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5258 ::std::string(reinterpret_cast<const char*>(value), size)); | 4670 ::std::string(reinterpret_cast<const char*>(value), size)); |
5259 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.name) | 4671 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.name) |
(...skipping 13 matching lines...) Expand all Loading... |
5273 set_has_name(); | 4685 set_has_name(); |
5274 } else { | 4686 } else { |
5275 clear_has_name(); | 4687 clear_has_name(); |
5276 } | 4688 } |
5277 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); | 4689 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); |
5278 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.name) | 4690 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.name) |
5279 } | 4691 } |
5280 | 4692 |
5281 // optional int32 number = 3; | 4693 // optional int32 number = 3; |
5282 inline bool FieldDescriptorProto::has_number() const { | 4694 inline bool FieldDescriptorProto::has_number() const { |
5283 return (_has_bits_[0] & 0x00000040u) != 0; | 4695 return (_has_bits_[0] & 0x00000002u) != 0; |
5284 } | 4696 } |
5285 inline void FieldDescriptorProto::set_has_number() { | 4697 inline void FieldDescriptorProto::set_has_number() { |
5286 _has_bits_[0] |= 0x00000040u; | 4698 _has_bits_[0] |= 0x00000002u; |
5287 } | 4699 } |
5288 inline void FieldDescriptorProto::clear_has_number() { | 4700 inline void FieldDescriptorProto::clear_has_number() { |
5289 _has_bits_[0] &= ~0x00000040u; | 4701 _has_bits_[0] &= ~0x00000002u; |
5290 } | 4702 } |
5291 inline void FieldDescriptorProto::clear_number() { | 4703 inline void FieldDescriptorProto::clear_number() { |
5292 number_ = 0; | 4704 number_ = 0; |
5293 clear_has_number(); | 4705 clear_has_number(); |
5294 } | 4706 } |
5295 inline ::google::protobuf::int32 FieldDescriptorProto::number() const { | 4707 inline ::google::protobuf::int32 FieldDescriptorProto::number() const { |
5296 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.num
ber) | 4708 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.num
ber) |
5297 return number_; | 4709 return number_; |
5298 } | 4710 } |
5299 inline void FieldDescriptorProto::set_number(::google::protobuf::int32 value) { | 4711 inline void FieldDescriptorProto::set_number(::google::protobuf::int32 value) { |
5300 set_has_number(); | 4712 set_has_number(); |
5301 number_ = value; | 4713 number_ = value; |
5302 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.num
ber) | 4714 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.num
ber) |
5303 } | 4715 } |
5304 | 4716 |
5305 // optional .google.protobuf.FieldDescriptorProto.Label label = 4; | 4717 // optional .google.protobuf.FieldDescriptorProto.Label label = 4; |
5306 inline bool FieldDescriptorProto::has_label() const { | 4718 inline bool FieldDescriptorProto::has_label() const { |
5307 return (_has_bits_[0] & 0x00000100u) != 0; | 4719 return (_has_bits_[0] & 0x00000004u) != 0; |
5308 } | 4720 } |
5309 inline void FieldDescriptorProto::set_has_label() { | 4721 inline void FieldDescriptorProto::set_has_label() { |
5310 _has_bits_[0] |= 0x00000100u; | 4722 _has_bits_[0] |= 0x00000004u; |
5311 } | 4723 } |
5312 inline void FieldDescriptorProto::clear_has_label() { | 4724 inline void FieldDescriptorProto::clear_has_label() { |
5313 _has_bits_[0] &= ~0x00000100u; | 4725 _has_bits_[0] &= ~0x00000004u; |
5314 } | 4726 } |
5315 inline void FieldDescriptorProto::clear_label() { | 4727 inline void FieldDescriptorProto::clear_label() { |
5316 label_ = 1; | 4728 label_ = 1; |
5317 clear_has_label(); | 4729 clear_has_label(); |
5318 } | 4730 } |
5319 inline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::labe
l() const { | 4731 inline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::labe
l() const { |
5320 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.lab
el) | 4732 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.lab
el) |
5321 return static_cast< ::google::protobuf::FieldDescriptorProto_Label >(label_); | 4733 return static_cast< ::google::protobuf::FieldDescriptorProto_Label >(label_); |
5322 } | 4734 } |
5323 inline void FieldDescriptorProto::set_label(::google::protobuf::FieldDescriptorP
roto_Label value) { | 4735 inline void FieldDescriptorProto::set_label(::google::protobuf::FieldDescriptorP
roto_Label value) { |
5324 assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value)); | 4736 assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value)); |
5325 set_has_label(); | 4737 set_has_label(); |
5326 label_ = value; | 4738 label_ = value; |
5327 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.lab
el) | 4739 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.lab
el) |
5328 } | 4740 } |
5329 | 4741 |
5330 // optional .google.protobuf.FieldDescriptorProto.Type type = 5; | 4742 // optional .google.protobuf.FieldDescriptorProto.Type type = 5; |
5331 inline bool FieldDescriptorProto::has_type() const { | 4743 inline bool FieldDescriptorProto::has_type() const { |
5332 return (_has_bits_[0] & 0x00000200u) != 0; | 4744 return (_has_bits_[0] & 0x00000008u) != 0; |
5333 } | 4745 } |
5334 inline void FieldDescriptorProto::set_has_type() { | 4746 inline void FieldDescriptorProto::set_has_type() { |
5335 _has_bits_[0] |= 0x00000200u; | 4747 _has_bits_[0] |= 0x00000008u; |
5336 } | 4748 } |
5337 inline void FieldDescriptorProto::clear_has_type() { | 4749 inline void FieldDescriptorProto::clear_has_type() { |
5338 _has_bits_[0] &= ~0x00000200u; | 4750 _has_bits_[0] &= ~0x00000008u; |
5339 } | 4751 } |
5340 inline void FieldDescriptorProto::clear_type() { | 4752 inline void FieldDescriptorProto::clear_type() { |
5341 type_ = 1; | 4753 type_ = 1; |
5342 clear_has_type(); | 4754 clear_has_type(); |
5343 } | 4755 } |
5344 inline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::type(
) const { | 4756 inline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::type(
) const { |
5345 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.typ
e) | 4757 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.typ
e) |
5346 return static_cast< ::google::protobuf::FieldDescriptorProto_Type >(type_); | 4758 return static_cast< ::google::protobuf::FieldDescriptorProto_Type >(type_); |
5347 } | 4759 } |
5348 inline void FieldDescriptorProto::set_type(::google::protobuf::FieldDescriptorPr
oto_Type value) { | 4760 inline void FieldDescriptorProto::set_type(::google::protobuf::FieldDescriptorPr
oto_Type value) { |
5349 assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value)); | 4761 assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value)); |
5350 set_has_type(); | 4762 set_has_type(); |
5351 type_ = value; | 4763 type_ = value; |
5352 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.typ
e) | 4764 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.typ
e) |
5353 } | 4765 } |
5354 | 4766 |
5355 // optional string type_name = 6; | 4767 // optional string type_name = 6; |
5356 inline bool FieldDescriptorProto::has_type_name() const { | 4768 inline bool FieldDescriptorProto::has_type_name() const { |
5357 return (_has_bits_[0] & 0x00000002u) != 0; | 4769 return (_has_bits_[0] & 0x00000010u) != 0; |
5358 } | 4770 } |
5359 inline void FieldDescriptorProto::set_has_type_name() { | 4771 inline void FieldDescriptorProto::set_has_type_name() { |
5360 _has_bits_[0] |= 0x00000002u; | 4772 _has_bits_[0] |= 0x00000010u; |
5361 } | 4773 } |
5362 inline void FieldDescriptorProto::clear_has_type_name() { | 4774 inline void FieldDescriptorProto::clear_has_type_name() { |
5363 _has_bits_[0] &= ~0x00000002u; | 4775 _has_bits_[0] &= ~0x00000010u; |
5364 } | 4776 } |
5365 inline void FieldDescriptorProto::clear_type_name() { | 4777 inline void FieldDescriptorProto::clear_type_name() { |
5366 type_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); | 4778 type_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); |
5367 clear_has_type_name(); | 4779 clear_has_type_name(); |
5368 } | 4780 } |
5369 inline const ::std::string& FieldDescriptorProto::type_name() const { | 4781 inline const ::std::string& FieldDescriptorProto::type_name() const { |
5370 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.typ
e_name) | 4782 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.typ
e_name) |
5371 return type_name_.GetNoArena(); | 4783 return type_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited()); |
5372 } | 4784 } |
5373 inline void FieldDescriptorProto::set_type_name(const ::std::string& value) { | 4785 inline void FieldDescriptorProto::set_type_name(const ::std::string& value) { |
5374 set_has_type_name(); | 4786 set_has_type_name(); |
5375 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), value); | 4787 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), value); |
5376 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.typ
e_name) | 4788 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.typ
e_name) |
5377 } | 4789 } |
5378 #if LANG_CXX11 | |
5379 inline void FieldDescriptorProto::set_type_name(::std::string&& value) { | |
5380 set_has_type_name(); | |
5381 type_name_.SetNoArena( | |
5382 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
5383 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FieldDescriptorPr
oto.type_name) | |
5384 } | |
5385 #endif | |
5386 inline void FieldDescriptorProto::set_type_name(const char* value) { | 4790 inline void FieldDescriptorProto::set_type_name(const char* value) { |
5387 set_has_type_name(); | 4791 set_has_type_name(); |
5388 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), ::std::string(value)); | 4792 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), ::std::string(value)); |
5389 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.type_name) | 4793 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.type_name) |
5390 } | 4794 } |
5391 inline void FieldDescriptorProto::set_type_name(const char* value, size_t size)
{ | 4795 inline void FieldDescriptorProto::set_type_name(const char* value, size_t size)
{ |
5392 set_has_type_name(); | 4796 set_has_type_name(); |
5393 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), | 4797 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), |
5394 ::std::string(reinterpret_cast<const char*>(value), size)); | 4798 ::std::string(reinterpret_cast<const char*>(value), size)); |
5395 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.type_name) | 4799 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.type_name) |
(...skipping 13 matching lines...) Expand all Loading... |
5409 set_has_type_name(); | 4813 set_has_type_name(); |
5410 } else { | 4814 } else { |
5411 clear_has_type_name(); | 4815 clear_has_type_name(); |
5412 } | 4816 } |
5413 type_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited(), type_name); | 4817 type_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited(), type_name); |
5414 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.type_name) | 4818 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.type_name) |
5415 } | 4819 } |
5416 | 4820 |
5417 // optional string extendee = 2; | 4821 // optional string extendee = 2; |
5418 inline bool FieldDescriptorProto::has_extendee() const { | 4822 inline bool FieldDescriptorProto::has_extendee() const { |
5419 return (_has_bits_[0] & 0x00000004u) != 0; | 4823 return (_has_bits_[0] & 0x00000020u) != 0; |
5420 } | 4824 } |
5421 inline void FieldDescriptorProto::set_has_extendee() { | 4825 inline void FieldDescriptorProto::set_has_extendee() { |
5422 _has_bits_[0] |= 0x00000004u; | 4826 _has_bits_[0] |= 0x00000020u; |
5423 } | 4827 } |
5424 inline void FieldDescriptorProto::clear_has_extendee() { | 4828 inline void FieldDescriptorProto::clear_has_extendee() { |
5425 _has_bits_[0] &= ~0x00000004u; | 4829 _has_bits_[0] &= ~0x00000020u; |
5426 } | 4830 } |
5427 inline void FieldDescriptorProto::clear_extendee() { | 4831 inline void FieldDescriptorProto::clear_extendee() { |
5428 extendee_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited()); | 4832 extendee_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited()); |
5429 clear_has_extendee(); | 4833 clear_has_extendee(); |
5430 } | 4834 } |
5431 inline const ::std::string& FieldDescriptorProto::extendee() const { | 4835 inline const ::std::string& FieldDescriptorProto::extendee() const { |
5432 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.ext
endee) | 4836 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.ext
endee) |
5433 return extendee_.GetNoArena(); | 4837 return extendee_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); |
5434 } | 4838 } |
5435 inline void FieldDescriptorProto::set_extendee(const ::std::string& value) { | 4839 inline void FieldDescriptorProto::set_extendee(const ::std::string& value) { |
5436 set_has_extendee(); | 4840 set_has_extendee(); |
5437 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), value); | 4841 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), value); |
5438 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.ext
endee) | 4842 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.ext
endee) |
5439 } | 4843 } |
5440 #if LANG_CXX11 | |
5441 inline void FieldDescriptorProto::set_extendee(::std::string&& value) { | |
5442 set_has_extendee(); | |
5443 extendee_.SetNoArena( | |
5444 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
5445 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FieldDescriptorPr
oto.extendee) | |
5446 } | |
5447 #endif | |
5448 inline void FieldDescriptorProto::set_extendee(const char* value) { | 4844 inline void FieldDescriptorProto::set_extendee(const char* value) { |
5449 set_has_extendee(); | 4845 set_has_extendee(); |
5450 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), ::std::string(value)); | 4846 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), ::std::string(value)); |
5451 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.extendee) | 4847 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.extendee) |
5452 } | 4848 } |
5453 inline void FieldDescriptorProto::set_extendee(const char* value, size_t size) { | 4849 inline void FieldDescriptorProto::set_extendee(const char* value, size_t size) { |
5454 set_has_extendee(); | 4850 set_has_extendee(); |
5455 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), | 4851 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), |
5456 ::std::string(reinterpret_cast<const char*>(value), size)); | 4852 ::std::string(reinterpret_cast<const char*>(value), size)); |
5457 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.extendee) | 4853 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.extendee) |
(...skipping 13 matching lines...) Expand all Loading... |
5471 set_has_extendee(); | 4867 set_has_extendee(); |
5472 } else { | 4868 } else { |
5473 clear_has_extendee(); | 4869 clear_has_extendee(); |
5474 } | 4870 } |
5475 extendee_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), extendee); | 4871 extendee_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), extendee); |
5476 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.extendee) | 4872 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.extendee) |
5477 } | 4873 } |
5478 | 4874 |
5479 // optional string default_value = 7; | 4875 // optional string default_value = 7; |
5480 inline bool FieldDescriptorProto::has_default_value() const { | 4876 inline bool FieldDescriptorProto::has_default_value() const { |
5481 return (_has_bits_[0] & 0x00000008u) != 0; | 4877 return (_has_bits_[0] & 0x00000040u) != 0; |
5482 } | 4878 } |
5483 inline void FieldDescriptorProto::set_has_default_value() { | 4879 inline void FieldDescriptorProto::set_has_default_value() { |
5484 _has_bits_[0] |= 0x00000008u; | 4880 _has_bits_[0] |= 0x00000040u; |
5485 } | 4881 } |
5486 inline void FieldDescriptorProto::clear_has_default_value() { | 4882 inline void FieldDescriptorProto::clear_has_default_value() { |
5487 _has_bits_[0] &= ~0x00000008u; | 4883 _has_bits_[0] &= ~0x00000040u; |
5488 } | 4884 } |
5489 inline void FieldDescriptorProto::clear_default_value() { | 4885 inline void FieldDescriptorProto::clear_default_value() { |
5490 default_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStri
ngAlreadyInited()); | 4886 default_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStri
ngAlreadyInited()); |
5491 clear_has_default_value(); | 4887 clear_has_default_value(); |
5492 } | 4888 } |
5493 inline const ::std::string& FieldDescriptorProto::default_value() const { | 4889 inline const ::std::string& FieldDescriptorProto::default_value() const { |
5494 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.def
ault_value) | 4890 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.def
ault_value) |
5495 return default_value_.GetNoArena(); | 4891 return default_value_.GetNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited()); |
5496 } | 4892 } |
5497 inline void FieldDescriptorProto::set_default_value(const ::std::string& value)
{ | 4893 inline void FieldDescriptorProto::set_default_value(const ::std::string& value)
{ |
5498 set_has_default_value(); | 4894 set_has_default_value(); |
5499 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), value); | 4895 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), value); |
5500 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.def
ault_value) | 4896 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.def
ault_value) |
5501 } | 4897 } |
5502 #if LANG_CXX11 | |
5503 inline void FieldDescriptorProto::set_default_value(::std::string&& value) { | |
5504 set_has_default_value(); | |
5505 default_value_.SetNoArena( | |
5506 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
5507 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FieldDescriptorPr
oto.default_value) | |
5508 } | |
5509 #endif | |
5510 inline void FieldDescriptorProto::set_default_value(const char* value) { | 4898 inline void FieldDescriptorProto::set_default_value(const char* value) { |
5511 set_has_default_value(); | 4899 set_has_default_value(); |
5512 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), ::std::string(value)); | 4900 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), ::std::string(value)); |
5513 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.default_value) | 4901 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.default_value) |
5514 } | 4902 } |
5515 inline void FieldDescriptorProto::set_default_value(const char* value, size_t si
ze) { | 4903 inline void FieldDescriptorProto::set_default_value(const char* value, size_t si
ze) { |
5516 set_has_default_value(); | 4904 set_has_default_value(); |
5517 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), | 4905 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), |
5518 ::std::string(reinterpret_cast<const char*>(value), size)); | 4906 ::std::string(reinterpret_cast<const char*>(value), size)); |
5519 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.default_value) | 4907 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.default_value) |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5557 return oneof_index_; | 4945 return oneof_index_; |
5558 } | 4946 } |
5559 inline void FieldDescriptorProto::set_oneof_index(::google::protobuf::int32 valu
e) { | 4947 inline void FieldDescriptorProto::set_oneof_index(::google::protobuf::int32 valu
e) { |
5560 set_has_oneof_index(); | 4948 set_has_oneof_index(); |
5561 oneof_index_ = value; | 4949 oneof_index_ = value; |
5562 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.one
of_index) | 4950 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.one
of_index) |
5563 } | 4951 } |
5564 | 4952 |
5565 // optional string json_name = 10; | 4953 // optional string json_name = 10; |
5566 inline bool FieldDescriptorProto::has_json_name() const { | 4954 inline bool FieldDescriptorProto::has_json_name() const { |
5567 return (_has_bits_[0] & 0x00000010u) != 0; | 4955 return (_has_bits_[0] & 0x00000100u) != 0; |
5568 } | 4956 } |
5569 inline void FieldDescriptorProto::set_has_json_name() { | 4957 inline void FieldDescriptorProto::set_has_json_name() { |
5570 _has_bits_[0] |= 0x00000010u; | 4958 _has_bits_[0] |= 0x00000100u; |
5571 } | 4959 } |
5572 inline void FieldDescriptorProto::clear_has_json_name() { | 4960 inline void FieldDescriptorProto::clear_has_json_name() { |
5573 _has_bits_[0] &= ~0x00000010u; | 4961 _has_bits_[0] &= ~0x00000100u; |
5574 } | 4962 } |
5575 inline void FieldDescriptorProto::clear_json_name() { | 4963 inline void FieldDescriptorProto::clear_json_name() { |
5576 json_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); | 4964 json_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); |
5577 clear_has_json_name(); | 4965 clear_has_json_name(); |
5578 } | 4966 } |
5579 inline const ::std::string& FieldDescriptorProto::json_name() const { | 4967 inline const ::std::string& FieldDescriptorProto::json_name() const { |
5580 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.jso
n_name) | 4968 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.jso
n_name) |
5581 return json_name_.GetNoArena(); | 4969 return json_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited()); |
5582 } | 4970 } |
5583 inline void FieldDescriptorProto::set_json_name(const ::std::string& value) { | 4971 inline void FieldDescriptorProto::set_json_name(const ::std::string& value) { |
5584 set_has_json_name(); | 4972 set_has_json_name(); |
5585 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), value); | 4973 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), value); |
5586 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.jso
n_name) | 4974 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.jso
n_name) |
5587 } | 4975 } |
5588 #if LANG_CXX11 | |
5589 inline void FieldDescriptorProto::set_json_name(::std::string&& value) { | |
5590 set_has_json_name(); | |
5591 json_name_.SetNoArena( | |
5592 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
5593 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FieldDescriptorPr
oto.json_name) | |
5594 } | |
5595 #endif | |
5596 inline void FieldDescriptorProto::set_json_name(const char* value) { | 4976 inline void FieldDescriptorProto::set_json_name(const char* value) { |
5597 set_has_json_name(); | 4977 set_has_json_name(); |
5598 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), ::std::string(value)); | 4978 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), ::std::string(value)); |
5599 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.json_name) | 4979 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.json_name) |
5600 } | 4980 } |
5601 inline void FieldDescriptorProto::set_json_name(const char* value, size_t size)
{ | 4981 inline void FieldDescriptorProto::set_json_name(const char* value, size_t size)
{ |
5602 set_has_json_name(); | 4982 set_has_json_name(); |
5603 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), | 4983 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), |
5604 ::std::string(reinterpret_cast<const char*>(value), size)); | 4984 ::std::string(reinterpret_cast<const char*>(value), size)); |
5605 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.json_name) | 4985 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.json_name) |
(...skipping 13 matching lines...) Expand all Loading... |
5619 set_has_json_name(); | 4999 set_has_json_name(); |
5620 } else { | 5000 } else { |
5621 clear_has_json_name(); | 5001 clear_has_json_name(); |
5622 } | 5002 } |
5623 json_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited(), json_name); | 5003 json_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited(), json_name); |
5624 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.json_name) | 5004 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.json_name) |
5625 } | 5005 } |
5626 | 5006 |
5627 // optional .google.protobuf.FieldOptions options = 8; | 5007 // optional .google.protobuf.FieldOptions options = 8; |
5628 inline bool FieldDescriptorProto::has_options() const { | 5008 inline bool FieldDescriptorProto::has_options() const { |
5629 return (_has_bits_[0] & 0x00000020u) != 0; | 5009 return (_has_bits_[0] & 0x00000200u) != 0; |
5630 } | 5010 } |
5631 inline void FieldDescriptorProto::set_has_options() { | 5011 inline void FieldDescriptorProto::set_has_options() { |
5632 _has_bits_[0] |= 0x00000020u; | 5012 _has_bits_[0] |= 0x00000200u; |
5633 } | 5013 } |
5634 inline void FieldDescriptorProto::clear_has_options() { | 5014 inline void FieldDescriptorProto::clear_has_options() { |
5635 _has_bits_[0] &= ~0x00000020u; | 5015 _has_bits_[0] &= ~0x00000200u; |
5636 } | 5016 } |
5637 inline void FieldDescriptorProto::clear_options() { | 5017 inline void FieldDescriptorProto::clear_options() { |
5638 if (options_ != NULL) options_->::google::protobuf::FieldOptions::Clear(); | 5018 if (options_ != NULL) options_->::google::protobuf::FieldOptions::Clear(); |
5639 clear_has_options(); | 5019 clear_has_options(); |
5640 } | 5020 } |
5641 inline const ::google::protobuf::FieldOptions& FieldDescriptorProto::options() c
onst { | 5021 inline const ::google::protobuf::FieldOptions& FieldDescriptorProto::options() c
onst { |
5642 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.opt
ions) | 5022 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.opt
ions) |
5643 return options_ != NULL ? *options_ | 5023 return options_ != NULL ? *options_ : *default_instance_->options_; |
5644 : *::google::protobuf::FieldOptions::internal_default_i
nstance(); | |
5645 } | 5024 } |
5646 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::mutable_options()
{ | 5025 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::mutable_options()
{ |
5647 set_has_options(); | 5026 set_has_options(); |
5648 if (options_ == NULL) { | 5027 if (options_ == NULL) { |
5649 options_ = new ::google::protobuf::FieldOptions; | 5028 options_ = new ::google::protobuf::FieldOptions; |
5650 } | 5029 } |
5651 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto
.options) | 5030 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto
.options) |
5652 return options_; | 5031 return options_; |
5653 } | 5032 } |
5654 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::release_options()
{ | 5033 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::release_options()
{ |
(...skipping 27 matching lines...) Expand all Loading... |
5682 } | 5061 } |
5683 inline void OneofDescriptorProto::clear_has_name() { | 5062 inline void OneofDescriptorProto::clear_has_name() { |
5684 _has_bits_[0] &= ~0x00000001u; | 5063 _has_bits_[0] &= ~0x00000001u; |
5685 } | 5064 } |
5686 inline void OneofDescriptorProto::clear_name() { | 5065 inline void OneofDescriptorProto::clear_name() { |
5687 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 5066 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
5688 clear_has_name(); | 5067 clear_has_name(); |
5689 } | 5068 } |
5690 inline const ::std::string& OneofDescriptorProto::name() const { | 5069 inline const ::std::string& OneofDescriptorProto::name() const { |
5691 // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.nam
e) | 5070 // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.nam
e) |
5692 return name_.GetNoArena(); | 5071 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); |
5693 } | 5072 } |
5694 inline void OneofDescriptorProto::set_name(const ::std::string& value) { | 5073 inline void OneofDescriptorProto::set_name(const ::std::string& value) { |
5695 set_has_name(); | 5074 set_has_name(); |
5696 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 5075 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
5697 // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.nam
e) | 5076 // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.nam
e) |
5698 } | 5077 } |
5699 #if LANG_CXX11 | |
5700 inline void OneofDescriptorProto::set_name(::std::string&& value) { | |
5701 set_has_name(); | |
5702 name_.SetNoArena( | |
5703 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
5704 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.OneofDescriptorPr
oto.name) | |
5705 } | |
5706 #endif | |
5707 inline void OneofDescriptorProto::set_name(const char* value) { | 5078 inline void OneofDescriptorProto::set_name(const char* value) { |
5708 set_has_name(); | 5079 set_has_name(); |
5709 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 5080 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
5710 // @@protoc_insertion_point(field_set_char:google.protobuf.OneofDescriptorProt
o.name) | 5081 // @@protoc_insertion_point(field_set_char:google.protobuf.OneofDescriptorProt
o.name) |
5711 } | 5082 } |
5712 inline void OneofDescriptorProto::set_name(const char* value, size_t size) { | 5083 inline void OneofDescriptorProto::set_name(const char* value, size_t size) { |
5713 set_has_name(); | 5084 set_has_name(); |
5714 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 5085 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5715 ::std::string(reinterpret_cast<const char*>(value), size)); | 5086 ::std::string(reinterpret_cast<const char*>(value), size)); |
5716 // @@protoc_insertion_point(field_set_pointer:google.protobuf.OneofDescriptorP
roto.name) | 5087 // @@protoc_insertion_point(field_set_pointer:google.protobuf.OneofDescriptorP
roto.name) |
(...skipping 11 matching lines...) Expand all Loading... |
5728 inline void OneofDescriptorProto::set_allocated_name(::std::string* name) { | 5099 inline void OneofDescriptorProto::set_allocated_name(::std::string* name) { |
5729 if (name != NULL) { | 5100 if (name != NULL) { |
5730 set_has_name(); | 5101 set_has_name(); |
5731 } else { | 5102 } else { |
5732 clear_has_name(); | 5103 clear_has_name(); |
5733 } | 5104 } |
5734 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); | 5105 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); |
5735 // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescripto
rProto.name) | 5106 // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescripto
rProto.name) |
5736 } | 5107 } |
5737 | 5108 |
5738 // optional .google.protobuf.OneofOptions options = 2; | |
5739 inline bool OneofDescriptorProto::has_options() const { | |
5740 return (_has_bits_[0] & 0x00000002u) != 0; | |
5741 } | |
5742 inline void OneofDescriptorProto::set_has_options() { | |
5743 _has_bits_[0] |= 0x00000002u; | |
5744 } | |
5745 inline void OneofDescriptorProto::clear_has_options() { | |
5746 _has_bits_[0] &= ~0x00000002u; | |
5747 } | |
5748 inline void OneofDescriptorProto::clear_options() { | |
5749 if (options_ != NULL) options_->::google::protobuf::OneofOptions::Clear(); | |
5750 clear_has_options(); | |
5751 } | |
5752 inline const ::google::protobuf::OneofOptions& OneofDescriptorProto::options() c
onst { | |
5753 // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.opt
ions) | |
5754 return options_ != NULL ? *options_ | |
5755 : *::google::protobuf::OneofOptions::internal_default_i
nstance(); | |
5756 } | |
5757 inline ::google::protobuf::OneofOptions* OneofDescriptorProto::mutable_options()
{ | |
5758 set_has_options(); | |
5759 if (options_ == NULL) { | |
5760 options_ = new ::google::protobuf::OneofOptions; | |
5761 } | |
5762 // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto
.options) | |
5763 return options_; | |
5764 } | |
5765 inline ::google::protobuf::OneofOptions* OneofDescriptorProto::release_options()
{ | |
5766 // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto
.options) | |
5767 clear_has_options(); | |
5768 ::google::protobuf::OneofOptions* temp = options_; | |
5769 options_ = NULL; | |
5770 return temp; | |
5771 } | |
5772 inline void OneofDescriptorProto::set_allocated_options(::google::protobuf::Oneo
fOptions* options) { | |
5773 delete options_; | |
5774 options_ = options; | |
5775 if (options) { | |
5776 set_has_options(); | |
5777 } else { | |
5778 clear_has_options(); | |
5779 } | |
5780 // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescripto
rProto.options) | |
5781 } | |
5782 | |
5783 // ------------------------------------------------------------------- | 5109 // ------------------------------------------------------------------- |
5784 | 5110 |
5785 // EnumDescriptorProto | 5111 // EnumDescriptorProto |
5786 | 5112 |
5787 // optional string name = 1; | 5113 // optional string name = 1; |
5788 inline bool EnumDescriptorProto::has_name() const { | 5114 inline bool EnumDescriptorProto::has_name() const { |
5789 return (_has_bits_[0] & 0x00000001u) != 0; | 5115 return (_has_bits_[0] & 0x00000001u) != 0; |
5790 } | 5116 } |
5791 inline void EnumDescriptorProto::set_has_name() { | 5117 inline void EnumDescriptorProto::set_has_name() { |
5792 _has_bits_[0] |= 0x00000001u; | 5118 _has_bits_[0] |= 0x00000001u; |
5793 } | 5119 } |
5794 inline void EnumDescriptorProto::clear_has_name() { | 5120 inline void EnumDescriptorProto::clear_has_name() { |
5795 _has_bits_[0] &= ~0x00000001u; | 5121 _has_bits_[0] &= ~0x00000001u; |
5796 } | 5122 } |
5797 inline void EnumDescriptorProto::clear_name() { | 5123 inline void EnumDescriptorProto::clear_name() { |
5798 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 5124 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
5799 clear_has_name(); | 5125 clear_has_name(); |
5800 } | 5126 } |
5801 inline const ::std::string& EnumDescriptorProto::name() const { | 5127 inline const ::std::string& EnumDescriptorProto::name() const { |
5802 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name
) | 5128 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name
) |
5803 return name_.GetNoArena(); | 5129 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); |
5804 } | 5130 } |
5805 inline void EnumDescriptorProto::set_name(const ::std::string& value) { | 5131 inline void EnumDescriptorProto::set_name(const ::std::string& value) { |
5806 set_has_name(); | 5132 set_has_name(); |
5807 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 5133 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
5808 // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name
) | 5134 // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name
) |
5809 } | 5135 } |
5810 #if LANG_CXX11 | |
5811 inline void EnumDescriptorProto::set_name(::std::string&& value) { | |
5812 set_has_name(); | |
5813 name_.SetNoArena( | |
5814 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
5815 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.EnumDescriptorPro
to.name) | |
5816 } | |
5817 #endif | |
5818 inline void EnumDescriptorProto::set_name(const char* value) { | 5136 inline void EnumDescriptorProto::set_name(const char* value) { |
5819 set_has_name(); | 5137 set_has_name(); |
5820 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 5138 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
5821 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto
.name) | 5139 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto
.name) |
5822 } | 5140 } |
5823 inline void EnumDescriptorProto::set_name(const char* value, size_t size) { | 5141 inline void EnumDescriptorProto::set_name(const char* value, size_t size) { |
5824 set_has_name(); | 5142 set_has_name(); |
5825 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 5143 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5826 ::std::string(reinterpret_cast<const char*>(value), size)); | 5144 ::std::string(reinterpret_cast<const char*>(value), size)); |
5827 // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorPr
oto.name) | 5145 // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorPr
oto.name) |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5871 return &value_; | 5189 return &value_; |
5872 } | 5190 } |
5873 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue
DescriptorProto >& | 5191 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue
DescriptorProto >& |
5874 EnumDescriptorProto::value() const { | 5192 EnumDescriptorProto::value() const { |
5875 // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.val
ue) | 5193 // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.val
ue) |
5876 return value_; | 5194 return value_; |
5877 } | 5195 } |
5878 | 5196 |
5879 // optional .google.protobuf.EnumOptions options = 3; | 5197 // optional .google.protobuf.EnumOptions options = 3; |
5880 inline bool EnumDescriptorProto::has_options() const { | 5198 inline bool EnumDescriptorProto::has_options() const { |
5881 return (_has_bits_[0] & 0x00000002u) != 0; | 5199 return (_has_bits_[0] & 0x00000004u) != 0; |
5882 } | 5200 } |
5883 inline void EnumDescriptorProto::set_has_options() { | 5201 inline void EnumDescriptorProto::set_has_options() { |
5884 _has_bits_[0] |= 0x00000002u; | 5202 _has_bits_[0] |= 0x00000004u; |
5885 } | 5203 } |
5886 inline void EnumDescriptorProto::clear_has_options() { | 5204 inline void EnumDescriptorProto::clear_has_options() { |
5887 _has_bits_[0] &= ~0x00000002u; | 5205 _has_bits_[0] &= ~0x00000004u; |
5888 } | 5206 } |
5889 inline void EnumDescriptorProto::clear_options() { | 5207 inline void EnumDescriptorProto::clear_options() { |
5890 if (options_ != NULL) options_->::google::protobuf::EnumOptions::Clear(); | 5208 if (options_ != NULL) options_->::google::protobuf::EnumOptions::Clear(); |
5891 clear_has_options(); | 5209 clear_has_options(); |
5892 } | 5210 } |
5893 inline const ::google::protobuf::EnumOptions& EnumDescriptorProto::options() con
st { | 5211 inline const ::google::protobuf::EnumOptions& EnumDescriptorProto::options() con
st { |
5894 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.opti
ons) | 5212 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.opti
ons) |
5895 return options_ != NULL ? *options_ | 5213 return options_ != NULL ? *options_ : *default_instance_->options_; |
5896 : *::google::protobuf::EnumOptions::internal_default_in
stance(); | |
5897 } | 5214 } |
5898 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::mutable_options() { | 5215 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::mutable_options() { |
5899 set_has_options(); | 5216 set_has_options(); |
5900 if (options_ == NULL) { | 5217 if (options_ == NULL) { |
5901 options_ = new ::google::protobuf::EnumOptions; | 5218 options_ = new ::google::protobuf::EnumOptions; |
5902 } | 5219 } |
5903 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.
options) | 5220 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.
options) |
5904 return options_; | 5221 return options_; |
5905 } | 5222 } |
5906 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::release_options() { | 5223 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::release_options() { |
(...skipping 27 matching lines...) Expand all Loading... |
5934 } | 5251 } |
5935 inline void EnumValueDescriptorProto::clear_has_name() { | 5252 inline void EnumValueDescriptorProto::clear_has_name() { |
5936 _has_bits_[0] &= ~0x00000001u; | 5253 _has_bits_[0] &= ~0x00000001u; |
5937 } | 5254 } |
5938 inline void EnumValueDescriptorProto::clear_name() { | 5255 inline void EnumValueDescriptorProto::clear_name() { |
5939 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 5256 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
5940 clear_has_name(); | 5257 clear_has_name(); |
5941 } | 5258 } |
5942 inline const ::std::string& EnumValueDescriptorProto::name() const { | 5259 inline const ::std::string& EnumValueDescriptorProto::name() const { |
5943 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto
.name) | 5260 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto
.name) |
5944 return name_.GetNoArena(); | 5261 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); |
5945 } | 5262 } |
5946 inline void EnumValueDescriptorProto::set_name(const ::std::string& value) { | 5263 inline void EnumValueDescriptorProto::set_name(const ::std::string& value) { |
5947 set_has_name(); | 5264 set_has_name(); |
5948 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 5265 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
5949 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto
.name) | 5266 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto
.name) |
5950 } | 5267 } |
5951 #if LANG_CXX11 | |
5952 inline void EnumValueDescriptorProto::set_name(::std::string&& value) { | |
5953 set_has_name(); | |
5954 name_.SetNoArena( | |
5955 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
5956 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.EnumValueDescript
orProto.name) | |
5957 } | |
5958 #endif | |
5959 inline void EnumValueDescriptorProto::set_name(const char* value) { | 5268 inline void EnumValueDescriptorProto::set_name(const char* value) { |
5960 set_has_name(); | 5269 set_has_name(); |
5961 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 5270 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
5962 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValueDescriptor
Proto.name) | 5271 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValueDescriptor
Proto.name) |
5963 } | 5272 } |
5964 inline void EnumValueDescriptorProto::set_name(const char* value, size_t size) { | 5273 inline void EnumValueDescriptorProto::set_name(const char* value, size_t size) { |
5965 set_has_name(); | 5274 set_has_name(); |
5966 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 5275 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5967 ::std::string(reinterpret_cast<const char*>(value), size)); | 5276 ::std::string(reinterpret_cast<const char*>(value), size)); |
5968 // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValueDescrip
torProto.name) | 5277 // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValueDescrip
torProto.name) |
(...skipping 13 matching lines...) Expand all Loading... |
5982 set_has_name(); | 5291 set_has_name(); |
5983 } else { | 5292 } else { |
5984 clear_has_name(); | 5293 clear_has_name(); |
5985 } | 5294 } |
5986 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); | 5295 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); |
5987 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescr
iptorProto.name) | 5296 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescr
iptorProto.name) |
5988 } | 5297 } |
5989 | 5298 |
5990 // optional int32 number = 2; | 5299 // optional int32 number = 2; |
5991 inline bool EnumValueDescriptorProto::has_number() const { | 5300 inline bool EnumValueDescriptorProto::has_number() const { |
5992 return (_has_bits_[0] & 0x00000004u) != 0; | 5301 return (_has_bits_[0] & 0x00000002u) != 0; |
5993 } | 5302 } |
5994 inline void EnumValueDescriptorProto::set_has_number() { | 5303 inline void EnumValueDescriptorProto::set_has_number() { |
5995 _has_bits_[0] |= 0x00000004u; | 5304 _has_bits_[0] |= 0x00000002u; |
5996 } | 5305 } |
5997 inline void EnumValueDescriptorProto::clear_has_number() { | 5306 inline void EnumValueDescriptorProto::clear_has_number() { |
5998 _has_bits_[0] &= ~0x00000004u; | 5307 _has_bits_[0] &= ~0x00000002u; |
5999 } | 5308 } |
6000 inline void EnumValueDescriptorProto::clear_number() { | 5309 inline void EnumValueDescriptorProto::clear_number() { |
6001 number_ = 0; | 5310 number_ = 0; |
6002 clear_has_number(); | 5311 clear_has_number(); |
6003 } | 5312 } |
6004 inline ::google::protobuf::int32 EnumValueDescriptorProto::number() const { | 5313 inline ::google::protobuf::int32 EnumValueDescriptorProto::number() const { |
6005 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto
.number) | 5314 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto
.number) |
6006 return number_; | 5315 return number_; |
6007 } | 5316 } |
6008 inline void EnumValueDescriptorProto::set_number(::google::protobuf::int32 value
) { | 5317 inline void EnumValueDescriptorProto::set_number(::google::protobuf::int32 value
) { |
6009 set_has_number(); | 5318 set_has_number(); |
6010 number_ = value; | 5319 number_ = value; |
6011 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto
.number) | 5320 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto
.number) |
6012 } | 5321 } |
6013 | 5322 |
6014 // optional .google.protobuf.EnumValueOptions options = 3; | 5323 // optional .google.protobuf.EnumValueOptions options = 3; |
6015 inline bool EnumValueDescriptorProto::has_options() const { | 5324 inline bool EnumValueDescriptorProto::has_options() const { |
6016 return (_has_bits_[0] & 0x00000002u) != 0; | 5325 return (_has_bits_[0] & 0x00000004u) != 0; |
6017 } | 5326 } |
6018 inline void EnumValueDescriptorProto::set_has_options() { | 5327 inline void EnumValueDescriptorProto::set_has_options() { |
6019 _has_bits_[0] |= 0x00000002u; | 5328 _has_bits_[0] |= 0x00000004u; |
6020 } | 5329 } |
6021 inline void EnumValueDescriptorProto::clear_has_options() { | 5330 inline void EnumValueDescriptorProto::clear_has_options() { |
6022 _has_bits_[0] &= ~0x00000002u; | 5331 _has_bits_[0] &= ~0x00000004u; |
6023 } | 5332 } |
6024 inline void EnumValueDescriptorProto::clear_options() { | 5333 inline void EnumValueDescriptorProto::clear_options() { |
6025 if (options_ != NULL) options_->::google::protobuf::EnumValueOptions::Clear(); | 5334 if (options_ != NULL) options_->::google::protobuf::EnumValueOptions::Clear(); |
6026 clear_has_options(); | 5335 clear_has_options(); |
6027 } | 5336 } |
6028 inline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::opt
ions() const { | 5337 inline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::opt
ions() const { |
6029 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto
.options) | 5338 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto
.options) |
6030 return options_ != NULL ? *options_ | 5339 return options_ != NULL ? *options_ : *default_instance_->options_; |
6031 : *::google::protobuf::EnumValueOptions::internal_defau
lt_instance(); | |
6032 } | 5340 } |
6033 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::mutable_o
ptions() { | 5341 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::mutable_o
ptions() { |
6034 set_has_options(); | 5342 set_has_options(); |
6035 if (options_ == NULL) { | 5343 if (options_ == NULL) { |
6036 options_ = new ::google::protobuf::EnumValueOptions; | 5344 options_ = new ::google::protobuf::EnumValueOptions; |
6037 } | 5345 } |
6038 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorP
roto.options) | 5346 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorP
roto.options) |
6039 return options_; | 5347 return options_; |
6040 } | 5348 } |
6041 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::release_o
ptions() { | 5349 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::release_o
ptions() { |
(...skipping 27 matching lines...) Expand all Loading... |
6069 } | 5377 } |
6070 inline void ServiceDescriptorProto::clear_has_name() { | 5378 inline void ServiceDescriptorProto::clear_has_name() { |
6071 _has_bits_[0] &= ~0x00000001u; | 5379 _has_bits_[0] &= ~0x00000001u; |
6072 } | 5380 } |
6073 inline void ServiceDescriptorProto::clear_name() { | 5381 inline void ServiceDescriptorProto::clear_name() { |
6074 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 5382 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
6075 clear_has_name(); | 5383 clear_has_name(); |
6076 } | 5384 } |
6077 inline const ::std::string& ServiceDescriptorProto::name() const { | 5385 inline const ::std::string& ServiceDescriptorProto::name() const { |
6078 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.n
ame) | 5386 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.n
ame) |
6079 return name_.GetNoArena(); | 5387 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); |
6080 } | 5388 } |
6081 inline void ServiceDescriptorProto::set_name(const ::std::string& value) { | 5389 inline void ServiceDescriptorProto::set_name(const ::std::string& value) { |
6082 set_has_name(); | 5390 set_has_name(); |
6083 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 5391 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
6084 // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.n
ame) | 5392 // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.n
ame) |
6085 } | 5393 } |
6086 #if LANG_CXX11 | |
6087 inline void ServiceDescriptorProto::set_name(::std::string&& value) { | |
6088 set_has_name(); | |
6089 name_.SetNoArena( | |
6090 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
6091 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.ServiceDescriptor
Proto.name) | |
6092 } | |
6093 #endif | |
6094 inline void ServiceDescriptorProto::set_name(const char* value) { | 5394 inline void ServiceDescriptorProto::set_name(const char* value) { |
6095 set_has_name(); | 5395 set_has_name(); |
6096 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 5396 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
6097 // @@protoc_insertion_point(field_set_char:google.protobuf.ServiceDescriptorPr
oto.name) | 5397 // @@protoc_insertion_point(field_set_char:google.protobuf.ServiceDescriptorPr
oto.name) |
6098 } | 5398 } |
6099 inline void ServiceDescriptorProto::set_name(const char* value, size_t size) { | 5399 inline void ServiceDescriptorProto::set_name(const char* value, size_t size) { |
6100 set_has_name(); | 5400 set_has_name(); |
6101 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 5401 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6102 ::std::string(reinterpret_cast<const char*>(value), size)); | 5402 ::std::string(reinterpret_cast<const char*>(value), size)); |
6103 // @@protoc_insertion_point(field_set_pointer:google.protobuf.ServiceDescripto
rProto.name) | 5403 // @@protoc_insertion_point(field_set_pointer:google.protobuf.ServiceDescripto
rProto.name) |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6147 return &method_; | 5447 return &method_; |
6148 } | 5448 } |
6149 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDes
criptorProto >& | 5449 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDes
criptorProto >& |
6150 ServiceDescriptorProto::method() const { | 5450 ServiceDescriptorProto::method() const { |
6151 // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.
method) | 5451 // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.
method) |
6152 return method_; | 5452 return method_; |
6153 } | 5453 } |
6154 | 5454 |
6155 // optional .google.protobuf.ServiceOptions options = 3; | 5455 // optional .google.protobuf.ServiceOptions options = 3; |
6156 inline bool ServiceDescriptorProto::has_options() const { | 5456 inline bool ServiceDescriptorProto::has_options() const { |
6157 return (_has_bits_[0] & 0x00000002u) != 0; | 5457 return (_has_bits_[0] & 0x00000004u) != 0; |
6158 } | 5458 } |
6159 inline void ServiceDescriptorProto::set_has_options() { | 5459 inline void ServiceDescriptorProto::set_has_options() { |
6160 _has_bits_[0] |= 0x00000002u; | 5460 _has_bits_[0] |= 0x00000004u; |
6161 } | 5461 } |
6162 inline void ServiceDescriptorProto::clear_has_options() { | 5462 inline void ServiceDescriptorProto::clear_has_options() { |
6163 _has_bits_[0] &= ~0x00000002u; | 5463 _has_bits_[0] &= ~0x00000004u; |
6164 } | 5464 } |
6165 inline void ServiceDescriptorProto::clear_options() { | 5465 inline void ServiceDescriptorProto::clear_options() { |
6166 if (options_ != NULL) options_->::google::protobuf::ServiceOptions::Clear(); | 5466 if (options_ != NULL) options_->::google::protobuf::ServiceOptions::Clear(); |
6167 clear_has_options(); | 5467 clear_has_options(); |
6168 } | 5468 } |
6169 inline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::options
() const { | 5469 inline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::options
() const { |
6170 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.o
ptions) | 5470 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.o
ptions) |
6171 return options_ != NULL ? *options_ | 5471 return options_ != NULL ? *options_ : *default_instance_->options_; |
6172 : *::google::protobuf::ServiceOptions::internal_default
_instance(); | |
6173 } | 5472 } |
6174 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::mutable_optio
ns() { | 5473 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::mutable_optio
ns() { |
6175 set_has_options(); | 5474 set_has_options(); |
6176 if (options_ == NULL) { | 5475 if (options_ == NULL) { |
6177 options_ = new ::google::protobuf::ServiceOptions; | 5476 options_ = new ::google::protobuf::ServiceOptions; |
6178 } | 5477 } |
6179 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorPro
to.options) | 5478 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorPro
to.options) |
6180 return options_; | 5479 return options_; |
6181 } | 5480 } |
6182 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::release_optio
ns() { | 5481 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::release_optio
ns() { |
(...skipping 27 matching lines...) Expand all Loading... |
6210 } | 5509 } |
6211 inline void MethodDescriptorProto::clear_has_name() { | 5510 inline void MethodDescriptorProto::clear_has_name() { |
6212 _has_bits_[0] &= ~0x00000001u; | 5511 _has_bits_[0] &= ~0x00000001u; |
6213 } | 5512 } |
6214 inline void MethodDescriptorProto::clear_name() { | 5513 inline void MethodDescriptorProto::clear_name() { |
6215 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 5514 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
6216 clear_has_name(); | 5515 clear_has_name(); |
6217 } | 5516 } |
6218 inline const ::std::string& MethodDescriptorProto::name() const { | 5517 inline const ::std::string& MethodDescriptorProto::name() const { |
6219 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.na
me) | 5518 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.na
me) |
6220 return name_.GetNoArena(); | 5519 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); |
6221 } | 5520 } |
6222 inline void MethodDescriptorProto::set_name(const ::std::string& value) { | 5521 inline void MethodDescriptorProto::set_name(const ::std::string& value) { |
6223 set_has_name(); | 5522 set_has_name(); |
6224 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 5523 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
6225 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.na
me) | 5524 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.na
me) |
6226 } | 5525 } |
6227 #if LANG_CXX11 | |
6228 inline void MethodDescriptorProto::set_name(::std::string&& value) { | |
6229 set_has_name(); | |
6230 name_.SetNoArena( | |
6231 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
6232 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.MethodDescriptorP
roto.name) | |
6233 } | |
6234 #endif | |
6235 inline void MethodDescriptorProto::set_name(const char* value) { | 5526 inline void MethodDescriptorProto::set_name(const char* value) { |
6236 set_has_name(); | 5527 set_has_name(); |
6237 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 5528 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
6238 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro
to.name) | 5529 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro
to.name) |
6239 } | 5530 } |
6240 inline void MethodDescriptorProto::set_name(const char* value, size_t size) { | 5531 inline void MethodDescriptorProto::set_name(const char* value, size_t size) { |
6241 set_has_name(); | 5532 set_has_name(); |
6242 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 5533 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6243 ::std::string(reinterpret_cast<const char*>(value), size)); | 5534 ::std::string(reinterpret_cast<const char*>(value), size)); |
6244 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptor
Proto.name) | 5535 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptor
Proto.name) |
(...skipping 27 matching lines...) Expand all Loading... |
6272 } | 5563 } |
6273 inline void MethodDescriptorProto::clear_has_input_type() { | 5564 inline void MethodDescriptorProto::clear_has_input_type() { |
6274 _has_bits_[0] &= ~0x00000002u; | 5565 _has_bits_[0] &= ~0x00000002u; |
6275 } | 5566 } |
6276 inline void MethodDescriptorProto::clear_input_type() { | 5567 inline void MethodDescriptorProto::clear_input_type() { |
6277 input_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); | 5568 input_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); |
6278 clear_has_input_type(); | 5569 clear_has_input_type(); |
6279 } | 5570 } |
6280 inline const ::std::string& MethodDescriptorProto::input_type() const { | 5571 inline const ::std::string& MethodDescriptorProto::input_type() const { |
6281 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.in
put_type) | 5572 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.in
put_type) |
6282 return input_type_.GetNoArena(); | 5573 return input_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited()); |
6283 } | 5574 } |
6284 inline void MethodDescriptorProto::set_input_type(const ::std::string& value) { | 5575 inline void MethodDescriptorProto::set_input_type(const ::std::string& value) { |
6285 set_has_input_type(); | 5576 set_has_input_type(); |
6286 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), value); | 5577 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), value); |
6287 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.in
put_type) | 5578 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.in
put_type) |
6288 } | 5579 } |
6289 #if LANG_CXX11 | |
6290 inline void MethodDescriptorProto::set_input_type(::std::string&& value) { | |
6291 set_has_input_type(); | |
6292 input_type_.SetNoArena( | |
6293 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
6294 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.MethodDescriptorP
roto.input_type) | |
6295 } | |
6296 #endif | |
6297 inline void MethodDescriptorProto::set_input_type(const char* value) { | 5580 inline void MethodDescriptorProto::set_input_type(const char* value) { |
6298 set_has_input_type(); | 5581 set_has_input_type(); |
6299 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), ::std::string(value)); | 5582 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), ::std::string(value)); |
6300 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro
to.input_type) | 5583 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro
to.input_type) |
6301 } | 5584 } |
6302 inline void MethodDescriptorProto::set_input_type(const char* value, size_t size
) { | 5585 inline void MethodDescriptorProto::set_input_type(const char* value, size_t size
) { |
6303 set_has_input_type(); | 5586 set_has_input_type(); |
6304 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), | 5587 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), |
6305 ::std::string(reinterpret_cast<const char*>(value), size)); | 5588 ::std::string(reinterpret_cast<const char*>(value), size)); |
6306 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptor
Proto.input_type) | 5589 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptor
Proto.input_type) |
(...skipping 27 matching lines...) Expand all Loading... |
6334 } | 5617 } |
6335 inline void MethodDescriptorProto::clear_has_output_type() { | 5618 inline void MethodDescriptorProto::clear_has_output_type() { |
6336 _has_bits_[0] &= ~0x00000004u; | 5619 _has_bits_[0] &= ~0x00000004u; |
6337 } | 5620 } |
6338 inline void MethodDescriptorProto::clear_output_type() { | 5621 inline void MethodDescriptorProto::clear_output_type() { |
6339 output_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited()); | 5622 output_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited()); |
6340 clear_has_output_type(); | 5623 clear_has_output_type(); |
6341 } | 5624 } |
6342 inline const ::std::string& MethodDescriptorProto::output_type() const { | 5625 inline const ::std::string& MethodDescriptorProto::output_type() const { |
6343 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.ou
tput_type) | 5626 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.ou
tput_type) |
6344 return output_type_.GetNoArena(); | 5627 return output_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); |
6345 } | 5628 } |
6346 inline void MethodDescriptorProto::set_output_type(const ::std::string& value) { | 5629 inline void MethodDescriptorProto::set_output_type(const ::std::string& value) { |
6347 set_has_output_type(); | 5630 set_has_output_type(); |
6348 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), value); | 5631 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), value); |
6349 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.ou
tput_type) | 5632 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.ou
tput_type) |
6350 } | 5633 } |
6351 #if LANG_CXX11 | |
6352 inline void MethodDescriptorProto::set_output_type(::std::string&& value) { | |
6353 set_has_output_type(); | |
6354 output_type_.SetNoArena( | |
6355 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
6356 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.MethodDescriptorP
roto.output_type) | |
6357 } | |
6358 #endif | |
6359 inline void MethodDescriptorProto::set_output_type(const char* value) { | 5634 inline void MethodDescriptorProto::set_output_type(const char* value) { |
6360 set_has_output_type(); | 5635 set_has_output_type(); |
6361 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), ::std::string(value)); | 5636 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), ::std::string(value)); |
6362 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro
to.output_type) | 5637 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro
to.output_type) |
6363 } | 5638 } |
6364 inline void MethodDescriptorProto::set_output_type(const char* value, size_t siz
e) { | 5639 inline void MethodDescriptorProto::set_output_type(const char* value, size_t siz
e) { |
6365 set_has_output_type(); | 5640 set_has_output_type(); |
6366 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), | 5641 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), |
6367 ::std::string(reinterpret_cast<const char*>(value), size)); | 5642 ::std::string(reinterpret_cast<const char*>(value), size)); |
6368 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptor
Proto.output_type) | 5643 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptor
Proto.output_type) |
(...skipping 27 matching lines...) Expand all Loading... |
6396 } | 5671 } |
6397 inline void MethodDescriptorProto::clear_has_options() { | 5672 inline void MethodDescriptorProto::clear_has_options() { |
6398 _has_bits_[0] &= ~0x00000008u; | 5673 _has_bits_[0] &= ~0x00000008u; |
6399 } | 5674 } |
6400 inline void MethodDescriptorProto::clear_options() { | 5675 inline void MethodDescriptorProto::clear_options() { |
6401 if (options_ != NULL) options_->::google::protobuf::MethodOptions::Clear(); | 5676 if (options_ != NULL) options_->::google::protobuf::MethodOptions::Clear(); |
6402 clear_has_options(); | 5677 clear_has_options(); |
6403 } | 5678 } |
6404 inline const ::google::protobuf::MethodOptions& MethodDescriptorProto::options()
const { | 5679 inline const ::google::protobuf::MethodOptions& MethodDescriptorProto::options()
const { |
6405 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.op
tions) | 5680 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.op
tions) |
6406 return options_ != NULL ? *options_ | 5681 return options_ != NULL ? *options_ : *default_instance_->options_; |
6407 : *::google::protobuf::MethodOptions::internal_default_
instance(); | |
6408 } | 5682 } |
6409 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::mutable_options
() { | 5683 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::mutable_options
() { |
6410 set_has_options(); | 5684 set_has_options(); |
6411 if (options_ == NULL) { | 5685 if (options_ == NULL) { |
6412 options_ = new ::google::protobuf::MethodOptions; | 5686 options_ = new ::google::protobuf::MethodOptions; |
6413 } | 5687 } |
6414 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProt
o.options) | 5688 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProt
o.options) |
6415 return options_; | 5689 return options_; |
6416 } | 5690 } |
6417 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::release_options
() { | 5691 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::release_options
() { |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6493 } | 5767 } |
6494 inline void FileOptions::clear_has_java_package() { | 5768 inline void FileOptions::clear_has_java_package() { |
6495 _has_bits_[0] &= ~0x00000001u; | 5769 _has_bits_[0] &= ~0x00000001u; |
6496 } | 5770 } |
6497 inline void FileOptions::clear_java_package() { | 5771 inline void FileOptions::clear_java_package() { |
6498 java_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited()); | 5772 java_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited()); |
6499 clear_has_java_package(); | 5773 clear_has_java_package(); |
6500 } | 5774 } |
6501 inline const ::std::string& FileOptions::java_package() const { | 5775 inline const ::std::string& FileOptions::java_package() const { |
6502 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package
) | 5776 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package
) |
6503 return java_package_.GetNoArena(); | 5777 return java_package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); |
6504 } | 5778 } |
6505 inline void FileOptions::set_java_package(const ::std::string& value) { | 5779 inline void FileOptions::set_java_package(const ::std::string& value) { |
6506 set_has_java_package(); | 5780 set_has_java_package(); |
6507 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), value); | 5781 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), value); |
6508 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package
) | 5782 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package
) |
6509 } | 5783 } |
6510 #if LANG_CXX11 | |
6511 inline void FileOptions::set_java_package(::std::string&& value) { | |
6512 set_has_java_package(); | |
6513 java_package_.SetNoArena( | |
6514 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
6515 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.java_
package) | |
6516 } | |
6517 #endif | |
6518 inline void FileOptions::set_java_package(const char* value) { | 5784 inline void FileOptions::set_java_package(const char* value) { |
6519 set_has_java_package(); | 5785 set_has_java_package(); |
6520 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), ::std::string(value)); | 5786 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), ::std::string(value)); |
6521 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_pa
ckage) | 5787 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_pa
ckage) |
6522 } | 5788 } |
6523 inline void FileOptions::set_java_package(const char* value, size_t size) { | 5789 inline void FileOptions::set_java_package(const char* value, size_t size) { |
6524 set_has_java_package(); | 5790 set_has_java_package(); |
6525 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), | 5791 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), |
6526 ::std::string(reinterpret_cast<const char*>(value), size)); | 5792 ::std::string(reinterpret_cast<const char*>(value), size)); |
6527 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java
_package) | 5793 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java
_package) |
(...skipping 27 matching lines...) Expand all Loading... |
6555 } | 5821 } |
6556 inline void FileOptions::clear_has_java_outer_classname() { | 5822 inline void FileOptions::clear_has_java_outer_classname() { |
6557 _has_bits_[0] &= ~0x00000002u; | 5823 _has_bits_[0] &= ~0x00000002u; |
6558 } | 5824 } |
6559 inline void FileOptions::clear_java_outer_classname() { | 5825 inline void FileOptions::clear_java_outer_classname() { |
6560 java_outer_classname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEm
ptyStringAlreadyInited()); | 5826 java_outer_classname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEm
ptyStringAlreadyInited()); |
6561 clear_has_java_outer_classname(); | 5827 clear_has_java_outer_classname(); |
6562 } | 5828 } |
6563 inline const ::std::string& FileOptions::java_outer_classname() const { | 5829 inline const ::std::string& FileOptions::java_outer_classname() const { |
6564 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_c
lassname) | 5830 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_c
lassname) |
6565 return java_outer_classname_.GetNoArena(); | 5831 return java_outer_classname_.GetNoArena(&::google::protobuf::internal::GetEmpt
yStringAlreadyInited()); |
6566 } | 5832 } |
6567 inline void FileOptions::set_java_outer_classname(const ::std::string& value) { | 5833 inline void FileOptions::set_java_outer_classname(const ::std::string& value) { |
6568 set_has_java_outer_classname(); | 5834 set_has_java_outer_classname(); |
6569 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), value); | 5835 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), value); |
6570 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_c
lassname) | 5836 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_c
lassname) |
6571 } | 5837 } |
6572 #if LANG_CXX11 | |
6573 inline void FileOptions::set_java_outer_classname(::std::string&& value) { | |
6574 set_has_java_outer_classname(); | |
6575 java_outer_classname_.SetNoArena( | |
6576 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
6577 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.java_
outer_classname) | |
6578 } | |
6579 #endif | |
6580 inline void FileOptions::set_java_outer_classname(const char* value) { | 5838 inline void FileOptions::set_java_outer_classname(const char* value) { |
6581 set_has_java_outer_classname(); | 5839 set_has_java_outer_classname(); |
6582 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), ::std::string(value)); | 5840 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), ::std::string(value)); |
6583 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_ou
ter_classname) | 5841 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_ou
ter_classname) |
6584 } | 5842 } |
6585 inline void FileOptions::set_java_outer_classname(const char* value, size_t size
) { | 5843 inline void FileOptions::set_java_outer_classname(const char* value, size_t size
) { |
6586 set_has_java_outer_classname(); | 5844 set_has_java_outer_classname(); |
6587 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), | 5845 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), |
6588 ::std::string(reinterpret_cast<const char*>(value), size)); | 5846 ::std::string(reinterpret_cast<const char*>(value), size)); |
6589 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java
_outer_classname) | 5847 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java
_outer_classname) |
(...skipping 13 matching lines...) Expand all Loading... |
6603 set_has_java_outer_classname(); | 5861 set_has_java_outer_classname(); |
6604 } else { | 5862 } else { |
6605 clear_has_java_outer_classname(); | 5863 clear_has_java_outer_classname(); |
6606 } | 5864 } |
6607 java_outer_classname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEm
ptyStringAlreadyInited(), java_outer_classname); | 5865 java_outer_classname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEm
ptyStringAlreadyInited(), java_outer_classname); |
6608 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ja
va_outer_classname) | 5866 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ja
va_outer_classname) |
6609 } | 5867 } |
6610 | 5868 |
6611 // optional bool java_multiple_files = 10 [default = false]; | 5869 // optional bool java_multiple_files = 10 [default = false]; |
6612 inline bool FileOptions::has_java_multiple_files() const { | 5870 inline bool FileOptions::has_java_multiple_files() const { |
6613 return (_has_bits_[0] & 0x00000040u) != 0; | 5871 return (_has_bits_[0] & 0x00000004u) != 0; |
6614 } | 5872 } |
6615 inline void FileOptions::set_has_java_multiple_files() { | 5873 inline void FileOptions::set_has_java_multiple_files() { |
6616 _has_bits_[0] |= 0x00000040u; | 5874 _has_bits_[0] |= 0x00000004u; |
6617 } | 5875 } |
6618 inline void FileOptions::clear_has_java_multiple_files() { | 5876 inline void FileOptions::clear_has_java_multiple_files() { |
6619 _has_bits_[0] &= ~0x00000040u; | 5877 _has_bits_[0] &= ~0x00000004u; |
6620 } | 5878 } |
6621 inline void FileOptions::clear_java_multiple_files() { | 5879 inline void FileOptions::clear_java_multiple_files() { |
6622 java_multiple_files_ = false; | 5880 java_multiple_files_ = false; |
6623 clear_has_java_multiple_files(); | 5881 clear_has_java_multiple_files(); |
6624 } | 5882 } |
6625 inline bool FileOptions::java_multiple_files() const { | 5883 inline bool FileOptions::java_multiple_files() const { |
6626 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multipl
e_files) | 5884 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multipl
e_files) |
6627 return java_multiple_files_; | 5885 return java_multiple_files_; |
6628 } | 5886 } |
6629 inline void FileOptions::set_java_multiple_files(bool value) { | 5887 inline void FileOptions::set_java_multiple_files(bool value) { |
6630 set_has_java_multiple_files(); | 5888 set_has_java_multiple_files(); |
6631 java_multiple_files_ = value; | 5889 java_multiple_files_ = value; |
6632 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multipl
e_files) | 5890 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multipl
e_files) |
6633 } | 5891 } |
6634 | 5892 |
6635 // optional bool java_generate_equals_and_hash = 20 [deprecated = true]; | 5893 // optional bool java_generate_equals_and_hash = 20 [default = false]; |
6636 inline bool FileOptions::has_java_generate_equals_and_hash() const { | 5894 inline bool FileOptions::has_java_generate_equals_and_hash() const { |
6637 return (_has_bits_[0] & 0x00000080u) != 0; | 5895 return (_has_bits_[0] & 0x00000008u) != 0; |
6638 } | 5896 } |
6639 inline void FileOptions::set_has_java_generate_equals_and_hash() { | 5897 inline void FileOptions::set_has_java_generate_equals_and_hash() { |
6640 _has_bits_[0] |= 0x00000080u; | 5898 _has_bits_[0] |= 0x00000008u; |
6641 } | 5899 } |
6642 inline void FileOptions::clear_has_java_generate_equals_and_hash() { | 5900 inline void FileOptions::clear_has_java_generate_equals_and_hash() { |
6643 _has_bits_[0] &= ~0x00000080u; | 5901 _has_bits_[0] &= ~0x00000008u; |
6644 } | 5902 } |
6645 inline void FileOptions::clear_java_generate_equals_and_hash() { | 5903 inline void FileOptions::clear_java_generate_equals_and_hash() { |
6646 java_generate_equals_and_hash_ = false; | 5904 java_generate_equals_and_hash_ = false; |
6647 clear_has_java_generate_equals_and_hash(); | 5905 clear_has_java_generate_equals_and_hash(); |
6648 } | 5906 } |
6649 inline bool FileOptions::java_generate_equals_and_hash() const { | 5907 inline bool FileOptions::java_generate_equals_and_hash() const { |
6650 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generat
e_equals_and_hash) | 5908 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generat
e_equals_and_hash) |
6651 return java_generate_equals_and_hash_; | 5909 return java_generate_equals_and_hash_; |
6652 } | 5910 } |
6653 inline void FileOptions::set_java_generate_equals_and_hash(bool value) { | 5911 inline void FileOptions::set_java_generate_equals_and_hash(bool value) { |
6654 set_has_java_generate_equals_and_hash(); | 5912 set_has_java_generate_equals_and_hash(); |
6655 java_generate_equals_and_hash_ = value; | 5913 java_generate_equals_and_hash_ = value; |
6656 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generat
e_equals_and_hash) | 5914 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generat
e_equals_and_hash) |
6657 } | 5915 } |
6658 | 5916 |
6659 // optional bool java_string_check_utf8 = 27 [default = false]; | 5917 // optional bool java_string_check_utf8 = 27 [default = false]; |
6660 inline bool FileOptions::has_java_string_check_utf8() const { | 5918 inline bool FileOptions::has_java_string_check_utf8() const { |
6661 return (_has_bits_[0] & 0x00000100u) != 0; | 5919 return (_has_bits_[0] & 0x00000010u) != 0; |
6662 } | 5920 } |
6663 inline void FileOptions::set_has_java_string_check_utf8() { | 5921 inline void FileOptions::set_has_java_string_check_utf8() { |
6664 _has_bits_[0] |= 0x00000100u; | 5922 _has_bits_[0] |= 0x00000010u; |
6665 } | 5923 } |
6666 inline void FileOptions::clear_has_java_string_check_utf8() { | 5924 inline void FileOptions::clear_has_java_string_check_utf8() { |
6667 _has_bits_[0] &= ~0x00000100u; | 5925 _has_bits_[0] &= ~0x00000010u; |
6668 } | 5926 } |
6669 inline void FileOptions::clear_java_string_check_utf8() { | 5927 inline void FileOptions::clear_java_string_check_utf8() { |
6670 java_string_check_utf8_ = false; | 5928 java_string_check_utf8_ = false; |
6671 clear_has_java_string_check_utf8(); | 5929 clear_has_java_string_check_utf8(); |
6672 } | 5930 } |
6673 inline bool FileOptions::java_string_check_utf8() const { | 5931 inline bool FileOptions::java_string_check_utf8() const { |
6674 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_
check_utf8) | 5932 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_
check_utf8) |
6675 return java_string_check_utf8_; | 5933 return java_string_check_utf8_; |
6676 } | 5934 } |
6677 inline void FileOptions::set_java_string_check_utf8(bool value) { | 5935 inline void FileOptions::set_java_string_check_utf8(bool value) { |
6678 set_has_java_string_check_utf8(); | 5936 set_has_java_string_check_utf8(); |
6679 java_string_check_utf8_ = value; | 5937 java_string_check_utf8_ = value; |
6680 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_
check_utf8) | 5938 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_
check_utf8) |
6681 } | 5939 } |
6682 | 5940 |
6683 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default
= SPEED]; | 5941 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default
= SPEED]; |
6684 inline bool FileOptions::has_optimize_for() const { | 5942 inline bool FileOptions::has_optimize_for() const { |
6685 return (_has_bits_[0] & 0x00004000u) != 0; | 5943 return (_has_bits_[0] & 0x00000020u) != 0; |
6686 } | 5944 } |
6687 inline void FileOptions::set_has_optimize_for() { | 5945 inline void FileOptions::set_has_optimize_for() { |
6688 _has_bits_[0] |= 0x00004000u; | 5946 _has_bits_[0] |= 0x00000020u; |
6689 } | 5947 } |
6690 inline void FileOptions::clear_has_optimize_for() { | 5948 inline void FileOptions::clear_has_optimize_for() { |
6691 _has_bits_[0] &= ~0x00004000u; | 5949 _has_bits_[0] &= ~0x00000020u; |
6692 } | 5950 } |
6693 inline void FileOptions::clear_optimize_for() { | 5951 inline void FileOptions::clear_optimize_for() { |
6694 optimize_for_ = 1; | 5952 optimize_for_ = 1; |
6695 clear_has_optimize_for(); | 5953 clear_has_optimize_for(); |
6696 } | 5954 } |
6697 inline ::google::protobuf::FileOptions_OptimizeMode FileOptions::optimize_for()
const { | 5955 inline ::google::protobuf::FileOptions_OptimizeMode FileOptions::optimize_for()
const { |
6698 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for
) | 5956 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for
) |
6699 return static_cast< ::google::protobuf::FileOptions_OptimizeMode >(optimize_fo
r_); | 5957 return static_cast< ::google::protobuf::FileOptions_OptimizeMode >(optimize_fo
r_); |
6700 } | 5958 } |
6701 inline void FileOptions::set_optimize_for(::google::protobuf::FileOptions_Optimi
zeMode value) { | 5959 inline void FileOptions::set_optimize_for(::google::protobuf::FileOptions_Optimi
zeMode value) { |
6702 assert(::google::protobuf::FileOptions_OptimizeMode_IsValid(value)); | 5960 assert(::google::protobuf::FileOptions_OptimizeMode_IsValid(value)); |
6703 set_has_optimize_for(); | 5961 set_has_optimize_for(); |
6704 optimize_for_ = value; | 5962 optimize_for_ = value; |
6705 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for
) | 5963 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for
) |
6706 } | 5964 } |
6707 | 5965 |
6708 // optional string go_package = 11; | 5966 // optional string go_package = 11; |
6709 inline bool FileOptions::has_go_package() const { | 5967 inline bool FileOptions::has_go_package() const { |
6710 return (_has_bits_[0] & 0x00000004u) != 0; | 5968 return (_has_bits_[0] & 0x00000040u) != 0; |
6711 } | 5969 } |
6712 inline void FileOptions::set_has_go_package() { | 5970 inline void FileOptions::set_has_go_package() { |
6713 _has_bits_[0] |= 0x00000004u; | 5971 _has_bits_[0] |= 0x00000040u; |
6714 } | 5972 } |
6715 inline void FileOptions::clear_has_go_package() { | 5973 inline void FileOptions::clear_has_go_package() { |
6716 _has_bits_[0] &= ~0x00000004u; | 5974 _has_bits_[0] &= ~0x00000040u; |
6717 } | 5975 } |
6718 inline void FileOptions::clear_go_package() { | 5976 inline void FileOptions::clear_go_package() { |
6719 go_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); | 5977 go_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); |
6720 clear_has_go_package(); | 5978 clear_has_go_package(); |
6721 } | 5979 } |
6722 inline const ::std::string& FileOptions::go_package() const { | 5980 inline const ::std::string& FileOptions::go_package() const { |
6723 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package) | 5981 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package) |
6724 return go_package_.GetNoArena(); | 5982 return go_package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited()); |
6725 } | 5983 } |
6726 inline void FileOptions::set_go_package(const ::std::string& value) { | 5984 inline void FileOptions::set_go_package(const ::std::string& value) { |
6727 set_has_go_package(); | 5985 set_has_go_package(); |
6728 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), value); | 5986 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), value); |
6729 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package) | 5987 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package) |
6730 } | 5988 } |
6731 #if LANG_CXX11 | |
6732 inline void FileOptions::set_go_package(::std::string&& value) { | |
6733 set_has_go_package(); | |
6734 go_package_.SetNoArena( | |
6735 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
6736 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.go_pa
ckage) | |
6737 } | |
6738 #endif | |
6739 inline void FileOptions::set_go_package(const char* value) { | 5989 inline void FileOptions::set_go_package(const char* value) { |
6740 set_has_go_package(); | 5990 set_has_go_package(); |
6741 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), ::std::string(value)); | 5991 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), ::std::string(value)); |
6742 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.go_pack
age) | 5992 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.go_pack
age) |
6743 } | 5993 } |
6744 inline void FileOptions::set_go_package(const char* value, size_t size) { | 5994 inline void FileOptions::set_go_package(const char* value, size_t size) { |
6745 set_has_go_package(); | 5995 set_has_go_package(); |
6746 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), | 5996 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), |
6747 ::std::string(reinterpret_cast<const char*>(value), size)); | 5997 ::std::string(reinterpret_cast<const char*>(value), size)); |
6748 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.go_p
ackage) | 5998 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.go_p
ackage) |
(...skipping 13 matching lines...) Expand all Loading... |
6762 set_has_go_package(); | 6012 set_has_go_package(); |
6763 } else { | 6013 } else { |
6764 clear_has_go_package(); | 6014 clear_has_go_package(); |
6765 } | 6015 } |
6766 go_package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited(), go_package); | 6016 go_package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited(), go_package); |
6767 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go
_package) | 6017 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go
_package) |
6768 } | 6018 } |
6769 | 6019 |
6770 // optional bool cc_generic_services = 16 [default = false]; | 6020 // optional bool cc_generic_services = 16 [default = false]; |
6771 inline bool FileOptions::has_cc_generic_services() const { | 6021 inline bool FileOptions::has_cc_generic_services() const { |
6772 return (_has_bits_[0] & 0x00000200u) != 0; | 6022 return (_has_bits_[0] & 0x00000080u) != 0; |
6773 } | 6023 } |
6774 inline void FileOptions::set_has_cc_generic_services() { | 6024 inline void FileOptions::set_has_cc_generic_services() { |
6775 _has_bits_[0] |= 0x00000200u; | 6025 _has_bits_[0] |= 0x00000080u; |
6776 } | 6026 } |
6777 inline void FileOptions::clear_has_cc_generic_services() { | 6027 inline void FileOptions::clear_has_cc_generic_services() { |
6778 _has_bits_[0] &= ~0x00000200u; | 6028 _has_bits_[0] &= ~0x00000080u; |
6779 } | 6029 } |
6780 inline void FileOptions::clear_cc_generic_services() { | 6030 inline void FileOptions::clear_cc_generic_services() { |
6781 cc_generic_services_ = false; | 6031 cc_generic_services_ = false; |
6782 clear_has_cc_generic_services(); | 6032 clear_has_cc_generic_services(); |
6783 } | 6033 } |
6784 inline bool FileOptions::cc_generic_services() const { | 6034 inline bool FileOptions::cc_generic_services() const { |
6785 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_s
ervices) | 6035 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_s
ervices) |
6786 return cc_generic_services_; | 6036 return cc_generic_services_; |
6787 } | 6037 } |
6788 inline void FileOptions::set_cc_generic_services(bool value) { | 6038 inline void FileOptions::set_cc_generic_services(bool value) { |
6789 set_has_cc_generic_services(); | 6039 set_has_cc_generic_services(); |
6790 cc_generic_services_ = value; | 6040 cc_generic_services_ = value; |
6791 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_s
ervices) | 6041 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_s
ervices) |
6792 } | 6042 } |
6793 | 6043 |
6794 // optional bool java_generic_services = 17 [default = false]; | 6044 // optional bool java_generic_services = 17 [default = false]; |
6795 inline bool FileOptions::has_java_generic_services() const { | 6045 inline bool FileOptions::has_java_generic_services() const { |
6796 return (_has_bits_[0] & 0x00000400u) != 0; | 6046 return (_has_bits_[0] & 0x00000100u) != 0; |
6797 } | 6047 } |
6798 inline void FileOptions::set_has_java_generic_services() { | 6048 inline void FileOptions::set_has_java_generic_services() { |
6799 _has_bits_[0] |= 0x00000400u; | 6049 _has_bits_[0] |= 0x00000100u; |
6800 } | 6050 } |
6801 inline void FileOptions::clear_has_java_generic_services() { | 6051 inline void FileOptions::clear_has_java_generic_services() { |
6802 _has_bits_[0] &= ~0x00000400u; | 6052 _has_bits_[0] &= ~0x00000100u; |
6803 } | 6053 } |
6804 inline void FileOptions::clear_java_generic_services() { | 6054 inline void FileOptions::clear_java_generic_services() { |
6805 java_generic_services_ = false; | 6055 java_generic_services_ = false; |
6806 clear_has_java_generic_services(); | 6056 clear_has_java_generic_services(); |
6807 } | 6057 } |
6808 inline bool FileOptions::java_generic_services() const { | 6058 inline bool FileOptions::java_generic_services() const { |
6809 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic
_services) | 6059 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic
_services) |
6810 return java_generic_services_; | 6060 return java_generic_services_; |
6811 } | 6061 } |
6812 inline void FileOptions::set_java_generic_services(bool value) { | 6062 inline void FileOptions::set_java_generic_services(bool value) { |
6813 set_has_java_generic_services(); | 6063 set_has_java_generic_services(); |
6814 java_generic_services_ = value; | 6064 java_generic_services_ = value; |
6815 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic
_services) | 6065 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic
_services) |
6816 } | 6066 } |
6817 | 6067 |
6818 // optional bool py_generic_services = 18 [default = false]; | 6068 // optional bool py_generic_services = 18 [default = false]; |
6819 inline bool FileOptions::has_py_generic_services() const { | 6069 inline bool FileOptions::has_py_generic_services() const { |
6820 return (_has_bits_[0] & 0x00000800u) != 0; | 6070 return (_has_bits_[0] & 0x00000200u) != 0; |
6821 } | 6071 } |
6822 inline void FileOptions::set_has_py_generic_services() { | 6072 inline void FileOptions::set_has_py_generic_services() { |
6823 _has_bits_[0] |= 0x00000800u; | 6073 _has_bits_[0] |= 0x00000200u; |
6824 } | 6074 } |
6825 inline void FileOptions::clear_has_py_generic_services() { | 6075 inline void FileOptions::clear_has_py_generic_services() { |
6826 _has_bits_[0] &= ~0x00000800u; | 6076 _has_bits_[0] &= ~0x00000200u; |
6827 } | 6077 } |
6828 inline void FileOptions::clear_py_generic_services() { | 6078 inline void FileOptions::clear_py_generic_services() { |
6829 py_generic_services_ = false; | 6079 py_generic_services_ = false; |
6830 clear_has_py_generic_services(); | 6080 clear_has_py_generic_services(); |
6831 } | 6081 } |
6832 inline bool FileOptions::py_generic_services() const { | 6082 inline bool FileOptions::py_generic_services() const { |
6833 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_s
ervices) | 6083 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_s
ervices) |
6834 return py_generic_services_; | 6084 return py_generic_services_; |
6835 } | 6085 } |
6836 inline void FileOptions::set_py_generic_services(bool value) { | 6086 inline void FileOptions::set_py_generic_services(bool value) { |
6837 set_has_py_generic_services(); | 6087 set_has_py_generic_services(); |
6838 py_generic_services_ = value; | 6088 py_generic_services_ = value; |
6839 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_s
ervices) | 6089 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_s
ervices) |
6840 } | 6090 } |
6841 | 6091 |
6842 // optional bool deprecated = 23 [default = false]; | 6092 // optional bool deprecated = 23 [default = false]; |
6843 inline bool FileOptions::has_deprecated() const { | 6093 inline bool FileOptions::has_deprecated() const { |
6844 return (_has_bits_[0] & 0x00001000u) != 0; | 6094 return (_has_bits_[0] & 0x00000400u) != 0; |
6845 } | 6095 } |
6846 inline void FileOptions::set_has_deprecated() { | 6096 inline void FileOptions::set_has_deprecated() { |
6847 _has_bits_[0] |= 0x00001000u; | 6097 _has_bits_[0] |= 0x00000400u; |
6848 } | 6098 } |
6849 inline void FileOptions::clear_has_deprecated() { | 6099 inline void FileOptions::clear_has_deprecated() { |
6850 _has_bits_[0] &= ~0x00001000u; | 6100 _has_bits_[0] &= ~0x00000400u; |
6851 } | 6101 } |
6852 inline void FileOptions::clear_deprecated() { | 6102 inline void FileOptions::clear_deprecated() { |
6853 deprecated_ = false; | 6103 deprecated_ = false; |
6854 clear_has_deprecated(); | 6104 clear_has_deprecated(); |
6855 } | 6105 } |
6856 inline bool FileOptions::deprecated() const { | 6106 inline bool FileOptions::deprecated() const { |
6857 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated) | 6107 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated) |
6858 return deprecated_; | 6108 return deprecated_; |
6859 } | 6109 } |
6860 inline void FileOptions::set_deprecated(bool value) { | 6110 inline void FileOptions::set_deprecated(bool value) { |
6861 set_has_deprecated(); | 6111 set_has_deprecated(); |
6862 deprecated_ = value; | 6112 deprecated_ = value; |
6863 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated) | 6113 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated) |
6864 } | 6114 } |
6865 | 6115 |
6866 // optional bool cc_enable_arenas = 31 [default = false]; | 6116 // optional bool cc_enable_arenas = 31 [default = false]; |
6867 inline bool FileOptions::has_cc_enable_arenas() const { | 6117 inline bool FileOptions::has_cc_enable_arenas() const { |
6868 return (_has_bits_[0] & 0x00002000u) != 0; | 6118 return (_has_bits_[0] & 0x00000800u) != 0; |
6869 } | 6119 } |
6870 inline void FileOptions::set_has_cc_enable_arenas() { | 6120 inline void FileOptions::set_has_cc_enable_arenas() { |
6871 _has_bits_[0] |= 0x00002000u; | 6121 _has_bits_[0] |= 0x00000800u; |
6872 } | 6122 } |
6873 inline void FileOptions::clear_has_cc_enable_arenas() { | 6123 inline void FileOptions::clear_has_cc_enable_arenas() { |
6874 _has_bits_[0] &= ~0x00002000u; | 6124 _has_bits_[0] &= ~0x00000800u; |
6875 } | 6125 } |
6876 inline void FileOptions::clear_cc_enable_arenas() { | 6126 inline void FileOptions::clear_cc_enable_arenas() { |
6877 cc_enable_arenas_ = false; | 6127 cc_enable_arenas_ = false; |
6878 clear_has_cc_enable_arenas(); | 6128 clear_has_cc_enable_arenas(); |
6879 } | 6129 } |
6880 inline bool FileOptions::cc_enable_arenas() const { | 6130 inline bool FileOptions::cc_enable_arenas() const { |
6881 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_ar
enas) | 6131 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_ar
enas) |
6882 return cc_enable_arenas_; | 6132 return cc_enable_arenas_; |
6883 } | 6133 } |
6884 inline void FileOptions::set_cc_enable_arenas(bool value) { | 6134 inline void FileOptions::set_cc_enable_arenas(bool value) { |
6885 set_has_cc_enable_arenas(); | 6135 set_has_cc_enable_arenas(); |
6886 cc_enable_arenas_ = value; | 6136 cc_enable_arenas_ = value; |
6887 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_ar
enas) | 6137 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_ar
enas) |
6888 } | 6138 } |
6889 | 6139 |
6890 // optional string objc_class_prefix = 36; | 6140 // optional string objc_class_prefix = 36; |
6891 inline bool FileOptions::has_objc_class_prefix() const { | 6141 inline bool FileOptions::has_objc_class_prefix() const { |
6892 return (_has_bits_[0] & 0x00000008u) != 0; | 6142 return (_has_bits_[0] & 0x00001000u) != 0; |
6893 } | 6143 } |
6894 inline void FileOptions::set_has_objc_class_prefix() { | 6144 inline void FileOptions::set_has_objc_class_prefix() { |
6895 _has_bits_[0] |= 0x00000008u; | 6145 _has_bits_[0] |= 0x00001000u; |
6896 } | 6146 } |
6897 inline void FileOptions::clear_has_objc_class_prefix() { | 6147 inline void FileOptions::clear_has_objc_class_prefix() { |
6898 _has_bits_[0] &= ~0x00000008u; | 6148 _has_bits_[0] &= ~0x00001000u; |
6899 } | 6149 } |
6900 inline void FileOptions::clear_objc_class_prefix() { | 6150 inline void FileOptions::clear_objc_class_prefix() { |
6901 objc_class_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty
StringAlreadyInited()); | 6151 objc_class_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty
StringAlreadyInited()); |
6902 clear_has_objc_class_prefix(); | 6152 clear_has_objc_class_prefix(); |
6903 } | 6153 } |
6904 inline const ::std::string& FileOptions::objc_class_prefix() const { | 6154 inline const ::std::string& FileOptions::objc_class_prefix() const { |
6905 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_p
refix) | 6155 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_p
refix) |
6906 return objc_class_prefix_.GetNoArena(); | 6156 return objc_class_prefix_.GetNoArena(&::google::protobuf::internal::GetEmptySt
ringAlreadyInited()); |
6907 } | 6157 } |
6908 inline void FileOptions::set_objc_class_prefix(const ::std::string& value) { | 6158 inline void FileOptions::set_objc_class_prefix(const ::std::string& value) { |
6909 set_has_objc_class_prefix(); | 6159 set_has_objc_class_prefix(); |
6910 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), value); | 6160 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), value); |
6911 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_p
refix) | 6161 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_p
refix) |
6912 } | 6162 } |
6913 #if LANG_CXX11 | |
6914 inline void FileOptions::set_objc_class_prefix(::std::string&& value) { | |
6915 set_has_objc_class_prefix(); | |
6916 objc_class_prefix_.SetNoArena( | |
6917 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
6918 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.objc_
class_prefix) | |
6919 } | |
6920 #endif | |
6921 inline void FileOptions::set_objc_class_prefix(const char* value) { | 6163 inline void FileOptions::set_objc_class_prefix(const char* value) { |
6922 set_has_objc_class_prefix(); | 6164 set_has_objc_class_prefix(); |
6923 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), ::std::string(value)); | 6165 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), ::std::string(value)); |
6924 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.objc_cl
ass_prefix) | 6166 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.objc_cl
ass_prefix) |
6925 } | 6167 } |
6926 inline void FileOptions::set_objc_class_prefix(const char* value, size_t size) { | 6168 inline void FileOptions::set_objc_class_prefix(const char* value, size_t size) { |
6927 set_has_objc_class_prefix(); | 6169 set_has_objc_class_prefix(); |
6928 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), | 6170 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), |
6929 ::std::string(reinterpret_cast<const char*>(value), size)); | 6171 ::std::string(reinterpret_cast<const char*>(value), size)); |
6930 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.objc
_class_prefix) | 6172 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.objc
_class_prefix) |
(...skipping 13 matching lines...) Expand all Loading... |
6944 set_has_objc_class_prefix(); | 6186 set_has_objc_class_prefix(); |
6945 } else { | 6187 } else { |
6946 clear_has_objc_class_prefix(); | 6188 clear_has_objc_class_prefix(); |
6947 } | 6189 } |
6948 objc_class_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmpty
StringAlreadyInited(), objc_class_prefix); | 6190 objc_class_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmpty
StringAlreadyInited(), objc_class_prefix); |
6949 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ob
jc_class_prefix) | 6191 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ob
jc_class_prefix) |
6950 } | 6192 } |
6951 | 6193 |
6952 // optional string csharp_namespace = 37; | 6194 // optional string csharp_namespace = 37; |
6953 inline bool FileOptions::has_csharp_namespace() const { | 6195 inline bool FileOptions::has_csharp_namespace() const { |
6954 return (_has_bits_[0] & 0x00000010u) != 0; | 6196 return (_has_bits_[0] & 0x00002000u) != 0; |
6955 } | 6197 } |
6956 inline void FileOptions::set_has_csharp_namespace() { | 6198 inline void FileOptions::set_has_csharp_namespace() { |
6957 _has_bits_[0] |= 0x00000010u; | 6199 _has_bits_[0] |= 0x00002000u; |
6958 } | 6200 } |
6959 inline void FileOptions::clear_has_csharp_namespace() { | 6201 inline void FileOptions::clear_has_csharp_namespace() { |
6960 _has_bits_[0] &= ~0x00000010u; | 6202 _has_bits_[0] &= ~0x00002000u; |
6961 } | 6203 } |
6962 inline void FileOptions::clear_csharp_namespace() { | 6204 inline void FileOptions::clear_csharp_namespace() { |
6963 csharp_namespace_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited()); | 6205 csharp_namespace_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited()); |
6964 clear_has_csharp_namespace(); | 6206 clear_has_csharp_namespace(); |
6965 } | 6207 } |
6966 inline const ::std::string& FileOptions::csharp_namespace() const { | 6208 inline const ::std::string& FileOptions::csharp_namespace() const { |
6967 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_names
pace) | 6209 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_names
pace) |
6968 return csharp_namespace_.GetNoArena(); | 6210 return csharp_namespace_.GetNoArena(&::google::protobuf::internal::GetEmptyStr
ingAlreadyInited()); |
6969 } | 6211 } |
6970 inline void FileOptions::set_csharp_namespace(const ::std::string& value) { | 6212 inline void FileOptions::set_csharp_namespace(const ::std::string& value) { |
6971 set_has_csharp_namespace(); | 6213 set_has_csharp_namespace(); |
6972 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), value); | 6214 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), value); |
6973 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_names
pace) | 6215 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_names
pace) |
6974 } | 6216 } |
6975 #if LANG_CXX11 | |
6976 inline void FileOptions::set_csharp_namespace(::std::string&& value) { | |
6977 set_has_csharp_namespace(); | |
6978 csharp_namespace_.SetNoArena( | |
6979 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
6980 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.cshar
p_namespace) | |
6981 } | |
6982 #endif | |
6983 inline void FileOptions::set_csharp_namespace(const char* value) { | 6217 inline void FileOptions::set_csharp_namespace(const char* value) { |
6984 set_has_csharp_namespace(); | 6218 set_has_csharp_namespace(); |
6985 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), ::std::string(value)); | 6219 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), ::std::string(value)); |
6986 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.csharp_
namespace) | 6220 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.csharp_
namespace) |
6987 } | 6221 } |
6988 inline void FileOptions::set_csharp_namespace(const char* value, size_t size) { | 6222 inline void FileOptions::set_csharp_namespace(const char* value, size_t size) { |
6989 set_has_csharp_namespace(); | 6223 set_has_csharp_namespace(); |
6990 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), | 6224 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), |
6991 ::std::string(reinterpret_cast<const char*>(value), size)); | 6225 ::std::string(reinterpret_cast<const char*>(value), size)); |
6992 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.csha
rp_namespace) | 6226 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.csha
rp_namespace) |
(...skipping 11 matching lines...) Expand all Loading... |
7004 inline void FileOptions::set_allocated_csharp_namespace(::std::string* csharp_na
mespace) { | 6238 inline void FileOptions::set_allocated_csharp_namespace(::std::string* csharp_na
mespace) { |
7005 if (csharp_namespace != NULL) { | 6239 if (csharp_namespace != NULL) { |
7006 set_has_csharp_namespace(); | 6240 set_has_csharp_namespace(); |
7007 } else { | 6241 } else { |
7008 clear_has_csharp_namespace(); | 6242 clear_has_csharp_namespace(); |
7009 } | 6243 } |
7010 csharp_namespace_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited(), csharp_namespace); | 6244 csharp_namespace_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited(), csharp_namespace); |
7011 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.cs
harp_namespace) | 6245 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.cs
harp_namespace) |
7012 } | 6246 } |
7013 | 6247 |
7014 // optional string swift_prefix = 39; | |
7015 inline bool FileOptions::has_swift_prefix() const { | |
7016 return (_has_bits_[0] & 0x00000020u) != 0; | |
7017 } | |
7018 inline void FileOptions::set_has_swift_prefix() { | |
7019 _has_bits_[0] |= 0x00000020u; | |
7020 } | |
7021 inline void FileOptions::clear_has_swift_prefix() { | |
7022 _has_bits_[0] &= ~0x00000020u; | |
7023 } | |
7024 inline void FileOptions::clear_swift_prefix() { | |
7025 swift_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited()); | |
7026 clear_has_swift_prefix(); | |
7027 } | |
7028 inline const ::std::string& FileOptions::swift_prefix() const { | |
7029 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.swift_prefix
) | |
7030 return swift_prefix_.GetNoArena(); | |
7031 } | |
7032 inline void FileOptions::set_swift_prefix(const ::std::string& value) { | |
7033 set_has_swift_prefix(); | |
7034 swift_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), value); | |
7035 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.swift_prefix
) | |
7036 } | |
7037 #if LANG_CXX11 | |
7038 inline void FileOptions::set_swift_prefix(::std::string&& value) { | |
7039 set_has_swift_prefix(); | |
7040 swift_prefix_.SetNoArena( | |
7041 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
7042 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.swift
_prefix) | |
7043 } | |
7044 #endif | |
7045 inline void FileOptions::set_swift_prefix(const char* value) { | |
7046 set_has_swift_prefix(); | |
7047 swift_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), ::std::string(value)); | |
7048 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.swift_p
refix) | |
7049 } | |
7050 inline void FileOptions::set_swift_prefix(const char* value, size_t size) { | |
7051 set_has_swift_prefix(); | |
7052 swift_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), | |
7053 ::std::string(reinterpret_cast<const char*>(value), size)); | |
7054 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.swif
t_prefix) | |
7055 } | |
7056 inline ::std::string* FileOptions::mutable_swift_prefix() { | |
7057 set_has_swift_prefix(); | |
7058 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.swift_pr
efix) | |
7059 return swift_prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStr
ingAlreadyInited()); | |
7060 } | |
7061 inline ::std::string* FileOptions::release_swift_prefix() { | |
7062 // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.swift_pr
efix) | |
7063 clear_has_swift_prefix(); | |
7064 return swift_prefix_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStr
ingAlreadyInited()); | |
7065 } | |
7066 inline void FileOptions::set_allocated_swift_prefix(::std::string* swift_prefix)
{ | |
7067 if (swift_prefix != NULL) { | |
7068 set_has_swift_prefix(); | |
7069 } else { | |
7070 clear_has_swift_prefix(); | |
7071 } | |
7072 swift_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited(), swift_prefix); | |
7073 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.sw
ift_prefix) | |
7074 } | |
7075 | |
7076 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 6248 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
7077 inline int FileOptions::uninterpreted_option_size() const { | 6249 inline int FileOptions::uninterpreted_option_size() const { |
7078 return uninterpreted_option_.size(); | 6250 return uninterpreted_option_.size(); |
7079 } | 6251 } |
7080 inline void FileOptions::clear_uninterpreted_option() { | 6252 inline void FileOptions::clear_uninterpreted_option() { |
7081 uninterpreted_option_.Clear(); | 6253 uninterpreted_option_.Clear(); |
7082 } | 6254 } |
7083 inline const ::google::protobuf::UninterpretedOption& FileOptions::uninterpreted
_option(int index) const { | 6255 inline const ::google::protobuf::UninterpretedOption& FileOptions::uninterpreted
_option(int index) const { |
7084 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterprete
d_option) | 6256 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterprete
d_option) |
7085 return uninterpreted_option_.Get(index); | 6257 return uninterpreted_option_.Get(index); |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7257 } | 6429 } |
7258 inline void FieldOptions::set_ctype(::google::protobuf::FieldOptions_CType value
) { | 6430 inline void FieldOptions::set_ctype(::google::protobuf::FieldOptions_CType value
) { |
7259 assert(::google::protobuf::FieldOptions_CType_IsValid(value)); | 6431 assert(::google::protobuf::FieldOptions_CType_IsValid(value)); |
7260 set_has_ctype(); | 6432 set_has_ctype(); |
7261 ctype_ = value; | 6433 ctype_ = value; |
7262 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype) | 6434 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype) |
7263 } | 6435 } |
7264 | 6436 |
7265 // optional bool packed = 2; | 6437 // optional bool packed = 2; |
7266 inline bool FieldOptions::has_packed() const { | 6438 inline bool FieldOptions::has_packed() const { |
7267 return (_has_bits_[0] & 0x00000004u) != 0; | 6439 return (_has_bits_[0] & 0x00000002u) != 0; |
7268 } | 6440 } |
7269 inline void FieldOptions::set_has_packed() { | 6441 inline void FieldOptions::set_has_packed() { |
7270 _has_bits_[0] |= 0x00000004u; | 6442 _has_bits_[0] |= 0x00000002u; |
7271 } | 6443 } |
7272 inline void FieldOptions::clear_has_packed() { | 6444 inline void FieldOptions::clear_has_packed() { |
7273 _has_bits_[0] &= ~0x00000004u; | 6445 _has_bits_[0] &= ~0x00000002u; |
7274 } | 6446 } |
7275 inline void FieldOptions::clear_packed() { | 6447 inline void FieldOptions::clear_packed() { |
7276 packed_ = false; | 6448 packed_ = false; |
7277 clear_has_packed(); | 6449 clear_has_packed(); |
7278 } | 6450 } |
7279 inline bool FieldOptions::packed() const { | 6451 inline bool FieldOptions::packed() const { |
7280 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed) | 6452 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed) |
7281 return packed_; | 6453 return packed_; |
7282 } | 6454 } |
7283 inline void FieldOptions::set_packed(bool value) { | 6455 inline void FieldOptions::set_packed(bool value) { |
7284 set_has_packed(); | 6456 set_has_packed(); |
7285 packed_ = value; | 6457 packed_ = value; |
7286 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed) | 6458 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed) |
7287 } | 6459 } |
7288 | 6460 |
7289 // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL
]; | 6461 // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL
]; |
7290 inline bool FieldOptions::has_jstype() const { | 6462 inline bool FieldOptions::has_jstype() const { |
7291 return (_has_bits_[0] & 0x00000002u) != 0; | 6463 return (_has_bits_[0] & 0x00000004u) != 0; |
7292 } | 6464 } |
7293 inline void FieldOptions::set_has_jstype() { | 6465 inline void FieldOptions::set_has_jstype() { |
7294 _has_bits_[0] |= 0x00000002u; | 6466 _has_bits_[0] |= 0x00000004u; |
7295 } | 6467 } |
7296 inline void FieldOptions::clear_has_jstype() { | 6468 inline void FieldOptions::clear_has_jstype() { |
7297 _has_bits_[0] &= ~0x00000002u; | 6469 _has_bits_[0] &= ~0x00000004u; |
7298 } | 6470 } |
7299 inline void FieldOptions::clear_jstype() { | 6471 inline void FieldOptions::clear_jstype() { |
7300 jstype_ = 0; | 6472 jstype_ = 0; |
7301 clear_has_jstype(); | 6473 clear_has_jstype(); |
7302 } | 6474 } |
7303 inline ::google::protobuf::FieldOptions_JSType FieldOptions::jstype() const { | 6475 inline ::google::protobuf::FieldOptions_JSType FieldOptions::jstype() const { |
7304 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype) | 6476 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype) |
7305 return static_cast< ::google::protobuf::FieldOptions_JSType >(jstype_); | 6477 return static_cast< ::google::protobuf::FieldOptions_JSType >(jstype_); |
7306 } | 6478 } |
7307 inline void FieldOptions::set_jstype(::google::protobuf::FieldOptions_JSType val
ue) { | 6479 inline void FieldOptions::set_jstype(::google::protobuf::FieldOptions_JSType val
ue) { |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7408 return &uninterpreted_option_; | 6580 return &uninterpreted_option_; |
7409 } | 6581 } |
7410 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption >& | 6582 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption >& |
7411 FieldOptions::uninterpreted_option() const { | 6583 FieldOptions::uninterpreted_option() const { |
7412 // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpre
ted_option) | 6584 // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpre
ted_option) |
7413 return uninterpreted_option_; | 6585 return uninterpreted_option_; |
7414 } | 6586 } |
7415 | 6587 |
7416 // ------------------------------------------------------------------- | 6588 // ------------------------------------------------------------------- |
7417 | 6589 |
7418 // OneofOptions | |
7419 | |
7420 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | |
7421 inline int OneofOptions::uninterpreted_option_size() const { | |
7422 return uninterpreted_option_.size(); | |
7423 } | |
7424 inline void OneofOptions::clear_uninterpreted_option() { | |
7425 uninterpreted_option_.Clear(); | |
7426 } | |
7427 inline const ::google::protobuf::UninterpretedOption& OneofOptions::uninterprete
d_option(int index) const { | |
7428 // @@protoc_insertion_point(field_get:google.protobuf.OneofOptions.uninterpret
ed_option) | |
7429 return uninterpreted_option_.Get(index); | |
7430 } | |
7431 inline ::google::protobuf::UninterpretedOption* OneofOptions::mutable_uninterpre
ted_option(int index) { | |
7432 // @@protoc_insertion_point(field_mutable:google.protobuf.OneofOptions.uninter
preted_option) | |
7433 return uninterpreted_option_.Mutable(index); | |
7434 } | |
7435 inline ::google::protobuf::UninterpretedOption* OneofOptions::add_uninterpreted_
option() { | |
7436 // @@protoc_insertion_point(field_add:google.protobuf.OneofOptions.uninterpret
ed_option) | |
7437 return uninterpreted_option_.Add(); | |
7438 } | |
7439 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOp
tion >* | |
7440 OneofOptions::mutable_uninterpreted_option() { | |
7441 // @@protoc_insertion_point(field_mutable_list:google.protobuf.OneofOptions.un
interpreted_option) | |
7442 return &uninterpreted_option_; | |
7443 } | |
7444 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption >& | |
7445 OneofOptions::uninterpreted_option() const { | |
7446 // @@protoc_insertion_point(field_list:google.protobuf.OneofOptions.uninterpre
ted_option) | |
7447 return uninterpreted_option_; | |
7448 } | |
7449 | |
7450 // ------------------------------------------------------------------- | |
7451 | |
7452 // EnumOptions | 6590 // EnumOptions |
7453 | 6591 |
7454 // optional bool allow_alias = 2; | 6592 // optional bool allow_alias = 2; |
7455 inline bool EnumOptions::has_allow_alias() const { | 6593 inline bool EnumOptions::has_allow_alias() const { |
7456 return (_has_bits_[0] & 0x00000001u) != 0; | 6594 return (_has_bits_[0] & 0x00000001u) != 0; |
7457 } | 6595 } |
7458 inline void EnumOptions::set_has_allow_alias() { | 6596 inline void EnumOptions::set_has_allow_alias() { |
7459 _has_bits_[0] |= 0x00000001u; | 6597 _has_bits_[0] |= 0x00000001u; |
7460 } | 6598 } |
7461 inline void EnumOptions::clear_has_allow_alias() { | 6599 inline void EnumOptions::clear_has_allow_alias() { |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7666 inline bool MethodOptions::deprecated() const { | 6804 inline bool MethodOptions::deprecated() const { |
7667 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated
) | 6805 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated
) |
7668 return deprecated_; | 6806 return deprecated_; |
7669 } | 6807 } |
7670 inline void MethodOptions::set_deprecated(bool value) { | 6808 inline void MethodOptions::set_deprecated(bool value) { |
7671 set_has_deprecated(); | 6809 set_has_deprecated(); |
7672 deprecated_ = value; | 6810 deprecated_ = value; |
7673 // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated
) | 6811 // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated
) |
7674 } | 6812 } |
7675 | 6813 |
7676 // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level =
34 [default = IDEMPOTENCY_UNKNOWN]; | |
7677 inline bool MethodOptions::has_idempotency_level() const { | |
7678 return (_has_bits_[0] & 0x00000002u) != 0; | |
7679 } | |
7680 inline void MethodOptions::set_has_idempotency_level() { | |
7681 _has_bits_[0] |= 0x00000002u; | |
7682 } | |
7683 inline void MethodOptions::clear_has_idempotency_level() { | |
7684 _has_bits_[0] &= ~0x00000002u; | |
7685 } | |
7686 inline void MethodOptions::clear_idempotency_level() { | |
7687 idempotency_level_ = 0; | |
7688 clear_has_idempotency_level(); | |
7689 } | |
7690 inline ::google::protobuf::MethodOptions_IdempotencyLevel MethodOptions::idempot
ency_level() const { | |
7691 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.idempotenc
y_level) | |
7692 return static_cast< ::google::protobuf::MethodOptions_IdempotencyLevel >(idemp
otency_level_); | |
7693 } | |
7694 inline void MethodOptions::set_idempotency_level(::google::protobuf::MethodOptio
ns_IdempotencyLevel value) { | |
7695 assert(::google::protobuf::MethodOptions_IdempotencyLevel_IsValid(value)); | |
7696 set_has_idempotency_level(); | |
7697 idempotency_level_ = value; | |
7698 // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.idempotenc
y_level) | |
7699 } | |
7700 | |
7701 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 6814 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
7702 inline int MethodOptions::uninterpreted_option_size() const { | 6815 inline int MethodOptions::uninterpreted_option_size() const { |
7703 return uninterpreted_option_.size(); | 6816 return uninterpreted_option_.size(); |
7704 } | 6817 } |
7705 inline void MethodOptions::clear_uninterpreted_option() { | 6818 inline void MethodOptions::clear_uninterpreted_option() { |
7706 uninterpreted_option_.Clear(); | 6819 uninterpreted_option_.Clear(); |
7707 } | 6820 } |
7708 inline const ::google::protobuf::UninterpretedOption& MethodOptions::uninterpret
ed_option(int index) const { | 6821 inline const ::google::protobuf::UninterpretedOption& MethodOptions::uninterpret
ed_option(int index) const { |
7709 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpre
ted_option) | 6822 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpre
ted_option) |
7710 return uninterpreted_option_.Get(index); | 6823 return uninterpreted_option_.Get(index); |
(...skipping 30 matching lines...) Expand all Loading... |
7741 } | 6854 } |
7742 inline void UninterpretedOption_NamePart::clear_has_name_part() { | 6855 inline void UninterpretedOption_NamePart::clear_has_name_part() { |
7743 _has_bits_[0] &= ~0x00000001u; | 6856 _has_bits_[0] &= ~0x00000001u; |
7744 } | 6857 } |
7745 inline void UninterpretedOption_NamePart::clear_name_part() { | 6858 inline void UninterpretedOption_NamePart::clear_name_part() { |
7746 name_part_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); | 6859 name_part_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); |
7747 clear_has_name_part(); | 6860 clear_has_name_part(); |
7748 } | 6861 } |
7749 inline const ::std::string& UninterpretedOption_NamePart::name_part() const { | 6862 inline const ::std::string& UninterpretedOption_NamePart::name_part() const { |
7750 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.Name
Part.name_part) | 6863 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.Name
Part.name_part) |
7751 return name_part_.GetNoArena(); | 6864 return name_part_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited()); |
7752 } | 6865 } |
7753 inline void UninterpretedOption_NamePart::set_name_part(const ::std::string& val
ue) { | 6866 inline void UninterpretedOption_NamePart::set_name_part(const ::std::string& val
ue) { |
7754 set_has_name_part(); | 6867 set_has_name_part(); |
7755 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), value); | 6868 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), value); |
7756 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.Name
Part.name_part) | 6869 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.Name
Part.name_part) |
7757 } | 6870 } |
7758 #if LANG_CXX11 | |
7759 inline void UninterpretedOption_NamePart::set_name_part(::std::string&& value) { | |
7760 set_has_name_part(); | |
7761 name_part_.SetNoArena( | |
7762 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
7763 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.UninterpretedOpti
on.NamePart.name_part) | |
7764 } | |
7765 #endif | |
7766 inline void UninterpretedOption_NamePart::set_name_part(const char* value) { | 6871 inline void UninterpretedOption_NamePart::set_name_part(const char* value) { |
7767 set_has_name_part(); | 6872 set_has_name_part(); |
7768 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), ::std::string(value)); | 6873 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), ::std::string(value)); |
7769 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.NamePart.name_part) | 6874 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.NamePart.name_part) |
7770 } | 6875 } |
7771 inline void UninterpretedOption_NamePart::set_name_part(const char* value, size_
t size) { | 6876 inline void UninterpretedOption_NamePart::set_name_part(const char* value, size_
t size) { |
7772 set_has_name_part(); | 6877 set_has_name_part(); |
7773 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), | 6878 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), |
7774 ::std::string(reinterpret_cast<const char*>(value), size)); | 6879 ::std::string(reinterpret_cast<const char*>(value), size)); |
7775 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOpt
ion.NamePart.name_part) | 6880 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOpt
ion.NamePart.name_part) |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7847 return &name_; | 6952 return &name_; |
7848 } | 6953 } |
7849 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption_NamePart >& | 6954 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption_NamePart >& |
7850 UninterpretedOption::name() const { | 6955 UninterpretedOption::name() const { |
7851 // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.nam
e) | 6956 // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.nam
e) |
7852 return name_; | 6957 return name_; |
7853 } | 6958 } |
7854 | 6959 |
7855 // optional string identifier_value = 3; | 6960 // optional string identifier_value = 3; |
7856 inline bool UninterpretedOption::has_identifier_value() const { | 6961 inline bool UninterpretedOption::has_identifier_value() const { |
7857 return (_has_bits_[0] & 0x00000001u) != 0; | 6962 return (_has_bits_[0] & 0x00000002u) != 0; |
7858 } | 6963 } |
7859 inline void UninterpretedOption::set_has_identifier_value() { | 6964 inline void UninterpretedOption::set_has_identifier_value() { |
7860 _has_bits_[0] |= 0x00000001u; | 6965 _has_bits_[0] |= 0x00000002u; |
7861 } | 6966 } |
7862 inline void UninterpretedOption::clear_has_identifier_value() { | 6967 inline void UninterpretedOption::clear_has_identifier_value() { |
7863 _has_bits_[0] &= ~0x00000001u; | 6968 _has_bits_[0] &= ~0x00000002u; |
7864 } | 6969 } |
7865 inline void UninterpretedOption::clear_identifier_value() { | 6970 inline void UninterpretedOption::clear_identifier_value() { |
7866 identifier_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited()); | 6971 identifier_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited()); |
7867 clear_has_identifier_value(); | 6972 clear_has_identifier_value(); |
7868 } | 6973 } |
7869 inline const ::std::string& UninterpretedOption::identifier_value() const { | 6974 inline const ::std::string& UninterpretedOption::identifier_value() const { |
7870 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.iden
tifier_value) | 6975 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.iden
tifier_value) |
7871 return identifier_value_.GetNoArena(); | 6976 return identifier_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStr
ingAlreadyInited()); |
7872 } | 6977 } |
7873 inline void UninterpretedOption::set_identifier_value(const ::std::string& value
) { | 6978 inline void UninterpretedOption::set_identifier_value(const ::std::string& value
) { |
7874 set_has_identifier_value(); | 6979 set_has_identifier_value(); |
7875 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), value); | 6980 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), value); |
7876 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.iden
tifier_value) | 6981 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.iden
tifier_value) |
7877 } | 6982 } |
7878 #if LANG_CXX11 | |
7879 inline void UninterpretedOption::set_identifier_value(::std::string&& value) { | |
7880 set_has_identifier_value(); | |
7881 identifier_value_.SetNoArena( | |
7882 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
7883 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.UninterpretedOpti
on.identifier_value) | |
7884 } | |
7885 #endif | |
7886 inline void UninterpretedOption::set_identifier_value(const char* value) { | 6983 inline void UninterpretedOption::set_identifier_value(const char* value) { |
7887 set_has_identifier_value(); | 6984 set_has_identifier_value(); |
7888 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), ::std::string(value)); | 6985 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), ::std::string(value)); |
7889 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.identifier_value) | 6986 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.identifier_value) |
7890 } | 6987 } |
7891 inline void UninterpretedOption::set_identifier_value(const char* value, size_t
size) { | 6988 inline void UninterpretedOption::set_identifier_value(const char* value, size_t
size) { |
7892 set_has_identifier_value(); | 6989 set_has_identifier_value(); |
7893 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), | 6990 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), |
7894 ::std::string(reinterpret_cast<const char*>(value), size)); | 6991 ::std::string(reinterpret_cast<const char*>(value), size)); |
7895 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOpt
ion.identifier_value) | 6992 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOpt
ion.identifier_value) |
(...skipping 13 matching lines...) Expand all Loading... |
7909 set_has_identifier_value(); | 7006 set_has_identifier_value(); |
7910 } else { | 7007 } else { |
7911 clear_has_identifier_value(); | 7008 clear_has_identifier_value(); |
7912 } | 7009 } |
7913 identifier_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited(), identifier_value); | 7010 identifier_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited(), identifier_value); |
7914 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO
ption.identifier_value) | 7011 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO
ption.identifier_value) |
7915 } | 7012 } |
7916 | 7013 |
7917 // optional uint64 positive_int_value = 4; | 7014 // optional uint64 positive_int_value = 4; |
7918 inline bool UninterpretedOption::has_positive_int_value() const { | 7015 inline bool UninterpretedOption::has_positive_int_value() const { |
7919 return (_has_bits_[0] & 0x00000008u) != 0; | 7016 return (_has_bits_[0] & 0x00000004u) != 0; |
7920 } | 7017 } |
7921 inline void UninterpretedOption::set_has_positive_int_value() { | 7018 inline void UninterpretedOption::set_has_positive_int_value() { |
7922 _has_bits_[0] |= 0x00000008u; | 7019 _has_bits_[0] |= 0x00000004u; |
7923 } | 7020 } |
7924 inline void UninterpretedOption::clear_has_positive_int_value() { | 7021 inline void UninterpretedOption::clear_has_positive_int_value() { |
7925 _has_bits_[0] &= ~0x00000008u; | 7022 _has_bits_[0] &= ~0x00000004u; |
7926 } | 7023 } |
7927 inline void UninterpretedOption::clear_positive_int_value() { | 7024 inline void UninterpretedOption::clear_positive_int_value() { |
7928 positive_int_value_ = GOOGLE_ULONGLONG(0); | 7025 positive_int_value_ = GOOGLE_ULONGLONG(0); |
7929 clear_has_positive_int_value(); | 7026 clear_has_positive_int_value(); |
7930 } | 7027 } |
7931 inline ::google::protobuf::uint64 UninterpretedOption::positive_int_value() cons
t { | 7028 inline ::google::protobuf::uint64 UninterpretedOption::positive_int_value() cons
t { |
7932 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.posi
tive_int_value) | 7029 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.posi
tive_int_value) |
7933 return positive_int_value_; | 7030 return positive_int_value_; |
7934 } | 7031 } |
7935 inline void UninterpretedOption::set_positive_int_value(::google::protobuf::uint
64 value) { | 7032 inline void UninterpretedOption::set_positive_int_value(::google::protobuf::uint
64 value) { |
7936 set_has_positive_int_value(); | 7033 set_has_positive_int_value(); |
7937 positive_int_value_ = value; | 7034 positive_int_value_ = value; |
7938 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.posi
tive_int_value) | 7035 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.posi
tive_int_value) |
7939 } | 7036 } |
7940 | 7037 |
7941 // optional int64 negative_int_value = 5; | 7038 // optional int64 negative_int_value = 5; |
7942 inline bool UninterpretedOption::has_negative_int_value() const { | 7039 inline bool UninterpretedOption::has_negative_int_value() const { |
7943 return (_has_bits_[0] & 0x00000010u) != 0; | 7040 return (_has_bits_[0] & 0x00000008u) != 0; |
7944 } | 7041 } |
7945 inline void UninterpretedOption::set_has_negative_int_value() { | 7042 inline void UninterpretedOption::set_has_negative_int_value() { |
7946 _has_bits_[0] |= 0x00000010u; | 7043 _has_bits_[0] |= 0x00000008u; |
7947 } | 7044 } |
7948 inline void UninterpretedOption::clear_has_negative_int_value() { | 7045 inline void UninterpretedOption::clear_has_negative_int_value() { |
7949 _has_bits_[0] &= ~0x00000010u; | 7046 _has_bits_[0] &= ~0x00000008u; |
7950 } | 7047 } |
7951 inline void UninterpretedOption::clear_negative_int_value() { | 7048 inline void UninterpretedOption::clear_negative_int_value() { |
7952 negative_int_value_ = GOOGLE_LONGLONG(0); | 7049 negative_int_value_ = GOOGLE_LONGLONG(0); |
7953 clear_has_negative_int_value(); | 7050 clear_has_negative_int_value(); |
7954 } | 7051 } |
7955 inline ::google::protobuf::int64 UninterpretedOption::negative_int_value() const
{ | 7052 inline ::google::protobuf::int64 UninterpretedOption::negative_int_value() const
{ |
7956 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.nega
tive_int_value) | 7053 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.nega
tive_int_value) |
7957 return negative_int_value_; | 7054 return negative_int_value_; |
7958 } | 7055 } |
7959 inline void UninterpretedOption::set_negative_int_value(::google::protobuf::int6
4 value) { | 7056 inline void UninterpretedOption::set_negative_int_value(::google::protobuf::int6
4 value) { |
7960 set_has_negative_int_value(); | 7057 set_has_negative_int_value(); |
7961 negative_int_value_ = value; | 7058 negative_int_value_ = value; |
7962 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.nega
tive_int_value) | 7059 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.nega
tive_int_value) |
7963 } | 7060 } |
7964 | 7061 |
7965 // optional double double_value = 6; | 7062 // optional double double_value = 6; |
7966 inline bool UninterpretedOption::has_double_value() const { | 7063 inline bool UninterpretedOption::has_double_value() const { |
7967 return (_has_bits_[0] & 0x00000020u) != 0; | 7064 return (_has_bits_[0] & 0x00000010u) != 0; |
7968 } | 7065 } |
7969 inline void UninterpretedOption::set_has_double_value() { | 7066 inline void UninterpretedOption::set_has_double_value() { |
7970 _has_bits_[0] |= 0x00000020u; | 7067 _has_bits_[0] |= 0x00000010u; |
7971 } | 7068 } |
7972 inline void UninterpretedOption::clear_has_double_value() { | 7069 inline void UninterpretedOption::clear_has_double_value() { |
7973 _has_bits_[0] &= ~0x00000020u; | 7070 _has_bits_[0] &= ~0x00000010u; |
7974 } | 7071 } |
7975 inline void UninterpretedOption::clear_double_value() { | 7072 inline void UninterpretedOption::clear_double_value() { |
7976 double_value_ = 0; | 7073 double_value_ = 0; |
7977 clear_has_double_value(); | 7074 clear_has_double_value(); |
7978 } | 7075 } |
7979 inline double UninterpretedOption::double_value() const { | 7076 inline double UninterpretedOption::double_value() const { |
7980 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.doub
le_value) | 7077 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.doub
le_value) |
7981 return double_value_; | 7078 return double_value_; |
7982 } | 7079 } |
7983 inline void UninterpretedOption::set_double_value(double value) { | 7080 inline void UninterpretedOption::set_double_value(double value) { |
7984 set_has_double_value(); | 7081 set_has_double_value(); |
7985 double_value_ = value; | 7082 double_value_ = value; |
7986 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.doub
le_value) | 7083 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.doub
le_value) |
7987 } | 7084 } |
7988 | 7085 |
7989 // optional bytes string_value = 7; | 7086 // optional bytes string_value = 7; |
7990 inline bool UninterpretedOption::has_string_value() const { | 7087 inline bool UninterpretedOption::has_string_value() const { |
7991 return (_has_bits_[0] & 0x00000002u) != 0; | 7088 return (_has_bits_[0] & 0x00000020u) != 0; |
7992 } | 7089 } |
7993 inline void UninterpretedOption::set_has_string_value() { | 7090 inline void UninterpretedOption::set_has_string_value() { |
7994 _has_bits_[0] |= 0x00000002u; | 7091 _has_bits_[0] |= 0x00000020u; |
7995 } | 7092 } |
7996 inline void UninterpretedOption::clear_has_string_value() { | 7093 inline void UninterpretedOption::clear_has_string_value() { |
7997 _has_bits_[0] &= ~0x00000002u; | 7094 _has_bits_[0] &= ~0x00000020u; |
7998 } | 7095 } |
7999 inline void UninterpretedOption::clear_string_value() { | 7096 inline void UninterpretedOption::clear_string_value() { |
8000 string_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited()); | 7097 string_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited()); |
8001 clear_has_string_value(); | 7098 clear_has_string_value(); |
8002 } | 7099 } |
8003 inline const ::std::string& UninterpretedOption::string_value() const { | 7100 inline const ::std::string& UninterpretedOption::string_value() const { |
8004 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.stri
ng_value) | 7101 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.stri
ng_value) |
8005 return string_value_.GetNoArena(); | 7102 return string_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); |
8006 } | 7103 } |
8007 inline void UninterpretedOption::set_string_value(const ::std::string& value) { | 7104 inline void UninterpretedOption::set_string_value(const ::std::string& value) { |
8008 set_has_string_value(); | 7105 set_has_string_value(); |
8009 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), value); | 7106 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), value); |
8010 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.stri
ng_value) | 7107 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.stri
ng_value) |
8011 } | 7108 } |
8012 #if LANG_CXX11 | |
8013 inline void UninterpretedOption::set_string_value(::std::string&& value) { | |
8014 set_has_string_value(); | |
8015 string_value_.SetNoArena( | |
8016 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
8017 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.UninterpretedOpti
on.string_value) | |
8018 } | |
8019 #endif | |
8020 inline void UninterpretedOption::set_string_value(const char* value) { | 7109 inline void UninterpretedOption::set_string_value(const char* value) { |
8021 set_has_string_value(); | 7110 set_has_string_value(); |
8022 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), ::std::string(value)); | 7111 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), ::std::string(value)); |
8023 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.string_value) | 7112 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.string_value) |
8024 } | 7113 } |
8025 inline void UninterpretedOption::set_string_value(const void* value, size_t size
) { | 7114 inline void UninterpretedOption::set_string_value(const void* value, size_t size
) { |
8026 set_has_string_value(); | 7115 set_has_string_value(); |
8027 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), | 7116 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), |
8028 ::std::string(reinterpret_cast<const char*>(value), size)); | 7117 ::std::string(reinterpret_cast<const char*>(value), size)); |
8029 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOpt
ion.string_value) | 7118 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOpt
ion.string_value) |
(...skipping 13 matching lines...) Expand all Loading... |
8043 set_has_string_value(); | 7132 set_has_string_value(); |
8044 } else { | 7133 } else { |
8045 clear_has_string_value(); | 7134 clear_has_string_value(); |
8046 } | 7135 } |
8047 string_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited(), string_value); | 7136 string_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited(), string_value); |
8048 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO
ption.string_value) | 7137 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO
ption.string_value) |
8049 } | 7138 } |
8050 | 7139 |
8051 // optional string aggregate_value = 8; | 7140 // optional string aggregate_value = 8; |
8052 inline bool UninterpretedOption::has_aggregate_value() const { | 7141 inline bool UninterpretedOption::has_aggregate_value() const { |
8053 return (_has_bits_[0] & 0x00000004u) != 0; | 7142 return (_has_bits_[0] & 0x00000040u) != 0; |
8054 } | 7143 } |
8055 inline void UninterpretedOption::set_has_aggregate_value() { | 7144 inline void UninterpretedOption::set_has_aggregate_value() { |
8056 _has_bits_[0] |= 0x00000004u; | 7145 _has_bits_[0] |= 0x00000040u; |
8057 } | 7146 } |
8058 inline void UninterpretedOption::clear_has_aggregate_value() { | 7147 inline void UninterpretedOption::clear_has_aggregate_value() { |
8059 _has_bits_[0] &= ~0x00000004u; | 7148 _has_bits_[0] &= ~0x00000040u; |
8060 } | 7149 } |
8061 inline void UninterpretedOption::clear_aggregate_value() { | 7150 inline void UninterpretedOption::clear_aggregate_value() { |
8062 aggregate_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptySt
ringAlreadyInited()); | 7151 aggregate_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptySt
ringAlreadyInited()); |
8063 clear_has_aggregate_value(); | 7152 clear_has_aggregate_value(); |
8064 } | 7153 } |
8065 inline const ::std::string& UninterpretedOption::aggregate_value() const { | 7154 inline const ::std::string& UninterpretedOption::aggregate_value() const { |
8066 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggr
egate_value) | 7155 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggr
egate_value) |
8067 return aggregate_value_.GetNoArena(); | 7156 return aggregate_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStri
ngAlreadyInited()); |
8068 } | 7157 } |
8069 inline void UninterpretedOption::set_aggregate_value(const ::std::string& value)
{ | 7158 inline void UninterpretedOption::set_aggregate_value(const ::std::string& value)
{ |
8070 set_has_aggregate_value(); | 7159 set_has_aggregate_value(); |
8071 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited(), value); | 7160 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited(), value); |
8072 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggr
egate_value) | 7161 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggr
egate_value) |
8073 } | 7162 } |
8074 #if LANG_CXX11 | |
8075 inline void UninterpretedOption::set_aggregate_value(::std::string&& value) { | |
8076 set_has_aggregate_value(); | |
8077 aggregate_value_.SetNoArena( | |
8078 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
8079 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.UninterpretedOpti
on.aggregate_value) | |
8080 } | |
8081 #endif | |
8082 inline void UninterpretedOption::set_aggregate_value(const char* value) { | 7163 inline void UninterpretedOption::set_aggregate_value(const char* value) { |
8083 set_has_aggregate_value(); | 7164 set_has_aggregate_value(); |
8084 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited(), ::std::string(value)); | 7165 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited(), ::std::string(value)); |
8085 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.aggregate_value) | 7166 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.aggregate_value) |
8086 } | 7167 } |
8087 inline void UninterpretedOption::set_aggregate_value(const char* value, size_t s
ize) { | 7168 inline void UninterpretedOption::set_aggregate_value(const char* value, size_t s
ize) { |
8088 set_has_aggregate_value(); | 7169 set_has_aggregate_value(); |
8089 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited(), | 7170 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited(), |
8090 ::std::string(reinterpret_cast<const char*>(value), size)); | 7171 ::std::string(reinterpret_cast<const char*>(value), size)); |
8091 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOpt
ion.aggregate_value) | 7172 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOpt
ion.aggregate_value) |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8169 return span_; | 7250 return span_; |
8170 } | 7251 } |
8171 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* | 7252 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
8172 SourceCodeInfo_Location::mutable_span() { | 7253 SourceCodeInfo_Location::mutable_span() { |
8173 // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.
Location.span) | 7254 // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.
Location.span) |
8174 return &span_; | 7255 return &span_; |
8175 } | 7256 } |
8176 | 7257 |
8177 // optional string leading_comments = 3; | 7258 // optional string leading_comments = 3; |
8178 inline bool SourceCodeInfo_Location::has_leading_comments() const { | 7259 inline bool SourceCodeInfo_Location::has_leading_comments() const { |
8179 return (_has_bits_[0] & 0x00000001u) != 0; | 7260 return (_has_bits_[0] & 0x00000004u) != 0; |
8180 } | 7261 } |
8181 inline void SourceCodeInfo_Location::set_has_leading_comments() { | 7262 inline void SourceCodeInfo_Location::set_has_leading_comments() { |
8182 _has_bits_[0] |= 0x00000001u; | 7263 _has_bits_[0] |= 0x00000004u; |
8183 } | 7264 } |
8184 inline void SourceCodeInfo_Location::clear_has_leading_comments() { | 7265 inline void SourceCodeInfo_Location::clear_has_leading_comments() { |
8185 _has_bits_[0] &= ~0x00000001u; | 7266 _has_bits_[0] &= ~0x00000004u; |
8186 } | 7267 } |
8187 inline void SourceCodeInfo_Location::clear_leading_comments() { | 7268 inline void SourceCodeInfo_Location::clear_leading_comments() { |
8188 leading_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited()); | 7269 leading_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited()); |
8189 clear_has_leading_comments(); | 7270 clear_has_leading_comments(); |
8190 } | 7271 } |
8191 inline const ::std::string& SourceCodeInfo_Location::leading_comments() const { | 7272 inline const ::std::string& SourceCodeInfo_Location::leading_comments() const { |
8192 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.
leading_comments) | 7273 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.
leading_comments) |
8193 return leading_comments_.GetNoArena(); | 7274 return leading_comments_.GetNoArena(&::google::protobuf::internal::GetEmptyStr
ingAlreadyInited()); |
8194 } | 7275 } |
8195 inline void SourceCodeInfo_Location::set_leading_comments(const ::std::string& v
alue) { | 7276 inline void SourceCodeInfo_Location::set_leading_comments(const ::std::string& v
alue) { |
8196 set_has_leading_comments(); | 7277 set_has_leading_comments(); |
8197 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), value); | 7278 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), value); |
8198 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.
leading_comments) | 7279 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.
leading_comments) |
8199 } | 7280 } |
8200 #if LANG_CXX11 | |
8201 inline void SourceCodeInfo_Location::set_leading_comments(::std::string&& value)
{ | |
8202 set_has_leading_comments(); | |
8203 leading_comments_.SetNoArena( | |
8204 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
8205 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.SourceCodeInfo.Lo
cation.leading_comments) | |
8206 } | |
8207 #endif | |
8208 inline void SourceCodeInfo_Location::set_leading_comments(const char* value) { | 7281 inline void SourceCodeInfo_Location::set_leading_comments(const char* value) { |
8209 set_has_leading_comments(); | 7282 set_has_leading_comments(); |
8210 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), ::std::string(value)); | 7283 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), ::std::string(value)); |
8211 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Loca
tion.leading_comments) | 7284 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Loca
tion.leading_comments) |
8212 } | 7285 } |
8213 inline void SourceCodeInfo_Location::set_leading_comments(const char* value, siz
e_t size) { | 7286 inline void SourceCodeInfo_Location::set_leading_comments(const char* value, siz
e_t size) { |
8214 set_has_leading_comments(); | 7287 set_has_leading_comments(); |
8215 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), | 7288 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), |
8216 ::std::string(reinterpret_cast<const char*>(value), size)); | 7289 ::std::string(reinterpret_cast<const char*>(value), size)); |
8217 // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.L
ocation.leading_comments) | 7290 // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.L
ocation.leading_comments) |
(...skipping 13 matching lines...) Expand all Loading... |
8231 set_has_leading_comments(); | 7304 set_has_leading_comments(); |
8232 } else { | 7305 } else { |
8233 clear_has_leading_comments(); | 7306 clear_has_leading_comments(); |
8234 } | 7307 } |
8235 leading_comments_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited(), leading_comments); | 7308 leading_comments_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited(), leading_comments); |
8236 // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo
.Location.leading_comments) | 7309 // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo
.Location.leading_comments) |
8237 } | 7310 } |
8238 | 7311 |
8239 // optional string trailing_comments = 4; | 7312 // optional string trailing_comments = 4; |
8240 inline bool SourceCodeInfo_Location::has_trailing_comments() const { | 7313 inline bool SourceCodeInfo_Location::has_trailing_comments() const { |
8241 return (_has_bits_[0] & 0x00000002u) != 0; | 7314 return (_has_bits_[0] & 0x00000008u) != 0; |
8242 } | 7315 } |
8243 inline void SourceCodeInfo_Location::set_has_trailing_comments() { | 7316 inline void SourceCodeInfo_Location::set_has_trailing_comments() { |
8244 _has_bits_[0] |= 0x00000002u; | 7317 _has_bits_[0] |= 0x00000008u; |
8245 } | 7318 } |
8246 inline void SourceCodeInfo_Location::clear_has_trailing_comments() { | 7319 inline void SourceCodeInfo_Location::clear_has_trailing_comments() { |
8247 _has_bits_[0] &= ~0x00000002u; | 7320 _has_bits_[0] &= ~0x00000008u; |
8248 } | 7321 } |
8249 inline void SourceCodeInfo_Location::clear_trailing_comments() { | 7322 inline void SourceCodeInfo_Location::clear_trailing_comments() { |
8250 trailing_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty
StringAlreadyInited()); | 7323 trailing_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty
StringAlreadyInited()); |
8251 clear_has_trailing_comments(); | 7324 clear_has_trailing_comments(); |
8252 } | 7325 } |
8253 inline const ::std::string& SourceCodeInfo_Location::trailing_comments() const { | 7326 inline const ::std::string& SourceCodeInfo_Location::trailing_comments() const { |
8254 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.
trailing_comments) | 7327 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.
trailing_comments) |
8255 return trailing_comments_.GetNoArena(); | 7328 return trailing_comments_.GetNoArena(&::google::protobuf::internal::GetEmptySt
ringAlreadyInited()); |
8256 } | 7329 } |
8257 inline void SourceCodeInfo_Location::set_trailing_comments(const ::std::string&
value) { | 7330 inline void SourceCodeInfo_Location::set_trailing_comments(const ::std::string&
value) { |
8258 set_has_trailing_comments(); | 7331 set_has_trailing_comments(); |
8259 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), value); | 7332 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), value); |
8260 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.
trailing_comments) | 7333 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.
trailing_comments) |
8261 } | 7334 } |
8262 #if LANG_CXX11 | |
8263 inline void SourceCodeInfo_Location::set_trailing_comments(::std::string&& value
) { | |
8264 set_has_trailing_comments(); | |
8265 trailing_comments_.SetNoArena( | |
8266 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
8267 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.SourceCodeInfo.Lo
cation.trailing_comments) | |
8268 } | |
8269 #endif | |
8270 inline void SourceCodeInfo_Location::set_trailing_comments(const char* value) { | 7335 inline void SourceCodeInfo_Location::set_trailing_comments(const char* value) { |
8271 set_has_trailing_comments(); | 7336 set_has_trailing_comments(); |
8272 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), ::std::string(value)); | 7337 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), ::std::string(value)); |
8273 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Loca
tion.trailing_comments) | 7338 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Loca
tion.trailing_comments) |
8274 } | 7339 } |
8275 inline void SourceCodeInfo_Location::set_trailing_comments(const char* value, si
ze_t size) { | 7340 inline void SourceCodeInfo_Location::set_trailing_comments(const char* value, si
ze_t size) { |
8276 set_has_trailing_comments(); | 7341 set_has_trailing_comments(); |
8277 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), | 7342 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), |
8278 ::std::string(reinterpret_cast<const char*>(value), size)); | 7343 ::std::string(reinterpret_cast<const char*>(value), size)); |
8279 // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.L
ocation.trailing_comments) | 7344 // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.L
ocation.trailing_comments) |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8416 return path_; | 7481 return path_; |
8417 } | 7482 } |
8418 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* | 7483 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
8419 GeneratedCodeInfo_Annotation::mutable_path() { | 7484 GeneratedCodeInfo_Annotation::mutable_path() { |
8420 // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeIn
fo.Annotation.path) | 7485 // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeIn
fo.Annotation.path) |
8421 return &path_; | 7486 return &path_; |
8422 } | 7487 } |
8423 | 7488 |
8424 // optional string source_file = 2; | 7489 // optional string source_file = 2; |
8425 inline bool GeneratedCodeInfo_Annotation::has_source_file() const { | 7490 inline bool GeneratedCodeInfo_Annotation::has_source_file() const { |
8426 return (_has_bits_[0] & 0x00000001u) != 0; | 7491 return (_has_bits_[0] & 0x00000002u) != 0; |
8427 } | 7492 } |
8428 inline void GeneratedCodeInfo_Annotation::set_has_source_file() { | 7493 inline void GeneratedCodeInfo_Annotation::set_has_source_file() { |
8429 _has_bits_[0] |= 0x00000001u; | 7494 _has_bits_[0] |= 0x00000002u; |
8430 } | 7495 } |
8431 inline void GeneratedCodeInfo_Annotation::clear_has_source_file() { | 7496 inline void GeneratedCodeInfo_Annotation::clear_has_source_file() { |
8432 _has_bits_[0] &= ~0x00000001u; | 7497 _has_bits_[0] &= ~0x00000002u; |
8433 } | 7498 } |
8434 inline void GeneratedCodeInfo_Annotation::clear_source_file() { | 7499 inline void GeneratedCodeInfo_Annotation::clear_source_file() { |
8435 source_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited()); | 7500 source_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited()); |
8436 clear_has_source_file(); | 7501 clear_has_source_file(); |
8437 } | 7502 } |
8438 inline const ::std::string& GeneratedCodeInfo_Annotation::source_file() const { | 7503 inline const ::std::string& GeneratedCodeInfo_Annotation::source_file() const { |
8439 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota
tion.source_file) | 7504 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota
tion.source_file) |
8440 return source_file_.GetNoArena(); | 7505 return source_file_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); |
8441 } | 7506 } |
8442 inline void GeneratedCodeInfo_Annotation::set_source_file(const ::std::string& v
alue) { | 7507 inline void GeneratedCodeInfo_Annotation::set_source_file(const ::std::string& v
alue) { |
8443 set_has_source_file(); | 7508 set_has_source_file(); |
8444 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), value); | 7509 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), value); |
8445 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annota
tion.source_file) | 7510 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annota
tion.source_file) |
8446 } | 7511 } |
8447 #if LANG_CXX11 | |
8448 inline void GeneratedCodeInfo_Annotation::set_source_file(::std::string&& value)
{ | |
8449 set_has_source_file(); | |
8450 source_file_.SetNoArena( | |
8451 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(va
lue)); | |
8452 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.GeneratedCodeInfo
.Annotation.source_file) | |
8453 } | |
8454 #endif | |
8455 inline void GeneratedCodeInfo_Annotation::set_source_file(const char* value) { | 7512 inline void GeneratedCodeInfo_Annotation::set_source_file(const char* value) { |
8456 set_has_source_file(); | 7513 set_has_source_file(); |
8457 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), ::std::string(value)); | 7514 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), ::std::string(value)); |
8458 // @@protoc_insertion_point(field_set_char:google.protobuf.GeneratedCodeInfo.A
nnotation.source_file) | 7515 // @@protoc_insertion_point(field_set_char:google.protobuf.GeneratedCodeInfo.A
nnotation.source_file) |
8459 } | 7516 } |
8460 inline void GeneratedCodeInfo_Annotation::set_source_file(const char* value, siz
e_t size) { | 7517 inline void GeneratedCodeInfo_Annotation::set_source_file(const char* value, siz
e_t size) { |
8461 set_has_source_file(); | 7518 set_has_source_file(); |
8462 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), | 7519 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), |
8463 ::std::string(reinterpret_cast<const char*>(value), size)); | 7520 ::std::string(reinterpret_cast<const char*>(value), size)); |
8464 // @@protoc_insertion_point(field_set_pointer:google.protobuf.GeneratedCodeInf
o.Annotation.source_file) | 7521 // @@protoc_insertion_point(field_set_pointer:google.protobuf.GeneratedCodeInf
o.Annotation.source_file) |
(...skipping 13 matching lines...) Expand all Loading... |
8478 set_has_source_file(); | 7535 set_has_source_file(); |
8479 } else { | 7536 } else { |
8480 clear_has_source_file(); | 7537 clear_has_source_file(); |
8481 } | 7538 } |
8482 source_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), source_file); | 7539 source_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), source_file); |
8483 // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeI
nfo.Annotation.source_file) | 7540 // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeI
nfo.Annotation.source_file) |
8484 } | 7541 } |
8485 | 7542 |
8486 // optional int32 begin = 3; | 7543 // optional int32 begin = 3; |
8487 inline bool GeneratedCodeInfo_Annotation::has_begin() const { | 7544 inline bool GeneratedCodeInfo_Annotation::has_begin() const { |
8488 return (_has_bits_[0] & 0x00000002u) != 0; | 7545 return (_has_bits_[0] & 0x00000004u) != 0; |
8489 } | 7546 } |
8490 inline void GeneratedCodeInfo_Annotation::set_has_begin() { | 7547 inline void GeneratedCodeInfo_Annotation::set_has_begin() { |
8491 _has_bits_[0] |= 0x00000002u; | 7548 _has_bits_[0] |= 0x00000004u; |
8492 } | 7549 } |
8493 inline void GeneratedCodeInfo_Annotation::clear_has_begin() { | 7550 inline void GeneratedCodeInfo_Annotation::clear_has_begin() { |
8494 _has_bits_[0] &= ~0x00000002u; | 7551 _has_bits_[0] &= ~0x00000004u; |
8495 } | 7552 } |
8496 inline void GeneratedCodeInfo_Annotation::clear_begin() { | 7553 inline void GeneratedCodeInfo_Annotation::clear_begin() { |
8497 begin_ = 0; | 7554 begin_ = 0; |
8498 clear_has_begin(); | 7555 clear_has_begin(); |
8499 } | 7556 } |
8500 inline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::begin() const { | 7557 inline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::begin() const { |
8501 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota
tion.begin) | 7558 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota
tion.begin) |
8502 return begin_; | 7559 return begin_; |
8503 } | 7560 } |
8504 inline void GeneratedCodeInfo_Annotation::set_begin(::google::protobuf::int32 va
lue) { | 7561 inline void GeneratedCodeInfo_Annotation::set_begin(::google::protobuf::int32 va
lue) { |
8505 set_has_begin(); | 7562 set_has_begin(); |
8506 begin_ = value; | 7563 begin_ = value; |
8507 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annota
tion.begin) | 7564 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annota
tion.begin) |
8508 } | 7565 } |
8509 | 7566 |
8510 // optional int32 end = 4; | 7567 // optional int32 end = 4; |
8511 inline bool GeneratedCodeInfo_Annotation::has_end() const { | 7568 inline bool GeneratedCodeInfo_Annotation::has_end() const { |
8512 return (_has_bits_[0] & 0x00000004u) != 0; | 7569 return (_has_bits_[0] & 0x00000008u) != 0; |
8513 } | 7570 } |
8514 inline void GeneratedCodeInfo_Annotation::set_has_end() { | 7571 inline void GeneratedCodeInfo_Annotation::set_has_end() { |
8515 _has_bits_[0] |= 0x00000004u; | 7572 _has_bits_[0] |= 0x00000008u; |
8516 } | 7573 } |
8517 inline void GeneratedCodeInfo_Annotation::clear_has_end() { | 7574 inline void GeneratedCodeInfo_Annotation::clear_has_end() { |
8518 _has_bits_[0] &= ~0x00000004u; | 7575 _has_bits_[0] &= ~0x00000008u; |
8519 } | 7576 } |
8520 inline void GeneratedCodeInfo_Annotation::clear_end() { | 7577 inline void GeneratedCodeInfo_Annotation::clear_end() { |
8521 end_ = 0; | 7578 end_ = 0; |
8522 clear_has_end(); | 7579 clear_has_end(); |
8523 } | 7580 } |
8524 inline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::end() const { | 7581 inline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::end() const { |
8525 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota
tion.end) | 7582 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota
tion.end) |
8526 return end_; | 7583 return end_; |
8527 } | 7584 } |
8528 inline void GeneratedCodeInfo_Annotation::set_end(::google::protobuf::int32 valu
e) { | 7585 inline void GeneratedCodeInfo_Annotation::set_end(::google::protobuf::int32 valu
e) { |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8605 // ------------------------------------------------------------------- | 7662 // ------------------------------------------------------------------- |
8606 | 7663 |
8607 // ------------------------------------------------------------------- | 7664 // ------------------------------------------------------------------- |
8608 | 7665 |
8609 // ------------------------------------------------------------------- | 7666 // ------------------------------------------------------------------- |
8610 | 7667 |
8611 // ------------------------------------------------------------------- | 7668 // ------------------------------------------------------------------- |
8612 | 7669 |
8613 // ------------------------------------------------------------------- | 7670 // ------------------------------------------------------------------- |
8614 | 7671 |
8615 // ------------------------------------------------------------------- | |
8616 | |
8617 | 7672 |
8618 // @@protoc_insertion_point(namespace_scope) | 7673 // @@protoc_insertion_point(namespace_scope) |
8619 | 7674 |
8620 | |
8621 } // namespace protobuf | 7675 } // namespace protobuf |
8622 } // namespace google | 7676 } // namespace google |
8623 | 7677 |
8624 #ifndef SWIG | 7678 #ifndef SWIG |
8625 namespace google { | 7679 namespace google { |
8626 namespace protobuf { | 7680 namespace protobuf { |
8627 | 7681 |
8628 template <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Type>
: ::google::protobuf::internal::true_type {}; | 7682 template <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Type>
: ::google::protobuf::internal::true_type {}; |
8629 template <> | 7683 template <> |
8630 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescrip
torProto_Type>() { | 7684 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescrip
torProto_Type>() { |
(...skipping 12 matching lines...) Expand all Loading... |
8643 template <> struct is_proto_enum< ::google::protobuf::FieldOptions_CType> : ::go
ogle::protobuf::internal::true_type {}; | 7697 template <> struct is_proto_enum< ::google::protobuf::FieldOptions_CType> : ::go
ogle::protobuf::internal::true_type {}; |
8644 template <> | 7698 template <> |
8645 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions
_CType>() { | 7699 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions
_CType>() { |
8646 return ::google::protobuf::FieldOptions_CType_descriptor(); | 7700 return ::google::protobuf::FieldOptions_CType_descriptor(); |
8647 } | 7701 } |
8648 template <> struct is_proto_enum< ::google::protobuf::FieldOptions_JSType> : ::g
oogle::protobuf::internal::true_type {}; | 7702 template <> struct is_proto_enum< ::google::protobuf::FieldOptions_JSType> : ::g
oogle::protobuf::internal::true_type {}; |
8649 template <> | 7703 template <> |
8650 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions
_JSType>() { | 7704 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions
_JSType>() { |
8651 return ::google::protobuf::FieldOptions_JSType_descriptor(); | 7705 return ::google::protobuf::FieldOptions_JSType_descriptor(); |
8652 } | 7706 } |
8653 template <> struct is_proto_enum< ::google::protobuf::MethodOptions_IdempotencyL
evel> : ::google::protobuf::internal::true_type {}; | |
8654 template <> | |
8655 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::MethodOption
s_IdempotencyLevel>() { | |
8656 return ::google::protobuf::MethodOptions_IdempotencyLevel_descriptor(); | |
8657 } | |
8658 | 7707 |
8659 } // namespace protobuf | 7708 } // namespace protobuf |
8660 } // namespace google | 7709 } // namespace google |
8661 #endif // SWIG | 7710 #endif // SWIG |
8662 | 7711 |
8663 // @@protoc_insertion_point(global_scope) | 7712 // @@protoc_insertion_point(global_scope) |
8664 | 7713 |
8665 #endif // PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED | 7714 #endif // PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED |
OLD | NEW |