| OLD | NEW |
| 1 // Generated by the protocol buffer compiler. DO NOT EDIT! | 1 // Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 // source: google/protobuf/descriptor.proto | 2 // source: google/protobuf/descriptor.proto |
| 3 | 3 |
| 4 #ifndef PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED | 4 #ifndef PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED |
| 5 #define PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED | 5 #define PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include <google/protobuf/stubs/common.h> | 9 #include <google/protobuf/stubs/common.h> |
| 10 | 10 |
| 11 #if GOOGLE_PROTOBUF_VERSION < 3000000 | 11 #if GOOGLE_PROTOBUF_VERSION < 3001000 |
| 12 #error This file was generated by a newer version of protoc which is | 12 #error This file was generated by a newer version of protoc which is |
| 13 #error incompatible with your Protocol Buffer headers. Please update | 13 #error incompatible with your Protocol Buffer headers. Please update |
| 14 #error your headers. | 14 #error your headers. |
| 15 #endif | 15 #endif |
| 16 #if 3000000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION | 16 #if 3001000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
| 17 #error This file was generated by an older version of protoc which is | 17 #error This file was generated by an older version of protoc which is |
| 18 #error incompatible with your Protocol Buffer headers. Please | 18 #error incompatible with your Protocol Buffer headers. Please |
| 19 #error regenerate this file with a newer version of protoc. | 19 #error regenerate this file with a newer version of protoc. |
| 20 #endif | 20 #endif |
| 21 | 21 |
| 22 #include <google/protobuf/arena.h> | 22 #include <google/protobuf/arena.h> |
| 23 #include <google/protobuf/arenastring.h> | 23 #include <google/protobuf/arenastring.h> |
| 24 #include <google/protobuf/generated_message_util.h> | 24 #include <google/protobuf/generated_message_util.h> |
| 25 #include <google/protobuf/metadata.h> | 25 #include <google/protobuf/metadata.h> |
| 26 #include <google/protobuf/message.h> | 26 #include <google/protobuf/message.h> |
| 27 #include <google/protobuf/repeated_field.h> | 27 #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
| 28 #include <google/protobuf/extension_set.h> | 28 #include <google/protobuf/extension_set.h> // IWYU pragma: export |
| 29 #include <google/protobuf/generated_enum_reflection.h> | 29 #include <google/protobuf/generated_enum_reflection.h> |
| 30 #include <google/protobuf/unknown_field_set.h> | 30 #include <google/protobuf/unknown_field_set.h> |
| 31 // @@protoc_insertion_point(includes) | 31 // @@protoc_insertion_point(includes) |
| 32 namespace google { |
| 33 namespace protobuf { |
| 34 class DescriptorProto; |
| 35 class DescriptorProtoDefaultTypeInternal; |
| 36 LIBPROTOBUF_EXPORT extern DescriptorProtoDefaultTypeInternal _DescriptorProto_de
fault_instance_; |
| 37 class DescriptorProto_ExtensionRange; |
| 38 class DescriptorProto_ExtensionRangeDefaultTypeInternal; |
| 39 LIBPROTOBUF_EXPORT extern DescriptorProto_ExtensionRangeDefaultTypeInternal _Des
criptorProto_ExtensionRange_default_instance_; |
| 40 class DescriptorProto_ReservedRange; |
| 41 class DescriptorProto_ReservedRangeDefaultTypeInternal; |
| 42 LIBPROTOBUF_EXPORT extern DescriptorProto_ReservedRangeDefaultTypeInternal _Desc
riptorProto_ReservedRange_default_instance_; |
| 43 class EnumDescriptorProto; |
| 44 class EnumDescriptorProtoDefaultTypeInternal; |
| 45 LIBPROTOBUF_EXPORT extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptor
Proto_default_instance_; |
| 46 class EnumOptions; |
| 47 class EnumOptionsDefaultTypeInternal; |
| 48 LIBPROTOBUF_EXPORT extern EnumOptionsDefaultTypeInternal _EnumOptions_default_in
stance_; |
| 49 class EnumValueDescriptorProto; |
| 50 class EnumValueDescriptorProtoDefaultTypeInternal; |
| 51 LIBPROTOBUF_EXPORT extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValue
DescriptorProto_default_instance_; |
| 52 class EnumValueOptions; |
| 53 class EnumValueOptionsDefaultTypeInternal; |
| 54 LIBPROTOBUF_EXPORT extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_
default_instance_; |
| 55 class FieldDescriptorProto; |
| 56 class FieldDescriptorProtoDefaultTypeInternal; |
| 57 LIBPROTOBUF_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescript
orProto_default_instance_; |
| 58 class FieldOptions; |
| 59 class FieldOptionsDefaultTypeInternal; |
| 60 LIBPROTOBUF_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_
instance_; |
| 61 class FileDescriptorProto; |
| 62 class FileDescriptorProtoDefaultTypeInternal; |
| 63 LIBPROTOBUF_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptor
Proto_default_instance_; |
| 64 class FileDescriptorSet; |
| 65 class FileDescriptorSetDefaultTypeInternal; |
| 66 LIBPROTOBUF_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSe
t_default_instance_; |
| 67 class FileOptions; |
| 68 class FileOptionsDefaultTypeInternal; |
| 69 LIBPROTOBUF_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_in
stance_; |
| 70 class GeneratedCodeInfo; |
| 71 class GeneratedCodeInfoDefaultTypeInternal; |
| 72 LIBPROTOBUF_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInf
o_default_instance_; |
| 73 class GeneratedCodeInfo_Annotation; |
| 74 class GeneratedCodeInfo_AnnotationDefaultTypeInternal; |
| 75 LIBPROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _Gener
atedCodeInfo_Annotation_default_instance_; |
| 76 class MessageOptions; |
| 77 class MessageOptionsDefaultTypeInternal; |
| 78 LIBPROTOBUF_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_defa
ult_instance_; |
| 79 class MethodDescriptorProto; |
| 80 class MethodDescriptorProtoDefaultTypeInternal; |
| 81 LIBPROTOBUF_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescri
ptorProto_default_instance_; |
| 82 class MethodOptions; |
| 83 class MethodOptionsDefaultTypeInternal; |
| 84 LIBPROTOBUF_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_defaul
t_instance_; |
| 85 class OneofDescriptorProto; |
| 86 class OneofDescriptorProtoDefaultTypeInternal; |
| 87 LIBPROTOBUF_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescript
orProto_default_instance_; |
| 88 class OneofOptions; |
| 89 class OneofOptionsDefaultTypeInternal; |
| 90 LIBPROTOBUF_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_
instance_; |
| 91 class ServiceDescriptorProto; |
| 92 class ServiceDescriptorProtoDefaultTypeInternal; |
| 93 LIBPROTOBUF_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDesc
riptorProto_default_instance_; |
| 94 class ServiceOptions; |
| 95 class ServiceOptionsDefaultTypeInternal; |
| 96 LIBPROTOBUF_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_defa
ult_instance_; |
| 97 class SourceCodeInfo; |
| 98 class SourceCodeInfoDefaultTypeInternal; |
| 99 LIBPROTOBUF_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_defa
ult_instance_; |
| 100 class SourceCodeInfo_Location; |
| 101 class SourceCodeInfo_LocationDefaultTypeInternal; |
| 102 LIBPROTOBUF_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCode
Info_Location_default_instance_; |
| 103 class UninterpretedOption; |
| 104 class UninterpretedOptionDefaultTypeInternal; |
| 105 LIBPROTOBUF_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedO
ption_default_instance_; |
| 106 class UninterpretedOption_NamePart; |
| 107 class UninterpretedOption_NamePartDefaultTypeInternal; |
| 108 LIBPROTOBUF_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _Unint
erpretedOption_NamePart_default_instance_; |
| 109 } // namespace protobuf |
| 110 } // namespace google |
| 32 | 111 |
| 33 namespace google { | 112 namespace google { |
| 34 namespace protobuf { | 113 namespace protobuf { |
| 35 | 114 |
| 36 // Internal implementation detail -- do not call these. | 115 // Internal implementation detail -- do not call these. |
| 37 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(
); | 116 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(
); |
| 38 void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 117 void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescriptor_2ep
roto(); |
| 39 void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | |
| 40 | |
| 41 class DescriptorProto; | |
| 42 class DescriptorProto_ExtensionRange; | |
| 43 class DescriptorProto_ReservedRange; | |
| 44 class EnumDescriptorProto; | |
| 45 class EnumOptions; | |
| 46 class EnumValueDescriptorProto; | |
| 47 class EnumValueOptions; | |
| 48 class FieldDescriptorProto; | |
| 49 class FieldOptions; | |
| 50 class FileDescriptorProto; | |
| 51 class FileDescriptorSet; | |
| 52 class FileOptions; | |
| 53 class GeneratedCodeInfo; | |
| 54 class GeneratedCodeInfo_Annotation; | |
| 55 class MessageOptions; | |
| 56 class MethodDescriptorProto; | |
| 57 class MethodOptions; | |
| 58 class OneofDescriptorProto; | |
| 59 class ServiceDescriptorProto; | |
| 60 class ServiceOptions; | |
| 61 class SourceCodeInfo; | |
| 62 class SourceCodeInfo_Location; | |
| 63 class UninterpretedOption; | |
| 64 class UninterpretedOption_NamePart; | |
| 65 | 118 |
| 66 enum FieldDescriptorProto_Type { | 119 enum FieldDescriptorProto_Type { |
| 67 FieldDescriptorProto_Type_TYPE_DOUBLE = 1, | 120 FieldDescriptorProto_Type_TYPE_DOUBLE = 1, |
| 68 FieldDescriptorProto_Type_TYPE_FLOAT = 2, | 121 FieldDescriptorProto_Type_TYPE_FLOAT = 2, |
| 69 FieldDescriptorProto_Type_TYPE_INT64 = 3, | 122 FieldDescriptorProto_Type_TYPE_INT64 = 3, |
| 70 FieldDescriptorProto_Type_TYPE_UINT64 = 4, | 123 FieldDescriptorProto_Type_TYPE_UINT64 = 4, |
| 71 FieldDescriptorProto_Type_TYPE_INT32 = 5, | 124 FieldDescriptorProto_Type_TYPE_INT32 = 5, |
| 72 FieldDescriptorProto_Type_TYPE_FIXED64 = 6, | 125 FieldDescriptorProto_Type_TYPE_FIXED64 = 6, |
| 73 FieldDescriptorProto_Type_TYPE_FIXED32 = 7, | 126 FieldDescriptorProto_Type_TYPE_FIXED32 = 7, |
| 74 FieldDescriptorProto_Type_TYPE_BOOL = 8, | 127 FieldDescriptorProto_Type_TYPE_BOOL = 8, |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_JSType
_descriptor(); | 224 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_JSType
_descriptor(); |
| 172 inline const ::std::string& FieldOptions_JSType_Name(FieldOptions_JSType value)
{ | 225 inline const ::std::string& FieldOptions_JSType_Name(FieldOptions_JSType value)
{ |
| 173 return ::google::protobuf::internal::NameOfEnum( | 226 return ::google::protobuf::internal::NameOfEnum( |
| 174 FieldOptions_JSType_descriptor(), value); | 227 FieldOptions_JSType_descriptor(), value); |
| 175 } | 228 } |
| 176 inline bool FieldOptions_JSType_Parse( | 229 inline bool FieldOptions_JSType_Parse( |
| 177 const ::std::string& name, FieldOptions_JSType* value) { | 230 const ::std::string& name, FieldOptions_JSType* value) { |
| 178 return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_JSType>( | 231 return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_JSType>( |
| 179 FieldOptions_JSType_descriptor(), name, value); | 232 FieldOptions_JSType_descriptor(), name, value); |
| 180 } | 233 } |
| 234 enum MethodOptions_IdempotencyLevel { |
| 235 MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN = 0, |
| 236 MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS = 1, |
| 237 MethodOptions_IdempotencyLevel_IDEMPOTENT = 2 |
| 238 }; |
| 239 LIBPROTOBUF_EXPORT bool MethodOptions_IdempotencyLevel_IsValid(int value); |
| 240 const MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyL
evel_MIN = MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN; |
| 241 const MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyL
evel_MAX = MethodOptions_IdempotencyLevel_IDEMPOTENT; |
| 242 const int MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE = MethodOpti
ons_IdempotencyLevel_IdempotencyLevel_MAX + 1; |
| 243 |
| 244 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* MethodOptions_Idemp
otencyLevel_descriptor(); |
| 245 inline const ::std::string& MethodOptions_IdempotencyLevel_Name(MethodOptions_Id
empotencyLevel value) { |
| 246 return ::google::protobuf::internal::NameOfEnum( |
| 247 MethodOptions_IdempotencyLevel_descriptor(), value); |
| 248 } |
| 249 inline bool MethodOptions_IdempotencyLevel_Parse( |
| 250 const ::std::string& name, MethodOptions_IdempotencyLevel* value) { |
| 251 return ::google::protobuf::internal::ParseNamedEnum<MethodOptions_IdempotencyL
evel>( |
| 252 MethodOptions_IdempotencyLevel_descriptor(), name, value); |
| 253 } |
| 181 // =================================================================== | 254 // =================================================================== |
| 182 | 255 |
| 183 class LIBPROTOBUF_EXPORT FileDescriptorSet : public ::google::protobuf::Message
{ | 256 class LIBPROTOBUF_EXPORT FileDescriptorSet : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorSet)
*/ { |
| 184 public: | 257 public: |
| 185 FileDescriptorSet(); | 258 FileDescriptorSet(); |
| 186 virtual ~FileDescriptorSet(); | 259 virtual ~FileDescriptorSet(); |
| 187 | 260 |
| 188 FileDescriptorSet(const FileDescriptorSet& from); | 261 FileDescriptorSet(const FileDescriptorSet& from); |
| 189 | 262 |
| 190 inline FileDescriptorSet& operator=(const FileDescriptorSet& from) { | 263 inline FileDescriptorSet& operator=(const FileDescriptorSet& from) { |
| 191 CopyFrom(from); | 264 CopyFrom(from); |
| 192 return *this; | 265 return *this; |
| 193 } | 266 } |
| 194 | 267 |
| 195 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 268 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 196 return _internal_metadata_.unknown_fields(); | 269 return _internal_metadata_.unknown_fields(); |
| 197 } | 270 } |
| 198 | 271 |
| 199 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 272 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 200 return _internal_metadata_.mutable_unknown_fields(); | 273 return _internal_metadata_.mutable_unknown_fields(); |
| 201 } | 274 } |
| 202 | 275 |
| 203 static const ::google::protobuf::Descriptor* descriptor(); | 276 static const ::google::protobuf::Descriptor* descriptor(); |
| 204 static const FileDescriptorSet& default_instance(); | 277 static const FileDescriptorSet& default_instance(); |
| 205 | 278 |
| 279 static inline const FileDescriptorSet* internal_default_instance() { |
| 280 return reinterpret_cast<const FileDescriptorSet*>( |
| 281 &_FileDescriptorSet_default_instance_); |
| 282 } |
| 283 |
| 206 void Swap(FileDescriptorSet* other); | 284 void Swap(FileDescriptorSet* other); |
| 207 | 285 |
| 208 // implements Message ---------------------------------------------- | 286 // implements Message ---------------------------------------------- |
| 209 | 287 |
| 210 inline FileDescriptorSet* New() const { return New(NULL); } | 288 inline FileDescriptorSet* New() const PROTOBUF_FINAL { return New(NULL); } |
| 211 | 289 |
| 212 FileDescriptorSet* New(::google::protobuf::Arena* arena) const; | 290 FileDescriptorSet* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 213 void CopyFrom(const ::google::protobuf::Message& from); | 291 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 214 void MergeFrom(const ::google::protobuf::Message& from); | 292 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 215 void CopyFrom(const FileDescriptorSet& from); | 293 void CopyFrom(const FileDescriptorSet& from); |
| 216 void MergeFrom(const FileDescriptorSet& from); | 294 void MergeFrom(const FileDescriptorSet& from); |
| 217 void Clear(); | 295 void Clear() PROTOBUF_FINAL; |
| 218 bool IsInitialized() const; | 296 bool IsInitialized() const PROTOBUF_FINAL; |
| 219 | 297 |
| 220 int ByteSize() const; | 298 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 221 bool MergePartialFromCodedStream( | 299 bool MergePartialFromCodedStream( |
| 222 ::google::protobuf::io::CodedInputStream* input); | 300 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 223 void SerializeWithCachedSizes( | 301 void SerializeWithCachedSizes( |
| 224 ::google::protobuf::io::CodedOutputStream* output) const; | 302 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 225 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 303 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 226 int GetCachedSize() const { return _cached_size_; } | 304 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 305 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) |
| 306 const PROTOBUF_FINAL { |
| 307 return InternalSerializeWithCachedSizesToArray(false, output); |
| 308 } |
| 309 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
| 227 private: | 310 private: |
| 228 void SharedCtor(); | 311 void SharedCtor(); |
| 229 void SharedDtor(); | 312 void SharedDtor(); |
| 230 void SetCachedSize(int size) const; | 313 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 231 void InternalSwap(FileDescriptorSet* other); | 314 void InternalSwap(FileDescriptorSet* other); |
| 232 private: | 315 private: |
| 233 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 316 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 234 return _internal_metadata_.arena(); | 317 return NULL; |
| 235 } | 318 } |
| 236 inline void* MaybeArenaPtr() const { | 319 inline void* MaybeArenaPtr() const { |
| 237 return _internal_metadata_.raw_arena_ptr(); | 320 return NULL; |
| 238 } | 321 } |
| 239 public: | 322 public: |
| 240 | 323 |
| 241 ::google::protobuf::Metadata GetMetadata() const; | 324 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 242 | 325 |
| 243 // nested types ---------------------------------------------------- | 326 // nested types ---------------------------------------------------- |
| 244 | 327 |
| 245 // accessors ------------------------------------------------------- | 328 // accessors ------------------------------------------------------- |
| 246 | 329 |
| 247 // repeated .google.protobuf.FileDescriptorProto file = 1; | 330 // repeated .google.protobuf.FileDescriptorProto file = 1; |
| 248 int file_size() const; | 331 int file_size() const; |
| 249 void clear_file(); | 332 void clear_file(); |
| 250 static const int kFileFieldNumber = 1; | 333 static const int kFileFieldNumber = 1; |
| 251 const ::google::protobuf::FileDescriptorProto& file(int index) const; | 334 const ::google::protobuf::FileDescriptorProto& file(int index) const; |
| 252 ::google::protobuf::FileDescriptorProto* mutable_file(int index); | 335 ::google::protobuf::FileDescriptorProto* mutable_file(int index); |
| 253 ::google::protobuf::FileDescriptorProto* add_file(); | 336 ::google::protobuf::FileDescriptorProto* add_file(); |
| 254 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto
>* | 337 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto
>* |
| 255 mutable_file(); | 338 mutable_file(); |
| 256 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptor
Proto >& | 339 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptor
Proto >& |
| 257 file() const; | 340 file() const; |
| 258 | 341 |
| 259 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet) | 342 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet) |
| 260 private: | 343 private: |
| 261 | 344 |
| 262 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 345 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 263 ::google::protobuf::uint32 _has_bits_[1]; | 346 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 264 mutable int _cached_size_; | 347 mutable int _cached_size_; |
| 265 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto
> file_; | 348 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto
> file_; |
| 266 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 349 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 267 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 350 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); |
| 351 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); |
| 268 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 352 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 269 | 353 |
| 270 void InitAsDefaultInstance(); | |
| 271 static FileDescriptorSet* default_instance_; | |
| 272 }; | 354 }; |
| 273 // ------------------------------------------------------------------- | 355 // ------------------------------------------------------------------- |
| 274 | 356 |
| 275 class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Messag
e { | 357 class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Messag
e /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorPro
to) */ { |
| 276 public: | 358 public: |
| 277 FileDescriptorProto(); | 359 FileDescriptorProto(); |
| 278 virtual ~FileDescriptorProto(); | 360 virtual ~FileDescriptorProto(); |
| 279 | 361 |
| 280 FileDescriptorProto(const FileDescriptorProto& from); | 362 FileDescriptorProto(const FileDescriptorProto& from); |
| 281 | 363 |
| 282 inline FileDescriptorProto& operator=(const FileDescriptorProto& from) { | 364 inline FileDescriptorProto& operator=(const FileDescriptorProto& from) { |
| 283 CopyFrom(from); | 365 CopyFrom(from); |
| 284 return *this; | 366 return *this; |
| 285 } | 367 } |
| 286 | 368 |
| 287 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 369 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 288 return _internal_metadata_.unknown_fields(); | 370 return _internal_metadata_.unknown_fields(); |
| 289 } | 371 } |
| 290 | 372 |
| 291 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 373 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 292 return _internal_metadata_.mutable_unknown_fields(); | 374 return _internal_metadata_.mutable_unknown_fields(); |
| 293 } | 375 } |
| 294 | 376 |
| 295 static const ::google::protobuf::Descriptor* descriptor(); | 377 static const ::google::protobuf::Descriptor* descriptor(); |
| 296 static const FileDescriptorProto& default_instance(); | 378 static const FileDescriptorProto& default_instance(); |
| 297 | 379 |
| 380 static inline const FileDescriptorProto* internal_default_instance() { |
| 381 return reinterpret_cast<const FileDescriptorProto*>( |
| 382 &_FileDescriptorProto_default_instance_); |
| 383 } |
| 384 |
| 298 void Swap(FileDescriptorProto* other); | 385 void Swap(FileDescriptorProto* other); |
| 299 | 386 |
| 300 // implements Message ---------------------------------------------- | 387 // implements Message ---------------------------------------------- |
| 301 | 388 |
| 302 inline FileDescriptorProto* New() const { return New(NULL); } | 389 inline FileDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); } |
| 303 | 390 |
| 304 FileDescriptorProto* New(::google::protobuf::Arena* arena) const; | 391 FileDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINA
L; |
| 305 void CopyFrom(const ::google::protobuf::Message& from); | 392 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 306 void MergeFrom(const ::google::protobuf::Message& from); | 393 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 307 void CopyFrom(const FileDescriptorProto& from); | 394 void CopyFrom(const FileDescriptorProto& from); |
| 308 void MergeFrom(const FileDescriptorProto& from); | 395 void MergeFrom(const FileDescriptorProto& from); |
| 309 void Clear(); | 396 void Clear() PROTOBUF_FINAL; |
| 310 bool IsInitialized() const; | 397 bool IsInitialized() const PROTOBUF_FINAL; |
| 311 | 398 |
| 312 int ByteSize() const; | 399 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 313 bool MergePartialFromCodedStream( | 400 bool MergePartialFromCodedStream( |
| 314 ::google::protobuf::io::CodedInputStream* input); | 401 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 315 void SerializeWithCachedSizes( | 402 void SerializeWithCachedSizes( |
| 316 ::google::protobuf::io::CodedOutputStream* output) const; | 403 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 317 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 404 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 318 int GetCachedSize() const { return _cached_size_; } | 405 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 406 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) |
| 407 const PROTOBUF_FINAL { |
| 408 return InternalSerializeWithCachedSizesToArray(false, output); |
| 409 } |
| 410 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
| 319 private: | 411 private: |
| 320 void SharedCtor(); | 412 void SharedCtor(); |
| 321 void SharedDtor(); | 413 void SharedDtor(); |
| 322 void SetCachedSize(int size) const; | 414 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 323 void InternalSwap(FileDescriptorProto* other); | 415 void InternalSwap(FileDescriptorProto* other); |
| 324 private: | 416 private: |
| 325 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 417 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 326 return _internal_metadata_.arena(); | 418 return NULL; |
| 327 } | 419 } |
| 328 inline void* MaybeArenaPtr() const { | 420 inline void* MaybeArenaPtr() const { |
| 329 return _internal_metadata_.raw_arena_ptr(); | 421 return NULL; |
| 330 } | 422 } |
| 331 public: | 423 public: |
| 332 | 424 |
| 333 ::google::protobuf::Metadata GetMetadata() const; | 425 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 334 | 426 |
| 335 // nested types ---------------------------------------------------- | 427 // nested types ---------------------------------------------------- |
| 336 | 428 |
| 337 // accessors ------------------------------------------------------- | 429 // accessors ------------------------------------------------------- |
| 338 | 430 |
| 339 // optional string name = 1; | 431 // optional string name = 1; |
| 340 bool has_name() const; | 432 bool has_name() const; |
| 341 void clear_name(); | 433 void clear_name(); |
| 342 static const int kNameFieldNumber = 1; | 434 static const int kNameFieldNumber = 1; |
| 343 const ::std::string& name() const; | 435 const ::std::string& name() const; |
| 344 void set_name(const ::std::string& value); | 436 void set_name(const ::std::string& value); |
| 437 #if LANG_CXX11 |
| 438 void set_name(::std::string&& value); |
| 439 #endif |
| 345 void set_name(const char* value); | 440 void set_name(const char* value); |
| 346 void set_name(const char* value, size_t size); | 441 void set_name(const char* value, size_t size); |
| 347 ::std::string* mutable_name(); | 442 ::std::string* mutable_name(); |
| 348 ::std::string* release_name(); | 443 ::std::string* release_name(); |
| 349 void set_allocated_name(::std::string* name); | 444 void set_allocated_name(::std::string* name); |
| 350 | 445 |
| 351 // optional string package = 2; | 446 // optional string package = 2; |
| 352 bool has_package() const; | 447 bool has_package() const; |
| 353 void clear_package(); | 448 void clear_package(); |
| 354 static const int kPackageFieldNumber = 2; | 449 static const int kPackageFieldNumber = 2; |
| 355 const ::std::string& package() const; | 450 const ::std::string& package() const; |
| 356 void set_package(const ::std::string& value); | 451 void set_package(const ::std::string& value); |
| 452 #if LANG_CXX11 |
| 453 void set_package(::std::string&& value); |
| 454 #endif |
| 357 void set_package(const char* value); | 455 void set_package(const char* value); |
| 358 void set_package(const char* value, size_t size); | 456 void set_package(const char* value, size_t size); |
| 359 ::std::string* mutable_package(); | 457 ::std::string* mutable_package(); |
| 360 ::std::string* release_package(); | 458 ::std::string* release_package(); |
| 361 void set_allocated_package(::std::string* package); | 459 void set_allocated_package(::std::string* package); |
| 362 | 460 |
| 363 // repeated string dependency = 3; | 461 // repeated string dependency = 3; |
| 364 int dependency_size() const; | 462 int dependency_size() const; |
| 365 void clear_dependency(); | 463 void clear_dependency(); |
| 366 static const int kDependencyFieldNumber = 3; | 464 static const int kDependencyFieldNumber = 3; |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 ::google::protobuf::SourceCodeInfo* mutable_source_code_info(); | 563 ::google::protobuf::SourceCodeInfo* mutable_source_code_info(); |
| 466 ::google::protobuf::SourceCodeInfo* release_source_code_info(); | 564 ::google::protobuf::SourceCodeInfo* release_source_code_info(); |
| 467 void set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* source
_code_info); | 565 void set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* source
_code_info); |
| 468 | 566 |
| 469 // optional string syntax = 12; | 567 // optional string syntax = 12; |
| 470 bool has_syntax() const; | 568 bool has_syntax() const; |
| 471 void clear_syntax(); | 569 void clear_syntax(); |
| 472 static const int kSyntaxFieldNumber = 12; | 570 static const int kSyntaxFieldNumber = 12; |
| 473 const ::std::string& syntax() const; | 571 const ::std::string& syntax() const; |
| 474 void set_syntax(const ::std::string& value); | 572 void set_syntax(const ::std::string& value); |
| 573 #if LANG_CXX11 |
| 574 void set_syntax(::std::string&& value); |
| 575 #endif |
| 475 void set_syntax(const char* value); | 576 void set_syntax(const char* value); |
| 476 void set_syntax(const char* value, size_t size); | 577 void set_syntax(const char* value, size_t size); |
| 477 ::std::string* mutable_syntax(); | 578 ::std::string* mutable_syntax(); |
| 478 ::std::string* release_syntax(); | 579 ::std::string* release_syntax(); |
| 479 void set_allocated_syntax(::std::string* syntax); | 580 void set_allocated_syntax(::std::string* syntax); |
| 480 | 581 |
| 481 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto) | 582 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto) |
| 482 private: | 583 private: |
| 483 inline void set_has_name(); | 584 void set_has_name(); |
| 484 inline void clear_has_name(); | 585 void clear_has_name(); |
| 485 inline void set_has_package(); | 586 void set_has_package(); |
| 486 inline void clear_has_package(); | 587 void clear_has_package(); |
| 487 inline void set_has_options(); | 588 void set_has_options(); |
| 488 inline void clear_has_options(); | 589 void clear_has_options(); |
| 489 inline void set_has_source_code_info(); | 590 void set_has_source_code_info(); |
| 490 inline void clear_has_source_code_info(); | 591 void clear_has_source_code_info(); |
| 491 inline void set_has_syntax(); | 592 void set_has_syntax(); |
| 492 inline void clear_has_syntax(); | 593 void clear_has_syntax(); |
| 493 | 594 |
| 494 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 595 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 495 ::google::protobuf::uint32 _has_bits_[1]; | 596 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 496 mutable int _cached_size_; | 597 mutable int _cached_size_; |
| 497 ::google::protobuf::internal::ArenaStringPtr name_; | |
| 498 ::google::protobuf::internal::ArenaStringPtr package_; | |
| 499 ::google::protobuf::RepeatedPtrField< ::std::string> dependency_; | 598 ::google::protobuf::RepeatedPtrField< ::std::string> dependency_; |
| 500 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > public_dependen
cy_; | 599 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > public_dependen
cy_; |
| 501 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > weak_dependency
_; | 600 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > weak_dependency
_; |
| 502 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > me
ssage_type_; | 601 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > me
ssage_type_; |
| 503 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto
> enum_type_; | 602 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto
> enum_type_; |
| 504 ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorPro
to > service_; | 603 ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorPro
to > service_; |
| 505 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
> extension_; | 604 ::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_; |
| 506 ::google::protobuf::FileOptions* options_; | 608 ::google::protobuf::FileOptions* options_; |
| 507 ::google::protobuf::SourceCodeInfo* source_code_info_; | 609 ::google::protobuf::SourceCodeInfo* source_code_info_; |
| 508 ::google::protobuf::internal::ArenaStringPtr syntax_; | 610 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 509 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 611 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); |
| 510 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 612 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); |
| 511 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 613 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 512 | 614 |
| 513 void InitAsDefaultInstance(); | |
| 514 static FileDescriptorProto* default_instance_; | |
| 515 }; | 615 }; |
| 516 // ------------------------------------------------------------------- | 616 // ------------------------------------------------------------------- |
| 517 | 617 |
| 518 class LIBPROTOBUF_EXPORT DescriptorProto_ExtensionRange : public ::google::proto
buf::Message { | 618 class LIBPROTOBUF_EXPORT DescriptorProto_ExtensionRange : public ::google::proto
buf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Descri
ptorProto.ExtensionRange) */ { |
| 519 public: | 619 public: |
| 520 DescriptorProto_ExtensionRange(); | 620 DescriptorProto_ExtensionRange(); |
| 521 virtual ~DescriptorProto_ExtensionRange(); | 621 virtual ~DescriptorProto_ExtensionRange(); |
| 522 | 622 |
| 523 DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from); | 623 DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from); |
| 524 | 624 |
| 525 inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_Extensi
onRange& from) { | 625 inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_Extensi
onRange& from) { |
| 526 CopyFrom(from); | 626 CopyFrom(from); |
| 527 return *this; | 627 return *this; |
| 528 } | 628 } |
| 529 | 629 |
| 530 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 630 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 531 return _internal_metadata_.unknown_fields(); | 631 return _internal_metadata_.unknown_fields(); |
| 532 } | 632 } |
| 533 | 633 |
| 534 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 634 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 535 return _internal_metadata_.mutable_unknown_fields(); | 635 return _internal_metadata_.mutable_unknown_fields(); |
| 536 } | 636 } |
| 537 | 637 |
| 538 static const ::google::protobuf::Descriptor* descriptor(); | 638 static const ::google::protobuf::Descriptor* descriptor(); |
| 539 static const DescriptorProto_ExtensionRange& default_instance(); | 639 static const DescriptorProto_ExtensionRange& default_instance(); |
| 540 | 640 |
| 641 static inline const DescriptorProto_ExtensionRange* internal_default_instance(
) { |
| 642 return reinterpret_cast<const DescriptorProto_ExtensionRange*>( |
| 643 &_DescriptorProto_ExtensionRange_default_instance_); |
| 644 } |
| 645 |
| 541 void Swap(DescriptorProto_ExtensionRange* other); | 646 void Swap(DescriptorProto_ExtensionRange* other); |
| 542 | 647 |
| 543 // implements Message ---------------------------------------------- | 648 // implements Message ---------------------------------------------- |
| 544 | 649 |
| 545 inline DescriptorProto_ExtensionRange* New() const { return New(NULL); } | 650 inline DescriptorProto_ExtensionRange* New() const PROTOBUF_FINAL { return New
(NULL); } |
| 546 | 651 |
| 547 DescriptorProto_ExtensionRange* New(::google::protobuf::Arena* arena) const; | 652 DescriptorProto_ExtensionRange* New(::google::protobuf::Arena* arena) const PR
OTOBUF_FINAL; |
| 548 void CopyFrom(const ::google::protobuf::Message& from); | 653 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 549 void MergeFrom(const ::google::protobuf::Message& from); | 654 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 550 void CopyFrom(const DescriptorProto_ExtensionRange& from); | 655 void CopyFrom(const DescriptorProto_ExtensionRange& from); |
| 551 void MergeFrom(const DescriptorProto_ExtensionRange& from); | 656 void MergeFrom(const DescriptorProto_ExtensionRange& from); |
| 552 void Clear(); | 657 void Clear() PROTOBUF_FINAL; |
| 553 bool IsInitialized() const; | 658 bool IsInitialized() const PROTOBUF_FINAL; |
| 554 | 659 |
| 555 int ByteSize() const; | 660 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 556 bool MergePartialFromCodedStream( | 661 bool MergePartialFromCodedStream( |
| 557 ::google::protobuf::io::CodedInputStream* input); | 662 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 558 void SerializeWithCachedSizes( | 663 void SerializeWithCachedSizes( |
| 559 ::google::protobuf::io::CodedOutputStream* output) const; | 664 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 560 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 665 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 561 int GetCachedSize() const { return _cached_size_; } | 666 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 562 private: | 672 private: |
| 563 void SharedCtor(); | 673 void SharedCtor(); |
| 564 void SharedDtor(); | 674 void SharedDtor(); |
| 565 void SetCachedSize(int size) const; | 675 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 566 void InternalSwap(DescriptorProto_ExtensionRange* other); | 676 void InternalSwap(DescriptorProto_ExtensionRange* other); |
| 567 private: | 677 private: |
| 568 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 678 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 569 return _internal_metadata_.arena(); | 679 return NULL; |
| 570 } | 680 } |
| 571 inline void* MaybeArenaPtr() const { | 681 inline void* MaybeArenaPtr() const { |
| 572 return _internal_metadata_.raw_arena_ptr(); | 682 return NULL; |
| 573 } | 683 } |
| 574 public: | 684 public: |
| 575 | 685 |
| 576 ::google::protobuf::Metadata GetMetadata() const; | 686 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 577 | 687 |
| 578 // nested types ---------------------------------------------------- | 688 // nested types ---------------------------------------------------- |
| 579 | 689 |
| 580 // accessors ------------------------------------------------------- | 690 // accessors ------------------------------------------------------- |
| 581 | 691 |
| 582 // optional int32 start = 1; | 692 // optional int32 start = 1; |
| 583 bool has_start() const; | 693 bool has_start() const; |
| 584 void clear_start(); | 694 void clear_start(); |
| 585 static const int kStartFieldNumber = 1; | 695 static const int kStartFieldNumber = 1; |
| 586 ::google::protobuf::int32 start() const; | 696 ::google::protobuf::int32 start() const; |
| 587 void set_start(::google::protobuf::int32 value); | 697 void set_start(::google::protobuf::int32 value); |
| 588 | 698 |
| 589 // optional int32 end = 2; | 699 // optional int32 end = 2; |
| 590 bool has_end() const; | 700 bool has_end() const; |
| 591 void clear_end(); | 701 void clear_end(); |
| 592 static const int kEndFieldNumber = 2; | 702 static const int kEndFieldNumber = 2; |
| 593 ::google::protobuf::int32 end() const; | 703 ::google::protobuf::int32 end() const; |
| 594 void set_end(::google::protobuf::int32 value); | 704 void set_end(::google::protobuf::int32 value); |
| 595 | 705 |
| 596 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.Extens
ionRange) | 706 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.Extens
ionRange) |
| 597 private: | 707 private: |
| 598 inline void set_has_start(); | 708 void set_has_start(); |
| 599 inline void clear_has_start(); | 709 void clear_has_start(); |
| 600 inline void set_has_end(); | 710 void set_has_end(); |
| 601 inline void clear_has_end(); | 711 void clear_has_end(); |
| 602 | 712 |
| 603 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 713 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 604 ::google::protobuf::uint32 _has_bits_[1]; | 714 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 605 mutable int _cached_size_; | 715 mutable int _cached_size_; |
| 606 ::google::protobuf::int32 start_; | 716 ::google::protobuf::int32 start_; |
| 607 ::google::protobuf::int32 end_; | 717 ::google::protobuf::int32 end_; |
| 608 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 718 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 609 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 719 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); |
| 720 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); |
| 610 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 721 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 611 | 722 |
| 612 void InitAsDefaultInstance(); | |
| 613 static DescriptorProto_ExtensionRange* default_instance_; | |
| 614 }; | 723 }; |
| 615 // ------------------------------------------------------------------- | 724 // ------------------------------------------------------------------- |
| 616 | 725 |
| 617 class LIBPROTOBUF_EXPORT DescriptorProto_ReservedRange : public ::google::protob
uf::Message { | 726 class LIBPROTOBUF_EXPORT DescriptorProto_ReservedRange : public ::google::protob
uf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Descrip
torProto.ReservedRange) */ { |
| 618 public: | 727 public: |
| 619 DescriptorProto_ReservedRange(); | 728 DescriptorProto_ReservedRange(); |
| 620 virtual ~DescriptorProto_ReservedRange(); | 729 virtual ~DescriptorProto_ReservedRange(); |
| 621 | 730 |
| 622 DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from); | 731 DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from); |
| 623 | 732 |
| 624 inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_Reserved
Range& from) { | 733 inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_Reserved
Range& from) { |
| 625 CopyFrom(from); | 734 CopyFrom(from); |
| 626 return *this; | 735 return *this; |
| 627 } | 736 } |
| 628 | 737 |
| 629 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 738 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 630 return _internal_metadata_.unknown_fields(); | 739 return _internal_metadata_.unknown_fields(); |
| 631 } | 740 } |
| 632 | 741 |
| 633 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 742 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 634 return _internal_metadata_.mutable_unknown_fields(); | 743 return _internal_metadata_.mutable_unknown_fields(); |
| 635 } | 744 } |
| 636 | 745 |
| 637 static const ::google::protobuf::Descriptor* descriptor(); | 746 static const ::google::protobuf::Descriptor* descriptor(); |
| 638 static const DescriptorProto_ReservedRange& default_instance(); | 747 static const DescriptorProto_ReservedRange& default_instance(); |
| 639 | 748 |
| 749 static inline const DescriptorProto_ReservedRange* internal_default_instance()
{ |
| 750 return reinterpret_cast<const DescriptorProto_ReservedRange*>( |
| 751 &_DescriptorProto_ReservedRange_default_instance_); |
| 752 } |
| 753 |
| 640 void Swap(DescriptorProto_ReservedRange* other); | 754 void Swap(DescriptorProto_ReservedRange* other); |
| 641 | 755 |
| 642 // implements Message ---------------------------------------------- | 756 // implements Message ---------------------------------------------- |
| 643 | 757 |
| 644 inline DescriptorProto_ReservedRange* New() const { return New(NULL); } | 758 inline DescriptorProto_ReservedRange* New() const PROTOBUF_FINAL { return New(
NULL); } |
| 645 | 759 |
| 646 DescriptorProto_ReservedRange* New(::google::protobuf::Arena* arena) const; | 760 DescriptorProto_ReservedRange* New(::google::protobuf::Arena* arena) const PRO
TOBUF_FINAL; |
| 647 void CopyFrom(const ::google::protobuf::Message& from); | 761 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 648 void MergeFrom(const ::google::protobuf::Message& from); | 762 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 649 void CopyFrom(const DescriptorProto_ReservedRange& from); | 763 void CopyFrom(const DescriptorProto_ReservedRange& from); |
| 650 void MergeFrom(const DescriptorProto_ReservedRange& from); | 764 void MergeFrom(const DescriptorProto_ReservedRange& from); |
| 651 void Clear(); | 765 void Clear() PROTOBUF_FINAL; |
| 652 bool IsInitialized() const; | 766 bool IsInitialized() const PROTOBUF_FINAL; |
| 653 | 767 |
| 654 int ByteSize() const; | 768 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 655 bool MergePartialFromCodedStream( | 769 bool MergePartialFromCodedStream( |
| 656 ::google::protobuf::io::CodedInputStream* input); | 770 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 657 void SerializeWithCachedSizes( | 771 void SerializeWithCachedSizes( |
| 658 ::google::protobuf::io::CodedOutputStream* output) const; | 772 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 659 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 773 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 660 int GetCachedSize() const { return _cached_size_; } | 774 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 661 private: | 780 private: |
| 662 void SharedCtor(); | 781 void SharedCtor(); |
| 663 void SharedDtor(); | 782 void SharedDtor(); |
| 664 void SetCachedSize(int size) const; | 783 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 665 void InternalSwap(DescriptorProto_ReservedRange* other); | 784 void InternalSwap(DescriptorProto_ReservedRange* other); |
| 666 private: | 785 private: |
| 667 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 786 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 668 return _internal_metadata_.arena(); | 787 return NULL; |
| 669 } | 788 } |
| 670 inline void* MaybeArenaPtr() const { | 789 inline void* MaybeArenaPtr() const { |
| 671 return _internal_metadata_.raw_arena_ptr(); | 790 return NULL; |
| 672 } | 791 } |
| 673 public: | 792 public: |
| 674 | 793 |
| 675 ::google::protobuf::Metadata GetMetadata() const; | 794 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 676 | 795 |
| 677 // nested types ---------------------------------------------------- | 796 // nested types ---------------------------------------------------- |
| 678 | 797 |
| 679 // accessors ------------------------------------------------------- | 798 // accessors ------------------------------------------------------- |
| 680 | 799 |
| 681 // optional int32 start = 1; | 800 // optional int32 start = 1; |
| 682 bool has_start() const; | 801 bool has_start() const; |
| 683 void clear_start(); | 802 void clear_start(); |
| 684 static const int kStartFieldNumber = 1; | 803 static const int kStartFieldNumber = 1; |
| 685 ::google::protobuf::int32 start() const; | 804 ::google::protobuf::int32 start() const; |
| 686 void set_start(::google::protobuf::int32 value); | 805 void set_start(::google::protobuf::int32 value); |
| 687 | 806 |
| 688 // optional int32 end = 2; | 807 // optional int32 end = 2; |
| 689 bool has_end() const; | 808 bool has_end() const; |
| 690 void clear_end(); | 809 void clear_end(); |
| 691 static const int kEndFieldNumber = 2; | 810 static const int kEndFieldNumber = 2; |
| 692 ::google::protobuf::int32 end() const; | 811 ::google::protobuf::int32 end() const; |
| 693 void set_end(::google::protobuf::int32 value); | 812 void set_end(::google::protobuf::int32 value); |
| 694 | 813 |
| 695 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.Reserv
edRange) | 814 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.Reserv
edRange) |
| 696 private: | 815 private: |
| 697 inline void set_has_start(); | 816 void set_has_start(); |
| 698 inline void clear_has_start(); | 817 void clear_has_start(); |
| 699 inline void set_has_end(); | 818 void set_has_end(); |
| 700 inline void clear_has_end(); | 819 void clear_has_end(); |
| 701 | 820 |
| 702 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 821 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 703 ::google::protobuf::uint32 _has_bits_[1]; | 822 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 704 mutable int _cached_size_; | 823 mutable int _cached_size_; |
| 705 ::google::protobuf::int32 start_; | 824 ::google::protobuf::int32 start_; |
| 706 ::google::protobuf::int32 end_; | 825 ::google::protobuf::int32 end_; |
| 707 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 826 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 708 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 827 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); |
| 828 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); |
| 709 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 829 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 710 | 830 |
| 711 void InitAsDefaultInstance(); | |
| 712 static DescriptorProto_ReservedRange* default_instance_; | |
| 713 }; | 831 }; |
| 714 // ------------------------------------------------------------------- | 832 // ------------------------------------------------------------------- |
| 715 | 833 |
| 716 class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message { | 834 class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message /*
@@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto) */ { |
| 717 public: | 835 public: |
| 718 DescriptorProto(); | 836 DescriptorProto(); |
| 719 virtual ~DescriptorProto(); | 837 virtual ~DescriptorProto(); |
| 720 | 838 |
| 721 DescriptorProto(const DescriptorProto& from); | 839 DescriptorProto(const DescriptorProto& from); |
| 722 | 840 |
| 723 inline DescriptorProto& operator=(const DescriptorProto& from) { | 841 inline DescriptorProto& operator=(const DescriptorProto& from) { |
| 724 CopyFrom(from); | 842 CopyFrom(from); |
| 725 return *this; | 843 return *this; |
| 726 } | 844 } |
| 727 | 845 |
| 728 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 846 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 729 return _internal_metadata_.unknown_fields(); | 847 return _internal_metadata_.unknown_fields(); |
| 730 } | 848 } |
| 731 | 849 |
| 732 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 850 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 733 return _internal_metadata_.mutable_unknown_fields(); | 851 return _internal_metadata_.mutable_unknown_fields(); |
| 734 } | 852 } |
| 735 | 853 |
| 736 static const ::google::protobuf::Descriptor* descriptor(); | 854 static const ::google::protobuf::Descriptor* descriptor(); |
| 737 static const DescriptorProto& default_instance(); | 855 static const DescriptorProto& default_instance(); |
| 738 | 856 |
| 857 static inline const DescriptorProto* internal_default_instance() { |
| 858 return reinterpret_cast<const DescriptorProto*>( |
| 859 &_DescriptorProto_default_instance_); |
| 860 } |
| 861 |
| 739 void Swap(DescriptorProto* other); | 862 void Swap(DescriptorProto* other); |
| 740 | 863 |
| 741 // implements Message ---------------------------------------------- | 864 // implements Message ---------------------------------------------- |
| 742 | 865 |
| 743 inline DescriptorProto* New() const { return New(NULL); } | 866 inline DescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); } |
| 744 | 867 |
| 745 DescriptorProto* New(::google::protobuf::Arena* arena) const; | 868 DescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 746 void CopyFrom(const ::google::protobuf::Message& from); | 869 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 747 void MergeFrom(const ::google::protobuf::Message& from); | 870 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 748 void CopyFrom(const DescriptorProto& from); | 871 void CopyFrom(const DescriptorProto& from); |
| 749 void MergeFrom(const DescriptorProto& from); | 872 void MergeFrom(const DescriptorProto& from); |
| 750 void Clear(); | 873 void Clear() PROTOBUF_FINAL; |
| 751 bool IsInitialized() const; | 874 bool IsInitialized() const PROTOBUF_FINAL; |
| 752 | 875 |
| 753 int ByteSize() const; | 876 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 754 bool MergePartialFromCodedStream( | 877 bool MergePartialFromCodedStream( |
| 755 ::google::protobuf::io::CodedInputStream* input); | 878 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 756 void SerializeWithCachedSizes( | 879 void SerializeWithCachedSizes( |
| 757 ::google::protobuf::io::CodedOutputStream* output) const; | 880 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 758 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 881 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 759 int GetCachedSize() const { return _cached_size_; } | 882 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 760 private: | 888 private: |
| 761 void SharedCtor(); | 889 void SharedCtor(); |
| 762 void SharedDtor(); | 890 void SharedDtor(); |
| 763 void SetCachedSize(int size) const; | 891 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 764 void InternalSwap(DescriptorProto* other); | 892 void InternalSwap(DescriptorProto* other); |
| 765 private: | 893 private: |
| 766 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 894 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 767 return _internal_metadata_.arena(); | 895 return NULL; |
| 768 } | 896 } |
| 769 inline void* MaybeArenaPtr() const { | 897 inline void* MaybeArenaPtr() const { |
| 770 return _internal_metadata_.raw_arena_ptr(); | 898 return NULL; |
| 771 } | 899 } |
| 772 public: | 900 public: |
| 773 | 901 |
| 774 ::google::protobuf::Metadata GetMetadata() const; | 902 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 775 | 903 |
| 776 // nested types ---------------------------------------------------- | 904 // nested types ---------------------------------------------------- |
| 777 | 905 |
| 778 typedef DescriptorProto_ExtensionRange ExtensionRange; | 906 typedef DescriptorProto_ExtensionRange ExtensionRange; |
| 779 typedef DescriptorProto_ReservedRange ReservedRange; | 907 typedef DescriptorProto_ReservedRange ReservedRange; |
| 780 | 908 |
| 781 // accessors ------------------------------------------------------- | 909 // accessors ------------------------------------------------------- |
| 782 | 910 |
| 783 // optional string name = 1; | 911 // optional string name = 1; |
| 784 bool has_name() const; | 912 bool has_name() const; |
| 785 void clear_name(); | 913 void clear_name(); |
| 786 static const int kNameFieldNumber = 1; | 914 static const int kNameFieldNumber = 1; |
| 787 const ::std::string& name() const; | 915 const ::std::string& name() const; |
| 788 void set_name(const ::std::string& value); | 916 void set_name(const ::std::string& value); |
| 917 #if LANG_CXX11 |
| 918 void set_name(::std::string&& value); |
| 919 #endif |
| 789 void set_name(const char* value); | 920 void set_name(const char* value); |
| 790 void set_name(const char* value, size_t size); | 921 void set_name(const char* value, size_t size); |
| 791 ::std::string* mutable_name(); | 922 ::std::string* mutable_name(); |
| 792 ::std::string* release_name(); | 923 ::std::string* release_name(); |
| 793 void set_allocated_name(::std::string* name); | 924 void set_allocated_name(::std::string* name); |
| 794 | 925 |
| 795 // repeated .google.protobuf.FieldDescriptorProto field = 2; | 926 // repeated .google.protobuf.FieldDescriptorProto field = 2; |
| 796 int field_size() const; | 927 int field_size() const; |
| 797 void clear_field(); | 928 void clear_field(); |
| 798 static const int kFieldFieldNumber = 2; | 929 static const int kFieldFieldNumber = 2; |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 896 void set_reserved_name(int index, const char* value, size_t size); | 1027 void set_reserved_name(int index, const char* value, size_t size); |
| 897 ::std::string* add_reserved_name(); | 1028 ::std::string* add_reserved_name(); |
| 898 void add_reserved_name(const ::std::string& value); | 1029 void add_reserved_name(const ::std::string& value); |
| 899 void add_reserved_name(const char* value); | 1030 void add_reserved_name(const char* value); |
| 900 void add_reserved_name(const char* value, size_t size); | 1031 void add_reserved_name(const char* value, size_t size); |
| 901 const ::google::protobuf::RepeatedPtrField< ::std::string>& reserved_name() co
nst; | 1032 const ::google::protobuf::RepeatedPtrField< ::std::string>& reserved_name() co
nst; |
| 902 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_reserved_name(); | 1033 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_reserved_name(); |
| 903 | 1034 |
| 904 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto) | 1035 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto) |
| 905 private: | 1036 private: |
| 906 inline void set_has_name(); | 1037 void set_has_name(); |
| 907 inline void clear_has_name(); | 1038 void clear_has_name(); |
| 908 inline void set_has_options(); | 1039 void set_has_options(); |
| 909 inline void clear_has_options(); | 1040 void clear_has_options(); |
| 910 | 1041 |
| 911 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 1042 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 912 ::google::protobuf::uint32 _has_bits_[1]; | 1043 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 913 mutable int _cached_size_; | 1044 mutable int _cached_size_; |
| 914 ::google::protobuf::internal::ArenaStringPtr name_; | |
| 915 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
> field_; | 1045 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
> field_; |
| 916 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
> extension_; | 1046 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto
> extension_; |
| 917 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > ne
sted_type_; | 1047 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > ne
sted_type_; |
| 918 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto
> enum_type_; | 1048 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto
> enum_type_; |
| 919 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Exte
nsionRange > extension_range_; | 1049 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Exte
nsionRange > extension_range_; |
| 920 ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto
> oneof_decl_; | 1050 ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto
> oneof_decl_; |
| 921 ::google::protobuf::MessageOptions* options_; | |
| 922 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Rese
rvedRange > reserved_range_; | 1051 ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_Rese
rvedRange > reserved_range_; |
| 923 ::google::protobuf::RepeatedPtrField< ::std::string> reserved_name_; | 1052 ::google::protobuf::RepeatedPtrField< ::std::string> reserved_name_; |
| 924 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 1053 ::google::protobuf::internal::ArenaStringPtr name_; |
| 925 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 1054 ::google::protobuf::MessageOptions* options_; |
| 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(); |
| 926 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 1058 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 927 | 1059 |
| 928 void InitAsDefaultInstance(); | |
| 929 static DescriptorProto* default_instance_; | |
| 930 }; | 1060 }; |
| 931 // ------------------------------------------------------------------- | 1061 // ------------------------------------------------------------------- |
| 932 | 1062 |
| 933 class LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Messa
ge { | 1063 class LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Messa
ge /* @@protoc_insertion_point(class_definition:google.protobuf.FieldDescriptorP
roto) */ { |
| 934 public: | 1064 public: |
| 935 FieldDescriptorProto(); | 1065 FieldDescriptorProto(); |
| 936 virtual ~FieldDescriptorProto(); | 1066 virtual ~FieldDescriptorProto(); |
| 937 | 1067 |
| 938 FieldDescriptorProto(const FieldDescriptorProto& from); | 1068 FieldDescriptorProto(const FieldDescriptorProto& from); |
| 939 | 1069 |
| 940 inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) { | 1070 inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) { |
| 941 CopyFrom(from); | 1071 CopyFrom(from); |
| 942 return *this; | 1072 return *this; |
| 943 } | 1073 } |
| 944 | 1074 |
| 945 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 1075 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 946 return _internal_metadata_.unknown_fields(); | 1076 return _internal_metadata_.unknown_fields(); |
| 947 } | 1077 } |
| 948 | 1078 |
| 949 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 1079 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 950 return _internal_metadata_.mutable_unknown_fields(); | 1080 return _internal_metadata_.mutable_unknown_fields(); |
| 951 } | 1081 } |
| 952 | 1082 |
| 953 static const ::google::protobuf::Descriptor* descriptor(); | 1083 static const ::google::protobuf::Descriptor* descriptor(); |
| 954 static const FieldDescriptorProto& default_instance(); | 1084 static const FieldDescriptorProto& default_instance(); |
| 955 | 1085 |
| 1086 static inline const FieldDescriptorProto* internal_default_instance() { |
| 1087 return reinterpret_cast<const FieldDescriptorProto*>( |
| 1088 &_FieldDescriptorProto_default_instance_); |
| 1089 } |
| 1090 |
| 956 void Swap(FieldDescriptorProto* other); | 1091 void Swap(FieldDescriptorProto* other); |
| 957 | 1092 |
| 958 // implements Message ---------------------------------------------- | 1093 // implements Message ---------------------------------------------- |
| 959 | 1094 |
| 960 inline FieldDescriptorProto* New() const { return New(NULL); } | 1095 inline FieldDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); } |
| 961 | 1096 |
| 962 FieldDescriptorProto* New(::google::protobuf::Arena* arena) const; | 1097 FieldDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FIN
AL; |
| 963 void CopyFrom(const ::google::protobuf::Message& from); | 1098 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 964 void MergeFrom(const ::google::protobuf::Message& from); | 1099 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 965 void CopyFrom(const FieldDescriptorProto& from); | 1100 void CopyFrom(const FieldDescriptorProto& from); |
| 966 void MergeFrom(const FieldDescriptorProto& from); | 1101 void MergeFrom(const FieldDescriptorProto& from); |
| 967 void Clear(); | 1102 void Clear() PROTOBUF_FINAL; |
| 968 bool IsInitialized() const; | 1103 bool IsInitialized() const PROTOBUF_FINAL; |
| 969 | 1104 |
| 970 int ByteSize() const; | 1105 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 971 bool MergePartialFromCodedStream( | 1106 bool MergePartialFromCodedStream( |
| 972 ::google::protobuf::io::CodedInputStream* input); | 1107 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 973 void SerializeWithCachedSizes( | 1108 void SerializeWithCachedSizes( |
| 974 ::google::protobuf::io::CodedOutputStream* output) const; | 1109 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 975 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 1110 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 976 int GetCachedSize() const { return _cached_size_; } | 1111 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 977 private: | 1117 private: |
| 978 void SharedCtor(); | 1118 void SharedCtor(); |
| 979 void SharedDtor(); | 1119 void SharedDtor(); |
| 980 void SetCachedSize(int size) const; | 1120 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 981 void InternalSwap(FieldDescriptorProto* other); | 1121 void InternalSwap(FieldDescriptorProto* other); |
| 982 private: | 1122 private: |
| 983 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 1123 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 984 return _internal_metadata_.arena(); | 1124 return NULL; |
| 985 } | 1125 } |
| 986 inline void* MaybeArenaPtr() const { | 1126 inline void* MaybeArenaPtr() const { |
| 987 return _internal_metadata_.raw_arena_ptr(); | 1127 return NULL; |
| 988 } | 1128 } |
| 989 public: | 1129 public: |
| 990 | 1130 |
| 991 ::google::protobuf::Metadata GetMetadata() const; | 1131 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 992 | 1132 |
| 993 // nested types ---------------------------------------------------- | 1133 // nested types ---------------------------------------------------- |
| 994 | 1134 |
| 995 typedef FieldDescriptorProto_Type Type; | 1135 typedef FieldDescriptorProto_Type Type; |
| 996 static const Type TYPE_DOUBLE = | 1136 static const Type TYPE_DOUBLE = |
| 997 FieldDescriptorProto_Type_TYPE_DOUBLE; | 1137 FieldDescriptorProto_Type_TYPE_DOUBLE; |
| 998 static const Type TYPE_FLOAT = | 1138 static const Type TYPE_FLOAT = |
| 999 FieldDescriptorProto_Type_TYPE_FLOAT; | 1139 FieldDescriptorProto_Type_TYPE_FLOAT; |
| 1000 static const Type TYPE_INT64 = | 1140 static const Type TYPE_INT64 = |
| 1001 FieldDescriptorProto_Type_TYPE_INT64; | 1141 FieldDescriptorProto_Type_TYPE_INT64; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1079 } | 1219 } |
| 1080 | 1220 |
| 1081 // accessors ------------------------------------------------------- | 1221 // accessors ------------------------------------------------------- |
| 1082 | 1222 |
| 1083 // optional string name = 1; | 1223 // optional string name = 1; |
| 1084 bool has_name() const; | 1224 bool has_name() const; |
| 1085 void clear_name(); | 1225 void clear_name(); |
| 1086 static const int kNameFieldNumber = 1; | 1226 static const int kNameFieldNumber = 1; |
| 1087 const ::std::string& name() const; | 1227 const ::std::string& name() const; |
| 1088 void set_name(const ::std::string& value); | 1228 void set_name(const ::std::string& value); |
| 1229 #if LANG_CXX11 |
| 1230 void set_name(::std::string&& value); |
| 1231 #endif |
| 1089 void set_name(const char* value); | 1232 void set_name(const char* value); |
| 1090 void set_name(const char* value, size_t size); | 1233 void set_name(const char* value, size_t size); |
| 1091 ::std::string* mutable_name(); | 1234 ::std::string* mutable_name(); |
| 1092 ::std::string* release_name(); | 1235 ::std::string* release_name(); |
| 1093 void set_allocated_name(::std::string* name); | 1236 void set_allocated_name(::std::string* name); |
| 1094 | 1237 |
| 1095 // optional int32 number = 3; | 1238 // optional int32 number = 3; |
| 1096 bool has_number() const; | 1239 bool has_number() const; |
| 1097 void clear_number(); | 1240 void clear_number(); |
| 1098 static const int kNumberFieldNumber = 3; | 1241 static const int kNumberFieldNumber = 3; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1112 static const int kTypeFieldNumber = 5; | 1255 static const int kTypeFieldNumber = 5; |
| 1113 ::google::protobuf::FieldDescriptorProto_Type type() const; | 1256 ::google::protobuf::FieldDescriptorProto_Type type() const; |
| 1114 void set_type(::google::protobuf::FieldDescriptorProto_Type value); | 1257 void set_type(::google::protobuf::FieldDescriptorProto_Type value); |
| 1115 | 1258 |
| 1116 // optional string type_name = 6; | 1259 // optional string type_name = 6; |
| 1117 bool has_type_name() const; | 1260 bool has_type_name() const; |
| 1118 void clear_type_name(); | 1261 void clear_type_name(); |
| 1119 static const int kTypeNameFieldNumber = 6; | 1262 static const int kTypeNameFieldNumber = 6; |
| 1120 const ::std::string& type_name() const; | 1263 const ::std::string& type_name() const; |
| 1121 void set_type_name(const ::std::string& value); | 1264 void set_type_name(const ::std::string& value); |
| 1265 #if LANG_CXX11 |
| 1266 void set_type_name(::std::string&& value); |
| 1267 #endif |
| 1122 void set_type_name(const char* value); | 1268 void set_type_name(const char* value); |
| 1123 void set_type_name(const char* value, size_t size); | 1269 void set_type_name(const char* value, size_t size); |
| 1124 ::std::string* mutable_type_name(); | 1270 ::std::string* mutable_type_name(); |
| 1125 ::std::string* release_type_name(); | 1271 ::std::string* release_type_name(); |
| 1126 void set_allocated_type_name(::std::string* type_name); | 1272 void set_allocated_type_name(::std::string* type_name); |
| 1127 | 1273 |
| 1128 // optional string extendee = 2; | 1274 // optional string extendee = 2; |
| 1129 bool has_extendee() const; | 1275 bool has_extendee() const; |
| 1130 void clear_extendee(); | 1276 void clear_extendee(); |
| 1131 static const int kExtendeeFieldNumber = 2; | 1277 static const int kExtendeeFieldNumber = 2; |
| 1132 const ::std::string& extendee() const; | 1278 const ::std::string& extendee() const; |
| 1133 void set_extendee(const ::std::string& value); | 1279 void set_extendee(const ::std::string& value); |
| 1280 #if LANG_CXX11 |
| 1281 void set_extendee(::std::string&& value); |
| 1282 #endif |
| 1134 void set_extendee(const char* value); | 1283 void set_extendee(const char* value); |
| 1135 void set_extendee(const char* value, size_t size); | 1284 void set_extendee(const char* value, size_t size); |
| 1136 ::std::string* mutable_extendee(); | 1285 ::std::string* mutable_extendee(); |
| 1137 ::std::string* release_extendee(); | 1286 ::std::string* release_extendee(); |
| 1138 void set_allocated_extendee(::std::string* extendee); | 1287 void set_allocated_extendee(::std::string* extendee); |
| 1139 | 1288 |
| 1140 // optional string default_value = 7; | 1289 // optional string default_value = 7; |
| 1141 bool has_default_value() const; | 1290 bool has_default_value() const; |
| 1142 void clear_default_value(); | 1291 void clear_default_value(); |
| 1143 static const int kDefaultValueFieldNumber = 7; | 1292 static const int kDefaultValueFieldNumber = 7; |
| 1144 const ::std::string& default_value() const; | 1293 const ::std::string& default_value() const; |
| 1145 void set_default_value(const ::std::string& value); | 1294 void set_default_value(const ::std::string& value); |
| 1295 #if LANG_CXX11 |
| 1296 void set_default_value(::std::string&& value); |
| 1297 #endif |
| 1146 void set_default_value(const char* value); | 1298 void set_default_value(const char* value); |
| 1147 void set_default_value(const char* value, size_t size); | 1299 void set_default_value(const char* value, size_t size); |
| 1148 ::std::string* mutable_default_value(); | 1300 ::std::string* mutable_default_value(); |
| 1149 ::std::string* release_default_value(); | 1301 ::std::string* release_default_value(); |
| 1150 void set_allocated_default_value(::std::string* default_value); | 1302 void set_allocated_default_value(::std::string* default_value); |
| 1151 | 1303 |
| 1152 // optional int32 oneof_index = 9; | 1304 // optional int32 oneof_index = 9; |
| 1153 bool has_oneof_index() const; | 1305 bool has_oneof_index() const; |
| 1154 void clear_oneof_index(); | 1306 void clear_oneof_index(); |
| 1155 static const int kOneofIndexFieldNumber = 9; | 1307 static const int kOneofIndexFieldNumber = 9; |
| 1156 ::google::protobuf::int32 oneof_index() const; | 1308 ::google::protobuf::int32 oneof_index() const; |
| 1157 void set_oneof_index(::google::protobuf::int32 value); | 1309 void set_oneof_index(::google::protobuf::int32 value); |
| 1158 | 1310 |
| 1159 // optional string json_name = 10; | 1311 // optional string json_name = 10; |
| 1160 bool has_json_name() const; | 1312 bool has_json_name() const; |
| 1161 void clear_json_name(); | 1313 void clear_json_name(); |
| 1162 static const int kJsonNameFieldNumber = 10; | 1314 static const int kJsonNameFieldNumber = 10; |
| 1163 const ::std::string& json_name() const; | 1315 const ::std::string& json_name() const; |
| 1164 void set_json_name(const ::std::string& value); | 1316 void set_json_name(const ::std::string& value); |
| 1317 #if LANG_CXX11 |
| 1318 void set_json_name(::std::string&& value); |
| 1319 #endif |
| 1165 void set_json_name(const char* value); | 1320 void set_json_name(const char* value); |
| 1166 void set_json_name(const char* value, size_t size); | 1321 void set_json_name(const char* value, size_t size); |
| 1167 ::std::string* mutable_json_name(); | 1322 ::std::string* mutable_json_name(); |
| 1168 ::std::string* release_json_name(); | 1323 ::std::string* release_json_name(); |
| 1169 void set_allocated_json_name(::std::string* json_name); | 1324 void set_allocated_json_name(::std::string* json_name); |
| 1170 | 1325 |
| 1171 // optional .google.protobuf.FieldOptions options = 8; | 1326 // optional .google.protobuf.FieldOptions options = 8; |
| 1172 bool has_options() const; | 1327 bool has_options() const; |
| 1173 void clear_options(); | 1328 void clear_options(); |
| 1174 static const int kOptionsFieldNumber = 8; | 1329 static const int kOptionsFieldNumber = 8; |
| 1175 const ::google::protobuf::FieldOptions& options() const; | 1330 const ::google::protobuf::FieldOptions& options() const; |
| 1176 ::google::protobuf::FieldOptions* mutable_options(); | 1331 ::google::protobuf::FieldOptions* mutable_options(); |
| 1177 ::google::protobuf::FieldOptions* release_options(); | 1332 ::google::protobuf::FieldOptions* release_options(); |
| 1178 void set_allocated_options(::google::protobuf::FieldOptions* options); | 1333 void set_allocated_options(::google::protobuf::FieldOptions* options); |
| 1179 | 1334 |
| 1180 // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto) | 1335 // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto) |
| 1181 private: | 1336 private: |
| 1182 inline void set_has_name(); | 1337 void set_has_name(); |
| 1183 inline void clear_has_name(); | 1338 void clear_has_name(); |
| 1184 inline void set_has_number(); | 1339 void set_has_number(); |
| 1185 inline void clear_has_number(); | 1340 void clear_has_number(); |
| 1186 inline void set_has_label(); | 1341 void set_has_label(); |
| 1187 inline void clear_has_label(); | 1342 void clear_has_label(); |
| 1188 inline void set_has_type(); | 1343 void set_has_type(); |
| 1189 inline void clear_has_type(); | 1344 void clear_has_type(); |
| 1190 inline void set_has_type_name(); | 1345 void set_has_type_name(); |
| 1191 inline void clear_has_type_name(); | 1346 void clear_has_type_name(); |
| 1192 inline void set_has_extendee(); | 1347 void set_has_extendee(); |
| 1193 inline void clear_has_extendee(); | 1348 void clear_has_extendee(); |
| 1194 inline void set_has_default_value(); | 1349 void set_has_default_value(); |
| 1195 inline void clear_has_default_value(); | 1350 void clear_has_default_value(); |
| 1196 inline void set_has_oneof_index(); | 1351 void set_has_oneof_index(); |
| 1197 inline void clear_has_oneof_index(); | 1352 void clear_has_oneof_index(); |
| 1198 inline void set_has_json_name(); | 1353 void set_has_json_name(); |
| 1199 inline void clear_has_json_name(); | 1354 void clear_has_json_name(); |
| 1200 inline void set_has_options(); | 1355 void set_has_options(); |
| 1201 inline void clear_has_options(); | 1356 void clear_has_options(); |
| 1202 | 1357 |
| 1203 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 1358 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1204 ::google::protobuf::uint32 _has_bits_[1]; | 1359 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 1205 mutable int _cached_size_; | 1360 mutable int _cached_size_; |
| 1206 ::google::protobuf::internal::ArenaStringPtr name_; | 1361 ::google::protobuf::internal::ArenaStringPtr name_; |
| 1207 ::google::protobuf::int32 number_; | |
| 1208 int label_; | |
| 1209 ::google::protobuf::internal::ArenaStringPtr type_name_; | 1362 ::google::protobuf::internal::ArenaStringPtr type_name_; |
| 1210 ::google::protobuf::internal::ArenaStringPtr extendee_; | 1363 ::google::protobuf::internal::ArenaStringPtr extendee_; |
| 1211 int type_; | |
| 1212 ::google::protobuf::int32 oneof_index_; | |
| 1213 ::google::protobuf::internal::ArenaStringPtr default_value_; | 1364 ::google::protobuf::internal::ArenaStringPtr default_value_; |
| 1214 ::google::protobuf::internal::ArenaStringPtr json_name_; | 1365 ::google::protobuf::internal::ArenaStringPtr json_name_; |
| 1215 ::google::protobuf::FieldOptions* options_; | 1366 ::google::protobuf::FieldOptions* options_; |
| 1216 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 1367 ::google::protobuf::int32 number_; |
| 1217 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 1368 ::google::protobuf::int32 oneof_index_; |
| 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(); |
| 1218 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 1374 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 1219 | 1375 |
| 1220 void InitAsDefaultInstance(); | |
| 1221 static FieldDescriptorProto* default_instance_; | |
| 1222 }; | 1376 }; |
| 1223 // ------------------------------------------------------------------- | 1377 // ------------------------------------------------------------------- |
| 1224 | 1378 |
| 1225 class LIBPROTOBUF_EXPORT OneofDescriptorProto : public ::google::protobuf::Messa
ge { | 1379 class LIBPROTOBUF_EXPORT OneofDescriptorProto : public ::google::protobuf::Messa
ge /* @@protoc_insertion_point(class_definition:google.protobuf.OneofDescriptorP
roto) */ { |
| 1226 public: | 1380 public: |
| 1227 OneofDescriptorProto(); | 1381 OneofDescriptorProto(); |
| 1228 virtual ~OneofDescriptorProto(); | 1382 virtual ~OneofDescriptorProto(); |
| 1229 | 1383 |
| 1230 OneofDescriptorProto(const OneofDescriptorProto& from); | 1384 OneofDescriptorProto(const OneofDescriptorProto& from); |
| 1231 | 1385 |
| 1232 inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) { | 1386 inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) { |
| 1233 CopyFrom(from); | 1387 CopyFrom(from); |
| 1234 return *this; | 1388 return *this; |
| 1235 } | 1389 } |
| 1236 | 1390 |
| 1237 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 1391 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 1238 return _internal_metadata_.unknown_fields(); | 1392 return _internal_metadata_.unknown_fields(); |
| 1239 } | 1393 } |
| 1240 | 1394 |
| 1241 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 1395 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 1242 return _internal_metadata_.mutable_unknown_fields(); | 1396 return _internal_metadata_.mutable_unknown_fields(); |
| 1243 } | 1397 } |
| 1244 | 1398 |
| 1245 static const ::google::protobuf::Descriptor* descriptor(); | 1399 static const ::google::protobuf::Descriptor* descriptor(); |
| 1246 static const OneofDescriptorProto& default_instance(); | 1400 static const OneofDescriptorProto& default_instance(); |
| 1247 | 1401 |
| 1402 static inline const OneofDescriptorProto* internal_default_instance() { |
| 1403 return reinterpret_cast<const OneofDescriptorProto*>( |
| 1404 &_OneofDescriptorProto_default_instance_); |
| 1405 } |
| 1406 |
| 1248 void Swap(OneofDescriptorProto* other); | 1407 void Swap(OneofDescriptorProto* other); |
| 1249 | 1408 |
| 1250 // implements Message ---------------------------------------------- | 1409 // implements Message ---------------------------------------------- |
| 1251 | 1410 |
| 1252 inline OneofDescriptorProto* New() const { return New(NULL); } | 1411 inline OneofDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); } |
| 1253 | 1412 |
| 1254 OneofDescriptorProto* New(::google::protobuf::Arena* arena) const; | 1413 OneofDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FIN
AL; |
| 1255 void CopyFrom(const ::google::protobuf::Message& from); | 1414 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 1256 void MergeFrom(const ::google::protobuf::Message& from); | 1415 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 1257 void CopyFrom(const OneofDescriptorProto& from); | 1416 void CopyFrom(const OneofDescriptorProto& from); |
| 1258 void MergeFrom(const OneofDescriptorProto& from); | 1417 void MergeFrom(const OneofDescriptorProto& from); |
| 1259 void Clear(); | 1418 void Clear() PROTOBUF_FINAL; |
| 1260 bool IsInitialized() const; | 1419 bool IsInitialized() const PROTOBUF_FINAL; |
| 1261 | 1420 |
| 1262 int ByteSize() const; | 1421 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 1263 bool MergePartialFromCodedStream( | 1422 bool MergePartialFromCodedStream( |
| 1264 ::google::protobuf::io::CodedInputStream* input); | 1423 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 1265 void SerializeWithCachedSizes( | 1424 void SerializeWithCachedSizes( |
| 1266 ::google::protobuf::io::CodedOutputStream* output) const; | 1425 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 1267 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 1426 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1268 int GetCachedSize() const { return _cached_size_; } | 1427 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 1269 private: | 1433 private: |
| 1270 void SharedCtor(); | 1434 void SharedCtor(); |
| 1271 void SharedDtor(); | 1435 void SharedDtor(); |
| 1272 void SetCachedSize(int size) const; | 1436 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 1273 void InternalSwap(OneofDescriptorProto* other); | 1437 void InternalSwap(OneofDescriptorProto* other); |
| 1274 private: | 1438 private: |
| 1275 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 1439 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1276 return _internal_metadata_.arena(); | 1440 return NULL; |
| 1277 } | 1441 } |
| 1278 inline void* MaybeArenaPtr() const { | 1442 inline void* MaybeArenaPtr() const { |
| 1279 return _internal_metadata_.raw_arena_ptr(); | 1443 return NULL; |
| 1280 } | 1444 } |
| 1281 public: | 1445 public: |
| 1282 | 1446 |
| 1283 ::google::protobuf::Metadata GetMetadata() const; | 1447 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 1284 | 1448 |
| 1285 // nested types ---------------------------------------------------- | 1449 // nested types ---------------------------------------------------- |
| 1286 | 1450 |
| 1287 // accessors ------------------------------------------------------- | 1451 // accessors ------------------------------------------------------- |
| 1288 | 1452 |
| 1289 // optional string name = 1; | 1453 // optional string name = 1; |
| 1290 bool has_name() const; | 1454 bool has_name() const; |
| 1291 void clear_name(); | 1455 void clear_name(); |
| 1292 static const int kNameFieldNumber = 1; | 1456 static const int kNameFieldNumber = 1; |
| 1293 const ::std::string& name() const; | 1457 const ::std::string& name() const; |
| 1294 void set_name(const ::std::string& value); | 1458 void set_name(const ::std::string& value); |
| 1459 #if LANG_CXX11 |
| 1460 void set_name(::std::string&& value); |
| 1461 #endif |
| 1295 void set_name(const char* value); | 1462 void set_name(const char* value); |
| 1296 void set_name(const char* value, size_t size); | 1463 void set_name(const char* value, size_t size); |
| 1297 ::std::string* mutable_name(); | 1464 ::std::string* mutable_name(); |
| 1298 ::std::string* release_name(); | 1465 ::std::string* release_name(); |
| 1299 void set_allocated_name(::std::string* name); | 1466 void set_allocated_name(::std::string* name); |
| 1300 | 1467 |
| 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 |
| 1301 // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto) | 1477 // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto) |
| 1302 private: | 1478 private: |
| 1303 inline void set_has_name(); | 1479 void set_has_name(); |
| 1304 inline void clear_has_name(); | 1480 void clear_has_name(); |
| 1481 void set_has_options(); |
| 1482 void clear_has_options(); |
| 1305 | 1483 |
| 1306 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 1484 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1307 ::google::protobuf::uint32 _has_bits_[1]; | 1485 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 1308 mutable int _cached_size_; | 1486 mutable int _cached_size_; |
| 1309 ::google::protobuf::internal::ArenaStringPtr name_; | 1487 ::google::protobuf::internal::ArenaStringPtr name_; |
| 1310 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 1488 ::google::protobuf::OneofOptions* options_; |
| 1311 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 1489 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 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(); |
| 1312 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 1492 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 1313 | 1493 |
| 1314 void InitAsDefaultInstance(); | |
| 1315 static OneofDescriptorProto* default_instance_; | |
| 1316 }; | 1494 }; |
| 1317 // ------------------------------------------------------------------- | 1495 // ------------------------------------------------------------------- |
| 1318 | 1496 |
| 1319 class LIBPROTOBUF_EXPORT EnumDescriptorProto : public ::google::protobuf::Messag
e { | 1497 class LIBPROTOBUF_EXPORT EnumDescriptorProto : public ::google::protobuf::Messag
e /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorPro
to) */ { |
| 1320 public: | 1498 public: |
| 1321 EnumDescriptorProto(); | 1499 EnumDescriptorProto(); |
| 1322 virtual ~EnumDescriptorProto(); | 1500 virtual ~EnumDescriptorProto(); |
| 1323 | 1501 |
| 1324 EnumDescriptorProto(const EnumDescriptorProto& from); | 1502 EnumDescriptorProto(const EnumDescriptorProto& from); |
| 1325 | 1503 |
| 1326 inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) { | 1504 inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) { |
| 1327 CopyFrom(from); | 1505 CopyFrom(from); |
| 1328 return *this; | 1506 return *this; |
| 1329 } | 1507 } |
| 1330 | 1508 |
| 1331 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 1509 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 1332 return _internal_metadata_.unknown_fields(); | 1510 return _internal_metadata_.unknown_fields(); |
| 1333 } | 1511 } |
| 1334 | 1512 |
| 1335 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 1513 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 1336 return _internal_metadata_.mutable_unknown_fields(); | 1514 return _internal_metadata_.mutable_unknown_fields(); |
| 1337 } | 1515 } |
| 1338 | 1516 |
| 1339 static const ::google::protobuf::Descriptor* descriptor(); | 1517 static const ::google::protobuf::Descriptor* descriptor(); |
| 1340 static const EnumDescriptorProto& default_instance(); | 1518 static const EnumDescriptorProto& default_instance(); |
| 1341 | 1519 |
| 1520 static inline const EnumDescriptorProto* internal_default_instance() { |
| 1521 return reinterpret_cast<const EnumDescriptorProto*>( |
| 1522 &_EnumDescriptorProto_default_instance_); |
| 1523 } |
| 1524 |
| 1342 void Swap(EnumDescriptorProto* other); | 1525 void Swap(EnumDescriptorProto* other); |
| 1343 | 1526 |
| 1344 // implements Message ---------------------------------------------- | 1527 // implements Message ---------------------------------------------- |
| 1345 | 1528 |
| 1346 inline EnumDescriptorProto* New() const { return New(NULL); } | 1529 inline EnumDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); } |
| 1347 | 1530 |
| 1348 EnumDescriptorProto* New(::google::protobuf::Arena* arena) const; | 1531 EnumDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINA
L; |
| 1349 void CopyFrom(const ::google::protobuf::Message& from); | 1532 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 1350 void MergeFrom(const ::google::protobuf::Message& from); | 1533 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 1351 void CopyFrom(const EnumDescriptorProto& from); | 1534 void CopyFrom(const EnumDescriptorProto& from); |
| 1352 void MergeFrom(const EnumDescriptorProto& from); | 1535 void MergeFrom(const EnumDescriptorProto& from); |
| 1353 void Clear(); | 1536 void Clear() PROTOBUF_FINAL; |
| 1354 bool IsInitialized() const; | 1537 bool IsInitialized() const PROTOBUF_FINAL; |
| 1355 | 1538 |
| 1356 int ByteSize() const; | 1539 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 1357 bool MergePartialFromCodedStream( | 1540 bool MergePartialFromCodedStream( |
| 1358 ::google::protobuf::io::CodedInputStream* input); | 1541 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 1359 void SerializeWithCachedSizes( | 1542 void SerializeWithCachedSizes( |
| 1360 ::google::protobuf::io::CodedOutputStream* output) const; | 1543 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 1361 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 1544 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1362 int GetCachedSize() const { return _cached_size_; } | 1545 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 1363 private: | 1551 private: |
| 1364 void SharedCtor(); | 1552 void SharedCtor(); |
| 1365 void SharedDtor(); | 1553 void SharedDtor(); |
| 1366 void SetCachedSize(int size) const; | 1554 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 1367 void InternalSwap(EnumDescriptorProto* other); | 1555 void InternalSwap(EnumDescriptorProto* other); |
| 1368 private: | 1556 private: |
| 1369 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 1557 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1370 return _internal_metadata_.arena(); | 1558 return NULL; |
| 1371 } | 1559 } |
| 1372 inline void* MaybeArenaPtr() const { | 1560 inline void* MaybeArenaPtr() const { |
| 1373 return _internal_metadata_.raw_arena_ptr(); | 1561 return NULL; |
| 1374 } | 1562 } |
| 1375 public: | 1563 public: |
| 1376 | 1564 |
| 1377 ::google::protobuf::Metadata GetMetadata() const; | 1565 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 1378 | 1566 |
| 1379 // nested types ---------------------------------------------------- | 1567 // nested types ---------------------------------------------------- |
| 1380 | 1568 |
| 1381 // accessors ------------------------------------------------------- | 1569 // accessors ------------------------------------------------------- |
| 1382 | 1570 |
| 1383 // optional string name = 1; | 1571 // optional string name = 1; |
| 1384 bool has_name() const; | 1572 bool has_name() const; |
| 1385 void clear_name(); | 1573 void clear_name(); |
| 1386 static const int kNameFieldNumber = 1; | 1574 static const int kNameFieldNumber = 1; |
| 1387 const ::std::string& name() const; | 1575 const ::std::string& name() const; |
| 1388 void set_name(const ::std::string& value); | 1576 void set_name(const ::std::string& value); |
| 1577 #if LANG_CXX11 |
| 1578 void set_name(::std::string&& value); |
| 1579 #endif |
| 1389 void set_name(const char* value); | 1580 void set_name(const char* value); |
| 1390 void set_name(const char* value, size_t size); | 1581 void set_name(const char* value, size_t size); |
| 1391 ::std::string* mutable_name(); | 1582 ::std::string* mutable_name(); |
| 1392 ::std::string* release_name(); | 1583 ::std::string* release_name(); |
| 1393 void set_allocated_name(::std::string* name); | 1584 void set_allocated_name(::std::string* name); |
| 1394 | 1585 |
| 1395 // repeated .google.protobuf.EnumValueDescriptorProto value = 2; | 1586 // repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
| 1396 int value_size() const; | 1587 int value_size() const; |
| 1397 void clear_value(); | 1588 void clear_value(); |
| 1398 static const int kValueFieldNumber = 2; | 1589 static const int kValueFieldNumber = 2; |
| 1399 const ::google::protobuf::EnumValueDescriptorProto& value(int index) const; | 1590 const ::google::protobuf::EnumValueDescriptorProto& value(int index) const; |
| 1400 ::google::protobuf::EnumValueDescriptorProto* mutable_value(int index); | 1591 ::google::protobuf::EnumValueDescriptorProto* mutable_value(int index); |
| 1401 ::google::protobuf::EnumValueDescriptorProto* add_value(); | 1592 ::google::protobuf::EnumValueDescriptorProto* add_value(); |
| 1402 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorP
roto >* | 1593 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorP
roto >* |
| 1403 mutable_value(); | 1594 mutable_value(); |
| 1404 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescr
iptorProto >& | 1595 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescr
iptorProto >& |
| 1405 value() const; | 1596 value() const; |
| 1406 | 1597 |
| 1407 // optional .google.protobuf.EnumOptions options = 3; | 1598 // optional .google.protobuf.EnumOptions options = 3; |
| 1408 bool has_options() const; | 1599 bool has_options() const; |
| 1409 void clear_options(); | 1600 void clear_options(); |
| 1410 static const int kOptionsFieldNumber = 3; | 1601 static const int kOptionsFieldNumber = 3; |
| 1411 const ::google::protobuf::EnumOptions& options() const; | 1602 const ::google::protobuf::EnumOptions& options() const; |
| 1412 ::google::protobuf::EnumOptions* mutable_options(); | 1603 ::google::protobuf::EnumOptions* mutable_options(); |
| 1413 ::google::protobuf::EnumOptions* release_options(); | 1604 ::google::protobuf::EnumOptions* release_options(); |
| 1414 void set_allocated_options(::google::protobuf::EnumOptions* options); | 1605 void set_allocated_options(::google::protobuf::EnumOptions* options); |
| 1415 | 1606 |
| 1416 // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto) | 1607 // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto) |
| 1417 private: | 1608 private: |
| 1418 inline void set_has_name(); | 1609 void set_has_name(); |
| 1419 inline void clear_has_name(); | 1610 void clear_has_name(); |
| 1420 inline void set_has_options(); | 1611 void set_has_options(); |
| 1421 inline void clear_has_options(); | 1612 void clear_has_options(); |
| 1422 | 1613 |
| 1423 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 1614 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1424 ::google::protobuf::uint32 _has_bits_[1]; | 1615 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 1425 mutable int _cached_size_; | 1616 mutable int _cached_size_; |
| 1617 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorP
roto > value_; |
| 1426 ::google::protobuf::internal::ArenaStringPtr name_; | 1618 ::google::protobuf::internal::ArenaStringPtr name_; |
| 1427 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorP
roto > value_; | |
| 1428 ::google::protobuf::EnumOptions* options_; | 1619 ::google::protobuf::EnumOptions* options_; |
| 1429 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 1620 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 1430 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 1621 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); |
| 1622 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); |
| 1431 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 1623 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 1432 | 1624 |
| 1433 void InitAsDefaultInstance(); | |
| 1434 static EnumDescriptorProto* default_instance_; | |
| 1435 }; | 1625 }; |
| 1436 // ------------------------------------------------------------------- | 1626 // ------------------------------------------------------------------- |
| 1437 | 1627 |
| 1438 class LIBPROTOBUF_EXPORT EnumValueDescriptorProto : public ::google::protobuf::M
essage { | 1628 class LIBPROTOBUF_EXPORT EnumValueDescriptorProto : public ::google::protobuf::M
essage /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueDes
criptorProto) */ { |
| 1439 public: | 1629 public: |
| 1440 EnumValueDescriptorProto(); | 1630 EnumValueDescriptorProto(); |
| 1441 virtual ~EnumValueDescriptorProto(); | 1631 virtual ~EnumValueDescriptorProto(); |
| 1442 | 1632 |
| 1443 EnumValueDescriptorProto(const EnumValueDescriptorProto& from); | 1633 EnumValueDescriptorProto(const EnumValueDescriptorProto& from); |
| 1444 | 1634 |
| 1445 inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& fro
m) { | 1635 inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& fro
m) { |
| 1446 CopyFrom(from); | 1636 CopyFrom(from); |
| 1447 return *this; | 1637 return *this; |
| 1448 } | 1638 } |
| 1449 | 1639 |
| 1450 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 1640 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 1451 return _internal_metadata_.unknown_fields(); | 1641 return _internal_metadata_.unknown_fields(); |
| 1452 } | 1642 } |
| 1453 | 1643 |
| 1454 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 1644 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 1455 return _internal_metadata_.mutable_unknown_fields(); | 1645 return _internal_metadata_.mutable_unknown_fields(); |
| 1456 } | 1646 } |
| 1457 | 1647 |
| 1458 static const ::google::protobuf::Descriptor* descriptor(); | 1648 static const ::google::protobuf::Descriptor* descriptor(); |
| 1459 static const EnumValueDescriptorProto& default_instance(); | 1649 static const EnumValueDescriptorProto& default_instance(); |
| 1460 | 1650 |
| 1651 static inline const EnumValueDescriptorProto* internal_default_instance() { |
| 1652 return reinterpret_cast<const EnumValueDescriptorProto*>( |
| 1653 &_EnumValueDescriptorProto_default_instance_); |
| 1654 } |
| 1655 |
| 1461 void Swap(EnumValueDescriptorProto* other); | 1656 void Swap(EnumValueDescriptorProto* other); |
| 1462 | 1657 |
| 1463 // implements Message ---------------------------------------------- | 1658 // implements Message ---------------------------------------------- |
| 1464 | 1659 |
| 1465 inline EnumValueDescriptorProto* New() const { return New(NULL); } | 1660 inline EnumValueDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL)
; } |
| 1466 | 1661 |
| 1467 EnumValueDescriptorProto* New(::google::protobuf::Arena* arena) const; | 1662 EnumValueDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF
_FINAL; |
| 1468 void CopyFrom(const ::google::protobuf::Message& from); | 1663 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 1469 void MergeFrom(const ::google::protobuf::Message& from); | 1664 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 1470 void CopyFrom(const EnumValueDescriptorProto& from); | 1665 void CopyFrom(const EnumValueDescriptorProto& from); |
| 1471 void MergeFrom(const EnumValueDescriptorProto& from); | 1666 void MergeFrom(const EnumValueDescriptorProto& from); |
| 1472 void Clear(); | 1667 void Clear() PROTOBUF_FINAL; |
| 1473 bool IsInitialized() const; | 1668 bool IsInitialized() const PROTOBUF_FINAL; |
| 1474 | 1669 |
| 1475 int ByteSize() const; | 1670 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 1476 bool MergePartialFromCodedStream( | 1671 bool MergePartialFromCodedStream( |
| 1477 ::google::protobuf::io::CodedInputStream* input); | 1672 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 1478 void SerializeWithCachedSizes( | 1673 void SerializeWithCachedSizes( |
| 1479 ::google::protobuf::io::CodedOutputStream* output) const; | 1674 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 1480 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 1675 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1481 int GetCachedSize() const { return _cached_size_; } | 1676 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 1482 private: | 1682 private: |
| 1483 void SharedCtor(); | 1683 void SharedCtor(); |
| 1484 void SharedDtor(); | 1684 void SharedDtor(); |
| 1485 void SetCachedSize(int size) const; | 1685 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 1486 void InternalSwap(EnumValueDescriptorProto* other); | 1686 void InternalSwap(EnumValueDescriptorProto* other); |
| 1487 private: | 1687 private: |
| 1488 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 1688 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1489 return _internal_metadata_.arena(); | 1689 return NULL; |
| 1490 } | 1690 } |
| 1491 inline void* MaybeArenaPtr() const { | 1691 inline void* MaybeArenaPtr() const { |
| 1492 return _internal_metadata_.raw_arena_ptr(); | 1692 return NULL; |
| 1493 } | 1693 } |
| 1494 public: | 1694 public: |
| 1495 | 1695 |
| 1496 ::google::protobuf::Metadata GetMetadata() const; | 1696 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 1497 | 1697 |
| 1498 // nested types ---------------------------------------------------- | 1698 // nested types ---------------------------------------------------- |
| 1499 | 1699 |
| 1500 // accessors ------------------------------------------------------- | 1700 // accessors ------------------------------------------------------- |
| 1501 | 1701 |
| 1502 // optional string name = 1; | 1702 // optional string name = 1; |
| 1503 bool has_name() const; | 1703 bool has_name() const; |
| 1504 void clear_name(); | 1704 void clear_name(); |
| 1505 static const int kNameFieldNumber = 1; | 1705 static const int kNameFieldNumber = 1; |
| 1506 const ::std::string& name() const; | 1706 const ::std::string& name() const; |
| 1507 void set_name(const ::std::string& value); | 1707 void set_name(const ::std::string& value); |
| 1708 #if LANG_CXX11 |
| 1709 void set_name(::std::string&& value); |
| 1710 #endif |
| 1508 void set_name(const char* value); | 1711 void set_name(const char* value); |
| 1509 void set_name(const char* value, size_t size); | 1712 void set_name(const char* value, size_t size); |
| 1510 ::std::string* mutable_name(); | 1713 ::std::string* mutable_name(); |
| 1511 ::std::string* release_name(); | 1714 ::std::string* release_name(); |
| 1512 void set_allocated_name(::std::string* name); | 1715 void set_allocated_name(::std::string* name); |
| 1513 | 1716 |
| 1514 // optional int32 number = 2; | 1717 // optional int32 number = 2; |
| 1515 bool has_number() const; | 1718 bool has_number() const; |
| 1516 void clear_number(); | 1719 void clear_number(); |
| 1517 static const int kNumberFieldNumber = 2; | 1720 static const int kNumberFieldNumber = 2; |
| 1518 ::google::protobuf::int32 number() const; | 1721 ::google::protobuf::int32 number() const; |
| 1519 void set_number(::google::protobuf::int32 value); | 1722 void set_number(::google::protobuf::int32 value); |
| 1520 | 1723 |
| 1521 // optional .google.protobuf.EnumValueOptions options = 3; | 1724 // optional .google.protobuf.EnumValueOptions options = 3; |
| 1522 bool has_options() const; | 1725 bool has_options() const; |
| 1523 void clear_options(); | 1726 void clear_options(); |
| 1524 static const int kOptionsFieldNumber = 3; | 1727 static const int kOptionsFieldNumber = 3; |
| 1525 const ::google::protobuf::EnumValueOptions& options() const; | 1728 const ::google::protobuf::EnumValueOptions& options() const; |
| 1526 ::google::protobuf::EnumValueOptions* mutable_options(); | 1729 ::google::protobuf::EnumValueOptions* mutable_options(); |
| 1527 ::google::protobuf::EnumValueOptions* release_options(); | 1730 ::google::protobuf::EnumValueOptions* release_options(); |
| 1528 void set_allocated_options(::google::protobuf::EnumValueOptions* options); | 1731 void set_allocated_options(::google::protobuf::EnumValueOptions* options); |
| 1529 | 1732 |
| 1530 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorPro
to) | 1733 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorPro
to) |
| 1531 private: | 1734 private: |
| 1532 inline void set_has_name(); | 1735 void set_has_name(); |
| 1533 inline void clear_has_name(); | 1736 void clear_has_name(); |
| 1534 inline void set_has_number(); | 1737 void set_has_number(); |
| 1535 inline void clear_has_number(); | 1738 void clear_has_number(); |
| 1536 inline void set_has_options(); | 1739 void set_has_options(); |
| 1537 inline void clear_has_options(); | 1740 void clear_has_options(); |
| 1538 | 1741 |
| 1539 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 1742 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1540 ::google::protobuf::uint32 _has_bits_[1]; | 1743 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 1541 mutable int _cached_size_; | 1744 mutable int _cached_size_; |
| 1542 ::google::protobuf::internal::ArenaStringPtr name_; | 1745 ::google::protobuf::internal::ArenaStringPtr name_; |
| 1543 ::google::protobuf::EnumValueOptions* options_; | 1746 ::google::protobuf::EnumValueOptions* options_; |
| 1544 ::google::protobuf::int32 number_; | 1747 ::google::protobuf::int32 number_; |
| 1545 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 1748 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 1546 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 1749 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); |
| 1750 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); |
| 1547 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 1751 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 1548 | 1752 |
| 1549 void InitAsDefaultInstance(); | |
| 1550 static EnumValueDescriptorProto* default_instance_; | |
| 1551 }; | 1753 }; |
| 1552 // ------------------------------------------------------------------- | 1754 // ------------------------------------------------------------------- |
| 1553 | 1755 |
| 1554 class LIBPROTOBUF_EXPORT ServiceDescriptorProto : public ::google::protobuf::Mes
sage { | 1756 class LIBPROTOBUF_EXPORT ServiceDescriptorProto : public ::google::protobuf::Mes
sage /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceDescrip
torProto) */ { |
| 1555 public: | 1757 public: |
| 1556 ServiceDescriptorProto(); | 1758 ServiceDescriptorProto(); |
| 1557 virtual ~ServiceDescriptorProto(); | 1759 virtual ~ServiceDescriptorProto(); |
| 1558 | 1760 |
| 1559 ServiceDescriptorProto(const ServiceDescriptorProto& from); | 1761 ServiceDescriptorProto(const ServiceDescriptorProto& from); |
| 1560 | 1762 |
| 1561 inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) { | 1763 inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) { |
| 1562 CopyFrom(from); | 1764 CopyFrom(from); |
| 1563 return *this; | 1765 return *this; |
| 1564 } | 1766 } |
| 1565 | 1767 |
| 1566 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 1768 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 1567 return _internal_metadata_.unknown_fields(); | 1769 return _internal_metadata_.unknown_fields(); |
| 1568 } | 1770 } |
| 1569 | 1771 |
| 1570 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 1772 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 1571 return _internal_metadata_.mutable_unknown_fields(); | 1773 return _internal_metadata_.mutable_unknown_fields(); |
| 1572 } | 1774 } |
| 1573 | 1775 |
| 1574 static const ::google::protobuf::Descriptor* descriptor(); | 1776 static const ::google::protobuf::Descriptor* descriptor(); |
| 1575 static const ServiceDescriptorProto& default_instance(); | 1777 static const ServiceDescriptorProto& default_instance(); |
| 1576 | 1778 |
| 1779 static inline const ServiceDescriptorProto* internal_default_instance() { |
| 1780 return reinterpret_cast<const ServiceDescriptorProto*>( |
| 1781 &_ServiceDescriptorProto_default_instance_); |
| 1782 } |
| 1783 |
| 1577 void Swap(ServiceDescriptorProto* other); | 1784 void Swap(ServiceDescriptorProto* other); |
| 1578 | 1785 |
| 1579 // implements Message ---------------------------------------------- | 1786 // implements Message ---------------------------------------------- |
| 1580 | 1787 |
| 1581 inline ServiceDescriptorProto* New() const { return New(NULL); } | 1788 inline ServiceDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL);
} |
| 1582 | 1789 |
| 1583 ServiceDescriptorProto* New(::google::protobuf::Arena* arena) const; | 1790 ServiceDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_F
INAL; |
| 1584 void CopyFrom(const ::google::protobuf::Message& from); | 1791 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 1585 void MergeFrom(const ::google::protobuf::Message& from); | 1792 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 1586 void CopyFrom(const ServiceDescriptorProto& from); | 1793 void CopyFrom(const ServiceDescriptorProto& from); |
| 1587 void MergeFrom(const ServiceDescriptorProto& from); | 1794 void MergeFrom(const ServiceDescriptorProto& from); |
| 1588 void Clear(); | 1795 void Clear() PROTOBUF_FINAL; |
| 1589 bool IsInitialized() const; | 1796 bool IsInitialized() const PROTOBUF_FINAL; |
| 1590 | 1797 |
| 1591 int ByteSize() const; | 1798 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 1592 bool MergePartialFromCodedStream( | 1799 bool MergePartialFromCodedStream( |
| 1593 ::google::protobuf::io::CodedInputStream* input); | 1800 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 1594 void SerializeWithCachedSizes( | 1801 void SerializeWithCachedSizes( |
| 1595 ::google::protobuf::io::CodedOutputStream* output) const; | 1802 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 1596 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 1803 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1597 int GetCachedSize() const { return _cached_size_; } | 1804 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 1598 private: | 1810 private: |
| 1599 void SharedCtor(); | 1811 void SharedCtor(); |
| 1600 void SharedDtor(); | 1812 void SharedDtor(); |
| 1601 void SetCachedSize(int size) const; | 1813 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 1602 void InternalSwap(ServiceDescriptorProto* other); | 1814 void InternalSwap(ServiceDescriptorProto* other); |
| 1603 private: | 1815 private: |
| 1604 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 1816 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1605 return _internal_metadata_.arena(); | 1817 return NULL; |
| 1606 } | 1818 } |
| 1607 inline void* MaybeArenaPtr() const { | 1819 inline void* MaybeArenaPtr() const { |
| 1608 return _internal_metadata_.raw_arena_ptr(); | 1820 return NULL; |
| 1609 } | 1821 } |
| 1610 public: | 1822 public: |
| 1611 | 1823 |
| 1612 ::google::protobuf::Metadata GetMetadata() const; | 1824 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 1613 | 1825 |
| 1614 // nested types ---------------------------------------------------- | 1826 // nested types ---------------------------------------------------- |
| 1615 | 1827 |
| 1616 // accessors ------------------------------------------------------- | 1828 // accessors ------------------------------------------------------- |
| 1617 | 1829 |
| 1618 // optional string name = 1; | 1830 // optional string name = 1; |
| 1619 bool has_name() const; | 1831 bool has_name() const; |
| 1620 void clear_name(); | 1832 void clear_name(); |
| 1621 static const int kNameFieldNumber = 1; | 1833 static const int kNameFieldNumber = 1; |
| 1622 const ::std::string& name() const; | 1834 const ::std::string& name() const; |
| 1623 void set_name(const ::std::string& value); | 1835 void set_name(const ::std::string& value); |
| 1836 #if LANG_CXX11 |
| 1837 void set_name(::std::string&& value); |
| 1838 #endif |
| 1624 void set_name(const char* value); | 1839 void set_name(const char* value); |
| 1625 void set_name(const char* value, size_t size); | 1840 void set_name(const char* value, size_t size); |
| 1626 ::std::string* mutable_name(); | 1841 ::std::string* mutable_name(); |
| 1627 ::std::string* release_name(); | 1842 ::std::string* release_name(); |
| 1628 void set_allocated_name(::std::string* name); | 1843 void set_allocated_name(::std::string* name); |
| 1629 | 1844 |
| 1630 // repeated .google.protobuf.MethodDescriptorProto method = 2; | 1845 // repeated .google.protobuf.MethodDescriptorProto method = 2; |
| 1631 int method_size() const; | 1846 int method_size() const; |
| 1632 void clear_method(); | 1847 void clear_method(); |
| 1633 static const int kMethodFieldNumber = 2; | 1848 static const int kMethodFieldNumber = 2; |
| 1634 const ::google::protobuf::MethodDescriptorProto& method(int index) const; | 1849 const ::google::protobuf::MethodDescriptorProto& method(int index) const; |
| 1635 ::google::protobuf::MethodDescriptorProto* mutable_method(int index); | 1850 ::google::protobuf::MethodDescriptorProto* mutable_method(int index); |
| 1636 ::google::protobuf::MethodDescriptorProto* add_method(); | 1851 ::google::protobuf::MethodDescriptorProto* add_method(); |
| 1637 ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProt
o >* | 1852 ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProt
o >* |
| 1638 mutable_method(); | 1853 mutable_method(); |
| 1639 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescript
orProto >& | 1854 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescript
orProto >& |
| 1640 method() const; | 1855 method() const; |
| 1641 | 1856 |
| 1642 // optional .google.protobuf.ServiceOptions options = 3; | 1857 // optional .google.protobuf.ServiceOptions options = 3; |
| 1643 bool has_options() const; | 1858 bool has_options() const; |
| 1644 void clear_options(); | 1859 void clear_options(); |
| 1645 static const int kOptionsFieldNumber = 3; | 1860 static const int kOptionsFieldNumber = 3; |
| 1646 const ::google::protobuf::ServiceOptions& options() const; | 1861 const ::google::protobuf::ServiceOptions& options() const; |
| 1647 ::google::protobuf::ServiceOptions* mutable_options(); | 1862 ::google::protobuf::ServiceOptions* mutable_options(); |
| 1648 ::google::protobuf::ServiceOptions* release_options(); | 1863 ::google::protobuf::ServiceOptions* release_options(); |
| 1649 void set_allocated_options(::google::protobuf::ServiceOptions* options); | 1864 void set_allocated_options(::google::protobuf::ServiceOptions* options); |
| 1650 | 1865 |
| 1651 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto
) | 1866 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto
) |
| 1652 private: | 1867 private: |
| 1653 inline void set_has_name(); | 1868 void set_has_name(); |
| 1654 inline void clear_has_name(); | 1869 void clear_has_name(); |
| 1655 inline void set_has_options(); | 1870 void set_has_options(); |
| 1656 inline void clear_has_options(); | 1871 void clear_has_options(); |
| 1657 | 1872 |
| 1658 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 1873 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1659 ::google::protobuf::uint32 _has_bits_[1]; | 1874 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 1660 mutable int _cached_size_; | 1875 mutable int _cached_size_; |
| 1876 ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProt
o > method_; |
| 1661 ::google::protobuf::internal::ArenaStringPtr name_; | 1877 ::google::protobuf::internal::ArenaStringPtr name_; |
| 1662 ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProt
o > method_; | |
| 1663 ::google::protobuf::ServiceOptions* options_; | 1878 ::google::protobuf::ServiceOptions* options_; |
| 1664 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 1879 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 1665 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 1880 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); |
| 1881 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); |
| 1666 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 1882 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 1667 | 1883 |
| 1668 void InitAsDefaultInstance(); | |
| 1669 static ServiceDescriptorProto* default_instance_; | |
| 1670 }; | 1884 }; |
| 1671 // ------------------------------------------------------------------- | 1885 // ------------------------------------------------------------------- |
| 1672 | 1886 |
| 1673 class LIBPROTOBUF_EXPORT MethodDescriptorProto : public ::google::protobuf::Mess
age { | 1887 class LIBPROTOBUF_EXPORT MethodDescriptorProto : public ::google::protobuf::Mess
age /* @@protoc_insertion_point(class_definition:google.protobuf.MethodDescripto
rProto) */ { |
| 1674 public: | 1888 public: |
| 1675 MethodDescriptorProto(); | 1889 MethodDescriptorProto(); |
| 1676 virtual ~MethodDescriptorProto(); | 1890 virtual ~MethodDescriptorProto(); |
| 1677 | 1891 |
| 1678 MethodDescriptorProto(const MethodDescriptorProto& from); | 1892 MethodDescriptorProto(const MethodDescriptorProto& from); |
| 1679 | 1893 |
| 1680 inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) { | 1894 inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) { |
| 1681 CopyFrom(from); | 1895 CopyFrom(from); |
| 1682 return *this; | 1896 return *this; |
| 1683 } | 1897 } |
| 1684 | 1898 |
| 1685 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 1899 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 1686 return _internal_metadata_.unknown_fields(); | 1900 return _internal_metadata_.unknown_fields(); |
| 1687 } | 1901 } |
| 1688 | 1902 |
| 1689 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 1903 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 1690 return _internal_metadata_.mutable_unknown_fields(); | 1904 return _internal_metadata_.mutable_unknown_fields(); |
| 1691 } | 1905 } |
| 1692 | 1906 |
| 1693 static const ::google::protobuf::Descriptor* descriptor(); | 1907 static const ::google::protobuf::Descriptor* descriptor(); |
| 1694 static const MethodDescriptorProto& default_instance(); | 1908 static const MethodDescriptorProto& default_instance(); |
| 1695 | 1909 |
| 1910 static inline const MethodDescriptorProto* internal_default_instance() { |
| 1911 return reinterpret_cast<const MethodDescriptorProto*>( |
| 1912 &_MethodDescriptorProto_default_instance_); |
| 1913 } |
| 1914 |
| 1696 void Swap(MethodDescriptorProto* other); | 1915 void Swap(MethodDescriptorProto* other); |
| 1697 | 1916 |
| 1698 // implements Message ---------------------------------------------- | 1917 // implements Message ---------------------------------------------- |
| 1699 | 1918 |
| 1700 inline MethodDescriptorProto* New() const { return New(NULL); } | 1919 inline MethodDescriptorProto* New() const PROTOBUF_FINAL { return New(NULL); } |
| 1701 | 1920 |
| 1702 MethodDescriptorProto* New(::google::protobuf::Arena* arena) const; | 1921 MethodDescriptorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FI
NAL; |
| 1703 void CopyFrom(const ::google::protobuf::Message& from); | 1922 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 1704 void MergeFrom(const ::google::protobuf::Message& from); | 1923 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 1705 void CopyFrom(const MethodDescriptorProto& from); | 1924 void CopyFrom(const MethodDescriptorProto& from); |
| 1706 void MergeFrom(const MethodDescriptorProto& from); | 1925 void MergeFrom(const MethodDescriptorProto& from); |
| 1707 void Clear(); | 1926 void Clear() PROTOBUF_FINAL; |
| 1708 bool IsInitialized() const; | 1927 bool IsInitialized() const PROTOBUF_FINAL; |
| 1709 | 1928 |
| 1710 int ByteSize() const; | 1929 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 1711 bool MergePartialFromCodedStream( | 1930 bool MergePartialFromCodedStream( |
| 1712 ::google::protobuf::io::CodedInputStream* input); | 1931 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 1713 void SerializeWithCachedSizes( | 1932 void SerializeWithCachedSizes( |
| 1714 ::google::protobuf::io::CodedOutputStream* output) const; | 1933 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 1715 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 1934 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1716 int GetCachedSize() const { return _cached_size_; } | 1935 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 1717 private: | 1941 private: |
| 1718 void SharedCtor(); | 1942 void SharedCtor(); |
| 1719 void SharedDtor(); | 1943 void SharedDtor(); |
| 1720 void SetCachedSize(int size) const; | 1944 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 1721 void InternalSwap(MethodDescriptorProto* other); | 1945 void InternalSwap(MethodDescriptorProto* other); |
| 1722 private: | 1946 private: |
| 1723 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 1947 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1724 return _internal_metadata_.arena(); | 1948 return NULL; |
| 1725 } | 1949 } |
| 1726 inline void* MaybeArenaPtr() const { | 1950 inline void* MaybeArenaPtr() const { |
| 1727 return _internal_metadata_.raw_arena_ptr(); | 1951 return NULL; |
| 1728 } | 1952 } |
| 1729 public: | 1953 public: |
| 1730 | 1954 |
| 1731 ::google::protobuf::Metadata GetMetadata() const; | 1955 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 1732 | 1956 |
| 1733 // nested types ---------------------------------------------------- | 1957 // nested types ---------------------------------------------------- |
| 1734 | 1958 |
| 1735 // accessors ------------------------------------------------------- | 1959 // accessors ------------------------------------------------------- |
| 1736 | 1960 |
| 1737 // optional string name = 1; | 1961 // optional string name = 1; |
| 1738 bool has_name() const; | 1962 bool has_name() const; |
| 1739 void clear_name(); | 1963 void clear_name(); |
| 1740 static const int kNameFieldNumber = 1; | 1964 static const int kNameFieldNumber = 1; |
| 1741 const ::std::string& name() const; | 1965 const ::std::string& name() const; |
| 1742 void set_name(const ::std::string& value); | 1966 void set_name(const ::std::string& value); |
| 1967 #if LANG_CXX11 |
| 1968 void set_name(::std::string&& value); |
| 1969 #endif |
| 1743 void set_name(const char* value); | 1970 void set_name(const char* value); |
| 1744 void set_name(const char* value, size_t size); | 1971 void set_name(const char* value, size_t size); |
| 1745 ::std::string* mutable_name(); | 1972 ::std::string* mutable_name(); |
| 1746 ::std::string* release_name(); | 1973 ::std::string* release_name(); |
| 1747 void set_allocated_name(::std::string* name); | 1974 void set_allocated_name(::std::string* name); |
| 1748 | 1975 |
| 1749 // optional string input_type = 2; | 1976 // optional string input_type = 2; |
| 1750 bool has_input_type() const; | 1977 bool has_input_type() const; |
| 1751 void clear_input_type(); | 1978 void clear_input_type(); |
| 1752 static const int kInputTypeFieldNumber = 2; | 1979 static const int kInputTypeFieldNumber = 2; |
| 1753 const ::std::string& input_type() const; | 1980 const ::std::string& input_type() const; |
| 1754 void set_input_type(const ::std::string& value); | 1981 void set_input_type(const ::std::string& value); |
| 1982 #if LANG_CXX11 |
| 1983 void set_input_type(::std::string&& value); |
| 1984 #endif |
| 1755 void set_input_type(const char* value); | 1985 void set_input_type(const char* value); |
| 1756 void set_input_type(const char* value, size_t size); | 1986 void set_input_type(const char* value, size_t size); |
| 1757 ::std::string* mutable_input_type(); | 1987 ::std::string* mutable_input_type(); |
| 1758 ::std::string* release_input_type(); | 1988 ::std::string* release_input_type(); |
| 1759 void set_allocated_input_type(::std::string* input_type); | 1989 void set_allocated_input_type(::std::string* input_type); |
| 1760 | 1990 |
| 1761 // optional string output_type = 3; | 1991 // optional string output_type = 3; |
| 1762 bool has_output_type() const; | 1992 bool has_output_type() const; |
| 1763 void clear_output_type(); | 1993 void clear_output_type(); |
| 1764 static const int kOutputTypeFieldNumber = 3; | 1994 static const int kOutputTypeFieldNumber = 3; |
| 1765 const ::std::string& output_type() const; | 1995 const ::std::string& output_type() const; |
| 1766 void set_output_type(const ::std::string& value); | 1996 void set_output_type(const ::std::string& value); |
| 1997 #if LANG_CXX11 |
| 1998 void set_output_type(::std::string&& value); |
| 1999 #endif |
| 1767 void set_output_type(const char* value); | 2000 void set_output_type(const char* value); |
| 1768 void set_output_type(const char* value, size_t size); | 2001 void set_output_type(const char* value, size_t size); |
| 1769 ::std::string* mutable_output_type(); | 2002 ::std::string* mutable_output_type(); |
| 1770 ::std::string* release_output_type(); | 2003 ::std::string* release_output_type(); |
| 1771 void set_allocated_output_type(::std::string* output_type); | 2004 void set_allocated_output_type(::std::string* output_type); |
| 1772 | 2005 |
| 1773 // optional .google.protobuf.MethodOptions options = 4; | 2006 // optional .google.protobuf.MethodOptions options = 4; |
| 1774 bool has_options() const; | 2007 bool has_options() const; |
| 1775 void clear_options(); | 2008 void clear_options(); |
| 1776 static const int kOptionsFieldNumber = 4; | 2009 static const int kOptionsFieldNumber = 4; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1788 | 2021 |
| 1789 // optional bool server_streaming = 6 [default = false]; | 2022 // optional bool server_streaming = 6 [default = false]; |
| 1790 bool has_server_streaming() const; | 2023 bool has_server_streaming() const; |
| 1791 void clear_server_streaming(); | 2024 void clear_server_streaming(); |
| 1792 static const int kServerStreamingFieldNumber = 6; | 2025 static const int kServerStreamingFieldNumber = 6; |
| 1793 bool server_streaming() const; | 2026 bool server_streaming() const; |
| 1794 void set_server_streaming(bool value); | 2027 void set_server_streaming(bool value); |
| 1795 | 2028 |
| 1796 // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto) | 2029 // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto) |
| 1797 private: | 2030 private: |
| 1798 inline void set_has_name(); | 2031 void set_has_name(); |
| 1799 inline void clear_has_name(); | 2032 void clear_has_name(); |
| 1800 inline void set_has_input_type(); | 2033 void set_has_input_type(); |
| 1801 inline void clear_has_input_type(); | 2034 void clear_has_input_type(); |
| 1802 inline void set_has_output_type(); | 2035 void set_has_output_type(); |
| 1803 inline void clear_has_output_type(); | 2036 void clear_has_output_type(); |
| 1804 inline void set_has_options(); | 2037 void set_has_options(); |
| 1805 inline void clear_has_options(); | 2038 void clear_has_options(); |
| 1806 inline void set_has_client_streaming(); | 2039 void set_has_client_streaming(); |
| 1807 inline void clear_has_client_streaming(); | 2040 void clear_has_client_streaming(); |
| 1808 inline void set_has_server_streaming(); | 2041 void set_has_server_streaming(); |
| 1809 inline void clear_has_server_streaming(); | 2042 void clear_has_server_streaming(); |
| 1810 | 2043 |
| 1811 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2044 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1812 ::google::protobuf::uint32 _has_bits_[1]; | 2045 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 1813 mutable int _cached_size_; | 2046 mutable int _cached_size_; |
| 1814 ::google::protobuf::internal::ArenaStringPtr name_; | 2047 ::google::protobuf::internal::ArenaStringPtr name_; |
| 1815 ::google::protobuf::internal::ArenaStringPtr input_type_; | 2048 ::google::protobuf::internal::ArenaStringPtr input_type_; |
| 1816 ::google::protobuf::internal::ArenaStringPtr output_type_; | 2049 ::google::protobuf::internal::ArenaStringPtr output_type_; |
| 1817 ::google::protobuf::MethodOptions* options_; | 2050 ::google::protobuf::MethodOptions* options_; |
| 1818 bool client_streaming_; | 2051 bool client_streaming_; |
| 1819 bool server_streaming_; | 2052 bool server_streaming_; |
| 1820 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 2053 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 1821 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 2054 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); |
| 2055 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); |
| 1822 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2056 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 1823 | 2057 |
| 1824 void InitAsDefaultInstance(); | |
| 1825 static MethodDescriptorProto* default_instance_; | |
| 1826 }; | 2058 }; |
| 1827 // ------------------------------------------------------------------- | 2059 // ------------------------------------------------------------------- |
| 1828 | 2060 |
| 1829 class LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message { | 2061 class LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message /* @@p
rotoc_insertion_point(class_definition:google.protobuf.FileOptions) */ { |
| 1830 public: | 2062 public: |
| 1831 FileOptions(); | 2063 FileOptions(); |
| 1832 virtual ~FileOptions(); | 2064 virtual ~FileOptions(); |
| 1833 | 2065 |
| 1834 FileOptions(const FileOptions& from); | 2066 FileOptions(const FileOptions& from); |
| 1835 | 2067 |
| 1836 inline FileOptions& operator=(const FileOptions& from) { | 2068 inline FileOptions& operator=(const FileOptions& from) { |
| 1837 CopyFrom(from); | 2069 CopyFrom(from); |
| 1838 return *this; | 2070 return *this; |
| 1839 } | 2071 } |
| 1840 | 2072 |
| 1841 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 2073 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 1842 return _internal_metadata_.unknown_fields(); | 2074 return _internal_metadata_.unknown_fields(); |
| 1843 } | 2075 } |
| 1844 | 2076 |
| 1845 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 2077 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 1846 return _internal_metadata_.mutable_unknown_fields(); | 2078 return _internal_metadata_.mutable_unknown_fields(); |
| 1847 } | 2079 } |
| 1848 | 2080 |
| 1849 static const ::google::protobuf::Descriptor* descriptor(); | 2081 static const ::google::protobuf::Descriptor* descriptor(); |
| 1850 static const FileOptions& default_instance(); | 2082 static const FileOptions& default_instance(); |
| 1851 | 2083 |
| 2084 static inline const FileOptions* internal_default_instance() { |
| 2085 return reinterpret_cast<const FileOptions*>( |
| 2086 &_FileOptions_default_instance_); |
| 2087 } |
| 2088 |
| 1852 void Swap(FileOptions* other); | 2089 void Swap(FileOptions* other); |
| 1853 | 2090 |
| 1854 // implements Message ---------------------------------------------- | 2091 // implements Message ---------------------------------------------- |
| 1855 | 2092 |
| 1856 inline FileOptions* New() const { return New(NULL); } | 2093 inline FileOptions* New() const PROTOBUF_FINAL { return New(NULL); } |
| 1857 | 2094 |
| 1858 FileOptions* New(::google::protobuf::Arena* arena) const; | 2095 FileOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 1859 void CopyFrom(const ::google::protobuf::Message& from); | 2096 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 1860 void MergeFrom(const ::google::protobuf::Message& from); | 2097 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 1861 void CopyFrom(const FileOptions& from); | 2098 void CopyFrom(const FileOptions& from); |
| 1862 void MergeFrom(const FileOptions& from); | 2099 void MergeFrom(const FileOptions& from); |
| 1863 void Clear(); | 2100 void Clear() PROTOBUF_FINAL; |
| 1864 bool IsInitialized() const; | 2101 bool IsInitialized() const PROTOBUF_FINAL; |
| 1865 | 2102 |
| 1866 int ByteSize() const; | 2103 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 1867 bool MergePartialFromCodedStream( | 2104 bool MergePartialFromCodedStream( |
| 1868 ::google::protobuf::io::CodedInputStream* input); | 2105 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 1869 void SerializeWithCachedSizes( | 2106 void SerializeWithCachedSizes( |
| 1870 ::google::protobuf::io::CodedOutputStream* output) const; | 2107 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 1871 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 2108 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1872 int GetCachedSize() const { return _cached_size_; } | 2109 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 1873 private: | 2115 private: |
| 1874 void SharedCtor(); | 2116 void SharedCtor(); |
| 1875 void SharedDtor(); | 2117 void SharedDtor(); |
| 1876 void SetCachedSize(int size) const; | 2118 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 1877 void InternalSwap(FileOptions* other); | 2119 void InternalSwap(FileOptions* other); |
| 1878 private: | 2120 private: |
| 1879 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 2121 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1880 return _internal_metadata_.arena(); | 2122 return NULL; |
| 1881 } | 2123 } |
| 1882 inline void* MaybeArenaPtr() const { | 2124 inline void* MaybeArenaPtr() const { |
| 1883 return _internal_metadata_.raw_arena_ptr(); | 2125 return NULL; |
| 1884 } | 2126 } |
| 1885 public: | 2127 public: |
| 1886 | 2128 |
| 1887 ::google::protobuf::Metadata GetMetadata() const; | 2129 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 1888 | 2130 |
| 1889 // nested types ---------------------------------------------------- | 2131 // nested types ---------------------------------------------------- |
| 1890 | 2132 |
| 1891 typedef FileOptions_OptimizeMode OptimizeMode; | 2133 typedef FileOptions_OptimizeMode OptimizeMode; |
| 1892 static const OptimizeMode SPEED = | 2134 static const OptimizeMode SPEED = |
| 1893 FileOptions_OptimizeMode_SPEED; | 2135 FileOptions_OptimizeMode_SPEED; |
| 1894 static const OptimizeMode CODE_SIZE = | 2136 static const OptimizeMode CODE_SIZE = |
| 1895 FileOptions_OptimizeMode_CODE_SIZE; | 2137 FileOptions_OptimizeMode_CODE_SIZE; |
| 1896 static const OptimizeMode LITE_RUNTIME = | 2138 static const OptimizeMode LITE_RUNTIME = |
| 1897 FileOptions_OptimizeMode_LITE_RUNTIME; | 2139 FileOptions_OptimizeMode_LITE_RUNTIME; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1917 } | 2159 } |
| 1918 | 2160 |
| 1919 // accessors ------------------------------------------------------- | 2161 // accessors ------------------------------------------------------- |
| 1920 | 2162 |
| 1921 // optional string java_package = 1; | 2163 // optional string java_package = 1; |
| 1922 bool has_java_package() const; | 2164 bool has_java_package() const; |
| 1923 void clear_java_package(); | 2165 void clear_java_package(); |
| 1924 static const int kJavaPackageFieldNumber = 1; | 2166 static const int kJavaPackageFieldNumber = 1; |
| 1925 const ::std::string& java_package() const; | 2167 const ::std::string& java_package() const; |
| 1926 void set_java_package(const ::std::string& value); | 2168 void set_java_package(const ::std::string& value); |
| 2169 #if LANG_CXX11 |
| 2170 void set_java_package(::std::string&& value); |
| 2171 #endif |
| 1927 void set_java_package(const char* value); | 2172 void set_java_package(const char* value); |
| 1928 void set_java_package(const char* value, size_t size); | 2173 void set_java_package(const char* value, size_t size); |
| 1929 ::std::string* mutable_java_package(); | 2174 ::std::string* mutable_java_package(); |
| 1930 ::std::string* release_java_package(); | 2175 ::std::string* release_java_package(); |
| 1931 void set_allocated_java_package(::std::string* java_package); | 2176 void set_allocated_java_package(::std::string* java_package); |
| 1932 | 2177 |
| 1933 // optional string java_outer_classname = 8; | 2178 // optional string java_outer_classname = 8; |
| 1934 bool has_java_outer_classname() const; | 2179 bool has_java_outer_classname() const; |
| 1935 void clear_java_outer_classname(); | 2180 void clear_java_outer_classname(); |
| 1936 static const int kJavaOuterClassnameFieldNumber = 8; | 2181 static const int kJavaOuterClassnameFieldNumber = 8; |
| 1937 const ::std::string& java_outer_classname() const; | 2182 const ::std::string& java_outer_classname() const; |
| 1938 void set_java_outer_classname(const ::std::string& value); | 2183 void set_java_outer_classname(const ::std::string& value); |
| 2184 #if LANG_CXX11 |
| 2185 void set_java_outer_classname(::std::string&& value); |
| 2186 #endif |
| 1939 void set_java_outer_classname(const char* value); | 2187 void set_java_outer_classname(const char* value); |
| 1940 void set_java_outer_classname(const char* value, size_t size); | 2188 void set_java_outer_classname(const char* value, size_t size); |
| 1941 ::std::string* mutable_java_outer_classname(); | 2189 ::std::string* mutable_java_outer_classname(); |
| 1942 ::std::string* release_java_outer_classname(); | 2190 ::std::string* release_java_outer_classname(); |
| 1943 void set_allocated_java_outer_classname(::std::string* java_outer_classname); | 2191 void set_allocated_java_outer_classname(::std::string* java_outer_classname); |
| 1944 | 2192 |
| 1945 // optional bool java_multiple_files = 10 [default = false]; | 2193 // optional bool java_multiple_files = 10 [default = false]; |
| 1946 bool has_java_multiple_files() const; | 2194 bool has_java_multiple_files() const; |
| 1947 void clear_java_multiple_files(); | 2195 void clear_java_multiple_files(); |
| 1948 static const int kJavaMultipleFilesFieldNumber = 10; | 2196 static const int kJavaMultipleFilesFieldNumber = 10; |
| 1949 bool java_multiple_files() const; | 2197 bool java_multiple_files() const; |
| 1950 void set_java_multiple_files(bool value); | 2198 void set_java_multiple_files(bool value); |
| 1951 | 2199 |
| 1952 // optional bool java_generate_equals_and_hash = 20 [default = false]; | 2200 // optional bool java_generate_equals_and_hash = 20 [deprecated = true]; |
| 1953 bool has_java_generate_equals_and_hash() const; | 2201 GOOGLE_PROTOBUF_DEPRECATED_ATTR bool has_java_generate_equals_and_hash() const
; |
| 1954 void clear_java_generate_equals_and_hash(); | 2202 GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_java_generate_equals_and_hash(); |
| 1955 static const int kJavaGenerateEqualsAndHashFieldNumber = 20; | 2203 GOOGLE_PROTOBUF_DEPRECATED_ATTR static const int kJavaGenerateEqualsAndHashFie
ldNumber = 20; |
| 1956 bool java_generate_equals_and_hash() const; | 2204 GOOGLE_PROTOBUF_DEPRECATED_ATTR bool java_generate_equals_and_hash() const; |
| 1957 void set_java_generate_equals_and_hash(bool value); | 2205 GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_java_generate_equals_and_hash(bool va
lue); |
| 1958 | 2206 |
| 1959 // optional bool java_string_check_utf8 = 27 [default = false]; | 2207 // optional bool java_string_check_utf8 = 27 [default = false]; |
| 1960 bool has_java_string_check_utf8() const; | 2208 bool has_java_string_check_utf8() const; |
| 1961 void clear_java_string_check_utf8(); | 2209 void clear_java_string_check_utf8(); |
| 1962 static const int kJavaStringCheckUtf8FieldNumber = 27; | 2210 static const int kJavaStringCheckUtf8FieldNumber = 27; |
| 1963 bool java_string_check_utf8() const; | 2211 bool java_string_check_utf8() const; |
| 1964 void set_java_string_check_utf8(bool value); | 2212 void set_java_string_check_utf8(bool value); |
| 1965 | 2213 |
| 1966 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [defaul
t = SPEED]; | 2214 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [defaul
t = SPEED]; |
| 1967 bool has_optimize_for() const; | 2215 bool has_optimize_for() const; |
| 1968 void clear_optimize_for(); | 2216 void clear_optimize_for(); |
| 1969 static const int kOptimizeForFieldNumber = 9; | 2217 static const int kOptimizeForFieldNumber = 9; |
| 1970 ::google::protobuf::FileOptions_OptimizeMode optimize_for() const; | 2218 ::google::protobuf::FileOptions_OptimizeMode optimize_for() const; |
| 1971 void set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value); | 2219 void set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value); |
| 1972 | 2220 |
| 1973 // optional string go_package = 11; | 2221 // optional string go_package = 11; |
| 1974 bool has_go_package() const; | 2222 bool has_go_package() const; |
| 1975 void clear_go_package(); | 2223 void clear_go_package(); |
| 1976 static const int kGoPackageFieldNumber = 11; | 2224 static const int kGoPackageFieldNumber = 11; |
| 1977 const ::std::string& go_package() const; | 2225 const ::std::string& go_package() const; |
| 1978 void set_go_package(const ::std::string& value); | 2226 void set_go_package(const ::std::string& value); |
| 2227 #if LANG_CXX11 |
| 2228 void set_go_package(::std::string&& value); |
| 2229 #endif |
| 1979 void set_go_package(const char* value); | 2230 void set_go_package(const char* value); |
| 1980 void set_go_package(const char* value, size_t size); | 2231 void set_go_package(const char* value, size_t size); |
| 1981 ::std::string* mutable_go_package(); | 2232 ::std::string* mutable_go_package(); |
| 1982 ::std::string* release_go_package(); | 2233 ::std::string* release_go_package(); |
| 1983 void set_allocated_go_package(::std::string* go_package); | 2234 void set_allocated_go_package(::std::string* go_package); |
| 1984 | 2235 |
| 1985 // optional bool cc_generic_services = 16 [default = false]; | 2236 // optional bool cc_generic_services = 16 [default = false]; |
| 1986 bool has_cc_generic_services() const; | 2237 bool has_cc_generic_services() const; |
| 1987 void clear_cc_generic_services(); | 2238 void clear_cc_generic_services(); |
| 1988 static const int kCcGenericServicesFieldNumber = 16; | 2239 static const int kCcGenericServicesFieldNumber = 16; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 2016 static const int kCcEnableArenasFieldNumber = 31; | 2267 static const int kCcEnableArenasFieldNumber = 31; |
| 2017 bool cc_enable_arenas() const; | 2268 bool cc_enable_arenas() const; |
| 2018 void set_cc_enable_arenas(bool value); | 2269 void set_cc_enable_arenas(bool value); |
| 2019 | 2270 |
| 2020 // optional string objc_class_prefix = 36; | 2271 // optional string objc_class_prefix = 36; |
| 2021 bool has_objc_class_prefix() const; | 2272 bool has_objc_class_prefix() const; |
| 2022 void clear_objc_class_prefix(); | 2273 void clear_objc_class_prefix(); |
| 2023 static const int kObjcClassPrefixFieldNumber = 36; | 2274 static const int kObjcClassPrefixFieldNumber = 36; |
| 2024 const ::std::string& objc_class_prefix() const; | 2275 const ::std::string& objc_class_prefix() const; |
| 2025 void set_objc_class_prefix(const ::std::string& value); | 2276 void set_objc_class_prefix(const ::std::string& value); |
| 2277 #if LANG_CXX11 |
| 2278 void set_objc_class_prefix(::std::string&& value); |
| 2279 #endif |
| 2026 void set_objc_class_prefix(const char* value); | 2280 void set_objc_class_prefix(const char* value); |
| 2027 void set_objc_class_prefix(const char* value, size_t size); | 2281 void set_objc_class_prefix(const char* value, size_t size); |
| 2028 ::std::string* mutable_objc_class_prefix(); | 2282 ::std::string* mutable_objc_class_prefix(); |
| 2029 ::std::string* release_objc_class_prefix(); | 2283 ::std::string* release_objc_class_prefix(); |
| 2030 void set_allocated_objc_class_prefix(::std::string* objc_class_prefix); | 2284 void set_allocated_objc_class_prefix(::std::string* objc_class_prefix); |
| 2031 | 2285 |
| 2032 // optional string csharp_namespace = 37; | 2286 // optional string csharp_namespace = 37; |
| 2033 bool has_csharp_namespace() const; | 2287 bool has_csharp_namespace() const; |
| 2034 void clear_csharp_namespace(); | 2288 void clear_csharp_namespace(); |
| 2035 static const int kCsharpNamespaceFieldNumber = 37; | 2289 static const int kCsharpNamespaceFieldNumber = 37; |
| 2036 const ::std::string& csharp_namespace() const; | 2290 const ::std::string& csharp_namespace() const; |
| 2037 void set_csharp_namespace(const ::std::string& value); | 2291 void set_csharp_namespace(const ::std::string& value); |
| 2292 #if LANG_CXX11 |
| 2293 void set_csharp_namespace(::std::string&& value); |
| 2294 #endif |
| 2038 void set_csharp_namespace(const char* value); | 2295 void set_csharp_namespace(const char* value); |
| 2039 void set_csharp_namespace(const char* value, size_t size); | 2296 void set_csharp_namespace(const char* value, size_t size); |
| 2040 ::std::string* mutable_csharp_namespace(); | 2297 ::std::string* mutable_csharp_namespace(); |
| 2041 ::std::string* release_csharp_namespace(); | 2298 ::std::string* release_csharp_namespace(); |
| 2042 void set_allocated_csharp_namespace(::std::string* csharp_namespace); | 2299 void set_allocated_csharp_namespace(::std::string* csharp_namespace); |
| 2043 | 2300 |
| 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 |
| 2044 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 2316 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 2045 int uninterpreted_option_size() const; | 2317 int uninterpreted_option_size() const; |
| 2046 void clear_uninterpreted_option(); | 2318 void clear_uninterpreted_option(); |
| 2047 static const int kUninterpretedOptionFieldNumber = 999; | 2319 static const int kUninterpretedOptionFieldNumber = 999; |
| 2048 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; | 2320 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; |
| 2049 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 2321 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); |
| 2050 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 2322 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| 2051 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 2323 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* |
| 2052 mutable_uninterpreted_option(); | 2324 mutable_uninterpreted_option(); |
| 2053 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 2325 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& |
| 2054 uninterpreted_option() const; | 2326 uninterpreted_option() const; |
| 2055 | 2327 |
| 2056 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions) | 2328 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions) |
| 2057 // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions) | 2329 // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions) |
| 2058 private: | 2330 private: |
| 2059 inline void set_has_java_package(); | 2331 void set_has_java_package(); |
| 2060 inline void clear_has_java_package(); | 2332 void clear_has_java_package(); |
| 2061 inline void set_has_java_outer_classname(); | 2333 void set_has_java_outer_classname(); |
| 2062 inline void clear_has_java_outer_classname(); | 2334 void clear_has_java_outer_classname(); |
| 2063 inline void set_has_java_multiple_files(); | 2335 void set_has_java_multiple_files(); |
| 2064 inline void clear_has_java_multiple_files(); | 2336 void clear_has_java_multiple_files(); |
| 2065 inline void set_has_java_generate_equals_and_hash(); | 2337 void set_has_java_generate_equals_and_hash(); |
| 2066 inline void clear_has_java_generate_equals_and_hash(); | 2338 void clear_has_java_generate_equals_and_hash(); |
| 2067 inline void set_has_java_string_check_utf8(); | 2339 void set_has_java_string_check_utf8(); |
| 2068 inline void clear_has_java_string_check_utf8(); | 2340 void clear_has_java_string_check_utf8(); |
| 2069 inline void set_has_optimize_for(); | 2341 void set_has_optimize_for(); |
| 2070 inline void clear_has_optimize_for(); | 2342 void clear_has_optimize_for(); |
| 2071 inline void set_has_go_package(); | 2343 void set_has_go_package(); |
| 2072 inline void clear_has_go_package(); | 2344 void clear_has_go_package(); |
| 2073 inline void set_has_cc_generic_services(); | 2345 void set_has_cc_generic_services(); |
| 2074 inline void clear_has_cc_generic_services(); | 2346 void clear_has_cc_generic_services(); |
| 2075 inline void set_has_java_generic_services(); | 2347 void set_has_java_generic_services(); |
| 2076 inline void clear_has_java_generic_services(); | 2348 void clear_has_java_generic_services(); |
| 2077 inline void set_has_py_generic_services(); | 2349 void set_has_py_generic_services(); |
| 2078 inline void clear_has_py_generic_services(); | 2350 void clear_has_py_generic_services(); |
| 2079 inline void set_has_deprecated(); | 2351 void set_has_deprecated(); |
| 2080 inline void clear_has_deprecated(); | 2352 void clear_has_deprecated(); |
| 2081 inline void set_has_cc_enable_arenas(); | 2353 void set_has_cc_enable_arenas(); |
| 2082 inline void clear_has_cc_enable_arenas(); | 2354 void clear_has_cc_enable_arenas(); |
| 2083 inline void set_has_objc_class_prefix(); | 2355 void set_has_objc_class_prefix(); |
| 2084 inline void clear_has_objc_class_prefix(); | 2356 void clear_has_objc_class_prefix(); |
| 2085 inline void set_has_csharp_namespace(); | 2357 void set_has_csharp_namespace(); |
| 2086 inline void clear_has_csharp_namespace(); | 2358 void clear_has_csharp_namespace(); |
| 2359 void set_has_swift_prefix(); |
| 2360 void clear_has_swift_prefix(); |
| 2087 | 2361 |
| 2088 ::google::protobuf::internal::ExtensionSet _extensions_; | 2362 ::google::protobuf::internal::ExtensionSet _extensions_; |
| 2089 | 2363 |
| 2090 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2364 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2091 ::google::protobuf::uint32 _has_bits_[1]; | 2365 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 2092 mutable int _cached_size_; | 2366 mutable int _cached_size_; |
| 2367 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
| 2093 ::google::protobuf::internal::ArenaStringPtr java_package_; | 2368 ::google::protobuf::internal::ArenaStringPtr java_package_; |
| 2094 ::google::protobuf::internal::ArenaStringPtr java_outer_classname_; | 2369 ::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_; |
| 2095 bool java_multiple_files_; | 2374 bool java_multiple_files_; |
| 2096 bool java_generate_equals_and_hash_; | 2375 bool java_generate_equals_and_hash_; |
| 2097 bool java_string_check_utf8_; | 2376 bool java_string_check_utf8_; |
| 2098 bool cc_generic_services_; | 2377 bool cc_generic_services_; |
| 2099 int optimize_for_; | |
| 2100 ::google::protobuf::internal::ArenaStringPtr go_package_; | |
| 2101 ::google::protobuf::internal::ArenaStringPtr objc_class_prefix_; | |
| 2102 ::google::protobuf::internal::ArenaStringPtr csharp_namespace_; | |
| 2103 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | |
| 2104 bool java_generic_services_; | 2378 bool java_generic_services_; |
| 2105 bool py_generic_services_; | 2379 bool py_generic_services_; |
| 2106 bool deprecated_; | 2380 bool deprecated_; |
| 2107 bool cc_enable_arenas_; | 2381 bool cc_enable_arenas_; |
| 2108 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 2382 int optimize_for_; |
| 2109 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 2383 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 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(); |
| 2110 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2386 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 2111 | 2387 |
| 2112 void InitAsDefaultInstance(); | |
| 2113 static FileOptions* default_instance_; | |
| 2114 }; | 2388 }; |
| 2115 // ------------------------------------------------------------------- | 2389 // ------------------------------------------------------------------- |
| 2116 | 2390 |
| 2117 class LIBPROTOBUF_EXPORT MessageOptions : public ::google::protobuf::Message { | 2391 class LIBPROTOBUF_EXPORT MessageOptions : public ::google::protobuf::Message /*
@@protoc_insertion_point(class_definition:google.protobuf.MessageOptions) */ { |
| 2118 public: | 2392 public: |
| 2119 MessageOptions(); | 2393 MessageOptions(); |
| 2120 virtual ~MessageOptions(); | 2394 virtual ~MessageOptions(); |
| 2121 | 2395 |
| 2122 MessageOptions(const MessageOptions& from); | 2396 MessageOptions(const MessageOptions& from); |
| 2123 | 2397 |
| 2124 inline MessageOptions& operator=(const MessageOptions& from) { | 2398 inline MessageOptions& operator=(const MessageOptions& from) { |
| 2125 CopyFrom(from); | 2399 CopyFrom(from); |
| 2126 return *this; | 2400 return *this; |
| 2127 } | 2401 } |
| 2128 | 2402 |
| 2129 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 2403 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 2130 return _internal_metadata_.unknown_fields(); | 2404 return _internal_metadata_.unknown_fields(); |
| 2131 } | 2405 } |
| 2132 | 2406 |
| 2133 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 2407 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 2134 return _internal_metadata_.mutable_unknown_fields(); | 2408 return _internal_metadata_.mutable_unknown_fields(); |
| 2135 } | 2409 } |
| 2136 | 2410 |
| 2137 static const ::google::protobuf::Descriptor* descriptor(); | 2411 static const ::google::protobuf::Descriptor* descriptor(); |
| 2138 static const MessageOptions& default_instance(); | 2412 static const MessageOptions& default_instance(); |
| 2139 | 2413 |
| 2414 static inline const MessageOptions* internal_default_instance() { |
| 2415 return reinterpret_cast<const MessageOptions*>( |
| 2416 &_MessageOptions_default_instance_); |
| 2417 } |
| 2418 |
| 2140 void Swap(MessageOptions* other); | 2419 void Swap(MessageOptions* other); |
| 2141 | 2420 |
| 2142 // implements Message ---------------------------------------------- | 2421 // implements Message ---------------------------------------------- |
| 2143 | 2422 |
| 2144 inline MessageOptions* New() const { return New(NULL); } | 2423 inline MessageOptions* New() const PROTOBUF_FINAL { return New(NULL); } |
| 2145 | 2424 |
| 2146 MessageOptions* New(::google::protobuf::Arena* arena) const; | 2425 MessageOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 2147 void CopyFrom(const ::google::protobuf::Message& from); | 2426 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 2148 void MergeFrom(const ::google::protobuf::Message& from); | 2427 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 2149 void CopyFrom(const MessageOptions& from); | 2428 void CopyFrom(const MessageOptions& from); |
| 2150 void MergeFrom(const MessageOptions& from); | 2429 void MergeFrom(const MessageOptions& from); |
| 2151 void Clear(); | 2430 void Clear() PROTOBUF_FINAL; |
| 2152 bool IsInitialized() const; | 2431 bool IsInitialized() const PROTOBUF_FINAL; |
| 2153 | 2432 |
| 2154 int ByteSize() const; | 2433 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 2155 bool MergePartialFromCodedStream( | 2434 bool MergePartialFromCodedStream( |
| 2156 ::google::protobuf::io::CodedInputStream* input); | 2435 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 2157 void SerializeWithCachedSizes( | 2436 void SerializeWithCachedSizes( |
| 2158 ::google::protobuf::io::CodedOutputStream* output) const; | 2437 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 2159 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 2438 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2160 int GetCachedSize() const { return _cached_size_; } | 2439 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 2161 private: | 2445 private: |
| 2162 void SharedCtor(); | 2446 void SharedCtor(); |
| 2163 void SharedDtor(); | 2447 void SharedDtor(); |
| 2164 void SetCachedSize(int size) const; | 2448 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 2165 void InternalSwap(MessageOptions* other); | 2449 void InternalSwap(MessageOptions* other); |
| 2166 private: | 2450 private: |
| 2167 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 2451 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2168 return _internal_metadata_.arena(); | 2452 return NULL; |
| 2169 } | 2453 } |
| 2170 inline void* MaybeArenaPtr() const { | 2454 inline void* MaybeArenaPtr() const { |
| 2171 return _internal_metadata_.raw_arena_ptr(); | 2455 return NULL; |
| 2172 } | 2456 } |
| 2173 public: | 2457 public: |
| 2174 | 2458 |
| 2175 ::google::protobuf::Metadata GetMetadata() const; | 2459 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 2176 | 2460 |
| 2177 // nested types ---------------------------------------------------- | 2461 // nested types ---------------------------------------------------- |
| 2178 | 2462 |
| 2179 // accessors ------------------------------------------------------- | 2463 // accessors ------------------------------------------------------- |
| 2180 | 2464 |
| 2181 // optional bool message_set_wire_format = 1 [default = false]; | 2465 // optional bool message_set_wire_format = 1 [default = false]; |
| 2182 bool has_message_set_wire_format() const; | 2466 bool has_message_set_wire_format() const; |
| 2183 void clear_message_set_wire_format(); | 2467 void clear_message_set_wire_format(); |
| 2184 static const int kMessageSetWireFormatFieldNumber = 1; | 2468 static const int kMessageSetWireFormatFieldNumber = 1; |
| 2185 bool message_set_wire_format() const; | 2469 bool message_set_wire_format() const; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 2214 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 2498 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); |
| 2215 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 2499 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| 2216 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 2500 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* |
| 2217 mutable_uninterpreted_option(); | 2501 mutable_uninterpreted_option(); |
| 2218 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 2502 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& |
| 2219 uninterpreted_option() const; | 2503 uninterpreted_option() const; |
| 2220 | 2504 |
| 2221 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions) | 2505 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions) |
| 2222 // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions) | 2506 // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions) |
| 2223 private: | 2507 private: |
| 2224 inline void set_has_message_set_wire_format(); | 2508 void set_has_message_set_wire_format(); |
| 2225 inline void clear_has_message_set_wire_format(); | 2509 void clear_has_message_set_wire_format(); |
| 2226 inline void set_has_no_standard_descriptor_accessor(); | 2510 void set_has_no_standard_descriptor_accessor(); |
| 2227 inline void clear_has_no_standard_descriptor_accessor(); | 2511 void clear_has_no_standard_descriptor_accessor(); |
| 2228 inline void set_has_deprecated(); | 2512 void set_has_deprecated(); |
| 2229 inline void clear_has_deprecated(); | 2513 void clear_has_deprecated(); |
| 2230 inline void set_has_map_entry(); | 2514 void set_has_map_entry(); |
| 2231 inline void clear_has_map_entry(); | 2515 void clear_has_map_entry(); |
| 2232 | 2516 |
| 2233 ::google::protobuf::internal::ExtensionSet _extensions_; | 2517 ::google::protobuf::internal::ExtensionSet _extensions_; |
| 2234 | 2518 |
| 2235 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2519 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2236 ::google::protobuf::uint32 _has_bits_[1]; | 2520 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 2237 mutable int _cached_size_; | 2521 mutable int _cached_size_; |
| 2238 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | 2522 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
| 2239 bool message_set_wire_format_; | 2523 bool message_set_wire_format_; |
| 2240 bool no_standard_descriptor_accessor_; | 2524 bool no_standard_descriptor_accessor_; |
| 2241 bool deprecated_; | 2525 bool deprecated_; |
| 2242 bool map_entry_; | 2526 bool map_entry_; |
| 2243 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 2527 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 2244 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 2528 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); |
| 2529 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); |
| 2245 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2530 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 2246 | 2531 |
| 2247 void InitAsDefaultInstance(); | |
| 2248 static MessageOptions* default_instance_; | |
| 2249 }; | 2532 }; |
| 2250 // ------------------------------------------------------------------- | 2533 // ------------------------------------------------------------------- |
| 2251 | 2534 |
| 2252 class LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message { | 2535 class LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message /* @@
protoc_insertion_point(class_definition:google.protobuf.FieldOptions) */ { |
| 2253 public: | 2536 public: |
| 2254 FieldOptions(); | 2537 FieldOptions(); |
| 2255 virtual ~FieldOptions(); | 2538 virtual ~FieldOptions(); |
| 2256 | 2539 |
| 2257 FieldOptions(const FieldOptions& from); | 2540 FieldOptions(const FieldOptions& from); |
| 2258 | 2541 |
| 2259 inline FieldOptions& operator=(const FieldOptions& from) { | 2542 inline FieldOptions& operator=(const FieldOptions& from) { |
| 2260 CopyFrom(from); | 2543 CopyFrom(from); |
| 2261 return *this; | 2544 return *this; |
| 2262 } | 2545 } |
| 2263 | 2546 |
| 2264 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 2547 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 2265 return _internal_metadata_.unknown_fields(); | 2548 return _internal_metadata_.unknown_fields(); |
| 2266 } | 2549 } |
| 2267 | 2550 |
| 2268 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 2551 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 2269 return _internal_metadata_.mutable_unknown_fields(); | 2552 return _internal_metadata_.mutable_unknown_fields(); |
| 2270 } | 2553 } |
| 2271 | 2554 |
| 2272 static const ::google::protobuf::Descriptor* descriptor(); | 2555 static const ::google::protobuf::Descriptor* descriptor(); |
| 2273 static const FieldOptions& default_instance(); | 2556 static const FieldOptions& default_instance(); |
| 2274 | 2557 |
| 2558 static inline const FieldOptions* internal_default_instance() { |
| 2559 return reinterpret_cast<const FieldOptions*>( |
| 2560 &_FieldOptions_default_instance_); |
| 2561 } |
| 2562 |
| 2275 void Swap(FieldOptions* other); | 2563 void Swap(FieldOptions* other); |
| 2276 | 2564 |
| 2277 // implements Message ---------------------------------------------- | 2565 // implements Message ---------------------------------------------- |
| 2278 | 2566 |
| 2279 inline FieldOptions* New() const { return New(NULL); } | 2567 inline FieldOptions* New() const PROTOBUF_FINAL { return New(NULL); } |
| 2280 | 2568 |
| 2281 FieldOptions* New(::google::protobuf::Arena* arena) const; | 2569 FieldOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 2282 void CopyFrom(const ::google::protobuf::Message& from); | 2570 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 2283 void MergeFrom(const ::google::protobuf::Message& from); | 2571 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 2284 void CopyFrom(const FieldOptions& from); | 2572 void CopyFrom(const FieldOptions& from); |
| 2285 void MergeFrom(const FieldOptions& from); | 2573 void MergeFrom(const FieldOptions& from); |
| 2286 void Clear(); | 2574 void Clear() PROTOBUF_FINAL; |
| 2287 bool IsInitialized() const; | 2575 bool IsInitialized() const PROTOBUF_FINAL; |
| 2288 | 2576 |
| 2289 int ByteSize() const; | 2577 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 2290 bool MergePartialFromCodedStream( | 2578 bool MergePartialFromCodedStream( |
| 2291 ::google::protobuf::io::CodedInputStream* input); | 2579 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 2292 void SerializeWithCachedSizes( | 2580 void SerializeWithCachedSizes( |
| 2293 ::google::protobuf::io::CodedOutputStream* output) const; | 2581 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 2294 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 2582 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2295 int GetCachedSize() const { return _cached_size_; } | 2583 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 2296 private: | 2589 private: |
| 2297 void SharedCtor(); | 2590 void SharedCtor(); |
| 2298 void SharedDtor(); | 2591 void SharedDtor(); |
| 2299 void SetCachedSize(int size) const; | 2592 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 2300 void InternalSwap(FieldOptions* other); | 2593 void InternalSwap(FieldOptions* other); |
| 2301 private: | 2594 private: |
| 2302 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 2595 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2303 return _internal_metadata_.arena(); | 2596 return NULL; |
| 2304 } | 2597 } |
| 2305 inline void* MaybeArenaPtr() const { | 2598 inline void* MaybeArenaPtr() const { |
| 2306 return _internal_metadata_.raw_arena_ptr(); | 2599 return NULL; |
| 2307 } | 2600 } |
| 2308 public: | 2601 public: |
| 2309 | 2602 |
| 2310 ::google::protobuf::Metadata GetMetadata() const; | 2603 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 2311 | 2604 |
| 2312 // nested types ---------------------------------------------------- | 2605 // nested types ---------------------------------------------------- |
| 2313 | 2606 |
| 2314 typedef FieldOptions_CType CType; | 2607 typedef FieldOptions_CType CType; |
| 2315 static const CType STRING = | 2608 static const CType STRING = |
| 2316 FieldOptions_CType_STRING; | 2609 FieldOptions_CType_STRING; |
| 2317 static const CType CORD = | 2610 static const CType CORD = |
| 2318 FieldOptions_CType_CORD; | 2611 FieldOptions_CType_CORD; |
| 2319 static const CType STRING_PIECE = | 2612 static const CType STRING_PIECE = |
| 2320 FieldOptions_CType_STRING_PIECE; | 2613 FieldOptions_CType_STRING_PIECE; |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2419 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 2712 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); |
| 2420 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 2713 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| 2421 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 2714 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* |
| 2422 mutable_uninterpreted_option(); | 2715 mutable_uninterpreted_option(); |
| 2423 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 2716 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& |
| 2424 uninterpreted_option() const; | 2717 uninterpreted_option() const; |
| 2425 | 2718 |
| 2426 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions) | 2719 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions) |
| 2427 // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions) | 2720 // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions) |
| 2428 private: | 2721 private: |
| 2429 inline void set_has_ctype(); | 2722 void set_has_ctype(); |
| 2430 inline void clear_has_ctype(); | 2723 void clear_has_ctype(); |
| 2431 inline void set_has_packed(); | 2724 void set_has_packed(); |
| 2432 inline void clear_has_packed(); | 2725 void clear_has_packed(); |
| 2433 inline void set_has_jstype(); | 2726 void set_has_jstype(); |
| 2434 inline void clear_has_jstype(); | 2727 void clear_has_jstype(); |
| 2435 inline void set_has_lazy(); | 2728 void set_has_lazy(); |
| 2436 inline void clear_has_lazy(); | 2729 void clear_has_lazy(); |
| 2437 inline void set_has_deprecated(); | 2730 void set_has_deprecated(); |
| 2438 inline void clear_has_deprecated(); | 2731 void clear_has_deprecated(); |
| 2439 inline void set_has_weak(); | 2732 void set_has_weak(); |
| 2440 inline void clear_has_weak(); | 2733 void clear_has_weak(); |
| 2441 | 2734 |
| 2442 ::google::protobuf::internal::ExtensionSet _extensions_; | 2735 ::google::protobuf::internal::ExtensionSet _extensions_; |
| 2443 | 2736 |
| 2444 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2737 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2445 ::google::protobuf::uint32 _has_bits_[1]; | 2738 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 2446 mutable int _cached_size_; | 2739 mutable int _cached_size_; |
| 2740 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
| 2447 int ctype_; | 2741 int ctype_; |
| 2448 int jstype_; | 2742 int jstype_; |
| 2449 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | |
| 2450 bool packed_; | 2743 bool packed_; |
| 2451 bool lazy_; | 2744 bool lazy_; |
| 2452 bool deprecated_; | 2745 bool deprecated_; |
| 2453 bool weak_; | 2746 bool weak_; |
| 2454 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 2747 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 2455 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 2748 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); |
| 2749 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); |
| 2456 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2750 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 2457 | 2751 |
| 2458 void InitAsDefaultInstance(); | |
| 2459 static FieldOptions* default_instance_; | |
| 2460 }; | 2752 }; |
| 2461 // ------------------------------------------------------------------- | 2753 // ------------------------------------------------------------------- |
| 2462 | 2754 |
| 2463 class LIBPROTOBUF_EXPORT EnumOptions : public ::google::protobuf::Message { | 2755 class LIBPROTOBUF_EXPORT OneofOptions : public ::google::protobuf::Message /* @@
protoc_insertion_point(class_definition:google.protobuf.OneofOptions) */ { |
| 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) */ { |
| 2464 public: | 2860 public: |
| 2465 EnumOptions(); | 2861 EnumOptions(); |
| 2466 virtual ~EnumOptions(); | 2862 virtual ~EnumOptions(); |
| 2467 | 2863 |
| 2468 EnumOptions(const EnumOptions& from); | 2864 EnumOptions(const EnumOptions& from); |
| 2469 | 2865 |
| 2470 inline EnumOptions& operator=(const EnumOptions& from) { | 2866 inline EnumOptions& operator=(const EnumOptions& from) { |
| 2471 CopyFrom(from); | 2867 CopyFrom(from); |
| 2472 return *this; | 2868 return *this; |
| 2473 } | 2869 } |
| 2474 | 2870 |
| 2475 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 2871 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 2476 return _internal_metadata_.unknown_fields(); | 2872 return _internal_metadata_.unknown_fields(); |
| 2477 } | 2873 } |
| 2478 | 2874 |
| 2479 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 2875 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 2480 return _internal_metadata_.mutable_unknown_fields(); | 2876 return _internal_metadata_.mutable_unknown_fields(); |
| 2481 } | 2877 } |
| 2482 | 2878 |
| 2483 static const ::google::protobuf::Descriptor* descriptor(); | 2879 static const ::google::protobuf::Descriptor* descriptor(); |
| 2484 static const EnumOptions& default_instance(); | 2880 static const EnumOptions& default_instance(); |
| 2485 | 2881 |
| 2882 static inline const EnumOptions* internal_default_instance() { |
| 2883 return reinterpret_cast<const EnumOptions*>( |
| 2884 &_EnumOptions_default_instance_); |
| 2885 } |
| 2886 |
| 2486 void Swap(EnumOptions* other); | 2887 void Swap(EnumOptions* other); |
| 2487 | 2888 |
| 2488 // implements Message ---------------------------------------------- | 2889 // implements Message ---------------------------------------------- |
| 2489 | 2890 |
| 2490 inline EnumOptions* New() const { return New(NULL); } | 2891 inline EnumOptions* New() const PROTOBUF_FINAL { return New(NULL); } |
| 2491 | 2892 |
| 2492 EnumOptions* New(::google::protobuf::Arena* arena) const; | 2893 EnumOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 2493 void CopyFrom(const ::google::protobuf::Message& from); | 2894 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 2494 void MergeFrom(const ::google::protobuf::Message& from); | 2895 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 2495 void CopyFrom(const EnumOptions& from); | 2896 void CopyFrom(const EnumOptions& from); |
| 2496 void MergeFrom(const EnumOptions& from); | 2897 void MergeFrom(const EnumOptions& from); |
| 2497 void Clear(); | 2898 void Clear() PROTOBUF_FINAL; |
| 2498 bool IsInitialized() const; | 2899 bool IsInitialized() const PROTOBUF_FINAL; |
| 2499 | 2900 |
| 2500 int ByteSize() const; | 2901 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 2501 bool MergePartialFromCodedStream( | 2902 bool MergePartialFromCodedStream( |
| 2502 ::google::protobuf::io::CodedInputStream* input); | 2903 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 2503 void SerializeWithCachedSizes( | 2904 void SerializeWithCachedSizes( |
| 2504 ::google::protobuf::io::CodedOutputStream* output) const; | 2905 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 2505 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 2906 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2506 int GetCachedSize() const { return _cached_size_; } | 2907 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 2507 private: | 2913 private: |
| 2508 void SharedCtor(); | 2914 void SharedCtor(); |
| 2509 void SharedDtor(); | 2915 void SharedDtor(); |
| 2510 void SetCachedSize(int size) const; | 2916 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 2511 void InternalSwap(EnumOptions* other); | 2917 void InternalSwap(EnumOptions* other); |
| 2512 private: | 2918 private: |
| 2513 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 2919 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2514 return _internal_metadata_.arena(); | 2920 return NULL; |
| 2515 } | 2921 } |
| 2516 inline void* MaybeArenaPtr() const { | 2922 inline void* MaybeArenaPtr() const { |
| 2517 return _internal_metadata_.raw_arena_ptr(); | 2923 return NULL; |
| 2518 } | 2924 } |
| 2519 public: | 2925 public: |
| 2520 | 2926 |
| 2521 ::google::protobuf::Metadata GetMetadata() const; | 2927 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 2522 | 2928 |
| 2523 // nested types ---------------------------------------------------- | 2929 // nested types ---------------------------------------------------- |
| 2524 | 2930 |
| 2525 // accessors ------------------------------------------------------- | 2931 // accessors ------------------------------------------------------- |
| 2526 | 2932 |
| 2527 // optional bool allow_alias = 2; | 2933 // optional bool allow_alias = 2; |
| 2528 bool has_allow_alias() const; | 2934 bool has_allow_alias() const; |
| 2529 void clear_allow_alias(); | 2935 void clear_allow_alias(); |
| 2530 static const int kAllowAliasFieldNumber = 2; | 2936 static const int kAllowAliasFieldNumber = 2; |
| 2531 bool allow_alias() const; | 2937 bool allow_alias() const; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 2546 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 2952 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); |
| 2547 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 2953 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| 2548 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 2954 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* |
| 2549 mutable_uninterpreted_option(); | 2955 mutable_uninterpreted_option(); |
| 2550 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 2956 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& |
| 2551 uninterpreted_option() const; | 2957 uninterpreted_option() const; |
| 2552 | 2958 |
| 2553 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions) | 2959 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions) |
| 2554 // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions) | 2960 // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions) |
| 2555 private: | 2961 private: |
| 2556 inline void set_has_allow_alias(); | 2962 void set_has_allow_alias(); |
| 2557 inline void clear_has_allow_alias(); | 2963 void clear_has_allow_alias(); |
| 2558 inline void set_has_deprecated(); | 2964 void set_has_deprecated(); |
| 2559 inline void clear_has_deprecated(); | 2965 void clear_has_deprecated(); |
| 2560 | 2966 |
| 2561 ::google::protobuf::internal::ExtensionSet _extensions_; | 2967 ::google::protobuf::internal::ExtensionSet _extensions_; |
| 2562 | 2968 |
| 2563 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 2969 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2564 ::google::protobuf::uint32 _has_bits_[1]; | 2970 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 2565 mutable int _cached_size_; | 2971 mutable int _cached_size_; |
| 2566 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | 2972 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
| 2567 bool allow_alias_; | 2973 bool allow_alias_; |
| 2568 bool deprecated_; | 2974 bool deprecated_; |
| 2569 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 2975 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 2570 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 2976 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); |
| 2977 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); |
| 2571 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 2978 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 2572 | 2979 |
| 2573 void InitAsDefaultInstance(); | |
| 2574 static EnumOptions* default_instance_; | |
| 2575 }; | 2980 }; |
| 2576 // ------------------------------------------------------------------- | 2981 // ------------------------------------------------------------------- |
| 2577 | 2982 |
| 2578 class LIBPROTOBUF_EXPORT EnumValueOptions : public ::google::protobuf::Message { | 2983 class LIBPROTOBUF_EXPORT EnumValueOptions : public ::google::protobuf::Message /
* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueOptions) */
{ |
| 2579 public: | 2984 public: |
| 2580 EnumValueOptions(); | 2985 EnumValueOptions(); |
| 2581 virtual ~EnumValueOptions(); | 2986 virtual ~EnumValueOptions(); |
| 2582 | 2987 |
| 2583 EnumValueOptions(const EnumValueOptions& from); | 2988 EnumValueOptions(const EnumValueOptions& from); |
| 2584 | 2989 |
| 2585 inline EnumValueOptions& operator=(const EnumValueOptions& from) { | 2990 inline EnumValueOptions& operator=(const EnumValueOptions& from) { |
| 2586 CopyFrom(from); | 2991 CopyFrom(from); |
| 2587 return *this; | 2992 return *this; |
| 2588 } | 2993 } |
| 2589 | 2994 |
| 2590 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 2995 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 2591 return _internal_metadata_.unknown_fields(); | 2996 return _internal_metadata_.unknown_fields(); |
| 2592 } | 2997 } |
| 2593 | 2998 |
| 2594 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 2999 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 2595 return _internal_metadata_.mutable_unknown_fields(); | 3000 return _internal_metadata_.mutable_unknown_fields(); |
| 2596 } | 3001 } |
| 2597 | 3002 |
| 2598 static const ::google::protobuf::Descriptor* descriptor(); | 3003 static const ::google::protobuf::Descriptor* descriptor(); |
| 2599 static const EnumValueOptions& default_instance(); | 3004 static const EnumValueOptions& default_instance(); |
| 2600 | 3005 |
| 3006 static inline const EnumValueOptions* internal_default_instance() { |
| 3007 return reinterpret_cast<const EnumValueOptions*>( |
| 3008 &_EnumValueOptions_default_instance_); |
| 3009 } |
| 3010 |
| 2601 void Swap(EnumValueOptions* other); | 3011 void Swap(EnumValueOptions* other); |
| 2602 | 3012 |
| 2603 // implements Message ---------------------------------------------- | 3013 // implements Message ---------------------------------------------- |
| 2604 | 3014 |
| 2605 inline EnumValueOptions* New() const { return New(NULL); } | 3015 inline EnumValueOptions* New() const PROTOBUF_FINAL { return New(NULL); } |
| 2606 | 3016 |
| 2607 EnumValueOptions* New(::google::protobuf::Arena* arena) const; | 3017 EnumValueOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 2608 void CopyFrom(const ::google::protobuf::Message& from); | 3018 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 2609 void MergeFrom(const ::google::protobuf::Message& from); | 3019 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 2610 void CopyFrom(const EnumValueOptions& from); | 3020 void CopyFrom(const EnumValueOptions& from); |
| 2611 void MergeFrom(const EnumValueOptions& from); | 3021 void MergeFrom(const EnumValueOptions& from); |
| 2612 void Clear(); | 3022 void Clear() PROTOBUF_FINAL; |
| 2613 bool IsInitialized() const; | 3023 bool IsInitialized() const PROTOBUF_FINAL; |
| 2614 | 3024 |
| 2615 int ByteSize() const; | 3025 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 2616 bool MergePartialFromCodedStream( | 3026 bool MergePartialFromCodedStream( |
| 2617 ::google::protobuf::io::CodedInputStream* input); | 3027 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 2618 void SerializeWithCachedSizes( | 3028 void SerializeWithCachedSizes( |
| 2619 ::google::protobuf::io::CodedOutputStream* output) const; | 3029 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 2620 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 3030 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2621 int GetCachedSize() const { return _cached_size_; } | 3031 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 2622 private: | 3037 private: |
| 2623 void SharedCtor(); | 3038 void SharedCtor(); |
| 2624 void SharedDtor(); | 3039 void SharedDtor(); |
| 2625 void SetCachedSize(int size) const; | 3040 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 2626 void InternalSwap(EnumValueOptions* other); | 3041 void InternalSwap(EnumValueOptions* other); |
| 2627 private: | 3042 private: |
| 2628 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 3043 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2629 return _internal_metadata_.arena(); | 3044 return NULL; |
| 2630 } | 3045 } |
| 2631 inline void* MaybeArenaPtr() const { | 3046 inline void* MaybeArenaPtr() const { |
| 2632 return _internal_metadata_.raw_arena_ptr(); | 3047 return NULL; |
| 2633 } | 3048 } |
| 2634 public: | 3049 public: |
| 2635 | 3050 |
| 2636 ::google::protobuf::Metadata GetMetadata() const; | 3051 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 2637 | 3052 |
| 2638 // nested types ---------------------------------------------------- | 3053 // nested types ---------------------------------------------------- |
| 2639 | 3054 |
| 2640 // accessors ------------------------------------------------------- | 3055 // accessors ------------------------------------------------------- |
| 2641 | 3056 |
| 2642 // optional bool deprecated = 1 [default = false]; | 3057 // optional bool deprecated = 1 [default = false]; |
| 2643 bool has_deprecated() const; | 3058 bool has_deprecated() const; |
| 2644 void clear_deprecated(); | 3059 void clear_deprecated(); |
| 2645 static const int kDeprecatedFieldNumber = 1; | 3060 static const int kDeprecatedFieldNumber = 1; |
| 2646 bool deprecated() const; | 3061 bool deprecated() const; |
| 2647 void set_deprecated(bool value); | 3062 void set_deprecated(bool value); |
| 2648 | 3063 |
| 2649 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 3064 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 2650 int uninterpreted_option_size() const; | 3065 int uninterpreted_option_size() const; |
| 2651 void clear_uninterpreted_option(); | 3066 void clear_uninterpreted_option(); |
| 2652 static const int kUninterpretedOptionFieldNumber = 999; | 3067 static const int kUninterpretedOptionFieldNumber = 999; |
| 2653 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; | 3068 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; |
| 2654 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 3069 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); |
| 2655 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 3070 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| 2656 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 3071 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* |
| 2657 mutable_uninterpreted_option(); | 3072 mutable_uninterpreted_option(); |
| 2658 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 3073 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& |
| 2659 uninterpreted_option() const; | 3074 uninterpreted_option() const; |
| 2660 | 3075 |
| 2661 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions) | 3076 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions) |
| 2662 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions) | 3077 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions) |
| 2663 private: | 3078 private: |
| 2664 inline void set_has_deprecated(); | 3079 void set_has_deprecated(); |
| 2665 inline void clear_has_deprecated(); | 3080 void clear_has_deprecated(); |
| 2666 | 3081 |
| 2667 ::google::protobuf::internal::ExtensionSet _extensions_; | 3082 ::google::protobuf::internal::ExtensionSet _extensions_; |
| 2668 | 3083 |
| 2669 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 3084 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2670 ::google::protobuf::uint32 _has_bits_[1]; | 3085 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 2671 mutable int _cached_size_; | 3086 mutable int _cached_size_; |
| 2672 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | 3087 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
| 2673 bool deprecated_; | 3088 bool deprecated_; |
| 2674 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 3089 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 2675 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 3090 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); |
| 3091 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); |
| 2676 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 3092 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 2677 | 3093 |
| 2678 void InitAsDefaultInstance(); | |
| 2679 static EnumValueOptions* default_instance_; | |
| 2680 }; | 3094 }; |
| 2681 // ------------------------------------------------------------------- | 3095 // ------------------------------------------------------------------- |
| 2682 | 3096 |
| 2683 class LIBPROTOBUF_EXPORT ServiceOptions : public ::google::protobuf::Message { | 3097 class LIBPROTOBUF_EXPORT ServiceOptions : public ::google::protobuf::Message /*
@@protoc_insertion_point(class_definition:google.protobuf.ServiceOptions) */ { |
| 2684 public: | 3098 public: |
| 2685 ServiceOptions(); | 3099 ServiceOptions(); |
| 2686 virtual ~ServiceOptions(); | 3100 virtual ~ServiceOptions(); |
| 2687 | 3101 |
| 2688 ServiceOptions(const ServiceOptions& from); | 3102 ServiceOptions(const ServiceOptions& from); |
| 2689 | 3103 |
| 2690 inline ServiceOptions& operator=(const ServiceOptions& from) { | 3104 inline ServiceOptions& operator=(const ServiceOptions& from) { |
| 2691 CopyFrom(from); | 3105 CopyFrom(from); |
| 2692 return *this; | 3106 return *this; |
| 2693 } | 3107 } |
| 2694 | 3108 |
| 2695 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 3109 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 2696 return _internal_metadata_.unknown_fields(); | 3110 return _internal_metadata_.unknown_fields(); |
| 2697 } | 3111 } |
| 2698 | 3112 |
| 2699 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 3113 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 2700 return _internal_metadata_.mutable_unknown_fields(); | 3114 return _internal_metadata_.mutable_unknown_fields(); |
| 2701 } | 3115 } |
| 2702 | 3116 |
| 2703 static const ::google::protobuf::Descriptor* descriptor(); | 3117 static const ::google::protobuf::Descriptor* descriptor(); |
| 2704 static const ServiceOptions& default_instance(); | 3118 static const ServiceOptions& default_instance(); |
| 2705 | 3119 |
| 3120 static inline const ServiceOptions* internal_default_instance() { |
| 3121 return reinterpret_cast<const ServiceOptions*>( |
| 3122 &_ServiceOptions_default_instance_); |
| 3123 } |
| 3124 |
| 2706 void Swap(ServiceOptions* other); | 3125 void Swap(ServiceOptions* other); |
| 2707 | 3126 |
| 2708 // implements Message ---------------------------------------------- | 3127 // implements Message ---------------------------------------------- |
| 2709 | 3128 |
| 2710 inline ServiceOptions* New() const { return New(NULL); } | 3129 inline ServiceOptions* New() const PROTOBUF_FINAL { return New(NULL); } |
| 2711 | 3130 |
| 2712 ServiceOptions* New(::google::protobuf::Arena* arena) const; | 3131 ServiceOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 2713 void CopyFrom(const ::google::protobuf::Message& from); | 3132 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 2714 void MergeFrom(const ::google::protobuf::Message& from); | 3133 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 2715 void CopyFrom(const ServiceOptions& from); | 3134 void CopyFrom(const ServiceOptions& from); |
| 2716 void MergeFrom(const ServiceOptions& from); | 3135 void MergeFrom(const ServiceOptions& from); |
| 2717 void Clear(); | 3136 void Clear() PROTOBUF_FINAL; |
| 2718 bool IsInitialized() const; | 3137 bool IsInitialized() const PROTOBUF_FINAL; |
| 2719 | 3138 |
| 2720 int ByteSize() const; | 3139 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 2721 bool MergePartialFromCodedStream( | 3140 bool MergePartialFromCodedStream( |
| 2722 ::google::protobuf::io::CodedInputStream* input); | 3141 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 2723 void SerializeWithCachedSizes( | 3142 void SerializeWithCachedSizes( |
| 2724 ::google::protobuf::io::CodedOutputStream* output) const; | 3143 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 2725 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 3144 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2726 int GetCachedSize() const { return _cached_size_; } | 3145 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 2727 private: | 3151 private: |
| 2728 void SharedCtor(); | 3152 void SharedCtor(); |
| 2729 void SharedDtor(); | 3153 void SharedDtor(); |
| 2730 void SetCachedSize(int size) const; | 3154 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 2731 void InternalSwap(ServiceOptions* other); | 3155 void InternalSwap(ServiceOptions* other); |
| 2732 private: | 3156 private: |
| 2733 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 3157 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2734 return _internal_metadata_.arena(); | 3158 return NULL; |
| 2735 } | 3159 } |
| 2736 inline void* MaybeArenaPtr() const { | 3160 inline void* MaybeArenaPtr() const { |
| 2737 return _internal_metadata_.raw_arena_ptr(); | 3161 return NULL; |
| 2738 } | 3162 } |
| 2739 public: | 3163 public: |
| 2740 | 3164 |
| 2741 ::google::protobuf::Metadata GetMetadata() const; | 3165 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 2742 | 3166 |
| 2743 // nested types ---------------------------------------------------- | 3167 // nested types ---------------------------------------------------- |
| 2744 | 3168 |
| 2745 // accessors ------------------------------------------------------- | 3169 // accessors ------------------------------------------------------- |
| 2746 | 3170 |
| 2747 // optional bool deprecated = 33 [default = false]; | 3171 // optional bool deprecated = 33 [default = false]; |
| 2748 bool has_deprecated() const; | 3172 bool has_deprecated() const; |
| 2749 void clear_deprecated(); | 3173 void clear_deprecated(); |
| 2750 static const int kDeprecatedFieldNumber = 33; | 3174 static const int kDeprecatedFieldNumber = 33; |
| 2751 bool deprecated() const; | 3175 bool deprecated() const; |
| 2752 void set_deprecated(bool value); | 3176 void set_deprecated(bool value); |
| 2753 | 3177 |
| 2754 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 3178 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 2755 int uninterpreted_option_size() const; | 3179 int uninterpreted_option_size() const; |
| 2756 void clear_uninterpreted_option(); | 3180 void clear_uninterpreted_option(); |
| 2757 static const int kUninterpretedOptionFieldNumber = 999; | 3181 static const int kUninterpretedOptionFieldNumber = 999; |
| 2758 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; | 3182 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; |
| 2759 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 3183 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); |
| 2760 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 3184 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| 2761 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 3185 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* |
| 2762 mutable_uninterpreted_option(); | 3186 mutable_uninterpreted_option(); |
| 2763 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 3187 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& |
| 2764 uninterpreted_option() const; | 3188 uninterpreted_option() const; |
| 2765 | 3189 |
| 2766 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions) | 3190 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions) |
| 2767 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions) | 3191 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions) |
| 2768 private: | 3192 private: |
| 2769 inline void set_has_deprecated(); | 3193 void set_has_deprecated(); |
| 2770 inline void clear_has_deprecated(); | 3194 void clear_has_deprecated(); |
| 2771 | 3195 |
| 2772 ::google::protobuf::internal::ExtensionSet _extensions_; | 3196 ::google::protobuf::internal::ExtensionSet _extensions_; |
| 2773 | 3197 |
| 2774 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 3198 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2775 ::google::protobuf::uint32 _has_bits_[1]; | 3199 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 2776 mutable int _cached_size_; | 3200 mutable int _cached_size_; |
| 2777 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | 3201 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
| 2778 bool deprecated_; | 3202 bool deprecated_; |
| 2779 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 3203 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 2780 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 3204 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); |
| 3205 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); |
| 2781 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 3206 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 2782 | 3207 |
| 2783 void InitAsDefaultInstance(); | |
| 2784 static ServiceOptions* default_instance_; | |
| 2785 }; | 3208 }; |
| 2786 // ------------------------------------------------------------------- | 3209 // ------------------------------------------------------------------- |
| 2787 | 3210 |
| 2788 class LIBPROTOBUF_EXPORT MethodOptions : public ::google::protobuf::Message { | 3211 class LIBPROTOBUF_EXPORT MethodOptions : public ::google::protobuf::Message /* @
@protoc_insertion_point(class_definition:google.protobuf.MethodOptions) */ { |
| 2789 public: | 3212 public: |
| 2790 MethodOptions(); | 3213 MethodOptions(); |
| 2791 virtual ~MethodOptions(); | 3214 virtual ~MethodOptions(); |
| 2792 | 3215 |
| 2793 MethodOptions(const MethodOptions& from); | 3216 MethodOptions(const MethodOptions& from); |
| 2794 | 3217 |
| 2795 inline MethodOptions& operator=(const MethodOptions& from) { | 3218 inline MethodOptions& operator=(const MethodOptions& from) { |
| 2796 CopyFrom(from); | 3219 CopyFrom(from); |
| 2797 return *this; | 3220 return *this; |
| 2798 } | 3221 } |
| 2799 | 3222 |
| 2800 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 3223 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 2801 return _internal_metadata_.unknown_fields(); | 3224 return _internal_metadata_.unknown_fields(); |
| 2802 } | 3225 } |
| 2803 | 3226 |
| 2804 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 3227 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 2805 return _internal_metadata_.mutable_unknown_fields(); | 3228 return _internal_metadata_.mutable_unknown_fields(); |
| 2806 } | 3229 } |
| 2807 | 3230 |
| 2808 static const ::google::protobuf::Descriptor* descriptor(); | 3231 static const ::google::protobuf::Descriptor* descriptor(); |
| 2809 static const MethodOptions& default_instance(); | 3232 static const MethodOptions& default_instance(); |
| 2810 | 3233 |
| 3234 static inline const MethodOptions* internal_default_instance() { |
| 3235 return reinterpret_cast<const MethodOptions*>( |
| 3236 &_MethodOptions_default_instance_); |
| 3237 } |
| 3238 |
| 2811 void Swap(MethodOptions* other); | 3239 void Swap(MethodOptions* other); |
| 2812 | 3240 |
| 2813 // implements Message ---------------------------------------------- | 3241 // implements Message ---------------------------------------------- |
| 2814 | 3242 |
| 2815 inline MethodOptions* New() const { return New(NULL); } | 3243 inline MethodOptions* New() const PROTOBUF_FINAL { return New(NULL); } |
| 2816 | 3244 |
| 2817 MethodOptions* New(::google::protobuf::Arena* arena) const; | 3245 MethodOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 2818 void CopyFrom(const ::google::protobuf::Message& from); | 3246 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 2819 void MergeFrom(const ::google::protobuf::Message& from); | 3247 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 2820 void CopyFrom(const MethodOptions& from); | 3248 void CopyFrom(const MethodOptions& from); |
| 2821 void MergeFrom(const MethodOptions& from); | 3249 void MergeFrom(const MethodOptions& from); |
| 2822 void Clear(); | 3250 void Clear() PROTOBUF_FINAL; |
| 2823 bool IsInitialized() const; | 3251 bool IsInitialized() const PROTOBUF_FINAL; |
| 2824 | 3252 |
| 2825 int ByteSize() const; | 3253 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 2826 bool MergePartialFromCodedStream( | 3254 bool MergePartialFromCodedStream( |
| 2827 ::google::protobuf::io::CodedInputStream* input); | 3255 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 2828 void SerializeWithCachedSizes( | 3256 void SerializeWithCachedSizes( |
| 2829 ::google::protobuf::io::CodedOutputStream* output) const; | 3257 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 2830 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 3258 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2831 int GetCachedSize() const { return _cached_size_; } | 3259 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 2832 private: | 3265 private: |
| 2833 void SharedCtor(); | 3266 void SharedCtor(); |
| 2834 void SharedDtor(); | 3267 void SharedDtor(); |
| 2835 void SetCachedSize(int size) const; | 3268 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 2836 void InternalSwap(MethodOptions* other); | 3269 void InternalSwap(MethodOptions* other); |
| 2837 private: | 3270 private: |
| 2838 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 3271 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2839 return _internal_metadata_.arena(); | 3272 return NULL; |
| 2840 } | 3273 } |
| 2841 inline void* MaybeArenaPtr() const { | 3274 inline void* MaybeArenaPtr() const { |
| 2842 return _internal_metadata_.raw_arena_ptr(); | 3275 return NULL; |
| 2843 } | 3276 } |
| 2844 public: | 3277 public: |
| 2845 | 3278 |
| 2846 ::google::protobuf::Metadata GetMetadata() const; | 3279 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 2847 | 3280 |
| 2848 // nested types ---------------------------------------------------- | 3281 // nested types ---------------------------------------------------- |
| 2849 | 3282 |
| 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 |
| 2850 // accessors ------------------------------------------------------- | 3311 // accessors ------------------------------------------------------- |
| 2851 | 3312 |
| 2852 // optional bool deprecated = 33 [default = false]; | 3313 // optional bool deprecated = 33 [default = false]; |
| 2853 bool has_deprecated() const; | 3314 bool has_deprecated() const; |
| 2854 void clear_deprecated(); | 3315 void clear_deprecated(); |
| 2855 static const int kDeprecatedFieldNumber = 33; | 3316 static const int kDeprecatedFieldNumber = 33; |
| 2856 bool deprecated() const; | 3317 bool deprecated() const; |
| 2857 void set_deprecated(bool value); | 3318 void set_deprecated(bool value); |
| 2858 | 3319 |
| 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 |
| 2859 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 3327 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 2860 int uninterpreted_option_size() const; | 3328 int uninterpreted_option_size() const; |
| 2861 void clear_uninterpreted_option(); | 3329 void clear_uninterpreted_option(); |
| 2862 static const int kUninterpretedOptionFieldNumber = 999; | 3330 static const int kUninterpretedOptionFieldNumber = 999; |
| 2863 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; | 3331 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index)
const; |
| 2864 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); | 3332 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int inde
x); |
| 2865 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); | 3333 ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| 2866 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* | 3334 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
>* |
| 2867 mutable_uninterpreted_option(); | 3335 mutable_uninterpreted_option(); |
| 2868 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& | 3336 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption >& |
| 2869 uninterpreted_option() const; | 3337 uninterpreted_option() const; |
| 2870 | 3338 |
| 2871 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions) | 3339 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions) |
| 2872 // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions) | 3340 // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions) |
| 2873 private: | 3341 private: |
| 2874 inline void set_has_deprecated(); | 3342 void set_has_deprecated(); |
| 2875 inline void clear_has_deprecated(); | 3343 void clear_has_deprecated(); |
| 3344 void set_has_idempotency_level(); |
| 3345 void clear_has_idempotency_level(); |
| 2876 | 3346 |
| 2877 ::google::protobuf::internal::ExtensionSet _extensions_; | 3347 ::google::protobuf::internal::ExtensionSet _extensions_; |
| 2878 | 3348 |
| 2879 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 3349 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2880 ::google::protobuf::uint32 _has_bits_[1]; | 3350 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 2881 mutable int _cached_size_; | 3351 mutable int _cached_size_; |
| 2882 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; | 3352 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption
> uninterpreted_option_; |
| 2883 bool deprecated_; | 3353 bool deprecated_; |
| 2884 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 3354 int idempotency_level_; |
| 2885 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 3355 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 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(); |
| 2886 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 3358 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 2887 | 3359 |
| 2888 void InitAsDefaultInstance(); | |
| 2889 static MethodOptions* default_instance_; | |
| 2890 }; | 3360 }; |
| 2891 // ------------------------------------------------------------------- | 3361 // ------------------------------------------------------------------- |
| 2892 | 3362 |
| 2893 class LIBPROTOBUF_EXPORT UninterpretedOption_NamePart : public ::google::protobu
f::Message { | 3363 class LIBPROTOBUF_EXPORT UninterpretedOption_NamePart : public ::google::protobu
f::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Uninterp
retedOption.NamePart) */ { |
| 2894 public: | 3364 public: |
| 2895 UninterpretedOption_NamePart(); | 3365 UninterpretedOption_NamePart(); |
| 2896 virtual ~UninterpretedOption_NamePart(); | 3366 virtual ~UninterpretedOption_NamePart(); |
| 2897 | 3367 |
| 2898 UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from); | 3368 UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from); |
| 2899 | 3369 |
| 2900 inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NameP
art& from) { | 3370 inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NameP
art& from) { |
| 2901 CopyFrom(from); | 3371 CopyFrom(from); |
| 2902 return *this; | 3372 return *this; |
| 2903 } | 3373 } |
| 2904 | 3374 |
| 2905 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 3375 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 2906 return _internal_metadata_.unknown_fields(); | 3376 return _internal_metadata_.unknown_fields(); |
| 2907 } | 3377 } |
| 2908 | 3378 |
| 2909 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 3379 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 2910 return _internal_metadata_.mutable_unknown_fields(); | 3380 return _internal_metadata_.mutable_unknown_fields(); |
| 2911 } | 3381 } |
| 2912 | 3382 |
| 2913 static const ::google::protobuf::Descriptor* descriptor(); | 3383 static const ::google::protobuf::Descriptor* descriptor(); |
| 2914 static const UninterpretedOption_NamePart& default_instance(); | 3384 static const UninterpretedOption_NamePart& default_instance(); |
| 2915 | 3385 |
| 3386 static inline const UninterpretedOption_NamePart* internal_default_instance()
{ |
| 3387 return reinterpret_cast<const UninterpretedOption_NamePart*>( |
| 3388 &_UninterpretedOption_NamePart_default_instance_); |
| 3389 } |
| 3390 |
| 2916 void Swap(UninterpretedOption_NamePart* other); | 3391 void Swap(UninterpretedOption_NamePart* other); |
| 2917 | 3392 |
| 2918 // implements Message ---------------------------------------------- | 3393 // implements Message ---------------------------------------------- |
| 2919 | 3394 |
| 2920 inline UninterpretedOption_NamePart* New() const { return New(NULL); } | 3395 inline UninterpretedOption_NamePart* New() const PROTOBUF_FINAL { return New(N
ULL); } |
| 2921 | 3396 |
| 2922 UninterpretedOption_NamePart* New(::google::protobuf::Arena* arena) const; | 3397 UninterpretedOption_NamePart* New(::google::protobuf::Arena* arena) const PROT
OBUF_FINAL; |
| 2923 void CopyFrom(const ::google::protobuf::Message& from); | 3398 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 2924 void MergeFrom(const ::google::protobuf::Message& from); | 3399 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 2925 void CopyFrom(const UninterpretedOption_NamePart& from); | 3400 void CopyFrom(const UninterpretedOption_NamePart& from); |
| 2926 void MergeFrom(const UninterpretedOption_NamePart& from); | 3401 void MergeFrom(const UninterpretedOption_NamePart& from); |
| 2927 void Clear(); | 3402 void Clear() PROTOBUF_FINAL; |
| 2928 bool IsInitialized() const; | 3403 bool IsInitialized() const PROTOBUF_FINAL; |
| 2929 | 3404 |
| 2930 int ByteSize() const; | 3405 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 2931 bool MergePartialFromCodedStream( | 3406 bool MergePartialFromCodedStream( |
| 2932 ::google::protobuf::io::CodedInputStream* input); | 3407 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 2933 void SerializeWithCachedSizes( | 3408 void SerializeWithCachedSizes( |
| 2934 ::google::protobuf::io::CodedOutputStream* output) const; | 3409 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 2935 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 3410 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2936 int GetCachedSize() const { return _cached_size_; } | 3411 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 2937 private: | 3417 private: |
| 2938 void SharedCtor(); | 3418 void SharedCtor(); |
| 2939 void SharedDtor(); | 3419 void SharedDtor(); |
| 2940 void SetCachedSize(int size) const; | 3420 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 2941 void InternalSwap(UninterpretedOption_NamePart* other); | 3421 void InternalSwap(UninterpretedOption_NamePart* other); |
| 2942 private: | 3422 private: |
| 2943 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 3423 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2944 return _internal_metadata_.arena(); | 3424 return NULL; |
| 2945 } | 3425 } |
| 2946 inline void* MaybeArenaPtr() const { | 3426 inline void* MaybeArenaPtr() const { |
| 2947 return _internal_metadata_.raw_arena_ptr(); | 3427 return NULL; |
| 2948 } | 3428 } |
| 2949 public: | 3429 public: |
| 2950 | 3430 |
| 2951 ::google::protobuf::Metadata GetMetadata() const; | 3431 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 2952 | 3432 |
| 2953 // nested types ---------------------------------------------------- | 3433 // nested types ---------------------------------------------------- |
| 2954 | 3434 |
| 2955 // accessors ------------------------------------------------------- | 3435 // accessors ------------------------------------------------------- |
| 2956 | 3436 |
| 2957 // required string name_part = 1; | 3437 // required string name_part = 1; |
| 2958 bool has_name_part() const; | 3438 bool has_name_part() const; |
| 2959 void clear_name_part(); | 3439 void clear_name_part(); |
| 2960 static const int kNamePartFieldNumber = 1; | 3440 static const int kNamePartFieldNumber = 1; |
| 2961 const ::std::string& name_part() const; | 3441 const ::std::string& name_part() const; |
| 2962 void set_name_part(const ::std::string& value); | 3442 void set_name_part(const ::std::string& value); |
| 3443 #if LANG_CXX11 |
| 3444 void set_name_part(::std::string&& value); |
| 3445 #endif |
| 2963 void set_name_part(const char* value); | 3446 void set_name_part(const char* value); |
| 2964 void set_name_part(const char* value, size_t size); | 3447 void set_name_part(const char* value, size_t size); |
| 2965 ::std::string* mutable_name_part(); | 3448 ::std::string* mutable_name_part(); |
| 2966 ::std::string* release_name_part(); | 3449 ::std::string* release_name_part(); |
| 2967 void set_allocated_name_part(::std::string* name_part); | 3450 void set_allocated_name_part(::std::string* name_part); |
| 2968 | 3451 |
| 2969 // required bool is_extension = 2; | 3452 // required bool is_extension = 2; |
| 2970 bool has_is_extension() const; | 3453 bool has_is_extension() const; |
| 2971 void clear_is_extension(); | 3454 void clear_is_extension(); |
| 2972 static const int kIsExtensionFieldNumber = 2; | 3455 static const int kIsExtensionFieldNumber = 2; |
| 2973 bool is_extension() const; | 3456 bool is_extension() const; |
| 2974 void set_is_extension(bool value); | 3457 void set_is_extension(bool value); |
| 2975 | 3458 |
| 2976 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.Na
mePart) | 3459 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.Na
mePart) |
| 2977 private: | 3460 private: |
| 2978 inline void set_has_name_part(); | 3461 void set_has_name_part(); |
| 2979 inline void clear_has_name_part(); | 3462 void clear_has_name_part(); |
| 2980 inline void set_has_is_extension(); | 3463 void set_has_is_extension(); |
| 2981 inline void clear_has_is_extension(); | 3464 void clear_has_is_extension(); |
| 2982 | 3465 |
| 2983 // helper for ByteSize() | 3466 // helper for ByteSizeLong() |
| 2984 int RequiredFieldsByteSizeFallback() const; | 3467 size_t RequiredFieldsByteSizeFallback() const; |
| 2985 | 3468 |
| 2986 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 3469 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2987 ::google::protobuf::uint32 _has_bits_[1]; | 3470 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 2988 mutable int _cached_size_; | 3471 mutable int _cached_size_; |
| 2989 ::google::protobuf::internal::ArenaStringPtr name_part_; | 3472 ::google::protobuf::internal::ArenaStringPtr name_part_; |
| 2990 bool is_extension_; | 3473 bool is_extension_; |
| 2991 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 3474 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 2992 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 3475 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); |
| 3476 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); |
| 2993 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 3477 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 2994 | 3478 |
| 2995 void InitAsDefaultInstance(); | |
| 2996 static UninterpretedOption_NamePart* default_instance_; | |
| 2997 }; | 3479 }; |
| 2998 // ------------------------------------------------------------------- | 3480 // ------------------------------------------------------------------- |
| 2999 | 3481 |
| 3000 class LIBPROTOBUF_EXPORT UninterpretedOption : public ::google::protobuf::Messag
e { | 3482 class LIBPROTOBUF_EXPORT UninterpretedOption : public ::google::protobuf::Messag
e /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOpti
on) */ { |
| 3001 public: | 3483 public: |
| 3002 UninterpretedOption(); | 3484 UninterpretedOption(); |
| 3003 virtual ~UninterpretedOption(); | 3485 virtual ~UninterpretedOption(); |
| 3004 | 3486 |
| 3005 UninterpretedOption(const UninterpretedOption& from); | 3487 UninterpretedOption(const UninterpretedOption& from); |
| 3006 | 3488 |
| 3007 inline UninterpretedOption& operator=(const UninterpretedOption& from) { | 3489 inline UninterpretedOption& operator=(const UninterpretedOption& from) { |
| 3008 CopyFrom(from); | 3490 CopyFrom(from); |
| 3009 return *this; | 3491 return *this; |
| 3010 } | 3492 } |
| 3011 | 3493 |
| 3012 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 3494 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 3013 return _internal_metadata_.unknown_fields(); | 3495 return _internal_metadata_.unknown_fields(); |
| 3014 } | 3496 } |
| 3015 | 3497 |
| 3016 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 3498 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 3017 return _internal_metadata_.mutable_unknown_fields(); | 3499 return _internal_metadata_.mutable_unknown_fields(); |
| 3018 } | 3500 } |
| 3019 | 3501 |
| 3020 static const ::google::protobuf::Descriptor* descriptor(); | 3502 static const ::google::protobuf::Descriptor* descriptor(); |
| 3021 static const UninterpretedOption& default_instance(); | 3503 static const UninterpretedOption& default_instance(); |
| 3022 | 3504 |
| 3505 static inline const UninterpretedOption* internal_default_instance() { |
| 3506 return reinterpret_cast<const UninterpretedOption*>( |
| 3507 &_UninterpretedOption_default_instance_); |
| 3508 } |
| 3509 |
| 3023 void Swap(UninterpretedOption* other); | 3510 void Swap(UninterpretedOption* other); |
| 3024 | 3511 |
| 3025 // implements Message ---------------------------------------------- | 3512 // implements Message ---------------------------------------------- |
| 3026 | 3513 |
| 3027 inline UninterpretedOption* New() const { return New(NULL); } | 3514 inline UninterpretedOption* New() const PROTOBUF_FINAL { return New(NULL); } |
| 3028 | 3515 |
| 3029 UninterpretedOption* New(::google::protobuf::Arena* arena) const; | 3516 UninterpretedOption* New(::google::protobuf::Arena* arena) const PROTOBUF_FINA
L; |
| 3030 void CopyFrom(const ::google::protobuf::Message& from); | 3517 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 3031 void MergeFrom(const ::google::protobuf::Message& from); | 3518 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 3032 void CopyFrom(const UninterpretedOption& from); | 3519 void CopyFrom(const UninterpretedOption& from); |
| 3033 void MergeFrom(const UninterpretedOption& from); | 3520 void MergeFrom(const UninterpretedOption& from); |
| 3034 void Clear(); | 3521 void Clear() PROTOBUF_FINAL; |
| 3035 bool IsInitialized() const; | 3522 bool IsInitialized() const PROTOBUF_FINAL; |
| 3036 | 3523 |
| 3037 int ByteSize() const; | 3524 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 3038 bool MergePartialFromCodedStream( | 3525 bool MergePartialFromCodedStream( |
| 3039 ::google::protobuf::io::CodedInputStream* input); | 3526 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 3040 void SerializeWithCachedSizes( | 3527 void SerializeWithCachedSizes( |
| 3041 ::google::protobuf::io::CodedOutputStream* output) const; | 3528 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 3042 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 3529 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 3043 int GetCachedSize() const { return _cached_size_; } | 3530 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 3044 private: | 3536 private: |
| 3045 void SharedCtor(); | 3537 void SharedCtor(); |
| 3046 void SharedDtor(); | 3538 void SharedDtor(); |
| 3047 void SetCachedSize(int size) const; | 3539 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 3048 void InternalSwap(UninterpretedOption* other); | 3540 void InternalSwap(UninterpretedOption* other); |
| 3049 private: | 3541 private: |
| 3050 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 3542 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 3051 return _internal_metadata_.arena(); | 3543 return NULL; |
| 3052 } | 3544 } |
| 3053 inline void* MaybeArenaPtr() const { | 3545 inline void* MaybeArenaPtr() const { |
| 3054 return _internal_metadata_.raw_arena_ptr(); | 3546 return NULL; |
| 3055 } | 3547 } |
| 3056 public: | 3548 public: |
| 3057 | 3549 |
| 3058 ::google::protobuf::Metadata GetMetadata() const; | 3550 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 3059 | 3551 |
| 3060 // nested types ---------------------------------------------------- | 3552 // nested types ---------------------------------------------------- |
| 3061 | 3553 |
| 3062 typedef UninterpretedOption_NamePart NamePart; | 3554 typedef UninterpretedOption_NamePart NamePart; |
| 3063 | 3555 |
| 3064 // accessors ------------------------------------------------------- | 3556 // accessors ------------------------------------------------------- |
| 3065 | 3557 |
| 3066 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; | 3558 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
| 3067 int name_size() const; | 3559 int name_size() const; |
| 3068 void clear_name(); | 3560 void clear_name(); |
| 3069 static const int kNameFieldNumber = 2; | 3561 static const int kNameFieldNumber = 2; |
| 3070 const ::google::protobuf::UninterpretedOption_NamePart& name(int index) const; | 3562 const ::google::protobuf::UninterpretedOption_NamePart& name(int index) const; |
| 3071 ::google::protobuf::UninterpretedOption_NamePart* mutable_name(int index); | 3563 ::google::protobuf::UninterpretedOption_NamePart* mutable_name(int index); |
| 3072 ::google::protobuf::UninterpretedOption_NamePart* add_name(); | 3564 ::google::protobuf::UninterpretedOption_NamePart* add_name(); |
| 3073 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_
NamePart >* | 3565 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_
NamePart >* |
| 3074 mutable_name(); | 3566 mutable_name(); |
| 3075 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption_NamePart >& | 3567 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedO
ption_NamePart >& |
| 3076 name() const; | 3568 name() const; |
| 3077 | 3569 |
| 3078 // optional string identifier_value = 3; | 3570 // optional string identifier_value = 3; |
| 3079 bool has_identifier_value() const; | 3571 bool has_identifier_value() const; |
| 3080 void clear_identifier_value(); | 3572 void clear_identifier_value(); |
| 3081 static const int kIdentifierValueFieldNumber = 3; | 3573 static const int kIdentifierValueFieldNumber = 3; |
| 3082 const ::std::string& identifier_value() const; | 3574 const ::std::string& identifier_value() const; |
| 3083 void set_identifier_value(const ::std::string& value); | 3575 void set_identifier_value(const ::std::string& value); |
| 3576 #if LANG_CXX11 |
| 3577 void set_identifier_value(::std::string&& value); |
| 3578 #endif |
| 3084 void set_identifier_value(const char* value); | 3579 void set_identifier_value(const char* value); |
| 3085 void set_identifier_value(const char* value, size_t size); | 3580 void set_identifier_value(const char* value, size_t size); |
| 3086 ::std::string* mutable_identifier_value(); | 3581 ::std::string* mutable_identifier_value(); |
| 3087 ::std::string* release_identifier_value(); | 3582 ::std::string* release_identifier_value(); |
| 3088 void set_allocated_identifier_value(::std::string* identifier_value); | 3583 void set_allocated_identifier_value(::std::string* identifier_value); |
| 3089 | 3584 |
| 3090 // optional uint64 positive_int_value = 4; | 3585 // optional uint64 positive_int_value = 4; |
| 3091 bool has_positive_int_value() const; | 3586 bool has_positive_int_value() const; |
| 3092 void clear_positive_int_value(); | 3587 void clear_positive_int_value(); |
| 3093 static const int kPositiveIntValueFieldNumber = 4; | 3588 static const int kPositiveIntValueFieldNumber = 4; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 3107 static const int kDoubleValueFieldNumber = 6; | 3602 static const int kDoubleValueFieldNumber = 6; |
| 3108 double double_value() const; | 3603 double double_value() const; |
| 3109 void set_double_value(double value); | 3604 void set_double_value(double value); |
| 3110 | 3605 |
| 3111 // optional bytes string_value = 7; | 3606 // optional bytes string_value = 7; |
| 3112 bool has_string_value() const; | 3607 bool has_string_value() const; |
| 3113 void clear_string_value(); | 3608 void clear_string_value(); |
| 3114 static const int kStringValueFieldNumber = 7; | 3609 static const int kStringValueFieldNumber = 7; |
| 3115 const ::std::string& string_value() const; | 3610 const ::std::string& string_value() const; |
| 3116 void set_string_value(const ::std::string& value); | 3611 void set_string_value(const ::std::string& value); |
| 3612 #if LANG_CXX11 |
| 3613 void set_string_value(::std::string&& value); |
| 3614 #endif |
| 3117 void set_string_value(const char* value); | 3615 void set_string_value(const char* value); |
| 3118 void set_string_value(const void* value, size_t size); | 3616 void set_string_value(const void* value, size_t size); |
| 3119 ::std::string* mutable_string_value(); | 3617 ::std::string* mutable_string_value(); |
| 3120 ::std::string* release_string_value(); | 3618 ::std::string* release_string_value(); |
| 3121 void set_allocated_string_value(::std::string* string_value); | 3619 void set_allocated_string_value(::std::string* string_value); |
| 3122 | 3620 |
| 3123 // optional string aggregate_value = 8; | 3621 // optional string aggregate_value = 8; |
| 3124 bool has_aggregate_value() const; | 3622 bool has_aggregate_value() const; |
| 3125 void clear_aggregate_value(); | 3623 void clear_aggregate_value(); |
| 3126 static const int kAggregateValueFieldNumber = 8; | 3624 static const int kAggregateValueFieldNumber = 8; |
| 3127 const ::std::string& aggregate_value() const; | 3625 const ::std::string& aggregate_value() const; |
| 3128 void set_aggregate_value(const ::std::string& value); | 3626 void set_aggregate_value(const ::std::string& value); |
| 3627 #if LANG_CXX11 |
| 3628 void set_aggregate_value(::std::string&& value); |
| 3629 #endif |
| 3129 void set_aggregate_value(const char* value); | 3630 void set_aggregate_value(const char* value); |
| 3130 void set_aggregate_value(const char* value, size_t size); | 3631 void set_aggregate_value(const char* value, size_t size); |
| 3131 ::std::string* mutable_aggregate_value(); | 3632 ::std::string* mutable_aggregate_value(); |
| 3132 ::std::string* release_aggregate_value(); | 3633 ::std::string* release_aggregate_value(); |
| 3133 void set_allocated_aggregate_value(::std::string* aggregate_value); | 3634 void set_allocated_aggregate_value(::std::string* aggregate_value); |
| 3134 | 3635 |
| 3135 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption) | 3636 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption) |
| 3136 private: | 3637 private: |
| 3137 inline void set_has_identifier_value(); | 3638 void set_has_identifier_value(); |
| 3138 inline void clear_has_identifier_value(); | 3639 void clear_has_identifier_value(); |
| 3139 inline void set_has_positive_int_value(); | 3640 void set_has_positive_int_value(); |
| 3140 inline void clear_has_positive_int_value(); | 3641 void clear_has_positive_int_value(); |
| 3141 inline void set_has_negative_int_value(); | 3642 void set_has_negative_int_value(); |
| 3142 inline void clear_has_negative_int_value(); | 3643 void clear_has_negative_int_value(); |
| 3143 inline void set_has_double_value(); | 3644 void set_has_double_value(); |
| 3144 inline void clear_has_double_value(); | 3645 void clear_has_double_value(); |
| 3145 inline void set_has_string_value(); | 3646 void set_has_string_value(); |
| 3146 inline void clear_has_string_value(); | 3647 void clear_has_string_value(); |
| 3147 inline void set_has_aggregate_value(); | 3648 void set_has_aggregate_value(); |
| 3148 inline void clear_has_aggregate_value(); | 3649 void clear_has_aggregate_value(); |
| 3149 | 3650 |
| 3150 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 3651 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3151 ::google::protobuf::uint32 _has_bits_[1]; | 3652 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 3152 mutable int _cached_size_; | 3653 mutable int _cached_size_; |
| 3153 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_
NamePart > name_; | 3654 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_
NamePart > name_; |
| 3154 ::google::protobuf::internal::ArenaStringPtr identifier_value_; | 3655 ::google::protobuf::internal::ArenaStringPtr identifier_value_; |
| 3656 ::google::protobuf::internal::ArenaStringPtr string_value_; |
| 3657 ::google::protobuf::internal::ArenaStringPtr aggregate_value_; |
| 3155 ::google::protobuf::uint64 positive_int_value_; | 3658 ::google::protobuf::uint64 positive_int_value_; |
| 3156 ::google::protobuf::int64 negative_int_value_; | 3659 ::google::protobuf::int64 negative_int_value_; |
| 3157 double double_value_; | 3660 double double_value_; |
| 3158 ::google::protobuf::internal::ArenaStringPtr string_value_; | 3661 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 3159 ::google::protobuf::internal::ArenaStringPtr aggregate_value_; | 3662 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); |
| 3160 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 3663 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); |
| 3161 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | |
| 3162 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 3664 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 3163 | 3665 |
| 3164 void InitAsDefaultInstance(); | |
| 3165 static UninterpretedOption* default_instance_; | |
| 3166 }; | 3666 }; |
| 3167 // ------------------------------------------------------------------- | 3667 // ------------------------------------------------------------------- |
| 3168 | 3668 |
| 3169 class LIBPROTOBUF_EXPORT SourceCodeInfo_Location : public ::google::protobuf::Me
ssage { | 3669 class LIBPROTOBUF_EXPORT SourceCodeInfo_Location : public ::google::protobuf::Me
ssage /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInf
o.Location) */ { |
| 3170 public: | 3670 public: |
| 3171 SourceCodeInfo_Location(); | 3671 SourceCodeInfo_Location(); |
| 3172 virtual ~SourceCodeInfo_Location(); | 3672 virtual ~SourceCodeInfo_Location(); |
| 3173 | 3673 |
| 3174 SourceCodeInfo_Location(const SourceCodeInfo_Location& from); | 3674 SourceCodeInfo_Location(const SourceCodeInfo_Location& from); |
| 3175 | 3675 |
| 3176 inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from)
{ | 3676 inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from)
{ |
| 3177 CopyFrom(from); | 3677 CopyFrom(from); |
| 3178 return *this; | 3678 return *this; |
| 3179 } | 3679 } |
| 3180 | 3680 |
| 3181 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 3681 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 3182 return _internal_metadata_.unknown_fields(); | 3682 return _internal_metadata_.unknown_fields(); |
| 3183 } | 3683 } |
| 3184 | 3684 |
| 3185 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 3685 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 3186 return _internal_metadata_.mutable_unknown_fields(); | 3686 return _internal_metadata_.mutable_unknown_fields(); |
| 3187 } | 3687 } |
| 3188 | 3688 |
| 3189 static const ::google::protobuf::Descriptor* descriptor(); | 3689 static const ::google::protobuf::Descriptor* descriptor(); |
| 3190 static const SourceCodeInfo_Location& default_instance(); | 3690 static const SourceCodeInfo_Location& default_instance(); |
| 3191 | 3691 |
| 3692 static inline const SourceCodeInfo_Location* internal_default_instance() { |
| 3693 return reinterpret_cast<const SourceCodeInfo_Location*>( |
| 3694 &_SourceCodeInfo_Location_default_instance_); |
| 3695 } |
| 3696 |
| 3192 void Swap(SourceCodeInfo_Location* other); | 3697 void Swap(SourceCodeInfo_Location* other); |
| 3193 | 3698 |
| 3194 // implements Message ---------------------------------------------- | 3699 // implements Message ---------------------------------------------- |
| 3195 | 3700 |
| 3196 inline SourceCodeInfo_Location* New() const { return New(NULL); } | 3701 inline SourceCodeInfo_Location* New() const PROTOBUF_FINAL { return New(NULL);
} |
| 3197 | 3702 |
| 3198 SourceCodeInfo_Location* New(::google::protobuf::Arena* arena) const; | 3703 SourceCodeInfo_Location* New(::google::protobuf::Arena* arena) const PROTOBUF_
FINAL; |
| 3199 void CopyFrom(const ::google::protobuf::Message& from); | 3704 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 3200 void MergeFrom(const ::google::protobuf::Message& from); | 3705 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 3201 void CopyFrom(const SourceCodeInfo_Location& from); | 3706 void CopyFrom(const SourceCodeInfo_Location& from); |
| 3202 void MergeFrom(const SourceCodeInfo_Location& from); | 3707 void MergeFrom(const SourceCodeInfo_Location& from); |
| 3203 void Clear(); | 3708 void Clear() PROTOBUF_FINAL; |
| 3204 bool IsInitialized() const; | 3709 bool IsInitialized() const PROTOBUF_FINAL; |
| 3205 | 3710 |
| 3206 int ByteSize() const; | 3711 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 3207 bool MergePartialFromCodedStream( | 3712 bool MergePartialFromCodedStream( |
| 3208 ::google::protobuf::io::CodedInputStream* input); | 3713 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 3209 void SerializeWithCachedSizes( | 3714 void SerializeWithCachedSizes( |
| 3210 ::google::protobuf::io::CodedOutputStream* output) const; | 3715 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 3211 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 3716 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 3212 int GetCachedSize() const { return _cached_size_; } | 3717 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 3213 private: | 3723 private: |
| 3214 void SharedCtor(); | 3724 void SharedCtor(); |
| 3215 void SharedDtor(); | 3725 void SharedDtor(); |
| 3216 void SetCachedSize(int size) const; | 3726 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 3217 void InternalSwap(SourceCodeInfo_Location* other); | 3727 void InternalSwap(SourceCodeInfo_Location* other); |
| 3218 private: | 3728 private: |
| 3219 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 3729 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 3220 return _internal_metadata_.arena(); | 3730 return NULL; |
| 3221 } | 3731 } |
| 3222 inline void* MaybeArenaPtr() const { | 3732 inline void* MaybeArenaPtr() const { |
| 3223 return _internal_metadata_.raw_arena_ptr(); | 3733 return NULL; |
| 3224 } | 3734 } |
| 3225 public: | 3735 public: |
| 3226 | 3736 |
| 3227 ::google::protobuf::Metadata GetMetadata() const; | 3737 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 3228 | 3738 |
| 3229 // nested types ---------------------------------------------------- | 3739 // nested types ---------------------------------------------------- |
| 3230 | 3740 |
| 3231 // accessors ------------------------------------------------------- | 3741 // accessors ------------------------------------------------------- |
| 3232 | 3742 |
| 3233 // repeated int32 path = 1 [packed = true]; | 3743 // repeated int32 path = 1 [packed = true]; |
| 3234 int path_size() const; | 3744 int path_size() const; |
| 3235 void clear_path(); | 3745 void clear_path(); |
| 3236 static const int kPathFieldNumber = 1; | 3746 static const int kPathFieldNumber = 1; |
| 3237 ::google::protobuf::int32 path(int index) const; | 3747 ::google::protobuf::int32 path(int index) const; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 3253 span() const; | 3763 span() const; |
| 3254 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* | 3764 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
| 3255 mutable_span(); | 3765 mutable_span(); |
| 3256 | 3766 |
| 3257 // optional string leading_comments = 3; | 3767 // optional string leading_comments = 3; |
| 3258 bool has_leading_comments() const; | 3768 bool has_leading_comments() const; |
| 3259 void clear_leading_comments(); | 3769 void clear_leading_comments(); |
| 3260 static const int kLeadingCommentsFieldNumber = 3; | 3770 static const int kLeadingCommentsFieldNumber = 3; |
| 3261 const ::std::string& leading_comments() const; | 3771 const ::std::string& leading_comments() const; |
| 3262 void set_leading_comments(const ::std::string& value); | 3772 void set_leading_comments(const ::std::string& value); |
| 3773 #if LANG_CXX11 |
| 3774 void set_leading_comments(::std::string&& value); |
| 3775 #endif |
| 3263 void set_leading_comments(const char* value); | 3776 void set_leading_comments(const char* value); |
| 3264 void set_leading_comments(const char* value, size_t size); | 3777 void set_leading_comments(const char* value, size_t size); |
| 3265 ::std::string* mutable_leading_comments(); | 3778 ::std::string* mutable_leading_comments(); |
| 3266 ::std::string* release_leading_comments(); | 3779 ::std::string* release_leading_comments(); |
| 3267 void set_allocated_leading_comments(::std::string* leading_comments); | 3780 void set_allocated_leading_comments(::std::string* leading_comments); |
| 3268 | 3781 |
| 3269 // optional string trailing_comments = 4; | 3782 // optional string trailing_comments = 4; |
| 3270 bool has_trailing_comments() const; | 3783 bool has_trailing_comments() const; |
| 3271 void clear_trailing_comments(); | 3784 void clear_trailing_comments(); |
| 3272 static const int kTrailingCommentsFieldNumber = 4; | 3785 static const int kTrailingCommentsFieldNumber = 4; |
| 3273 const ::std::string& trailing_comments() const; | 3786 const ::std::string& trailing_comments() const; |
| 3274 void set_trailing_comments(const ::std::string& value); | 3787 void set_trailing_comments(const ::std::string& value); |
| 3788 #if LANG_CXX11 |
| 3789 void set_trailing_comments(::std::string&& value); |
| 3790 #endif |
| 3275 void set_trailing_comments(const char* value); | 3791 void set_trailing_comments(const char* value); |
| 3276 void set_trailing_comments(const char* value, size_t size); | 3792 void set_trailing_comments(const char* value, size_t size); |
| 3277 ::std::string* mutable_trailing_comments(); | 3793 ::std::string* mutable_trailing_comments(); |
| 3278 ::std::string* release_trailing_comments(); | 3794 ::std::string* release_trailing_comments(); |
| 3279 void set_allocated_trailing_comments(::std::string* trailing_comments); | 3795 void set_allocated_trailing_comments(::std::string* trailing_comments); |
| 3280 | 3796 |
| 3281 // repeated string leading_detached_comments = 6; | 3797 // repeated string leading_detached_comments = 6; |
| 3282 int leading_detached_comments_size() const; | 3798 int leading_detached_comments_size() const; |
| 3283 void clear_leading_detached_comments(); | 3799 void clear_leading_detached_comments(); |
| 3284 static const int kLeadingDetachedCommentsFieldNumber = 6; | 3800 static const int kLeadingDetachedCommentsFieldNumber = 6; |
| 3285 const ::std::string& leading_detached_comments(int index) const; | 3801 const ::std::string& leading_detached_comments(int index) const; |
| 3286 ::std::string* mutable_leading_detached_comments(int index); | 3802 ::std::string* mutable_leading_detached_comments(int index); |
| 3287 void set_leading_detached_comments(int index, const ::std::string& value); | 3803 void set_leading_detached_comments(int index, const ::std::string& value); |
| 3288 void set_leading_detached_comments(int index, const char* value); | 3804 void set_leading_detached_comments(int index, const char* value); |
| 3289 void set_leading_detached_comments(int index, const char* value, size_t size); | 3805 void set_leading_detached_comments(int index, const char* value, size_t size); |
| 3290 ::std::string* add_leading_detached_comments(); | 3806 ::std::string* add_leading_detached_comments(); |
| 3291 void add_leading_detached_comments(const ::std::string& value); | 3807 void add_leading_detached_comments(const ::std::string& value); |
| 3292 void add_leading_detached_comments(const char* value); | 3808 void add_leading_detached_comments(const char* value); |
| 3293 void add_leading_detached_comments(const char* value, size_t size); | 3809 void add_leading_detached_comments(const char* value, size_t size); |
| 3294 const ::google::protobuf::RepeatedPtrField< ::std::string>& leading_detached_c
omments() const; | 3810 const ::google::protobuf::RepeatedPtrField< ::std::string>& leading_detached_c
omments() const; |
| 3295 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_leading_detached
_comments(); | 3811 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_leading_detached
_comments(); |
| 3296 | 3812 |
| 3297 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Locatio
n) | 3813 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Locatio
n) |
| 3298 private: | 3814 private: |
| 3299 inline void set_has_leading_comments(); | 3815 void set_has_leading_comments(); |
| 3300 inline void clear_has_leading_comments(); | 3816 void clear_has_leading_comments(); |
| 3301 inline void set_has_trailing_comments(); | 3817 void set_has_trailing_comments(); |
| 3302 inline void clear_has_trailing_comments(); | 3818 void clear_has_trailing_comments(); |
| 3303 | 3819 |
| 3304 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 3820 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3305 ::google::protobuf::uint32 _has_bits_[1]; | 3821 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 3306 mutable int _cached_size_; | 3822 mutable int _cached_size_; |
| 3307 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_; | 3823 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_; |
| 3308 mutable int _path_cached_byte_size_; | 3824 mutable int _path_cached_byte_size_; |
| 3309 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > span_; | 3825 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > span_; |
| 3310 mutable int _span_cached_byte_size_; | 3826 mutable int _span_cached_byte_size_; |
| 3827 ::google::protobuf::RepeatedPtrField< ::std::string> leading_detached_comments
_; |
| 3311 ::google::protobuf::internal::ArenaStringPtr leading_comments_; | 3828 ::google::protobuf::internal::ArenaStringPtr leading_comments_; |
| 3312 ::google::protobuf::internal::ArenaStringPtr trailing_comments_; | 3829 ::google::protobuf::internal::ArenaStringPtr trailing_comments_; |
| 3313 ::google::protobuf::RepeatedPtrField< ::std::string> leading_detached_comments
_; | 3830 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 3314 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 3831 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); |
| 3315 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 3832 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); |
| 3316 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 3833 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 3317 | 3834 |
| 3318 void InitAsDefaultInstance(); | |
| 3319 static SourceCodeInfo_Location* default_instance_; | |
| 3320 }; | 3835 }; |
| 3321 // ------------------------------------------------------------------- | 3836 // ------------------------------------------------------------------- |
| 3322 | 3837 |
| 3323 class LIBPROTOBUF_EXPORT SourceCodeInfo : public ::google::protobuf::Message { | 3838 class LIBPROTOBUF_EXPORT SourceCodeInfo : public ::google::protobuf::Message /*
@@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo) */ { |
| 3324 public: | 3839 public: |
| 3325 SourceCodeInfo(); | 3840 SourceCodeInfo(); |
| 3326 virtual ~SourceCodeInfo(); | 3841 virtual ~SourceCodeInfo(); |
| 3327 | 3842 |
| 3328 SourceCodeInfo(const SourceCodeInfo& from); | 3843 SourceCodeInfo(const SourceCodeInfo& from); |
| 3329 | 3844 |
| 3330 inline SourceCodeInfo& operator=(const SourceCodeInfo& from) { | 3845 inline SourceCodeInfo& operator=(const SourceCodeInfo& from) { |
| 3331 CopyFrom(from); | 3846 CopyFrom(from); |
| 3332 return *this; | 3847 return *this; |
| 3333 } | 3848 } |
| 3334 | 3849 |
| 3335 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 3850 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 3336 return _internal_metadata_.unknown_fields(); | 3851 return _internal_metadata_.unknown_fields(); |
| 3337 } | 3852 } |
| 3338 | 3853 |
| 3339 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 3854 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 3340 return _internal_metadata_.mutable_unknown_fields(); | 3855 return _internal_metadata_.mutable_unknown_fields(); |
| 3341 } | 3856 } |
| 3342 | 3857 |
| 3343 static const ::google::protobuf::Descriptor* descriptor(); | 3858 static const ::google::protobuf::Descriptor* descriptor(); |
| 3344 static const SourceCodeInfo& default_instance(); | 3859 static const SourceCodeInfo& default_instance(); |
| 3345 | 3860 |
| 3861 static inline const SourceCodeInfo* internal_default_instance() { |
| 3862 return reinterpret_cast<const SourceCodeInfo*>( |
| 3863 &_SourceCodeInfo_default_instance_); |
| 3864 } |
| 3865 |
| 3346 void Swap(SourceCodeInfo* other); | 3866 void Swap(SourceCodeInfo* other); |
| 3347 | 3867 |
| 3348 // implements Message ---------------------------------------------- | 3868 // implements Message ---------------------------------------------- |
| 3349 | 3869 |
| 3350 inline SourceCodeInfo* New() const { return New(NULL); } | 3870 inline SourceCodeInfo* New() const PROTOBUF_FINAL { return New(NULL); } |
| 3351 | 3871 |
| 3352 SourceCodeInfo* New(::google::protobuf::Arena* arena) const; | 3872 SourceCodeInfo* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 3353 void CopyFrom(const ::google::protobuf::Message& from); | 3873 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 3354 void MergeFrom(const ::google::protobuf::Message& from); | 3874 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 3355 void CopyFrom(const SourceCodeInfo& from); | 3875 void CopyFrom(const SourceCodeInfo& from); |
| 3356 void MergeFrom(const SourceCodeInfo& from); | 3876 void MergeFrom(const SourceCodeInfo& from); |
| 3357 void Clear(); | 3877 void Clear() PROTOBUF_FINAL; |
| 3358 bool IsInitialized() const; | 3878 bool IsInitialized() const PROTOBUF_FINAL; |
| 3359 | 3879 |
| 3360 int ByteSize() const; | 3880 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 3361 bool MergePartialFromCodedStream( | 3881 bool MergePartialFromCodedStream( |
| 3362 ::google::protobuf::io::CodedInputStream* input); | 3882 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 3363 void SerializeWithCachedSizes( | 3883 void SerializeWithCachedSizes( |
| 3364 ::google::protobuf::io::CodedOutputStream* output) const; | 3884 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 3365 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 3885 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 3366 int GetCachedSize() const { return _cached_size_; } | 3886 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 3367 private: | 3892 private: |
| 3368 void SharedCtor(); | 3893 void SharedCtor(); |
| 3369 void SharedDtor(); | 3894 void SharedDtor(); |
| 3370 void SetCachedSize(int size) const; | 3895 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 3371 void InternalSwap(SourceCodeInfo* other); | 3896 void InternalSwap(SourceCodeInfo* other); |
| 3372 private: | 3897 private: |
| 3373 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 3898 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 3374 return _internal_metadata_.arena(); | 3899 return NULL; |
| 3375 } | 3900 } |
| 3376 inline void* MaybeArenaPtr() const { | 3901 inline void* MaybeArenaPtr() const { |
| 3377 return _internal_metadata_.raw_arena_ptr(); | 3902 return NULL; |
| 3378 } | 3903 } |
| 3379 public: | 3904 public: |
| 3380 | 3905 |
| 3381 ::google::protobuf::Metadata GetMetadata() const; | 3906 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 3382 | 3907 |
| 3383 // nested types ---------------------------------------------------- | 3908 // nested types ---------------------------------------------------- |
| 3384 | 3909 |
| 3385 typedef SourceCodeInfo_Location Location; | 3910 typedef SourceCodeInfo_Location Location; |
| 3386 | 3911 |
| 3387 // accessors ------------------------------------------------------- | 3912 // accessors ------------------------------------------------------- |
| 3388 | 3913 |
| 3389 // repeated .google.protobuf.SourceCodeInfo.Location location = 1; | 3914 // repeated .google.protobuf.SourceCodeInfo.Location location = 1; |
| 3390 int location_size() const; | 3915 int location_size() const; |
| 3391 void clear_location(); | 3916 void clear_location(); |
| 3392 static const int kLocationFieldNumber = 1; | 3917 static const int kLocationFieldNumber = 1; |
| 3393 const ::google::protobuf::SourceCodeInfo_Location& location(int index) const; | 3918 const ::google::protobuf::SourceCodeInfo_Location& location(int index) const; |
| 3394 ::google::protobuf::SourceCodeInfo_Location* mutable_location(int index); | 3919 ::google::protobuf::SourceCodeInfo_Location* mutable_location(int index); |
| 3395 ::google::protobuf::SourceCodeInfo_Location* add_location(); | 3920 ::google::protobuf::SourceCodeInfo_Location* add_location(); |
| 3396 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Locat
ion >* | 3921 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Locat
ion >* |
| 3397 mutable_location(); | 3922 mutable_location(); |
| 3398 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo
_Location >& | 3923 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo
_Location >& |
| 3399 location() const; | 3924 location() const; |
| 3400 | 3925 |
| 3401 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo) | 3926 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo) |
| 3402 private: | 3927 private: |
| 3403 | 3928 |
| 3404 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 3929 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3405 ::google::protobuf::uint32 _has_bits_[1]; | 3930 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 3406 mutable int _cached_size_; | 3931 mutable int _cached_size_; |
| 3407 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Locat
ion > location_; | 3932 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Locat
ion > location_; |
| 3408 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 3933 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 3409 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 3934 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); |
| 3935 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); |
| 3410 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 3936 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 3411 | 3937 |
| 3412 void InitAsDefaultInstance(); | |
| 3413 static SourceCodeInfo* default_instance_; | |
| 3414 }; | 3938 }; |
| 3415 // ------------------------------------------------------------------- | 3939 // ------------------------------------------------------------------- |
| 3416 | 3940 |
| 3417 class LIBPROTOBUF_EXPORT GeneratedCodeInfo_Annotation : public ::google::protobu
f::Message { | 3941 class LIBPROTOBUF_EXPORT GeneratedCodeInfo_Annotation : public ::google::protobu
f::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Generate
dCodeInfo.Annotation) */ { |
| 3418 public: | 3942 public: |
| 3419 GeneratedCodeInfo_Annotation(); | 3943 GeneratedCodeInfo_Annotation(); |
| 3420 virtual ~GeneratedCodeInfo_Annotation(); | 3944 virtual ~GeneratedCodeInfo_Annotation(); |
| 3421 | 3945 |
| 3422 GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from); | 3946 GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from); |
| 3423 | 3947 |
| 3424 inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotat
ion& from) { | 3948 inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotat
ion& from) { |
| 3425 CopyFrom(from); | 3949 CopyFrom(from); |
| 3426 return *this; | 3950 return *this; |
| 3427 } | 3951 } |
| 3428 | 3952 |
| 3429 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 3953 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 3430 return _internal_metadata_.unknown_fields(); | 3954 return _internal_metadata_.unknown_fields(); |
| 3431 } | 3955 } |
| 3432 | 3956 |
| 3433 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 3957 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 3434 return _internal_metadata_.mutable_unknown_fields(); | 3958 return _internal_metadata_.mutable_unknown_fields(); |
| 3435 } | 3959 } |
| 3436 | 3960 |
| 3437 static const ::google::protobuf::Descriptor* descriptor(); | 3961 static const ::google::protobuf::Descriptor* descriptor(); |
| 3438 static const GeneratedCodeInfo_Annotation& default_instance(); | 3962 static const GeneratedCodeInfo_Annotation& default_instance(); |
| 3439 | 3963 |
| 3964 static inline const GeneratedCodeInfo_Annotation* internal_default_instance()
{ |
| 3965 return reinterpret_cast<const GeneratedCodeInfo_Annotation*>( |
| 3966 &_GeneratedCodeInfo_Annotation_default_instance_); |
| 3967 } |
| 3968 |
| 3440 void Swap(GeneratedCodeInfo_Annotation* other); | 3969 void Swap(GeneratedCodeInfo_Annotation* other); |
| 3441 | 3970 |
| 3442 // implements Message ---------------------------------------------- | 3971 // implements Message ---------------------------------------------- |
| 3443 | 3972 |
| 3444 inline GeneratedCodeInfo_Annotation* New() const { return New(NULL); } | 3973 inline GeneratedCodeInfo_Annotation* New() const PROTOBUF_FINAL { return New(N
ULL); } |
| 3445 | 3974 |
| 3446 GeneratedCodeInfo_Annotation* New(::google::protobuf::Arena* arena) const; | 3975 GeneratedCodeInfo_Annotation* New(::google::protobuf::Arena* arena) const PROT
OBUF_FINAL; |
| 3447 void CopyFrom(const ::google::protobuf::Message& from); | 3976 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 3448 void MergeFrom(const ::google::protobuf::Message& from); | 3977 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 3449 void CopyFrom(const GeneratedCodeInfo_Annotation& from); | 3978 void CopyFrom(const GeneratedCodeInfo_Annotation& from); |
| 3450 void MergeFrom(const GeneratedCodeInfo_Annotation& from); | 3979 void MergeFrom(const GeneratedCodeInfo_Annotation& from); |
| 3451 void Clear(); | 3980 void Clear() PROTOBUF_FINAL; |
| 3452 bool IsInitialized() const; | 3981 bool IsInitialized() const PROTOBUF_FINAL; |
| 3453 | 3982 |
| 3454 int ByteSize() const; | 3983 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 3455 bool MergePartialFromCodedStream( | 3984 bool MergePartialFromCodedStream( |
| 3456 ::google::protobuf::io::CodedInputStream* input); | 3985 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 3457 void SerializeWithCachedSizes( | 3986 void SerializeWithCachedSizes( |
| 3458 ::google::protobuf::io::CodedOutputStream* output) const; | 3987 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 3459 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 3988 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 3460 int GetCachedSize() const { return _cached_size_; } | 3989 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 3461 private: | 3995 private: |
| 3462 void SharedCtor(); | 3996 void SharedCtor(); |
| 3463 void SharedDtor(); | 3997 void SharedDtor(); |
| 3464 void SetCachedSize(int size) const; | 3998 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 3465 void InternalSwap(GeneratedCodeInfo_Annotation* other); | 3999 void InternalSwap(GeneratedCodeInfo_Annotation* other); |
| 3466 private: | 4000 private: |
| 3467 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 4001 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 3468 return _internal_metadata_.arena(); | 4002 return NULL; |
| 3469 } | 4003 } |
| 3470 inline void* MaybeArenaPtr() const { | 4004 inline void* MaybeArenaPtr() const { |
| 3471 return _internal_metadata_.raw_arena_ptr(); | 4005 return NULL; |
| 3472 } | 4006 } |
| 3473 public: | 4007 public: |
| 3474 | 4008 |
| 3475 ::google::protobuf::Metadata GetMetadata() const; | 4009 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 3476 | 4010 |
| 3477 // nested types ---------------------------------------------------- | 4011 // nested types ---------------------------------------------------- |
| 3478 | 4012 |
| 3479 // accessors ------------------------------------------------------- | 4013 // accessors ------------------------------------------------------- |
| 3480 | 4014 |
| 3481 // repeated int32 path = 1 [packed = true]; | 4015 // repeated int32 path = 1 [packed = true]; |
| 3482 int path_size() const; | 4016 int path_size() const; |
| 3483 void clear_path(); | 4017 void clear_path(); |
| 3484 static const int kPathFieldNumber = 1; | 4018 static const int kPathFieldNumber = 1; |
| 3485 ::google::protobuf::int32 path(int index) const; | 4019 ::google::protobuf::int32 path(int index) const; |
| 3486 void set_path(int index, ::google::protobuf::int32 value); | 4020 void set_path(int index, ::google::protobuf::int32 value); |
| 3487 void add_path(::google::protobuf::int32 value); | 4021 void add_path(::google::protobuf::int32 value); |
| 3488 const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& | 4022 const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
| 3489 path() const; | 4023 path() const; |
| 3490 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* | 4024 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
| 3491 mutable_path(); | 4025 mutable_path(); |
| 3492 | 4026 |
| 3493 // optional string source_file = 2; | 4027 // optional string source_file = 2; |
| 3494 bool has_source_file() const; | 4028 bool has_source_file() const; |
| 3495 void clear_source_file(); | 4029 void clear_source_file(); |
| 3496 static const int kSourceFileFieldNumber = 2; | 4030 static const int kSourceFileFieldNumber = 2; |
| 3497 const ::std::string& source_file() const; | 4031 const ::std::string& source_file() const; |
| 3498 void set_source_file(const ::std::string& value); | 4032 void set_source_file(const ::std::string& value); |
| 4033 #if LANG_CXX11 |
| 4034 void set_source_file(::std::string&& value); |
| 4035 #endif |
| 3499 void set_source_file(const char* value); | 4036 void set_source_file(const char* value); |
| 3500 void set_source_file(const char* value, size_t size); | 4037 void set_source_file(const char* value, size_t size); |
| 3501 ::std::string* mutable_source_file(); | 4038 ::std::string* mutable_source_file(); |
| 3502 ::std::string* release_source_file(); | 4039 ::std::string* release_source_file(); |
| 3503 void set_allocated_source_file(::std::string* source_file); | 4040 void set_allocated_source_file(::std::string* source_file); |
| 3504 | 4041 |
| 3505 // optional int32 begin = 3; | 4042 // optional int32 begin = 3; |
| 3506 bool has_begin() const; | 4043 bool has_begin() const; |
| 3507 void clear_begin(); | 4044 void clear_begin(); |
| 3508 static const int kBeginFieldNumber = 3; | 4045 static const int kBeginFieldNumber = 3; |
| 3509 ::google::protobuf::int32 begin() const; | 4046 ::google::protobuf::int32 begin() const; |
| 3510 void set_begin(::google::protobuf::int32 value); | 4047 void set_begin(::google::protobuf::int32 value); |
| 3511 | 4048 |
| 3512 // optional int32 end = 4; | 4049 // optional int32 end = 4; |
| 3513 bool has_end() const; | 4050 bool has_end() const; |
| 3514 void clear_end(); | 4051 void clear_end(); |
| 3515 static const int kEndFieldNumber = 4; | 4052 static const int kEndFieldNumber = 4; |
| 3516 ::google::protobuf::int32 end() const; | 4053 ::google::protobuf::int32 end() const; |
| 3517 void set_end(::google::protobuf::int32 value); | 4054 void set_end(::google::protobuf::int32 value); |
| 3518 | 4055 |
| 3519 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Anno
tation) | 4056 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Anno
tation) |
| 3520 private: | 4057 private: |
| 3521 inline void set_has_source_file(); | 4058 void set_has_source_file(); |
| 3522 inline void clear_has_source_file(); | 4059 void clear_has_source_file(); |
| 3523 inline void set_has_begin(); | 4060 void set_has_begin(); |
| 3524 inline void clear_has_begin(); | 4061 void clear_has_begin(); |
| 3525 inline void set_has_end(); | 4062 void set_has_end(); |
| 3526 inline void clear_has_end(); | 4063 void clear_has_end(); |
| 3527 | 4064 |
| 3528 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 4065 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3529 ::google::protobuf::uint32 _has_bits_[1]; | 4066 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 3530 mutable int _cached_size_; | 4067 mutable int _cached_size_; |
| 3531 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_; | 4068 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_; |
| 3532 mutable int _path_cached_byte_size_; | 4069 mutable int _path_cached_byte_size_; |
| 3533 ::google::protobuf::internal::ArenaStringPtr source_file_; | 4070 ::google::protobuf::internal::ArenaStringPtr source_file_; |
| 3534 ::google::protobuf::int32 begin_; | 4071 ::google::protobuf::int32 begin_; |
| 3535 ::google::protobuf::int32 end_; | 4072 ::google::protobuf::int32 end_; |
| 3536 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 4073 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 3537 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 4074 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); |
| 4075 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); |
| 3538 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 4076 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 3539 | 4077 |
| 3540 void InitAsDefaultInstance(); | |
| 3541 static GeneratedCodeInfo_Annotation* default_instance_; | |
| 3542 }; | 4078 }; |
| 3543 // ------------------------------------------------------------------- | 4079 // ------------------------------------------------------------------- |
| 3544 | 4080 |
| 3545 class LIBPROTOBUF_EXPORT GeneratedCodeInfo : public ::google::protobuf::Message
{ | 4081 class LIBPROTOBUF_EXPORT GeneratedCodeInfo : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo)
*/ { |
| 3546 public: | 4082 public: |
| 3547 GeneratedCodeInfo(); | 4083 GeneratedCodeInfo(); |
| 3548 virtual ~GeneratedCodeInfo(); | 4084 virtual ~GeneratedCodeInfo(); |
| 3549 | 4085 |
| 3550 GeneratedCodeInfo(const GeneratedCodeInfo& from); | 4086 GeneratedCodeInfo(const GeneratedCodeInfo& from); |
| 3551 | 4087 |
| 3552 inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) { | 4088 inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) { |
| 3553 CopyFrom(from); | 4089 CopyFrom(from); |
| 3554 return *this; | 4090 return *this; |
| 3555 } | 4091 } |
| 3556 | 4092 |
| 3557 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 4093 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 3558 return _internal_metadata_.unknown_fields(); | 4094 return _internal_metadata_.unknown_fields(); |
| 3559 } | 4095 } |
| 3560 | 4096 |
| 3561 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 4097 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 3562 return _internal_metadata_.mutable_unknown_fields(); | 4098 return _internal_metadata_.mutable_unknown_fields(); |
| 3563 } | 4099 } |
| 3564 | 4100 |
| 3565 static const ::google::protobuf::Descriptor* descriptor(); | 4101 static const ::google::protobuf::Descriptor* descriptor(); |
| 3566 static const GeneratedCodeInfo& default_instance(); | 4102 static const GeneratedCodeInfo& default_instance(); |
| 3567 | 4103 |
| 4104 static inline const GeneratedCodeInfo* internal_default_instance() { |
| 4105 return reinterpret_cast<const GeneratedCodeInfo*>( |
| 4106 &_GeneratedCodeInfo_default_instance_); |
| 4107 } |
| 4108 |
| 3568 void Swap(GeneratedCodeInfo* other); | 4109 void Swap(GeneratedCodeInfo* other); |
| 3569 | 4110 |
| 3570 // implements Message ---------------------------------------------- | 4111 // implements Message ---------------------------------------------- |
| 3571 | 4112 |
| 3572 inline GeneratedCodeInfo* New() const { return New(NULL); } | 4113 inline GeneratedCodeInfo* New() const PROTOBUF_FINAL { return New(NULL); } |
| 3573 | 4114 |
| 3574 GeneratedCodeInfo* New(::google::protobuf::Arena* arena) const; | 4115 GeneratedCodeInfo* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
| 3575 void CopyFrom(const ::google::protobuf::Message& from); | 4116 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 3576 void MergeFrom(const ::google::protobuf::Message& from); | 4117 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
| 3577 void CopyFrom(const GeneratedCodeInfo& from); | 4118 void CopyFrom(const GeneratedCodeInfo& from); |
| 3578 void MergeFrom(const GeneratedCodeInfo& from); | 4119 void MergeFrom(const GeneratedCodeInfo& from); |
| 3579 void Clear(); | 4120 void Clear() PROTOBUF_FINAL; |
| 3580 bool IsInitialized() const; | 4121 bool IsInitialized() const PROTOBUF_FINAL; |
| 3581 | 4122 |
| 3582 int ByteSize() const; | 4123 size_t ByteSizeLong() const PROTOBUF_FINAL; |
| 3583 bool MergePartialFromCodedStream( | 4124 bool MergePartialFromCodedStream( |
| 3584 ::google::protobuf::io::CodedInputStream* input); | 4125 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
| 3585 void SerializeWithCachedSizes( | 4126 void SerializeWithCachedSizes( |
| 3586 ::google::protobuf::io::CodedOutputStream* output) const; | 4127 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
| 3587 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf:
:uint8* output) const; | 4128 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 3588 int GetCachedSize() const { return _cached_size_; } | 4129 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA
L; |
| 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_; } |
| 3589 private: | 4135 private: |
| 3590 void SharedCtor(); | 4136 void SharedCtor(); |
| 3591 void SharedDtor(); | 4137 void SharedDtor(); |
| 3592 void SetCachedSize(int size) const; | 4138 void SetCachedSize(int size) const PROTOBUF_FINAL; |
| 3593 void InternalSwap(GeneratedCodeInfo* other); | 4139 void InternalSwap(GeneratedCodeInfo* other); |
| 3594 private: | 4140 private: |
| 3595 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 4141 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 3596 return _internal_metadata_.arena(); | 4142 return NULL; |
| 3597 } | 4143 } |
| 3598 inline void* MaybeArenaPtr() const { | 4144 inline void* MaybeArenaPtr() const { |
| 3599 return _internal_metadata_.raw_arena_ptr(); | 4145 return NULL; |
| 3600 } | 4146 } |
| 3601 public: | 4147 public: |
| 3602 | 4148 |
| 3603 ::google::protobuf::Metadata GetMetadata() const; | 4149 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
| 3604 | 4150 |
| 3605 // nested types ---------------------------------------------------- | 4151 // nested types ---------------------------------------------------- |
| 3606 | 4152 |
| 3607 typedef GeneratedCodeInfo_Annotation Annotation; | 4153 typedef GeneratedCodeInfo_Annotation Annotation; |
| 3608 | 4154 |
| 3609 // accessors ------------------------------------------------------- | 4155 // accessors ------------------------------------------------------- |
| 3610 | 4156 |
| 3611 // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; | 4157 // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; |
| 3612 int annotation_size() const; | 4158 int annotation_size() const; |
| 3613 void clear_annotation(); | 4159 void clear_annotation(); |
| 3614 static const int kAnnotationFieldNumber = 1; | 4160 static const int kAnnotationFieldNumber = 1; |
| 3615 const ::google::protobuf::GeneratedCodeInfo_Annotation& annotation(int index)
const; | 4161 const ::google::protobuf::GeneratedCodeInfo_Annotation& annotation(int index)
const; |
| 3616 ::google::protobuf::GeneratedCodeInfo_Annotation* mutable_annotation(int index
); | 4162 ::google::protobuf::GeneratedCodeInfo_Annotation* mutable_annotation(int index
); |
| 3617 ::google::protobuf::GeneratedCodeInfo_Annotation* add_annotation(); | 4163 ::google::protobuf::GeneratedCodeInfo_Annotation* add_annotation(); |
| 3618 ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_An
notation >* | 4164 ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_An
notation >* |
| 3619 mutable_annotation(); | 4165 mutable_annotation(); |
| 3620 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeI
nfo_Annotation >& | 4166 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeI
nfo_Annotation >& |
| 3621 annotation() const; | 4167 annotation() const; |
| 3622 | 4168 |
| 3623 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo) | 4169 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo) |
| 3624 private: | 4170 private: |
| 3625 | 4171 |
| 3626 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 4172 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3627 ::google::protobuf::uint32 _has_bits_[1]; | 4173 ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 3628 mutable int _cached_size_; | 4174 mutable int _cached_size_; |
| 3629 ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_An
notation > annotation_; | 4175 ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_An
notation > annotation_; |
| 3630 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto(); | 4176 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fdescr
iptor_2eproto_impl(); |
| 3631 friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); | 4177 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor
_2eproto_impl(); |
| 4178 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f
descriptor_2eproto(); |
| 3632 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); | 4179 friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| 3633 | 4180 |
| 3634 void InitAsDefaultInstance(); | |
| 3635 static GeneratedCodeInfo* default_instance_; | |
| 3636 }; | 4181 }; |
| 3637 // =================================================================== | 4182 // =================================================================== |
| 3638 | 4183 |
| 3639 | 4184 |
| 3640 // =================================================================== | 4185 // =================================================================== |
| 3641 | 4186 |
| 3642 #if !PROTOBUF_INLINE_NOT_IN_HEADERS | 4187 #if !PROTOBUF_INLINE_NOT_IN_HEADERS |
| 3643 // FileDescriptorSet | 4188 // FileDescriptorSet |
| 3644 | 4189 |
| 3645 // repeated .google.protobuf.FileDescriptorProto file = 1; | 4190 // repeated .google.protobuf.FileDescriptorProto file = 1; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3685 } | 4230 } |
| 3686 inline void FileDescriptorProto::clear_has_name() { | 4231 inline void FileDescriptorProto::clear_has_name() { |
| 3687 _has_bits_[0] &= ~0x00000001u; | 4232 _has_bits_[0] &= ~0x00000001u; |
| 3688 } | 4233 } |
| 3689 inline void FileDescriptorProto::clear_name() { | 4234 inline void FileDescriptorProto::clear_name() { |
| 3690 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 4235 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
| 3691 clear_has_name(); | 4236 clear_has_name(); |
| 3692 } | 4237 } |
| 3693 inline const ::std::string& FileDescriptorProto::name() const { | 4238 inline const ::std::string& FileDescriptorProto::name() const { |
| 3694 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name
) | 4239 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name
) |
| 3695 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); | 4240 return name_.GetNoArena(); |
| 3696 } | 4241 } |
| 3697 inline void FileDescriptorProto::set_name(const ::std::string& value) { | 4242 inline void FileDescriptorProto::set_name(const ::std::string& value) { |
| 3698 set_has_name(); | 4243 set_has_name(); |
| 3699 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 4244 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
| 3700 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name
) | 4245 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name
) |
| 3701 } | 4246 } |
| 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 |
| 3702 inline void FileDescriptorProto::set_name(const char* value) { | 4255 inline void FileDescriptorProto::set_name(const char* value) { |
| 3703 set_has_name(); | 4256 set_has_name(); |
| 3704 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 4257 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
| 3705 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto
.name) | 4258 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto
.name) |
| 3706 } | 4259 } |
| 3707 inline void FileDescriptorProto::set_name(const char* value, size_t size) { | 4260 inline void FileDescriptorProto::set_name(const char* value, size_t size) { |
| 3708 set_has_name(); | 4261 set_has_name(); |
| 3709 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 4262 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 3710 ::std::string(reinterpret_cast<const char*>(value), size)); | 4263 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 3711 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorPr
oto.name) | 4264 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorPr
oto.name) |
| (...skipping 27 matching lines...) Expand all Loading... |
| 3739 } | 4292 } |
| 3740 inline void FileDescriptorProto::clear_has_package() { | 4293 inline void FileDescriptorProto::clear_has_package() { |
| 3741 _has_bits_[0] &= ~0x00000002u; | 4294 _has_bits_[0] &= ~0x00000002u; |
| 3742 } | 4295 } |
| 3743 inline void FileDescriptorProto::clear_package() { | 4296 inline void FileDescriptorProto::clear_package() { |
| 3744 package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited()); | 4297 package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited()); |
| 3745 clear_has_package(); | 4298 clear_has_package(); |
| 3746 } | 4299 } |
| 3747 inline const ::std::string& FileDescriptorProto::package() const { | 4300 inline const ::std::string& FileDescriptorProto::package() const { |
| 3748 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.pack
age) | 4301 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.pack
age) |
| 3749 return package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlread
yInited()); | 4302 return package_.GetNoArena(); |
| 3750 } | 4303 } |
| 3751 inline void FileDescriptorProto::set_package(const ::std::string& value) { | 4304 inline void FileDescriptorProto::set_package(const ::std::string& value) { |
| 3752 set_has_package(); | 4305 set_has_package(); |
| 3753 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited
(), value); | 4306 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited
(), value); |
| 3754 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.pack
age) | 4307 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.pack
age) |
| 3755 } | 4308 } |
| 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 |
| 3756 inline void FileDescriptorProto::set_package(const char* value) { | 4317 inline void FileDescriptorProto::set_package(const char* value) { |
| 3757 set_has_package(); | 4318 set_has_package(); |
| 3758 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited
(), ::std::string(value)); | 4319 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited
(), ::std::string(value)); |
| 3759 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto
.package) | 4320 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto
.package) |
| 3760 } | 4321 } |
| 3761 inline void FileDescriptorProto::set_package(const char* value, size_t size) { | 4322 inline void FileDescriptorProto::set_package(const char* value, size_t size) { |
| 3762 set_has_package(); | 4323 set_has_package(); |
| 3763 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited
(), | 4324 package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited
(), |
| 3764 ::std::string(reinterpret_cast<const char*>(value), size)); | 4325 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 3765 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorPr
oto.package) | 4326 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorPr
oto.package) |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4014 return &extension_; | 4575 return &extension_; |
| 4015 } | 4576 } |
| 4016 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDesc
riptorProto >& | 4577 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDesc
riptorProto >& |
| 4017 FileDescriptorProto::extension() const { | 4578 FileDescriptorProto::extension() const { |
| 4018 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.ext
ension) | 4579 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.ext
ension) |
| 4019 return extension_; | 4580 return extension_; |
| 4020 } | 4581 } |
| 4021 | 4582 |
| 4022 // optional .google.protobuf.FileOptions options = 8; | 4583 // optional .google.protobuf.FileOptions options = 8; |
| 4023 inline bool FileDescriptorProto::has_options() const { | 4584 inline bool FileDescriptorProto::has_options() const { |
| 4024 return (_has_bits_[0] & 0x00000200u) != 0; | 4585 return (_has_bits_[0] & 0x00000008u) != 0; |
| 4025 } | 4586 } |
| 4026 inline void FileDescriptorProto::set_has_options() { | 4587 inline void FileDescriptorProto::set_has_options() { |
| 4027 _has_bits_[0] |= 0x00000200u; | 4588 _has_bits_[0] |= 0x00000008u; |
| 4028 } | 4589 } |
| 4029 inline void FileDescriptorProto::clear_has_options() { | 4590 inline void FileDescriptorProto::clear_has_options() { |
| 4030 _has_bits_[0] &= ~0x00000200u; | 4591 _has_bits_[0] &= ~0x00000008u; |
| 4031 } | 4592 } |
| 4032 inline void FileDescriptorProto::clear_options() { | 4593 inline void FileDescriptorProto::clear_options() { |
| 4033 if (options_ != NULL) options_->::google::protobuf::FileOptions::Clear(); | 4594 if (options_ != NULL) options_->::google::protobuf::FileOptions::Clear(); |
| 4034 clear_has_options(); | 4595 clear_has_options(); |
| 4035 } | 4596 } |
| 4036 inline const ::google::protobuf::FileOptions& FileDescriptorProto::options() con
st { | 4597 inline const ::google::protobuf::FileOptions& FileDescriptorProto::options() con
st { |
| 4037 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.opti
ons) | 4598 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.opti
ons) |
| 4038 return options_ != NULL ? *options_ : *default_instance_->options_; | 4599 return options_ != NULL ? *options_ |
| 4600 : *::google::protobuf::FileOptions::internal_default_in
stance(); |
| 4039 } | 4601 } |
| 4040 inline ::google::protobuf::FileOptions* FileDescriptorProto::mutable_options() { | 4602 inline ::google::protobuf::FileOptions* FileDescriptorProto::mutable_options() { |
| 4041 set_has_options(); | 4603 set_has_options(); |
| 4042 if (options_ == NULL) { | 4604 if (options_ == NULL) { |
| 4043 options_ = new ::google::protobuf::FileOptions; | 4605 options_ = new ::google::protobuf::FileOptions; |
| 4044 } | 4606 } |
| 4045 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.
options) | 4607 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.
options) |
| 4046 return options_; | 4608 return options_; |
| 4047 } | 4609 } |
| 4048 inline ::google::protobuf::FileOptions* FileDescriptorProto::release_options() { | 4610 inline ::google::protobuf::FileOptions* FileDescriptorProto::release_options() { |
| 4049 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.
options) | 4611 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.
options) |
| 4050 clear_has_options(); | 4612 clear_has_options(); |
| 4051 ::google::protobuf::FileOptions* temp = options_; | 4613 ::google::protobuf::FileOptions* temp = options_; |
| 4052 options_ = NULL; | 4614 options_ = NULL; |
| 4053 return temp; | 4615 return temp; |
| 4054 } | 4616 } |
| 4055 inline void FileDescriptorProto::set_allocated_options(::google::protobuf::FileO
ptions* options) { | 4617 inline void FileDescriptorProto::set_allocated_options(::google::protobuf::FileO
ptions* options) { |
| 4056 delete options_; | 4618 delete options_; |
| 4057 options_ = options; | 4619 options_ = options; |
| 4058 if (options) { | 4620 if (options) { |
| 4059 set_has_options(); | 4621 set_has_options(); |
| 4060 } else { | 4622 } else { |
| 4061 clear_has_options(); | 4623 clear_has_options(); |
| 4062 } | 4624 } |
| 4063 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor
Proto.options) | 4625 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor
Proto.options) |
| 4064 } | 4626 } |
| 4065 | 4627 |
| 4066 // optional .google.protobuf.SourceCodeInfo source_code_info = 9; | 4628 // optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
| 4067 inline bool FileDescriptorProto::has_source_code_info() const { | 4629 inline bool FileDescriptorProto::has_source_code_info() const { |
| 4068 return (_has_bits_[0] & 0x00000400u) != 0; | 4630 return (_has_bits_[0] & 0x00000010u) != 0; |
| 4069 } | 4631 } |
| 4070 inline void FileDescriptorProto::set_has_source_code_info() { | 4632 inline void FileDescriptorProto::set_has_source_code_info() { |
| 4071 _has_bits_[0] |= 0x00000400u; | 4633 _has_bits_[0] |= 0x00000010u; |
| 4072 } | 4634 } |
| 4073 inline void FileDescriptorProto::clear_has_source_code_info() { | 4635 inline void FileDescriptorProto::clear_has_source_code_info() { |
| 4074 _has_bits_[0] &= ~0x00000400u; | 4636 _has_bits_[0] &= ~0x00000010u; |
| 4075 } | 4637 } |
| 4076 inline void FileDescriptorProto::clear_source_code_info() { | 4638 inline void FileDescriptorProto::clear_source_code_info() { |
| 4077 if (source_code_info_ != NULL) source_code_info_->::google::protobuf::SourceCo
deInfo::Clear(); | 4639 if (source_code_info_ != NULL) source_code_info_->::google::protobuf::SourceCo
deInfo::Clear(); |
| 4078 clear_has_source_code_info(); | 4640 clear_has_source_code_info(); |
| 4079 } | 4641 } |
| 4080 inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_cod
e_info() const { | 4642 inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_cod
e_info() const { |
| 4081 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.sour
ce_code_info) | 4643 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.sour
ce_code_info) |
| 4082 return source_code_info_ != NULL ? *source_code_info_ : *default_instance_->so
urce_code_info_; | 4644 return source_code_info_ != NULL ? *source_code_info_ |
| 4645 : *::google::protobuf::SourceCodeInfo::internal_default
_instance(); |
| 4083 } | 4646 } |
| 4084 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::mutable_source_c
ode_info() { | 4647 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::mutable_source_c
ode_info() { |
| 4085 set_has_source_code_info(); | 4648 set_has_source_code_info(); |
| 4086 if (source_code_info_ == NULL) { | 4649 if (source_code_info_ == NULL) { |
| 4087 source_code_info_ = new ::google::protobuf::SourceCodeInfo; | 4650 source_code_info_ = new ::google::protobuf::SourceCodeInfo; |
| 4088 } | 4651 } |
| 4089 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.
source_code_info) | 4652 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.
source_code_info) |
| 4090 return source_code_info_; | 4653 return source_code_info_; |
| 4091 } | 4654 } |
| 4092 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::release_source_c
ode_info() { | 4655 inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::release_source_c
ode_info() { |
| 4093 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.
source_code_info) | 4656 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.
source_code_info) |
| 4094 clear_has_source_code_info(); | 4657 clear_has_source_code_info(); |
| 4095 ::google::protobuf::SourceCodeInfo* temp = source_code_info_; | 4658 ::google::protobuf::SourceCodeInfo* temp = source_code_info_; |
| 4096 source_code_info_ = NULL; | 4659 source_code_info_ = NULL; |
| 4097 return temp; | 4660 return temp; |
| 4098 } | 4661 } |
| 4099 inline void FileDescriptorProto::set_allocated_source_code_info(::google::protob
uf::SourceCodeInfo* source_code_info) { | 4662 inline void FileDescriptorProto::set_allocated_source_code_info(::google::protob
uf::SourceCodeInfo* source_code_info) { |
| 4100 delete source_code_info_; | 4663 delete source_code_info_; |
| 4101 source_code_info_ = source_code_info; | 4664 source_code_info_ = source_code_info; |
| 4102 if (source_code_info) { | 4665 if (source_code_info) { |
| 4103 set_has_source_code_info(); | 4666 set_has_source_code_info(); |
| 4104 } else { | 4667 } else { |
| 4105 clear_has_source_code_info(); | 4668 clear_has_source_code_info(); |
| 4106 } | 4669 } |
| 4107 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor
Proto.source_code_info) | 4670 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptor
Proto.source_code_info) |
| 4108 } | 4671 } |
| 4109 | 4672 |
| 4110 // optional string syntax = 12; | 4673 // optional string syntax = 12; |
| 4111 inline bool FileDescriptorProto::has_syntax() const { | 4674 inline bool FileDescriptorProto::has_syntax() const { |
| 4112 return (_has_bits_[0] & 0x00000800u) != 0; | 4675 return (_has_bits_[0] & 0x00000004u) != 0; |
| 4113 } | 4676 } |
| 4114 inline void FileDescriptorProto::set_has_syntax() { | 4677 inline void FileDescriptorProto::set_has_syntax() { |
| 4115 _has_bits_[0] |= 0x00000800u; | 4678 _has_bits_[0] |= 0x00000004u; |
| 4116 } | 4679 } |
| 4117 inline void FileDescriptorProto::clear_has_syntax() { | 4680 inline void FileDescriptorProto::clear_has_syntax() { |
| 4118 _has_bits_[0] &= ~0x00000800u; | 4681 _has_bits_[0] &= ~0x00000004u; |
| 4119 } | 4682 } |
| 4120 inline void FileDescriptorProto::clear_syntax() { | 4683 inline void FileDescriptorProto::clear_syntax() { |
| 4121 syntax_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | 4684 syntax_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); |
| 4122 clear_has_syntax(); | 4685 clear_has_syntax(); |
| 4123 } | 4686 } |
| 4124 inline const ::std::string& FileDescriptorProto::syntax() const { | 4687 inline const ::std::string& FileDescriptorProto::syntax() const { |
| 4125 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.synt
ax) | 4688 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.synt
ax) |
| 4126 return syntax_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 4689 return syntax_.GetNoArena(); |
| 4127 } | 4690 } |
| 4128 inline void FileDescriptorProto::set_syntax(const ::std::string& value) { | 4691 inline void FileDescriptorProto::set_syntax(const ::std::string& value) { |
| 4129 set_has_syntax(); | 4692 set_has_syntax(); |
| 4130 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), value); | 4693 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), value); |
| 4131 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.synt
ax) | 4694 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.synt
ax) |
| 4132 } | 4695 } |
| 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 |
| 4133 inline void FileDescriptorProto::set_syntax(const char* value) { | 4704 inline void FileDescriptorProto::set_syntax(const char* value) { |
| 4134 set_has_syntax(); | 4705 set_has_syntax(); |
| 4135 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), ::std::string(value)); | 4706 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), ::std::string(value)); |
| 4136 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto
.syntax) | 4707 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto
.syntax) |
| 4137 } | 4708 } |
| 4138 inline void FileDescriptorProto::set_syntax(const char* value, size_t size) { | 4709 inline void FileDescriptorProto::set_syntax(const char* value, size_t size) { |
| 4139 set_has_syntax(); | 4710 set_has_syntax(); |
| 4140 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), | 4711 syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(
), |
| 4141 ::std::string(reinterpret_cast<const char*>(value), size)); | 4712 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 4142 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorPr
oto.syntax) | 4713 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorPr
oto.syntax) |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4278 } | 4849 } |
| 4279 inline void DescriptorProto::clear_has_name() { | 4850 inline void DescriptorProto::clear_has_name() { |
| 4280 _has_bits_[0] &= ~0x00000001u; | 4851 _has_bits_[0] &= ~0x00000001u; |
| 4281 } | 4852 } |
| 4282 inline void DescriptorProto::clear_name() { | 4853 inline void DescriptorProto::clear_name() { |
| 4283 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 4854 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
| 4284 clear_has_name(); | 4855 clear_has_name(); |
| 4285 } | 4856 } |
| 4286 inline const ::std::string& DescriptorProto::name() const { | 4857 inline const ::std::string& DescriptorProto::name() const { |
| 4287 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name) | 4858 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name) |
| 4288 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); | 4859 return name_.GetNoArena(); |
| 4289 } | 4860 } |
| 4290 inline void DescriptorProto::set_name(const ::std::string& value) { | 4861 inline void DescriptorProto::set_name(const ::std::string& value) { |
| 4291 set_has_name(); | 4862 set_has_name(); |
| 4292 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 4863 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
| 4293 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name) | 4864 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name) |
| 4294 } | 4865 } |
| 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 |
| 4295 inline void DescriptorProto::set_name(const char* value) { | 4874 inline void DescriptorProto::set_name(const char* value) { |
| 4296 set_has_name(); | 4875 set_has_name(); |
| 4297 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 4876 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
| 4298 // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.nam
e) | 4877 // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.nam
e) |
| 4299 } | 4878 } |
| 4300 inline void DescriptorProto::set_name(const char* value, size_t size) { | 4879 inline void DescriptorProto::set_name(const char* value, size_t size) { |
| 4301 set_has_name(); | 4880 set_has_name(); |
| 4302 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 4881 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 4303 ::std::string(reinterpret_cast<const char*>(value), size)); | 4882 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 4304 // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.
name) | 4883 // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.
name) |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4498 return &oneof_decl_; | 5077 return &oneof_decl_; |
| 4499 } | 5078 } |
| 4500 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDesc
riptorProto >& | 5079 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDesc
riptorProto >& |
| 4501 DescriptorProto::oneof_decl() const { | 5080 DescriptorProto::oneof_decl() const { |
| 4502 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_d
ecl) | 5081 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_d
ecl) |
| 4503 return oneof_decl_; | 5082 return oneof_decl_; |
| 4504 } | 5083 } |
| 4505 | 5084 |
| 4506 // optional .google.protobuf.MessageOptions options = 7; | 5085 // optional .google.protobuf.MessageOptions options = 7; |
| 4507 inline bool DescriptorProto::has_options() const { | 5086 inline bool DescriptorProto::has_options() const { |
| 4508 return (_has_bits_[0] & 0x00000080u) != 0; | 5087 return (_has_bits_[0] & 0x00000002u) != 0; |
| 4509 } | 5088 } |
| 4510 inline void DescriptorProto::set_has_options() { | 5089 inline void DescriptorProto::set_has_options() { |
| 4511 _has_bits_[0] |= 0x00000080u; | 5090 _has_bits_[0] |= 0x00000002u; |
| 4512 } | 5091 } |
| 4513 inline void DescriptorProto::clear_has_options() { | 5092 inline void DescriptorProto::clear_has_options() { |
| 4514 _has_bits_[0] &= ~0x00000080u; | 5093 _has_bits_[0] &= ~0x00000002u; |
| 4515 } | 5094 } |
| 4516 inline void DescriptorProto::clear_options() { | 5095 inline void DescriptorProto::clear_options() { |
| 4517 if (options_ != NULL) options_->::google::protobuf::MessageOptions::Clear(); | 5096 if (options_ != NULL) options_->::google::protobuf::MessageOptions::Clear(); |
| 4518 clear_has_options(); | 5097 clear_has_options(); |
| 4519 } | 5098 } |
| 4520 inline const ::google::protobuf::MessageOptions& DescriptorProto::options() cons
t { | 5099 inline const ::google::protobuf::MessageOptions& DescriptorProto::options() cons
t { |
| 4521 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options) | 5100 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options) |
| 4522 return options_ != NULL ? *options_ : *default_instance_->options_; | 5101 return options_ != NULL ? *options_ |
| 5102 : *::google::protobuf::MessageOptions::internal_default
_instance(); |
| 4523 } | 5103 } |
| 4524 inline ::google::protobuf::MessageOptions* DescriptorProto::mutable_options() { | 5104 inline ::google::protobuf::MessageOptions* DescriptorProto::mutable_options() { |
| 4525 set_has_options(); | 5105 set_has_options(); |
| 4526 if (options_ == NULL) { | 5106 if (options_ == NULL) { |
| 4527 options_ = new ::google::protobuf::MessageOptions; | 5107 options_ = new ::google::protobuf::MessageOptions; |
| 4528 } | 5108 } |
| 4529 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.opti
ons) | 5109 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.opti
ons) |
| 4530 return options_; | 5110 return options_; |
| 4531 } | 5111 } |
| 4532 inline ::google::protobuf::MessageOptions* DescriptorProto::release_options() { | 5112 inline ::google::protobuf::MessageOptions* DescriptorProto::release_options() { |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4645 } | 5225 } |
| 4646 inline void FieldDescriptorProto::clear_has_name() { | 5226 inline void FieldDescriptorProto::clear_has_name() { |
| 4647 _has_bits_[0] &= ~0x00000001u; | 5227 _has_bits_[0] &= ~0x00000001u; |
| 4648 } | 5228 } |
| 4649 inline void FieldDescriptorProto::clear_name() { | 5229 inline void FieldDescriptorProto::clear_name() { |
| 4650 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 5230 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
| 4651 clear_has_name(); | 5231 clear_has_name(); |
| 4652 } | 5232 } |
| 4653 inline const ::std::string& FieldDescriptorProto::name() const { | 5233 inline const ::std::string& FieldDescriptorProto::name() const { |
| 4654 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.nam
e) | 5234 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.nam
e) |
| 4655 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); | 5235 return name_.GetNoArena(); |
| 4656 } | 5236 } |
| 4657 inline void FieldDescriptorProto::set_name(const ::std::string& value) { | 5237 inline void FieldDescriptorProto::set_name(const ::std::string& value) { |
| 4658 set_has_name(); | 5238 set_has_name(); |
| 4659 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 5239 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
| 4660 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.nam
e) | 5240 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.nam
e) |
| 4661 } | 5241 } |
| 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 |
| 4662 inline void FieldDescriptorProto::set_name(const char* value) { | 5250 inline void FieldDescriptorProto::set_name(const char* value) { |
| 4663 set_has_name(); | 5251 set_has_name(); |
| 4664 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 5252 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
| 4665 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.name) | 5253 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.name) |
| 4666 } | 5254 } |
| 4667 inline void FieldDescriptorProto::set_name(const char* value, size_t size) { | 5255 inline void FieldDescriptorProto::set_name(const char* value, size_t size) { |
| 4668 set_has_name(); | 5256 set_has_name(); |
| 4669 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 5257 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 4670 ::std::string(reinterpret_cast<const char*>(value), size)); | 5258 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 4671 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.name) | 5259 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.name) |
| (...skipping 13 matching lines...) Expand all Loading... |
| 4685 set_has_name(); | 5273 set_has_name(); |
| 4686 } else { | 5274 } else { |
| 4687 clear_has_name(); | 5275 clear_has_name(); |
| 4688 } | 5276 } |
| 4689 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); | 5277 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); |
| 4690 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.name) | 5278 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.name) |
| 4691 } | 5279 } |
| 4692 | 5280 |
| 4693 // optional int32 number = 3; | 5281 // optional int32 number = 3; |
| 4694 inline bool FieldDescriptorProto::has_number() const { | 5282 inline bool FieldDescriptorProto::has_number() const { |
| 4695 return (_has_bits_[0] & 0x00000002u) != 0; | 5283 return (_has_bits_[0] & 0x00000040u) != 0; |
| 4696 } | 5284 } |
| 4697 inline void FieldDescriptorProto::set_has_number() { | 5285 inline void FieldDescriptorProto::set_has_number() { |
| 4698 _has_bits_[0] |= 0x00000002u; | 5286 _has_bits_[0] |= 0x00000040u; |
| 4699 } | 5287 } |
| 4700 inline void FieldDescriptorProto::clear_has_number() { | 5288 inline void FieldDescriptorProto::clear_has_number() { |
| 4701 _has_bits_[0] &= ~0x00000002u; | 5289 _has_bits_[0] &= ~0x00000040u; |
| 4702 } | 5290 } |
| 4703 inline void FieldDescriptorProto::clear_number() { | 5291 inline void FieldDescriptorProto::clear_number() { |
| 4704 number_ = 0; | 5292 number_ = 0; |
| 4705 clear_has_number(); | 5293 clear_has_number(); |
| 4706 } | 5294 } |
| 4707 inline ::google::protobuf::int32 FieldDescriptorProto::number() const { | 5295 inline ::google::protobuf::int32 FieldDescriptorProto::number() const { |
| 4708 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.num
ber) | 5296 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.num
ber) |
| 4709 return number_; | 5297 return number_; |
| 4710 } | 5298 } |
| 4711 inline void FieldDescriptorProto::set_number(::google::protobuf::int32 value) { | 5299 inline void FieldDescriptorProto::set_number(::google::protobuf::int32 value) { |
| 4712 set_has_number(); | 5300 set_has_number(); |
| 4713 number_ = value; | 5301 number_ = value; |
| 4714 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.num
ber) | 5302 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.num
ber) |
| 4715 } | 5303 } |
| 4716 | 5304 |
| 4717 // optional .google.protobuf.FieldDescriptorProto.Label label = 4; | 5305 // optional .google.protobuf.FieldDescriptorProto.Label label = 4; |
| 4718 inline bool FieldDescriptorProto::has_label() const { | 5306 inline bool FieldDescriptorProto::has_label() const { |
| 4719 return (_has_bits_[0] & 0x00000004u) != 0; | 5307 return (_has_bits_[0] & 0x00000100u) != 0; |
| 4720 } | 5308 } |
| 4721 inline void FieldDescriptorProto::set_has_label() { | 5309 inline void FieldDescriptorProto::set_has_label() { |
| 4722 _has_bits_[0] |= 0x00000004u; | 5310 _has_bits_[0] |= 0x00000100u; |
| 4723 } | 5311 } |
| 4724 inline void FieldDescriptorProto::clear_has_label() { | 5312 inline void FieldDescriptorProto::clear_has_label() { |
| 4725 _has_bits_[0] &= ~0x00000004u; | 5313 _has_bits_[0] &= ~0x00000100u; |
| 4726 } | 5314 } |
| 4727 inline void FieldDescriptorProto::clear_label() { | 5315 inline void FieldDescriptorProto::clear_label() { |
| 4728 label_ = 1; | 5316 label_ = 1; |
| 4729 clear_has_label(); | 5317 clear_has_label(); |
| 4730 } | 5318 } |
| 4731 inline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::labe
l() const { | 5319 inline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::labe
l() const { |
| 4732 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.lab
el) | 5320 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.lab
el) |
| 4733 return static_cast< ::google::protobuf::FieldDescriptorProto_Label >(label_); | 5321 return static_cast< ::google::protobuf::FieldDescriptorProto_Label >(label_); |
| 4734 } | 5322 } |
| 4735 inline void FieldDescriptorProto::set_label(::google::protobuf::FieldDescriptorP
roto_Label value) { | 5323 inline void FieldDescriptorProto::set_label(::google::protobuf::FieldDescriptorP
roto_Label value) { |
| 4736 assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value)); | 5324 assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value)); |
| 4737 set_has_label(); | 5325 set_has_label(); |
| 4738 label_ = value; | 5326 label_ = value; |
| 4739 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.lab
el) | 5327 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.lab
el) |
| 4740 } | 5328 } |
| 4741 | 5329 |
| 4742 // optional .google.protobuf.FieldDescriptorProto.Type type = 5; | 5330 // optional .google.protobuf.FieldDescriptorProto.Type type = 5; |
| 4743 inline bool FieldDescriptorProto::has_type() const { | 5331 inline bool FieldDescriptorProto::has_type() const { |
| 4744 return (_has_bits_[0] & 0x00000008u) != 0; | 5332 return (_has_bits_[0] & 0x00000200u) != 0; |
| 4745 } | 5333 } |
| 4746 inline void FieldDescriptorProto::set_has_type() { | 5334 inline void FieldDescriptorProto::set_has_type() { |
| 4747 _has_bits_[0] |= 0x00000008u; | 5335 _has_bits_[0] |= 0x00000200u; |
| 4748 } | 5336 } |
| 4749 inline void FieldDescriptorProto::clear_has_type() { | 5337 inline void FieldDescriptorProto::clear_has_type() { |
| 4750 _has_bits_[0] &= ~0x00000008u; | 5338 _has_bits_[0] &= ~0x00000200u; |
| 4751 } | 5339 } |
| 4752 inline void FieldDescriptorProto::clear_type() { | 5340 inline void FieldDescriptorProto::clear_type() { |
| 4753 type_ = 1; | 5341 type_ = 1; |
| 4754 clear_has_type(); | 5342 clear_has_type(); |
| 4755 } | 5343 } |
| 4756 inline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::type(
) const { | 5344 inline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::type(
) const { |
| 4757 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.typ
e) | 5345 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.typ
e) |
| 4758 return static_cast< ::google::protobuf::FieldDescriptorProto_Type >(type_); | 5346 return static_cast< ::google::protobuf::FieldDescriptorProto_Type >(type_); |
| 4759 } | 5347 } |
| 4760 inline void FieldDescriptorProto::set_type(::google::protobuf::FieldDescriptorPr
oto_Type value) { | 5348 inline void FieldDescriptorProto::set_type(::google::protobuf::FieldDescriptorPr
oto_Type value) { |
| 4761 assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value)); | 5349 assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value)); |
| 4762 set_has_type(); | 5350 set_has_type(); |
| 4763 type_ = value; | 5351 type_ = value; |
| 4764 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.typ
e) | 5352 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.typ
e) |
| 4765 } | 5353 } |
| 4766 | 5354 |
| 4767 // optional string type_name = 6; | 5355 // optional string type_name = 6; |
| 4768 inline bool FieldDescriptorProto::has_type_name() const { | 5356 inline bool FieldDescriptorProto::has_type_name() const { |
| 4769 return (_has_bits_[0] & 0x00000010u) != 0; | 5357 return (_has_bits_[0] & 0x00000002u) != 0; |
| 4770 } | 5358 } |
| 4771 inline void FieldDescriptorProto::set_has_type_name() { | 5359 inline void FieldDescriptorProto::set_has_type_name() { |
| 4772 _has_bits_[0] |= 0x00000010u; | 5360 _has_bits_[0] |= 0x00000002u; |
| 4773 } | 5361 } |
| 4774 inline void FieldDescriptorProto::clear_has_type_name() { | 5362 inline void FieldDescriptorProto::clear_has_type_name() { |
| 4775 _has_bits_[0] &= ~0x00000010u; | 5363 _has_bits_[0] &= ~0x00000002u; |
| 4776 } | 5364 } |
| 4777 inline void FieldDescriptorProto::clear_type_name() { | 5365 inline void FieldDescriptorProto::clear_type_name() { |
| 4778 type_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); | 5366 type_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); |
| 4779 clear_has_type_name(); | 5367 clear_has_type_name(); |
| 4780 } | 5368 } |
| 4781 inline const ::std::string& FieldDescriptorProto::type_name() const { | 5369 inline const ::std::string& FieldDescriptorProto::type_name() const { |
| 4782 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.typ
e_name) | 5370 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.typ
e_name) |
| 4783 return type_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited()); | 5371 return type_name_.GetNoArena(); |
| 4784 } | 5372 } |
| 4785 inline void FieldDescriptorProto::set_type_name(const ::std::string& value) { | 5373 inline void FieldDescriptorProto::set_type_name(const ::std::string& value) { |
| 4786 set_has_type_name(); | 5374 set_has_type_name(); |
| 4787 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), value); | 5375 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), value); |
| 4788 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.typ
e_name) | 5376 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.typ
e_name) |
| 4789 } | 5377 } |
| 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 |
| 4790 inline void FieldDescriptorProto::set_type_name(const char* value) { | 5386 inline void FieldDescriptorProto::set_type_name(const char* value) { |
| 4791 set_has_type_name(); | 5387 set_has_type_name(); |
| 4792 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), ::std::string(value)); | 5388 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), ::std::string(value)); |
| 4793 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.type_name) | 5389 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.type_name) |
| 4794 } | 5390 } |
| 4795 inline void FieldDescriptorProto::set_type_name(const char* value, size_t size)
{ | 5391 inline void FieldDescriptorProto::set_type_name(const char* value, size_t size)
{ |
| 4796 set_has_type_name(); | 5392 set_has_type_name(); |
| 4797 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), | 5393 type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), |
| 4798 ::std::string(reinterpret_cast<const char*>(value), size)); | 5394 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 4799 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.type_name) | 5395 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.type_name) |
| (...skipping 13 matching lines...) Expand all Loading... |
| 4813 set_has_type_name(); | 5409 set_has_type_name(); |
| 4814 } else { | 5410 } else { |
| 4815 clear_has_type_name(); | 5411 clear_has_type_name(); |
| 4816 } | 5412 } |
| 4817 type_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited(), type_name); | 5413 type_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited(), type_name); |
| 4818 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.type_name) | 5414 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.type_name) |
| 4819 } | 5415 } |
| 4820 | 5416 |
| 4821 // optional string extendee = 2; | 5417 // optional string extendee = 2; |
| 4822 inline bool FieldDescriptorProto::has_extendee() const { | 5418 inline bool FieldDescriptorProto::has_extendee() const { |
| 4823 return (_has_bits_[0] & 0x00000020u) != 0; | 5419 return (_has_bits_[0] & 0x00000004u) != 0; |
| 4824 } | 5420 } |
| 4825 inline void FieldDescriptorProto::set_has_extendee() { | 5421 inline void FieldDescriptorProto::set_has_extendee() { |
| 4826 _has_bits_[0] |= 0x00000020u; | 5422 _has_bits_[0] |= 0x00000004u; |
| 4827 } | 5423 } |
| 4828 inline void FieldDescriptorProto::clear_has_extendee() { | 5424 inline void FieldDescriptorProto::clear_has_extendee() { |
| 4829 _has_bits_[0] &= ~0x00000020u; | 5425 _has_bits_[0] &= ~0x00000004u; |
| 4830 } | 5426 } |
| 4831 inline void FieldDescriptorProto::clear_extendee() { | 5427 inline void FieldDescriptorProto::clear_extendee() { |
| 4832 extendee_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited()); | 5428 extendee_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited()); |
| 4833 clear_has_extendee(); | 5429 clear_has_extendee(); |
| 4834 } | 5430 } |
| 4835 inline const ::std::string& FieldDescriptorProto::extendee() const { | 5431 inline const ::std::string& FieldDescriptorProto::extendee() const { |
| 4836 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.ext
endee) | 5432 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.ext
endee) |
| 4837 return extendee_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited()); | 5433 return extendee_.GetNoArena(); |
| 4838 } | 5434 } |
| 4839 inline void FieldDescriptorProto::set_extendee(const ::std::string& value) { | 5435 inline void FieldDescriptorProto::set_extendee(const ::std::string& value) { |
| 4840 set_has_extendee(); | 5436 set_has_extendee(); |
| 4841 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), value); | 5437 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), value); |
| 4842 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.ext
endee) | 5438 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.ext
endee) |
| 4843 } | 5439 } |
| 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 |
| 4844 inline void FieldDescriptorProto::set_extendee(const char* value) { | 5448 inline void FieldDescriptorProto::set_extendee(const char* value) { |
| 4845 set_has_extendee(); | 5449 set_has_extendee(); |
| 4846 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), ::std::string(value)); | 5450 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), ::std::string(value)); |
| 4847 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.extendee) | 5451 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.extendee) |
| 4848 } | 5452 } |
| 4849 inline void FieldDescriptorProto::set_extendee(const char* value, size_t size) { | 5453 inline void FieldDescriptorProto::set_extendee(const char* value, size_t size) { |
| 4850 set_has_extendee(); | 5454 set_has_extendee(); |
| 4851 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), | 5455 extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInite
d(), |
| 4852 ::std::string(reinterpret_cast<const char*>(value), size)); | 5456 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 4853 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.extendee) | 5457 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.extendee) |
| (...skipping 13 matching lines...) Expand all Loading... |
| 4867 set_has_extendee(); | 5471 set_has_extendee(); |
| 4868 } else { | 5472 } else { |
| 4869 clear_has_extendee(); | 5473 clear_has_extendee(); |
| 4870 } | 5474 } |
| 4871 extendee_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), extendee); | 5475 extendee_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), extendee); |
| 4872 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.extendee) | 5476 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.extendee) |
| 4873 } | 5477 } |
| 4874 | 5478 |
| 4875 // optional string default_value = 7; | 5479 // optional string default_value = 7; |
| 4876 inline bool FieldDescriptorProto::has_default_value() const { | 5480 inline bool FieldDescriptorProto::has_default_value() const { |
| 4877 return (_has_bits_[0] & 0x00000040u) != 0; | 5481 return (_has_bits_[0] & 0x00000008u) != 0; |
| 4878 } | 5482 } |
| 4879 inline void FieldDescriptorProto::set_has_default_value() { | 5483 inline void FieldDescriptorProto::set_has_default_value() { |
| 4880 _has_bits_[0] |= 0x00000040u; | 5484 _has_bits_[0] |= 0x00000008u; |
| 4881 } | 5485 } |
| 4882 inline void FieldDescriptorProto::clear_has_default_value() { | 5486 inline void FieldDescriptorProto::clear_has_default_value() { |
| 4883 _has_bits_[0] &= ~0x00000040u; | 5487 _has_bits_[0] &= ~0x00000008u; |
| 4884 } | 5488 } |
| 4885 inline void FieldDescriptorProto::clear_default_value() { | 5489 inline void FieldDescriptorProto::clear_default_value() { |
| 4886 default_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStri
ngAlreadyInited()); | 5490 default_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStri
ngAlreadyInited()); |
| 4887 clear_has_default_value(); | 5491 clear_has_default_value(); |
| 4888 } | 5492 } |
| 4889 inline const ::std::string& FieldDescriptorProto::default_value() const { | 5493 inline const ::std::string& FieldDescriptorProto::default_value() const { |
| 4890 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.def
ault_value) | 5494 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.def
ault_value) |
| 4891 return default_value_.GetNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited()); | 5495 return default_value_.GetNoArena(); |
| 4892 } | 5496 } |
| 4893 inline void FieldDescriptorProto::set_default_value(const ::std::string& value)
{ | 5497 inline void FieldDescriptorProto::set_default_value(const ::std::string& value)
{ |
| 4894 set_has_default_value(); | 5498 set_has_default_value(); |
| 4895 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), value); | 5499 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), value); |
| 4896 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.def
ault_value) | 5500 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.def
ault_value) |
| 4897 } | 5501 } |
| 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 |
| 4898 inline void FieldDescriptorProto::set_default_value(const char* value) { | 5510 inline void FieldDescriptorProto::set_default_value(const char* value) { |
| 4899 set_has_default_value(); | 5511 set_has_default_value(); |
| 4900 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), ::std::string(value)); | 5512 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), ::std::string(value)); |
| 4901 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.default_value) | 5513 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.default_value) |
| 4902 } | 5514 } |
| 4903 inline void FieldDescriptorProto::set_default_value(const char* value, size_t si
ze) { | 5515 inline void FieldDescriptorProto::set_default_value(const char* value, size_t si
ze) { |
| 4904 set_has_default_value(); | 5516 set_has_default_value(); |
| 4905 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), | 5517 default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), |
| 4906 ::std::string(reinterpret_cast<const char*>(value), size)); | 5518 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 4907 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.default_value) | 5519 // @@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... |
| 4945 return oneof_index_; | 5557 return oneof_index_; |
| 4946 } | 5558 } |
| 4947 inline void FieldDescriptorProto::set_oneof_index(::google::protobuf::int32 valu
e) { | 5559 inline void FieldDescriptorProto::set_oneof_index(::google::protobuf::int32 valu
e) { |
| 4948 set_has_oneof_index(); | 5560 set_has_oneof_index(); |
| 4949 oneof_index_ = value; | 5561 oneof_index_ = value; |
| 4950 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.one
of_index) | 5562 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.one
of_index) |
| 4951 } | 5563 } |
| 4952 | 5564 |
| 4953 // optional string json_name = 10; | 5565 // optional string json_name = 10; |
| 4954 inline bool FieldDescriptorProto::has_json_name() const { | 5566 inline bool FieldDescriptorProto::has_json_name() const { |
| 4955 return (_has_bits_[0] & 0x00000100u) != 0; | 5567 return (_has_bits_[0] & 0x00000010u) != 0; |
| 4956 } | 5568 } |
| 4957 inline void FieldDescriptorProto::set_has_json_name() { | 5569 inline void FieldDescriptorProto::set_has_json_name() { |
| 4958 _has_bits_[0] |= 0x00000100u; | 5570 _has_bits_[0] |= 0x00000010u; |
| 4959 } | 5571 } |
| 4960 inline void FieldDescriptorProto::clear_has_json_name() { | 5572 inline void FieldDescriptorProto::clear_has_json_name() { |
| 4961 _has_bits_[0] &= ~0x00000100u; | 5573 _has_bits_[0] &= ~0x00000010u; |
| 4962 } | 5574 } |
| 4963 inline void FieldDescriptorProto::clear_json_name() { | 5575 inline void FieldDescriptorProto::clear_json_name() { |
| 4964 json_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); | 5576 json_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); |
| 4965 clear_has_json_name(); | 5577 clear_has_json_name(); |
| 4966 } | 5578 } |
| 4967 inline const ::std::string& FieldDescriptorProto::json_name() const { | 5579 inline const ::std::string& FieldDescriptorProto::json_name() const { |
| 4968 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.jso
n_name) | 5580 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.jso
n_name) |
| 4969 return json_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited()); | 5581 return json_name_.GetNoArena(); |
| 4970 } | 5582 } |
| 4971 inline void FieldDescriptorProto::set_json_name(const ::std::string& value) { | 5583 inline void FieldDescriptorProto::set_json_name(const ::std::string& value) { |
| 4972 set_has_json_name(); | 5584 set_has_json_name(); |
| 4973 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), value); | 5585 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), value); |
| 4974 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.jso
n_name) | 5586 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.jso
n_name) |
| 4975 } | 5587 } |
| 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 |
| 4976 inline void FieldDescriptorProto::set_json_name(const char* value) { | 5596 inline void FieldDescriptorProto::set_json_name(const char* value) { |
| 4977 set_has_json_name(); | 5597 set_has_json_name(); |
| 4978 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), ::std::string(value)); | 5598 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), ::std::string(value)); |
| 4979 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.json_name) | 5599 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProt
o.json_name) |
| 4980 } | 5600 } |
| 4981 inline void FieldDescriptorProto::set_json_name(const char* value, size_t size)
{ | 5601 inline void FieldDescriptorProto::set_json_name(const char* value, size_t size)
{ |
| 4982 set_has_json_name(); | 5602 set_has_json_name(); |
| 4983 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), | 5603 json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), |
| 4984 ::std::string(reinterpret_cast<const char*>(value), size)); | 5604 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 4985 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.json_name) | 5605 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorP
roto.json_name) |
| (...skipping 13 matching lines...) Expand all Loading... |
| 4999 set_has_json_name(); | 5619 set_has_json_name(); |
| 5000 } else { | 5620 } else { |
| 5001 clear_has_json_name(); | 5621 clear_has_json_name(); |
| 5002 } | 5622 } |
| 5003 json_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited(), json_name); | 5623 json_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited(), json_name); |
| 5004 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.json_name) | 5624 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescripto
rProto.json_name) |
| 5005 } | 5625 } |
| 5006 | 5626 |
| 5007 // optional .google.protobuf.FieldOptions options = 8; | 5627 // optional .google.protobuf.FieldOptions options = 8; |
| 5008 inline bool FieldDescriptorProto::has_options() const { | 5628 inline bool FieldDescriptorProto::has_options() const { |
| 5009 return (_has_bits_[0] & 0x00000200u) != 0; | 5629 return (_has_bits_[0] & 0x00000020u) != 0; |
| 5010 } | 5630 } |
| 5011 inline void FieldDescriptorProto::set_has_options() { | 5631 inline void FieldDescriptorProto::set_has_options() { |
| 5012 _has_bits_[0] |= 0x00000200u; | 5632 _has_bits_[0] |= 0x00000020u; |
| 5013 } | 5633 } |
| 5014 inline void FieldDescriptorProto::clear_has_options() { | 5634 inline void FieldDescriptorProto::clear_has_options() { |
| 5015 _has_bits_[0] &= ~0x00000200u; | 5635 _has_bits_[0] &= ~0x00000020u; |
| 5016 } | 5636 } |
| 5017 inline void FieldDescriptorProto::clear_options() { | 5637 inline void FieldDescriptorProto::clear_options() { |
| 5018 if (options_ != NULL) options_->::google::protobuf::FieldOptions::Clear(); | 5638 if (options_ != NULL) options_->::google::protobuf::FieldOptions::Clear(); |
| 5019 clear_has_options(); | 5639 clear_has_options(); |
| 5020 } | 5640 } |
| 5021 inline const ::google::protobuf::FieldOptions& FieldDescriptorProto::options() c
onst { | 5641 inline const ::google::protobuf::FieldOptions& FieldDescriptorProto::options() c
onst { |
| 5022 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.opt
ions) | 5642 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.opt
ions) |
| 5023 return options_ != NULL ? *options_ : *default_instance_->options_; | 5643 return options_ != NULL ? *options_ |
| 5644 : *::google::protobuf::FieldOptions::internal_default_i
nstance(); |
| 5024 } | 5645 } |
| 5025 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::mutable_options()
{ | 5646 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::mutable_options()
{ |
| 5026 set_has_options(); | 5647 set_has_options(); |
| 5027 if (options_ == NULL) { | 5648 if (options_ == NULL) { |
| 5028 options_ = new ::google::protobuf::FieldOptions; | 5649 options_ = new ::google::protobuf::FieldOptions; |
| 5029 } | 5650 } |
| 5030 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto
.options) | 5651 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto
.options) |
| 5031 return options_; | 5652 return options_; |
| 5032 } | 5653 } |
| 5033 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::release_options()
{ | 5654 inline ::google::protobuf::FieldOptions* FieldDescriptorProto::release_options()
{ |
| (...skipping 27 matching lines...) Expand all Loading... |
| 5061 } | 5682 } |
| 5062 inline void OneofDescriptorProto::clear_has_name() { | 5683 inline void OneofDescriptorProto::clear_has_name() { |
| 5063 _has_bits_[0] &= ~0x00000001u; | 5684 _has_bits_[0] &= ~0x00000001u; |
| 5064 } | 5685 } |
| 5065 inline void OneofDescriptorProto::clear_name() { | 5686 inline void OneofDescriptorProto::clear_name() { |
| 5066 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 5687 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
| 5067 clear_has_name(); | 5688 clear_has_name(); |
| 5068 } | 5689 } |
| 5069 inline const ::std::string& OneofDescriptorProto::name() const { | 5690 inline const ::std::string& OneofDescriptorProto::name() const { |
| 5070 // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.nam
e) | 5691 // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.nam
e) |
| 5071 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); | 5692 return name_.GetNoArena(); |
| 5072 } | 5693 } |
| 5073 inline void OneofDescriptorProto::set_name(const ::std::string& value) { | 5694 inline void OneofDescriptorProto::set_name(const ::std::string& value) { |
| 5074 set_has_name(); | 5695 set_has_name(); |
| 5075 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 5696 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
| 5076 // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.nam
e) | 5697 // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.nam
e) |
| 5077 } | 5698 } |
| 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 |
| 5078 inline void OneofDescriptorProto::set_name(const char* value) { | 5707 inline void OneofDescriptorProto::set_name(const char* value) { |
| 5079 set_has_name(); | 5708 set_has_name(); |
| 5080 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 5709 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
| 5081 // @@protoc_insertion_point(field_set_char:google.protobuf.OneofDescriptorProt
o.name) | 5710 // @@protoc_insertion_point(field_set_char:google.protobuf.OneofDescriptorProt
o.name) |
| 5082 } | 5711 } |
| 5083 inline void OneofDescriptorProto::set_name(const char* value, size_t size) { | 5712 inline void OneofDescriptorProto::set_name(const char* value, size_t size) { |
| 5084 set_has_name(); | 5713 set_has_name(); |
| 5085 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 5714 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 5086 ::std::string(reinterpret_cast<const char*>(value), size)); | 5715 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5087 // @@protoc_insertion_point(field_set_pointer:google.protobuf.OneofDescriptorP
roto.name) | 5716 // @@protoc_insertion_point(field_set_pointer:google.protobuf.OneofDescriptorP
roto.name) |
| (...skipping 11 matching lines...) Expand all Loading... |
| 5099 inline void OneofDescriptorProto::set_allocated_name(::std::string* name) { | 5728 inline void OneofDescriptorProto::set_allocated_name(::std::string* name) { |
| 5100 if (name != NULL) { | 5729 if (name != NULL) { |
| 5101 set_has_name(); | 5730 set_has_name(); |
| 5102 } else { | 5731 } else { |
| 5103 clear_has_name(); | 5732 clear_has_name(); |
| 5104 } | 5733 } |
| 5105 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); | 5734 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); |
| 5106 // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescripto
rProto.name) | 5735 // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescripto
rProto.name) |
| 5107 } | 5736 } |
| 5108 | 5737 |
| 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 |
| 5109 // ------------------------------------------------------------------- | 5783 // ------------------------------------------------------------------- |
| 5110 | 5784 |
| 5111 // EnumDescriptorProto | 5785 // EnumDescriptorProto |
| 5112 | 5786 |
| 5113 // optional string name = 1; | 5787 // optional string name = 1; |
| 5114 inline bool EnumDescriptorProto::has_name() const { | 5788 inline bool EnumDescriptorProto::has_name() const { |
| 5115 return (_has_bits_[0] & 0x00000001u) != 0; | 5789 return (_has_bits_[0] & 0x00000001u) != 0; |
| 5116 } | 5790 } |
| 5117 inline void EnumDescriptorProto::set_has_name() { | 5791 inline void EnumDescriptorProto::set_has_name() { |
| 5118 _has_bits_[0] |= 0x00000001u; | 5792 _has_bits_[0] |= 0x00000001u; |
| 5119 } | 5793 } |
| 5120 inline void EnumDescriptorProto::clear_has_name() { | 5794 inline void EnumDescriptorProto::clear_has_name() { |
| 5121 _has_bits_[0] &= ~0x00000001u; | 5795 _has_bits_[0] &= ~0x00000001u; |
| 5122 } | 5796 } |
| 5123 inline void EnumDescriptorProto::clear_name() { | 5797 inline void EnumDescriptorProto::clear_name() { |
| 5124 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 5798 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
| 5125 clear_has_name(); | 5799 clear_has_name(); |
| 5126 } | 5800 } |
| 5127 inline const ::std::string& EnumDescriptorProto::name() const { | 5801 inline const ::std::string& EnumDescriptorProto::name() const { |
| 5128 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name
) | 5802 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name
) |
| 5129 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); | 5803 return name_.GetNoArena(); |
| 5130 } | 5804 } |
| 5131 inline void EnumDescriptorProto::set_name(const ::std::string& value) { | 5805 inline void EnumDescriptorProto::set_name(const ::std::string& value) { |
| 5132 set_has_name(); | 5806 set_has_name(); |
| 5133 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 5807 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
| 5134 // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name
) | 5808 // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name
) |
| 5135 } | 5809 } |
| 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 |
| 5136 inline void EnumDescriptorProto::set_name(const char* value) { | 5818 inline void EnumDescriptorProto::set_name(const char* value) { |
| 5137 set_has_name(); | 5819 set_has_name(); |
| 5138 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 5820 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
| 5139 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto
.name) | 5821 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto
.name) |
| 5140 } | 5822 } |
| 5141 inline void EnumDescriptorProto::set_name(const char* value, size_t size) { | 5823 inline void EnumDescriptorProto::set_name(const char* value, size_t size) { |
| 5142 set_has_name(); | 5824 set_has_name(); |
| 5143 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 5825 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 5144 ::std::string(reinterpret_cast<const char*>(value), size)); | 5826 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5145 // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorPr
oto.name) | 5827 // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorPr
oto.name) |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5189 return &value_; | 5871 return &value_; |
| 5190 } | 5872 } |
| 5191 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue
DescriptorProto >& | 5873 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue
DescriptorProto >& |
| 5192 EnumDescriptorProto::value() const { | 5874 EnumDescriptorProto::value() const { |
| 5193 // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.val
ue) | 5875 // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.val
ue) |
| 5194 return value_; | 5876 return value_; |
| 5195 } | 5877 } |
| 5196 | 5878 |
| 5197 // optional .google.protobuf.EnumOptions options = 3; | 5879 // optional .google.protobuf.EnumOptions options = 3; |
| 5198 inline bool EnumDescriptorProto::has_options() const { | 5880 inline bool EnumDescriptorProto::has_options() const { |
| 5199 return (_has_bits_[0] & 0x00000004u) != 0; | 5881 return (_has_bits_[0] & 0x00000002u) != 0; |
| 5200 } | 5882 } |
| 5201 inline void EnumDescriptorProto::set_has_options() { | 5883 inline void EnumDescriptorProto::set_has_options() { |
| 5202 _has_bits_[0] |= 0x00000004u; | 5884 _has_bits_[0] |= 0x00000002u; |
| 5203 } | 5885 } |
| 5204 inline void EnumDescriptorProto::clear_has_options() { | 5886 inline void EnumDescriptorProto::clear_has_options() { |
| 5205 _has_bits_[0] &= ~0x00000004u; | 5887 _has_bits_[0] &= ~0x00000002u; |
| 5206 } | 5888 } |
| 5207 inline void EnumDescriptorProto::clear_options() { | 5889 inline void EnumDescriptorProto::clear_options() { |
| 5208 if (options_ != NULL) options_->::google::protobuf::EnumOptions::Clear(); | 5890 if (options_ != NULL) options_->::google::protobuf::EnumOptions::Clear(); |
| 5209 clear_has_options(); | 5891 clear_has_options(); |
| 5210 } | 5892 } |
| 5211 inline const ::google::protobuf::EnumOptions& EnumDescriptorProto::options() con
st { | 5893 inline const ::google::protobuf::EnumOptions& EnumDescriptorProto::options() con
st { |
| 5212 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.opti
ons) | 5894 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.opti
ons) |
| 5213 return options_ != NULL ? *options_ : *default_instance_->options_; | 5895 return options_ != NULL ? *options_ |
| 5896 : *::google::protobuf::EnumOptions::internal_default_in
stance(); |
| 5214 } | 5897 } |
| 5215 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::mutable_options() { | 5898 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::mutable_options() { |
| 5216 set_has_options(); | 5899 set_has_options(); |
| 5217 if (options_ == NULL) { | 5900 if (options_ == NULL) { |
| 5218 options_ = new ::google::protobuf::EnumOptions; | 5901 options_ = new ::google::protobuf::EnumOptions; |
| 5219 } | 5902 } |
| 5220 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.
options) | 5903 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.
options) |
| 5221 return options_; | 5904 return options_; |
| 5222 } | 5905 } |
| 5223 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::release_options() { | 5906 inline ::google::protobuf::EnumOptions* EnumDescriptorProto::release_options() { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 5251 } | 5934 } |
| 5252 inline void EnumValueDescriptorProto::clear_has_name() { | 5935 inline void EnumValueDescriptorProto::clear_has_name() { |
| 5253 _has_bits_[0] &= ~0x00000001u; | 5936 _has_bits_[0] &= ~0x00000001u; |
| 5254 } | 5937 } |
| 5255 inline void EnumValueDescriptorProto::clear_name() { | 5938 inline void EnumValueDescriptorProto::clear_name() { |
| 5256 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 5939 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
| 5257 clear_has_name(); | 5940 clear_has_name(); |
| 5258 } | 5941 } |
| 5259 inline const ::std::string& EnumValueDescriptorProto::name() const { | 5942 inline const ::std::string& EnumValueDescriptorProto::name() const { |
| 5260 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto
.name) | 5943 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto
.name) |
| 5261 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); | 5944 return name_.GetNoArena(); |
| 5262 } | 5945 } |
| 5263 inline void EnumValueDescriptorProto::set_name(const ::std::string& value) { | 5946 inline void EnumValueDescriptorProto::set_name(const ::std::string& value) { |
| 5264 set_has_name(); | 5947 set_has_name(); |
| 5265 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 5948 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
| 5266 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto
.name) | 5949 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto
.name) |
| 5267 } | 5950 } |
| 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 |
| 5268 inline void EnumValueDescriptorProto::set_name(const char* value) { | 5959 inline void EnumValueDescriptorProto::set_name(const char* value) { |
| 5269 set_has_name(); | 5960 set_has_name(); |
| 5270 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 5961 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
| 5271 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValueDescriptor
Proto.name) | 5962 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValueDescriptor
Proto.name) |
| 5272 } | 5963 } |
| 5273 inline void EnumValueDescriptorProto::set_name(const char* value, size_t size) { | 5964 inline void EnumValueDescriptorProto::set_name(const char* value, size_t size) { |
| 5274 set_has_name(); | 5965 set_has_name(); |
| 5275 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 5966 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 5276 ::std::string(reinterpret_cast<const char*>(value), size)); | 5967 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5277 // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValueDescrip
torProto.name) | 5968 // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValueDescrip
torProto.name) |
| (...skipping 13 matching lines...) Expand all Loading... |
| 5291 set_has_name(); | 5982 set_has_name(); |
| 5292 } else { | 5983 } else { |
| 5293 clear_has_name(); | 5984 clear_has_name(); |
| 5294 } | 5985 } |
| 5295 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); | 5986 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited(), name); |
| 5296 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescr
iptorProto.name) | 5987 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescr
iptorProto.name) |
| 5297 } | 5988 } |
| 5298 | 5989 |
| 5299 // optional int32 number = 2; | 5990 // optional int32 number = 2; |
| 5300 inline bool EnumValueDescriptorProto::has_number() const { | 5991 inline bool EnumValueDescriptorProto::has_number() const { |
| 5301 return (_has_bits_[0] & 0x00000002u) != 0; | 5992 return (_has_bits_[0] & 0x00000004u) != 0; |
| 5302 } | 5993 } |
| 5303 inline void EnumValueDescriptorProto::set_has_number() { | 5994 inline void EnumValueDescriptorProto::set_has_number() { |
| 5304 _has_bits_[0] |= 0x00000002u; | 5995 _has_bits_[0] |= 0x00000004u; |
| 5305 } | 5996 } |
| 5306 inline void EnumValueDescriptorProto::clear_has_number() { | 5997 inline void EnumValueDescriptorProto::clear_has_number() { |
| 5307 _has_bits_[0] &= ~0x00000002u; | 5998 _has_bits_[0] &= ~0x00000004u; |
| 5308 } | 5999 } |
| 5309 inline void EnumValueDescriptorProto::clear_number() { | 6000 inline void EnumValueDescriptorProto::clear_number() { |
| 5310 number_ = 0; | 6001 number_ = 0; |
| 5311 clear_has_number(); | 6002 clear_has_number(); |
| 5312 } | 6003 } |
| 5313 inline ::google::protobuf::int32 EnumValueDescriptorProto::number() const { | 6004 inline ::google::protobuf::int32 EnumValueDescriptorProto::number() const { |
| 5314 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto
.number) | 6005 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto
.number) |
| 5315 return number_; | 6006 return number_; |
| 5316 } | 6007 } |
| 5317 inline void EnumValueDescriptorProto::set_number(::google::protobuf::int32 value
) { | 6008 inline void EnumValueDescriptorProto::set_number(::google::protobuf::int32 value
) { |
| 5318 set_has_number(); | 6009 set_has_number(); |
| 5319 number_ = value; | 6010 number_ = value; |
| 5320 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto
.number) | 6011 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto
.number) |
| 5321 } | 6012 } |
| 5322 | 6013 |
| 5323 // optional .google.protobuf.EnumValueOptions options = 3; | 6014 // optional .google.protobuf.EnumValueOptions options = 3; |
| 5324 inline bool EnumValueDescriptorProto::has_options() const { | 6015 inline bool EnumValueDescriptorProto::has_options() const { |
| 5325 return (_has_bits_[0] & 0x00000004u) != 0; | 6016 return (_has_bits_[0] & 0x00000002u) != 0; |
| 5326 } | 6017 } |
| 5327 inline void EnumValueDescriptorProto::set_has_options() { | 6018 inline void EnumValueDescriptorProto::set_has_options() { |
| 5328 _has_bits_[0] |= 0x00000004u; | 6019 _has_bits_[0] |= 0x00000002u; |
| 5329 } | 6020 } |
| 5330 inline void EnumValueDescriptorProto::clear_has_options() { | 6021 inline void EnumValueDescriptorProto::clear_has_options() { |
| 5331 _has_bits_[0] &= ~0x00000004u; | 6022 _has_bits_[0] &= ~0x00000002u; |
| 5332 } | 6023 } |
| 5333 inline void EnumValueDescriptorProto::clear_options() { | 6024 inline void EnumValueDescriptorProto::clear_options() { |
| 5334 if (options_ != NULL) options_->::google::protobuf::EnumValueOptions::Clear(); | 6025 if (options_ != NULL) options_->::google::protobuf::EnumValueOptions::Clear(); |
| 5335 clear_has_options(); | 6026 clear_has_options(); |
| 5336 } | 6027 } |
| 5337 inline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::opt
ions() const { | 6028 inline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::opt
ions() const { |
| 5338 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto
.options) | 6029 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto
.options) |
| 5339 return options_ != NULL ? *options_ : *default_instance_->options_; | 6030 return options_ != NULL ? *options_ |
| 6031 : *::google::protobuf::EnumValueOptions::internal_defau
lt_instance(); |
| 5340 } | 6032 } |
| 5341 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::mutable_o
ptions() { | 6033 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::mutable_o
ptions() { |
| 5342 set_has_options(); | 6034 set_has_options(); |
| 5343 if (options_ == NULL) { | 6035 if (options_ == NULL) { |
| 5344 options_ = new ::google::protobuf::EnumValueOptions; | 6036 options_ = new ::google::protobuf::EnumValueOptions; |
| 5345 } | 6037 } |
| 5346 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorP
roto.options) | 6038 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorP
roto.options) |
| 5347 return options_; | 6039 return options_; |
| 5348 } | 6040 } |
| 5349 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::release_o
ptions() { | 6041 inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::release_o
ptions() { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 5377 } | 6069 } |
| 5378 inline void ServiceDescriptorProto::clear_has_name() { | 6070 inline void ServiceDescriptorProto::clear_has_name() { |
| 5379 _has_bits_[0] &= ~0x00000001u; | 6071 _has_bits_[0] &= ~0x00000001u; |
| 5380 } | 6072 } |
| 5381 inline void ServiceDescriptorProto::clear_name() { | 6073 inline void ServiceDescriptorProto::clear_name() { |
| 5382 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 6074 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
| 5383 clear_has_name(); | 6075 clear_has_name(); |
| 5384 } | 6076 } |
| 5385 inline const ::std::string& ServiceDescriptorProto::name() const { | 6077 inline const ::std::string& ServiceDescriptorProto::name() const { |
| 5386 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.n
ame) | 6078 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.n
ame) |
| 5387 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); | 6079 return name_.GetNoArena(); |
| 5388 } | 6080 } |
| 5389 inline void ServiceDescriptorProto::set_name(const ::std::string& value) { | 6081 inline void ServiceDescriptorProto::set_name(const ::std::string& value) { |
| 5390 set_has_name(); | 6082 set_has_name(); |
| 5391 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 6083 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
| 5392 // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.n
ame) | 6084 // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.n
ame) |
| 5393 } | 6085 } |
| 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 |
| 5394 inline void ServiceDescriptorProto::set_name(const char* value) { | 6094 inline void ServiceDescriptorProto::set_name(const char* value) { |
| 5395 set_has_name(); | 6095 set_has_name(); |
| 5396 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 6096 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
| 5397 // @@protoc_insertion_point(field_set_char:google.protobuf.ServiceDescriptorPr
oto.name) | 6097 // @@protoc_insertion_point(field_set_char:google.protobuf.ServiceDescriptorPr
oto.name) |
| 5398 } | 6098 } |
| 5399 inline void ServiceDescriptorProto::set_name(const char* value, size_t size) { | 6099 inline void ServiceDescriptorProto::set_name(const char* value, size_t size) { |
| 5400 set_has_name(); | 6100 set_has_name(); |
| 5401 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 6101 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 5402 ::std::string(reinterpret_cast<const char*>(value), size)); | 6102 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5403 // @@protoc_insertion_point(field_set_pointer:google.protobuf.ServiceDescripto
rProto.name) | 6103 // @@protoc_insertion_point(field_set_pointer:google.protobuf.ServiceDescripto
rProto.name) |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5447 return &method_; | 6147 return &method_; |
| 5448 } | 6148 } |
| 5449 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDes
criptorProto >& | 6149 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDes
criptorProto >& |
| 5450 ServiceDescriptorProto::method() const { | 6150 ServiceDescriptorProto::method() const { |
| 5451 // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.
method) | 6151 // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.
method) |
| 5452 return method_; | 6152 return method_; |
| 5453 } | 6153 } |
| 5454 | 6154 |
| 5455 // optional .google.protobuf.ServiceOptions options = 3; | 6155 // optional .google.protobuf.ServiceOptions options = 3; |
| 5456 inline bool ServiceDescriptorProto::has_options() const { | 6156 inline bool ServiceDescriptorProto::has_options() const { |
| 5457 return (_has_bits_[0] & 0x00000004u) != 0; | 6157 return (_has_bits_[0] & 0x00000002u) != 0; |
| 5458 } | 6158 } |
| 5459 inline void ServiceDescriptorProto::set_has_options() { | 6159 inline void ServiceDescriptorProto::set_has_options() { |
| 5460 _has_bits_[0] |= 0x00000004u; | 6160 _has_bits_[0] |= 0x00000002u; |
| 5461 } | 6161 } |
| 5462 inline void ServiceDescriptorProto::clear_has_options() { | 6162 inline void ServiceDescriptorProto::clear_has_options() { |
| 5463 _has_bits_[0] &= ~0x00000004u; | 6163 _has_bits_[0] &= ~0x00000002u; |
| 5464 } | 6164 } |
| 5465 inline void ServiceDescriptorProto::clear_options() { | 6165 inline void ServiceDescriptorProto::clear_options() { |
| 5466 if (options_ != NULL) options_->::google::protobuf::ServiceOptions::Clear(); | 6166 if (options_ != NULL) options_->::google::protobuf::ServiceOptions::Clear(); |
| 5467 clear_has_options(); | 6167 clear_has_options(); |
| 5468 } | 6168 } |
| 5469 inline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::options
() const { | 6169 inline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::options
() const { |
| 5470 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.o
ptions) | 6170 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.o
ptions) |
| 5471 return options_ != NULL ? *options_ : *default_instance_->options_; | 6171 return options_ != NULL ? *options_ |
| 6172 : *::google::protobuf::ServiceOptions::internal_default
_instance(); |
| 5472 } | 6173 } |
| 5473 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::mutable_optio
ns() { | 6174 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::mutable_optio
ns() { |
| 5474 set_has_options(); | 6175 set_has_options(); |
| 5475 if (options_ == NULL) { | 6176 if (options_ == NULL) { |
| 5476 options_ = new ::google::protobuf::ServiceOptions; | 6177 options_ = new ::google::protobuf::ServiceOptions; |
| 5477 } | 6178 } |
| 5478 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorPro
to.options) | 6179 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorPro
to.options) |
| 5479 return options_; | 6180 return options_; |
| 5480 } | 6181 } |
| 5481 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::release_optio
ns() { | 6182 inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::release_optio
ns() { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 5509 } | 6210 } |
| 5510 inline void MethodDescriptorProto::clear_has_name() { | 6211 inline void MethodDescriptorProto::clear_has_name() { |
| 5511 _has_bits_[0] &= ~0x00000001u; | 6212 _has_bits_[0] &= ~0x00000001u; |
| 5512 } | 6213 } |
| 5513 inline void MethodDescriptorProto::clear_name() { | 6214 inline void MethodDescriptorProto::clear_name() { |
| 5514 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); | 6215 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready
Inited()); |
| 5515 clear_has_name(); | 6216 clear_has_name(); |
| 5516 } | 6217 } |
| 5517 inline const ::std::string& MethodDescriptorProto::name() const { | 6218 inline const ::std::string& MethodDescriptorProto::name() const { |
| 5518 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.na
me) | 6219 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.na
me) |
| 5519 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited()); | 6220 return name_.GetNoArena(); |
| 5520 } | 6221 } |
| 5521 inline void MethodDescriptorProto::set_name(const ::std::string& value) { | 6222 inline void MethodDescriptorProto::set_name(const ::std::string& value) { |
| 5522 set_has_name(); | 6223 set_has_name(); |
| 5523 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); | 6224 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value); |
| 5524 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.na
me) | 6225 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.na
me) |
| 5525 } | 6226 } |
| 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 |
| 5526 inline void MethodDescriptorProto::set_name(const char* value) { | 6235 inline void MethodDescriptorProto::set_name(const char* value) { |
| 5527 set_has_name(); | 6236 set_has_name(); |
| 5528 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); | 6237 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(value)); |
| 5529 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro
to.name) | 6238 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro
to.name) |
| 5530 } | 6239 } |
| 5531 inline void MethodDescriptorProto::set_name(const char* value, size_t size) { | 6240 inline void MethodDescriptorProto::set_name(const char* value, size_t size) { |
| 5532 set_has_name(); | 6241 set_has_name(); |
| 5533 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), | 6242 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 5534 ::std::string(reinterpret_cast<const char*>(value), size)); | 6243 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5535 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptor
Proto.name) | 6244 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptor
Proto.name) |
| (...skipping 27 matching lines...) Expand all Loading... |
| 5563 } | 6272 } |
| 5564 inline void MethodDescriptorProto::clear_has_input_type() { | 6273 inline void MethodDescriptorProto::clear_has_input_type() { |
| 5565 _has_bits_[0] &= ~0x00000002u; | 6274 _has_bits_[0] &= ~0x00000002u; |
| 5566 } | 6275 } |
| 5567 inline void MethodDescriptorProto::clear_input_type() { | 6276 inline void MethodDescriptorProto::clear_input_type() { |
| 5568 input_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); | 6277 input_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); |
| 5569 clear_has_input_type(); | 6278 clear_has_input_type(); |
| 5570 } | 6279 } |
| 5571 inline const ::std::string& MethodDescriptorProto::input_type() const { | 6280 inline const ::std::string& MethodDescriptorProto::input_type() const { |
| 5572 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.in
put_type) | 6281 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.in
put_type) |
| 5573 return input_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited()); | 6282 return input_type_.GetNoArena(); |
| 5574 } | 6283 } |
| 5575 inline void MethodDescriptorProto::set_input_type(const ::std::string& value) { | 6284 inline void MethodDescriptorProto::set_input_type(const ::std::string& value) { |
| 5576 set_has_input_type(); | 6285 set_has_input_type(); |
| 5577 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), value); | 6286 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), value); |
| 5578 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.in
put_type) | 6287 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.in
put_type) |
| 5579 } | 6288 } |
| 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 |
| 5580 inline void MethodDescriptorProto::set_input_type(const char* value) { | 6297 inline void MethodDescriptorProto::set_input_type(const char* value) { |
| 5581 set_has_input_type(); | 6298 set_has_input_type(); |
| 5582 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), ::std::string(value)); | 6299 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), ::std::string(value)); |
| 5583 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro
to.input_type) | 6300 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro
to.input_type) |
| 5584 } | 6301 } |
| 5585 inline void MethodDescriptorProto::set_input_type(const char* value, size_t size
) { | 6302 inline void MethodDescriptorProto::set_input_type(const char* value, size_t size
) { |
| 5586 set_has_input_type(); | 6303 set_has_input_type(); |
| 5587 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), | 6304 input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), |
| 5588 ::std::string(reinterpret_cast<const char*>(value), size)); | 6305 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5589 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptor
Proto.input_type) | 6306 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptor
Proto.input_type) |
| (...skipping 27 matching lines...) Expand all Loading... |
| 5617 } | 6334 } |
| 5618 inline void MethodDescriptorProto::clear_has_output_type() { | 6335 inline void MethodDescriptorProto::clear_has_output_type() { |
| 5619 _has_bits_[0] &= ~0x00000004u; | 6336 _has_bits_[0] &= ~0x00000004u; |
| 5620 } | 6337 } |
| 5621 inline void MethodDescriptorProto::clear_output_type() { | 6338 inline void MethodDescriptorProto::clear_output_type() { |
| 5622 output_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited()); | 6339 output_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited()); |
| 5623 clear_has_output_type(); | 6340 clear_has_output_type(); |
| 5624 } | 6341 } |
| 5625 inline const ::std::string& MethodDescriptorProto::output_type() const { | 6342 inline const ::std::string& MethodDescriptorProto::output_type() const { |
| 5626 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.ou
tput_type) | 6343 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.ou
tput_type) |
| 5627 return output_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); | 6344 return output_type_.GetNoArena(); |
| 5628 } | 6345 } |
| 5629 inline void MethodDescriptorProto::set_output_type(const ::std::string& value) { | 6346 inline void MethodDescriptorProto::set_output_type(const ::std::string& value) { |
| 5630 set_has_output_type(); | 6347 set_has_output_type(); |
| 5631 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), value); | 6348 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), value); |
| 5632 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.ou
tput_type) | 6349 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.ou
tput_type) |
| 5633 } | 6350 } |
| 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 |
| 5634 inline void MethodDescriptorProto::set_output_type(const char* value) { | 6359 inline void MethodDescriptorProto::set_output_type(const char* value) { |
| 5635 set_has_output_type(); | 6360 set_has_output_type(); |
| 5636 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), ::std::string(value)); | 6361 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), ::std::string(value)); |
| 5637 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro
to.output_type) | 6362 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorPro
to.output_type) |
| 5638 } | 6363 } |
| 5639 inline void MethodDescriptorProto::set_output_type(const char* value, size_t siz
e) { | 6364 inline void MethodDescriptorProto::set_output_type(const char* value, size_t siz
e) { |
| 5640 set_has_output_type(); | 6365 set_has_output_type(); |
| 5641 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), | 6366 output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), |
| 5642 ::std::string(reinterpret_cast<const char*>(value), size)); | 6367 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5643 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptor
Proto.output_type) | 6368 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptor
Proto.output_type) |
| (...skipping 27 matching lines...) Expand all Loading... |
| 5671 } | 6396 } |
| 5672 inline void MethodDescriptorProto::clear_has_options() { | 6397 inline void MethodDescriptorProto::clear_has_options() { |
| 5673 _has_bits_[0] &= ~0x00000008u; | 6398 _has_bits_[0] &= ~0x00000008u; |
| 5674 } | 6399 } |
| 5675 inline void MethodDescriptorProto::clear_options() { | 6400 inline void MethodDescriptorProto::clear_options() { |
| 5676 if (options_ != NULL) options_->::google::protobuf::MethodOptions::Clear(); | 6401 if (options_ != NULL) options_->::google::protobuf::MethodOptions::Clear(); |
| 5677 clear_has_options(); | 6402 clear_has_options(); |
| 5678 } | 6403 } |
| 5679 inline const ::google::protobuf::MethodOptions& MethodDescriptorProto::options()
const { | 6404 inline const ::google::protobuf::MethodOptions& MethodDescriptorProto::options()
const { |
| 5680 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.op
tions) | 6405 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.op
tions) |
| 5681 return options_ != NULL ? *options_ : *default_instance_->options_; | 6406 return options_ != NULL ? *options_ |
| 6407 : *::google::protobuf::MethodOptions::internal_default_
instance(); |
| 5682 } | 6408 } |
| 5683 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::mutable_options
() { | 6409 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::mutable_options
() { |
| 5684 set_has_options(); | 6410 set_has_options(); |
| 5685 if (options_ == NULL) { | 6411 if (options_ == NULL) { |
| 5686 options_ = new ::google::protobuf::MethodOptions; | 6412 options_ = new ::google::protobuf::MethodOptions; |
| 5687 } | 6413 } |
| 5688 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProt
o.options) | 6414 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProt
o.options) |
| 5689 return options_; | 6415 return options_; |
| 5690 } | 6416 } |
| 5691 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::release_options
() { | 6417 inline ::google::protobuf::MethodOptions* MethodDescriptorProto::release_options
() { |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5767 } | 6493 } |
| 5768 inline void FileOptions::clear_has_java_package() { | 6494 inline void FileOptions::clear_has_java_package() { |
| 5769 _has_bits_[0] &= ~0x00000001u; | 6495 _has_bits_[0] &= ~0x00000001u; |
| 5770 } | 6496 } |
| 5771 inline void FileOptions::clear_java_package() { | 6497 inline void FileOptions::clear_java_package() { |
| 5772 java_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited()); | 6498 java_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited()); |
| 5773 clear_has_java_package(); | 6499 clear_has_java_package(); |
| 5774 } | 6500 } |
| 5775 inline const ::std::string& FileOptions::java_package() const { | 6501 inline const ::std::string& FileOptions::java_package() const { |
| 5776 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package
) | 6502 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package
) |
| 5777 return java_package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); | 6503 return java_package_.GetNoArena(); |
| 5778 } | 6504 } |
| 5779 inline void FileOptions::set_java_package(const ::std::string& value) { | 6505 inline void FileOptions::set_java_package(const ::std::string& value) { |
| 5780 set_has_java_package(); | 6506 set_has_java_package(); |
| 5781 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), value); | 6507 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), value); |
| 5782 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package
) | 6508 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package
) |
| 5783 } | 6509 } |
| 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 |
| 5784 inline void FileOptions::set_java_package(const char* value) { | 6518 inline void FileOptions::set_java_package(const char* value) { |
| 5785 set_has_java_package(); | 6519 set_has_java_package(); |
| 5786 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), ::std::string(value)); | 6520 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), ::std::string(value)); |
| 5787 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_pa
ckage) | 6521 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_pa
ckage) |
| 5788 } | 6522 } |
| 5789 inline void FileOptions::set_java_package(const char* value, size_t size) { | 6523 inline void FileOptions::set_java_package(const char* value, size_t size) { |
| 5790 set_has_java_package(); | 6524 set_has_java_package(); |
| 5791 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), | 6525 java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), |
| 5792 ::std::string(reinterpret_cast<const char*>(value), size)); | 6526 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5793 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java
_package) | 6527 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java
_package) |
| (...skipping 27 matching lines...) Expand all Loading... |
| 5821 } | 6555 } |
| 5822 inline void FileOptions::clear_has_java_outer_classname() { | 6556 inline void FileOptions::clear_has_java_outer_classname() { |
| 5823 _has_bits_[0] &= ~0x00000002u; | 6557 _has_bits_[0] &= ~0x00000002u; |
| 5824 } | 6558 } |
| 5825 inline void FileOptions::clear_java_outer_classname() { | 6559 inline void FileOptions::clear_java_outer_classname() { |
| 5826 java_outer_classname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEm
ptyStringAlreadyInited()); | 6560 java_outer_classname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEm
ptyStringAlreadyInited()); |
| 5827 clear_has_java_outer_classname(); | 6561 clear_has_java_outer_classname(); |
| 5828 } | 6562 } |
| 5829 inline const ::std::string& FileOptions::java_outer_classname() const { | 6563 inline const ::std::string& FileOptions::java_outer_classname() const { |
| 5830 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_c
lassname) | 6564 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_c
lassname) |
| 5831 return java_outer_classname_.GetNoArena(&::google::protobuf::internal::GetEmpt
yStringAlreadyInited()); | 6565 return java_outer_classname_.GetNoArena(); |
| 5832 } | 6566 } |
| 5833 inline void FileOptions::set_java_outer_classname(const ::std::string& value) { | 6567 inline void FileOptions::set_java_outer_classname(const ::std::string& value) { |
| 5834 set_has_java_outer_classname(); | 6568 set_has_java_outer_classname(); |
| 5835 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), value); | 6569 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), value); |
| 5836 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_c
lassname) | 6570 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_c
lassname) |
| 5837 } | 6571 } |
| 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 |
| 5838 inline void FileOptions::set_java_outer_classname(const char* value) { | 6580 inline void FileOptions::set_java_outer_classname(const char* value) { |
| 5839 set_has_java_outer_classname(); | 6581 set_has_java_outer_classname(); |
| 5840 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), ::std::string(value)); | 6582 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), ::std::string(value)); |
| 5841 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_ou
ter_classname) | 6583 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_ou
ter_classname) |
| 5842 } | 6584 } |
| 5843 inline void FileOptions::set_java_outer_classname(const char* value, size_t size
) { | 6585 inline void FileOptions::set_java_outer_classname(const char* value, size_t size
) { |
| 5844 set_has_java_outer_classname(); | 6586 set_has_java_outer_classname(); |
| 5845 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), | 6587 java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), |
| 5846 ::std::string(reinterpret_cast<const char*>(value), size)); | 6588 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5847 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java
_outer_classname) | 6589 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java
_outer_classname) |
| (...skipping 13 matching lines...) Expand all Loading... |
| 5861 set_has_java_outer_classname(); | 6603 set_has_java_outer_classname(); |
| 5862 } else { | 6604 } else { |
| 5863 clear_has_java_outer_classname(); | 6605 clear_has_java_outer_classname(); |
| 5864 } | 6606 } |
| 5865 java_outer_classname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEm
ptyStringAlreadyInited(), java_outer_classname); | 6607 java_outer_classname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEm
ptyStringAlreadyInited(), java_outer_classname); |
| 5866 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ja
va_outer_classname) | 6608 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ja
va_outer_classname) |
| 5867 } | 6609 } |
| 5868 | 6610 |
| 5869 // optional bool java_multiple_files = 10 [default = false]; | 6611 // optional bool java_multiple_files = 10 [default = false]; |
| 5870 inline bool FileOptions::has_java_multiple_files() const { | 6612 inline bool FileOptions::has_java_multiple_files() const { |
| 5871 return (_has_bits_[0] & 0x00000004u) != 0; | 6613 return (_has_bits_[0] & 0x00000040u) != 0; |
| 5872 } | 6614 } |
| 5873 inline void FileOptions::set_has_java_multiple_files() { | 6615 inline void FileOptions::set_has_java_multiple_files() { |
| 5874 _has_bits_[0] |= 0x00000004u; | 6616 _has_bits_[0] |= 0x00000040u; |
| 5875 } | 6617 } |
| 5876 inline void FileOptions::clear_has_java_multiple_files() { | 6618 inline void FileOptions::clear_has_java_multiple_files() { |
| 5877 _has_bits_[0] &= ~0x00000004u; | 6619 _has_bits_[0] &= ~0x00000040u; |
| 5878 } | 6620 } |
| 5879 inline void FileOptions::clear_java_multiple_files() { | 6621 inline void FileOptions::clear_java_multiple_files() { |
| 5880 java_multiple_files_ = false; | 6622 java_multiple_files_ = false; |
| 5881 clear_has_java_multiple_files(); | 6623 clear_has_java_multiple_files(); |
| 5882 } | 6624 } |
| 5883 inline bool FileOptions::java_multiple_files() const { | 6625 inline bool FileOptions::java_multiple_files() const { |
| 5884 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multipl
e_files) | 6626 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multipl
e_files) |
| 5885 return java_multiple_files_; | 6627 return java_multiple_files_; |
| 5886 } | 6628 } |
| 5887 inline void FileOptions::set_java_multiple_files(bool value) { | 6629 inline void FileOptions::set_java_multiple_files(bool value) { |
| 5888 set_has_java_multiple_files(); | 6630 set_has_java_multiple_files(); |
| 5889 java_multiple_files_ = value; | 6631 java_multiple_files_ = value; |
| 5890 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multipl
e_files) | 6632 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multipl
e_files) |
| 5891 } | 6633 } |
| 5892 | 6634 |
| 5893 // optional bool java_generate_equals_and_hash = 20 [default = false]; | 6635 // optional bool java_generate_equals_and_hash = 20 [deprecated = true]; |
| 5894 inline bool FileOptions::has_java_generate_equals_and_hash() const { | 6636 inline bool FileOptions::has_java_generate_equals_and_hash() const { |
| 5895 return (_has_bits_[0] & 0x00000008u) != 0; | 6637 return (_has_bits_[0] & 0x00000080u) != 0; |
| 5896 } | 6638 } |
| 5897 inline void FileOptions::set_has_java_generate_equals_and_hash() { | 6639 inline void FileOptions::set_has_java_generate_equals_and_hash() { |
| 5898 _has_bits_[0] |= 0x00000008u; | 6640 _has_bits_[0] |= 0x00000080u; |
| 5899 } | 6641 } |
| 5900 inline void FileOptions::clear_has_java_generate_equals_and_hash() { | 6642 inline void FileOptions::clear_has_java_generate_equals_and_hash() { |
| 5901 _has_bits_[0] &= ~0x00000008u; | 6643 _has_bits_[0] &= ~0x00000080u; |
| 5902 } | 6644 } |
| 5903 inline void FileOptions::clear_java_generate_equals_and_hash() { | 6645 inline void FileOptions::clear_java_generate_equals_and_hash() { |
| 5904 java_generate_equals_and_hash_ = false; | 6646 java_generate_equals_and_hash_ = false; |
| 5905 clear_has_java_generate_equals_and_hash(); | 6647 clear_has_java_generate_equals_and_hash(); |
| 5906 } | 6648 } |
| 5907 inline bool FileOptions::java_generate_equals_and_hash() const { | 6649 inline bool FileOptions::java_generate_equals_and_hash() const { |
| 5908 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generat
e_equals_and_hash) | 6650 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generat
e_equals_and_hash) |
| 5909 return java_generate_equals_and_hash_; | 6651 return java_generate_equals_and_hash_; |
| 5910 } | 6652 } |
| 5911 inline void FileOptions::set_java_generate_equals_and_hash(bool value) { | 6653 inline void FileOptions::set_java_generate_equals_and_hash(bool value) { |
| 5912 set_has_java_generate_equals_and_hash(); | 6654 set_has_java_generate_equals_and_hash(); |
| 5913 java_generate_equals_and_hash_ = value; | 6655 java_generate_equals_and_hash_ = value; |
| 5914 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generat
e_equals_and_hash) | 6656 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generat
e_equals_and_hash) |
| 5915 } | 6657 } |
| 5916 | 6658 |
| 5917 // optional bool java_string_check_utf8 = 27 [default = false]; | 6659 // optional bool java_string_check_utf8 = 27 [default = false]; |
| 5918 inline bool FileOptions::has_java_string_check_utf8() const { | 6660 inline bool FileOptions::has_java_string_check_utf8() const { |
| 5919 return (_has_bits_[0] & 0x00000010u) != 0; | 6661 return (_has_bits_[0] & 0x00000100u) != 0; |
| 5920 } | 6662 } |
| 5921 inline void FileOptions::set_has_java_string_check_utf8() { | 6663 inline void FileOptions::set_has_java_string_check_utf8() { |
| 5922 _has_bits_[0] |= 0x00000010u; | 6664 _has_bits_[0] |= 0x00000100u; |
| 5923 } | 6665 } |
| 5924 inline void FileOptions::clear_has_java_string_check_utf8() { | 6666 inline void FileOptions::clear_has_java_string_check_utf8() { |
| 5925 _has_bits_[0] &= ~0x00000010u; | 6667 _has_bits_[0] &= ~0x00000100u; |
| 5926 } | 6668 } |
| 5927 inline void FileOptions::clear_java_string_check_utf8() { | 6669 inline void FileOptions::clear_java_string_check_utf8() { |
| 5928 java_string_check_utf8_ = false; | 6670 java_string_check_utf8_ = false; |
| 5929 clear_has_java_string_check_utf8(); | 6671 clear_has_java_string_check_utf8(); |
| 5930 } | 6672 } |
| 5931 inline bool FileOptions::java_string_check_utf8() const { | 6673 inline bool FileOptions::java_string_check_utf8() const { |
| 5932 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_
check_utf8) | 6674 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_
check_utf8) |
| 5933 return java_string_check_utf8_; | 6675 return java_string_check_utf8_; |
| 5934 } | 6676 } |
| 5935 inline void FileOptions::set_java_string_check_utf8(bool value) { | 6677 inline void FileOptions::set_java_string_check_utf8(bool value) { |
| 5936 set_has_java_string_check_utf8(); | 6678 set_has_java_string_check_utf8(); |
| 5937 java_string_check_utf8_ = value; | 6679 java_string_check_utf8_ = value; |
| 5938 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_
check_utf8) | 6680 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_
check_utf8) |
| 5939 } | 6681 } |
| 5940 | 6682 |
| 5941 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default
= SPEED]; | 6683 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default
= SPEED]; |
| 5942 inline bool FileOptions::has_optimize_for() const { | 6684 inline bool FileOptions::has_optimize_for() const { |
| 5943 return (_has_bits_[0] & 0x00000020u) != 0; | 6685 return (_has_bits_[0] & 0x00004000u) != 0; |
| 5944 } | 6686 } |
| 5945 inline void FileOptions::set_has_optimize_for() { | 6687 inline void FileOptions::set_has_optimize_for() { |
| 5946 _has_bits_[0] |= 0x00000020u; | 6688 _has_bits_[0] |= 0x00004000u; |
| 5947 } | 6689 } |
| 5948 inline void FileOptions::clear_has_optimize_for() { | 6690 inline void FileOptions::clear_has_optimize_for() { |
| 5949 _has_bits_[0] &= ~0x00000020u; | 6691 _has_bits_[0] &= ~0x00004000u; |
| 5950 } | 6692 } |
| 5951 inline void FileOptions::clear_optimize_for() { | 6693 inline void FileOptions::clear_optimize_for() { |
| 5952 optimize_for_ = 1; | 6694 optimize_for_ = 1; |
| 5953 clear_has_optimize_for(); | 6695 clear_has_optimize_for(); |
| 5954 } | 6696 } |
| 5955 inline ::google::protobuf::FileOptions_OptimizeMode FileOptions::optimize_for()
const { | 6697 inline ::google::protobuf::FileOptions_OptimizeMode FileOptions::optimize_for()
const { |
| 5956 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for
) | 6698 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for
) |
| 5957 return static_cast< ::google::protobuf::FileOptions_OptimizeMode >(optimize_fo
r_); | 6699 return static_cast< ::google::protobuf::FileOptions_OptimizeMode >(optimize_fo
r_); |
| 5958 } | 6700 } |
| 5959 inline void FileOptions::set_optimize_for(::google::protobuf::FileOptions_Optimi
zeMode value) { | 6701 inline void FileOptions::set_optimize_for(::google::protobuf::FileOptions_Optimi
zeMode value) { |
| 5960 assert(::google::protobuf::FileOptions_OptimizeMode_IsValid(value)); | 6702 assert(::google::protobuf::FileOptions_OptimizeMode_IsValid(value)); |
| 5961 set_has_optimize_for(); | 6703 set_has_optimize_for(); |
| 5962 optimize_for_ = value; | 6704 optimize_for_ = value; |
| 5963 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for
) | 6705 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for
) |
| 5964 } | 6706 } |
| 5965 | 6707 |
| 5966 // optional string go_package = 11; | 6708 // optional string go_package = 11; |
| 5967 inline bool FileOptions::has_go_package() const { | 6709 inline bool FileOptions::has_go_package() const { |
| 5968 return (_has_bits_[0] & 0x00000040u) != 0; | 6710 return (_has_bits_[0] & 0x00000004u) != 0; |
| 5969 } | 6711 } |
| 5970 inline void FileOptions::set_has_go_package() { | 6712 inline void FileOptions::set_has_go_package() { |
| 5971 _has_bits_[0] |= 0x00000040u; | 6713 _has_bits_[0] |= 0x00000004u; |
| 5972 } | 6714 } |
| 5973 inline void FileOptions::clear_has_go_package() { | 6715 inline void FileOptions::clear_has_go_package() { |
| 5974 _has_bits_[0] &= ~0x00000040u; | 6716 _has_bits_[0] &= ~0x00000004u; |
| 5975 } | 6717 } |
| 5976 inline void FileOptions::clear_go_package() { | 6718 inline void FileOptions::clear_go_package() { |
| 5977 go_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); | 6719 go_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); |
| 5978 clear_has_go_package(); | 6720 clear_has_go_package(); |
| 5979 } | 6721 } |
| 5980 inline const ::std::string& FileOptions::go_package() const { | 6722 inline const ::std::string& FileOptions::go_package() const { |
| 5981 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package) | 6723 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package) |
| 5982 return go_package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited()); | 6724 return go_package_.GetNoArena(); |
| 5983 } | 6725 } |
| 5984 inline void FileOptions::set_go_package(const ::std::string& value) { | 6726 inline void FileOptions::set_go_package(const ::std::string& value) { |
| 5985 set_has_go_package(); | 6727 set_has_go_package(); |
| 5986 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), value); | 6728 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), value); |
| 5987 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package) | 6729 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package) |
| 5988 } | 6730 } |
| 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 |
| 5989 inline void FileOptions::set_go_package(const char* value) { | 6739 inline void FileOptions::set_go_package(const char* value) { |
| 5990 set_has_go_package(); | 6740 set_has_go_package(); |
| 5991 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), ::std::string(value)); | 6741 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), ::std::string(value)); |
| 5992 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.go_pack
age) | 6742 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.go_pack
age) |
| 5993 } | 6743 } |
| 5994 inline void FileOptions::set_go_package(const char* value, size_t size) { | 6744 inline void FileOptions::set_go_package(const char* value, size_t size) { |
| 5995 set_has_go_package(); | 6745 set_has_go_package(); |
| 5996 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), | 6746 go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIni
ted(), |
| 5997 ::std::string(reinterpret_cast<const char*>(value), size)); | 6747 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 5998 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.go_p
ackage) | 6748 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.go_p
ackage) |
| (...skipping 13 matching lines...) Expand all Loading... |
| 6012 set_has_go_package(); | 6762 set_has_go_package(); |
| 6013 } else { | 6763 } else { |
| 6014 clear_has_go_package(); | 6764 clear_has_go_package(); |
| 6015 } | 6765 } |
| 6016 go_package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited(), go_package); | 6766 go_package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited(), go_package); |
| 6017 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go
_package) | 6767 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go
_package) |
| 6018 } | 6768 } |
| 6019 | 6769 |
| 6020 // optional bool cc_generic_services = 16 [default = false]; | 6770 // optional bool cc_generic_services = 16 [default = false]; |
| 6021 inline bool FileOptions::has_cc_generic_services() const { | 6771 inline bool FileOptions::has_cc_generic_services() const { |
| 6022 return (_has_bits_[0] & 0x00000080u) != 0; | 6772 return (_has_bits_[0] & 0x00000200u) != 0; |
| 6023 } | 6773 } |
| 6024 inline void FileOptions::set_has_cc_generic_services() { | 6774 inline void FileOptions::set_has_cc_generic_services() { |
| 6025 _has_bits_[0] |= 0x00000080u; | 6775 _has_bits_[0] |= 0x00000200u; |
| 6026 } | 6776 } |
| 6027 inline void FileOptions::clear_has_cc_generic_services() { | 6777 inline void FileOptions::clear_has_cc_generic_services() { |
| 6028 _has_bits_[0] &= ~0x00000080u; | 6778 _has_bits_[0] &= ~0x00000200u; |
| 6029 } | 6779 } |
| 6030 inline void FileOptions::clear_cc_generic_services() { | 6780 inline void FileOptions::clear_cc_generic_services() { |
| 6031 cc_generic_services_ = false; | 6781 cc_generic_services_ = false; |
| 6032 clear_has_cc_generic_services(); | 6782 clear_has_cc_generic_services(); |
| 6033 } | 6783 } |
| 6034 inline bool FileOptions::cc_generic_services() const { | 6784 inline bool FileOptions::cc_generic_services() const { |
| 6035 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_s
ervices) | 6785 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_s
ervices) |
| 6036 return cc_generic_services_; | 6786 return cc_generic_services_; |
| 6037 } | 6787 } |
| 6038 inline void FileOptions::set_cc_generic_services(bool value) { | 6788 inline void FileOptions::set_cc_generic_services(bool value) { |
| 6039 set_has_cc_generic_services(); | 6789 set_has_cc_generic_services(); |
| 6040 cc_generic_services_ = value; | 6790 cc_generic_services_ = value; |
| 6041 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_s
ervices) | 6791 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_s
ervices) |
| 6042 } | 6792 } |
| 6043 | 6793 |
| 6044 // optional bool java_generic_services = 17 [default = false]; | 6794 // optional bool java_generic_services = 17 [default = false]; |
| 6045 inline bool FileOptions::has_java_generic_services() const { | 6795 inline bool FileOptions::has_java_generic_services() const { |
| 6046 return (_has_bits_[0] & 0x00000100u) != 0; | 6796 return (_has_bits_[0] & 0x00000400u) != 0; |
| 6047 } | 6797 } |
| 6048 inline void FileOptions::set_has_java_generic_services() { | 6798 inline void FileOptions::set_has_java_generic_services() { |
| 6049 _has_bits_[0] |= 0x00000100u; | 6799 _has_bits_[0] |= 0x00000400u; |
| 6050 } | 6800 } |
| 6051 inline void FileOptions::clear_has_java_generic_services() { | 6801 inline void FileOptions::clear_has_java_generic_services() { |
| 6052 _has_bits_[0] &= ~0x00000100u; | 6802 _has_bits_[0] &= ~0x00000400u; |
| 6053 } | 6803 } |
| 6054 inline void FileOptions::clear_java_generic_services() { | 6804 inline void FileOptions::clear_java_generic_services() { |
| 6055 java_generic_services_ = false; | 6805 java_generic_services_ = false; |
| 6056 clear_has_java_generic_services(); | 6806 clear_has_java_generic_services(); |
| 6057 } | 6807 } |
| 6058 inline bool FileOptions::java_generic_services() const { | 6808 inline bool FileOptions::java_generic_services() const { |
| 6059 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic
_services) | 6809 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic
_services) |
| 6060 return java_generic_services_; | 6810 return java_generic_services_; |
| 6061 } | 6811 } |
| 6062 inline void FileOptions::set_java_generic_services(bool value) { | 6812 inline void FileOptions::set_java_generic_services(bool value) { |
| 6063 set_has_java_generic_services(); | 6813 set_has_java_generic_services(); |
| 6064 java_generic_services_ = value; | 6814 java_generic_services_ = value; |
| 6065 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic
_services) | 6815 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic
_services) |
| 6066 } | 6816 } |
| 6067 | 6817 |
| 6068 // optional bool py_generic_services = 18 [default = false]; | 6818 // optional bool py_generic_services = 18 [default = false]; |
| 6069 inline bool FileOptions::has_py_generic_services() const { | 6819 inline bool FileOptions::has_py_generic_services() const { |
| 6070 return (_has_bits_[0] & 0x00000200u) != 0; | 6820 return (_has_bits_[0] & 0x00000800u) != 0; |
| 6071 } | 6821 } |
| 6072 inline void FileOptions::set_has_py_generic_services() { | 6822 inline void FileOptions::set_has_py_generic_services() { |
| 6073 _has_bits_[0] |= 0x00000200u; | 6823 _has_bits_[0] |= 0x00000800u; |
| 6074 } | 6824 } |
| 6075 inline void FileOptions::clear_has_py_generic_services() { | 6825 inline void FileOptions::clear_has_py_generic_services() { |
| 6076 _has_bits_[0] &= ~0x00000200u; | 6826 _has_bits_[0] &= ~0x00000800u; |
| 6077 } | 6827 } |
| 6078 inline void FileOptions::clear_py_generic_services() { | 6828 inline void FileOptions::clear_py_generic_services() { |
| 6079 py_generic_services_ = false; | 6829 py_generic_services_ = false; |
| 6080 clear_has_py_generic_services(); | 6830 clear_has_py_generic_services(); |
| 6081 } | 6831 } |
| 6082 inline bool FileOptions::py_generic_services() const { | 6832 inline bool FileOptions::py_generic_services() const { |
| 6083 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_s
ervices) | 6833 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_s
ervices) |
| 6084 return py_generic_services_; | 6834 return py_generic_services_; |
| 6085 } | 6835 } |
| 6086 inline void FileOptions::set_py_generic_services(bool value) { | 6836 inline void FileOptions::set_py_generic_services(bool value) { |
| 6087 set_has_py_generic_services(); | 6837 set_has_py_generic_services(); |
| 6088 py_generic_services_ = value; | 6838 py_generic_services_ = value; |
| 6089 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_s
ervices) | 6839 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_s
ervices) |
| 6090 } | 6840 } |
| 6091 | 6841 |
| 6092 // optional bool deprecated = 23 [default = false]; | 6842 // optional bool deprecated = 23 [default = false]; |
| 6093 inline bool FileOptions::has_deprecated() const { | 6843 inline bool FileOptions::has_deprecated() const { |
| 6094 return (_has_bits_[0] & 0x00000400u) != 0; | 6844 return (_has_bits_[0] & 0x00001000u) != 0; |
| 6095 } | 6845 } |
| 6096 inline void FileOptions::set_has_deprecated() { | 6846 inline void FileOptions::set_has_deprecated() { |
| 6097 _has_bits_[0] |= 0x00000400u; | 6847 _has_bits_[0] |= 0x00001000u; |
| 6098 } | 6848 } |
| 6099 inline void FileOptions::clear_has_deprecated() { | 6849 inline void FileOptions::clear_has_deprecated() { |
| 6100 _has_bits_[0] &= ~0x00000400u; | 6850 _has_bits_[0] &= ~0x00001000u; |
| 6101 } | 6851 } |
| 6102 inline void FileOptions::clear_deprecated() { | 6852 inline void FileOptions::clear_deprecated() { |
| 6103 deprecated_ = false; | 6853 deprecated_ = false; |
| 6104 clear_has_deprecated(); | 6854 clear_has_deprecated(); |
| 6105 } | 6855 } |
| 6106 inline bool FileOptions::deprecated() const { | 6856 inline bool FileOptions::deprecated() const { |
| 6107 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated) | 6857 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated) |
| 6108 return deprecated_; | 6858 return deprecated_; |
| 6109 } | 6859 } |
| 6110 inline void FileOptions::set_deprecated(bool value) { | 6860 inline void FileOptions::set_deprecated(bool value) { |
| 6111 set_has_deprecated(); | 6861 set_has_deprecated(); |
| 6112 deprecated_ = value; | 6862 deprecated_ = value; |
| 6113 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated) | 6863 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated) |
| 6114 } | 6864 } |
| 6115 | 6865 |
| 6116 // optional bool cc_enable_arenas = 31 [default = false]; | 6866 // optional bool cc_enable_arenas = 31 [default = false]; |
| 6117 inline bool FileOptions::has_cc_enable_arenas() const { | 6867 inline bool FileOptions::has_cc_enable_arenas() const { |
| 6118 return (_has_bits_[0] & 0x00000800u) != 0; | 6868 return (_has_bits_[0] & 0x00002000u) != 0; |
| 6119 } | 6869 } |
| 6120 inline void FileOptions::set_has_cc_enable_arenas() { | 6870 inline void FileOptions::set_has_cc_enable_arenas() { |
| 6121 _has_bits_[0] |= 0x00000800u; | 6871 _has_bits_[0] |= 0x00002000u; |
| 6122 } | 6872 } |
| 6123 inline void FileOptions::clear_has_cc_enable_arenas() { | 6873 inline void FileOptions::clear_has_cc_enable_arenas() { |
| 6124 _has_bits_[0] &= ~0x00000800u; | 6874 _has_bits_[0] &= ~0x00002000u; |
| 6125 } | 6875 } |
| 6126 inline void FileOptions::clear_cc_enable_arenas() { | 6876 inline void FileOptions::clear_cc_enable_arenas() { |
| 6127 cc_enable_arenas_ = false; | 6877 cc_enable_arenas_ = false; |
| 6128 clear_has_cc_enable_arenas(); | 6878 clear_has_cc_enable_arenas(); |
| 6129 } | 6879 } |
| 6130 inline bool FileOptions::cc_enable_arenas() const { | 6880 inline bool FileOptions::cc_enable_arenas() const { |
| 6131 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_ar
enas) | 6881 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_ar
enas) |
| 6132 return cc_enable_arenas_; | 6882 return cc_enable_arenas_; |
| 6133 } | 6883 } |
| 6134 inline void FileOptions::set_cc_enable_arenas(bool value) { | 6884 inline void FileOptions::set_cc_enable_arenas(bool value) { |
| 6135 set_has_cc_enable_arenas(); | 6885 set_has_cc_enable_arenas(); |
| 6136 cc_enable_arenas_ = value; | 6886 cc_enable_arenas_ = value; |
| 6137 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_ar
enas) | 6887 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_ar
enas) |
| 6138 } | 6888 } |
| 6139 | 6889 |
| 6140 // optional string objc_class_prefix = 36; | 6890 // optional string objc_class_prefix = 36; |
| 6141 inline bool FileOptions::has_objc_class_prefix() const { | 6891 inline bool FileOptions::has_objc_class_prefix() const { |
| 6142 return (_has_bits_[0] & 0x00001000u) != 0; | 6892 return (_has_bits_[0] & 0x00000008u) != 0; |
| 6143 } | 6893 } |
| 6144 inline void FileOptions::set_has_objc_class_prefix() { | 6894 inline void FileOptions::set_has_objc_class_prefix() { |
| 6145 _has_bits_[0] |= 0x00001000u; | 6895 _has_bits_[0] |= 0x00000008u; |
| 6146 } | 6896 } |
| 6147 inline void FileOptions::clear_has_objc_class_prefix() { | 6897 inline void FileOptions::clear_has_objc_class_prefix() { |
| 6148 _has_bits_[0] &= ~0x00001000u; | 6898 _has_bits_[0] &= ~0x00000008u; |
| 6149 } | 6899 } |
| 6150 inline void FileOptions::clear_objc_class_prefix() { | 6900 inline void FileOptions::clear_objc_class_prefix() { |
| 6151 objc_class_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty
StringAlreadyInited()); | 6901 objc_class_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty
StringAlreadyInited()); |
| 6152 clear_has_objc_class_prefix(); | 6902 clear_has_objc_class_prefix(); |
| 6153 } | 6903 } |
| 6154 inline const ::std::string& FileOptions::objc_class_prefix() const { | 6904 inline const ::std::string& FileOptions::objc_class_prefix() const { |
| 6155 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_p
refix) | 6905 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_p
refix) |
| 6156 return objc_class_prefix_.GetNoArena(&::google::protobuf::internal::GetEmptySt
ringAlreadyInited()); | 6906 return objc_class_prefix_.GetNoArena(); |
| 6157 } | 6907 } |
| 6158 inline void FileOptions::set_objc_class_prefix(const ::std::string& value) { | 6908 inline void FileOptions::set_objc_class_prefix(const ::std::string& value) { |
| 6159 set_has_objc_class_prefix(); | 6909 set_has_objc_class_prefix(); |
| 6160 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), value); | 6910 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), value); |
| 6161 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_p
refix) | 6911 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_p
refix) |
| 6162 } | 6912 } |
| 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 |
| 6163 inline void FileOptions::set_objc_class_prefix(const char* value) { | 6921 inline void FileOptions::set_objc_class_prefix(const char* value) { |
| 6164 set_has_objc_class_prefix(); | 6922 set_has_objc_class_prefix(); |
| 6165 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), ::std::string(value)); | 6923 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), ::std::string(value)); |
| 6166 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.objc_cl
ass_prefix) | 6924 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.objc_cl
ass_prefix) |
| 6167 } | 6925 } |
| 6168 inline void FileOptions::set_objc_class_prefix(const char* value, size_t size) { | 6926 inline void FileOptions::set_objc_class_prefix(const char* value, size_t size) { |
| 6169 set_has_objc_class_prefix(); | 6927 set_has_objc_class_prefix(); |
| 6170 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), | 6928 objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), |
| 6171 ::std::string(reinterpret_cast<const char*>(value), size)); | 6929 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 6172 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.objc
_class_prefix) | 6930 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.objc
_class_prefix) |
| (...skipping 13 matching lines...) Expand all Loading... |
| 6186 set_has_objc_class_prefix(); | 6944 set_has_objc_class_prefix(); |
| 6187 } else { | 6945 } else { |
| 6188 clear_has_objc_class_prefix(); | 6946 clear_has_objc_class_prefix(); |
| 6189 } | 6947 } |
| 6190 objc_class_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmpty
StringAlreadyInited(), objc_class_prefix); | 6948 objc_class_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmpty
StringAlreadyInited(), objc_class_prefix); |
| 6191 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ob
jc_class_prefix) | 6949 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ob
jc_class_prefix) |
| 6192 } | 6950 } |
| 6193 | 6951 |
| 6194 // optional string csharp_namespace = 37; | 6952 // optional string csharp_namespace = 37; |
| 6195 inline bool FileOptions::has_csharp_namespace() const { | 6953 inline bool FileOptions::has_csharp_namespace() const { |
| 6196 return (_has_bits_[0] & 0x00002000u) != 0; | 6954 return (_has_bits_[0] & 0x00000010u) != 0; |
| 6197 } | 6955 } |
| 6198 inline void FileOptions::set_has_csharp_namespace() { | 6956 inline void FileOptions::set_has_csharp_namespace() { |
| 6199 _has_bits_[0] |= 0x00002000u; | 6957 _has_bits_[0] |= 0x00000010u; |
| 6200 } | 6958 } |
| 6201 inline void FileOptions::clear_has_csharp_namespace() { | 6959 inline void FileOptions::clear_has_csharp_namespace() { |
| 6202 _has_bits_[0] &= ~0x00002000u; | 6960 _has_bits_[0] &= ~0x00000010u; |
| 6203 } | 6961 } |
| 6204 inline void FileOptions::clear_csharp_namespace() { | 6962 inline void FileOptions::clear_csharp_namespace() { |
| 6205 csharp_namespace_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited()); | 6963 csharp_namespace_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited()); |
| 6206 clear_has_csharp_namespace(); | 6964 clear_has_csharp_namespace(); |
| 6207 } | 6965 } |
| 6208 inline const ::std::string& FileOptions::csharp_namespace() const { | 6966 inline const ::std::string& FileOptions::csharp_namespace() const { |
| 6209 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_names
pace) | 6967 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_names
pace) |
| 6210 return csharp_namespace_.GetNoArena(&::google::protobuf::internal::GetEmptyStr
ingAlreadyInited()); | 6968 return csharp_namespace_.GetNoArena(); |
| 6211 } | 6969 } |
| 6212 inline void FileOptions::set_csharp_namespace(const ::std::string& value) { | 6970 inline void FileOptions::set_csharp_namespace(const ::std::string& value) { |
| 6213 set_has_csharp_namespace(); | 6971 set_has_csharp_namespace(); |
| 6214 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), value); | 6972 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), value); |
| 6215 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_names
pace) | 6973 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_names
pace) |
| 6216 } | 6974 } |
| 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 |
| 6217 inline void FileOptions::set_csharp_namespace(const char* value) { | 6983 inline void FileOptions::set_csharp_namespace(const char* value) { |
| 6218 set_has_csharp_namespace(); | 6984 set_has_csharp_namespace(); |
| 6219 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), ::std::string(value)); | 6985 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), ::std::string(value)); |
| 6220 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.csharp_
namespace) | 6986 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.csharp_
namespace) |
| 6221 } | 6987 } |
| 6222 inline void FileOptions::set_csharp_namespace(const char* value, size_t size) { | 6988 inline void FileOptions::set_csharp_namespace(const char* value, size_t size) { |
| 6223 set_has_csharp_namespace(); | 6989 set_has_csharp_namespace(); |
| 6224 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), | 6990 csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), |
| 6225 ::std::string(reinterpret_cast<const char*>(value), size)); | 6991 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 6226 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.csha
rp_namespace) | 6992 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.csha
rp_namespace) |
| (...skipping 11 matching lines...) Expand all Loading... |
| 6238 inline void FileOptions::set_allocated_csharp_namespace(::std::string* csharp_na
mespace) { | 7004 inline void FileOptions::set_allocated_csharp_namespace(::std::string* csharp_na
mespace) { |
| 6239 if (csharp_namespace != NULL) { | 7005 if (csharp_namespace != NULL) { |
| 6240 set_has_csharp_namespace(); | 7006 set_has_csharp_namespace(); |
| 6241 } else { | 7007 } else { |
| 6242 clear_has_csharp_namespace(); | 7008 clear_has_csharp_namespace(); |
| 6243 } | 7009 } |
| 6244 csharp_namespace_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited(), csharp_namespace); | 7010 csharp_namespace_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited(), csharp_namespace); |
| 6245 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.cs
harp_namespace) | 7011 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.cs
harp_namespace) |
| 6246 } | 7012 } |
| 6247 | 7013 |
| 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 |
| 6248 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 7076 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 6249 inline int FileOptions::uninterpreted_option_size() const { | 7077 inline int FileOptions::uninterpreted_option_size() const { |
| 6250 return uninterpreted_option_.size(); | 7078 return uninterpreted_option_.size(); |
| 6251 } | 7079 } |
| 6252 inline void FileOptions::clear_uninterpreted_option() { | 7080 inline void FileOptions::clear_uninterpreted_option() { |
| 6253 uninterpreted_option_.Clear(); | 7081 uninterpreted_option_.Clear(); |
| 6254 } | 7082 } |
| 6255 inline const ::google::protobuf::UninterpretedOption& FileOptions::uninterpreted
_option(int index) const { | 7083 inline const ::google::protobuf::UninterpretedOption& FileOptions::uninterpreted
_option(int index) const { |
| 6256 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterprete
d_option) | 7084 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterprete
d_option) |
| 6257 return uninterpreted_option_.Get(index); | 7085 return uninterpreted_option_.Get(index); |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6429 } | 7257 } |
| 6430 inline void FieldOptions::set_ctype(::google::protobuf::FieldOptions_CType value
) { | 7258 inline void FieldOptions::set_ctype(::google::protobuf::FieldOptions_CType value
) { |
| 6431 assert(::google::protobuf::FieldOptions_CType_IsValid(value)); | 7259 assert(::google::protobuf::FieldOptions_CType_IsValid(value)); |
| 6432 set_has_ctype(); | 7260 set_has_ctype(); |
| 6433 ctype_ = value; | 7261 ctype_ = value; |
| 6434 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype) | 7262 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype) |
| 6435 } | 7263 } |
| 6436 | 7264 |
| 6437 // optional bool packed = 2; | 7265 // optional bool packed = 2; |
| 6438 inline bool FieldOptions::has_packed() const { | 7266 inline bool FieldOptions::has_packed() const { |
| 6439 return (_has_bits_[0] & 0x00000002u) != 0; | 7267 return (_has_bits_[0] & 0x00000004u) != 0; |
| 6440 } | 7268 } |
| 6441 inline void FieldOptions::set_has_packed() { | 7269 inline void FieldOptions::set_has_packed() { |
| 6442 _has_bits_[0] |= 0x00000002u; | 7270 _has_bits_[0] |= 0x00000004u; |
| 6443 } | 7271 } |
| 6444 inline void FieldOptions::clear_has_packed() { | 7272 inline void FieldOptions::clear_has_packed() { |
| 6445 _has_bits_[0] &= ~0x00000002u; | 7273 _has_bits_[0] &= ~0x00000004u; |
| 6446 } | 7274 } |
| 6447 inline void FieldOptions::clear_packed() { | 7275 inline void FieldOptions::clear_packed() { |
| 6448 packed_ = false; | 7276 packed_ = false; |
| 6449 clear_has_packed(); | 7277 clear_has_packed(); |
| 6450 } | 7278 } |
| 6451 inline bool FieldOptions::packed() const { | 7279 inline bool FieldOptions::packed() const { |
| 6452 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed) | 7280 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed) |
| 6453 return packed_; | 7281 return packed_; |
| 6454 } | 7282 } |
| 6455 inline void FieldOptions::set_packed(bool value) { | 7283 inline void FieldOptions::set_packed(bool value) { |
| 6456 set_has_packed(); | 7284 set_has_packed(); |
| 6457 packed_ = value; | 7285 packed_ = value; |
| 6458 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed) | 7286 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed) |
| 6459 } | 7287 } |
| 6460 | 7288 |
| 6461 // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL
]; | 7289 // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL
]; |
| 6462 inline bool FieldOptions::has_jstype() const { | 7290 inline bool FieldOptions::has_jstype() const { |
| 6463 return (_has_bits_[0] & 0x00000004u) != 0; | 7291 return (_has_bits_[0] & 0x00000002u) != 0; |
| 6464 } | 7292 } |
| 6465 inline void FieldOptions::set_has_jstype() { | 7293 inline void FieldOptions::set_has_jstype() { |
| 6466 _has_bits_[0] |= 0x00000004u; | 7294 _has_bits_[0] |= 0x00000002u; |
| 6467 } | 7295 } |
| 6468 inline void FieldOptions::clear_has_jstype() { | 7296 inline void FieldOptions::clear_has_jstype() { |
| 6469 _has_bits_[0] &= ~0x00000004u; | 7297 _has_bits_[0] &= ~0x00000002u; |
| 6470 } | 7298 } |
| 6471 inline void FieldOptions::clear_jstype() { | 7299 inline void FieldOptions::clear_jstype() { |
| 6472 jstype_ = 0; | 7300 jstype_ = 0; |
| 6473 clear_has_jstype(); | 7301 clear_has_jstype(); |
| 6474 } | 7302 } |
| 6475 inline ::google::protobuf::FieldOptions_JSType FieldOptions::jstype() const { | 7303 inline ::google::protobuf::FieldOptions_JSType FieldOptions::jstype() const { |
| 6476 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype) | 7304 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype) |
| 6477 return static_cast< ::google::protobuf::FieldOptions_JSType >(jstype_); | 7305 return static_cast< ::google::protobuf::FieldOptions_JSType >(jstype_); |
| 6478 } | 7306 } |
| 6479 inline void FieldOptions::set_jstype(::google::protobuf::FieldOptions_JSType val
ue) { | 7307 inline void FieldOptions::set_jstype(::google::protobuf::FieldOptions_JSType val
ue) { |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6580 return &uninterpreted_option_; | 7408 return &uninterpreted_option_; |
| 6581 } | 7409 } |
| 6582 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption >& | 7410 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption >& |
| 6583 FieldOptions::uninterpreted_option() const { | 7411 FieldOptions::uninterpreted_option() const { |
| 6584 // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpre
ted_option) | 7412 // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpre
ted_option) |
| 6585 return uninterpreted_option_; | 7413 return uninterpreted_option_; |
| 6586 } | 7414 } |
| 6587 | 7415 |
| 6588 // ------------------------------------------------------------------- | 7416 // ------------------------------------------------------------------- |
| 6589 | 7417 |
| 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 |
| 6590 // EnumOptions | 7452 // EnumOptions |
| 6591 | 7453 |
| 6592 // optional bool allow_alias = 2; | 7454 // optional bool allow_alias = 2; |
| 6593 inline bool EnumOptions::has_allow_alias() const { | 7455 inline bool EnumOptions::has_allow_alias() const { |
| 6594 return (_has_bits_[0] & 0x00000001u) != 0; | 7456 return (_has_bits_[0] & 0x00000001u) != 0; |
| 6595 } | 7457 } |
| 6596 inline void EnumOptions::set_has_allow_alias() { | 7458 inline void EnumOptions::set_has_allow_alias() { |
| 6597 _has_bits_[0] |= 0x00000001u; | 7459 _has_bits_[0] |= 0x00000001u; |
| 6598 } | 7460 } |
| 6599 inline void EnumOptions::clear_has_allow_alias() { | 7461 inline void EnumOptions::clear_has_allow_alias() { |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6804 inline bool MethodOptions::deprecated() const { | 7666 inline bool MethodOptions::deprecated() const { |
| 6805 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated
) | 7667 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated
) |
| 6806 return deprecated_; | 7668 return deprecated_; |
| 6807 } | 7669 } |
| 6808 inline void MethodOptions::set_deprecated(bool value) { | 7670 inline void MethodOptions::set_deprecated(bool value) { |
| 6809 set_has_deprecated(); | 7671 set_has_deprecated(); |
| 6810 deprecated_ = value; | 7672 deprecated_ = value; |
| 6811 // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated
) | 7673 // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated
) |
| 6812 } | 7674 } |
| 6813 | 7675 |
| 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 |
| 6814 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; | 7701 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 6815 inline int MethodOptions::uninterpreted_option_size() const { | 7702 inline int MethodOptions::uninterpreted_option_size() const { |
| 6816 return uninterpreted_option_.size(); | 7703 return uninterpreted_option_.size(); |
| 6817 } | 7704 } |
| 6818 inline void MethodOptions::clear_uninterpreted_option() { | 7705 inline void MethodOptions::clear_uninterpreted_option() { |
| 6819 uninterpreted_option_.Clear(); | 7706 uninterpreted_option_.Clear(); |
| 6820 } | 7707 } |
| 6821 inline const ::google::protobuf::UninterpretedOption& MethodOptions::uninterpret
ed_option(int index) const { | 7708 inline const ::google::protobuf::UninterpretedOption& MethodOptions::uninterpret
ed_option(int index) const { |
| 6822 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpre
ted_option) | 7709 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpre
ted_option) |
| 6823 return uninterpreted_option_.Get(index); | 7710 return uninterpreted_option_.Get(index); |
| (...skipping 30 matching lines...) Expand all Loading... |
| 6854 } | 7741 } |
| 6855 inline void UninterpretedOption_NamePart::clear_has_name_part() { | 7742 inline void UninterpretedOption_NamePart::clear_has_name_part() { |
| 6856 _has_bits_[0] &= ~0x00000001u; | 7743 _has_bits_[0] &= ~0x00000001u; |
| 6857 } | 7744 } |
| 6858 inline void UninterpretedOption_NamePart::clear_name_part() { | 7745 inline void UninterpretedOption_NamePart::clear_name_part() { |
| 6859 name_part_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); | 7746 name_part_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); |
| 6860 clear_has_name_part(); | 7747 clear_has_name_part(); |
| 6861 } | 7748 } |
| 6862 inline const ::std::string& UninterpretedOption_NamePart::name_part() const { | 7749 inline const ::std::string& UninterpretedOption_NamePart::name_part() const { |
| 6863 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.Name
Part.name_part) | 7750 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.Name
Part.name_part) |
| 6864 return name_part_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited()); | 7751 return name_part_.GetNoArena(); |
| 6865 } | 7752 } |
| 6866 inline void UninterpretedOption_NamePart::set_name_part(const ::std::string& val
ue) { | 7753 inline void UninterpretedOption_NamePart::set_name_part(const ::std::string& val
ue) { |
| 6867 set_has_name_part(); | 7754 set_has_name_part(); |
| 6868 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), value); | 7755 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), value); |
| 6869 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.Name
Part.name_part) | 7756 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.Name
Part.name_part) |
| 6870 } | 7757 } |
| 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 |
| 6871 inline void UninterpretedOption_NamePart::set_name_part(const char* value) { | 7766 inline void UninterpretedOption_NamePart::set_name_part(const char* value) { |
| 6872 set_has_name_part(); | 7767 set_has_name_part(); |
| 6873 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), ::std::string(value)); | 7768 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), ::std::string(value)); |
| 6874 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.NamePart.name_part) | 7769 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.NamePart.name_part) |
| 6875 } | 7770 } |
| 6876 inline void UninterpretedOption_NamePart::set_name_part(const char* value, size_
t size) { | 7771 inline void UninterpretedOption_NamePart::set_name_part(const char* value, size_
t size) { |
| 6877 set_has_name_part(); | 7772 set_has_name_part(); |
| 6878 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), | 7773 name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInit
ed(), |
| 6879 ::std::string(reinterpret_cast<const char*>(value), size)); | 7774 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 6880 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOpt
ion.NamePart.name_part) | 7775 // @@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... |
| 6952 return &name_; | 7847 return &name_; |
| 6953 } | 7848 } |
| 6954 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption_NamePart >& | 7849 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Uninterpr
etedOption_NamePart >& |
| 6955 UninterpretedOption::name() const { | 7850 UninterpretedOption::name() const { |
| 6956 // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.nam
e) | 7851 // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.nam
e) |
| 6957 return name_; | 7852 return name_; |
| 6958 } | 7853 } |
| 6959 | 7854 |
| 6960 // optional string identifier_value = 3; | 7855 // optional string identifier_value = 3; |
| 6961 inline bool UninterpretedOption::has_identifier_value() const { | 7856 inline bool UninterpretedOption::has_identifier_value() const { |
| 6962 return (_has_bits_[0] & 0x00000002u) != 0; | 7857 return (_has_bits_[0] & 0x00000001u) != 0; |
| 6963 } | 7858 } |
| 6964 inline void UninterpretedOption::set_has_identifier_value() { | 7859 inline void UninterpretedOption::set_has_identifier_value() { |
| 6965 _has_bits_[0] |= 0x00000002u; | 7860 _has_bits_[0] |= 0x00000001u; |
| 6966 } | 7861 } |
| 6967 inline void UninterpretedOption::clear_has_identifier_value() { | 7862 inline void UninterpretedOption::clear_has_identifier_value() { |
| 6968 _has_bits_[0] &= ~0x00000002u; | 7863 _has_bits_[0] &= ~0x00000001u; |
| 6969 } | 7864 } |
| 6970 inline void UninterpretedOption::clear_identifier_value() { | 7865 inline void UninterpretedOption::clear_identifier_value() { |
| 6971 identifier_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited()); | 7866 identifier_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited()); |
| 6972 clear_has_identifier_value(); | 7867 clear_has_identifier_value(); |
| 6973 } | 7868 } |
| 6974 inline const ::std::string& UninterpretedOption::identifier_value() const { | 7869 inline const ::std::string& UninterpretedOption::identifier_value() const { |
| 6975 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.iden
tifier_value) | 7870 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.iden
tifier_value) |
| 6976 return identifier_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStr
ingAlreadyInited()); | 7871 return identifier_value_.GetNoArena(); |
| 6977 } | 7872 } |
| 6978 inline void UninterpretedOption::set_identifier_value(const ::std::string& value
) { | 7873 inline void UninterpretedOption::set_identifier_value(const ::std::string& value
) { |
| 6979 set_has_identifier_value(); | 7874 set_has_identifier_value(); |
| 6980 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), value); | 7875 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), value); |
| 6981 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.iden
tifier_value) | 7876 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.iden
tifier_value) |
| 6982 } | 7877 } |
| 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 |
| 6983 inline void UninterpretedOption::set_identifier_value(const char* value) { | 7886 inline void UninterpretedOption::set_identifier_value(const char* value) { |
| 6984 set_has_identifier_value(); | 7887 set_has_identifier_value(); |
| 6985 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), ::std::string(value)); | 7888 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), ::std::string(value)); |
| 6986 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.identifier_value) | 7889 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.identifier_value) |
| 6987 } | 7890 } |
| 6988 inline void UninterpretedOption::set_identifier_value(const char* value, size_t
size) { | 7891 inline void UninterpretedOption::set_identifier_value(const char* value, size_t
size) { |
| 6989 set_has_identifier_value(); | 7892 set_has_identifier_value(); |
| 6990 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), | 7893 identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), |
| 6991 ::std::string(reinterpret_cast<const char*>(value), size)); | 7894 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 6992 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOpt
ion.identifier_value) | 7895 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOpt
ion.identifier_value) |
| (...skipping 13 matching lines...) Expand all Loading... |
| 7006 set_has_identifier_value(); | 7909 set_has_identifier_value(); |
| 7007 } else { | 7910 } else { |
| 7008 clear_has_identifier_value(); | 7911 clear_has_identifier_value(); |
| 7009 } | 7912 } |
| 7010 identifier_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited(), identifier_value); | 7913 identifier_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited(), identifier_value); |
| 7011 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO
ption.identifier_value) | 7914 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO
ption.identifier_value) |
| 7012 } | 7915 } |
| 7013 | 7916 |
| 7014 // optional uint64 positive_int_value = 4; | 7917 // optional uint64 positive_int_value = 4; |
| 7015 inline bool UninterpretedOption::has_positive_int_value() const { | 7918 inline bool UninterpretedOption::has_positive_int_value() const { |
| 7016 return (_has_bits_[0] & 0x00000004u) != 0; | 7919 return (_has_bits_[0] & 0x00000008u) != 0; |
| 7017 } | 7920 } |
| 7018 inline void UninterpretedOption::set_has_positive_int_value() { | 7921 inline void UninterpretedOption::set_has_positive_int_value() { |
| 7019 _has_bits_[0] |= 0x00000004u; | 7922 _has_bits_[0] |= 0x00000008u; |
| 7020 } | 7923 } |
| 7021 inline void UninterpretedOption::clear_has_positive_int_value() { | 7924 inline void UninterpretedOption::clear_has_positive_int_value() { |
| 7022 _has_bits_[0] &= ~0x00000004u; | 7925 _has_bits_[0] &= ~0x00000008u; |
| 7023 } | 7926 } |
| 7024 inline void UninterpretedOption::clear_positive_int_value() { | 7927 inline void UninterpretedOption::clear_positive_int_value() { |
| 7025 positive_int_value_ = GOOGLE_ULONGLONG(0); | 7928 positive_int_value_ = GOOGLE_ULONGLONG(0); |
| 7026 clear_has_positive_int_value(); | 7929 clear_has_positive_int_value(); |
| 7027 } | 7930 } |
| 7028 inline ::google::protobuf::uint64 UninterpretedOption::positive_int_value() cons
t { | 7931 inline ::google::protobuf::uint64 UninterpretedOption::positive_int_value() cons
t { |
| 7029 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.posi
tive_int_value) | 7932 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.posi
tive_int_value) |
| 7030 return positive_int_value_; | 7933 return positive_int_value_; |
| 7031 } | 7934 } |
| 7032 inline void UninterpretedOption::set_positive_int_value(::google::protobuf::uint
64 value) { | 7935 inline void UninterpretedOption::set_positive_int_value(::google::protobuf::uint
64 value) { |
| 7033 set_has_positive_int_value(); | 7936 set_has_positive_int_value(); |
| 7034 positive_int_value_ = value; | 7937 positive_int_value_ = value; |
| 7035 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.posi
tive_int_value) | 7938 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.posi
tive_int_value) |
| 7036 } | 7939 } |
| 7037 | 7940 |
| 7038 // optional int64 negative_int_value = 5; | 7941 // optional int64 negative_int_value = 5; |
| 7039 inline bool UninterpretedOption::has_negative_int_value() const { | 7942 inline bool UninterpretedOption::has_negative_int_value() const { |
| 7040 return (_has_bits_[0] & 0x00000008u) != 0; | 7943 return (_has_bits_[0] & 0x00000010u) != 0; |
| 7041 } | 7944 } |
| 7042 inline void UninterpretedOption::set_has_negative_int_value() { | 7945 inline void UninterpretedOption::set_has_negative_int_value() { |
| 7043 _has_bits_[0] |= 0x00000008u; | 7946 _has_bits_[0] |= 0x00000010u; |
| 7044 } | 7947 } |
| 7045 inline void UninterpretedOption::clear_has_negative_int_value() { | 7948 inline void UninterpretedOption::clear_has_negative_int_value() { |
| 7046 _has_bits_[0] &= ~0x00000008u; | 7949 _has_bits_[0] &= ~0x00000010u; |
| 7047 } | 7950 } |
| 7048 inline void UninterpretedOption::clear_negative_int_value() { | 7951 inline void UninterpretedOption::clear_negative_int_value() { |
| 7049 negative_int_value_ = GOOGLE_LONGLONG(0); | 7952 negative_int_value_ = GOOGLE_LONGLONG(0); |
| 7050 clear_has_negative_int_value(); | 7953 clear_has_negative_int_value(); |
| 7051 } | 7954 } |
| 7052 inline ::google::protobuf::int64 UninterpretedOption::negative_int_value() const
{ | 7955 inline ::google::protobuf::int64 UninterpretedOption::negative_int_value() const
{ |
| 7053 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.nega
tive_int_value) | 7956 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.nega
tive_int_value) |
| 7054 return negative_int_value_; | 7957 return negative_int_value_; |
| 7055 } | 7958 } |
| 7056 inline void UninterpretedOption::set_negative_int_value(::google::protobuf::int6
4 value) { | 7959 inline void UninterpretedOption::set_negative_int_value(::google::protobuf::int6
4 value) { |
| 7057 set_has_negative_int_value(); | 7960 set_has_negative_int_value(); |
| 7058 negative_int_value_ = value; | 7961 negative_int_value_ = value; |
| 7059 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.nega
tive_int_value) | 7962 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.nega
tive_int_value) |
| 7060 } | 7963 } |
| 7061 | 7964 |
| 7062 // optional double double_value = 6; | 7965 // optional double double_value = 6; |
| 7063 inline bool UninterpretedOption::has_double_value() const { | 7966 inline bool UninterpretedOption::has_double_value() const { |
| 7064 return (_has_bits_[0] & 0x00000010u) != 0; | 7967 return (_has_bits_[0] & 0x00000020u) != 0; |
| 7065 } | 7968 } |
| 7066 inline void UninterpretedOption::set_has_double_value() { | 7969 inline void UninterpretedOption::set_has_double_value() { |
| 7067 _has_bits_[0] |= 0x00000010u; | 7970 _has_bits_[0] |= 0x00000020u; |
| 7068 } | 7971 } |
| 7069 inline void UninterpretedOption::clear_has_double_value() { | 7972 inline void UninterpretedOption::clear_has_double_value() { |
| 7070 _has_bits_[0] &= ~0x00000010u; | 7973 _has_bits_[0] &= ~0x00000020u; |
| 7071 } | 7974 } |
| 7072 inline void UninterpretedOption::clear_double_value() { | 7975 inline void UninterpretedOption::clear_double_value() { |
| 7073 double_value_ = 0; | 7976 double_value_ = 0; |
| 7074 clear_has_double_value(); | 7977 clear_has_double_value(); |
| 7075 } | 7978 } |
| 7076 inline double UninterpretedOption::double_value() const { | 7979 inline double UninterpretedOption::double_value() const { |
| 7077 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.doub
le_value) | 7980 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.doub
le_value) |
| 7078 return double_value_; | 7981 return double_value_; |
| 7079 } | 7982 } |
| 7080 inline void UninterpretedOption::set_double_value(double value) { | 7983 inline void UninterpretedOption::set_double_value(double value) { |
| 7081 set_has_double_value(); | 7984 set_has_double_value(); |
| 7082 double_value_ = value; | 7985 double_value_ = value; |
| 7083 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.doub
le_value) | 7986 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.doub
le_value) |
| 7084 } | 7987 } |
| 7085 | 7988 |
| 7086 // optional bytes string_value = 7; | 7989 // optional bytes string_value = 7; |
| 7087 inline bool UninterpretedOption::has_string_value() const { | 7990 inline bool UninterpretedOption::has_string_value() const { |
| 7088 return (_has_bits_[0] & 0x00000020u) != 0; | 7991 return (_has_bits_[0] & 0x00000002u) != 0; |
| 7089 } | 7992 } |
| 7090 inline void UninterpretedOption::set_has_string_value() { | 7993 inline void UninterpretedOption::set_has_string_value() { |
| 7091 _has_bits_[0] |= 0x00000020u; | 7994 _has_bits_[0] |= 0x00000002u; |
| 7092 } | 7995 } |
| 7093 inline void UninterpretedOption::clear_has_string_value() { | 7996 inline void UninterpretedOption::clear_has_string_value() { |
| 7094 _has_bits_[0] &= ~0x00000020u; | 7997 _has_bits_[0] &= ~0x00000002u; |
| 7095 } | 7998 } |
| 7096 inline void UninterpretedOption::clear_string_value() { | 7999 inline void UninterpretedOption::clear_string_value() { |
| 7097 string_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited()); | 8000 string_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited()); |
| 7098 clear_has_string_value(); | 8001 clear_has_string_value(); |
| 7099 } | 8002 } |
| 7100 inline const ::std::string& UninterpretedOption::string_value() const { | 8003 inline const ::std::string& UninterpretedOption::string_value() const { |
| 7101 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.stri
ng_value) | 8004 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.stri
ng_value) |
| 7102 return string_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringA
lreadyInited()); | 8005 return string_value_.GetNoArena(); |
| 7103 } | 8006 } |
| 7104 inline void UninterpretedOption::set_string_value(const ::std::string& value) { | 8007 inline void UninterpretedOption::set_string_value(const ::std::string& value) { |
| 7105 set_has_string_value(); | 8008 set_has_string_value(); |
| 7106 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), value); | 8009 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), value); |
| 7107 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.stri
ng_value) | 8010 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.stri
ng_value) |
| 7108 } | 8011 } |
| 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 |
| 7109 inline void UninterpretedOption::set_string_value(const char* value) { | 8020 inline void UninterpretedOption::set_string_value(const char* value) { |
| 7110 set_has_string_value(); | 8021 set_has_string_value(); |
| 7111 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), ::std::string(value)); | 8022 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), ::std::string(value)); |
| 7112 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.string_value) | 8023 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.string_value) |
| 7113 } | 8024 } |
| 7114 inline void UninterpretedOption::set_string_value(const void* value, size_t size
) { | 8025 inline void UninterpretedOption::set_string_value(const void* value, size_t size
) { |
| 7115 set_has_string_value(); | 8026 set_has_string_value(); |
| 7116 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), | 8027 string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyI
nited(), |
| 7117 ::std::string(reinterpret_cast<const char*>(value), size)); | 8028 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 7118 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOpt
ion.string_value) | 8029 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOpt
ion.string_value) |
| (...skipping 13 matching lines...) Expand all Loading... |
| 7132 set_has_string_value(); | 8043 set_has_string_value(); |
| 7133 } else { | 8044 } else { |
| 7134 clear_has_string_value(); | 8045 clear_has_string_value(); |
| 7135 } | 8046 } |
| 7136 string_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited(), string_value); | 8047 string_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStrin
gAlreadyInited(), string_value); |
| 7137 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO
ption.string_value) | 8048 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedO
ption.string_value) |
| 7138 } | 8049 } |
| 7139 | 8050 |
| 7140 // optional string aggregate_value = 8; | 8051 // optional string aggregate_value = 8; |
| 7141 inline bool UninterpretedOption::has_aggregate_value() const { | 8052 inline bool UninterpretedOption::has_aggregate_value() const { |
| 7142 return (_has_bits_[0] & 0x00000040u) != 0; | 8053 return (_has_bits_[0] & 0x00000004u) != 0; |
| 7143 } | 8054 } |
| 7144 inline void UninterpretedOption::set_has_aggregate_value() { | 8055 inline void UninterpretedOption::set_has_aggregate_value() { |
| 7145 _has_bits_[0] |= 0x00000040u; | 8056 _has_bits_[0] |= 0x00000004u; |
| 7146 } | 8057 } |
| 7147 inline void UninterpretedOption::clear_has_aggregate_value() { | 8058 inline void UninterpretedOption::clear_has_aggregate_value() { |
| 7148 _has_bits_[0] &= ~0x00000040u; | 8059 _has_bits_[0] &= ~0x00000004u; |
| 7149 } | 8060 } |
| 7150 inline void UninterpretedOption::clear_aggregate_value() { | 8061 inline void UninterpretedOption::clear_aggregate_value() { |
| 7151 aggregate_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptySt
ringAlreadyInited()); | 8062 aggregate_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptySt
ringAlreadyInited()); |
| 7152 clear_has_aggregate_value(); | 8063 clear_has_aggregate_value(); |
| 7153 } | 8064 } |
| 7154 inline const ::std::string& UninterpretedOption::aggregate_value() const { | 8065 inline const ::std::string& UninterpretedOption::aggregate_value() const { |
| 7155 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggr
egate_value) | 8066 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggr
egate_value) |
| 7156 return aggregate_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStri
ngAlreadyInited()); | 8067 return aggregate_value_.GetNoArena(); |
| 7157 } | 8068 } |
| 7158 inline void UninterpretedOption::set_aggregate_value(const ::std::string& value)
{ | 8069 inline void UninterpretedOption::set_aggregate_value(const ::std::string& value)
{ |
| 7159 set_has_aggregate_value(); | 8070 set_has_aggregate_value(); |
| 7160 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited(), value); | 8071 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited(), value); |
| 7161 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggr
egate_value) | 8072 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggr
egate_value) |
| 7162 } | 8073 } |
| 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 |
| 7163 inline void UninterpretedOption::set_aggregate_value(const char* value) { | 8082 inline void UninterpretedOption::set_aggregate_value(const char* value) { |
| 7164 set_has_aggregate_value(); | 8083 set_has_aggregate_value(); |
| 7165 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited(), ::std::string(value)); | 8084 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited(), ::std::string(value)); |
| 7166 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.aggregate_value) | 8085 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption
.aggregate_value) |
| 7167 } | 8086 } |
| 7168 inline void UninterpretedOption::set_aggregate_value(const char* value, size_t s
ize) { | 8087 inline void UninterpretedOption::set_aggregate_value(const char* value, size_t s
ize) { |
| 7169 set_has_aggregate_value(); | 8088 set_has_aggregate_value(); |
| 7170 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited(), | 8089 aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlrea
dyInited(), |
| 7171 ::std::string(reinterpret_cast<const char*>(value), size)); | 8090 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 7172 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOpt
ion.aggregate_value) | 8091 // @@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... |
| 7250 return span_; | 8169 return span_; |
| 7251 } | 8170 } |
| 7252 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* | 8171 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
| 7253 SourceCodeInfo_Location::mutable_span() { | 8172 SourceCodeInfo_Location::mutable_span() { |
| 7254 // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.
Location.span) | 8173 // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.
Location.span) |
| 7255 return &span_; | 8174 return &span_; |
| 7256 } | 8175 } |
| 7257 | 8176 |
| 7258 // optional string leading_comments = 3; | 8177 // optional string leading_comments = 3; |
| 7259 inline bool SourceCodeInfo_Location::has_leading_comments() const { | 8178 inline bool SourceCodeInfo_Location::has_leading_comments() const { |
| 7260 return (_has_bits_[0] & 0x00000004u) != 0; | 8179 return (_has_bits_[0] & 0x00000001u) != 0; |
| 7261 } | 8180 } |
| 7262 inline void SourceCodeInfo_Location::set_has_leading_comments() { | 8181 inline void SourceCodeInfo_Location::set_has_leading_comments() { |
| 7263 _has_bits_[0] |= 0x00000004u; | 8182 _has_bits_[0] |= 0x00000001u; |
| 7264 } | 8183 } |
| 7265 inline void SourceCodeInfo_Location::clear_has_leading_comments() { | 8184 inline void SourceCodeInfo_Location::clear_has_leading_comments() { |
| 7266 _has_bits_[0] &= ~0x00000004u; | 8185 _has_bits_[0] &= ~0x00000001u; |
| 7267 } | 8186 } |
| 7268 inline void SourceCodeInfo_Location::clear_leading_comments() { | 8187 inline void SourceCodeInfo_Location::clear_leading_comments() { |
| 7269 leading_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited()); | 8188 leading_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited()); |
| 7270 clear_has_leading_comments(); | 8189 clear_has_leading_comments(); |
| 7271 } | 8190 } |
| 7272 inline const ::std::string& SourceCodeInfo_Location::leading_comments() const { | 8191 inline const ::std::string& SourceCodeInfo_Location::leading_comments() const { |
| 7273 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.
leading_comments) | 8192 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.
leading_comments) |
| 7274 return leading_comments_.GetNoArena(&::google::protobuf::internal::GetEmptyStr
ingAlreadyInited()); | 8193 return leading_comments_.GetNoArena(); |
| 7275 } | 8194 } |
| 7276 inline void SourceCodeInfo_Location::set_leading_comments(const ::std::string& v
alue) { | 8195 inline void SourceCodeInfo_Location::set_leading_comments(const ::std::string& v
alue) { |
| 7277 set_has_leading_comments(); | 8196 set_has_leading_comments(); |
| 7278 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), value); | 8197 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), value); |
| 7279 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.
leading_comments) | 8198 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.
leading_comments) |
| 7280 } | 8199 } |
| 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 |
| 7281 inline void SourceCodeInfo_Location::set_leading_comments(const char* value) { | 8208 inline void SourceCodeInfo_Location::set_leading_comments(const char* value) { |
| 7282 set_has_leading_comments(); | 8209 set_has_leading_comments(); |
| 7283 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), ::std::string(value)); | 8210 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), ::std::string(value)); |
| 7284 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Loca
tion.leading_comments) | 8211 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Loca
tion.leading_comments) |
| 7285 } | 8212 } |
| 7286 inline void SourceCodeInfo_Location::set_leading_comments(const char* value, siz
e_t size) { | 8213 inline void SourceCodeInfo_Location::set_leading_comments(const char* value, siz
e_t size) { |
| 7287 set_has_leading_comments(); | 8214 set_has_leading_comments(); |
| 7288 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), | 8215 leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre
adyInited(), |
| 7289 ::std::string(reinterpret_cast<const char*>(value), size)); | 8216 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 7290 // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.L
ocation.leading_comments) | 8217 // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.L
ocation.leading_comments) |
| (...skipping 13 matching lines...) Expand all Loading... |
| 7304 set_has_leading_comments(); | 8231 set_has_leading_comments(); |
| 7305 } else { | 8232 } else { |
| 7306 clear_has_leading_comments(); | 8233 clear_has_leading_comments(); |
| 7307 } | 8234 } |
| 7308 leading_comments_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited(), leading_comments); | 8235 leading_comments_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS
tringAlreadyInited(), leading_comments); |
| 7309 // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo
.Location.leading_comments) | 8236 // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo
.Location.leading_comments) |
| 7310 } | 8237 } |
| 7311 | 8238 |
| 7312 // optional string trailing_comments = 4; | 8239 // optional string trailing_comments = 4; |
| 7313 inline bool SourceCodeInfo_Location::has_trailing_comments() const { | 8240 inline bool SourceCodeInfo_Location::has_trailing_comments() const { |
| 7314 return (_has_bits_[0] & 0x00000008u) != 0; | 8241 return (_has_bits_[0] & 0x00000002u) != 0; |
| 7315 } | 8242 } |
| 7316 inline void SourceCodeInfo_Location::set_has_trailing_comments() { | 8243 inline void SourceCodeInfo_Location::set_has_trailing_comments() { |
| 7317 _has_bits_[0] |= 0x00000008u; | 8244 _has_bits_[0] |= 0x00000002u; |
| 7318 } | 8245 } |
| 7319 inline void SourceCodeInfo_Location::clear_has_trailing_comments() { | 8246 inline void SourceCodeInfo_Location::clear_has_trailing_comments() { |
| 7320 _has_bits_[0] &= ~0x00000008u; | 8247 _has_bits_[0] &= ~0x00000002u; |
| 7321 } | 8248 } |
| 7322 inline void SourceCodeInfo_Location::clear_trailing_comments() { | 8249 inline void SourceCodeInfo_Location::clear_trailing_comments() { |
| 7323 trailing_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty
StringAlreadyInited()); | 8250 trailing_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty
StringAlreadyInited()); |
| 7324 clear_has_trailing_comments(); | 8251 clear_has_trailing_comments(); |
| 7325 } | 8252 } |
| 7326 inline const ::std::string& SourceCodeInfo_Location::trailing_comments() const { | 8253 inline const ::std::string& SourceCodeInfo_Location::trailing_comments() const { |
| 7327 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.
trailing_comments) | 8254 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.
trailing_comments) |
| 7328 return trailing_comments_.GetNoArena(&::google::protobuf::internal::GetEmptySt
ringAlreadyInited()); | 8255 return trailing_comments_.GetNoArena(); |
| 7329 } | 8256 } |
| 7330 inline void SourceCodeInfo_Location::set_trailing_comments(const ::std::string&
value) { | 8257 inline void SourceCodeInfo_Location::set_trailing_comments(const ::std::string&
value) { |
| 7331 set_has_trailing_comments(); | 8258 set_has_trailing_comments(); |
| 7332 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), value); | 8259 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), value); |
| 7333 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.
trailing_comments) | 8260 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.
trailing_comments) |
| 7334 } | 8261 } |
| 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 |
| 7335 inline void SourceCodeInfo_Location::set_trailing_comments(const char* value) { | 8270 inline void SourceCodeInfo_Location::set_trailing_comments(const char* value) { |
| 7336 set_has_trailing_comments(); | 8271 set_has_trailing_comments(); |
| 7337 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), ::std::string(value)); | 8272 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), ::std::string(value)); |
| 7338 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Loca
tion.trailing_comments) | 8273 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Loca
tion.trailing_comments) |
| 7339 } | 8274 } |
| 7340 inline void SourceCodeInfo_Location::set_trailing_comments(const char* value, si
ze_t size) { | 8275 inline void SourceCodeInfo_Location::set_trailing_comments(const char* value, si
ze_t size) { |
| 7341 set_has_trailing_comments(); | 8276 set_has_trailing_comments(); |
| 7342 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), | 8277 trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr
eadyInited(), |
| 7343 ::std::string(reinterpret_cast<const char*>(value), size)); | 8278 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 7344 // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.L
ocation.trailing_comments) | 8279 // @@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... |
| 7481 return path_; | 8416 return path_; |
| 7482 } | 8417 } |
| 7483 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* | 8418 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
| 7484 GeneratedCodeInfo_Annotation::mutable_path() { | 8419 GeneratedCodeInfo_Annotation::mutable_path() { |
| 7485 // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeIn
fo.Annotation.path) | 8420 // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeIn
fo.Annotation.path) |
| 7486 return &path_; | 8421 return &path_; |
| 7487 } | 8422 } |
| 7488 | 8423 |
| 7489 // optional string source_file = 2; | 8424 // optional string source_file = 2; |
| 7490 inline bool GeneratedCodeInfo_Annotation::has_source_file() const { | 8425 inline bool GeneratedCodeInfo_Annotation::has_source_file() const { |
| 7491 return (_has_bits_[0] & 0x00000002u) != 0; | 8426 return (_has_bits_[0] & 0x00000001u) != 0; |
| 7492 } | 8427 } |
| 7493 inline void GeneratedCodeInfo_Annotation::set_has_source_file() { | 8428 inline void GeneratedCodeInfo_Annotation::set_has_source_file() { |
| 7494 _has_bits_[0] |= 0x00000002u; | 8429 _has_bits_[0] |= 0x00000001u; |
| 7495 } | 8430 } |
| 7496 inline void GeneratedCodeInfo_Annotation::clear_has_source_file() { | 8431 inline void GeneratedCodeInfo_Annotation::clear_has_source_file() { |
| 7497 _has_bits_[0] &= ~0x00000002u; | 8432 _has_bits_[0] &= ~0x00000001u; |
| 7498 } | 8433 } |
| 7499 inline void GeneratedCodeInfo_Annotation::clear_source_file() { | 8434 inline void GeneratedCodeInfo_Annotation::clear_source_file() { |
| 7500 source_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited()); | 8435 source_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited()); |
| 7501 clear_has_source_file(); | 8436 clear_has_source_file(); |
| 7502 } | 8437 } |
| 7503 inline const ::std::string& GeneratedCodeInfo_Annotation::source_file() const { | 8438 inline const ::std::string& GeneratedCodeInfo_Annotation::source_file() const { |
| 7504 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota
tion.source_file) | 8439 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota
tion.source_file) |
| 7505 return source_file_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAl
readyInited()); | 8440 return source_file_.GetNoArena(); |
| 7506 } | 8441 } |
| 7507 inline void GeneratedCodeInfo_Annotation::set_source_file(const ::std::string& v
alue) { | 8442 inline void GeneratedCodeInfo_Annotation::set_source_file(const ::std::string& v
alue) { |
| 7508 set_has_source_file(); | 8443 set_has_source_file(); |
| 7509 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), value); | 8444 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), value); |
| 7510 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annota
tion.source_file) | 8445 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annota
tion.source_file) |
| 7511 } | 8446 } |
| 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 |
| 7512 inline void GeneratedCodeInfo_Annotation::set_source_file(const char* value) { | 8455 inline void GeneratedCodeInfo_Annotation::set_source_file(const char* value) { |
| 7513 set_has_source_file(); | 8456 set_has_source_file(); |
| 7514 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), ::std::string(value)); | 8457 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), ::std::string(value)); |
| 7515 // @@protoc_insertion_point(field_set_char:google.protobuf.GeneratedCodeInfo.A
nnotation.source_file) | 8458 // @@protoc_insertion_point(field_set_char:google.protobuf.GeneratedCodeInfo.A
nnotation.source_file) |
| 7516 } | 8459 } |
| 7517 inline void GeneratedCodeInfo_Annotation::set_source_file(const char* value, siz
e_t size) { | 8460 inline void GeneratedCodeInfo_Annotation::set_source_file(const char* value, siz
e_t size) { |
| 7518 set_has_source_file(); | 8461 set_has_source_file(); |
| 7519 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), | 8462 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn
ited(), |
| 7520 ::std::string(reinterpret_cast<const char*>(value), size)); | 8463 ::std::string(reinterpret_cast<const char*>(value), size)); |
| 7521 // @@protoc_insertion_point(field_set_pointer:google.protobuf.GeneratedCodeInf
o.Annotation.source_file) | 8464 // @@protoc_insertion_point(field_set_pointer:google.protobuf.GeneratedCodeInf
o.Annotation.source_file) |
| (...skipping 13 matching lines...) Expand all Loading... |
| 7535 set_has_source_file(); | 8478 set_has_source_file(); |
| 7536 } else { | 8479 } else { |
| 7537 clear_has_source_file(); | 8480 clear_has_source_file(); |
| 7538 } | 8481 } |
| 7539 source_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), source_file); | 8482 source_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyString
AlreadyInited(), source_file); |
| 7540 // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeI
nfo.Annotation.source_file) | 8483 // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeI
nfo.Annotation.source_file) |
| 7541 } | 8484 } |
| 7542 | 8485 |
| 7543 // optional int32 begin = 3; | 8486 // optional int32 begin = 3; |
| 7544 inline bool GeneratedCodeInfo_Annotation::has_begin() const { | 8487 inline bool GeneratedCodeInfo_Annotation::has_begin() const { |
| 7545 return (_has_bits_[0] & 0x00000004u) != 0; | 8488 return (_has_bits_[0] & 0x00000002u) != 0; |
| 7546 } | 8489 } |
| 7547 inline void GeneratedCodeInfo_Annotation::set_has_begin() { | 8490 inline void GeneratedCodeInfo_Annotation::set_has_begin() { |
| 7548 _has_bits_[0] |= 0x00000004u; | 8491 _has_bits_[0] |= 0x00000002u; |
| 7549 } | 8492 } |
| 7550 inline void GeneratedCodeInfo_Annotation::clear_has_begin() { | 8493 inline void GeneratedCodeInfo_Annotation::clear_has_begin() { |
| 7551 _has_bits_[0] &= ~0x00000004u; | 8494 _has_bits_[0] &= ~0x00000002u; |
| 7552 } | 8495 } |
| 7553 inline void GeneratedCodeInfo_Annotation::clear_begin() { | 8496 inline void GeneratedCodeInfo_Annotation::clear_begin() { |
| 7554 begin_ = 0; | 8497 begin_ = 0; |
| 7555 clear_has_begin(); | 8498 clear_has_begin(); |
| 7556 } | 8499 } |
| 7557 inline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::begin() const { | 8500 inline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::begin() const { |
| 7558 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota
tion.begin) | 8501 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota
tion.begin) |
| 7559 return begin_; | 8502 return begin_; |
| 7560 } | 8503 } |
| 7561 inline void GeneratedCodeInfo_Annotation::set_begin(::google::protobuf::int32 va
lue) { | 8504 inline void GeneratedCodeInfo_Annotation::set_begin(::google::protobuf::int32 va
lue) { |
| 7562 set_has_begin(); | 8505 set_has_begin(); |
| 7563 begin_ = value; | 8506 begin_ = value; |
| 7564 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annota
tion.begin) | 8507 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annota
tion.begin) |
| 7565 } | 8508 } |
| 7566 | 8509 |
| 7567 // optional int32 end = 4; | 8510 // optional int32 end = 4; |
| 7568 inline bool GeneratedCodeInfo_Annotation::has_end() const { | 8511 inline bool GeneratedCodeInfo_Annotation::has_end() const { |
| 7569 return (_has_bits_[0] & 0x00000008u) != 0; | 8512 return (_has_bits_[0] & 0x00000004u) != 0; |
| 7570 } | 8513 } |
| 7571 inline void GeneratedCodeInfo_Annotation::set_has_end() { | 8514 inline void GeneratedCodeInfo_Annotation::set_has_end() { |
| 7572 _has_bits_[0] |= 0x00000008u; | 8515 _has_bits_[0] |= 0x00000004u; |
| 7573 } | 8516 } |
| 7574 inline void GeneratedCodeInfo_Annotation::clear_has_end() { | 8517 inline void GeneratedCodeInfo_Annotation::clear_has_end() { |
| 7575 _has_bits_[0] &= ~0x00000008u; | 8518 _has_bits_[0] &= ~0x00000004u; |
| 7576 } | 8519 } |
| 7577 inline void GeneratedCodeInfo_Annotation::clear_end() { | 8520 inline void GeneratedCodeInfo_Annotation::clear_end() { |
| 7578 end_ = 0; | 8521 end_ = 0; |
| 7579 clear_has_end(); | 8522 clear_has_end(); |
| 7580 } | 8523 } |
| 7581 inline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::end() const { | 8524 inline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::end() const { |
| 7582 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota
tion.end) | 8525 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annota
tion.end) |
| 7583 return end_; | 8526 return end_; |
| 7584 } | 8527 } |
| 7585 inline void GeneratedCodeInfo_Annotation::set_end(::google::protobuf::int32 valu
e) { | 8528 inline void GeneratedCodeInfo_Annotation::set_end(::google::protobuf::int32 valu
e) { |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7662 // ------------------------------------------------------------------- | 8605 // ------------------------------------------------------------------- |
| 7663 | 8606 |
| 7664 // ------------------------------------------------------------------- | 8607 // ------------------------------------------------------------------- |
| 7665 | 8608 |
| 7666 // ------------------------------------------------------------------- | 8609 // ------------------------------------------------------------------- |
| 7667 | 8610 |
| 7668 // ------------------------------------------------------------------- | 8611 // ------------------------------------------------------------------- |
| 7669 | 8612 |
| 7670 // ------------------------------------------------------------------- | 8613 // ------------------------------------------------------------------- |
| 7671 | 8614 |
| 8615 // ------------------------------------------------------------------- |
| 8616 |
| 7672 | 8617 |
| 7673 // @@protoc_insertion_point(namespace_scope) | 8618 // @@protoc_insertion_point(namespace_scope) |
| 7674 | 8619 |
| 8620 |
| 7675 } // namespace protobuf | 8621 } // namespace protobuf |
| 7676 } // namespace google | 8622 } // namespace google |
| 7677 | 8623 |
| 7678 #ifndef SWIG | 8624 #ifndef SWIG |
| 7679 namespace google { | 8625 namespace google { |
| 7680 namespace protobuf { | 8626 namespace protobuf { |
| 7681 | 8627 |
| 7682 template <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Type>
: ::google::protobuf::internal::true_type {}; | 8628 template <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Type>
: ::google::protobuf::internal::true_type {}; |
| 7683 template <> | 8629 template <> |
| 7684 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescrip
torProto_Type>() { | 8630 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescrip
torProto_Type>() { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 7697 template <> struct is_proto_enum< ::google::protobuf::FieldOptions_CType> : ::go
ogle::protobuf::internal::true_type {}; | 8643 template <> struct is_proto_enum< ::google::protobuf::FieldOptions_CType> : ::go
ogle::protobuf::internal::true_type {}; |
| 7698 template <> | 8644 template <> |
| 7699 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions
_CType>() { | 8645 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions
_CType>() { |
| 7700 return ::google::protobuf::FieldOptions_CType_descriptor(); | 8646 return ::google::protobuf::FieldOptions_CType_descriptor(); |
| 7701 } | 8647 } |
| 7702 template <> struct is_proto_enum< ::google::protobuf::FieldOptions_JSType> : ::g
oogle::protobuf::internal::true_type {}; | 8648 template <> struct is_proto_enum< ::google::protobuf::FieldOptions_JSType> : ::g
oogle::protobuf::internal::true_type {}; |
| 7703 template <> | 8649 template <> |
| 7704 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions
_JSType>() { | 8650 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions
_JSType>() { |
| 7705 return ::google::protobuf::FieldOptions_JSType_descriptor(); | 8651 return ::google::protobuf::FieldOptions_JSType_descriptor(); |
| 7706 } | 8652 } |
| 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 } |
| 7707 | 8658 |
| 7708 } // namespace protobuf | 8659 } // namespace protobuf |
| 7709 } // namespace google | 8660 } // namespace google |
| 7710 #endif // SWIG | 8661 #endif // SWIG |
| 7711 | 8662 |
| 7712 // @@protoc_insertion_point(global_scope) | 8663 // @@protoc_insertion_point(global_scope) |
| 7713 | 8664 |
| 7714 #endif // PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED | 8665 #endif // PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED |
| OLD | NEW |