1// Generated by the protocol buffer compiler. DO NOT EDIT! 2// source: google/protobuf/descriptor.proto 3 4#ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto 5#define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto 6 7#include <limits> 8#include <string> 9 10#include <google/protobuf/port_def.inc> 11#if PROTOBUF_VERSION < 3013000 12#error This file was generated by a newer version of protoc which is 13#error incompatible with your Protocol Buffer headers. Please update 14#error your headers. 15#endif 16#if 3013000 < PROTOBUF_MIN_PROTOC_VERSION 17#error This file was generated by an older version of protoc which is 18#error incompatible with your Protocol Buffer headers. Please 19#error regenerate this file with a newer version of protoc. 20#endif 21 22#include <google/protobuf/port_undef.inc> 23#include <google/protobuf/io/coded_stream.h> 24#include <google/protobuf/arena.h> 25#include <google/protobuf/arenastring.h> 26#include <google/protobuf/generated_message_table_driven.h> 27#include <google/protobuf/generated_message_util.h> 28#include <google/protobuf/inlined_string_field.h> 29#include <google/protobuf/metadata_lite.h> 30#include <google/protobuf/generated_message_reflection.h> 31#include <google/protobuf/message.h> 32#include <google/protobuf/repeated_field.h> // IWYU pragma: export 33#include <google/protobuf/extension_set.h> // IWYU pragma: export 34#include <google/protobuf/generated_enum_reflection.h> 35#include <google/protobuf/unknown_field_set.h> 36// @@protoc_insertion_point(includes) 37#include <google/protobuf/port_def.inc> 38#define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto PROTOBUF_EXPORT 39PROTOBUF_NAMESPACE_OPEN 40namespace internal { 41class AnyMetadata; 42} // namespace internal 43PROTOBUF_NAMESPACE_CLOSE 44 45// Internal implementation detail -- do not use these members. 46struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fdescriptor_2eproto { 47 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] 48 PROTOBUF_SECTION_VARIABLE(protodesc_cold); 49 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] 50 PROTOBUF_SECTION_VARIABLE(protodesc_cold); 51 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[27] 52 PROTOBUF_SECTION_VARIABLE(protodesc_cold); 53 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; 54 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; 55 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; 56}; 57extern PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fdescriptor_2eproto; 58PROTOBUF_NAMESPACE_OPEN 59class DescriptorProto; 60class DescriptorProtoDefaultTypeInternal; 61PROTOBUF_EXPORT extern DescriptorProtoDefaultTypeInternal _DescriptorProto_default_instance_; 62class DescriptorProto_ExtensionRange; 63class DescriptorProto_ExtensionRangeDefaultTypeInternal; 64PROTOBUF_EXPORT extern DescriptorProto_ExtensionRangeDefaultTypeInternal _DescriptorProto_ExtensionRange_default_instance_; 65class DescriptorProto_ReservedRange; 66class DescriptorProto_ReservedRangeDefaultTypeInternal; 67PROTOBUF_EXPORT extern DescriptorProto_ReservedRangeDefaultTypeInternal _DescriptorProto_ReservedRange_default_instance_; 68class EnumDescriptorProto; 69class EnumDescriptorProtoDefaultTypeInternal; 70PROTOBUF_EXPORT extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorProto_default_instance_; 71class EnumDescriptorProto_EnumReservedRange; 72class EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal; 73PROTOBUF_EXPORT extern EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal _EnumDescriptorProto_EnumReservedRange_default_instance_; 74class EnumOptions; 75class EnumOptionsDefaultTypeInternal; 76PROTOBUF_EXPORT extern EnumOptionsDefaultTypeInternal _EnumOptions_default_instance_; 77class EnumValueDescriptorProto; 78class EnumValueDescriptorProtoDefaultTypeInternal; 79PROTOBUF_EXPORT extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDescriptorProto_default_instance_; 80class EnumValueOptions; 81class EnumValueOptionsDefaultTypeInternal; 82PROTOBUF_EXPORT extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_; 83class ExtensionRangeOptions; 84class ExtensionRangeOptionsDefaultTypeInternal; 85PROTOBUF_EXPORT extern ExtensionRangeOptionsDefaultTypeInternal _ExtensionRangeOptions_default_instance_; 86class FieldDescriptorProto; 87class FieldDescriptorProtoDefaultTypeInternal; 88PROTOBUF_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_; 89class FieldOptions; 90class FieldOptionsDefaultTypeInternal; 91PROTOBUF_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_; 92class FileDescriptorProto; 93class FileDescriptorProtoDefaultTypeInternal; 94PROTOBUF_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_; 95class FileDescriptorSet; 96class FileDescriptorSetDefaultTypeInternal; 97PROTOBUF_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_; 98class FileOptions; 99class FileOptionsDefaultTypeInternal; 100PROTOBUF_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_instance_; 101class GeneratedCodeInfo; 102class GeneratedCodeInfoDefaultTypeInternal; 103PROTOBUF_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_; 104class GeneratedCodeInfo_Annotation; 105class GeneratedCodeInfo_AnnotationDefaultTypeInternal; 106PROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_; 107class MessageOptions; 108class MessageOptionsDefaultTypeInternal; 109PROTOBUF_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_; 110class MethodDescriptorProto; 111class MethodDescriptorProtoDefaultTypeInternal; 112PROTOBUF_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_; 113class MethodOptions; 114class MethodOptionsDefaultTypeInternal; 115PROTOBUF_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_; 116class OneofDescriptorProto; 117class OneofDescriptorProtoDefaultTypeInternal; 118PROTOBUF_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_; 119class OneofOptions; 120class OneofOptionsDefaultTypeInternal; 121PROTOBUF_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_; 122class ServiceDescriptorProto; 123class ServiceDescriptorProtoDefaultTypeInternal; 124PROTOBUF_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_; 125class ServiceOptions; 126class ServiceOptionsDefaultTypeInternal; 127PROTOBUF_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_; 128class SourceCodeInfo; 129class SourceCodeInfoDefaultTypeInternal; 130PROTOBUF_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_; 131class SourceCodeInfo_Location; 132class SourceCodeInfo_LocationDefaultTypeInternal; 133PROTOBUF_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_; 134class UninterpretedOption; 135class UninterpretedOptionDefaultTypeInternal; 136PROTOBUF_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_; 137class UninterpretedOption_NamePart; 138class UninterpretedOption_NamePartDefaultTypeInternal; 139PROTOBUF_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_; 140PROTOBUF_NAMESPACE_CLOSE 141PROTOBUF_NAMESPACE_OPEN 142template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::DescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::DescriptorProto>(Arena*); 143template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange>(Arena*); 144template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange>(Arena*); 145template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumDescriptorProto>(Arena*); 146template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange>(Arena*); 147template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::EnumOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumOptions>(Arena*); 148template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto>(Arena*); 149template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::EnumValueOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumValueOptions>(Arena*); 150template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions>(Arena*); 151template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FieldDescriptorProto>(Arena*); 152template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FieldOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FieldOptions>(Arena*); 153template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FileDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FileDescriptorProto>(Arena*); 154template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FileDescriptorSet* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FileDescriptorSet>(Arena*); 155template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FileOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FileOptions>(Arena*); 156template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo>(Arena*); 157template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation>(Arena*); 158template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::MessageOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::MessageOptions>(Arena*); 159template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::MethodDescriptorProto>(Arena*); 160template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::MethodOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::MethodOptions>(Arena*); 161template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::OneofDescriptorProto>(Arena*); 162template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::OneofOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::OneofOptions>(Arena*); 163template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto>(Arena*); 164template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::ServiceOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::ServiceOptions>(Arena*); 165template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::SourceCodeInfo* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::SourceCodeInfo>(Arena*); 166template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location>(Arena*); 167template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::UninterpretedOption* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::UninterpretedOption>(Arena*); 168template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart>(Arena*); 169PROTOBUF_NAMESPACE_CLOSE 170PROTOBUF_NAMESPACE_OPEN 171 172enum FieldDescriptorProto_Type : int { 173 FieldDescriptorProto_Type_TYPE_DOUBLE = 1, 174 FieldDescriptorProto_Type_TYPE_FLOAT = 2, 175 FieldDescriptorProto_Type_TYPE_INT64 = 3, 176 FieldDescriptorProto_Type_TYPE_UINT64 = 4, 177 FieldDescriptorProto_Type_TYPE_INT32 = 5, 178 FieldDescriptorProto_Type_TYPE_FIXED64 = 6, 179 FieldDescriptorProto_Type_TYPE_FIXED32 = 7, 180 FieldDescriptorProto_Type_TYPE_BOOL = 8, 181 FieldDescriptorProto_Type_TYPE_STRING = 9, 182 FieldDescriptorProto_Type_TYPE_GROUP = 10, 183 FieldDescriptorProto_Type_TYPE_MESSAGE = 11, 184 FieldDescriptorProto_Type_TYPE_BYTES = 12, 185 FieldDescriptorProto_Type_TYPE_UINT32 = 13, 186 FieldDescriptorProto_Type_TYPE_ENUM = 14, 187 FieldDescriptorProto_Type_TYPE_SFIXED32 = 15, 188 FieldDescriptorProto_Type_TYPE_SFIXED64 = 16, 189 FieldDescriptorProto_Type_TYPE_SINT32 = 17, 190 FieldDescriptorProto_Type_TYPE_SINT64 = 18 191}; 192PROTOBUF_EXPORT bool FieldDescriptorProto_Type_IsValid(int value); 193constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MIN = FieldDescriptorProto_Type_TYPE_DOUBLE; 194constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MAX = FieldDescriptorProto_Type_TYPE_SINT64; 195constexpr int FieldDescriptorProto_Type_Type_ARRAYSIZE = FieldDescriptorProto_Type_Type_MAX + 1; 196 197PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldDescriptorProto_Type_descriptor(); 198template<typename T> 199inline const std::string& FieldDescriptorProto_Type_Name(T enum_t_value) { 200 static_assert(::std::is_same<T, FieldDescriptorProto_Type>::value || 201 ::std::is_integral<T>::value, 202 "Incorrect type passed to function FieldDescriptorProto_Type_Name."); 203 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( 204 FieldDescriptorProto_Type_descriptor(), enum_t_value); 205} 206inline bool FieldDescriptorProto_Type_Parse( 207 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldDescriptorProto_Type* value) { 208 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldDescriptorProto_Type>( 209 FieldDescriptorProto_Type_descriptor(), name, value); 210} 211enum FieldDescriptorProto_Label : int { 212 FieldDescriptorProto_Label_LABEL_OPTIONAL = 1, 213 FieldDescriptorProto_Label_LABEL_REQUIRED = 2, 214 FieldDescriptorProto_Label_LABEL_REPEATED = 3 215}; 216PROTOBUF_EXPORT bool FieldDescriptorProto_Label_IsValid(int value); 217constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN = FieldDescriptorProto_Label_LABEL_OPTIONAL; 218constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX = FieldDescriptorProto_Label_LABEL_REPEATED; 219constexpr int FieldDescriptorProto_Label_Label_ARRAYSIZE = FieldDescriptorProto_Label_Label_MAX + 1; 220 221PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldDescriptorProto_Label_descriptor(); 222template<typename T> 223inline const std::string& FieldDescriptorProto_Label_Name(T enum_t_value) { 224 static_assert(::std::is_same<T, FieldDescriptorProto_Label>::value || 225 ::std::is_integral<T>::value, 226 "Incorrect type passed to function FieldDescriptorProto_Label_Name."); 227 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( 228 FieldDescriptorProto_Label_descriptor(), enum_t_value); 229} 230inline bool FieldDescriptorProto_Label_Parse( 231 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldDescriptorProto_Label* value) { 232 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldDescriptorProto_Label>( 233 FieldDescriptorProto_Label_descriptor(), name, value); 234} 235enum FileOptions_OptimizeMode : int { 236 FileOptions_OptimizeMode_SPEED = 1, 237 FileOptions_OptimizeMode_CODE_SIZE = 2, 238 FileOptions_OptimizeMode_LITE_RUNTIME = 3 239}; 240PROTOBUF_EXPORT bool FileOptions_OptimizeMode_IsValid(int value); 241constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MIN = FileOptions_OptimizeMode_SPEED; 242constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MAX = FileOptions_OptimizeMode_LITE_RUNTIME; 243constexpr int FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE = FileOptions_OptimizeMode_OptimizeMode_MAX + 1; 244 245PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FileOptions_OptimizeMode_descriptor(); 246template<typename T> 247inline const std::string& FileOptions_OptimizeMode_Name(T enum_t_value) { 248 static_assert(::std::is_same<T, FileOptions_OptimizeMode>::value || 249 ::std::is_integral<T>::value, 250 "Incorrect type passed to function FileOptions_OptimizeMode_Name."); 251 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( 252 FileOptions_OptimizeMode_descriptor(), enum_t_value); 253} 254inline bool FileOptions_OptimizeMode_Parse( 255 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FileOptions_OptimizeMode* value) { 256 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FileOptions_OptimizeMode>( 257 FileOptions_OptimizeMode_descriptor(), name, value); 258} 259enum FieldOptions_CType : int { 260 FieldOptions_CType_STRING = 0, 261 FieldOptions_CType_CORD = 1, 262 FieldOptions_CType_STRING_PIECE = 2 263}; 264PROTOBUF_EXPORT bool FieldOptions_CType_IsValid(int value); 265constexpr FieldOptions_CType FieldOptions_CType_CType_MIN = FieldOptions_CType_STRING; 266constexpr FieldOptions_CType FieldOptions_CType_CType_MAX = FieldOptions_CType_STRING_PIECE; 267constexpr int FieldOptions_CType_CType_ARRAYSIZE = FieldOptions_CType_CType_MAX + 1; 268 269PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldOptions_CType_descriptor(); 270template<typename T> 271inline const std::string& FieldOptions_CType_Name(T enum_t_value) { 272 static_assert(::std::is_same<T, FieldOptions_CType>::value || 273 ::std::is_integral<T>::value, 274 "Incorrect type passed to function FieldOptions_CType_Name."); 275 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( 276 FieldOptions_CType_descriptor(), enum_t_value); 277} 278inline bool FieldOptions_CType_Parse( 279 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldOptions_CType* value) { 280 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldOptions_CType>( 281 FieldOptions_CType_descriptor(), name, value); 282} 283enum FieldOptions_JSType : int { 284 FieldOptions_JSType_JS_NORMAL = 0, 285 FieldOptions_JSType_JS_STRING = 1, 286 FieldOptions_JSType_JS_NUMBER = 2 287}; 288PROTOBUF_EXPORT bool FieldOptions_JSType_IsValid(int value); 289constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MIN = FieldOptions_JSType_JS_NORMAL; 290constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MAX = FieldOptions_JSType_JS_NUMBER; 291constexpr int FieldOptions_JSType_JSType_ARRAYSIZE = FieldOptions_JSType_JSType_MAX + 1; 292 293PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldOptions_JSType_descriptor(); 294template<typename T> 295inline const std::string& FieldOptions_JSType_Name(T enum_t_value) { 296 static_assert(::std::is_same<T, FieldOptions_JSType>::value || 297 ::std::is_integral<T>::value, 298 "Incorrect type passed to function FieldOptions_JSType_Name."); 299 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( 300 FieldOptions_JSType_descriptor(), enum_t_value); 301} 302inline bool FieldOptions_JSType_Parse( 303 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldOptions_JSType* value) { 304 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldOptions_JSType>( 305 FieldOptions_JSType_descriptor(), name, value); 306} 307enum MethodOptions_IdempotencyLevel : int { 308 MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN = 0, 309 MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS = 1, 310 MethodOptions_IdempotencyLevel_IDEMPOTENT = 2 311}; 312PROTOBUF_EXPORT bool MethodOptions_IdempotencyLevel_IsValid(int value); 313constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN = MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN; 314constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX = MethodOptions_IdempotencyLevel_IDEMPOTENT; 315constexpr int MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE = MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX + 1; 316 317PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MethodOptions_IdempotencyLevel_descriptor(); 318template<typename T> 319inline const std::string& MethodOptions_IdempotencyLevel_Name(T enum_t_value) { 320 static_assert(::std::is_same<T, MethodOptions_IdempotencyLevel>::value || 321 ::std::is_integral<T>::value, 322 "Incorrect type passed to function MethodOptions_IdempotencyLevel_Name."); 323 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( 324 MethodOptions_IdempotencyLevel_descriptor(), enum_t_value); 325} 326inline bool MethodOptions_IdempotencyLevel_Parse( 327 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MethodOptions_IdempotencyLevel* value) { 328 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<MethodOptions_IdempotencyLevel>( 329 MethodOptions_IdempotencyLevel_descriptor(), name, value); 330} 331// =================================================================== 332 333class PROTOBUF_EXPORT FileDescriptorSet PROTOBUF_FINAL : 334 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorSet) */ { 335 public: 336 inline FileDescriptorSet() : FileDescriptorSet(nullptr) {} 337 virtual ~FileDescriptorSet(); 338 339 FileDescriptorSet(const FileDescriptorSet& from); 340 FileDescriptorSet(FileDescriptorSet&& from) noexcept 341 : FileDescriptorSet() { 342 *this = ::std::move(from); 343 } 344 345 inline FileDescriptorSet& operator=(const FileDescriptorSet& from) { 346 CopyFrom(from); 347 return *this; 348 } 349 inline FileDescriptorSet& operator=(FileDescriptorSet&& from) noexcept { 350 if (GetArena() == from.GetArena()) { 351 if (this != &from) InternalSwap(&from); 352 } else { 353 CopyFrom(from); 354 } 355 return *this; 356 } 357 358 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 359 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 360 } 361 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 362 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 363 } 364 365 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 366 return GetDescriptor(); 367 } 368 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 369 return GetMetadataStatic().descriptor; 370 } 371 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 372 return GetMetadataStatic().reflection; 373 } 374 static const FileDescriptorSet& default_instance(); 375 376 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 377 static inline const FileDescriptorSet* internal_default_instance() { 378 return reinterpret_cast<const FileDescriptorSet*>( 379 &_FileDescriptorSet_default_instance_); 380 } 381 static constexpr int kIndexInFileMessages = 382 0; 383 384 friend void swap(FileDescriptorSet& a, FileDescriptorSet& b) { 385 a.Swap(&b); 386 } 387 inline void Swap(FileDescriptorSet* other) { 388 if (other == this) return; 389 if (GetArena() == other->GetArena()) { 390 InternalSwap(other); 391 } else { 392 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 393 } 394 } 395 void UnsafeArenaSwap(FileDescriptorSet* other) { 396 if (other == this) return; 397 GOOGLE_DCHECK(GetArena() == other->GetArena()); 398 InternalSwap(other); 399 } 400 401 // implements Message ---------------------------------------------- 402 403 inline FileDescriptorSet* New() const final { 404 return CreateMaybeMessage<FileDescriptorSet>(nullptr); 405 } 406 407 FileDescriptorSet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 408 return CreateMaybeMessage<FileDescriptorSet>(arena); 409 } 410 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 411 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 412 void CopyFrom(const FileDescriptorSet& from); 413 void MergeFrom(const FileDescriptorSet& from); 414 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 415 bool IsInitialized() const final; 416 417 size_t ByteSizeLong() const final; 418 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 419 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 420 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 421 int GetCachedSize() const final { return _cached_size_.Get(); } 422 423 private: 424 inline void SharedCtor(); 425 inline void SharedDtor(); 426 void SetCachedSize(int size) const final; 427 void InternalSwap(FileDescriptorSet* other); 428 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 429 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 430 return "google.protobuf.FileDescriptorSet"; 431 } 432 protected: 433 explicit FileDescriptorSet(::PROTOBUF_NAMESPACE_ID::Arena* arena); 434 private: 435 static void ArenaDtor(void* object); 436 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 437 public: 438 439 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 440 private: 441 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 442 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 443 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 444 } 445 446 public: 447 448 // nested types ---------------------------------------------------- 449 450 // accessors ------------------------------------------------------- 451 452 enum : int { 453 kFileFieldNumber = 1, 454 }; 455 // repeated .google.protobuf.FileDescriptorProto file = 1; 456 int file_size() const; 457 private: 458 int _internal_file_size() const; 459 public: 460 void clear_file(); 461 PROTOBUF_NAMESPACE_ID::FileDescriptorProto* mutable_file(int index); 462 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >* 463 mutable_file(); 464 private: 465 const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& _internal_file(int index) const; 466 PROTOBUF_NAMESPACE_ID::FileDescriptorProto* _internal_add_file(); 467 public: 468 const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& file(int index) const; 469 PROTOBUF_NAMESPACE_ID::FileDescriptorProto* add_file(); 470 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >& 471 file() const; 472 473 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet) 474 private: 475 class _Internal; 476 477 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 478 typedef void InternalArenaConstructable_; 479 typedef void DestructorSkippable_; 480 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto > file_; 481 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 482 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 483}; 484// ------------------------------------------------------------------- 485 486class PROTOBUF_EXPORT FileDescriptorProto PROTOBUF_FINAL : 487 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorProto) */ { 488 public: 489 inline FileDescriptorProto() : FileDescriptorProto(nullptr) {} 490 virtual ~FileDescriptorProto(); 491 492 FileDescriptorProto(const FileDescriptorProto& from); 493 FileDescriptorProto(FileDescriptorProto&& from) noexcept 494 : FileDescriptorProto() { 495 *this = ::std::move(from); 496 } 497 498 inline FileDescriptorProto& operator=(const FileDescriptorProto& from) { 499 CopyFrom(from); 500 return *this; 501 } 502 inline FileDescriptorProto& operator=(FileDescriptorProto&& from) noexcept { 503 if (GetArena() == from.GetArena()) { 504 if (this != &from) InternalSwap(&from); 505 } else { 506 CopyFrom(from); 507 } 508 return *this; 509 } 510 511 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 512 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 513 } 514 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 515 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 516 } 517 518 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 519 return GetDescriptor(); 520 } 521 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 522 return GetMetadataStatic().descriptor; 523 } 524 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 525 return GetMetadataStatic().reflection; 526 } 527 static const FileDescriptorProto& default_instance(); 528 529 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 530 static inline const FileDescriptorProto* internal_default_instance() { 531 return reinterpret_cast<const FileDescriptorProto*>( 532 &_FileDescriptorProto_default_instance_); 533 } 534 static constexpr int kIndexInFileMessages = 535 1; 536 537 friend void swap(FileDescriptorProto& a, FileDescriptorProto& b) { 538 a.Swap(&b); 539 } 540 inline void Swap(FileDescriptorProto* other) { 541 if (other == this) return; 542 if (GetArena() == other->GetArena()) { 543 InternalSwap(other); 544 } else { 545 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 546 } 547 } 548 void UnsafeArenaSwap(FileDescriptorProto* other) { 549 if (other == this) return; 550 GOOGLE_DCHECK(GetArena() == other->GetArena()); 551 InternalSwap(other); 552 } 553 554 // implements Message ---------------------------------------------- 555 556 inline FileDescriptorProto* New() const final { 557 return CreateMaybeMessage<FileDescriptorProto>(nullptr); 558 } 559 560 FileDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 561 return CreateMaybeMessage<FileDescriptorProto>(arena); 562 } 563 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 564 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 565 void CopyFrom(const FileDescriptorProto& from); 566 void MergeFrom(const FileDescriptorProto& from); 567 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 568 bool IsInitialized() const final; 569 570 size_t ByteSizeLong() const final; 571 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 572 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 573 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 574 int GetCachedSize() const final { return _cached_size_.Get(); } 575 576 private: 577 inline void SharedCtor(); 578 inline void SharedDtor(); 579 void SetCachedSize(int size) const final; 580 void InternalSwap(FileDescriptorProto* other); 581 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 582 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 583 return "google.protobuf.FileDescriptorProto"; 584 } 585 protected: 586 explicit FileDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena); 587 private: 588 static void ArenaDtor(void* object); 589 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 590 public: 591 592 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 593 private: 594 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 595 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 596 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 597 } 598 599 public: 600 601 // nested types ---------------------------------------------------- 602 603 // accessors ------------------------------------------------------- 604 605 enum : int { 606 kDependencyFieldNumber = 3, 607 kMessageTypeFieldNumber = 4, 608 kEnumTypeFieldNumber = 5, 609 kServiceFieldNumber = 6, 610 kExtensionFieldNumber = 7, 611 kPublicDependencyFieldNumber = 10, 612 kWeakDependencyFieldNumber = 11, 613 kNameFieldNumber = 1, 614 kPackageFieldNumber = 2, 615 kSyntaxFieldNumber = 12, 616 kOptionsFieldNumber = 8, 617 kSourceCodeInfoFieldNumber = 9, 618 }; 619 // repeated string dependency = 3; 620 int dependency_size() const; 621 private: 622 int _internal_dependency_size() const; 623 public: 624 void clear_dependency(); 625 const std::string& dependency(int index) const; 626 std::string* mutable_dependency(int index); 627 void set_dependency(int index, const std::string& value); 628 void set_dependency(int index, std::string&& value); 629 void set_dependency(int index, const char* value); 630 void set_dependency(int index, const char* value, size_t size); 631 std::string* add_dependency(); 632 void add_dependency(const std::string& value); 633 void add_dependency(std::string&& value); 634 void add_dependency(const char* value); 635 void add_dependency(const char* value, size_t size); 636 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& dependency() const; 637 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_dependency(); 638 private: 639 const std::string& _internal_dependency(int index) const; 640 std::string* _internal_add_dependency(); 641 public: 642 643 // repeated .google.protobuf.DescriptorProto message_type = 4; 644 int message_type_size() const; 645 private: 646 int _internal_message_type_size() const; 647 public: 648 void clear_message_type(); 649 PROTOBUF_NAMESPACE_ID::DescriptorProto* mutable_message_type(int index); 650 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >* 651 mutable_message_type(); 652 private: 653 const PROTOBUF_NAMESPACE_ID::DescriptorProto& _internal_message_type(int index) const; 654 PROTOBUF_NAMESPACE_ID::DescriptorProto* _internal_add_message_type(); 655 public: 656 const PROTOBUF_NAMESPACE_ID::DescriptorProto& message_type(int index) const; 657 PROTOBUF_NAMESPACE_ID::DescriptorProto* add_message_type(); 658 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >& 659 message_type() const; 660 661 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; 662 int enum_type_size() const; 663 private: 664 int _internal_enum_type_size() const; 665 public: 666 void clear_enum_type(); 667 PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* mutable_enum_type(int index); 668 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >* 669 mutable_enum_type(); 670 private: 671 const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& _internal_enum_type(int index) const; 672 PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _internal_add_enum_type(); 673 public: 674 const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& enum_type(int index) const; 675 PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* add_enum_type(); 676 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >& 677 enum_type() const; 678 679 // repeated .google.protobuf.ServiceDescriptorProto service = 6; 680 int service_size() const; 681 private: 682 int _internal_service_size() const; 683 public: 684 void clear_service(); 685 PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* mutable_service(int index); 686 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >* 687 mutable_service(); 688 private: 689 const PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& _internal_service(int index) const; 690 PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* _internal_add_service(); 691 public: 692 const PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& service(int index) const; 693 PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* add_service(); 694 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >& 695 service() const; 696 697 // repeated .google.protobuf.FieldDescriptorProto extension = 7; 698 int extension_size() const; 699 private: 700 int _internal_extension_size() const; 701 public: 702 void clear_extension(); 703 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_extension(int index); 704 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* 705 mutable_extension(); 706 private: 707 const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_extension(int index) const; 708 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_extension(); 709 public: 710 const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& extension(int index) const; 711 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_extension(); 712 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& 713 extension() const; 714 715 // repeated int32 public_dependency = 10; 716 int public_dependency_size() const; 717 private: 718 int _internal_public_dependency_size() const; 719 public: 720 void clear_public_dependency(); 721 private: 722 ::PROTOBUF_NAMESPACE_ID::int32 _internal_public_dependency(int index) const; 723 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 724 _internal_public_dependency() const; 725 void _internal_add_public_dependency(::PROTOBUF_NAMESPACE_ID::int32 value); 726 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 727 _internal_mutable_public_dependency(); 728 public: 729 ::PROTOBUF_NAMESPACE_ID::int32 public_dependency(int index) const; 730 void set_public_dependency(int index, ::PROTOBUF_NAMESPACE_ID::int32 value); 731 void add_public_dependency(::PROTOBUF_NAMESPACE_ID::int32 value); 732 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 733 public_dependency() const; 734 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 735 mutable_public_dependency(); 736 737 // repeated int32 weak_dependency = 11; 738 int weak_dependency_size() const; 739 private: 740 int _internal_weak_dependency_size() const; 741 public: 742 void clear_weak_dependency(); 743 private: 744 ::PROTOBUF_NAMESPACE_ID::int32 _internal_weak_dependency(int index) const; 745 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 746 _internal_weak_dependency() const; 747 void _internal_add_weak_dependency(::PROTOBUF_NAMESPACE_ID::int32 value); 748 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 749 _internal_mutable_weak_dependency(); 750 public: 751 ::PROTOBUF_NAMESPACE_ID::int32 weak_dependency(int index) const; 752 void set_weak_dependency(int index, ::PROTOBUF_NAMESPACE_ID::int32 value); 753 void add_weak_dependency(::PROTOBUF_NAMESPACE_ID::int32 value); 754 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 755 weak_dependency() const; 756 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 757 mutable_weak_dependency(); 758 759 // optional string name = 1; 760 bool has_name() const; 761 private: 762 bool _internal_has_name() const; 763 public: 764 void clear_name(); 765 const std::string& name() const; 766 void set_name(const std::string& value); 767 void set_name(std::string&& value); 768 void set_name(const char* value); 769 void set_name(const char* value, size_t size); 770 std::string* mutable_name(); 771 std::string* release_name(); 772 void set_allocated_name(std::string* name); 773 private: 774 const std::string& _internal_name() const; 775 void _internal_set_name(const std::string& value); 776 std::string* _internal_mutable_name(); 777 public: 778 779 // optional string package = 2; 780 bool has_package() const; 781 private: 782 bool _internal_has_package() const; 783 public: 784 void clear_package(); 785 const std::string& package() const; 786 void set_package(const std::string& value); 787 void set_package(std::string&& value); 788 void set_package(const char* value); 789 void set_package(const char* value, size_t size); 790 std::string* mutable_package(); 791 std::string* release_package(); 792 void set_allocated_package(std::string* package); 793 private: 794 const std::string& _internal_package() const; 795 void _internal_set_package(const std::string& value); 796 std::string* _internal_mutable_package(); 797 public: 798 799 // optional string syntax = 12; 800 bool has_syntax() const; 801 private: 802 bool _internal_has_syntax() const; 803 public: 804 void clear_syntax(); 805 const std::string& syntax() const; 806 void set_syntax(const std::string& value); 807 void set_syntax(std::string&& value); 808 void set_syntax(const char* value); 809 void set_syntax(const char* value, size_t size); 810 std::string* mutable_syntax(); 811 std::string* release_syntax(); 812 void set_allocated_syntax(std::string* syntax); 813 private: 814 const std::string& _internal_syntax() const; 815 void _internal_set_syntax(const std::string& value); 816 std::string* _internal_mutable_syntax(); 817 public: 818 819 // optional .google.protobuf.FileOptions options = 8; 820 bool has_options() const; 821 private: 822 bool _internal_has_options() const; 823 public: 824 void clear_options(); 825 const PROTOBUF_NAMESPACE_ID::FileOptions& options() const; 826 PROTOBUF_NAMESPACE_ID::FileOptions* release_options(); 827 PROTOBUF_NAMESPACE_ID::FileOptions* mutable_options(); 828 void set_allocated_options(PROTOBUF_NAMESPACE_ID::FileOptions* options); 829 private: 830 const PROTOBUF_NAMESPACE_ID::FileOptions& _internal_options() const; 831 PROTOBUF_NAMESPACE_ID::FileOptions* _internal_mutable_options(); 832 public: 833 void unsafe_arena_set_allocated_options( 834 PROTOBUF_NAMESPACE_ID::FileOptions* options); 835 PROTOBUF_NAMESPACE_ID::FileOptions* unsafe_arena_release_options(); 836 837 // optional .google.protobuf.SourceCodeInfo source_code_info = 9; 838 bool has_source_code_info() const; 839 private: 840 bool _internal_has_source_code_info() const; 841 public: 842 void clear_source_code_info(); 843 const PROTOBUF_NAMESPACE_ID::SourceCodeInfo& source_code_info() const; 844 PROTOBUF_NAMESPACE_ID::SourceCodeInfo* release_source_code_info(); 845 PROTOBUF_NAMESPACE_ID::SourceCodeInfo* mutable_source_code_info(); 846 void set_allocated_source_code_info(PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info); 847 private: 848 const PROTOBUF_NAMESPACE_ID::SourceCodeInfo& _internal_source_code_info() const; 849 PROTOBUF_NAMESPACE_ID::SourceCodeInfo* _internal_mutable_source_code_info(); 850 public: 851 void unsafe_arena_set_allocated_source_code_info( 852 PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info); 853 PROTOBUF_NAMESPACE_ID::SourceCodeInfo* unsafe_arena_release_source_code_info(); 854 855 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto) 856 private: 857 class _Internal; 858 859 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 860 typedef void InternalArenaConstructable_; 861 typedef void DestructorSkippable_; 862 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 863 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 864 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> dependency_; 865 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto > message_type_; 866 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto > enum_type_; 867 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto > service_; 868 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > extension_; 869 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > public_dependency_; 870 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > weak_dependency_; 871 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; 872 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr package_; 873 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr syntax_; 874 PROTOBUF_NAMESPACE_ID::FileOptions* options_; 875 PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info_; 876 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 877}; 878// ------------------------------------------------------------------- 879 880class PROTOBUF_EXPORT DescriptorProto_ExtensionRange PROTOBUF_FINAL : 881 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ExtensionRange) */ { 882 public: 883 inline DescriptorProto_ExtensionRange() : DescriptorProto_ExtensionRange(nullptr) {} 884 virtual ~DescriptorProto_ExtensionRange(); 885 886 DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from); 887 DescriptorProto_ExtensionRange(DescriptorProto_ExtensionRange&& from) noexcept 888 : DescriptorProto_ExtensionRange() { 889 *this = ::std::move(from); 890 } 891 892 inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) { 893 CopyFrom(from); 894 return *this; 895 } 896 inline DescriptorProto_ExtensionRange& operator=(DescriptorProto_ExtensionRange&& from) noexcept { 897 if (GetArena() == from.GetArena()) { 898 if (this != &from) InternalSwap(&from); 899 } else { 900 CopyFrom(from); 901 } 902 return *this; 903 } 904 905 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 906 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 907 } 908 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 909 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 910 } 911 912 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 913 return GetDescriptor(); 914 } 915 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 916 return GetMetadataStatic().descriptor; 917 } 918 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 919 return GetMetadataStatic().reflection; 920 } 921 static const DescriptorProto_ExtensionRange& default_instance(); 922 923 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 924 static inline const DescriptorProto_ExtensionRange* internal_default_instance() { 925 return reinterpret_cast<const DescriptorProto_ExtensionRange*>( 926 &_DescriptorProto_ExtensionRange_default_instance_); 927 } 928 static constexpr int kIndexInFileMessages = 929 2; 930 931 friend void swap(DescriptorProto_ExtensionRange& a, DescriptorProto_ExtensionRange& b) { 932 a.Swap(&b); 933 } 934 inline void Swap(DescriptorProto_ExtensionRange* other) { 935 if (other == this) return; 936 if (GetArena() == other->GetArena()) { 937 InternalSwap(other); 938 } else { 939 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 940 } 941 } 942 void UnsafeArenaSwap(DescriptorProto_ExtensionRange* other) { 943 if (other == this) return; 944 GOOGLE_DCHECK(GetArena() == other->GetArena()); 945 InternalSwap(other); 946 } 947 948 // implements Message ---------------------------------------------- 949 950 inline DescriptorProto_ExtensionRange* New() const final { 951 return CreateMaybeMessage<DescriptorProto_ExtensionRange>(nullptr); 952 } 953 954 DescriptorProto_ExtensionRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 955 return CreateMaybeMessage<DescriptorProto_ExtensionRange>(arena); 956 } 957 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 958 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 959 void CopyFrom(const DescriptorProto_ExtensionRange& from); 960 void MergeFrom(const DescriptorProto_ExtensionRange& from); 961 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 962 bool IsInitialized() const final; 963 964 size_t ByteSizeLong() const final; 965 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 966 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 967 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 968 int GetCachedSize() const final { return _cached_size_.Get(); } 969 970 private: 971 inline void SharedCtor(); 972 inline void SharedDtor(); 973 void SetCachedSize(int size) const final; 974 void InternalSwap(DescriptorProto_ExtensionRange* other); 975 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 976 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 977 return "google.protobuf.DescriptorProto.ExtensionRange"; 978 } 979 protected: 980 explicit DescriptorProto_ExtensionRange(::PROTOBUF_NAMESPACE_ID::Arena* arena); 981 private: 982 static void ArenaDtor(void* object); 983 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 984 public: 985 986 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 987 private: 988 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 989 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 990 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 991 } 992 993 public: 994 995 // nested types ---------------------------------------------------- 996 997 // accessors ------------------------------------------------------- 998 999 enum : int { 1000 kOptionsFieldNumber = 3, 1001 kStartFieldNumber = 1, 1002 kEndFieldNumber = 2, 1003 }; 1004 // optional .google.protobuf.ExtensionRangeOptions options = 3; 1005 bool has_options() const; 1006 private: 1007 bool _internal_has_options() const; 1008 public: 1009 void clear_options(); 1010 const PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& options() const; 1011 PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* release_options(); 1012 PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* mutable_options(); 1013 void set_allocated_options(PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options); 1014 private: 1015 const PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& _internal_options() const; 1016 PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* _internal_mutable_options(); 1017 public: 1018 void unsafe_arena_set_allocated_options( 1019 PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options); 1020 PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* unsafe_arena_release_options(); 1021 1022 // optional int32 start = 1; 1023 bool has_start() const; 1024 private: 1025 bool _internal_has_start() const; 1026 public: 1027 void clear_start(); 1028 ::PROTOBUF_NAMESPACE_ID::int32 start() const; 1029 void set_start(::PROTOBUF_NAMESPACE_ID::int32 value); 1030 private: 1031 ::PROTOBUF_NAMESPACE_ID::int32 _internal_start() const; 1032 void _internal_set_start(::PROTOBUF_NAMESPACE_ID::int32 value); 1033 public: 1034 1035 // optional int32 end = 2; 1036 bool has_end() const; 1037 private: 1038 bool _internal_has_end() const; 1039 public: 1040 void clear_end(); 1041 ::PROTOBUF_NAMESPACE_ID::int32 end() const; 1042 void set_end(::PROTOBUF_NAMESPACE_ID::int32 value); 1043 private: 1044 ::PROTOBUF_NAMESPACE_ID::int32 _internal_end() const; 1045 void _internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value); 1046 public: 1047 1048 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange) 1049 private: 1050 class _Internal; 1051 1052 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 1053 typedef void InternalArenaConstructable_; 1054 typedef void DestructorSkippable_; 1055 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 1056 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 1057 PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options_; 1058 ::PROTOBUF_NAMESPACE_ID::int32 start_; 1059 ::PROTOBUF_NAMESPACE_ID::int32 end_; 1060 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 1061}; 1062// ------------------------------------------------------------------- 1063 1064class PROTOBUF_EXPORT DescriptorProto_ReservedRange PROTOBUF_FINAL : 1065 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ReservedRange) */ { 1066 public: 1067 inline DescriptorProto_ReservedRange() : DescriptorProto_ReservedRange(nullptr) {} 1068 virtual ~DescriptorProto_ReservedRange(); 1069 1070 DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from); 1071 DescriptorProto_ReservedRange(DescriptorProto_ReservedRange&& from) noexcept 1072 : DescriptorProto_ReservedRange() { 1073 *this = ::std::move(from); 1074 } 1075 1076 inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_ReservedRange& from) { 1077 CopyFrom(from); 1078 return *this; 1079 } 1080 inline DescriptorProto_ReservedRange& operator=(DescriptorProto_ReservedRange&& from) noexcept { 1081 if (GetArena() == from.GetArena()) { 1082 if (this != &from) InternalSwap(&from); 1083 } else { 1084 CopyFrom(from); 1085 } 1086 return *this; 1087 } 1088 1089 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 1090 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 1091 } 1092 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 1093 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 1094 } 1095 1096 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 1097 return GetDescriptor(); 1098 } 1099 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 1100 return GetMetadataStatic().descriptor; 1101 } 1102 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 1103 return GetMetadataStatic().reflection; 1104 } 1105 static const DescriptorProto_ReservedRange& default_instance(); 1106 1107 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 1108 static inline const DescriptorProto_ReservedRange* internal_default_instance() { 1109 return reinterpret_cast<const DescriptorProto_ReservedRange*>( 1110 &_DescriptorProto_ReservedRange_default_instance_); 1111 } 1112 static constexpr int kIndexInFileMessages = 1113 3; 1114 1115 friend void swap(DescriptorProto_ReservedRange& a, DescriptorProto_ReservedRange& b) { 1116 a.Swap(&b); 1117 } 1118 inline void Swap(DescriptorProto_ReservedRange* other) { 1119 if (other == this) return; 1120 if (GetArena() == other->GetArena()) { 1121 InternalSwap(other); 1122 } else { 1123 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 1124 } 1125 } 1126 void UnsafeArenaSwap(DescriptorProto_ReservedRange* other) { 1127 if (other == this) return; 1128 GOOGLE_DCHECK(GetArena() == other->GetArena()); 1129 InternalSwap(other); 1130 } 1131 1132 // implements Message ---------------------------------------------- 1133 1134 inline DescriptorProto_ReservedRange* New() const final { 1135 return CreateMaybeMessage<DescriptorProto_ReservedRange>(nullptr); 1136 } 1137 1138 DescriptorProto_ReservedRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 1139 return CreateMaybeMessage<DescriptorProto_ReservedRange>(arena); 1140 } 1141 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 1142 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 1143 void CopyFrom(const DescriptorProto_ReservedRange& from); 1144 void MergeFrom(const DescriptorProto_ReservedRange& from); 1145 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 1146 bool IsInitialized() const final; 1147 1148 size_t ByteSizeLong() const final; 1149 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 1150 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 1151 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 1152 int GetCachedSize() const final { return _cached_size_.Get(); } 1153 1154 private: 1155 inline void SharedCtor(); 1156 inline void SharedDtor(); 1157 void SetCachedSize(int size) const final; 1158 void InternalSwap(DescriptorProto_ReservedRange* other); 1159 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 1160 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 1161 return "google.protobuf.DescriptorProto.ReservedRange"; 1162 } 1163 protected: 1164 explicit DescriptorProto_ReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena); 1165 private: 1166 static void ArenaDtor(void* object); 1167 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 1168 public: 1169 1170 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 1171 private: 1172 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 1173 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 1174 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 1175 } 1176 1177 public: 1178 1179 // nested types ---------------------------------------------------- 1180 1181 // accessors ------------------------------------------------------- 1182 1183 enum : int { 1184 kStartFieldNumber = 1, 1185 kEndFieldNumber = 2, 1186 }; 1187 // optional int32 start = 1; 1188 bool has_start() const; 1189 private: 1190 bool _internal_has_start() const; 1191 public: 1192 void clear_start(); 1193 ::PROTOBUF_NAMESPACE_ID::int32 start() const; 1194 void set_start(::PROTOBUF_NAMESPACE_ID::int32 value); 1195 private: 1196 ::PROTOBUF_NAMESPACE_ID::int32 _internal_start() const; 1197 void _internal_set_start(::PROTOBUF_NAMESPACE_ID::int32 value); 1198 public: 1199 1200 // optional int32 end = 2; 1201 bool has_end() const; 1202 private: 1203 bool _internal_has_end() const; 1204 public: 1205 void clear_end(); 1206 ::PROTOBUF_NAMESPACE_ID::int32 end() const; 1207 void set_end(::PROTOBUF_NAMESPACE_ID::int32 value); 1208 private: 1209 ::PROTOBUF_NAMESPACE_ID::int32 _internal_end() const; 1210 void _internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value); 1211 public: 1212 1213 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ReservedRange) 1214 private: 1215 class _Internal; 1216 1217 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 1218 typedef void InternalArenaConstructable_; 1219 typedef void DestructorSkippable_; 1220 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 1221 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 1222 ::PROTOBUF_NAMESPACE_ID::int32 start_; 1223 ::PROTOBUF_NAMESPACE_ID::int32 end_; 1224 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 1225}; 1226// ------------------------------------------------------------------- 1227 1228class PROTOBUF_EXPORT DescriptorProto PROTOBUF_FINAL : 1229 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto) */ { 1230 public: 1231 inline DescriptorProto() : DescriptorProto(nullptr) {} 1232 virtual ~DescriptorProto(); 1233 1234 DescriptorProto(const DescriptorProto& from); 1235 DescriptorProto(DescriptorProto&& from) noexcept 1236 : DescriptorProto() { 1237 *this = ::std::move(from); 1238 } 1239 1240 inline DescriptorProto& operator=(const DescriptorProto& from) { 1241 CopyFrom(from); 1242 return *this; 1243 } 1244 inline DescriptorProto& operator=(DescriptorProto&& from) noexcept { 1245 if (GetArena() == from.GetArena()) { 1246 if (this != &from) InternalSwap(&from); 1247 } else { 1248 CopyFrom(from); 1249 } 1250 return *this; 1251 } 1252 1253 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 1254 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 1255 } 1256 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 1257 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 1258 } 1259 1260 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 1261 return GetDescriptor(); 1262 } 1263 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 1264 return GetMetadataStatic().descriptor; 1265 } 1266 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 1267 return GetMetadataStatic().reflection; 1268 } 1269 static const DescriptorProto& default_instance(); 1270 1271 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 1272 static inline const DescriptorProto* internal_default_instance() { 1273 return reinterpret_cast<const DescriptorProto*>( 1274 &_DescriptorProto_default_instance_); 1275 } 1276 static constexpr int kIndexInFileMessages = 1277 4; 1278 1279 friend void swap(DescriptorProto& a, DescriptorProto& b) { 1280 a.Swap(&b); 1281 } 1282 inline void Swap(DescriptorProto* other) { 1283 if (other == this) return; 1284 if (GetArena() == other->GetArena()) { 1285 InternalSwap(other); 1286 } else { 1287 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 1288 } 1289 } 1290 void UnsafeArenaSwap(DescriptorProto* other) { 1291 if (other == this) return; 1292 GOOGLE_DCHECK(GetArena() == other->GetArena()); 1293 InternalSwap(other); 1294 } 1295 1296 // implements Message ---------------------------------------------- 1297 1298 inline DescriptorProto* New() const final { 1299 return CreateMaybeMessage<DescriptorProto>(nullptr); 1300 } 1301 1302 DescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 1303 return CreateMaybeMessage<DescriptorProto>(arena); 1304 } 1305 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 1306 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 1307 void CopyFrom(const DescriptorProto& from); 1308 void MergeFrom(const DescriptorProto& from); 1309 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 1310 bool IsInitialized() const final; 1311 1312 size_t ByteSizeLong() const final; 1313 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 1314 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 1315 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 1316 int GetCachedSize() const final { return _cached_size_.Get(); } 1317 1318 private: 1319 inline void SharedCtor(); 1320 inline void SharedDtor(); 1321 void SetCachedSize(int size) const final; 1322 void InternalSwap(DescriptorProto* other); 1323 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 1324 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 1325 return "google.protobuf.DescriptorProto"; 1326 } 1327 protected: 1328 explicit DescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena); 1329 private: 1330 static void ArenaDtor(void* object); 1331 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 1332 public: 1333 1334 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 1335 private: 1336 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 1337 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 1338 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 1339 } 1340 1341 public: 1342 1343 // nested types ---------------------------------------------------- 1344 1345 typedef DescriptorProto_ExtensionRange ExtensionRange; 1346 typedef DescriptorProto_ReservedRange ReservedRange; 1347 1348 // accessors ------------------------------------------------------- 1349 1350 enum : int { 1351 kFieldFieldNumber = 2, 1352 kNestedTypeFieldNumber = 3, 1353 kEnumTypeFieldNumber = 4, 1354 kExtensionRangeFieldNumber = 5, 1355 kExtensionFieldNumber = 6, 1356 kOneofDeclFieldNumber = 8, 1357 kReservedRangeFieldNumber = 9, 1358 kReservedNameFieldNumber = 10, 1359 kNameFieldNumber = 1, 1360 kOptionsFieldNumber = 7, 1361 }; 1362 // repeated .google.protobuf.FieldDescriptorProto field = 2; 1363 int field_size() const; 1364 private: 1365 int _internal_field_size() const; 1366 public: 1367 void clear_field(); 1368 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_field(int index); 1369 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* 1370 mutable_field(); 1371 private: 1372 const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_field(int index) const; 1373 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_field(); 1374 public: 1375 const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& field(int index) const; 1376 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_field(); 1377 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& 1378 field() const; 1379 1380 // repeated .google.protobuf.DescriptorProto nested_type = 3; 1381 int nested_type_size() const; 1382 private: 1383 int _internal_nested_type_size() const; 1384 public: 1385 void clear_nested_type(); 1386 PROTOBUF_NAMESPACE_ID::DescriptorProto* mutable_nested_type(int index); 1387 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >* 1388 mutable_nested_type(); 1389 private: 1390 const PROTOBUF_NAMESPACE_ID::DescriptorProto& _internal_nested_type(int index) const; 1391 PROTOBUF_NAMESPACE_ID::DescriptorProto* _internal_add_nested_type(); 1392 public: 1393 const PROTOBUF_NAMESPACE_ID::DescriptorProto& nested_type(int index) const; 1394 PROTOBUF_NAMESPACE_ID::DescriptorProto* add_nested_type(); 1395 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >& 1396 nested_type() const; 1397 1398 // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; 1399 int enum_type_size() const; 1400 private: 1401 int _internal_enum_type_size() const; 1402 public: 1403 void clear_enum_type(); 1404 PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* mutable_enum_type(int index); 1405 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >* 1406 mutable_enum_type(); 1407 private: 1408 const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& _internal_enum_type(int index) const; 1409 PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _internal_add_enum_type(); 1410 public: 1411 const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& enum_type(int index) const; 1412 PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* add_enum_type(); 1413 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >& 1414 enum_type() const; 1415 1416 // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; 1417 int extension_range_size() const; 1418 private: 1419 int _internal_extension_range_size() const; 1420 public: 1421 void clear_extension_range(); 1422 PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* mutable_extension_range(int index); 1423 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >* 1424 mutable_extension_range(); 1425 private: 1426 const PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& _internal_extension_range(int index) const; 1427 PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* _internal_add_extension_range(); 1428 public: 1429 const PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& extension_range(int index) const; 1430 PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* add_extension_range(); 1431 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >& 1432 extension_range() const; 1433 1434 // repeated .google.protobuf.FieldDescriptorProto extension = 6; 1435 int extension_size() const; 1436 private: 1437 int _internal_extension_size() const; 1438 public: 1439 void clear_extension(); 1440 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_extension(int index); 1441 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* 1442 mutable_extension(); 1443 private: 1444 const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_extension(int index) const; 1445 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_extension(); 1446 public: 1447 const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& extension(int index) const; 1448 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_extension(); 1449 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& 1450 extension() const; 1451 1452 // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; 1453 int oneof_decl_size() const; 1454 private: 1455 int _internal_oneof_decl_size() const; 1456 public: 1457 void clear_oneof_decl(); 1458 PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* mutable_oneof_decl(int index); 1459 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >* 1460 mutable_oneof_decl(); 1461 private: 1462 const PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& _internal_oneof_decl(int index) const; 1463 PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* _internal_add_oneof_decl(); 1464 public: 1465 const PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& oneof_decl(int index) const; 1466 PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* add_oneof_decl(); 1467 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >& 1468 oneof_decl() const; 1469 1470 // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; 1471 int reserved_range_size() const; 1472 private: 1473 int _internal_reserved_range_size() const; 1474 public: 1475 void clear_reserved_range(); 1476 PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* mutable_reserved_range(int index); 1477 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >* 1478 mutable_reserved_range(); 1479 private: 1480 const PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& _internal_reserved_range(int index) const; 1481 PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* _internal_add_reserved_range(); 1482 public: 1483 const PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& reserved_range(int index) const; 1484 PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* add_reserved_range(); 1485 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >& 1486 reserved_range() const; 1487 1488 // repeated string reserved_name = 10; 1489 int reserved_name_size() const; 1490 private: 1491 int _internal_reserved_name_size() const; 1492 public: 1493 void clear_reserved_name(); 1494 const std::string& reserved_name(int index) const; 1495 std::string* mutable_reserved_name(int index); 1496 void set_reserved_name(int index, const std::string& value); 1497 void set_reserved_name(int index, std::string&& value); 1498 void set_reserved_name(int index, const char* value); 1499 void set_reserved_name(int index, const char* value, size_t size); 1500 std::string* add_reserved_name(); 1501 void add_reserved_name(const std::string& value); 1502 void add_reserved_name(std::string&& value); 1503 void add_reserved_name(const char* value); 1504 void add_reserved_name(const char* value, size_t size); 1505 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& reserved_name() const; 1506 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_reserved_name(); 1507 private: 1508 const std::string& _internal_reserved_name(int index) const; 1509 std::string* _internal_add_reserved_name(); 1510 public: 1511 1512 // optional string name = 1; 1513 bool has_name() const; 1514 private: 1515 bool _internal_has_name() const; 1516 public: 1517 void clear_name(); 1518 const std::string& name() const; 1519 void set_name(const std::string& value); 1520 void set_name(std::string&& value); 1521 void set_name(const char* value); 1522 void set_name(const char* value, size_t size); 1523 std::string* mutable_name(); 1524 std::string* release_name(); 1525 void set_allocated_name(std::string* name); 1526 private: 1527 const std::string& _internal_name() const; 1528 void _internal_set_name(const std::string& value); 1529 std::string* _internal_mutable_name(); 1530 public: 1531 1532 // optional .google.protobuf.MessageOptions options = 7; 1533 bool has_options() const; 1534 private: 1535 bool _internal_has_options() const; 1536 public: 1537 void clear_options(); 1538 const PROTOBUF_NAMESPACE_ID::MessageOptions& options() const; 1539 PROTOBUF_NAMESPACE_ID::MessageOptions* release_options(); 1540 PROTOBUF_NAMESPACE_ID::MessageOptions* mutable_options(); 1541 void set_allocated_options(PROTOBUF_NAMESPACE_ID::MessageOptions* options); 1542 private: 1543 const PROTOBUF_NAMESPACE_ID::MessageOptions& _internal_options() const; 1544 PROTOBUF_NAMESPACE_ID::MessageOptions* _internal_mutable_options(); 1545 public: 1546 void unsafe_arena_set_allocated_options( 1547 PROTOBUF_NAMESPACE_ID::MessageOptions* options); 1548 PROTOBUF_NAMESPACE_ID::MessageOptions* unsafe_arena_release_options(); 1549 1550 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto) 1551 private: 1552 class _Internal; 1553 1554 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 1555 typedef void InternalArenaConstructable_; 1556 typedef void DestructorSkippable_; 1557 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 1558 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 1559 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > field_; 1560 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto > nested_type_; 1561 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto > enum_type_; 1562 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange > extension_range_; 1563 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > extension_; 1564 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::OneofDescriptorProto > oneof_decl_; 1565 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange > reserved_range_; 1566 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> reserved_name_; 1567 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; 1568 PROTOBUF_NAMESPACE_ID::MessageOptions* options_; 1569 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 1570}; 1571// ------------------------------------------------------------------- 1572 1573class PROTOBUF_EXPORT ExtensionRangeOptions PROTOBUF_FINAL : 1574 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ExtensionRangeOptions) */ { 1575 public: 1576 inline ExtensionRangeOptions() : ExtensionRangeOptions(nullptr) {} 1577 virtual ~ExtensionRangeOptions(); 1578 1579 ExtensionRangeOptions(const ExtensionRangeOptions& from); 1580 ExtensionRangeOptions(ExtensionRangeOptions&& from) noexcept 1581 : ExtensionRangeOptions() { 1582 *this = ::std::move(from); 1583 } 1584 1585 inline ExtensionRangeOptions& operator=(const ExtensionRangeOptions& from) { 1586 CopyFrom(from); 1587 return *this; 1588 } 1589 inline ExtensionRangeOptions& operator=(ExtensionRangeOptions&& from) noexcept { 1590 if (GetArena() == from.GetArena()) { 1591 if (this != &from) InternalSwap(&from); 1592 } else { 1593 CopyFrom(from); 1594 } 1595 return *this; 1596 } 1597 1598 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 1599 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 1600 } 1601 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 1602 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 1603 } 1604 1605 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 1606 return GetDescriptor(); 1607 } 1608 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 1609 return GetMetadataStatic().descriptor; 1610 } 1611 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 1612 return GetMetadataStatic().reflection; 1613 } 1614 static const ExtensionRangeOptions& default_instance(); 1615 1616 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 1617 static inline const ExtensionRangeOptions* internal_default_instance() { 1618 return reinterpret_cast<const ExtensionRangeOptions*>( 1619 &_ExtensionRangeOptions_default_instance_); 1620 } 1621 static constexpr int kIndexInFileMessages = 1622 5; 1623 1624 friend void swap(ExtensionRangeOptions& a, ExtensionRangeOptions& b) { 1625 a.Swap(&b); 1626 } 1627 inline void Swap(ExtensionRangeOptions* other) { 1628 if (other == this) return; 1629 if (GetArena() == other->GetArena()) { 1630 InternalSwap(other); 1631 } else { 1632 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 1633 } 1634 } 1635 void UnsafeArenaSwap(ExtensionRangeOptions* other) { 1636 if (other == this) return; 1637 GOOGLE_DCHECK(GetArena() == other->GetArena()); 1638 InternalSwap(other); 1639 } 1640 1641 // implements Message ---------------------------------------------- 1642 1643 inline ExtensionRangeOptions* New() const final { 1644 return CreateMaybeMessage<ExtensionRangeOptions>(nullptr); 1645 } 1646 1647 ExtensionRangeOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 1648 return CreateMaybeMessage<ExtensionRangeOptions>(arena); 1649 } 1650 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 1651 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 1652 void CopyFrom(const ExtensionRangeOptions& from); 1653 void MergeFrom(const ExtensionRangeOptions& from); 1654 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 1655 bool IsInitialized() const final; 1656 1657 size_t ByteSizeLong() const final; 1658 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 1659 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 1660 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 1661 int GetCachedSize() const final { return _cached_size_.Get(); } 1662 1663 private: 1664 inline void SharedCtor(); 1665 inline void SharedDtor(); 1666 void SetCachedSize(int size) const final; 1667 void InternalSwap(ExtensionRangeOptions* other); 1668 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 1669 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 1670 return "google.protobuf.ExtensionRangeOptions"; 1671 } 1672 protected: 1673 explicit ExtensionRangeOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena); 1674 private: 1675 static void ArenaDtor(void* object); 1676 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 1677 public: 1678 1679 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 1680 private: 1681 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 1682 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 1683 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 1684 } 1685 1686 public: 1687 1688 // nested types ---------------------------------------------------- 1689 1690 // accessors ------------------------------------------------------- 1691 1692 enum : int { 1693 kUninterpretedOptionFieldNumber = 999, 1694 }; 1695 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 1696 int uninterpreted_option_size() const; 1697 private: 1698 int _internal_uninterpreted_option_size() const; 1699 public: 1700 void clear_uninterpreted_option(); 1701 PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); 1702 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >* 1703 mutable_uninterpreted_option(); 1704 private: 1705 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; 1706 PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); 1707 public: 1708 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; 1709 PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); 1710 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >& 1711 uninterpreted_option() const; 1712 1713 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ExtensionRangeOptions) 1714 // @@protoc_insertion_point(class_scope:google.protobuf.ExtensionRangeOptions) 1715 private: 1716 class _Internal; 1717 1718 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; 1719 1720 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 1721 typedef void InternalArenaConstructable_; 1722 typedef void DestructorSkippable_; 1723 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; 1724 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 1725 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 1726}; 1727// ------------------------------------------------------------------- 1728 1729class PROTOBUF_EXPORT FieldDescriptorProto PROTOBUF_FINAL : 1730 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldDescriptorProto) */ { 1731 public: 1732 inline FieldDescriptorProto() : FieldDescriptorProto(nullptr) {} 1733 virtual ~FieldDescriptorProto(); 1734 1735 FieldDescriptorProto(const FieldDescriptorProto& from); 1736 FieldDescriptorProto(FieldDescriptorProto&& from) noexcept 1737 : FieldDescriptorProto() { 1738 *this = ::std::move(from); 1739 } 1740 1741 inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) { 1742 CopyFrom(from); 1743 return *this; 1744 } 1745 inline FieldDescriptorProto& operator=(FieldDescriptorProto&& from) noexcept { 1746 if (GetArena() == from.GetArena()) { 1747 if (this != &from) InternalSwap(&from); 1748 } else { 1749 CopyFrom(from); 1750 } 1751 return *this; 1752 } 1753 1754 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 1755 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 1756 } 1757 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 1758 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 1759 } 1760 1761 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 1762 return GetDescriptor(); 1763 } 1764 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 1765 return GetMetadataStatic().descriptor; 1766 } 1767 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 1768 return GetMetadataStatic().reflection; 1769 } 1770 static const FieldDescriptorProto& default_instance(); 1771 1772 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 1773 static inline const FieldDescriptorProto* internal_default_instance() { 1774 return reinterpret_cast<const FieldDescriptorProto*>( 1775 &_FieldDescriptorProto_default_instance_); 1776 } 1777 static constexpr int kIndexInFileMessages = 1778 6; 1779 1780 friend void swap(FieldDescriptorProto& a, FieldDescriptorProto& b) { 1781 a.Swap(&b); 1782 } 1783 inline void Swap(FieldDescriptorProto* other) { 1784 if (other == this) return; 1785 if (GetArena() == other->GetArena()) { 1786 InternalSwap(other); 1787 } else { 1788 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 1789 } 1790 } 1791 void UnsafeArenaSwap(FieldDescriptorProto* other) { 1792 if (other == this) return; 1793 GOOGLE_DCHECK(GetArena() == other->GetArena()); 1794 InternalSwap(other); 1795 } 1796 1797 // implements Message ---------------------------------------------- 1798 1799 inline FieldDescriptorProto* New() const final { 1800 return CreateMaybeMessage<FieldDescriptorProto>(nullptr); 1801 } 1802 1803 FieldDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 1804 return CreateMaybeMessage<FieldDescriptorProto>(arena); 1805 } 1806 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 1807 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 1808 void CopyFrom(const FieldDescriptorProto& from); 1809 void MergeFrom(const FieldDescriptorProto& from); 1810 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 1811 bool IsInitialized() const final; 1812 1813 size_t ByteSizeLong() const final; 1814 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 1815 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 1816 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 1817 int GetCachedSize() const final { return _cached_size_.Get(); } 1818 1819 private: 1820 inline void SharedCtor(); 1821 inline void SharedDtor(); 1822 void SetCachedSize(int size) const final; 1823 void InternalSwap(FieldDescriptorProto* other); 1824 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 1825 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 1826 return "google.protobuf.FieldDescriptorProto"; 1827 } 1828 protected: 1829 explicit FieldDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena); 1830 private: 1831 static void ArenaDtor(void* object); 1832 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 1833 public: 1834 1835 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 1836 private: 1837 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 1838 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 1839 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 1840 } 1841 1842 public: 1843 1844 // nested types ---------------------------------------------------- 1845 1846 typedef FieldDescriptorProto_Type Type; 1847 static constexpr Type TYPE_DOUBLE = 1848 FieldDescriptorProto_Type_TYPE_DOUBLE; 1849 static constexpr Type TYPE_FLOAT = 1850 FieldDescriptorProto_Type_TYPE_FLOAT; 1851 static constexpr Type TYPE_INT64 = 1852 FieldDescriptorProto_Type_TYPE_INT64; 1853 static constexpr Type TYPE_UINT64 = 1854 FieldDescriptorProto_Type_TYPE_UINT64; 1855 static constexpr Type TYPE_INT32 = 1856 FieldDescriptorProto_Type_TYPE_INT32; 1857 static constexpr Type TYPE_FIXED64 = 1858 FieldDescriptorProto_Type_TYPE_FIXED64; 1859 static constexpr Type TYPE_FIXED32 = 1860 FieldDescriptorProto_Type_TYPE_FIXED32; 1861 static constexpr Type TYPE_BOOL = 1862 FieldDescriptorProto_Type_TYPE_BOOL; 1863 static constexpr Type TYPE_STRING = 1864 FieldDescriptorProto_Type_TYPE_STRING; 1865 static constexpr Type TYPE_GROUP = 1866 FieldDescriptorProto_Type_TYPE_GROUP; 1867 static constexpr Type TYPE_MESSAGE = 1868 FieldDescriptorProto_Type_TYPE_MESSAGE; 1869 static constexpr Type TYPE_BYTES = 1870 FieldDescriptorProto_Type_TYPE_BYTES; 1871 static constexpr Type TYPE_UINT32 = 1872 FieldDescriptorProto_Type_TYPE_UINT32; 1873 static constexpr Type TYPE_ENUM = 1874 FieldDescriptorProto_Type_TYPE_ENUM; 1875 static constexpr Type TYPE_SFIXED32 = 1876 FieldDescriptorProto_Type_TYPE_SFIXED32; 1877 static constexpr Type TYPE_SFIXED64 = 1878 FieldDescriptorProto_Type_TYPE_SFIXED64; 1879 static constexpr Type TYPE_SINT32 = 1880 FieldDescriptorProto_Type_TYPE_SINT32; 1881 static constexpr Type TYPE_SINT64 = 1882 FieldDescriptorProto_Type_TYPE_SINT64; 1883 static inline bool Type_IsValid(int value) { 1884 return FieldDescriptorProto_Type_IsValid(value); 1885 } 1886 static constexpr Type Type_MIN = 1887 FieldDescriptorProto_Type_Type_MIN; 1888 static constexpr Type Type_MAX = 1889 FieldDescriptorProto_Type_Type_MAX; 1890 static constexpr int Type_ARRAYSIZE = 1891 FieldDescriptorProto_Type_Type_ARRAYSIZE; 1892 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* 1893 Type_descriptor() { 1894 return FieldDescriptorProto_Type_descriptor(); 1895 } 1896 template<typename T> 1897 static inline const std::string& Type_Name(T enum_t_value) { 1898 static_assert(::std::is_same<T, Type>::value || 1899 ::std::is_integral<T>::value, 1900 "Incorrect type passed to function Type_Name."); 1901 return FieldDescriptorProto_Type_Name(enum_t_value); 1902 } 1903 static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, 1904 Type* value) { 1905 return FieldDescriptorProto_Type_Parse(name, value); 1906 } 1907 1908 typedef FieldDescriptorProto_Label Label; 1909 static constexpr Label LABEL_OPTIONAL = 1910 FieldDescriptorProto_Label_LABEL_OPTIONAL; 1911 static constexpr Label LABEL_REQUIRED = 1912 FieldDescriptorProto_Label_LABEL_REQUIRED; 1913 static constexpr Label LABEL_REPEATED = 1914 FieldDescriptorProto_Label_LABEL_REPEATED; 1915 static inline bool Label_IsValid(int value) { 1916 return FieldDescriptorProto_Label_IsValid(value); 1917 } 1918 static constexpr Label Label_MIN = 1919 FieldDescriptorProto_Label_Label_MIN; 1920 static constexpr Label Label_MAX = 1921 FieldDescriptorProto_Label_Label_MAX; 1922 static constexpr int Label_ARRAYSIZE = 1923 FieldDescriptorProto_Label_Label_ARRAYSIZE; 1924 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* 1925 Label_descriptor() { 1926 return FieldDescriptorProto_Label_descriptor(); 1927 } 1928 template<typename T> 1929 static inline const std::string& Label_Name(T enum_t_value) { 1930 static_assert(::std::is_same<T, Label>::value || 1931 ::std::is_integral<T>::value, 1932 "Incorrect type passed to function Label_Name."); 1933 return FieldDescriptorProto_Label_Name(enum_t_value); 1934 } 1935 static inline bool Label_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, 1936 Label* value) { 1937 return FieldDescriptorProto_Label_Parse(name, value); 1938 } 1939 1940 // accessors ------------------------------------------------------- 1941 1942 enum : int { 1943 kNameFieldNumber = 1, 1944 kExtendeeFieldNumber = 2, 1945 kTypeNameFieldNumber = 6, 1946 kDefaultValueFieldNumber = 7, 1947 kJsonNameFieldNumber = 10, 1948 kOptionsFieldNumber = 8, 1949 kNumberFieldNumber = 3, 1950 kOneofIndexFieldNumber = 9, 1951 kProto3OptionalFieldNumber = 17, 1952 kLabelFieldNumber = 4, 1953 kTypeFieldNumber = 5, 1954 }; 1955 // optional string name = 1; 1956 bool has_name() const; 1957 private: 1958 bool _internal_has_name() const; 1959 public: 1960 void clear_name(); 1961 const std::string& name() const; 1962 void set_name(const std::string& value); 1963 void set_name(std::string&& value); 1964 void set_name(const char* value); 1965 void set_name(const char* value, size_t size); 1966 std::string* mutable_name(); 1967 std::string* release_name(); 1968 void set_allocated_name(std::string* name); 1969 private: 1970 const std::string& _internal_name() const; 1971 void _internal_set_name(const std::string& value); 1972 std::string* _internal_mutable_name(); 1973 public: 1974 1975 // optional string extendee = 2; 1976 bool has_extendee() const; 1977 private: 1978 bool _internal_has_extendee() const; 1979 public: 1980 void clear_extendee(); 1981 const std::string& extendee() const; 1982 void set_extendee(const std::string& value); 1983 void set_extendee(std::string&& value); 1984 void set_extendee(const char* value); 1985 void set_extendee(const char* value, size_t size); 1986 std::string* mutable_extendee(); 1987 std::string* release_extendee(); 1988 void set_allocated_extendee(std::string* extendee); 1989 private: 1990 const std::string& _internal_extendee() const; 1991 void _internal_set_extendee(const std::string& value); 1992 std::string* _internal_mutable_extendee(); 1993 public: 1994 1995 // optional string type_name = 6; 1996 bool has_type_name() const; 1997 private: 1998 bool _internal_has_type_name() const; 1999 public: 2000 void clear_type_name(); 2001 const std::string& type_name() const; 2002 void set_type_name(const std::string& value); 2003 void set_type_name(std::string&& value); 2004 void set_type_name(const char* value); 2005 void set_type_name(const char* value, size_t size); 2006 std::string* mutable_type_name(); 2007 std::string* release_type_name(); 2008 void set_allocated_type_name(std::string* type_name); 2009 private: 2010 const std::string& _internal_type_name() const; 2011 void _internal_set_type_name(const std::string& value); 2012 std::string* _internal_mutable_type_name(); 2013 public: 2014 2015 // optional string default_value = 7; 2016 bool has_default_value() const; 2017 private: 2018 bool _internal_has_default_value() const; 2019 public: 2020 void clear_default_value(); 2021 const std::string& default_value() const; 2022 void set_default_value(const std::string& value); 2023 void set_default_value(std::string&& value); 2024 void set_default_value(const char* value); 2025 void set_default_value(const char* value, size_t size); 2026 std::string* mutable_default_value(); 2027 std::string* release_default_value(); 2028 void set_allocated_default_value(std::string* default_value); 2029 private: 2030 const std::string& _internal_default_value() const; 2031 void _internal_set_default_value(const std::string& value); 2032 std::string* _internal_mutable_default_value(); 2033 public: 2034 2035 // optional string json_name = 10; 2036 bool has_json_name() const; 2037 private: 2038 bool _internal_has_json_name() const; 2039 public: 2040 void clear_json_name(); 2041 const std::string& json_name() const; 2042 void set_json_name(const std::string& value); 2043 void set_json_name(std::string&& value); 2044 void set_json_name(const char* value); 2045 void set_json_name(const char* value, size_t size); 2046 std::string* mutable_json_name(); 2047 std::string* release_json_name(); 2048 void set_allocated_json_name(std::string* json_name); 2049 private: 2050 const std::string& _internal_json_name() const; 2051 void _internal_set_json_name(const std::string& value); 2052 std::string* _internal_mutable_json_name(); 2053 public: 2054 2055 // optional .google.protobuf.FieldOptions options = 8; 2056 bool has_options() const; 2057 private: 2058 bool _internal_has_options() const; 2059 public: 2060 void clear_options(); 2061 const PROTOBUF_NAMESPACE_ID::FieldOptions& options() const; 2062 PROTOBUF_NAMESPACE_ID::FieldOptions* release_options(); 2063 PROTOBUF_NAMESPACE_ID::FieldOptions* mutable_options(); 2064 void set_allocated_options(PROTOBUF_NAMESPACE_ID::FieldOptions* options); 2065 private: 2066 const PROTOBUF_NAMESPACE_ID::FieldOptions& _internal_options() const; 2067 PROTOBUF_NAMESPACE_ID::FieldOptions* _internal_mutable_options(); 2068 public: 2069 void unsafe_arena_set_allocated_options( 2070 PROTOBUF_NAMESPACE_ID::FieldOptions* options); 2071 PROTOBUF_NAMESPACE_ID::FieldOptions* unsafe_arena_release_options(); 2072 2073 // optional int32 number = 3; 2074 bool has_number() const; 2075 private: 2076 bool _internal_has_number() const; 2077 public: 2078 void clear_number(); 2079 ::PROTOBUF_NAMESPACE_ID::int32 number() const; 2080 void set_number(::PROTOBUF_NAMESPACE_ID::int32 value); 2081 private: 2082 ::PROTOBUF_NAMESPACE_ID::int32 _internal_number() const; 2083 void _internal_set_number(::PROTOBUF_NAMESPACE_ID::int32 value); 2084 public: 2085 2086 // optional int32 oneof_index = 9; 2087 bool has_oneof_index() const; 2088 private: 2089 bool _internal_has_oneof_index() const; 2090 public: 2091 void clear_oneof_index(); 2092 ::PROTOBUF_NAMESPACE_ID::int32 oneof_index() const; 2093 void set_oneof_index(::PROTOBUF_NAMESPACE_ID::int32 value); 2094 private: 2095 ::PROTOBUF_NAMESPACE_ID::int32 _internal_oneof_index() const; 2096 void _internal_set_oneof_index(::PROTOBUF_NAMESPACE_ID::int32 value); 2097 public: 2098 2099 // optional bool proto3_optional = 17; 2100 bool has_proto3_optional() const; 2101 private: 2102 bool _internal_has_proto3_optional() const; 2103 public: 2104 void clear_proto3_optional(); 2105 bool proto3_optional() const; 2106 void set_proto3_optional(bool value); 2107 private: 2108 bool _internal_proto3_optional() const; 2109 void _internal_set_proto3_optional(bool value); 2110 public: 2111 2112 // optional .google.protobuf.FieldDescriptorProto.Label label = 4; 2113 bool has_label() const; 2114 private: 2115 bool _internal_has_label() const; 2116 public: 2117 void clear_label(); 2118 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label label() const; 2119 void set_label(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value); 2120 private: 2121 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label _internal_label() const; 2122 void _internal_set_label(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value); 2123 public: 2124 2125 // optional .google.protobuf.FieldDescriptorProto.Type type = 5; 2126 bool has_type() const; 2127 private: 2128 bool _internal_has_type() const; 2129 public: 2130 void clear_type(); 2131 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type type() const; 2132 void set_type(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value); 2133 private: 2134 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type _internal_type() const; 2135 void _internal_set_type(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value); 2136 public: 2137 2138 // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto) 2139 private: 2140 class _Internal; 2141 2142 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 2143 typedef void InternalArenaConstructable_; 2144 typedef void DestructorSkippable_; 2145 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 2146 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 2147 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; 2148 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr extendee_; 2149 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_name_; 2150 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr default_value_; 2151 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr json_name_; 2152 PROTOBUF_NAMESPACE_ID::FieldOptions* options_; 2153 ::PROTOBUF_NAMESPACE_ID::int32 number_; 2154 ::PROTOBUF_NAMESPACE_ID::int32 oneof_index_; 2155 bool proto3_optional_; 2156 int label_; 2157 int type_; 2158 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 2159}; 2160// ------------------------------------------------------------------- 2161 2162class PROTOBUF_EXPORT OneofDescriptorProto PROTOBUF_FINAL : 2163 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.OneofDescriptorProto) */ { 2164 public: 2165 inline OneofDescriptorProto() : OneofDescriptorProto(nullptr) {} 2166 virtual ~OneofDescriptorProto(); 2167 2168 OneofDescriptorProto(const OneofDescriptorProto& from); 2169 OneofDescriptorProto(OneofDescriptorProto&& from) noexcept 2170 : OneofDescriptorProto() { 2171 *this = ::std::move(from); 2172 } 2173 2174 inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) { 2175 CopyFrom(from); 2176 return *this; 2177 } 2178 inline OneofDescriptorProto& operator=(OneofDescriptorProto&& from) noexcept { 2179 if (GetArena() == from.GetArena()) { 2180 if (this != &from) InternalSwap(&from); 2181 } else { 2182 CopyFrom(from); 2183 } 2184 return *this; 2185 } 2186 2187 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 2188 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 2189 } 2190 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 2191 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 2192 } 2193 2194 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 2195 return GetDescriptor(); 2196 } 2197 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 2198 return GetMetadataStatic().descriptor; 2199 } 2200 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 2201 return GetMetadataStatic().reflection; 2202 } 2203 static const OneofDescriptorProto& default_instance(); 2204 2205 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 2206 static inline const OneofDescriptorProto* internal_default_instance() { 2207 return reinterpret_cast<const OneofDescriptorProto*>( 2208 &_OneofDescriptorProto_default_instance_); 2209 } 2210 static constexpr int kIndexInFileMessages = 2211 7; 2212 2213 friend void swap(OneofDescriptorProto& a, OneofDescriptorProto& b) { 2214 a.Swap(&b); 2215 } 2216 inline void Swap(OneofDescriptorProto* other) { 2217 if (other == this) return; 2218 if (GetArena() == other->GetArena()) { 2219 InternalSwap(other); 2220 } else { 2221 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 2222 } 2223 } 2224 void UnsafeArenaSwap(OneofDescriptorProto* other) { 2225 if (other == this) return; 2226 GOOGLE_DCHECK(GetArena() == other->GetArena()); 2227 InternalSwap(other); 2228 } 2229 2230 // implements Message ---------------------------------------------- 2231 2232 inline OneofDescriptorProto* New() const final { 2233 return CreateMaybeMessage<OneofDescriptorProto>(nullptr); 2234 } 2235 2236 OneofDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 2237 return CreateMaybeMessage<OneofDescriptorProto>(arena); 2238 } 2239 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 2240 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 2241 void CopyFrom(const OneofDescriptorProto& from); 2242 void MergeFrom(const OneofDescriptorProto& from); 2243 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 2244 bool IsInitialized() const final; 2245 2246 size_t ByteSizeLong() const final; 2247 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 2248 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 2249 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 2250 int GetCachedSize() const final { return _cached_size_.Get(); } 2251 2252 private: 2253 inline void SharedCtor(); 2254 inline void SharedDtor(); 2255 void SetCachedSize(int size) const final; 2256 void InternalSwap(OneofDescriptorProto* other); 2257 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 2258 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 2259 return "google.protobuf.OneofDescriptorProto"; 2260 } 2261 protected: 2262 explicit OneofDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena); 2263 private: 2264 static void ArenaDtor(void* object); 2265 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 2266 public: 2267 2268 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 2269 private: 2270 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 2271 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 2272 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 2273 } 2274 2275 public: 2276 2277 // nested types ---------------------------------------------------- 2278 2279 // accessors ------------------------------------------------------- 2280 2281 enum : int { 2282 kNameFieldNumber = 1, 2283 kOptionsFieldNumber = 2, 2284 }; 2285 // optional string name = 1; 2286 bool has_name() const; 2287 private: 2288 bool _internal_has_name() const; 2289 public: 2290 void clear_name(); 2291 const std::string& name() const; 2292 void set_name(const std::string& value); 2293 void set_name(std::string&& value); 2294 void set_name(const char* value); 2295 void set_name(const char* value, size_t size); 2296 std::string* mutable_name(); 2297 std::string* release_name(); 2298 void set_allocated_name(std::string* name); 2299 private: 2300 const std::string& _internal_name() const; 2301 void _internal_set_name(const std::string& value); 2302 std::string* _internal_mutable_name(); 2303 public: 2304 2305 // optional .google.protobuf.OneofOptions options = 2; 2306 bool has_options() const; 2307 private: 2308 bool _internal_has_options() const; 2309 public: 2310 void clear_options(); 2311 const PROTOBUF_NAMESPACE_ID::OneofOptions& options() const; 2312 PROTOBUF_NAMESPACE_ID::OneofOptions* release_options(); 2313 PROTOBUF_NAMESPACE_ID::OneofOptions* mutable_options(); 2314 void set_allocated_options(PROTOBUF_NAMESPACE_ID::OneofOptions* options); 2315 private: 2316 const PROTOBUF_NAMESPACE_ID::OneofOptions& _internal_options() const; 2317 PROTOBUF_NAMESPACE_ID::OneofOptions* _internal_mutable_options(); 2318 public: 2319 void unsafe_arena_set_allocated_options( 2320 PROTOBUF_NAMESPACE_ID::OneofOptions* options); 2321 PROTOBUF_NAMESPACE_ID::OneofOptions* unsafe_arena_release_options(); 2322 2323 // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto) 2324 private: 2325 class _Internal; 2326 2327 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 2328 typedef void InternalArenaConstructable_; 2329 typedef void DestructorSkippable_; 2330 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 2331 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 2332 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; 2333 PROTOBUF_NAMESPACE_ID::OneofOptions* options_; 2334 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 2335}; 2336// ------------------------------------------------------------------- 2337 2338class PROTOBUF_EXPORT EnumDescriptorProto_EnumReservedRange PROTOBUF_FINAL : 2339 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto.EnumReservedRange) */ { 2340 public: 2341 inline EnumDescriptorProto_EnumReservedRange() : EnumDescriptorProto_EnumReservedRange(nullptr) {} 2342 virtual ~EnumDescriptorProto_EnumReservedRange(); 2343 2344 EnumDescriptorProto_EnumReservedRange(const EnumDescriptorProto_EnumReservedRange& from); 2345 EnumDescriptorProto_EnumReservedRange(EnumDescriptorProto_EnumReservedRange&& from) noexcept 2346 : EnumDescriptorProto_EnumReservedRange() { 2347 *this = ::std::move(from); 2348 } 2349 2350 inline EnumDescriptorProto_EnumReservedRange& operator=(const EnumDescriptorProto_EnumReservedRange& from) { 2351 CopyFrom(from); 2352 return *this; 2353 } 2354 inline EnumDescriptorProto_EnumReservedRange& operator=(EnumDescriptorProto_EnumReservedRange&& from) noexcept { 2355 if (GetArena() == from.GetArena()) { 2356 if (this != &from) InternalSwap(&from); 2357 } else { 2358 CopyFrom(from); 2359 } 2360 return *this; 2361 } 2362 2363 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 2364 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 2365 } 2366 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 2367 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 2368 } 2369 2370 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 2371 return GetDescriptor(); 2372 } 2373 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 2374 return GetMetadataStatic().descriptor; 2375 } 2376 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 2377 return GetMetadataStatic().reflection; 2378 } 2379 static const EnumDescriptorProto_EnumReservedRange& default_instance(); 2380 2381 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 2382 static inline const EnumDescriptorProto_EnumReservedRange* internal_default_instance() { 2383 return reinterpret_cast<const EnumDescriptorProto_EnumReservedRange*>( 2384 &_EnumDescriptorProto_EnumReservedRange_default_instance_); 2385 } 2386 static constexpr int kIndexInFileMessages = 2387 8; 2388 2389 friend void swap(EnumDescriptorProto_EnumReservedRange& a, EnumDescriptorProto_EnumReservedRange& b) { 2390 a.Swap(&b); 2391 } 2392 inline void Swap(EnumDescriptorProto_EnumReservedRange* other) { 2393 if (other == this) return; 2394 if (GetArena() == other->GetArena()) { 2395 InternalSwap(other); 2396 } else { 2397 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 2398 } 2399 } 2400 void UnsafeArenaSwap(EnumDescriptorProto_EnumReservedRange* other) { 2401 if (other == this) return; 2402 GOOGLE_DCHECK(GetArena() == other->GetArena()); 2403 InternalSwap(other); 2404 } 2405 2406 // implements Message ---------------------------------------------- 2407 2408 inline EnumDescriptorProto_EnumReservedRange* New() const final { 2409 return CreateMaybeMessage<EnumDescriptorProto_EnumReservedRange>(nullptr); 2410 } 2411 2412 EnumDescriptorProto_EnumReservedRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 2413 return CreateMaybeMessage<EnumDescriptorProto_EnumReservedRange>(arena); 2414 } 2415 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 2416 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 2417 void CopyFrom(const EnumDescriptorProto_EnumReservedRange& from); 2418 void MergeFrom(const EnumDescriptorProto_EnumReservedRange& from); 2419 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 2420 bool IsInitialized() const final; 2421 2422 size_t ByteSizeLong() const final; 2423 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 2424 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 2425 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 2426 int GetCachedSize() const final { return _cached_size_.Get(); } 2427 2428 private: 2429 inline void SharedCtor(); 2430 inline void SharedDtor(); 2431 void SetCachedSize(int size) const final; 2432 void InternalSwap(EnumDescriptorProto_EnumReservedRange* other); 2433 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 2434 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 2435 return "google.protobuf.EnumDescriptorProto.EnumReservedRange"; 2436 } 2437 protected: 2438 explicit EnumDescriptorProto_EnumReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena); 2439 private: 2440 static void ArenaDtor(void* object); 2441 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 2442 public: 2443 2444 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 2445 private: 2446 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 2447 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 2448 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 2449 } 2450 2451 public: 2452 2453 // nested types ---------------------------------------------------- 2454 2455 // accessors ------------------------------------------------------- 2456 2457 enum : int { 2458 kStartFieldNumber = 1, 2459 kEndFieldNumber = 2, 2460 }; 2461 // optional int32 start = 1; 2462 bool has_start() const; 2463 private: 2464 bool _internal_has_start() const; 2465 public: 2466 void clear_start(); 2467 ::PROTOBUF_NAMESPACE_ID::int32 start() const; 2468 void set_start(::PROTOBUF_NAMESPACE_ID::int32 value); 2469 private: 2470 ::PROTOBUF_NAMESPACE_ID::int32 _internal_start() const; 2471 void _internal_set_start(::PROTOBUF_NAMESPACE_ID::int32 value); 2472 public: 2473 2474 // optional int32 end = 2; 2475 bool has_end() const; 2476 private: 2477 bool _internal_has_end() const; 2478 public: 2479 void clear_end(); 2480 ::PROTOBUF_NAMESPACE_ID::int32 end() const; 2481 void set_end(::PROTOBUF_NAMESPACE_ID::int32 value); 2482 private: 2483 ::PROTOBUF_NAMESPACE_ID::int32 _internal_end() const; 2484 void _internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value); 2485 public: 2486 2487 // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto.EnumReservedRange) 2488 private: 2489 class _Internal; 2490 2491 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 2492 typedef void InternalArenaConstructable_; 2493 typedef void DestructorSkippable_; 2494 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 2495 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 2496 ::PROTOBUF_NAMESPACE_ID::int32 start_; 2497 ::PROTOBUF_NAMESPACE_ID::int32 end_; 2498 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 2499}; 2500// ------------------------------------------------------------------- 2501 2502class PROTOBUF_EXPORT EnumDescriptorProto PROTOBUF_FINAL : 2503 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto) */ { 2504 public: 2505 inline EnumDescriptorProto() : EnumDescriptorProto(nullptr) {} 2506 virtual ~EnumDescriptorProto(); 2507 2508 EnumDescriptorProto(const EnumDescriptorProto& from); 2509 EnumDescriptorProto(EnumDescriptorProto&& from) noexcept 2510 : EnumDescriptorProto() { 2511 *this = ::std::move(from); 2512 } 2513 2514 inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) { 2515 CopyFrom(from); 2516 return *this; 2517 } 2518 inline EnumDescriptorProto& operator=(EnumDescriptorProto&& from) noexcept { 2519 if (GetArena() == from.GetArena()) { 2520 if (this != &from) InternalSwap(&from); 2521 } else { 2522 CopyFrom(from); 2523 } 2524 return *this; 2525 } 2526 2527 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 2528 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 2529 } 2530 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 2531 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 2532 } 2533 2534 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 2535 return GetDescriptor(); 2536 } 2537 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 2538 return GetMetadataStatic().descriptor; 2539 } 2540 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 2541 return GetMetadataStatic().reflection; 2542 } 2543 static const EnumDescriptorProto& default_instance(); 2544 2545 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 2546 static inline const EnumDescriptorProto* internal_default_instance() { 2547 return reinterpret_cast<const EnumDescriptorProto*>( 2548 &_EnumDescriptorProto_default_instance_); 2549 } 2550 static constexpr int kIndexInFileMessages = 2551 9; 2552 2553 friend void swap(EnumDescriptorProto& a, EnumDescriptorProto& b) { 2554 a.Swap(&b); 2555 } 2556 inline void Swap(EnumDescriptorProto* other) { 2557 if (other == this) return; 2558 if (GetArena() == other->GetArena()) { 2559 InternalSwap(other); 2560 } else { 2561 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 2562 } 2563 } 2564 void UnsafeArenaSwap(EnumDescriptorProto* other) { 2565 if (other == this) return; 2566 GOOGLE_DCHECK(GetArena() == other->GetArena()); 2567 InternalSwap(other); 2568 } 2569 2570 // implements Message ---------------------------------------------- 2571 2572 inline EnumDescriptorProto* New() const final { 2573 return CreateMaybeMessage<EnumDescriptorProto>(nullptr); 2574 } 2575 2576 EnumDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 2577 return CreateMaybeMessage<EnumDescriptorProto>(arena); 2578 } 2579 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 2580 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 2581 void CopyFrom(const EnumDescriptorProto& from); 2582 void MergeFrom(const EnumDescriptorProto& from); 2583 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 2584 bool IsInitialized() const final; 2585 2586 size_t ByteSizeLong() const final; 2587 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 2588 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 2589 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 2590 int GetCachedSize() const final { return _cached_size_.Get(); } 2591 2592 private: 2593 inline void SharedCtor(); 2594 inline void SharedDtor(); 2595 void SetCachedSize(int size) const final; 2596 void InternalSwap(EnumDescriptorProto* other); 2597 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 2598 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 2599 return "google.protobuf.EnumDescriptorProto"; 2600 } 2601 protected: 2602 explicit EnumDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena); 2603 private: 2604 static void ArenaDtor(void* object); 2605 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 2606 public: 2607 2608 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 2609 private: 2610 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 2611 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 2612 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 2613 } 2614 2615 public: 2616 2617 // nested types ---------------------------------------------------- 2618 2619 typedef EnumDescriptorProto_EnumReservedRange EnumReservedRange; 2620 2621 // accessors ------------------------------------------------------- 2622 2623 enum : int { 2624 kValueFieldNumber = 2, 2625 kReservedRangeFieldNumber = 4, 2626 kReservedNameFieldNumber = 5, 2627 kNameFieldNumber = 1, 2628 kOptionsFieldNumber = 3, 2629 }; 2630 // repeated .google.protobuf.EnumValueDescriptorProto value = 2; 2631 int value_size() const; 2632 private: 2633 int _internal_value_size() const; 2634 public: 2635 void clear_value(); 2636 PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* mutable_value(int index); 2637 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >* 2638 mutable_value(); 2639 private: 2640 const PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& _internal_value(int index) const; 2641 PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* _internal_add_value(); 2642 public: 2643 const PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& value(int index) const; 2644 PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* add_value(); 2645 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >& 2646 value() const; 2647 2648 // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; 2649 int reserved_range_size() const; 2650 private: 2651 int _internal_reserved_range_size() const; 2652 public: 2653 void clear_reserved_range(); 2654 PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* mutable_reserved_range(int index); 2655 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >* 2656 mutable_reserved_range(); 2657 private: 2658 const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& _internal_reserved_range(int index) const; 2659 PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* _internal_add_reserved_range(); 2660 public: 2661 const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& reserved_range(int index) const; 2662 PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* add_reserved_range(); 2663 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >& 2664 reserved_range() const; 2665 2666 // repeated string reserved_name = 5; 2667 int reserved_name_size() const; 2668 private: 2669 int _internal_reserved_name_size() const; 2670 public: 2671 void clear_reserved_name(); 2672 const std::string& reserved_name(int index) const; 2673 std::string* mutable_reserved_name(int index); 2674 void set_reserved_name(int index, const std::string& value); 2675 void set_reserved_name(int index, std::string&& value); 2676 void set_reserved_name(int index, const char* value); 2677 void set_reserved_name(int index, const char* value, size_t size); 2678 std::string* add_reserved_name(); 2679 void add_reserved_name(const std::string& value); 2680 void add_reserved_name(std::string&& value); 2681 void add_reserved_name(const char* value); 2682 void add_reserved_name(const char* value, size_t size); 2683 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& reserved_name() const; 2684 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_reserved_name(); 2685 private: 2686 const std::string& _internal_reserved_name(int index) const; 2687 std::string* _internal_add_reserved_name(); 2688 public: 2689 2690 // optional string name = 1; 2691 bool has_name() const; 2692 private: 2693 bool _internal_has_name() const; 2694 public: 2695 void clear_name(); 2696 const std::string& name() const; 2697 void set_name(const std::string& value); 2698 void set_name(std::string&& value); 2699 void set_name(const char* value); 2700 void set_name(const char* value, size_t size); 2701 std::string* mutable_name(); 2702 std::string* release_name(); 2703 void set_allocated_name(std::string* name); 2704 private: 2705 const std::string& _internal_name() const; 2706 void _internal_set_name(const std::string& value); 2707 std::string* _internal_mutable_name(); 2708 public: 2709 2710 // optional .google.protobuf.EnumOptions options = 3; 2711 bool has_options() const; 2712 private: 2713 bool _internal_has_options() const; 2714 public: 2715 void clear_options(); 2716 const PROTOBUF_NAMESPACE_ID::EnumOptions& options() const; 2717 PROTOBUF_NAMESPACE_ID::EnumOptions* release_options(); 2718 PROTOBUF_NAMESPACE_ID::EnumOptions* mutable_options(); 2719 void set_allocated_options(PROTOBUF_NAMESPACE_ID::EnumOptions* options); 2720 private: 2721 const PROTOBUF_NAMESPACE_ID::EnumOptions& _internal_options() const; 2722 PROTOBUF_NAMESPACE_ID::EnumOptions* _internal_mutable_options(); 2723 public: 2724 void unsafe_arena_set_allocated_options( 2725 PROTOBUF_NAMESPACE_ID::EnumOptions* options); 2726 PROTOBUF_NAMESPACE_ID::EnumOptions* unsafe_arena_release_options(); 2727 2728 // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto) 2729 private: 2730 class _Internal; 2731 2732 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 2733 typedef void InternalArenaConstructable_; 2734 typedef void DestructorSkippable_; 2735 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 2736 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 2737 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto > value_; 2738 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange > reserved_range_; 2739 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> reserved_name_; 2740 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; 2741 PROTOBUF_NAMESPACE_ID::EnumOptions* options_; 2742 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 2743}; 2744// ------------------------------------------------------------------- 2745 2746class PROTOBUF_EXPORT EnumValueDescriptorProto PROTOBUF_FINAL : 2747 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueDescriptorProto) */ { 2748 public: 2749 inline EnumValueDescriptorProto() : EnumValueDescriptorProto(nullptr) {} 2750 virtual ~EnumValueDescriptorProto(); 2751 2752 EnumValueDescriptorProto(const EnumValueDescriptorProto& from); 2753 EnumValueDescriptorProto(EnumValueDescriptorProto&& from) noexcept 2754 : EnumValueDescriptorProto() { 2755 *this = ::std::move(from); 2756 } 2757 2758 inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) { 2759 CopyFrom(from); 2760 return *this; 2761 } 2762 inline EnumValueDescriptorProto& operator=(EnumValueDescriptorProto&& from) noexcept { 2763 if (GetArena() == from.GetArena()) { 2764 if (this != &from) InternalSwap(&from); 2765 } else { 2766 CopyFrom(from); 2767 } 2768 return *this; 2769 } 2770 2771 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 2772 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 2773 } 2774 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 2775 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 2776 } 2777 2778 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 2779 return GetDescriptor(); 2780 } 2781 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 2782 return GetMetadataStatic().descriptor; 2783 } 2784 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 2785 return GetMetadataStatic().reflection; 2786 } 2787 static const EnumValueDescriptorProto& default_instance(); 2788 2789 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 2790 static inline const EnumValueDescriptorProto* internal_default_instance() { 2791 return reinterpret_cast<const EnumValueDescriptorProto*>( 2792 &_EnumValueDescriptorProto_default_instance_); 2793 } 2794 static constexpr int kIndexInFileMessages = 2795 10; 2796 2797 friend void swap(EnumValueDescriptorProto& a, EnumValueDescriptorProto& b) { 2798 a.Swap(&b); 2799 } 2800 inline void Swap(EnumValueDescriptorProto* other) { 2801 if (other == this) return; 2802 if (GetArena() == other->GetArena()) { 2803 InternalSwap(other); 2804 } else { 2805 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 2806 } 2807 } 2808 void UnsafeArenaSwap(EnumValueDescriptorProto* other) { 2809 if (other == this) return; 2810 GOOGLE_DCHECK(GetArena() == other->GetArena()); 2811 InternalSwap(other); 2812 } 2813 2814 // implements Message ---------------------------------------------- 2815 2816 inline EnumValueDescriptorProto* New() const final { 2817 return CreateMaybeMessage<EnumValueDescriptorProto>(nullptr); 2818 } 2819 2820 EnumValueDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 2821 return CreateMaybeMessage<EnumValueDescriptorProto>(arena); 2822 } 2823 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 2824 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 2825 void CopyFrom(const EnumValueDescriptorProto& from); 2826 void MergeFrom(const EnumValueDescriptorProto& from); 2827 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 2828 bool IsInitialized() const final; 2829 2830 size_t ByteSizeLong() const final; 2831 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 2832 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 2833 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 2834 int GetCachedSize() const final { return _cached_size_.Get(); } 2835 2836 private: 2837 inline void SharedCtor(); 2838 inline void SharedDtor(); 2839 void SetCachedSize(int size) const final; 2840 void InternalSwap(EnumValueDescriptorProto* other); 2841 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 2842 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 2843 return "google.protobuf.EnumValueDescriptorProto"; 2844 } 2845 protected: 2846 explicit EnumValueDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena); 2847 private: 2848 static void ArenaDtor(void* object); 2849 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 2850 public: 2851 2852 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 2853 private: 2854 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 2855 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 2856 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 2857 } 2858 2859 public: 2860 2861 // nested types ---------------------------------------------------- 2862 2863 // accessors ------------------------------------------------------- 2864 2865 enum : int { 2866 kNameFieldNumber = 1, 2867 kOptionsFieldNumber = 3, 2868 kNumberFieldNumber = 2, 2869 }; 2870 // optional string name = 1; 2871 bool has_name() const; 2872 private: 2873 bool _internal_has_name() const; 2874 public: 2875 void clear_name(); 2876 const std::string& name() const; 2877 void set_name(const std::string& value); 2878 void set_name(std::string&& value); 2879 void set_name(const char* value); 2880 void set_name(const char* value, size_t size); 2881 std::string* mutable_name(); 2882 std::string* release_name(); 2883 void set_allocated_name(std::string* name); 2884 private: 2885 const std::string& _internal_name() const; 2886 void _internal_set_name(const std::string& value); 2887 std::string* _internal_mutable_name(); 2888 public: 2889 2890 // optional .google.protobuf.EnumValueOptions options = 3; 2891 bool has_options() const; 2892 private: 2893 bool _internal_has_options() const; 2894 public: 2895 void clear_options(); 2896 const PROTOBUF_NAMESPACE_ID::EnumValueOptions& options() const; 2897 PROTOBUF_NAMESPACE_ID::EnumValueOptions* release_options(); 2898 PROTOBUF_NAMESPACE_ID::EnumValueOptions* mutable_options(); 2899 void set_allocated_options(PROTOBUF_NAMESPACE_ID::EnumValueOptions* options); 2900 private: 2901 const PROTOBUF_NAMESPACE_ID::EnumValueOptions& _internal_options() const; 2902 PROTOBUF_NAMESPACE_ID::EnumValueOptions* _internal_mutable_options(); 2903 public: 2904 void unsafe_arena_set_allocated_options( 2905 PROTOBUF_NAMESPACE_ID::EnumValueOptions* options); 2906 PROTOBUF_NAMESPACE_ID::EnumValueOptions* unsafe_arena_release_options(); 2907 2908 // optional int32 number = 2; 2909 bool has_number() const; 2910 private: 2911 bool _internal_has_number() const; 2912 public: 2913 void clear_number(); 2914 ::PROTOBUF_NAMESPACE_ID::int32 number() const; 2915 void set_number(::PROTOBUF_NAMESPACE_ID::int32 value); 2916 private: 2917 ::PROTOBUF_NAMESPACE_ID::int32 _internal_number() const; 2918 void _internal_set_number(::PROTOBUF_NAMESPACE_ID::int32 value); 2919 public: 2920 2921 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto) 2922 private: 2923 class _Internal; 2924 2925 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 2926 typedef void InternalArenaConstructable_; 2927 typedef void DestructorSkippable_; 2928 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 2929 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 2930 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; 2931 PROTOBUF_NAMESPACE_ID::EnumValueOptions* options_; 2932 ::PROTOBUF_NAMESPACE_ID::int32 number_; 2933 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 2934}; 2935// ------------------------------------------------------------------- 2936 2937class PROTOBUF_EXPORT ServiceDescriptorProto PROTOBUF_FINAL : 2938 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceDescriptorProto) */ { 2939 public: 2940 inline ServiceDescriptorProto() : ServiceDescriptorProto(nullptr) {} 2941 virtual ~ServiceDescriptorProto(); 2942 2943 ServiceDescriptorProto(const ServiceDescriptorProto& from); 2944 ServiceDescriptorProto(ServiceDescriptorProto&& from) noexcept 2945 : ServiceDescriptorProto() { 2946 *this = ::std::move(from); 2947 } 2948 2949 inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) { 2950 CopyFrom(from); 2951 return *this; 2952 } 2953 inline ServiceDescriptorProto& operator=(ServiceDescriptorProto&& from) noexcept { 2954 if (GetArena() == from.GetArena()) { 2955 if (this != &from) InternalSwap(&from); 2956 } else { 2957 CopyFrom(from); 2958 } 2959 return *this; 2960 } 2961 2962 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 2963 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 2964 } 2965 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 2966 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 2967 } 2968 2969 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 2970 return GetDescriptor(); 2971 } 2972 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 2973 return GetMetadataStatic().descriptor; 2974 } 2975 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 2976 return GetMetadataStatic().reflection; 2977 } 2978 static const ServiceDescriptorProto& default_instance(); 2979 2980 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 2981 static inline const ServiceDescriptorProto* internal_default_instance() { 2982 return reinterpret_cast<const ServiceDescriptorProto*>( 2983 &_ServiceDescriptorProto_default_instance_); 2984 } 2985 static constexpr int kIndexInFileMessages = 2986 11; 2987 2988 friend void swap(ServiceDescriptorProto& a, ServiceDescriptorProto& b) { 2989 a.Swap(&b); 2990 } 2991 inline void Swap(ServiceDescriptorProto* other) { 2992 if (other == this) return; 2993 if (GetArena() == other->GetArena()) { 2994 InternalSwap(other); 2995 } else { 2996 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 2997 } 2998 } 2999 void UnsafeArenaSwap(ServiceDescriptorProto* other) { 3000 if (other == this) return; 3001 GOOGLE_DCHECK(GetArena() == other->GetArena()); 3002 InternalSwap(other); 3003 } 3004 3005 // implements Message ---------------------------------------------- 3006 3007 inline ServiceDescriptorProto* New() const final { 3008 return CreateMaybeMessage<ServiceDescriptorProto>(nullptr); 3009 } 3010 3011 ServiceDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 3012 return CreateMaybeMessage<ServiceDescriptorProto>(arena); 3013 } 3014 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 3015 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 3016 void CopyFrom(const ServiceDescriptorProto& from); 3017 void MergeFrom(const ServiceDescriptorProto& from); 3018 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 3019 bool IsInitialized() const final; 3020 3021 size_t ByteSizeLong() const final; 3022 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 3023 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 3024 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 3025 int GetCachedSize() const final { return _cached_size_.Get(); } 3026 3027 private: 3028 inline void SharedCtor(); 3029 inline void SharedDtor(); 3030 void SetCachedSize(int size) const final; 3031 void InternalSwap(ServiceDescriptorProto* other); 3032 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 3033 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 3034 return "google.protobuf.ServiceDescriptorProto"; 3035 } 3036 protected: 3037 explicit ServiceDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena); 3038 private: 3039 static void ArenaDtor(void* object); 3040 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 3041 public: 3042 3043 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 3044 private: 3045 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 3046 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 3047 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 3048 } 3049 3050 public: 3051 3052 // nested types ---------------------------------------------------- 3053 3054 // accessors ------------------------------------------------------- 3055 3056 enum : int { 3057 kMethodFieldNumber = 2, 3058 kNameFieldNumber = 1, 3059 kOptionsFieldNumber = 3, 3060 }; 3061 // repeated .google.protobuf.MethodDescriptorProto method = 2; 3062 int method_size() const; 3063 private: 3064 int _internal_method_size() const; 3065 public: 3066 void clear_method(); 3067 PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* mutable_method(int index); 3068 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >* 3069 mutable_method(); 3070 private: 3071 const PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& _internal_method(int index) const; 3072 PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* _internal_add_method(); 3073 public: 3074 const PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& method(int index) const; 3075 PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* add_method(); 3076 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >& 3077 method() const; 3078 3079 // optional string name = 1; 3080 bool has_name() const; 3081 private: 3082 bool _internal_has_name() const; 3083 public: 3084 void clear_name(); 3085 const std::string& name() const; 3086 void set_name(const std::string& value); 3087 void set_name(std::string&& value); 3088 void set_name(const char* value); 3089 void set_name(const char* value, size_t size); 3090 std::string* mutable_name(); 3091 std::string* release_name(); 3092 void set_allocated_name(std::string* name); 3093 private: 3094 const std::string& _internal_name() const; 3095 void _internal_set_name(const std::string& value); 3096 std::string* _internal_mutable_name(); 3097 public: 3098 3099 // optional .google.protobuf.ServiceOptions options = 3; 3100 bool has_options() const; 3101 private: 3102 bool _internal_has_options() const; 3103 public: 3104 void clear_options(); 3105 const PROTOBUF_NAMESPACE_ID::ServiceOptions& options() const; 3106 PROTOBUF_NAMESPACE_ID::ServiceOptions* release_options(); 3107 PROTOBUF_NAMESPACE_ID::ServiceOptions* mutable_options(); 3108 void set_allocated_options(PROTOBUF_NAMESPACE_ID::ServiceOptions* options); 3109 private: 3110 const PROTOBUF_NAMESPACE_ID::ServiceOptions& _internal_options() const; 3111 PROTOBUF_NAMESPACE_ID::ServiceOptions* _internal_mutable_options(); 3112 public: 3113 void unsafe_arena_set_allocated_options( 3114 PROTOBUF_NAMESPACE_ID::ServiceOptions* options); 3115 PROTOBUF_NAMESPACE_ID::ServiceOptions* unsafe_arena_release_options(); 3116 3117 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto) 3118 private: 3119 class _Internal; 3120 3121 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 3122 typedef void InternalArenaConstructable_; 3123 typedef void DestructorSkippable_; 3124 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 3125 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 3126 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::MethodDescriptorProto > method_; 3127 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; 3128 PROTOBUF_NAMESPACE_ID::ServiceOptions* options_; 3129 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 3130}; 3131// ------------------------------------------------------------------- 3132 3133class PROTOBUF_EXPORT MethodDescriptorProto PROTOBUF_FINAL : 3134 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MethodDescriptorProto) */ { 3135 public: 3136 inline MethodDescriptorProto() : MethodDescriptorProto(nullptr) {} 3137 virtual ~MethodDescriptorProto(); 3138 3139 MethodDescriptorProto(const MethodDescriptorProto& from); 3140 MethodDescriptorProto(MethodDescriptorProto&& from) noexcept 3141 : MethodDescriptorProto() { 3142 *this = ::std::move(from); 3143 } 3144 3145 inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) { 3146 CopyFrom(from); 3147 return *this; 3148 } 3149 inline MethodDescriptorProto& operator=(MethodDescriptorProto&& from) noexcept { 3150 if (GetArena() == from.GetArena()) { 3151 if (this != &from) InternalSwap(&from); 3152 } else { 3153 CopyFrom(from); 3154 } 3155 return *this; 3156 } 3157 3158 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 3159 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 3160 } 3161 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 3162 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 3163 } 3164 3165 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 3166 return GetDescriptor(); 3167 } 3168 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 3169 return GetMetadataStatic().descriptor; 3170 } 3171 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 3172 return GetMetadataStatic().reflection; 3173 } 3174 static const MethodDescriptorProto& default_instance(); 3175 3176 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 3177 static inline const MethodDescriptorProto* internal_default_instance() { 3178 return reinterpret_cast<const MethodDescriptorProto*>( 3179 &_MethodDescriptorProto_default_instance_); 3180 } 3181 static constexpr int kIndexInFileMessages = 3182 12; 3183 3184 friend void swap(MethodDescriptorProto& a, MethodDescriptorProto& b) { 3185 a.Swap(&b); 3186 } 3187 inline void Swap(MethodDescriptorProto* other) { 3188 if (other == this) return; 3189 if (GetArena() == other->GetArena()) { 3190 InternalSwap(other); 3191 } else { 3192 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 3193 } 3194 } 3195 void UnsafeArenaSwap(MethodDescriptorProto* other) { 3196 if (other == this) return; 3197 GOOGLE_DCHECK(GetArena() == other->GetArena()); 3198 InternalSwap(other); 3199 } 3200 3201 // implements Message ---------------------------------------------- 3202 3203 inline MethodDescriptorProto* New() const final { 3204 return CreateMaybeMessage<MethodDescriptorProto>(nullptr); 3205 } 3206 3207 MethodDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 3208 return CreateMaybeMessage<MethodDescriptorProto>(arena); 3209 } 3210 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 3211 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 3212 void CopyFrom(const MethodDescriptorProto& from); 3213 void MergeFrom(const MethodDescriptorProto& from); 3214 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 3215 bool IsInitialized() const final; 3216 3217 size_t ByteSizeLong() const final; 3218 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 3219 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 3220 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 3221 int GetCachedSize() const final { return _cached_size_.Get(); } 3222 3223 private: 3224 inline void SharedCtor(); 3225 inline void SharedDtor(); 3226 void SetCachedSize(int size) const final; 3227 void InternalSwap(MethodDescriptorProto* other); 3228 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 3229 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 3230 return "google.protobuf.MethodDescriptorProto"; 3231 } 3232 protected: 3233 explicit MethodDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena); 3234 private: 3235 static void ArenaDtor(void* object); 3236 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 3237 public: 3238 3239 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 3240 private: 3241 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 3242 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 3243 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 3244 } 3245 3246 public: 3247 3248 // nested types ---------------------------------------------------- 3249 3250 // accessors ------------------------------------------------------- 3251 3252 enum : int { 3253 kNameFieldNumber = 1, 3254 kInputTypeFieldNumber = 2, 3255 kOutputTypeFieldNumber = 3, 3256 kOptionsFieldNumber = 4, 3257 kClientStreamingFieldNumber = 5, 3258 kServerStreamingFieldNumber = 6, 3259 }; 3260 // optional string name = 1; 3261 bool has_name() const; 3262 private: 3263 bool _internal_has_name() const; 3264 public: 3265 void clear_name(); 3266 const std::string& name() const; 3267 void set_name(const std::string& value); 3268 void set_name(std::string&& value); 3269 void set_name(const char* value); 3270 void set_name(const char* value, size_t size); 3271 std::string* mutable_name(); 3272 std::string* release_name(); 3273 void set_allocated_name(std::string* name); 3274 private: 3275 const std::string& _internal_name() const; 3276 void _internal_set_name(const std::string& value); 3277 std::string* _internal_mutable_name(); 3278 public: 3279 3280 // optional string input_type = 2; 3281 bool has_input_type() const; 3282 private: 3283 bool _internal_has_input_type() const; 3284 public: 3285 void clear_input_type(); 3286 const std::string& input_type() const; 3287 void set_input_type(const std::string& value); 3288 void set_input_type(std::string&& value); 3289 void set_input_type(const char* value); 3290 void set_input_type(const char* value, size_t size); 3291 std::string* mutable_input_type(); 3292 std::string* release_input_type(); 3293 void set_allocated_input_type(std::string* input_type); 3294 private: 3295 const std::string& _internal_input_type() const; 3296 void _internal_set_input_type(const std::string& value); 3297 std::string* _internal_mutable_input_type(); 3298 public: 3299 3300 // optional string output_type = 3; 3301 bool has_output_type() const; 3302 private: 3303 bool _internal_has_output_type() const; 3304 public: 3305 void clear_output_type(); 3306 const std::string& output_type() const; 3307 void set_output_type(const std::string& value); 3308 void set_output_type(std::string&& value); 3309 void set_output_type(const char* value); 3310 void set_output_type(const char* value, size_t size); 3311 std::string* mutable_output_type(); 3312 std::string* release_output_type(); 3313 void set_allocated_output_type(std::string* output_type); 3314 private: 3315 const std::string& _internal_output_type() const; 3316 void _internal_set_output_type(const std::string& value); 3317 std::string* _internal_mutable_output_type(); 3318 public: 3319 3320 // optional .google.protobuf.MethodOptions options = 4; 3321 bool has_options() const; 3322 private: 3323 bool _internal_has_options() const; 3324 public: 3325 void clear_options(); 3326 const PROTOBUF_NAMESPACE_ID::MethodOptions& options() const; 3327 PROTOBUF_NAMESPACE_ID::MethodOptions* release_options(); 3328 PROTOBUF_NAMESPACE_ID::MethodOptions* mutable_options(); 3329 void set_allocated_options(PROTOBUF_NAMESPACE_ID::MethodOptions* options); 3330 private: 3331 const PROTOBUF_NAMESPACE_ID::MethodOptions& _internal_options() const; 3332 PROTOBUF_NAMESPACE_ID::MethodOptions* _internal_mutable_options(); 3333 public: 3334 void unsafe_arena_set_allocated_options( 3335 PROTOBUF_NAMESPACE_ID::MethodOptions* options); 3336 PROTOBUF_NAMESPACE_ID::MethodOptions* unsafe_arena_release_options(); 3337 3338 // optional bool client_streaming = 5 [default = false]; 3339 bool has_client_streaming() const; 3340 private: 3341 bool _internal_has_client_streaming() const; 3342 public: 3343 void clear_client_streaming(); 3344 bool client_streaming() const; 3345 void set_client_streaming(bool value); 3346 private: 3347 bool _internal_client_streaming() const; 3348 void _internal_set_client_streaming(bool value); 3349 public: 3350 3351 // optional bool server_streaming = 6 [default = false]; 3352 bool has_server_streaming() const; 3353 private: 3354 bool _internal_has_server_streaming() const; 3355 public: 3356 void clear_server_streaming(); 3357 bool server_streaming() const; 3358 void set_server_streaming(bool value); 3359 private: 3360 bool _internal_server_streaming() const; 3361 void _internal_set_server_streaming(bool value); 3362 public: 3363 3364 // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto) 3365 private: 3366 class _Internal; 3367 3368 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 3369 typedef void InternalArenaConstructable_; 3370 typedef void DestructorSkippable_; 3371 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 3372 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 3373 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; 3374 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr input_type_; 3375 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr output_type_; 3376 PROTOBUF_NAMESPACE_ID::MethodOptions* options_; 3377 bool client_streaming_; 3378 bool server_streaming_; 3379 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 3380}; 3381// ------------------------------------------------------------------- 3382 3383class PROTOBUF_EXPORT FileOptions PROTOBUF_FINAL : 3384 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileOptions) */ { 3385 public: 3386 inline FileOptions() : FileOptions(nullptr) {} 3387 virtual ~FileOptions(); 3388 3389 FileOptions(const FileOptions& from); 3390 FileOptions(FileOptions&& from) noexcept 3391 : FileOptions() { 3392 *this = ::std::move(from); 3393 } 3394 3395 inline FileOptions& operator=(const FileOptions& from) { 3396 CopyFrom(from); 3397 return *this; 3398 } 3399 inline FileOptions& operator=(FileOptions&& from) noexcept { 3400 if (GetArena() == from.GetArena()) { 3401 if (this != &from) InternalSwap(&from); 3402 } else { 3403 CopyFrom(from); 3404 } 3405 return *this; 3406 } 3407 3408 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 3409 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 3410 } 3411 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 3412 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 3413 } 3414 3415 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 3416 return GetDescriptor(); 3417 } 3418 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 3419 return GetMetadataStatic().descriptor; 3420 } 3421 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 3422 return GetMetadataStatic().reflection; 3423 } 3424 static const FileOptions& default_instance(); 3425 3426 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 3427 static inline const FileOptions* internal_default_instance() { 3428 return reinterpret_cast<const FileOptions*>( 3429 &_FileOptions_default_instance_); 3430 } 3431 static constexpr int kIndexInFileMessages = 3432 13; 3433 3434 friend void swap(FileOptions& a, FileOptions& b) { 3435 a.Swap(&b); 3436 } 3437 inline void Swap(FileOptions* other) { 3438 if (other == this) return; 3439 if (GetArena() == other->GetArena()) { 3440 InternalSwap(other); 3441 } else { 3442 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 3443 } 3444 } 3445 void UnsafeArenaSwap(FileOptions* other) { 3446 if (other == this) return; 3447 GOOGLE_DCHECK(GetArena() == other->GetArena()); 3448 InternalSwap(other); 3449 } 3450 3451 // implements Message ---------------------------------------------- 3452 3453 inline FileOptions* New() const final { 3454 return CreateMaybeMessage<FileOptions>(nullptr); 3455 } 3456 3457 FileOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 3458 return CreateMaybeMessage<FileOptions>(arena); 3459 } 3460 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 3461 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 3462 void CopyFrom(const FileOptions& from); 3463 void MergeFrom(const FileOptions& from); 3464 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 3465 bool IsInitialized() const final; 3466 3467 size_t ByteSizeLong() const final; 3468 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 3469 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 3470 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 3471 int GetCachedSize() const final { return _cached_size_.Get(); } 3472 3473 private: 3474 inline void SharedCtor(); 3475 inline void SharedDtor(); 3476 void SetCachedSize(int size) const final; 3477 void InternalSwap(FileOptions* other); 3478 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 3479 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 3480 return "google.protobuf.FileOptions"; 3481 } 3482 protected: 3483 explicit FileOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena); 3484 private: 3485 static void ArenaDtor(void* object); 3486 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 3487 public: 3488 3489 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 3490 private: 3491 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 3492 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 3493 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 3494 } 3495 3496 public: 3497 3498 // nested types ---------------------------------------------------- 3499 3500 typedef FileOptions_OptimizeMode OptimizeMode; 3501 static constexpr OptimizeMode SPEED = 3502 FileOptions_OptimizeMode_SPEED; 3503 static constexpr OptimizeMode CODE_SIZE = 3504 FileOptions_OptimizeMode_CODE_SIZE; 3505 static constexpr OptimizeMode LITE_RUNTIME = 3506 FileOptions_OptimizeMode_LITE_RUNTIME; 3507 static inline bool OptimizeMode_IsValid(int value) { 3508 return FileOptions_OptimizeMode_IsValid(value); 3509 } 3510 static constexpr OptimizeMode OptimizeMode_MIN = 3511 FileOptions_OptimizeMode_OptimizeMode_MIN; 3512 static constexpr OptimizeMode OptimizeMode_MAX = 3513 FileOptions_OptimizeMode_OptimizeMode_MAX; 3514 static constexpr int OptimizeMode_ARRAYSIZE = 3515 FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE; 3516 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* 3517 OptimizeMode_descriptor() { 3518 return FileOptions_OptimizeMode_descriptor(); 3519 } 3520 template<typename T> 3521 static inline const std::string& OptimizeMode_Name(T enum_t_value) { 3522 static_assert(::std::is_same<T, OptimizeMode>::value || 3523 ::std::is_integral<T>::value, 3524 "Incorrect type passed to function OptimizeMode_Name."); 3525 return FileOptions_OptimizeMode_Name(enum_t_value); 3526 } 3527 static inline bool OptimizeMode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, 3528 OptimizeMode* value) { 3529 return FileOptions_OptimizeMode_Parse(name, value); 3530 } 3531 3532 // accessors ------------------------------------------------------- 3533 3534 enum : int { 3535 kUninterpretedOptionFieldNumber = 999, 3536 kJavaPackageFieldNumber = 1, 3537 kJavaOuterClassnameFieldNumber = 8, 3538 kGoPackageFieldNumber = 11, 3539 kObjcClassPrefixFieldNumber = 36, 3540 kCsharpNamespaceFieldNumber = 37, 3541 kSwiftPrefixFieldNumber = 39, 3542 kPhpClassPrefixFieldNumber = 40, 3543 kPhpNamespaceFieldNumber = 41, 3544 kPhpMetadataNamespaceFieldNumber = 44, 3545 kRubyPackageFieldNumber = 45, 3546 kJavaMultipleFilesFieldNumber = 10, 3547 kJavaGenerateEqualsAndHashFieldNumber = 20, 3548 kJavaStringCheckUtf8FieldNumber = 27, 3549 kCcGenericServicesFieldNumber = 16, 3550 kJavaGenericServicesFieldNumber = 17, 3551 kPyGenericServicesFieldNumber = 18, 3552 kPhpGenericServicesFieldNumber = 42, 3553 kDeprecatedFieldNumber = 23, 3554 kOptimizeForFieldNumber = 9, 3555 kCcEnableArenasFieldNumber = 31, 3556 }; 3557 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 3558 int uninterpreted_option_size() const; 3559 private: 3560 int _internal_uninterpreted_option_size() const; 3561 public: 3562 void clear_uninterpreted_option(); 3563 PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); 3564 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >* 3565 mutable_uninterpreted_option(); 3566 private: 3567 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; 3568 PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); 3569 public: 3570 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; 3571 PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); 3572 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >& 3573 uninterpreted_option() const; 3574 3575 // optional string java_package = 1; 3576 bool has_java_package() const; 3577 private: 3578 bool _internal_has_java_package() const; 3579 public: 3580 void clear_java_package(); 3581 const std::string& java_package() const; 3582 void set_java_package(const std::string& value); 3583 void set_java_package(std::string&& value); 3584 void set_java_package(const char* value); 3585 void set_java_package(const char* value, size_t size); 3586 std::string* mutable_java_package(); 3587 std::string* release_java_package(); 3588 void set_allocated_java_package(std::string* java_package); 3589 private: 3590 const std::string& _internal_java_package() const; 3591 void _internal_set_java_package(const std::string& value); 3592 std::string* _internal_mutable_java_package(); 3593 public: 3594 3595 // optional string java_outer_classname = 8; 3596 bool has_java_outer_classname() const; 3597 private: 3598 bool _internal_has_java_outer_classname() const; 3599 public: 3600 void clear_java_outer_classname(); 3601 const std::string& java_outer_classname() const; 3602 void set_java_outer_classname(const std::string& value); 3603 void set_java_outer_classname(std::string&& value); 3604 void set_java_outer_classname(const char* value); 3605 void set_java_outer_classname(const char* value, size_t size); 3606 std::string* mutable_java_outer_classname(); 3607 std::string* release_java_outer_classname(); 3608 void set_allocated_java_outer_classname(std::string* java_outer_classname); 3609 private: 3610 const std::string& _internal_java_outer_classname() const; 3611 void _internal_set_java_outer_classname(const std::string& value); 3612 std::string* _internal_mutable_java_outer_classname(); 3613 public: 3614 3615 // optional string go_package = 11; 3616 bool has_go_package() const; 3617 private: 3618 bool _internal_has_go_package() const; 3619 public: 3620 void clear_go_package(); 3621 const std::string& go_package() const; 3622 void set_go_package(const std::string& value); 3623 void set_go_package(std::string&& value); 3624 void set_go_package(const char* value); 3625 void set_go_package(const char* value, size_t size); 3626 std::string* mutable_go_package(); 3627 std::string* release_go_package(); 3628 void set_allocated_go_package(std::string* go_package); 3629 private: 3630 const std::string& _internal_go_package() const; 3631 void _internal_set_go_package(const std::string& value); 3632 std::string* _internal_mutable_go_package(); 3633 public: 3634 3635 // optional string objc_class_prefix = 36; 3636 bool has_objc_class_prefix() const; 3637 private: 3638 bool _internal_has_objc_class_prefix() const; 3639 public: 3640 void clear_objc_class_prefix(); 3641 const std::string& objc_class_prefix() const; 3642 void set_objc_class_prefix(const std::string& value); 3643 void set_objc_class_prefix(std::string&& value); 3644 void set_objc_class_prefix(const char* value); 3645 void set_objc_class_prefix(const char* value, size_t size); 3646 std::string* mutable_objc_class_prefix(); 3647 std::string* release_objc_class_prefix(); 3648 void set_allocated_objc_class_prefix(std::string* objc_class_prefix); 3649 private: 3650 const std::string& _internal_objc_class_prefix() const; 3651 void _internal_set_objc_class_prefix(const std::string& value); 3652 std::string* _internal_mutable_objc_class_prefix(); 3653 public: 3654 3655 // optional string csharp_namespace = 37; 3656 bool has_csharp_namespace() const; 3657 private: 3658 bool _internal_has_csharp_namespace() const; 3659 public: 3660 void clear_csharp_namespace(); 3661 const std::string& csharp_namespace() const; 3662 void set_csharp_namespace(const std::string& value); 3663 void set_csharp_namespace(std::string&& value); 3664 void set_csharp_namespace(const char* value); 3665 void set_csharp_namespace(const char* value, size_t size); 3666 std::string* mutable_csharp_namespace(); 3667 std::string* release_csharp_namespace(); 3668 void set_allocated_csharp_namespace(std::string* csharp_namespace); 3669 private: 3670 const std::string& _internal_csharp_namespace() const; 3671 void _internal_set_csharp_namespace(const std::string& value); 3672 std::string* _internal_mutable_csharp_namespace(); 3673 public: 3674 3675 // optional string swift_prefix = 39; 3676 bool has_swift_prefix() const; 3677 private: 3678 bool _internal_has_swift_prefix() const; 3679 public: 3680 void clear_swift_prefix(); 3681 const std::string& swift_prefix() const; 3682 void set_swift_prefix(const std::string& value); 3683 void set_swift_prefix(std::string&& value); 3684 void set_swift_prefix(const char* value); 3685 void set_swift_prefix(const char* value, size_t size); 3686 std::string* mutable_swift_prefix(); 3687 std::string* release_swift_prefix(); 3688 void set_allocated_swift_prefix(std::string* swift_prefix); 3689 private: 3690 const std::string& _internal_swift_prefix() const; 3691 void _internal_set_swift_prefix(const std::string& value); 3692 std::string* _internal_mutable_swift_prefix(); 3693 public: 3694 3695 // optional string php_class_prefix = 40; 3696 bool has_php_class_prefix() const; 3697 private: 3698 bool _internal_has_php_class_prefix() const; 3699 public: 3700 void clear_php_class_prefix(); 3701 const std::string& php_class_prefix() const; 3702 void set_php_class_prefix(const std::string& value); 3703 void set_php_class_prefix(std::string&& value); 3704 void set_php_class_prefix(const char* value); 3705 void set_php_class_prefix(const char* value, size_t size); 3706 std::string* mutable_php_class_prefix(); 3707 std::string* release_php_class_prefix(); 3708 void set_allocated_php_class_prefix(std::string* php_class_prefix); 3709 private: 3710 const std::string& _internal_php_class_prefix() const; 3711 void _internal_set_php_class_prefix(const std::string& value); 3712 std::string* _internal_mutable_php_class_prefix(); 3713 public: 3714 3715 // optional string php_namespace = 41; 3716 bool has_php_namespace() const; 3717 private: 3718 bool _internal_has_php_namespace() const; 3719 public: 3720 void clear_php_namespace(); 3721 const std::string& php_namespace() const; 3722 void set_php_namespace(const std::string& value); 3723 void set_php_namespace(std::string&& value); 3724 void set_php_namespace(const char* value); 3725 void set_php_namespace(const char* value, size_t size); 3726 std::string* mutable_php_namespace(); 3727 std::string* release_php_namespace(); 3728 void set_allocated_php_namespace(std::string* php_namespace); 3729 private: 3730 const std::string& _internal_php_namespace() const; 3731 void _internal_set_php_namespace(const std::string& value); 3732 std::string* _internal_mutable_php_namespace(); 3733 public: 3734 3735 // optional string php_metadata_namespace = 44; 3736 bool has_php_metadata_namespace() const; 3737 private: 3738 bool _internal_has_php_metadata_namespace() const; 3739 public: 3740 void clear_php_metadata_namespace(); 3741 const std::string& php_metadata_namespace() const; 3742 void set_php_metadata_namespace(const std::string& value); 3743 void set_php_metadata_namespace(std::string&& value); 3744 void set_php_metadata_namespace(const char* value); 3745 void set_php_metadata_namespace(const char* value, size_t size); 3746 std::string* mutable_php_metadata_namespace(); 3747 std::string* release_php_metadata_namespace(); 3748 void set_allocated_php_metadata_namespace(std::string* php_metadata_namespace); 3749 private: 3750 const std::string& _internal_php_metadata_namespace() const; 3751 void _internal_set_php_metadata_namespace(const std::string& value); 3752 std::string* _internal_mutable_php_metadata_namespace(); 3753 public: 3754 3755 // optional string ruby_package = 45; 3756 bool has_ruby_package() const; 3757 private: 3758 bool _internal_has_ruby_package() const; 3759 public: 3760 void clear_ruby_package(); 3761 const std::string& ruby_package() const; 3762 void set_ruby_package(const std::string& value); 3763 void set_ruby_package(std::string&& value); 3764 void set_ruby_package(const char* value); 3765 void set_ruby_package(const char* value, size_t size); 3766 std::string* mutable_ruby_package(); 3767 std::string* release_ruby_package(); 3768 void set_allocated_ruby_package(std::string* ruby_package); 3769 private: 3770 const std::string& _internal_ruby_package() const; 3771 void _internal_set_ruby_package(const std::string& value); 3772 std::string* _internal_mutable_ruby_package(); 3773 public: 3774 3775 // optional bool java_multiple_files = 10 [default = false]; 3776 bool has_java_multiple_files() const; 3777 private: 3778 bool _internal_has_java_multiple_files() const; 3779 public: 3780 void clear_java_multiple_files(); 3781 bool java_multiple_files() const; 3782 void set_java_multiple_files(bool value); 3783 private: 3784 bool _internal_java_multiple_files() const; 3785 void _internal_set_java_multiple_files(bool value); 3786 public: 3787 3788 // optional bool java_generate_equals_and_hash = 20 [deprecated = true]; 3789 PROTOBUF_DEPRECATED bool has_java_generate_equals_and_hash() const; 3790 private: 3791 bool _internal_has_java_generate_equals_and_hash() const; 3792 public: 3793 PROTOBUF_DEPRECATED void clear_java_generate_equals_and_hash(); 3794 PROTOBUF_DEPRECATED bool java_generate_equals_and_hash() const; 3795 PROTOBUF_DEPRECATED void set_java_generate_equals_and_hash(bool value); 3796 private: 3797 bool _internal_java_generate_equals_and_hash() const; 3798 void _internal_set_java_generate_equals_and_hash(bool value); 3799 public: 3800 3801 // optional bool java_string_check_utf8 = 27 [default = false]; 3802 bool has_java_string_check_utf8() const; 3803 private: 3804 bool _internal_has_java_string_check_utf8() const; 3805 public: 3806 void clear_java_string_check_utf8(); 3807 bool java_string_check_utf8() const; 3808 void set_java_string_check_utf8(bool value); 3809 private: 3810 bool _internal_java_string_check_utf8() const; 3811 void _internal_set_java_string_check_utf8(bool value); 3812 public: 3813 3814 // optional bool cc_generic_services = 16 [default = false]; 3815 bool has_cc_generic_services() const; 3816 private: 3817 bool _internal_has_cc_generic_services() const; 3818 public: 3819 void clear_cc_generic_services(); 3820 bool cc_generic_services() const; 3821 void set_cc_generic_services(bool value); 3822 private: 3823 bool _internal_cc_generic_services() const; 3824 void _internal_set_cc_generic_services(bool value); 3825 public: 3826 3827 // optional bool java_generic_services = 17 [default = false]; 3828 bool has_java_generic_services() const; 3829 private: 3830 bool _internal_has_java_generic_services() const; 3831 public: 3832 void clear_java_generic_services(); 3833 bool java_generic_services() const; 3834 void set_java_generic_services(bool value); 3835 private: 3836 bool _internal_java_generic_services() const; 3837 void _internal_set_java_generic_services(bool value); 3838 public: 3839 3840 // optional bool py_generic_services = 18 [default = false]; 3841 bool has_py_generic_services() const; 3842 private: 3843 bool _internal_has_py_generic_services() const; 3844 public: 3845 void clear_py_generic_services(); 3846 bool py_generic_services() const; 3847 void set_py_generic_services(bool value); 3848 private: 3849 bool _internal_py_generic_services() const; 3850 void _internal_set_py_generic_services(bool value); 3851 public: 3852 3853 // optional bool php_generic_services = 42 [default = false]; 3854 bool has_php_generic_services() const; 3855 private: 3856 bool _internal_has_php_generic_services() const; 3857 public: 3858 void clear_php_generic_services(); 3859 bool php_generic_services() const; 3860 void set_php_generic_services(bool value); 3861 private: 3862 bool _internal_php_generic_services() const; 3863 void _internal_set_php_generic_services(bool value); 3864 public: 3865 3866 // optional bool deprecated = 23 [default = false]; 3867 bool has_deprecated() const; 3868 private: 3869 bool _internal_has_deprecated() const; 3870 public: 3871 void clear_deprecated(); 3872 bool deprecated() const; 3873 void set_deprecated(bool value); 3874 private: 3875 bool _internal_deprecated() const; 3876 void _internal_set_deprecated(bool value); 3877 public: 3878 3879 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; 3880 bool has_optimize_for() const; 3881 private: 3882 bool _internal_has_optimize_for() const; 3883 public: 3884 void clear_optimize_for(); 3885 PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode optimize_for() const; 3886 void set_optimize_for(PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value); 3887 private: 3888 PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode _internal_optimize_for() const; 3889 void _internal_set_optimize_for(PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value); 3890 public: 3891 3892 // optional bool cc_enable_arenas = 31 [default = true]; 3893 bool has_cc_enable_arenas() const; 3894 private: 3895 bool _internal_has_cc_enable_arenas() const; 3896 public: 3897 void clear_cc_enable_arenas(); 3898 bool cc_enable_arenas() const; 3899 void set_cc_enable_arenas(bool value); 3900 private: 3901 bool _internal_cc_enable_arenas() const; 3902 void _internal_set_cc_enable_arenas(bool value); 3903 public: 3904 3905 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions) 3906 // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions) 3907 private: 3908 class _Internal; 3909 3910 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; 3911 3912 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 3913 typedef void InternalArenaConstructable_; 3914 typedef void DestructorSkippable_; 3915 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 3916 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 3917 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; 3918 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr java_package_; 3919 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr java_outer_classname_; 3920 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr go_package_; 3921 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr objc_class_prefix_; 3922 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr csharp_namespace_; 3923 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr swift_prefix_; 3924 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_class_prefix_; 3925 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_namespace_; 3926 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_metadata_namespace_; 3927 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ruby_package_; 3928 bool java_multiple_files_; 3929 bool java_generate_equals_and_hash_; 3930 bool java_string_check_utf8_; 3931 bool cc_generic_services_; 3932 bool java_generic_services_; 3933 bool py_generic_services_; 3934 bool php_generic_services_; 3935 bool deprecated_; 3936 int optimize_for_; 3937 bool cc_enable_arenas_; 3938 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 3939}; 3940// ------------------------------------------------------------------- 3941 3942class PROTOBUF_EXPORT MessageOptions PROTOBUF_FINAL : 3943 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MessageOptions) */ { 3944 public: 3945 inline MessageOptions() : MessageOptions(nullptr) {} 3946 virtual ~MessageOptions(); 3947 3948 MessageOptions(const MessageOptions& from); 3949 MessageOptions(MessageOptions&& from) noexcept 3950 : MessageOptions() { 3951 *this = ::std::move(from); 3952 } 3953 3954 inline MessageOptions& operator=(const MessageOptions& from) { 3955 CopyFrom(from); 3956 return *this; 3957 } 3958 inline MessageOptions& operator=(MessageOptions&& from) noexcept { 3959 if (GetArena() == from.GetArena()) { 3960 if (this != &from) InternalSwap(&from); 3961 } else { 3962 CopyFrom(from); 3963 } 3964 return *this; 3965 } 3966 3967 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 3968 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 3969 } 3970 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 3971 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 3972 } 3973 3974 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 3975 return GetDescriptor(); 3976 } 3977 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 3978 return GetMetadataStatic().descriptor; 3979 } 3980 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 3981 return GetMetadataStatic().reflection; 3982 } 3983 static const MessageOptions& default_instance(); 3984 3985 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 3986 static inline const MessageOptions* internal_default_instance() { 3987 return reinterpret_cast<const MessageOptions*>( 3988 &_MessageOptions_default_instance_); 3989 } 3990 static constexpr int kIndexInFileMessages = 3991 14; 3992 3993 friend void swap(MessageOptions& a, MessageOptions& b) { 3994 a.Swap(&b); 3995 } 3996 inline void Swap(MessageOptions* other) { 3997 if (other == this) return; 3998 if (GetArena() == other->GetArena()) { 3999 InternalSwap(other); 4000 } else { 4001 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 4002 } 4003 } 4004 void UnsafeArenaSwap(MessageOptions* other) { 4005 if (other == this) return; 4006 GOOGLE_DCHECK(GetArena() == other->GetArena()); 4007 InternalSwap(other); 4008 } 4009 4010 // implements Message ---------------------------------------------- 4011 4012 inline MessageOptions* New() const final { 4013 return CreateMaybeMessage<MessageOptions>(nullptr); 4014 } 4015 4016 MessageOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 4017 return CreateMaybeMessage<MessageOptions>(arena); 4018 } 4019 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 4020 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 4021 void CopyFrom(const MessageOptions& from); 4022 void MergeFrom(const MessageOptions& from); 4023 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 4024 bool IsInitialized() const final; 4025 4026 size_t ByteSizeLong() const final; 4027 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 4028 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 4029 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 4030 int GetCachedSize() const final { return _cached_size_.Get(); } 4031 4032 private: 4033 inline void SharedCtor(); 4034 inline void SharedDtor(); 4035 void SetCachedSize(int size) const final; 4036 void InternalSwap(MessageOptions* other); 4037 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 4038 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 4039 return "google.protobuf.MessageOptions"; 4040 } 4041 protected: 4042 explicit MessageOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena); 4043 private: 4044 static void ArenaDtor(void* object); 4045 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 4046 public: 4047 4048 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 4049 private: 4050 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 4051 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 4052 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 4053 } 4054 4055 public: 4056 4057 // nested types ---------------------------------------------------- 4058 4059 // accessors ------------------------------------------------------- 4060 4061 enum : int { 4062 kUninterpretedOptionFieldNumber = 999, 4063 kMessageSetWireFormatFieldNumber = 1, 4064 kNoStandardDescriptorAccessorFieldNumber = 2, 4065 kDeprecatedFieldNumber = 3, 4066 kMapEntryFieldNumber = 7, 4067 }; 4068 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 4069 int uninterpreted_option_size() const; 4070 private: 4071 int _internal_uninterpreted_option_size() const; 4072 public: 4073 void clear_uninterpreted_option(); 4074 PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); 4075 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >* 4076 mutable_uninterpreted_option(); 4077 private: 4078 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; 4079 PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); 4080 public: 4081 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; 4082 PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); 4083 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >& 4084 uninterpreted_option() const; 4085 4086 // optional bool message_set_wire_format = 1 [default = false]; 4087 bool has_message_set_wire_format() const; 4088 private: 4089 bool _internal_has_message_set_wire_format() const; 4090 public: 4091 void clear_message_set_wire_format(); 4092 bool message_set_wire_format() const; 4093 void set_message_set_wire_format(bool value); 4094 private: 4095 bool _internal_message_set_wire_format() const; 4096 void _internal_set_message_set_wire_format(bool value); 4097 public: 4098 4099 // optional bool no_standard_descriptor_accessor = 2 [default = false]; 4100 bool has_no_standard_descriptor_accessor() const; 4101 private: 4102 bool _internal_has_no_standard_descriptor_accessor() const; 4103 public: 4104 void clear_no_standard_descriptor_accessor(); 4105 bool no_standard_descriptor_accessor() const; 4106 void set_no_standard_descriptor_accessor(bool value); 4107 private: 4108 bool _internal_no_standard_descriptor_accessor() const; 4109 void _internal_set_no_standard_descriptor_accessor(bool value); 4110 public: 4111 4112 // optional bool deprecated = 3 [default = false]; 4113 bool has_deprecated() const; 4114 private: 4115 bool _internal_has_deprecated() const; 4116 public: 4117 void clear_deprecated(); 4118 bool deprecated() const; 4119 void set_deprecated(bool value); 4120 private: 4121 bool _internal_deprecated() const; 4122 void _internal_set_deprecated(bool value); 4123 public: 4124 4125 // optional bool map_entry = 7; 4126 bool has_map_entry() const; 4127 private: 4128 bool _internal_has_map_entry() const; 4129 public: 4130 void clear_map_entry(); 4131 bool map_entry() const; 4132 void set_map_entry(bool value); 4133 private: 4134 bool _internal_map_entry() const; 4135 void _internal_set_map_entry(bool value); 4136 public: 4137 4138 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions) 4139 // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions) 4140 private: 4141 class _Internal; 4142 4143 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; 4144 4145 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 4146 typedef void InternalArenaConstructable_; 4147 typedef void DestructorSkippable_; 4148 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 4149 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 4150 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; 4151 bool message_set_wire_format_; 4152 bool no_standard_descriptor_accessor_; 4153 bool deprecated_; 4154 bool map_entry_; 4155 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 4156}; 4157// ------------------------------------------------------------------- 4158 4159class PROTOBUF_EXPORT FieldOptions PROTOBUF_FINAL : 4160 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldOptions) */ { 4161 public: 4162 inline FieldOptions() : FieldOptions(nullptr) {} 4163 virtual ~FieldOptions(); 4164 4165 FieldOptions(const FieldOptions& from); 4166 FieldOptions(FieldOptions&& from) noexcept 4167 : FieldOptions() { 4168 *this = ::std::move(from); 4169 } 4170 4171 inline FieldOptions& operator=(const FieldOptions& from) { 4172 CopyFrom(from); 4173 return *this; 4174 } 4175 inline FieldOptions& operator=(FieldOptions&& from) noexcept { 4176 if (GetArena() == from.GetArena()) { 4177 if (this != &from) InternalSwap(&from); 4178 } else { 4179 CopyFrom(from); 4180 } 4181 return *this; 4182 } 4183 4184 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 4185 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 4186 } 4187 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 4188 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 4189 } 4190 4191 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 4192 return GetDescriptor(); 4193 } 4194 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 4195 return GetMetadataStatic().descriptor; 4196 } 4197 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 4198 return GetMetadataStatic().reflection; 4199 } 4200 static const FieldOptions& default_instance(); 4201 4202 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 4203 static inline const FieldOptions* internal_default_instance() { 4204 return reinterpret_cast<const FieldOptions*>( 4205 &_FieldOptions_default_instance_); 4206 } 4207 static constexpr int kIndexInFileMessages = 4208 15; 4209 4210 friend void swap(FieldOptions& a, FieldOptions& b) { 4211 a.Swap(&b); 4212 } 4213 inline void Swap(FieldOptions* other) { 4214 if (other == this) return; 4215 if (GetArena() == other->GetArena()) { 4216 InternalSwap(other); 4217 } else { 4218 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 4219 } 4220 } 4221 void UnsafeArenaSwap(FieldOptions* other) { 4222 if (other == this) return; 4223 GOOGLE_DCHECK(GetArena() == other->GetArena()); 4224 InternalSwap(other); 4225 } 4226 4227 // implements Message ---------------------------------------------- 4228 4229 inline FieldOptions* New() const final { 4230 return CreateMaybeMessage<FieldOptions>(nullptr); 4231 } 4232 4233 FieldOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 4234 return CreateMaybeMessage<FieldOptions>(arena); 4235 } 4236 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 4237 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 4238 void CopyFrom(const FieldOptions& from); 4239 void MergeFrom(const FieldOptions& from); 4240 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 4241 bool IsInitialized() const final; 4242 4243 size_t ByteSizeLong() const final; 4244 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 4245 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 4246 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 4247 int GetCachedSize() const final { return _cached_size_.Get(); } 4248 4249 private: 4250 inline void SharedCtor(); 4251 inline void SharedDtor(); 4252 void SetCachedSize(int size) const final; 4253 void InternalSwap(FieldOptions* other); 4254 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 4255 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 4256 return "google.protobuf.FieldOptions"; 4257 } 4258 protected: 4259 explicit FieldOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena); 4260 private: 4261 static void ArenaDtor(void* object); 4262 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 4263 public: 4264 4265 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 4266 private: 4267 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 4268 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 4269 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 4270 } 4271 4272 public: 4273 4274 // nested types ---------------------------------------------------- 4275 4276 typedef FieldOptions_CType CType; 4277 static constexpr CType STRING = 4278 FieldOptions_CType_STRING; 4279 static constexpr CType CORD = 4280 FieldOptions_CType_CORD; 4281 static constexpr CType STRING_PIECE = 4282 FieldOptions_CType_STRING_PIECE; 4283 static inline bool CType_IsValid(int value) { 4284 return FieldOptions_CType_IsValid(value); 4285 } 4286 static constexpr CType CType_MIN = 4287 FieldOptions_CType_CType_MIN; 4288 static constexpr CType CType_MAX = 4289 FieldOptions_CType_CType_MAX; 4290 static constexpr int CType_ARRAYSIZE = 4291 FieldOptions_CType_CType_ARRAYSIZE; 4292 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* 4293 CType_descriptor() { 4294 return FieldOptions_CType_descriptor(); 4295 } 4296 template<typename T> 4297 static inline const std::string& CType_Name(T enum_t_value) { 4298 static_assert(::std::is_same<T, CType>::value || 4299 ::std::is_integral<T>::value, 4300 "Incorrect type passed to function CType_Name."); 4301 return FieldOptions_CType_Name(enum_t_value); 4302 } 4303 static inline bool CType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, 4304 CType* value) { 4305 return FieldOptions_CType_Parse(name, value); 4306 } 4307 4308 typedef FieldOptions_JSType JSType; 4309 static constexpr JSType JS_NORMAL = 4310 FieldOptions_JSType_JS_NORMAL; 4311 static constexpr JSType JS_STRING = 4312 FieldOptions_JSType_JS_STRING; 4313 static constexpr JSType JS_NUMBER = 4314 FieldOptions_JSType_JS_NUMBER; 4315 static inline bool JSType_IsValid(int value) { 4316 return FieldOptions_JSType_IsValid(value); 4317 } 4318 static constexpr JSType JSType_MIN = 4319 FieldOptions_JSType_JSType_MIN; 4320 static constexpr JSType JSType_MAX = 4321 FieldOptions_JSType_JSType_MAX; 4322 static constexpr int JSType_ARRAYSIZE = 4323 FieldOptions_JSType_JSType_ARRAYSIZE; 4324 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* 4325 JSType_descriptor() { 4326 return FieldOptions_JSType_descriptor(); 4327 } 4328 template<typename T> 4329 static inline const std::string& JSType_Name(T enum_t_value) { 4330 static_assert(::std::is_same<T, JSType>::value || 4331 ::std::is_integral<T>::value, 4332 "Incorrect type passed to function JSType_Name."); 4333 return FieldOptions_JSType_Name(enum_t_value); 4334 } 4335 static inline bool JSType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, 4336 JSType* value) { 4337 return FieldOptions_JSType_Parse(name, value); 4338 } 4339 4340 // accessors ------------------------------------------------------- 4341 4342 enum : int { 4343 kUninterpretedOptionFieldNumber = 999, 4344 kCtypeFieldNumber = 1, 4345 kPackedFieldNumber = 2, 4346 kLazyFieldNumber = 5, 4347 kDeprecatedFieldNumber = 3, 4348 kWeakFieldNumber = 10, 4349 kJstypeFieldNumber = 6, 4350 }; 4351 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 4352 int uninterpreted_option_size() const; 4353 private: 4354 int _internal_uninterpreted_option_size() const; 4355 public: 4356 void clear_uninterpreted_option(); 4357 PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); 4358 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >* 4359 mutable_uninterpreted_option(); 4360 private: 4361 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; 4362 PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); 4363 public: 4364 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; 4365 PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); 4366 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >& 4367 uninterpreted_option() const; 4368 4369 // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; 4370 bool has_ctype() const; 4371 private: 4372 bool _internal_has_ctype() const; 4373 public: 4374 void clear_ctype(); 4375 PROTOBUF_NAMESPACE_ID::FieldOptions_CType ctype() const; 4376 void set_ctype(PROTOBUF_NAMESPACE_ID::FieldOptions_CType value); 4377 private: 4378 PROTOBUF_NAMESPACE_ID::FieldOptions_CType _internal_ctype() const; 4379 void _internal_set_ctype(PROTOBUF_NAMESPACE_ID::FieldOptions_CType value); 4380 public: 4381 4382 // optional bool packed = 2; 4383 bool has_packed() const; 4384 private: 4385 bool _internal_has_packed() const; 4386 public: 4387 void clear_packed(); 4388 bool packed() const; 4389 void set_packed(bool value); 4390 private: 4391 bool _internal_packed() const; 4392 void _internal_set_packed(bool value); 4393 public: 4394 4395 // optional bool lazy = 5 [default = false]; 4396 bool has_lazy() const; 4397 private: 4398 bool _internal_has_lazy() const; 4399 public: 4400 void clear_lazy(); 4401 bool lazy() const; 4402 void set_lazy(bool value); 4403 private: 4404 bool _internal_lazy() const; 4405 void _internal_set_lazy(bool value); 4406 public: 4407 4408 // optional bool deprecated = 3 [default = false]; 4409 bool has_deprecated() const; 4410 private: 4411 bool _internal_has_deprecated() const; 4412 public: 4413 void clear_deprecated(); 4414 bool deprecated() const; 4415 void set_deprecated(bool value); 4416 private: 4417 bool _internal_deprecated() const; 4418 void _internal_set_deprecated(bool value); 4419 public: 4420 4421 // optional bool weak = 10 [default = false]; 4422 bool has_weak() const; 4423 private: 4424 bool _internal_has_weak() const; 4425 public: 4426 void clear_weak(); 4427 bool weak() const; 4428 void set_weak(bool value); 4429 private: 4430 bool _internal_weak() const; 4431 void _internal_set_weak(bool value); 4432 public: 4433 4434 // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; 4435 bool has_jstype() const; 4436 private: 4437 bool _internal_has_jstype() const; 4438 public: 4439 void clear_jstype(); 4440 PROTOBUF_NAMESPACE_ID::FieldOptions_JSType jstype() const; 4441 void set_jstype(PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value); 4442 private: 4443 PROTOBUF_NAMESPACE_ID::FieldOptions_JSType _internal_jstype() const; 4444 void _internal_set_jstype(PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value); 4445 public: 4446 4447 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions) 4448 // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions) 4449 private: 4450 class _Internal; 4451 4452 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; 4453 4454 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 4455 typedef void InternalArenaConstructable_; 4456 typedef void DestructorSkippable_; 4457 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 4458 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 4459 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; 4460 int ctype_; 4461 bool packed_; 4462 bool lazy_; 4463 bool deprecated_; 4464 bool weak_; 4465 int jstype_; 4466 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 4467}; 4468// ------------------------------------------------------------------- 4469 4470class PROTOBUF_EXPORT OneofOptions PROTOBUF_FINAL : 4471 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.OneofOptions) */ { 4472 public: 4473 inline OneofOptions() : OneofOptions(nullptr) {} 4474 virtual ~OneofOptions(); 4475 4476 OneofOptions(const OneofOptions& from); 4477 OneofOptions(OneofOptions&& from) noexcept 4478 : OneofOptions() { 4479 *this = ::std::move(from); 4480 } 4481 4482 inline OneofOptions& operator=(const OneofOptions& from) { 4483 CopyFrom(from); 4484 return *this; 4485 } 4486 inline OneofOptions& operator=(OneofOptions&& from) noexcept { 4487 if (GetArena() == from.GetArena()) { 4488 if (this != &from) InternalSwap(&from); 4489 } else { 4490 CopyFrom(from); 4491 } 4492 return *this; 4493 } 4494 4495 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 4496 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 4497 } 4498 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 4499 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 4500 } 4501 4502 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 4503 return GetDescriptor(); 4504 } 4505 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 4506 return GetMetadataStatic().descriptor; 4507 } 4508 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 4509 return GetMetadataStatic().reflection; 4510 } 4511 static const OneofOptions& default_instance(); 4512 4513 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 4514 static inline const OneofOptions* internal_default_instance() { 4515 return reinterpret_cast<const OneofOptions*>( 4516 &_OneofOptions_default_instance_); 4517 } 4518 static constexpr int kIndexInFileMessages = 4519 16; 4520 4521 friend void swap(OneofOptions& a, OneofOptions& b) { 4522 a.Swap(&b); 4523 } 4524 inline void Swap(OneofOptions* other) { 4525 if (other == this) return; 4526 if (GetArena() == other->GetArena()) { 4527 InternalSwap(other); 4528 } else { 4529 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 4530 } 4531 } 4532 void UnsafeArenaSwap(OneofOptions* other) { 4533 if (other == this) return; 4534 GOOGLE_DCHECK(GetArena() == other->GetArena()); 4535 InternalSwap(other); 4536 } 4537 4538 // implements Message ---------------------------------------------- 4539 4540 inline OneofOptions* New() const final { 4541 return CreateMaybeMessage<OneofOptions>(nullptr); 4542 } 4543 4544 OneofOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 4545 return CreateMaybeMessage<OneofOptions>(arena); 4546 } 4547 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 4548 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 4549 void CopyFrom(const OneofOptions& from); 4550 void MergeFrom(const OneofOptions& from); 4551 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 4552 bool IsInitialized() const final; 4553 4554 size_t ByteSizeLong() const final; 4555 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 4556 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 4557 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 4558 int GetCachedSize() const final { return _cached_size_.Get(); } 4559 4560 private: 4561 inline void SharedCtor(); 4562 inline void SharedDtor(); 4563 void SetCachedSize(int size) const final; 4564 void InternalSwap(OneofOptions* other); 4565 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 4566 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 4567 return "google.protobuf.OneofOptions"; 4568 } 4569 protected: 4570 explicit OneofOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena); 4571 private: 4572 static void ArenaDtor(void* object); 4573 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 4574 public: 4575 4576 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 4577 private: 4578 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 4579 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 4580 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 4581 } 4582 4583 public: 4584 4585 // nested types ---------------------------------------------------- 4586 4587 // accessors ------------------------------------------------------- 4588 4589 enum : int { 4590 kUninterpretedOptionFieldNumber = 999, 4591 }; 4592 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 4593 int uninterpreted_option_size() const; 4594 private: 4595 int _internal_uninterpreted_option_size() const; 4596 public: 4597 void clear_uninterpreted_option(); 4598 PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); 4599 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >* 4600 mutable_uninterpreted_option(); 4601 private: 4602 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; 4603 PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); 4604 public: 4605 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; 4606 PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); 4607 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >& 4608 uninterpreted_option() const; 4609 4610 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(OneofOptions) 4611 // @@protoc_insertion_point(class_scope:google.protobuf.OneofOptions) 4612 private: 4613 class _Internal; 4614 4615 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; 4616 4617 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 4618 typedef void InternalArenaConstructable_; 4619 typedef void DestructorSkippable_; 4620 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; 4621 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 4622 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 4623}; 4624// ------------------------------------------------------------------- 4625 4626class PROTOBUF_EXPORT EnumOptions PROTOBUF_FINAL : 4627 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumOptions) */ { 4628 public: 4629 inline EnumOptions() : EnumOptions(nullptr) {} 4630 virtual ~EnumOptions(); 4631 4632 EnumOptions(const EnumOptions& from); 4633 EnumOptions(EnumOptions&& from) noexcept 4634 : EnumOptions() { 4635 *this = ::std::move(from); 4636 } 4637 4638 inline EnumOptions& operator=(const EnumOptions& from) { 4639 CopyFrom(from); 4640 return *this; 4641 } 4642 inline EnumOptions& operator=(EnumOptions&& from) noexcept { 4643 if (GetArena() == from.GetArena()) { 4644 if (this != &from) InternalSwap(&from); 4645 } else { 4646 CopyFrom(from); 4647 } 4648 return *this; 4649 } 4650 4651 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 4652 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 4653 } 4654 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 4655 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 4656 } 4657 4658 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 4659 return GetDescriptor(); 4660 } 4661 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 4662 return GetMetadataStatic().descriptor; 4663 } 4664 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 4665 return GetMetadataStatic().reflection; 4666 } 4667 static const EnumOptions& default_instance(); 4668 4669 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 4670 static inline const EnumOptions* internal_default_instance() { 4671 return reinterpret_cast<const EnumOptions*>( 4672 &_EnumOptions_default_instance_); 4673 } 4674 static constexpr int kIndexInFileMessages = 4675 17; 4676 4677 friend void swap(EnumOptions& a, EnumOptions& b) { 4678 a.Swap(&b); 4679 } 4680 inline void Swap(EnumOptions* other) { 4681 if (other == this) return; 4682 if (GetArena() == other->GetArena()) { 4683 InternalSwap(other); 4684 } else { 4685 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 4686 } 4687 } 4688 void UnsafeArenaSwap(EnumOptions* other) { 4689 if (other == this) return; 4690 GOOGLE_DCHECK(GetArena() == other->GetArena()); 4691 InternalSwap(other); 4692 } 4693 4694 // implements Message ---------------------------------------------- 4695 4696 inline EnumOptions* New() const final { 4697 return CreateMaybeMessage<EnumOptions>(nullptr); 4698 } 4699 4700 EnumOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 4701 return CreateMaybeMessage<EnumOptions>(arena); 4702 } 4703 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 4704 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 4705 void CopyFrom(const EnumOptions& from); 4706 void MergeFrom(const EnumOptions& from); 4707 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 4708 bool IsInitialized() const final; 4709 4710 size_t ByteSizeLong() const final; 4711 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 4712 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 4713 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 4714 int GetCachedSize() const final { return _cached_size_.Get(); } 4715 4716 private: 4717 inline void SharedCtor(); 4718 inline void SharedDtor(); 4719 void SetCachedSize(int size) const final; 4720 void InternalSwap(EnumOptions* other); 4721 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 4722 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 4723 return "google.protobuf.EnumOptions"; 4724 } 4725 protected: 4726 explicit EnumOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena); 4727 private: 4728 static void ArenaDtor(void* object); 4729 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 4730 public: 4731 4732 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 4733 private: 4734 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 4735 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 4736 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 4737 } 4738 4739 public: 4740 4741 // nested types ---------------------------------------------------- 4742 4743 // accessors ------------------------------------------------------- 4744 4745 enum : int { 4746 kUninterpretedOptionFieldNumber = 999, 4747 kAllowAliasFieldNumber = 2, 4748 kDeprecatedFieldNumber = 3, 4749 }; 4750 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 4751 int uninterpreted_option_size() const; 4752 private: 4753 int _internal_uninterpreted_option_size() const; 4754 public: 4755 void clear_uninterpreted_option(); 4756 PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); 4757 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >* 4758 mutable_uninterpreted_option(); 4759 private: 4760 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; 4761 PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); 4762 public: 4763 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; 4764 PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); 4765 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >& 4766 uninterpreted_option() const; 4767 4768 // optional bool allow_alias = 2; 4769 bool has_allow_alias() const; 4770 private: 4771 bool _internal_has_allow_alias() const; 4772 public: 4773 void clear_allow_alias(); 4774 bool allow_alias() const; 4775 void set_allow_alias(bool value); 4776 private: 4777 bool _internal_allow_alias() const; 4778 void _internal_set_allow_alias(bool value); 4779 public: 4780 4781 // optional bool deprecated = 3 [default = false]; 4782 bool has_deprecated() const; 4783 private: 4784 bool _internal_has_deprecated() const; 4785 public: 4786 void clear_deprecated(); 4787 bool deprecated() const; 4788 void set_deprecated(bool value); 4789 private: 4790 bool _internal_deprecated() const; 4791 void _internal_set_deprecated(bool value); 4792 public: 4793 4794 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions) 4795 // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions) 4796 private: 4797 class _Internal; 4798 4799 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; 4800 4801 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 4802 typedef void InternalArenaConstructable_; 4803 typedef void DestructorSkippable_; 4804 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 4805 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 4806 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; 4807 bool allow_alias_; 4808 bool deprecated_; 4809 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 4810}; 4811// ------------------------------------------------------------------- 4812 4813class PROTOBUF_EXPORT EnumValueOptions PROTOBUF_FINAL : 4814 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueOptions) */ { 4815 public: 4816 inline EnumValueOptions() : EnumValueOptions(nullptr) {} 4817 virtual ~EnumValueOptions(); 4818 4819 EnumValueOptions(const EnumValueOptions& from); 4820 EnumValueOptions(EnumValueOptions&& from) noexcept 4821 : EnumValueOptions() { 4822 *this = ::std::move(from); 4823 } 4824 4825 inline EnumValueOptions& operator=(const EnumValueOptions& from) { 4826 CopyFrom(from); 4827 return *this; 4828 } 4829 inline EnumValueOptions& operator=(EnumValueOptions&& from) noexcept { 4830 if (GetArena() == from.GetArena()) { 4831 if (this != &from) InternalSwap(&from); 4832 } else { 4833 CopyFrom(from); 4834 } 4835 return *this; 4836 } 4837 4838 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 4839 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 4840 } 4841 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 4842 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 4843 } 4844 4845 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 4846 return GetDescriptor(); 4847 } 4848 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 4849 return GetMetadataStatic().descriptor; 4850 } 4851 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 4852 return GetMetadataStatic().reflection; 4853 } 4854 static const EnumValueOptions& default_instance(); 4855 4856 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 4857 static inline const EnumValueOptions* internal_default_instance() { 4858 return reinterpret_cast<const EnumValueOptions*>( 4859 &_EnumValueOptions_default_instance_); 4860 } 4861 static constexpr int kIndexInFileMessages = 4862 18; 4863 4864 friend void swap(EnumValueOptions& a, EnumValueOptions& b) { 4865 a.Swap(&b); 4866 } 4867 inline void Swap(EnumValueOptions* other) { 4868 if (other == this) return; 4869 if (GetArena() == other->GetArena()) { 4870 InternalSwap(other); 4871 } else { 4872 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 4873 } 4874 } 4875 void UnsafeArenaSwap(EnumValueOptions* other) { 4876 if (other == this) return; 4877 GOOGLE_DCHECK(GetArena() == other->GetArena()); 4878 InternalSwap(other); 4879 } 4880 4881 // implements Message ---------------------------------------------- 4882 4883 inline EnumValueOptions* New() const final { 4884 return CreateMaybeMessage<EnumValueOptions>(nullptr); 4885 } 4886 4887 EnumValueOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 4888 return CreateMaybeMessage<EnumValueOptions>(arena); 4889 } 4890 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 4891 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 4892 void CopyFrom(const EnumValueOptions& from); 4893 void MergeFrom(const EnumValueOptions& from); 4894 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 4895 bool IsInitialized() const final; 4896 4897 size_t ByteSizeLong() const final; 4898 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 4899 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 4900 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 4901 int GetCachedSize() const final { return _cached_size_.Get(); } 4902 4903 private: 4904 inline void SharedCtor(); 4905 inline void SharedDtor(); 4906 void SetCachedSize(int size) const final; 4907 void InternalSwap(EnumValueOptions* other); 4908 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 4909 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 4910 return "google.protobuf.EnumValueOptions"; 4911 } 4912 protected: 4913 explicit EnumValueOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena); 4914 private: 4915 static void ArenaDtor(void* object); 4916 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 4917 public: 4918 4919 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 4920 private: 4921 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 4922 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 4923 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 4924 } 4925 4926 public: 4927 4928 // nested types ---------------------------------------------------- 4929 4930 // accessors ------------------------------------------------------- 4931 4932 enum : int { 4933 kUninterpretedOptionFieldNumber = 999, 4934 kDeprecatedFieldNumber = 1, 4935 }; 4936 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 4937 int uninterpreted_option_size() const; 4938 private: 4939 int _internal_uninterpreted_option_size() const; 4940 public: 4941 void clear_uninterpreted_option(); 4942 PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); 4943 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >* 4944 mutable_uninterpreted_option(); 4945 private: 4946 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; 4947 PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); 4948 public: 4949 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; 4950 PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); 4951 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >& 4952 uninterpreted_option() const; 4953 4954 // optional bool deprecated = 1 [default = false]; 4955 bool has_deprecated() const; 4956 private: 4957 bool _internal_has_deprecated() const; 4958 public: 4959 void clear_deprecated(); 4960 bool deprecated() const; 4961 void set_deprecated(bool value); 4962 private: 4963 bool _internal_deprecated() const; 4964 void _internal_set_deprecated(bool value); 4965 public: 4966 4967 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions) 4968 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions) 4969 private: 4970 class _Internal; 4971 4972 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; 4973 4974 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 4975 typedef void InternalArenaConstructable_; 4976 typedef void DestructorSkippable_; 4977 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 4978 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 4979 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; 4980 bool deprecated_; 4981 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 4982}; 4983// ------------------------------------------------------------------- 4984 4985class PROTOBUF_EXPORT ServiceOptions PROTOBUF_FINAL : 4986 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceOptions) */ { 4987 public: 4988 inline ServiceOptions() : ServiceOptions(nullptr) {} 4989 virtual ~ServiceOptions(); 4990 4991 ServiceOptions(const ServiceOptions& from); 4992 ServiceOptions(ServiceOptions&& from) noexcept 4993 : ServiceOptions() { 4994 *this = ::std::move(from); 4995 } 4996 4997 inline ServiceOptions& operator=(const ServiceOptions& from) { 4998 CopyFrom(from); 4999 return *this; 5000 } 5001 inline ServiceOptions& operator=(ServiceOptions&& from) noexcept { 5002 if (GetArena() == from.GetArena()) { 5003 if (this != &from) InternalSwap(&from); 5004 } else { 5005 CopyFrom(from); 5006 } 5007 return *this; 5008 } 5009 5010 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 5011 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 5012 } 5013 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 5014 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 5015 } 5016 5017 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 5018 return GetDescriptor(); 5019 } 5020 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 5021 return GetMetadataStatic().descriptor; 5022 } 5023 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 5024 return GetMetadataStatic().reflection; 5025 } 5026 static const ServiceOptions& default_instance(); 5027 5028 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 5029 static inline const ServiceOptions* internal_default_instance() { 5030 return reinterpret_cast<const ServiceOptions*>( 5031 &_ServiceOptions_default_instance_); 5032 } 5033 static constexpr int kIndexInFileMessages = 5034 19; 5035 5036 friend void swap(ServiceOptions& a, ServiceOptions& b) { 5037 a.Swap(&b); 5038 } 5039 inline void Swap(ServiceOptions* other) { 5040 if (other == this) return; 5041 if (GetArena() == other->GetArena()) { 5042 InternalSwap(other); 5043 } else { 5044 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 5045 } 5046 } 5047 void UnsafeArenaSwap(ServiceOptions* other) { 5048 if (other == this) return; 5049 GOOGLE_DCHECK(GetArena() == other->GetArena()); 5050 InternalSwap(other); 5051 } 5052 5053 // implements Message ---------------------------------------------- 5054 5055 inline ServiceOptions* New() const final { 5056 return CreateMaybeMessage<ServiceOptions>(nullptr); 5057 } 5058 5059 ServiceOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 5060 return CreateMaybeMessage<ServiceOptions>(arena); 5061 } 5062 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 5063 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 5064 void CopyFrom(const ServiceOptions& from); 5065 void MergeFrom(const ServiceOptions& from); 5066 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 5067 bool IsInitialized() const final; 5068 5069 size_t ByteSizeLong() const final; 5070 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 5071 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 5072 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 5073 int GetCachedSize() const final { return _cached_size_.Get(); } 5074 5075 private: 5076 inline void SharedCtor(); 5077 inline void SharedDtor(); 5078 void SetCachedSize(int size) const final; 5079 void InternalSwap(ServiceOptions* other); 5080 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 5081 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 5082 return "google.protobuf.ServiceOptions"; 5083 } 5084 protected: 5085 explicit ServiceOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena); 5086 private: 5087 static void ArenaDtor(void* object); 5088 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 5089 public: 5090 5091 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 5092 private: 5093 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 5094 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 5095 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 5096 } 5097 5098 public: 5099 5100 // nested types ---------------------------------------------------- 5101 5102 // accessors ------------------------------------------------------- 5103 5104 enum : int { 5105 kUninterpretedOptionFieldNumber = 999, 5106 kDeprecatedFieldNumber = 33, 5107 }; 5108 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 5109 int uninterpreted_option_size() const; 5110 private: 5111 int _internal_uninterpreted_option_size() const; 5112 public: 5113 void clear_uninterpreted_option(); 5114 PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); 5115 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >* 5116 mutable_uninterpreted_option(); 5117 private: 5118 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; 5119 PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); 5120 public: 5121 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; 5122 PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); 5123 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >& 5124 uninterpreted_option() const; 5125 5126 // optional bool deprecated = 33 [default = false]; 5127 bool has_deprecated() const; 5128 private: 5129 bool _internal_has_deprecated() const; 5130 public: 5131 void clear_deprecated(); 5132 bool deprecated() const; 5133 void set_deprecated(bool value); 5134 private: 5135 bool _internal_deprecated() const; 5136 void _internal_set_deprecated(bool value); 5137 public: 5138 5139 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions) 5140 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions) 5141 private: 5142 class _Internal; 5143 5144 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; 5145 5146 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 5147 typedef void InternalArenaConstructable_; 5148 typedef void DestructorSkippable_; 5149 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 5150 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 5151 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; 5152 bool deprecated_; 5153 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 5154}; 5155// ------------------------------------------------------------------- 5156 5157class PROTOBUF_EXPORT MethodOptions PROTOBUF_FINAL : 5158 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MethodOptions) */ { 5159 public: 5160 inline MethodOptions() : MethodOptions(nullptr) {} 5161 virtual ~MethodOptions(); 5162 5163 MethodOptions(const MethodOptions& from); 5164 MethodOptions(MethodOptions&& from) noexcept 5165 : MethodOptions() { 5166 *this = ::std::move(from); 5167 } 5168 5169 inline MethodOptions& operator=(const MethodOptions& from) { 5170 CopyFrom(from); 5171 return *this; 5172 } 5173 inline MethodOptions& operator=(MethodOptions&& from) noexcept { 5174 if (GetArena() == from.GetArena()) { 5175 if (this != &from) InternalSwap(&from); 5176 } else { 5177 CopyFrom(from); 5178 } 5179 return *this; 5180 } 5181 5182 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 5183 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 5184 } 5185 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 5186 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 5187 } 5188 5189 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 5190 return GetDescriptor(); 5191 } 5192 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 5193 return GetMetadataStatic().descriptor; 5194 } 5195 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 5196 return GetMetadataStatic().reflection; 5197 } 5198 static const MethodOptions& default_instance(); 5199 5200 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 5201 static inline const MethodOptions* internal_default_instance() { 5202 return reinterpret_cast<const MethodOptions*>( 5203 &_MethodOptions_default_instance_); 5204 } 5205 static constexpr int kIndexInFileMessages = 5206 20; 5207 5208 friend void swap(MethodOptions& a, MethodOptions& b) { 5209 a.Swap(&b); 5210 } 5211 inline void Swap(MethodOptions* other) { 5212 if (other == this) return; 5213 if (GetArena() == other->GetArena()) { 5214 InternalSwap(other); 5215 } else { 5216 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 5217 } 5218 } 5219 void UnsafeArenaSwap(MethodOptions* other) { 5220 if (other == this) return; 5221 GOOGLE_DCHECK(GetArena() == other->GetArena()); 5222 InternalSwap(other); 5223 } 5224 5225 // implements Message ---------------------------------------------- 5226 5227 inline MethodOptions* New() const final { 5228 return CreateMaybeMessage<MethodOptions>(nullptr); 5229 } 5230 5231 MethodOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 5232 return CreateMaybeMessage<MethodOptions>(arena); 5233 } 5234 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 5235 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 5236 void CopyFrom(const MethodOptions& from); 5237 void MergeFrom(const MethodOptions& from); 5238 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 5239 bool IsInitialized() const final; 5240 5241 size_t ByteSizeLong() const final; 5242 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 5243 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 5244 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 5245 int GetCachedSize() const final { return _cached_size_.Get(); } 5246 5247 private: 5248 inline void SharedCtor(); 5249 inline void SharedDtor(); 5250 void SetCachedSize(int size) const final; 5251 void InternalSwap(MethodOptions* other); 5252 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 5253 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 5254 return "google.protobuf.MethodOptions"; 5255 } 5256 protected: 5257 explicit MethodOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena); 5258 private: 5259 static void ArenaDtor(void* object); 5260 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 5261 public: 5262 5263 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 5264 private: 5265 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 5266 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 5267 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 5268 } 5269 5270 public: 5271 5272 // nested types ---------------------------------------------------- 5273 5274 typedef MethodOptions_IdempotencyLevel IdempotencyLevel; 5275 static constexpr IdempotencyLevel IDEMPOTENCY_UNKNOWN = 5276 MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN; 5277 static constexpr IdempotencyLevel NO_SIDE_EFFECTS = 5278 MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS; 5279 static constexpr IdempotencyLevel IDEMPOTENT = 5280 MethodOptions_IdempotencyLevel_IDEMPOTENT; 5281 static inline bool IdempotencyLevel_IsValid(int value) { 5282 return MethodOptions_IdempotencyLevel_IsValid(value); 5283 } 5284 static constexpr IdempotencyLevel IdempotencyLevel_MIN = 5285 MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN; 5286 static constexpr IdempotencyLevel IdempotencyLevel_MAX = 5287 MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX; 5288 static constexpr int IdempotencyLevel_ARRAYSIZE = 5289 MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE; 5290 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* 5291 IdempotencyLevel_descriptor() { 5292 return MethodOptions_IdempotencyLevel_descriptor(); 5293 } 5294 template<typename T> 5295 static inline const std::string& IdempotencyLevel_Name(T enum_t_value) { 5296 static_assert(::std::is_same<T, IdempotencyLevel>::value || 5297 ::std::is_integral<T>::value, 5298 "Incorrect type passed to function IdempotencyLevel_Name."); 5299 return MethodOptions_IdempotencyLevel_Name(enum_t_value); 5300 } 5301 static inline bool IdempotencyLevel_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, 5302 IdempotencyLevel* value) { 5303 return MethodOptions_IdempotencyLevel_Parse(name, value); 5304 } 5305 5306 // accessors ------------------------------------------------------- 5307 5308 enum : int { 5309 kUninterpretedOptionFieldNumber = 999, 5310 kDeprecatedFieldNumber = 33, 5311 kIdempotencyLevelFieldNumber = 34, 5312 }; 5313 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 5314 int uninterpreted_option_size() const; 5315 private: 5316 int _internal_uninterpreted_option_size() const; 5317 public: 5318 void clear_uninterpreted_option(); 5319 PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); 5320 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >* 5321 mutable_uninterpreted_option(); 5322 private: 5323 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; 5324 PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); 5325 public: 5326 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; 5327 PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); 5328 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >& 5329 uninterpreted_option() const; 5330 5331 // optional bool deprecated = 33 [default = false]; 5332 bool has_deprecated() const; 5333 private: 5334 bool _internal_has_deprecated() const; 5335 public: 5336 void clear_deprecated(); 5337 bool deprecated() const; 5338 void set_deprecated(bool value); 5339 private: 5340 bool _internal_deprecated() const; 5341 void _internal_set_deprecated(bool value); 5342 public: 5343 5344 // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; 5345 bool has_idempotency_level() const; 5346 private: 5347 bool _internal_has_idempotency_level() const; 5348 public: 5349 void clear_idempotency_level(); 5350 PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel idempotency_level() const; 5351 void set_idempotency_level(PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value); 5352 private: 5353 PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel _internal_idempotency_level() const; 5354 void _internal_set_idempotency_level(PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value); 5355 public: 5356 5357 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions) 5358 // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions) 5359 private: 5360 class _Internal; 5361 5362 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; 5363 5364 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 5365 typedef void InternalArenaConstructable_; 5366 typedef void DestructorSkippable_; 5367 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 5368 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 5369 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; 5370 bool deprecated_; 5371 int idempotency_level_; 5372 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 5373}; 5374// ------------------------------------------------------------------- 5375 5376class PROTOBUF_EXPORT UninterpretedOption_NamePart PROTOBUF_FINAL : 5377 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption.NamePart) */ { 5378 public: 5379 inline UninterpretedOption_NamePart() : UninterpretedOption_NamePart(nullptr) {} 5380 virtual ~UninterpretedOption_NamePart(); 5381 5382 UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from); 5383 UninterpretedOption_NamePart(UninterpretedOption_NamePart&& from) noexcept 5384 : UninterpretedOption_NamePart() { 5385 *this = ::std::move(from); 5386 } 5387 5388 inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NamePart& from) { 5389 CopyFrom(from); 5390 return *this; 5391 } 5392 inline UninterpretedOption_NamePart& operator=(UninterpretedOption_NamePart&& from) noexcept { 5393 if (GetArena() == from.GetArena()) { 5394 if (this != &from) InternalSwap(&from); 5395 } else { 5396 CopyFrom(from); 5397 } 5398 return *this; 5399 } 5400 5401 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 5402 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 5403 } 5404 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 5405 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 5406 } 5407 5408 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 5409 return GetDescriptor(); 5410 } 5411 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 5412 return GetMetadataStatic().descriptor; 5413 } 5414 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 5415 return GetMetadataStatic().reflection; 5416 } 5417 static const UninterpretedOption_NamePart& default_instance(); 5418 5419 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 5420 static inline const UninterpretedOption_NamePart* internal_default_instance() { 5421 return reinterpret_cast<const UninterpretedOption_NamePart*>( 5422 &_UninterpretedOption_NamePart_default_instance_); 5423 } 5424 static constexpr int kIndexInFileMessages = 5425 21; 5426 5427 friend void swap(UninterpretedOption_NamePart& a, UninterpretedOption_NamePart& b) { 5428 a.Swap(&b); 5429 } 5430 inline void Swap(UninterpretedOption_NamePart* other) { 5431 if (other == this) return; 5432 if (GetArena() == other->GetArena()) { 5433 InternalSwap(other); 5434 } else { 5435 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 5436 } 5437 } 5438 void UnsafeArenaSwap(UninterpretedOption_NamePart* other) { 5439 if (other == this) return; 5440 GOOGLE_DCHECK(GetArena() == other->GetArena()); 5441 InternalSwap(other); 5442 } 5443 5444 // implements Message ---------------------------------------------- 5445 5446 inline UninterpretedOption_NamePart* New() const final { 5447 return CreateMaybeMessage<UninterpretedOption_NamePart>(nullptr); 5448 } 5449 5450 UninterpretedOption_NamePart* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 5451 return CreateMaybeMessage<UninterpretedOption_NamePart>(arena); 5452 } 5453 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 5454 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 5455 void CopyFrom(const UninterpretedOption_NamePart& from); 5456 void MergeFrom(const UninterpretedOption_NamePart& from); 5457 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 5458 bool IsInitialized() const final; 5459 5460 size_t ByteSizeLong() const final; 5461 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 5462 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 5463 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 5464 int GetCachedSize() const final { return _cached_size_.Get(); } 5465 5466 private: 5467 inline void SharedCtor(); 5468 inline void SharedDtor(); 5469 void SetCachedSize(int size) const final; 5470 void InternalSwap(UninterpretedOption_NamePart* other); 5471 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 5472 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 5473 return "google.protobuf.UninterpretedOption.NamePart"; 5474 } 5475 protected: 5476 explicit UninterpretedOption_NamePart(::PROTOBUF_NAMESPACE_ID::Arena* arena); 5477 private: 5478 static void ArenaDtor(void* object); 5479 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 5480 public: 5481 5482 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 5483 private: 5484 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 5485 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 5486 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 5487 } 5488 5489 public: 5490 5491 // nested types ---------------------------------------------------- 5492 5493 // accessors ------------------------------------------------------- 5494 5495 enum : int { 5496 kNamePartFieldNumber = 1, 5497 kIsExtensionFieldNumber = 2, 5498 }; 5499 // required string name_part = 1; 5500 bool has_name_part() const; 5501 private: 5502 bool _internal_has_name_part() const; 5503 public: 5504 void clear_name_part(); 5505 const std::string& name_part() const; 5506 void set_name_part(const std::string& value); 5507 void set_name_part(std::string&& value); 5508 void set_name_part(const char* value); 5509 void set_name_part(const char* value, size_t size); 5510 std::string* mutable_name_part(); 5511 std::string* release_name_part(); 5512 void set_allocated_name_part(std::string* name_part); 5513 private: 5514 const std::string& _internal_name_part() const; 5515 void _internal_set_name_part(const std::string& value); 5516 std::string* _internal_mutable_name_part(); 5517 public: 5518 5519 // required bool is_extension = 2; 5520 bool has_is_extension() const; 5521 private: 5522 bool _internal_has_is_extension() const; 5523 public: 5524 void clear_is_extension(); 5525 bool is_extension() const; 5526 void set_is_extension(bool value); 5527 private: 5528 bool _internal_is_extension() const; 5529 void _internal_set_is_extension(bool value); 5530 public: 5531 5532 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart) 5533 private: 5534 class _Internal; 5535 5536 // helper for ByteSizeLong() 5537 size_t RequiredFieldsByteSizeFallback() const; 5538 5539 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 5540 typedef void InternalArenaConstructable_; 5541 typedef void DestructorSkippable_; 5542 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 5543 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 5544 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_part_; 5545 bool is_extension_; 5546 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 5547}; 5548// ------------------------------------------------------------------- 5549 5550class PROTOBUF_EXPORT UninterpretedOption PROTOBUF_FINAL : 5551 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption) */ { 5552 public: 5553 inline UninterpretedOption() : UninterpretedOption(nullptr) {} 5554 virtual ~UninterpretedOption(); 5555 5556 UninterpretedOption(const UninterpretedOption& from); 5557 UninterpretedOption(UninterpretedOption&& from) noexcept 5558 : UninterpretedOption() { 5559 *this = ::std::move(from); 5560 } 5561 5562 inline UninterpretedOption& operator=(const UninterpretedOption& from) { 5563 CopyFrom(from); 5564 return *this; 5565 } 5566 inline UninterpretedOption& operator=(UninterpretedOption&& from) noexcept { 5567 if (GetArena() == from.GetArena()) { 5568 if (this != &from) InternalSwap(&from); 5569 } else { 5570 CopyFrom(from); 5571 } 5572 return *this; 5573 } 5574 5575 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 5576 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 5577 } 5578 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 5579 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 5580 } 5581 5582 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 5583 return GetDescriptor(); 5584 } 5585 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 5586 return GetMetadataStatic().descriptor; 5587 } 5588 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 5589 return GetMetadataStatic().reflection; 5590 } 5591 static const UninterpretedOption& default_instance(); 5592 5593 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 5594 static inline const UninterpretedOption* internal_default_instance() { 5595 return reinterpret_cast<const UninterpretedOption*>( 5596 &_UninterpretedOption_default_instance_); 5597 } 5598 static constexpr int kIndexInFileMessages = 5599 22; 5600 5601 friend void swap(UninterpretedOption& a, UninterpretedOption& b) { 5602 a.Swap(&b); 5603 } 5604 inline void Swap(UninterpretedOption* other) { 5605 if (other == this) return; 5606 if (GetArena() == other->GetArena()) { 5607 InternalSwap(other); 5608 } else { 5609 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 5610 } 5611 } 5612 void UnsafeArenaSwap(UninterpretedOption* other) { 5613 if (other == this) return; 5614 GOOGLE_DCHECK(GetArena() == other->GetArena()); 5615 InternalSwap(other); 5616 } 5617 5618 // implements Message ---------------------------------------------- 5619 5620 inline UninterpretedOption* New() const final { 5621 return CreateMaybeMessage<UninterpretedOption>(nullptr); 5622 } 5623 5624 UninterpretedOption* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 5625 return CreateMaybeMessage<UninterpretedOption>(arena); 5626 } 5627 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 5628 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 5629 void CopyFrom(const UninterpretedOption& from); 5630 void MergeFrom(const UninterpretedOption& from); 5631 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 5632 bool IsInitialized() const final; 5633 5634 size_t ByteSizeLong() const final; 5635 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 5636 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 5637 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 5638 int GetCachedSize() const final { return _cached_size_.Get(); } 5639 5640 private: 5641 inline void SharedCtor(); 5642 inline void SharedDtor(); 5643 void SetCachedSize(int size) const final; 5644 void InternalSwap(UninterpretedOption* other); 5645 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 5646 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 5647 return "google.protobuf.UninterpretedOption"; 5648 } 5649 protected: 5650 explicit UninterpretedOption(::PROTOBUF_NAMESPACE_ID::Arena* arena); 5651 private: 5652 static void ArenaDtor(void* object); 5653 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 5654 public: 5655 5656 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 5657 private: 5658 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 5659 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 5660 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 5661 } 5662 5663 public: 5664 5665 // nested types ---------------------------------------------------- 5666 5667 typedef UninterpretedOption_NamePart NamePart; 5668 5669 // accessors ------------------------------------------------------- 5670 5671 enum : int { 5672 kNameFieldNumber = 2, 5673 kIdentifierValueFieldNumber = 3, 5674 kStringValueFieldNumber = 7, 5675 kAggregateValueFieldNumber = 8, 5676 kPositiveIntValueFieldNumber = 4, 5677 kNegativeIntValueFieldNumber = 5, 5678 kDoubleValueFieldNumber = 6, 5679 }; 5680 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; 5681 int name_size() const; 5682 private: 5683 int _internal_name_size() const; 5684 public: 5685 void clear_name(); 5686 PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* mutable_name(int index); 5687 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >* 5688 mutable_name(); 5689 private: 5690 const PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& _internal_name(int index) const; 5691 PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* _internal_add_name(); 5692 public: 5693 const PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& name(int index) const; 5694 PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* add_name(); 5695 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >& 5696 name() const; 5697 5698 // optional string identifier_value = 3; 5699 bool has_identifier_value() const; 5700 private: 5701 bool _internal_has_identifier_value() const; 5702 public: 5703 void clear_identifier_value(); 5704 const std::string& identifier_value() const; 5705 void set_identifier_value(const std::string& value); 5706 void set_identifier_value(std::string&& value); 5707 void set_identifier_value(const char* value); 5708 void set_identifier_value(const char* value, size_t size); 5709 std::string* mutable_identifier_value(); 5710 std::string* release_identifier_value(); 5711 void set_allocated_identifier_value(std::string* identifier_value); 5712 private: 5713 const std::string& _internal_identifier_value() const; 5714 void _internal_set_identifier_value(const std::string& value); 5715 std::string* _internal_mutable_identifier_value(); 5716 public: 5717 5718 // optional bytes string_value = 7; 5719 bool has_string_value() const; 5720 private: 5721 bool _internal_has_string_value() const; 5722 public: 5723 void clear_string_value(); 5724 const std::string& string_value() const; 5725 void set_string_value(const std::string& value); 5726 void set_string_value(std::string&& value); 5727 void set_string_value(const char* value); 5728 void set_string_value(const void* value, size_t size); 5729 std::string* mutable_string_value(); 5730 std::string* release_string_value(); 5731 void set_allocated_string_value(std::string* string_value); 5732 private: 5733 const std::string& _internal_string_value() const; 5734 void _internal_set_string_value(const std::string& value); 5735 std::string* _internal_mutable_string_value(); 5736 public: 5737 5738 // optional string aggregate_value = 8; 5739 bool has_aggregate_value() const; 5740 private: 5741 bool _internal_has_aggregate_value() const; 5742 public: 5743 void clear_aggregate_value(); 5744 const std::string& aggregate_value() const; 5745 void set_aggregate_value(const std::string& value); 5746 void set_aggregate_value(std::string&& value); 5747 void set_aggregate_value(const char* value); 5748 void set_aggregate_value(const char* value, size_t size); 5749 std::string* mutable_aggregate_value(); 5750 std::string* release_aggregate_value(); 5751 void set_allocated_aggregate_value(std::string* aggregate_value); 5752 private: 5753 const std::string& _internal_aggregate_value() const; 5754 void _internal_set_aggregate_value(const std::string& value); 5755 std::string* _internal_mutable_aggregate_value(); 5756 public: 5757 5758 // optional uint64 positive_int_value = 4; 5759 bool has_positive_int_value() const; 5760 private: 5761 bool _internal_has_positive_int_value() const; 5762 public: 5763 void clear_positive_int_value(); 5764 ::PROTOBUF_NAMESPACE_ID::uint64 positive_int_value() const; 5765 void set_positive_int_value(::PROTOBUF_NAMESPACE_ID::uint64 value); 5766 private: 5767 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_positive_int_value() const; 5768 void _internal_set_positive_int_value(::PROTOBUF_NAMESPACE_ID::uint64 value); 5769 public: 5770 5771 // optional int64 negative_int_value = 5; 5772 bool has_negative_int_value() const; 5773 private: 5774 bool _internal_has_negative_int_value() const; 5775 public: 5776 void clear_negative_int_value(); 5777 ::PROTOBUF_NAMESPACE_ID::int64 negative_int_value() const; 5778 void set_negative_int_value(::PROTOBUF_NAMESPACE_ID::int64 value); 5779 private: 5780 ::PROTOBUF_NAMESPACE_ID::int64 _internal_negative_int_value() const; 5781 void _internal_set_negative_int_value(::PROTOBUF_NAMESPACE_ID::int64 value); 5782 public: 5783 5784 // optional double double_value = 6; 5785 bool has_double_value() const; 5786 private: 5787 bool _internal_has_double_value() const; 5788 public: 5789 void clear_double_value(); 5790 double double_value() const; 5791 void set_double_value(double value); 5792 private: 5793 double _internal_double_value() const; 5794 void _internal_set_double_value(double value); 5795 public: 5796 5797 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption) 5798 private: 5799 class _Internal; 5800 5801 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 5802 typedef void InternalArenaConstructable_; 5803 typedef void DestructorSkippable_; 5804 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 5805 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 5806 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart > name_; 5807 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identifier_value_; 5808 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_; 5809 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr aggregate_value_; 5810 ::PROTOBUF_NAMESPACE_ID::uint64 positive_int_value_; 5811 ::PROTOBUF_NAMESPACE_ID::int64 negative_int_value_; 5812 double double_value_; 5813 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 5814}; 5815// ------------------------------------------------------------------- 5816 5817class PROTOBUF_EXPORT SourceCodeInfo_Location PROTOBUF_FINAL : 5818 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo.Location) */ { 5819 public: 5820 inline SourceCodeInfo_Location() : SourceCodeInfo_Location(nullptr) {} 5821 virtual ~SourceCodeInfo_Location(); 5822 5823 SourceCodeInfo_Location(const SourceCodeInfo_Location& from); 5824 SourceCodeInfo_Location(SourceCodeInfo_Location&& from) noexcept 5825 : SourceCodeInfo_Location() { 5826 *this = ::std::move(from); 5827 } 5828 5829 inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) { 5830 CopyFrom(from); 5831 return *this; 5832 } 5833 inline SourceCodeInfo_Location& operator=(SourceCodeInfo_Location&& from) noexcept { 5834 if (GetArena() == from.GetArena()) { 5835 if (this != &from) InternalSwap(&from); 5836 } else { 5837 CopyFrom(from); 5838 } 5839 return *this; 5840 } 5841 5842 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 5843 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 5844 } 5845 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 5846 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 5847 } 5848 5849 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 5850 return GetDescriptor(); 5851 } 5852 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 5853 return GetMetadataStatic().descriptor; 5854 } 5855 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 5856 return GetMetadataStatic().reflection; 5857 } 5858 static const SourceCodeInfo_Location& default_instance(); 5859 5860 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 5861 static inline const SourceCodeInfo_Location* internal_default_instance() { 5862 return reinterpret_cast<const SourceCodeInfo_Location*>( 5863 &_SourceCodeInfo_Location_default_instance_); 5864 } 5865 static constexpr int kIndexInFileMessages = 5866 23; 5867 5868 friend void swap(SourceCodeInfo_Location& a, SourceCodeInfo_Location& b) { 5869 a.Swap(&b); 5870 } 5871 inline void Swap(SourceCodeInfo_Location* other) { 5872 if (other == this) return; 5873 if (GetArena() == other->GetArena()) { 5874 InternalSwap(other); 5875 } else { 5876 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 5877 } 5878 } 5879 void UnsafeArenaSwap(SourceCodeInfo_Location* other) { 5880 if (other == this) return; 5881 GOOGLE_DCHECK(GetArena() == other->GetArena()); 5882 InternalSwap(other); 5883 } 5884 5885 // implements Message ---------------------------------------------- 5886 5887 inline SourceCodeInfo_Location* New() const final { 5888 return CreateMaybeMessage<SourceCodeInfo_Location>(nullptr); 5889 } 5890 5891 SourceCodeInfo_Location* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 5892 return CreateMaybeMessage<SourceCodeInfo_Location>(arena); 5893 } 5894 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 5895 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 5896 void CopyFrom(const SourceCodeInfo_Location& from); 5897 void MergeFrom(const SourceCodeInfo_Location& from); 5898 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 5899 bool IsInitialized() const final; 5900 5901 size_t ByteSizeLong() const final; 5902 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 5903 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 5904 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 5905 int GetCachedSize() const final { return _cached_size_.Get(); } 5906 5907 private: 5908 inline void SharedCtor(); 5909 inline void SharedDtor(); 5910 void SetCachedSize(int size) const final; 5911 void InternalSwap(SourceCodeInfo_Location* other); 5912 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 5913 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 5914 return "google.protobuf.SourceCodeInfo.Location"; 5915 } 5916 protected: 5917 explicit SourceCodeInfo_Location(::PROTOBUF_NAMESPACE_ID::Arena* arena); 5918 private: 5919 static void ArenaDtor(void* object); 5920 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 5921 public: 5922 5923 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 5924 private: 5925 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 5926 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 5927 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 5928 } 5929 5930 public: 5931 5932 // nested types ---------------------------------------------------- 5933 5934 // accessors ------------------------------------------------------- 5935 5936 enum : int { 5937 kPathFieldNumber = 1, 5938 kSpanFieldNumber = 2, 5939 kLeadingDetachedCommentsFieldNumber = 6, 5940 kLeadingCommentsFieldNumber = 3, 5941 kTrailingCommentsFieldNumber = 4, 5942 }; 5943 // repeated int32 path = 1 [packed = true]; 5944 int path_size() const; 5945 private: 5946 int _internal_path_size() const; 5947 public: 5948 void clear_path(); 5949 private: 5950 ::PROTOBUF_NAMESPACE_ID::int32 _internal_path(int index) const; 5951 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 5952 _internal_path() const; 5953 void _internal_add_path(::PROTOBUF_NAMESPACE_ID::int32 value); 5954 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 5955 _internal_mutable_path(); 5956 public: 5957 ::PROTOBUF_NAMESPACE_ID::int32 path(int index) const; 5958 void set_path(int index, ::PROTOBUF_NAMESPACE_ID::int32 value); 5959 void add_path(::PROTOBUF_NAMESPACE_ID::int32 value); 5960 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 5961 path() const; 5962 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 5963 mutable_path(); 5964 5965 // repeated int32 span = 2 [packed = true]; 5966 int span_size() const; 5967 private: 5968 int _internal_span_size() const; 5969 public: 5970 void clear_span(); 5971 private: 5972 ::PROTOBUF_NAMESPACE_ID::int32 _internal_span(int index) const; 5973 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 5974 _internal_span() const; 5975 void _internal_add_span(::PROTOBUF_NAMESPACE_ID::int32 value); 5976 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 5977 _internal_mutable_span(); 5978 public: 5979 ::PROTOBUF_NAMESPACE_ID::int32 span(int index) const; 5980 void set_span(int index, ::PROTOBUF_NAMESPACE_ID::int32 value); 5981 void add_span(::PROTOBUF_NAMESPACE_ID::int32 value); 5982 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 5983 span() const; 5984 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 5985 mutable_span(); 5986 5987 // repeated string leading_detached_comments = 6; 5988 int leading_detached_comments_size() const; 5989 private: 5990 int _internal_leading_detached_comments_size() const; 5991 public: 5992 void clear_leading_detached_comments(); 5993 const std::string& leading_detached_comments(int index) const; 5994 std::string* mutable_leading_detached_comments(int index); 5995 void set_leading_detached_comments(int index, const std::string& value); 5996 void set_leading_detached_comments(int index, std::string&& value); 5997 void set_leading_detached_comments(int index, const char* value); 5998 void set_leading_detached_comments(int index, const char* value, size_t size); 5999 std::string* add_leading_detached_comments(); 6000 void add_leading_detached_comments(const std::string& value); 6001 void add_leading_detached_comments(std::string&& value); 6002 void add_leading_detached_comments(const char* value); 6003 void add_leading_detached_comments(const char* value, size_t size); 6004 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& leading_detached_comments() const; 6005 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_leading_detached_comments(); 6006 private: 6007 const std::string& _internal_leading_detached_comments(int index) const; 6008 std::string* _internal_add_leading_detached_comments(); 6009 public: 6010 6011 // optional string leading_comments = 3; 6012 bool has_leading_comments() const; 6013 private: 6014 bool _internal_has_leading_comments() const; 6015 public: 6016 void clear_leading_comments(); 6017 const std::string& leading_comments() const; 6018 void set_leading_comments(const std::string& value); 6019 void set_leading_comments(std::string&& value); 6020 void set_leading_comments(const char* value); 6021 void set_leading_comments(const char* value, size_t size); 6022 std::string* mutable_leading_comments(); 6023 std::string* release_leading_comments(); 6024 void set_allocated_leading_comments(std::string* leading_comments); 6025 private: 6026 const std::string& _internal_leading_comments() const; 6027 void _internal_set_leading_comments(const std::string& value); 6028 std::string* _internal_mutable_leading_comments(); 6029 public: 6030 6031 // optional string trailing_comments = 4; 6032 bool has_trailing_comments() const; 6033 private: 6034 bool _internal_has_trailing_comments() const; 6035 public: 6036 void clear_trailing_comments(); 6037 const std::string& trailing_comments() const; 6038 void set_trailing_comments(const std::string& value); 6039 void set_trailing_comments(std::string&& value); 6040 void set_trailing_comments(const char* value); 6041 void set_trailing_comments(const char* value, size_t size); 6042 std::string* mutable_trailing_comments(); 6043 std::string* release_trailing_comments(); 6044 void set_allocated_trailing_comments(std::string* trailing_comments); 6045 private: 6046 const std::string& _internal_trailing_comments() const; 6047 void _internal_set_trailing_comments(const std::string& value); 6048 std::string* _internal_mutable_trailing_comments(); 6049 public: 6050 6051 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location) 6052 private: 6053 class _Internal; 6054 6055 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 6056 typedef void InternalArenaConstructable_; 6057 typedef void DestructorSkippable_; 6058 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 6059 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 6060 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > path_; 6061 mutable std::atomic<int> _path_cached_byte_size_; 6062 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > span_; 6063 mutable std::atomic<int> _span_cached_byte_size_; 6064 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> leading_detached_comments_; 6065 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr leading_comments_; 6066 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr trailing_comments_; 6067 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 6068}; 6069// ------------------------------------------------------------------- 6070 6071class PROTOBUF_EXPORT SourceCodeInfo PROTOBUF_FINAL : 6072 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo) */ { 6073 public: 6074 inline SourceCodeInfo() : SourceCodeInfo(nullptr) {} 6075 virtual ~SourceCodeInfo(); 6076 6077 SourceCodeInfo(const SourceCodeInfo& from); 6078 SourceCodeInfo(SourceCodeInfo&& from) noexcept 6079 : SourceCodeInfo() { 6080 *this = ::std::move(from); 6081 } 6082 6083 inline SourceCodeInfo& operator=(const SourceCodeInfo& from) { 6084 CopyFrom(from); 6085 return *this; 6086 } 6087 inline SourceCodeInfo& operator=(SourceCodeInfo&& from) noexcept { 6088 if (GetArena() == from.GetArena()) { 6089 if (this != &from) InternalSwap(&from); 6090 } else { 6091 CopyFrom(from); 6092 } 6093 return *this; 6094 } 6095 6096 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 6097 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 6098 } 6099 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 6100 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 6101 } 6102 6103 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 6104 return GetDescriptor(); 6105 } 6106 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 6107 return GetMetadataStatic().descriptor; 6108 } 6109 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 6110 return GetMetadataStatic().reflection; 6111 } 6112 static const SourceCodeInfo& default_instance(); 6113 6114 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 6115 static inline const SourceCodeInfo* internal_default_instance() { 6116 return reinterpret_cast<const SourceCodeInfo*>( 6117 &_SourceCodeInfo_default_instance_); 6118 } 6119 static constexpr int kIndexInFileMessages = 6120 24; 6121 6122 friend void swap(SourceCodeInfo& a, SourceCodeInfo& b) { 6123 a.Swap(&b); 6124 } 6125 inline void Swap(SourceCodeInfo* other) { 6126 if (other == this) return; 6127 if (GetArena() == other->GetArena()) { 6128 InternalSwap(other); 6129 } else { 6130 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 6131 } 6132 } 6133 void UnsafeArenaSwap(SourceCodeInfo* other) { 6134 if (other == this) return; 6135 GOOGLE_DCHECK(GetArena() == other->GetArena()); 6136 InternalSwap(other); 6137 } 6138 6139 // implements Message ---------------------------------------------- 6140 6141 inline SourceCodeInfo* New() const final { 6142 return CreateMaybeMessage<SourceCodeInfo>(nullptr); 6143 } 6144 6145 SourceCodeInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 6146 return CreateMaybeMessage<SourceCodeInfo>(arena); 6147 } 6148 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 6149 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 6150 void CopyFrom(const SourceCodeInfo& from); 6151 void MergeFrom(const SourceCodeInfo& from); 6152 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 6153 bool IsInitialized() const final; 6154 6155 size_t ByteSizeLong() const final; 6156 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 6157 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 6158 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 6159 int GetCachedSize() const final { return _cached_size_.Get(); } 6160 6161 private: 6162 inline void SharedCtor(); 6163 inline void SharedDtor(); 6164 void SetCachedSize(int size) const final; 6165 void InternalSwap(SourceCodeInfo* other); 6166 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 6167 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 6168 return "google.protobuf.SourceCodeInfo"; 6169 } 6170 protected: 6171 explicit SourceCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena); 6172 private: 6173 static void ArenaDtor(void* object); 6174 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 6175 public: 6176 6177 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 6178 private: 6179 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 6180 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 6181 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 6182 } 6183 6184 public: 6185 6186 // nested types ---------------------------------------------------- 6187 6188 typedef SourceCodeInfo_Location Location; 6189 6190 // accessors ------------------------------------------------------- 6191 6192 enum : int { 6193 kLocationFieldNumber = 1, 6194 }; 6195 // repeated .google.protobuf.SourceCodeInfo.Location location = 1; 6196 int location_size() const; 6197 private: 6198 int _internal_location_size() const; 6199 public: 6200 void clear_location(); 6201 PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* mutable_location(int index); 6202 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >* 6203 mutable_location(); 6204 private: 6205 const PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& _internal_location(int index) const; 6206 PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* _internal_add_location(); 6207 public: 6208 const PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& location(int index) const; 6209 PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* add_location(); 6210 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >& 6211 location() const; 6212 6213 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo) 6214 private: 6215 class _Internal; 6216 6217 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 6218 typedef void InternalArenaConstructable_; 6219 typedef void DestructorSkippable_; 6220 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location > location_; 6221 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 6222 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 6223}; 6224// ------------------------------------------------------------------- 6225 6226class PROTOBUF_EXPORT GeneratedCodeInfo_Annotation PROTOBUF_FINAL : 6227 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo.Annotation) */ { 6228 public: 6229 inline GeneratedCodeInfo_Annotation() : GeneratedCodeInfo_Annotation(nullptr) {} 6230 virtual ~GeneratedCodeInfo_Annotation(); 6231 6232 GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from); 6233 GeneratedCodeInfo_Annotation(GeneratedCodeInfo_Annotation&& from) noexcept 6234 : GeneratedCodeInfo_Annotation() { 6235 *this = ::std::move(from); 6236 } 6237 6238 inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotation& from) { 6239 CopyFrom(from); 6240 return *this; 6241 } 6242 inline GeneratedCodeInfo_Annotation& operator=(GeneratedCodeInfo_Annotation&& from) noexcept { 6243 if (GetArena() == from.GetArena()) { 6244 if (this != &from) InternalSwap(&from); 6245 } else { 6246 CopyFrom(from); 6247 } 6248 return *this; 6249 } 6250 6251 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 6252 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 6253 } 6254 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 6255 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 6256 } 6257 6258 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 6259 return GetDescriptor(); 6260 } 6261 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 6262 return GetMetadataStatic().descriptor; 6263 } 6264 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 6265 return GetMetadataStatic().reflection; 6266 } 6267 static const GeneratedCodeInfo_Annotation& default_instance(); 6268 6269 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 6270 static inline const GeneratedCodeInfo_Annotation* internal_default_instance() { 6271 return reinterpret_cast<const GeneratedCodeInfo_Annotation*>( 6272 &_GeneratedCodeInfo_Annotation_default_instance_); 6273 } 6274 static constexpr int kIndexInFileMessages = 6275 25; 6276 6277 friend void swap(GeneratedCodeInfo_Annotation& a, GeneratedCodeInfo_Annotation& b) { 6278 a.Swap(&b); 6279 } 6280 inline void Swap(GeneratedCodeInfo_Annotation* other) { 6281 if (other == this) return; 6282 if (GetArena() == other->GetArena()) { 6283 InternalSwap(other); 6284 } else { 6285 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 6286 } 6287 } 6288 void UnsafeArenaSwap(GeneratedCodeInfo_Annotation* other) { 6289 if (other == this) return; 6290 GOOGLE_DCHECK(GetArena() == other->GetArena()); 6291 InternalSwap(other); 6292 } 6293 6294 // implements Message ---------------------------------------------- 6295 6296 inline GeneratedCodeInfo_Annotation* New() const final { 6297 return CreateMaybeMessage<GeneratedCodeInfo_Annotation>(nullptr); 6298 } 6299 6300 GeneratedCodeInfo_Annotation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 6301 return CreateMaybeMessage<GeneratedCodeInfo_Annotation>(arena); 6302 } 6303 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 6304 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 6305 void CopyFrom(const GeneratedCodeInfo_Annotation& from); 6306 void MergeFrom(const GeneratedCodeInfo_Annotation& from); 6307 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 6308 bool IsInitialized() const final; 6309 6310 size_t ByteSizeLong() const final; 6311 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 6312 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 6313 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 6314 int GetCachedSize() const final { return _cached_size_.Get(); } 6315 6316 private: 6317 inline void SharedCtor(); 6318 inline void SharedDtor(); 6319 void SetCachedSize(int size) const final; 6320 void InternalSwap(GeneratedCodeInfo_Annotation* other); 6321 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 6322 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 6323 return "google.protobuf.GeneratedCodeInfo.Annotation"; 6324 } 6325 protected: 6326 explicit GeneratedCodeInfo_Annotation(::PROTOBUF_NAMESPACE_ID::Arena* arena); 6327 private: 6328 static void ArenaDtor(void* object); 6329 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 6330 public: 6331 6332 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 6333 private: 6334 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 6335 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 6336 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 6337 } 6338 6339 public: 6340 6341 // nested types ---------------------------------------------------- 6342 6343 // accessors ------------------------------------------------------- 6344 6345 enum : int { 6346 kPathFieldNumber = 1, 6347 kSourceFileFieldNumber = 2, 6348 kBeginFieldNumber = 3, 6349 kEndFieldNumber = 4, 6350 }; 6351 // repeated int32 path = 1 [packed = true]; 6352 int path_size() const; 6353 private: 6354 int _internal_path_size() const; 6355 public: 6356 void clear_path(); 6357 private: 6358 ::PROTOBUF_NAMESPACE_ID::int32 _internal_path(int index) const; 6359 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 6360 _internal_path() const; 6361 void _internal_add_path(::PROTOBUF_NAMESPACE_ID::int32 value); 6362 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 6363 _internal_mutable_path(); 6364 public: 6365 ::PROTOBUF_NAMESPACE_ID::int32 path(int index) const; 6366 void set_path(int index, ::PROTOBUF_NAMESPACE_ID::int32 value); 6367 void add_path(::PROTOBUF_NAMESPACE_ID::int32 value); 6368 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 6369 path() const; 6370 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 6371 mutable_path(); 6372 6373 // optional string source_file = 2; 6374 bool has_source_file() const; 6375 private: 6376 bool _internal_has_source_file() const; 6377 public: 6378 void clear_source_file(); 6379 const std::string& source_file() const; 6380 void set_source_file(const std::string& value); 6381 void set_source_file(std::string&& value); 6382 void set_source_file(const char* value); 6383 void set_source_file(const char* value, size_t size); 6384 std::string* mutable_source_file(); 6385 std::string* release_source_file(); 6386 void set_allocated_source_file(std::string* source_file); 6387 private: 6388 const std::string& _internal_source_file() const; 6389 void _internal_set_source_file(const std::string& value); 6390 std::string* _internal_mutable_source_file(); 6391 public: 6392 6393 // optional int32 begin = 3; 6394 bool has_begin() const; 6395 private: 6396 bool _internal_has_begin() const; 6397 public: 6398 void clear_begin(); 6399 ::PROTOBUF_NAMESPACE_ID::int32 begin() const; 6400 void set_begin(::PROTOBUF_NAMESPACE_ID::int32 value); 6401 private: 6402 ::PROTOBUF_NAMESPACE_ID::int32 _internal_begin() const; 6403 void _internal_set_begin(::PROTOBUF_NAMESPACE_ID::int32 value); 6404 public: 6405 6406 // optional int32 end = 4; 6407 bool has_end() const; 6408 private: 6409 bool _internal_has_end() const; 6410 public: 6411 void clear_end(); 6412 ::PROTOBUF_NAMESPACE_ID::int32 end() const; 6413 void set_end(::PROTOBUF_NAMESPACE_ID::int32 value); 6414 private: 6415 ::PROTOBUF_NAMESPACE_ID::int32 _internal_end() const; 6416 void _internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value); 6417 public: 6418 6419 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Annotation) 6420 private: 6421 class _Internal; 6422 6423 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 6424 typedef void InternalArenaConstructable_; 6425 typedef void DestructorSkippable_; 6426 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; 6427 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 6428 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > path_; 6429 mutable std::atomic<int> _path_cached_byte_size_; 6430 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr source_file_; 6431 ::PROTOBUF_NAMESPACE_ID::int32 begin_; 6432 ::PROTOBUF_NAMESPACE_ID::int32 end_; 6433 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 6434}; 6435// ------------------------------------------------------------------- 6436 6437class PROTOBUF_EXPORT GeneratedCodeInfo PROTOBUF_FINAL : 6438 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo) */ { 6439 public: 6440 inline GeneratedCodeInfo() : GeneratedCodeInfo(nullptr) {} 6441 virtual ~GeneratedCodeInfo(); 6442 6443 GeneratedCodeInfo(const GeneratedCodeInfo& from); 6444 GeneratedCodeInfo(GeneratedCodeInfo&& from) noexcept 6445 : GeneratedCodeInfo() { 6446 *this = ::std::move(from); 6447 } 6448 6449 inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) { 6450 CopyFrom(from); 6451 return *this; 6452 } 6453 inline GeneratedCodeInfo& operator=(GeneratedCodeInfo&& from) noexcept { 6454 if (GetArena() == from.GetArena()) { 6455 if (this != &from) InternalSwap(&from); 6456 } else { 6457 CopyFrom(from); 6458 } 6459 return *this; 6460 } 6461 6462 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { 6463 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); 6464 } 6465 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { 6466 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); 6467 } 6468 6469 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { 6470 return GetDescriptor(); 6471 } 6472 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { 6473 return GetMetadataStatic().descriptor; 6474 } 6475 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { 6476 return GetMetadataStatic().reflection; 6477 } 6478 static const GeneratedCodeInfo& default_instance(); 6479 6480 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 6481 static inline const GeneratedCodeInfo* internal_default_instance() { 6482 return reinterpret_cast<const GeneratedCodeInfo*>( 6483 &_GeneratedCodeInfo_default_instance_); 6484 } 6485 static constexpr int kIndexInFileMessages = 6486 26; 6487 6488 friend void swap(GeneratedCodeInfo& a, GeneratedCodeInfo& b) { 6489 a.Swap(&b); 6490 } 6491 inline void Swap(GeneratedCodeInfo* other) { 6492 if (other == this) return; 6493 if (GetArena() == other->GetArena()) { 6494 InternalSwap(other); 6495 } else { 6496 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); 6497 } 6498 } 6499 void UnsafeArenaSwap(GeneratedCodeInfo* other) { 6500 if (other == this) return; 6501 GOOGLE_DCHECK(GetArena() == other->GetArena()); 6502 InternalSwap(other); 6503 } 6504 6505 // implements Message ---------------------------------------------- 6506 6507 inline GeneratedCodeInfo* New() const final { 6508 return CreateMaybeMessage<GeneratedCodeInfo>(nullptr); 6509 } 6510 6511 GeneratedCodeInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { 6512 return CreateMaybeMessage<GeneratedCodeInfo>(arena); 6513 } 6514 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 6515 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; 6516 void CopyFrom(const GeneratedCodeInfo& from); 6517 void MergeFrom(const GeneratedCodeInfo& from); 6518 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; 6519 bool IsInitialized() const final; 6520 6521 size_t ByteSizeLong() const final; 6522 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; 6523 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( 6524 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; 6525 int GetCachedSize() const final { return _cached_size_.Get(); } 6526 6527 private: 6528 inline void SharedCtor(); 6529 inline void SharedDtor(); 6530 void SetCachedSize(int size) const final; 6531 void InternalSwap(GeneratedCodeInfo* other); 6532 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; 6533 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { 6534 return "google.protobuf.GeneratedCodeInfo"; 6535 } 6536 protected: 6537 explicit GeneratedCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena); 6538 private: 6539 static void ArenaDtor(void* object); 6540 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); 6541 public: 6542 6543 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; 6544 private: 6545 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { 6546 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto); 6547 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages]; 6548 } 6549 6550 public: 6551 6552 // nested types ---------------------------------------------------- 6553 6554 typedef GeneratedCodeInfo_Annotation Annotation; 6555 6556 // accessors ------------------------------------------------------- 6557 6558 enum : int { 6559 kAnnotationFieldNumber = 1, 6560 }; 6561 // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; 6562 int annotation_size() const; 6563 private: 6564 int _internal_annotation_size() const; 6565 public: 6566 void clear_annotation(); 6567 PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* mutable_annotation(int index); 6568 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >* 6569 mutable_annotation(); 6570 private: 6571 const PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& _internal_annotation(int index) const; 6572 PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* _internal_add_annotation(); 6573 public: 6574 const PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& annotation(int index) const; 6575 PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* add_annotation(); 6576 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >& 6577 annotation() const; 6578 6579 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo) 6580 private: 6581 class _Internal; 6582 6583 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; 6584 typedef void InternalArenaConstructable_; 6585 typedef void DestructorSkippable_; 6586 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation > annotation_; 6587 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 6588 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; 6589}; 6590// =================================================================== 6591 6592 6593// =================================================================== 6594 6595#ifdef __GNUC__ 6596 #pragma GCC diagnostic push 6597 #pragma GCC diagnostic ignored "-Wstrict-aliasing" 6598#endif // __GNUC__ 6599// FileDescriptorSet 6600 6601// repeated .google.protobuf.FileDescriptorProto file = 1; 6602inline int FileDescriptorSet::_internal_file_size() const { 6603 return file_.size(); 6604} 6605inline int FileDescriptorSet::file_size() const { 6606 return _internal_file_size(); 6607} 6608inline void FileDescriptorSet::clear_file() { 6609 file_.Clear(); 6610} 6611inline PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::mutable_file(int index) { 6612 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorSet.file) 6613 return file_.Mutable(index); 6614} 6615inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >* 6616FileDescriptorSet::mutable_file() { 6617 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorSet.file) 6618 return &file_; 6619} 6620inline const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& FileDescriptorSet::_internal_file(int index) const { 6621 return file_.Get(index); 6622} 6623inline const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& FileDescriptorSet::file(int index) const { 6624 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorSet.file) 6625 return _internal_file(index); 6626} 6627inline PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::_internal_add_file() { 6628 return file_.Add(); 6629} 6630inline PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::add_file() { 6631 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorSet.file) 6632 return _internal_add_file(); 6633} 6634inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >& 6635FileDescriptorSet::file() const { 6636 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorSet.file) 6637 return file_; 6638} 6639 6640// ------------------------------------------------------------------- 6641 6642// FileDescriptorProto 6643 6644// optional string name = 1; 6645inline bool FileDescriptorProto::_internal_has_name() const { 6646 bool value = (_has_bits_[0] & 0x00000001u) != 0; 6647 return value; 6648} 6649inline bool FileDescriptorProto::has_name() const { 6650 return _internal_has_name(); 6651} 6652inline void FileDescriptorProto::clear_name() { 6653 name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 6654 _has_bits_[0] &= ~0x00000001u; 6655} 6656inline const std::string& FileDescriptorProto::name() const { 6657 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name) 6658 return _internal_name(); 6659} 6660inline void FileDescriptorProto::set_name(const std::string& value) { 6661 _internal_set_name(value); 6662 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name) 6663} 6664inline std::string* FileDescriptorProto::mutable_name() { 6665 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.name) 6666 return _internal_mutable_name(); 6667} 6668inline const std::string& FileDescriptorProto::_internal_name() const { 6669 return name_.Get(); 6670} 6671inline void FileDescriptorProto::_internal_set_name(const std::string& value) { 6672 _has_bits_[0] |= 0x00000001u; 6673 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 6674} 6675inline void FileDescriptorProto::set_name(std::string&& value) { 6676 _has_bits_[0] |= 0x00000001u; 6677 name_.Set( 6678 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 6679 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileDescriptorProto.name) 6680} 6681inline void FileDescriptorProto::set_name(const char* value) { 6682 GOOGLE_DCHECK(value != nullptr); 6683 _has_bits_[0] |= 0x00000001u; 6684 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 6685 GetArena()); 6686 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.name) 6687} 6688inline void FileDescriptorProto::set_name(const char* value, 6689 size_t size) { 6690 _has_bits_[0] |= 0x00000001u; 6691 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 6692 reinterpret_cast<const char*>(value), size), GetArena()); 6693 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.name) 6694} 6695inline std::string* FileDescriptorProto::_internal_mutable_name() { 6696 _has_bits_[0] |= 0x00000001u; 6697 return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 6698} 6699inline std::string* FileDescriptorProto::release_name() { 6700 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.name) 6701 if (!_internal_has_name()) { 6702 return nullptr; 6703 } 6704 _has_bits_[0] &= ~0x00000001u; 6705 return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 6706} 6707inline void FileDescriptorProto::set_allocated_name(std::string* name) { 6708 if (name != nullptr) { 6709 _has_bits_[0] |= 0x00000001u; 6710 } else { 6711 _has_bits_[0] &= ~0x00000001u; 6712 } 6713 name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, 6714 GetArena()); 6715 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.name) 6716} 6717 6718// optional string package = 2; 6719inline bool FileDescriptorProto::_internal_has_package() const { 6720 bool value = (_has_bits_[0] & 0x00000002u) != 0; 6721 return value; 6722} 6723inline bool FileDescriptorProto::has_package() const { 6724 return _internal_has_package(); 6725} 6726inline void FileDescriptorProto::clear_package() { 6727 package_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 6728 _has_bits_[0] &= ~0x00000002u; 6729} 6730inline const std::string& FileDescriptorProto::package() const { 6731 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.package) 6732 return _internal_package(); 6733} 6734inline void FileDescriptorProto::set_package(const std::string& value) { 6735 _internal_set_package(value); 6736 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.package) 6737} 6738inline std::string* FileDescriptorProto::mutable_package() { 6739 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.package) 6740 return _internal_mutable_package(); 6741} 6742inline const std::string& FileDescriptorProto::_internal_package() const { 6743 return package_.Get(); 6744} 6745inline void FileDescriptorProto::_internal_set_package(const std::string& value) { 6746 _has_bits_[0] |= 0x00000002u; 6747 package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 6748} 6749inline void FileDescriptorProto::set_package(std::string&& value) { 6750 _has_bits_[0] |= 0x00000002u; 6751 package_.Set( 6752 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 6753 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileDescriptorProto.package) 6754} 6755inline void FileDescriptorProto::set_package(const char* value) { 6756 GOOGLE_DCHECK(value != nullptr); 6757 _has_bits_[0] |= 0x00000002u; 6758 package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 6759 GetArena()); 6760 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.package) 6761} 6762inline void FileDescriptorProto::set_package(const char* value, 6763 size_t size) { 6764 _has_bits_[0] |= 0x00000002u; 6765 package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 6766 reinterpret_cast<const char*>(value), size), GetArena()); 6767 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.package) 6768} 6769inline std::string* FileDescriptorProto::_internal_mutable_package() { 6770 _has_bits_[0] |= 0x00000002u; 6771 return package_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 6772} 6773inline std::string* FileDescriptorProto::release_package() { 6774 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.package) 6775 if (!_internal_has_package()) { 6776 return nullptr; 6777 } 6778 _has_bits_[0] &= ~0x00000002u; 6779 return package_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 6780} 6781inline void FileDescriptorProto::set_allocated_package(std::string* package) { 6782 if (package != nullptr) { 6783 _has_bits_[0] |= 0x00000002u; 6784 } else { 6785 _has_bits_[0] &= ~0x00000002u; 6786 } 6787 package_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), package, 6788 GetArena()); 6789 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.package) 6790} 6791 6792// repeated string dependency = 3; 6793inline int FileDescriptorProto::_internal_dependency_size() const { 6794 return dependency_.size(); 6795} 6796inline int FileDescriptorProto::dependency_size() const { 6797 return _internal_dependency_size(); 6798} 6799inline void FileDescriptorProto::clear_dependency() { 6800 dependency_.Clear(); 6801} 6802inline std::string* FileDescriptorProto::add_dependency() { 6803 // @@protoc_insertion_point(field_add_mutable:google.protobuf.FileDescriptorProto.dependency) 6804 return _internal_add_dependency(); 6805} 6806inline const std::string& FileDescriptorProto::_internal_dependency(int index) const { 6807 return dependency_.Get(index); 6808} 6809inline const std::string& FileDescriptorProto::dependency(int index) const { 6810 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.dependency) 6811 return _internal_dependency(index); 6812} 6813inline std::string* FileDescriptorProto::mutable_dependency(int index) { 6814 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.dependency) 6815 return dependency_.Mutable(index); 6816} 6817inline void FileDescriptorProto::set_dependency(int index, const std::string& value) { 6818 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency) 6819 dependency_.Mutable(index)->assign(value); 6820} 6821inline void FileDescriptorProto::set_dependency(int index, std::string&& value) { 6822 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency) 6823 dependency_.Mutable(index)->assign(std::move(value)); 6824} 6825inline void FileDescriptorProto::set_dependency(int index, const char* value) { 6826 GOOGLE_DCHECK(value != nullptr); 6827 dependency_.Mutable(index)->assign(value); 6828 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.dependency) 6829} 6830inline void FileDescriptorProto::set_dependency(int index, const char* value, size_t size) { 6831 dependency_.Mutable(index)->assign( 6832 reinterpret_cast<const char*>(value), size); 6833 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.dependency) 6834} 6835inline std::string* FileDescriptorProto::_internal_add_dependency() { 6836 return dependency_.Add(); 6837} 6838inline void FileDescriptorProto::add_dependency(const std::string& value) { 6839 dependency_.Add()->assign(value); 6840 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency) 6841} 6842inline void FileDescriptorProto::add_dependency(std::string&& value) { 6843 dependency_.Add(std::move(value)); 6844 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency) 6845} 6846inline void FileDescriptorProto::add_dependency(const char* value) { 6847 GOOGLE_DCHECK(value != nullptr); 6848 dependency_.Add()->assign(value); 6849 // @@protoc_insertion_point(field_add_char:google.protobuf.FileDescriptorProto.dependency) 6850} 6851inline void FileDescriptorProto::add_dependency(const char* value, size_t size) { 6852 dependency_.Add()->assign(reinterpret_cast<const char*>(value), size); 6853 // @@protoc_insertion_point(field_add_pointer:google.protobuf.FileDescriptorProto.dependency) 6854} 6855inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& 6856FileDescriptorProto::dependency() const { 6857 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.dependency) 6858 return dependency_; 6859} 6860inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* 6861FileDescriptorProto::mutable_dependency() { 6862 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.dependency) 6863 return &dependency_; 6864} 6865 6866// repeated int32 public_dependency = 10; 6867inline int FileDescriptorProto::_internal_public_dependency_size() const { 6868 return public_dependency_.size(); 6869} 6870inline int FileDescriptorProto::public_dependency_size() const { 6871 return _internal_public_dependency_size(); 6872} 6873inline void FileDescriptorProto::clear_public_dependency() { 6874 public_dependency_.Clear(); 6875} 6876inline ::PROTOBUF_NAMESPACE_ID::int32 FileDescriptorProto::_internal_public_dependency(int index) const { 6877 return public_dependency_.Get(index); 6878} 6879inline ::PROTOBUF_NAMESPACE_ID::int32 FileDescriptorProto::public_dependency(int index) const { 6880 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.public_dependency) 6881 return _internal_public_dependency(index); 6882} 6883inline void FileDescriptorProto::set_public_dependency(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) { 6884 public_dependency_.Set(index, value); 6885 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.public_dependency) 6886} 6887inline void FileDescriptorProto::_internal_add_public_dependency(::PROTOBUF_NAMESPACE_ID::int32 value) { 6888 public_dependency_.Add(value); 6889} 6890inline void FileDescriptorProto::add_public_dependency(::PROTOBUF_NAMESPACE_ID::int32 value) { 6891 _internal_add_public_dependency(value); 6892 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.public_dependency) 6893} 6894inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 6895FileDescriptorProto::_internal_public_dependency() const { 6896 return public_dependency_; 6897} 6898inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 6899FileDescriptorProto::public_dependency() const { 6900 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.public_dependency) 6901 return _internal_public_dependency(); 6902} 6903inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 6904FileDescriptorProto::_internal_mutable_public_dependency() { 6905 return &public_dependency_; 6906} 6907inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 6908FileDescriptorProto::mutable_public_dependency() { 6909 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.public_dependency) 6910 return _internal_mutable_public_dependency(); 6911} 6912 6913// repeated int32 weak_dependency = 11; 6914inline int FileDescriptorProto::_internal_weak_dependency_size() const { 6915 return weak_dependency_.size(); 6916} 6917inline int FileDescriptorProto::weak_dependency_size() const { 6918 return _internal_weak_dependency_size(); 6919} 6920inline void FileDescriptorProto::clear_weak_dependency() { 6921 weak_dependency_.Clear(); 6922} 6923inline ::PROTOBUF_NAMESPACE_ID::int32 FileDescriptorProto::_internal_weak_dependency(int index) const { 6924 return weak_dependency_.Get(index); 6925} 6926inline ::PROTOBUF_NAMESPACE_ID::int32 FileDescriptorProto::weak_dependency(int index) const { 6927 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.weak_dependency) 6928 return _internal_weak_dependency(index); 6929} 6930inline void FileDescriptorProto::set_weak_dependency(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) { 6931 weak_dependency_.Set(index, value); 6932 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.weak_dependency) 6933} 6934inline void FileDescriptorProto::_internal_add_weak_dependency(::PROTOBUF_NAMESPACE_ID::int32 value) { 6935 weak_dependency_.Add(value); 6936} 6937inline void FileDescriptorProto::add_weak_dependency(::PROTOBUF_NAMESPACE_ID::int32 value) { 6938 _internal_add_weak_dependency(value); 6939 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.weak_dependency) 6940} 6941inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 6942FileDescriptorProto::_internal_weak_dependency() const { 6943 return weak_dependency_; 6944} 6945inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 6946FileDescriptorProto::weak_dependency() const { 6947 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.weak_dependency) 6948 return _internal_weak_dependency(); 6949} 6950inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 6951FileDescriptorProto::_internal_mutable_weak_dependency() { 6952 return &weak_dependency_; 6953} 6954inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 6955FileDescriptorProto::mutable_weak_dependency() { 6956 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.weak_dependency) 6957 return _internal_mutable_weak_dependency(); 6958} 6959 6960// repeated .google.protobuf.DescriptorProto message_type = 4; 6961inline int FileDescriptorProto::_internal_message_type_size() const { 6962 return message_type_.size(); 6963} 6964inline int FileDescriptorProto::message_type_size() const { 6965 return _internal_message_type_size(); 6966} 6967inline void FileDescriptorProto::clear_message_type() { 6968 message_type_.Clear(); 6969} 6970inline PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::mutable_message_type(int index) { 6971 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.message_type) 6972 return message_type_.Mutable(index); 6973} 6974inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >* 6975FileDescriptorProto::mutable_message_type() { 6976 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.message_type) 6977 return &message_type_; 6978} 6979inline const PROTOBUF_NAMESPACE_ID::DescriptorProto& FileDescriptorProto::_internal_message_type(int index) const { 6980 return message_type_.Get(index); 6981} 6982inline const PROTOBUF_NAMESPACE_ID::DescriptorProto& FileDescriptorProto::message_type(int index) const { 6983 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.message_type) 6984 return _internal_message_type(index); 6985} 6986inline PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::_internal_add_message_type() { 6987 return message_type_.Add(); 6988} 6989inline PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::add_message_type() { 6990 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.message_type) 6991 return _internal_add_message_type(); 6992} 6993inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >& 6994FileDescriptorProto::message_type() const { 6995 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.message_type) 6996 return message_type_; 6997} 6998 6999// repeated .google.protobuf.EnumDescriptorProto enum_type = 5; 7000inline int FileDescriptorProto::_internal_enum_type_size() const { 7001 return enum_type_.size(); 7002} 7003inline int FileDescriptorProto::enum_type_size() const { 7004 return _internal_enum_type_size(); 7005} 7006inline void FileDescriptorProto::clear_enum_type() { 7007 enum_type_.Clear(); 7008} 7009inline PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::mutable_enum_type(int index) { 7010 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.enum_type) 7011 return enum_type_.Mutable(index); 7012} 7013inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >* 7014FileDescriptorProto::mutable_enum_type() { 7015 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.enum_type) 7016 return &enum_type_; 7017} 7018inline const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& FileDescriptorProto::_internal_enum_type(int index) const { 7019 return enum_type_.Get(index); 7020} 7021inline const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& FileDescriptorProto::enum_type(int index) const { 7022 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.enum_type) 7023 return _internal_enum_type(index); 7024} 7025inline PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::_internal_add_enum_type() { 7026 return enum_type_.Add(); 7027} 7028inline PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::add_enum_type() { 7029 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.enum_type) 7030 return _internal_add_enum_type(); 7031} 7032inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >& 7033FileDescriptorProto::enum_type() const { 7034 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.enum_type) 7035 return enum_type_; 7036} 7037 7038// repeated .google.protobuf.ServiceDescriptorProto service = 6; 7039inline int FileDescriptorProto::_internal_service_size() const { 7040 return service_.size(); 7041} 7042inline int FileDescriptorProto::service_size() const { 7043 return _internal_service_size(); 7044} 7045inline void FileDescriptorProto::clear_service() { 7046 service_.Clear(); 7047} 7048inline PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::mutable_service(int index) { 7049 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.service) 7050 return service_.Mutable(index); 7051} 7052inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >* 7053FileDescriptorProto::mutable_service() { 7054 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.service) 7055 return &service_; 7056} 7057inline const PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& FileDescriptorProto::_internal_service(int index) const { 7058 return service_.Get(index); 7059} 7060inline const PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& FileDescriptorProto::service(int index) const { 7061 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.service) 7062 return _internal_service(index); 7063} 7064inline PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::_internal_add_service() { 7065 return service_.Add(); 7066} 7067inline PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::add_service() { 7068 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.service) 7069 return _internal_add_service(); 7070} 7071inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >& 7072FileDescriptorProto::service() const { 7073 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.service) 7074 return service_; 7075} 7076 7077// repeated .google.protobuf.FieldDescriptorProto extension = 7; 7078inline int FileDescriptorProto::_internal_extension_size() const { 7079 return extension_.size(); 7080} 7081inline int FileDescriptorProto::extension_size() const { 7082 return _internal_extension_size(); 7083} 7084inline void FileDescriptorProto::clear_extension() { 7085 extension_.Clear(); 7086} 7087inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::mutable_extension(int index) { 7088 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.extension) 7089 return extension_.Mutable(index); 7090} 7091inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* 7092FileDescriptorProto::mutable_extension() { 7093 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.extension) 7094 return &extension_; 7095} 7096inline const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& FileDescriptorProto::_internal_extension(int index) const { 7097 return extension_.Get(index); 7098} 7099inline const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& FileDescriptorProto::extension(int index) const { 7100 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.extension) 7101 return _internal_extension(index); 7102} 7103inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::_internal_add_extension() { 7104 return extension_.Add(); 7105} 7106inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::add_extension() { 7107 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.extension) 7108 return _internal_add_extension(); 7109} 7110inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& 7111FileDescriptorProto::extension() const { 7112 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.extension) 7113 return extension_; 7114} 7115 7116// optional .google.protobuf.FileOptions options = 8; 7117inline bool FileDescriptorProto::_internal_has_options() const { 7118 bool value = (_has_bits_[0] & 0x00000008u) != 0; 7119 PROTOBUF_ASSUME(!value || options_ != nullptr); 7120 return value; 7121} 7122inline bool FileDescriptorProto::has_options() const { 7123 return _internal_has_options(); 7124} 7125inline void FileDescriptorProto::clear_options() { 7126 if (options_ != nullptr) options_->Clear(); 7127 _has_bits_[0] &= ~0x00000008u; 7128} 7129inline const PROTOBUF_NAMESPACE_ID::FileOptions& FileDescriptorProto::_internal_options() const { 7130 const PROTOBUF_NAMESPACE_ID::FileOptions* p = options_; 7131 return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::FileOptions*>( 7132 &PROTOBUF_NAMESPACE_ID::_FileOptions_default_instance_); 7133} 7134inline const PROTOBUF_NAMESPACE_ID::FileOptions& FileDescriptorProto::options() const { 7135 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.options) 7136 return _internal_options(); 7137} 7138inline void FileDescriptorProto::unsafe_arena_set_allocated_options( 7139 PROTOBUF_NAMESPACE_ID::FileOptions* options) { 7140 if (GetArena() == nullptr) { 7141 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_); 7142 } 7143 options_ = options; 7144 if (options) { 7145 _has_bits_[0] |= 0x00000008u; 7146 } else { 7147 _has_bits_[0] &= ~0x00000008u; 7148 } 7149 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.options) 7150} 7151inline PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::release_options() { 7152 _has_bits_[0] &= ~0x00000008u; 7153 PROTOBUF_NAMESPACE_ID::FileOptions* temp = options_; 7154 options_ = nullptr; 7155 if (GetArena() != nullptr) { 7156 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); 7157 } 7158 return temp; 7159} 7160inline PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::unsafe_arena_release_options() { 7161 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.options) 7162 _has_bits_[0] &= ~0x00000008u; 7163 PROTOBUF_NAMESPACE_ID::FileOptions* temp = options_; 7164 options_ = nullptr; 7165 return temp; 7166} 7167inline PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::_internal_mutable_options() { 7168 _has_bits_[0] |= 0x00000008u; 7169 if (options_ == nullptr) { 7170 auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FileOptions>(GetArena()); 7171 options_ = p; 7172 } 7173 return options_; 7174} 7175inline PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::mutable_options() { 7176 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.options) 7177 return _internal_mutable_options(); 7178} 7179inline void FileDescriptorProto::set_allocated_options(PROTOBUF_NAMESPACE_ID::FileOptions* options) { 7180 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); 7181 if (message_arena == nullptr) { 7182 delete options_; 7183 } 7184 if (options) { 7185 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = 7186 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(options); 7187 if (message_arena != submessage_arena) { 7188 options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( 7189 message_arena, options, submessage_arena); 7190 } 7191 _has_bits_[0] |= 0x00000008u; 7192 } else { 7193 _has_bits_[0] &= ~0x00000008u; 7194 } 7195 options_ = options; 7196 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.options) 7197} 7198 7199// optional .google.protobuf.SourceCodeInfo source_code_info = 9; 7200inline bool FileDescriptorProto::_internal_has_source_code_info() const { 7201 bool value = (_has_bits_[0] & 0x00000010u) != 0; 7202 PROTOBUF_ASSUME(!value || source_code_info_ != nullptr); 7203 return value; 7204} 7205inline bool FileDescriptorProto::has_source_code_info() const { 7206 return _internal_has_source_code_info(); 7207} 7208inline void FileDescriptorProto::clear_source_code_info() { 7209 if (source_code_info_ != nullptr) source_code_info_->Clear(); 7210 _has_bits_[0] &= ~0x00000010u; 7211} 7212inline const PROTOBUF_NAMESPACE_ID::SourceCodeInfo& FileDescriptorProto::_internal_source_code_info() const { 7213 const PROTOBUF_NAMESPACE_ID::SourceCodeInfo* p = source_code_info_; 7214 return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::SourceCodeInfo*>( 7215 &PROTOBUF_NAMESPACE_ID::_SourceCodeInfo_default_instance_); 7216} 7217inline const PROTOBUF_NAMESPACE_ID::SourceCodeInfo& FileDescriptorProto::source_code_info() const { 7218 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.source_code_info) 7219 return _internal_source_code_info(); 7220} 7221inline void FileDescriptorProto::unsafe_arena_set_allocated_source_code_info( 7222 PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info) { 7223 if (GetArena() == nullptr) { 7224 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(source_code_info_); 7225 } 7226 source_code_info_ = source_code_info; 7227 if (source_code_info) { 7228 _has_bits_[0] |= 0x00000010u; 7229 } else { 7230 _has_bits_[0] &= ~0x00000010u; 7231 } 7232 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.source_code_info) 7233} 7234inline PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::release_source_code_info() { 7235 _has_bits_[0] &= ~0x00000010u; 7236 PROTOBUF_NAMESPACE_ID::SourceCodeInfo* temp = source_code_info_; 7237 source_code_info_ = nullptr; 7238 if (GetArena() != nullptr) { 7239 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); 7240 } 7241 return temp; 7242} 7243inline PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::unsafe_arena_release_source_code_info() { 7244 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.source_code_info) 7245 _has_bits_[0] &= ~0x00000010u; 7246 PROTOBUF_NAMESPACE_ID::SourceCodeInfo* temp = source_code_info_; 7247 source_code_info_ = nullptr; 7248 return temp; 7249} 7250inline PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::_internal_mutable_source_code_info() { 7251 _has_bits_[0] |= 0x00000010u; 7252 if (source_code_info_ == nullptr) { 7253 auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::SourceCodeInfo>(GetArena()); 7254 source_code_info_ = p; 7255 } 7256 return source_code_info_; 7257} 7258inline PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::mutable_source_code_info() { 7259 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.source_code_info) 7260 return _internal_mutable_source_code_info(); 7261} 7262inline void FileDescriptorProto::set_allocated_source_code_info(PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info) { 7263 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); 7264 if (message_arena == nullptr) { 7265 delete source_code_info_; 7266 } 7267 if (source_code_info) { 7268 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = 7269 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(source_code_info); 7270 if (message_arena != submessage_arena) { 7271 source_code_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( 7272 message_arena, source_code_info, submessage_arena); 7273 } 7274 _has_bits_[0] |= 0x00000010u; 7275 } else { 7276 _has_bits_[0] &= ~0x00000010u; 7277 } 7278 source_code_info_ = source_code_info; 7279 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.source_code_info) 7280} 7281 7282// optional string syntax = 12; 7283inline bool FileDescriptorProto::_internal_has_syntax() const { 7284 bool value = (_has_bits_[0] & 0x00000004u) != 0; 7285 return value; 7286} 7287inline bool FileDescriptorProto::has_syntax() const { 7288 return _internal_has_syntax(); 7289} 7290inline void FileDescriptorProto::clear_syntax() { 7291 syntax_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 7292 _has_bits_[0] &= ~0x00000004u; 7293} 7294inline const std::string& FileDescriptorProto::syntax() const { 7295 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.syntax) 7296 return _internal_syntax(); 7297} 7298inline void FileDescriptorProto::set_syntax(const std::string& value) { 7299 _internal_set_syntax(value); 7300 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.syntax) 7301} 7302inline std::string* FileDescriptorProto::mutable_syntax() { 7303 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.syntax) 7304 return _internal_mutable_syntax(); 7305} 7306inline const std::string& FileDescriptorProto::_internal_syntax() const { 7307 return syntax_.Get(); 7308} 7309inline void FileDescriptorProto::_internal_set_syntax(const std::string& value) { 7310 _has_bits_[0] |= 0x00000004u; 7311 syntax_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 7312} 7313inline void FileDescriptorProto::set_syntax(std::string&& value) { 7314 _has_bits_[0] |= 0x00000004u; 7315 syntax_.Set( 7316 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 7317 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileDescriptorProto.syntax) 7318} 7319inline void FileDescriptorProto::set_syntax(const char* value) { 7320 GOOGLE_DCHECK(value != nullptr); 7321 _has_bits_[0] |= 0x00000004u; 7322 syntax_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 7323 GetArena()); 7324 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.syntax) 7325} 7326inline void FileDescriptorProto::set_syntax(const char* value, 7327 size_t size) { 7328 _has_bits_[0] |= 0x00000004u; 7329 syntax_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 7330 reinterpret_cast<const char*>(value), size), GetArena()); 7331 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.syntax) 7332} 7333inline std::string* FileDescriptorProto::_internal_mutable_syntax() { 7334 _has_bits_[0] |= 0x00000004u; 7335 return syntax_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 7336} 7337inline std::string* FileDescriptorProto::release_syntax() { 7338 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.syntax) 7339 if (!_internal_has_syntax()) { 7340 return nullptr; 7341 } 7342 _has_bits_[0] &= ~0x00000004u; 7343 return syntax_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 7344} 7345inline void FileDescriptorProto::set_allocated_syntax(std::string* syntax) { 7346 if (syntax != nullptr) { 7347 _has_bits_[0] |= 0x00000004u; 7348 } else { 7349 _has_bits_[0] &= ~0x00000004u; 7350 } 7351 syntax_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), syntax, 7352 GetArena()); 7353 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.syntax) 7354} 7355 7356// ------------------------------------------------------------------- 7357 7358// DescriptorProto_ExtensionRange 7359 7360// optional int32 start = 1; 7361inline bool DescriptorProto_ExtensionRange::_internal_has_start() const { 7362 bool value = (_has_bits_[0] & 0x00000002u) != 0; 7363 return value; 7364} 7365inline bool DescriptorProto_ExtensionRange::has_start() const { 7366 return _internal_has_start(); 7367} 7368inline void DescriptorProto_ExtensionRange::clear_start() { 7369 start_ = 0; 7370 _has_bits_[0] &= ~0x00000002u; 7371} 7372inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ExtensionRange::_internal_start() const { 7373 return start_; 7374} 7375inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ExtensionRange::start() const { 7376 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.start) 7377 return _internal_start(); 7378} 7379inline void DescriptorProto_ExtensionRange::_internal_set_start(::PROTOBUF_NAMESPACE_ID::int32 value) { 7380 _has_bits_[0] |= 0x00000002u; 7381 start_ = value; 7382} 7383inline void DescriptorProto_ExtensionRange::set_start(::PROTOBUF_NAMESPACE_ID::int32 value) { 7384 _internal_set_start(value); 7385 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.start) 7386} 7387 7388// optional int32 end = 2; 7389inline bool DescriptorProto_ExtensionRange::_internal_has_end() const { 7390 bool value = (_has_bits_[0] & 0x00000004u) != 0; 7391 return value; 7392} 7393inline bool DescriptorProto_ExtensionRange::has_end() const { 7394 return _internal_has_end(); 7395} 7396inline void DescriptorProto_ExtensionRange::clear_end() { 7397 end_ = 0; 7398 _has_bits_[0] &= ~0x00000004u; 7399} 7400inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ExtensionRange::_internal_end() const { 7401 return end_; 7402} 7403inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ExtensionRange::end() const { 7404 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.end) 7405 return _internal_end(); 7406} 7407inline void DescriptorProto_ExtensionRange::_internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value) { 7408 _has_bits_[0] |= 0x00000004u; 7409 end_ = value; 7410} 7411inline void DescriptorProto_ExtensionRange::set_end(::PROTOBUF_NAMESPACE_ID::int32 value) { 7412 _internal_set_end(value); 7413 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.end) 7414} 7415 7416// optional .google.protobuf.ExtensionRangeOptions options = 3; 7417inline bool DescriptorProto_ExtensionRange::_internal_has_options() const { 7418 bool value = (_has_bits_[0] & 0x00000001u) != 0; 7419 PROTOBUF_ASSUME(!value || options_ != nullptr); 7420 return value; 7421} 7422inline bool DescriptorProto_ExtensionRange::has_options() const { 7423 return _internal_has_options(); 7424} 7425inline void DescriptorProto_ExtensionRange::clear_options() { 7426 if (options_ != nullptr) options_->Clear(); 7427 _has_bits_[0] &= ~0x00000001u; 7428} 7429inline const PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& DescriptorProto_ExtensionRange::_internal_options() const { 7430 const PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* p = options_; 7431 return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions*>( 7432 &PROTOBUF_NAMESPACE_ID::_ExtensionRangeOptions_default_instance_); 7433} 7434inline const PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& DescriptorProto_ExtensionRange::options() const { 7435 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.options) 7436 return _internal_options(); 7437} 7438inline void DescriptorProto_ExtensionRange::unsafe_arena_set_allocated_options( 7439 PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options) { 7440 if (GetArena() == nullptr) { 7441 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_); 7442 } 7443 options_ = options; 7444 if (options) { 7445 _has_bits_[0] |= 0x00000001u; 7446 } else { 7447 _has_bits_[0] &= ~0x00000001u; 7448 } 7449 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options) 7450} 7451inline PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::release_options() { 7452 _has_bits_[0] &= ~0x00000001u; 7453 PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* temp = options_; 7454 options_ = nullptr; 7455 if (GetArena() != nullptr) { 7456 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); 7457 } 7458 return temp; 7459} 7460inline PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::unsafe_arena_release_options() { 7461 // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.ExtensionRange.options) 7462 _has_bits_[0] &= ~0x00000001u; 7463 PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* temp = options_; 7464 options_ = nullptr; 7465 return temp; 7466} 7467inline PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::_internal_mutable_options() { 7468 _has_bits_[0] |= 0x00000001u; 7469 if (options_ == nullptr) { 7470 auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions>(GetArena()); 7471 options_ = p; 7472 } 7473 return options_; 7474} 7475inline PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::mutable_options() { 7476 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.ExtensionRange.options) 7477 return _internal_mutable_options(); 7478} 7479inline void DescriptorProto_ExtensionRange::set_allocated_options(PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options) { 7480 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); 7481 if (message_arena == nullptr) { 7482 delete options_; 7483 } 7484 if (options) { 7485 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = 7486 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(options); 7487 if (message_arena != submessage_arena) { 7488 options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( 7489 message_arena, options, submessage_arena); 7490 } 7491 _has_bits_[0] |= 0x00000001u; 7492 } else { 7493 _has_bits_[0] &= ~0x00000001u; 7494 } 7495 options_ = options; 7496 // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options) 7497} 7498 7499// ------------------------------------------------------------------- 7500 7501// DescriptorProto_ReservedRange 7502 7503// optional int32 start = 1; 7504inline bool DescriptorProto_ReservedRange::_internal_has_start() const { 7505 bool value = (_has_bits_[0] & 0x00000001u) != 0; 7506 return value; 7507} 7508inline bool DescriptorProto_ReservedRange::has_start() const { 7509 return _internal_has_start(); 7510} 7511inline void DescriptorProto_ReservedRange::clear_start() { 7512 start_ = 0; 7513 _has_bits_[0] &= ~0x00000001u; 7514} 7515inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ReservedRange::_internal_start() const { 7516 return start_; 7517} 7518inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ReservedRange::start() const { 7519 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.start) 7520 return _internal_start(); 7521} 7522inline void DescriptorProto_ReservedRange::_internal_set_start(::PROTOBUF_NAMESPACE_ID::int32 value) { 7523 _has_bits_[0] |= 0x00000001u; 7524 start_ = value; 7525} 7526inline void DescriptorProto_ReservedRange::set_start(::PROTOBUF_NAMESPACE_ID::int32 value) { 7527 _internal_set_start(value); 7528 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.start) 7529} 7530 7531// optional int32 end = 2; 7532inline bool DescriptorProto_ReservedRange::_internal_has_end() const { 7533 bool value = (_has_bits_[0] & 0x00000002u) != 0; 7534 return value; 7535} 7536inline bool DescriptorProto_ReservedRange::has_end() const { 7537 return _internal_has_end(); 7538} 7539inline void DescriptorProto_ReservedRange::clear_end() { 7540 end_ = 0; 7541 _has_bits_[0] &= ~0x00000002u; 7542} 7543inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ReservedRange::_internal_end() const { 7544 return end_; 7545} 7546inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ReservedRange::end() const { 7547 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.end) 7548 return _internal_end(); 7549} 7550inline void DescriptorProto_ReservedRange::_internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value) { 7551 _has_bits_[0] |= 0x00000002u; 7552 end_ = value; 7553} 7554inline void DescriptorProto_ReservedRange::set_end(::PROTOBUF_NAMESPACE_ID::int32 value) { 7555 _internal_set_end(value); 7556 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.end) 7557} 7558 7559// ------------------------------------------------------------------- 7560 7561// DescriptorProto 7562 7563// optional string name = 1; 7564inline bool DescriptorProto::_internal_has_name() const { 7565 bool value = (_has_bits_[0] & 0x00000001u) != 0; 7566 return value; 7567} 7568inline bool DescriptorProto::has_name() const { 7569 return _internal_has_name(); 7570} 7571inline void DescriptorProto::clear_name() { 7572 name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 7573 _has_bits_[0] &= ~0x00000001u; 7574} 7575inline const std::string& DescriptorProto::name() const { 7576 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name) 7577 return _internal_name(); 7578} 7579inline void DescriptorProto::set_name(const std::string& value) { 7580 _internal_set_name(value); 7581 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name) 7582} 7583inline std::string* DescriptorProto::mutable_name() { 7584 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name) 7585 return _internal_mutable_name(); 7586} 7587inline const std::string& DescriptorProto::_internal_name() const { 7588 return name_.Get(); 7589} 7590inline void DescriptorProto::_internal_set_name(const std::string& value) { 7591 _has_bits_[0] |= 0x00000001u; 7592 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 7593} 7594inline void DescriptorProto::set_name(std::string&& value) { 7595 _has_bits_[0] |= 0x00000001u; 7596 name_.Set( 7597 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 7598 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.DescriptorProto.name) 7599} 7600inline void DescriptorProto::set_name(const char* value) { 7601 GOOGLE_DCHECK(value != nullptr); 7602 _has_bits_[0] |= 0x00000001u; 7603 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 7604 GetArena()); 7605 // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.name) 7606} 7607inline void DescriptorProto::set_name(const char* value, 7608 size_t size) { 7609 _has_bits_[0] |= 0x00000001u; 7610 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 7611 reinterpret_cast<const char*>(value), size), GetArena()); 7612 // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.name) 7613} 7614inline std::string* DescriptorProto::_internal_mutable_name() { 7615 _has_bits_[0] |= 0x00000001u; 7616 return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 7617} 7618inline std::string* DescriptorProto::release_name() { 7619 // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.name) 7620 if (!_internal_has_name()) { 7621 return nullptr; 7622 } 7623 _has_bits_[0] &= ~0x00000001u; 7624 return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 7625} 7626inline void DescriptorProto::set_allocated_name(std::string* name) { 7627 if (name != nullptr) { 7628 _has_bits_[0] |= 0x00000001u; 7629 } else { 7630 _has_bits_[0] &= ~0x00000001u; 7631 } 7632 name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, 7633 GetArena()); 7634 // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.name) 7635} 7636 7637// repeated .google.protobuf.FieldDescriptorProto field = 2; 7638inline int DescriptorProto::_internal_field_size() const { 7639 return field_.size(); 7640} 7641inline int DescriptorProto::field_size() const { 7642 return _internal_field_size(); 7643} 7644inline void DescriptorProto::clear_field() { 7645 field_.Clear(); 7646} 7647inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::mutable_field(int index) { 7648 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.field) 7649 return field_.Mutable(index); 7650} 7651inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* 7652DescriptorProto::mutable_field() { 7653 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.field) 7654 return &field_; 7655} 7656inline const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::_internal_field(int index) const { 7657 return field_.Get(index); 7658} 7659inline const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::field(int index) const { 7660 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.field) 7661 return _internal_field(index); 7662} 7663inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::_internal_add_field() { 7664 return field_.Add(); 7665} 7666inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::add_field() { 7667 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.field) 7668 return _internal_add_field(); 7669} 7670inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& 7671DescriptorProto::field() const { 7672 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.field) 7673 return field_; 7674} 7675 7676// repeated .google.protobuf.FieldDescriptorProto extension = 6; 7677inline int DescriptorProto::_internal_extension_size() const { 7678 return extension_.size(); 7679} 7680inline int DescriptorProto::extension_size() const { 7681 return _internal_extension_size(); 7682} 7683inline void DescriptorProto::clear_extension() { 7684 extension_.Clear(); 7685} 7686inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::mutable_extension(int index) { 7687 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension) 7688 return extension_.Mutable(index); 7689} 7690inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* 7691DescriptorProto::mutable_extension() { 7692 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension) 7693 return &extension_; 7694} 7695inline const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::_internal_extension(int index) const { 7696 return extension_.Get(index); 7697} 7698inline const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::extension(int index) const { 7699 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension) 7700 return _internal_extension(index); 7701} 7702inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::_internal_add_extension() { 7703 return extension_.Add(); 7704} 7705inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::add_extension() { 7706 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension) 7707 return _internal_add_extension(); 7708} 7709inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& 7710DescriptorProto::extension() const { 7711 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension) 7712 return extension_; 7713} 7714 7715// repeated .google.protobuf.DescriptorProto nested_type = 3; 7716inline int DescriptorProto::_internal_nested_type_size() const { 7717 return nested_type_.size(); 7718} 7719inline int DescriptorProto::nested_type_size() const { 7720 return _internal_nested_type_size(); 7721} 7722inline void DescriptorProto::clear_nested_type() { 7723 nested_type_.Clear(); 7724} 7725inline PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::mutable_nested_type(int index) { 7726 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.nested_type) 7727 return nested_type_.Mutable(index); 7728} 7729inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >* 7730DescriptorProto::mutable_nested_type() { 7731 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.nested_type) 7732 return &nested_type_; 7733} 7734inline const PROTOBUF_NAMESPACE_ID::DescriptorProto& DescriptorProto::_internal_nested_type(int index) const { 7735 return nested_type_.Get(index); 7736} 7737inline const PROTOBUF_NAMESPACE_ID::DescriptorProto& DescriptorProto::nested_type(int index) const { 7738 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.nested_type) 7739 return _internal_nested_type(index); 7740} 7741inline PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::_internal_add_nested_type() { 7742 return nested_type_.Add(); 7743} 7744inline PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::add_nested_type() { 7745 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.nested_type) 7746 return _internal_add_nested_type(); 7747} 7748inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >& 7749DescriptorProto::nested_type() const { 7750 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.nested_type) 7751 return nested_type_; 7752} 7753 7754// repeated .google.protobuf.EnumDescriptorProto enum_type = 4; 7755inline int DescriptorProto::_internal_enum_type_size() const { 7756 return enum_type_.size(); 7757} 7758inline int DescriptorProto::enum_type_size() const { 7759 return _internal_enum_type_size(); 7760} 7761inline void DescriptorProto::clear_enum_type() { 7762 enum_type_.Clear(); 7763} 7764inline PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::mutable_enum_type(int index) { 7765 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.enum_type) 7766 return enum_type_.Mutable(index); 7767} 7768inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >* 7769DescriptorProto::mutable_enum_type() { 7770 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.enum_type) 7771 return &enum_type_; 7772} 7773inline const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& DescriptorProto::_internal_enum_type(int index) const { 7774 return enum_type_.Get(index); 7775} 7776inline const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& DescriptorProto::enum_type(int index) const { 7777 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.enum_type) 7778 return _internal_enum_type(index); 7779} 7780inline PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::_internal_add_enum_type() { 7781 return enum_type_.Add(); 7782} 7783inline PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::add_enum_type() { 7784 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.enum_type) 7785 return _internal_add_enum_type(); 7786} 7787inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >& 7788DescriptorProto::enum_type() const { 7789 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.enum_type) 7790 return enum_type_; 7791} 7792 7793// repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; 7794inline int DescriptorProto::_internal_extension_range_size() const { 7795 return extension_range_.size(); 7796} 7797inline int DescriptorProto::extension_range_size() const { 7798 return _internal_extension_range_size(); 7799} 7800inline void DescriptorProto::clear_extension_range() { 7801 extension_range_.Clear(); 7802} 7803inline PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::mutable_extension_range(int index) { 7804 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension_range) 7805 return extension_range_.Mutable(index); 7806} 7807inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >* 7808DescriptorProto::mutable_extension_range() { 7809 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension_range) 7810 return &extension_range_; 7811} 7812inline const PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& DescriptorProto::_internal_extension_range(int index) const { 7813 return extension_range_.Get(index); 7814} 7815inline const PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& DescriptorProto::extension_range(int index) const { 7816 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension_range) 7817 return _internal_extension_range(index); 7818} 7819inline PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::_internal_add_extension_range() { 7820 return extension_range_.Add(); 7821} 7822inline PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::add_extension_range() { 7823 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension_range) 7824 return _internal_add_extension_range(); 7825} 7826inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >& 7827DescriptorProto::extension_range() const { 7828 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension_range) 7829 return extension_range_; 7830} 7831 7832// repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; 7833inline int DescriptorProto::_internal_oneof_decl_size() const { 7834 return oneof_decl_.size(); 7835} 7836inline int DescriptorProto::oneof_decl_size() const { 7837 return _internal_oneof_decl_size(); 7838} 7839inline void DescriptorProto::clear_oneof_decl() { 7840 oneof_decl_.Clear(); 7841} 7842inline PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::mutable_oneof_decl(int index) { 7843 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.oneof_decl) 7844 return oneof_decl_.Mutable(index); 7845} 7846inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >* 7847DescriptorProto::mutable_oneof_decl() { 7848 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.oneof_decl) 7849 return &oneof_decl_; 7850} 7851inline const PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& DescriptorProto::_internal_oneof_decl(int index) const { 7852 return oneof_decl_.Get(index); 7853} 7854inline const PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& DescriptorProto::oneof_decl(int index) const { 7855 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.oneof_decl) 7856 return _internal_oneof_decl(index); 7857} 7858inline PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::_internal_add_oneof_decl() { 7859 return oneof_decl_.Add(); 7860} 7861inline PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::add_oneof_decl() { 7862 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.oneof_decl) 7863 return _internal_add_oneof_decl(); 7864} 7865inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >& 7866DescriptorProto::oneof_decl() const { 7867 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_decl) 7868 return oneof_decl_; 7869} 7870 7871// optional .google.protobuf.MessageOptions options = 7; 7872inline bool DescriptorProto::_internal_has_options() const { 7873 bool value = (_has_bits_[0] & 0x00000002u) != 0; 7874 PROTOBUF_ASSUME(!value || options_ != nullptr); 7875 return value; 7876} 7877inline bool DescriptorProto::has_options() const { 7878 return _internal_has_options(); 7879} 7880inline void DescriptorProto::clear_options() { 7881 if (options_ != nullptr) options_->Clear(); 7882 _has_bits_[0] &= ~0x00000002u; 7883} 7884inline const PROTOBUF_NAMESPACE_ID::MessageOptions& DescriptorProto::_internal_options() const { 7885 const PROTOBUF_NAMESPACE_ID::MessageOptions* p = options_; 7886 return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::MessageOptions*>( 7887 &PROTOBUF_NAMESPACE_ID::_MessageOptions_default_instance_); 7888} 7889inline const PROTOBUF_NAMESPACE_ID::MessageOptions& DescriptorProto::options() const { 7890 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options) 7891 return _internal_options(); 7892} 7893inline void DescriptorProto::unsafe_arena_set_allocated_options( 7894 PROTOBUF_NAMESPACE_ID::MessageOptions* options) { 7895 if (GetArena() == nullptr) { 7896 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_); 7897 } 7898 options_ = options; 7899 if (options) { 7900 _has_bits_[0] |= 0x00000002u; 7901 } else { 7902 _has_bits_[0] &= ~0x00000002u; 7903 } 7904 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.options) 7905} 7906inline PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::release_options() { 7907 _has_bits_[0] &= ~0x00000002u; 7908 PROTOBUF_NAMESPACE_ID::MessageOptions* temp = options_; 7909 options_ = nullptr; 7910 if (GetArena() != nullptr) { 7911 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); 7912 } 7913 return temp; 7914} 7915inline PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::unsafe_arena_release_options() { 7916 // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.options) 7917 _has_bits_[0] &= ~0x00000002u; 7918 PROTOBUF_NAMESPACE_ID::MessageOptions* temp = options_; 7919 options_ = nullptr; 7920 return temp; 7921} 7922inline PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::_internal_mutable_options() { 7923 _has_bits_[0] |= 0x00000002u; 7924 if (options_ == nullptr) { 7925 auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::MessageOptions>(GetArena()); 7926 options_ = p; 7927 } 7928 return options_; 7929} 7930inline PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::mutable_options() { 7931 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.options) 7932 return _internal_mutable_options(); 7933} 7934inline void DescriptorProto::set_allocated_options(PROTOBUF_NAMESPACE_ID::MessageOptions* options) { 7935 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); 7936 if (message_arena == nullptr) { 7937 delete options_; 7938 } 7939 if (options) { 7940 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = 7941 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(options); 7942 if (message_arena != submessage_arena) { 7943 options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( 7944 message_arena, options, submessage_arena); 7945 } 7946 _has_bits_[0] |= 0x00000002u; 7947 } else { 7948 _has_bits_[0] &= ~0x00000002u; 7949 } 7950 options_ = options; 7951 // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.options) 7952} 7953 7954// repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; 7955inline int DescriptorProto::_internal_reserved_range_size() const { 7956 return reserved_range_.size(); 7957} 7958inline int DescriptorProto::reserved_range_size() const { 7959 return _internal_reserved_range_size(); 7960} 7961inline void DescriptorProto::clear_reserved_range() { 7962 reserved_range_.Clear(); 7963} 7964inline PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::mutable_reserved_range(int index) { 7965 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_range) 7966 return reserved_range_.Mutable(index); 7967} 7968inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >* 7969DescriptorProto::mutable_reserved_range() { 7970 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_range) 7971 return &reserved_range_; 7972} 7973inline const PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& DescriptorProto::_internal_reserved_range(int index) const { 7974 return reserved_range_.Get(index); 7975} 7976inline const PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& DescriptorProto::reserved_range(int index) const { 7977 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_range) 7978 return _internal_reserved_range(index); 7979} 7980inline PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::_internal_add_reserved_range() { 7981 return reserved_range_.Add(); 7982} 7983inline PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::add_reserved_range() { 7984 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_range) 7985 return _internal_add_reserved_range(); 7986} 7987inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >& 7988DescriptorProto::reserved_range() const { 7989 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_range) 7990 return reserved_range_; 7991} 7992 7993// repeated string reserved_name = 10; 7994inline int DescriptorProto::_internal_reserved_name_size() const { 7995 return reserved_name_.size(); 7996} 7997inline int DescriptorProto::reserved_name_size() const { 7998 return _internal_reserved_name_size(); 7999} 8000inline void DescriptorProto::clear_reserved_name() { 8001 reserved_name_.Clear(); 8002} 8003inline std::string* DescriptorProto::add_reserved_name() { 8004 // @@protoc_insertion_point(field_add_mutable:google.protobuf.DescriptorProto.reserved_name) 8005 return _internal_add_reserved_name(); 8006} 8007inline const std::string& DescriptorProto::_internal_reserved_name(int index) const { 8008 return reserved_name_.Get(index); 8009} 8010inline const std::string& DescriptorProto::reserved_name(int index) const { 8011 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_name) 8012 return _internal_reserved_name(index); 8013} 8014inline std::string* DescriptorProto::mutable_reserved_name(int index) { 8015 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_name) 8016 return reserved_name_.Mutable(index); 8017} 8018inline void DescriptorProto::set_reserved_name(int index, const std::string& value) { 8019 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name) 8020 reserved_name_.Mutable(index)->assign(value); 8021} 8022inline void DescriptorProto::set_reserved_name(int index, std::string&& value) { 8023 // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name) 8024 reserved_name_.Mutable(index)->assign(std::move(value)); 8025} 8026inline void DescriptorProto::set_reserved_name(int index, const char* value) { 8027 GOOGLE_DCHECK(value != nullptr); 8028 reserved_name_.Mutable(index)->assign(value); 8029 // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.reserved_name) 8030} 8031inline void DescriptorProto::set_reserved_name(int index, const char* value, size_t size) { 8032 reserved_name_.Mutable(index)->assign( 8033 reinterpret_cast<const char*>(value), size); 8034 // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.reserved_name) 8035} 8036inline std::string* DescriptorProto::_internal_add_reserved_name() { 8037 return reserved_name_.Add(); 8038} 8039inline void DescriptorProto::add_reserved_name(const std::string& value) { 8040 reserved_name_.Add()->assign(value); 8041 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name) 8042} 8043inline void DescriptorProto::add_reserved_name(std::string&& value) { 8044 reserved_name_.Add(std::move(value)); 8045 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name) 8046} 8047inline void DescriptorProto::add_reserved_name(const char* value) { 8048 GOOGLE_DCHECK(value != nullptr); 8049 reserved_name_.Add()->assign(value); 8050 // @@protoc_insertion_point(field_add_char:google.protobuf.DescriptorProto.reserved_name) 8051} 8052inline void DescriptorProto::add_reserved_name(const char* value, size_t size) { 8053 reserved_name_.Add()->assign(reinterpret_cast<const char*>(value), size); 8054 // @@protoc_insertion_point(field_add_pointer:google.protobuf.DescriptorProto.reserved_name) 8055} 8056inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& 8057DescriptorProto::reserved_name() const { 8058 // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_name) 8059 return reserved_name_; 8060} 8061inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* 8062DescriptorProto::mutable_reserved_name() { 8063 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_name) 8064 return &reserved_name_; 8065} 8066 8067// ------------------------------------------------------------------- 8068 8069// ExtensionRangeOptions 8070 8071// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 8072inline int ExtensionRangeOptions::_internal_uninterpreted_option_size() const { 8073 return uninterpreted_option_.size(); 8074} 8075inline int ExtensionRangeOptions::uninterpreted_option_size() const { 8076 return _internal_uninterpreted_option_size(); 8077} 8078inline void ExtensionRangeOptions::clear_uninterpreted_option() { 8079 uninterpreted_option_.Clear(); 8080} 8081inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::mutable_uninterpreted_option(int index) { 8082 // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.uninterpreted_option) 8083 return uninterpreted_option_.Mutable(index); 8084} 8085inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >* 8086ExtensionRangeOptions::mutable_uninterpreted_option() { 8087 // @@protoc_insertion_point(field_mutable_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option) 8088 return &uninterpreted_option_; 8089} 8090inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& ExtensionRangeOptions::_internal_uninterpreted_option(int index) const { 8091 return uninterpreted_option_.Get(index); 8092} 8093inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& ExtensionRangeOptions::uninterpreted_option(int index) const { 8094 // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.uninterpreted_option) 8095 return _internal_uninterpreted_option(index); 8096} 8097inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::_internal_add_uninterpreted_option() { 8098 return uninterpreted_option_.Add(); 8099} 8100inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::add_uninterpreted_option() { 8101 // @@protoc_insertion_point(field_add:google.protobuf.ExtensionRangeOptions.uninterpreted_option) 8102 return _internal_add_uninterpreted_option(); 8103} 8104inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >& 8105ExtensionRangeOptions::uninterpreted_option() const { 8106 // @@protoc_insertion_point(field_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option) 8107 return uninterpreted_option_; 8108} 8109 8110// ------------------------------------------------------------------- 8111 8112// FieldDescriptorProto 8113 8114// optional string name = 1; 8115inline bool FieldDescriptorProto::_internal_has_name() const { 8116 bool value = (_has_bits_[0] & 0x00000001u) != 0; 8117 return value; 8118} 8119inline bool FieldDescriptorProto::has_name() const { 8120 return _internal_has_name(); 8121} 8122inline void FieldDescriptorProto::clear_name() { 8123 name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8124 _has_bits_[0] &= ~0x00000001u; 8125} 8126inline const std::string& FieldDescriptorProto::name() const { 8127 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.name) 8128 return _internal_name(); 8129} 8130inline void FieldDescriptorProto::set_name(const std::string& value) { 8131 _internal_set_name(value); 8132 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.name) 8133} 8134inline std::string* FieldDescriptorProto::mutable_name() { 8135 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.name) 8136 return _internal_mutable_name(); 8137} 8138inline const std::string& FieldDescriptorProto::_internal_name() const { 8139 return name_.Get(); 8140} 8141inline void FieldDescriptorProto::_internal_set_name(const std::string& value) { 8142 _has_bits_[0] |= 0x00000001u; 8143 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 8144} 8145inline void FieldDescriptorProto::set_name(std::string&& value) { 8146 _has_bits_[0] |= 0x00000001u; 8147 name_.Set( 8148 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 8149 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FieldDescriptorProto.name) 8150} 8151inline void FieldDescriptorProto::set_name(const char* value) { 8152 GOOGLE_DCHECK(value != nullptr); 8153 _has_bits_[0] |= 0x00000001u; 8154 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 8155 GetArena()); 8156 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.name) 8157} 8158inline void FieldDescriptorProto::set_name(const char* value, 8159 size_t size) { 8160 _has_bits_[0] |= 0x00000001u; 8161 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 8162 reinterpret_cast<const char*>(value), size), GetArena()); 8163 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.name) 8164} 8165inline std::string* FieldDescriptorProto::_internal_mutable_name() { 8166 _has_bits_[0] |= 0x00000001u; 8167 return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8168} 8169inline std::string* FieldDescriptorProto::release_name() { 8170 // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.name) 8171 if (!_internal_has_name()) { 8172 return nullptr; 8173 } 8174 _has_bits_[0] &= ~0x00000001u; 8175 return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8176} 8177inline void FieldDescriptorProto::set_allocated_name(std::string* name) { 8178 if (name != nullptr) { 8179 _has_bits_[0] |= 0x00000001u; 8180 } else { 8181 _has_bits_[0] &= ~0x00000001u; 8182 } 8183 name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, 8184 GetArena()); 8185 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.name) 8186} 8187 8188// optional int32 number = 3; 8189inline bool FieldDescriptorProto::_internal_has_number() const { 8190 bool value = (_has_bits_[0] & 0x00000040u) != 0; 8191 return value; 8192} 8193inline bool FieldDescriptorProto::has_number() const { 8194 return _internal_has_number(); 8195} 8196inline void FieldDescriptorProto::clear_number() { 8197 number_ = 0; 8198 _has_bits_[0] &= ~0x00000040u; 8199} 8200inline ::PROTOBUF_NAMESPACE_ID::int32 FieldDescriptorProto::_internal_number() const { 8201 return number_; 8202} 8203inline ::PROTOBUF_NAMESPACE_ID::int32 FieldDescriptorProto::number() const { 8204 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.number) 8205 return _internal_number(); 8206} 8207inline void FieldDescriptorProto::_internal_set_number(::PROTOBUF_NAMESPACE_ID::int32 value) { 8208 _has_bits_[0] |= 0x00000040u; 8209 number_ = value; 8210} 8211inline void FieldDescriptorProto::set_number(::PROTOBUF_NAMESPACE_ID::int32 value) { 8212 _internal_set_number(value); 8213 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.number) 8214} 8215 8216// optional .google.protobuf.FieldDescriptorProto.Label label = 4; 8217inline bool FieldDescriptorProto::_internal_has_label() const { 8218 bool value = (_has_bits_[0] & 0x00000200u) != 0; 8219 return value; 8220} 8221inline bool FieldDescriptorProto::has_label() const { 8222 return _internal_has_label(); 8223} 8224inline void FieldDescriptorProto::clear_label() { 8225 label_ = 1; 8226 _has_bits_[0] &= ~0x00000200u; 8227} 8228inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label FieldDescriptorProto::_internal_label() const { 8229 return static_cast< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label >(label_); 8230} 8231inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label FieldDescriptorProto::label() const { 8232 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.label) 8233 return _internal_label(); 8234} 8235inline void FieldDescriptorProto::_internal_set_label(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value) { 8236 assert(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label_IsValid(value)); 8237 _has_bits_[0] |= 0x00000200u; 8238 label_ = value; 8239} 8240inline void FieldDescriptorProto::set_label(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value) { 8241 _internal_set_label(value); 8242 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.label) 8243} 8244 8245// optional .google.protobuf.FieldDescriptorProto.Type type = 5; 8246inline bool FieldDescriptorProto::_internal_has_type() const { 8247 bool value = (_has_bits_[0] & 0x00000400u) != 0; 8248 return value; 8249} 8250inline bool FieldDescriptorProto::has_type() const { 8251 return _internal_has_type(); 8252} 8253inline void FieldDescriptorProto::clear_type() { 8254 type_ = 1; 8255 _has_bits_[0] &= ~0x00000400u; 8256} 8257inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type FieldDescriptorProto::_internal_type() const { 8258 return static_cast< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type >(type_); 8259} 8260inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type FieldDescriptorProto::type() const { 8261 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type) 8262 return _internal_type(); 8263} 8264inline void FieldDescriptorProto::_internal_set_type(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value) { 8265 assert(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type_IsValid(value)); 8266 _has_bits_[0] |= 0x00000400u; 8267 type_ = value; 8268} 8269inline void FieldDescriptorProto::set_type(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value) { 8270 _internal_set_type(value); 8271 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type) 8272} 8273 8274// optional string type_name = 6; 8275inline bool FieldDescriptorProto::_internal_has_type_name() const { 8276 bool value = (_has_bits_[0] & 0x00000004u) != 0; 8277 return value; 8278} 8279inline bool FieldDescriptorProto::has_type_name() const { 8280 return _internal_has_type_name(); 8281} 8282inline void FieldDescriptorProto::clear_type_name() { 8283 type_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8284 _has_bits_[0] &= ~0x00000004u; 8285} 8286inline const std::string& FieldDescriptorProto::type_name() const { 8287 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type_name) 8288 return _internal_type_name(); 8289} 8290inline void FieldDescriptorProto::set_type_name(const std::string& value) { 8291 _internal_set_type_name(value); 8292 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type_name) 8293} 8294inline std::string* FieldDescriptorProto::mutable_type_name() { 8295 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.type_name) 8296 return _internal_mutable_type_name(); 8297} 8298inline const std::string& FieldDescriptorProto::_internal_type_name() const { 8299 return type_name_.Get(); 8300} 8301inline void FieldDescriptorProto::_internal_set_type_name(const std::string& value) { 8302 _has_bits_[0] |= 0x00000004u; 8303 type_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 8304} 8305inline void FieldDescriptorProto::set_type_name(std::string&& value) { 8306 _has_bits_[0] |= 0x00000004u; 8307 type_name_.Set( 8308 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 8309 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FieldDescriptorProto.type_name) 8310} 8311inline void FieldDescriptorProto::set_type_name(const char* value) { 8312 GOOGLE_DCHECK(value != nullptr); 8313 _has_bits_[0] |= 0x00000004u; 8314 type_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 8315 GetArena()); 8316 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.type_name) 8317} 8318inline void FieldDescriptorProto::set_type_name(const char* value, 8319 size_t size) { 8320 _has_bits_[0] |= 0x00000004u; 8321 type_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 8322 reinterpret_cast<const char*>(value), size), GetArena()); 8323 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.type_name) 8324} 8325inline std::string* FieldDescriptorProto::_internal_mutable_type_name() { 8326 _has_bits_[0] |= 0x00000004u; 8327 return type_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8328} 8329inline std::string* FieldDescriptorProto::release_type_name() { 8330 // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.type_name) 8331 if (!_internal_has_type_name()) { 8332 return nullptr; 8333 } 8334 _has_bits_[0] &= ~0x00000004u; 8335 return type_name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8336} 8337inline void FieldDescriptorProto::set_allocated_type_name(std::string* type_name) { 8338 if (type_name != nullptr) { 8339 _has_bits_[0] |= 0x00000004u; 8340 } else { 8341 _has_bits_[0] &= ~0x00000004u; 8342 } 8343 type_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type_name, 8344 GetArena()); 8345 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.type_name) 8346} 8347 8348// optional string extendee = 2; 8349inline bool FieldDescriptorProto::_internal_has_extendee() const { 8350 bool value = (_has_bits_[0] & 0x00000002u) != 0; 8351 return value; 8352} 8353inline bool FieldDescriptorProto::has_extendee() const { 8354 return _internal_has_extendee(); 8355} 8356inline void FieldDescriptorProto::clear_extendee() { 8357 extendee_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8358 _has_bits_[0] &= ~0x00000002u; 8359} 8360inline const std::string& FieldDescriptorProto::extendee() const { 8361 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.extendee) 8362 return _internal_extendee(); 8363} 8364inline void FieldDescriptorProto::set_extendee(const std::string& value) { 8365 _internal_set_extendee(value); 8366 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.extendee) 8367} 8368inline std::string* FieldDescriptorProto::mutable_extendee() { 8369 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.extendee) 8370 return _internal_mutable_extendee(); 8371} 8372inline const std::string& FieldDescriptorProto::_internal_extendee() const { 8373 return extendee_.Get(); 8374} 8375inline void FieldDescriptorProto::_internal_set_extendee(const std::string& value) { 8376 _has_bits_[0] |= 0x00000002u; 8377 extendee_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 8378} 8379inline void FieldDescriptorProto::set_extendee(std::string&& value) { 8380 _has_bits_[0] |= 0x00000002u; 8381 extendee_.Set( 8382 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 8383 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FieldDescriptorProto.extendee) 8384} 8385inline void FieldDescriptorProto::set_extendee(const char* value) { 8386 GOOGLE_DCHECK(value != nullptr); 8387 _has_bits_[0] |= 0x00000002u; 8388 extendee_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 8389 GetArena()); 8390 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.extendee) 8391} 8392inline void FieldDescriptorProto::set_extendee(const char* value, 8393 size_t size) { 8394 _has_bits_[0] |= 0x00000002u; 8395 extendee_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 8396 reinterpret_cast<const char*>(value), size), GetArena()); 8397 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.extendee) 8398} 8399inline std::string* FieldDescriptorProto::_internal_mutable_extendee() { 8400 _has_bits_[0] |= 0x00000002u; 8401 return extendee_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8402} 8403inline std::string* FieldDescriptorProto::release_extendee() { 8404 // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.extendee) 8405 if (!_internal_has_extendee()) { 8406 return nullptr; 8407 } 8408 _has_bits_[0] &= ~0x00000002u; 8409 return extendee_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8410} 8411inline void FieldDescriptorProto::set_allocated_extendee(std::string* extendee) { 8412 if (extendee != nullptr) { 8413 _has_bits_[0] |= 0x00000002u; 8414 } else { 8415 _has_bits_[0] &= ~0x00000002u; 8416 } 8417 extendee_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), extendee, 8418 GetArena()); 8419 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.extendee) 8420} 8421 8422// optional string default_value = 7; 8423inline bool FieldDescriptorProto::_internal_has_default_value() const { 8424 bool value = (_has_bits_[0] & 0x00000008u) != 0; 8425 return value; 8426} 8427inline bool FieldDescriptorProto::has_default_value() const { 8428 return _internal_has_default_value(); 8429} 8430inline void FieldDescriptorProto::clear_default_value() { 8431 default_value_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8432 _has_bits_[0] &= ~0x00000008u; 8433} 8434inline const std::string& FieldDescriptorProto::default_value() const { 8435 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.default_value) 8436 return _internal_default_value(); 8437} 8438inline void FieldDescriptorProto::set_default_value(const std::string& value) { 8439 _internal_set_default_value(value); 8440 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.default_value) 8441} 8442inline std::string* FieldDescriptorProto::mutable_default_value() { 8443 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.default_value) 8444 return _internal_mutable_default_value(); 8445} 8446inline const std::string& FieldDescriptorProto::_internal_default_value() const { 8447 return default_value_.Get(); 8448} 8449inline void FieldDescriptorProto::_internal_set_default_value(const std::string& value) { 8450 _has_bits_[0] |= 0x00000008u; 8451 default_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 8452} 8453inline void FieldDescriptorProto::set_default_value(std::string&& value) { 8454 _has_bits_[0] |= 0x00000008u; 8455 default_value_.Set( 8456 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 8457 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FieldDescriptorProto.default_value) 8458} 8459inline void FieldDescriptorProto::set_default_value(const char* value) { 8460 GOOGLE_DCHECK(value != nullptr); 8461 _has_bits_[0] |= 0x00000008u; 8462 default_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 8463 GetArena()); 8464 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.default_value) 8465} 8466inline void FieldDescriptorProto::set_default_value(const char* value, 8467 size_t size) { 8468 _has_bits_[0] |= 0x00000008u; 8469 default_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 8470 reinterpret_cast<const char*>(value), size), GetArena()); 8471 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.default_value) 8472} 8473inline std::string* FieldDescriptorProto::_internal_mutable_default_value() { 8474 _has_bits_[0] |= 0x00000008u; 8475 return default_value_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8476} 8477inline std::string* FieldDescriptorProto::release_default_value() { 8478 // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.default_value) 8479 if (!_internal_has_default_value()) { 8480 return nullptr; 8481 } 8482 _has_bits_[0] &= ~0x00000008u; 8483 return default_value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8484} 8485inline void FieldDescriptorProto::set_allocated_default_value(std::string* default_value) { 8486 if (default_value != nullptr) { 8487 _has_bits_[0] |= 0x00000008u; 8488 } else { 8489 _has_bits_[0] &= ~0x00000008u; 8490 } 8491 default_value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), default_value, 8492 GetArena()); 8493 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.default_value) 8494} 8495 8496// optional int32 oneof_index = 9; 8497inline bool FieldDescriptorProto::_internal_has_oneof_index() const { 8498 bool value = (_has_bits_[0] & 0x00000080u) != 0; 8499 return value; 8500} 8501inline bool FieldDescriptorProto::has_oneof_index() const { 8502 return _internal_has_oneof_index(); 8503} 8504inline void FieldDescriptorProto::clear_oneof_index() { 8505 oneof_index_ = 0; 8506 _has_bits_[0] &= ~0x00000080u; 8507} 8508inline ::PROTOBUF_NAMESPACE_ID::int32 FieldDescriptorProto::_internal_oneof_index() const { 8509 return oneof_index_; 8510} 8511inline ::PROTOBUF_NAMESPACE_ID::int32 FieldDescriptorProto::oneof_index() const { 8512 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.oneof_index) 8513 return _internal_oneof_index(); 8514} 8515inline void FieldDescriptorProto::_internal_set_oneof_index(::PROTOBUF_NAMESPACE_ID::int32 value) { 8516 _has_bits_[0] |= 0x00000080u; 8517 oneof_index_ = value; 8518} 8519inline void FieldDescriptorProto::set_oneof_index(::PROTOBUF_NAMESPACE_ID::int32 value) { 8520 _internal_set_oneof_index(value); 8521 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.oneof_index) 8522} 8523 8524// optional string json_name = 10; 8525inline bool FieldDescriptorProto::_internal_has_json_name() const { 8526 bool value = (_has_bits_[0] & 0x00000010u) != 0; 8527 return value; 8528} 8529inline bool FieldDescriptorProto::has_json_name() const { 8530 return _internal_has_json_name(); 8531} 8532inline void FieldDescriptorProto::clear_json_name() { 8533 json_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8534 _has_bits_[0] &= ~0x00000010u; 8535} 8536inline const std::string& FieldDescriptorProto::json_name() const { 8537 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.json_name) 8538 return _internal_json_name(); 8539} 8540inline void FieldDescriptorProto::set_json_name(const std::string& value) { 8541 _internal_set_json_name(value); 8542 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.json_name) 8543} 8544inline std::string* FieldDescriptorProto::mutable_json_name() { 8545 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.json_name) 8546 return _internal_mutable_json_name(); 8547} 8548inline const std::string& FieldDescriptorProto::_internal_json_name() const { 8549 return json_name_.Get(); 8550} 8551inline void FieldDescriptorProto::_internal_set_json_name(const std::string& value) { 8552 _has_bits_[0] |= 0x00000010u; 8553 json_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 8554} 8555inline void FieldDescriptorProto::set_json_name(std::string&& value) { 8556 _has_bits_[0] |= 0x00000010u; 8557 json_name_.Set( 8558 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 8559 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FieldDescriptorProto.json_name) 8560} 8561inline void FieldDescriptorProto::set_json_name(const char* value) { 8562 GOOGLE_DCHECK(value != nullptr); 8563 _has_bits_[0] |= 0x00000010u; 8564 json_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 8565 GetArena()); 8566 // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.json_name) 8567} 8568inline void FieldDescriptorProto::set_json_name(const char* value, 8569 size_t size) { 8570 _has_bits_[0] |= 0x00000010u; 8571 json_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 8572 reinterpret_cast<const char*>(value), size), GetArena()); 8573 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.json_name) 8574} 8575inline std::string* FieldDescriptorProto::_internal_mutable_json_name() { 8576 _has_bits_[0] |= 0x00000010u; 8577 return json_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8578} 8579inline std::string* FieldDescriptorProto::release_json_name() { 8580 // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.json_name) 8581 if (!_internal_has_json_name()) { 8582 return nullptr; 8583 } 8584 _has_bits_[0] &= ~0x00000010u; 8585 return json_name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8586} 8587inline void FieldDescriptorProto::set_allocated_json_name(std::string* json_name) { 8588 if (json_name != nullptr) { 8589 _has_bits_[0] |= 0x00000010u; 8590 } else { 8591 _has_bits_[0] &= ~0x00000010u; 8592 } 8593 json_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), json_name, 8594 GetArena()); 8595 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.json_name) 8596} 8597 8598// optional .google.protobuf.FieldOptions options = 8; 8599inline bool FieldDescriptorProto::_internal_has_options() const { 8600 bool value = (_has_bits_[0] & 0x00000020u) != 0; 8601 PROTOBUF_ASSUME(!value || options_ != nullptr); 8602 return value; 8603} 8604inline bool FieldDescriptorProto::has_options() const { 8605 return _internal_has_options(); 8606} 8607inline void FieldDescriptorProto::clear_options() { 8608 if (options_ != nullptr) options_->Clear(); 8609 _has_bits_[0] &= ~0x00000020u; 8610} 8611inline const PROTOBUF_NAMESPACE_ID::FieldOptions& FieldDescriptorProto::_internal_options() const { 8612 const PROTOBUF_NAMESPACE_ID::FieldOptions* p = options_; 8613 return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::FieldOptions*>( 8614 &PROTOBUF_NAMESPACE_ID::_FieldOptions_default_instance_); 8615} 8616inline const PROTOBUF_NAMESPACE_ID::FieldOptions& FieldDescriptorProto::options() const { 8617 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.options) 8618 return _internal_options(); 8619} 8620inline void FieldDescriptorProto::unsafe_arena_set_allocated_options( 8621 PROTOBUF_NAMESPACE_ID::FieldOptions* options) { 8622 if (GetArena() == nullptr) { 8623 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_); 8624 } 8625 options_ = options; 8626 if (options) { 8627 _has_bits_[0] |= 0x00000020u; 8628 } else { 8629 _has_bits_[0] &= ~0x00000020u; 8630 } 8631 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FieldDescriptorProto.options) 8632} 8633inline PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::release_options() { 8634 _has_bits_[0] &= ~0x00000020u; 8635 PROTOBUF_NAMESPACE_ID::FieldOptions* temp = options_; 8636 options_ = nullptr; 8637 if (GetArena() != nullptr) { 8638 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); 8639 } 8640 return temp; 8641} 8642inline PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::unsafe_arena_release_options() { 8643 // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.options) 8644 _has_bits_[0] &= ~0x00000020u; 8645 PROTOBUF_NAMESPACE_ID::FieldOptions* temp = options_; 8646 options_ = nullptr; 8647 return temp; 8648} 8649inline PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::_internal_mutable_options() { 8650 _has_bits_[0] |= 0x00000020u; 8651 if (options_ == nullptr) { 8652 auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FieldOptions>(GetArena()); 8653 options_ = p; 8654 } 8655 return options_; 8656} 8657inline PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::mutable_options() { 8658 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.options) 8659 return _internal_mutable_options(); 8660} 8661inline void FieldDescriptorProto::set_allocated_options(PROTOBUF_NAMESPACE_ID::FieldOptions* options) { 8662 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); 8663 if (message_arena == nullptr) { 8664 delete options_; 8665 } 8666 if (options) { 8667 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = 8668 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(options); 8669 if (message_arena != submessage_arena) { 8670 options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( 8671 message_arena, options, submessage_arena); 8672 } 8673 _has_bits_[0] |= 0x00000020u; 8674 } else { 8675 _has_bits_[0] &= ~0x00000020u; 8676 } 8677 options_ = options; 8678 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.options) 8679} 8680 8681// optional bool proto3_optional = 17; 8682inline bool FieldDescriptorProto::_internal_has_proto3_optional() const { 8683 bool value = (_has_bits_[0] & 0x00000100u) != 0; 8684 return value; 8685} 8686inline bool FieldDescriptorProto::has_proto3_optional() const { 8687 return _internal_has_proto3_optional(); 8688} 8689inline void FieldDescriptorProto::clear_proto3_optional() { 8690 proto3_optional_ = false; 8691 _has_bits_[0] &= ~0x00000100u; 8692} 8693inline bool FieldDescriptorProto::_internal_proto3_optional() const { 8694 return proto3_optional_; 8695} 8696inline bool FieldDescriptorProto::proto3_optional() const { 8697 // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.proto3_optional) 8698 return _internal_proto3_optional(); 8699} 8700inline void FieldDescriptorProto::_internal_set_proto3_optional(bool value) { 8701 _has_bits_[0] |= 0x00000100u; 8702 proto3_optional_ = value; 8703} 8704inline void FieldDescriptorProto::set_proto3_optional(bool value) { 8705 _internal_set_proto3_optional(value); 8706 // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.proto3_optional) 8707} 8708 8709// ------------------------------------------------------------------- 8710 8711// OneofDescriptorProto 8712 8713// optional string name = 1; 8714inline bool OneofDescriptorProto::_internal_has_name() const { 8715 bool value = (_has_bits_[0] & 0x00000001u) != 0; 8716 return value; 8717} 8718inline bool OneofDescriptorProto::has_name() const { 8719 return _internal_has_name(); 8720} 8721inline void OneofDescriptorProto::clear_name() { 8722 name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8723 _has_bits_[0] &= ~0x00000001u; 8724} 8725inline const std::string& OneofDescriptorProto::name() const { 8726 // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.name) 8727 return _internal_name(); 8728} 8729inline void OneofDescriptorProto::set_name(const std::string& value) { 8730 _internal_set_name(value); 8731 // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.name) 8732} 8733inline std::string* OneofDescriptorProto::mutable_name() { 8734 // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.name) 8735 return _internal_mutable_name(); 8736} 8737inline const std::string& OneofDescriptorProto::_internal_name() const { 8738 return name_.Get(); 8739} 8740inline void OneofDescriptorProto::_internal_set_name(const std::string& value) { 8741 _has_bits_[0] |= 0x00000001u; 8742 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 8743} 8744inline void OneofDescriptorProto::set_name(std::string&& value) { 8745 _has_bits_[0] |= 0x00000001u; 8746 name_.Set( 8747 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 8748 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.OneofDescriptorProto.name) 8749} 8750inline void OneofDescriptorProto::set_name(const char* value) { 8751 GOOGLE_DCHECK(value != nullptr); 8752 _has_bits_[0] |= 0x00000001u; 8753 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 8754 GetArena()); 8755 // @@protoc_insertion_point(field_set_char:google.protobuf.OneofDescriptorProto.name) 8756} 8757inline void OneofDescriptorProto::set_name(const char* value, 8758 size_t size) { 8759 _has_bits_[0] |= 0x00000001u; 8760 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 8761 reinterpret_cast<const char*>(value), size), GetArena()); 8762 // @@protoc_insertion_point(field_set_pointer:google.protobuf.OneofDescriptorProto.name) 8763} 8764inline std::string* OneofDescriptorProto::_internal_mutable_name() { 8765 _has_bits_[0] |= 0x00000001u; 8766 return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8767} 8768inline std::string* OneofDescriptorProto::release_name() { 8769 // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.name) 8770 if (!_internal_has_name()) { 8771 return nullptr; 8772 } 8773 _has_bits_[0] &= ~0x00000001u; 8774 return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8775} 8776inline void OneofDescriptorProto::set_allocated_name(std::string* name) { 8777 if (name != nullptr) { 8778 _has_bits_[0] |= 0x00000001u; 8779 } else { 8780 _has_bits_[0] &= ~0x00000001u; 8781 } 8782 name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, 8783 GetArena()); 8784 // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.name) 8785} 8786 8787// optional .google.protobuf.OneofOptions options = 2; 8788inline bool OneofDescriptorProto::_internal_has_options() const { 8789 bool value = (_has_bits_[0] & 0x00000002u) != 0; 8790 PROTOBUF_ASSUME(!value || options_ != nullptr); 8791 return value; 8792} 8793inline bool OneofDescriptorProto::has_options() const { 8794 return _internal_has_options(); 8795} 8796inline void OneofDescriptorProto::clear_options() { 8797 if (options_ != nullptr) options_->Clear(); 8798 _has_bits_[0] &= ~0x00000002u; 8799} 8800inline const PROTOBUF_NAMESPACE_ID::OneofOptions& OneofDescriptorProto::_internal_options() const { 8801 const PROTOBUF_NAMESPACE_ID::OneofOptions* p = options_; 8802 return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::OneofOptions*>( 8803 &PROTOBUF_NAMESPACE_ID::_OneofOptions_default_instance_); 8804} 8805inline const PROTOBUF_NAMESPACE_ID::OneofOptions& OneofDescriptorProto::options() const { 8806 // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.options) 8807 return _internal_options(); 8808} 8809inline void OneofDescriptorProto::unsafe_arena_set_allocated_options( 8810 PROTOBUF_NAMESPACE_ID::OneofOptions* options) { 8811 if (GetArena() == nullptr) { 8812 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_); 8813 } 8814 options_ = options; 8815 if (options) { 8816 _has_bits_[0] |= 0x00000002u; 8817 } else { 8818 _has_bits_[0] &= ~0x00000002u; 8819 } 8820 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.OneofDescriptorProto.options) 8821} 8822inline PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::release_options() { 8823 _has_bits_[0] &= ~0x00000002u; 8824 PROTOBUF_NAMESPACE_ID::OneofOptions* temp = options_; 8825 options_ = nullptr; 8826 if (GetArena() != nullptr) { 8827 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); 8828 } 8829 return temp; 8830} 8831inline PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::unsafe_arena_release_options() { 8832 // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.options) 8833 _has_bits_[0] &= ~0x00000002u; 8834 PROTOBUF_NAMESPACE_ID::OneofOptions* temp = options_; 8835 options_ = nullptr; 8836 return temp; 8837} 8838inline PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::_internal_mutable_options() { 8839 _has_bits_[0] |= 0x00000002u; 8840 if (options_ == nullptr) { 8841 auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::OneofOptions>(GetArena()); 8842 options_ = p; 8843 } 8844 return options_; 8845} 8846inline PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::mutable_options() { 8847 // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.options) 8848 return _internal_mutable_options(); 8849} 8850inline void OneofDescriptorProto::set_allocated_options(PROTOBUF_NAMESPACE_ID::OneofOptions* options) { 8851 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); 8852 if (message_arena == nullptr) { 8853 delete options_; 8854 } 8855 if (options) { 8856 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = 8857 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(options); 8858 if (message_arena != submessage_arena) { 8859 options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( 8860 message_arena, options, submessage_arena); 8861 } 8862 _has_bits_[0] |= 0x00000002u; 8863 } else { 8864 _has_bits_[0] &= ~0x00000002u; 8865 } 8866 options_ = options; 8867 // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.options) 8868} 8869 8870// ------------------------------------------------------------------- 8871 8872// EnumDescriptorProto_EnumReservedRange 8873 8874// optional int32 start = 1; 8875inline bool EnumDescriptorProto_EnumReservedRange::_internal_has_start() const { 8876 bool value = (_has_bits_[0] & 0x00000001u) != 0; 8877 return value; 8878} 8879inline bool EnumDescriptorProto_EnumReservedRange::has_start() const { 8880 return _internal_has_start(); 8881} 8882inline void EnumDescriptorProto_EnumReservedRange::clear_start() { 8883 start_ = 0; 8884 _has_bits_[0] &= ~0x00000001u; 8885} 8886inline ::PROTOBUF_NAMESPACE_ID::int32 EnumDescriptorProto_EnumReservedRange::_internal_start() const { 8887 return start_; 8888} 8889inline ::PROTOBUF_NAMESPACE_ID::int32 EnumDescriptorProto_EnumReservedRange::start() const { 8890 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.start) 8891 return _internal_start(); 8892} 8893inline void EnumDescriptorProto_EnumReservedRange::_internal_set_start(::PROTOBUF_NAMESPACE_ID::int32 value) { 8894 _has_bits_[0] |= 0x00000001u; 8895 start_ = value; 8896} 8897inline void EnumDescriptorProto_EnumReservedRange::set_start(::PROTOBUF_NAMESPACE_ID::int32 value) { 8898 _internal_set_start(value); 8899 // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.start) 8900} 8901 8902// optional int32 end = 2; 8903inline bool EnumDescriptorProto_EnumReservedRange::_internal_has_end() const { 8904 bool value = (_has_bits_[0] & 0x00000002u) != 0; 8905 return value; 8906} 8907inline bool EnumDescriptorProto_EnumReservedRange::has_end() const { 8908 return _internal_has_end(); 8909} 8910inline void EnumDescriptorProto_EnumReservedRange::clear_end() { 8911 end_ = 0; 8912 _has_bits_[0] &= ~0x00000002u; 8913} 8914inline ::PROTOBUF_NAMESPACE_ID::int32 EnumDescriptorProto_EnumReservedRange::_internal_end() const { 8915 return end_; 8916} 8917inline ::PROTOBUF_NAMESPACE_ID::int32 EnumDescriptorProto_EnumReservedRange::end() const { 8918 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.end) 8919 return _internal_end(); 8920} 8921inline void EnumDescriptorProto_EnumReservedRange::_internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value) { 8922 _has_bits_[0] |= 0x00000002u; 8923 end_ = value; 8924} 8925inline void EnumDescriptorProto_EnumReservedRange::set_end(::PROTOBUF_NAMESPACE_ID::int32 value) { 8926 _internal_set_end(value); 8927 // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.end) 8928} 8929 8930// ------------------------------------------------------------------- 8931 8932// EnumDescriptorProto 8933 8934// optional string name = 1; 8935inline bool EnumDescriptorProto::_internal_has_name() const { 8936 bool value = (_has_bits_[0] & 0x00000001u) != 0; 8937 return value; 8938} 8939inline bool EnumDescriptorProto::has_name() const { 8940 return _internal_has_name(); 8941} 8942inline void EnumDescriptorProto::clear_name() { 8943 name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8944 _has_bits_[0] &= ~0x00000001u; 8945} 8946inline const std::string& EnumDescriptorProto::name() const { 8947 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name) 8948 return _internal_name(); 8949} 8950inline void EnumDescriptorProto::set_name(const std::string& value) { 8951 _internal_set_name(value); 8952 // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name) 8953} 8954inline std::string* EnumDescriptorProto::mutable_name() { 8955 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.name) 8956 return _internal_mutable_name(); 8957} 8958inline const std::string& EnumDescriptorProto::_internal_name() const { 8959 return name_.Get(); 8960} 8961inline void EnumDescriptorProto::_internal_set_name(const std::string& value) { 8962 _has_bits_[0] |= 0x00000001u; 8963 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 8964} 8965inline void EnumDescriptorProto::set_name(std::string&& value) { 8966 _has_bits_[0] |= 0x00000001u; 8967 name_.Set( 8968 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 8969 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.EnumDescriptorProto.name) 8970} 8971inline void EnumDescriptorProto::set_name(const char* value) { 8972 GOOGLE_DCHECK(value != nullptr); 8973 _has_bits_[0] |= 0x00000001u; 8974 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 8975 GetArena()); 8976 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto.name) 8977} 8978inline void EnumDescriptorProto::set_name(const char* value, 8979 size_t size) { 8980 _has_bits_[0] |= 0x00000001u; 8981 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 8982 reinterpret_cast<const char*>(value), size), GetArena()); 8983 // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorProto.name) 8984} 8985inline std::string* EnumDescriptorProto::_internal_mutable_name() { 8986 _has_bits_[0] |= 0x00000001u; 8987 return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8988} 8989inline std::string* EnumDescriptorProto::release_name() { 8990 // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.name) 8991 if (!_internal_has_name()) { 8992 return nullptr; 8993 } 8994 _has_bits_[0] &= ~0x00000001u; 8995 return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 8996} 8997inline void EnumDescriptorProto::set_allocated_name(std::string* name) { 8998 if (name != nullptr) { 8999 _has_bits_[0] |= 0x00000001u; 9000 } else { 9001 _has_bits_[0] &= ~0x00000001u; 9002 } 9003 name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, 9004 GetArena()); 9005 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.name) 9006} 9007 9008// repeated .google.protobuf.EnumValueDescriptorProto value = 2; 9009inline int EnumDescriptorProto::_internal_value_size() const { 9010 return value_.size(); 9011} 9012inline int EnumDescriptorProto::value_size() const { 9013 return _internal_value_size(); 9014} 9015inline void EnumDescriptorProto::clear_value() { 9016 value_.Clear(); 9017} 9018inline PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::mutable_value(int index) { 9019 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.value) 9020 return value_.Mutable(index); 9021} 9022inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >* 9023EnumDescriptorProto::mutable_value() { 9024 // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.value) 9025 return &value_; 9026} 9027inline const PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& EnumDescriptorProto::_internal_value(int index) const { 9028 return value_.Get(index); 9029} 9030inline const PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& EnumDescriptorProto::value(int index) const { 9031 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.value) 9032 return _internal_value(index); 9033} 9034inline PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::_internal_add_value() { 9035 return value_.Add(); 9036} 9037inline PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::add_value() { 9038 // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.value) 9039 return _internal_add_value(); 9040} 9041inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >& 9042EnumDescriptorProto::value() const { 9043 // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.value) 9044 return value_; 9045} 9046 9047// optional .google.protobuf.EnumOptions options = 3; 9048inline bool EnumDescriptorProto::_internal_has_options() const { 9049 bool value = (_has_bits_[0] & 0x00000002u) != 0; 9050 PROTOBUF_ASSUME(!value || options_ != nullptr); 9051 return value; 9052} 9053inline bool EnumDescriptorProto::has_options() const { 9054 return _internal_has_options(); 9055} 9056inline void EnumDescriptorProto::clear_options() { 9057 if (options_ != nullptr) options_->Clear(); 9058 _has_bits_[0] &= ~0x00000002u; 9059} 9060inline const PROTOBUF_NAMESPACE_ID::EnumOptions& EnumDescriptorProto::_internal_options() const { 9061 const PROTOBUF_NAMESPACE_ID::EnumOptions* p = options_; 9062 return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::EnumOptions*>( 9063 &PROTOBUF_NAMESPACE_ID::_EnumOptions_default_instance_); 9064} 9065inline const PROTOBUF_NAMESPACE_ID::EnumOptions& EnumDescriptorProto::options() const { 9066 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.options) 9067 return _internal_options(); 9068} 9069inline void EnumDescriptorProto::unsafe_arena_set_allocated_options( 9070 PROTOBUF_NAMESPACE_ID::EnumOptions* options) { 9071 if (GetArena() == nullptr) { 9072 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_); 9073 } 9074 options_ = options; 9075 if (options) { 9076 _has_bits_[0] |= 0x00000002u; 9077 } else { 9078 _has_bits_[0] &= ~0x00000002u; 9079 } 9080 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumDescriptorProto.options) 9081} 9082inline PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::release_options() { 9083 _has_bits_[0] &= ~0x00000002u; 9084 PROTOBUF_NAMESPACE_ID::EnumOptions* temp = options_; 9085 options_ = nullptr; 9086 if (GetArena() != nullptr) { 9087 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); 9088 } 9089 return temp; 9090} 9091inline PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::unsafe_arena_release_options() { 9092 // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.options) 9093 _has_bits_[0] &= ~0x00000002u; 9094 PROTOBUF_NAMESPACE_ID::EnumOptions* temp = options_; 9095 options_ = nullptr; 9096 return temp; 9097} 9098inline PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::_internal_mutable_options() { 9099 _has_bits_[0] |= 0x00000002u; 9100 if (options_ == nullptr) { 9101 auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumOptions>(GetArena()); 9102 options_ = p; 9103 } 9104 return options_; 9105} 9106inline PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::mutable_options() { 9107 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.options) 9108 return _internal_mutable_options(); 9109} 9110inline void EnumDescriptorProto::set_allocated_options(PROTOBUF_NAMESPACE_ID::EnumOptions* options) { 9111 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); 9112 if (message_arena == nullptr) { 9113 delete options_; 9114 } 9115 if (options) { 9116 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = 9117 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(options); 9118 if (message_arena != submessage_arena) { 9119 options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( 9120 message_arena, options, submessage_arena); 9121 } 9122 _has_bits_[0] |= 0x00000002u; 9123 } else { 9124 _has_bits_[0] &= ~0x00000002u; 9125 } 9126 options_ = options; 9127 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.options) 9128} 9129 9130// repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; 9131inline int EnumDescriptorProto::_internal_reserved_range_size() const { 9132 return reserved_range_.size(); 9133} 9134inline int EnumDescriptorProto::reserved_range_size() const { 9135 return _internal_reserved_range_size(); 9136} 9137inline void EnumDescriptorProto::clear_reserved_range() { 9138 reserved_range_.Clear(); 9139} 9140inline PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::mutable_reserved_range(int index) { 9141 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_range) 9142 return reserved_range_.Mutable(index); 9143} 9144inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >* 9145EnumDescriptorProto::mutable_reserved_range() { 9146 // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_range) 9147 return &reserved_range_; 9148} 9149inline const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& EnumDescriptorProto::_internal_reserved_range(int index) const { 9150 return reserved_range_.Get(index); 9151} 9152inline const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& EnumDescriptorProto::reserved_range(int index) const { 9153 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_range) 9154 return _internal_reserved_range(index); 9155} 9156inline PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::_internal_add_reserved_range() { 9157 return reserved_range_.Add(); 9158} 9159inline PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::add_reserved_range() { 9160 // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_range) 9161 return _internal_add_reserved_range(); 9162} 9163inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >& 9164EnumDescriptorProto::reserved_range() const { 9165 // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_range) 9166 return reserved_range_; 9167} 9168 9169// repeated string reserved_name = 5; 9170inline int EnumDescriptorProto::_internal_reserved_name_size() const { 9171 return reserved_name_.size(); 9172} 9173inline int EnumDescriptorProto::reserved_name_size() const { 9174 return _internal_reserved_name_size(); 9175} 9176inline void EnumDescriptorProto::clear_reserved_name() { 9177 reserved_name_.Clear(); 9178} 9179inline std::string* EnumDescriptorProto::add_reserved_name() { 9180 // @@protoc_insertion_point(field_add_mutable:google.protobuf.EnumDescriptorProto.reserved_name) 9181 return _internal_add_reserved_name(); 9182} 9183inline const std::string& EnumDescriptorProto::_internal_reserved_name(int index) const { 9184 return reserved_name_.Get(index); 9185} 9186inline const std::string& EnumDescriptorProto::reserved_name(int index) const { 9187 // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_name) 9188 return _internal_reserved_name(index); 9189} 9190inline std::string* EnumDescriptorProto::mutable_reserved_name(int index) { 9191 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_name) 9192 return reserved_name_.Mutable(index); 9193} 9194inline void EnumDescriptorProto::set_reserved_name(int index, const std::string& value) { 9195 // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.reserved_name) 9196 reserved_name_.Mutable(index)->assign(value); 9197} 9198inline void EnumDescriptorProto::set_reserved_name(int index, std::string&& value) { 9199 // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.reserved_name) 9200 reserved_name_.Mutable(index)->assign(std::move(value)); 9201} 9202inline void EnumDescriptorProto::set_reserved_name(int index, const char* value) { 9203 GOOGLE_DCHECK(value != nullptr); 9204 reserved_name_.Mutable(index)->assign(value); 9205 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto.reserved_name) 9206} 9207inline void EnumDescriptorProto::set_reserved_name(int index, const char* value, size_t size) { 9208 reserved_name_.Mutable(index)->assign( 9209 reinterpret_cast<const char*>(value), size); 9210 // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorProto.reserved_name) 9211} 9212inline std::string* EnumDescriptorProto::_internal_add_reserved_name() { 9213 return reserved_name_.Add(); 9214} 9215inline void EnumDescriptorProto::add_reserved_name(const std::string& value) { 9216 reserved_name_.Add()->assign(value); 9217 // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_name) 9218} 9219inline void EnumDescriptorProto::add_reserved_name(std::string&& value) { 9220 reserved_name_.Add(std::move(value)); 9221 // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_name) 9222} 9223inline void EnumDescriptorProto::add_reserved_name(const char* value) { 9224 GOOGLE_DCHECK(value != nullptr); 9225 reserved_name_.Add()->assign(value); 9226 // @@protoc_insertion_point(field_add_char:google.protobuf.EnumDescriptorProto.reserved_name) 9227} 9228inline void EnumDescriptorProto::add_reserved_name(const char* value, size_t size) { 9229 reserved_name_.Add()->assign(reinterpret_cast<const char*>(value), size); 9230 // @@protoc_insertion_point(field_add_pointer:google.protobuf.EnumDescriptorProto.reserved_name) 9231} 9232inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& 9233EnumDescriptorProto::reserved_name() const { 9234 // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_name) 9235 return reserved_name_; 9236} 9237inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* 9238EnumDescriptorProto::mutable_reserved_name() { 9239 // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_name) 9240 return &reserved_name_; 9241} 9242 9243// ------------------------------------------------------------------- 9244 9245// EnumValueDescriptorProto 9246 9247// optional string name = 1; 9248inline bool EnumValueDescriptorProto::_internal_has_name() const { 9249 bool value = (_has_bits_[0] & 0x00000001u) != 0; 9250 return value; 9251} 9252inline bool EnumValueDescriptorProto::has_name() const { 9253 return _internal_has_name(); 9254} 9255inline void EnumValueDescriptorProto::clear_name() { 9256 name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 9257 _has_bits_[0] &= ~0x00000001u; 9258} 9259inline const std::string& EnumValueDescriptorProto::name() const { 9260 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.name) 9261 return _internal_name(); 9262} 9263inline void EnumValueDescriptorProto::set_name(const std::string& value) { 9264 _internal_set_name(value); 9265 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.name) 9266} 9267inline std::string* EnumValueDescriptorProto::mutable_name() { 9268 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.name) 9269 return _internal_mutable_name(); 9270} 9271inline const std::string& EnumValueDescriptorProto::_internal_name() const { 9272 return name_.Get(); 9273} 9274inline void EnumValueDescriptorProto::_internal_set_name(const std::string& value) { 9275 _has_bits_[0] |= 0x00000001u; 9276 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 9277} 9278inline void EnumValueDescriptorProto::set_name(std::string&& value) { 9279 _has_bits_[0] |= 0x00000001u; 9280 name_.Set( 9281 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 9282 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.EnumValueDescriptorProto.name) 9283} 9284inline void EnumValueDescriptorProto::set_name(const char* value) { 9285 GOOGLE_DCHECK(value != nullptr); 9286 _has_bits_[0] |= 0x00000001u; 9287 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 9288 GetArena()); 9289 // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValueDescriptorProto.name) 9290} 9291inline void EnumValueDescriptorProto::set_name(const char* value, 9292 size_t size) { 9293 _has_bits_[0] |= 0x00000001u; 9294 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 9295 reinterpret_cast<const char*>(value), size), GetArena()); 9296 // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValueDescriptorProto.name) 9297} 9298inline std::string* EnumValueDescriptorProto::_internal_mutable_name() { 9299 _has_bits_[0] |= 0x00000001u; 9300 return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 9301} 9302inline std::string* EnumValueDescriptorProto::release_name() { 9303 // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.name) 9304 if (!_internal_has_name()) { 9305 return nullptr; 9306 } 9307 _has_bits_[0] &= ~0x00000001u; 9308 return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 9309} 9310inline void EnumValueDescriptorProto::set_allocated_name(std::string* name) { 9311 if (name != nullptr) { 9312 _has_bits_[0] |= 0x00000001u; 9313 } else { 9314 _has_bits_[0] &= ~0x00000001u; 9315 } 9316 name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, 9317 GetArena()); 9318 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.name) 9319} 9320 9321// optional int32 number = 2; 9322inline bool EnumValueDescriptorProto::_internal_has_number() const { 9323 bool value = (_has_bits_[0] & 0x00000004u) != 0; 9324 return value; 9325} 9326inline bool EnumValueDescriptorProto::has_number() const { 9327 return _internal_has_number(); 9328} 9329inline void EnumValueDescriptorProto::clear_number() { 9330 number_ = 0; 9331 _has_bits_[0] &= ~0x00000004u; 9332} 9333inline ::PROTOBUF_NAMESPACE_ID::int32 EnumValueDescriptorProto::_internal_number() const { 9334 return number_; 9335} 9336inline ::PROTOBUF_NAMESPACE_ID::int32 EnumValueDescriptorProto::number() const { 9337 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.number) 9338 return _internal_number(); 9339} 9340inline void EnumValueDescriptorProto::_internal_set_number(::PROTOBUF_NAMESPACE_ID::int32 value) { 9341 _has_bits_[0] |= 0x00000004u; 9342 number_ = value; 9343} 9344inline void EnumValueDescriptorProto::set_number(::PROTOBUF_NAMESPACE_ID::int32 value) { 9345 _internal_set_number(value); 9346 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.number) 9347} 9348 9349// optional .google.protobuf.EnumValueOptions options = 3; 9350inline bool EnumValueDescriptorProto::_internal_has_options() const { 9351 bool value = (_has_bits_[0] & 0x00000002u) != 0; 9352 PROTOBUF_ASSUME(!value || options_ != nullptr); 9353 return value; 9354} 9355inline bool EnumValueDescriptorProto::has_options() const { 9356 return _internal_has_options(); 9357} 9358inline void EnumValueDescriptorProto::clear_options() { 9359 if (options_ != nullptr) options_->Clear(); 9360 _has_bits_[0] &= ~0x00000002u; 9361} 9362inline const PROTOBUF_NAMESPACE_ID::EnumValueOptions& EnumValueDescriptorProto::_internal_options() const { 9363 const PROTOBUF_NAMESPACE_ID::EnumValueOptions* p = options_; 9364 return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::EnumValueOptions*>( 9365 &PROTOBUF_NAMESPACE_ID::_EnumValueOptions_default_instance_); 9366} 9367inline const PROTOBUF_NAMESPACE_ID::EnumValueOptions& EnumValueDescriptorProto::options() const { 9368 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.options) 9369 return _internal_options(); 9370} 9371inline void EnumValueDescriptorProto::unsafe_arena_set_allocated_options( 9372 PROTOBUF_NAMESPACE_ID::EnumValueOptions* options) { 9373 if (GetArena() == nullptr) { 9374 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_); 9375 } 9376 options_ = options; 9377 if (options) { 9378 _has_bits_[0] |= 0x00000002u; 9379 } else { 9380 _has_bits_[0] &= ~0x00000002u; 9381 } 9382 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumValueDescriptorProto.options) 9383} 9384inline PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::release_options() { 9385 _has_bits_[0] &= ~0x00000002u; 9386 PROTOBUF_NAMESPACE_ID::EnumValueOptions* temp = options_; 9387 options_ = nullptr; 9388 if (GetArena() != nullptr) { 9389 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); 9390 } 9391 return temp; 9392} 9393inline PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::unsafe_arena_release_options() { 9394 // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.options) 9395 _has_bits_[0] &= ~0x00000002u; 9396 PROTOBUF_NAMESPACE_ID::EnumValueOptions* temp = options_; 9397 options_ = nullptr; 9398 return temp; 9399} 9400inline PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::_internal_mutable_options() { 9401 _has_bits_[0] |= 0x00000002u; 9402 if (options_ == nullptr) { 9403 auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumValueOptions>(GetArena()); 9404 options_ = p; 9405 } 9406 return options_; 9407} 9408inline PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::mutable_options() { 9409 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.options) 9410 return _internal_mutable_options(); 9411} 9412inline void EnumValueDescriptorProto::set_allocated_options(PROTOBUF_NAMESPACE_ID::EnumValueOptions* options) { 9413 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); 9414 if (message_arena == nullptr) { 9415 delete options_; 9416 } 9417 if (options) { 9418 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = 9419 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(options); 9420 if (message_arena != submessage_arena) { 9421 options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( 9422 message_arena, options, submessage_arena); 9423 } 9424 _has_bits_[0] |= 0x00000002u; 9425 } else { 9426 _has_bits_[0] &= ~0x00000002u; 9427 } 9428 options_ = options; 9429 // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.options) 9430} 9431 9432// ------------------------------------------------------------------- 9433 9434// ServiceDescriptorProto 9435 9436// optional string name = 1; 9437inline bool ServiceDescriptorProto::_internal_has_name() const { 9438 bool value = (_has_bits_[0] & 0x00000001u) != 0; 9439 return value; 9440} 9441inline bool ServiceDescriptorProto::has_name() const { 9442 return _internal_has_name(); 9443} 9444inline void ServiceDescriptorProto::clear_name() { 9445 name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 9446 _has_bits_[0] &= ~0x00000001u; 9447} 9448inline const std::string& ServiceDescriptorProto::name() const { 9449 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.name) 9450 return _internal_name(); 9451} 9452inline void ServiceDescriptorProto::set_name(const std::string& value) { 9453 _internal_set_name(value); 9454 // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.name) 9455} 9456inline std::string* ServiceDescriptorProto::mutable_name() { 9457 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.name) 9458 return _internal_mutable_name(); 9459} 9460inline const std::string& ServiceDescriptorProto::_internal_name() const { 9461 return name_.Get(); 9462} 9463inline void ServiceDescriptorProto::_internal_set_name(const std::string& value) { 9464 _has_bits_[0] |= 0x00000001u; 9465 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 9466} 9467inline void ServiceDescriptorProto::set_name(std::string&& value) { 9468 _has_bits_[0] |= 0x00000001u; 9469 name_.Set( 9470 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 9471 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.ServiceDescriptorProto.name) 9472} 9473inline void ServiceDescriptorProto::set_name(const char* value) { 9474 GOOGLE_DCHECK(value != nullptr); 9475 _has_bits_[0] |= 0x00000001u; 9476 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 9477 GetArena()); 9478 // @@protoc_insertion_point(field_set_char:google.protobuf.ServiceDescriptorProto.name) 9479} 9480inline void ServiceDescriptorProto::set_name(const char* value, 9481 size_t size) { 9482 _has_bits_[0] |= 0x00000001u; 9483 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 9484 reinterpret_cast<const char*>(value), size), GetArena()); 9485 // @@protoc_insertion_point(field_set_pointer:google.protobuf.ServiceDescriptorProto.name) 9486} 9487inline std::string* ServiceDescriptorProto::_internal_mutable_name() { 9488 _has_bits_[0] |= 0x00000001u; 9489 return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 9490} 9491inline std::string* ServiceDescriptorProto::release_name() { 9492 // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.name) 9493 if (!_internal_has_name()) { 9494 return nullptr; 9495 } 9496 _has_bits_[0] &= ~0x00000001u; 9497 return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 9498} 9499inline void ServiceDescriptorProto::set_allocated_name(std::string* name) { 9500 if (name != nullptr) { 9501 _has_bits_[0] |= 0x00000001u; 9502 } else { 9503 _has_bits_[0] &= ~0x00000001u; 9504 } 9505 name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, 9506 GetArena()); 9507 // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.name) 9508} 9509 9510// repeated .google.protobuf.MethodDescriptorProto method = 2; 9511inline int ServiceDescriptorProto::_internal_method_size() const { 9512 return method_.size(); 9513} 9514inline int ServiceDescriptorProto::method_size() const { 9515 return _internal_method_size(); 9516} 9517inline void ServiceDescriptorProto::clear_method() { 9518 method_.Clear(); 9519} 9520inline PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::mutable_method(int index) { 9521 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.method) 9522 return method_.Mutable(index); 9523} 9524inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >* 9525ServiceDescriptorProto::mutable_method() { 9526 // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceDescriptorProto.method) 9527 return &method_; 9528} 9529inline const PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& ServiceDescriptorProto::_internal_method(int index) const { 9530 return method_.Get(index); 9531} 9532inline const PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& ServiceDescriptorProto::method(int index) const { 9533 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.method) 9534 return _internal_method(index); 9535} 9536inline PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::_internal_add_method() { 9537 return method_.Add(); 9538} 9539inline PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::add_method() { 9540 // @@protoc_insertion_point(field_add:google.protobuf.ServiceDescriptorProto.method) 9541 return _internal_add_method(); 9542} 9543inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >& 9544ServiceDescriptorProto::method() const { 9545 // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.method) 9546 return method_; 9547} 9548 9549// optional .google.protobuf.ServiceOptions options = 3; 9550inline bool ServiceDescriptorProto::_internal_has_options() const { 9551 bool value = (_has_bits_[0] & 0x00000002u) != 0; 9552 PROTOBUF_ASSUME(!value || options_ != nullptr); 9553 return value; 9554} 9555inline bool ServiceDescriptorProto::has_options() const { 9556 return _internal_has_options(); 9557} 9558inline void ServiceDescriptorProto::clear_options() { 9559 if (options_ != nullptr) options_->Clear(); 9560 _has_bits_[0] &= ~0x00000002u; 9561} 9562inline const PROTOBUF_NAMESPACE_ID::ServiceOptions& ServiceDescriptorProto::_internal_options() const { 9563 const PROTOBUF_NAMESPACE_ID::ServiceOptions* p = options_; 9564 return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::ServiceOptions*>( 9565 &PROTOBUF_NAMESPACE_ID::_ServiceOptions_default_instance_); 9566} 9567inline const PROTOBUF_NAMESPACE_ID::ServiceOptions& ServiceDescriptorProto::options() const { 9568 // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.options) 9569 return _internal_options(); 9570} 9571inline void ServiceDescriptorProto::unsafe_arena_set_allocated_options( 9572 PROTOBUF_NAMESPACE_ID::ServiceOptions* options) { 9573 if (GetArena() == nullptr) { 9574 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_); 9575 } 9576 options_ = options; 9577 if (options) { 9578 _has_bits_[0] |= 0x00000002u; 9579 } else { 9580 _has_bits_[0] &= ~0x00000002u; 9581 } 9582 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.ServiceDescriptorProto.options) 9583} 9584inline PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::release_options() { 9585 _has_bits_[0] &= ~0x00000002u; 9586 PROTOBUF_NAMESPACE_ID::ServiceOptions* temp = options_; 9587 options_ = nullptr; 9588 if (GetArena() != nullptr) { 9589 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); 9590 } 9591 return temp; 9592} 9593inline PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::unsafe_arena_release_options() { 9594 // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.options) 9595 _has_bits_[0] &= ~0x00000002u; 9596 PROTOBUF_NAMESPACE_ID::ServiceOptions* temp = options_; 9597 options_ = nullptr; 9598 return temp; 9599} 9600inline PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::_internal_mutable_options() { 9601 _has_bits_[0] |= 0x00000002u; 9602 if (options_ == nullptr) { 9603 auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::ServiceOptions>(GetArena()); 9604 options_ = p; 9605 } 9606 return options_; 9607} 9608inline PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::mutable_options() { 9609 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.options) 9610 return _internal_mutable_options(); 9611} 9612inline void ServiceDescriptorProto::set_allocated_options(PROTOBUF_NAMESPACE_ID::ServiceOptions* options) { 9613 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); 9614 if (message_arena == nullptr) { 9615 delete options_; 9616 } 9617 if (options) { 9618 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = 9619 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(options); 9620 if (message_arena != submessage_arena) { 9621 options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( 9622 message_arena, options, submessage_arena); 9623 } 9624 _has_bits_[0] |= 0x00000002u; 9625 } else { 9626 _has_bits_[0] &= ~0x00000002u; 9627 } 9628 options_ = options; 9629 // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.options) 9630} 9631 9632// ------------------------------------------------------------------- 9633 9634// MethodDescriptorProto 9635 9636// optional string name = 1; 9637inline bool MethodDescriptorProto::_internal_has_name() const { 9638 bool value = (_has_bits_[0] & 0x00000001u) != 0; 9639 return value; 9640} 9641inline bool MethodDescriptorProto::has_name() const { 9642 return _internal_has_name(); 9643} 9644inline void MethodDescriptorProto::clear_name() { 9645 name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 9646 _has_bits_[0] &= ~0x00000001u; 9647} 9648inline const std::string& MethodDescriptorProto::name() const { 9649 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.name) 9650 return _internal_name(); 9651} 9652inline void MethodDescriptorProto::set_name(const std::string& value) { 9653 _internal_set_name(value); 9654 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.name) 9655} 9656inline std::string* MethodDescriptorProto::mutable_name() { 9657 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.name) 9658 return _internal_mutable_name(); 9659} 9660inline const std::string& MethodDescriptorProto::_internal_name() const { 9661 return name_.Get(); 9662} 9663inline void MethodDescriptorProto::_internal_set_name(const std::string& value) { 9664 _has_bits_[0] |= 0x00000001u; 9665 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 9666} 9667inline void MethodDescriptorProto::set_name(std::string&& value) { 9668 _has_bits_[0] |= 0x00000001u; 9669 name_.Set( 9670 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 9671 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.MethodDescriptorProto.name) 9672} 9673inline void MethodDescriptorProto::set_name(const char* value) { 9674 GOOGLE_DCHECK(value != nullptr); 9675 _has_bits_[0] |= 0x00000001u; 9676 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 9677 GetArena()); 9678 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.name) 9679} 9680inline void MethodDescriptorProto::set_name(const char* value, 9681 size_t size) { 9682 _has_bits_[0] |= 0x00000001u; 9683 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 9684 reinterpret_cast<const char*>(value), size), GetArena()); 9685 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.name) 9686} 9687inline std::string* MethodDescriptorProto::_internal_mutable_name() { 9688 _has_bits_[0] |= 0x00000001u; 9689 return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 9690} 9691inline std::string* MethodDescriptorProto::release_name() { 9692 // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.name) 9693 if (!_internal_has_name()) { 9694 return nullptr; 9695 } 9696 _has_bits_[0] &= ~0x00000001u; 9697 return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 9698} 9699inline void MethodDescriptorProto::set_allocated_name(std::string* name) { 9700 if (name != nullptr) { 9701 _has_bits_[0] |= 0x00000001u; 9702 } else { 9703 _has_bits_[0] &= ~0x00000001u; 9704 } 9705 name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, 9706 GetArena()); 9707 // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.name) 9708} 9709 9710// optional string input_type = 2; 9711inline bool MethodDescriptorProto::_internal_has_input_type() const { 9712 bool value = (_has_bits_[0] & 0x00000002u) != 0; 9713 return value; 9714} 9715inline bool MethodDescriptorProto::has_input_type() const { 9716 return _internal_has_input_type(); 9717} 9718inline void MethodDescriptorProto::clear_input_type() { 9719 input_type_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 9720 _has_bits_[0] &= ~0x00000002u; 9721} 9722inline const std::string& MethodDescriptorProto::input_type() const { 9723 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.input_type) 9724 return _internal_input_type(); 9725} 9726inline void MethodDescriptorProto::set_input_type(const std::string& value) { 9727 _internal_set_input_type(value); 9728 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.input_type) 9729} 9730inline std::string* MethodDescriptorProto::mutable_input_type() { 9731 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.input_type) 9732 return _internal_mutable_input_type(); 9733} 9734inline const std::string& MethodDescriptorProto::_internal_input_type() const { 9735 return input_type_.Get(); 9736} 9737inline void MethodDescriptorProto::_internal_set_input_type(const std::string& value) { 9738 _has_bits_[0] |= 0x00000002u; 9739 input_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 9740} 9741inline void MethodDescriptorProto::set_input_type(std::string&& value) { 9742 _has_bits_[0] |= 0x00000002u; 9743 input_type_.Set( 9744 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 9745 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.MethodDescriptorProto.input_type) 9746} 9747inline void MethodDescriptorProto::set_input_type(const char* value) { 9748 GOOGLE_DCHECK(value != nullptr); 9749 _has_bits_[0] |= 0x00000002u; 9750 input_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 9751 GetArena()); 9752 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.input_type) 9753} 9754inline void MethodDescriptorProto::set_input_type(const char* value, 9755 size_t size) { 9756 _has_bits_[0] |= 0x00000002u; 9757 input_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 9758 reinterpret_cast<const char*>(value), size), GetArena()); 9759 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.input_type) 9760} 9761inline std::string* MethodDescriptorProto::_internal_mutable_input_type() { 9762 _has_bits_[0] |= 0x00000002u; 9763 return input_type_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 9764} 9765inline std::string* MethodDescriptorProto::release_input_type() { 9766 // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.input_type) 9767 if (!_internal_has_input_type()) { 9768 return nullptr; 9769 } 9770 _has_bits_[0] &= ~0x00000002u; 9771 return input_type_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 9772} 9773inline void MethodDescriptorProto::set_allocated_input_type(std::string* input_type) { 9774 if (input_type != nullptr) { 9775 _has_bits_[0] |= 0x00000002u; 9776 } else { 9777 _has_bits_[0] &= ~0x00000002u; 9778 } 9779 input_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), input_type, 9780 GetArena()); 9781 // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.input_type) 9782} 9783 9784// optional string output_type = 3; 9785inline bool MethodDescriptorProto::_internal_has_output_type() const { 9786 bool value = (_has_bits_[0] & 0x00000004u) != 0; 9787 return value; 9788} 9789inline bool MethodDescriptorProto::has_output_type() const { 9790 return _internal_has_output_type(); 9791} 9792inline void MethodDescriptorProto::clear_output_type() { 9793 output_type_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 9794 _has_bits_[0] &= ~0x00000004u; 9795} 9796inline const std::string& MethodDescriptorProto::output_type() const { 9797 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.output_type) 9798 return _internal_output_type(); 9799} 9800inline void MethodDescriptorProto::set_output_type(const std::string& value) { 9801 _internal_set_output_type(value); 9802 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.output_type) 9803} 9804inline std::string* MethodDescriptorProto::mutable_output_type() { 9805 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.output_type) 9806 return _internal_mutable_output_type(); 9807} 9808inline const std::string& MethodDescriptorProto::_internal_output_type() const { 9809 return output_type_.Get(); 9810} 9811inline void MethodDescriptorProto::_internal_set_output_type(const std::string& value) { 9812 _has_bits_[0] |= 0x00000004u; 9813 output_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 9814} 9815inline void MethodDescriptorProto::set_output_type(std::string&& value) { 9816 _has_bits_[0] |= 0x00000004u; 9817 output_type_.Set( 9818 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 9819 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.MethodDescriptorProto.output_type) 9820} 9821inline void MethodDescriptorProto::set_output_type(const char* value) { 9822 GOOGLE_DCHECK(value != nullptr); 9823 _has_bits_[0] |= 0x00000004u; 9824 output_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 9825 GetArena()); 9826 // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.output_type) 9827} 9828inline void MethodDescriptorProto::set_output_type(const char* value, 9829 size_t size) { 9830 _has_bits_[0] |= 0x00000004u; 9831 output_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 9832 reinterpret_cast<const char*>(value), size), GetArena()); 9833 // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.output_type) 9834} 9835inline std::string* MethodDescriptorProto::_internal_mutable_output_type() { 9836 _has_bits_[0] |= 0x00000004u; 9837 return output_type_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 9838} 9839inline std::string* MethodDescriptorProto::release_output_type() { 9840 // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.output_type) 9841 if (!_internal_has_output_type()) { 9842 return nullptr; 9843 } 9844 _has_bits_[0] &= ~0x00000004u; 9845 return output_type_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 9846} 9847inline void MethodDescriptorProto::set_allocated_output_type(std::string* output_type) { 9848 if (output_type != nullptr) { 9849 _has_bits_[0] |= 0x00000004u; 9850 } else { 9851 _has_bits_[0] &= ~0x00000004u; 9852 } 9853 output_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), output_type, 9854 GetArena()); 9855 // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.output_type) 9856} 9857 9858// optional .google.protobuf.MethodOptions options = 4; 9859inline bool MethodDescriptorProto::_internal_has_options() const { 9860 bool value = (_has_bits_[0] & 0x00000008u) != 0; 9861 PROTOBUF_ASSUME(!value || options_ != nullptr); 9862 return value; 9863} 9864inline bool MethodDescriptorProto::has_options() const { 9865 return _internal_has_options(); 9866} 9867inline void MethodDescriptorProto::clear_options() { 9868 if (options_ != nullptr) options_->Clear(); 9869 _has_bits_[0] &= ~0x00000008u; 9870} 9871inline const PROTOBUF_NAMESPACE_ID::MethodOptions& MethodDescriptorProto::_internal_options() const { 9872 const PROTOBUF_NAMESPACE_ID::MethodOptions* p = options_; 9873 return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::MethodOptions*>( 9874 &PROTOBUF_NAMESPACE_ID::_MethodOptions_default_instance_); 9875} 9876inline const PROTOBUF_NAMESPACE_ID::MethodOptions& MethodDescriptorProto::options() const { 9877 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.options) 9878 return _internal_options(); 9879} 9880inline void MethodDescriptorProto::unsafe_arena_set_allocated_options( 9881 PROTOBUF_NAMESPACE_ID::MethodOptions* options) { 9882 if (GetArena() == nullptr) { 9883 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_); 9884 } 9885 options_ = options; 9886 if (options) { 9887 _has_bits_[0] |= 0x00000008u; 9888 } else { 9889 _has_bits_[0] &= ~0x00000008u; 9890 } 9891 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.MethodDescriptorProto.options) 9892} 9893inline PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::release_options() { 9894 _has_bits_[0] &= ~0x00000008u; 9895 PROTOBUF_NAMESPACE_ID::MethodOptions* temp = options_; 9896 options_ = nullptr; 9897 if (GetArena() != nullptr) { 9898 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); 9899 } 9900 return temp; 9901} 9902inline PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::unsafe_arena_release_options() { 9903 // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.options) 9904 _has_bits_[0] &= ~0x00000008u; 9905 PROTOBUF_NAMESPACE_ID::MethodOptions* temp = options_; 9906 options_ = nullptr; 9907 return temp; 9908} 9909inline PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::_internal_mutable_options() { 9910 _has_bits_[0] |= 0x00000008u; 9911 if (options_ == nullptr) { 9912 auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::MethodOptions>(GetArena()); 9913 options_ = p; 9914 } 9915 return options_; 9916} 9917inline PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::mutable_options() { 9918 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.options) 9919 return _internal_mutable_options(); 9920} 9921inline void MethodDescriptorProto::set_allocated_options(PROTOBUF_NAMESPACE_ID::MethodOptions* options) { 9922 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); 9923 if (message_arena == nullptr) { 9924 delete options_; 9925 } 9926 if (options) { 9927 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = 9928 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(options); 9929 if (message_arena != submessage_arena) { 9930 options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( 9931 message_arena, options, submessage_arena); 9932 } 9933 _has_bits_[0] |= 0x00000008u; 9934 } else { 9935 _has_bits_[0] &= ~0x00000008u; 9936 } 9937 options_ = options; 9938 // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.options) 9939} 9940 9941// optional bool client_streaming = 5 [default = false]; 9942inline bool MethodDescriptorProto::_internal_has_client_streaming() const { 9943 bool value = (_has_bits_[0] & 0x00000010u) != 0; 9944 return value; 9945} 9946inline bool MethodDescriptorProto::has_client_streaming() const { 9947 return _internal_has_client_streaming(); 9948} 9949inline void MethodDescriptorProto::clear_client_streaming() { 9950 client_streaming_ = false; 9951 _has_bits_[0] &= ~0x00000010u; 9952} 9953inline bool MethodDescriptorProto::_internal_client_streaming() const { 9954 return client_streaming_; 9955} 9956inline bool MethodDescriptorProto::client_streaming() const { 9957 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.client_streaming) 9958 return _internal_client_streaming(); 9959} 9960inline void MethodDescriptorProto::_internal_set_client_streaming(bool value) { 9961 _has_bits_[0] |= 0x00000010u; 9962 client_streaming_ = value; 9963} 9964inline void MethodDescriptorProto::set_client_streaming(bool value) { 9965 _internal_set_client_streaming(value); 9966 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.client_streaming) 9967} 9968 9969// optional bool server_streaming = 6 [default = false]; 9970inline bool MethodDescriptorProto::_internal_has_server_streaming() const { 9971 bool value = (_has_bits_[0] & 0x00000020u) != 0; 9972 return value; 9973} 9974inline bool MethodDescriptorProto::has_server_streaming() const { 9975 return _internal_has_server_streaming(); 9976} 9977inline void MethodDescriptorProto::clear_server_streaming() { 9978 server_streaming_ = false; 9979 _has_bits_[0] &= ~0x00000020u; 9980} 9981inline bool MethodDescriptorProto::_internal_server_streaming() const { 9982 return server_streaming_; 9983} 9984inline bool MethodDescriptorProto::server_streaming() const { 9985 // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.server_streaming) 9986 return _internal_server_streaming(); 9987} 9988inline void MethodDescriptorProto::_internal_set_server_streaming(bool value) { 9989 _has_bits_[0] |= 0x00000020u; 9990 server_streaming_ = value; 9991} 9992inline void MethodDescriptorProto::set_server_streaming(bool value) { 9993 _internal_set_server_streaming(value); 9994 // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.server_streaming) 9995} 9996 9997// ------------------------------------------------------------------- 9998 9999// FileOptions 10000 10001// optional string java_package = 1; 10002inline bool FileOptions::_internal_has_java_package() const { 10003 bool value = (_has_bits_[0] & 0x00000001u) != 0; 10004 return value; 10005} 10006inline bool FileOptions::has_java_package() const { 10007 return _internal_has_java_package(); 10008} 10009inline void FileOptions::clear_java_package() { 10010 java_package_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10011 _has_bits_[0] &= ~0x00000001u; 10012} 10013inline const std::string& FileOptions::java_package() const { 10014 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package) 10015 return _internal_java_package(); 10016} 10017inline void FileOptions::set_java_package(const std::string& value) { 10018 _internal_set_java_package(value); 10019 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package) 10020} 10021inline std::string* FileOptions::mutable_java_package() { 10022 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_package) 10023 return _internal_mutable_java_package(); 10024} 10025inline const std::string& FileOptions::_internal_java_package() const { 10026 return java_package_.Get(); 10027} 10028inline void FileOptions::_internal_set_java_package(const std::string& value) { 10029 _has_bits_[0] |= 0x00000001u; 10030 java_package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 10031} 10032inline void FileOptions::set_java_package(std::string&& value) { 10033 _has_bits_[0] |= 0x00000001u; 10034 java_package_.Set( 10035 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 10036 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.java_package) 10037} 10038inline void FileOptions::set_java_package(const char* value) { 10039 GOOGLE_DCHECK(value != nullptr); 10040 _has_bits_[0] |= 0x00000001u; 10041 java_package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 10042 GetArena()); 10043 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_package) 10044} 10045inline void FileOptions::set_java_package(const char* value, 10046 size_t size) { 10047 _has_bits_[0] |= 0x00000001u; 10048 java_package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 10049 reinterpret_cast<const char*>(value), size), GetArena()); 10050 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java_package) 10051} 10052inline std::string* FileOptions::_internal_mutable_java_package() { 10053 _has_bits_[0] |= 0x00000001u; 10054 return java_package_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10055} 10056inline std::string* FileOptions::release_java_package() { 10057 // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_package) 10058 if (!_internal_has_java_package()) { 10059 return nullptr; 10060 } 10061 _has_bits_[0] &= ~0x00000001u; 10062 return java_package_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10063} 10064inline void FileOptions::set_allocated_java_package(std::string* java_package) { 10065 if (java_package != nullptr) { 10066 _has_bits_[0] |= 0x00000001u; 10067 } else { 10068 _has_bits_[0] &= ~0x00000001u; 10069 } 10070 java_package_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), java_package, 10071 GetArena()); 10072 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_package) 10073} 10074 10075// optional string java_outer_classname = 8; 10076inline bool FileOptions::_internal_has_java_outer_classname() const { 10077 bool value = (_has_bits_[0] & 0x00000002u) != 0; 10078 return value; 10079} 10080inline bool FileOptions::has_java_outer_classname() const { 10081 return _internal_has_java_outer_classname(); 10082} 10083inline void FileOptions::clear_java_outer_classname() { 10084 java_outer_classname_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10085 _has_bits_[0] &= ~0x00000002u; 10086} 10087inline const std::string& FileOptions::java_outer_classname() const { 10088 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_classname) 10089 return _internal_java_outer_classname(); 10090} 10091inline void FileOptions::set_java_outer_classname(const std::string& value) { 10092 _internal_set_java_outer_classname(value); 10093 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_classname) 10094} 10095inline std::string* FileOptions::mutable_java_outer_classname() { 10096 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_outer_classname) 10097 return _internal_mutable_java_outer_classname(); 10098} 10099inline const std::string& FileOptions::_internal_java_outer_classname() const { 10100 return java_outer_classname_.Get(); 10101} 10102inline void FileOptions::_internal_set_java_outer_classname(const std::string& value) { 10103 _has_bits_[0] |= 0x00000002u; 10104 java_outer_classname_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 10105} 10106inline void FileOptions::set_java_outer_classname(std::string&& value) { 10107 _has_bits_[0] |= 0x00000002u; 10108 java_outer_classname_.Set( 10109 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 10110 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.java_outer_classname) 10111} 10112inline void FileOptions::set_java_outer_classname(const char* value) { 10113 GOOGLE_DCHECK(value != nullptr); 10114 _has_bits_[0] |= 0x00000002u; 10115 java_outer_classname_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 10116 GetArena()); 10117 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_outer_classname) 10118} 10119inline void FileOptions::set_java_outer_classname(const char* value, 10120 size_t size) { 10121 _has_bits_[0] |= 0x00000002u; 10122 java_outer_classname_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 10123 reinterpret_cast<const char*>(value), size), GetArena()); 10124 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java_outer_classname) 10125} 10126inline std::string* FileOptions::_internal_mutable_java_outer_classname() { 10127 _has_bits_[0] |= 0x00000002u; 10128 return java_outer_classname_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10129} 10130inline std::string* FileOptions::release_java_outer_classname() { 10131 // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_outer_classname) 10132 if (!_internal_has_java_outer_classname()) { 10133 return nullptr; 10134 } 10135 _has_bits_[0] &= ~0x00000002u; 10136 return java_outer_classname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10137} 10138inline void FileOptions::set_allocated_java_outer_classname(std::string* java_outer_classname) { 10139 if (java_outer_classname != nullptr) { 10140 _has_bits_[0] |= 0x00000002u; 10141 } else { 10142 _has_bits_[0] &= ~0x00000002u; 10143 } 10144 java_outer_classname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), java_outer_classname, 10145 GetArena()); 10146 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_outer_classname) 10147} 10148 10149// optional bool java_multiple_files = 10 [default = false]; 10150inline bool FileOptions::_internal_has_java_multiple_files() const { 10151 bool value = (_has_bits_[0] & 0x00000400u) != 0; 10152 return value; 10153} 10154inline bool FileOptions::has_java_multiple_files() const { 10155 return _internal_has_java_multiple_files(); 10156} 10157inline void FileOptions::clear_java_multiple_files() { 10158 java_multiple_files_ = false; 10159 _has_bits_[0] &= ~0x00000400u; 10160} 10161inline bool FileOptions::_internal_java_multiple_files() const { 10162 return java_multiple_files_; 10163} 10164inline bool FileOptions::java_multiple_files() const { 10165 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multiple_files) 10166 return _internal_java_multiple_files(); 10167} 10168inline void FileOptions::_internal_set_java_multiple_files(bool value) { 10169 _has_bits_[0] |= 0x00000400u; 10170 java_multiple_files_ = value; 10171} 10172inline void FileOptions::set_java_multiple_files(bool value) { 10173 _internal_set_java_multiple_files(value); 10174 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multiple_files) 10175} 10176 10177// optional bool java_generate_equals_and_hash = 20 [deprecated = true]; 10178inline bool FileOptions::_internal_has_java_generate_equals_and_hash() const { 10179 bool value = (_has_bits_[0] & 0x00000800u) != 0; 10180 return value; 10181} 10182inline bool FileOptions::has_java_generate_equals_and_hash() const { 10183 return _internal_has_java_generate_equals_and_hash(); 10184} 10185inline void FileOptions::clear_java_generate_equals_and_hash() { 10186 java_generate_equals_and_hash_ = false; 10187 _has_bits_[0] &= ~0x00000800u; 10188} 10189inline bool FileOptions::_internal_java_generate_equals_and_hash() const { 10190 return java_generate_equals_and_hash_; 10191} 10192inline bool FileOptions::java_generate_equals_and_hash() const { 10193 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generate_equals_and_hash) 10194 return _internal_java_generate_equals_and_hash(); 10195} 10196inline void FileOptions::_internal_set_java_generate_equals_and_hash(bool value) { 10197 _has_bits_[0] |= 0x00000800u; 10198 java_generate_equals_and_hash_ = value; 10199} 10200inline void FileOptions::set_java_generate_equals_and_hash(bool value) { 10201 _internal_set_java_generate_equals_and_hash(value); 10202 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generate_equals_and_hash) 10203} 10204 10205// optional bool java_string_check_utf8 = 27 [default = false]; 10206inline bool FileOptions::_internal_has_java_string_check_utf8() const { 10207 bool value = (_has_bits_[0] & 0x00001000u) != 0; 10208 return value; 10209} 10210inline bool FileOptions::has_java_string_check_utf8() const { 10211 return _internal_has_java_string_check_utf8(); 10212} 10213inline void FileOptions::clear_java_string_check_utf8() { 10214 java_string_check_utf8_ = false; 10215 _has_bits_[0] &= ~0x00001000u; 10216} 10217inline bool FileOptions::_internal_java_string_check_utf8() const { 10218 return java_string_check_utf8_; 10219} 10220inline bool FileOptions::java_string_check_utf8() const { 10221 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_check_utf8) 10222 return _internal_java_string_check_utf8(); 10223} 10224inline void FileOptions::_internal_set_java_string_check_utf8(bool value) { 10225 _has_bits_[0] |= 0x00001000u; 10226 java_string_check_utf8_ = value; 10227} 10228inline void FileOptions::set_java_string_check_utf8(bool value) { 10229 _internal_set_java_string_check_utf8(value); 10230 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_check_utf8) 10231} 10232 10233// optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; 10234inline bool FileOptions::_internal_has_optimize_for() const { 10235 bool value = (_has_bits_[0] & 0x00040000u) != 0; 10236 return value; 10237} 10238inline bool FileOptions::has_optimize_for() const { 10239 return _internal_has_optimize_for(); 10240} 10241inline void FileOptions::clear_optimize_for() { 10242 optimize_for_ = 1; 10243 _has_bits_[0] &= ~0x00040000u; 10244} 10245inline PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode FileOptions::_internal_optimize_for() const { 10246 return static_cast< PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode >(optimize_for_); 10247} 10248inline PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode FileOptions::optimize_for() const { 10249 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for) 10250 return _internal_optimize_for(); 10251} 10252inline void FileOptions::_internal_set_optimize_for(PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value) { 10253 assert(PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode_IsValid(value)); 10254 _has_bits_[0] |= 0x00040000u; 10255 optimize_for_ = value; 10256} 10257inline void FileOptions::set_optimize_for(PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value) { 10258 _internal_set_optimize_for(value); 10259 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for) 10260} 10261 10262// optional string go_package = 11; 10263inline bool FileOptions::_internal_has_go_package() const { 10264 bool value = (_has_bits_[0] & 0x00000004u) != 0; 10265 return value; 10266} 10267inline bool FileOptions::has_go_package() const { 10268 return _internal_has_go_package(); 10269} 10270inline void FileOptions::clear_go_package() { 10271 go_package_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10272 _has_bits_[0] &= ~0x00000004u; 10273} 10274inline const std::string& FileOptions::go_package() const { 10275 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package) 10276 return _internal_go_package(); 10277} 10278inline void FileOptions::set_go_package(const std::string& value) { 10279 _internal_set_go_package(value); 10280 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package) 10281} 10282inline std::string* FileOptions::mutable_go_package() { 10283 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.go_package) 10284 return _internal_mutable_go_package(); 10285} 10286inline const std::string& FileOptions::_internal_go_package() const { 10287 return go_package_.Get(); 10288} 10289inline void FileOptions::_internal_set_go_package(const std::string& value) { 10290 _has_bits_[0] |= 0x00000004u; 10291 go_package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 10292} 10293inline void FileOptions::set_go_package(std::string&& value) { 10294 _has_bits_[0] |= 0x00000004u; 10295 go_package_.Set( 10296 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 10297 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.go_package) 10298} 10299inline void FileOptions::set_go_package(const char* value) { 10300 GOOGLE_DCHECK(value != nullptr); 10301 _has_bits_[0] |= 0x00000004u; 10302 go_package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 10303 GetArena()); 10304 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.go_package) 10305} 10306inline void FileOptions::set_go_package(const char* value, 10307 size_t size) { 10308 _has_bits_[0] |= 0x00000004u; 10309 go_package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 10310 reinterpret_cast<const char*>(value), size), GetArena()); 10311 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.go_package) 10312} 10313inline std::string* FileOptions::_internal_mutable_go_package() { 10314 _has_bits_[0] |= 0x00000004u; 10315 return go_package_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10316} 10317inline std::string* FileOptions::release_go_package() { 10318 // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.go_package) 10319 if (!_internal_has_go_package()) { 10320 return nullptr; 10321 } 10322 _has_bits_[0] &= ~0x00000004u; 10323 return go_package_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10324} 10325inline void FileOptions::set_allocated_go_package(std::string* go_package) { 10326 if (go_package != nullptr) { 10327 _has_bits_[0] |= 0x00000004u; 10328 } else { 10329 _has_bits_[0] &= ~0x00000004u; 10330 } 10331 go_package_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), go_package, 10332 GetArena()); 10333 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go_package) 10334} 10335 10336// optional bool cc_generic_services = 16 [default = false]; 10337inline bool FileOptions::_internal_has_cc_generic_services() const { 10338 bool value = (_has_bits_[0] & 0x00002000u) != 0; 10339 return value; 10340} 10341inline bool FileOptions::has_cc_generic_services() const { 10342 return _internal_has_cc_generic_services(); 10343} 10344inline void FileOptions::clear_cc_generic_services() { 10345 cc_generic_services_ = false; 10346 _has_bits_[0] &= ~0x00002000u; 10347} 10348inline bool FileOptions::_internal_cc_generic_services() const { 10349 return cc_generic_services_; 10350} 10351inline bool FileOptions::cc_generic_services() const { 10352 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_services) 10353 return _internal_cc_generic_services(); 10354} 10355inline void FileOptions::_internal_set_cc_generic_services(bool value) { 10356 _has_bits_[0] |= 0x00002000u; 10357 cc_generic_services_ = value; 10358} 10359inline void FileOptions::set_cc_generic_services(bool value) { 10360 _internal_set_cc_generic_services(value); 10361 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_services) 10362} 10363 10364// optional bool java_generic_services = 17 [default = false]; 10365inline bool FileOptions::_internal_has_java_generic_services() const { 10366 bool value = (_has_bits_[0] & 0x00004000u) != 0; 10367 return value; 10368} 10369inline bool FileOptions::has_java_generic_services() const { 10370 return _internal_has_java_generic_services(); 10371} 10372inline void FileOptions::clear_java_generic_services() { 10373 java_generic_services_ = false; 10374 _has_bits_[0] &= ~0x00004000u; 10375} 10376inline bool FileOptions::_internal_java_generic_services() const { 10377 return java_generic_services_; 10378} 10379inline bool FileOptions::java_generic_services() const { 10380 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic_services) 10381 return _internal_java_generic_services(); 10382} 10383inline void FileOptions::_internal_set_java_generic_services(bool value) { 10384 _has_bits_[0] |= 0x00004000u; 10385 java_generic_services_ = value; 10386} 10387inline void FileOptions::set_java_generic_services(bool value) { 10388 _internal_set_java_generic_services(value); 10389 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic_services) 10390} 10391 10392// optional bool py_generic_services = 18 [default = false]; 10393inline bool FileOptions::_internal_has_py_generic_services() const { 10394 bool value = (_has_bits_[0] & 0x00008000u) != 0; 10395 return value; 10396} 10397inline bool FileOptions::has_py_generic_services() const { 10398 return _internal_has_py_generic_services(); 10399} 10400inline void FileOptions::clear_py_generic_services() { 10401 py_generic_services_ = false; 10402 _has_bits_[0] &= ~0x00008000u; 10403} 10404inline bool FileOptions::_internal_py_generic_services() const { 10405 return py_generic_services_; 10406} 10407inline bool FileOptions::py_generic_services() const { 10408 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_services) 10409 return _internal_py_generic_services(); 10410} 10411inline void FileOptions::_internal_set_py_generic_services(bool value) { 10412 _has_bits_[0] |= 0x00008000u; 10413 py_generic_services_ = value; 10414} 10415inline void FileOptions::set_py_generic_services(bool value) { 10416 _internal_set_py_generic_services(value); 10417 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_services) 10418} 10419 10420// optional bool php_generic_services = 42 [default = false]; 10421inline bool FileOptions::_internal_has_php_generic_services() const { 10422 bool value = (_has_bits_[0] & 0x00010000u) != 0; 10423 return value; 10424} 10425inline bool FileOptions::has_php_generic_services() const { 10426 return _internal_has_php_generic_services(); 10427} 10428inline void FileOptions::clear_php_generic_services() { 10429 php_generic_services_ = false; 10430 _has_bits_[0] &= ~0x00010000u; 10431} 10432inline bool FileOptions::_internal_php_generic_services() const { 10433 return php_generic_services_; 10434} 10435inline bool FileOptions::php_generic_services() const { 10436 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_generic_services) 10437 return _internal_php_generic_services(); 10438} 10439inline void FileOptions::_internal_set_php_generic_services(bool value) { 10440 _has_bits_[0] |= 0x00010000u; 10441 php_generic_services_ = value; 10442} 10443inline void FileOptions::set_php_generic_services(bool value) { 10444 _internal_set_php_generic_services(value); 10445 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_generic_services) 10446} 10447 10448// optional bool deprecated = 23 [default = false]; 10449inline bool FileOptions::_internal_has_deprecated() const { 10450 bool value = (_has_bits_[0] & 0x00020000u) != 0; 10451 return value; 10452} 10453inline bool FileOptions::has_deprecated() const { 10454 return _internal_has_deprecated(); 10455} 10456inline void FileOptions::clear_deprecated() { 10457 deprecated_ = false; 10458 _has_bits_[0] &= ~0x00020000u; 10459} 10460inline bool FileOptions::_internal_deprecated() const { 10461 return deprecated_; 10462} 10463inline bool FileOptions::deprecated() const { 10464 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated) 10465 return _internal_deprecated(); 10466} 10467inline void FileOptions::_internal_set_deprecated(bool value) { 10468 _has_bits_[0] |= 0x00020000u; 10469 deprecated_ = value; 10470} 10471inline void FileOptions::set_deprecated(bool value) { 10472 _internal_set_deprecated(value); 10473 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated) 10474} 10475 10476// optional bool cc_enable_arenas = 31 [default = true]; 10477inline bool FileOptions::_internal_has_cc_enable_arenas() const { 10478 bool value = (_has_bits_[0] & 0x00080000u) != 0; 10479 return value; 10480} 10481inline bool FileOptions::has_cc_enable_arenas() const { 10482 return _internal_has_cc_enable_arenas(); 10483} 10484inline void FileOptions::clear_cc_enable_arenas() { 10485 cc_enable_arenas_ = true; 10486 _has_bits_[0] &= ~0x00080000u; 10487} 10488inline bool FileOptions::_internal_cc_enable_arenas() const { 10489 return cc_enable_arenas_; 10490} 10491inline bool FileOptions::cc_enable_arenas() const { 10492 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_arenas) 10493 return _internal_cc_enable_arenas(); 10494} 10495inline void FileOptions::_internal_set_cc_enable_arenas(bool value) { 10496 _has_bits_[0] |= 0x00080000u; 10497 cc_enable_arenas_ = value; 10498} 10499inline void FileOptions::set_cc_enable_arenas(bool value) { 10500 _internal_set_cc_enable_arenas(value); 10501 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_arenas) 10502} 10503 10504// optional string objc_class_prefix = 36; 10505inline bool FileOptions::_internal_has_objc_class_prefix() const { 10506 bool value = (_has_bits_[0] & 0x00000008u) != 0; 10507 return value; 10508} 10509inline bool FileOptions::has_objc_class_prefix() const { 10510 return _internal_has_objc_class_prefix(); 10511} 10512inline void FileOptions::clear_objc_class_prefix() { 10513 objc_class_prefix_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10514 _has_bits_[0] &= ~0x00000008u; 10515} 10516inline const std::string& FileOptions::objc_class_prefix() const { 10517 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_prefix) 10518 return _internal_objc_class_prefix(); 10519} 10520inline void FileOptions::set_objc_class_prefix(const std::string& value) { 10521 _internal_set_objc_class_prefix(value); 10522 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_prefix) 10523} 10524inline std::string* FileOptions::mutable_objc_class_prefix() { 10525 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.objc_class_prefix) 10526 return _internal_mutable_objc_class_prefix(); 10527} 10528inline const std::string& FileOptions::_internal_objc_class_prefix() const { 10529 return objc_class_prefix_.Get(); 10530} 10531inline void FileOptions::_internal_set_objc_class_prefix(const std::string& value) { 10532 _has_bits_[0] |= 0x00000008u; 10533 objc_class_prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 10534} 10535inline void FileOptions::set_objc_class_prefix(std::string&& value) { 10536 _has_bits_[0] |= 0x00000008u; 10537 objc_class_prefix_.Set( 10538 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 10539 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.objc_class_prefix) 10540} 10541inline void FileOptions::set_objc_class_prefix(const char* value) { 10542 GOOGLE_DCHECK(value != nullptr); 10543 _has_bits_[0] |= 0x00000008u; 10544 objc_class_prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 10545 GetArena()); 10546 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.objc_class_prefix) 10547} 10548inline void FileOptions::set_objc_class_prefix(const char* value, 10549 size_t size) { 10550 _has_bits_[0] |= 0x00000008u; 10551 objc_class_prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 10552 reinterpret_cast<const char*>(value), size), GetArena()); 10553 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.objc_class_prefix) 10554} 10555inline std::string* FileOptions::_internal_mutable_objc_class_prefix() { 10556 _has_bits_[0] |= 0x00000008u; 10557 return objc_class_prefix_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10558} 10559inline std::string* FileOptions::release_objc_class_prefix() { 10560 // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.objc_class_prefix) 10561 if (!_internal_has_objc_class_prefix()) { 10562 return nullptr; 10563 } 10564 _has_bits_[0] &= ~0x00000008u; 10565 return objc_class_prefix_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10566} 10567inline void FileOptions::set_allocated_objc_class_prefix(std::string* objc_class_prefix) { 10568 if (objc_class_prefix != nullptr) { 10569 _has_bits_[0] |= 0x00000008u; 10570 } else { 10571 _has_bits_[0] &= ~0x00000008u; 10572 } 10573 objc_class_prefix_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), objc_class_prefix, 10574 GetArena()); 10575 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.objc_class_prefix) 10576} 10577 10578// optional string csharp_namespace = 37; 10579inline bool FileOptions::_internal_has_csharp_namespace() const { 10580 bool value = (_has_bits_[0] & 0x00000010u) != 0; 10581 return value; 10582} 10583inline bool FileOptions::has_csharp_namespace() const { 10584 return _internal_has_csharp_namespace(); 10585} 10586inline void FileOptions::clear_csharp_namespace() { 10587 csharp_namespace_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10588 _has_bits_[0] &= ~0x00000010u; 10589} 10590inline const std::string& FileOptions::csharp_namespace() const { 10591 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_namespace) 10592 return _internal_csharp_namespace(); 10593} 10594inline void FileOptions::set_csharp_namespace(const std::string& value) { 10595 _internal_set_csharp_namespace(value); 10596 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_namespace) 10597} 10598inline std::string* FileOptions::mutable_csharp_namespace() { 10599 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.csharp_namespace) 10600 return _internal_mutable_csharp_namespace(); 10601} 10602inline const std::string& FileOptions::_internal_csharp_namespace() const { 10603 return csharp_namespace_.Get(); 10604} 10605inline void FileOptions::_internal_set_csharp_namespace(const std::string& value) { 10606 _has_bits_[0] |= 0x00000010u; 10607 csharp_namespace_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 10608} 10609inline void FileOptions::set_csharp_namespace(std::string&& value) { 10610 _has_bits_[0] |= 0x00000010u; 10611 csharp_namespace_.Set( 10612 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 10613 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.csharp_namespace) 10614} 10615inline void FileOptions::set_csharp_namespace(const char* value) { 10616 GOOGLE_DCHECK(value != nullptr); 10617 _has_bits_[0] |= 0x00000010u; 10618 csharp_namespace_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 10619 GetArena()); 10620 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.csharp_namespace) 10621} 10622inline void FileOptions::set_csharp_namespace(const char* value, 10623 size_t size) { 10624 _has_bits_[0] |= 0x00000010u; 10625 csharp_namespace_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 10626 reinterpret_cast<const char*>(value), size), GetArena()); 10627 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.csharp_namespace) 10628} 10629inline std::string* FileOptions::_internal_mutable_csharp_namespace() { 10630 _has_bits_[0] |= 0x00000010u; 10631 return csharp_namespace_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10632} 10633inline std::string* FileOptions::release_csharp_namespace() { 10634 // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.csharp_namespace) 10635 if (!_internal_has_csharp_namespace()) { 10636 return nullptr; 10637 } 10638 _has_bits_[0] &= ~0x00000010u; 10639 return csharp_namespace_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10640} 10641inline void FileOptions::set_allocated_csharp_namespace(std::string* csharp_namespace) { 10642 if (csharp_namespace != nullptr) { 10643 _has_bits_[0] |= 0x00000010u; 10644 } else { 10645 _has_bits_[0] &= ~0x00000010u; 10646 } 10647 csharp_namespace_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), csharp_namespace, 10648 GetArena()); 10649 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.csharp_namespace) 10650} 10651 10652// optional string swift_prefix = 39; 10653inline bool FileOptions::_internal_has_swift_prefix() const { 10654 bool value = (_has_bits_[0] & 0x00000020u) != 0; 10655 return value; 10656} 10657inline bool FileOptions::has_swift_prefix() const { 10658 return _internal_has_swift_prefix(); 10659} 10660inline void FileOptions::clear_swift_prefix() { 10661 swift_prefix_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10662 _has_bits_[0] &= ~0x00000020u; 10663} 10664inline const std::string& FileOptions::swift_prefix() const { 10665 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.swift_prefix) 10666 return _internal_swift_prefix(); 10667} 10668inline void FileOptions::set_swift_prefix(const std::string& value) { 10669 _internal_set_swift_prefix(value); 10670 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.swift_prefix) 10671} 10672inline std::string* FileOptions::mutable_swift_prefix() { 10673 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.swift_prefix) 10674 return _internal_mutable_swift_prefix(); 10675} 10676inline const std::string& FileOptions::_internal_swift_prefix() const { 10677 return swift_prefix_.Get(); 10678} 10679inline void FileOptions::_internal_set_swift_prefix(const std::string& value) { 10680 _has_bits_[0] |= 0x00000020u; 10681 swift_prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 10682} 10683inline void FileOptions::set_swift_prefix(std::string&& value) { 10684 _has_bits_[0] |= 0x00000020u; 10685 swift_prefix_.Set( 10686 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 10687 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.swift_prefix) 10688} 10689inline void FileOptions::set_swift_prefix(const char* value) { 10690 GOOGLE_DCHECK(value != nullptr); 10691 _has_bits_[0] |= 0x00000020u; 10692 swift_prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 10693 GetArena()); 10694 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.swift_prefix) 10695} 10696inline void FileOptions::set_swift_prefix(const char* value, 10697 size_t size) { 10698 _has_bits_[0] |= 0x00000020u; 10699 swift_prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 10700 reinterpret_cast<const char*>(value), size), GetArena()); 10701 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.swift_prefix) 10702} 10703inline std::string* FileOptions::_internal_mutable_swift_prefix() { 10704 _has_bits_[0] |= 0x00000020u; 10705 return swift_prefix_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10706} 10707inline std::string* FileOptions::release_swift_prefix() { 10708 // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.swift_prefix) 10709 if (!_internal_has_swift_prefix()) { 10710 return nullptr; 10711 } 10712 _has_bits_[0] &= ~0x00000020u; 10713 return swift_prefix_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10714} 10715inline void FileOptions::set_allocated_swift_prefix(std::string* swift_prefix) { 10716 if (swift_prefix != nullptr) { 10717 _has_bits_[0] |= 0x00000020u; 10718 } else { 10719 _has_bits_[0] &= ~0x00000020u; 10720 } 10721 swift_prefix_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), swift_prefix, 10722 GetArena()); 10723 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.swift_prefix) 10724} 10725 10726// optional string php_class_prefix = 40; 10727inline bool FileOptions::_internal_has_php_class_prefix() const { 10728 bool value = (_has_bits_[0] & 0x00000040u) != 0; 10729 return value; 10730} 10731inline bool FileOptions::has_php_class_prefix() const { 10732 return _internal_has_php_class_prefix(); 10733} 10734inline void FileOptions::clear_php_class_prefix() { 10735 php_class_prefix_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10736 _has_bits_[0] &= ~0x00000040u; 10737} 10738inline const std::string& FileOptions::php_class_prefix() const { 10739 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_class_prefix) 10740 return _internal_php_class_prefix(); 10741} 10742inline void FileOptions::set_php_class_prefix(const std::string& value) { 10743 _internal_set_php_class_prefix(value); 10744 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_class_prefix) 10745} 10746inline std::string* FileOptions::mutable_php_class_prefix() { 10747 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_class_prefix) 10748 return _internal_mutable_php_class_prefix(); 10749} 10750inline const std::string& FileOptions::_internal_php_class_prefix() const { 10751 return php_class_prefix_.Get(); 10752} 10753inline void FileOptions::_internal_set_php_class_prefix(const std::string& value) { 10754 _has_bits_[0] |= 0x00000040u; 10755 php_class_prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 10756} 10757inline void FileOptions::set_php_class_prefix(std::string&& value) { 10758 _has_bits_[0] |= 0x00000040u; 10759 php_class_prefix_.Set( 10760 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 10761 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.php_class_prefix) 10762} 10763inline void FileOptions::set_php_class_prefix(const char* value) { 10764 GOOGLE_DCHECK(value != nullptr); 10765 _has_bits_[0] |= 0x00000040u; 10766 php_class_prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 10767 GetArena()); 10768 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.php_class_prefix) 10769} 10770inline void FileOptions::set_php_class_prefix(const char* value, 10771 size_t size) { 10772 _has_bits_[0] |= 0x00000040u; 10773 php_class_prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 10774 reinterpret_cast<const char*>(value), size), GetArena()); 10775 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.php_class_prefix) 10776} 10777inline std::string* FileOptions::_internal_mutable_php_class_prefix() { 10778 _has_bits_[0] |= 0x00000040u; 10779 return php_class_prefix_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10780} 10781inline std::string* FileOptions::release_php_class_prefix() { 10782 // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_class_prefix) 10783 if (!_internal_has_php_class_prefix()) { 10784 return nullptr; 10785 } 10786 _has_bits_[0] &= ~0x00000040u; 10787 return php_class_prefix_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10788} 10789inline void FileOptions::set_allocated_php_class_prefix(std::string* php_class_prefix) { 10790 if (php_class_prefix != nullptr) { 10791 _has_bits_[0] |= 0x00000040u; 10792 } else { 10793 _has_bits_[0] &= ~0x00000040u; 10794 } 10795 php_class_prefix_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), php_class_prefix, 10796 GetArena()); 10797 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_class_prefix) 10798} 10799 10800// optional string php_namespace = 41; 10801inline bool FileOptions::_internal_has_php_namespace() const { 10802 bool value = (_has_bits_[0] & 0x00000080u) != 0; 10803 return value; 10804} 10805inline bool FileOptions::has_php_namespace() const { 10806 return _internal_has_php_namespace(); 10807} 10808inline void FileOptions::clear_php_namespace() { 10809 php_namespace_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10810 _has_bits_[0] &= ~0x00000080u; 10811} 10812inline const std::string& FileOptions::php_namespace() const { 10813 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_namespace) 10814 return _internal_php_namespace(); 10815} 10816inline void FileOptions::set_php_namespace(const std::string& value) { 10817 _internal_set_php_namespace(value); 10818 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_namespace) 10819} 10820inline std::string* FileOptions::mutable_php_namespace() { 10821 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_namespace) 10822 return _internal_mutable_php_namespace(); 10823} 10824inline const std::string& FileOptions::_internal_php_namespace() const { 10825 return php_namespace_.Get(); 10826} 10827inline void FileOptions::_internal_set_php_namespace(const std::string& value) { 10828 _has_bits_[0] |= 0x00000080u; 10829 php_namespace_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 10830} 10831inline void FileOptions::set_php_namespace(std::string&& value) { 10832 _has_bits_[0] |= 0x00000080u; 10833 php_namespace_.Set( 10834 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 10835 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.php_namespace) 10836} 10837inline void FileOptions::set_php_namespace(const char* value) { 10838 GOOGLE_DCHECK(value != nullptr); 10839 _has_bits_[0] |= 0x00000080u; 10840 php_namespace_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 10841 GetArena()); 10842 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.php_namespace) 10843} 10844inline void FileOptions::set_php_namespace(const char* value, 10845 size_t size) { 10846 _has_bits_[0] |= 0x00000080u; 10847 php_namespace_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 10848 reinterpret_cast<const char*>(value), size), GetArena()); 10849 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.php_namespace) 10850} 10851inline std::string* FileOptions::_internal_mutable_php_namespace() { 10852 _has_bits_[0] |= 0x00000080u; 10853 return php_namespace_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10854} 10855inline std::string* FileOptions::release_php_namespace() { 10856 // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_namespace) 10857 if (!_internal_has_php_namespace()) { 10858 return nullptr; 10859 } 10860 _has_bits_[0] &= ~0x00000080u; 10861 return php_namespace_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10862} 10863inline void FileOptions::set_allocated_php_namespace(std::string* php_namespace) { 10864 if (php_namespace != nullptr) { 10865 _has_bits_[0] |= 0x00000080u; 10866 } else { 10867 _has_bits_[0] &= ~0x00000080u; 10868 } 10869 php_namespace_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), php_namespace, 10870 GetArena()); 10871 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_namespace) 10872} 10873 10874// optional string php_metadata_namespace = 44; 10875inline bool FileOptions::_internal_has_php_metadata_namespace() const { 10876 bool value = (_has_bits_[0] & 0x00000100u) != 0; 10877 return value; 10878} 10879inline bool FileOptions::has_php_metadata_namespace() const { 10880 return _internal_has_php_metadata_namespace(); 10881} 10882inline void FileOptions::clear_php_metadata_namespace() { 10883 php_metadata_namespace_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10884 _has_bits_[0] &= ~0x00000100u; 10885} 10886inline const std::string& FileOptions::php_metadata_namespace() const { 10887 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_metadata_namespace) 10888 return _internal_php_metadata_namespace(); 10889} 10890inline void FileOptions::set_php_metadata_namespace(const std::string& value) { 10891 _internal_set_php_metadata_namespace(value); 10892 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_metadata_namespace) 10893} 10894inline std::string* FileOptions::mutable_php_metadata_namespace() { 10895 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_metadata_namespace) 10896 return _internal_mutable_php_metadata_namespace(); 10897} 10898inline const std::string& FileOptions::_internal_php_metadata_namespace() const { 10899 return php_metadata_namespace_.Get(); 10900} 10901inline void FileOptions::_internal_set_php_metadata_namespace(const std::string& value) { 10902 _has_bits_[0] |= 0x00000100u; 10903 php_metadata_namespace_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 10904} 10905inline void FileOptions::set_php_metadata_namespace(std::string&& value) { 10906 _has_bits_[0] |= 0x00000100u; 10907 php_metadata_namespace_.Set( 10908 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 10909 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.php_metadata_namespace) 10910} 10911inline void FileOptions::set_php_metadata_namespace(const char* value) { 10912 GOOGLE_DCHECK(value != nullptr); 10913 _has_bits_[0] |= 0x00000100u; 10914 php_metadata_namespace_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 10915 GetArena()); 10916 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.php_metadata_namespace) 10917} 10918inline void FileOptions::set_php_metadata_namespace(const char* value, 10919 size_t size) { 10920 _has_bits_[0] |= 0x00000100u; 10921 php_metadata_namespace_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 10922 reinterpret_cast<const char*>(value), size), GetArena()); 10923 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.php_metadata_namespace) 10924} 10925inline std::string* FileOptions::_internal_mutable_php_metadata_namespace() { 10926 _has_bits_[0] |= 0x00000100u; 10927 return php_metadata_namespace_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10928} 10929inline std::string* FileOptions::release_php_metadata_namespace() { 10930 // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_metadata_namespace) 10931 if (!_internal_has_php_metadata_namespace()) { 10932 return nullptr; 10933 } 10934 _has_bits_[0] &= ~0x00000100u; 10935 return php_metadata_namespace_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10936} 10937inline void FileOptions::set_allocated_php_metadata_namespace(std::string* php_metadata_namespace) { 10938 if (php_metadata_namespace != nullptr) { 10939 _has_bits_[0] |= 0x00000100u; 10940 } else { 10941 _has_bits_[0] &= ~0x00000100u; 10942 } 10943 php_metadata_namespace_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), php_metadata_namespace, 10944 GetArena()); 10945 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_metadata_namespace) 10946} 10947 10948// optional string ruby_package = 45; 10949inline bool FileOptions::_internal_has_ruby_package() const { 10950 bool value = (_has_bits_[0] & 0x00000200u) != 0; 10951 return value; 10952} 10953inline bool FileOptions::has_ruby_package() const { 10954 return _internal_has_ruby_package(); 10955} 10956inline void FileOptions::clear_ruby_package() { 10957 ruby_package_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 10958 _has_bits_[0] &= ~0x00000200u; 10959} 10960inline const std::string& FileOptions::ruby_package() const { 10961 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.ruby_package) 10962 return _internal_ruby_package(); 10963} 10964inline void FileOptions::set_ruby_package(const std::string& value) { 10965 _internal_set_ruby_package(value); 10966 // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.ruby_package) 10967} 10968inline std::string* FileOptions::mutable_ruby_package() { 10969 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.ruby_package) 10970 return _internal_mutable_ruby_package(); 10971} 10972inline const std::string& FileOptions::_internal_ruby_package() const { 10973 return ruby_package_.Get(); 10974} 10975inline void FileOptions::_internal_set_ruby_package(const std::string& value) { 10976 _has_bits_[0] |= 0x00000200u; 10977 ruby_package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 10978} 10979inline void FileOptions::set_ruby_package(std::string&& value) { 10980 _has_bits_[0] |= 0x00000200u; 10981 ruby_package_.Set( 10982 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 10983 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.ruby_package) 10984} 10985inline void FileOptions::set_ruby_package(const char* value) { 10986 GOOGLE_DCHECK(value != nullptr); 10987 _has_bits_[0] |= 0x00000200u; 10988 ruby_package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 10989 GetArena()); 10990 // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.ruby_package) 10991} 10992inline void FileOptions::set_ruby_package(const char* value, 10993 size_t size) { 10994 _has_bits_[0] |= 0x00000200u; 10995 ruby_package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 10996 reinterpret_cast<const char*>(value), size), GetArena()); 10997 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.ruby_package) 10998} 10999inline std::string* FileOptions::_internal_mutable_ruby_package() { 11000 _has_bits_[0] |= 0x00000200u; 11001 return ruby_package_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 11002} 11003inline std::string* FileOptions::release_ruby_package() { 11004 // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.ruby_package) 11005 if (!_internal_has_ruby_package()) { 11006 return nullptr; 11007 } 11008 _has_bits_[0] &= ~0x00000200u; 11009 return ruby_package_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 11010} 11011inline void FileOptions::set_allocated_ruby_package(std::string* ruby_package) { 11012 if (ruby_package != nullptr) { 11013 _has_bits_[0] |= 0x00000200u; 11014 } else { 11015 _has_bits_[0] &= ~0x00000200u; 11016 } 11017 ruby_package_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ruby_package, 11018 GetArena()); 11019 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ruby_package) 11020} 11021 11022// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 11023inline int FileOptions::_internal_uninterpreted_option_size() const { 11024 return uninterpreted_option_.size(); 11025} 11026inline int FileOptions::uninterpreted_option_size() const { 11027 return _internal_uninterpreted_option_size(); 11028} 11029inline void FileOptions::clear_uninterpreted_option() { 11030 uninterpreted_option_.Clear(); 11031} 11032inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::mutable_uninterpreted_option(int index) { 11033 // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.uninterpreted_option) 11034 return uninterpreted_option_.Mutable(index); 11035} 11036inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >* 11037FileOptions::mutable_uninterpreted_option() { 11038 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileOptions.uninterpreted_option) 11039 return &uninterpreted_option_; 11040} 11041inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& FileOptions::_internal_uninterpreted_option(int index) const { 11042 return uninterpreted_option_.Get(index); 11043} 11044inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& FileOptions::uninterpreted_option(int index) const { 11045 // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterpreted_option) 11046 return _internal_uninterpreted_option(index); 11047} 11048inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::_internal_add_uninterpreted_option() { 11049 return uninterpreted_option_.Add(); 11050} 11051inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::add_uninterpreted_option() { 11052 // @@protoc_insertion_point(field_add:google.protobuf.FileOptions.uninterpreted_option) 11053 return _internal_add_uninterpreted_option(); 11054} 11055inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >& 11056FileOptions::uninterpreted_option() const { 11057 // @@protoc_insertion_point(field_list:google.protobuf.FileOptions.uninterpreted_option) 11058 return uninterpreted_option_; 11059} 11060 11061// ------------------------------------------------------------------- 11062 11063// MessageOptions 11064 11065// optional bool message_set_wire_format = 1 [default = false]; 11066inline bool MessageOptions::_internal_has_message_set_wire_format() const { 11067 bool value = (_has_bits_[0] & 0x00000001u) != 0; 11068 return value; 11069} 11070inline bool MessageOptions::has_message_set_wire_format() const { 11071 return _internal_has_message_set_wire_format(); 11072} 11073inline void MessageOptions::clear_message_set_wire_format() { 11074 message_set_wire_format_ = false; 11075 _has_bits_[0] &= ~0x00000001u; 11076} 11077inline bool MessageOptions::_internal_message_set_wire_format() const { 11078 return message_set_wire_format_; 11079} 11080inline bool MessageOptions::message_set_wire_format() const { 11081 // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.message_set_wire_format) 11082 return _internal_message_set_wire_format(); 11083} 11084inline void MessageOptions::_internal_set_message_set_wire_format(bool value) { 11085 _has_bits_[0] |= 0x00000001u; 11086 message_set_wire_format_ = value; 11087} 11088inline void MessageOptions::set_message_set_wire_format(bool value) { 11089 _internal_set_message_set_wire_format(value); 11090 // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.message_set_wire_format) 11091} 11092 11093// optional bool no_standard_descriptor_accessor = 2 [default = false]; 11094inline bool MessageOptions::_internal_has_no_standard_descriptor_accessor() const { 11095 bool value = (_has_bits_[0] & 0x00000002u) != 0; 11096 return value; 11097} 11098inline bool MessageOptions::has_no_standard_descriptor_accessor() const { 11099 return _internal_has_no_standard_descriptor_accessor(); 11100} 11101inline void MessageOptions::clear_no_standard_descriptor_accessor() { 11102 no_standard_descriptor_accessor_ = false; 11103 _has_bits_[0] &= ~0x00000002u; 11104} 11105inline bool MessageOptions::_internal_no_standard_descriptor_accessor() const { 11106 return no_standard_descriptor_accessor_; 11107} 11108inline bool MessageOptions::no_standard_descriptor_accessor() const { 11109 // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.no_standard_descriptor_accessor) 11110 return _internal_no_standard_descriptor_accessor(); 11111} 11112inline void MessageOptions::_internal_set_no_standard_descriptor_accessor(bool value) { 11113 _has_bits_[0] |= 0x00000002u; 11114 no_standard_descriptor_accessor_ = value; 11115} 11116inline void MessageOptions::set_no_standard_descriptor_accessor(bool value) { 11117 _internal_set_no_standard_descriptor_accessor(value); 11118 // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.no_standard_descriptor_accessor) 11119} 11120 11121// optional bool deprecated = 3 [default = false]; 11122inline bool MessageOptions::_internal_has_deprecated() const { 11123 bool value = (_has_bits_[0] & 0x00000004u) != 0; 11124 return value; 11125} 11126inline bool MessageOptions::has_deprecated() const { 11127 return _internal_has_deprecated(); 11128} 11129inline void MessageOptions::clear_deprecated() { 11130 deprecated_ = false; 11131 _has_bits_[0] &= ~0x00000004u; 11132} 11133inline bool MessageOptions::_internal_deprecated() const { 11134 return deprecated_; 11135} 11136inline bool MessageOptions::deprecated() const { 11137 // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.deprecated) 11138 return _internal_deprecated(); 11139} 11140inline void MessageOptions::_internal_set_deprecated(bool value) { 11141 _has_bits_[0] |= 0x00000004u; 11142 deprecated_ = value; 11143} 11144inline void MessageOptions::set_deprecated(bool value) { 11145 _internal_set_deprecated(value); 11146 // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.deprecated) 11147} 11148 11149// optional bool map_entry = 7; 11150inline bool MessageOptions::_internal_has_map_entry() const { 11151 bool value = (_has_bits_[0] & 0x00000008u) != 0; 11152 return value; 11153} 11154inline bool MessageOptions::has_map_entry() const { 11155 return _internal_has_map_entry(); 11156} 11157inline void MessageOptions::clear_map_entry() { 11158 map_entry_ = false; 11159 _has_bits_[0] &= ~0x00000008u; 11160} 11161inline bool MessageOptions::_internal_map_entry() const { 11162 return map_entry_; 11163} 11164inline bool MessageOptions::map_entry() const { 11165 // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.map_entry) 11166 return _internal_map_entry(); 11167} 11168inline void MessageOptions::_internal_set_map_entry(bool value) { 11169 _has_bits_[0] |= 0x00000008u; 11170 map_entry_ = value; 11171} 11172inline void MessageOptions::set_map_entry(bool value) { 11173 _internal_set_map_entry(value); 11174 // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.map_entry) 11175} 11176 11177// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 11178inline int MessageOptions::_internal_uninterpreted_option_size() const { 11179 return uninterpreted_option_.size(); 11180} 11181inline int MessageOptions::uninterpreted_option_size() const { 11182 return _internal_uninterpreted_option_size(); 11183} 11184inline void MessageOptions::clear_uninterpreted_option() { 11185 uninterpreted_option_.Clear(); 11186} 11187inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::mutable_uninterpreted_option(int index) { 11188 // @@protoc_insertion_point(field_mutable:google.protobuf.MessageOptions.uninterpreted_option) 11189 return uninterpreted_option_.Mutable(index); 11190} 11191inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >* 11192MessageOptions::mutable_uninterpreted_option() { 11193 // @@protoc_insertion_point(field_mutable_list:google.protobuf.MessageOptions.uninterpreted_option) 11194 return &uninterpreted_option_; 11195} 11196inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& MessageOptions::_internal_uninterpreted_option(int index) const { 11197 return uninterpreted_option_.Get(index); 11198} 11199inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& MessageOptions::uninterpreted_option(int index) const { 11200 // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.uninterpreted_option) 11201 return _internal_uninterpreted_option(index); 11202} 11203inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::_internal_add_uninterpreted_option() { 11204 return uninterpreted_option_.Add(); 11205} 11206inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::add_uninterpreted_option() { 11207 // @@protoc_insertion_point(field_add:google.protobuf.MessageOptions.uninterpreted_option) 11208 return _internal_add_uninterpreted_option(); 11209} 11210inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >& 11211MessageOptions::uninterpreted_option() const { 11212 // @@protoc_insertion_point(field_list:google.protobuf.MessageOptions.uninterpreted_option) 11213 return uninterpreted_option_; 11214} 11215 11216// ------------------------------------------------------------------- 11217 11218// FieldOptions 11219 11220// optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; 11221inline bool FieldOptions::_internal_has_ctype() const { 11222 bool value = (_has_bits_[0] & 0x00000001u) != 0; 11223 return value; 11224} 11225inline bool FieldOptions::has_ctype() const { 11226 return _internal_has_ctype(); 11227} 11228inline void FieldOptions::clear_ctype() { 11229 ctype_ = 0; 11230 _has_bits_[0] &= ~0x00000001u; 11231} 11232inline PROTOBUF_NAMESPACE_ID::FieldOptions_CType FieldOptions::_internal_ctype() const { 11233 return static_cast< PROTOBUF_NAMESPACE_ID::FieldOptions_CType >(ctype_); 11234} 11235inline PROTOBUF_NAMESPACE_ID::FieldOptions_CType FieldOptions::ctype() const { 11236 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.ctype) 11237 return _internal_ctype(); 11238} 11239inline void FieldOptions::_internal_set_ctype(PROTOBUF_NAMESPACE_ID::FieldOptions_CType value) { 11240 assert(PROTOBUF_NAMESPACE_ID::FieldOptions_CType_IsValid(value)); 11241 _has_bits_[0] |= 0x00000001u; 11242 ctype_ = value; 11243} 11244inline void FieldOptions::set_ctype(PROTOBUF_NAMESPACE_ID::FieldOptions_CType value) { 11245 _internal_set_ctype(value); 11246 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype) 11247} 11248 11249// optional bool packed = 2; 11250inline bool FieldOptions::_internal_has_packed() const { 11251 bool value = (_has_bits_[0] & 0x00000002u) != 0; 11252 return value; 11253} 11254inline bool FieldOptions::has_packed() const { 11255 return _internal_has_packed(); 11256} 11257inline void FieldOptions::clear_packed() { 11258 packed_ = false; 11259 _has_bits_[0] &= ~0x00000002u; 11260} 11261inline bool FieldOptions::_internal_packed() const { 11262 return packed_; 11263} 11264inline bool FieldOptions::packed() const { 11265 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed) 11266 return _internal_packed(); 11267} 11268inline void FieldOptions::_internal_set_packed(bool value) { 11269 _has_bits_[0] |= 0x00000002u; 11270 packed_ = value; 11271} 11272inline void FieldOptions::set_packed(bool value) { 11273 _internal_set_packed(value); 11274 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed) 11275} 11276 11277// optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; 11278inline bool FieldOptions::_internal_has_jstype() const { 11279 bool value = (_has_bits_[0] & 0x00000020u) != 0; 11280 return value; 11281} 11282inline bool FieldOptions::has_jstype() const { 11283 return _internal_has_jstype(); 11284} 11285inline void FieldOptions::clear_jstype() { 11286 jstype_ = 0; 11287 _has_bits_[0] &= ~0x00000020u; 11288} 11289inline PROTOBUF_NAMESPACE_ID::FieldOptions_JSType FieldOptions::_internal_jstype() const { 11290 return static_cast< PROTOBUF_NAMESPACE_ID::FieldOptions_JSType >(jstype_); 11291} 11292inline PROTOBUF_NAMESPACE_ID::FieldOptions_JSType FieldOptions::jstype() const { 11293 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype) 11294 return _internal_jstype(); 11295} 11296inline void FieldOptions::_internal_set_jstype(PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value) { 11297 assert(PROTOBUF_NAMESPACE_ID::FieldOptions_JSType_IsValid(value)); 11298 _has_bits_[0] |= 0x00000020u; 11299 jstype_ = value; 11300} 11301inline void FieldOptions::set_jstype(PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value) { 11302 _internal_set_jstype(value); 11303 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.jstype) 11304} 11305 11306// optional bool lazy = 5 [default = false]; 11307inline bool FieldOptions::_internal_has_lazy() const { 11308 bool value = (_has_bits_[0] & 0x00000004u) != 0; 11309 return value; 11310} 11311inline bool FieldOptions::has_lazy() const { 11312 return _internal_has_lazy(); 11313} 11314inline void FieldOptions::clear_lazy() { 11315 lazy_ = false; 11316 _has_bits_[0] &= ~0x00000004u; 11317} 11318inline bool FieldOptions::_internal_lazy() const { 11319 return lazy_; 11320} 11321inline bool FieldOptions::lazy() const { 11322 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.lazy) 11323 return _internal_lazy(); 11324} 11325inline void FieldOptions::_internal_set_lazy(bool value) { 11326 _has_bits_[0] |= 0x00000004u; 11327 lazy_ = value; 11328} 11329inline void FieldOptions::set_lazy(bool value) { 11330 _internal_set_lazy(value); 11331 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.lazy) 11332} 11333 11334// optional bool deprecated = 3 [default = false]; 11335inline bool FieldOptions::_internal_has_deprecated() const { 11336 bool value = (_has_bits_[0] & 0x00000008u) != 0; 11337 return value; 11338} 11339inline bool FieldOptions::has_deprecated() const { 11340 return _internal_has_deprecated(); 11341} 11342inline void FieldOptions::clear_deprecated() { 11343 deprecated_ = false; 11344 _has_bits_[0] &= ~0x00000008u; 11345} 11346inline bool FieldOptions::_internal_deprecated() const { 11347 return deprecated_; 11348} 11349inline bool FieldOptions::deprecated() const { 11350 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.deprecated) 11351 return _internal_deprecated(); 11352} 11353inline void FieldOptions::_internal_set_deprecated(bool value) { 11354 _has_bits_[0] |= 0x00000008u; 11355 deprecated_ = value; 11356} 11357inline void FieldOptions::set_deprecated(bool value) { 11358 _internal_set_deprecated(value); 11359 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.deprecated) 11360} 11361 11362// optional bool weak = 10 [default = false]; 11363inline bool FieldOptions::_internal_has_weak() const { 11364 bool value = (_has_bits_[0] & 0x00000010u) != 0; 11365 return value; 11366} 11367inline bool FieldOptions::has_weak() const { 11368 return _internal_has_weak(); 11369} 11370inline void FieldOptions::clear_weak() { 11371 weak_ = false; 11372 _has_bits_[0] &= ~0x00000010u; 11373} 11374inline bool FieldOptions::_internal_weak() const { 11375 return weak_; 11376} 11377inline bool FieldOptions::weak() const { 11378 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.weak) 11379 return _internal_weak(); 11380} 11381inline void FieldOptions::_internal_set_weak(bool value) { 11382 _has_bits_[0] |= 0x00000010u; 11383 weak_ = value; 11384} 11385inline void FieldOptions::set_weak(bool value) { 11386 _internal_set_weak(value); 11387 // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.weak) 11388} 11389 11390// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 11391inline int FieldOptions::_internal_uninterpreted_option_size() const { 11392 return uninterpreted_option_.size(); 11393} 11394inline int FieldOptions::uninterpreted_option_size() const { 11395 return _internal_uninterpreted_option_size(); 11396} 11397inline void FieldOptions::clear_uninterpreted_option() { 11398 uninterpreted_option_.Clear(); 11399} 11400inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::mutable_uninterpreted_option(int index) { 11401 // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.uninterpreted_option) 11402 return uninterpreted_option_.Mutable(index); 11403} 11404inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >* 11405FieldOptions::mutable_uninterpreted_option() { 11406 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldOptions.uninterpreted_option) 11407 return &uninterpreted_option_; 11408} 11409inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& FieldOptions::_internal_uninterpreted_option(int index) const { 11410 return uninterpreted_option_.Get(index); 11411} 11412inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& FieldOptions::uninterpreted_option(int index) const { 11413 // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.uninterpreted_option) 11414 return _internal_uninterpreted_option(index); 11415} 11416inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::_internal_add_uninterpreted_option() { 11417 return uninterpreted_option_.Add(); 11418} 11419inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::add_uninterpreted_option() { 11420 // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.uninterpreted_option) 11421 return _internal_add_uninterpreted_option(); 11422} 11423inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >& 11424FieldOptions::uninterpreted_option() const { 11425 // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpreted_option) 11426 return uninterpreted_option_; 11427} 11428 11429// ------------------------------------------------------------------- 11430 11431// OneofOptions 11432 11433// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 11434inline int OneofOptions::_internal_uninterpreted_option_size() const { 11435 return uninterpreted_option_.size(); 11436} 11437inline int OneofOptions::uninterpreted_option_size() const { 11438 return _internal_uninterpreted_option_size(); 11439} 11440inline void OneofOptions::clear_uninterpreted_option() { 11441 uninterpreted_option_.Clear(); 11442} 11443inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::mutable_uninterpreted_option(int index) { 11444 // @@protoc_insertion_point(field_mutable:google.protobuf.OneofOptions.uninterpreted_option) 11445 return uninterpreted_option_.Mutable(index); 11446} 11447inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >* 11448OneofOptions::mutable_uninterpreted_option() { 11449 // @@protoc_insertion_point(field_mutable_list:google.protobuf.OneofOptions.uninterpreted_option) 11450 return &uninterpreted_option_; 11451} 11452inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& OneofOptions::_internal_uninterpreted_option(int index) const { 11453 return uninterpreted_option_.Get(index); 11454} 11455inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& OneofOptions::uninterpreted_option(int index) const { 11456 // @@protoc_insertion_point(field_get:google.protobuf.OneofOptions.uninterpreted_option) 11457 return _internal_uninterpreted_option(index); 11458} 11459inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::_internal_add_uninterpreted_option() { 11460 return uninterpreted_option_.Add(); 11461} 11462inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::add_uninterpreted_option() { 11463 // @@protoc_insertion_point(field_add:google.protobuf.OneofOptions.uninterpreted_option) 11464 return _internal_add_uninterpreted_option(); 11465} 11466inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >& 11467OneofOptions::uninterpreted_option() const { 11468 // @@protoc_insertion_point(field_list:google.protobuf.OneofOptions.uninterpreted_option) 11469 return uninterpreted_option_; 11470} 11471 11472// ------------------------------------------------------------------- 11473 11474// EnumOptions 11475 11476// optional bool allow_alias = 2; 11477inline bool EnumOptions::_internal_has_allow_alias() const { 11478 bool value = (_has_bits_[0] & 0x00000001u) != 0; 11479 return value; 11480} 11481inline bool EnumOptions::has_allow_alias() const { 11482 return _internal_has_allow_alias(); 11483} 11484inline void EnumOptions::clear_allow_alias() { 11485 allow_alias_ = false; 11486 _has_bits_[0] &= ~0x00000001u; 11487} 11488inline bool EnumOptions::_internal_allow_alias() const { 11489 return allow_alias_; 11490} 11491inline bool EnumOptions::allow_alias() const { 11492 // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.allow_alias) 11493 return _internal_allow_alias(); 11494} 11495inline void EnumOptions::_internal_set_allow_alias(bool value) { 11496 _has_bits_[0] |= 0x00000001u; 11497 allow_alias_ = value; 11498} 11499inline void EnumOptions::set_allow_alias(bool value) { 11500 _internal_set_allow_alias(value); 11501 // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.allow_alias) 11502} 11503 11504// optional bool deprecated = 3 [default = false]; 11505inline bool EnumOptions::_internal_has_deprecated() const { 11506 bool value = (_has_bits_[0] & 0x00000002u) != 0; 11507 return value; 11508} 11509inline bool EnumOptions::has_deprecated() const { 11510 return _internal_has_deprecated(); 11511} 11512inline void EnumOptions::clear_deprecated() { 11513 deprecated_ = false; 11514 _has_bits_[0] &= ~0x00000002u; 11515} 11516inline bool EnumOptions::_internal_deprecated() const { 11517 return deprecated_; 11518} 11519inline bool EnumOptions::deprecated() const { 11520 // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated) 11521 return _internal_deprecated(); 11522} 11523inline void EnumOptions::_internal_set_deprecated(bool value) { 11524 _has_bits_[0] |= 0x00000002u; 11525 deprecated_ = value; 11526} 11527inline void EnumOptions::set_deprecated(bool value) { 11528 _internal_set_deprecated(value); 11529 // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated) 11530} 11531 11532// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 11533inline int EnumOptions::_internal_uninterpreted_option_size() const { 11534 return uninterpreted_option_.size(); 11535} 11536inline int EnumOptions::uninterpreted_option_size() const { 11537 return _internal_uninterpreted_option_size(); 11538} 11539inline void EnumOptions::clear_uninterpreted_option() { 11540 uninterpreted_option_.Clear(); 11541} 11542inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::mutable_uninterpreted_option(int index) { 11543 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumOptions.uninterpreted_option) 11544 return uninterpreted_option_.Mutable(index); 11545} 11546inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >* 11547EnumOptions::mutable_uninterpreted_option() { 11548 // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumOptions.uninterpreted_option) 11549 return &uninterpreted_option_; 11550} 11551inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumOptions::_internal_uninterpreted_option(int index) const { 11552 return uninterpreted_option_.Get(index); 11553} 11554inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumOptions::uninterpreted_option(int index) const { 11555 // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.uninterpreted_option) 11556 return _internal_uninterpreted_option(index); 11557} 11558inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::_internal_add_uninterpreted_option() { 11559 return uninterpreted_option_.Add(); 11560} 11561inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::add_uninterpreted_option() { 11562 // @@protoc_insertion_point(field_add:google.protobuf.EnumOptions.uninterpreted_option) 11563 return _internal_add_uninterpreted_option(); 11564} 11565inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >& 11566EnumOptions::uninterpreted_option() const { 11567 // @@protoc_insertion_point(field_list:google.protobuf.EnumOptions.uninterpreted_option) 11568 return uninterpreted_option_; 11569} 11570 11571// ------------------------------------------------------------------- 11572 11573// EnumValueOptions 11574 11575// optional bool deprecated = 1 [default = false]; 11576inline bool EnumValueOptions::_internal_has_deprecated() const { 11577 bool value = (_has_bits_[0] & 0x00000001u) != 0; 11578 return value; 11579} 11580inline bool EnumValueOptions::has_deprecated() const { 11581 return _internal_has_deprecated(); 11582} 11583inline void EnumValueOptions::clear_deprecated() { 11584 deprecated_ = false; 11585 _has_bits_[0] &= ~0x00000001u; 11586} 11587inline bool EnumValueOptions::_internal_deprecated() const { 11588 return deprecated_; 11589} 11590inline bool EnumValueOptions::deprecated() const { 11591 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.deprecated) 11592 return _internal_deprecated(); 11593} 11594inline void EnumValueOptions::_internal_set_deprecated(bool value) { 11595 _has_bits_[0] |= 0x00000001u; 11596 deprecated_ = value; 11597} 11598inline void EnumValueOptions::set_deprecated(bool value) { 11599 _internal_set_deprecated(value); 11600 // @@protoc_insertion_point(field_set:google.protobuf.EnumValueOptions.deprecated) 11601} 11602 11603// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 11604inline int EnumValueOptions::_internal_uninterpreted_option_size() const { 11605 return uninterpreted_option_.size(); 11606} 11607inline int EnumValueOptions::uninterpreted_option_size() const { 11608 return _internal_uninterpreted_option_size(); 11609} 11610inline void EnumValueOptions::clear_uninterpreted_option() { 11611 uninterpreted_option_.Clear(); 11612} 11613inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::mutable_uninterpreted_option(int index) { 11614 // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueOptions.uninterpreted_option) 11615 return uninterpreted_option_.Mutable(index); 11616} 11617inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >* 11618EnumValueOptions::mutable_uninterpreted_option() { 11619 // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValueOptions.uninterpreted_option) 11620 return &uninterpreted_option_; 11621} 11622inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumValueOptions::_internal_uninterpreted_option(int index) const { 11623 return uninterpreted_option_.Get(index); 11624} 11625inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumValueOptions::uninterpreted_option(int index) const { 11626 // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.uninterpreted_option) 11627 return _internal_uninterpreted_option(index); 11628} 11629inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::_internal_add_uninterpreted_option() { 11630 return uninterpreted_option_.Add(); 11631} 11632inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::add_uninterpreted_option() { 11633 // @@protoc_insertion_point(field_add:google.protobuf.EnumValueOptions.uninterpreted_option) 11634 return _internal_add_uninterpreted_option(); 11635} 11636inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >& 11637EnumValueOptions::uninterpreted_option() const { 11638 // @@protoc_insertion_point(field_list:google.protobuf.EnumValueOptions.uninterpreted_option) 11639 return uninterpreted_option_; 11640} 11641 11642// ------------------------------------------------------------------- 11643 11644// ServiceOptions 11645 11646// optional bool deprecated = 33 [default = false]; 11647inline bool ServiceOptions::_internal_has_deprecated() const { 11648 bool value = (_has_bits_[0] & 0x00000001u) != 0; 11649 return value; 11650} 11651inline bool ServiceOptions::has_deprecated() const { 11652 return _internal_has_deprecated(); 11653} 11654inline void ServiceOptions::clear_deprecated() { 11655 deprecated_ = false; 11656 _has_bits_[0] &= ~0x00000001u; 11657} 11658inline bool ServiceOptions::_internal_deprecated() const { 11659 return deprecated_; 11660} 11661inline bool ServiceOptions::deprecated() const { 11662 // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.deprecated) 11663 return _internal_deprecated(); 11664} 11665inline void ServiceOptions::_internal_set_deprecated(bool value) { 11666 _has_bits_[0] |= 0x00000001u; 11667 deprecated_ = value; 11668} 11669inline void ServiceOptions::set_deprecated(bool value) { 11670 _internal_set_deprecated(value); 11671 // @@protoc_insertion_point(field_set:google.protobuf.ServiceOptions.deprecated) 11672} 11673 11674// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 11675inline int ServiceOptions::_internal_uninterpreted_option_size() const { 11676 return uninterpreted_option_.size(); 11677} 11678inline int ServiceOptions::uninterpreted_option_size() const { 11679 return _internal_uninterpreted_option_size(); 11680} 11681inline void ServiceOptions::clear_uninterpreted_option() { 11682 uninterpreted_option_.Clear(); 11683} 11684inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::mutable_uninterpreted_option(int index) { 11685 // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceOptions.uninterpreted_option) 11686 return uninterpreted_option_.Mutable(index); 11687} 11688inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >* 11689ServiceOptions::mutable_uninterpreted_option() { 11690 // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceOptions.uninterpreted_option) 11691 return &uninterpreted_option_; 11692} 11693inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& ServiceOptions::_internal_uninterpreted_option(int index) const { 11694 return uninterpreted_option_.Get(index); 11695} 11696inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& ServiceOptions::uninterpreted_option(int index) const { 11697 // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.uninterpreted_option) 11698 return _internal_uninterpreted_option(index); 11699} 11700inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::_internal_add_uninterpreted_option() { 11701 return uninterpreted_option_.Add(); 11702} 11703inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::add_uninterpreted_option() { 11704 // @@protoc_insertion_point(field_add:google.protobuf.ServiceOptions.uninterpreted_option) 11705 return _internal_add_uninterpreted_option(); 11706} 11707inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >& 11708ServiceOptions::uninterpreted_option() const { 11709 // @@protoc_insertion_point(field_list:google.protobuf.ServiceOptions.uninterpreted_option) 11710 return uninterpreted_option_; 11711} 11712 11713// ------------------------------------------------------------------- 11714 11715// MethodOptions 11716 11717// optional bool deprecated = 33 [default = false]; 11718inline bool MethodOptions::_internal_has_deprecated() const { 11719 bool value = (_has_bits_[0] & 0x00000001u) != 0; 11720 return value; 11721} 11722inline bool MethodOptions::has_deprecated() const { 11723 return _internal_has_deprecated(); 11724} 11725inline void MethodOptions::clear_deprecated() { 11726 deprecated_ = false; 11727 _has_bits_[0] &= ~0x00000001u; 11728} 11729inline bool MethodOptions::_internal_deprecated() const { 11730 return deprecated_; 11731} 11732inline bool MethodOptions::deprecated() const { 11733 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated) 11734 return _internal_deprecated(); 11735} 11736inline void MethodOptions::_internal_set_deprecated(bool value) { 11737 _has_bits_[0] |= 0x00000001u; 11738 deprecated_ = value; 11739} 11740inline void MethodOptions::set_deprecated(bool value) { 11741 _internal_set_deprecated(value); 11742 // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated) 11743} 11744 11745// optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; 11746inline bool MethodOptions::_internal_has_idempotency_level() const { 11747 bool value = (_has_bits_[0] & 0x00000002u) != 0; 11748 return value; 11749} 11750inline bool MethodOptions::has_idempotency_level() const { 11751 return _internal_has_idempotency_level(); 11752} 11753inline void MethodOptions::clear_idempotency_level() { 11754 idempotency_level_ = 0; 11755 _has_bits_[0] &= ~0x00000002u; 11756} 11757inline PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel MethodOptions::_internal_idempotency_level() const { 11758 return static_cast< PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel >(idempotency_level_); 11759} 11760inline PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel MethodOptions::idempotency_level() const { 11761 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.idempotency_level) 11762 return _internal_idempotency_level(); 11763} 11764inline void MethodOptions::_internal_set_idempotency_level(PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value) { 11765 assert(PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel_IsValid(value)); 11766 _has_bits_[0] |= 0x00000002u; 11767 idempotency_level_ = value; 11768} 11769inline void MethodOptions::set_idempotency_level(PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value) { 11770 _internal_set_idempotency_level(value); 11771 // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.idempotency_level) 11772} 11773 11774// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; 11775inline int MethodOptions::_internal_uninterpreted_option_size() const { 11776 return uninterpreted_option_.size(); 11777} 11778inline int MethodOptions::uninterpreted_option_size() const { 11779 return _internal_uninterpreted_option_size(); 11780} 11781inline void MethodOptions::clear_uninterpreted_option() { 11782 uninterpreted_option_.Clear(); 11783} 11784inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::mutable_uninterpreted_option(int index) { 11785 // @@protoc_insertion_point(field_mutable:google.protobuf.MethodOptions.uninterpreted_option) 11786 return uninterpreted_option_.Mutable(index); 11787} 11788inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >* 11789MethodOptions::mutable_uninterpreted_option() { 11790 // @@protoc_insertion_point(field_mutable_list:google.protobuf.MethodOptions.uninterpreted_option) 11791 return &uninterpreted_option_; 11792} 11793inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& MethodOptions::_internal_uninterpreted_option(int index) const { 11794 return uninterpreted_option_.Get(index); 11795} 11796inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& MethodOptions::uninterpreted_option(int index) const { 11797 // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpreted_option) 11798 return _internal_uninterpreted_option(index); 11799} 11800inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::_internal_add_uninterpreted_option() { 11801 return uninterpreted_option_.Add(); 11802} 11803inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::add_uninterpreted_option() { 11804 // @@protoc_insertion_point(field_add:google.protobuf.MethodOptions.uninterpreted_option) 11805 return _internal_add_uninterpreted_option(); 11806} 11807inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >& 11808MethodOptions::uninterpreted_option() const { 11809 // @@protoc_insertion_point(field_list:google.protobuf.MethodOptions.uninterpreted_option) 11810 return uninterpreted_option_; 11811} 11812 11813// ------------------------------------------------------------------- 11814 11815// UninterpretedOption_NamePart 11816 11817// required string name_part = 1; 11818inline bool UninterpretedOption_NamePart::_internal_has_name_part() const { 11819 bool value = (_has_bits_[0] & 0x00000001u) != 0; 11820 return value; 11821} 11822inline bool UninterpretedOption_NamePart::has_name_part() const { 11823 return _internal_has_name_part(); 11824} 11825inline void UninterpretedOption_NamePart::clear_name_part() { 11826 name_part_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 11827 _has_bits_[0] &= ~0x00000001u; 11828} 11829inline const std::string& UninterpretedOption_NamePart::name_part() const { 11830 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.name_part) 11831 return _internal_name_part(); 11832} 11833inline void UninterpretedOption_NamePart::set_name_part(const std::string& value) { 11834 _internal_set_name_part(value); 11835 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.name_part) 11836} 11837inline std::string* UninterpretedOption_NamePart::mutable_name_part() { 11838 // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.NamePart.name_part) 11839 return _internal_mutable_name_part(); 11840} 11841inline const std::string& UninterpretedOption_NamePart::_internal_name_part() const { 11842 return name_part_.Get(); 11843} 11844inline void UninterpretedOption_NamePart::_internal_set_name_part(const std::string& value) { 11845 _has_bits_[0] |= 0x00000001u; 11846 name_part_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 11847} 11848inline void UninterpretedOption_NamePart::set_name_part(std::string&& value) { 11849 _has_bits_[0] |= 0x00000001u; 11850 name_part_.Set( 11851 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 11852 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.UninterpretedOption.NamePart.name_part) 11853} 11854inline void UninterpretedOption_NamePart::set_name_part(const char* value) { 11855 GOOGLE_DCHECK(value != nullptr); 11856 _has_bits_[0] |= 0x00000001u; 11857 name_part_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 11858 GetArena()); 11859 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.NamePart.name_part) 11860} 11861inline void UninterpretedOption_NamePart::set_name_part(const char* value, 11862 size_t size) { 11863 _has_bits_[0] |= 0x00000001u; 11864 name_part_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 11865 reinterpret_cast<const char*>(value), size), GetArena()); 11866 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.NamePart.name_part) 11867} 11868inline std::string* UninterpretedOption_NamePart::_internal_mutable_name_part() { 11869 _has_bits_[0] |= 0x00000001u; 11870 return name_part_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 11871} 11872inline std::string* UninterpretedOption_NamePart::release_name_part() { 11873 // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.NamePart.name_part) 11874 if (!_internal_has_name_part()) { 11875 return nullptr; 11876 } 11877 _has_bits_[0] &= ~0x00000001u; 11878 return name_part_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 11879} 11880inline void UninterpretedOption_NamePart::set_allocated_name_part(std::string* name_part) { 11881 if (name_part != nullptr) { 11882 _has_bits_[0] |= 0x00000001u; 11883 } else { 11884 _has_bits_[0] &= ~0x00000001u; 11885 } 11886 name_part_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name_part, 11887 GetArena()); 11888 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.NamePart.name_part) 11889} 11890 11891// required bool is_extension = 2; 11892inline bool UninterpretedOption_NamePart::_internal_has_is_extension() const { 11893 bool value = (_has_bits_[0] & 0x00000002u) != 0; 11894 return value; 11895} 11896inline bool UninterpretedOption_NamePart::has_is_extension() const { 11897 return _internal_has_is_extension(); 11898} 11899inline void UninterpretedOption_NamePart::clear_is_extension() { 11900 is_extension_ = false; 11901 _has_bits_[0] &= ~0x00000002u; 11902} 11903inline bool UninterpretedOption_NamePart::_internal_is_extension() const { 11904 return is_extension_; 11905} 11906inline bool UninterpretedOption_NamePart::is_extension() const { 11907 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.is_extension) 11908 return _internal_is_extension(); 11909} 11910inline void UninterpretedOption_NamePart::_internal_set_is_extension(bool value) { 11911 _has_bits_[0] |= 0x00000002u; 11912 is_extension_ = value; 11913} 11914inline void UninterpretedOption_NamePart::set_is_extension(bool value) { 11915 _internal_set_is_extension(value); 11916 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.is_extension) 11917} 11918 11919// ------------------------------------------------------------------- 11920 11921// UninterpretedOption 11922 11923// repeated .google.protobuf.UninterpretedOption.NamePart name = 2; 11924inline int UninterpretedOption::_internal_name_size() const { 11925 return name_.size(); 11926} 11927inline int UninterpretedOption::name_size() const { 11928 return _internal_name_size(); 11929} 11930inline void UninterpretedOption::clear_name() { 11931 name_.Clear(); 11932} 11933inline PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::mutable_name(int index) { 11934 // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.name) 11935 return name_.Mutable(index); 11936} 11937inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >* 11938UninterpretedOption::mutable_name() { 11939 // @@protoc_insertion_point(field_mutable_list:google.protobuf.UninterpretedOption.name) 11940 return &name_; 11941} 11942inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& UninterpretedOption::_internal_name(int index) const { 11943 return name_.Get(index); 11944} 11945inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& UninterpretedOption::name(int index) const { 11946 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.name) 11947 return _internal_name(index); 11948} 11949inline PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::_internal_add_name() { 11950 return name_.Add(); 11951} 11952inline PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::add_name() { 11953 // @@protoc_insertion_point(field_add:google.protobuf.UninterpretedOption.name) 11954 return _internal_add_name(); 11955} 11956inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >& 11957UninterpretedOption::name() const { 11958 // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.name) 11959 return name_; 11960} 11961 11962// optional string identifier_value = 3; 11963inline bool UninterpretedOption::_internal_has_identifier_value() const { 11964 bool value = (_has_bits_[0] & 0x00000001u) != 0; 11965 return value; 11966} 11967inline bool UninterpretedOption::has_identifier_value() const { 11968 return _internal_has_identifier_value(); 11969} 11970inline void UninterpretedOption::clear_identifier_value() { 11971 identifier_value_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 11972 _has_bits_[0] &= ~0x00000001u; 11973} 11974inline const std::string& UninterpretedOption::identifier_value() const { 11975 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.identifier_value) 11976 return _internal_identifier_value(); 11977} 11978inline void UninterpretedOption::set_identifier_value(const std::string& value) { 11979 _internal_set_identifier_value(value); 11980 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.identifier_value) 11981} 11982inline std::string* UninterpretedOption::mutable_identifier_value() { 11983 // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.identifier_value) 11984 return _internal_mutable_identifier_value(); 11985} 11986inline const std::string& UninterpretedOption::_internal_identifier_value() const { 11987 return identifier_value_.Get(); 11988} 11989inline void UninterpretedOption::_internal_set_identifier_value(const std::string& value) { 11990 _has_bits_[0] |= 0x00000001u; 11991 identifier_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 11992} 11993inline void UninterpretedOption::set_identifier_value(std::string&& value) { 11994 _has_bits_[0] |= 0x00000001u; 11995 identifier_value_.Set( 11996 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 11997 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.UninterpretedOption.identifier_value) 11998} 11999inline void UninterpretedOption::set_identifier_value(const char* value) { 12000 GOOGLE_DCHECK(value != nullptr); 12001 _has_bits_[0] |= 0x00000001u; 12002 identifier_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 12003 GetArena()); 12004 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.identifier_value) 12005} 12006inline void UninterpretedOption::set_identifier_value(const char* value, 12007 size_t size) { 12008 _has_bits_[0] |= 0x00000001u; 12009 identifier_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 12010 reinterpret_cast<const char*>(value), size), GetArena()); 12011 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.identifier_value) 12012} 12013inline std::string* UninterpretedOption::_internal_mutable_identifier_value() { 12014 _has_bits_[0] |= 0x00000001u; 12015 return identifier_value_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 12016} 12017inline std::string* UninterpretedOption::release_identifier_value() { 12018 // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.identifier_value) 12019 if (!_internal_has_identifier_value()) { 12020 return nullptr; 12021 } 12022 _has_bits_[0] &= ~0x00000001u; 12023 return identifier_value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 12024} 12025inline void UninterpretedOption::set_allocated_identifier_value(std::string* identifier_value) { 12026 if (identifier_value != nullptr) { 12027 _has_bits_[0] |= 0x00000001u; 12028 } else { 12029 _has_bits_[0] &= ~0x00000001u; 12030 } 12031 identifier_value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), identifier_value, 12032 GetArena()); 12033 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.identifier_value) 12034} 12035 12036// optional uint64 positive_int_value = 4; 12037inline bool UninterpretedOption::_internal_has_positive_int_value() const { 12038 bool value = (_has_bits_[0] & 0x00000008u) != 0; 12039 return value; 12040} 12041inline bool UninterpretedOption::has_positive_int_value() const { 12042 return _internal_has_positive_int_value(); 12043} 12044inline void UninterpretedOption::clear_positive_int_value() { 12045 positive_int_value_ = PROTOBUF_ULONGLONG(0); 12046 _has_bits_[0] &= ~0x00000008u; 12047} 12048inline ::PROTOBUF_NAMESPACE_ID::uint64 UninterpretedOption::_internal_positive_int_value() const { 12049 return positive_int_value_; 12050} 12051inline ::PROTOBUF_NAMESPACE_ID::uint64 UninterpretedOption::positive_int_value() const { 12052 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.positive_int_value) 12053 return _internal_positive_int_value(); 12054} 12055inline void UninterpretedOption::_internal_set_positive_int_value(::PROTOBUF_NAMESPACE_ID::uint64 value) { 12056 _has_bits_[0] |= 0x00000008u; 12057 positive_int_value_ = value; 12058} 12059inline void UninterpretedOption::set_positive_int_value(::PROTOBUF_NAMESPACE_ID::uint64 value) { 12060 _internal_set_positive_int_value(value); 12061 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.positive_int_value) 12062} 12063 12064// optional int64 negative_int_value = 5; 12065inline bool UninterpretedOption::_internal_has_negative_int_value() const { 12066 bool value = (_has_bits_[0] & 0x00000010u) != 0; 12067 return value; 12068} 12069inline bool UninterpretedOption::has_negative_int_value() const { 12070 return _internal_has_negative_int_value(); 12071} 12072inline void UninterpretedOption::clear_negative_int_value() { 12073 negative_int_value_ = PROTOBUF_LONGLONG(0); 12074 _has_bits_[0] &= ~0x00000010u; 12075} 12076inline ::PROTOBUF_NAMESPACE_ID::int64 UninterpretedOption::_internal_negative_int_value() const { 12077 return negative_int_value_; 12078} 12079inline ::PROTOBUF_NAMESPACE_ID::int64 UninterpretedOption::negative_int_value() const { 12080 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.negative_int_value) 12081 return _internal_negative_int_value(); 12082} 12083inline void UninterpretedOption::_internal_set_negative_int_value(::PROTOBUF_NAMESPACE_ID::int64 value) { 12084 _has_bits_[0] |= 0x00000010u; 12085 negative_int_value_ = value; 12086} 12087inline void UninterpretedOption::set_negative_int_value(::PROTOBUF_NAMESPACE_ID::int64 value) { 12088 _internal_set_negative_int_value(value); 12089 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.negative_int_value) 12090} 12091 12092// optional double double_value = 6; 12093inline bool UninterpretedOption::_internal_has_double_value() const { 12094 bool value = (_has_bits_[0] & 0x00000020u) != 0; 12095 return value; 12096} 12097inline bool UninterpretedOption::has_double_value() const { 12098 return _internal_has_double_value(); 12099} 12100inline void UninterpretedOption::clear_double_value() { 12101 double_value_ = 0; 12102 _has_bits_[0] &= ~0x00000020u; 12103} 12104inline double UninterpretedOption::_internal_double_value() const { 12105 return double_value_; 12106} 12107inline double UninterpretedOption::double_value() const { 12108 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.double_value) 12109 return _internal_double_value(); 12110} 12111inline void UninterpretedOption::_internal_set_double_value(double value) { 12112 _has_bits_[0] |= 0x00000020u; 12113 double_value_ = value; 12114} 12115inline void UninterpretedOption::set_double_value(double value) { 12116 _internal_set_double_value(value); 12117 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.double_value) 12118} 12119 12120// optional bytes string_value = 7; 12121inline bool UninterpretedOption::_internal_has_string_value() const { 12122 bool value = (_has_bits_[0] & 0x00000002u) != 0; 12123 return value; 12124} 12125inline bool UninterpretedOption::has_string_value() const { 12126 return _internal_has_string_value(); 12127} 12128inline void UninterpretedOption::clear_string_value() { 12129 string_value_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 12130 _has_bits_[0] &= ~0x00000002u; 12131} 12132inline const std::string& UninterpretedOption::string_value() const { 12133 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.string_value) 12134 return _internal_string_value(); 12135} 12136inline void UninterpretedOption::set_string_value(const std::string& value) { 12137 _internal_set_string_value(value); 12138 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.string_value) 12139} 12140inline std::string* UninterpretedOption::mutable_string_value() { 12141 // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.string_value) 12142 return _internal_mutable_string_value(); 12143} 12144inline const std::string& UninterpretedOption::_internal_string_value() const { 12145 return string_value_.Get(); 12146} 12147inline void UninterpretedOption::_internal_set_string_value(const std::string& value) { 12148 _has_bits_[0] |= 0x00000002u; 12149 string_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 12150} 12151inline void UninterpretedOption::set_string_value(std::string&& value) { 12152 _has_bits_[0] |= 0x00000002u; 12153 string_value_.Set( 12154 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 12155 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.UninterpretedOption.string_value) 12156} 12157inline void UninterpretedOption::set_string_value(const char* value) { 12158 GOOGLE_DCHECK(value != nullptr); 12159 _has_bits_[0] |= 0x00000002u; 12160 string_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 12161 GetArena()); 12162 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.string_value) 12163} 12164inline void UninterpretedOption::set_string_value(const void* value, 12165 size_t size) { 12166 _has_bits_[0] |= 0x00000002u; 12167 string_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 12168 reinterpret_cast<const char*>(value), size), GetArena()); 12169 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.string_value) 12170} 12171inline std::string* UninterpretedOption::_internal_mutable_string_value() { 12172 _has_bits_[0] |= 0x00000002u; 12173 return string_value_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 12174} 12175inline std::string* UninterpretedOption::release_string_value() { 12176 // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.string_value) 12177 if (!_internal_has_string_value()) { 12178 return nullptr; 12179 } 12180 _has_bits_[0] &= ~0x00000002u; 12181 return string_value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 12182} 12183inline void UninterpretedOption::set_allocated_string_value(std::string* string_value) { 12184 if (string_value != nullptr) { 12185 _has_bits_[0] |= 0x00000002u; 12186 } else { 12187 _has_bits_[0] &= ~0x00000002u; 12188 } 12189 string_value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), string_value, 12190 GetArena()); 12191 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.string_value) 12192} 12193 12194// optional string aggregate_value = 8; 12195inline bool UninterpretedOption::_internal_has_aggregate_value() const { 12196 bool value = (_has_bits_[0] & 0x00000004u) != 0; 12197 return value; 12198} 12199inline bool UninterpretedOption::has_aggregate_value() const { 12200 return _internal_has_aggregate_value(); 12201} 12202inline void UninterpretedOption::clear_aggregate_value() { 12203 aggregate_value_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 12204 _has_bits_[0] &= ~0x00000004u; 12205} 12206inline const std::string& UninterpretedOption::aggregate_value() const { 12207 // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggregate_value) 12208 return _internal_aggregate_value(); 12209} 12210inline void UninterpretedOption::set_aggregate_value(const std::string& value) { 12211 _internal_set_aggregate_value(value); 12212 // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggregate_value) 12213} 12214inline std::string* UninterpretedOption::mutable_aggregate_value() { 12215 // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.aggregate_value) 12216 return _internal_mutable_aggregate_value(); 12217} 12218inline const std::string& UninterpretedOption::_internal_aggregate_value() const { 12219 return aggregate_value_.Get(); 12220} 12221inline void UninterpretedOption::_internal_set_aggregate_value(const std::string& value) { 12222 _has_bits_[0] |= 0x00000004u; 12223 aggregate_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 12224} 12225inline void UninterpretedOption::set_aggregate_value(std::string&& value) { 12226 _has_bits_[0] |= 0x00000004u; 12227 aggregate_value_.Set( 12228 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 12229 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.UninterpretedOption.aggregate_value) 12230} 12231inline void UninterpretedOption::set_aggregate_value(const char* value) { 12232 GOOGLE_DCHECK(value != nullptr); 12233 _has_bits_[0] |= 0x00000004u; 12234 aggregate_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 12235 GetArena()); 12236 // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.aggregate_value) 12237} 12238inline void UninterpretedOption::set_aggregate_value(const char* value, 12239 size_t size) { 12240 _has_bits_[0] |= 0x00000004u; 12241 aggregate_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 12242 reinterpret_cast<const char*>(value), size), GetArena()); 12243 // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.aggregate_value) 12244} 12245inline std::string* UninterpretedOption::_internal_mutable_aggregate_value() { 12246 _has_bits_[0] |= 0x00000004u; 12247 return aggregate_value_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 12248} 12249inline std::string* UninterpretedOption::release_aggregate_value() { 12250 // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.aggregate_value) 12251 if (!_internal_has_aggregate_value()) { 12252 return nullptr; 12253 } 12254 _has_bits_[0] &= ~0x00000004u; 12255 return aggregate_value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 12256} 12257inline void UninterpretedOption::set_allocated_aggregate_value(std::string* aggregate_value) { 12258 if (aggregate_value != nullptr) { 12259 _has_bits_[0] |= 0x00000004u; 12260 } else { 12261 _has_bits_[0] &= ~0x00000004u; 12262 } 12263 aggregate_value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), aggregate_value, 12264 GetArena()); 12265 // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.aggregate_value) 12266} 12267 12268// ------------------------------------------------------------------- 12269 12270// SourceCodeInfo_Location 12271 12272// repeated int32 path = 1 [packed = true]; 12273inline int SourceCodeInfo_Location::_internal_path_size() const { 12274 return path_.size(); 12275} 12276inline int SourceCodeInfo_Location::path_size() const { 12277 return _internal_path_size(); 12278} 12279inline void SourceCodeInfo_Location::clear_path() { 12280 path_.Clear(); 12281} 12282inline ::PROTOBUF_NAMESPACE_ID::int32 SourceCodeInfo_Location::_internal_path(int index) const { 12283 return path_.Get(index); 12284} 12285inline ::PROTOBUF_NAMESPACE_ID::int32 SourceCodeInfo_Location::path(int index) const { 12286 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.path) 12287 return _internal_path(index); 12288} 12289inline void SourceCodeInfo_Location::set_path(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) { 12290 path_.Set(index, value); 12291 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.path) 12292} 12293inline void SourceCodeInfo_Location::_internal_add_path(::PROTOBUF_NAMESPACE_ID::int32 value) { 12294 path_.Add(value); 12295} 12296inline void SourceCodeInfo_Location::add_path(::PROTOBUF_NAMESPACE_ID::int32 value) { 12297 _internal_add_path(value); 12298 // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.path) 12299} 12300inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 12301SourceCodeInfo_Location::_internal_path() const { 12302 return path_; 12303} 12304inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 12305SourceCodeInfo_Location::path() const { 12306 // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.path) 12307 return _internal_path(); 12308} 12309inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 12310SourceCodeInfo_Location::_internal_mutable_path() { 12311 return &path_; 12312} 12313inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 12314SourceCodeInfo_Location::mutable_path() { 12315 // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.path) 12316 return _internal_mutable_path(); 12317} 12318 12319// repeated int32 span = 2 [packed = true]; 12320inline int SourceCodeInfo_Location::_internal_span_size() const { 12321 return span_.size(); 12322} 12323inline int SourceCodeInfo_Location::span_size() const { 12324 return _internal_span_size(); 12325} 12326inline void SourceCodeInfo_Location::clear_span() { 12327 span_.Clear(); 12328} 12329inline ::PROTOBUF_NAMESPACE_ID::int32 SourceCodeInfo_Location::_internal_span(int index) const { 12330 return span_.Get(index); 12331} 12332inline ::PROTOBUF_NAMESPACE_ID::int32 SourceCodeInfo_Location::span(int index) const { 12333 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.span) 12334 return _internal_span(index); 12335} 12336inline void SourceCodeInfo_Location::set_span(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) { 12337 span_.Set(index, value); 12338 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.span) 12339} 12340inline void SourceCodeInfo_Location::_internal_add_span(::PROTOBUF_NAMESPACE_ID::int32 value) { 12341 span_.Add(value); 12342} 12343inline void SourceCodeInfo_Location::add_span(::PROTOBUF_NAMESPACE_ID::int32 value) { 12344 _internal_add_span(value); 12345 // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.span) 12346} 12347inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 12348SourceCodeInfo_Location::_internal_span() const { 12349 return span_; 12350} 12351inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 12352SourceCodeInfo_Location::span() const { 12353 // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.span) 12354 return _internal_span(); 12355} 12356inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 12357SourceCodeInfo_Location::_internal_mutable_span() { 12358 return &span_; 12359} 12360inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 12361SourceCodeInfo_Location::mutable_span() { 12362 // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.span) 12363 return _internal_mutable_span(); 12364} 12365 12366// optional string leading_comments = 3; 12367inline bool SourceCodeInfo_Location::_internal_has_leading_comments() const { 12368 bool value = (_has_bits_[0] & 0x00000001u) != 0; 12369 return value; 12370} 12371inline bool SourceCodeInfo_Location::has_leading_comments() const { 12372 return _internal_has_leading_comments(); 12373} 12374inline void SourceCodeInfo_Location::clear_leading_comments() { 12375 leading_comments_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 12376 _has_bits_[0] &= ~0x00000001u; 12377} 12378inline const std::string& SourceCodeInfo_Location::leading_comments() const { 12379 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_comments) 12380 return _internal_leading_comments(); 12381} 12382inline void SourceCodeInfo_Location::set_leading_comments(const std::string& value) { 12383 _internal_set_leading_comments(value); 12384 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_comments) 12385} 12386inline std::string* SourceCodeInfo_Location::mutable_leading_comments() { 12387 // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_comments) 12388 return _internal_mutable_leading_comments(); 12389} 12390inline const std::string& SourceCodeInfo_Location::_internal_leading_comments() const { 12391 return leading_comments_.Get(); 12392} 12393inline void SourceCodeInfo_Location::_internal_set_leading_comments(const std::string& value) { 12394 _has_bits_[0] |= 0x00000001u; 12395 leading_comments_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 12396} 12397inline void SourceCodeInfo_Location::set_leading_comments(std::string&& value) { 12398 _has_bits_[0] |= 0x00000001u; 12399 leading_comments_.Set( 12400 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 12401 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.SourceCodeInfo.Location.leading_comments) 12402} 12403inline void SourceCodeInfo_Location::set_leading_comments(const char* value) { 12404 GOOGLE_DCHECK(value != nullptr); 12405 _has_bits_[0] |= 0x00000001u; 12406 leading_comments_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 12407 GetArena()); 12408 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.leading_comments) 12409} 12410inline void SourceCodeInfo_Location::set_leading_comments(const char* value, 12411 size_t size) { 12412 _has_bits_[0] |= 0x00000001u; 12413 leading_comments_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 12414 reinterpret_cast<const char*>(value), size), GetArena()); 12415 // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_comments) 12416} 12417inline std::string* SourceCodeInfo_Location::_internal_mutable_leading_comments() { 12418 _has_bits_[0] |= 0x00000001u; 12419 return leading_comments_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 12420} 12421inline std::string* SourceCodeInfo_Location::release_leading_comments() { 12422 // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.leading_comments) 12423 if (!_internal_has_leading_comments()) { 12424 return nullptr; 12425 } 12426 _has_bits_[0] &= ~0x00000001u; 12427 return leading_comments_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 12428} 12429inline void SourceCodeInfo_Location::set_allocated_leading_comments(std::string* leading_comments) { 12430 if (leading_comments != nullptr) { 12431 _has_bits_[0] |= 0x00000001u; 12432 } else { 12433 _has_bits_[0] &= ~0x00000001u; 12434 } 12435 leading_comments_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), leading_comments, 12436 GetArena()); 12437 // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.leading_comments) 12438} 12439 12440// optional string trailing_comments = 4; 12441inline bool SourceCodeInfo_Location::_internal_has_trailing_comments() const { 12442 bool value = (_has_bits_[0] & 0x00000002u) != 0; 12443 return value; 12444} 12445inline bool SourceCodeInfo_Location::has_trailing_comments() const { 12446 return _internal_has_trailing_comments(); 12447} 12448inline void SourceCodeInfo_Location::clear_trailing_comments() { 12449 trailing_comments_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 12450 _has_bits_[0] &= ~0x00000002u; 12451} 12452inline const std::string& SourceCodeInfo_Location::trailing_comments() const { 12453 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.trailing_comments) 12454 return _internal_trailing_comments(); 12455} 12456inline void SourceCodeInfo_Location::set_trailing_comments(const std::string& value) { 12457 _internal_set_trailing_comments(value); 12458 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.trailing_comments) 12459} 12460inline std::string* SourceCodeInfo_Location::mutable_trailing_comments() { 12461 // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.trailing_comments) 12462 return _internal_mutable_trailing_comments(); 12463} 12464inline const std::string& SourceCodeInfo_Location::_internal_trailing_comments() const { 12465 return trailing_comments_.Get(); 12466} 12467inline void SourceCodeInfo_Location::_internal_set_trailing_comments(const std::string& value) { 12468 _has_bits_[0] |= 0x00000002u; 12469 trailing_comments_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 12470} 12471inline void SourceCodeInfo_Location::set_trailing_comments(std::string&& value) { 12472 _has_bits_[0] |= 0x00000002u; 12473 trailing_comments_.Set( 12474 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 12475 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.SourceCodeInfo.Location.trailing_comments) 12476} 12477inline void SourceCodeInfo_Location::set_trailing_comments(const char* value) { 12478 GOOGLE_DCHECK(value != nullptr); 12479 _has_bits_[0] |= 0x00000002u; 12480 trailing_comments_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 12481 GetArena()); 12482 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.trailing_comments) 12483} 12484inline void SourceCodeInfo_Location::set_trailing_comments(const char* value, 12485 size_t size) { 12486 _has_bits_[0] |= 0x00000002u; 12487 trailing_comments_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 12488 reinterpret_cast<const char*>(value), size), GetArena()); 12489 // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.trailing_comments) 12490} 12491inline std::string* SourceCodeInfo_Location::_internal_mutable_trailing_comments() { 12492 _has_bits_[0] |= 0x00000002u; 12493 return trailing_comments_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 12494} 12495inline std::string* SourceCodeInfo_Location::release_trailing_comments() { 12496 // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.trailing_comments) 12497 if (!_internal_has_trailing_comments()) { 12498 return nullptr; 12499 } 12500 _has_bits_[0] &= ~0x00000002u; 12501 return trailing_comments_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 12502} 12503inline void SourceCodeInfo_Location::set_allocated_trailing_comments(std::string* trailing_comments) { 12504 if (trailing_comments != nullptr) { 12505 _has_bits_[0] |= 0x00000002u; 12506 } else { 12507 _has_bits_[0] &= ~0x00000002u; 12508 } 12509 trailing_comments_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), trailing_comments, 12510 GetArena()); 12511 // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.trailing_comments) 12512} 12513 12514// repeated string leading_detached_comments = 6; 12515inline int SourceCodeInfo_Location::_internal_leading_detached_comments_size() const { 12516 return leading_detached_comments_.size(); 12517} 12518inline int SourceCodeInfo_Location::leading_detached_comments_size() const { 12519 return _internal_leading_detached_comments_size(); 12520} 12521inline void SourceCodeInfo_Location::clear_leading_detached_comments() { 12522 leading_detached_comments_.Clear(); 12523} 12524inline std::string* SourceCodeInfo_Location::add_leading_detached_comments() { 12525 // @@protoc_insertion_point(field_add_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) 12526 return _internal_add_leading_detached_comments(); 12527} 12528inline const std::string& SourceCodeInfo_Location::_internal_leading_detached_comments(int index) const { 12529 return leading_detached_comments_.Get(index); 12530} 12531inline const std::string& SourceCodeInfo_Location::leading_detached_comments(int index) const { 12532 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) 12533 return _internal_leading_detached_comments(index); 12534} 12535inline std::string* SourceCodeInfo_Location::mutable_leading_detached_comments(int index) { 12536 // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) 12537 return leading_detached_comments_.Mutable(index); 12538} 12539inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const std::string& value) { 12540 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) 12541 leading_detached_comments_.Mutable(index)->assign(value); 12542} 12543inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, std::string&& value) { 12544 // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) 12545 leading_detached_comments_.Mutable(index)->assign(std::move(value)); 12546} 12547inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value) { 12548 GOOGLE_DCHECK(value != nullptr); 12549 leading_detached_comments_.Mutable(index)->assign(value); 12550 // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) 12551} 12552inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value, size_t size) { 12553 leading_detached_comments_.Mutable(index)->assign( 12554 reinterpret_cast<const char*>(value), size); 12555 // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) 12556} 12557inline std::string* SourceCodeInfo_Location::_internal_add_leading_detached_comments() { 12558 return leading_detached_comments_.Add(); 12559} 12560inline void SourceCodeInfo_Location::add_leading_detached_comments(const std::string& value) { 12561 leading_detached_comments_.Add()->assign(value); 12562 // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) 12563} 12564inline void SourceCodeInfo_Location::add_leading_detached_comments(std::string&& value) { 12565 leading_detached_comments_.Add(std::move(value)); 12566 // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) 12567} 12568inline void SourceCodeInfo_Location::add_leading_detached_comments(const char* value) { 12569 GOOGLE_DCHECK(value != nullptr); 12570 leading_detached_comments_.Add()->assign(value); 12571 // @@protoc_insertion_point(field_add_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) 12572} 12573inline void SourceCodeInfo_Location::add_leading_detached_comments(const char* value, size_t size) { 12574 leading_detached_comments_.Add()->assign(reinterpret_cast<const char*>(value), size); 12575 // @@protoc_insertion_point(field_add_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) 12576} 12577inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& 12578SourceCodeInfo_Location::leading_detached_comments() const { 12579 // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) 12580 return leading_detached_comments_; 12581} 12582inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* 12583SourceCodeInfo_Location::mutable_leading_detached_comments() { 12584 // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) 12585 return &leading_detached_comments_; 12586} 12587 12588// ------------------------------------------------------------------- 12589 12590// SourceCodeInfo 12591 12592// repeated .google.protobuf.SourceCodeInfo.Location location = 1; 12593inline int SourceCodeInfo::_internal_location_size() const { 12594 return location_.size(); 12595} 12596inline int SourceCodeInfo::location_size() const { 12597 return _internal_location_size(); 12598} 12599inline void SourceCodeInfo::clear_location() { 12600 location_.Clear(); 12601} 12602inline PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::mutable_location(int index) { 12603 // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.location) 12604 return location_.Mutable(index); 12605} 12606inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >* 12607SourceCodeInfo::mutable_location() { 12608 // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.location) 12609 return &location_; 12610} 12611inline const PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& SourceCodeInfo::_internal_location(int index) const { 12612 return location_.Get(index); 12613} 12614inline const PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& SourceCodeInfo::location(int index) const { 12615 // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.location) 12616 return _internal_location(index); 12617} 12618inline PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::_internal_add_location() { 12619 return location_.Add(); 12620} 12621inline PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::add_location() { 12622 // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.location) 12623 return _internal_add_location(); 12624} 12625inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >& 12626SourceCodeInfo::location() const { 12627 // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.location) 12628 return location_; 12629} 12630 12631// ------------------------------------------------------------------- 12632 12633// GeneratedCodeInfo_Annotation 12634 12635// repeated int32 path = 1 [packed = true]; 12636inline int GeneratedCodeInfo_Annotation::_internal_path_size() const { 12637 return path_.size(); 12638} 12639inline int GeneratedCodeInfo_Annotation::path_size() const { 12640 return _internal_path_size(); 12641} 12642inline void GeneratedCodeInfo_Annotation::clear_path() { 12643 path_.Clear(); 12644} 12645inline ::PROTOBUF_NAMESPACE_ID::int32 GeneratedCodeInfo_Annotation::_internal_path(int index) const { 12646 return path_.Get(index); 12647} 12648inline ::PROTOBUF_NAMESPACE_ID::int32 GeneratedCodeInfo_Annotation::path(int index) const { 12649 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.path) 12650 return _internal_path(index); 12651} 12652inline void GeneratedCodeInfo_Annotation::set_path(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) { 12653 path_.Set(index, value); 12654 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.path) 12655} 12656inline void GeneratedCodeInfo_Annotation::_internal_add_path(::PROTOBUF_NAMESPACE_ID::int32 value) { 12657 path_.Add(value); 12658} 12659inline void GeneratedCodeInfo_Annotation::add_path(::PROTOBUF_NAMESPACE_ID::int32 value) { 12660 _internal_add_path(value); 12661 // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.Annotation.path) 12662} 12663inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 12664GeneratedCodeInfo_Annotation::_internal_path() const { 12665 return path_; 12666} 12667inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& 12668GeneratedCodeInfo_Annotation::path() const { 12669 // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.Annotation.path) 12670 return _internal_path(); 12671} 12672inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 12673GeneratedCodeInfo_Annotation::_internal_mutable_path() { 12674 return &path_; 12675} 12676inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* 12677GeneratedCodeInfo_Annotation::mutable_path() { 12678 // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.Annotation.path) 12679 return _internal_mutable_path(); 12680} 12681 12682// optional string source_file = 2; 12683inline bool GeneratedCodeInfo_Annotation::_internal_has_source_file() const { 12684 bool value = (_has_bits_[0] & 0x00000001u) != 0; 12685 return value; 12686} 12687inline bool GeneratedCodeInfo_Annotation::has_source_file() const { 12688 return _internal_has_source_file(); 12689} 12690inline void GeneratedCodeInfo_Annotation::clear_source_file() { 12691 source_file_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 12692 _has_bits_[0] &= ~0x00000001u; 12693} 12694inline const std::string& GeneratedCodeInfo_Annotation::source_file() const { 12695 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.source_file) 12696 return _internal_source_file(); 12697} 12698inline void GeneratedCodeInfo_Annotation::set_source_file(const std::string& value) { 12699 _internal_set_source_file(value); 12700 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.source_file) 12701} 12702inline std::string* GeneratedCodeInfo_Annotation::mutable_source_file() { 12703 // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.Annotation.source_file) 12704 return _internal_mutable_source_file(); 12705} 12706inline const std::string& GeneratedCodeInfo_Annotation::_internal_source_file() const { 12707 return source_file_.Get(); 12708} 12709inline void GeneratedCodeInfo_Annotation::_internal_set_source_file(const std::string& value) { 12710 _has_bits_[0] |= 0x00000001u; 12711 source_file_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); 12712} 12713inline void GeneratedCodeInfo_Annotation::set_source_file(std::string&& value) { 12714 _has_bits_[0] |= 0x00000001u; 12715 source_file_.Set( 12716 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); 12717 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.GeneratedCodeInfo.Annotation.source_file) 12718} 12719inline void GeneratedCodeInfo_Annotation::set_source_file(const char* value) { 12720 GOOGLE_DCHECK(value != nullptr); 12721 _has_bits_[0] |= 0x00000001u; 12722 source_file_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), 12723 GetArena()); 12724 // @@protoc_insertion_point(field_set_char:google.protobuf.GeneratedCodeInfo.Annotation.source_file) 12725} 12726inline void GeneratedCodeInfo_Annotation::set_source_file(const char* value, 12727 size_t size) { 12728 _has_bits_[0] |= 0x00000001u; 12729 source_file_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( 12730 reinterpret_cast<const char*>(value), size), GetArena()); 12731 // @@protoc_insertion_point(field_set_pointer:google.protobuf.GeneratedCodeInfo.Annotation.source_file) 12732} 12733inline std::string* GeneratedCodeInfo_Annotation::_internal_mutable_source_file() { 12734 _has_bits_[0] |= 0x00000001u; 12735 return source_file_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 12736} 12737inline std::string* GeneratedCodeInfo_Annotation::release_source_file() { 12738 // @@protoc_insertion_point(field_release:google.protobuf.GeneratedCodeInfo.Annotation.source_file) 12739 if (!_internal_has_source_file()) { 12740 return nullptr; 12741 } 12742 _has_bits_[0] &= ~0x00000001u; 12743 return source_file_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); 12744} 12745inline void GeneratedCodeInfo_Annotation::set_allocated_source_file(std::string* source_file) { 12746 if (source_file != nullptr) { 12747 _has_bits_[0] |= 0x00000001u; 12748 } else { 12749 _has_bits_[0] &= ~0x00000001u; 12750 } 12751 source_file_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), source_file, 12752 GetArena()); 12753 // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeInfo.Annotation.source_file) 12754} 12755 12756// optional int32 begin = 3; 12757inline bool GeneratedCodeInfo_Annotation::_internal_has_begin() const { 12758 bool value = (_has_bits_[0] & 0x00000002u) != 0; 12759 return value; 12760} 12761inline bool GeneratedCodeInfo_Annotation::has_begin() const { 12762 return _internal_has_begin(); 12763} 12764inline void GeneratedCodeInfo_Annotation::clear_begin() { 12765 begin_ = 0; 12766 _has_bits_[0] &= ~0x00000002u; 12767} 12768inline ::PROTOBUF_NAMESPACE_ID::int32 GeneratedCodeInfo_Annotation::_internal_begin() const { 12769 return begin_; 12770} 12771inline ::PROTOBUF_NAMESPACE_ID::int32 GeneratedCodeInfo_Annotation::begin() const { 12772 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.begin) 12773 return _internal_begin(); 12774} 12775inline void GeneratedCodeInfo_Annotation::_internal_set_begin(::PROTOBUF_NAMESPACE_ID::int32 value) { 12776 _has_bits_[0] |= 0x00000002u; 12777 begin_ = value; 12778} 12779inline void GeneratedCodeInfo_Annotation::set_begin(::PROTOBUF_NAMESPACE_ID::int32 value) { 12780 _internal_set_begin(value); 12781 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.begin) 12782} 12783 12784// optional int32 end = 4; 12785inline bool GeneratedCodeInfo_Annotation::_internal_has_end() const { 12786 bool value = (_has_bits_[0] & 0x00000004u) != 0; 12787 return value; 12788} 12789inline bool GeneratedCodeInfo_Annotation::has_end() const { 12790 return _internal_has_end(); 12791} 12792inline void GeneratedCodeInfo_Annotation::clear_end() { 12793 end_ = 0; 12794 _has_bits_[0] &= ~0x00000004u; 12795} 12796inline ::PROTOBUF_NAMESPACE_ID::int32 GeneratedCodeInfo_Annotation::_internal_end() const { 12797 return end_; 12798} 12799inline ::PROTOBUF_NAMESPACE_ID::int32 GeneratedCodeInfo_Annotation::end() const { 12800 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.end) 12801 return _internal_end(); 12802} 12803inline void GeneratedCodeInfo_Annotation::_internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value) { 12804 _has_bits_[0] |= 0x00000004u; 12805 end_ = value; 12806} 12807inline void GeneratedCodeInfo_Annotation::set_end(::PROTOBUF_NAMESPACE_ID::int32 value) { 12808 _internal_set_end(value); 12809 // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.end) 12810} 12811 12812// ------------------------------------------------------------------- 12813 12814// GeneratedCodeInfo 12815 12816// repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; 12817inline int GeneratedCodeInfo::_internal_annotation_size() const { 12818 return annotation_.size(); 12819} 12820inline int GeneratedCodeInfo::annotation_size() const { 12821 return _internal_annotation_size(); 12822} 12823inline void GeneratedCodeInfo::clear_annotation() { 12824 annotation_.Clear(); 12825} 12826inline PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::mutable_annotation(int index) { 12827 // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.annotation) 12828 return annotation_.Mutable(index); 12829} 12830inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >* 12831GeneratedCodeInfo::mutable_annotation() { 12832 // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.annotation) 12833 return &annotation_; 12834} 12835inline const PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::_internal_annotation(int index) const { 12836 return annotation_.Get(index); 12837} 12838inline const PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::annotation(int index) const { 12839 // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.annotation) 12840 return _internal_annotation(index); 12841} 12842inline PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::_internal_add_annotation() { 12843 return annotation_.Add(); 12844} 12845inline PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::add_annotation() { 12846 // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.annotation) 12847 return _internal_add_annotation(); 12848} 12849inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >& 12850GeneratedCodeInfo::annotation() const { 12851 // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.annotation) 12852 return annotation_; 12853} 12854 12855#ifdef __GNUC__ 12856 #pragma GCC diagnostic pop 12857#endif // __GNUC__ 12858// ------------------------------------------------------------------- 12859 12860// ------------------------------------------------------------------- 12861 12862// ------------------------------------------------------------------- 12863 12864// ------------------------------------------------------------------- 12865 12866// ------------------------------------------------------------------- 12867 12868// ------------------------------------------------------------------- 12869 12870// ------------------------------------------------------------------- 12871 12872// ------------------------------------------------------------------- 12873 12874// ------------------------------------------------------------------- 12875 12876// ------------------------------------------------------------------- 12877 12878// ------------------------------------------------------------------- 12879 12880// ------------------------------------------------------------------- 12881 12882// ------------------------------------------------------------------- 12883 12884// ------------------------------------------------------------------- 12885 12886// ------------------------------------------------------------------- 12887 12888// ------------------------------------------------------------------- 12889 12890// ------------------------------------------------------------------- 12891 12892// ------------------------------------------------------------------- 12893 12894// ------------------------------------------------------------------- 12895 12896// ------------------------------------------------------------------- 12897 12898// ------------------------------------------------------------------- 12899 12900// ------------------------------------------------------------------- 12901 12902// ------------------------------------------------------------------- 12903 12904// ------------------------------------------------------------------- 12905 12906// ------------------------------------------------------------------- 12907 12908// ------------------------------------------------------------------- 12909 12910 12911// @@protoc_insertion_point(namespace_scope) 12912 12913PROTOBUF_NAMESPACE_CLOSE 12914 12915PROTOBUF_NAMESPACE_OPEN 12916 12917template <> struct is_proto_enum< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type> : ::std::true_type {}; 12918template <> 12919inline const EnumDescriptor* GetEnumDescriptor< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type>() { 12920 return PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type_descriptor(); 12921} 12922template <> struct is_proto_enum< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label> : ::std::true_type {}; 12923template <> 12924inline const EnumDescriptor* GetEnumDescriptor< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label>() { 12925 return PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label_descriptor(); 12926} 12927template <> struct is_proto_enum< PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode> : ::std::true_type {}; 12928template <> 12929inline const EnumDescriptor* GetEnumDescriptor< PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode>() { 12930 return PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode_descriptor(); 12931} 12932template <> struct is_proto_enum< PROTOBUF_NAMESPACE_ID::FieldOptions_CType> : ::std::true_type {}; 12933template <> 12934inline const EnumDescriptor* GetEnumDescriptor< PROTOBUF_NAMESPACE_ID::FieldOptions_CType>() { 12935 return PROTOBUF_NAMESPACE_ID::FieldOptions_CType_descriptor(); 12936} 12937template <> struct is_proto_enum< PROTOBUF_NAMESPACE_ID::FieldOptions_JSType> : ::std::true_type {}; 12938template <> 12939inline const EnumDescriptor* GetEnumDescriptor< PROTOBUF_NAMESPACE_ID::FieldOptions_JSType>() { 12940 return PROTOBUF_NAMESPACE_ID::FieldOptions_JSType_descriptor(); 12941} 12942template <> struct is_proto_enum< PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel> : ::std::true_type {}; 12943template <> 12944inline const EnumDescriptor* GetEnumDescriptor< PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel>() { 12945 return PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel_descriptor(); 12946} 12947 12948PROTOBUF_NAMESPACE_CLOSE 12949 12950// @@protoc_insertion_point(global_scope) 12951 12952#include <google/protobuf/port_undef.inc> 12953#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto 12954