| 1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 | // source: google/protobuf/type.proto |
| 3 | |
| 4 | #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ftype_2eproto |
| 5 | #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ftype_2eproto |
| 6 | |
| 7 | #include <limits> |
| 8 | #include <string> |
| 9 | |
| 10 | #include <google/protobuf/port_def.inc> |
| 11 | #if PROTOBUF_VERSION < 3021000 |
| 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 3021012 < 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_util.h> |
| 27 | #include <google/protobuf/metadata_lite.h> |
| 28 | #include <google/protobuf/generated_message_reflection.h> |
| 29 | #include <google/protobuf/message.h> |
| 30 | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
| 31 | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
| 32 | #include <google/protobuf/generated_enum_reflection.h> |
| 33 | #include <google/protobuf/unknown_field_set.h> |
| 34 | #include <google/protobuf/any.pb.h> |
| 35 | #include <google/protobuf/source_context.pb.h> |
| 36 | // @@protoc_insertion_point(includes) |
| 37 | #include <google/protobuf/port_def.inc> |
| 38 | #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftype_2eproto PROTOBUF_EXPORT |
| 39 | PROTOBUF_NAMESPACE_OPEN |
| 40 | namespace internal { |
| 41 | class AnyMetadata; |
| 42 | } // namespace internal |
| 43 | PROTOBUF_NAMESPACE_CLOSE |
| 44 | |
| 45 | // Internal implementation detail -- do not use these members. |
| 46 | struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2ftype_2eproto { |
| 47 | static const uint32_t offsets[]; |
| 48 | }; |
| 49 | PROTOBUF_EXPORT extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ftype_2eproto; |
| 50 | PROTOBUF_NAMESPACE_OPEN |
| 51 | class Enum; |
| 52 | struct EnumDefaultTypeInternal; |
| 53 | PROTOBUF_EXPORT extern EnumDefaultTypeInternal _Enum_default_instance_; |
| 54 | class EnumValue; |
| 55 | struct EnumValueDefaultTypeInternal; |
| 56 | PROTOBUF_EXPORT extern EnumValueDefaultTypeInternal _EnumValue_default_instance_; |
| 57 | class Field; |
| 58 | struct FieldDefaultTypeInternal; |
| 59 | PROTOBUF_EXPORT extern FieldDefaultTypeInternal _Field_default_instance_; |
| 60 | class Option; |
| 61 | struct OptionDefaultTypeInternal; |
| 62 | PROTOBUF_EXPORT extern OptionDefaultTypeInternal _Option_default_instance_; |
| 63 | class Type; |
| 64 | struct TypeDefaultTypeInternal; |
| 65 | PROTOBUF_EXPORT extern TypeDefaultTypeInternal _Type_default_instance_; |
| 66 | PROTOBUF_NAMESPACE_CLOSE |
| 67 | PROTOBUF_NAMESPACE_OPEN |
| 68 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::Enum* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Enum>(Arena*); |
| 69 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumValue* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumValue>(Arena*); |
| 70 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::Field* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Field>(Arena*); |
| 71 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::Option* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Option>(Arena*); |
| 72 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::Type* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Type>(Arena*); |
| 73 | PROTOBUF_NAMESPACE_CLOSE |
| 74 | PROTOBUF_NAMESPACE_OPEN |
| 75 | |
| 76 | enum Field_Kind : int { |
| 77 | Field_Kind_TYPE_UNKNOWN = 0, |
| 78 | Field_Kind_TYPE_DOUBLE = 1, |
| 79 | Field_Kind_TYPE_FLOAT = 2, |
| 80 | Field_Kind_TYPE_INT64 = 3, |
| 81 | Field_Kind_TYPE_UINT64 = 4, |
| 82 | Field_Kind_TYPE_INT32 = 5, |
| 83 | Field_Kind_TYPE_FIXED64 = 6, |
| 84 | Field_Kind_TYPE_FIXED32 = 7, |
| 85 | Field_Kind_TYPE_BOOL = 8, |
| 86 | Field_Kind_TYPE_STRING = 9, |
| 87 | Field_Kind_TYPE_GROUP = 10, |
| 88 | Field_Kind_TYPE_MESSAGE = 11, |
| 89 | Field_Kind_TYPE_BYTES = 12, |
| 90 | Field_Kind_TYPE_UINT32 = 13, |
| 91 | Field_Kind_TYPE_ENUM = 14, |
| 92 | Field_Kind_TYPE_SFIXED32 = 15, |
| 93 | Field_Kind_TYPE_SFIXED64 = 16, |
| 94 | Field_Kind_TYPE_SINT32 = 17, |
| 95 | Field_Kind_TYPE_SINT64 = 18, |
| 96 | Field_Kind_Field_Kind_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(), |
| 97 | Field_Kind_Field_Kind_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() |
| 98 | }; |
| 99 | PROTOBUF_EXPORT bool Field_Kind_IsValid(int value); |
| 100 | constexpr Field_Kind Field_Kind_Kind_MIN = Field_Kind_TYPE_UNKNOWN; |
| 101 | constexpr Field_Kind Field_Kind_Kind_MAX = Field_Kind_TYPE_SINT64; |
| 102 | constexpr int Field_Kind_Kind_ARRAYSIZE = Field_Kind_Kind_MAX + 1; |
| 103 | |
| 104 | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Field_Kind_descriptor(); |
| 105 | template<typename T> |
| 106 | inline const std::string& Field_Kind_Name(T enum_t_value) { |
| 107 | static_assert(::std::is_same<T, Field_Kind>::value || |
| 108 | ::std::is_integral<T>::value, |
| 109 | "Incorrect type passed to function Field_Kind_Name." ); |
| 110 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
| 111 | descriptor: Field_Kind_descriptor(), value: enum_t_value); |
| 112 | } |
| 113 | inline bool Field_Kind_Parse( |
| 114 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Field_Kind* value) { |
| 115 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Field_Kind>( |
| 116 | descriptor: Field_Kind_descriptor(), name, value); |
| 117 | } |
| 118 | enum Field_Cardinality : int { |
| 119 | Field_Cardinality_CARDINALITY_UNKNOWN = 0, |
| 120 | Field_Cardinality_CARDINALITY_OPTIONAL = 1, |
| 121 | Field_Cardinality_CARDINALITY_REQUIRED = 2, |
| 122 | Field_Cardinality_CARDINALITY_REPEATED = 3, |
| 123 | Field_Cardinality_Field_Cardinality_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(), |
| 124 | Field_Cardinality_Field_Cardinality_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() |
| 125 | }; |
| 126 | PROTOBUF_EXPORT bool Field_Cardinality_IsValid(int value); |
| 127 | constexpr Field_Cardinality Field_Cardinality_Cardinality_MIN = Field_Cardinality_CARDINALITY_UNKNOWN; |
| 128 | constexpr Field_Cardinality Field_Cardinality_Cardinality_MAX = Field_Cardinality_CARDINALITY_REPEATED; |
| 129 | constexpr int Field_Cardinality_Cardinality_ARRAYSIZE = Field_Cardinality_Cardinality_MAX + 1; |
| 130 | |
| 131 | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Field_Cardinality_descriptor(); |
| 132 | template<typename T> |
| 133 | inline const std::string& Field_Cardinality_Name(T enum_t_value) { |
| 134 | static_assert(::std::is_same<T, Field_Cardinality>::value || |
| 135 | ::std::is_integral<T>::value, |
| 136 | "Incorrect type passed to function Field_Cardinality_Name." ); |
| 137 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
| 138 | descriptor: Field_Cardinality_descriptor(), value: enum_t_value); |
| 139 | } |
| 140 | inline bool Field_Cardinality_Parse( |
| 141 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Field_Cardinality* value) { |
| 142 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Field_Cardinality>( |
| 143 | descriptor: Field_Cardinality_descriptor(), name, value); |
| 144 | } |
| 145 | enum Syntax : int { |
| 146 | SYNTAX_PROTO2 = 0, |
| 147 | SYNTAX_PROTO3 = 1, |
| 148 | Syntax_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(), |
| 149 | Syntax_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() |
| 150 | }; |
| 151 | PROTOBUF_EXPORT bool Syntax_IsValid(int value); |
| 152 | constexpr Syntax Syntax_MIN = SYNTAX_PROTO2; |
| 153 | constexpr Syntax Syntax_MAX = SYNTAX_PROTO3; |
| 154 | constexpr int Syntax_ARRAYSIZE = Syntax_MAX + 1; |
| 155 | |
| 156 | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Syntax_descriptor(); |
| 157 | template<typename T> |
| 158 | inline const std::string& Syntax_Name(T enum_t_value) { |
| 159 | static_assert(::std::is_same<T, Syntax>::value || |
| 160 | ::std::is_integral<T>::value, |
| 161 | "Incorrect type passed to function Syntax_Name." ); |
| 162 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
| 163 | descriptor: Syntax_descriptor(), value: enum_t_value); |
| 164 | } |
| 165 | inline bool Syntax_Parse( |
| 166 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Syntax* value) { |
| 167 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Syntax>( |
| 168 | descriptor: Syntax_descriptor(), name, value); |
| 169 | } |
| 170 | // =================================================================== |
| 171 | |
| 172 | class PROTOBUF_EXPORT Type final : |
| 173 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Type) */ { |
| 174 | public: |
| 175 | inline Type() : Type(nullptr) {} |
| 176 | ~Type() override; |
| 177 | explicit PROTOBUF_CONSTEXPR Type(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 178 | |
| 179 | Type(const Type& from); |
| 180 | Type(Type&& from) noexcept |
| 181 | : Type() { |
| 182 | *this = ::std::move(from); |
| 183 | } |
| 184 | |
| 185 | inline Type& operator=(const Type& from) { |
| 186 | CopyFrom(from); |
| 187 | return *this; |
| 188 | } |
| 189 | inline Type& operator=(Type&& from) noexcept { |
| 190 | if (this == &from) return *this; |
| 191 | if (GetOwningArena() == from.GetOwningArena() |
| 192 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 193 | && GetOwningArena() != nullptr |
| 194 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 195 | ) { |
| 196 | InternalSwap(other: &from); |
| 197 | } else { |
| 198 | CopyFrom(from); |
| 199 | } |
| 200 | return *this; |
| 201 | } |
| 202 | |
| 203 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 204 | return GetDescriptor(); |
| 205 | } |
| 206 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 207 | return default_instance().GetMetadata().descriptor; |
| 208 | } |
| 209 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 210 | return default_instance().GetMetadata().reflection; |
| 211 | } |
| 212 | static const Type& default_instance() { |
| 213 | return *internal_default_instance(); |
| 214 | } |
| 215 | static inline const Type* internal_default_instance() { |
| 216 | return reinterpret_cast<const Type*>( |
| 217 | &_Type_default_instance_); |
| 218 | } |
| 219 | static constexpr int kIndexInFileMessages = |
| 220 | 0; |
| 221 | |
| 222 | friend void swap(Type& a, Type& b) { |
| 223 | a.Swap(other: &b); |
| 224 | } |
| 225 | inline void Swap(Type* other) { |
| 226 | if (other == this) return; |
| 227 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 228 | if (GetOwningArena() != nullptr && |
| 229 | GetOwningArena() == other->GetOwningArena()) { |
| 230 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 231 | if (GetOwningArena() == other->GetOwningArena()) { |
| 232 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 233 | InternalSwap(other); |
| 234 | } else { |
| 235 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 236 | } |
| 237 | } |
| 238 | void UnsafeArenaSwap(Type* other) { |
| 239 | if (other == this) return; |
| 240 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 241 | InternalSwap(other); |
| 242 | } |
| 243 | |
| 244 | // implements Message ---------------------------------------------- |
| 245 | |
| 246 | Type* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 247 | return CreateMaybeMessage<Type>(arena); |
| 248 | } |
| 249 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 250 | void CopyFrom(const Type& from); |
| 251 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 252 | void MergeFrom( const Type& from) { |
| 253 | Type::MergeImpl(to_msg&: *this, from_msg: from); |
| 254 | } |
| 255 | private: |
| 256 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 257 | public: |
| 258 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 259 | bool IsInitialized() const final; |
| 260 | |
| 261 | size_t ByteSizeLong() const final; |
| 262 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 263 | uint8_t* _InternalSerialize( |
| 264 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 265 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 266 | |
| 267 | private: |
| 268 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 269 | void SharedDtor(); |
| 270 | void SetCachedSize(int size) const final; |
| 271 | void InternalSwap(Type* other); |
| 272 | |
| 273 | private: |
| 274 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 275 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 276 | return "google.protobuf.Type" ; |
| 277 | } |
| 278 | protected: |
| 279 | explicit Type(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 280 | bool is_message_owned = false); |
| 281 | public: |
| 282 | |
| 283 | static const ClassData _class_data_; |
| 284 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 285 | |
| 286 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 287 | |
| 288 | // nested types ---------------------------------------------------- |
| 289 | |
| 290 | // accessors ------------------------------------------------------- |
| 291 | |
| 292 | enum : int { |
| 293 | kFieldsFieldNumber = 2, |
| 294 | kOneofsFieldNumber = 3, |
| 295 | kOptionsFieldNumber = 4, |
| 296 | kNameFieldNumber = 1, |
| 297 | kSourceContextFieldNumber = 5, |
| 298 | kSyntaxFieldNumber = 6, |
| 299 | }; |
| 300 | // repeated .google.protobuf.Field fields = 2; |
| 301 | int fields_size() const; |
| 302 | private: |
| 303 | int _internal_fields_size() const; |
| 304 | public: |
| 305 | void clear_fields(); |
| 306 | ::PROTOBUF_NAMESPACE_ID::Field* mutable_fields(int index); |
| 307 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Field >* |
| 308 | mutable_fields(); |
| 309 | private: |
| 310 | const ::PROTOBUF_NAMESPACE_ID::Field& _internal_fields(int index) const; |
| 311 | ::PROTOBUF_NAMESPACE_ID::Field* _internal_add_fields(); |
| 312 | public: |
| 313 | const ::PROTOBUF_NAMESPACE_ID::Field& fields(int index) const; |
| 314 | ::PROTOBUF_NAMESPACE_ID::Field* add_fields(); |
| 315 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Field >& |
| 316 | fields() const; |
| 317 | |
| 318 | // repeated string oneofs = 3; |
| 319 | int oneofs_size() const; |
| 320 | private: |
| 321 | int _internal_oneofs_size() const; |
| 322 | public: |
| 323 | void clear_oneofs(); |
| 324 | const std::string& oneofs(int index) const; |
| 325 | std::string* mutable_oneofs(int index); |
| 326 | void set_oneofs(int index, const std::string& value); |
| 327 | void set_oneofs(int index, std::string&& value); |
| 328 | void set_oneofs(int index, const char* value); |
| 329 | void set_oneofs(int index, const char* value, size_t size); |
| 330 | std::string* add_oneofs(); |
| 331 | void add_oneofs(const std::string& value); |
| 332 | void add_oneofs(std::string&& value); |
| 333 | void add_oneofs(const char* value); |
| 334 | void add_oneofs(const char* value, size_t size); |
| 335 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& oneofs() const; |
| 336 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_oneofs(); |
| 337 | private: |
| 338 | const std::string& _internal_oneofs(int index) const; |
| 339 | std::string* _internal_add_oneofs(); |
| 340 | public: |
| 341 | |
| 342 | // repeated .google.protobuf.Option options = 4; |
| 343 | int options_size() const; |
| 344 | private: |
| 345 | int _internal_options_size() const; |
| 346 | public: |
| 347 | void clear_options(); |
| 348 | ::PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index); |
| 349 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >* |
| 350 | mutable_options(); |
| 351 | private: |
| 352 | const ::PROTOBUF_NAMESPACE_ID::Option& _internal_options(int index) const; |
| 353 | ::PROTOBUF_NAMESPACE_ID::Option* _internal_add_options(); |
| 354 | public: |
| 355 | const ::PROTOBUF_NAMESPACE_ID::Option& options(int index) const; |
| 356 | ::PROTOBUF_NAMESPACE_ID::Option* add_options(); |
| 357 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >& |
| 358 | options() const; |
| 359 | |
| 360 | // string name = 1; |
| 361 | void clear_name(); |
| 362 | const std::string& name() const; |
| 363 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 364 | void set_name(ArgT0&& arg0, ArgT... args); |
| 365 | std::string* mutable_name(); |
| 366 | PROTOBUF_NODISCARD std::string* release_name(); |
| 367 | void set_allocated_name(std::string* name); |
| 368 | private: |
| 369 | const std::string& _internal_name() const; |
| 370 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
| 371 | std::string* _internal_mutable_name(); |
| 372 | public: |
| 373 | |
| 374 | // .google.protobuf.SourceContext source_context = 5; |
| 375 | bool has_source_context() const; |
| 376 | private: |
| 377 | bool _internal_has_source_context() const; |
| 378 | public: |
| 379 | void clear_source_context(); |
| 380 | const ::PROTOBUF_NAMESPACE_ID::SourceContext& source_context() const; |
| 381 | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::SourceContext* release_source_context(); |
| 382 | ::PROTOBUF_NAMESPACE_ID::SourceContext* mutable_source_context(); |
| 383 | void set_allocated_source_context(::PROTOBUF_NAMESPACE_ID::SourceContext* source_context); |
| 384 | private: |
| 385 | const ::PROTOBUF_NAMESPACE_ID::SourceContext& _internal_source_context() const; |
| 386 | ::PROTOBUF_NAMESPACE_ID::SourceContext* _internal_mutable_source_context(); |
| 387 | public: |
| 388 | void unsafe_arena_set_allocated_source_context( |
| 389 | ::PROTOBUF_NAMESPACE_ID::SourceContext* source_context); |
| 390 | ::PROTOBUF_NAMESPACE_ID::SourceContext* unsafe_arena_release_source_context(); |
| 391 | |
| 392 | // .google.protobuf.Syntax syntax = 6; |
| 393 | void clear_syntax(); |
| 394 | ::PROTOBUF_NAMESPACE_ID::Syntax syntax() const; |
| 395 | void set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value); |
| 396 | private: |
| 397 | ::PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const; |
| 398 | void _internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value); |
| 399 | public: |
| 400 | |
| 401 | // @@protoc_insertion_point(class_scope:google.protobuf.Type) |
| 402 | private: |
| 403 | class _Internal; |
| 404 | |
| 405 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 406 | typedef void InternalArenaConstructable_; |
| 407 | typedef void DestructorSkippable_; |
| 408 | struct Impl_ { |
| 409 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Field > fields_; |
| 410 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> oneofs_; |
| 411 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option > options_; |
| 412 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
| 413 | ::PROTOBUF_NAMESPACE_ID::SourceContext* source_context_; |
| 414 | int syntax_; |
| 415 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 416 | }; |
| 417 | union { Impl_ _impl_; }; |
| 418 | friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto; |
| 419 | }; |
| 420 | // ------------------------------------------------------------------- |
| 421 | |
| 422 | class PROTOBUF_EXPORT Field final : |
| 423 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Field) */ { |
| 424 | public: |
| 425 | inline Field() : Field(nullptr) {} |
| 426 | ~Field() override; |
| 427 | explicit PROTOBUF_CONSTEXPR Field(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 428 | |
| 429 | Field(const Field& from); |
| 430 | Field(Field&& from) noexcept |
| 431 | : Field() { |
| 432 | *this = ::std::move(from); |
| 433 | } |
| 434 | |
| 435 | inline Field& operator=(const Field& from) { |
| 436 | CopyFrom(from); |
| 437 | return *this; |
| 438 | } |
| 439 | inline Field& operator=(Field&& from) noexcept { |
| 440 | if (this == &from) return *this; |
| 441 | if (GetOwningArena() == from.GetOwningArena() |
| 442 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 443 | && GetOwningArena() != nullptr |
| 444 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 445 | ) { |
| 446 | InternalSwap(other: &from); |
| 447 | } else { |
| 448 | CopyFrom(from); |
| 449 | } |
| 450 | return *this; |
| 451 | } |
| 452 | |
| 453 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 454 | return GetDescriptor(); |
| 455 | } |
| 456 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 457 | return default_instance().GetMetadata().descriptor; |
| 458 | } |
| 459 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 460 | return default_instance().GetMetadata().reflection; |
| 461 | } |
| 462 | static const Field& default_instance() { |
| 463 | return *internal_default_instance(); |
| 464 | } |
| 465 | static inline const Field* internal_default_instance() { |
| 466 | return reinterpret_cast<const Field*>( |
| 467 | &_Field_default_instance_); |
| 468 | } |
| 469 | static constexpr int kIndexInFileMessages = |
| 470 | 1; |
| 471 | |
| 472 | friend void swap(Field& a, Field& b) { |
| 473 | a.Swap(other: &b); |
| 474 | } |
| 475 | inline void Swap(Field* other) { |
| 476 | if (other == this) return; |
| 477 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 478 | if (GetOwningArena() != nullptr && |
| 479 | GetOwningArena() == other->GetOwningArena()) { |
| 480 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 481 | if (GetOwningArena() == other->GetOwningArena()) { |
| 482 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 483 | InternalSwap(other); |
| 484 | } else { |
| 485 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 486 | } |
| 487 | } |
| 488 | void UnsafeArenaSwap(Field* other) { |
| 489 | if (other == this) return; |
| 490 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 491 | InternalSwap(other); |
| 492 | } |
| 493 | |
| 494 | // implements Message ---------------------------------------------- |
| 495 | |
| 496 | Field* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 497 | return CreateMaybeMessage<Field>(arena); |
| 498 | } |
| 499 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 500 | void CopyFrom(const Field& from); |
| 501 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 502 | void MergeFrom( const Field& from) { |
| 503 | Field::MergeImpl(to_msg&: *this, from_msg: from); |
| 504 | } |
| 505 | private: |
| 506 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 507 | public: |
| 508 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 509 | bool IsInitialized() const final; |
| 510 | |
| 511 | size_t ByteSizeLong() const final; |
| 512 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 513 | uint8_t* _InternalSerialize( |
| 514 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 515 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 516 | |
| 517 | private: |
| 518 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 519 | void SharedDtor(); |
| 520 | void SetCachedSize(int size) const final; |
| 521 | void InternalSwap(Field* other); |
| 522 | |
| 523 | private: |
| 524 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 525 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 526 | return "google.protobuf.Field" ; |
| 527 | } |
| 528 | protected: |
| 529 | explicit Field(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 530 | bool is_message_owned = false); |
| 531 | public: |
| 532 | |
| 533 | static const ClassData _class_data_; |
| 534 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 535 | |
| 536 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 537 | |
| 538 | // nested types ---------------------------------------------------- |
| 539 | |
| 540 | typedef Field_Kind Kind; |
| 541 | static constexpr Kind TYPE_UNKNOWN = |
| 542 | Field_Kind_TYPE_UNKNOWN; |
| 543 | static constexpr Kind TYPE_DOUBLE = |
| 544 | Field_Kind_TYPE_DOUBLE; |
| 545 | static constexpr Kind TYPE_FLOAT = |
| 546 | Field_Kind_TYPE_FLOAT; |
| 547 | static constexpr Kind TYPE_INT64 = |
| 548 | Field_Kind_TYPE_INT64; |
| 549 | static constexpr Kind TYPE_UINT64 = |
| 550 | Field_Kind_TYPE_UINT64; |
| 551 | static constexpr Kind TYPE_INT32 = |
| 552 | Field_Kind_TYPE_INT32; |
| 553 | static constexpr Kind TYPE_FIXED64 = |
| 554 | Field_Kind_TYPE_FIXED64; |
| 555 | static constexpr Kind TYPE_FIXED32 = |
| 556 | Field_Kind_TYPE_FIXED32; |
| 557 | static constexpr Kind TYPE_BOOL = |
| 558 | Field_Kind_TYPE_BOOL; |
| 559 | static constexpr Kind TYPE_STRING = |
| 560 | Field_Kind_TYPE_STRING; |
| 561 | static constexpr Kind TYPE_GROUP = |
| 562 | Field_Kind_TYPE_GROUP; |
| 563 | static constexpr Kind TYPE_MESSAGE = |
| 564 | Field_Kind_TYPE_MESSAGE; |
| 565 | static constexpr Kind TYPE_BYTES = |
| 566 | Field_Kind_TYPE_BYTES; |
| 567 | static constexpr Kind TYPE_UINT32 = |
| 568 | Field_Kind_TYPE_UINT32; |
| 569 | static constexpr Kind TYPE_ENUM = |
| 570 | Field_Kind_TYPE_ENUM; |
| 571 | static constexpr Kind TYPE_SFIXED32 = |
| 572 | Field_Kind_TYPE_SFIXED32; |
| 573 | static constexpr Kind TYPE_SFIXED64 = |
| 574 | Field_Kind_TYPE_SFIXED64; |
| 575 | static constexpr Kind TYPE_SINT32 = |
| 576 | Field_Kind_TYPE_SINT32; |
| 577 | static constexpr Kind TYPE_SINT64 = |
| 578 | Field_Kind_TYPE_SINT64; |
| 579 | static inline bool Kind_IsValid(int value) { |
| 580 | return Field_Kind_IsValid(value); |
| 581 | } |
| 582 | static constexpr Kind Kind_MIN = |
| 583 | Field_Kind_Kind_MIN; |
| 584 | static constexpr Kind Kind_MAX = |
| 585 | Field_Kind_Kind_MAX; |
| 586 | static constexpr int Kind_ARRAYSIZE = |
| 587 | Field_Kind_Kind_ARRAYSIZE; |
| 588 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
| 589 | Kind_descriptor() { |
| 590 | return Field_Kind_descriptor(); |
| 591 | } |
| 592 | template<typename T> |
| 593 | static inline const std::string& Kind_Name(T enum_t_value) { |
| 594 | static_assert(::std::is_same<T, Kind>::value || |
| 595 | ::std::is_integral<T>::value, |
| 596 | "Incorrect type passed to function Kind_Name." ); |
| 597 | return Field_Kind_Name(enum_t_value); |
| 598 | } |
| 599 | static inline bool Kind_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
| 600 | Kind* value) { |
| 601 | return Field_Kind_Parse(name, value); |
| 602 | } |
| 603 | |
| 604 | typedef Field_Cardinality Cardinality; |
| 605 | static constexpr Cardinality CARDINALITY_UNKNOWN = |
| 606 | Field_Cardinality_CARDINALITY_UNKNOWN; |
| 607 | static constexpr Cardinality CARDINALITY_OPTIONAL = |
| 608 | Field_Cardinality_CARDINALITY_OPTIONAL; |
| 609 | static constexpr Cardinality CARDINALITY_REQUIRED = |
| 610 | Field_Cardinality_CARDINALITY_REQUIRED; |
| 611 | static constexpr Cardinality CARDINALITY_REPEATED = |
| 612 | Field_Cardinality_CARDINALITY_REPEATED; |
| 613 | static inline bool Cardinality_IsValid(int value) { |
| 614 | return Field_Cardinality_IsValid(value); |
| 615 | } |
| 616 | static constexpr Cardinality Cardinality_MIN = |
| 617 | Field_Cardinality_Cardinality_MIN; |
| 618 | static constexpr Cardinality Cardinality_MAX = |
| 619 | Field_Cardinality_Cardinality_MAX; |
| 620 | static constexpr int Cardinality_ARRAYSIZE = |
| 621 | Field_Cardinality_Cardinality_ARRAYSIZE; |
| 622 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
| 623 | Cardinality_descriptor() { |
| 624 | return Field_Cardinality_descriptor(); |
| 625 | } |
| 626 | template<typename T> |
| 627 | static inline const std::string& Cardinality_Name(T enum_t_value) { |
| 628 | static_assert(::std::is_same<T, Cardinality>::value || |
| 629 | ::std::is_integral<T>::value, |
| 630 | "Incorrect type passed to function Cardinality_Name." ); |
| 631 | return Field_Cardinality_Name(enum_t_value); |
| 632 | } |
| 633 | static inline bool Cardinality_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
| 634 | Cardinality* value) { |
| 635 | return Field_Cardinality_Parse(name, value); |
| 636 | } |
| 637 | |
| 638 | // accessors ------------------------------------------------------- |
| 639 | |
| 640 | enum : int { |
| 641 | kOptionsFieldNumber = 9, |
| 642 | kNameFieldNumber = 4, |
| 643 | kTypeUrlFieldNumber = 6, |
| 644 | kJsonNameFieldNumber = 10, |
| 645 | kDefaultValueFieldNumber = 11, |
| 646 | kKindFieldNumber = 1, |
| 647 | kCardinalityFieldNumber = 2, |
| 648 | kNumberFieldNumber = 3, |
| 649 | kOneofIndexFieldNumber = 7, |
| 650 | kPackedFieldNumber = 8, |
| 651 | }; |
| 652 | // repeated .google.protobuf.Option options = 9; |
| 653 | int options_size() const; |
| 654 | private: |
| 655 | int _internal_options_size() const; |
| 656 | public: |
| 657 | void clear_options(); |
| 658 | ::PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index); |
| 659 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >* |
| 660 | mutable_options(); |
| 661 | private: |
| 662 | const ::PROTOBUF_NAMESPACE_ID::Option& _internal_options(int index) const; |
| 663 | ::PROTOBUF_NAMESPACE_ID::Option* _internal_add_options(); |
| 664 | public: |
| 665 | const ::PROTOBUF_NAMESPACE_ID::Option& options(int index) const; |
| 666 | ::PROTOBUF_NAMESPACE_ID::Option* add_options(); |
| 667 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >& |
| 668 | options() const; |
| 669 | |
| 670 | // string name = 4; |
| 671 | void clear_name(); |
| 672 | const std::string& name() const; |
| 673 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 674 | void set_name(ArgT0&& arg0, ArgT... args); |
| 675 | std::string* mutable_name(); |
| 676 | PROTOBUF_NODISCARD std::string* release_name(); |
| 677 | void set_allocated_name(std::string* name); |
| 678 | private: |
| 679 | const std::string& _internal_name() const; |
| 680 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
| 681 | std::string* _internal_mutable_name(); |
| 682 | public: |
| 683 | |
| 684 | // string type_url = 6; |
| 685 | void clear_type_url(); |
| 686 | const std::string& type_url() const; |
| 687 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 688 | void set_type_url(ArgT0&& arg0, ArgT... args); |
| 689 | std::string* mutable_type_url(); |
| 690 | PROTOBUF_NODISCARD std::string* release_type_url(); |
| 691 | void set_allocated_type_url(std::string* type_url); |
| 692 | private: |
| 693 | const std::string& _internal_type_url() const; |
| 694 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_url(const std::string& value); |
| 695 | std::string* _internal_mutable_type_url(); |
| 696 | public: |
| 697 | |
| 698 | // string json_name = 10; |
| 699 | void clear_json_name(); |
| 700 | const std::string& json_name() const; |
| 701 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 702 | void set_json_name(ArgT0&& arg0, ArgT... args); |
| 703 | std::string* mutable_json_name(); |
| 704 | PROTOBUF_NODISCARD std::string* release_json_name(); |
| 705 | void set_allocated_json_name(std::string* json_name); |
| 706 | private: |
| 707 | const std::string& _internal_json_name() const; |
| 708 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_json_name(const std::string& value); |
| 709 | std::string* _internal_mutable_json_name(); |
| 710 | public: |
| 711 | |
| 712 | // string default_value = 11; |
| 713 | void clear_default_value(); |
| 714 | const std::string& default_value() const; |
| 715 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 716 | void set_default_value(ArgT0&& arg0, ArgT... args); |
| 717 | std::string* mutable_default_value(); |
| 718 | PROTOBUF_NODISCARD std::string* release_default_value(); |
| 719 | void set_allocated_default_value(std::string* default_value); |
| 720 | private: |
| 721 | const std::string& _internal_default_value() const; |
| 722 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_default_value(const std::string& value); |
| 723 | std::string* _internal_mutable_default_value(); |
| 724 | public: |
| 725 | |
| 726 | // .google.protobuf.Field.Kind kind = 1; |
| 727 | void clear_kind(); |
| 728 | ::PROTOBUF_NAMESPACE_ID::Field_Kind kind() const; |
| 729 | void set_kind(::PROTOBUF_NAMESPACE_ID::Field_Kind value); |
| 730 | private: |
| 731 | ::PROTOBUF_NAMESPACE_ID::Field_Kind _internal_kind() const; |
| 732 | void _internal_set_kind(::PROTOBUF_NAMESPACE_ID::Field_Kind value); |
| 733 | public: |
| 734 | |
| 735 | // .google.protobuf.Field.Cardinality cardinality = 2; |
| 736 | void clear_cardinality(); |
| 737 | ::PROTOBUF_NAMESPACE_ID::Field_Cardinality cardinality() const; |
| 738 | void set_cardinality(::PROTOBUF_NAMESPACE_ID::Field_Cardinality value); |
| 739 | private: |
| 740 | ::PROTOBUF_NAMESPACE_ID::Field_Cardinality _internal_cardinality() const; |
| 741 | void _internal_set_cardinality(::PROTOBUF_NAMESPACE_ID::Field_Cardinality value); |
| 742 | public: |
| 743 | |
| 744 | // int32 number = 3; |
| 745 | void clear_number(); |
| 746 | int32_t number() const; |
| 747 | void set_number(int32_t value); |
| 748 | private: |
| 749 | int32_t _internal_number() const; |
| 750 | void _internal_set_number(int32_t value); |
| 751 | public: |
| 752 | |
| 753 | // int32 oneof_index = 7; |
| 754 | void clear_oneof_index(); |
| 755 | int32_t oneof_index() const; |
| 756 | void set_oneof_index(int32_t value); |
| 757 | private: |
| 758 | int32_t _internal_oneof_index() const; |
| 759 | void _internal_set_oneof_index(int32_t value); |
| 760 | public: |
| 761 | |
| 762 | // bool packed = 8; |
| 763 | void clear_packed(); |
| 764 | bool packed() const; |
| 765 | void set_packed(bool value); |
| 766 | private: |
| 767 | bool _internal_packed() const; |
| 768 | void _internal_set_packed(bool value); |
| 769 | public: |
| 770 | |
| 771 | // @@protoc_insertion_point(class_scope:google.protobuf.Field) |
| 772 | private: |
| 773 | class _Internal; |
| 774 | |
| 775 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 776 | typedef void InternalArenaConstructable_; |
| 777 | typedef void DestructorSkippable_; |
| 778 | struct Impl_ { |
| 779 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option > options_; |
| 780 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
| 781 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_url_; |
| 782 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr json_name_; |
| 783 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr default_value_; |
| 784 | int kind_; |
| 785 | int cardinality_; |
| 786 | int32_t number_; |
| 787 | int32_t oneof_index_; |
| 788 | bool packed_; |
| 789 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 790 | }; |
| 791 | union { Impl_ _impl_; }; |
| 792 | friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto; |
| 793 | }; |
| 794 | // ------------------------------------------------------------------- |
| 795 | |
| 796 | class PROTOBUF_EXPORT Enum final : |
| 797 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Enum) */ { |
| 798 | public: |
| 799 | inline Enum() : Enum(nullptr) {} |
| 800 | ~Enum() override; |
| 801 | explicit PROTOBUF_CONSTEXPR Enum(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 802 | |
| 803 | Enum(const Enum& from); |
| 804 | Enum(Enum&& from) noexcept |
| 805 | : Enum() { |
| 806 | *this = ::std::move(from); |
| 807 | } |
| 808 | |
| 809 | inline Enum& operator=(const Enum& from) { |
| 810 | CopyFrom(from); |
| 811 | return *this; |
| 812 | } |
| 813 | inline Enum& operator=(Enum&& from) noexcept { |
| 814 | if (this == &from) return *this; |
| 815 | if (GetOwningArena() == from.GetOwningArena() |
| 816 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 817 | && GetOwningArena() != nullptr |
| 818 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 819 | ) { |
| 820 | InternalSwap(other: &from); |
| 821 | } else { |
| 822 | CopyFrom(from); |
| 823 | } |
| 824 | return *this; |
| 825 | } |
| 826 | |
| 827 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 828 | return GetDescriptor(); |
| 829 | } |
| 830 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 831 | return default_instance().GetMetadata().descriptor; |
| 832 | } |
| 833 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 834 | return default_instance().GetMetadata().reflection; |
| 835 | } |
| 836 | static const Enum& default_instance() { |
| 837 | return *internal_default_instance(); |
| 838 | } |
| 839 | static inline const Enum* internal_default_instance() { |
| 840 | return reinterpret_cast<const Enum*>( |
| 841 | &_Enum_default_instance_); |
| 842 | } |
| 843 | static constexpr int kIndexInFileMessages = |
| 844 | 2; |
| 845 | |
| 846 | friend void swap(Enum& a, Enum& b) { |
| 847 | a.Swap(other: &b); |
| 848 | } |
| 849 | inline void Swap(Enum* other) { |
| 850 | if (other == this) return; |
| 851 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 852 | if (GetOwningArena() != nullptr && |
| 853 | GetOwningArena() == other->GetOwningArena()) { |
| 854 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 855 | if (GetOwningArena() == other->GetOwningArena()) { |
| 856 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 857 | InternalSwap(other); |
| 858 | } else { |
| 859 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 860 | } |
| 861 | } |
| 862 | void UnsafeArenaSwap(Enum* other) { |
| 863 | if (other == this) return; |
| 864 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 865 | InternalSwap(other); |
| 866 | } |
| 867 | |
| 868 | // implements Message ---------------------------------------------- |
| 869 | |
| 870 | Enum* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 871 | return CreateMaybeMessage<Enum>(arena); |
| 872 | } |
| 873 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 874 | void CopyFrom(const Enum& from); |
| 875 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 876 | void MergeFrom( const Enum& from) { |
| 877 | Enum::MergeImpl(to_msg&: *this, from_msg: from); |
| 878 | } |
| 879 | private: |
| 880 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 881 | public: |
| 882 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 883 | bool IsInitialized() const final; |
| 884 | |
| 885 | size_t ByteSizeLong() const final; |
| 886 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 887 | uint8_t* _InternalSerialize( |
| 888 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 889 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 890 | |
| 891 | private: |
| 892 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 893 | void SharedDtor(); |
| 894 | void SetCachedSize(int size) const final; |
| 895 | void InternalSwap(Enum* other); |
| 896 | |
| 897 | private: |
| 898 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 899 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 900 | return "google.protobuf.Enum" ; |
| 901 | } |
| 902 | protected: |
| 903 | explicit Enum(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 904 | bool is_message_owned = false); |
| 905 | public: |
| 906 | |
| 907 | static const ClassData _class_data_; |
| 908 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 909 | |
| 910 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 911 | |
| 912 | // nested types ---------------------------------------------------- |
| 913 | |
| 914 | // accessors ------------------------------------------------------- |
| 915 | |
| 916 | enum : int { |
| 917 | kEnumvalueFieldNumber = 2, |
| 918 | kOptionsFieldNumber = 3, |
| 919 | kNameFieldNumber = 1, |
| 920 | kSourceContextFieldNumber = 4, |
| 921 | kSyntaxFieldNumber = 5, |
| 922 | }; |
| 923 | // repeated .google.protobuf.EnumValue enumvalue = 2; |
| 924 | int enumvalue_size() const; |
| 925 | private: |
| 926 | int _internal_enumvalue_size() const; |
| 927 | public: |
| 928 | void clear_enumvalue(); |
| 929 | ::PROTOBUF_NAMESPACE_ID::EnumValue* mutable_enumvalue(int index); |
| 930 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValue >* |
| 931 | mutable_enumvalue(); |
| 932 | private: |
| 933 | const ::PROTOBUF_NAMESPACE_ID::EnumValue& _internal_enumvalue(int index) const; |
| 934 | ::PROTOBUF_NAMESPACE_ID::EnumValue* _internal_add_enumvalue(); |
| 935 | public: |
| 936 | const ::PROTOBUF_NAMESPACE_ID::EnumValue& enumvalue(int index) const; |
| 937 | ::PROTOBUF_NAMESPACE_ID::EnumValue* add_enumvalue(); |
| 938 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValue >& |
| 939 | enumvalue() const; |
| 940 | |
| 941 | // repeated .google.protobuf.Option options = 3; |
| 942 | int options_size() const; |
| 943 | private: |
| 944 | int _internal_options_size() const; |
| 945 | public: |
| 946 | void clear_options(); |
| 947 | ::PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index); |
| 948 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >* |
| 949 | mutable_options(); |
| 950 | private: |
| 951 | const ::PROTOBUF_NAMESPACE_ID::Option& _internal_options(int index) const; |
| 952 | ::PROTOBUF_NAMESPACE_ID::Option* _internal_add_options(); |
| 953 | public: |
| 954 | const ::PROTOBUF_NAMESPACE_ID::Option& options(int index) const; |
| 955 | ::PROTOBUF_NAMESPACE_ID::Option* add_options(); |
| 956 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >& |
| 957 | options() const; |
| 958 | |
| 959 | // string name = 1; |
| 960 | void clear_name(); |
| 961 | const std::string& name() const; |
| 962 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 963 | void set_name(ArgT0&& arg0, ArgT... args); |
| 964 | std::string* mutable_name(); |
| 965 | PROTOBUF_NODISCARD std::string* release_name(); |
| 966 | void set_allocated_name(std::string* name); |
| 967 | private: |
| 968 | const std::string& _internal_name() const; |
| 969 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
| 970 | std::string* _internal_mutable_name(); |
| 971 | public: |
| 972 | |
| 973 | // .google.protobuf.SourceContext source_context = 4; |
| 974 | bool has_source_context() const; |
| 975 | private: |
| 976 | bool _internal_has_source_context() const; |
| 977 | public: |
| 978 | void clear_source_context(); |
| 979 | const ::PROTOBUF_NAMESPACE_ID::SourceContext& source_context() const; |
| 980 | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::SourceContext* release_source_context(); |
| 981 | ::PROTOBUF_NAMESPACE_ID::SourceContext* mutable_source_context(); |
| 982 | void set_allocated_source_context(::PROTOBUF_NAMESPACE_ID::SourceContext* source_context); |
| 983 | private: |
| 984 | const ::PROTOBUF_NAMESPACE_ID::SourceContext& _internal_source_context() const; |
| 985 | ::PROTOBUF_NAMESPACE_ID::SourceContext* _internal_mutable_source_context(); |
| 986 | public: |
| 987 | void unsafe_arena_set_allocated_source_context( |
| 988 | ::PROTOBUF_NAMESPACE_ID::SourceContext* source_context); |
| 989 | ::PROTOBUF_NAMESPACE_ID::SourceContext* unsafe_arena_release_source_context(); |
| 990 | |
| 991 | // .google.protobuf.Syntax syntax = 5; |
| 992 | void clear_syntax(); |
| 993 | ::PROTOBUF_NAMESPACE_ID::Syntax syntax() const; |
| 994 | void set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value); |
| 995 | private: |
| 996 | ::PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const; |
| 997 | void _internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value); |
| 998 | public: |
| 999 | |
| 1000 | // @@protoc_insertion_point(class_scope:google.protobuf.Enum) |
| 1001 | private: |
| 1002 | class _Internal; |
| 1003 | |
| 1004 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 1005 | typedef void InternalArenaConstructable_; |
| 1006 | typedef void DestructorSkippable_; |
| 1007 | struct Impl_ { |
| 1008 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValue > enumvalue_; |
| 1009 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option > options_; |
| 1010 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
| 1011 | ::PROTOBUF_NAMESPACE_ID::SourceContext* source_context_; |
| 1012 | int syntax_; |
| 1013 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 1014 | }; |
| 1015 | union { Impl_ _impl_; }; |
| 1016 | friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto; |
| 1017 | }; |
| 1018 | // ------------------------------------------------------------------- |
| 1019 | |
| 1020 | class PROTOBUF_EXPORT EnumValue final : |
| 1021 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValue) */ { |
| 1022 | public: |
| 1023 | inline EnumValue() : EnumValue(nullptr) {} |
| 1024 | ~EnumValue() override; |
| 1025 | explicit PROTOBUF_CONSTEXPR EnumValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 1026 | |
| 1027 | EnumValue(const EnumValue& from); |
| 1028 | EnumValue(EnumValue&& from) noexcept |
| 1029 | : EnumValue() { |
| 1030 | *this = ::std::move(from); |
| 1031 | } |
| 1032 | |
| 1033 | inline EnumValue& operator=(const EnumValue& from) { |
| 1034 | CopyFrom(from); |
| 1035 | return *this; |
| 1036 | } |
| 1037 | inline EnumValue& operator=(EnumValue&& from) noexcept { |
| 1038 | if (this == &from) return *this; |
| 1039 | if (GetOwningArena() == from.GetOwningArena() |
| 1040 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 1041 | && GetOwningArena() != nullptr |
| 1042 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 1043 | ) { |
| 1044 | InternalSwap(other: &from); |
| 1045 | } else { |
| 1046 | CopyFrom(from); |
| 1047 | } |
| 1048 | return *this; |
| 1049 | } |
| 1050 | |
| 1051 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 1052 | return GetDescriptor(); |
| 1053 | } |
| 1054 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 1055 | return default_instance().GetMetadata().descriptor; |
| 1056 | } |
| 1057 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 1058 | return default_instance().GetMetadata().reflection; |
| 1059 | } |
| 1060 | static const EnumValue& default_instance() { |
| 1061 | return *internal_default_instance(); |
| 1062 | } |
| 1063 | static inline const EnumValue* internal_default_instance() { |
| 1064 | return reinterpret_cast<const EnumValue*>( |
| 1065 | &_EnumValue_default_instance_); |
| 1066 | } |
| 1067 | static constexpr int kIndexInFileMessages = |
| 1068 | 3; |
| 1069 | |
| 1070 | friend void swap(EnumValue& a, EnumValue& b) { |
| 1071 | a.Swap(other: &b); |
| 1072 | } |
| 1073 | inline void Swap(EnumValue* other) { |
| 1074 | if (other == this) return; |
| 1075 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 1076 | if (GetOwningArena() != nullptr && |
| 1077 | GetOwningArena() == other->GetOwningArena()) { |
| 1078 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 1079 | if (GetOwningArena() == other->GetOwningArena()) { |
| 1080 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 1081 | InternalSwap(other); |
| 1082 | } else { |
| 1083 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 1084 | } |
| 1085 | } |
| 1086 | void UnsafeArenaSwap(EnumValue* other) { |
| 1087 | if (other == this) return; |
| 1088 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 1089 | InternalSwap(other); |
| 1090 | } |
| 1091 | |
| 1092 | // implements Message ---------------------------------------------- |
| 1093 | |
| 1094 | EnumValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 1095 | return CreateMaybeMessage<EnumValue>(arena); |
| 1096 | } |
| 1097 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 1098 | void CopyFrom(const EnumValue& from); |
| 1099 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 1100 | void MergeFrom( const EnumValue& from) { |
| 1101 | EnumValue::MergeImpl(to_msg&: *this, from_msg: from); |
| 1102 | } |
| 1103 | private: |
| 1104 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 1105 | public: |
| 1106 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1107 | bool IsInitialized() const final; |
| 1108 | |
| 1109 | size_t ByteSizeLong() const final; |
| 1110 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 1111 | uint8_t* _InternalSerialize( |
| 1112 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 1113 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 1114 | |
| 1115 | private: |
| 1116 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 1117 | void SharedDtor(); |
| 1118 | void SetCachedSize(int size) const final; |
| 1119 | void InternalSwap(EnumValue* other); |
| 1120 | |
| 1121 | private: |
| 1122 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 1123 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 1124 | return "google.protobuf.EnumValue" ; |
| 1125 | } |
| 1126 | protected: |
| 1127 | explicit EnumValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 1128 | bool is_message_owned = false); |
| 1129 | public: |
| 1130 | |
| 1131 | static const ClassData _class_data_; |
| 1132 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 1133 | |
| 1134 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 1135 | |
| 1136 | // nested types ---------------------------------------------------- |
| 1137 | |
| 1138 | // accessors ------------------------------------------------------- |
| 1139 | |
| 1140 | enum : int { |
| 1141 | kOptionsFieldNumber = 3, |
| 1142 | kNameFieldNumber = 1, |
| 1143 | kNumberFieldNumber = 2, |
| 1144 | }; |
| 1145 | // repeated .google.protobuf.Option options = 3; |
| 1146 | int options_size() const; |
| 1147 | private: |
| 1148 | int _internal_options_size() const; |
| 1149 | public: |
| 1150 | void clear_options(); |
| 1151 | ::PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index); |
| 1152 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >* |
| 1153 | mutable_options(); |
| 1154 | private: |
| 1155 | const ::PROTOBUF_NAMESPACE_ID::Option& _internal_options(int index) const; |
| 1156 | ::PROTOBUF_NAMESPACE_ID::Option* _internal_add_options(); |
| 1157 | public: |
| 1158 | const ::PROTOBUF_NAMESPACE_ID::Option& options(int index) const; |
| 1159 | ::PROTOBUF_NAMESPACE_ID::Option* add_options(); |
| 1160 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >& |
| 1161 | options() const; |
| 1162 | |
| 1163 | // string name = 1; |
| 1164 | void clear_name(); |
| 1165 | const std::string& name() const; |
| 1166 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 1167 | void set_name(ArgT0&& arg0, ArgT... args); |
| 1168 | std::string* mutable_name(); |
| 1169 | PROTOBUF_NODISCARD std::string* release_name(); |
| 1170 | void set_allocated_name(std::string* name); |
| 1171 | private: |
| 1172 | const std::string& _internal_name() const; |
| 1173 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
| 1174 | std::string* _internal_mutable_name(); |
| 1175 | public: |
| 1176 | |
| 1177 | // int32 number = 2; |
| 1178 | void clear_number(); |
| 1179 | int32_t number() const; |
| 1180 | void set_number(int32_t value); |
| 1181 | private: |
| 1182 | int32_t _internal_number() const; |
| 1183 | void _internal_set_number(int32_t value); |
| 1184 | public: |
| 1185 | |
| 1186 | // @@protoc_insertion_point(class_scope:google.protobuf.EnumValue) |
| 1187 | private: |
| 1188 | class _Internal; |
| 1189 | |
| 1190 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 1191 | typedef void InternalArenaConstructable_; |
| 1192 | typedef void DestructorSkippable_; |
| 1193 | struct Impl_ { |
| 1194 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option > options_; |
| 1195 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
| 1196 | int32_t number_; |
| 1197 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 1198 | }; |
| 1199 | union { Impl_ _impl_; }; |
| 1200 | friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto; |
| 1201 | }; |
| 1202 | // ------------------------------------------------------------------- |
| 1203 | |
| 1204 | class PROTOBUF_EXPORT Option final : |
| 1205 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Option) */ { |
| 1206 | public: |
| 1207 | inline Option() : Option(nullptr) {} |
| 1208 | ~Option() override; |
| 1209 | explicit PROTOBUF_CONSTEXPR Option(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 1210 | |
| 1211 | Option(const Option& from); |
| 1212 | Option(Option&& from) noexcept |
| 1213 | : Option() { |
| 1214 | *this = ::std::move(from); |
| 1215 | } |
| 1216 | |
| 1217 | inline Option& operator=(const Option& from) { |
| 1218 | CopyFrom(from); |
| 1219 | return *this; |
| 1220 | } |
| 1221 | inline Option& operator=(Option&& from) noexcept { |
| 1222 | if (this == &from) return *this; |
| 1223 | if (GetOwningArena() == from.GetOwningArena() |
| 1224 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 1225 | && GetOwningArena() != nullptr |
| 1226 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 1227 | ) { |
| 1228 | InternalSwap(other: &from); |
| 1229 | } else { |
| 1230 | CopyFrom(from); |
| 1231 | } |
| 1232 | return *this; |
| 1233 | } |
| 1234 | |
| 1235 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 1236 | return GetDescriptor(); |
| 1237 | } |
| 1238 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 1239 | return default_instance().GetMetadata().descriptor; |
| 1240 | } |
| 1241 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 1242 | return default_instance().GetMetadata().reflection; |
| 1243 | } |
| 1244 | static const Option& default_instance() { |
| 1245 | return *internal_default_instance(); |
| 1246 | } |
| 1247 | static inline const Option* internal_default_instance() { |
| 1248 | return reinterpret_cast<const Option*>( |
| 1249 | &_Option_default_instance_); |
| 1250 | } |
| 1251 | static constexpr int kIndexInFileMessages = |
| 1252 | 4; |
| 1253 | |
| 1254 | friend void swap(Option& a, Option& b) { |
| 1255 | a.Swap(other: &b); |
| 1256 | } |
| 1257 | inline void Swap(Option* other) { |
| 1258 | if (other == this) return; |
| 1259 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 1260 | if (GetOwningArena() != nullptr && |
| 1261 | GetOwningArena() == other->GetOwningArena()) { |
| 1262 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 1263 | if (GetOwningArena() == other->GetOwningArena()) { |
| 1264 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 1265 | InternalSwap(other); |
| 1266 | } else { |
| 1267 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 1268 | } |
| 1269 | } |
| 1270 | void UnsafeArenaSwap(Option* other) { |
| 1271 | if (other == this) return; |
| 1272 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 1273 | InternalSwap(other); |
| 1274 | } |
| 1275 | |
| 1276 | // implements Message ---------------------------------------------- |
| 1277 | |
| 1278 | Option* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 1279 | return CreateMaybeMessage<Option>(arena); |
| 1280 | } |
| 1281 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 1282 | void CopyFrom(const Option& from); |
| 1283 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 1284 | void MergeFrom( const Option& from) { |
| 1285 | Option::MergeImpl(to_msg&: *this, from_msg: from); |
| 1286 | } |
| 1287 | private: |
| 1288 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 1289 | public: |
| 1290 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1291 | bool IsInitialized() const final; |
| 1292 | |
| 1293 | size_t ByteSizeLong() const final; |
| 1294 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 1295 | uint8_t* _InternalSerialize( |
| 1296 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 1297 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 1298 | |
| 1299 | private: |
| 1300 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 1301 | void SharedDtor(); |
| 1302 | void SetCachedSize(int size) const final; |
| 1303 | void InternalSwap(Option* other); |
| 1304 | |
| 1305 | private: |
| 1306 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 1307 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 1308 | return "google.protobuf.Option" ; |
| 1309 | } |
| 1310 | protected: |
| 1311 | explicit Option(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 1312 | bool is_message_owned = false); |
| 1313 | public: |
| 1314 | |
| 1315 | static const ClassData _class_data_; |
| 1316 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 1317 | |
| 1318 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 1319 | |
| 1320 | // nested types ---------------------------------------------------- |
| 1321 | |
| 1322 | // accessors ------------------------------------------------------- |
| 1323 | |
| 1324 | enum : int { |
| 1325 | kNameFieldNumber = 1, |
| 1326 | kValueFieldNumber = 2, |
| 1327 | }; |
| 1328 | // string name = 1; |
| 1329 | void clear_name(); |
| 1330 | const std::string& name() const; |
| 1331 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 1332 | void set_name(ArgT0&& arg0, ArgT... args); |
| 1333 | std::string* mutable_name(); |
| 1334 | PROTOBUF_NODISCARD std::string* release_name(); |
| 1335 | void set_allocated_name(std::string* name); |
| 1336 | private: |
| 1337 | const std::string& _internal_name() const; |
| 1338 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
| 1339 | std::string* _internal_mutable_name(); |
| 1340 | public: |
| 1341 | |
| 1342 | // .google.protobuf.Any value = 2; |
| 1343 | bool has_value() const; |
| 1344 | private: |
| 1345 | bool _internal_has_value() const; |
| 1346 | public: |
| 1347 | void clear_value(); |
| 1348 | const ::PROTOBUF_NAMESPACE_ID::Any& value() const; |
| 1349 | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Any* release_value(); |
| 1350 | ::PROTOBUF_NAMESPACE_ID::Any* mutable_value(); |
| 1351 | void set_allocated_value(::PROTOBUF_NAMESPACE_ID::Any* value); |
| 1352 | private: |
| 1353 | const ::PROTOBUF_NAMESPACE_ID::Any& _internal_value() const; |
| 1354 | ::PROTOBUF_NAMESPACE_ID::Any* _internal_mutable_value(); |
| 1355 | public: |
| 1356 | void unsafe_arena_set_allocated_value( |
| 1357 | ::PROTOBUF_NAMESPACE_ID::Any* value); |
| 1358 | ::PROTOBUF_NAMESPACE_ID::Any* unsafe_arena_release_value(); |
| 1359 | |
| 1360 | // @@protoc_insertion_point(class_scope:google.protobuf.Option) |
| 1361 | private: |
| 1362 | class _Internal; |
| 1363 | |
| 1364 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 1365 | typedef void InternalArenaConstructable_; |
| 1366 | typedef void DestructorSkippable_; |
| 1367 | struct Impl_ { |
| 1368 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
| 1369 | ::PROTOBUF_NAMESPACE_ID::Any* value_; |
| 1370 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 1371 | }; |
| 1372 | union { Impl_ _impl_; }; |
| 1373 | friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto; |
| 1374 | }; |
| 1375 | // =================================================================== |
| 1376 | |
| 1377 | |
| 1378 | // =================================================================== |
| 1379 | |
| 1380 | #ifdef __GNUC__ |
| 1381 | #pragma GCC diagnostic push |
| 1382 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
| 1383 | #endif // __GNUC__ |
| 1384 | // Type |
| 1385 | |
| 1386 | // string name = 1; |
| 1387 | inline void Type::clear_name() { |
| 1388 | _impl_.name_.ClearToEmpty(); |
| 1389 | } |
| 1390 | inline const std::string& Type::name() const { |
| 1391 | // @@protoc_insertion_point(field_get:google.protobuf.Type.name) |
| 1392 | return _internal_name(); |
| 1393 | } |
| 1394 | template <typename ArgT0, typename... ArgT> |
| 1395 | inline PROTOBUF_ALWAYS_INLINE |
| 1396 | void Type::set_name(ArgT0&& arg0, ArgT... args) { |
| 1397 | |
| 1398 | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 1399 | // @@protoc_insertion_point(field_set:google.protobuf.Type.name) |
| 1400 | } |
| 1401 | inline std::string* Type::mutable_name() { |
| 1402 | std::string* _s = _internal_mutable_name(); |
| 1403 | // @@protoc_insertion_point(field_mutable:google.protobuf.Type.name) |
| 1404 | return _s; |
| 1405 | } |
| 1406 | inline const std::string& Type::_internal_name() const { |
| 1407 | return _impl_.name_.Get(); |
| 1408 | } |
| 1409 | inline void Type::_internal_set_name(const std::string& value) { |
| 1410 | |
| 1411 | _impl_.name_.Set(value, arena: GetArenaForAllocation()); |
| 1412 | } |
| 1413 | inline std::string* Type::_internal_mutable_name() { |
| 1414 | |
| 1415 | return _impl_.name_.Mutable(arena: GetArenaForAllocation()); |
| 1416 | } |
| 1417 | inline std::string* Type::release_name() { |
| 1418 | // @@protoc_insertion_point(field_release:google.protobuf.Type.name) |
| 1419 | return _impl_.name_.Release(); |
| 1420 | } |
| 1421 | inline void Type::set_allocated_name(std::string* name) { |
| 1422 | if (name != nullptr) { |
| 1423 | |
| 1424 | } else { |
| 1425 | |
| 1426 | } |
| 1427 | _impl_.name_.SetAllocated(value: name, arena: GetArenaForAllocation()); |
| 1428 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 1429 | if (_impl_.name_.IsDefault()) { |
| 1430 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 1431 | } |
| 1432 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 1433 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.Type.name) |
| 1434 | } |
| 1435 | |
| 1436 | // repeated .google.protobuf.Field fields = 2; |
| 1437 | inline int Type::_internal_fields_size() const { |
| 1438 | return _impl_.fields_.size(); |
| 1439 | } |
| 1440 | inline int Type::fields_size() const { |
| 1441 | return _internal_fields_size(); |
| 1442 | } |
| 1443 | inline void Type::clear_fields() { |
| 1444 | _impl_.fields_.Clear(); |
| 1445 | } |
| 1446 | inline ::PROTOBUF_NAMESPACE_ID::Field* Type::mutable_fields(int index) { |
| 1447 | // @@protoc_insertion_point(field_mutable:google.protobuf.Type.fields) |
| 1448 | return _impl_.fields_.Mutable(index); |
| 1449 | } |
| 1450 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Field >* |
| 1451 | Type::mutable_fields() { |
| 1452 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.fields) |
| 1453 | return &_impl_.fields_; |
| 1454 | } |
| 1455 | inline const ::PROTOBUF_NAMESPACE_ID::Field& Type::_internal_fields(int index) const { |
| 1456 | return _impl_.fields_.Get(index); |
| 1457 | } |
| 1458 | inline const ::PROTOBUF_NAMESPACE_ID::Field& Type::fields(int index) const { |
| 1459 | // @@protoc_insertion_point(field_get:google.protobuf.Type.fields) |
| 1460 | return _internal_fields(index); |
| 1461 | } |
| 1462 | inline ::PROTOBUF_NAMESPACE_ID::Field* Type::_internal_add_fields() { |
| 1463 | return _impl_.fields_.Add(); |
| 1464 | } |
| 1465 | inline ::PROTOBUF_NAMESPACE_ID::Field* Type::add_fields() { |
| 1466 | ::PROTOBUF_NAMESPACE_ID::Field* _add = _internal_add_fields(); |
| 1467 | // @@protoc_insertion_point(field_add:google.protobuf.Type.fields) |
| 1468 | return _add; |
| 1469 | } |
| 1470 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Field >& |
| 1471 | Type::fields() const { |
| 1472 | // @@protoc_insertion_point(field_list:google.protobuf.Type.fields) |
| 1473 | return _impl_.fields_; |
| 1474 | } |
| 1475 | |
| 1476 | // repeated string oneofs = 3; |
| 1477 | inline int Type::_internal_oneofs_size() const { |
| 1478 | return _impl_.oneofs_.size(); |
| 1479 | } |
| 1480 | inline int Type::oneofs_size() const { |
| 1481 | return _internal_oneofs_size(); |
| 1482 | } |
| 1483 | inline void Type::clear_oneofs() { |
| 1484 | _impl_.oneofs_.Clear(); |
| 1485 | } |
| 1486 | inline std::string* Type::add_oneofs() { |
| 1487 | std::string* _s = _internal_add_oneofs(); |
| 1488 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.Type.oneofs) |
| 1489 | return _s; |
| 1490 | } |
| 1491 | inline const std::string& Type::_internal_oneofs(int index) const { |
| 1492 | return _impl_.oneofs_.Get(index); |
| 1493 | } |
| 1494 | inline const std::string& Type::oneofs(int index) const { |
| 1495 | // @@protoc_insertion_point(field_get:google.protobuf.Type.oneofs) |
| 1496 | return _internal_oneofs(index); |
| 1497 | } |
| 1498 | inline std::string* Type::mutable_oneofs(int index) { |
| 1499 | // @@protoc_insertion_point(field_mutable:google.protobuf.Type.oneofs) |
| 1500 | return _impl_.oneofs_.Mutable(index); |
| 1501 | } |
| 1502 | inline void Type::set_oneofs(int index, const std::string& value) { |
| 1503 | _impl_.oneofs_.Mutable(index)->assign(str: value); |
| 1504 | // @@protoc_insertion_point(field_set:google.protobuf.Type.oneofs) |
| 1505 | } |
| 1506 | inline void Type::set_oneofs(int index, std::string&& value) { |
| 1507 | _impl_.oneofs_.Mutable(index)->assign(str: std::move(value)); |
| 1508 | // @@protoc_insertion_point(field_set:google.protobuf.Type.oneofs) |
| 1509 | } |
| 1510 | inline void Type::set_oneofs(int index, const char* value) { |
| 1511 | GOOGLE_DCHECK(value != nullptr); |
| 1512 | _impl_.oneofs_.Mutable(index)->assign(s: value); |
| 1513 | // @@protoc_insertion_point(field_set_char:google.protobuf.Type.oneofs) |
| 1514 | } |
| 1515 | inline void Type::set_oneofs(int index, const char* value, size_t size) { |
| 1516 | _impl_.oneofs_.Mutable(index)->assign( |
| 1517 | s: reinterpret_cast<const char*>(value), n: size); |
| 1518 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.Type.oneofs) |
| 1519 | } |
| 1520 | inline std::string* Type::_internal_add_oneofs() { |
| 1521 | return _impl_.oneofs_.Add(); |
| 1522 | } |
| 1523 | inline void Type::add_oneofs(const std::string& value) { |
| 1524 | _impl_.oneofs_.Add()->assign(str: value); |
| 1525 | // @@protoc_insertion_point(field_add:google.protobuf.Type.oneofs) |
| 1526 | } |
| 1527 | inline void Type::add_oneofs(std::string&& value) { |
| 1528 | _impl_.oneofs_.Add(value: std::move(value)); |
| 1529 | // @@protoc_insertion_point(field_add:google.protobuf.Type.oneofs) |
| 1530 | } |
| 1531 | inline void Type::add_oneofs(const char* value) { |
| 1532 | GOOGLE_DCHECK(value != nullptr); |
| 1533 | _impl_.oneofs_.Add()->assign(s: value); |
| 1534 | // @@protoc_insertion_point(field_add_char:google.protobuf.Type.oneofs) |
| 1535 | } |
| 1536 | inline void Type::add_oneofs(const char* value, size_t size) { |
| 1537 | _impl_.oneofs_.Add()->assign(s: reinterpret_cast<const char*>(value), n: size); |
| 1538 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.Type.oneofs) |
| 1539 | } |
| 1540 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
| 1541 | Type::oneofs() const { |
| 1542 | // @@protoc_insertion_point(field_list:google.protobuf.Type.oneofs) |
| 1543 | return _impl_.oneofs_; |
| 1544 | } |
| 1545 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
| 1546 | Type::mutable_oneofs() { |
| 1547 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.oneofs) |
| 1548 | return &_impl_.oneofs_; |
| 1549 | } |
| 1550 | |
| 1551 | // repeated .google.protobuf.Option options = 4; |
| 1552 | inline int Type::_internal_options_size() const { |
| 1553 | return _impl_.options_.size(); |
| 1554 | } |
| 1555 | inline int Type::options_size() const { |
| 1556 | return _internal_options_size(); |
| 1557 | } |
| 1558 | inline void Type::clear_options() { |
| 1559 | _impl_.options_.Clear(); |
| 1560 | } |
| 1561 | inline ::PROTOBUF_NAMESPACE_ID::Option* Type::mutable_options(int index) { |
| 1562 | // @@protoc_insertion_point(field_mutable:google.protobuf.Type.options) |
| 1563 | return _impl_.options_.Mutable(index); |
| 1564 | } |
| 1565 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >* |
| 1566 | Type::mutable_options() { |
| 1567 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.options) |
| 1568 | return &_impl_.options_; |
| 1569 | } |
| 1570 | inline const ::PROTOBUF_NAMESPACE_ID::Option& Type::_internal_options(int index) const { |
| 1571 | return _impl_.options_.Get(index); |
| 1572 | } |
| 1573 | inline const ::PROTOBUF_NAMESPACE_ID::Option& Type::options(int index) const { |
| 1574 | // @@protoc_insertion_point(field_get:google.protobuf.Type.options) |
| 1575 | return _internal_options(index); |
| 1576 | } |
| 1577 | inline ::PROTOBUF_NAMESPACE_ID::Option* Type::_internal_add_options() { |
| 1578 | return _impl_.options_.Add(); |
| 1579 | } |
| 1580 | inline ::PROTOBUF_NAMESPACE_ID::Option* Type::add_options() { |
| 1581 | ::PROTOBUF_NAMESPACE_ID::Option* _add = _internal_add_options(); |
| 1582 | // @@protoc_insertion_point(field_add:google.protobuf.Type.options) |
| 1583 | return _add; |
| 1584 | } |
| 1585 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >& |
| 1586 | Type::options() const { |
| 1587 | // @@protoc_insertion_point(field_list:google.protobuf.Type.options) |
| 1588 | return _impl_.options_; |
| 1589 | } |
| 1590 | |
| 1591 | // .google.protobuf.SourceContext source_context = 5; |
| 1592 | inline bool Type::_internal_has_source_context() const { |
| 1593 | return this != internal_default_instance() && _impl_.source_context_ != nullptr; |
| 1594 | } |
| 1595 | inline bool Type::has_source_context() const { |
| 1596 | return _internal_has_source_context(); |
| 1597 | } |
| 1598 | inline const ::PROTOBUF_NAMESPACE_ID::SourceContext& Type::_internal_source_context() const { |
| 1599 | const ::PROTOBUF_NAMESPACE_ID::SourceContext* p = _impl_.source_context_; |
| 1600 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::SourceContext&>( |
| 1601 | ::PROTOBUF_NAMESPACE_ID::_SourceContext_default_instance_); |
| 1602 | } |
| 1603 | inline const ::PROTOBUF_NAMESPACE_ID::SourceContext& Type::source_context() const { |
| 1604 | // @@protoc_insertion_point(field_get:google.protobuf.Type.source_context) |
| 1605 | return _internal_source_context(); |
| 1606 | } |
| 1607 | inline void Type::unsafe_arena_set_allocated_source_context( |
| 1608 | ::PROTOBUF_NAMESPACE_ID::SourceContext* source_context) { |
| 1609 | if (GetArenaForAllocation() == nullptr) { |
| 1610 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_context_); |
| 1611 | } |
| 1612 | _impl_.source_context_ = source_context; |
| 1613 | if (source_context) { |
| 1614 | |
| 1615 | } else { |
| 1616 | |
| 1617 | } |
| 1618 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Type.source_context) |
| 1619 | } |
| 1620 | inline ::PROTOBUF_NAMESPACE_ID::SourceContext* Type::release_source_context() { |
| 1621 | |
| 1622 | ::PROTOBUF_NAMESPACE_ID::SourceContext* temp = _impl_.source_context_; |
| 1623 | _impl_.source_context_ = nullptr; |
| 1624 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
| 1625 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
| 1626 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
| 1627 | if (GetArenaForAllocation() == nullptr) { delete old; } |
| 1628 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
| 1629 | if (GetArenaForAllocation() != nullptr) { |
| 1630 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(message: temp); |
| 1631 | } |
| 1632 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
| 1633 | return temp; |
| 1634 | } |
| 1635 | inline ::PROTOBUF_NAMESPACE_ID::SourceContext* Type::unsafe_arena_release_source_context() { |
| 1636 | // @@protoc_insertion_point(field_release:google.protobuf.Type.source_context) |
| 1637 | |
| 1638 | ::PROTOBUF_NAMESPACE_ID::SourceContext* temp = _impl_.source_context_; |
| 1639 | _impl_.source_context_ = nullptr; |
| 1640 | return temp; |
| 1641 | } |
| 1642 | inline ::PROTOBUF_NAMESPACE_ID::SourceContext* Type::_internal_mutable_source_context() { |
| 1643 | |
| 1644 | if (_impl_.source_context_ == nullptr) { |
| 1645 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::SourceContext>(arena: GetArenaForAllocation()); |
| 1646 | _impl_.source_context_ = p; |
| 1647 | } |
| 1648 | return _impl_.source_context_; |
| 1649 | } |
| 1650 | inline ::PROTOBUF_NAMESPACE_ID::SourceContext* Type::mutable_source_context() { |
| 1651 | ::PROTOBUF_NAMESPACE_ID::SourceContext* _msg = _internal_mutable_source_context(); |
| 1652 | // @@protoc_insertion_point(field_mutable:google.protobuf.Type.source_context) |
| 1653 | return _msg; |
| 1654 | } |
| 1655 | inline void Type::set_allocated_source_context(::PROTOBUF_NAMESPACE_ID::SourceContext* source_context) { |
| 1656 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
| 1657 | if (message_arena == nullptr) { |
| 1658 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_context_); |
| 1659 | } |
| 1660 | if (source_context) { |
| 1661 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
| 1662 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( |
| 1663 | p: reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(source_context)); |
| 1664 | if (message_arena != submessage_arena) { |
| 1665 | source_context = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
| 1666 | message_arena, submessage: source_context, submessage_arena); |
| 1667 | } |
| 1668 | |
| 1669 | } else { |
| 1670 | |
| 1671 | } |
| 1672 | _impl_.source_context_ = source_context; |
| 1673 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.Type.source_context) |
| 1674 | } |
| 1675 | |
| 1676 | // .google.protobuf.Syntax syntax = 6; |
| 1677 | inline void Type::clear_syntax() { |
| 1678 | _impl_.syntax_ = 0; |
| 1679 | } |
| 1680 | inline ::PROTOBUF_NAMESPACE_ID::Syntax Type::_internal_syntax() const { |
| 1681 | return static_cast< ::PROTOBUF_NAMESPACE_ID::Syntax >(_impl_.syntax_); |
| 1682 | } |
| 1683 | inline ::PROTOBUF_NAMESPACE_ID::Syntax Type::syntax() const { |
| 1684 | // @@protoc_insertion_point(field_get:google.protobuf.Type.syntax) |
| 1685 | return _internal_syntax(); |
| 1686 | } |
| 1687 | inline void Type::_internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) { |
| 1688 | |
| 1689 | _impl_.syntax_ = value; |
| 1690 | } |
| 1691 | inline void Type::set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) { |
| 1692 | _internal_set_syntax(value); |
| 1693 | // @@protoc_insertion_point(field_set:google.protobuf.Type.syntax) |
| 1694 | } |
| 1695 | |
| 1696 | // ------------------------------------------------------------------- |
| 1697 | |
| 1698 | // Field |
| 1699 | |
| 1700 | // .google.protobuf.Field.Kind kind = 1; |
| 1701 | inline void Field::clear_kind() { |
| 1702 | _impl_.kind_ = 0; |
| 1703 | } |
| 1704 | inline ::PROTOBUF_NAMESPACE_ID::Field_Kind Field::_internal_kind() const { |
| 1705 | return static_cast< ::PROTOBUF_NAMESPACE_ID::Field_Kind >(_impl_.kind_); |
| 1706 | } |
| 1707 | inline ::PROTOBUF_NAMESPACE_ID::Field_Kind Field::kind() const { |
| 1708 | // @@protoc_insertion_point(field_get:google.protobuf.Field.kind) |
| 1709 | return _internal_kind(); |
| 1710 | } |
| 1711 | inline void Field::_internal_set_kind(::PROTOBUF_NAMESPACE_ID::Field_Kind value) { |
| 1712 | |
| 1713 | _impl_.kind_ = value; |
| 1714 | } |
| 1715 | inline void Field::set_kind(::PROTOBUF_NAMESPACE_ID::Field_Kind value) { |
| 1716 | _internal_set_kind(value); |
| 1717 | // @@protoc_insertion_point(field_set:google.protobuf.Field.kind) |
| 1718 | } |
| 1719 | |
| 1720 | // .google.protobuf.Field.Cardinality cardinality = 2; |
| 1721 | inline void Field::clear_cardinality() { |
| 1722 | _impl_.cardinality_ = 0; |
| 1723 | } |
| 1724 | inline ::PROTOBUF_NAMESPACE_ID::Field_Cardinality Field::_internal_cardinality() const { |
| 1725 | return static_cast< ::PROTOBUF_NAMESPACE_ID::Field_Cardinality >(_impl_.cardinality_); |
| 1726 | } |
| 1727 | inline ::PROTOBUF_NAMESPACE_ID::Field_Cardinality Field::cardinality() const { |
| 1728 | // @@protoc_insertion_point(field_get:google.protobuf.Field.cardinality) |
| 1729 | return _internal_cardinality(); |
| 1730 | } |
| 1731 | inline void Field::_internal_set_cardinality(::PROTOBUF_NAMESPACE_ID::Field_Cardinality value) { |
| 1732 | |
| 1733 | _impl_.cardinality_ = value; |
| 1734 | } |
| 1735 | inline void Field::set_cardinality(::PROTOBUF_NAMESPACE_ID::Field_Cardinality value) { |
| 1736 | _internal_set_cardinality(value); |
| 1737 | // @@protoc_insertion_point(field_set:google.protobuf.Field.cardinality) |
| 1738 | } |
| 1739 | |
| 1740 | // int32 number = 3; |
| 1741 | inline void Field::clear_number() { |
| 1742 | _impl_.number_ = 0; |
| 1743 | } |
| 1744 | inline int32_t Field::_internal_number() const { |
| 1745 | return _impl_.number_; |
| 1746 | } |
| 1747 | inline int32_t Field::number() const { |
| 1748 | // @@protoc_insertion_point(field_get:google.protobuf.Field.number) |
| 1749 | return _internal_number(); |
| 1750 | } |
| 1751 | inline void Field::_internal_set_number(int32_t value) { |
| 1752 | |
| 1753 | _impl_.number_ = value; |
| 1754 | } |
| 1755 | inline void Field::set_number(int32_t value) { |
| 1756 | _internal_set_number(value); |
| 1757 | // @@protoc_insertion_point(field_set:google.protobuf.Field.number) |
| 1758 | } |
| 1759 | |
| 1760 | // string name = 4; |
| 1761 | inline void Field::clear_name() { |
| 1762 | _impl_.name_.ClearToEmpty(); |
| 1763 | } |
| 1764 | inline const std::string& Field::name() const { |
| 1765 | // @@protoc_insertion_point(field_get:google.protobuf.Field.name) |
| 1766 | return _internal_name(); |
| 1767 | } |
| 1768 | template <typename ArgT0, typename... ArgT> |
| 1769 | inline PROTOBUF_ALWAYS_INLINE |
| 1770 | void Field::set_name(ArgT0&& arg0, ArgT... args) { |
| 1771 | |
| 1772 | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 1773 | // @@protoc_insertion_point(field_set:google.protobuf.Field.name) |
| 1774 | } |
| 1775 | inline std::string* Field::mutable_name() { |
| 1776 | std::string* _s = _internal_mutable_name(); |
| 1777 | // @@protoc_insertion_point(field_mutable:google.protobuf.Field.name) |
| 1778 | return _s; |
| 1779 | } |
| 1780 | inline const std::string& Field::_internal_name() const { |
| 1781 | return _impl_.name_.Get(); |
| 1782 | } |
| 1783 | inline void Field::_internal_set_name(const std::string& value) { |
| 1784 | |
| 1785 | _impl_.name_.Set(value, arena: GetArenaForAllocation()); |
| 1786 | } |
| 1787 | inline std::string* Field::_internal_mutable_name() { |
| 1788 | |
| 1789 | return _impl_.name_.Mutable(arena: GetArenaForAllocation()); |
| 1790 | } |
| 1791 | inline std::string* Field::release_name() { |
| 1792 | // @@protoc_insertion_point(field_release:google.protobuf.Field.name) |
| 1793 | return _impl_.name_.Release(); |
| 1794 | } |
| 1795 | inline void Field::set_allocated_name(std::string* name) { |
| 1796 | if (name != nullptr) { |
| 1797 | |
| 1798 | } else { |
| 1799 | |
| 1800 | } |
| 1801 | _impl_.name_.SetAllocated(value: name, arena: GetArenaForAllocation()); |
| 1802 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 1803 | if (_impl_.name_.IsDefault()) { |
| 1804 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 1805 | } |
| 1806 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 1807 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.name) |
| 1808 | } |
| 1809 | |
| 1810 | // string type_url = 6; |
| 1811 | inline void Field::clear_type_url() { |
| 1812 | _impl_.type_url_.ClearToEmpty(); |
| 1813 | } |
| 1814 | inline const std::string& Field::type_url() const { |
| 1815 | // @@protoc_insertion_point(field_get:google.protobuf.Field.type_url) |
| 1816 | return _internal_type_url(); |
| 1817 | } |
| 1818 | template <typename ArgT0, typename... ArgT> |
| 1819 | inline PROTOBUF_ALWAYS_INLINE |
| 1820 | void Field::set_type_url(ArgT0&& arg0, ArgT... args) { |
| 1821 | |
| 1822 | _impl_.type_url_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 1823 | // @@protoc_insertion_point(field_set:google.protobuf.Field.type_url) |
| 1824 | } |
| 1825 | inline std::string* Field::mutable_type_url() { |
| 1826 | std::string* _s = _internal_mutable_type_url(); |
| 1827 | // @@protoc_insertion_point(field_mutable:google.protobuf.Field.type_url) |
| 1828 | return _s; |
| 1829 | } |
| 1830 | inline const std::string& Field::_internal_type_url() const { |
| 1831 | return _impl_.type_url_.Get(); |
| 1832 | } |
| 1833 | inline void Field::_internal_set_type_url(const std::string& value) { |
| 1834 | |
| 1835 | _impl_.type_url_.Set(value, arena: GetArenaForAllocation()); |
| 1836 | } |
| 1837 | inline std::string* Field::_internal_mutable_type_url() { |
| 1838 | |
| 1839 | return _impl_.type_url_.Mutable(arena: GetArenaForAllocation()); |
| 1840 | } |
| 1841 | inline std::string* Field::release_type_url() { |
| 1842 | // @@protoc_insertion_point(field_release:google.protobuf.Field.type_url) |
| 1843 | return _impl_.type_url_.Release(); |
| 1844 | } |
| 1845 | inline void Field::set_allocated_type_url(std::string* type_url) { |
| 1846 | if (type_url != nullptr) { |
| 1847 | |
| 1848 | } else { |
| 1849 | |
| 1850 | } |
| 1851 | _impl_.type_url_.SetAllocated(value: type_url, arena: GetArenaForAllocation()); |
| 1852 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 1853 | if (_impl_.type_url_.IsDefault()) { |
| 1854 | _impl_.type_url_.Set("" , GetArenaForAllocation()); |
| 1855 | } |
| 1856 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 1857 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.type_url) |
| 1858 | } |
| 1859 | |
| 1860 | // int32 oneof_index = 7; |
| 1861 | inline void Field::clear_oneof_index() { |
| 1862 | _impl_.oneof_index_ = 0; |
| 1863 | } |
| 1864 | inline int32_t Field::_internal_oneof_index() const { |
| 1865 | return _impl_.oneof_index_; |
| 1866 | } |
| 1867 | inline int32_t Field::oneof_index() const { |
| 1868 | // @@protoc_insertion_point(field_get:google.protobuf.Field.oneof_index) |
| 1869 | return _internal_oneof_index(); |
| 1870 | } |
| 1871 | inline void Field::_internal_set_oneof_index(int32_t value) { |
| 1872 | |
| 1873 | _impl_.oneof_index_ = value; |
| 1874 | } |
| 1875 | inline void Field::set_oneof_index(int32_t value) { |
| 1876 | _internal_set_oneof_index(value); |
| 1877 | // @@protoc_insertion_point(field_set:google.protobuf.Field.oneof_index) |
| 1878 | } |
| 1879 | |
| 1880 | // bool packed = 8; |
| 1881 | inline void Field::clear_packed() { |
| 1882 | _impl_.packed_ = false; |
| 1883 | } |
| 1884 | inline bool Field::_internal_packed() const { |
| 1885 | return _impl_.packed_; |
| 1886 | } |
| 1887 | inline bool Field::packed() const { |
| 1888 | // @@protoc_insertion_point(field_get:google.protobuf.Field.packed) |
| 1889 | return _internal_packed(); |
| 1890 | } |
| 1891 | inline void Field::_internal_set_packed(bool value) { |
| 1892 | |
| 1893 | _impl_.packed_ = value; |
| 1894 | } |
| 1895 | inline void Field::set_packed(bool value) { |
| 1896 | _internal_set_packed(value); |
| 1897 | // @@protoc_insertion_point(field_set:google.protobuf.Field.packed) |
| 1898 | } |
| 1899 | |
| 1900 | // repeated .google.protobuf.Option options = 9; |
| 1901 | inline int Field::_internal_options_size() const { |
| 1902 | return _impl_.options_.size(); |
| 1903 | } |
| 1904 | inline int Field::options_size() const { |
| 1905 | return _internal_options_size(); |
| 1906 | } |
| 1907 | inline void Field::clear_options() { |
| 1908 | _impl_.options_.Clear(); |
| 1909 | } |
| 1910 | inline ::PROTOBUF_NAMESPACE_ID::Option* Field::mutable_options(int index) { |
| 1911 | // @@protoc_insertion_point(field_mutable:google.protobuf.Field.options) |
| 1912 | return _impl_.options_.Mutable(index); |
| 1913 | } |
| 1914 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >* |
| 1915 | Field::mutable_options() { |
| 1916 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.Field.options) |
| 1917 | return &_impl_.options_; |
| 1918 | } |
| 1919 | inline const ::PROTOBUF_NAMESPACE_ID::Option& Field::_internal_options(int index) const { |
| 1920 | return _impl_.options_.Get(index); |
| 1921 | } |
| 1922 | inline const ::PROTOBUF_NAMESPACE_ID::Option& Field::options(int index) const { |
| 1923 | // @@protoc_insertion_point(field_get:google.protobuf.Field.options) |
| 1924 | return _internal_options(index); |
| 1925 | } |
| 1926 | inline ::PROTOBUF_NAMESPACE_ID::Option* Field::_internal_add_options() { |
| 1927 | return _impl_.options_.Add(); |
| 1928 | } |
| 1929 | inline ::PROTOBUF_NAMESPACE_ID::Option* Field::add_options() { |
| 1930 | ::PROTOBUF_NAMESPACE_ID::Option* _add = _internal_add_options(); |
| 1931 | // @@protoc_insertion_point(field_add:google.protobuf.Field.options) |
| 1932 | return _add; |
| 1933 | } |
| 1934 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >& |
| 1935 | Field::options() const { |
| 1936 | // @@protoc_insertion_point(field_list:google.protobuf.Field.options) |
| 1937 | return _impl_.options_; |
| 1938 | } |
| 1939 | |
| 1940 | // string json_name = 10; |
| 1941 | inline void Field::clear_json_name() { |
| 1942 | _impl_.json_name_.ClearToEmpty(); |
| 1943 | } |
| 1944 | inline const std::string& Field::json_name() const { |
| 1945 | // @@protoc_insertion_point(field_get:google.protobuf.Field.json_name) |
| 1946 | return _internal_json_name(); |
| 1947 | } |
| 1948 | template <typename ArgT0, typename... ArgT> |
| 1949 | inline PROTOBUF_ALWAYS_INLINE |
| 1950 | void Field::set_json_name(ArgT0&& arg0, ArgT... args) { |
| 1951 | |
| 1952 | _impl_.json_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 1953 | // @@protoc_insertion_point(field_set:google.protobuf.Field.json_name) |
| 1954 | } |
| 1955 | inline std::string* Field::mutable_json_name() { |
| 1956 | std::string* _s = _internal_mutable_json_name(); |
| 1957 | // @@protoc_insertion_point(field_mutable:google.protobuf.Field.json_name) |
| 1958 | return _s; |
| 1959 | } |
| 1960 | inline const std::string& Field::_internal_json_name() const { |
| 1961 | return _impl_.json_name_.Get(); |
| 1962 | } |
| 1963 | inline void Field::_internal_set_json_name(const std::string& value) { |
| 1964 | |
| 1965 | _impl_.json_name_.Set(value, arena: GetArenaForAllocation()); |
| 1966 | } |
| 1967 | inline std::string* Field::_internal_mutable_json_name() { |
| 1968 | |
| 1969 | return _impl_.json_name_.Mutable(arena: GetArenaForAllocation()); |
| 1970 | } |
| 1971 | inline std::string* Field::release_json_name() { |
| 1972 | // @@protoc_insertion_point(field_release:google.protobuf.Field.json_name) |
| 1973 | return _impl_.json_name_.Release(); |
| 1974 | } |
| 1975 | inline void Field::set_allocated_json_name(std::string* json_name) { |
| 1976 | if (json_name != nullptr) { |
| 1977 | |
| 1978 | } else { |
| 1979 | |
| 1980 | } |
| 1981 | _impl_.json_name_.SetAllocated(value: json_name, arena: GetArenaForAllocation()); |
| 1982 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 1983 | if (_impl_.json_name_.IsDefault()) { |
| 1984 | _impl_.json_name_.Set("" , GetArenaForAllocation()); |
| 1985 | } |
| 1986 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 1987 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.json_name) |
| 1988 | } |
| 1989 | |
| 1990 | // string default_value = 11; |
| 1991 | inline void Field::clear_default_value() { |
| 1992 | _impl_.default_value_.ClearToEmpty(); |
| 1993 | } |
| 1994 | inline const std::string& Field::default_value() const { |
| 1995 | // @@protoc_insertion_point(field_get:google.protobuf.Field.default_value) |
| 1996 | return _internal_default_value(); |
| 1997 | } |
| 1998 | template <typename ArgT0, typename... ArgT> |
| 1999 | inline PROTOBUF_ALWAYS_INLINE |
| 2000 | void Field::set_default_value(ArgT0&& arg0, ArgT... args) { |
| 2001 | |
| 2002 | _impl_.default_value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 2003 | // @@protoc_insertion_point(field_set:google.protobuf.Field.default_value) |
| 2004 | } |
| 2005 | inline std::string* Field::mutable_default_value() { |
| 2006 | std::string* _s = _internal_mutable_default_value(); |
| 2007 | // @@protoc_insertion_point(field_mutable:google.protobuf.Field.default_value) |
| 2008 | return _s; |
| 2009 | } |
| 2010 | inline const std::string& Field::_internal_default_value() const { |
| 2011 | return _impl_.default_value_.Get(); |
| 2012 | } |
| 2013 | inline void Field::_internal_set_default_value(const std::string& value) { |
| 2014 | |
| 2015 | _impl_.default_value_.Set(value, arena: GetArenaForAllocation()); |
| 2016 | } |
| 2017 | inline std::string* Field::_internal_mutable_default_value() { |
| 2018 | |
| 2019 | return _impl_.default_value_.Mutable(arena: GetArenaForAllocation()); |
| 2020 | } |
| 2021 | inline std::string* Field::release_default_value() { |
| 2022 | // @@protoc_insertion_point(field_release:google.protobuf.Field.default_value) |
| 2023 | return _impl_.default_value_.Release(); |
| 2024 | } |
| 2025 | inline void Field::set_allocated_default_value(std::string* default_value) { |
| 2026 | if (default_value != nullptr) { |
| 2027 | |
| 2028 | } else { |
| 2029 | |
| 2030 | } |
| 2031 | _impl_.default_value_.SetAllocated(value: default_value, arena: GetArenaForAllocation()); |
| 2032 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 2033 | if (_impl_.default_value_.IsDefault()) { |
| 2034 | _impl_.default_value_.Set("" , GetArenaForAllocation()); |
| 2035 | } |
| 2036 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 2037 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.default_value) |
| 2038 | } |
| 2039 | |
| 2040 | // ------------------------------------------------------------------- |
| 2041 | |
| 2042 | // Enum |
| 2043 | |
| 2044 | // string name = 1; |
| 2045 | inline void Enum::clear_name() { |
| 2046 | _impl_.name_.ClearToEmpty(); |
| 2047 | } |
| 2048 | inline const std::string& Enum::name() const { |
| 2049 | // @@protoc_insertion_point(field_get:google.protobuf.Enum.name) |
| 2050 | return _internal_name(); |
| 2051 | } |
| 2052 | template <typename ArgT0, typename... ArgT> |
| 2053 | inline PROTOBUF_ALWAYS_INLINE |
| 2054 | void Enum::set_name(ArgT0&& arg0, ArgT... args) { |
| 2055 | |
| 2056 | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 2057 | // @@protoc_insertion_point(field_set:google.protobuf.Enum.name) |
| 2058 | } |
| 2059 | inline std::string* Enum::mutable_name() { |
| 2060 | std::string* _s = _internal_mutable_name(); |
| 2061 | // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.name) |
| 2062 | return _s; |
| 2063 | } |
| 2064 | inline const std::string& Enum::_internal_name() const { |
| 2065 | return _impl_.name_.Get(); |
| 2066 | } |
| 2067 | inline void Enum::_internal_set_name(const std::string& value) { |
| 2068 | |
| 2069 | _impl_.name_.Set(value, arena: GetArenaForAllocation()); |
| 2070 | } |
| 2071 | inline std::string* Enum::_internal_mutable_name() { |
| 2072 | |
| 2073 | return _impl_.name_.Mutable(arena: GetArenaForAllocation()); |
| 2074 | } |
| 2075 | inline std::string* Enum::release_name() { |
| 2076 | // @@protoc_insertion_point(field_release:google.protobuf.Enum.name) |
| 2077 | return _impl_.name_.Release(); |
| 2078 | } |
| 2079 | inline void Enum::set_allocated_name(std::string* name) { |
| 2080 | if (name != nullptr) { |
| 2081 | |
| 2082 | } else { |
| 2083 | |
| 2084 | } |
| 2085 | _impl_.name_.SetAllocated(value: name, arena: GetArenaForAllocation()); |
| 2086 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 2087 | if (_impl_.name_.IsDefault()) { |
| 2088 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 2089 | } |
| 2090 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 2091 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.Enum.name) |
| 2092 | } |
| 2093 | |
| 2094 | // repeated .google.protobuf.EnumValue enumvalue = 2; |
| 2095 | inline int Enum::_internal_enumvalue_size() const { |
| 2096 | return _impl_.enumvalue_.size(); |
| 2097 | } |
| 2098 | inline int Enum::enumvalue_size() const { |
| 2099 | return _internal_enumvalue_size(); |
| 2100 | } |
| 2101 | inline void Enum::clear_enumvalue() { |
| 2102 | _impl_.enumvalue_.Clear(); |
| 2103 | } |
| 2104 | inline ::PROTOBUF_NAMESPACE_ID::EnumValue* Enum::mutable_enumvalue(int index) { |
| 2105 | // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.enumvalue) |
| 2106 | return _impl_.enumvalue_.Mutable(index); |
| 2107 | } |
| 2108 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValue >* |
| 2109 | Enum::mutable_enumvalue() { |
| 2110 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.enumvalue) |
| 2111 | return &_impl_.enumvalue_; |
| 2112 | } |
| 2113 | inline const ::PROTOBUF_NAMESPACE_ID::EnumValue& Enum::_internal_enumvalue(int index) const { |
| 2114 | return _impl_.enumvalue_.Get(index); |
| 2115 | } |
| 2116 | inline const ::PROTOBUF_NAMESPACE_ID::EnumValue& Enum::enumvalue(int index) const { |
| 2117 | // @@protoc_insertion_point(field_get:google.protobuf.Enum.enumvalue) |
| 2118 | return _internal_enumvalue(index); |
| 2119 | } |
| 2120 | inline ::PROTOBUF_NAMESPACE_ID::EnumValue* Enum::_internal_add_enumvalue() { |
| 2121 | return _impl_.enumvalue_.Add(); |
| 2122 | } |
| 2123 | inline ::PROTOBUF_NAMESPACE_ID::EnumValue* Enum::add_enumvalue() { |
| 2124 | ::PROTOBUF_NAMESPACE_ID::EnumValue* _add = _internal_add_enumvalue(); |
| 2125 | // @@protoc_insertion_point(field_add:google.protobuf.Enum.enumvalue) |
| 2126 | return _add; |
| 2127 | } |
| 2128 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValue >& |
| 2129 | Enum::enumvalue() const { |
| 2130 | // @@protoc_insertion_point(field_list:google.protobuf.Enum.enumvalue) |
| 2131 | return _impl_.enumvalue_; |
| 2132 | } |
| 2133 | |
| 2134 | // repeated .google.protobuf.Option options = 3; |
| 2135 | inline int Enum::_internal_options_size() const { |
| 2136 | return _impl_.options_.size(); |
| 2137 | } |
| 2138 | inline int Enum::options_size() const { |
| 2139 | return _internal_options_size(); |
| 2140 | } |
| 2141 | inline void Enum::clear_options() { |
| 2142 | _impl_.options_.Clear(); |
| 2143 | } |
| 2144 | inline ::PROTOBUF_NAMESPACE_ID::Option* Enum::mutable_options(int index) { |
| 2145 | // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.options) |
| 2146 | return _impl_.options_.Mutable(index); |
| 2147 | } |
| 2148 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >* |
| 2149 | Enum::mutable_options() { |
| 2150 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.options) |
| 2151 | return &_impl_.options_; |
| 2152 | } |
| 2153 | inline const ::PROTOBUF_NAMESPACE_ID::Option& Enum::_internal_options(int index) const { |
| 2154 | return _impl_.options_.Get(index); |
| 2155 | } |
| 2156 | inline const ::PROTOBUF_NAMESPACE_ID::Option& Enum::options(int index) const { |
| 2157 | // @@protoc_insertion_point(field_get:google.protobuf.Enum.options) |
| 2158 | return _internal_options(index); |
| 2159 | } |
| 2160 | inline ::PROTOBUF_NAMESPACE_ID::Option* Enum::_internal_add_options() { |
| 2161 | return _impl_.options_.Add(); |
| 2162 | } |
| 2163 | inline ::PROTOBUF_NAMESPACE_ID::Option* Enum::add_options() { |
| 2164 | ::PROTOBUF_NAMESPACE_ID::Option* _add = _internal_add_options(); |
| 2165 | // @@protoc_insertion_point(field_add:google.protobuf.Enum.options) |
| 2166 | return _add; |
| 2167 | } |
| 2168 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >& |
| 2169 | Enum::options() const { |
| 2170 | // @@protoc_insertion_point(field_list:google.protobuf.Enum.options) |
| 2171 | return _impl_.options_; |
| 2172 | } |
| 2173 | |
| 2174 | // .google.protobuf.SourceContext source_context = 4; |
| 2175 | inline bool Enum::_internal_has_source_context() const { |
| 2176 | return this != internal_default_instance() && _impl_.source_context_ != nullptr; |
| 2177 | } |
| 2178 | inline bool Enum::has_source_context() const { |
| 2179 | return _internal_has_source_context(); |
| 2180 | } |
| 2181 | inline const ::PROTOBUF_NAMESPACE_ID::SourceContext& Enum::_internal_source_context() const { |
| 2182 | const ::PROTOBUF_NAMESPACE_ID::SourceContext* p = _impl_.source_context_; |
| 2183 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::SourceContext&>( |
| 2184 | ::PROTOBUF_NAMESPACE_ID::_SourceContext_default_instance_); |
| 2185 | } |
| 2186 | inline const ::PROTOBUF_NAMESPACE_ID::SourceContext& Enum::source_context() const { |
| 2187 | // @@protoc_insertion_point(field_get:google.protobuf.Enum.source_context) |
| 2188 | return _internal_source_context(); |
| 2189 | } |
| 2190 | inline void Enum::unsafe_arena_set_allocated_source_context( |
| 2191 | ::PROTOBUF_NAMESPACE_ID::SourceContext* source_context) { |
| 2192 | if (GetArenaForAllocation() == nullptr) { |
| 2193 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_context_); |
| 2194 | } |
| 2195 | _impl_.source_context_ = source_context; |
| 2196 | if (source_context) { |
| 2197 | |
| 2198 | } else { |
| 2199 | |
| 2200 | } |
| 2201 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Enum.source_context) |
| 2202 | } |
| 2203 | inline ::PROTOBUF_NAMESPACE_ID::SourceContext* Enum::release_source_context() { |
| 2204 | |
| 2205 | ::PROTOBUF_NAMESPACE_ID::SourceContext* temp = _impl_.source_context_; |
| 2206 | _impl_.source_context_ = nullptr; |
| 2207 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
| 2208 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
| 2209 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
| 2210 | if (GetArenaForAllocation() == nullptr) { delete old; } |
| 2211 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
| 2212 | if (GetArenaForAllocation() != nullptr) { |
| 2213 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(message: temp); |
| 2214 | } |
| 2215 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
| 2216 | return temp; |
| 2217 | } |
| 2218 | inline ::PROTOBUF_NAMESPACE_ID::SourceContext* Enum::unsafe_arena_release_source_context() { |
| 2219 | // @@protoc_insertion_point(field_release:google.protobuf.Enum.source_context) |
| 2220 | |
| 2221 | ::PROTOBUF_NAMESPACE_ID::SourceContext* temp = _impl_.source_context_; |
| 2222 | _impl_.source_context_ = nullptr; |
| 2223 | return temp; |
| 2224 | } |
| 2225 | inline ::PROTOBUF_NAMESPACE_ID::SourceContext* Enum::_internal_mutable_source_context() { |
| 2226 | |
| 2227 | if (_impl_.source_context_ == nullptr) { |
| 2228 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::SourceContext>(arena: GetArenaForAllocation()); |
| 2229 | _impl_.source_context_ = p; |
| 2230 | } |
| 2231 | return _impl_.source_context_; |
| 2232 | } |
| 2233 | inline ::PROTOBUF_NAMESPACE_ID::SourceContext* Enum::mutable_source_context() { |
| 2234 | ::PROTOBUF_NAMESPACE_ID::SourceContext* _msg = _internal_mutable_source_context(); |
| 2235 | // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.source_context) |
| 2236 | return _msg; |
| 2237 | } |
| 2238 | inline void Enum::set_allocated_source_context(::PROTOBUF_NAMESPACE_ID::SourceContext* source_context) { |
| 2239 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
| 2240 | if (message_arena == nullptr) { |
| 2241 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_context_); |
| 2242 | } |
| 2243 | if (source_context) { |
| 2244 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
| 2245 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( |
| 2246 | p: reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(source_context)); |
| 2247 | if (message_arena != submessage_arena) { |
| 2248 | source_context = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
| 2249 | message_arena, submessage: source_context, submessage_arena); |
| 2250 | } |
| 2251 | |
| 2252 | } else { |
| 2253 | |
| 2254 | } |
| 2255 | _impl_.source_context_ = source_context; |
| 2256 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.Enum.source_context) |
| 2257 | } |
| 2258 | |
| 2259 | // .google.protobuf.Syntax syntax = 5; |
| 2260 | inline void Enum::clear_syntax() { |
| 2261 | _impl_.syntax_ = 0; |
| 2262 | } |
| 2263 | inline ::PROTOBUF_NAMESPACE_ID::Syntax Enum::_internal_syntax() const { |
| 2264 | return static_cast< ::PROTOBUF_NAMESPACE_ID::Syntax >(_impl_.syntax_); |
| 2265 | } |
| 2266 | inline ::PROTOBUF_NAMESPACE_ID::Syntax Enum::syntax() const { |
| 2267 | // @@protoc_insertion_point(field_get:google.protobuf.Enum.syntax) |
| 2268 | return _internal_syntax(); |
| 2269 | } |
| 2270 | inline void Enum::_internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) { |
| 2271 | |
| 2272 | _impl_.syntax_ = value; |
| 2273 | } |
| 2274 | inline void Enum::set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) { |
| 2275 | _internal_set_syntax(value); |
| 2276 | // @@protoc_insertion_point(field_set:google.protobuf.Enum.syntax) |
| 2277 | } |
| 2278 | |
| 2279 | // ------------------------------------------------------------------- |
| 2280 | |
| 2281 | // EnumValue |
| 2282 | |
| 2283 | // string name = 1; |
| 2284 | inline void EnumValue::clear_name() { |
| 2285 | _impl_.name_.ClearToEmpty(); |
| 2286 | } |
| 2287 | inline const std::string& EnumValue::name() const { |
| 2288 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValue.name) |
| 2289 | return _internal_name(); |
| 2290 | } |
| 2291 | template <typename ArgT0, typename... ArgT> |
| 2292 | inline PROTOBUF_ALWAYS_INLINE |
| 2293 | void EnumValue::set_name(ArgT0&& arg0, ArgT... args) { |
| 2294 | |
| 2295 | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 2296 | // @@protoc_insertion_point(field_set:google.protobuf.EnumValue.name) |
| 2297 | } |
| 2298 | inline std::string* EnumValue::mutable_name() { |
| 2299 | std::string* _s = _internal_mutable_name(); |
| 2300 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValue.name) |
| 2301 | return _s; |
| 2302 | } |
| 2303 | inline const std::string& EnumValue::_internal_name() const { |
| 2304 | return _impl_.name_.Get(); |
| 2305 | } |
| 2306 | inline void EnumValue::_internal_set_name(const std::string& value) { |
| 2307 | |
| 2308 | _impl_.name_.Set(value, arena: GetArenaForAllocation()); |
| 2309 | } |
| 2310 | inline std::string* EnumValue::_internal_mutable_name() { |
| 2311 | |
| 2312 | return _impl_.name_.Mutable(arena: GetArenaForAllocation()); |
| 2313 | } |
| 2314 | inline std::string* EnumValue::release_name() { |
| 2315 | // @@protoc_insertion_point(field_release:google.protobuf.EnumValue.name) |
| 2316 | return _impl_.name_.Release(); |
| 2317 | } |
| 2318 | inline void EnumValue::set_allocated_name(std::string* name) { |
| 2319 | if (name != nullptr) { |
| 2320 | |
| 2321 | } else { |
| 2322 | |
| 2323 | } |
| 2324 | _impl_.name_.SetAllocated(value: name, arena: GetArenaForAllocation()); |
| 2325 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 2326 | if (_impl_.name_.IsDefault()) { |
| 2327 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 2328 | } |
| 2329 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 2330 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValue.name) |
| 2331 | } |
| 2332 | |
| 2333 | // int32 number = 2; |
| 2334 | inline void EnumValue::clear_number() { |
| 2335 | _impl_.number_ = 0; |
| 2336 | } |
| 2337 | inline int32_t EnumValue::_internal_number() const { |
| 2338 | return _impl_.number_; |
| 2339 | } |
| 2340 | inline int32_t EnumValue::number() const { |
| 2341 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValue.number) |
| 2342 | return _internal_number(); |
| 2343 | } |
| 2344 | inline void EnumValue::_internal_set_number(int32_t value) { |
| 2345 | |
| 2346 | _impl_.number_ = value; |
| 2347 | } |
| 2348 | inline void EnumValue::set_number(int32_t value) { |
| 2349 | _internal_set_number(value); |
| 2350 | // @@protoc_insertion_point(field_set:google.protobuf.EnumValue.number) |
| 2351 | } |
| 2352 | |
| 2353 | // repeated .google.protobuf.Option options = 3; |
| 2354 | inline int EnumValue::_internal_options_size() const { |
| 2355 | return _impl_.options_.size(); |
| 2356 | } |
| 2357 | inline int EnumValue::options_size() const { |
| 2358 | return _internal_options_size(); |
| 2359 | } |
| 2360 | inline void EnumValue::clear_options() { |
| 2361 | _impl_.options_.Clear(); |
| 2362 | } |
| 2363 | inline ::PROTOBUF_NAMESPACE_ID::Option* EnumValue::mutable_options(int index) { |
| 2364 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValue.options) |
| 2365 | return _impl_.options_.Mutable(index); |
| 2366 | } |
| 2367 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >* |
| 2368 | EnumValue::mutable_options() { |
| 2369 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValue.options) |
| 2370 | return &_impl_.options_; |
| 2371 | } |
| 2372 | inline const ::PROTOBUF_NAMESPACE_ID::Option& EnumValue::_internal_options(int index) const { |
| 2373 | return _impl_.options_.Get(index); |
| 2374 | } |
| 2375 | inline const ::PROTOBUF_NAMESPACE_ID::Option& EnumValue::options(int index) const { |
| 2376 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValue.options) |
| 2377 | return _internal_options(index); |
| 2378 | } |
| 2379 | inline ::PROTOBUF_NAMESPACE_ID::Option* EnumValue::_internal_add_options() { |
| 2380 | return _impl_.options_.Add(); |
| 2381 | } |
| 2382 | inline ::PROTOBUF_NAMESPACE_ID::Option* EnumValue::add_options() { |
| 2383 | ::PROTOBUF_NAMESPACE_ID::Option* _add = _internal_add_options(); |
| 2384 | // @@protoc_insertion_point(field_add:google.protobuf.EnumValue.options) |
| 2385 | return _add; |
| 2386 | } |
| 2387 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >& |
| 2388 | EnumValue::options() const { |
| 2389 | // @@protoc_insertion_point(field_list:google.protobuf.EnumValue.options) |
| 2390 | return _impl_.options_; |
| 2391 | } |
| 2392 | |
| 2393 | // ------------------------------------------------------------------- |
| 2394 | |
| 2395 | // Option |
| 2396 | |
| 2397 | // string name = 1; |
| 2398 | inline void Option::clear_name() { |
| 2399 | _impl_.name_.ClearToEmpty(); |
| 2400 | } |
| 2401 | inline const std::string& Option::name() const { |
| 2402 | // @@protoc_insertion_point(field_get:google.protobuf.Option.name) |
| 2403 | return _internal_name(); |
| 2404 | } |
| 2405 | template <typename ArgT0, typename... ArgT> |
| 2406 | inline PROTOBUF_ALWAYS_INLINE |
| 2407 | void Option::set_name(ArgT0&& arg0, ArgT... args) { |
| 2408 | |
| 2409 | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 2410 | // @@protoc_insertion_point(field_set:google.protobuf.Option.name) |
| 2411 | } |
| 2412 | inline std::string* Option::mutable_name() { |
| 2413 | std::string* _s = _internal_mutable_name(); |
| 2414 | // @@protoc_insertion_point(field_mutable:google.protobuf.Option.name) |
| 2415 | return _s; |
| 2416 | } |
| 2417 | inline const std::string& Option::_internal_name() const { |
| 2418 | return _impl_.name_.Get(); |
| 2419 | } |
| 2420 | inline void Option::_internal_set_name(const std::string& value) { |
| 2421 | |
| 2422 | _impl_.name_.Set(value, arena: GetArenaForAllocation()); |
| 2423 | } |
| 2424 | inline std::string* Option::_internal_mutable_name() { |
| 2425 | |
| 2426 | return _impl_.name_.Mutable(arena: GetArenaForAllocation()); |
| 2427 | } |
| 2428 | inline std::string* Option::release_name() { |
| 2429 | // @@protoc_insertion_point(field_release:google.protobuf.Option.name) |
| 2430 | return _impl_.name_.Release(); |
| 2431 | } |
| 2432 | inline void Option::set_allocated_name(std::string* name) { |
| 2433 | if (name != nullptr) { |
| 2434 | |
| 2435 | } else { |
| 2436 | |
| 2437 | } |
| 2438 | _impl_.name_.SetAllocated(value: name, arena: GetArenaForAllocation()); |
| 2439 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 2440 | if (_impl_.name_.IsDefault()) { |
| 2441 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 2442 | } |
| 2443 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 2444 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.Option.name) |
| 2445 | } |
| 2446 | |
| 2447 | // .google.protobuf.Any value = 2; |
| 2448 | inline bool Option::_internal_has_value() const { |
| 2449 | return this != internal_default_instance() && _impl_.value_ != nullptr; |
| 2450 | } |
| 2451 | inline bool Option::has_value() const { |
| 2452 | return _internal_has_value(); |
| 2453 | } |
| 2454 | inline const ::PROTOBUF_NAMESPACE_ID::Any& Option::_internal_value() const { |
| 2455 | const ::PROTOBUF_NAMESPACE_ID::Any* p = _impl_.value_; |
| 2456 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Any&>( |
| 2457 | ::PROTOBUF_NAMESPACE_ID::_Any_default_instance_); |
| 2458 | } |
| 2459 | inline const ::PROTOBUF_NAMESPACE_ID::Any& Option::value() const { |
| 2460 | // @@protoc_insertion_point(field_get:google.protobuf.Option.value) |
| 2461 | return _internal_value(); |
| 2462 | } |
| 2463 | inline void Option::unsafe_arena_set_allocated_value( |
| 2464 | ::PROTOBUF_NAMESPACE_ID::Any* value) { |
| 2465 | if (GetArenaForAllocation() == nullptr) { |
| 2466 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.value_); |
| 2467 | } |
| 2468 | _impl_.value_ = value; |
| 2469 | if (value) { |
| 2470 | |
| 2471 | } else { |
| 2472 | |
| 2473 | } |
| 2474 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Option.value) |
| 2475 | } |
| 2476 | inline ::PROTOBUF_NAMESPACE_ID::Any* Option::release_value() { |
| 2477 | |
| 2478 | ::PROTOBUF_NAMESPACE_ID::Any* temp = _impl_.value_; |
| 2479 | _impl_.value_ = nullptr; |
| 2480 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
| 2481 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
| 2482 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
| 2483 | if (GetArenaForAllocation() == nullptr) { delete old; } |
| 2484 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
| 2485 | if (GetArenaForAllocation() != nullptr) { |
| 2486 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(message: temp); |
| 2487 | } |
| 2488 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
| 2489 | return temp; |
| 2490 | } |
| 2491 | inline ::PROTOBUF_NAMESPACE_ID::Any* Option::unsafe_arena_release_value() { |
| 2492 | // @@protoc_insertion_point(field_release:google.protobuf.Option.value) |
| 2493 | |
| 2494 | ::PROTOBUF_NAMESPACE_ID::Any* temp = _impl_.value_; |
| 2495 | _impl_.value_ = nullptr; |
| 2496 | return temp; |
| 2497 | } |
| 2498 | inline ::PROTOBUF_NAMESPACE_ID::Any* Option::_internal_mutable_value() { |
| 2499 | |
| 2500 | if (_impl_.value_ == nullptr) { |
| 2501 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Any>(arena: GetArenaForAllocation()); |
| 2502 | _impl_.value_ = p; |
| 2503 | } |
| 2504 | return _impl_.value_; |
| 2505 | } |
| 2506 | inline ::PROTOBUF_NAMESPACE_ID::Any* Option::mutable_value() { |
| 2507 | ::PROTOBUF_NAMESPACE_ID::Any* _msg = _internal_mutable_value(); |
| 2508 | // @@protoc_insertion_point(field_mutable:google.protobuf.Option.value) |
| 2509 | return _msg; |
| 2510 | } |
| 2511 | inline void Option::set_allocated_value(::PROTOBUF_NAMESPACE_ID::Any* value) { |
| 2512 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
| 2513 | if (message_arena == nullptr) { |
| 2514 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.value_); |
| 2515 | } |
| 2516 | if (value) { |
| 2517 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
| 2518 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( |
| 2519 | p: reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(value)); |
| 2520 | if (message_arena != submessage_arena) { |
| 2521 | value = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
| 2522 | message_arena, submessage: value, submessage_arena); |
| 2523 | } |
| 2524 | |
| 2525 | } else { |
| 2526 | |
| 2527 | } |
| 2528 | _impl_.value_ = value; |
| 2529 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.Option.value) |
| 2530 | } |
| 2531 | |
| 2532 | #ifdef __GNUC__ |
| 2533 | #pragma GCC diagnostic pop |
| 2534 | #endif // __GNUC__ |
| 2535 | // ------------------------------------------------------------------- |
| 2536 | |
| 2537 | // ------------------------------------------------------------------- |
| 2538 | |
| 2539 | // ------------------------------------------------------------------- |
| 2540 | |
| 2541 | // ------------------------------------------------------------------- |
| 2542 | |
| 2543 | |
| 2544 | // @@protoc_insertion_point(namespace_scope) |
| 2545 | |
| 2546 | PROTOBUF_NAMESPACE_CLOSE |
| 2547 | |
| 2548 | PROTOBUF_NAMESPACE_OPEN |
| 2549 | |
| 2550 | template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::Field_Kind> : ::std::true_type {}; |
| 2551 | template <> |
| 2552 | inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::Field_Kind>() { |
| 2553 | return ::PROTOBUF_NAMESPACE_ID::Field_Kind_descriptor(); |
| 2554 | } |
| 2555 | template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::Field_Cardinality> : ::std::true_type {}; |
| 2556 | template <> |
| 2557 | inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::Field_Cardinality>() { |
| 2558 | return ::PROTOBUF_NAMESPACE_ID::Field_Cardinality_descriptor(); |
| 2559 | } |
| 2560 | template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::Syntax> : ::std::true_type {}; |
| 2561 | template <> |
| 2562 | inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::Syntax>() { |
| 2563 | return ::PROTOBUF_NAMESPACE_ID::Syntax_descriptor(); |
| 2564 | } |
| 2565 | |
| 2566 | PROTOBUF_NAMESPACE_CLOSE |
| 2567 | |
| 2568 | // @@protoc_insertion_point(global_scope) |
| 2569 | |
| 2570 | #include <google/protobuf/port_undef.inc> |
| 2571 | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ftype_2eproto |
| 2572 | |